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
80 KiB
1 line
80 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[41697,67390,47897,40411,24001,89195,3622],{4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(67294),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 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},i=n(43387),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l)},14618:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"close-square",theme:"outlined"},i=n(43387),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l)},80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},i=n(43387),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l)},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},i=n(43387),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(67294),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(43387),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l)},13982:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},i=n(43387),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l)},25035:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(67294),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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},i=n(43387),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l)},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),o=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},i=n(43387),l=function(e,t){return o.createElement(i.Z,(0,r.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l)},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});const r=e=>e?"function"==typeof e?e():e:null},38925:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(23526),o=n(30186),a=n(85846),i=n(39291),l=n(97454),c=n(94184),s=n.n(c),d=n(38379),u=n(1337),p=n(67294),f=n(96159),h=n(53124),m=n(14747),g=n(67968);const v=(e,t,n,r,o)=>({backgroundColor:e,border:`${r.lineWidth}px ${r.lineType} ${t}`,[`${o}-icon`]:{color:n}}),b=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:o,fontSize:a,fontSizeLG:i,lineHeight:l,borderRadiusLG:c,motionEaseInOutCirc:s,withDescriptionIconSize:d,colorText:u,colorTextHeading:p,withDescriptionPadding:f,defaultPadding:h}=e;return{[t]:Object.assign(Object.assign({},(0,m.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:h,wordWrap:"break-word",borderRadius:c,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:a,lineHeight:l},"&-message":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${s}, opacity ${n} ${s},\n padding-top ${n} ${s}, padding-bottom ${n} ${s},\n margin-bottom ${n} ${s}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:f,[`${t}-icon`]:{marginInlineEnd:o,fontSize:d,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:p,fontSize:i},[`${t}-description`]:{display:"block",color:u}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},y=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:o,colorWarning:a,colorWarningBorder:i,colorWarningBg:l,colorError:c,colorErrorBorder:s,colorErrorBg:d,colorInfo:u,colorInfoBorder:p,colorInfoBg:f}=e;return{[t]:{"&-success":v(o,r,n,e,t),"&-info":v(f,p,u,e,t),"&-warning":v(l,i,a,e,t),"&-error":Object.assign(Object.assign({},v(d,s,c,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},S=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:o,fontSizeIcon:a,colorIcon:i,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:a,lineHeight:`${a}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:i,transition:`color ${r}`,"&:hover":{color:l}}},"&-close-text":{color:i,transition:`color ${r}`,"&:hover":{color:l}}}}},x=e=>[b(e),y(e),S(e)];var E=(0,g.Z)("Alert",(e=>[x(e)]),(e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}))),C=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={success:r.Z,info:l.Z,error:o.Z,warning:i.Z},O=e=>{const{icon:t,prefixCls:n,type:r}=e,o=w[r]||null;return t?(0,f.wm)(t,p.createElement("span",{className:`${n}-icon`},t),(()=>({className:s()(`${n}-icon`,{[t.props.className]:t.props.className})}))):p.createElement(o,{className:`${n}-icon`})},$=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:o}=e,i=!0===r||void 0===r?p.createElement(a.Z,null):r;return t?p.createElement("button",{type:"button",onClick:o,className:`${n}-close-icon`,tabIndex:0},i):null};var k=e=>{const{description:t,prefixCls:n,message:r,banner:o,className:a,rootClassName:i,style:l,onMouseEnter:c,onMouseLeave:f,onClick:m,afterClose:g,showIcon:v,closable:b,closeText:y,closeIcon:S,action:x}=e,w=C(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[k,N]=p.useState(!1);const I=p.useRef(null),{getPrefixCls:M,direction:P,alert:j}=p.useContext(h.E_),D=M("alert",n),[T,Z]=E(D),L=t=>{var n;N(!0),null===(n=e.onClose)||void 0===n||n.call(e,t)},_=p.useMemo((()=>void 0!==e.type?e.type:o?"warning":"info"),[e.type,o]),z=p.useMemo((()=>!!y||("boolean"==typeof b?b:!1!==S&&null!=S)),[y,S,b]),R=!(!o||void 0!==v)||v,H=s()(D,`${D}-${_}`,{[`${D}-with-description`]:!!t,[`${D}-no-icon`]:!R,[`${D}-banner`]:!!o,[`${D}-rtl`]:"rtl"===P},null==j?void 0:j.className,a,i,Z),A=(0,u.Z)(w,{aria:!0,data:!0});return T(p.createElement(d.default,{visible:!k,motionName:`${D}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:g},(n=>{let{className:o,style:a}=n;return p.createElement("div",Object.assign({ref:I,"data-show":!k,className:s()(H,o),style:Object.assign(Object.assign(Object.assign({},null==j?void 0:j.style),l),a),onMouseEnter:c,onMouseLeave:f,onClick:m,role:"alert"},A),R?p.createElement(O,{description:t,icon:e.icon,prefixCls:D,type:_}):null,p.createElement("div",{className:`${D}-content`},r?p.createElement("div",{className:`${D}-message`},r):null,t?p.createElement("div",{className:`${D}-description`},t):null),x?p.createElement("div",{className:`${D}-action`},x):null,p.createElement($,{isClosable:z,prefixCls:D,closeIcon:y||S,handleClose:L}))})))},N=n(15671),I=n(43144),M=n(60136),P=n(51630);let j=function(e){(0,M.Z)(n,e);var t=(0,P.Z)(n);function n(){var e;return(0,N.Z)(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return(0,I.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){const{message:e,description:t,children:n}=this.props,{error:r,info:o}=this.state,a=o&&o.componentStack?o.componentStack:null,i=void 0===e?(r||"").toString():e,l=void 0===t?a:t;return r?p.createElement(k,{type:"error",message:i,description:p.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},l)}):n}}]),n}(p.Component);var D=j;const T=k;T.ErrorBoundary=D;var Z=T},49288:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),a=n(37419),i=n(10366),l=n(67294),c=n(8745),s=n(96159),d=n(53124),u=n(96101);const{Option:p}=u.Z;function f(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}const h=(e,t)=>{const{prefixCls:n,className:r,popupClassName:c,dropdownClassName:h,children:m,dataSource:g}=e,v=(0,a.Z)(m);let b;1===v.length&&(0,s.l$)(v[0])&&!f(v[0])&&([b]=v);const y=b?()=>b:void 0;let S;S=v.length&&f(v[0])?m:g?g.map((e=>{if((0,s.l$)(e))return e;switch(typeof e){case"string":return l.createElement(p,{key:e,value:e},e);case"object":{const{value:t}=e;return l.createElement(p,{key:t,value:t},e.text)}default:return}})):[];const{getPrefixCls:x}=l.useContext(d.E_),E=x("select",n);return l.createElement(u.Z,Object.assign({ref:t,suffixIcon:null},(0,i.Z)(e,["dataSource","dropdownClassName"]),{prefixCls:E,popupClassName:c||h,className:o()(`${E}-auto-complete`,r),mode:u.Z.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:y}),S)},m=l.forwardRef(h),g=(0,c.Z)(m);m.Option=p,m._InternalPanelDoNotUseOrYouWillBeFired=g,t.Z=m},40411:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(94184),o=n.n(r),a=n(38379),i=n(67294),l=n(98787),c=n(96159),s=n(53124),d=n(45930),u=n(14747),p=n(98719),f=n(45503),h=n(67968);const m=new d.Keyframes("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),g=new d.Keyframes("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),v=new d.Keyframes("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),b=new d.Keyframes("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),y=new d.Keyframes("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),S=new d.Keyframes("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),x=e=>{const{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:o,motionDurationSlow:a,textFontSize:i,textFontSizeSM:l,statusSize:c,dotSize:s,textFontWeight:d,indicatorHeight:f,indicatorHeightSM:h,marginXS:x}=e,E=`${r}-scroll-number`,C=(0,p.Z)(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r}}}}));return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{zIndex:e.indicatorZIndex,minWidth:f,height:f,color:e.badgeTextColor,fontWeight:d,fontSize:i,lineHeight:`${f}px`,whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:f/2,boxShadow:`0 0 0 ${o}px ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:h,height:h,fontSize:l,lineHeight:`${h}px`,borderRadius:h/2},[`${t}-multiple-words`]:{padding:`0 ${e.paddingXS}px`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:s,minWidth:s,height:s,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${o}px ${e.badgeShadowColor}`},[`${t}-dot${E}`]:{transition:`background ${a}`},[`${t}-count, ${t}-dot, ${E}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:S,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:c,height:c,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorPrimary,backgroundColor:e.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:m,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:x,color:e.colorText,fontSize:e.fontSize}}}),C),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:g,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:y,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${E}-custom-component, ${t}-count`]:{transform:"none"},[`${E}-custom-component, ${E}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${E}`]:{overflow:"hidden",[`${E}-only`]:{position:"relative",display:"inline-block",height:f,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${E}-only-unit`]:{height:f,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${E}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${E}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},E=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,marginXS:o,colorBorderBg:a}=e,i=Math.round(t*n),l=r,c=e.colorBgContainer,s=e.colorError,d=e.colorErrorHover;return(0,f.TS)(e,{badgeFontHeight:i,badgeShadowSize:l,badgeTextColor:c,badgeColor:s,badgeColorHover:d,badgeShadowColor:a,badgeProcessingDuration:"1.2s",badgeRibbonOffset:o,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},C=e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*o,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}};var w=(0,h.Z)("Badge",(e=>{const t=E(e);return[x(t)]}),C);const O=e=>{const{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:o}=e,a=`${t}-ribbon`,i=`${t}-ribbon-wrapper`,l=(0,p.Z)(e,((e,t)=>{let{darkColor:n}=t;return{[`&${a}-color-${e}`]:{background:n,color:n}}}));return{[`${i}`]:{position:"relative"},[`${a}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(e)),{position:"absolute",top:r,padding:`0 ${e.paddingXS}px`,color:e.colorPrimary,lineHeight:`${n}px`,whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-text`]:{color:e.colorTextLightSolid},[`${a}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:o/2+"px solid",transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{[`&${a}-placement-end`]:{insetInlineEnd:-o,borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:-o,borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}};var $=(0,h.Z)(["Badge","Ribbon"],(e=>{const t=E(e);return[O(t)]}),C);var k=e=>{const{className:t,prefixCls:n,style:r,color:a,children:c,text:d,placement:u="end",rootClassName:p}=e,{getPrefixCls:f,direction:h}=i.useContext(s.E_),m=f("ribbon",n),g=(0,l.o2)(a,!1),v=o()(m,`${m}-placement-${u}`,{[`${m}-rtl`]:"rtl"===h,[`${m}-color-${a}`]:g},t),[b,y]=$(m),S={},x={};return a&&!g&&(S.background=a,x.color=a),b(i.createElement("div",{className:o()(`${m}-wrapper`,p,y)},c,i.createElement("div",{className:o()(v,y),style:Object.assign(Object.assign({},S),r)},i.createElement("span",{className:`${m}-text`},d),i.createElement("div",{className:`${m}-corner`,style:x}))))};function N(e){let t,{prefixCls:n,value:r,current:a,offset:l=0}=e;return l&&(t={position:"absolute",top:`${l}00%`,left:0}),i.createElement("span",{style:t,className:o()(`${n}-only-unit`,{current:a})},r)}function I(e,t,n){let r=e,o=0;for(;(r+10)%10!==t;)r+=n,o+=n;return o}function M(e){const{prefixCls:t,count:n,value:r}=e,o=Number(r),a=Math.abs(n),[l,c]=i.useState(o),[s,d]=i.useState(a),u=()=>{c(o),d(a)};let p,f;if(i.useEffect((()=>{const e=setTimeout((()=>{u()}),1e3);return()=>{clearTimeout(e)}}),[o]),l===o||Number.isNaN(o)||Number.isNaN(l))p=[i.createElement(N,Object.assign({},e,{key:o,current:!0}))],f={transition:"none"};else{p=[];const t=o+10,n=[];for(let e=o;e<=t;e+=1)n.push(e);const r=n.findIndex((e=>e%10===l));p=n.map(((t,n)=>{const o=t%10;return i.createElement(N,Object.assign({},e,{key:t,value:o,offset:n-r,current:n===r}))}));f={transform:`translateY(${-I(l,o,s<a?1:-1)}00%)`}}return i.createElement("span",{className:`${t}-only`,style:f,onTransitionEnd:u},p)}var 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};const j=i.forwardRef(((e,t)=>{const{prefixCls:n,count:r,className:a,motionClassName:l,style:d,title:u,show:p,component:f="sup",children:h}=e,m=P(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:g}=i.useContext(s.E_),v=g("scroll-number",n),b=Object.assign(Object.assign({},m),{"data-show":p,style:d,className:o()(v,a,l),title:u});let y=r;if(r&&Number(r)%1==0){const e=String(r).split("");y=i.createElement("bdi",null,e.map(((t,n)=>i.createElement(M,{prefixCls:v,count:Number(r),value:t,key:e.length-n}))))}return d&&d.borderColor&&(b.style=Object.assign(Object.assign({},d),{boxShadow:`0 0 0 1px ${d.borderColor} inset`})),h?(0,c.Tm)(h,(e=>({className:o()(`${v}-custom-component`,null==e?void 0:e.className,l)}))):i.createElement(f,Object.assign({},b,{ref:t}),y)}));var D=j,T=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 Z=(e,t)=>{var n,r,d,u,p;const{prefixCls:f,scrollNumberPrefixCls:h,children:m,status:g,text:v,color:b,count:y=null,overflowCount:S=99,dot:x=!1,size:E="default",title:C,offset:O,style:$,className:k,rootClassName:N,classNames:I,styles:M,showZero:P=!1}=e,j=T(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:Z,direction:L,badge:_}=i.useContext(s.E_),z=Z("badge",f),[R,H]=w(z),A=y>S?`${S}+`:y,B="0"===A||0===A,W=(null!=g||null!=b)&&(null===y||B&&!P),F=x&&!B,K=F?"":A,U=(0,i.useMemo)((()=>(null==K||""===K||B&&!P)&&!F),[K,B,P,F]),G=(0,i.useRef)(y);U||(G.current=y);const Y=G.current,X=(0,i.useRef)(K);U||(X.current=K);const V=X.current,Q=(0,i.useRef)(F);U||(Q.current=F);const q=(0,i.useMemo)((()=>{if(!O)return Object.assign(Object.assign({},null==_?void 0:_.style),$);const e={marginTop:O[1]};return"rtl"===L?e.left=parseInt(O[0],10):e.right=-parseInt(O[0],10),Object.assign(Object.assign(Object.assign({},e),null==_?void 0:_.style),$)}),[L,O,$,null==_?void 0:_.style]),J=null!=C?C:"string"==typeof Y||"number"==typeof Y?Y:void 0,ee=U||!v?null:i.createElement("span",{className:`${z}-status-text`},v),te=Y&&"object"==typeof Y?(0,c.Tm)(Y,(e=>({style:Object.assign(Object.assign({},q),e.style)}))):void 0,ne=(0,l.o2)(b,!1),re=o()(null==I?void 0:I.indicator,null===(n=null==_?void 0:_.classNames)||void 0===n?void 0:n.indicator,{[`${z}-status-dot`]:W,[`${z}-status-${g}`]:!!g,[`${z}-color-${b}`]:ne}),oe={};b&&!ne&&(oe.color=b,oe.background=b);const ae=o()(z,{[`${z}-status`]:W,[`${z}-not-a-wrapper`]:!m,[`${z}-rtl`]:"rtl"===L},k,N,null==_?void 0:_.className,null===(r=null==_?void 0:_.classNames)||void 0===r?void 0:r.root,null==I?void 0:I.root,H);if(!m&&W){const e=q.color;return R(i.createElement("span",Object.assign({},j,{className:ae,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.root),null===(d=null==_?void 0:_.styles)||void 0===d?void 0:d.root),q)}),i.createElement("span",{className:re,style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(u=null==_?void 0:_.styles)||void 0===u?void 0:u.indicator),oe)}),v&&i.createElement("span",{style:{color:e},className:`${z}-status-text`},v)))}return R(i.createElement("span",Object.assign({ref:t},j,{className:ae,style:Object.assign(Object.assign({},null===(p=null==_?void 0:_.styles)||void 0===p?void 0:p.root),null==M?void 0:M.root)}),m,i.createElement(a.default,{visible:!U,motionName:`${z}-zoom`,motionAppear:!1,motionDeadline:1e3},(e=>{let{className:t,ref:n}=e;var r,a;const l=Z("scroll-number",h),c=Q.current,s=o()(null==I?void 0:I.indicator,null===(r=null==_?void 0:_.classNames)||void 0===r?void 0:r.indicator,{[`${z}-dot`]:c,[`${z}-count`]:!c,[`${z}-count-sm`]:"small"===E,[`${z}-multiple-words`]:!c&&V&&V.toString().length>1,[`${z}-status-${g}`]:!!g,[`${z}-color-${b}`]:ne});let d=Object.assign(Object.assign(Object.assign({},null==M?void 0:M.indicator),null===(a=null==_?void 0:_.styles)||void 0===a?void 0:a.indicator),q);return b&&!ne&&(d=d||{},d.background=b),i.createElement(D,{prefixCls:l,show:!U,motionClassName:t,className:s,count:V,title:J,style:d,key:"scrollNumber",ref:n},te)})),ee))},L=i.forwardRef(Z);L.Ribbon=k;var _=L},96074:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(94184),o=n.n(r),a=n(67294),i=n(53124),l=n(14747),c=n(67968),s=n(45503);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:c}=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:c,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,c.Z)("Divider",(e=>{const t=(0,s.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:c="horizontal",orientation:s="center",orientationMargin:d,className:f,rootClassName:h,children:m,dashed:g,plain:v,style:b}=e,y=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),S=t("divider",l),[x,E]=u(S),C=s.length>0?`-${s}`:s,w=!!m,O="left"===s&&null!=d,$="right"===s&&null!=d,k=o()(S,null==r?void 0:r.className,E,`${S}-${c}`,{[`${S}-with-text`]:w,[`${S}-with-text${C}`]:w,[`${S}-dashed`]:!!g,[`${S}-plain`]:!!v,[`${S}-rtl`]:"rtl"===n,[`${S}-no-default-orientation-margin-left`]:O,[`${S}-no-default-orientation-margin-right`]:$},f,h),N=a.useMemo((()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d),[d]),I=Object.assign(Object.assign({},O&&{marginLeft:N}),$&&{marginRight:N});return x(a.createElement("div",Object.assign({className:k,style:Object.assign(Object.assign({},null==r?void 0:r.style),b)},y,{role:"separator"}),m&&"vertical"!==c&&a.createElement("span",{className:`${S}-inner-text`,style:I},m)))}},97183:function(e,t,n){"use strict";var r=n(84321),o=n(19249);const a=r.ZP;a.Header=r.h4,a.Footer=r.$_,a.Content=r.VY,a.Sider=o.Z,t.Z=a},66330:function(e,t,n){"use strict";n.d(t,{t5:function(){return u}});var r=n(94184),o=n.n(r),a=n(92419),i=n(67294),l=n(53124),c=n(81643),s=n(20136),d=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 u=e=>{const{hashId:t,prefixCls:n,className:r,style:l,placement:s="top",title:d,content:u,children:p}=e;return i.createElement("div",{className:o()(t,n,`${n}-pure`,`${n}-placement-${s}`,r),style:l},i.createElement("div",{className:`${n}-arrow`}),i.createElement(a.G,Object.assign({},e,{className:t,prefixCls:n}),p||((e,t,n)=>{if(t||n)return i.createElement(i.Fragment,null,t&&i.createElement("div",{className:`${e}-title`},(0,c.Z)(t)),i.createElement("div",{className:`${e}-inner-content`},(0,c.Z)(n)))})(n,d,u)))};t.ZP=e=>{const{prefixCls:t}=e,n=d(e,["prefixCls"]),{getPrefixCls:r}=i.useContext(l.E_),o=r("popover",t),[a,c]=(0,s.Z)(o);return a(i.createElement(u,Object.assign({},n,{prefixCls:o,hashId:c})))}},55241:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),a=n(67294),i=n(81643),l=n(33603),c=n(53124),s=n(83062),d=n(66330),u=n(20136),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};const f=e=>{let{title:t,content:n,prefixCls:r}=e;return a.createElement(a.Fragment,null,t&&a.createElement("div",{className:`${r}-title`},(0,i.Z)(t)),a.createElement("div",{className:`${r}-inner-content`},(0,i.Z)(n)))},h=a.forwardRef(((e,t)=>{const{prefixCls:n,title:r,content:i,overlayClassName:d,placement:h="top",trigger:m="hover",mouseEnterDelay:g=.1,mouseLeaveDelay:v=.1,overlayStyle:b={}}=e,y=p(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:S}=a.useContext(c.E_),x=S("popover",n),[E,C]=(0,u.Z)(x),w=S(),O=o()(d,C);return E(a.createElement(s.Z,Object.assign({placement:h,trigger:m,mouseEnterDelay:g,mouseLeaveDelay:v,overlayStyle:b},y,{prefixCls:x,overlayClassName:O,ref:t,overlay:r||i?a.createElement(f,{prefixCls:x,title:r,content:i}):null,transitionName:(0,l.m)(w,"zoom-big",y.transitionName),"data-popover-inject":!0})))}));h._InternalPanelDoNotUseOrYouWillBeFired=d.ZP,t.Z=h},20136:function(e,t,n){"use strict";var r=n(14747),o=n(50438),a=n(97414),i=n(8796),l=n(67968),c=n(45503);const s=e=>{const{componentCls:t,popoverColor:n,minWidth:o,fontWeightStrong:i,popoverPadding:l,boxShadowSecondary:c,colorTextHeading:s,borderRadiusLG:d,zIndexPopup:u,marginXS:p,colorBgElevated:f,popoverBg:h}=e;return[{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":f,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:h,backgroundClip:"padding-box",borderRadius:d,boxShadow:c,padding:l},[`${t}-title`]:{minWidth:o,marginBottom:p,color:s,fontWeight:i},[`${t}-inner-content`]:{color:n}})},(0,a.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},d=e=>{const{componentCls:t}=e;return{[t]:i.i.map((n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}}))}},u=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:o,paddingSM:a,controlHeight:i,fontSize:l,lineHeight:c,padding:s}=e,d=i-Math.round(l*c);return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${d/2}px ${s}px ${d/2-n}px`,borderBottom:`${n}px ${r} ${o}`},[`${t}-inner-content`]:{padding:`${a}px ${s}px`}}}};t.Z=(0,l.Z)("Popover",(e=>{const{colorBgElevated:t,colorText:n,wireframe:r}=e,a=(0,c.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[s(a),d(a),r&&u(a),(0,o._y)(a,"zoom-big")]}),(e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30})),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(67294),o=n(57838),a=n(96159),i=n(94184),l=n.n(i),c=n(53124),s=n(4310);var d=e=>{const{value:t,formatter:n,precision:o,decimalSeparator:a,groupSeparator:i="",prefixCls:l}=e;let c;if("function"==typeof n)c=n(t);else{const e=String(t),n=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(n&&"-"!==e){const e=n[1];let t=n[2]||"0",s=n[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,i),"number"==typeof o&&(s=s.padEnd(o,"0").slice(0,o>0?o:0)),s&&(s=`${a}${s}`),c=[r.createElement("span",{key:"int",className:`${l}-content-value-int`},e,t),s&&r.createElement("span",{key:"decimal",className:`${l}-content-value-decimal`},s)]}else c=e}return r.createElement("span",{className:`${l}-content-value`},c)},u=n(14747),p=n(67968),f=n(45503);const h=e=>{const{componentCls:t,marginXXS:n,padding:r,colorTextDescription:o,titleFontSize:a,colorTextHeading:i,contentFontSize:l,fontFamily:c}=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:c,[`${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 m=(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 g=e=>{const{prefixCls:t,className:n,rootClassName:o,style:a,valueStyle:i,value:u=0,title:p,valueRender:f,prefix:h,suffix:g,loading:v=!1,onMouseEnter:b,onMouseLeave:y,decimalSeparator:S=".",groupSeparator:x=","}=e,{getPrefixCls:E,direction:C,statistic:w}=r.useContext(c.E_),O=E("statistic",t),[$,k]=m(O),N=r.createElement(d,Object.assign({decimalSeparator:S,groupSeparator:x,prefixCls:O},e,{value:u})),I=l()(O,{[`${O}-rtl`]:"rtl"===C},null==w?void 0:w.className,n,o,k);return $(r.createElement("div",{className:I,style:Object.assign(Object.assign({},null==w?void 0:w.style),a),onMouseEnter:b,onMouseLeave:y},p&&r.createElement("div",{className:`${O}-title`},p),r.createElement(s.Z,{paragraph:!1,loading:v,className:`${O}-skeleton`},r.createElement("div",{style:i,className:`${O}-content`},h&&r.createElement("span",{className:`${O}-content-prefix`},h),f?f(N):N,g&&r.createElement("span",{className:`${O}-content-suffix`},g)))))};const v=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function b(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=v.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,c=(0,o.Z)(),s=r.useRef(null),d=()=>{const e=function(e){return new Date(e).getTime()}(t);e>=Date.now()&&(s.current=setInterval((()=>{c(),null==i||i(e-Date.now()),e<Date.now()&&(null==l||l(),s.current&&(clearInterval(s.current),s.current=null))}),33.333333333333336))};r.useEffect((()=>(d(),()=>{s.current&&(clearInterval(s.current),s.current=null)})),[t]);return r.createElement(g,Object.assign({},e,{valueRender:e=>(0,a.Tm)(e,{title:void 0}),formatter:(e,t)=>b(e,Object.assign(Object.assign({},t),{format:n}))}))};var S=r.memo(y);g.Countdown=S;var x=g},47897:function(e,t,n){"use strict";n.d(t,{Z:function(){return W}});var r=n(77322),o=n(94184),a=n.n(o);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function l(e){return l="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},l(e)}function c(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===l(t)?t:String(t)}function s(e,t,n){return(t=c(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(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}var f=n(67294);function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e){var t=f.useRef();t.current=e;var n=f.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}var v="undefined"!=typeof window&&window.document&&window.document.createElement?f.useLayoutEffect:f.useEffect,b=function(e,t){var n=f.useRef(!0);v((function(){return e(n.current)}),t),v((function(){return n.current=!1,function(){n.current=!0}}),[])},y=function(e,t){b((function(t){if(!t)return e()}),t)};function S(e){var t=f.useRef(!1),n=m(f.useState(e),2),r=n[0],o=n[1];return f.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[r,function(e,n){n&&t.current||o(e)}]}function x(e){return void 0!==e}var E={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=E.F1&&t<=E.F12)return!1;switch(t){case E.ALT:case E.CAPS_LOCK:case E.CONTEXT_MENU:case E.CTRL:case E.DOWN:case E.END:case E.ESC:case E.HOME:case E.INSERT:case E.LEFT:case E.MAC_FF_META:case E.META:case E.NUMLOCK:case E.NUM_CENTER:case E.PAGE_DOWN:case E.PAGE_UP:case E.PAUSE:case E.PRINT_SCREEN:case E.RIGHT:case E.SHIFT:case E.UP:case E.WIN_KEY:case E.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=E.ZERO&&e<=E.NINE)return!0;if(e>=E.NUM_ZERO&&e<=E.NUM_MULTIPLY)return!0;if(e>=E.A&&e<=E.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case E.SPACE:case E.QUESTION_MARK:case E.NUM_PLUS:case E.NUM_MINUS:case E.NUM_PERIOD:case E.NUM_DIVISION:case E.SEMICOLON:case E.DASH:case E.EQUALS:case E.COMMA:case E.PERIOD:case E.SLASH:case E.APOSTROPHE:case E.SINGLE_QUOTE:case E.OPEN_SQUARE_BRACKET:case E.BACKSLASH:case E.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},C=E,w=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],O=f.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-switch":r,l=e.className,c=e.checked,d=e.defaultChecked,h=e.disabled,v=e.loadingIcon,b=e.checkedChildren,E=e.unCheckedChildren,O=e.onClick,$=e.onChange,k=e.onKeyDown,N=p(e,w),I=function(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,l=m(S((function(){return x(o)?o:x(r)?"function"==typeof r?r():r:"function"==typeof e?e():e})),2),c=l[0],s=l[1],d=void 0!==o?o:c,u=i?i(d):d,p=g(a),f=m(S([d]),2),h=f[0],v=f[1];return y((function(){var e=h[0];c!==e&&p(c,e)}),[h]),y((function(){x(o)||s(o)}),[o]),[u,g((function(e,t){s(e,t),v([d],t)}))]}(!1,{value:c,defaultValue:d}),M=u(I,2),P=M[0],j=M[1];function D(e,t){var n=P;return h||(j(n=e),null==$||$(n,t)),n}var T=a()(o,l,(s(n={},"".concat(o,"-checked"),P),s(n,"".concat(o,"-disabled"),h),n));return f.createElement("button",i({},N,{type:"button",role:"switch","aria-checked":P,disabled:h,className:T,ref:t,onKeyDown:function(e){e.which===C.LEFT?D(!1,e):e.which===C.RIGHT&&D(!0,e),null==k||k(e)},onClick:function(e){var t=D(!P,e);null==O||O(t,e)}}),v,f.createElement("span",{className:"".concat(o,"-inner")},f.createElement("span",{className:"".concat(o,"-inner-checked")},b),f.createElement("span",{className:"".concat(o,"-inner-unchecked")},E)))}));O.displayName="Switch";var $=O,k=n(45353),N=n(53124),I=n(98866),M=n(98675),P=n(10274),j=n(14747),D=n(67968),T=n(45503);const Z=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:a,innerMaxMarginSM:i,handleSizeSM:l}=e,c=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:`${n}px`,[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${l+2*r}px - ${2*i}px)`,marginInlineEnd:`calc(100% - ${l+2*r}px + ${2*i}px)`},[`${c}-unchecked`]:{marginTop:-n,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:l,height:l},[`${t}-loading-icon`]:{top:(l-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${l+2*r}px + ${2*i}px)`,marginInlineEnd:`calc(-100% + ${l+2*r}px - ${2*i}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${l+r}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},L=e=>{const{componentCls:t,handleSize:n}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(n-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},_=e=>{const{componentCls:t,motion:n,trackPadding:r,handleBg:o,handleShadow:a,handleSize:i}=e,l=`${t}-handle`;return{[t]:{[l]:{position:"absolute",top:r,insetInlineStart:r,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:o,borderRadius:i/2,boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${l}`]:{insetInlineStart:`calc(100% - ${i+r}px)`},[`&:not(${t}-disabled):active`]:n?{[`${l}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${l}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}:{}}}},z=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:a,handleSize:i}=e,l=`${t}-inner`;return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:a,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${i+2*r}px - ${2*a}px)`,marginInlineEnd:`calc(100% - ${i+2*r}px + ${2*a}px)`},[`${l}-unchecked`]:{marginTop:-n,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${i+2*r}px + ${2*a}px)`,marginInlineEnd:`calc(-100% + ${i+2*r}px - ${2*a}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:2*r,marginInlineEnd:2*-r}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:2*-r,marginInlineEnd:2*r}}}}}},R=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,j.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:`${n}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),(0,j.Qy)(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}};var H=(0,D.Z)("Switch",(e=>{const t=(0,T.TS)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:.75*e.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[R(t),z(t),_(t),L(t),Z(t)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,a=t*n,i=r/2,l=a-4,c=i-4;return{trackHeight:a,trackHeightSM:i,trackMinWidth:2*l+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:o,handleSize:l,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new P.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}})),A=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 B=f.forwardRef(((e,t)=>{const{prefixCls:n,size:o,disabled:i,loading:l,className:c,rootClassName:s,style:d}=e,u=A(e,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:p,direction:h,switch:m}=f.useContext(N.E_),g=f.useContext(I.Z),v=(null!=i?i:g)||l,b=p("switch",n),y=f.createElement("div",{className:`${b}-handle`},l&&f.createElement(r.Z,{className:`${b}-loading-icon`})),[S,x]=H(b),E=(0,M.Z)(o),C=a()(null==m?void 0:m.className,{[`${b}-small`]:"small"===E,[`${b}-loading`]:l,[`${b}-rtl`]:"rtl"===h},c,s,x),w=Object.assign(Object.assign({},null==m?void 0:m.style),d);return S(f.createElement(k.Z,{component:"Switch"},f.createElement($,Object.assign({},u,{prefixCls:b,className:C,style:w,disabled:v,ref:t,loadingIcon:y}))))}));B.__ANT_SWITCH=!0;var W=B},5584:function(e,t,n){"use strict";var r=n(64836).default;t.Z=void 0;var o=r(n(53457)),a=r(n(15704));const i={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},o.default),timePickerLocale:Object.assign({},a.default)};i.lang.ok="确定";var l=i;t.Z=l},15704:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};t.default=n},53457:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"};t.default=n},20640:function(e,t,n){"use strict";var r=n(11742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,i,l,c,s,d=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),l=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.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(s),l.selectNodeContents(s),c.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{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),s&&document.body.removeChild(s),i()}return d}},86128:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(87462),o=n(4942),a=n(45987),i=n(1413),l=n(15671),c=n(43144),s=n(97326),d=n(60136),u=n(51630),p=n(67294),f=n(94184),h=n.n(f),m=n(64217),g=n(27822),v=function(e){for(var t=e.prefixCls,n=e.level,r=e.isStart,a=e.isEnd,i="".concat(t,"-indent-unit"),l=[],c=0;c<n;c+=1){var s;l.push(p.createElement("span",{key:c,className:h()(i,(s={},(0,o.Z)(s,"".concat(i,"-start"),r[c]),(0,o.Z)(s,"".concat(i,"-end"),a[c]),s))}))}return p.createElement("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},l)},b=p.memo(v),y=n(1089),S=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],x="open",E="close",C=function(e){(0,d.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;(0,l.Z)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(e=t.call.apply(t,[this].concat(o))).state={dragNodeHighlight:!1},e.selectHandle=void 0,e.onSelectorClick=function(t){(0,e.props.context.onNodeClick)(t,(0,y.F)(e.props)),e.isSelectable()?e.onSelect(t):e.onCheck(t)},e.onSelectorDoubleClick=function(t){(0,e.props.context.onNodeDoubleClick)(t,(0,y.F)(e.props))},e.onSelect=function(t){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;t.preventDefault(),n(t,(0,y.F)(e.props))}},e.onCheck=function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,o=n.checked,a=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){t.preventDefault();var i=!o;a(t,(0,y.F)(e.props),i)}}},e.onMouseEnter=function(t){(0,e.props.context.onNodeMouseEnter)(t,(0,y.F)(e.props))},e.onMouseLeave=function(t){(0,e.props.context.onNodeMouseLeave)(t,(0,y.F)(e.props))},e.onContextMenu=function(t){(0,e.props.context.onNodeContextMenu)(t,(0,y.F)(e.props))},e.onDragStart=function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,(0,s.Z)(e));try{t.dataTransfer.setData("text/plain","")}catch(e){}},e.onDragEnter=function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,(0,s.Z)(e))},e.onDragOver=function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,(0,s.Z)(e))},e.onDragLeave=function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,(0,s.Z)(e))},e.onDragEnd=function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,(0,s.Z)(e))},e.onDrop=function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,(0,s.Z)(e))},e.onExpand=function(t){var n=e.props,r=n.loading,o=n.context.onNodeExpand;r||o(t,(0,y.F)(e.props))},e.setSelectHandle=function(t){e.selectHandle=t},e.getNodeState=function(){var t=e.props.expanded;return e.isLeaf()?null:t?x:E},e.hasChildren=function(){var t=e.props.eventKey;return!!((e.props.context.keyEntities[t]||{}).children||[]).length},e.isLeaf=function(){var t=e.props,n=t.isLeaf,r=t.loaded,o=e.props.context.loadData,a=e.hasChildren();return!1!==n&&(n||!o&&!a||o&&r&&!a)},e.isDisabled=function(){var t=e.props.disabled;return!(!e.props.context.disabled&&!t)},e.isCheckable=function(){var t=e.props.checkable,n=e.props.context.checkable;return!(!n||!1===t)&&n},e.syncLoadData=function(t){var n=t.expanded,r=t.loading,o=t.loaded,a=e.props.context,i=a.loadData,l=a.onNodeLoad;r||i&&n&&!e.isLeaf()&&(e.hasChildren()||o||l((0,y.F)(e.props)))},e.isDraggable=function(){var t=e.props,n=t.data,r=t.context.draggable;return!(!r||r.nodeDraggable&&!r.nodeDraggable(n))},e.renderDragHandler=function(){var t=e.props.context,n=t.draggable,r=t.prefixCls;return(null==n?void 0:n.icon)?p.createElement("span",{className:"".concat(r,"-draggable-icon")},n.icon):null},e.renderSwitcherIconDom=function(t){var n=e.props.switcherIcon,r=e.props.context.switcherIcon,o=n||r;return"function"==typeof o?o((0,i.Z)((0,i.Z)({},e.props),{},{isLeaf:t})):o},e.renderSwitcher=function(){var t=e.props.expanded,n=e.props.context.prefixCls;if(e.isLeaf()){var r=e.renderSwitcherIconDom(!0);return!1!==r?p.createElement("span",{className:h()("".concat(n,"-switcher"),"".concat(n,"-switcher-noop"))},r):null}var o=h()("".concat(n,"-switcher"),"".concat(n,"-switcher_").concat(t?x:E)),a=e.renderSwitcherIconDom(!1);return!1!==a?p.createElement("span",{onClick:e.onExpand,className:o},a):null},e.renderCheckbox=function(){var t=e.props,n=t.checked,r=t.halfChecked,o=t.disableCheckbox,a=e.props.context.prefixCls,i=e.isDisabled(),l=e.isCheckable();if(!l)return null;var c="boolean"!=typeof l?l:null;return p.createElement("span",{className:h()("".concat(a,"-checkbox"),n&&"".concat(a,"-checkbox-checked"),!n&&r&&"".concat(a,"-checkbox-indeterminate"),(i||o)&&"".concat(a,"-checkbox-disabled")),onClick:e.onCheck},c)},e.renderIcon=function(){var t=e.props.loading,n=e.props.context.prefixCls;return p.createElement("span",{className:h()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),t&&"".concat(n,"-icon_loading"))})},e.renderSelector=function(){var t,n,r=e.state.dragNodeHighlight,o=e.props,a=o.title,i=void 0===a?"---":a,l=o.selected,c=o.icon,s=o.loading,d=o.data,u=e.props.context,f=u.prefixCls,m=u.showIcon,g=u.icon,v=u.loadData,b=u.titleRender,y=e.isDisabled(),S="".concat(f,"-node-content-wrapper");if(m){var x=c||g;t=x?p.createElement("span",{className:h()("".concat(f,"-iconEle"),"".concat(f,"-icon__customize"))},"function"==typeof x?x(e.props):x):e.renderIcon()}else v&&s&&(t=e.renderIcon());n="function"==typeof i?i(d):b?b(d):i;var E=p.createElement("span",{className:"".concat(f,"-title")},n);return p.createElement("span",{ref:e.setSelectHandle,title:"string"==typeof i?i:"",className:h()("".concat(S),"".concat(S,"-").concat(e.getNodeState()||"normal"),!y&&(l||r)&&"".concat(f,"-node-selected")),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick},t,E,e.renderDropIndicator())},e.renderDropIndicator=function(){var t=e.props,n=t.disabled,r=t.eventKey,o=e.props.context,a=o.draggable,i=o.dropLevelOffset,l=o.dropPosition,c=o.prefixCls,s=o.indent,d=o.dropIndicatorRender,u=o.dragOverNodeKey,p=o.direction;return!n&&!!a&&u===r?d({dropPosition:l,dropLevelOffset:i,indent:s,prefixCls:c,direction:p}):null},e}return(0,c.Z)(n,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return"boolean"==typeof e?e:t}},{key:"render",value:function(){var e,t=this.props,n=t.eventKey,i=t.className,l=t.style,c=t.dragOver,s=t.dragOverGapTop,d=t.dragOverGapBottom,u=t.isLeaf,f=t.isStart,g=t.isEnd,v=t.expanded,x=t.selected,E=t.checked,C=t.halfChecked,w=t.loading,O=t.domRef,$=t.active,k=(t.data,t.onMouseMove),N=t.selectable,I=(0,a.Z)(t,S),M=this.props.context,P=M.prefixCls,j=M.filterTreeNode,D=M.keyEntities,T=M.dropContainerKey,Z=M.dropTargetKey,L=M.draggingNodeKey,_=this.isDisabled(),z=(0,m.Z)(I,{aria:!0,data:!0}),R=(D[n]||{}).level,H=g[g.length-1],A=this.isDraggable(),B=!_&&A,W=L===n,F=void 0!==N?{"aria-selected":!!N}:void 0;return p.createElement("div",(0,r.Z)({ref:O,className:h()(i,"".concat(P,"-treenode"),(e={},(0,o.Z)(e,"".concat(P,"-treenode-disabled"),_),(0,o.Z)(e,"".concat(P,"-treenode-switcher-").concat(v?"open":"close"),!u),(0,o.Z)(e,"".concat(P,"-treenode-checkbox-checked"),E),(0,o.Z)(e,"".concat(P,"-treenode-checkbox-indeterminate"),C),(0,o.Z)(e,"".concat(P,"-treenode-selected"),x),(0,o.Z)(e,"".concat(P,"-treenode-loading"),w),(0,o.Z)(e,"".concat(P,"-treenode-active"),$),(0,o.Z)(e,"".concat(P,"-treenode-leaf-last"),H),(0,o.Z)(e,"".concat(P,"-treenode-draggable"),A),(0,o.Z)(e,"dragging",W),(0,o.Z)(e,"drop-target",Z===n),(0,o.Z)(e,"drop-container",T===n),(0,o.Z)(e,"drag-over",!_&&c),(0,o.Z)(e,"drag-over-gap-top",!_&&s),(0,o.Z)(e,"drag-over-gap-bottom",!_&&d),(0,o.Z)(e,"filter-node",j&&j((0,y.F)(this.props))),e)),style:l,draggable:B,"aria-grabbed":W,onDragStart:B?this.onDragStart:void 0,onDragEnter:A?this.onDragEnter:void 0,onDragOver:A?this.onDragOver:void 0,onDragLeave:A?this.onDragLeave:void 0,onDrop:A?this.onDrop:void 0,onDragEnd:A?this.onDragEnd:void 0,onMouseMove:k},F,z),p.createElement(b,{prefixCls:P,level:R,isStart:f,isEnd:g}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),n}(p.Component),w=function(e){return p.createElement(g.k.Consumer,null,(function(t){return p.createElement(C,(0,r.Z)({},e,{context:t}))}))};w.displayName="TreeNode",w.isTreeNode=1;var O=w},27822:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var r=n(67294).createContext(null)},10225:function(e,t,n){"use strict";n.d(t,{BT:function(){return h},Ds:function(){return d},E6:function(){return m},L0:function(){return l},OM:function(){return f},_5:function(){return i},bt:function(){return s},r7:function(){return g},wA:function(){return u},yx:function(){return c}});var r=n(74902),o=n(71002),a=(n(67294),n(80334));n(86128);function i(e,t){if(!e)return[];var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function l(e,t){var n=(e||[]).slice();return-1===n.indexOf(t)&&n.push(t),n}function c(e){return e.split("-")}function s(e,t){return"".concat(e,"-").concat(t)}function d(e){return e&&e.type&&e.type.isTreeNode}function u(e,t){var n=[];return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach((function(t){var r=t.key,o=t.children;n.push(r),e(o)}))}(t[e].children),n}function p(e){if(e.parent){var t=c(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function f(e,t,n,r,o,a,i,l,s,d){var u,f=e.clientX,h=e.clientY,m=e.target.getBoundingClientRect(),g=m.top,v=m.height,b=(("rtl"===d?-1:1)*(((null==o?void 0:o.x)||0)-f)-12)/r,y=l[n.props.eventKey];if(h<g+v/2){var S=i.findIndex((function(e){return e.key===y.key})),x=i[S<=0?0:S-1].key;y=l[x]}var E=y.key,C=y,w=y.key,O=0,$=0;if(!s.includes(E))for(var k=0;k<b&&p(y);k+=1)y=y.parent,$+=1;var N,I=t.props.data,M=y.node,P=!0;return N=c(y.pos),0===Number(N[N.length-1])&&0===y.level&&h<g+v/2&&a({dragNode:I,dropNode:M,dropPosition:-1})&&y.key===n.props.eventKey?O=-1:(C.children||[]).length&&s.includes(w)?a({dragNode:I,dropNode:M,dropPosition:0})?O=0:P=!1:0===$?b>-1.5?a({dragNode:I,dropNode:M,dropPosition:1})?O=1:P=!1:a({dragNode:I,dropNode:M,dropPosition:0})?O=0:a({dragNode:I,dropNode:M,dropPosition:1})?O=1:P=!1:a({dragNode:I,dropNode:M,dropPosition:1})?O=1:P=!1,{dropPosition:O,dropLevelOffset:$,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:w,dropContainerKey:0===O?null:(null===(u=y.parent)||void 0===u?void 0:u.key)||null,dropAllowed:P}}function h(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function m(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,o.Z)(e))return(0,a.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function g(e,t){var n=new Set;function o(e){if(!n.has(e)){var r=t[e];if(r){n.add(e);var a=r.parent;r.node.disabled||a&&o(a.key)}}}return(e||[]).forEach((function(e){o(e)})),(0,r.Z)(n)}},17341:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(80334);function o(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function a(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,o=t.checkable;return!(!n&&!r)||!1===o}function i(e,t,n,i){var l,c=[];l=i||a;var s,d=new Set(e.filter((function(e){var t=!!n[e];return t||c.push(e),t}))),u=new Map,p=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,o=u.get(r);o||(o=new Set,u.set(r,o)),o.add(t),p=Math.max(p,r)})),(0,r.ZP)(!c.length,"Tree missing follow keys: ".concat(c.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),s=!0===t?function(e,t,n,r){for(var a=new Set(e),i=new Set,l=0;l<=n;l+=1)(t.get(l)||new Set).forEach((function(e){var t=e.key,n=e.node,o=e.children,i=void 0===o?[]:o;a.has(t)&&!r(n)&&i.filter((function(e){return!r(e.node)})).forEach((function(e){a.add(e.key)}))}));for(var c=new Set,s=n;s>=0;s-=1)(t.get(s)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!r(n)&&e.parent&&!c.has(e.parent.key))if(r(e.parent.node))c.add(t.key);else{var o=!0,l=!1;(t.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var t=e.key,n=a.has(t);o&&!n&&(o=!1),l||!n&&!i.has(t)||(l=!0)})),o&&a.add(t.key),l&&i.add(t.key),c.add(t.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(o(i,a))}}(d,u,p,l):function(e,t,n,r,a){for(var i=new Set(e),l=new Set(t),c=0;c<=r;c+=1)(n.get(c)||new Set).forEach((function(e){var t=e.key,n=e.node,r=e.children,o=void 0===r?[]:r;i.has(t)||l.has(t)||a(n)||o.filter((function(e){return!a(e.node)})).forEach((function(e){i.delete(e.key)}))}));l=new Set;for(var s=new Set,d=r;d>=0;d-=1)(n.get(d)||new Set).forEach((function(e){var t=e.parent,n=e.node;if(!a(n)&&e.parent&&!s.has(e.parent.key))if(a(e.parent.node))s.add(t.key);else{var r=!0,o=!1;(t.children||[]).filter((function(e){return!a(e.node)})).forEach((function(e){var t=e.key,n=i.has(t);r&&!n&&(r=!1),o||!n&&!l.has(t)||(o=!0)})),r||i.delete(t.key),o&&l.add(t.key),s.add(t.key)}}));return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(o(l,i))}}(d,t.halfCheckedKeys,u,p,l),s}},1089:function(e,t,n){"use strict";n.d(t,{F:function(){return y},H8:function(){return b},I8:function(){return v},km:function(){return p},oH:function(){return m},w$:function(){return f},zn:function(){return h}});var r=n(71002),o=n(74902),a=n(1413),i=n(45987),l=n(98423),c=n(50344),s=n(80334),d=n(10225),u=["children"];function p(e,t){return null!=e?e:t}function f(e){var t=e||{},n=t.title||"title";return{title:n,_title:t._title||[n],key:t.key||"key",children:t.children||"children"}}function h(e){return function e(t){return(0,c.Z)(t).map((function(t){if(!(0,d.Ds)(t))return(0,s.ZP)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,r=t.props,o=r.children,l=(0,i.Z)(r,u),c=(0,a.Z)({key:n},l),p=e(o);return p.length&&(c.children=p),c})).filter((function(e){return e}))}(e)}function m(e,t,n){var r=f(n),i=r._title,c=r.key,s=r.children,u=new Set(!0===t?[]:t),h=[];return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map((function(f,m){for(var g,v=(0,d.bt)(r?r.pos:"0",m),b=p(f[c],v),y=0;y<i.length;y+=1){var S=i[y];if(void 0!==f[S]){g=f[S];break}}var x=(0,a.Z)((0,a.Z)({},(0,l.Z)(f,[].concat((0,o.Z)(i),[c,s]))),{},{title:g,key:b,parent:r,pos:v,children:null,data:f,isStart:[].concat((0,o.Z)(r?r.isStart:[]),[0===m]),isEnd:[].concat((0,o.Z)(r?r.isEnd:[]),[m===n.length-1])});return h.push(x),!0===t||u.has(b)?x.children=e(f[s]||[],x):x.children=[],x}))}(e),h}function g(e,t,n){var a,i=("object"===(0,r.Z)(n)?n:{externalGetKey:n})||{},l=i.childrenPropName,c=i.externalGetKey,s=f(i.fieldNames),u=s.key,h=s.children,m=l||h;c?"string"==typeof c?a=function(e){return e[c]}:"function"==typeof c&&(a=function(e){return c(e)}):a=function(e,t){return p(e[u],t)},function n(r,i,l,c){var s=r?r[m]:e,u=r?(0,d.bt)(l.pos,i):"0",p=r?[].concat((0,o.Z)(c),[r]):[];if(r){var f=a(r,u),h={node:r,index:i,pos:u,key:f,parentPos:l.node?l.pos:null,level:l.level+1,nodes:p};t(h)}s&&s.forEach((function(e,t){n(e,t,{node:r,pos:u,level:l?l.level+1:-1},p)}))}(null)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,o=t.onProcessFinished,a=t.externalGetKey,i=t.childrenPropName,l=t.fieldNames,c=arguments.length>2?arguments[2]:void 0,s=a||c,d={},u={},f={posEntities:d,keyEntities:u};return n&&(f=n(f)||f),g(e,(function(e){var t=e.node,n=e.index,o=e.pos,a=e.key,i=e.parentPos,l=e.level,c={node:t,nodes:e.nodes,index:n,key:a,pos:o,level:l},s=p(a,o);d[o]=c,u[s]=c,c.parent=d[i],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,f)}),{externalGetKey:s,childrenPropName:i,fieldNames:l}),o&&o(f),f}function b(e,t){var n=t.expandedKeys,r=t.selectedKeys,o=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,l=t.halfCheckedKeys,c=t.dragOverNodeKey,s=t.dropPosition,d=t.keyEntities[e];return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==i.indexOf(e),halfChecked:-1!==l.indexOf(e),pos:String(d?d.pos:""),dragOver:c===e&&0===s,dragOverGapTop:c===e&&-1===s,dragOverGapBottom:c===e&&1===s}}function y(e){var t=e.data,n=e.expanded,r=e.selected,o=e.checked,i=e.loaded,l=e.loading,c=e.halfChecked,d=e.dragOver,u=e.dragOverGapTop,p=e.dragOverGapBottom,f=e.pos,h=e.active,m=e.eventKey,g=(0,a.Z)((0,a.Z)({},t),{},{expanded:n,selected:r,checked:o,loaded:i,loading:l,halfChecked:c,dragOver:d,dragOverGapTop:u,dragOverGapBottom:p,pos:f,active:h,key:m});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,s.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}},74300:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=a(n(67294)),o=a(n(20640));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 c(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 s(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 m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){function t(){var e,n;s(this,t);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return m(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,c=t.options,s=r.default.Children.only(l),d=(0,o.default)(a,c);i&&i(a,d),s&&s.props&&"function"==typeof s.props.onClick&&s.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=c(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){m(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=g,m(g,"defaultProps",{onCopy:void 0,options:void 0})},74855:function(e,t,n){"use strict";var r=n(74300).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},57761: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(67294),a=l(o),i=l(n(45697));function l(e){return e&&e.__esModule?e:{default:e}}var c=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,c=(t.loadMore,t.pageStart,t.ref),s=(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"]));s.ref=function(t){e.scrollComponent=t,c&&c(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,s,d)}}]),t}(o.Component);c.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},c.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=c,e.exports=t.default},246:function(e,t,n){e.exports=n(57761)},11742: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()}}},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}}]); |