You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
45 KiB
1 line
45 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[20163,72032,32304,71260,54240],{65363:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(5016),o=n(59301),a={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},i=n(7657),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var s=o.forwardRef(l)},87169:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(5016),o=n(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},i=n(7657),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var s=o.forwardRef(l)},59543:function(){},18889:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r=n(92310),o=n.n(r),a=n(2738),i=n(59301),l=n(36355),s=n(19716),c=n(61621),d=n(99313),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var p=e=>{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=u(e,["prefixCls","className","hoverable"]);const{getPrefixCls:s}=i.useContext(l.E_),c=s("card",t),d=o()(`${c}-grid`,n,{[`${c}-grid-hoverable`]:r});return i.createElement("div",Object.assign({},a,{className:d}))},f=n(17313),h=n(83116),g=n(37613);const m=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:a}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${o}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,f.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},f.vS),{[`\n > ${n}-typography,\n > ${n}-typography-edit-content\n `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:a,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},b=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`\n ${o}px 0 0 0 ${n},\n 0 ${o}px 0 0 ${n},\n ${o}px ${o}px 0 0 ${n},\n ${o}px 0 0 0 ${n} inset,\n 0 ${o}px 0 0 ${n} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},v=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:a,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${e.lineWidth}px ${e.lineType} ${a}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,f.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:e.fontSize*e.lineHeight+"px",transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:o*e.lineHeight+"px"}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${a}`}}})},y=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,f.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},f.vS),"&-description":{color:e.colorTextDescription}}),x=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${n}px`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${e.padding}px ${n}px`}}},C=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},S=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:l,extraColor:s}=e;return{[n]:Object.assign(Object.assign({},(0,f.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:i},[`${n}-head`]:m(e),[`${n}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:l,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,f.dF)()),[`${n}-grid`]:b(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${n}-actions`]:v(e),[`${n}-meta`]:y(e)}),[`${n}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${a}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:x(e),[`${n}-loading`]:C(e),[`${n}-rtl`]:{direction:"rtl"}}},$=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${n}px`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{minHeight:r,paddingTop:0,display:"flex",alignItems:"center"}}}}};var w=(0,h.Z)("Card",(e=>{const t=(0,g.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[S(t),$(t)]}),(e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}))),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const E=i.forwardRef(((e,t)=>{const{prefixCls:n,className:r,rootClassName:u,style:f,extra:h,headStyle:g={},bodyStyle:m={},title:b,loading:v,bordered:y=!0,size:x,type:C,cover:S,actions:$,tabList:E,children:j,activeTabKey:P,defaultActiveTabKey:k,tabBarExtraContent:z,hoverable:L,tabProps:T={}}=e,B=O(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:N,direction:M,card:R}=i.useContext(l.E_),H=i.useMemo((()=>{let e=!1;return i.Children.forEach(j,(t=>{t&&t.type&&t.type===p&&(e=!0)})),e}),[j]),I=N("card",n),[D,A]=w(I),Z=i.createElement(c.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},j),F=void 0!==P,W=Object.assign(Object.assign({},T),{[F?"activeKey":"defaultActiveKey"]:F?P:k,tabBarExtraContent:z});let _;const G=(0,s.Z)(x),U=G&&"default"!==G?G:"large",X=E?i.createElement(d.Z,Object.assign({size:U},W,{className:`${I}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:E.map((e=>{var{tab:t}=e,n=O(e,["tab"]);return Object.assign({label:t},n)}))})):null;(b||h||X)&&(_=i.createElement("div",{className:`${I}-head`,style:g},i.createElement("div",{className:`${I}-head-wrapper`},b&&i.createElement("div",{className:`${I}-head-title`},b),h&&i.createElement("div",{className:`${I}-extra`},h)),X));const K=S?i.createElement("div",{className:`${I}-cover`},S):null,V=i.createElement("div",{className:`${I}-body`,style:m},v?Z:j),Y=$&&$.length?i.createElement("ul",{className:`${I}-actions`},function(e){return e.map(((t,n)=>i.createElement("li",{style:{width:100/e.length+"%"},key:`action-${n}`},i.createElement("span",null,t))))}($)):null,q=(0,a.Z)(B,["onTabChange"]),Q=o()(I,null==R?void 0:R.className,{[`${I}-loading`]:v,[`${I}-bordered`]:y,[`${I}-hoverable`]:L,[`${I}-contain-grid`]:H,[`${I}-contain-tabs`]:E&&E.length,[`${I}-${G}`]:G,[`${I}-type-${C}`]:!!C,[`${I}-rtl`]:"rtl"===M},r,u,A),J=Object.assign(Object.assign({},null==R?void 0:R.style),f);return D(i.createElement("div",Object.assign({ref:t},q,{className:Q,style:J}),_,K,V,Y))}));var j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var P=e=>{const{prefixCls:t,className:n,avatar:r,title:a,description:s}=e,c=j(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:d}=i.useContext(l.E_),u=d("card",t),p=o()(`${u}-meta`,n),f=r?i.createElement("div",{className:`${u}-meta-avatar`},r):null,h=a?i.createElement("div",{className:`${u}-meta-title`},a):null,g=s?i.createElement("div",{className:`${u}-meta-description`},s):null,m=h||g?i.createElement("div",{className:`${u}-meta-detail`},h,g):null;return i.createElement("div",Object.assign({},c,{className:p}),f,m)};const k=E;k.Grid=p,k.Meta=P;var z=k},28103:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(92310),o=n.n(r),a=n(59301),i=n(36355),l=n(17313),s=n(83116),c=n(37613);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},(0,l.Wf)(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:100*i+"%"},"&::after":{width:100-100*i+"%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:100-100*i+"%"},"&::after":{width:100*i+"%"}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var u=(0,s.Z)("Divider",(e=>{const t=(0,c.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}))),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var f=e=>{const{getPrefixCls:t,direction:n,divider:r}=a.useContext(i.E_),{prefixCls:l,type:s="horizontal",orientation:c="center",orientationMargin:d,className:f,rootClassName:h,children:g,dashed:m,plain:b,style:v}=e,y=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),x=t("divider",l),[C,S]=u(x),$=c.length>0?`-${c}`:c,w=!!g,O="left"===c&&null!=d,E="right"===c&&null!=d,j=o()(x,null==r?void 0:r.className,S,`${x}-${s}`,{[`${x}-with-text`]:w,[`${x}-with-text${$}`]:w,[`${x}-dashed`]:!!m,[`${x}-plain`]:!!b,[`${x}-rtl`]:"rtl"===n,[`${x}-no-default-orientation-margin-left`]:O,[`${x}-no-default-orientation-margin-right`]:E},f,h),P=a.useMemo((()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d),[d]),k=Object.assign(Object.assign({},O&&{marginLeft:P}),E&&{marginRight:P});return C(a.createElement("div",Object.assign({className:j,style:Object.assign(Object.assign({},null==r?void 0:r.style),v)},y,{role:"separator"}),g&&"vertical"!==s&&a.createElement("span",{className:`${x}-inner-text`,style:k},g)))}},44e3:function(e,t,n){"use strict";var r=n(84966),o=n(45818);const a=r.ZP;a.Header=r.h4,a.Footer=r.$_,a.Content=r.VY,a.Sider=o.Z,t.Z=a},13570:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var r=n(5016),o=n(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},i=n(7657),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var s=o.forwardRef(l),c=n(92310),d=n.n(c),u=n(18082),p=n(52456),f=n(5883),h=n(18929),g=n(10228),m=n(26112);function b(e,t){var n=e.disabled,r=e.prefixCls,a=e.character,i=e.characterRender,l=e.index,s=e.count,c=e.value,u=e.allowHalf,p=e.focused,f=e.onHover,h=e.onClick,m=l+1,b=new Set([r]);0===c&&0===l&&p?b.add("".concat(r,"-focused")):u&&c+.5>=m&&c<m?(b.add("".concat(r,"-half")),b.add("".concat(r,"-active")),p&&b.add("".concat(r,"-focused"))):(m<=c?b.add("".concat(r,"-full")):b.add("".concat(r,"-zero")),m===c&&p&&b.add("".concat(r,"-focused")));var v="function"==typeof a?a(e):a,y=o.createElement("li",{className:d()(Array.from(b)),ref:t},o.createElement("div",{onClick:n?null:function(e){h(e,l)},onKeyDown:n?null:function(e){e.keyCode===g.Z.ENTER&&h(e,l)},onMouseMove:n?null:function(e){f(e,l)},role:"radio","aria-checked":c>l?"true":"false","aria-posinset":l+1,"aria-setsize":s,tabIndex:n?-1:0},o.createElement("div",{className:"".concat(r,"-first")},v),o.createElement("div",{className:"".concat(r,"-second")},v)));return i&&(y=i(y,e)),y}var v=o.forwardRef(b);var y=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function x(e,t){var n,a,i=e.prefixCls,l=void 0===i?"rc-rate":i,s=e.className,c=e.defaultValue,b=e.value,x=e.count,C=void 0===x?5:x,S=e.allowHalf,$=void 0!==S&&S,w=e.allowClear,O=void 0===w||w,E=e.character,j=void 0===E?"★":E,P=e.characterRender,k=e.disabled,z=e.direction,L=void 0===z?"ltr":z,T=e.tabIndex,B=void 0===T?0:T,N=e.autoFocus,M=e.onHoverChange,R=e.onChange,H=e.onFocus,I=e.onBlur,D=e.onKeyDown,A=e.onMouseLeave,Z=(0,f.Z)(e,y),F=(a=o.useRef({}),[function(e){return a.current[e]},function(e){return function(t){a.current[e]=t}}]),W=(0,p.Z)(F,2),_=W[0],G=W[1],U=o.useRef(null),X=function(){var e;k||(null===(e=U.current)||void 0===e||e.focus())};o.useImperativeHandle(t,(function(){return{focus:X,blur:function(){var e;k||(null===(e=U.current)||void 0===e||e.blur())}}}));var K=(0,h.Z)(c||0,{value:b}),V=(0,p.Z)(K,2),Y=V[0],q=V[1],Q=(0,h.Z)(null),J=(0,p.Z)(Q,2),ee=J[0],te=J[1],ne=function(e,t){var n,r,o,a,i="rtl"===L,l=e+1;if($){var s=_(e),c=(r=function(e){var t,n,r=e.ownerDocument,o=r.body,a=r&&r.documentElement,i=e.getBoundingClientRect();return t=i.left,n=i.top,{left:t-=a.clientLeft||o.clientLeft||0,top:n-=a.clientTop||o.clientTop||0}}(n=s),o=n.ownerDocument,a=o.defaultView||o.parentWindow,r.left+=function(e){var t=e.pageXOffset,n="scrollLeft";if("number"!=typeof t){var r=e.document;"number"!=typeof(t=r.documentElement[n])&&(t=r.body[n])}return t}(a),r.left),d=s.clientWidth;(i&&t-c>d/2||!i&&t-c<d/2)&&(l-=.5)}return l},re=function(e){q(e),null==R||R(e)},oe=o.useState(!1),ae=(0,p.Z)(oe,2),ie=ae[0],le=ae[1],se=o.useState(null),ce=(0,p.Z)(se,2),de=ce[0],ue=ce[1],pe=function(e,t){var n=ne(t,e.pageX);n!==ee&&(ue(n),te(null)),null==M||M(n)},fe=function(e){k||(ue(null),te(null),null==M||M(void 0)),e&&(null==A||A(e))},he=function(e,t){var n=ne(t,e.pageX),r=!1;O&&(r=n===Y),fe(),re(r?0:n),te(r?n:null)};o.useEffect((function(){N&&!k&&X()}),[]);var ge=new Array(C).fill(0).map((function(e,t){return o.createElement(v,{ref:G(t),index:t,count:C,disabled:k,prefixCls:"".concat(l,"-star"),allowHalf:$,value:null===de?Y:de,onClick:he,onHover:pe,key:e||t,character:j,characterRender:P,focused:ie})})),me=d()(l,s,(n={},(0,u.Z)(n,"".concat(l,"-disabled"),k),(0,u.Z)(n,"".concat(l,"-rtl"),"rtl"===L),n));return o.createElement("ul",(0,r.Z)({className:me,onMouseLeave:fe,tabIndex:k?-1:B,onFocus:k?null:function(){le(!0),null==H||H()},onBlur:k?null:function(){le(!1),null==I||I()},onKeyDown:k?null:function(e){var t=e.keyCode,n="rtl"===L,r=Y;t===g.Z.RIGHT&&r<C&&!n?(re(r+=$?.5:1),e.preventDefault()):t===g.Z.LEFT&&r>0&&!n||t===g.Z.RIGHT&&r>0&&n?(re(r-=$?.5:1),e.preventDefault()):t===g.Z.LEFT&&r<C&&n&&(re(r+=$?.5:1),e.preventDefault()),null==D||D(e)},ref:U,role:"radiogroup"},(0,m.Z)(Z,{aria:!0,data:!0,attr:!0})),ge)}var C=o.forwardRef(x),S=n(36355),$=n(6848),w=n(17313),O=n(83116),E=n(37613);const j=e=>{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${e.lineWidth}px dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none",[e.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},P=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),k=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,w.Wf)(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),j(e)),{[`+ ${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,fontSize:e.fontSize}}),P(e))}};var z=(0,O.Z)("Rate",(e=>{const t=(0,E.TS)(e,{});return[k(t)]}),(e=>({starColor:e.yellow6,starSize:.5*e.controlHeightLG,starHoverScale:"scale(1.1)",starBg:e.colorFillContent}))),L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const T=o.forwardRef(((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:i,tooltips:l,character:c=o.createElement(s,null)}=e,u=L(e,["prefixCls","className","rootClassName","style","tooltips","character"]),{getPrefixCls:p,direction:f,rate:h}=o.useContext(S.E_),g=p("rate",n),[m,b]=z(g),v=Object.assign(Object.assign({},null==h?void 0:h.style),i);return m(o.createElement(C,Object.assign({ref:t,character:c,characterRender:(e,t)=>{let{index:n}=t;return l?o.createElement($.Z,{title:l[n]},e):e}},u,{className:d()(r,a,b,null==h?void 0:h.className),style:v,prefixCls:g,direction:f})))}));var B=T},31797:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(59301),o=n(56762),a=n(92343),i=n(92310),l=n.n(i),s=n(36355),c=n(61621);var d=e=>{const{value:t,formatter:n,precision:o,decimalSeparator:a,groupSeparator:i="",prefixCls:l}=e;let s;if("function"==typeof n)s=n(t);else{const e=String(t),n=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(n&&"-"!==e){const e=n[1];let t=n[2]||"0",c=n[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,i),"number"==typeof o&&(c=c.padEnd(o,"0").slice(0,o>0?o:0)),c&&(c=`${a}${c}`),s=[r.createElement("span",{key:"int",className:`${l}-content-value-int`},e,t),c&&r.createElement("span",{key:"decimal",className:`${l}-content-value-decimal`},c)]}else s=e}return r.createElement("span",{className:`${l}-content-value`},s)},u=n(17313),p=n(83116),f=n(37613);const h=e=>{const{componentCls:t,marginXXS:n,padding:r,colorTextDescription:o,titleFontSize:a,colorTextHeading:i,contentFontSize:l,fontFamily:s}=e;return{[`${t}`]:Object.assign(Object.assign({},(0,u.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:o,fontSize:a},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:i,fontSize:l,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}};var g=(0,p.Z)("Statistic",(e=>{const t=(0,f.TS)(e,{});return[h(t)]}),(e=>{const{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}}));var m=e=>{const{prefixCls:t,className:n,rootClassName:o,style:a,valueStyle:i,value:u=0,title:p,valueRender:f,prefix:h,suffix:m,loading:b=!1,onMouseEnter:v,onMouseLeave:y,decimalSeparator:x=".",groupSeparator:C=","}=e,{getPrefixCls:S,direction:$,statistic:w}=r.useContext(s.E_),O=S("statistic",t),[E,j]=g(O),P=r.createElement(d,Object.assign({decimalSeparator:x,groupSeparator:C,prefixCls:O},e,{value:u})),k=l()(O,{[`${O}-rtl`]:"rtl"===$},null==w?void 0:w.className,n,o,j);return E(r.createElement("div",{className:k,style:Object.assign(Object.assign({},null==w?void 0:w.style),a),onMouseEnter:v,onMouseLeave:y},p&&r.createElement("div",{className:`${O}-title`},p),r.createElement(c.Z,{paragraph:!1,loading:b,className:`${O}-skeleton`},r.createElement("div",{style:i,className:`${O}-content`},h&&r.createElement("span",{className:`${O}-content-prefix`},h),f?f(P):P,m&&r.createElement("span",{className:`${O}-content-suffix`},m)))))};const b=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function v(e,t){const{format:n=""}=t,r=new Date(e).getTime(),o=Date.now();return function(e,t){let n=e;const r=/\[[^\]]*]/g,o=(t.match(r)||[]).map((e=>e.slice(1,-1))),a=t.replace(r,"[]"),i=b.reduce(((e,t)=>{let[r,o]=t;if(e.includes(r)){const t=Math.floor(n/o);return n-=t*o,e.replace(new RegExp(`${r}+`,"g"),(e=>{const n=e.length;return t.toString().padStart(n,"0")}))}return e}),a);let l=0;return i.replace(r,(()=>{const e=o[l];return l+=1,e}))}(Math.max(r-o,0),n)}const y=e=>{const{value:t,format:n="HH:mm:ss",onChange:i,onFinish:l}=e,s=(0,o.Z)(),c=r.useRef(null),d=()=>{const e=function(e){return new Date(e).getTime()}(t);e>=Date.now()&&(c.current=setInterval((()=>{s(),null==i||i(e-Date.now()),e<Date.now()&&(null==l||l(),c.current&&(clearInterval(c.current),c.current=null))}),33.333333333333336))};r.useEffect((()=>(d(),()=>{c.current&&(clearInterval(c.current),c.current=null)})),[t]);return r.createElement(m,Object.assign({},e,{valueRender:e=>(0,a.Tm)(e,{title:void 0}),formatter:(e,t)=>v(e,Object.assign(Object.assign({},t),{format:n}))}))};var x=r.memo(y);m.Countdown=x;var C=m},12563:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(59301),o=n(99267),a=n(92310),i=n.n(a),l=n(36785),s=n(47729),c=n(14088),d=n(36355),u=n(17313),p=n(37613),f=n(83116);const h=e=>{const{lineWidth:t,fontSizeIcon:n}=e,r=e.fontSizeSM,o=e.lineHeightSM*r+"px";return(0,p.TS)(e,{tagFontSize:r,tagLineHeight:o,tagIconSize:n-2*t,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},g=e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText});var m=(0,f.Z)("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o}=e,a=r-n,i=t-n;return{[o]:Object.assign(Object.assign({},(0,u.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:i,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(h(e))),g),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var v=e=>{const{prefixCls:t,style:n,className:o,checked:a,onChange:l,onClick:s}=e,c=b(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:p}=r.useContext(d.E_),f=u("tag",t),[h,g]=m(f),v=i()(f,`${f}-checkable`,{[`${f}-checkable-checked`]:a},null==p?void 0:p.className,o,g);return h(r.createElement("span",Object.assign({},c,{style:Object.assign(Object.assign({},n),null==p?void 0:p.style),className:v,onClick:e=>{null==l||l(!a),null==s||s(e)}})))},y=n(45157);var x=(0,f.b)(["Tag","preset"],(e=>(e=>(0,y.Z)(e,((t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:a,darkColor:i}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(h(e))),g);const C=(e,t,n)=>{const r="string"!=typeof(o=n)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var S=(0,f.b)(["Tag","status"],(e=>{const t=h(e);return[C(t,"success","Success"),C(t,"processing","Info"),C(t,"error","Error"),C(t,"warning","Warning")]}),g),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const w=(e,t)=>{const{prefixCls:n,className:a,rootClassName:u,style:p,children:f,icon:h,color:g,onClose:b,closeIcon:v,closable:y,bordered:C=!0}=e,w=$(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:O,direction:E,tag:j}=r.useContext(d.E_),[P,k]=r.useState(!0);r.useEffect((()=>{"visible"in w&&k(w.visible)}),[w.visible]);const z=(0,l.o2)(g),L=(0,l.yT)(g),T=z||L,B=Object.assign(Object.assign({backgroundColor:g&&!T?g:void 0},null==j?void 0:j.style),p),N=O("tag",n),[M,R]=m(N),H=i()(N,null==j?void 0:j.className,{[`${N}-${g}`]:T,[`${N}-has-color`]:g&&!T,[`${N}-hidden`]:!P,[`${N}-rtl`]:"rtl"===E,[`${N}-borderless`]:!C},a,u,R),I=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||k(!1)},[,D]=(0,s.Z)(y,v,(e=>null===e?r.createElement(o.Z,{className:`${N}-close-icon`,onClick:I}):r.createElement("span",{className:`${N}-close-icon`,onClick:I},e)),null,!1),A="function"==typeof w.onClick||f&&"a"===f.type,Z=h||null,F=Z?r.createElement(r.Fragment,null,Z,f&&r.createElement("span",null,f)):f,W=r.createElement("span",Object.assign({},w,{ref:t,className:H,style:B}),F,D,z&&r.createElement(x,{key:"preset",prefixCls:N}),L&&r.createElement(S,{key:"status",prefixCls:N}));return M(A?r.createElement(c.Z,{component:"Tag"},W):W)},O=r.forwardRef(w);O.CheckableTag=v;var E=O},25769:function(e,t,n){"use strict";var r=n(98040),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,i,l,s,c,d=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),l=document.createRange(),s=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),l.selectNodeContents(c),s.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");d=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),d=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),c&&document.body.removeChild(c),i()}return d}},24334:function(e,t,n){var r,o;o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this,e.exports=function(n){"use strict";var o,a=(n=n||{}).Base64,i="2.6.4",l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(l),c=String.fromCharCode,d=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},u=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,p=function(e){return e.replace(u,d)},f=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[l.charAt(n>>>18),l.charAt(n>>>12&63),t>=2?"=":l.charAt(n>>>6&63),t>=1?"=":l.charAt(63&n)].join("")},h=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,f)},g=function(e){return h(p(String(e)))},m=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},b=function(e,t){return t?m(g(e)):g(e)},v=function(e){return b(e,!0)};n.Uint8Array&&(o=function(e,t){for(var n="",r=0,o=e.length;r<o;r+=3){var a=e[r],i=e[r+1],s=e[r+2],c=a<<16|i<<8|s;n+=l.charAt(c>>>18)+l.charAt(c>>>12&63)+(void 0!==i?l.charAt(c>>>6&63):"=")+(void 0!==s?l.charAt(63&c):"=")}return t?m(n):n});var y,x=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,C=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},S=function(e){return e.replace(x,C)},$=function(e){var t=e.length,n=t%4,r=(t>0?s[e.charAt(0)]<<18:0)|(t>1?s[e.charAt(1)]<<12:0)|(t>2?s[e.charAt(2)]<<6:0)|(t>3?s[e.charAt(3)]:0),o=[c(r>>>16),c(r>>>8&255),c(255&r)];return o.length-=[0,0,2,1][n],o.join("")},w=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,$)},O=function(e){return w(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(e){return S(w(e))},j=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},P=function(e){return E(j(e))};n.Uint8Array&&(y=function(e){return Uint8Array.from(O(j(e)),(function(e){return e.charCodeAt(0)}))});var k=function(){var e=n.Base64;return n.Base64=a,e};if(n.Base64={VERSION:i,atob:O,btoa:h,fromBase64:P,toBase64:b,utob:p,encode:b,encodeURI:v,btou:S,decode:P,noConflict:k,fromUint8Array:o,toUint8Array:y},"function"==typeof Object.defineProperty){var z=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",z((function(){return P(this)}))),Object.defineProperty(String.prototype,"toBase64",z((function(e){return b(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",z((function(){return b(this,!0)})))}}return n.Meteor&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r),{Base64:n.Base64}}(o)},83145:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=a(n(59301)),o=a(n(25769));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){function t(){var e,n;c(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return g(f(n=u(this,(e=p(t)).call.apply(e,[this].concat(i)))),"onClick",(function(e){var t=n.props,a=t.text,i=t.onCopy,l=t.children,s=t.options,c=r.default.Children.only(l),d=(0,o.default)(a,s);i&&i(a,d),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(e)})),n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,a=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=s(e,["text","onCopy","options","children"]),o=r.default.Children.only(t);return r.default.cloneElement(o,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{onClick:this.onClick}))}}],a&&d(n.prototype,a),i&&d(n,i),t}(r.default.PureComponent);t.CopyToClipboard=m,g(m,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(e,t,n){"use strict";var r=n(83145).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},51581:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(59301),a=l(o),i=l(n(12708));function l(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.scrollListener=n.scrollListener.bind(n),n.eventListenerOptions=n.eventListenerOptions.bind(n),n.mousewheelListener=n.mousewheelListener.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,t={get passive(){e=!0}};try{document.addEventListener("test",null,t),document.removeEventListener("test",null,t)}catch(e){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var t=this.props.getScrollParent&&this.props.getScrollParent();return null!=t?t:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(this.props.hasMore&&e){var t=window;!1===this.props.useWindow&&(t=e),t.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),t.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(e){1!==e.deltaY||this.isPassiveSupported()||e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,t=window,n=this.getParentElement(e),r=void 0;if(this.props.useWindow){var o=document.documentElement||document.body.parentNode||document.body,a=void 0!==t.pageYOffset?t.pageYOffset:o.scrollTop;r=this.props.isReverse?a:this.calculateOffset(e,a)}else r=this.props.isReverse?n.scrollTop:e.scrollHeight-n.scrollTop-n.clientHeight;r<Number(this.props.threshold)&&e&&null!==e.offsetParent&&(this.detachScrollListener(),this.beforeScrollHeight=n.scrollHeight,this.beforeScrollTop=n.scrollTop,"function"==typeof this.props.loadMore&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(e,t){return e?this.calculateTopPosition(e)+(e.offsetHeight-t-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,t=this.filterProps(this.props),n=t.children,r=t.element,o=t.hasMore,i=(t.initialLoad,t.isReverse),l=t.loader,s=(t.loadMore,t.pageStart,t.ref),c=(t.threshold,t.useCapture,t.useWindow,t.getScrollParent,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]));c.ref=function(t){e.scrollComponent=t,s&&s(t)};var d=[n];return o&&(l?i?d.unshift(l):d.push(l):this.defaultLoader&&(i?d.unshift(this.defaultLoader):d.push(this.defaultLoader))),a.default.createElement(r,c,d)}}]),t}(o.Component);s.propTypes={children:i.default.node.isRequired,element:i.default.node,hasMore:i.default.bool,initialLoad:i.default.bool,isReverse:i.default.bool,loader:i.default.node,loadMore:i.default.func.isRequired,pageStart:i.default.number,ref:i.default.func,getScrollParent:i.default.func,threshold:i.default.number,useCapture:i.default.bool,useWindow:i.default.bool},s.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},t.default=s,e.exports=t.default},26724:function(e,t,n){e.exports=n(51581)},98040:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]); |