mirror of
https://github.com/owncast/owncast.git
synced 2025-01-06 16:47:30 +03:00
1 line
No EOL
16 KiB
JavaScript
Vendored
1 line
No EOL
16 KiB
JavaScript
Vendored
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8531],{57096:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"}},26803:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"}},20054:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(32615))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},56338:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=a(5661))&&r.__esModule?r:{default:r};t.default=n,e.exports=n},32615:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=d(t);if(a&&a.has(e))return a.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var c=l?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(r,o,c):r[o]=e[o]}return r.default=e,a&&a.set(e,r),r}(a(67294)),c=r(a(57096)),u=r(a(92074));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(d=function(e){return e?a:t})(e)}var i=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:c.default}))};i.displayName="PlusOutlined";var f=o.forwardRef(i);t.default=f},5661:function(e,t,a){"use strict";var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var a=d(t);if(a&&a.has(e))return a.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var c=l?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(r,o,c):r[o]=e[o]}return r.default=e,a&&a.set(e,r),r}(a(67294)),c=r(a(26803)),u=r(a(92074));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(d=function(e){return e?a:t})(e)}var i=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:c.default}))};i.displayName="UpOutlined";var f=o.forwardRef(i);t.default=f},35295:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(38416)),o=n(a(10434)),c=n(a(94184)),u=n(a(18475)),d=r(a(67294)),i=a(31929),f=n(a(3236)),s=n(a(10149)),p=n(a(20838)),v=n(a(54184)),m=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},b=d.forwardRef(function(e,t){var a,r,n,b,y=d.useContext(i.ConfigContext),O=y.getPrefixCls,g=y.direction,h=d.useContext(f.default),x=e.prefixCls,w=e.className,E=e.extra,C=e.headStyle,P=e.bodyStyle,N=e.title,j=e.loading,_=e.bordered,M=void 0===_||_,S=e.size,I=e.type,k=e.cover,B=e.actions,z=e.tabList,A=e.children,F=e.activeTabKey,T=e.defaultActiveTabKey,q=e.tabBarExtraContent,H=e.hoverable,K=e.tabProps,L=m(e,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),R=O("card",x),W=d.createElement(s.default,{loading:!0,active:!0,paragraph:{rows:4},title:!1},A),Z=void 0!==F,D=(0,o.default)((0,o.default)({},void 0===K?{}:K),(r={},(0,l.default)(r,Z?"activeKey":"defaultActiveKey",Z?F:T),(0,l.default)(r,"tabBarExtraContent",q),r)),U=z&&z.length?d.createElement(p.default,(0,o.default)({size:"large"},D,{className:"".concat(R,"-head-tabs"),onChange:function(t){var a;null===(a=e.onTabChange)||void 0===a||a.call(e,t)},items:z.map(function(e){var t;return{label:e.tab,key:e.key,disabled:null!==(t=e.disabled)&&void 0!==t&&t}})})):null;(N||E||U)&&(b=d.createElement("div",{className:"".concat(R,"-head"),style:void 0===C?{}:C},d.createElement("div",{className:"".concat(R,"-head-wrapper")},N&&d.createElement("div",{className:"".concat(R,"-head-title")},N),E&&d.createElement("div",{className:"".concat(R,"-extra")},E)),U));var V=k?d.createElement("div",{className:"".concat(R,"-cover")},k):null,G=d.createElement("div",{className:"".concat(R,"-body"),style:void 0===P?{}:P},j?W:A),J=B&&B.length?d.createElement("ul",{className:"".concat(R,"-actions")},B.map(function(e,t){return d.createElement("li",{style:{width:"".concat(100/B.length,"%")},key:"action-".concat(t)},d.createElement("span",null,e))})):null,Q=(0,u.default)(L,["onTabChange"]),X=S||h,Y=(0,c.default)(R,(n={},(0,l.default)(n,"".concat(R,"-loading"),j),(0,l.default)(n,"".concat(R,"-bordered"),M),(0,l.default)(n,"".concat(R,"-hoverable"),H),(0,l.default)(n,"".concat(R,"-contain-grid"),(d.Children.forEach(e.children,function(e){e&&e.type&&e.type===v.default&&(a=!0)}),a)),(0,l.default)(n,"".concat(R,"-contain-tabs"),z&&z.length),(0,l.default)(n,"".concat(R,"-").concat(X),X),(0,l.default)(n,"".concat(R,"-type-").concat(I),!!I),(0,l.default)(n,"".concat(R,"-rtl"),"rtl"===g),n),w);return d.createElement("div",(0,o.default)({ref:t},Q,{className:Y}),b,V,G,J)});t.default=b},54184:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(10434)),o=n(a(38416)),c=n(a(94184)),u=r(a(67294)),d=a(31929),i=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};t.default=function(e){var t=e.prefixCls,a=e.className,r=e.hoverable,n=void 0===r||r,f=i(e,["prefixCls","className","hoverable"]);return u.createElement(d.ConfigConsumer,null,function(e){var r=(0,e.getPrefixCls)("card",t),d=(0,c.default)("".concat(r,"-grid"),a,(0,o.default)({},"".concat(r,"-grid-hoverable"),n));return u.createElement("div",(0,l.default)({},f,{className:d}))})}},89281:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(10434)),o=n(a(94184)),c=r(a(67294)),u=a(31929),d=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};t.default=function(e){return c.createElement(u.ConfigConsumer,null,function(t){var a=t.getPrefixCls,r=e.prefixCls,n=e.className,u=e.avatar,i=e.title,f=e.description,s=d(e,["prefixCls","className","avatar","title","description"]),p=a("card",r),v=(0,o.default)("".concat(p,"-meta"),n),m=u?c.createElement("div",{className:"".concat(p,"-meta-avatar")},u):null,b=i?c.createElement("div",{className:"".concat(p,"-meta-title")},i):null,y=f?c.createElement("div",{className:"".concat(p,"-meta-description")},f):null,O=b||y?c.createElement("div",{className:"".concat(p,"-meta-detail")},b,y):null;return c.createElement("div",(0,l.default)({},s,{className:v}),m,O)})}},70302:function(e,t,a){"use strict";var r=a(64836).default;t.default=void 0;var n=r(a(35295)),l=r(a(54184)),o=r(a(89281)),c=n.default;c.Grid=l.default,c.Meta=o.default,t.default=c},5789:function(e,t,a){"use strict";t.Z=void 0;var r=a(38614).Col;t.Z=r},8799:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;t.Z=void 0;var l=n(a(10434)),o=n(a(38416)),c=n(a(18698)),u=n(a(27424)),d=n(a(5085)),i=n(a(56338)),f=n(a(94184)),s=n(a(82122)),p=r(a(67294)),v=a(31929),m=n(a(93319)),b=n(a(3236)),y=a(51130),O=a(46549),g=a(47419),h=a(71434),x=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a},w=p.forwardRef(function(e,t){var a=p.useContext(v.ConfigContext),r=a.getPrefixCls,n=a.direction,w=p.useContext(b.default),E=p.useState(!1),C=(0,u.default)(E,2),P=C[0],N=C[1],j=p.useRef(null);p.useImperativeHandle(t,function(){return j.current});var _=e.className,M=e.size,S=e.disabled,I=e.prefixCls,k=e.addonBefore,B=e.addonAfter,z=e.prefix,A=e.bordered,F=void 0===A||A,T=e.readOnly,q=e.status,H=e.controls,K=x(e,["className","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),L=r("input-number",I),R=(0,O.useCompactItemContext)(L,n),W=R.compactSize,Z=R.compactItemClassnames,D=p.createElement(i.default,{className:"".concat(L,"-handler-up-inner")}),U=p.createElement(d.default,{className:"".concat(L,"-handler-down-inner")}),V="boolean"==typeof H?H:void 0;"object"===(0,c.default)(H)&&(D=void 0===H.upIcon?D:p.createElement("span",{className:"".concat(L,"-handler-up-inner")},H.upIcon),U=void 0===H.downIcon?U:p.createElement("span",{className:"".concat(L,"-handler-down-inner")},H.downIcon));var G=(0,p.useContext)(y.FormItemInputContext),J=G.hasFeedback,Q=G.status,X=G.isFormItemInput,Y=G.feedbackIcon,$=(0,h.getMergedStatus)(Q,q),ee=W||M||w,et=p.useContext(m.default),ea=null!=S?S:et,er=(0,f.default)((el={},(0,o.default)(el,"".concat(L,"-lg"),"large"===ee),(0,o.default)(el,"".concat(L,"-sm"),"small"===ee),(0,o.default)(el,"".concat(L,"-rtl"),"rtl"===n),(0,o.default)(el,"".concat(L,"-borderless"),!F),(0,o.default)(el,"".concat(L,"-in-form-item"),X),el),(0,h.getStatusClassNames)(L,$),Z,_),en=p.createElement(s.default,(0,l.default)({ref:j,disabled:ea,className:er,upHandler:D,downHandler:U,prefixCls:L,readOnly:T,controls:V},K));if(null!=z||J){var el,eo,ec=(0,f.default)("".concat(L,"-affix-wrapper"),(0,h.getStatusClassNames)("".concat(L,"-affix-wrapper"),$,J),(eo={},(0,o.default)(eo,"".concat(L,"-affix-wrapper-focused"),P),(0,o.default)(eo,"".concat(L,"-affix-wrapper-disabled"),e.disabled),(0,o.default)(eo,"".concat(L,"-affix-wrapper-sm"),"small"===w),(0,o.default)(eo,"".concat(L,"-affix-wrapper-lg"),"large"===w),(0,o.default)(eo,"".concat(L,"-affix-wrapper-rtl"),"rtl"===n),(0,o.default)(eo,"".concat(L,"-affix-wrapper-readonly"),T),(0,o.default)(eo,"".concat(L,"-affix-wrapper-borderless"),!F),(0,o.default)(eo,"".concat(_),!(k||B)&&_),eo));en=p.createElement("div",{className:ec,style:e.style,onMouseUp:function(){return j.current.focus()}},z&&p.createElement("span",{className:"".concat(L,"-prefix")},z),(0,g.cloneElement)(en,{style:null,value:e.value,onFocus:function(t){var a;N(!0),null===(a=e.onFocus)||void 0===a||a.call(e,t)},onBlur:function(t){var a;N(!1),null===(a=e.onBlur)||void 0===a||a.call(e,t)}}),J&&p.createElement("span",{className:"".concat(L,"-suffix")},Y))}if(null!=k||null!=B){var eu,ed="".concat(L,"-group"),ei="".concat(ed,"-addon"),ef=k?p.createElement("div",{className:ei},k):null,es=B?p.createElement("div",{className:ei},B):null,ep=(0,f.default)("".concat(L,"-wrapper"),ed,(0,o.default)({},"".concat(ed,"-rtl"),"rtl"===n)),ev=(0,f.default)("".concat(L,"-group-wrapper"),(eu={},(0,o.default)(eu,"".concat(L,"-group-wrapper-sm"),"small"===w),(0,o.default)(eu,"".concat(L,"-group-wrapper-lg"),"large"===w),(0,o.default)(eu,"".concat(L,"-group-wrapper-rtl"),"rtl"===n),eu),(0,h.getStatusClassNames)("".concat(L,"-group-wrapper"),$,J),_);en=p.createElement("div",{className:ev,style:e.style},p.createElement("div",{className:ep},ef&&p.createElement(O.NoCompactStyle,null,p.createElement(y.NoFormStyle,{status:!0,override:!0},ef)),(0,g.cloneElement)(en,{style:null,disabled:ea}),es&&p.createElement(O.NoCompactStyle,null,p.createElement(y.NoFormStyle,{status:!0,override:!0},es))))}return en});t.Z=w},16373:function(e,t,a){"use strict";var r=a(64836).default,n=a(75263).default;t.default=void 0;var l=n(a(62704)),o=r(a(87412)),c=l.default;c.Header=l.Header,c.Footer=l.Footer,c.Content=l.Content,c.Sider=o.default,t.default=c},55673:function(e,t,a){"use strict";t.Z=void 0;var r=a(38614).Row;t.Z=r},42698:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){return null}},1286:function(e,t,a){"use strict";var r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===a?{inkBar:!1,tabPane:!1}:!0===a?{inkBar:!0,tabPane:!0}:(0,l.default)({inkBar:!0},"object"===(0,n.default)(a)?a:{})).tabPane&&(t.tabPaneMotion=(0,l.default)((0,l.default)({},c),{motionName:(0,o.getTransitionName)(e,"switch")})),t};var n=r(a(18698)),l=r(a(10434)),o=a(53683),c={motionAppear:!1,motionEnter:!0,motionLeave:!0}},47397:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e||(0,c.default)(t).map(function(e){if(o.isValidElement(e)){var t=e.key,a=e.props||{},r=a.tab,n=u(a,["tab"]);return(0,l.default)((0,l.default)({key:String(t)},n),{label:r})}return null}).filter(function(e){return e})};var l=n(a(10434)),o=r(a(67294)),c=n(a(45598));n(a(13594));var u=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a}},20838:function(e,t,a){"use strict";var r=a(75263).default,n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(38416)),o=n(a(10434)),c=n(a(40753)),u=n(a(26937)),d=n(a(20054)),i=n(a(94184)),f=n(a(93068)),s=r(a(67294)),p=a(31929),v=n(a(3236));n(a(13594));var m=n(a(1286)),b=n(a(47397)),y=n(a(42698)),O=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};function g(e){var t,a=e.type,r=e.className,n=e.size,y=e.onEdit,g=e.hideAdd,h=e.centered,x=e.addIcon,w=e.children,E=e.items,C=e.animated,P=O(e,["type","className","size","onEdit","hideAdd","centered","addIcon","children","items","animated"]),N=P.prefixCls,j=P.moreIcon,_=void 0===j?s.createElement(u.default,null):j,M=s.useContext(p.ConfigContext),S=M.getPrefixCls,I=M.direction,k=M.getPopupContainer,B=S("tabs",N);"editable-card"===a&&(t={onEdit:function(e,t){var a=t.key,r=t.event;null==y||y("add"===e?r:a,e)},removeIcon:s.createElement(c.default,null),addIcon:x||s.createElement(d.default,null),showAdd:!0!==g});var z=S(),A=(0,b.default)(E,w),F=(0,m.default)(B,C);return s.createElement(v.default.Consumer,null,function(e){var c,u=void 0!==n?n:e;return s.createElement(f.default,(0,o.default)({direction:I,getPopupContainer:k,moreTransitionName:"".concat(z,"-slide-up")},P,{items:A,className:(0,i.default)((c={},(0,l.default)(c,"".concat(B,"-").concat(u),u),(0,l.default)(c,"".concat(B,"-card"),["card","editable-card"].includes(a)),(0,l.default)(c,"".concat(B,"-editable-card"),"editable-card"===a),(0,l.default)(c,"".concat(B,"-centered"),h),c),r),editable:t,moreIcon:_,prefixCls:B,animated:F}))})}g.TabPane=y.default,t.default=g},11163:function(e,t,a){e.exports=a(96885)}}]); |