vdi/web-fe/serve/dist/555.async.js

69 lines
218 KiB
JavaScript
Raw Normal View History

2025-08-05 01:57:49 +00:00
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[555],{99098:function(Ka,Sn,c){c.d(Sn,{Z:function(){return en}});var a=c(66283),m=c(75271),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Ve=A,Ke=c(60101),cn=function(Lt,tt){return m.createElement(Ke.Z,(0,a.Z)({},Lt,{ref:tt,icon:Ve}))},kt=m.forwardRef(cn),en=kt},62867:function(Ka,Sn,c){var a=c(75271),m=c(60784),A=c(74970),Ve=c(32447);function Ke(kt){return!!(kt!=null&&kt.then)}const cn=kt=>{const{type:en,children:In,prefixCls:Lt,buttonProps:tt,close:E,autoFocus:ht,emitEvent:Ot,isSilent:un,quitOnNullishReturnValue:Tn,actionFn:Ie}=kt,le=a.useRef(!1),He=a.useRef(null),[Xe,Q]=(0,m.Z)(!1),Ue=(...je)=>{E==null||E.apply(void 0,je)};a.useEffect(()=>{let je=null;return ht&&(je=setTimeout(()=>{var ft;(ft=He.current)===null||ft===void 0||ft.focus({preventScroll:!0})})),()=>{je&&clearTimeout(je)}},[]);const X=je=>{Ke(je)&&(Q(!0),je.then((...ft)=>{Q(!1,!0),Ue.apply(void 0,ft),le.current=!1},ft=>{if(Q(!1,!0),le.current=!1,!(un!=null&&un()))return Promise.reject(ft)}))},ye=je=>{if(le.current)return;if(le.current=!0,!Ie){Ue();return}let ft;if(Ot){if(ft=Ie(je),Tn&&!Ke(ft)){le.current=!1,Ue(je);return}}else if(Ie.length)ft=Ie(E),le.current=!1;else if(ft=Ie(),!Ke(ft)){Ue();return}X(ft)};return a.createElement(A.ZP,Object.assign({},(0,Ve.nx)(en),{onClick:ye,loading:Xe,prefixCls:Lt},tt,{ref:He}),In)};Sn.Z=cn},75057:function(Ka,Sn){function c(...a){const m={};return a.forEach(A=>{A&&Object.keys(A).forEach(Ve=>{A[Ve]!==void 0&&(m[Ve]=A[Ve])})}),m}Sn.Z=c},48803:function(Ka,Sn,c){c.d(Sn,{Z:function(){return Lt},w:function(){return kt}});var a=c(75271),m=c(45659),A=c(71305),Ve=c(76212),Ke=c(82158),cn=c(75057);function kt(tt){if(!tt)return;const{closable:E,closeIcon:ht}=tt;return{closable:E,closeIcon:ht}}function en(tt){const{closable:E,closeIcon:ht}=tt||{};return a.useMemo(()=>{if(!E&&(E===!1||ht===!1||ht===null))return!1;if(E===void 0&&ht===void 0)return null;let Ot={closeIcon:typeof ht!="boolean"&&ht!==null?ht:void 0};return E&&typeof E=="object"&&(Ot=Object.assign(Object.assign({},Ot),E)),Ot},[E,ht])}const In={};function Lt(tt,E,ht=In){const Ot=en(tt),un=en(E),[Tn]=(0,Ve.Z)("global",Ke.Z.global),Ie=typeof Ot!="boolean"?!!(Ot!=null&&Ot.disabled):!1,le=a.useMemo(()=>Object.assign({closeIcon:a.createElement(m.Z,null)},ht),[ht]),He=a.useMemo(()=>Ot===!1?!1:Ot?(0,cn.Z)(le,un,Ot):un===!1?!1:un?(0,cn.Z)(le,un):le.closable?le:!1,[Ot,un,le]);return a.useMemo(()=>{var Xe,Q;if(He===!1)return[!1,null,Ie,{}];const{closeIconRender:Ue}=le,{closeIcon:X}=He;let ye=X;const je=(0,A.Z)(He,!0);return ye!=null&&(Ue&&(ye=Ue(X)),ye=a.isValidElement(ye)?a.cloneElement(ye,Object.assign(Object.assign(Object.assign({},ye.props),{"aria-label":(Q=(Xe=ye.props)===null||Xe===void 0?void 0:Xe["aria-label"])!==null&&Q!==void 0?Q:Tn.close}),je)):a.createElement("span",Object.assign({"aria-label":Tn.close},je),ye)),[!0,ye,Ie,je]},[He,le])}},78032:function(Ka,Sn,c){c.d(Sn,{Z:function(){return r}});var a=c(75271),m=c(82187),A=c.n(m),Ve=c(18051),Ke=c(70436),cn=c(44413),kt=c(13282),en=c(45659),In=c(35867),Lt=c(66283),tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},E=tt,ht=c(60101),Ot=function(o,i){return a.createElement(ht.Z,(0,Lt.Z)({},o,{ref:i,icon:E}))},un=a.forwardRef(Ot),Tn=un,Ie=c(781),le=c(28037),He=c(29705),Xe=c(19505),Q=c(79843),Ue=c(93954),X=c(21611),ye=(0,a.createContext)(null),je=c(49744),ft=c(1728),Wn=c(59373),Vt=c(42684),Jn=c(49975),dn=function(o){var i=o.activeTabOffset,l=o.horizontal,d=o.rtl,h=o.indicator,p=h===void 0?{}:h,v=p.size,$=p.align,b=$===void 0?"center":$,G=(0,a.useState)(),K=(0,He.Z)(G,2),_=K[0],me=K
right ${t.motionDurationSlow}`}},[`${o}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:t.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowRight},[`&${o}-nav-wrap-ping-left::before`]:{opacity:1},[`&${o}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${o}-top`]:{[`> ${o}-nav,
> div > ${o}-nav`]:{"&::before":{bottom:0},[`${o}-ink-bar`]:{bottom:0}}},[`${o}-bottom`]:{[`> ${o}-nav, > div > ${o}-nav`]:{order:1,marginTop:i,marginBottom:0,"&::before":{top:0},[`${o}-ink-bar`]:{top:0}},[`> ${o}-content-holder, > div > ${o}-content-holder`]:{order:0}},[`${o}-left, ${o}-right`]:{[`> ${o}-nav, > div > ${o}-nav`]:{flexDirection:"column",minWidth:v(t.controlHeight).mul(1.25).equal(),[`${o}-tab`]:{padding:h,textAlign:"center"},[`${o}-tab + ${o}-tab`]:{margin:p},[`${o}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:t.controlHeight},"&::before":{top:0,boxShadow:t.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:t.boxShadowTabsOverflowBottom},[`&${o}-nav-wrap-ping-top::before`]:{opacity:1},[`&${o}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${o}-ink-bar`]:{width:t.lineWidthBold,"&-animated":{transition:`height ${t.motionDurationSlow}, top ${t.motionDurationSlow}`}},[`${o}-nav-list, ${o}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${o}-left`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${o}-content-holder, > div > ${o}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,ee.bf)(v(t.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,ee.bf)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`},[`> ${o}-content > ${o}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:t.paddingLG}}}},[`${o}-right`]:{[`> ${o}-nav, > div > ${o}-nav`]:{order:1,[`${o}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${o}-content-holder, > div > ${o}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:v(t.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,ee.bf)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`},[`> ${o}-content > ${o}-tabpane`]:{paddingRight:{_skip_check_:!0,value:t.paddingLG}}}}}},Ha=t=>{const{componentCls:o,cardPaddingSM:i,cardPaddingLG:l,cardHeightSM:d,cardHeightLG:h,horizontalItemPaddingSM:p,horizontalItemPaddingLG:v}=t;return{[o]:{"&-small":{[`> ${o}-nav`]:{[`${o}-tab`]:{padding:p,fontSize:t.titleFontSizeSM}}},"&-large":{[`> ${o}-nav`]:{[`${o}-tab`]:{padding:v,fontSize:t.titleFontSizeLG,lineHeight:t.lineHeightLG}}}},[`${o}-card`]:{[`&${o}-small`]:{[`> ${o}-nav`]:{[`${o}-tab`]:{padding:i},[`${o}-nav-add`]:{minWidth:d,minHeight:d}},[`&${o}-bottom`]:{[`> ${o}-nav ${o}-tab`]:{borderRadius:`0 0 ${(0,ee.bf)(t.borderRadius)} ${(0,ee.bf)(t.borderRadius)}`}},[`&${o}-top`]:{[`> ${o}-nav ${o}-tab`]:{borderRadius:`${(0,ee.bf)(t.borderRadius)} ${(0,ee.bf)(t.borderRadius)} 0 0`}},[`&${o}-right`]:{[`> ${o}-nav ${o}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,ee.bf)(t.borderRadius)} ${(0,ee.bf)(t.borderRadius)} 0`}}},[`&${o}-left`]:{[`> ${o}-nav ${o}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,ee.bf)(t.borderRadius)} 0 0 ${(0,ee.bf)(t.borderRadius)}`}}}},[`&${o}-large`]:{[`> ${o}-nav`]:{[`${o}-tab`]:{padding:l},[`${o}-nav-add`]:{minWidth:h,minHeight:h}}}}}},Xa=t=>{const{componentCls:o,itemActiveColor:i,itemHoverColor:l,iconCls:d,tabsHorizontalItemMargin:h,horizontalItemPadding:p,itemSelectedColor:v,itemColor:$}=t,b=`${o}-tab`;return{[b]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:p,fontSize:t.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:$,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:i}},"&-btn":{outline:"none",transition:`all ${t.motionDurationSlow}`,[`${b}-icon:not(:last-child)`]:{marginInlineEnd:t.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:t.calc(t.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:t.marginXS},color:t.colorIcon,fontSize:t.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${t.motionDurationSlow}`,"&:hover":{color:t.colorTextHeading}},(0,mn.Qy)(t)),"&:hover":{color:l},[`&${b}-active ${b}-btn`]:{color:v,textShadow:t.tabsActiveTextShadow},[`&${b}-focus ${b}-btn:fo
> ${i}-typography,
> ${i}-typography-edit-content
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${o}-tabs-top`]:{clear:"both",marginBottom:h,color:t.colorText,fontWeight:"normal",fontSize:t.fontSize,"&-bar":{borderBottom:`${(0,ee.bf)(t.lineWidth)} ${t.lineType} ${t.colorBorderSecondary}`}}})},wa=t=>{const{cardPaddingBase:o,colorBorderSecondary:i,cardShadow:l,lineWidth:d}=t;return{width:"33.33%",padding:o,border:0,borderRadius:0,boxShadow:`
${(0,ee.bf)(d)} 0 0 0 ${i},
0 ${(0,ee.bf)(d)} 0 0 ${i},
${(0,ee.bf)(d)} ${(0,ee.bf)(d)} 0 0 ${i},
${(0,ee.bf)(d)} 0 0 0 ${i} inset,
0 ${(0,ee.bf)(d)} 0 0 ${i} inset;
`,transition:`all ${t.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:l}}},Pa=t=>{const{componentCls:o,iconCls:i,actionsLiMargin:l,cardActionsIconSize:d,colorBorderSecondary:h,actionsBg:p}=t;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:p,borderTop:`${(0,ee.bf)(t.lineWidth)} ${t.lineType} ${h}`,display:"flex",borderRadius:`0 0 ${(0,ee.bf)(t.borderRadiusLG)} ${(0,ee.bf)(t.borderRadiusLG)}`},(0,mn.dF)()),{"& > li":{margin:l,color:t.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:t.calc(t.cardActionsIconSize).mul(2).equal(),fontSize:t.fontSize,lineHeight:t.lineHeight,cursor:"pointer","&:hover":{color:t.colorPrimary,transition:`color ${t.motionDurationMid}`},[`a:not(${o}-btn), > ${i}`]:{display:"inline-block",width:"100%",color:t.colorIcon,lineHeight:(0,ee.bf)(t.fontHeight),transition:`color ${t.motionDurationMid}`,"&:hover":{color:t.colorPrimary}},[`> ${i}`]:{fontSize:d,lineHeight:(0,ee.bf)(t.calc(d).mul(t.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,ee.bf)(t.lineWidth)} ${t.lineType} ${h}`}}})},ro=t=>Object.assign(Object.assign({margin:`${(0,ee.bf)(t.calc(t.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,mn.dF)()),{"&-avatar":{paddingInlineEnd:t.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:t.marginXS}},"&-title":Object.assign({color:t.colorTextHeading,fontWeight:t.fontWeightStrong,fontSize:t.fontSizeLG},mn.vS),"&-description":{color:t.colorTextDescription}}),Mo=t=>{const{componentCls:o,colorFillAlter:i,headerPadding:l,bodyPadding:d}=t;return{[`${o}-head`]:{padding:`0 ${(0,ee.bf)(l)}`,background:i,"&-title":{fontSize:t.fontSize}},[`${o}-body`]:{padding:`${(0,ee.bf)(t.padding)} ${(0,ee.bf)(d)}`}}},No=t=>{const{componentCls:o}=t;return{overflow:"hidden",[`${o}-body`]:{userSelect:"none"}}},To=t=>{const{componentCls:o,cardShadow:i,cardHeadPadding:l,colorBorderSecondary:d,boxShadowTertiary:h,bodyPadding:p,extraColor:v}=t;return{[o]:Object.assign(Object.assign({},(0,mn.Wf)(t)),{position:"relative",background:t.colorBgContainer,borderRadius:t.borderRadiusLG,[`&:not(${o}-bordered)`]:{boxShadow:h},[`${o}-head`]:oo(t),[`${o}-extra`]:{marginInlineStart:"auto",color:v,fontWeight:"normal",fontSize:t.fontSize},[`${o}-body`]:Object.assign({padding:p,borderRadius:`0 0 ${(0,ee.bf)(t.borderRadiusLG)} ${(0,ee.bf)(t.borderRadiusLG)}`},(0,mn.dF)()),[`${o}-grid`]:wa(t),[`${o}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,ee.bf)(t.borderRadiusLG)} ${(0,ee.bf)(t.borderRadiusLG)} 0 0`}},[`${o}-actions`]:Pa(t),[`${o}-meta`]:ro(t)}),[`${o}-bordered`]:{border:`${(0,ee.bf)(t.lineWidth)} ${t.lineType} ${d}`,[`${o}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${o}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${t.motionDurationMid}, border-color ${t.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:i}},[`${o}-contain-grid`]:{borderRadius:`${(0,ee.bf)(t.borderRadiusLG)} ${(0,ee.bf)(t.borderRadiusLG)} 0 0 `,[`${o}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${o}-loading) ${o}-body`]:{marginBlockStart:t.calc(t.lineWidth).mul(-1).equal(),marginInlineStart:t.calc(t.lineWidth).mul(-1).equal(),padding:0}},[`${o}-contain-tabs`]:{[`> div${o}-head`]:{minHeight:0,[`${o}-head-title, ${o}-extra`]:{paddingTop:l}}},[`${o}-type-inner`]:Mo(t),[`${o}-loading`]:No(t),[`${o}-rtl`]:{direction:"rtl"}}},ya=t=>{const{componentCls:o,bodyPaddingSM:i,headerPaddingSM:l,headerHeightSM:d,headerFontSizeSM:h}=t;return{[`${o}-small`]:{[`> ${o}-head`]:{minHeight:d,padding:`0 ${(0,ee.bf)(l)}`,fontSize:h,[`> ${o}-head-wrapper`]:{[`> ${o}-extra`]:{fontSize:t.fontSize}}},[`> ${o}-body`]:{padding:i}},[`${o}-small${o}-contain-tabs`]:{[`> ${o}-head`]:{[`${o}-head-title, ${o}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Vo=t=>{var o,i;return{headerBg:"transparent",headerFontSize:t.fontSizeLG,headerFontSizeSM:t.fontSize,headerHeight:t.fontSizeLG*t.lineHeightLG+t.padding*2,headerHeightSM:t.fontSize*t.lineHeight+t.paddingXS*2,actions
${l}${i}-enter,
${l}${i}-appear
`]:{opacity:0,animationTimingFunction:"linear"},[`${l}${i}-leave`]:{animationTimingFunction:"linear"}}]};var Fn=c(74248),ja=c(30509),Vn=c(89348);function Oa(r){return{position:r,inset:0}}const la=r=>{const{componentCls:t,antCls:o}=r;return[{[`${t}-root`]:{[`${t}${o}-zoom-enter, ${t}${o}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:r.motionDurationSlow,userSelect:"none"},[`${t}${o}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Oa("fixed")),{zIndex:r.zIndexPopupBase,height:"100%",backgroundColor:r.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Oa("fixed")),{zIndex:r.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:Da(r)}]},aa=r=>{const{componentCls:t}=r;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${r.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,ut.bf)(r.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,Dn.Wf)(r)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,ut.bf)(r.calc(r.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:r.paddingLG,[`${t}-title`]:{margin:0,color:r.titleColor,fontWeight:r.fontWeightStrong,fontSize:r.titleFontSize,lineHeight:r.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:r.contentBg,backgroundClip:"padding-box",border:0,borderRadius:r.borderRadiusLG,boxShadow:r.boxShadow,pointerEvents:"auto",padding:r.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:r.calc(r.modalHeaderHeight).sub(r.modalCloseBtnSize).div(2).equal(),insetInlineEnd:r.calc(r.modalHeaderHeight).sub(r.modalCloseBtnSize).div(2).equal(),zIndex:r.calc(r.zIndexPopupBase).add(10).equal(),padding:0,color:r.modalCloseIconColor,fontWeight:r.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:r.borderRadiusSM,width:r.modalCloseBtnSize,height:r.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${r.motionDurationMid}, background-color ${r.motionDurationMid}`,"&-x":{display:"flex",fontSize:r.fontSizeLG,fontStyle:"normal",lineHeight:(0,ut.bf)(r.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:r.modalCloseIconHoverColor,backgroundColor:r.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:r.colorBgTextActive}},(0,Dn.Qy)(r)),[`${t}-header`]:{color:r.colorText,background:r.headerBg,borderRadius:`${(0,ut.bf)(r.borderRadiusLG)} ${(0,ut.bf)(r.borderRadiusLG)} 0 0`,marginBottom:r.headerMarginBottom,padding:r.headerPadding,borderBottom:r.headerBorderBottom},[`${t}-body`]:{fontSize:r.fontSize,lineHeight:r.lineHeight,wordWrap:"break-word",padding:r.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,ut.bf)(r.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:r.footerBg,marginTop:r.footerMarginTop,padding:r.footerPadding,borderTop:r.footerBorderTop,borderRadius:r.footerBorderRadius,[`> ${r.antCls}-btn + ${r.antCls}-btn`]:{marginInlineStart:r.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
${t}-body,
${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},La=r=>{const{componentCls:t}=r;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},gn=r=>{const{componentCls:t}=r,o=(0,Kn.hd)(r),i=Object.assign({},o);delete i.xs;const l=`--${t.replace(".","")}-`,d=Object.keys(i).map(h=>({[`@media (min-width: ${(0,ut.bf)(i[h])})`]:{width:`var(${l}${h}-width)`}}));return{[`${t}-root`]:{[t]:[].concat((0,a.Z)(Object.keys(o).map((h,p)=>{const v=Object.keys(o)[p-1];return v?{[`${l}${h}-width`]:`var(${l}${v}-width)`}:null})),[{width:`var(${l}xs-width)`}],(0,a.Z)(d))}}},ee=r=>{const t=r.padding,o=r.fontSizeHeading5,i=r.lineHeightHeading5;return(0,ja.IX)(r,{modalHeaderHeight:r.calc(r.calc(i).mul(o).equal()).add(r.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:r.colorSplit,modalFooterBorderStyle:r.lineType,modalFooterBorderWidth:r.lineWidth,modalCloseIconColor:r.colorIcon,modalCloseIconHoverColor:r.colorIconHover,modalCloseBtnSize:r.controlHeight,modalConfirmIconSize:r.fontHeight,modalTitleHeight:r.calc(r.titleFontSize).mul(r.titleLineHeight).equal()})},mn=r=>({footerBg:"transparent",headerBg:r.colorBgElevated,titleLineHeight:r.lineHeightHeading5,titleFontSize:r.fontSizeHeading5,contentBg:r.colorBgElevated,titleColor:r.colorTextHeading,contentPadding:r.wireframe?0:`${(0,ut.bf)(r.paddingMD)} ${(0,ut.bf)(r.paddingContentHorizontalLG)}`,headerPadding:r.wireframe?`${(0,ut.bf)(r.padding)} ${(0,ut.bf)(r.paddingLG)}`:0,headerBorderBottom:r.wireframe?`${(0,ut.bf)(r.lineWidth)} ${r.lineType} ${r.colorSplit}`:"none",headerMarginBottom:r.wireframe?0:r.marginXS,bodyPadding:r.wireframe?r.paddingLG:0,footerPadding:r.wireframe?`${(0,ut.bf)(r.paddingXS)} ${(0,ut.bf)(r.padding)}`:0,footerBorderTop:r.wireframe?`${(0,ut.bf)(r.lineWidth)} ${r.lineType} ${r.colorSplit}`:"none",footerBorderRadius:r.wireframe?`0 0 ${(0,ut.bf)(r.borderRadiusLG)} ${(0,ut.bf)(r.borderRadiusLG)}`:0,footerMarginTop:r.wireframe?0:r.marginSM,confirmBodyPadding:r.wireframe?`${(0,ut.bf)(r.padding*2)} ${(0,ut.bf)(r.padding*2)} ${(0,ut.bf)(r.paddingLG)}`:0,confirmIconMarginInlineEnd:r.wireframe?r.margin:r.marginSM,confirmBtnsMarginTop:r.wireframe?r.marginLG:r.marginSM});var Sa=(0,Vn.I$)("Modal",r=>{const t=ee(r);return[aa(t),La(t),la(t),(0,Fn._y)(t,"zoom"),gn(t)]},mn,{unitless:{titleLineHeight:!0}}),no=function(r,t){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&t.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,i=Object.getOwnPropertySymbols(r);l<i.length;l++)t.indexOf(i[l])<0&&Object.prototype.propertyIsEnumerable.call(r,i[l])&&(o[i[l]]=r[i[l]]);return o};let oa;const qn=r=>{oa={x:r.pageX,y:r.pageY},setTimeout(()=>{oa=null},100)};H()&&document.documentElement.addEventListener("click",qn,!0);var Xn=r=>{const{prefixCls:t,className:o,rootClassName:i,open:l,wrapClassName:d,centered:h,getContainer:p,focusTriggerAfterClose:v=!0,style:$,visible:b,width:G=520,footer:K,classNames:_,styles:me,children:he,loading:Se,confirmLoading:Ce,zIndex:U,mousePosition:ue,onOk:Ze,onCancel:L,destroyOnHidden:C,destroyOnClose:J}=r,Le=no(r,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel","destroyOnHidden","destroyOnClose"]),{getPopupContainer:Ne,getPrefixCls:Ae,direction:Ye,modal:oe}=m.useContext(A.E_),at=Hn=>{Ce||L==null||L(Hn)},xe=Hn=>{Ze==null||Ze(Hn)},B=Ae("modal",t),Dt=Ae(),Rt=(0,$e.Z)(B),[At,$n,Ee]=Sa(B,Rt),jn=tt()(d,{[`${B}-centered`]:h!=null?h:oe==null?void 0:oe.centered,[`${B}-wrap-rtl`]:Ye==="rtl"}),rn=K!==null&&!Se?m.createElement(Cn,Object.assign({},r,{onOk:xe,onCancel:at})):null,[ln,vt,tn,hn]=(0,R.Z)((0,R.w)(r),(0,R.w)(oe),{closable:!0,closeIcon:m.createElement(X.Z,{className:`${B}-close-icon`}),closeIconRender:Hn=>zt(B,Hn)}),sn=ve(`.${B}-content`),[nn,Ln]=(0,E.Cn)("Modal",U),[Bn,sa]=m.useMemo
${b}-confirm ${b}-body > ${r.iconCls}`]:{color:r.colorWarning},[`${b}-info ${b}-body > ${r.iconCls}`]:{color:r.colorInfo},[`${b}-success ${b}-body > ${r.iconCls}`]:{color:r.colorSuccess}}};var yn=(0,Vn.bk)(["Modal","confirm"],r=>{const t=ee(r);return[Zn(t)]},mn,{order:-1e3}),Ha=function(r,t){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&t.indexOf(i)<0&&(o[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,i=Object.getOwnPropertySymbols(r);l<i.length;l++)t.indexOf(i[l])<0&&Object.prototype.propertyIsEnumerable.call(r,i[l])&&(o[i[l]]=r[i[l]]);return o};function Xa(r){const{prefixCls:t,icon:o,okText:i,cancelText:l,confirmPrefixCls:d,type:h,okCancel:p,footer:v,locale:$}=r,b=Ha(r,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let G=o;if(!o&&o!==null)switch(h){case"info":G=m.createElement(In.Z,null);break;case"success":G=m.createElement(cn.Z,null);break;case"error":G=m.createElement(kt.Z,null);break;default:G=m.createElement(en.Z,null)}const K=p!=null?p:h==="confirm",_=r.autoFocusButton===null?!1:r.autoFocusButton||"ok",[me]=(0,Ot.Z)("Modal"),he=$||me,Se=i||(K?he==null?void 0:he.okText:he==null?void 0:he.justOkText),Ce=l||(he==null?void 0:he.cancelText),U=Object.assign({autoFocusButton:_,cancelTextLocale:Ce,okTextLocale:Se,mergedOkCancel:K},b),ue=m.useMemo(()=>U,(0,a.Z)(Object.values(U))),Ze=m.createElement(m.Fragment,null,m.createElement(Xe,null),m.createElement(Ue,null)),L=r.title!==void 0&&r.title!==null,C=`${d}-body`;return m.createElement("div",{className:`${d}-body-wrapper`},m.createElement("div",{className:tt()(C,{[`${C}-has-title`]:L})},G,m.createElement("div",{className:`${d}-paragraph`},L&&m.createElement("span",{className:`${d}-title`},r.title),m.createElement("div",{className:`${d}-content`},r.content))),v===void 0||typeof v=="function"?m.createElement(le,{value:ue},m.createElement("div",{className:`${d}-btns`},typeof v=="function"?v(Ze,{OkBtn:Ue,CancelBtn:Xe}):Ze)):v,m.createElement(yn,{prefixCls:t}))}const Aa=r=>{const{close:t,zIndex:o,maskStyle:i,direction:l,prefixCls:d,wrapClassName:h,rootPrefixCls:p,bodyStyle:v,closable:$=!1,onConfirm:b,styles:G}=r,K=`${d}-confirm`,_=r.width||416,me=r.style||{},he=r.mask===void 0?!0:r.mask,Se=r.maskClosable===void 0?!1:r.maskClosable,Ce=tt()(K,`${K}-${r.type}`,{[`${K}-rtl`]:l==="rtl"},r.className),[,U]=(0,un.ZP)(),ue=m.useMemo(()=>o!==void 0?o:U.zIndexPopupBase+E.u6,[o,U]);return m.createElement(Xn,Object.assign({},r,{className:Ce,wrapClassName:tt()({[`${K}-centered`]:!!r.centered},h),onCancel:()=>{t==null||t({triggerCancel:!0}),b==null||b(!1)},title:"",footer:null,transitionName:(0,ht.m)(p||"","zoom",r.transitionName),maskTransitionName:(0,ht.m)(p||"","fade",r.maskTransitionName),mask:he,maskClosable:Se,style:me,styles:Object.assign({body:v,mask:i},G),width:_,zIndex:ue,closable:$}),m.createElement(Xa,Object.assign({},r,{confirmPrefixCls:K})))};var Ua=r=>{const{rootPrefixCls:t,iconPrefixCls:o,direction:i,theme:l}=r;return m.createElement(Ve.ZP,{prefixCls:t,iconPrefixCls:o,direction:i,theme:l},m.createElement(Aa,Object.assign({},r)))},va=[];let ao="";function ga(){return ao}const Wa=r=>{var t,o;const{prefixCls:i,getContainer:l,direction:d}=r,h=(0,wn.A)(),p=(0,m.useContext)(A.E_),v=ga()||p.getPrefixCls(),$=i||`${v}-modal`;let b=l;return b===!1&&(b=void 0),m.createElement(Ua,Object.assign({},r,{rootPrefixCls:v,prefixCls:$,iconPrefixCls:p.iconPrefixCls,theme:p.theme,direction:d!=null?d:p.direction,locale:(o=(t=p.locale)===null||t===void 0?void 0:t.Modal)!==null&&o!==void 0?o:h,getContainer:b}))};function Ia(r){const t=(0,Ve.w6)(),o=document.createDocumentFragment();let i=Object.assign(Object.assign({},r),{close:v,open:!0}),l,d;function h(...b){var G;if(b.some(me=>me==null?void 0:me.triggerCancel)){var _;(G=r.onCancel)===null||G===void 0||(_=G).call.apply(_,[r,()=>{}].concat((0,a.Z)(b.slice(1))))}for(let me=0;me<va.length;me++)if(va[me]===v){va.splice(me,1);break}d()}function p(b){clearTimeout(l),l=setTimeout(()=>{const G=t.getPrefixCls(void 0,ga()),K=t.getIconPrefixCls()
`,`\r
`].includes(Bt)})},[Wt]),pe=a.useContext(qn)||{},Te=pe.maxCount,Pt=pe.rawValues,vn=function(pt,za,Za){if(!(jt&&gn(Te)&&(Pt==null?void 0:Pt.size)>=Te)){var na=!0,ba=pt;Et==null||Et(null);var Ro=no(pt,Wt,gn(Te)?Te-Pt.size:void 0),So=Za?null:Ro;return Y!=="combobox"&&So&&(ba="",Xt==null||Xt(So),De(!1),na=!1),rt&&fa!==ba&&rt(ba,{source:za?"typing":"effect"}),na}},Na=function(pt){!pt||!pt.trim()||rt(pt,{source:"submit"})};a.useEffect(function(){!On&&!jt&&Y!=="combobox"&&vn("",!1,!1)},[On]),a.useEffect(function(){wo&&de&&ka(!1),de&&!Ma.current&&ta(!1)},[de]);var eo=R(),Ta=(0,Q.Z)(eo,2),Qn=Ta[0],ia=Ta[1],Ga=a.useRef(!1),pr=function(pt){var za=Qn(),Za=pt.key,na=Za==="Enter";if(na&&(Y!=="combobox"&&pt.preventDefault(),On||De(!0)),ia(!!fa),Za==="Backspace"&&!za&&jt&&!fa&&N.length){for(var ba=(0,_e.Z)(N),Ro=null,So=ba.length-1;So>=0;So-=1){var ko=ba[So];if(!ko.disabled){ba.splice(So,1),Ro=ko;break}}Ro&&S(ba,{type:"remove",values:[Ro]})}for(var ir=arguments.length,er=new Array(ir>1?ir-1:0),Tr=1;Tr<ir;Tr++)er[Tr-1]=arguments[Tr];if(On&&(!na||!Ga.current)){var zr;na&&(Ga.current=!0),(zr=Mn.current)===null||zr===void 0||zr.onKeyDown.apply(zr,[pt].concat(er))}ie==null||ie.apply(void 0,[pt].concat(er))},Mr=function(pt){for(var za=arguments.length,Za=new Array(za>1?za-1:0),na=1;na<za;na++)Za[na-1]=arguments[na];if(On){var ba;(ba=Mn.current)===null||ba===void 0||ba.onKeyUp.apply(ba,[pt].concat(Za))}pt.key==="Enter"&&(Ga.current=!1),Pe==null||Pe.apply(void 0,[pt].concat(Za))},Fo=function(pt){var za=N.filter(function(Za){return Za!==pt});S(za,{type:"remove",values:[pt]})},to=function(){Ga.current=!1},Qo=a.useRef(!1),br=function(){ta(!0),de||(ct&&!Qo.current&&ct.apply(void 0,arguments),fe.includes("focus")&&De(!0)),Qo.current=!0},Jo=function(){Ma.current=!0,ta(!1,function(){Qo.current=!1,Ma.current=!1,De(!1)}),!de&&(fa&&(Y==="tags"?rt(fa,{source:"submit"}):Y==="multiple"&&rt("",{source:"blur"})),Nt&&Nt.apply(void 0,arguments))},Po=[];a.useEffect(function(){return function(){Po.forEach(function(Bt){return clearTimeout(Bt)}),Po.splice(0,Po.length)}},[]);var or=function(pt){var za,Za=pt.target,na=(za=Un.current)===null||za===void 0?void 0:za.getPopupElement();if(na&&na.contains(Za)){var ba=setTimeout(function(){var ir=Po.indexOf(ba);if(ir!==-1&&Po.splice(ir,1),_a(),!bn&&!na.contains(document.activeElement)){var er;(er=Yn.current)===null||er===void 0||er.focus()}});Po.push(ba)}for(var Ro=arguments.length,So=new Array(Ro>1?Ro-1:0),ko=1;ko<Ro;ko++)So[ko-1]=arguments[ko];bt==null||bt.apply(void 0,[pt].concat(So))},Sr=a.useState({}),rr=(0,Q.Z)(Sr,2),qo=rr[1];function Cr(){qo({})}var Nr;ra&&(Nr=function(pt){De(pt)}),W(function(){var Bt;return[Ra.current,(Bt=Un.current)===null||Bt===void 0?void 0:Bt.getPopupElement()]},po,De,!!ra);var Je=a.useMemo(function(){return(0,Xe.Z)((0,Xe.Z)({},e),{},{notFoundContent:re,open:On,triggerOpen:po,id:u,showSearch:Yt,multiple:jt,toggleOpen:De})},[e,re,po,On,u,Yt,jt,De]),Zt=!!an||gt,Nn;Zt&&(Nn=a.createElement(T,{className:Ie()("".concat(g,"-arrow"),(0,le.Z)({},"".concat(g,"-arrow-loading"),gt)),customizeIcon:an,customizeIconProps:{loading:gt,searchValue:fa,open:On,focused:En,showSearch:Yt}}));var bo=function(){var pt;ae==null||ae(),(pt=Yn.current)===null||pt===void 0||pt.focus(),S([],{type:"clear",values:N}),vn("",!1,!1)},_o=f(g,bo,N,Ut,Jt,de,fa,Y),Kr=_o.allowClear,Xr=_o.clearIcon,Ur=a.createElement(wt,{ref:Mn}),Yr=Ie()(g,x,(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)({},"".concat(g,"-focused"),En),"".concat(g,"-multiple"),jt),"".concat(g,"-single"),!jt),"".concat(g,"-allow-clear"),Ut),"".concat(g,"-show-arrow"),Zt),"".concat(g,"-disabled"),de),"".concat(g,"-loading"),gt),"".concat(g,"-open"),On),"".concat(g,"-customize-input"),Io),"".concat(g,"-show-search"),Yt)),Gr=a.createElement(la,{ref:Un,disabled:de,prefixCls:g,visible:po,popupElement:Ur,animation:it,transitionName:Ft,dropdownStyle:Gn,dropdownClassName:Pn,direction:j,dropdownMatchSelectWidth:qt,dropdownRender:Rn,dropdownAlign:_t,placement:ua,builtinPlacements:kn,getPopupContainer:pn,empty:ne,getTriggerDOMNode:function
${g}${D}bottomLeft,
${x}${D}bottomLeft
`]:{animationName:Ae.fJ},[`
${g}${D}topLeft,
${x}${D}topLeft,
${g}${D}topRight,
${x}${D}topRight
`]:{animationName:Ae.Qt},[`${P}${D}bottomLeft`]:{animationName:Ae.Uw},[`
${P}${D}topLeft,
${P}${D}topRight
`]:{animationName:Ae.ly},"&-hidden":{display:"none"},[u]:Object.assign(Object.assign({},oe(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},C.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${u}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${u}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${u}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${u}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},oe(e)),{color:e.colorTextDisabled})}),[`${j}:has(+ ${j})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${j}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Ae.oN)(e,"slide-up"),(0,Ae.oN)(e,"slide-down"),(0,Ye.Fm)(e,"move-up"),(0,Ye.Fm)(e,"move-down")]},B=c(89260);const Dt=e=>{const{multipleSelectItemHeight:n,paddingXXS:s,lineWidth:u,INTERNAL_FIXED_ITEM_MARGIN:g}=e,x=e.max(e.calc(s).sub(u).equal(),0),P=e.max(e.calc(x).sub(g).equal(),0);return{basePadding:x,containerPadding:P,itemHeight:(0,B.bf)(n),itemLineHeight:(0,B.bf)(e.calc(n).sub(e.calc(e.lineWidth).mul(2)).equal())}},Rt=e=>{const{multipleSelectItemHeight:n,selectHeight:s,lineWidth:u}=e;return e.calc(s).sub(n).div(2).sub(u).equal()},At=e=>{const{componentCls:n,iconCls:s,borderRadiusSM:u,motionDurationSlow:g,paddingXS:x,multipleItemColorDisabled:P,multipleItemBorderColorDisabled:D,colorIcon:j,colorIconHover:k,INTERNAL_FIXED_ITEM_MARGIN:N}=e;return{[`${n}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"calc(100% - 4px)",display:"inline-flex"},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:N,borderRadius:u,cursor:"default",transition:`font-size ${g}, line-height ${g}, height ${g}`,marginInlineEnd:e.calc(N).mul(2).equal(),paddingInlineStart:x,paddingInlineEnd:e.calc(x).div(2).equal(),[`${n}-disabled&`]:{color:P,borderColor:D,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(x).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,C.Ro)()),{display:"inline-flex",alignItems:"center",color:j,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${s}`]:{verticalAlign:"-0.2em"},"&:hover":{color:k}})}}}},$n=(e,n)=>{const{componentCls:s,INTERNAL_FIXED_ITEM_MARGIN:u}=e,g=`${s}-selection-overflow`,x=e.multipleSelectItemHeight,P=Rt(e),D=n?`${s}-${n}`:"",j=Dt(e);return{[`${s}-multiple${D}`]:Object.assign(Object.assign({},At(e)),{[`${s}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:j.basePadding,paddingBlock:j.containerPadding,borderRadius:e.borderRadius,[`${s}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,B.bf)(u)} 0`,lineHeight:(0,B.bf)(x),visibility:"hidden",content:'"\\a0"'}},[`${s}-selection-item`]:{height:j.itemHeight,lineHeight:(0,B.bf)(j.itemLineHeight)},[`${s}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,B.bf)(x),marginBlock:u}},[`${s}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(j.basePadding).equal()},[`${g}-item + ${g}-item,
${s}-prefix + ${s}-selection-wrap
`]:{[`${s}-selection-search`]:{marginInlineStart:0},[`${s}-selection-placeholder`]:{insetInlineStart:0}},[`${g}-item-suffix`]:{minHeight:j.itemHeight,marginBlock:u},[`${s}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(P).equal(),"\n &-input,\n &-mirror\n ":{height:x,fontFamily:e.fontFamily,lineHeight:(0,B.bf)(x),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${s}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(j.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function Ee(e,n){const{componentCls:s}=e,u=n?`${s}-${n}`:"",g={[`${s}-multiple${u}`]:{fontSize:e.fontSize,[`${s}-selector`]:{[`${s}-show-search&`]:{cursor:"text"}},[`
&${s}-show-arrow ${s}-selector,
&${s}-allow-clear ${s}-selector
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[$n(e,n),g]}var rn=e=>{const{componentCls:n}=e,s=(0,Ne.IX)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),u=(0,Ne.IX)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Ee(e),Ee(s,"sm"),{[`${n}-multiple${n}-sm`]:{[`${n}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${n}-selection-search`]:{marginInlineStart:2}}},Ee(u,"lg")]};function ln(e,n){const{componentCls:s,inputPaddingHorizontalBase:u,borderRadius:g}=e,x=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),P=n?`${s}-${n}`:"";return{[`${s}-single${P}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${s}-selector`]:Object.assign(Object.assign({},(0,C.Wf)(e,!0)),{display:"flex",borderRadius:g,flex:"1 1 auto",[`${s}-selection-wrap:after`]:{lineHeight:(0,B.bf)(x)},[`${s}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${s}-selection-item,
${s}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,B.bf)(x),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${s}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${s}-selection-item:empty:after`,`${s}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${s}-show-arrow ${s}-selection-item,
&${s}-show-arrow ${s}-selection-search,
&${s}-show-arrow ${s}-selection-placeholder
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${s}-open ${s}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${s}-customize-input)`]:{[`${s}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,B.bf)(u)}`,[`${s}-selection-search-input`]:{height:x,fontSize:e.fontSize},"&:after":{lineHeight:(0,B.bf)(x)}}},[`&${s}-customize-input`]:{[`${s}-selector`]:{"&:after":{display:"none"},[`${s}-selection-search`]:{position:"static",width:"100%"},[`${s}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,B.bf)(u)}`,"&:after":{display:"none"}}}}}}}function vt(e){const{componentCls:n}=e,s=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[ln(e),ln((0,Ne.IX)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${n}-single${n}-sm`]:{[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{padding:`0 ${(0,B.bf)(s)}`},[`&${n}-show-arrow ${n}-selection-search`]:{insetInlineEnd:e.calc(s).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
&${n}-show-arrow ${n}-selection-item,
&${n}-show-arrow ${n}-selection-placeholder
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},ln((0,Ne.IX)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const tn=e=>{const{fontSize:n,lineHeight:s,lineWidth:u,controlHeight:g,controlHeightSM:x,controlHeightLG:P,paddingXXS:D,controlPaddingHorizontal:j,zIndexPopupBase:k,colorText:N,fontWeightStrong:S,controlItemBgActive:ne,controlItemBgHover:M,colorBgContainer:re,colorFillSecondary:ae,colorBgContainerDisabled:Y,colorTextDisabled:de,colorPrimaryHover:gt,colorPrimary:st,controlOutline:ot}=e,Be=D*2,Me=u*2,xt=Math.min(g-Be,g-Me),$t=Math.min(x-Be,x-Me),Et=Math.min(P-Be,P-Me);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(D/2),zIndexPopup:k+50,optionSelectedColor:N,optionSelectedFontWeight:S,optionSelectedBg:ne,optionActiveBg:M,optionPadding:`${(g-n*s)/2}px ${j}px`,optionFontSize:n,optionLineHeight:s,optionHeight:g,selectorBg:re,clearBg:re,singleItemHeightLG:P,multipleItemBg:ae,multipleItemBorderColor:"transparent",multipleItemHeight:xt,multipleItemHeightSM:$t,multipleItemHeightLG:Et,multipleSelectorBgDisabled:Y,multipleItemColorDisabled:de,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:gt,activeBorderColor:st,activeOutlineColor:ot,selectAffixPadding:D}},hn=(e,n)=>{const{componentCls:s,antCls:u,controlOutlineWidth:g}=e;return{[`&:not(${s}-customize-input) ${s}-selector`]:{border:`${(0,B.bf)(e.lineWidth)} ${e.lineType} ${n.borderColor}`,background:e.selectorBg},[`&:not(${s}-disabled):not(${s}-customize-input):not(${u}-pagination-size-changer)`]:{[`&:hover ${s}-selector`]:{borderColor:n.hoverBorderHover},[`${s}-focused& ${s}-selector`]:{borderColor:n.activeBorderColor,boxShadow:`0 0 0 ${(0,B.bf)(g)} ${n.activeOutlineColor}`,outline:0},[`${s}-prefix`]:{color:n.color}}}},sn=(e,n)=>({[`&${e.componentCls}-status-${n.status}`]:Object.assign({},hn(e,n))}),nn=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},hn(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),sn(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),sn(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,B.bf)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Ln=(e,n)=>{const{componentCls:s,antCls:u}=e;return{[`&:not(${s}-customize-input) ${s}-selector`]:{background:n.bg,border:`${(0,B.bf)(e.lineWidth)} ${e.lineType} transparent`,color:n.color},[`&:not(${s}-disabled):not(${s}-customize-input):not(${u}-pagination-size-changer)`]:{[`&:hover ${s}-selector`]:{background:n.hoverBg},[`${s}-focused& ${s}-selector`]:{background:e.selectorBg,borderColor:n.activeBorderColor,outline:0}}}},Bn=(e,n)=>({[`&${e.componentCls}-status-${n.status}`]:Object.assign({},Ln(e,n))}),sa=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ln(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),Bn(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Bn(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{backgr
&${n}-mini ${n}-prev ${n}-item-link,
&${n}-mini ${n}-next ${n}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,B.bf)(e.itemSizeSM)}},[`&${n}-mini ${n}-jump-prev, &${n}-mini ${n}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,B.bf)(e.itemSizeSM)},[`&${n}-mini ${n}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,B.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,Or.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},ho=e=>{const{componentCls:n}=e;return{[`
&${n}-simple ${n}-prev,
&${n}-simple ${n}-next
`]:{height:e.itemSizeSM,lineHeight:(0,B.bf)(e.itemSizeSM),verticalAlign:"top",[`${n}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,B.bf)(e.itemSizeSM)}}},[`&${n}-simple ${n}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,B.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,B.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,B.bf)(e.inputOutlineOffset)} 0 ${(0,B.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},Uo=e=>{const{componentCls:n}=e;return{[`${n}-jump-prev, ${n}-jump-next`]:{outline:0,[`${n}-item-container`]:{position:"relative",[`${n}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${n}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${n}-item-link-icon`]:{opacity:1},[`${n}-item-ellipsis`]:{opacity:0}}},[`
${n}-prev,
${n}-jump-prev,
${n}-jump-next
`]:{marginInlineEnd:e.marginXS},[`
${n}-prev,
${n}-next,
${n}-jump-prev,
${n}-jump-next
`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,B.bf)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${n}-prev, ${n}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${n}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,B.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${n}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${n}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${n}-disabled:hover`]:{[`${n}-item-link`]:{backgroundColor:"transparent"}}},[`${n}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${n}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,B.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Or.ik)(e)),(0,mr.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,mr.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},Lr=e=>{const{componentCls:n}=e;return{[`${n}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,B.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,B.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,B.bf)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${n}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},Pr=e=>{const{componentCls:n}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${n}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,B.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),Lr(e)),Uo(e)),ho(e)),wr(e)),jr(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${n}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${n}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},Hr=e=>{const{componentCls:n}=e;return{[`${n}:not(${n}-disabled)`]:{[`${n}-item`]:Object.assign({},(0,C.Qy)(e)),[`${n}-jump-prev, ${n}-jump-next`]:{"&:focus-visible":Object.assign({[`${n}-item-link-icon`]:{opacity:1},[`${n}-item-ellipsis`]:{opacity:0}},(0,C.oN)(e))},[`${n}-prev, ${n}-next`]:{[`&:focus-visible ${n}-item-link`]:Object.assign({},(0,C.oN)(e))}}}},vr=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContai
${w},
${O} > li,
${f},
${Z},
${R},
${W}
`]:Object.assign({},Ot(I))}}},ye=I=>{const{colorFillContent:T,colorFill:f}=I,w=T,O=f;return{color:w,colorGradientEnd:O,gradientFromColor:w,gradientToColor:O,titleHeight:I.controlHeight/2,blockRadius:I.borderRadiusSM,paragraphMarginTop:I.marginLG+I.marginXXS,paragraphLiHeight:I.controlHeight/2}};var je=(0,In.I$)("Skeleton",I=>{const{componentCls:T,calc:f}=I,w=(0,Lt.IX)(I,{skeletonAvatarCls:`${T}-avatar`,skeletonTitleCls:`${T}-title`,skeletonParagraphCls:`${T}-paragraph`,skeletonButtonCls:`${T}-button`,skeletonInputCls:`${T}-input`,skeletonImageCls:`${T}-image`,imageSizeBase:f(I.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${I.gradientFromColor} 25%, ${I.gradientToColor} 37%, ${I.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[X(w)]},ye,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Wn=I=>{const{prefixCls:T,className:f,rootClassName:w,active:O,shape:Z="circle",size:R="default"}=I,{getPrefixCls:W}=a.useContext(Ve.E_),H=W("skeleton",T),[F,$e,se]=je(H),be=(0,Ke.Z)(I,["prefixCls","className"]),q=A()(H,`${H}-element`,{[`${H}-active`]:O},f,w,$e,se);return F(a.createElement("div",{className:q},a.createElement(kt,Object.assign({prefixCls:`${H}-avatar`,shape:Z,size:R},be))))},Jn=I=>{const{prefixCls:T,className:f,rootClassName:w,active:O,block:Z=!1,size:R="default"}=I,{getPrefixCls:W}=a.useContext(Ve.E_),H=W("skeleton",T),[F,$e,se]=je(H),be=(0,Ke.Z)(I,["prefixCls"]),q=A()(H,`${H}-element`,{[`${H}-active`]:O,[`${H}-block`]:Z},f,w,$e,se);return F(a.createElement("div",{className:q},a.createElement(kt,Object.assign({prefixCls:`${H}-button`,size:R},be))))};const dn="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var z=I=>{const{prefixCls:T,className:f,rootClassName:w,style:O,active:Z}=I,{getPrefixCls:R}=a.useContext(Ve.E_),W=R("skeleton",T),[H,F,$e]=je(W),se=A()(W,`${W}-element`,{[`${W}-active`]:Z},f,w,F,$e);return H(a.createElement("div",{className:se},a.createElement("div",{className:A()(`${W}-image`,f),style:O},a.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${W}-image-svg`},a.createElement("title",null,"Image placeholder"),a.createElement("path",{d:dn,className:`${W}-image-path`})))))},Ct=I=>{const{prefixCls:T,className:f,rootClassName:w,active:O,block:Z,size:R="default"}=I,{getPrefixCls:W}=a.useContext(Ve.E_),H=W("skeleton",T),[F,$e,se]=je(H),be=(0,Ke.Z)(I,["prefixCls"]),q=A()(H,`${H}-element`,{[`${H}-active`]:O,[`${H}-block`]:Z},f,w,$e,se);return F(a.createElement("div",{className:q},a.createElement(kt,Object.assign({prefixCls:`${H}-input`,size:R},be))))},We=I=>{const{prefixCls:T,className:f,rootClassName:w,style:O,active:Z,children:R}=I,{getPrefixCls:W}=a.useContext(Ve.E_),H=W("skeleton",T),[F,$e,se]=je(H),be=A()(H,`${H}-element`,{[`${H}-active`]:Z},$e,f,w,se);return F(a.createElement("div",{className:be},a.createElement("div",{className:A()(`${H}-image`,f),style:O},R)))};const y=(I,T)=>{const{width:f,rows:w=2}=T;if(Array.isArray(f))return f[I];if(w-1===I)return f};var te=I=>{const{prefixCls:T,className:f,style:w,rows:O=0}=I,Z=Array.from({length:O}).map((R,W)=>a.createElement("li",{key:W,style:{width:y(W,I)}}));return a.createElement("ul",{cl