aldehyde 0.2.154 → 0.2.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.01a0b7dbabd823a67a31.js +2 -0
- package/dist/bundle.01a0b7dbabd823a67a31.js.LICENSE.txt +30 -0
- package/dist/bundle.01a0b7dbabd823a67a31.js.gz +0 -0
- package/dist/bundle.021f784b1c84781461d2.js +1 -0
- package/dist/bundle.03c542ca824e205fe307.js +2 -0
- package/dist/bundle.03c542ca824e205fe307.js.LICENSE.txt +27 -0
- package/dist/bundle.03c542ca824e205fe307.js.gz +0 -0
- package/dist/bundle.15cb660c34802f6cccf5.js +1 -0
- package/dist/bundle.15cb660c34802f6cccf5.js.gz +0 -0
- package/dist/bundle.1efe3c525f7cb5289934.js +1 -0
- package/dist/bundle.1efe3c525f7cb5289934.js.gz +0 -0
- package/dist/bundle.23c961ccfebfb418bb3f.js +1 -0
- package/dist/bundle.23c961ccfebfb418bb3f.js.gz +0 -0
- package/dist/bundle.2465eaaa7b912bcdfa45.js +2 -0
- package/dist/bundle.2465eaaa7b912bcdfa45.js.LICENSE.txt +32 -0
- package/dist/bundle.2465eaaa7b912bcdfa45.js.gz +0 -0
- package/dist/bundle.320c02187dd135005102.js +2 -0
- package/dist/bundle.320c02187dd135005102.js.LICENSE.txt +6 -0
- package/dist/bundle.320c02187dd135005102.js.gz +0 -0
- package/dist/bundle.35a4af7e2d0da1942d79.js +10 -0
- package/dist/bundle.35a4af7e2d0da1942d79.js.gz +0 -0
- package/dist/bundle.3b2c7bdbe61a4cf963e4.js +1 -0
- package/dist/bundle.3b2c7bdbe61a4cf963e4.js.gz +0 -0
- package/dist/bundle.3f9072b1629cdb384b46.js +2 -0
- package/dist/bundle.3f9072b1629cdb384b46.js.LICENSE.txt +5 -0
- package/dist/bundle.3f9072b1629cdb384b46.js.gz +0 -0
- package/dist/bundle.46e2295b5360a725bcd5.js +1 -0
- package/dist/bundle.46e2295b5360a725bcd5.js.gz +0 -0
- package/dist/bundle.492530b9d526ae515db6.js +2 -0
- package/dist/bundle.492530b9d526ae515db6.js.LICENSE.txt +7 -0
- package/dist/bundle.492530b9d526ae515db6.js.gz +0 -0
- package/dist/bundle.4c3c988531c3cf360b87.js +1 -0
- package/dist/bundle.4c3c988531c3cf360b87.js.gz +0 -0
- package/dist/bundle.4da1a8a32161584fc0af.js +1 -0
- package/dist/bundle.5a9afb9ee6cceca506fa.js +5 -0
- package/dist/bundle.5a9afb9ee6cceca506fa.js.LICENSE.txt +10 -0
- package/dist/bundle.5a9afb9ee6cceca506fa.js.gz +0 -0
- package/dist/bundle.5e6cccd06b34a0e3a2ff.js +1 -0
- package/dist/bundle.5e6cccd06b34a0e3a2ff.js.gz +0 -0
- package/dist/bundle.61cf0615267bbaa0da3d.js +2 -0
- package/dist/bundle.61cf0615267bbaa0da3d.js.LICENSE.txt +16 -0
- package/dist/bundle.61cf0615267bbaa0da3d.js.gz +0 -0
- package/dist/bundle.66521244df6a9af1f8d7.js +1 -0
- package/dist/bundle.66521244df6a9af1f8d7.js.gz +0 -0
- package/dist/bundle.6fd2dadd29083268c5a6.js +2 -0
- package/dist/bundle.6fd2dadd29083268c5a6.js.LICENSE.txt +17 -0
- package/dist/bundle.6fd2dadd29083268c5a6.js.gz +0 -0
- package/dist/bundle.7fd0f10501de7fdda584.js +1 -0
- package/dist/bundle.7fd0f10501de7fdda584.js.gz +0 -0
- package/dist/bundle.8241d8d05e35988dd480.js +1 -0
- package/dist/bundle.8241d8d05e35988dd480.js.gz +0 -0
- package/dist/bundle.840e28984e710e12f467.js +75 -0
- package/dist/bundle.840e28984e710e12f467.js.LICENSE.txt +8 -0
- package/dist/bundle.840e28984e710e12f467.js.gz +0 -0
- package/dist/bundle.a049dc8814bbbf59160f.js +1 -0
- package/dist/bundle.a049dc8814bbbf59160f.js.gz +0 -0
- package/dist/bundle.a40e498a0d3d2ac8fb3c.js +1 -0
- package/dist/bundle.a40e498a0d3d2ac8fb3c.js.gz +0 -0
- package/dist/bundle.b7b86a025aa95dea0e19.js +2 -0
- package/dist/bundle.b7b86a025aa95dea0e19.js.LICENSE.txt +8 -0
- package/dist/bundle.b7b86a025aa95dea0e19.js.gz +0 -0
- package/dist/bundle.b7e3eb480b649b3de67b.js +2 -0
- package/dist/bundle.b7e3eb480b649b3de67b.js.LICENSE.txt +5 -0
- package/dist/bundle.b7e3eb480b649b3de67b.js.gz +0 -0
- package/dist/bundle.c1c6028fd703ebf78c2e.js +2 -0
- package/dist/bundle.c1c6028fd703ebf78c2e.js.LICENSE.txt +5 -0
- package/dist/bundle.c1c6028fd703ebf78c2e.js.gz +0 -0
- package/dist/bundle.cd10ae07e0e0c36d0dee.js +2 -0
- package/dist/bundle.cd10ae07e0e0c36d0dee.js.LICENSE.txt +22 -0
- package/dist/bundle.cd10ae07e0e0c36d0dee.js.gz +0 -0
- package/dist/bundle.cf6a1933769c2aee4e6e.js +1 -0
- package/dist/bundle.cf6a1933769c2aee4e6e.js.gz +0 -0
- package/dist/bundle.e760a70171cf0ae4567b.js +1 -0
- package/dist/bundle.e760a70171cf0ae4567b.js.gz +0 -0
- package/dist/bundle.f2b373e87dc8616576e5.js +2 -0
- package/dist/bundle.f2b373e87dc8616576e5.js.LICENSE.txt +1 -0
- package/dist/bundle.f2b373e87dc8616576e5.js.gz +0 -0
- package/dist/bundle.f6e1c4fda58154810fe2.js +2 -0
- package/dist/bundle.f6e1c4fda58154810fe2.js.LICENSE.txt +41 -0
- package/dist/bundle.f6e1c4fda58154810fe2.js.gz +0 -0
- package/dist/bundle.fa1e5bf8d58b99ef68e5.js +2 -0
- package/dist/bundle.fa1e5bf8d58b99ef68e5.js.LICENSE.txt +1 -0
- package/dist/bundle.fa1e5bf8d58b99ef68e5.js.gz +0 -0
- package/dist/bundle.fe9c09b8ace9c3117b0a.js +1 -0
- package/dist/bundle.fe9c09b8ace9c3117b0a.js.gz +0 -0
- package/dist/bundle.feaa17bec2057a4ee54f.js +1 -0
- package/dist/bundle.feaa17bec2057a4ee54f.js.gz +0 -0
- package/dist/css/chemstruc-graph-6437e59640f8b99b774f.css +12 -0
- package/dist/css/chemstruc-graph-6437e59640f8b99b774f.css.gz +0 -0
- package/dist/css/common-901df6b21f13391f2a53.css +56 -0
- package/dist/css/html-editor-draft-5e8e152675ab7d201c00.css +886 -0
- package/dist/css/html-editor-draft-5e8e152675ab7d201c00.css.gz +0 -0
- package/dist/css/main-d450a9a253ac65933d37.css +1071 -0
- package/dist/css/main-d450a9a253ac65933d37.css.gz +0 -0
- package/dist/images/logo-54b328b7.png +0 -0
- package/dist/index.html +4 -0
- package/lib/controls/entry-control.d.ts.map +1 -1
- package/lib/controls/entry-control.js +7 -42
- package/lib/controls/entry-control.js.map +1 -1
- package/lib/controls/rfield/index.d.ts.map +1 -1
- package/lib/controls/rfield/index.js.map +1 -1
- package/lib/controls/select/index.d.ts +30 -0
- package/lib/controls/select/index.d.ts.map +1 -0
- package/lib/controls/select/index.js +145 -0
- package/lib/controls/select/index.js.map +1 -0
- package/lib/form/criteria-form.d.ts.map +1 -1
- package/lib/form/criteria-form.js +6 -3
- package/lib/form/criteria-form.js.map +1 -1
- package/lib/tmpl/hc-data-source.d.ts +1 -0
- package/lib/tmpl/hc-data-source.d.ts.map +1 -1
- package/lib/tmpl/hc-data-source.js +28 -3
- package/lib/tmpl/hc-data-source.js.map +1 -1
- package/lib/tmpl/hcservice-v3.js +7 -7
- package/lib/tmpl/hcservice-v3.js.map +1 -1
- package/lib/tmpl/interface.d.ts +2 -1
- package/lib/tmpl/interface.d.ts.map +1 -1
- package/lib/tmpl/superagent.d.ts.map +1 -1
- package/lib/tmpl/superagent.js +21 -9
- package/lib/tmpl/superagent.js.map +1 -1
- package/lib/units/index.d.ts.map +1 -1
- package/lib/units/index.js +5 -3
- package/lib/units/index.js.map +1 -1
- package/package.json +1 -1
- package/src/aldehyde/controls/entry-control.tsx +10 -91
- package/src/aldehyde/controls/rfield/index.tsx +1 -0
- package/src/aldehyde/controls/select/index.tsx +215 -0
- package/src/aldehyde/form/criteria-form.tsx +7 -2
- package/src/aldehyde/tmpl/hc-data-source.tsx +357 -349
- package/src/aldehyde/tmpl/hcservice-v3.tsx +7 -7
- package/src/aldehyde/tmpl/interface.tsx +3 -2
- package/src/aldehyde/tmpl/superagent.js +18 -10
- package/src/aldehyde/units/index.tsx +5 -4
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkaldehyde=self.webpackChunkaldehyde||[]).push([[698],{15039:function(e,t,n){n.d(t,{A:function(){return k}});var o=n(96540),r=n(93567),l=n(46942),i=n.n(l),a=n(81102),c=n(12533),s=n(57),d=n(62279),u=n(98119),p=n(829),g=n(60138),m=n(24978),f=n(25905),b=n(20106),h=n(80336);const $=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:o,trackMinWidthSM:r,innerMinMarginSM:l,innerMaxMarginSM:i,handleSizeSM:a,calc:c}=e,s=`${t}-inner`,d=(0,g.zA)(c(a).add(c(o).mul(2)).equal()),u=(0,g.zA)(c(i).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:r,height:n,lineHeight:(0,g.zA)(n),[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:l,[`${s}-checked, ${s}-unchecked`]:{minHeight:n},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${u})`,marginInlineEnd:`calc(100% - ${d} + ${u})`},[`${s}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:a,height:a},[`${t}-loading-icon`]:{top:c(c(a).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:l,paddingInlineEnd:i,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${u})`,marginInlineEnd:`calc(-100% + ${d} - ${u})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${(0,g.zA)(c(a).add(o).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},v=e=>{const{componentCls:t,handleSize:n,calc:o}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:o(o(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},y=e=>{const{componentCls:t,trackPadding:n,handleBg:o,handleShadow:r,handleSize:l,calc:i}=e,a=`${t}-handle`;return{[t]:{[a]:{position:"absolute",top:n,insetInlineStart:n,width:l,height:l,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:o,borderRadius:i(l).div(2).equal(),boxShadow:r,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${a}`]:{insetInlineStart:`calc(100% - ${(0,g.zA)(i(l).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${a}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${a}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},x=e=>{const{componentCls:t,trackHeight:n,trackPadding:o,innerMinMargin:r,innerMaxMargin:l,handleSize:i,calc:a}=e,c=`${t}-inner`,s=(0,g.zA)(a(i).add(a(o).mul(2)).equal()),d=(0,g.zA)(a(l).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:l,paddingInlineEnd:r,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-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",minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${d})`,marginInlineEnd:`calc(100% - ${s} + ${d})`},[`${c}-unchecked`]:{marginTop:a(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:r,paddingInlineEnd:l,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${d})`,marginInlineEnd:`calc(-100% + ${s} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:a(o).mul(2).equal(),marginInlineEnd:a(o).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:a(o).mul(-1).mul(2).equal(),marginInlineEnd:a(o).mul(2).equal()}}}}}},S=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:o}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.dF)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:o,height:n,lineHeight:`${(0,g.zA)(n)}`,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,f.K8)(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 w=(0,b.OF)("Switch",(e=>{const t=(0,h.h1)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[S(t),x(t),y(t),v(t),$(t)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:o,colorWhite:r}=e,l=t*n,i=o/2,a=l-4,c=i-4;return{trackHeight:l,trackHeightSM:i,trackMinWidth:2*a+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:r,handleSize:a,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new m.q("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:a/2,innerMaxMargin:a+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}}));const C=o.forwardRef(((e,t)=>{const{prefixCls:n,size:l,disabled:g,loading:m,className:f,rootClassName:b,style:h,checked:$,value:v,defaultChecked:y,defaultValue:x,onChange:S}=e,C=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[O,k]=(0,c.A)(!1,{value:null!=$?$:v,defaultValue:null!=y?y:x}),{getPrefixCls:A,direction:I,switch:E}=o.useContext(d.QO),z=o.useContext(u.A),j=(null!=g?g:z)||m,P=A("switch",n),T=o.createElement("div",{className:`${P}-handle`},m&&o.createElement(r.A,{className:`${P}-loading-icon`})),[B,M,H]=w(P),R=(0,p.A)(l),N=i()(null==E?void 0:E.className,{[`${P}-small`]:"small"===R,[`${P}-loading`]:m,[`${P}-rtl`]:"rtl"===I},f,b,M,H),D=Object.assign(Object.assign({},null==E?void 0:E.style),h);return B(o.createElement(s.A,{component:"Switch"},o.createElement(a.A,Object.assign({},C,{checked:O,onChange:function(){k(arguments.length<=0?void 0:arguments[0]),null==S||S.apply(void 0,arguments)},prefixCls:P,className:N,style:D,disabled:j,ref:t,loadingIcon:T}))))})),O=C;O.__ANT_SWITCH=!0;var k=O},42729:function(e,t,n){n.d(t,{A:function(){return rt}});var o=n(96540),r=n(18411),l=n(60436),i=n(14103),a=n(46942),c=n.n(a),s=n(84036),d=n(38820),u=n(7974),p=n(12533),g=n(27681),m=n(18877),f=n(91196),b=n(34267),h=n(50770);const $={},v="SELECT_ALL",y="SELECT_INVERT",x="SELECT_NONE",S=[],w=(e,t)=>{let n=[];return(t||[]).forEach((t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,l.A)(n),(0,l.A)(w(e,t[e]))))})),n};var C=n(86639),O=n(19853),k=n(87137),A=n(22130),I=n(62279),E=n(35128),z=n(20934),j=n(829),P=n(78551),T=n(8182),B=n(84769),M=n(76139),H=n(11320);function R(e,t){return"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function N(e,t){return t?`${t}-${e}`:`${e}`}function D(e,t){return"function"==typeof e?e(t):e}var L=n(33236),F=n(43210),_=n(89797),W=n(45038),X=n(17308),q=n(76945),K=n(96476),G=n(87937),V=n(42877),U=n(17355),Q=function(e){let{value:t,onChange:n,filterSearch:r,tablePrefixCls:l,locale:i}=e;return r?o.createElement("div",{className:`${l}-filter-dropdown-search`},o.createElement(U.A,{prefix:o.createElement(V.A,null),placeholder:i.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:`${l}-filter-dropdown-search-input`})):null},Y=n(16928);const Z=e=>{const{keyCode:t}=e;t===Y.A.ENTER&&e.stopPropagation()};var J=o.forwardRef(((e,t)=>o.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:Z,ref:t},e.children)));function ee(e){let t=[];return(e||[]).forEach((e=>{let{value:n,children:o}=e;t.push(n),o&&(t=[].concat((0,l.A)(t),(0,l.A)(ee(o))))})),t}function te(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function ne(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:l,searchValue:i,filterSearch:a}=e;return t.map(((e,t)=>{const c=String(e.value);if(e.children)return{key:c||t,label:e.text,popupClassName:`${n}-dropdown-submenu`,children:ne({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:l,searchValue:i,filterSearch:a})};const s=l?f.A:h.Ay,d={key:void 0!==e.value?c:t,label:o.createElement(o.Fragment,null,o.createElement(s,{checked:r.includes(c)}),o.createElement("span",null,e.text))};return i.trim()?"function"==typeof a?a(i,e)?d:null:te(i,e.text)?d:null:d}))}function oe(e){return e||[]}var re=function(e){var t,n;const{tablePrefixCls:r,prefixCls:l,column:i,dropdownPrefixCls:a,columnKey:s,filterOnClose:d,filterMultiple:u,filterMode:p="menu",filterSearch:g=!1,filterState:m,triggerFilter:h,locale:$,children:v,getPopupContainer:y,rootClassName:x}=e,{filterDropdownOpen:S,onFilterDropdownOpenChange:w,filterResetToDefaultFilteredValue:C,defaultFilteredValue:O,filterDropdownVisible:k,onFilterDropdownVisibleChange:A}=i,[E,z]=o.useState(!1),j=!(!m||!(null===(t=m.filteredKeys)||void 0===t?void 0:t.length)&&!m.forceFiltered),P=e=>{z(e),null==w||w(e),null==A||A(e)},T=null!==(n=null!=S?S:k)&&void 0!==n?n:E,B=null==m?void 0:m.filteredKeys,[M,H]=(0,_.A)(oe(B)),R=e=>{let{selectedKeys:t}=e;H(t)},N=(e,t)=>{let{node:n,checked:o}=t;R(u?{selectedKeys:e}:{selectedKeys:o&&n.key?[n.key]:[]})};o.useEffect((()=>{E&&R({selectedKeys:oe(B)})}),[B]);const[D,V]=o.useState([]),U=e=>{V(e)},[Y,Z]=o.useState(""),re=e=>{const{value:t}=e.target;Z(t)};o.useEffect((()=>{E||Z("")}),[E]);const le=e=>{const t=e&&e.length?e:null;return null!==t||m&&m.filteredKeys?(0,F.A)(t,null==m?void 0:m.filteredKeys,!0)?null:void h({column:i,key:s,filteredKeys:t}):null},ie=()=>{P(!1),le(M())},ae=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&le([]),t&&P(!1),Z(""),H(C?(O||[]).map((e=>String(e))):[])},ce=c()({[`${a}-menu-without-submenu`]:(se=i.filters||[],!se.some((e=>{let{children:t}=e;return t})))});var se;const de=e=>{if(e.target.checked){const e=ee(null==i?void 0:i.filters).map((e=>String(e)));H(e)}else H([])},ue=e=>{let{filters:t}=e;return(t||[]).map(((e,t)=>{const n=String(e.value),o={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(o.children=ue({filters:e.children})),o}))},pe=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null===(t=e.children)||void 0===t?void 0:t.map((e=>pe(e))))||[]})};let ge,me;if("function"==typeof i.filterDropdown)ge=i.filterDropdown({prefixCls:`${a}-custom`,setSelectedKeys:e=>R({selectedKeys:e}),selectedKeys:M(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&P(!1),le(M())},clearFilters:ae,filters:i.filters,visible:T,close:()=>{P(!1)}});else if(i.filterDropdown)ge=i.filterDropdown;else{const e=M()||[],t=()=>{const t=o.createElement(X.A,{image:X.A.PRESENTED_IMAGE_SIMPLE,description:$.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if(0===(i.filters||[]).length)return t;if("tree"===p)return o.createElement(o.Fragment,null,o.createElement(Q,{filterSearch:g,value:Y,onChange:re,tablePrefixCls:r,locale:$}),o.createElement("div",{className:`${r}-filter-dropdown-tree`},u?o.createElement(f.A,{checked:e.length===ee(i.filters).length,indeterminate:e.length>0&&e.length<ee(i.filters).length,className:`${r}-filter-dropdown-checkall`,onChange:de},$.filterCheckall):null,o.createElement(G.A,{checkable:!0,selectable:!1,blockNode:!0,multiple:u,checkStrictly:!u,className:`${a}-menu`,onCheck:N,checkedKeys:e,selectedKeys:e,showIcon:!1,treeData:ue({filters:i.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Y.trim()?e=>"function"==typeof g?g(Y,pe(e)):te(Y,e.title):void 0})));const n=ne({filters:i.filters||[],filterSearch:g,prefixCls:l,filteredKeys:M(),filterMultiple:u,searchValue:Y}),c=n.every((e=>null===e));return o.createElement(o.Fragment,null,o.createElement(Q,{filterSearch:g,value:Y,onChange:re,tablePrefixCls:r,locale:$}),c?t:o.createElement(q.A,{selectable:!0,multiple:u,prefixCls:`${a}-menu`,className:ce,onSelect:R,onDeselect:R,selectedKeys:e,getPopupContainer:y,openKeys:D,onOpenChange:U,items:n}))},n=()=>C?(0,F.A)((O||[]).map((e=>String(e))),e,!0):0===e.length;ge=o.createElement(o.Fragment,null,t(),o.createElement("div",{className:`${l}-dropdown-btns`},o.createElement(W.Ay,{type:"link",size:"small",disabled:n(),onClick:()=>ae()},$.filterReset),o.createElement(W.Ay,{type:"primary",size:"small",onClick:ie},$.filterConfirm)))}i.filterDropdown&&(ge=o.createElement(K.A,{selectable:void 0},ge)),me="function"==typeof i.filterIcon?i.filterIcon(j):i.filterIcon?i.filterIcon:o.createElement(L.A,null);const{direction:fe}=o.useContext(I.QO);return o.createElement("div",{className:`${l}-column`},o.createElement("span",{className:`${r}-column-title`},v),o.createElement(b.A,{dropdownRender:()=>o.createElement(J,{className:`${l}-dropdown`},ge),trigger:["click"],open:T,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==B&&H(oe(B)),P(e),e||i.filterDropdown||!d||ie())},getPopupContainer:y,placement:"rtl"===fe?"bottomLeft":"bottomRight",rootClassName:x},o.createElement("span",{role:"button",tabIndex:-1,className:c()(`${l}-trigger`,{active:j}),onClick:e=>{e.stopPropagation()}},me)))};function le(e,t,n){let o=[];return(e||[]).forEach(((e,r)=>{var i;const a=N(r,n);if(e.filters||"filterDropdown"in e||"onFilter"in e)if("filteredValue"in e){let t=e.filteredValue;"filterDropdown"in e||(t=null!==(i=null==t?void 0:t.map(String))&&void 0!==i?i:t),o.push({column:e,key:R(e,a),filteredKeys:t,forceFiltered:e.filtered})}else o.push({column:e,key:R(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(o=[].concat((0,l.A)(o),(0,l.A)(le(e.children,t,a))))})),o}function ie(e,t,n,r,l,i,a,c,s){return n.map(((n,d)=>{const u=N(d,c),{filterOnClose:p=!0,filterMultiple:g=!0,filterMode:m,filterSearch:f}=n;let b=n;if(b.filters||b.filterDropdown){const c=R(b,u),d=r.find((e=>{let{key:t}=e;return c===t}));b=Object.assign(Object.assign({},b),{title:r=>o.createElement(re,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:b,columnKey:c,filterState:d,filterOnClose:p,filterMultiple:g,filterMode:m,filterSearch:f,triggerFilter:i,locale:l,getPopupContainer:a,rootClassName:s},D(n.title,r))})}return"children"in b&&(b=Object.assign(Object.assign({},b),{children:ie(e,t,b.children,r,l,i,a,u,s)})),b}))}function ae(e){const t={};return e.forEach((e=>{let{key:n,filteredKeys:o,column:r}=e;const l=n,{filters:i,filterDropdown:a}=r;if(a)t[l]=o||null;else if(Array.isArray(o)){const e=ee(i);t[l]=e.filter((e=>o.includes(String(e))))}else t[l]=null})),t}function ce(e,t,n){return t.reduce(((e,o)=>{const{column:{onFilter:r,filters:l},filteredKeys:i}=o;return r&&i&&i.length?e.map((e=>Object.assign({},e))).filter((e=>i.some((o=>{const i=ee(l),a=i.findIndex((e=>String(e)===String(o))),c=-1!==a?i[a]:o;return e[n]&&(e[n]=ce(e[n],t,n)),r(c,e)})))):e}),e)}const se=e=>e.flatMap((e=>"children"in e?[e].concat((0,l.A)(se(e.children||[]))):[e]));var de=function(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:l,getPopupContainer:i,locale:a,rootClassName:c}=e;(0,m.rJ)("Table");const s=o.useMemo((()=>se(r||[])),[r]),[d,u]=o.useState((()=>le(s,!0))),p=o.useMemo((()=>{const e=le(s,!1);if(0===e.length)return e;let t=!0,n=!0;if(e.forEach((e=>{let{filteredKeys:o}=e;void 0!==o?t=!1:n=!1})),t){const e=(s||[]).map(((e,t)=>R(e,N(t))));return d.filter((t=>{let{key:n}=t;return e.includes(n)})).map((t=>{const n=s[e.findIndex((e=>e===t.key))];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})}))}return e}),[s,d]),g=o.useMemo((()=>ae(p)),[p]),f=e=>{const t=p.filter((t=>{let{key:n}=t;return n!==e.key}));t.push(e),u(t),l(ae(t),t)};return[e=>ie(t,n,e,p,a,f,i,void 0,c),p,g]},ue=n(51679);const pe=10;var ge=function(e,t,n){const r=n&&"object"==typeof n?n:{},{total:l=0}=r,i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(r,["total"]),[a,c]=(0,o.useState)((()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:pe}))),s=(0,ue.A)(a,i,{total:l>0?l:e}),d=Math.ceil((l||e)/s.pageSize);s.current>d&&(s.current=d||1);const u=(e,t)=>{c({current:null!=e?e:1,pageSize:t||s.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:(e,o)=>{var r;n&&(null===(r=n.onChange)||void 0===r||r.call(n,e,o)),u(e,o),t(e,o||(null==s?void 0:s.pageSize))}}),u]},me=n(44297),fe=n(55144),be=n(37977);const he="ascend",$e="descend";function ve(e){return"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function ye(e){return"function"==typeof e?e:!(!e||"object"!=typeof e||!e.compare)&&e.compare}function xe(e,t,n){let o=[];function r(e,t){o.push({column:e,key:R(e,t),multiplePriority:ve(e),sortOrder:e.sortOrder})}return(e||[]).forEach(((e,i)=>{const a=N(i,n);e.children?("sortOrder"in e&&r(e,a),o=[].concat((0,l.A)(o),(0,l.A)(xe(e.children,t,a)))):e.sorter&&("sortOrder"in e?r(e,a):t&&e.defaultSortOrder&&o.push({column:e,key:R(e,a),multiplePriority:ve(e),sortOrder:e.defaultSortOrder}))})),o}function Se(e,t,n,r,l,i,a,s){return(t||[]).map(((t,d)=>{const u=N(d,s);let p=t;if(p.sorter){const s=p.sortDirections||l,d=void 0===p.showSorterTooltip?a:p.showSorterTooltip,g=R(p,u),m=n.find((e=>{let{key:t}=e;return t===g})),f=m?m.sortOrder:null,b=function(e,t){return t?e[e.indexOf(t)+1]:e[0]}(s,f);let h;if(t.sortIcon)h=t.sortIcon({sortOrder:f});else{const t=s.includes(he)&&o.createElement(fe.A,{className:c()(`${e}-column-sorter-up`,{active:f===he})}),n=s.includes($e)&&o.createElement(me.A,{className:c()(`${e}-column-sorter-down`,{active:f===$e})});h=o.createElement("span",{className:c()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!(!t||!n)})},o.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,n))}const{cancelSort:$,triggerAsc:v,triggerDesc:y}=i||{};let x=$;b===$e?x=y:b===he&&(x=v);const S="object"==typeof d?Object.assign({title:x},d):{title:x};p=Object.assign(Object.assign({},p),{className:c()(p.className,{[`${e}-column-sort`]:f}),title:n=>{const r=`${e}-column-sorters`,l=o.createElement("span",{className:`${e}-column-title`},D(t.title,n)),i=o.createElement("div",{className:r},l,h);return d?"boolean"!=typeof d&&"sorter-icon"===(null==d?void 0:d.target)?o.createElement("div",{className:`${r} ${e}-column-sorters-tooltip-target-sorter`},l,o.createElement(be.A,Object.assign({},S),h)):o.createElement(be.A,Object.assign({},S),i):i},onHeaderCell:n=>{const o=t.onHeaderCell&&t.onHeaderCell(n)||{},l=o.onClick,i=o.onKeyDown;o.onClick=e=>{r({column:t,key:g,sortOrder:b,multiplePriority:ve(t)}),null==l||l(e)},o.onKeyDown=e=>{e.keyCode===Y.A.ENTER&&(r({column:t,key:g,sortOrder:b,multiplePriority:ve(t)}),null==i||i(e))};const a=function(e,t){const n=D(e,{});return"[object Object]"===Object.prototype.toString.call(n)?"":n}(t.title),s=null==a?void 0:a.toString();return f?o["aria-sort"]="ascend"===f?"ascending":"descending":o["aria-label"]=s||"",o.className=c()(o.className,`${e}-column-has-sorters`),o.tabIndex=0,t.ellipsis&&(o.title=(null!=a?a:"").toString()),o}})}return"children"in p&&(p=Object.assign(Object.assign({},p),{children:Se(e,p.children,n,r,l,i,a,u)})),p}))}const we=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},Ce=e=>{const t=e.filter((e=>{let{sortOrder:t}=e;return t})).map(we);if(0===t.length&&e.length){const t=e.length-1;return Object.assign(Object.assign({},we(e[t])),{column:void 0})}return t.length<=1?t[0]||{}:t};function Oe(e,t,n){const o=t.slice().sort(((e,t)=>t.multiplePriority-e.multiplePriority)),r=e.slice(),l=o.filter((e=>{let{column:{sorter:t},sortOrder:n}=e;return ye(t)&&n}));return l.length?r.sort(((e,t)=>{for(let n=0;n<l.length;n+=1){const o=l[n],{column:{sorter:r},sortOrder:i}=o,a=ye(r);if(a&&i){const n=a(e,t,i);if(0!==n)return i===he?n:-n}}return 0})).map((e=>{const o=e[n];return o?Object.assign(Object.assign({},e),{[n]:Oe(o,t,n)}):e})):r}function ke(e,t){return e.map((e=>{const n=Object.assign({},e);return n.title=D(e.title,t),"children"in n&&(n.children=ke(n.children,t)),n}))}function Ae(e){return[o.useCallback((t=>ke(t,e)),[e])]}var Ie=(0,r.T)(((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:o}=t;return n!==o})),Ee=(0,r.Y9)(((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:o}=t;return n!==o})),ze=n(60138),je=n(24978),Pe=n(25905),Te=n(20106),Be=n(80336),Me=e=>{const{componentCls:t,lineWidth:n,lineType:o,tableBorderColor:r,tableHeaderBg:l,tablePaddingVertical:i,tablePaddingHorizontal:a,calc:c}=e,s=`${(0,ze.zA)(n)} ${o} ${r}`,d=(e,o,r)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,ze.zA)(c(o).mul(-1).equal())}\n ${(0,ze.zA)(c(c(r).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:s,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:s,borderTop:s,[`\n > ${t}-content,\n > ${t}-header,\n > ${t}-body,\n > ${t}-summary\n `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:s},"> thead":{"> tr:not(:last-child) > th":{borderBottom:s},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:s}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,ze.zA)(c(i).mul(-1).equal())} ${(0,ze.zA)(c(c(a).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:s,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`\n > tr${t}-expanded-row,\n > tr${t}-placeholder\n `]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:s,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,ze.zA)(n)} 0 ${(0,ze.zA)(n)} ${l}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:s}}}},He=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},Pe.L9),{wordBreak:"keep-all",[`\n &${t}-cell-fix-left-last,\n &${t}-cell-fix-right-first\n `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Re=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},Ne=n(58766),De=e=>{const{componentCls:t,antCls:n,motionDurationSlow:o,lineWidth:r,paddingXS:l,lineType:i,tableBorderColor:a,tableExpandIconBg:c,tableExpandColumnWidth:s,borderRadius:d,tablePaddingVertical:u,tablePaddingHorizontal:p,tableExpandedRowBg:g,paddingXXS:m,expandIconMarginTop:f,expandIconSize:b,expandIconHalfInner:h,expandIconScale:$,calc:v}=e,y=`${(0,ze.zA)(r)} ${i} ${a}`,x=v(m).sub(r).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:s},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ne.Y)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:(0,ze.zA)(b),background:c,border:y,borderRadius:d,transform:`scale(${$})`,transition:`all ${o}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${o} ease-out`,content:'""'},"&::before":{top:h,insetInlineEnd:x,insetInlineStart:x,height:r},"&::after":{top:x,bottom:x,insetInlineStart:h,width:r,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:f,marginInlineEnd:l},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:g}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ze.zA)(v(u).mul(-1).equal())} ${(0,ze.zA)(v(p).mul(-1).equal())}`,padding:`${(0,ze.zA)(u)} ${(0,ze.zA)(p)}`}}}},Le=e=>{const{componentCls:t,antCls:n,iconCls:o,tableFilterDropdownWidth:r,tableFilterDropdownSearchWidth:l,paddingXXS:i,paddingXS:a,colorText:c,lineWidth:s,lineType:d,tableBorderColor:u,headerIconColor:p,fontSizeSM:g,tablePaddingHorizontal:m,borderRadius:f,motionDurationSlow:b,colorTextDescription:h,colorPrimary:$,tableHeaderFilterActiveBg:v,colorTextDisabled:y,tableFilterDropdownBg:x,tableFilterDropdownHeight:S,controlItemBgHover:w,controlItemBgActive:C,boxShadowSecondary:O,filterDropdownMenuBg:k,calc:A}=e,I=`${n}-dropdown`,E=`${t}-filter-dropdown`,z=`${n}-tree`,j=`${(0,ze.zA)(s)} ${d} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:A(i).mul(-1).equal(),marginInline:`${(0,ze.zA)(i)} ${(0,ze.zA)(A(m).div(2).mul(-1).equal())}`,padding:`0 ${(0,ze.zA)(i)}`,color:p,fontSize:g,borderRadius:f,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:h,background:v},"&.active":{color:$}}}},{[`${n}-dropdown`]:{[E]:Object.assign(Object.assign({},(0,Pe.dF)(e)),{minWidth:r,backgroundColor:x,borderRadius:f,boxShadow:O,overflow:"hidden",[`${I}-menu`]:{maxHeight:S,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:k,"&:empty::after":{display:"block",padding:`${(0,ze.zA)(a)} 0`,color:y,fontSize:g,textAlign:"center",content:'"Not Found"'}},[`${E}-tree`]:{paddingBlock:`${(0,ze.zA)(a)} 0`,paddingInline:a,[z]:{padding:0},[`${z}-treenode ${z}-node-content-wrapper:hover`]:{backgroundColor:w},[`${z}-treenode-checkbox-checked ${z}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:C}}},[`${E}-search`]:{padding:a,borderBottom:j,"&-input":{input:{minWidth:l},[o]:{color:y}}},[`${E}-checkall`]:{width:"100%",marginBottom:i,marginInlineStart:i},[`${E}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ze.zA)(A(a).sub(s).equal())} ${(0,ze.zA)(a)}`,overflow:"hidden",borderTop:j}})}},{[`${n}-dropdown ${E}, ${E}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:a,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Fe=e=>{const{componentCls:t,lineWidth:n,colorSplit:o,motionDurationSlow:r,zIndexTableFixed:l,tableBg:i,zIndexTableSticky:a,calc:c}=e,s=o;return{[`${t}-wrapper`]:{[`\n ${t}-cell-fix-left,\n ${t}-cell-fix-right\n `]:{position:"sticky !important",zIndex:l,background:i},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(a).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${s}`},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}},[`${t}-fixed-column-gapped`]:{[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after,\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{boxShadow:"none"}}}}},_e=e=>{const{componentCls:t,antCls:n,margin:o}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,ze.zA)(o)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},We=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,ze.zA)(n)} ${(0,ze.zA)(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${(0,ze.zA)(n)} ${(0,ze.zA)(n)}`}}}}},Xe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},qe=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSizeIcon:r,padding:l,paddingXS:i,headerIconColor:a,headerIconHoverColor:c,tableSelectionColumnWidth:s,tableSelectedRowBg:d,tableSelectedRowHoverBg:u,tableRowHoverBg:p,tablePaddingHorizontal:g,calc:m}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:s,[`&${t}-selection-col-with-dropdown`]:{width:m(s).add(r).add(m(l).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:m(s).add(m(i).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:m(s).add(r).add(m(l).div(4)).add(m(i).mul(2)).equal()}},[`\n table tr th${t}-selection-column,\n table tr td${t}-selection-column,\n ${t}-selection-column\n `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,ze.zA)(m(g).div(4).equal()),[o]:{color:a,fontSize:r,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:p}}}}}},Ke=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:o}=e,r=(e,r,l,i)=>({[`${t}${t}-${e}`]:{fontSize:i,[`\n ${t}-title,\n ${t}-footer,\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{padding:`${(0,ze.zA)(r)} ${(0,ze.zA)(l)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,ze.zA)(o(l).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,ze.zA)(o(r).mul(-1).equal())} ${(0,ze.zA)(o(l).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,ze.zA)(o(r).mul(-1).equal()),marginInline:`${(0,ze.zA)(o(n).sub(l).equal())} ${(0,ze.zA)(o(l).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,ze.zA)(o(l).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},Ge=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:o,headerIconColor:r,headerIconHoverColor:l}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`\n &${t}-cell-fix-left:hover,\n &${t}-cell-fix-right:hover\n `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:r,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:o,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:l}}}},Ve=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:o,tableScrollThumbBgHover:r,tableScrollThumbSize:l,tableScrollBg:i,zIndexTableSticky:a,stickyScrollBarBorderRadius:c,lineWidth:s,lineType:d,tableBorderColor:u}=e,p=`${(0,ze.zA)(s)} ${d} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:a,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ze.zA)(l)} !important`,zIndex:a,display:"flex",alignItems:"center",background:i,borderTop:p,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:l,backgroundColor:o,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:r}}}}}}},Ue=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:o,calc:r}=e,l=`${(0,ze.zA)(n)} ${e.lineType} ${o}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:l}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,ze.zA)(r(n).mul(-1).equal())} 0 ${o}`}}}},Qe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:o,lineType:r,tableBorderColor:l,calc:i}=e,a=`${(0,ze.zA)(o)} ${r} ${l}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:a,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,ze.zA)(o)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:a,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:a,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:i(o).mul(-1).equal(),borderInlineStart:a}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:a,borderBottom:a}}}}}};const Ye=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:o,tablePaddingHorizontal:r,tableExpandColumnWidth:l,lineWidth:i,lineType:a,tableBorderColor:c,tableFontSize:s,tableBg:d,tableRadius:u,tableHeaderTextColor:p,motionDurationMid:g,tableHeaderBg:m,tableHeaderCellSplitColor:f,tableFooterTextColor:b,tableFooterBg:h,calc:$}=e,v=`${(0,ze.zA)(i)} ${a} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Pe.t6)()),{[t]:Object.assign(Object.assign({},(0,Pe.dF)(e)),{fontSize:s,background:d,borderRadius:`${(0,ze.zA)(u)} ${(0,ze.zA)(u)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ze.zA)(u)} ${(0,ze.zA)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{position:"relative",padding:`${(0,ze.zA)(o)} ${(0,ze.zA)(r)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,ze.zA)(o)} ${(0,ze.zA)(r)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:m,borderBottom:v,transition:`background ${g} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:f,transform:"translateY(-50%)",transition:`background-color ${g}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${g}, border-color ${g}`,borderBottom:v,[`\n > ${t}-wrapper:only-child,\n > ${t}-expanded-row-fixed > ${t}-wrapper:only-child\n `]:{[t]:{marginBlock:(0,ze.zA)($(o).mul(-1).equal()),marginInline:`${(0,ze.zA)($(l).sub(r).equal())}\n ${(0,ze.zA)($(r).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:m,borderBottom:v,transition:`background ${g} ease`}}},[`${t}-footer`]:{padding:`${(0,ze.zA)(o)} ${(0,ze.zA)(r)}`,color:b,background:h}})}};var Ze=(0,Te.OF)("Table",(e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:o,controlInteractiveSize:r,headerBg:l,headerColor:i,headerSortActiveBg:a,headerSortHoverBg:c,bodySortBg:s,rowHoverBg:d,rowSelectedBg:u,rowSelectedHoverBg:p,rowExpandedBg:g,cellPaddingBlock:m,cellPaddingInline:f,cellPaddingBlockMD:b,cellPaddingInlineMD:h,cellPaddingBlockSM:$,cellPaddingInlineSM:v,borderColor:y,footerBg:x,footerColor:S,headerBorderRadius:w,cellFontSize:C,cellFontSizeMD:O,cellFontSizeSM:k,headerSplitColor:A,fixedHeaderSortActiveBg:I,headerFilterHoverBg:E,filterDropdownBg:z,expandIconBg:j,selectionColumnWidth:P,stickyScrollBarBg:T,calc:B}=e,M=(0,Be.h1)(e,{tableFontSize:C,tableBg:o,tableRadius:w,tablePaddingVertical:m,tablePaddingHorizontal:f,tablePaddingVerticalMiddle:b,tablePaddingHorizontalMiddle:h,tablePaddingVerticalSmall:$,tablePaddingHorizontalSmall:v,tableBorderColor:y,tableHeaderTextColor:i,tableHeaderBg:l,tableFooterTextColor:S,tableFooterBg:x,tableHeaderCellSplitColor:A,tableHeaderSortBg:a,tableHeaderSortHoverBg:c,tableBodySortBg:s,tableFixedHeaderSortActiveBg:I,tableHeaderFilterActiveBg:E,tableFilterDropdownBg:z,tableRowHoverBg:d,tableSelectedRowBg:u,tableSelectedRowHoverBg:p,zIndexTableFixed:2,zIndexTableSticky:3,tableFontSizeMiddle:O,tableFontSizeSmall:k,tableSelectionColumnWidth:P,tableExpandIconBg:j,tableExpandColumnWidth:B(r).add(B(e.padding).mul(2)).equal(),tableExpandedRowBg:g,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:T,tableScrollThumbBgHover:t,tableScrollBg:n});return[Ye(M),_e(M),Ue(M),Ge(M),Le(M),Me(M),We(M),De(M),Ue(M),Re(M),qe(M),Fe(M),Ve(M),He(M),Ke(M),Xe(M),Qe(M)]}),(e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:o,colorFillSecondary:r,colorFillContent:l,controlItemBgActive:i,controlItemBgActiveHover:a,padding:c,paddingSM:s,paddingXS:d,colorBorderSecondary:u,borderRadiusLG:p,controlHeight:g,colorTextPlaceholder:m,fontSize:f,fontSizeSM:b,lineHeight:h,lineWidth:$,colorIcon:v,colorIconHover:y,opacityLoading:x,controlInteractiveSize:S}=e,w=new je.q(r).onBackground(n).toHexShortString(),C=new je.q(l).onBackground(n).toHexShortString(),O=new je.q(t).onBackground(n).toHexShortString(),k=new je.q(v),A=new je.q(y),I=S/2-$,E=2*I+3*$;return{headerBg:O,headerColor:o,headerSortActiveBg:w,headerSortHoverBg:C,bodySortBg:O,rowHoverBg:O,rowSelectedBg:i,rowSelectedHoverBg:a,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:s,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:u,headerBorderRadius:p,footerBg:O,footerColor:o,cellFontSize:f,cellFontSizeMD:f,cellFontSizeSM:f,headerSplitColor:u,fixedHeaderSortActiveBg:w,headerFilterHoverBg:l,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:g,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(f*h-3*$)/2-Math.ceil((1.4*b-3*$)/2),headerIconColor:k.clone().setAlpha(k.getAlpha()*x).toRgbString(),headerIconHoverColor:A.clone().setAlpha(A.getAlpha()*x).toRgbString(),expandIconHalfInner:I,expandIconSize:E,expandIconScale:S/E}}),{unitless:{expandIconScale:!0}});const Je=[],et=(e,t)=>{var n,a;const{prefixCls:R,className:N,rootClassName:D,style:L,size:F,bordered:_,dropdownPrefixCls:W,dataSource:X,pagination:q,rowSelection:K,rowKey:G="key",rowClassName:V,columns:U,children:Q,childrenColumnName:Y,onChange:Z,getPopupContainer:J,loading:ee,expandIcon:te,expandable:ne,expandedRowRender:oe,expandIconColumnIndex:re,indentSize:le,scroll:ie,sortDirections:ae,locale:se,showSorterTooltip:ue={target:"full-header"},virtual:me}=e;(0,m.rJ)("Table");const fe=o.useMemo((()=>U||(0,C.P)(Q)),[U,Q]),be=o.useMemo((()=>fe.some((e=>e.responsive))),[fe]),he=(0,P.A)(be),$e=o.useMemo((()=>{const e=new Set(Object.keys(he).filter((e=>he[e])));return fe.filter((t=>!t.responsive||t.responsive.some((t=>e.has(t)))))}),[fe,he]),ve=(0,O.A)(e,["className","style","columns"]),{locale:ye=T.A,direction:we,table:ke,renderEmpty:ze,getPrefixCls:je,getPopupContainer:Pe}=o.useContext(I.QO),Te=(0,j.A)(F),Be=Object.assign(Object.assign({},ye.Table),se),Me=X||Je,He=je("table",R),Re=je("dropdown",W),[,Ne]=(0,H.Ay)(),De=(0,z.A)(He),[Le,Fe,_e]=Ze(He,De),We=Object.assign(Object.assign({childrenColumnName:Y,expandIconColumnIndex:re},ne),{expandIcon:null!==(n=null==ne?void 0:ne.expandIcon)&&void 0!==n?n:null===(a=null==ke?void 0:ke.expandable)||void 0===a?void 0:a.expandIcon}),{childrenColumnName:Xe="children"}=We,qe=o.useMemo((()=>Me.some((e=>null==e?void 0:e[Xe]))?"nest":oe||ne&&ne.expandedRowRender?"row":null),[Me]),Ke={body:o.useRef()},Ge=function(e){return(t,n)=>{const o=t.querySelector(`.${e}-container`);let r=n;if(o){const e=getComputedStyle(o);r=n-parseInt(e.borderLeftWidth,10)-parseInt(e.borderRightWidth,10)}return r}}(He),Ve=o.useRef(null),Ue=o.useRef(null);(0,k.A)(t,(()=>Object.assign(Object.assign({},Ue.current),{nativeElement:Ve.current})));const Qe=o.useMemo((()=>"function"==typeof G?G:e=>null==e?void 0:e[G]),[G]),[Ye]=function(e,t,n){const r=o.useRef({});return[function(o){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){const l=new Map;function i(e){e.forEach(((e,o)=>{const r=n(e,o);l.set(r,e),e&&"object"==typeof e&&t in e&&i(e[t]||[])}))}i(e),r.current={data:e,childrenColumnName:t,kvMap:l,getRowKey:n}}return r.current.kvMap.get(o)}]}(Me,Xe,Qe),et={},tt=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var o,r,l;const i=Object.assign(Object.assign({},et),e);n&&(null===(o=et.resetPagination)||void 0===o||o.call(et),(null===(r=i.pagination)||void 0===r?void 0:r.current)&&(i.pagination.current=1),q&&q.onChange&&q.onChange(1,null===(l=i.pagination)||void 0===l?void 0:l.pageSize)),ie&&!1!==ie.scrollToFirstRowOnChange&&Ke.body.current&&(0,A.A)(0,{getContainer:()=>Ke.body.current}),null==Z||Z(i.pagination,i.filters,i.sorter,{currentDataSource:ce(Oe(Me,i.sorterStates,Xe),i.filterStates,Xe),action:t})},[nt,ot,rt,lt]=function(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:i,tableLocale:a,showSorterTooltip:c}=e;const[s,d]=o.useState(xe(n,!0)),u=o.useMemo((()=>{let e=!0;const t=xe(n,!1);if(!t.length)return s;const o=[];function r(t){e?o.push(t):o.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let l=null;return t.forEach((t=>{null===l?(r(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:l=!0)):(l&&!1!==t.multiplePriority||(e=!1),r(t))})),o}),[n,s]),p=o.useMemo((()=>{const e=u.map((e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}}));return{sortColumns:e,sortColumn:e[0]&&e[0].column,sortOrder:e[0]&&e[0].order}}),[u]),g=e=>{let t;t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,l.A)(u.filter((t=>{let{key:n}=t;return n!==e.key}))),[e]):[e],d(t),r(Ce(t),t)};return[e=>Se(t,e,u,g,i,a,c),u,p,()=>Ce(u)]}({prefixCls:He,mergedColumns:$e,onSorterChange:(e,t)=>{tt({sorter:e,sorterStates:t},"sort",!1)},sortDirections:ae||["ascend","descend"],tableLocale:Be,showSorterTooltip:ue}),it=o.useMemo((()=>Oe(Me,ot,Xe)),[Me,ot]);et.sorter=lt(),et.sorterStates=ot;const[at,ct,st]=de({prefixCls:He,locale:Be,dropdownPrefixCls:Re,mergedColumns:$e,onFilterChange:(e,t)=>{tt({filters:e,filterStates:t},"filter",!0)},getPopupContainer:J||Pe,rootClassName:c()(D,De)}),dt=ce(it,ct,Xe);et.filters=st,et.filterStates=ct;const ut=o.useMemo((()=>{const e={};return Object.keys(st).forEach((t=>{null!==st[t]&&(e[t]=st[t])})),Object.assign(Object.assign({},rt),{filters:e})}),[rt,st]),[pt]=Ae(ut),[gt,mt]=ge(dt.length,((e,t)=>{tt({pagination:Object.assign(Object.assign({},et.pagination),{current:e,pageSize:t})},"paginate")}),q);et.pagination=!1===q?{}:function(e,t){const n={current:e.current,pageSize:e.pageSize},o=t&&"object"==typeof t?t:{};return Object.keys(o).forEach((t=>{const o=e[t];"function"!=typeof o&&(n[t]=o)})),n}(gt,q),et.resetPagination=mt;const ft=o.useMemo((()=>{if(!1===q||!gt.pageSize)return dt;const{current:e=1,total:t,pageSize:n=pe}=gt;return dt.length<t?dt.length>n?dt.slice((e-1)*n,e*n):dt:dt.slice((e-1)*n,e*n)}),[!!q,dt,gt&>.current,gt&>.pageSize,gt&>.total]),[bt,ht]=((e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:a,defaultSelectedRowKeys:C,getCheckboxProps:O,onChange:k,onSelect:A,onSelectAll:I,onSelectInvert:E,onSelectNone:z,onSelectMultiple:j,columnWidth:P,type:T,selections:B,fixed:M,renderCell:H,hideSelectAll:R,checkStrictly:N=!0}=t||{},{prefixCls:D,data:L,pageData:F,getRecordByKey:_,getRowKey:W,expandType:X,childrenColumnName:q,locale:K,getPopupContainer:G}=e,V=(0,m.rJ)("Table"),[U,Q]=(0,g.A)((e=>e)),[Y,Z]=(0,p.A)(a||C||S,{value:a}),J=o.useRef(new Map),ee=(0,o.useCallback)((e=>{if(n){const t=new Map;e.forEach((e=>{let n=_(e);!n&&J.current.has(e)&&(n=J.current.get(e)),t.set(e,n)})),J.current=t}}),[_,n]);o.useEffect((()=>{ee(Y)}),[Y]);const{keyEntities:te}=(0,o.useMemo)((()=>{if(N)return{keyEntities:null};let e=L;if(n){const t=new Set(L.map(((e,t)=>W(e,t)))),n=Array.from(J.current).reduce(((e,n)=>{let[o,r]=n;return t.has(o)?e:e.concat(r)}),[]);e=[].concat((0,l.A)(e),(0,l.A)(n))}return(0,u.cG)(e,{externalGetKey:W,childrenPropName:q})}),[L,W,N,q,n]),ne=(0,o.useMemo)((()=>w(q,F)),[q,F]),oe=(0,o.useMemo)((()=>{const e=new Map;return ne.forEach(((t,n)=>{const o=W(t,n),r=(O?O(t):null)||{};e.set(o,r)})),e}),[ne,W,O]),re=(0,o.useCallback)((e=>{var t;return!!(null===(t=oe.get(W(e)))||void 0===t?void 0:t.disabled)}),[oe,W]),[le,ie]=(0,o.useMemo)((()=>{if(N)return[Y||[],[]];const{checkedKeys:e,halfCheckedKeys:t}=(0,d.p)(Y,!0,te,re);return[e||[],t]}),[Y,N,te,re]),ae=(0,o.useMemo)((()=>{const e="radio"===T?le.slice(0,1):le;return new Set(e)}),[le,T]),ce=(0,o.useMemo)((()=>"radio"===T?new Set:new Set(ie)),[ie,T]);o.useEffect((()=>{t||Z(S)}),[!!t]);const se=(0,o.useCallback)(((e,t)=>{let o,r;ee(e),n?(o=e,r=e.map((e=>J.current.get(e)))):(o=[],r=[],e.forEach((e=>{const t=_(e);void 0!==t&&(o.push(e),r.push(t))}))),Z(o),null==k||k(o,r,{type:t})}),[Z,_,k,n]),de=(0,o.useCallback)(((e,t,n,o)=>{if(A){const r=n.map((e=>_(e)));A(_(e),t,r,o)}se(n,"single")}),[A,_,se]),ue=(0,o.useMemo)((()=>!B||R?null:(!0===B?[v,y,x]:B).map((e=>e===v?{key:"all",text:K.selectionAll,onSelect(){se(L.map(((e,t)=>W(e,t))).filter((e=>{const t=oe.get(e);return!(null==t?void 0:t.disabled)||ae.has(e)})),"all")}}:e===y?{key:"invert",text:K.selectInvert,onSelect(){const e=new Set(ae);F.forEach(((t,n)=>{const o=W(t,n),r=oe.get(o);(null==r?void 0:r.disabled)||(e.has(o)?e.delete(o):e.add(o))}));const t=Array.from(e);E&&(V.deprecated(!1,"onSelectInvert","onChange"),E(t)),se(t,"invert")}}:e===x?{key:"none",text:K.selectNone,onSelect(){null==z||z(),se(Array.from(ae).filter((e=>{const t=oe.get(e);return null==t?void 0:t.disabled})),"none")}}:e)).map((e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n,o=arguments.length,r=new Array(o),l=0;l<o;l++)r[l]=arguments[l];null===(n=e.onSelect)||void 0===n||(t=n).call.apply(t,[e].concat(r)),Q(null)}})))),[B,ae,F,W,E,se]),pe=(0,o.useCallback)((e=>{var n;if(!t)return e.filter((e=>e!==$));let a=(0,l.A)(e);const u=new Set(ae),p=ne.map(W).filter((e=>!oe.get(e).disabled)),g=p.every((e=>u.has(e))),m=p.some((e=>u.has(e))),v=()=>{const e=[];g?p.forEach((t=>{u.delete(t),e.push(t)})):p.forEach((t=>{u.has(t)||(u.add(t),e.push(t))}));const t=Array.from(u);null==I||I(!g,t.map((e=>_(e))),e.map((e=>_(e)))),se(t,"all"),Q(null)};let y,x,S;if("radio"!==T){let e;if(ue){const t={getPopupContainer:G,items:ue.map(((e,t)=>{const{key:n,text:o,onSelect:r}=e;return{key:null!=n?n:t,onClick:()=>{null==r||r(p)},label:o}}))};e=o.createElement("div",{className:`${D}-selection-extra`},o.createElement(b.A,{menu:t,getPopupContainer:G},o.createElement("span",null,o.createElement(i.A,null))))}const t=ne.map(((e,t)=>{const n=W(e,t),o=oe.get(n)||{};return Object.assign({checked:u.has(n)},o)})).filter((e=>{let{disabled:t}=e;return t})),n=!!t.length&&t.length===ne.length,r=n&&t.every((e=>{let{checked:t}=e;return t})),l=n&&t.some((e=>{let{checked:t}=e;return t}));x=o.createElement(f.A,{checked:n?r:!!ne.length&&g,indeterminate:n?!r&&l:!g&&m,onChange:v,disabled:0===ne.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),y=!R&&o.createElement("div",{className:`${D}-selection`},x,e)}if(S="radio"===T?(e,t,n)=>{const r=W(t,n),l=u.has(r);return{node:o.createElement(h.Ay,Object.assign({},oe.get(r),{checked:l,onClick:e=>e.stopPropagation(),onChange:e=>{u.has(r)||de(r,!0,[r],e.nativeEvent)}})),checked:l}}:(e,t,n)=>{var r;const i=W(t,n),a=u.has(i),c=ce.has(i),g=oe.get(i);let m;return m="nest"===X?c:null!==(r=null==g?void 0:g.indeterminate)&&void 0!==r?r:c,{node:o.createElement(f.A,Object.assign({},g,{indeterminate:m,checked:a,skipGroup:!0,onClick:e=>e.stopPropagation(),onChange:e=>{let{nativeEvent:t}=e;const{shiftKey:n}=t,o=p.findIndex((e=>e===i)),r=le.some((e=>p.includes(e)));if(n&&N&&r){const e=U(o,p,u),t=Array.from(u);null==j||j(!a,t.map((e=>_(e))),e.map((e=>_(e)))),se(t,"multiple")}else{const e=le;if(N){const n=a?(0,s.BA)(e,i):(0,s.$s)(e,i);de(i,!a,n,t)}else{const n=(0,d.p)([].concat((0,l.A)(e),[i]),!0,te,re),{checkedKeys:o,halfCheckedKeys:r}=n;let c=o;if(a){const e=new Set(o);e.delete(i),c=(0,d.p)(Array.from(e),{checked:!1,halfCheckedKeys:r},te,re).checkedKeys}de(i,!a,c,t)}}Q(a?null:o)}})),checked:a}},!a.includes($))if(0===a.findIndex((e=>{var t;return"EXPAND_COLUMN"===(null===(t=e[r.PL])||void 0===t?void 0:t.columnType)}))){const[e,...t]=a;a=[e,$].concat((0,l.A)(t))}else a=[$].concat((0,l.A)(a));const w=a.indexOf($);a=a.filter(((e,t)=>e!==$||t===w));const C=a[w-1],O=a[w+1];let k=M;void 0===k&&(void 0!==(null==O?void 0:O.fixed)?k=O.fixed:void 0!==(null==C?void 0:C.fixed)&&(k=C.fixed)),k&&C&&"EXPAND_COLUMN"===(null===(n=C[r.PL])||void 0===n?void 0:n.columnType)&&void 0===C.fixed&&(C.fixed=k);const A=c()(`${D}-selection-col`,{[`${D}-selection-col-with-dropdown`]:B&&"checkbox"===T}),E={fixed:k,width:P,className:`${D}-selection-column`,title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(x):t.columnTitle:y,render:(e,t,n)=>{const{node:o,checked:r}=S(e,t,n);return H?H(r,t,n,o):o},onCell:t.onCell,[r.PL]:{className:A}};return a.map((e=>e===$?E:e))}),[W,ne,t,le,ae,ce,P,ue,X,oe,j,de,re]);return[pe,ae]})({prefixCls:He,data:dt,pageData:ft,getRowKey:Qe,getRecordByKey:Ye,expandType:qe,childrenColumnName:Xe,locale:Be,getPopupContainer:J||Pe},K);We.__PARENT_RENDER_ICON__=We.expandIcon,We.expandIcon=We.expandIcon||te||function(e){return function(t){let{prefixCls:n,onExpand:r,record:l,expanded:i,expandable:a}=t;const s=`${n}-row-expand-icon`;return o.createElement("button",{type:"button",onClick:e=>{r(l,e),e.stopPropagation()},className:c()(s,{[`${s}-spaced`]:!a,[`${s}-expanded`]:a&&i,[`${s}-collapsed`]:a&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}(Be),"nest"===qe&&void 0===We.expandIconColumnIndex?We.expandIconColumnIndex=K?1:0:We.expandIconColumnIndex>0&&K&&(We.expandIconColumnIndex-=1),"number"!=typeof We.indentSize&&(We.indentSize="number"==typeof le?le:15);const $t=o.useCallback((e=>pt(bt(at(nt(e))))),[nt,at,bt]);let vt,yt,xt;if(!1!==q&&(null==gt?void 0:gt.total)){let e;e=gt.size?gt.size:"small"===Te||"middle"===Te?"small":void 0;const t=t=>o.createElement(B.A,Object.assign({},gt,{className:c()(`${He}-pagination ${He}-pagination-${t}`,gt.className),size:e})),n="rtl"===we?"left":"right",{position:r}=gt;if(null!==r&&Array.isArray(r)){const e=r.find((e=>e.includes("top"))),o=r.find((e=>e.includes("bottom"))),l=r.every((e=>"none"==`${e}`));e||o||l||(yt=t(n)),e&&(vt=t(e.toLowerCase().replace("top",""))),o&&(yt=t(o.toLowerCase().replace("bottom","")))}else yt=t(n)}"boolean"==typeof ee?xt={spinning:ee}:"object"==typeof ee&&(xt=Object.assign({spinning:!0},ee));const St=c()(_e,De,`${He}-wrapper`,null==ke?void 0:ke.className,{[`${He}-wrapper-rtl`]:"rtl"===we},N,D,Fe),wt=Object.assign(Object.assign({},null==ke?void 0:ke.style),L),Ct=se&&se.emptyText||(null==ze?void 0:ze("Table"))||o.createElement(E.A,{componentName:"Table"}),Ot=me?Ee:Ie,kt={},At=o.useMemo((()=>{const{fontSize:e,lineHeight:t,padding:n,paddingXS:o,paddingSM:r}=Ne,l=Math.floor(e*t);switch(Te){case"large":return 2*n+l;case"small":return 2*o+l;default:return 2*r+l}}),[Ne,Te]);return me&&(kt.listItemHeight=At),Le(o.createElement("div",{ref:Ve,className:St,style:wt},o.createElement(M.A,Object.assign({spinning:!1},xt),vt,o.createElement(Ot,Object.assign({},kt,ve,{ref:Ue,columns:$e,direction:we,expandable:We,prefixCls:He,className:c()({[`${He}-middle`]:"middle"===Te,[`${He}-small`]:"small"===Te,[`${He}-bordered`]:_,[`${He}-empty`]:0===Me.length},_e,De,Fe),data:ft,rowKey:Qe,rowClassName:(e,t,n)=>{let o;return o="function"==typeof V?c()(V(e,t,n)):c()(V),c()({[`${He}-row-selected`]:ht.has(Qe(e,t))},o)},emptyText:Ct,internalHooks:r.Fh,internalRefs:Ke,transformColumns:$t,getContainerWidth:Ge})),yt)))};var tt=o.forwardRef(et);const nt=(e,t)=>{const n=o.useRef(0);return n.current+=1,o.createElement(tt,Object.assign({},e,{ref:t,_renderTimes:n.current}))},ot=o.forwardRef(nt);ot.SELECTION_COLUMN=$,ot.EXPAND_COLUMN=r.kD,ot.SELECTION_ALL=v,ot.SELECTION_INVERT=y,ot.SELECTION_NONE=x,ot.Column=function(e){return null},ot.ColumnGroup=function(e){return null},ot.Summary=r.BD;var rt=ot},22395:function(e,t,n){n.d(t,{A:function(){return j}});var o=n(96540),r=n(47852),l=n(52318),i=n(49237),a=n(46942),c=n.n(a),s=n(55465),d=n(62279),u=n(20934),p=n(829),g=n(23723);const m={motionAppear:!1,motionEnter:!0,motionLeave:!0};var f=n(82546),b=n(60138),h=n(25905),$=n(20106),v=n(80336),y=n(53561),x=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,y._j)(e,"slide-up"),(0,y._j)(e,"slide-down")]]};const S=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:o,cardGutter:r,colorBorderSecondary:l,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${(0,b.zA)(e.lineWidth)} ${e.lineType} ${l}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,b.zA)(r)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,b.zA)(e.borderRadiusLG)} ${(0,b.zA)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,b.zA)(e.borderRadiusLG)} ${(0,b.zA)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,b.zA)(r)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,b.zA)(e.borderRadiusLG)} 0 0 ${(0,b.zA)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,b.zA)(e.borderRadiusLG)} ${(0,b.zA)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},w=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,h.dF)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,b.zA)(o)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},h.L9),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,b.zA)(e.paddingXXS)} ${(0,b.zA)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},C=e=>{const{componentCls:t,margin:n,colorBorderSecondary:o,horizontalMargin:r,verticalItemPadding:l,verticalItemMargin:i,calc:a}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,b.zA)(e.lineWidth)} ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:a(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:l,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,b.zA)(a(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,b.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:a(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,b.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},O=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:o,horizontalItemPaddingSM:r,horizontalItemPaddingLG:l}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:l,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,b.zA)(e.borderRadius)} ${(0,b.zA)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,b.zA)(e.borderRadius)} ${(0,b.zA)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,b.zA)(e.borderRadius)} ${(0,b.zA)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,b.zA)(e.borderRadius)} 0 0 ${(0,b.zA)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o}}}}}},k=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:o,iconCls:r,tabsHorizontalItemMargin:l,horizontalItemPadding:i,itemSelectedColor:a,itemColor:c}=e,s=`${t}-tab`;return{[s]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,h.K8)(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${s}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${s}-active ${s}-btn`]:{color:a,textShadow:e.tabsActiveTextShadow},[`&${s}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${s}-disabled ${s}-btn, &${s}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${s}-remove ${r}`]:{margin:0},[`${r}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${s} + ${s}`]:{margin:{_skip_check_:!0,value:l}}}},A=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:o,cardGutter:r,calc:l}=e,i=`${t}-rtl`;return{[i]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,b.zA)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,b.zA)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,b.zA)(l(e.marginXXS).mul(-1).equal())},[o]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},I=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:o,cardGutter:r,itemHoverColor:l,itemActiveColor:i,colorBorderSecondary:a}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,h.dF)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:o,minHeight:o,marginLeft:{_skip_check_:!0,value:r},padding:`0 ${(0,b.zA)(e.paddingXS)}`,background:"transparent",border:`${(0,b.zA)(e.lineWidth)} ${e.lineType} ${a}`,borderRadius:`${(0,b.zA)(e.borderRadiusLG)} ${(0,b.zA)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:l},"&:active, &:focus:not(:focus-visible)":{color:i}},(0,h.K8)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),k(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var E=(0,$.OF)("Tabs",(e=>{const t=(0,v.h1)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,b.zA)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,b.zA)(e.horizontalItemGutter)}`});return[O(t),A(t),C(t),w(t),S(t),I(t),x(t)]}),(e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}));const z=e=>{var t,n,a,b,h,$,v,y,x,S,w;const{type:C,className:O,rootClassName:k,size:A,onEdit:I,hideAdd:z,centered:j,addIcon:P,removeIcon:T,moreIcon:B,more:M,popupClassName:H,children:R,items:N,animated:D,style:L,indicatorSize:F,indicator:_}=e,W=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:X}=W,{direction:q,tabs:K,getPrefixCls:G,getPopupContainer:V}=o.useContext(d.QO),U=G("tabs",X),Q=(0,u.A)(U),[Y,Z,J]=E(U,Q);let ee;"editable-card"===C&&(ee={onEdit:(e,t)=>{let{key:n,event:o}=t;null==I||I("add"===e?o:n,e)},removeIcon:null!==(t=null!=T?T:null==K?void 0:K.removeIcon)&&void 0!==t?t:o.createElement(r.A,null),addIcon:(null!=P?P:null==K?void 0:K.addIcon)||o.createElement(i.A,null),showAdd:!0!==z});const te=G(),ne=(0,p.A)(A),oe=function(e,t){return e||function(e){return e.filter((e=>e))}((0,f.A)(t).map((e=>{if(o.isValidElement(e)){const{key:t,props:n}=e,o=n||{},{tab:r}=o,l=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(o,["tab"]);return Object.assign(Object.assign({key:String(t)},l),{label:r})}return null})))}(N,R),re=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{}),t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},m),{motionName:(0,g.b)(e,"switch")})),t}(U,D),le=Object.assign(Object.assign({},null==K?void 0:K.style),L),ie={align:null!==(n=null==_?void 0:_.align)&&void 0!==n?n:null===(a=null==K?void 0:K.indicator)||void 0===a?void 0:a.align,size:null!==(v=null!==(h=null!==(b=null==_?void 0:_.size)&&void 0!==b?b:F)&&void 0!==h?h:null===($=null==K?void 0:K.indicator)||void 0===$?void 0:$.size)&&void 0!==v?v:null==K?void 0:K.indicatorSize};return Y(o.createElement(s.A,Object.assign({direction:q,getPopupContainer:V},W,{items:oe,className:c()({[`${U}-${ne}`]:ne,[`${U}-card`]:["card","editable-card"].includes(C),[`${U}-editable-card`]:"editable-card"===C,[`${U}-centered`]:j},null==K?void 0:K.className,O,k,Z,J,Q),popupClassName:c()(H,Z,J,Q),style:le,editable:ee,more:Object.assign({icon:null!==(w=null!==(S=null!==(x=null===(y=null==K?void 0:K.more)||void 0===y?void 0:y.icon)&&void 0!==x?x:null==K?void 0:K.moreIcon)&&void 0!==S?S:B)&&void 0!==w?w:o.createElement(l.A,null),transitionName:`${te}-slide-up`},M),prefixCls:U,animated:re,indicator:ie})))};z.TabPane=()=>null;var j=z},67034:function(e,t,n){n.d(t,{A:function(){return E}});var o=n(96540),r=n(46942),l=n.n(r),i=n(19853),a=n(54121),c=n(70064),s=n(40682),d=n(57),u=n(62279),p=n(60138),g=n(24978),m=n(25905),f=n(80336),b=n(20106);const h=e=>{const{lineWidth:t,fontSizeIcon:n,calc:o}=e,r=e.fontSizeSM;return(0,f.h1)(e,{tagFontSize:r,tagLineHeight:(0,p.zA)(o(e.lineHeightSM).mul(r).equal()),tagIconSize:o(n).sub(o(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},$=e=>({defaultBg:new g.q(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,b.OF)("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:o,componentCls:r,calc:l}=e,i=l(o).sub(n).equal(),a=l(t).sub(n).equal();return{[r]:Object.assign(Object.assign({},(0,m.dF)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-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(${r}-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:i}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(h(e))),$);const y=o.forwardRef(((e,t)=>{const{prefixCls:n,style:r,className:i,checked:a,onChange:c,onClick:s}=e,d=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:g}=o.useContext(u.QO),m=p("tag",n),[f,b,h]=v(m),$=l()(m,`${m}-checkable`,{[`${m}-checkable-checked`]:a},null==g?void 0:g.className,i,b,h);return f(o.createElement("span",Object.assign({},d,{ref:t,style:Object.assign(Object.assign({},r),null==g?void 0:g.style),className:$,onClick:e=>{null==c||c(!a),null==s||s(e)}})))}));var x=y,S=n(31108),w=(0,b.bf)(["Tag","preset"],(e=>(e=>(0,S.A)(e,((t,n)=>{let{textColor:o,lightBorderColor:r,lightColor:l,darkColor:i}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:o,background:l,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(h(e))),$),C=n(44023);const O=(e,t,n)=>{const o=(0,C.A)(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,b.bf)(["Tag","status"],(e=>{const t=h(e);return[O(t,"success","Success"),O(t,"processing","Info"),O(t,"error","Error"),O(t,"warning","Warning")]}),$);const A=o.forwardRef(((e,t)=>{const{prefixCls:n,className:r,rootClassName:p,style:g,children:m,icon:f,color:b,onClose:h,bordered:$=!0,visible:y}=e,x=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:C,tag:O}=o.useContext(u.QO),[A,I]=o.useState(!0),E=(0,i.A)(x,["closeIcon","closable"]);o.useEffect((()=>{void 0!==y&&I(y)}),[y]);const z=(0,a.nP)(b),j=(0,a.ZZ)(b),P=z||j,T=Object.assign(Object.assign({backgroundColor:b&&!P?b:void 0},null==O?void 0:O.style),g),B=S("tag",n),[M,H,R]=v(B),N=l()(B,null==O?void 0:O.className,{[`${B}-${b}`]:P,[`${B}-has-color`]:b&&!P,[`${B}-hidden`]:!A,[`${B}-rtl`]:"rtl"===C,[`${B}-borderless`]:!$},r,p,H,R),D=e=>{e.stopPropagation(),null==h||h(e),e.defaultPrevented||I(!1)},[,L]=(0,c.A)((0,c.d)(e),(0,c.d)(O),{closable:!1,closeIconRender:e=>{const t=o.createElement("span",{className:`${B}-close-icon`,onClick:D},e);return(0,s.fx)(e,t,(e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),D(t)},className:l()(null==e?void 0:e.className,`${B}-close-icon`)})))}}),F="function"==typeof x.onClick||m&&"a"===m.type,_=f||null,W=_?o.createElement(o.Fragment,null,_,m&&o.createElement("span",null,m)):m,X=o.createElement("span",Object.assign({},E,{ref:t,className:N,style:T}),W,L,z&&o.createElement(w,{key:"preset",prefixCls:B}),j&&o.createElement(k,{key:"status",prefixCls:B}));return M(F?o.createElement(d.A,{component:"Tag"},X):X)})),I=A;I.CheckableTag=x;var E=I},49806:function(e,t,n){n.d(t,{sb:function(){return c},vG:function(){return s},zQ:function(){return a}});var o=n(96540),r=n(60138),l=n(14184),i=n(50723);const a=(0,r.an)(l.A),c={token:i.A,override:{override:i.A},hashed:!0},s=o.createContext(c)},5131:function(e,t,n){n.d(t,{A:function(){return $}});var o=n(60138),r=n(14184),l=n(50723),i=n(13894),a=n(11320),c=n(49806),s=n(78690),d=n(51892),u=n(20439),p=n(27484),g=n(24978);const m=(e,t)=>new g.q(e).setAlpha(t).toRgbString(),f=(e,t)=>new g.q(e).lighten(t).toHexString(),b=e=>{const t=(0,u.cM)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},h=(e,t)=>{const n=e||"#000",o=t||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:m(o,.85),colorTextSecondary:m(o,.65),colorTextTertiary:m(o,.45),colorTextQuaternary:m(o,.25),colorFill:m(o,.18),colorFillSecondary:m(o,.12),colorFillTertiary:m(o,.08),colorFillQuaternary:m(o,.04),colorBgElevated:f(n,12),colorBgContainer:f(n,8),colorBgLayout:f(n,0),colorBgSpotlight:f(n,26),colorBgBlur:m(o,.04),colorBorder:f(n,26),colorBorderSecondary:f(n,19)}};var $={defaultConfig:c.sb,defaultSeed:c.sb.token,useToken:function(){const[e,t,n]=(0,a.Ay)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:r.A,darkAlgorithm:(e,t)=>{const n=Object.keys(l.r).map((t=>{const n=(0,u.cM)(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,o,r)=>(e[`${t}-${r+1}`]=n[r],e[`${t}${r+1}`]=n[r],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),o=null!=t?t:(0,r.A)(e);return Object.assign(Object.assign(Object.assign({},o),n),(0,p.A)(e,{generateColorPalettes:b,generateNeutralColorPalettes:h}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:(0,r.A)(e),o=n.fontSizeSM,l=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,o=n-2;return{sizeXXL:t*(o+10),sizeXL:t*(o+6),sizeLG:t*(o+2),sizeMD:t*(o+2),sizeMS:t*(o+1),size:t*o,sizeSM:t*o,sizeXS:t*(o-1),sizeXXS:t*(o-1)}}(null!=t?t:e)),(0,d.A)(o)),{controlHeight:l}),(0,s.A)(Object.assign(Object.assign({},n),{controlHeight:l})))},getDesignToken:e=>{const t=(null==e?void 0:e.algorithm)?(0,o.an)(e.algorithm):(0,o.an)(r.A),n=Object.assign(Object.assign({},l.A),null==e?void 0:e.token);return(0,o.lO)(n,{override:null==e?void 0:e.token},t,i.A)}}},13950:function(e,t,n){n.d(t,{s:function(){return o}});const o=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},14184:function(e,t,n){n.d(t,{A:function(){return m}});var o=n(20439),r=n(50723),l=n(27484),i=e=>{let t=e,n=e,o=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:o,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:r}},a=n(78690),c=n(51892),s=n(24978);const d=(e,t)=>new s.q(e).setAlpha(t).toRgbString(),u=(e,t)=>new s.q(e).darken(t).toHexString(),p=e=>{const t=(0,o.cM)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},g=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:d(o,.88),colorTextSecondary:d(o,.65),colorTextTertiary:d(o,.45),colorTextQuaternary:d(o,.25),colorFill:d(o,.15),colorFillSecondary:d(o,.06),colorFillTertiary:d(o,.04),colorFillQuaternary:d(o,.02),colorBgLayout:u(n,4),colorBgContainer:u(n,0),colorBgElevated:u(n,0),colorBgSpotlight:d(o,.85),colorBgBlur:"transparent",colorBorder:u(n,15),colorBorderSecondary:u(n,6)}};function m(e){const t=Object.keys(r.r).map((t=>{const n=(0,o.cM)(e[t]);return new Array(10).fill(1).reduce(((e,o,r)=>(e[`${t}-${r+1}`]=n[r],e[`${t}${r+1}`]=n[r],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,l.A)(e,{generateColorPalettes:p,generateNeutralColorPalettes:g})),(0,c.A)(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(0,a.A)(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:r+1},i(o))}(e))}},50723:function(e,t,n){n.d(t,{r:function(){return o}});const o={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},r=Object.assign(Object.assign({},o),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});t.A=r},27484:function(e,t,n){n.d(t,{A:function(){return r}});var o=n(24978);function r(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:l,colorWarning:i,colorError:a,colorInfo:c,colorPrimary:s,colorBgBase:d,colorTextBase:u}=e,p=n(s),g=n(l),m=n(i),f=n(a),b=n(c),h=r(d,u),$=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},h),{colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:g[1],colorSuccessBgHover:g[2],colorSuccessBorder:g[3],colorSuccessBorderHover:g[4],colorSuccessHover:g[4],colorSuccess:g[6],colorSuccessActive:g[7],colorSuccessTextHover:g[8],colorSuccessText:g[9],colorSuccessTextActive:g[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:b[1],colorInfoBgHover:b[2],colorInfoBorder:b[3],colorInfoBorderHover:b[4],colorInfoHover:b[4],colorInfo:b[6],colorInfoActive:b[7],colorInfoTextHover:b[8],colorInfoText:b[9],colorInfoTextActive:b[10],colorLinkHover:$[4],colorLink:$[6],colorLinkActive:$[7],colorBgMask:new o.q("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},78690:function(e,t){t.A=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},51892:function(e,t,n){var o=n(94925);t.A=e=>{const t=(0,o.A)(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),l=n[1],i=n[0],a=n[2],c=r[1],s=r[0],d=r[2];return{fontSizeSM:i,fontSize:l,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:d,lineHeightSM:s,fontHeight:Math.round(c*l),fontHeightLG:Math.round(d*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}}},94925:function(e,t,n){function o(e){return(e+8)/e}function r(e){const t=new Array(10).fill(null).map(((t,n)=>{const o=n-1,r=e*Math.pow(2.71828,o/5),l=n>1?Math.floor(r):Math.ceil(r);return 2*Math.floor(l/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:o(e)})))}n.d(t,{A:function(){return r},k:function(){return o}})},11320:function(e,t,n){n.d(t,{Ay:function(){return m},Xe:function(){return u},Is:function(){return d}});var o=n(96540),r=n(60138),l="5.17.0",i=n(49806),a=n(50723),c=n(13894),s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const d={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},u={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},p={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},g=(e,t,n)=>{const o=n.getDerivativeToken(e),{override:r}=t,l=s(t,["override"]);let i=Object.assign(Object.assign({},o),{override:r});return i=(0,c.A)(i),l&&Object.entries(l).forEach((e=>{let[t,n]=e;const{theme:o}=n,r=s(n,["theme"]);let l=r;o&&(l=g(Object.assign(Object.assign({},i),r),{override:r},o)),i[t]=l})),i};function m(){const{token:e,hashed:t,theme:n,override:s,cssVar:m}=o.useContext(i.vG),f=`${l}-${t||""}`,b=n||i.zQ,[h,$,v]=(0,r.hV)(b,[a.A,e],{salt:f,override:s,getComputedToken:g,formatToken:c.A,cssVar:m&&{prefix:m.prefix,key:m.key,unitless:d,ignore:u,preserve:p}});return[b,v,t?$:"",h,m]}},13894:function(e,t,n){n.d(t,{A:function(){return c}});var o=n(24978),r=n(50723);function l(e){return e>=0&&e<=255}var i=function(e,t){const{r:n,g:r,b:i,a:a}=new o.q(e).toRgb();if(a<1)return e;const{r:c,g:s,b:d}=new o.q(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((n-c*(1-e))/e),a=Math.round((r-s*(1-e))/e),u=Math.round((i-d*(1-e))/e);if(l(t)&&l(a)&&l(u))return new o.q({r:t,g:a,b:u,a:Math.round(100*e)/100}).toRgbString()}return new o.q({r:n,g:r,b:i,a:1}).toRgbString()},a=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function c(e){const{override:t}=e,n=a(e,["override"]),l=Object.assign({},t);Object.keys(r.A).forEach((e=>{delete l[e]}));const c=Object.assign(Object.assign({},n),l);if(!1===c.motion){const e="0s";c.motionDurationFast=e,c.motionDurationMid=e,c.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},c),{colorFillContent:c.colorFillSecondary,colorFillContentHover:c.colorFill,colorFillAlter:c.colorFillQuaternary,colorBgContainerDisabled:c.colorFillTertiary,colorBorderBg:c.colorBgContainer,colorSplit:i(c.colorBorderSecondary,c.colorBgContainer),colorTextPlaceholder:c.colorTextQuaternary,colorTextDisabled:c.colorTextQuaternary,colorTextHeading:c.colorText,colorTextLabel:c.colorTextSecondary,colorTextDescription:c.colorTextTertiary,colorTextLightSolid:c.colorWhite,colorHighlight:c.colorError,colorBgTextHover:c.colorFillSecondary,colorBgTextActive:c.colorFill,colorIcon:c.colorTextTertiary,colorIconHover:c.colorText,colorErrorOutline:i(c.colorErrorBg,c.colorBgContainer),colorWarningOutline:i(c.colorWarningBg,c.colorBgContainer),fontSizeIcon:c.fontSizeSM,lineWidthFocus:4*c.lineWidth,lineWidth:c.lineWidth,controlOutlineWidth:2*c.lineWidth,controlInteractiveSize:c.controlHeight/2,controlItemBgHover:c.colorFillTertiary,controlItemBgActive:c.colorPrimaryBg,controlItemBgActiveHover:c.colorPrimaryBgHover,controlItemBgActiveDisabled:c.colorFill,controlTmpOutline:c.colorFillQuaternary,controlOutline:i(c.colorPrimaryBg,c.colorBgContainer),lineType:c.lineType,borderRadius:c.borderRadius,borderRadiusXS:c.borderRadiusXS,borderRadiusSM:c.borderRadiusSM,borderRadiusLG:c.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:c.sizeXXS,paddingXS:c.sizeXS,paddingSM:c.sizeSM,padding:c.size,paddingMD:c.sizeMD,paddingLG:c.sizeLG,paddingXL:c.sizeXL,paddingContentHorizontalLG:c.sizeLG,paddingContentVerticalLG:c.sizeMS,paddingContentHorizontal:c.sizeMS,paddingContentVertical:c.sizeSM,paddingContentHorizontalSM:c.size,paddingContentVerticalSM:c.sizeXS,marginXXS:c.sizeXXS,marginXS:c.sizeXS,marginSM:c.sizeSM,margin:c.size,marginMD:c.sizeMD,marginLG:c.sizeLG,marginXL:c.sizeXL,marginXXL:c.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new o.q("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new o.q("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new o.q("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),l)}},20106:function(e,t,n){n.d(t,{Ay:function(){return C},OF:function(){return k},bf:function(){return O}});var o=n(96540),r=n(60138),l=(n(81470),n(62279)),i=n(25905),a=n(11320),c=n(23029),s=n(92901),d=n(39874),u=n(85501),p=(0,s.A)((function e(){(0,c.A)(this,e)}));const g="CALC_UNIT",m=new RegExp(g,"g");function f(e){return"number"==typeof e?`${e}${g}`:e}let b=function(e){function t(e){var n;return(0,c.A)(this,t),(n=(0,d.A)(this,t)).result="",e instanceof t?n.result=`(${e.result})`:"number"==typeof e?n.result=f(e):"string"==typeof e&&(n.result=e),n}return(0,u.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result=`${this.result} + ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} + ${f(e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof t?this.result=`${this.result} - ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} - ${f(e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} * ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} * ${e}`),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} / ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} / ${e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?`(${this.result})`:this.result}},{key:"equal",value:function(e){const{unit:t=!0}=e||{};return this.result=this.result.replace(m,t?"px":""),void 0!==this.lowPriority?`calc(${this.result})`:this.result}}])}(p),h=function(e){function t(e){var n;return(0,c.A)(this,t),(n=(0,d.A)(this,t)).result=0,e instanceof t?n.result=e.result:"number"==typeof e&&(n.result=e),n}return(0,u.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof t?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof t?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof t?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}])}(p);var $=e=>{const t="css"===e?b:h;return e=>new t(e)},v=n(80336),y=n(62366);const x=(e,t,n)=>{var o;return"function"==typeof n?n((0,v.h1)(t,null!==(o=t[e])&&void 0!==o?o:{})):null!=n?n:{}},S=(e,t,n,o)=>{const r=Object.assign({},t[e]);if(null==o?void 0:o.deprecatedTokens){const{deprecatedTokens:e}=o;e.forEach((e=>{let[t,n]=e;var o;((null==r?void 0:r[t])||(null==r?void 0:r[n]))&&(null!==(o=r[n])&&void 0!==o||(r[n]=null==r?void 0:r[t]))}))}const l=Object.assign(Object.assign({},n),r);return Object.keys(l).forEach((e=>{l[e]===t[e]&&delete l[e]})),l},w=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function C(e,t,n){let c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=Array.isArray(e)?e:[e,e],[d]=s,u=s.join("-");return function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[p,g,m,f,b]=(0,a.Ay)(),{getPrefixCls:h,iconPrefixCls:C,csp:O}=(0,o.useContext)(l.QO),k=h(),A=b?"css":"js",I=$(A),{max:E,min:z}=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`max(${t.map((e=>(0,r.zA)(e))).join(",")})`},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`min(${t.map((e=>(0,r.zA)(e))).join(",")})`}}}(A),j={theme:p,token:f,hashId:m,nonce:()=>null==O?void 0:O.nonce,clientOnly:c.clientOnly,layer:{name:"antd"},order:c.order||-999};return(0,r.IV)(Object.assign(Object.assign({},j),{clientOnly:!1,path:["Shared",k]}),(()=>[{"&":(0,i.av)(f)}])),(0,y.A)(C,O),[(0,r.IV)(Object.assign(Object.assign({},j),{path:[u,e,C]}),(()=>{if(!1===c.injectStyle)return[];const{token:o,flush:l}=(0,v.Ay)(f),a=x(d,g,n),u=`.${e}`,p=S(d,g,a,{deprecatedTokens:c.deprecatedTokens});b&&Object.keys(a).forEach((e=>{a[e]=`var(${(0,r.Ki)(e,w(d,b.prefix))})`}));const h=(0,v.h1)(o,{componentCls:u,prefixCls:e,iconCls:`.${C}`,antCls:`.${k}`,calc:I,max:E,min:z},b?a:p),$=t(h,{hashId:m,prefixCls:e,rootPrefixCls:k,iconPrefixCls:C});return l(d,p),[!1===c.resetStyle?null:(0,i.vj)(h,e,s,c.resetFont),$]})),m]}}const O=(e,t,n,o)=>{const r=C(e,t,n,Object.assign({resetStyle:!1,order:-998},o));return e=>{let{prefixCls:t,rootCls:n=t}=e;return r(t,n),null}},k=(e,t,n,l)=>{const i=C(e,t,n,l),c=((e,t,n)=>{function l(t){return`${e}${t.slice(0,1).toUpperCase()}${t.slice(1)}`}const{unitless:i={},injectStyle:c=!0}=null!=n?n:{},s={[l("zIndexPopup")]:!0};Object.keys(i).forEach((e=>{s[l(e)]=i[e]}));const d=o=>{let{rootCls:i,cssVar:c}=o;const[,d]=(0,a.Ay)();return(0,r.RC)({path:[e],prefix:c.prefix,key:null==c?void 0:c.key,unitless:Object.assign(Object.assign({},a.Is),s),ignore:a.Xe,token:d,scope:i},(()=>{const o=x(e,d,t),r=S(e,d,o,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(o).forEach((e=>{r[l(e)]=r[e],delete r[e]})),r})),null};return t=>{const[,,,,n]=(0,a.Ay)();return[r=>c&&n?o.createElement(o.Fragment,null,o.createElement(d,{rootCls:t,cssVar:n,component:e}),r):r,null==n?void 0:n.key]}})(Array.isArray(e)?e[0]:e,n,l);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[,n]=i(e,t),[o,r]=c(t);return[o,n,r]}}},31108:function(e,t,n){n.d(t,{A:function(){return r}});var o=n(13950);function r(e,t){return o.s.reduce(((n,o)=>{const r=e[`${o}1`],l=e[`${o}3`],i=e[`${o}6`],a=e[`${o}7`];return Object.assign(Object.assign({},n),t(o,{lightColor:r,lightBorderColor:l,darkColor:i,textColor:a}))}),{})}},80336:function(e,t,n){n.d(t,{h1:function(){return l}});const o="undefined"!=typeof CSSINJS_STATISTIC;let r=!0;function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!o)return Object.assign.apply(Object,[{}].concat(t));r=!1;const l={};return t.forEach((e=>{Object.keys(e).forEach((t=>{Object.defineProperty(l,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),r=!0,l}const i={};function a(){}t.Ay=e=>{let t,n=e,l=a;return o&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get(e,n){return r&&t.add(n),e[n]}}),l=(e,n)=>{var o;i[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(o=i[e])||void 0===o?void 0:o.component),n)}}),{token:n,keys:t,flush:l}}},62366:function(e,t,n){var o=n(60138),r=n(25905),l=n(11320);t.A=(e,t)=>{const[n,i]=(0,l.Ay)();return(0,o.IV)({theme:n,token:i,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,r.Nk)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},15622:function(e,t,n){var o=n(96540),r=n(53425),l=n(34303);const{TimePicker:i,RangePicker:a}=l.A,c=o.forwardRef(((e,t)=>o.createElement(a,Object.assign({},e,{picker:"time",mode:void 0,ref:t})))),s=o.forwardRef(((e,t)=>{var{addon:n,renderExtraFooter:r}=e,l=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["addon","renderExtraFooter"]);const a=o.useMemo((()=>r||n||void 0),[n,r]);return o.createElement(i,Object.assign({},l,{mode:void 0,ref:t,renderExtraFooter:a}))})),d=(0,r.A)(s,"picker");s._InternalPanelDoNotUseOrYouWillBeFired=d,s.RangePicker=c,s._InternalPanelDoNotUseOrYouWillBeFired=d,t.A=s},65341:function(e,t){t.A={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},33835:function(e,t,n){n.d(t,{A:function(){return x}});var o=n(96540),r=n(46942),l=n.n(r),i=n(62279),a=n(20934),c=n(60138),s=n(25905),d=n(20106),u=n(80336);const p=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,s.dF)(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:`calc(100% - ${(0,c.zA)(e.itemHeadSize)})`,borderInlineStart:`${(0,c.zA)(e.tailWidth)} ${e.lineType} ${e.tailColor}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${(0,c.zA)(e.dotBorderWidth)} ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},[`&${t}-alternate,\n &${t}-right,\n &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${(0,c.zA)(e.marginXXS)})`,width:`calc(50% - ${(0,c.zA)(e.marginSM)})`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${(0,c.zA)(e.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail,\n ${t}-item-head,\n ${t}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(0,c.zA)(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal())})`},[`${t}-item-content`]:{width:`calc(100% - ${(0,c.zA)(n(e.itemHeadSize).add(e.marginXS).equal())})`}}},[`&${t}-pending\n ${t}-item-last\n ${t}-item-tail`]:{display:"block",height:`calc(100% - ${(0,c.zA)(e.margin)})`,borderInlineStart:`${(0,c.zA)(e.tailWidth)} dotted ${e.tailColor}`},[`&${t}-reverse\n ${t}-item-last\n ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${(0,c.zA)(e.margin)})`,borderInlineStart:`${(0,c.zA)(e.tailWidth)} dotted ${e.tailColor}`},[`${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:`calc(50% - ${(0,c.zA)(e.marginSM)})`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${(0,c.zA)(e.marginSM)})`,width:`calc(50% - ${(0,c.zA)(e.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}};var g=(0,d.OF)("Timeline",(e=>{const t=(0,u.h1)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[p(t)]}),(e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:3*e.lineWidth,dotBg:e.colorBgContainer,itemPaddingBottom:1.25*e.padding}))),m=e=>{var{prefixCls:t,className:n,color:r="blue",dot:a,pending:c=!1,position:s,label:d,children:u}=e,p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:g}=o.useContext(i.QO),m=g("timeline",t),f=l()(`${m}-item`,{[`${m}-item-pending`]:c},n),b=/blue|red|green|gray/.test(r||"")?void 0:r,h=l()(`${m}-item-head`,{[`${m}-item-head-custom`]:!!a,[`${m}-item-head-${r}`]:!b});return o.createElement("li",Object.assign({},p,{className:f}),d&&o.createElement("div",{className:`${m}-item-label`},d),o.createElement("div",{className:`${m}-item-tail`}),o.createElement("div",{className:h,style:{borderColor:b,color:b}},a),o.createElement("div",{className:`${m}-item-content`},u))},f=n(60436),b=n(93567),h=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n},$=e=>{var{prefixCls:t,className:n,pending:r=!1,children:i,items:a,rootClassName:c,reverse:s=!1,direction:d,hashId:u,pendingDot:p,mode:g=""}=e,$=h(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const v=(e,n)=>"alternate"===g?"right"===e?`${t}-item-right`:"left"===e||n%2==0?`${t}-item-left`:`${t}-item-right`:"left"===g?`${t}-item-left`:"right"===g||"right"===e?`${t}-item-right`:"",y=(0,f.A)(a||[]),x="boolean"==typeof r?null:r;r&&y.push({pending:!!r,dot:p||o.createElement(b.A,null),children:x}),s&&y.reverse();const S=y.length,w=`${t}-item-last`,C=y.filter((e=>!!e)).map(((e,t)=>{var n;const i=t===S-2?w:"",a=t===S-1?w:"",{className:c}=e,d=h(e,["className"]);return o.createElement(m,Object.assign({},d,{className:l()([c,!s&&r?i:a,v(null!==(n=null==e?void 0:e.position)&&void 0!==n?n:"",t)]),key:(null==e?void 0:e.key)||t}))})),O=y.some((e=>!!(null==e?void 0:e.label))),k=l()(t,{[`${t}-pending`]:!!r,[`${t}-reverse`]:!!s,[`${t}-${g}`]:!!g&&!O,[`${t}-label`]:O,[`${t}-rtl`]:"rtl"===d},n,c,u);return o.createElement("ul",Object.assign({},$,{className:k}),C)},v=n(82546);const y=e=>{const{getPrefixCls:t,direction:n,timeline:r}=o.useContext(i.QO),{prefixCls:c,children:s,items:d,className:u,style:p}=e,m=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["prefixCls","children","items","className","style"]),f=t("timeline",c),b=(0,a.A)(f),[h,y,x]=g(f,b),S=function(e,t){return e&&Array.isArray(e)?e:(0,v.A)(t).map((e=>{var t,n;return Object.assign({children:null!==(n=null===(t=null==e?void 0:e.props)||void 0===t?void 0:t.children)&&void 0!==n?n:""},e.props)}))}(d,s);return h(o.createElement($,Object.assign({},m,{className:l()(null==r?void 0:r.className,u,x,b),style:Object.assign(Object.assign({},null==r?void 0:r.style),p),prefixCls:f,direction:n,items:S,hashId:y})))};y.Item=m;var x=y},37977:function(e,t,n){n.d(t,{A:function(){return j}});var o=n(96540),r=n(46942),l=n.n(r),i=n(80427),a=n(12533),c=n(60275),s=n(23723),d=n(13257),u=n(40682),p=n(18877),g=n(72616),m=n(62279),f=n(76327),b=n(11320),h=n(60138),$=n(25905),v=n(99077),y=n(95201),x=n(20791),S=n(31108),w=n(80336),C=n(20106);const O=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:l,zIndexPopup:i,controlHeight:a,boxShadowSecondary:c,paddingSM:s,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,$.dF)(e)),{position:"absolute",zIndex:i,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:a,minHeight:a,padding:`${(0,h.zA)(e.calc(s).div(2).equal())} ${(0,h.zA)(d)}`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:l,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(l,y.Zs)}},[`${t}-content`]:{position:"relative"}}),(0,S.A)(e,((e,n)=>{let{darkColor:o}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{"--antd-arrow-background-color":o}}}}))),{"&-rtl":{direction:"rtl"}})},(0,y.Ay)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},k=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,y.Ke)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,x.n)((0,w.h1)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)})));var A=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,C.OF)("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:o}=e,r=(0,w.h1)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:o});return[O(r),(0,v.aB)(e,"zoom-big-fast")]}),k,{resetStyle:!1,injectStyle:t})(e)},I=n(54121);function E(e,t){const n=(0,I.nP)(t),o=l()({[`${e}-${t}`]:t&&n}),r={},i={};return t&&!n&&(r.background=t,i["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:i}}const z=o.forwardRef(((e,t)=>{var n,r;const{prefixCls:h,openClassName:$,getTooltipContainer:v,overlayClassName:y,color:x,overlayInnerStyle:S,children:w,afterOpenChange:C,afterVisibleChange:O,destroyTooltipOnHide:k,arrow:I=!0,title:z,overlay:j,builtinPlacements:P,arrowPointAtCenter:T=!1,autoAdjustOverflow:B=!0}=e,M=!!I,[,H]=(0,b.Ay)(),{getPopupContainer:R,getPrefixCls:N,direction:D}=o.useContext(m.QO),L=(0,p.rJ)("Tooltip"),F=o.useRef(null),_=()=>{var e;null===(e=F.current)||void 0===e||e.forceAlign()};o.useImperativeHandle(t,(()=>({forceAlign:_,forcePopupAlign:()=>{L.deprecated(!1,"forcePopupAlign","forceAlign"),_()}})));const[W,X]=(0,a.A)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),q=!z&&!j&&0!==z,K=o.useMemo((()=>{var e,t;let n=T;return"object"==typeof I&&(n=null!==(t=null!==(e=I.pointAtCenter)&&void 0!==e?e:I.arrowPointAtCenter)&&void 0!==t?t:T),P||(0,d.A)({arrowPointAtCenter:n,autoAdjustOverflow:B,arrowWidth:M?H.sizePopupArrow:0,borderRadius:H.borderRadius,offset:H.marginXXS,visibleFirst:!0})}),[T,I,P,H]),G=o.useMemo((()=>0===z?z:j||z||""),[j,z]),V=o.createElement(f.K6,null,"function"==typeof G?G():G),{getPopupContainer:U,placement:Q="top",mouseEnterDelay:Y=.1,mouseLeaveDelay:Z=.1,overlayStyle:J,rootClassName:ee}=e,te=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ne=N("tooltip",h),oe=N(),re=e["data-popover-inject"];let le=W;"open"in e||"visible"in e||!q||(le=!1);const ie=o.isValidElement(w)&&!(0,u.zv)(w)?w:o.createElement("span",null,w),ae=ie.props,ce=ae.className&&"string"!=typeof ae.className?ae.className:l()(ae.className,$||`${ne}-open`),[se,de,ue]=A(ne,!re),pe=E(ne,x),ge=pe.arrowStyle,me=Object.assign(Object.assign({},S),pe.overlayStyle),fe=l()(y,{[`${ne}-rtl`]:"rtl"===D},pe.className,ee,de,ue),[be,he]=(0,c.YK)("Tooltip",te.zIndex),$e=o.createElement(i.A,Object.assign({},te,{zIndex:be,showArrow:M,placement:Q,mouseEnterDelay:Y,mouseLeaveDelay:Z,prefixCls:ne,overlayClassName:fe,overlayStyle:Object.assign(Object.assign({},ge),J),getTooltipContainer:U||v||R,ref:F,builtinPlacements:K,overlay:V,visible:le,onVisibleChange:t=>{var n,o;X(!q&&t),q||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(o=e.onVisibleChange)||void 0===o||o.call(e,t))},afterVisibleChange:null!=C?C:O,overlayInnerStyle:me,arrowContent:o.createElement("span",{className:`${ne}-arrow-content`}),motion:{motionName:(0,s.b)(oe,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!k}),le?(0,u.Ob)(ie,{className:ce}):ie);return se(o.createElement(g.A.Provider,{value:he},$e))}));z._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:c,overlayInnerStyle:s}=e,{getPrefixCls:d}=o.useContext(m.QO),u=d("tooltip",t),[p,g,f]=A(u),b=E(u,c),h=b.arrowStyle,$=Object.assign(Object.assign({},s),b.overlayStyle),v=l()(g,f,u,`${u}-pure`,`${u}-placement-${r}`,n,b.className);return p(o.createElement("div",{className:v,style:h},o.createElement("div",{className:`${u}-arrow`}),o.createElement(i.z,Object.assign({},e,{className:g,prefixCls:u,overlayInnerStyle:$}),a)))};var j=z},21102:function(e,t,n){n.d(t,{A:function(){return B}});var o=n(96540),r=n(46942),l=n.n(r),i=n(14884),a=n(19853),c=n(60275),s=n(23723),d=n(53425),u=n(58182),p=n(62279),g=n(35128),m=n(98119),f=n(20934),b=n(829),h=n(94241),$=n(90124),v=n(36467),y=n(21560),x=n(26017),S=n(21381),w=n(76327),C=n(99373),O=n(60138),k=n(77391),A=n(80336),I=n(20106),E=n(53142);const z=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:o}=e,r=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${(0,O.zA)(e.paddingXS)} ${(0,O.zA)(e.calc(e.paddingXS).div(2).equal())}`},(0,E.k8)(n,(0,A.h1)(e,{colorBgContainer:o})),{[r]:{borderRadius:0,[`${r}-list-holder-inner`]:{alignItems:"stretch",[`${r}-treenode`]:{[`${r}-node-content-wrapper`]:{flex:"auto"}}}}},(0,k.gd)(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${r}-switcher${r}-switcher_close`]:{[`${r}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};const j=(e,t)=>{var n,{prefixCls:r,size:d,disabled:O,bordered:k=!0,className:j,rootClassName:P,treeCheckable:T,multiple:B,listHeight:M=256,listItemHeight:H=26,placement:R,notFoundContent:N,switcherIcon:D,treeLine:L,getPopupContainer:F,popupClassName:_,dropdownClassName:W,treeIcon:X=!1,transitionName:q,choiceTransitionName:K="",status:G,treeExpandAction:V,builtinPlacements:U,dropdownMatchSelectWidth:Q,popupMatchSelectWidth:Y,allowClear:Z,variant:J,dropdownStyle:ee,tagRender:te}=e,ne=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]);const{getPopupContainer:oe,getPrefixCls:re,renderEmpty:le,direction:ie,virtual:ae,popupMatchSelectWidth:ce,popupOverflow:se}=o.useContext(p.QO),de=re(),ue=re("select",r),pe=re("select-tree",r),ge=re("tree-select",r),{compactSize:me,compactItemClassnames:fe}=(0,w.RQ)(ue,ie),be=(0,f.A)(ue),he=(0,f.A)(ge),[$e,ve,ye]=(0,y.A)(ue,be),[xe]=function(e,t,n){return(0,I.OF)("TreeSelect",(e=>{const n=(0,A.h1)(e,{treePrefixCls:t});return[z(n)]}),E.bi)(e,n)}(ge,pe,he),[Se,we]=(0,$.A)(J,k),Ce=l()(_||W,`${ge}-dropdown`,{[`${ge}-dropdown-rtl`]:"rtl"===ie},P,ye,be,he,ve),Oe=!(!T&&!B),ke=(0,S.A)(ne.suffixIcon,ne.showArrow),Ae=null!==(n=null!=Y?Y:Q)&&void 0!==n?n:ce,{status:Ie,hasFeedback:Ee,isFormItemInput:ze,feedbackIcon:je}=o.useContext(h.$W),Pe=(0,u.v)(Ie,G),{suffixIcon:Te,removeIcon:Be,clearIcon:Me}=(0,x.A)(Object.assign(Object.assign({},ne),{multiple:Oe,showSuffixIcon:ke,hasFeedback:Ee,feedbackIcon:je,prefixCls:ue,componentName:"TreeSelect"})),He=!0===Z?{clearIcon:Me}:Z;let Re;Re=void 0!==N?N:(null==le?void 0:le("Select"))||o.createElement(g.A,{componentName:"Select"});const Ne=(0,a.A)(ne,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),De=o.useMemo((()=>void 0!==R?R:"rtl"===ie?"bottomRight":"bottomLeft"),[R,ie]),Le=(0,b.A)((e=>{var t;return null!==(t=null!=d?d:me)&&void 0!==t?t:e})),Fe=o.useContext(m.A),_e=null!=O?O:Fe,We=l()(!r&&ge,{[`${ue}-lg`]:"large"===Le,[`${ue}-sm`]:"small"===Le,[`${ue}-rtl`]:"rtl"===ie,[`${ue}-${Se}`]:we,[`${ue}-in-form-item`]:ze},(0,u.L)(ue,Pe,Ee),fe,j,P,ye,be,he,ve),[Xe]=(0,c.YK)("SelectLike",null==ee?void 0:ee.zIndex);return $e(xe(o.createElement(i.Ay,Object.assign({virtual:ae,disabled:_e},Ne,{dropdownMatchSelectWidth:Ae,builtinPlacements:(0,v.A)(U,se),ref:t,prefixCls:ue,className:We,listHeight:M,listItemHeight:H,treeCheckable:T?o.createElement("span",{className:`${ue}-tree-checkbox-inner`}):T,treeLine:!!L,suffixIcon:Te,multiple:Oe,placement:De,removeIcon:Be,allowClear:He,switcherIcon:e=>o.createElement(C.A,{prefixCls:pe,switcherIcon:D,treeNodeProps:e,showLine:L}),showTreeIcon:X,notFoundContent:Re,getPopupContainer:F||oe,treeMotion:null,dropdownClassName:Ce,dropdownStyle:Object.assign(Object.assign({},ee),{zIndex:Xe}),choiceTransitionName:(0,s.b)(de,"",K),transitionName:(0,s.b)(de,"slide-up",q),treeExpandAction:V,tagRender:Oe?te:void 0}))))},P=o.forwardRef(j),T=(0,d.A)(P);P.TreeNode=i.nF,P.SHOW_ALL=i.u6,P.SHOW_PARENT=i.FA,P.SHOW_CHILD=i.vj,P._InternalPanelDoNotUseOrYouWillBeFired=T;var B=P},87937:function(e,t,n){n.d(t,{A:function(){return z}});var o=n(1444),r=n(60436),l=n(96540),i=n(56179),a=n(50278),c=n(28170),s=n(46942),d=n.n(s),u=n(84036),p=n(7974),g=n(62279),m=n(45059),f=n(23723),b=n(11320),h=n(53142);function $(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:i="ltr"}=e,a="ltr"===i?"left":"right",c="ltr"===i?"right":"left",s={[a]:-n*r+4,[c]:0};switch(t){case-1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[a]=r+4}return l.createElement("div",{style:s,className:`${o}-drop-indicator`})}var v=n(99373);const y=l.forwardRef(((e,t)=>{var n;const{getPrefixCls:r,direction:i,virtual:a,tree:c}=l.useContext(g.QO),{prefixCls:s,className:u,showIcon:p=!1,showLine:y,switcherIcon:x,blockNode:S=!1,children:w,checkable:C=!1,selectable:O=!0,draggable:k,motion:A,style:I}=e,E=r("tree",s),z=r(),j=null!=A?A:Object.assign(Object.assign({},(0,f.A)(z)),{motionAppear:!1}),P=Object.assign(Object.assign({},e),{checkable:C,selectable:O,showIcon:p,motion:j,blockNode:S,showLine:Boolean(y),dropIndicatorRender:$}),[T,B,M]=(0,h.Ay)(E),[,H]=(0,b.Ay)(),R=H.paddingXS/2+((null===(n=H.Tree)||void 0===n?void 0:n.titleHeight)||H.controlHeightSM),N=l.useMemo((()=>{if(!k)return!1;let e={};switch(typeof k){case"function":e.nodeDraggable=k;break;case"object":e=Object.assign({},k)}return!1!==e.icon&&(e.icon=e.icon||l.createElement(m.A,null)),e}),[k]);return T(l.createElement(o.A,Object.assign({itemHeight:R,ref:t,virtual:a},P,{style:Object.assign(Object.assign({},null==c?void 0:c.style),I),prefixCls:E,className:d()({[`${E}-icon-hide`]:!p,[`${E}-block-node`]:S,[`${E}-unselectable`]:!O,[`${E}-rtl`]:"rtl"===i},null==c?void 0:c.className,u,B,M),direction:i,checkable:C?l.createElement("span",{className:`${E}-checkbox-inner`}):C,selectable:O,switcherIcon:e=>l.createElement(v.A,{prefixCls:E,switcherIcon:x,treeNodeProps:e,showLine:y}),draggable:N}),w))}));var x=y;function S(e,t,n){const{key:o,children:r}=n;e.forEach((function(e){const l=e[o],i=e[r];!1!==t(l,e)&&S(i||[],t,n)}))}function w(e,t,n){const o=(0,r.A)(t),l=[];return S(e,((e,t)=>{const n=o.indexOf(e);return-1!==n&&(l.push(t),o.splice(n,1)),!!o.length}),(0,p.AZ)(n)),l}var C=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function O(e){const{isLeaf:t,expanded:n}=e;return t?l.createElement(i.A,null):n?l.createElement(a.A,null):l.createElement(c.A,null)}function k(e){let{treeData:t,children:n}=e;return t||(0,p.vH)(n)}const A=(e,t)=>{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:i}=e,a=C(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const c=l.useRef(),s=l.useRef(),[m,f]=l.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[b,h]=l.useState((()=>(()=>{const{keyEntities:e}=(0,p.cG)(k(a));let t;return t=n?Object.keys(e):o?(0,u.hr)(a.expandedKeys||i||[],e):a.expandedKeys||i||[],t})()));l.useEffect((()=>{"selectedKeys"in a&&f(a.selectedKeys)}),[a.selectedKeys]),l.useEffect((()=>{"expandedKeys"in a&&h(a.expandedKeys)}),[a.expandedKeys]);const{getPrefixCls:$,direction:v}=l.useContext(g.QO),{prefixCls:y,className:A,showIcon:I=!0,expandAction:E="click"}=a,z=C(a,["prefixCls","className","showIcon","expandAction"]),j=$("tree",y),P=d()(`${j}-directory`,{[`${j}-directory-rtl`]:"rtl"===v},A);return l.createElement(x,Object.assign({icon:O,ref:t,blockNode:!0},z,{showIcon:I,expandAction:E,prefixCls:j,className:P,expandedKeys:b,selectedKeys:m,onSelect:(e,t)=>{var n;const{multiple:o,fieldNames:l}=a,{node:i,nativeEvent:d}=t,{key:u=""}=i,g=k(a),m=Object.assign(Object.assign({},t),{selected:!0}),h=(null==d?void 0:d.ctrlKey)||(null==d?void 0:d.metaKey),$=null==d?void 0:d.shiftKey;let v;o&&h?(v=e,c.current=u,s.current=v,m.selectedNodes=w(g,v,l)):o&&$?(v=Array.from(new Set([].concat((0,r.A)(s.current||[]),(0,r.A)(function(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:r,fieldNames:l}=e;const i=[];let a=0;return o&&o===r?[o]:o&&r?(S(t,(e=>{if(2===a)return!1;if(function(e){return e===o||e===r}(e)){if(i.push(e),0===a)a=1;else if(1===a)return a=2,!1}else 1===a&&i.push(e);return n.includes(e)}),(0,p.AZ)(l)),i):[]}({treeData:g,expandedKeys:b,startKey:u,endKey:c.current,fieldNames:l}))))),m.selectedNodes=w(g,v,l)):(v=[u],c.current=u,s.current=v,m.selectedNodes=w(g,v,l)),null===(n=a.onSelect)||void 0===n||n.call(a,v,m),"selectedKeys"in a||f(v)},onExpand:(e,t)=>{var n;return"expandedKeys"in a||h(e),null===(n=a.onExpand)||void 0===n?void 0:n.call(a,e,t)}}))};var I=l.forwardRef(A);const E=x;E.DirectoryTree=I,E.TreeNode=o.n;var z=E},53142:function(e,t,n){n.d(t,{bi:function(){return f},k8:function(){return m}});var o=n(60138),r=n(77391),l=n(25905),i=n(60977),a=n(80336),c=n(20106);const s=new o.Mo("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),d=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),u=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,o.zA)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),p=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:a,nodeSelectedBg:c,nodeHoverBg:p}=t,g=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,l.dF)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,l.jk)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:i,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:s,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,o.zA)(i)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:a,lineHeight:`${(0,o.zA)(a)}`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},d(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:a,margin:0,lineHeight:`${(0,o.zA)(a)}`,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,borderRadius:t.borderRadius,"&-noop":{cursor:"unset"},[`&:not(${n}-switcher-noop):hover`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(a).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(a).div(2).equal()).mul(.8).equal(),height:t.calc(a).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:g,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:a,margin:0,padding:`0 ${(0,o.zA)(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:`${(0,o.zA)(a)}`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:p},[`&${n}-node-selected`]:{backgroundColor:c},[`${n}-iconEle`]:{display:"inline-block",width:a,height:a,lineHeight:`${(0,o.zA)(a)}`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${(0,o.zA)(a)}`,userSelect:"none"},u(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(a).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,o.zA)(t.calc(a).div(2).equal())} !important`}}}}})}},g=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:o,directoryNodeSelectedBg:r,directoryNodeSelectedColor:l}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:l,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:r},[`${t}-switcher`]:{color:l},[`${t}-node-content-wrapper`]:{color:l,background:"transparent"}}}}}},m=(e,t)=>{const n=`.${e}`,o=`${n}-treenode`,r=t.calc(t.paddingXS).div(2).equal(),l=(0,a.h1)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r});return[p(e,l),g(l)]},f=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}};t.Ay=(0,c.OF)("Tree",((e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,r.gd)(`${n}-checkbox`,e)},m(n,e),(0,i.A)(e)]}),(e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},f(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})}))},99373:function(e,t,n){var o=n(96540),r=n(50078),l=n(56179),i=n(93567),a=n(65765),c=n(55140),s=n(46942),d=n.n(s),u=n(40682);t.A=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:s,showLine:p}=e,{isLeaf:g,expanded:m,loading:f}=s;if(f)return o.createElement(i.A,{className:`${t}-switcher-loading-icon`});let b;if(p&&"object"==typeof p&&(b=p.showLeafIcon),g){if(!p)return null;if("boolean"!=typeof b&&b){const e="function"==typeof b?b(s):b,n=`${t}-switcher-line-custom-icon`;return o.isValidElement(e)?(0,u.Ob)(e,{className:d()(e.props.className||"",n)}):e}return b?o.createElement(l.A,{className:`${t}-switcher-line-icon`}):o.createElement("span",{className:`${t}-switcher-leaf-line`})}const h=`${t}-switcher-icon`,$="function"==typeof n?n(s):n;return o.isValidElement($)?(0,u.Ob)($,{className:d()($.props.className||"",h)}):void 0!==$?$:p?m?o.createElement(a.A,{className:`${t}-switcher-line-icon`}):o.createElement(c.A,{className:`${t}-switcher-line-icon`}):o.createElement(r.A,{className:h})}},57529:function(e,t,n){n.d(t,{A:function(){return ce}});var o=n(96540),r=n(40261),l=n(46942),i=n.n(l),a=n(26076),c=n(82546),s=n(30981),d=n(12533),u=n(19853),p=n(8719),g=n(99777),m=n(55643),f=n(62279),b=n(19155),h=n(37977),$=n(151),v=n(16928),y=n(40682),x=n(88592),S=n(58766),w=n(20106),C=n(20439),O=n(60138);const k=e=>{const t={};return[1,2,3,4,5].forEach((n=>{t[`\n h${n}&,\n div&-h${n},\n div&-h${n} > textarea,\n h${n}\n `]=((e,t,n,o)=>{const{titleMarginBottom:r,fontWeightStrong:l}=o;return{marginBottom:r,color:n,fontWeight:l,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)})),t},A=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,S.Y)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},I=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:C.bK[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),E=e=>{const{componentCls:t,paddingSM:n}=e,o=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(o).mul(-1).equal(),marginBottom:`calc(1em - ${(0,O.zA)(o)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},z=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),j=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},k(e)),{[`\n & + h1${t},\n & + h2${t},\n & + h3${t},\n & + h4${t},\n & + h5${t}\n `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),I(e)),A(e)),{[`\n ${t}-expand,\n ${t}-collapse,\n ${t}-edit,\n ${t}-copy\n `]:Object.assign(Object.assign({},(0,S.Y)(e)),{marginInlineStart:e.marginXXS})}),E(e)),z(e)),{"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}};var P=(0,w.OF)("Typography",(e=>[j(e)]),(()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}))),T=e=>{const{prefixCls:t,"aria-label":n,className:r,style:l,direction:a,maxLength:c,autoSize:s=!0,value:d,onSave:u,onCancel:p,onEnd:g,component:m,enterIcon:f=o.createElement($.A,null)}=e,b=o.useRef(null),h=o.useRef(!1),S=o.useRef(),[w,C]=o.useState(d);o.useEffect((()=>{C(d)}),[d]),o.useEffect((()=>{if(b.current&&b.current.resizableTextArea){const{textArea:e}=b.current.resizableTextArea;e.focus();const{length:t}=e.value;e.setSelectionRange(t,t)}}),[]);const O=()=>{u(w.trim())},k=m?`${t}-${m}`:"",[A,I,E]=P(t),z=i()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===a},r,k,I,E);return A(o.createElement("div",{className:z,style:l},o.createElement(x.A,{ref:b,maxLength:c,value:w,onChange:e=>{let{target:t}=e;C(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;h.current||(S.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:o,metaKey:r,shiftKey:l}=e;S.current!==t||h.current||n||o||r||l||(t===v.A.ENTER?(O(),null==g||g()):t===v.A.ESC&&p())},onCompositionStart:()=>{h.current=!0},onCompositionEnd:()=>{h.current=!1},onBlur:()=>{O()},"aria-label":n,rows:1,autoSize:s}),null!==f?(0,y.Ob)(f,{className:`${t}-edit-content-confirm`}):null))},B=n(17965),M=n.n(B),H=n(81470),R=e=>{let{copyConfig:t,children:n}=e;const[r,l]=o.useState(!1),[i,a]=o.useState(!1),c=o.useRef(null),s=()=>{c.current&&clearTimeout(c.current)},d={};return t.format&&(d.format=t.format),o.useEffect((()=>s),[]),{copied:r,copyLoading:i,onClick:(0,H._q)((e=>{return o=void 0,r=void 0,u=function*(){var o;null==e||e.preventDefault(),null==e||e.stopPropagation(),a(!0);try{const r="function"==typeof t.text?yield t.text():t.text;M()(r||String(n)||"",d),a(!1),l(!0),s(),c.current=setTimeout((()=>{l(!1)}),3e3),null===(o=t.onCopy)||void 0===o||o.call(t,e)}catch(e){throw a(!1),e}},new((i=void 0)||(i=Promise))((function(e,t){function n(e){try{a(u.next(e))}catch(e){t(e)}}function l(e){try{a(u.throw(e))}catch(e){t(e)}}function a(t){var o;t.done?e(t.value):(o=t.value,o instanceof i?o:new i((function(e){e(o)}))).then(n,l)}a((u=u.apply(o,r||[])).next())}));var o,r,i,u}))}};function N(e,t){return o.useMemo((()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]}),[e])}const D=o.forwardRef(((e,t)=>{const{prefixCls:n,component:r="article",className:l,rootClassName:a,setContentRef:c,children:s,direction:d,style:u}=e,g=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:m,direction:b,typography:h}=o.useContext(f.QO),$=null!=d?d:b;let v=t;c&&(v=(0,p.K4)(t,c));const y=m("typography",n),[x,S,w]=P(y),C=i()(y,null==h?void 0:h.className,{[`${y}-rtl`]:"rtl"===$},l,a,S,w),O=Object.assign(Object.assign({},null==h?void 0:h.style),u);return x(o.createElement(r,Object.assign({className:C,style:O,ref:v},g),s))}));var L=D,F=n(26067),_=n(57046),W=n(93567);function X(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function q(e,t,n){return!0===e||void 0===e?t:e||n&&t}var K=e=>{const{prefixCls:t,copied:n,locale:r,iconOnly:l,tooltips:a,icon:c,loading:s,tabIndex:d,onCopy:u}=e,p=X(a),g=X(c),{copied:f,copy:b}=null!=r?r:{},$=n?q(p[1],f):q(p[0],b),v="string"==typeof $?$:n?f:b;return o.createElement(h.A,{key:"copy",title:$},o.createElement(m.A,{className:i()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:l}),onClick:u,"aria-label":v,tabIndex:d},n?q(g[1],o.createElement(F.A,null),!0):q(g[0],s?o.createElement(W.A,null):o.createElement(_.A,null),!0)))},G=n(60436);const V=o.forwardRef(((e,t)=>{let{style:n,children:r}=e;const l=o.useRef(null);return o.useImperativeHandle(t,(()=>({isExceed:()=>{const e=l.current;return e.scrollHeight>e.clientHeight},getHeight:()=>l.current.clientHeight}))),o.createElement("span",{"aria-hidden":!0,ref:l,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)}));function U(e){const t=typeof e;return"string"===t||"number"===t}function Q(e,t){let n=0;const o=[];for(let r=0;r<e.length;r+=1){if(n===t)return o;const l=e[r],i=n+(U(l)?String(l).length:1);if(i>t){const e=t-n;return o.push(String(l).slice(0,e)),o}o.push(l),n=i}return e}const Y={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Z(e){const{enableMeasure:t,width:n,text:r,children:l,rows:i,expanded:a,miscDeps:d,onEllipsis:u}=e,p=o.useMemo((()=>(0,c.A)(r)),[r]),g=o.useMemo((()=>function(e){let t=0;return e.forEach((e=>{U(e)?t+=String(e).length:t+=1})),t}(p)),[r]),m=o.useMemo((()=>l(p,!1)),[r]),[f,b]=o.useState(null),h=o.useRef(null),$=o.useRef(null),v=o.useRef(null),y=o.useRef(null),[x,S]=o.useState(!1),[w,C]=o.useState(0),[O,k]=o.useState(0);(0,s.A)((()=>{C(t&&n&&g?1:0)}),[n,r,i,t,p]),(0,s.A)((()=>{var e,t,n,o;if(1===w){const r=!!(null===(e=$.current)||void 0===e?void 0:e.isExceed());C(r?2:3),b(r?[0,g]:null),S(r);const l=(null===(t=$.current)||void 0===t?void 0:t.getHeight())||0,a=(1===i?0:(null===(n=v.current)||void 0===n?void 0:n.getHeight())||0)+((null===(o=y.current)||void 0===o?void 0:o.getHeight())||0),c=Math.max(l,a);k(c+1),u(r)}}),[w]);const A=f?Math.ceil((f[0]+f[1])/2):0;(0,s.A)((()=>{var e;const[t,n]=f||[0,0];if(t!==n){const o=((null===(e=h.current)||void 0===e?void 0:e.getHeight())||0)>O;let r=A;n-t==1&&(r=o?t:n),b(o?[t,r]:[r,n])}}),[f,A]);const I=o.useMemo((()=>{if(2!==w||!f||f[0]!==f[1]){const e=l(p,!1);return 3!==w&&0!==w?o.createElement("span",{style:Object.assign(Object.assign({},Y),{WebkitLineClamp:i})},e):e}return l(a?p:Q(p,f[0]),x)}),[a,w,f,p].concat((0,G.A)(d))),E={width:n,whiteSpace:"normal",margin:0,padding:0};return o.createElement(o.Fragment,null,I,1===w&&o.createElement(o.Fragment,null,o.createElement(V,{style:Object.assign(Object.assign(Object.assign({},E),Y),{WebkitLineClamp:i}),ref:$},m),o.createElement(V,{style:Object.assign(Object.assign(Object.assign({},E),Y),{WebkitLineClamp:i-1}),ref:v},m),o.createElement(V,{style:Object.assign(Object.assign(Object.assign({},E),Y),{WebkitLineClamp:1}),ref:y},l([],!0))),2===w&&f&&f[0]!==f[1]&&o.createElement(V,{style:Object.assign(Object.assign({},E),{top:400}),ref:h},l(Q(p,A),!0)))}var J=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:l}=e;return(null==l?void 0:l.title)&&t?o.createElement(h.A,Object.assign({open:!!n&&void 0},l),r):r},ee=o.forwardRef(((e,t)=>{var n,l,$;const{prefixCls:v,className:y,style:x,type:S,disabled:w,children:C,ellipsis:O,editable:k,copyable:A,component:I,title:E}=e,z=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:j,direction:P}=o.useContext(f.QO),[B]=(0,b.A)("Text"),M=o.useRef(null),H=o.useRef(null),D=j("typography",v),F=(0,u.A)(z,["mark","code","delete","underline","strong","keyboard","italic"]),[_,W]=N(k),[X,q]=(0,d.A)(!1,{value:W.editing}),{triggerType:G=["icon"]}=W,V=e=>{var t;e&&(null===(t=W.onStart)||void 0===t||t.call(W)),q(e)},U=(e=>{const t=(0,o.useRef)();return(0,o.useEffect)((()=>{t.current=e})),t.current})(X);((e,t)=>{const n=o.useRef(!1);o.useEffect((()=>{n.current?e():n.current=!0}),t)})((()=>{var e;!X&&U&&(null===(e=H.current)||void 0===e||e.focus())}),[X]);const Q=e=>{null==e||e.preventDefault(),V(!0)},[Y,ee]=N(A),{copied:te,copyLoading:ne,onClick:oe}=R({copyConfig:ee,children:C}),[re,le]=o.useState(!1),[ie,ae]=o.useState(!1),[ce,se]=o.useState(!1),[de,ue]=o.useState(!1),[pe,ge]=o.useState(!0),[me,fe]=N(O,{expandable:!1,symbol:e=>e?null==B?void 0:B.collapse:null==B?void 0:B.expand}),[be,he]=(0,d.A)(fe.defaultExpanded||!1,{value:fe.expanded}),$e=me&&(!be||"collapsible"===fe.expandable),{rows:ve=1}=fe,ye=o.useMemo((()=>$e&&(void 0!==fe.suffix||fe.onEllipsis||fe.expandable||_||Y)),[$e,fe,_,Y]);(0,s.A)((()=>{me&&!ye&&(le((0,g.F)("webkitLineClamp")),ae((0,g.F)("textOverflow")))}),[ye,me]);const[xe,Se]=o.useState($e),we=o.useMemo((()=>!ye&&(1===ve?ie:re)),[ye,ie,re]);(0,s.A)((()=>{Se(we&&$e)}),[we,$e]);const Ce=$e&&(xe?de:ce),Oe=$e&&1===ve&&xe,ke=$e&&ve>1&&xe,[Ae,Ie]=o.useState(0),Ee=e=>{var t;se(e),ce!==e&&(null===(t=fe.onEllipsis)||void 0===t||t.call(fe,e))};o.useEffect((()=>{const e=M.current;if(me&&xe&&e){const t=ke?e.offsetHeight<e.scrollHeight:e.offsetWidth<e.scrollWidth;de!==t&&ue(t)}}),[me,xe,C,ke,pe,Ae]),o.useEffect((()=>{const e=M.current;if("undefined"==typeof IntersectionObserver||!e||!xe||!$e)return;const t=new IntersectionObserver((()=>{ge(!!e.offsetParent)}));return t.observe(e),()=>{t.disconnect()}}),[xe,$e]);let ze={};ze=!0===fe.tooltip?{title:null!==(n=W.text)&&void 0!==n?n:C}:o.isValidElement(fe.tooltip)?{title:fe.tooltip}:"object"==typeof fe.tooltip?Object.assign({title:null!==(l=W.text)&&void 0!==l?l:C},fe.tooltip):{title:fe.tooltip};const je=o.useMemo((()=>{const e=e=>["string","number"].includes(typeof e);if(me&&!xe)return e(W.text)?W.text:e(C)?C:e(E)?E:e(ze.title)?ze.title:void 0}),[me,xe,E,ze.title,Ce]);if(X)return o.createElement(T,{value:null!==($=W.text)&&void 0!==$?$:"string"==typeof C?C:"",onSave:e=>{var t;null===(t=W.onChange)||void 0===t||t.call(W,e),V(!1)},onCancel:()=>{var e;null===(e=W.onCancel)||void 0===e||e.call(W),V(!1)},onEnd:W.onEnd,prefixCls:D,className:y,style:x,direction:P,component:I,maxLength:W.maxLength,autoSize:W.autoSize,enterIcon:W.enterIcon});const Pe=()=>{const{expandable:e,symbol:t}=fe;return e?be&&"collapsible"!==e?null:o.createElement("a",{key:"expand",className:`${D}-${be?"collapse":"expand"}`,onClick:e=>((e,t)=>{var n;he(t.expanded),null===(n=fe.onExpand)||void 0===n||n.call(fe,e,t)})(e,{expanded:!be}),"aria-label":be?B.collapse:null==B?void 0:B.expand},"function"==typeof t?t(be):t):null},Te=()=>{if(!_)return;const{icon:e,tooltip:t,tabIndex:n}=W,l=(0,c.A)(t)[0]||(null==B?void 0:B.edit),i="string"==typeof l?l:"";return G.includes("icon")?o.createElement(h.A,{key:"edit",title:!1===t?"":l},o.createElement(m.A,{ref:H,className:`${D}-edit`,onClick:Q,"aria-label":i,tabIndex:n},e||o.createElement(r.A,{role:"button"}))):null},Be=e=>[e&&Pe(),Te(),Y?o.createElement(K,Object.assign({key:"copy"},ee,{prefixCls:D,copied:te,locale:B,onCopy:oe,loading:ne,iconOnly:null==C})):null];return o.createElement(a.A,{onResize:e=>{let{offsetWidth:t}=e;Ie(t)},disabled:!$e},(n=>o.createElement(J,{tooltipProps:ze,enableEllipsis:$e,isEllipsis:Ce},o.createElement(L,Object.assign({className:i()({[`${D}-${S}`]:S,[`${D}-disabled`]:w,[`${D}-ellipsis`]:me,[`${D}-single-line`]:$e&&1===ve&&!be,[`${D}-ellipsis-single-line`]:Oe,[`${D}-ellipsis-multiple-line`]:ke},y),prefixCls:v,style:Object.assign(Object.assign({},x),{WebkitLineClamp:ke?ve:void 0}),component:I,ref:(0,p.K4)(n,M,t),direction:P,onClick:G.includes("text")?Q:void 0,"aria-label":null==je?void 0:je.toString(),title:E},F),o.createElement(Z,{enableMeasure:$e&&!xe,text:C,rows:ve,width:Ae,onEllipsis:Ee,expanded:be,miscDeps:[te,be,ne,_,Y]},((t,n)=>function(e,t){let{mark:n,code:r,underline:l,delete:i,strong:a,keyboard:c,italic:s}=e,d=t;function u(e,t){t&&(d=o.createElement(e,{},d))}return u("strong",a),u("u",l),u("del",i),u("code",r),u("mark",n),u("kbd",c),u("i",s),d}(e,o.createElement(o.Fragment,null,t.length>0&&n&&!be&&je?o.createElement("span",{key:"show-content","aria-hidden":!0},t):t,(e=>[e&&!be&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),fe.suffix,Be(e)])(n)))))))))})),te=o.forwardRef(((e,t)=>{var{ellipsis:n,rel:r}=e,l=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["ellipsis","rel"]);const i=Object.assign(Object.assign({},l),{rel:void 0===r&&"_blank"===l.target?"noopener noreferrer":r});return delete i.navigate,o.createElement(ee,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))})),ne=o.forwardRef(((e,t)=>o.createElement(ee,Object.assign({ref:t},e,{component:"div"}))));const oe=(e,t)=>{var{ellipsis:n}=e,r=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["ellipsis"]);const l=o.useMemo((()=>n&&"object"==typeof n?(0,u.A)(n,["expandable","rows"]):n),[n]);return o.createElement(ee,Object.assign({ref:t},r,{ellipsis:l,component:"span"}))};var re=o.forwardRef(oe);const le=[1,2,3,4,5];var ie=o.forwardRef(((e,t)=>{const{level:n=1}=e,r=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["level"]);let l;return l=le.includes(n)?`h${n}`:"h1",o.createElement(ee,Object.assign({ref:t},r,{component:l}))}));const ae=L;ae.Text=re,ae.Link=te,ae.Title=ie,ae.Paragraph=ne;var ce=ae},77829:function(e,t,n){n.d(t,{A:function(){return ie}});var o=n(96540),r=n(60436),l=n(40961),i=n(46942),a=n.n(i),c=n(40778),s=n(12533),d=n(62279),u=n(98119),p=n(19155),g=n(8182),m=n(25905),f=n(60977),b=n(20106),h=n(80336),$=n(60138),v=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${(0,$.zA)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${(0,$.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`\n &:not(${t}-disabled):hover,\n &-hover:not(${t}-disabled)\n `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${(0,$.zA)(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n},\n p${t}-text,\n p${t}-hint\n `]:{color:e.colorTextDisabled}}}}}},y=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSize:r,lineHeight:l,calc:i}=e,a=`${t}-list-item`,c=`${a}-actions`,s=`${a}-action`,d=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,m.t6)()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:i(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},m.L9),{padding:`0 ${(0,$.zA)(e.paddingXS)}`,lineHeight:l,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[c]:{whiteSpace:"nowrap",[s]:{opacity:0},[o]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`\n ${s}:focus-visible,\n &.picture ${s}\n `]:{opacity:1},[`${s}${n}-btn`]:{height:d,border:0,lineHeight:1}},[`${t}-icon ${o}`]:{color:e.colorTextDescription,fontSize:r},[`${a}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:i(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${o}`]:{color:e.colorError},[c]:{[`${o}, ${o}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},x=n(28680),S=e=>{const{componentCls:t}=e,n=new $.Mo("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),o=new $.Mo("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${r}-appear, ${r}-enter, ${r}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${r}-appear, ${r}-enter`]:{animationName:n},[`${r}-leave`]:{animationName:o}}},{[`${t}-wrapper`]:(0,x.p9)(e)},n,o]},w=n(20439);const C=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:o,uploadProgressOffset:r,calc:l}=e,i=`${t}-list`,a=`${i}-item`;return{[`${t}-wrapper`]:{[`\n ${i}${i}-picture,\n ${i}${i}-picture-card,\n ${i}${i}-picture-circle\n `]:{[a]:{position:"relative",height:l(o).add(l(e.lineWidth).mul(2)).add(l(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${(0,$.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:Object.assign(Object.assign({},m.L9),{width:o,height:o,lineHeight:(0,$.zA)(l(o).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:r,width:`calc(100% - ${(0,$.zA)(l(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:l(o).add(e.paddingXS).equal()}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${n}`]:{[`svg path[fill='${w.z1[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${w.z1.primary}']`]:{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:r}}},[`${i}${i}-picture-circle ${a}`]:{[`&, &::before, ${a}-thumbnail`]:{borderRadius:"50%"}}}}},O=e=>{const{componentCls:t,iconCls:n,fontSizeLG:o,colorTextLightSolid:r,calc:l}=e,i=`${t}-list`,a=`${i}-item`,c=e.uploadPicCardSize;return{[`\n ${t}-wrapper${t}-picture-card-wrapper,\n ${t}-wrapper${t}-picture-circle-wrapper\n `]:Object.assign(Object.assign({},(0,m.t6)()),{display:"block",[`${t}${t}-select`]:{width:c,height:c,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${(0,$.zA)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${i}${i}-picture-card, ${i}${i}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${i}-item-container`]:{display:"inline-block",width:c,height:c,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,$.zA)(l(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,$.zA)(l(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`\n ${n}-eye,\n ${n}-download,\n ${n}-delete\n `]:{zIndex:10,width:o,margin:`0 ${(0,$.zA)(e.marginXXS)}`,fontSize:o,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:r,"&:hover":{color:r},svg:{verticalAlign:"baseline"}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${(0,$.zA)(l(e.paddingXS).mul(2).equal())})`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${(0,$.zA)(l(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var k=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};const A=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,m.dF)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}};var I=(0,b.OF)("Upload",(e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:o,controlHeightLG:r,calc:l}=e,i=(0,h.h1)(e,{uploadThumbnailSize:l(t).mul(2).equal(),uploadProgressOffset:l(l(n).div(2)).add(o).equal(),uploadPicCardSize:l(r).mul(2.55).equal()});return[A(i),v(i),C(i),O(i),y(i),S(i),k(i),(0,f.A)(i)]}),(e=>({actionsColor:e.colorTextDescription}))),E=n(36436),z=n(93567),j=n(54466),P=n(90628),T=n(57557),B=n(47447),M=n(23723),H=n(40682),R=n(45038);function N(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function D(e,t){const n=(0,r.A)(t),o=n.findIndex((t=>{let{uid:n}=t;return n===e.uid}));return-1===o?n.push(e):n[o]=e,n}function L(e,t){const n=void 0!==e.uid?"uid":"name";return t.filter((t=>t[n]===e[n]))[0]}const F=e=>0===e.indexOf("image/"),_=e=>{if(e.type&&!e.thumbUrl)return F(e.type);const t=e.thumbUrl||e.url||"",n=function(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n},W=200;function X(e){return new Promise((t=>{if(!e.type||!F(e.type))return void t("");const n=document.createElement("canvas");n.width=W,n.height=W,n.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(n);const o=n.getContext("2d"),r=new Image;if(r.onload=()=>{const{width:e,height:l}=r;let i=W,a=W,c=0,s=0;e>l?(a=l*(W/e),s=-(a-i)/2):(i=e*(W/l),c=-(i-a)/2),o.drawImage(r,c,s,i,a);const d=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(r.src),t(d)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const t=new FileReader;t.onload=()=>{t.result&&"string"==typeof t.result&&(r.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)}))}var q=n(93598),K=n(40756),G=n(30234),V=n(6754),U=n(37977);const Q=o.forwardRef(((e,t)=>{let{prefixCls:n,className:r,style:l,locale:i,listType:c,file:s,items:u,progress:p,iconRender:g,actionIconRender:m,itemRender:f,isImgUrl:b,showPreviewIcon:h,showRemoveIcon:$,showDownloadIcon:v,previewIcon:y,removeIcon:x,downloadIcon:S,onPreview:w,onDownload:C,onClose:O}=e;var k,A;const{status:I}=s,[E,z]=o.useState(I);o.useEffect((()=>{"removed"!==I&&z(I)}),[I]);const[j,P]=o.useState(!1);o.useEffect((()=>{const e=setTimeout((()=>{P(!0)}),300);return()=>{clearTimeout(e)}}),[]);const B=g(s);let M=o.createElement("div",{className:`${n}-icon`},B);if("picture"===c||"picture-card"===c||"picture-circle"===c)if("uploading"===E||!s.thumbUrl&&!s.url){const e=a()(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:"uploading"!==E});M=o.createElement("div",{className:e},B)}else{const e=(null==b?void 0:b(s))?o.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):B,t=a()(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:b&&!b(s)});M=o.createElement("a",{className:t,onClick:e=>w(s,e),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}const H=a()(`${n}-list-item`,`${n}-list-item-${E}`),R="string"==typeof s.linkProps?JSON.parse(s.linkProps):s.linkProps,N=$?m(("function"==typeof x?x(s):x)||o.createElement(q.A,null),(()=>O(s)),n,i.removeFile,!0):null,D=v&&"done"===E?m(("function"==typeof S?S(s):S)||o.createElement(K.A,null),(()=>C(s)),n,i.downloadFile):null,L="picture-card"!==c&&"picture-circle"!==c&&o.createElement("span",{key:"download-delete",className:a()(`${n}-list-item-actions`,{picture:"picture"===c})},D,N),F=a()(`${n}-list-item-name`),_=s.url?[o.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:F,title:s.name},R,{href:s.url,onClick:e=>w(s,e)}),s.name),L]:[o.createElement("span",{key:"view",className:F,onClick:e=>w(s,e),title:s.name},s.name),L],W=h&&(s.url||s.thumbUrl)?o.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:e=>w(s,e),title:i.previewFile},"function"==typeof y?y(s):y||o.createElement(G.A,null)):null,X=("picture-card"===c||"picture-circle"===c)&&"uploading"!==E&&o.createElement("span",{className:`${n}-list-item-actions`},W,"done"===E&&D,N),{getPrefixCls:Q}=o.useContext(d.QO),Y=Q(),Z=o.createElement("div",{className:H},M,_,X,j&&o.createElement(T.Ay,{motionName:`${Y}-fade`,visible:"uploading"===E,motionDeadline:2e3},(e=>{let{className:t}=e;const r="percent"in s?o.createElement(V.A,Object.assign({},p,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return o.createElement("div",{className:a()(`${n}-list-item-progress`,t)},r)}))),J=s.response&&"string"==typeof s.response?s.response:(null===(k=s.error)||void 0===k?void 0:k.statusText)||(null===(A=s.error)||void 0===A?void 0:A.message)||i.uploadError,ee="error"===E?o.createElement(U.A,{title:J,getPopupContainer:e=>e.parentNode},Z):Z;return o.createElement("div",{className:a()(`${n}-list-item-container`,r),style:l,ref:t},f?f(ee,s,u,{download:C.bind(null,s),preview:w.bind(null,s),remove:O.bind(null,s)}):ee)}));var Y=Q;const Z=(e,t)=>{const{listType:n="text",previewFile:l=X,onPreview:i,onDownload:c,onRemove:s,locale:u,iconRender:p,isImageUrl:g=_,prefixCls:m,items:f=[],showPreviewIcon:b=!0,showRemoveIcon:h=!0,showDownloadIcon:$=!1,removeIcon:v,previewIcon:y,downloadIcon:x,progress:S={size:[-1,2],showInfo:!1},appendAction:w,appendActionVisible:C=!0,itemRender:O,disabled:k}=e,A=(0,B.A)(),[I,N]=o.useState(!1);o.useEffect((()=>{"picture"!==n&&"picture-card"!==n&&"picture-circle"!==n||(f||[]).forEach((e=>{"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj)&&void 0===e.thumbUrl&&l&&l(e.originFileObj).then((t=>{e.thumbUrl=t||"",A()}))}))}),[n,f,l]),o.useEffect((()=>{N(!0)}),[]);const D=(e,t)=>{if(i)return null==t||t.preventDefault(),i(e)},L=e=>{"function"==typeof c?c(e):e.url&&window.open(e.url)},F=e=>{null==s||s(e)},W=e=>{if(p)return p(e,n);const t="uploading"===e.status,r=g&&g(e)?o.createElement(P.A,null):o.createElement(E.A,null);let l=t?o.createElement(z.A,null):o.createElement(j.A,null);return"picture"===n?l=t?o.createElement(z.A,null):r:"picture-card"!==n&&"picture-circle"!==n||(l=t?u.uploading:r),l},q=(e,t,n,r,l)=>{const i={type:"text",size:"small",title:r,onClick:n=>{var r,l;t(),o.isValidElement(e)&&(null===(l=(r=e.props).onClick)||void 0===l||l.call(r,n))},className:`${n}-list-item-action`};if(l&&(i.disabled=k),o.isValidElement(e)){const t=(0,H.Ob)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return o.createElement(R.Ay,Object.assign({},i,{icon:t}))}return o.createElement(R.Ay,Object.assign({},i),o.createElement("span",null,e))};o.useImperativeHandle(t,(()=>({handlePreview:D,handleDownload:L})));const{getPrefixCls:K}=o.useContext(d.QO),G=K("upload",m),V=K(),U=a()(`${G}-list`,`${G}-list-${n}`),Q=(0,r.A)(f.map((e=>({key:e.uid,file:e}))));let Z={motionDeadline:2e3,motionName:`${G}-${"picture-card"===n||"picture-circle"===n?"animate-inline":"animate"}`,keys:Q,motionAppear:I};const J=o.useMemo((()=>{const e=Object.assign({},(0,M.A)(V));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e}),[V]);return"picture-card"!==n&&"picture-circle"!==n&&(Z=Object.assign(Object.assign({},J),Z)),o.createElement("div",{className:U},o.createElement(T.aF,Object.assign({},Z,{component:!1}),(e=>{let{key:t,file:r,className:l,style:i}=e;return o.createElement(Y,{key:t,locale:u,prefixCls:G,className:l,style:i,file:r,items:f,progress:S,listType:n,isImgUrl:g,showPreviewIcon:b,showRemoveIcon:h,showDownloadIcon:$,removeIcon:v,previewIcon:y,downloadIcon:x,iconRender:W,actionIconRender:q,itemRender:O,onPreview:D,onDownload:L,onClose:F})})),w&&o.createElement(T.Ay,Object.assign({},Z,{visible:C,forceRender:!0}),(e=>{let{className:t,style:n}=e;return(0,H.Ob)(w,(e=>({className:a()(e.className,t),style:Object.assign(Object.assign(Object.assign({},n),{pointerEvents:t?"none":void 0}),e.style)})))})))};var J=o.forwardRef(Z);const ee=`__LIST_IGNORE_${Date.now()}__`,te=(e,t)=>{const{fileList:n,defaultFileList:i,onRemove:m,showUploadList:f=!0,listType:b="text",onPreview:h,onDownload:$,onChange:v,onDrop:y,previewFile:x,disabled:S,locale:w,iconRender:C,isImageUrl:O,progress:k,prefixCls:A,className:E,type:z="select",children:j,style:P,itemRender:T,maxCount:B,data:M={},multiple:H=!1,hasControlInside:R=!0,action:F="",accept:_="",supportServerRender:W=!0,rootClassName:X}=e,q=o.useContext(u.A),K=null!=S?S:q,[G,V]=(0,s.A)(i||[],{value:n,postState:e=>null!=e?e:[]}),[U,Q]=o.useState("drop"),Y=o.useRef(null),Z=o.useRef(null);o.useMemo((()=>{const e=Date.now();(n||[]).forEach(((t,n)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${n}__`)}))}),[n]);const te=(e,t,n)=>{let o=(0,r.A)(t),i=!1;1===B?o=o.slice(-1):B&&(i=o.length>B,o=o.slice(0,B)),(0,l.flushSync)((()=>{V(o)}));const a={file:e,fileList:o};n&&(a.event=n),i&&"removed"!==e.status&&!o.some((t=>t.uid===e.uid))||(0,l.flushSync)((()=>{null==v||v(a)}))},ne=e=>{const t=e.filter((e=>!e.file[ee]));if(!t.length)return;const n=t.map((e=>N(e.file)));let o=(0,r.A)(G);n.forEach((e=>{o=D(e,o)})),n.forEach(((e,n)=>{let r=e;if(t[n].parsedFile)e.status="uploading";else{const{originFileObj:t}=e;let n;try{n=new File([t],t.name,{type:t.type})}catch(e){n=new Blob([t],{type:t.type}),n.name=t.name,n.lastModifiedDate=new Date,n.lastModified=(new Date).getTime()}n.uid=e.uid,r=n}te(r,o)}))},oe=(e,t,n)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!L(t,G))return;const o=N(t);o.status="done",o.percent=100,o.response=e,o.xhr=n;const r=D(o,G);te(o,r)},re=(e,t)=>{if(!L(t,G))return;const n=N(t);n.status="uploading",n.percent=e.percent;const o=D(n,G);te(n,o,e)},le=(e,t,n)=>{if(!L(n,G))return;const o=N(n);o.error=e,o.response=t,o.status="error";const r=D(o,G);te(o,r)},ie=e=>{let t;Promise.resolve("function"==typeof m?m(e):m).then((n=>{var o;if(!1===n)return;const r=function(e,t){const n=void 0!==e.uid?"uid":"name",o=t.filter((t=>t[n]!==e[n]));return o.length===t.length?null:o}(e,G);r&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==G||G.forEach((e=>{const n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")})),null===(o=Y.current)||void 0===o||o.abort(t),te(t,r))}))},ae=e=>{Q(e.type),"drop"===e.type&&(null==y||y(e))};o.useImperativeHandle(t,(()=>({onBatchStart:ne,onSuccess:oe,onProgress:re,onError:le,fileList:G,upload:Y.current,nativeElement:Z.current})));const{getPrefixCls:ce,direction:se,upload:de}=o.useContext(d.QO),ue=ce("upload",A),pe=Object.assign(Object.assign({onBatchStart:ne,onError:le,onProgress:re,onSuccess:oe},e),{data:M,multiple:H,action:F,accept:_,supportServerRender:W,prefixCls:ue,disabled:K,beforeUpload:(t,n)=>{return o=void 0,r=void 0,i=function*(){const{beforeUpload:o,transformFile:r}=e;let l=t;if(o){const e=yield o(t,n);if(!1===e)return!1;if(delete t[ee],e===ee)return Object.defineProperty(t,ee,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(l=e)}return r&&(l=yield r(l)),l},new((l=void 0)||(l=Promise))((function(e,t){function n(e){try{c(i.next(e))}catch(e){t(e)}}function a(e){try{c(i.throw(e))}catch(e){t(e)}}function c(t){var o;t.done?e(t.value):(o=t.value,o instanceof l?o:new l((function(e){e(o)}))).then(n,a)}c((i=i.apply(o,r||[])).next())}));var o,r,l,i},onChange:void 0,hasControlInside:R});delete pe.className,delete pe.style,j&&!K||delete pe.id;const ge=`${ue}-wrapper`,[me,fe,be]=I(ue,ge),[he]=(0,p.A)("Upload",g.A.Upload),{showRemoveIcon:$e,showPreviewIcon:ve,showDownloadIcon:ye,removeIcon:xe,previewIcon:Se,downloadIcon:we}="boolean"==typeof f?{}:f,Ce=void 0===$e?!K:!!$e,Oe=(e,t)=>f?o.createElement(J,{prefixCls:ue,listType:b,items:G,previewFile:x,onPreview:h,onDownload:$,onRemove:ie,showRemoveIcon:Ce,showPreviewIcon:ve,showDownloadIcon:ye,removeIcon:xe,previewIcon:Se,downloadIcon:we,iconRender:C,locale:Object.assign(Object.assign({},he),w),isImageUrl:O,progress:k,appendAction:e,appendActionVisible:t,itemRender:T,disabled:K}):e,ke=a()(ge,E,X,fe,be,null==de?void 0:de.className,{[`${ue}-rtl`]:"rtl"===se,[`${ue}-picture-card-wrapper`]:"picture-card"===b,[`${ue}-picture-circle-wrapper`]:"picture-circle"===b}),Ae=Object.assign(Object.assign({},null==de?void 0:de.style),P);if("drag"===z){const e=a()(fe,ue,`${ue}-drag`,{[`${ue}-drag-uploading`]:G.some((e=>"uploading"===e.status)),[`${ue}-drag-hover`]:"dragover"===U,[`${ue}-disabled`]:K,[`${ue}-rtl`]:"rtl"===se});return me(o.createElement("span",{className:ke,ref:Z},o.createElement("div",{className:e,style:Ae,onDrop:ae,onDragOver:ae,onDragLeave:ae},o.createElement(c.A,Object.assign({},pe,{ref:Y,className:`${ue}-btn`}),o.createElement("div",{className:`${ue}-drag-container`},j))),Oe()))}const Ie=a()(ue,`${ue}-select`,{[`${ue}-disabled`]:K}),Ee=o.createElement("div",{className:Ie,style:j?void 0:{display:"none"}},o.createElement(c.A,Object.assign({},pe,{ref:Y})));return me("picture-card"===b||"picture-circle"===b?o.createElement("span",{className:ke,ref:Z},Oe(Ee,!!j)):o.createElement("span",{className:ke,ref:Z},Ee,Oe()))};var ne=o.forwardRef(te);const oe=o.forwardRef(((e,t)=>{var{style:n,height:r,hasControlInside:l=!1}=e,i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}(e,["style","height","hasControlInside"]);return o.createElement(ne,Object.assign({ref:t,hasControlInside:l},i,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}));var re=oe;const le=ne;le.Dragger=re,le.LIST_IGNORE=ee;var ie=le},28557:function(e,t,n){n.d(t,{f:function(){return a}});var o=n(96540),r=n(81470);function l(){}const i=o.createContext({add:l,remove:l});function a(e){const t=o.useContext(i),n=o.useRef();return(0,r._q)((o=>{if(o){const r=e?o.querySelector(e):o;t.add(r),n.current=r}else t.remove(n.current)}))}},24292:function(e,t,n){var o=n(24994).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(33087));t.default=r.default},91466:function(e,t,n){var o=n(24994).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(64394));t.default=r.default},41702:function(e,t,n){var o=n(24994).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(83009));t.default=r.default},33087:function(e,t,n){var o=n(24994).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(24938)),l=o(n(62566));const i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},r.default),timePickerLocale:Object.assign({},l.default)};t.default=i},64394:function(e,t,n){var o=n(24994).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(24995)),l=o(n(24199));const i={lang:Object.assign({placeholder:"Sélectionner une date",yearPlaceholder:"Sélectionner une année",quarterPlaceholder:"Sélectionner un trimestre",monthPlaceholder:"Sélectionner un mois",weekPlaceholder:"Sélectionner une semaine",rangePlaceholder:["Date de début","Date de fin"],rangeYearPlaceholder:["Année de début","Année de fin"],rangeMonthPlaceholder:["Mois de début","Mois de fin"],rangeWeekPlaceholder:["Semaine de début","Semaine de fin"]},r.default),timePickerLocale:Object.assign({},l.default)};t.default=i},83009:function(e,t,n){var o=n(24994).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(57536)),l=o(n(82348));const i={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},r.default),timePickerLocale:Object.assign({},l.default)};i.lang.ok="确定",t.default=i},13173:function(e,t,n){var o=n(24994).default;t.A=void 0;var r=o(n(56216)),l=o(n(24292)),i=o(n(33087)),a=o(n(62566));const c="${label} is not a valid ${type}",s={locale:"en",Pagination:r.default,DatePicker:i.default,TimePicker:a.default,Calendar:l.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}};t.A=s},99536:function(e,t,n){var o=n(24994).default;t.A=void 0;var r=o(n(85865)),l=o(n(91466)),i=o(n(64394)),a=o(n(24199));const c="La valeur du champ ${label} n'est pas valide pour le type ${type}",s={locale:"fr",Pagination:r.default,DatePicker:i.default,TimePicker:a.default,Calendar:l.default,Table:{filterTitle:"Filtrer",filterConfirm:"OK",filterReset:"Réinitialiser",filterEmptyText:"Aucun filtre",filterCheckall:"Tout sélectionner",filterSearchPlaceholder:"Chercher dans les filtres",emptyText:"Aucune donnée",selectAll:"Sélectionner la page actuelle",selectInvert:"Inverser la sélection de la page actuelle",selectNone:"Désélectionner toutes les données",selectionAll:"Sélectionner toutes les données",sortTitle:"Trier",expand:"Développer la ligne",collapse:"Réduire la ligne",triggerDesc:"Trier par ordre décroissant",triggerAsc:"Trier par ordre croissant",cancelSort:"Annuler le tri"},Modal:{okText:"OK",cancelText:"Annuler",justOkText:"OK"},Tour:{Next:"Étape suivante",Previous:"Étape précédente",Finish:"Fin de la visite guidée"},Popconfirm:{okText:"OK",cancelText:"Annuler"},Transfer:{titles:["",""],searchPlaceholder:"Rechercher",itemUnit:"élément",itemsUnit:"éléments",remove:"Désélectionner",selectCurrent:"Sélectionner la page actuelle",removeCurrent:"Désélectionner la page actuelle",selectAll:"Sélectionner toutes les données",removeAll:"Désélectionner toutes les données",selectInvert:"Inverser la sélection de la page actuelle"},Upload:{uploading:"Téléchargement...",removeFile:"Effacer le fichier",uploadError:"Erreur de téléchargement",previewFile:"Fichier de prévisualisation",downloadFile:"Télécharger un fichier"},Empty:{description:"Aucune donnée"},Icon:{icon:"icône"},Text:{edit:"Éditer",copy:"Copier",copied:"Copie effectuée",expand:"Développer"},Form:{optional:"(optionnel)",defaultValidateMessages:{default:"Erreur de validation pour le champ ${label}",required:"Le champ ${label} est obligatoire",enum:"La valeur du champ ${label} doit être parmi [${enum}]",whitespace:"La valeur du champ ${label} ne peut pas être vide",date:{format:"La valeur du champ ${label} n'est pas au format date",parse:"La valeur du champ ${label} ne peut pas être convertie vers une date",invalid:"La valeur du champ ${label} n'est pas une date valide"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"La taille du champ ${label} doit être de ${len} caractères",min:"La taille du champ ${label} doit être au minimum de ${min} caractères",max:"La taille du champ ${label} doit être au maximum de ${max} caractères",range:"La taille du champ ${label} doit être entre ${min} et ${max} caractères"},number:{len:"La valeur du champ ${label} doit être égale à ${len}",min:"La valeur du champ ${label} doit être plus grande que ${min}",max:"La valeur du champ ${label} doit être plus petit que ${max}",range:"La valeur du champ ${label} doit être entre ${min} et ${max}"},array:{len:"La taille du tableau ${label} doit être de ${len}",min:"La taille du tableau ${label} doit être au minimum de ${min}",max:"La taille du tableau ${label} doit être au maximum de ${max}",range:"La taille du tableau ${label} doit être entre ${min}-${max}"},pattern:{mismatch:"La valeur du champ ${label} ne correspond pas au modèle ${pattern}"}}},Image:{preview:"Aperçu"}};t.A=s},92187:function(e,t,n){var o=n(24994).default;t.A=void 0;var r=o(n(67018)),l=o(n(41702)),i=o(n(83009)),a=o(n(82348));const c="${label}不是一个有效的${type}",s={locale:"zh-cn",Pagination:r.default,DatePicker:i.default,TimePicker:a.default,Calendar:l.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无"}};t.A=s},62566:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},24199:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"Sélectionner l'heure",rangePlaceholder:["Heure de début","Heure de fin"]}},82348:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},39485:function(e,t,n){n.d(t,{A:function(){return d}});const o=e=>"object"==typeof e&&null!=e&&1===e.nodeType,r=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return r(n.overflowY,t)||r(n.overflowX,t)||(e=>{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},i=(e,t,n,o,r,l,i,a)=>l<e&&i>t||l>e&&i<t?0:l<=e&&a<=n||i>=t&&a>=n?l-e-o:i>t&&a<n||l<e&&a>n?i-t+r:0,a=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},c=(e,t)=>{var n,r,c,s;if("undefined"==typeof document)return[];const{scrollMode:d,block:u,inline:p,boundary:g,skipOverflowHiddenElements:m}=t,f="function"==typeof g?g:e=>e!==g;if(!o(e))throw new TypeError("Invalid target");const b=document.scrollingElement||document.documentElement,h=[];let $=e;for(;o($)&&f($);){if($=a($),$===b){h.push($);break}null!=$&&$===document.body&&l($)&&!l(document.documentElement)||null!=$&&l($,m)&&h.push($)}const v=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,y=null!=(s=null==(c=window.visualViewport)?void 0:c.height)?s:innerHeight,{scrollX:x,scrollY:S}=window,{height:w,width:C,top:O,right:k,bottom:A,left:I}=e.getBoundingClientRect(),{top:E,right:z,bottom:j,left:P}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let T="start"===u||"nearest"===u?O-E:"end"===u?A+j:O+w/2-E+j,B="center"===p?I+C/2-P+z:"end"===p?k+z:I-P;const M=[];for(let e=0;e<h.length;e++){const t=h[e],{height:n,width:o,top:r,right:l,bottom:a,left:c}=t.getBoundingClientRect();if("if-needed"===d&&O>=0&&I>=0&&A<=y&&k<=v&&O>=r&&A<=a&&I>=c&&k<=l)return M;const s=getComputedStyle(t),g=parseInt(s.borderLeftWidth,10),m=parseInt(s.borderTopWidth,10),f=parseInt(s.borderRightWidth,10),$=parseInt(s.borderBottomWidth,10);let E=0,z=0;const j="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-f:0,P="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-$:0,H="offsetWidth"in t?0===t.offsetWidth?0:o/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(b===t)E="start"===u?T:"end"===u?T-y:"nearest"===u?i(S,S+y,y,m,$,S+T,S+T+w,w):T-y/2,z="start"===p?B:"center"===p?B-v/2:"end"===p?B-v:i(x,x+v,v,g,f,x+B,x+B+C,C),E=Math.max(0,E+S),z=Math.max(0,z+x);else{E="start"===u?T-r-m:"end"===u?T-a+$+P:"nearest"===u?i(r,a,n,m,$+P,T,T+w,w):T-(r+n/2)+P/2,z="start"===p?B-c-g:"center"===p?B-(c+o/2)+j/2:"end"===p?B-l+f+j:i(c,l,o,g,f+j,B,B+C,C);const{scrollLeft:e,scrollTop:s}=t;E=0===R?0:Math.max(0,Math.min(s+E/R,t.scrollHeight-n/R+P)),z=0===H?0:Math.max(0,Math.min(e+z/H,t.scrollWidth-o/H+j)),T+=s-E,B+=e-z}M.push({el:t,top:E,left:z})}return M},s=e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"};function d(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;const n=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(c(e,t));const o="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:r,top:l,left:i}of c(e,s(t))){const e=l-n.top+n.bottom,t=i-n.left+n.right;r.scroll({top:e,left:t,behavior:o})}}}}]);
|
|
Binary file
|