owncast/static/web/_next/static/chunks/6265-fff17a785cf4f99d.js
2022-09-09 04:49:52 +00:00

1 line
No EOL
10 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6265],{6226:function(e,t,a){a.d(t,{Z:function(){return m}});var r=a(4942),c=a(87462),n=a(71002),o=a(94184),l=a.n(o),s=a(67294),i=a(53124),u=a(99134),f=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(r=Object.getOwnPropertySymbols(e);c<r.length;c++)t.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(e,r[c])&&(a[r[c]]=e[r[c]])}return a};var p=["xs","sm","md","lg","xl","xxl"];var m=s.forwardRef((function(e,t){var a,o=s.useContext(i.E_),m=o.getPrefixCls,v=o.direction,d=s.useContext(u.Z),Z=d.gutter,x=d.wrap,h=d.supportFlexGap,g=e.prefixCls,y=e.span,C=e.order,E=e.offset,b=e.push,w=e.pull,N=e.className,P=e.children,O=e.flex,j=e.style,k=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),z=m("col",g),q={};p.forEach((function(t){var a,o={},l=e[t];"number"===typeof l?o.span=l:"object"===(0,n.Z)(l)&&(o=l||{}),delete k[t],q=(0,c.Z)((0,c.Z)({},q),(a={},(0,r.Z)(a,"".concat(z,"-").concat(t,"-").concat(o.span),void 0!==o.span),(0,r.Z)(a,"".concat(z,"-").concat(t,"-order-").concat(o.order),o.order||0===o.order),(0,r.Z)(a,"".concat(z,"-").concat(t,"-offset-").concat(o.offset),o.offset||0===o.offset),(0,r.Z)(a,"".concat(z,"-").concat(t,"-push-").concat(o.push),o.push||0===o.push),(0,r.Z)(a,"".concat(z,"-").concat(t,"-pull-").concat(o.pull),o.pull||0===o.pull),(0,r.Z)(a,"".concat(z,"-rtl"),"rtl"===v),a))}));var _=l()(z,(a={},(0,r.Z)(a,"".concat(z,"-").concat(y),void 0!==y),(0,r.Z)(a,"".concat(z,"-order-").concat(C),C),(0,r.Z)(a,"".concat(z,"-offset-").concat(E),E),(0,r.Z)(a,"".concat(z,"-push-").concat(b),b),(0,r.Z)(a,"".concat(z,"-pull-").concat(w),w),a),N,q),A={};if(Z&&Z[0]>0){var M=Z[0]/2;A.paddingLeft=M,A.paddingRight=M}if(Z&&Z[1]>0&&!h){var R=Z[1]/2;A.paddingTop=R,A.paddingBottom=R}return O&&(A.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(O),!1!==x||A.minWidth||(A.minWidth=0)),s.createElement("div",(0,c.Z)({},k,{style:(0,c.Z)((0,c.Z)({},A),j),className:_,ref:t}),P)}))},99134:function(e,t,a){var r=(0,a(67294).createContext)({});t.Z=r},25968:function(e,t,a){a.d(t,{Z:function(){return Z}});var r=a(87462),c=a(4942),n=a(71002),o=a(97685),l=a(94184),s=a.n(l),i=a(67294),u=a(53124),f=a(98082),p=a(24308),m=a(93355),v=a(99134),d=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(r=Object.getOwnPropertySymbols(e);c<r.length;c++)t.indexOf(r[c])<0&&Object.prototype.propertyIsEnumerable.call(e,r[c])&&(a[r[c]]=e[r[c]])}return a};(0,m.b)("top","middle","bottom","stretch"),(0,m.b)("start","end","center","space-around","space-between","space-evenly");var Z=i.forwardRef((function(e,t){var a,l=e.prefixCls,m=e.justify,Z=e.align,x=e.className,h=e.style,g=e.children,y=e.gutter,C=void 0===y?0:y,E=e.wrap,b=d(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),w=i.useContext(u.E_),N=w.getPrefixCls,P=w.direction,O=i.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),j=(0,o.Z)(O,2),k=j[0],z=j[1],q=(0,f.Z)(),_=i.useRef(C);i.useEffect((function(){var e=p.ZP.subscribe((function(e){var t=_.current||0;(!Array.isArray(t)&&"object"===(0,n.Z)(t)||Array.isArray(t)&&("object"===(0,n.Z)(t[0])||"object"===(0,n.Z)(t[1])))&&z(e)}));return function(){return p.ZP.unsubscribe(e)}}),[]);var A=N("row",l),M=function(){var e=[void 0,void 0];return(Array.isArray(C)?C:[C,void 0]).forEach((function(t,a){if("object"===(0,n.Z)(t))for(var r=0;r<p.c4.length;r++){var c=p.c4[r];if(k[c]&&void 0!==t[c]){e[a]=t[c];break}}else e[a]=t})),e}(),R=s()(A,(a={},(0,c.Z)(a,"".concat(A,"-no-wrap"),!1===E),(0,c.Z)(a,"".concat(A,"-").concat(m),m),(0,c.Z)(a,"".concat(A,"-").concat(Z),Z),(0,c.Z)(a,"".concat(A,"-rtl"),"rtl"===P),a),x),B={},S=null!=M[0]&&M[0]>0?M[0]/-2:void 0,I=null!=M[1]&&M[1]>0?M[1]/-2:void 0;if(S&&(B.marginLeft=S,B.marginRight=S),q){var G=(0,o.Z)(M,2);B.rowGap=G[1]}else I&&(B.marginTop=I,B.marginBottom=I);var F=(0,o.Z)(M,2),H=F[0],L=F[1],T=i.useMemo((function(){return{gutter:[H,L],wrap:E,supportFlexGap:q}}),[H,L,E,q]);return i.createElement(v.Z.Provider,{value:T},i.createElement("div",(0,r.Z)({},b,{className:R,style:(0,r.Z)((0,r.Z)({},B),h),ref:t}),g))}))},26303:function(e,t,a){a.d(t,{Z:function(){return z}});var r=a(4942),c=a(87462),n=a(71002),o=a(94184),l=a.n(o),s=a(67294),i=a(53124),u=a(98423),f=function(e){var t,a,n=e.prefixCls,o=e.className,i=e.style,u=e.size,f=e.shape,p=l()((t={},(0,r.Z)(t,"".concat(n,"-lg"),"large"===u),(0,r.Z)(t,"".concat(n,"-sm"),"small"===u),t)),m=l()((a={},(0,r.Z)(a,"".concat(n,"-circle"),"circle"===f),(0,r.Z)(a,"".concat(n,"-square"),"square"===f),(0,r.Z)(a,"".concat(n,"-round"),"round"===f),a)),v="number"===typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{};return s.createElement("span",{className:l()(n,p,m,o),style:(0,c.Z)((0,c.Z)({},v),i)})},p=function(e){var t=e.prefixCls,a=e.className,n=e.active,o=(0,s.useContext(i.E_).getPrefixCls)("skeleton",t),p=(0,u.Z)(e,["prefixCls","className"]),m=l()(o,"".concat(o,"-element"),(0,r.Z)({},"".concat(o,"-active"),n),a);return s.createElement("div",{className:m},s.createElement(f,(0,c.Z)({prefixCls:"".concat(o,"-avatar")},p)))};p.defaultProps={size:"default",shape:"circle"};var m=p,v=function(e){var t,a=e.prefixCls,n=e.className,o=e.active,p=e.block,m=void 0!==p&&p,v=(0,s.useContext(i.E_).getPrefixCls)("skeleton",a),d=(0,u.Z)(e,["prefixCls"]),Z=l()(v,"".concat(v,"-element"),(t={},(0,r.Z)(t,"".concat(v,"-active"),o),(0,r.Z)(t,"".concat(v,"-block"),m),t),n);return s.createElement("div",{className:Z},s.createElement(f,(0,c.Z)({prefixCls:"".concat(v,"-button")},d)))};v.defaultProps={size:"default"};var d=v,Z=a(1413),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},h=a(42135),g=function(e,t){return s.createElement(h.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:x}))};g.displayName="DotChartOutlined";var y=s.forwardRef(g),C=function(e){var t,a=e.prefixCls,c=e.className,n=e.style,o=e.active,u=(0,s.useContext(i.E_).getPrefixCls)("skeleton",a),f=l()(u,"".concat(u,"-element"),(0,r.Z)({},"".concat(u,"-active"),o),c),p=null!==(t=e.children)&&void 0!==t?t:s.createElement(y,null);return s.createElement("div",{className:f},s.createElement("div",{className:l()("".concat(u,"-image"),c),style:n},p))},E=function(e){var t=e.prefixCls,a=e.className,c=e.style,n=e.active,o=(0,s.useContext(i.E_).getPrefixCls)("skeleton",t),u=l()(o,"".concat(o,"-element"),(0,r.Z)({},"".concat(o,"-active"),n),a);return s.createElement("div",{className:u},s.createElement("div",{className:l()("".concat(o,"-image"),a),style:c},s.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},s.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))},b=function(e){var t,a=e.prefixCls,n=e.className,o=e.active,p=e.block,m=(0,s.useContext(i.E_).getPrefixCls)("skeleton",a),v=(0,u.Z)(e,["prefixCls"]),d=l()(m,"".concat(m,"-element"),(t={},(0,r.Z)(t,"".concat(m,"-active"),o),(0,r.Z)(t,"".concat(m,"-block"),p),t),n);return s.createElement("div",{className:d},s.createElement(f,(0,c.Z)({prefixCls:"".concat(m,"-input")},v)))};b.defaultProps={size:"default"};var w=b,N=a(74902),P=function(e){var t=function(t){var a=e.width,r=e.rows,c=void 0===r?2:r;return Array.isArray(a)?a[t]:c-1===t?a:void 0},a=e.prefixCls,r=e.className,c=e.style,n=e.rows,o=(0,N.Z)(Array(n)).map((function(e,a){return s.createElement("li",{key:a,style:{width:t(a)}})}));return s.createElement("ul",{className:l()(a,r),style:c},o)},O=function(e){var t=e.prefixCls,a=e.className,r=e.width,n=e.style;return s.createElement("h3",{className:l()(t,a),style:(0,c.Z)({width:r},n)})};function j(e){return e&&"object"===(0,n.Z)(e)?e:{}}var k=function(e){var t=e.prefixCls,a=e.loading,n=e.className,o=e.style,u=e.children,p=e.avatar,m=e.title,v=e.paragraph,d=e.active,Z=e.round,x=s.useContext(i.E_),h=x.getPrefixCls,g=x.direction,y=h("skeleton",t);if(a||!("loading"in e)){var C,E,b,w=!!p,N=!!m,k=!!v;if(w){var z=(0,c.Z)((0,c.Z)({prefixCls:"".concat(y,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(N,k)),j(p));E=s.createElement("div",{className:"".concat(y,"-header")},s.createElement(f,(0,c.Z)({},z)))}if(N||k){var q,_;if(N){var A=(0,c.Z)((0,c.Z)({prefixCls:"".concat(y,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(w,k)),j(m));q=s.createElement(O,(0,c.Z)({},A))}if(k){var M=(0,c.Z)((0,c.Z)({prefixCls:"".concat(y,"-paragraph")},function(e,t){var a={};return e&&t||(a.width="61%"),a.rows=!e&&t?3:2,a}(w,N)),j(v));_=s.createElement(P,(0,c.Z)({},M))}b=s.createElement("div",{className:"".concat(y,"-content")},q,_)}var R=l()(y,(C={},(0,r.Z)(C,"".concat(y,"-with-avatar"),w),(0,r.Z)(C,"".concat(y,"-active"),d),(0,r.Z)(C,"".concat(y,"-rtl"),"rtl"===g),(0,r.Z)(C,"".concat(y,"-round"),Z),C),n);return s.createElement("div",{className:R,style:o},E,b)}return"undefined"!==typeof u?u:null};k.defaultProps={avatar:!1,title:!0,paragraph:!0},k.Button=d,k.Avatar=m,k.Input=w,k.Image=E,k.Node=C;var z=k}}]);