You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
87 KiB
43 lines
87 KiB
(globalThis.utooChunk_ant_design_pro||(globalThis.utooChunk_ant_design_pro=[])).push(["object"==typeof document?document.currentScript:void 0,3287,e=>{"use strict";var t=e.i(188304);e.s(["Tooltip",()=>t.default])},4549,598626,805284,313764,839083,e=>{"use strict";let t;var o=e.i(191788),r=e.i(545187),n=e.i(650344),i=e.i(203686),a=e.i(571246),l=e.i(151304),d=e.i(56206),s=e.i(993175);let c=o.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});e.s(["LayoutContext",0,c],598626);var u=e.i(980646),m=e.i(352050);let p=e=>{let{colorBgLayout:t,controlHeight:o,controlHeightLG:r,colorText:n,controlHeightSM:i,marginXXS:a,colorTextLightSolid:l,colorBgContainer:d}=e,s=1.25*r;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*o,headerPadding:`0 ${s}px`,headerColor:n,footerPadding:`${i}px ${s}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+2*a,triggerBg:"#002140",triggerColor:l,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:d,lightTriggerBg:d,lightTriggerColor:n}},g=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];var $=(0,m.genStyleHooks)("Layout",e=>{let{antCls:t,componentCls:o,colorText:r,footerBg:n,headerHeight:i,headerPadding:a,headerColor:l,footerPadding:d,fontSize:s,bodyBg:c,headerBg:m}=e;return{[o]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:c,"&, *":{boxSizing:"border-box"},[`&${o}-has-sider`]:{flexDirection:"row",[`> ${o}, > ${o}-content`]:{width:0}},[`${o}-header, &${o}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${o}-header`]:{height:i,padding:a,color:l,lineHeight:(0,u.unit)(i),background:m,[`${t}-menu`]:{lineHeight:"inherit"}},[`${o}-footer`]:{padding:d,color:r,fontSize:s,background:n},[`${o}-content`]:{flex:"auto",color:r,minHeight:0}}},p,{deprecatedTokens:g});e.s(["DEPRECATED_TOKENS",0,g,"default",()=>$,"prepareComponentToken",0,p],805284);var f=(0,m.genStyleHooks)(["Layout","Sider"],e=>{let{componentCls:t,siderBg:o,motionDurationMid:r,motionDurationSlow:n,antCls:i,triggerHeight:a,triggerColor:l,triggerBg:d,headerHeight:s,zeroTriggerWidth:c,zeroTriggerHeight:m,borderRadiusLG:p,lightSiderBg:g,lightTriggerColor:$,lightTriggerBg:f,bodyBg:b}=e;return{[t]:{position:"relative",minWidth:0,background:o,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${i}-menu${i}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${t}-children`]:{overflow:"hidden"},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:l,lineHeight:(0,u.unit)(a),textAlign:"center",background:d,cursor:"pointer",transition:`all ${r}`},[`${t}-zero-width-trigger`]:{position:"absolute",top:s,insetInlineEnd:e.calc(c).mul(-1).equal(),zIndex:1,width:c,height:m,color:l,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:o,borderRadius:`0 ${(0,u.unit)(p)} ${(0,u.unit)(p)} 0`,cursor:"pointer",transition:`background-color ${n} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${n}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(c).mul(-1).equal(),borderRadius:`${(0,u.unit)(p)} 0 0 ${(0,u.unit)(p)}`}},"&-light":{background:g,[`${t}-trigger`]:{color:$,background:f},[`${t}-zero-width-trigger`]:{color:$,background:f,border:`1px solid ${b}`,borderInlineStart:0}}}}},p,{deprecatedTokens:g});let b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px",xxxl:"1839.98px"},h=o.createContext({}),v=(t=0,(e="")=>(t+=1,`${e}${t}`)),x=o.forwardRef((e,t)=>{let{prefixCls:r,className:u,trigger:m,children:p,defaultCollapsed:g=!1,theme:$="dark",style:x={},collapsible:S=!1,reverseArrow:C=!1,width:y=200,collapsedWidth:w=80,zeroWidthTriggerStyle:I,breakpoint:B,onCollapse:k,onBreakpoint:E,...z}=e,{siderHook:M}=(0,o.useContext)(c),[T,N]=(0,o.useState)("collapsed"in e?e.collapsed:g),[R,H]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in e&&N(e.collapsed)},[e.collapsed]);let W=(t,o)=>{"collapsed"in e||N(t),k?.(t,o)},{getPrefixCls:D,direction:A}=(0,o.useContext)(s.ConfigContext),O=D("layout-sider",r),[P,L]=f(O),F=(0,o.useRef)(null);F.current=e=>{H(e.matches),E?.(e.matches),T!==e.matches&&W(e.matches,"responsive")},(0,o.useEffect)(()=>{let e;function t(e){return F.current?.(e)}return void 0!==window?.matchMedia&&B&&B in b&&(e=window.matchMedia(`screen and (max-width: ${b[B]})`),"function"==typeof e?.addEventListener&&e.addEventListener("change",t),t(e)),()=>{"function"==typeof e?.removeEventListener&&e.removeEventListener("change",t)}},[B]),(0,o.useEffect)(()=>{let e=v("ant-sider-");return M.addSider(e),()=>M.removeSider(e)},[]);let G=()=>{W(!T,"clickTrigger")},q=(0,l.omit)(z,["collapsed"]),X=T?w:y,j=!Number.isNaN(Number.parseFloat(X))&&Number.isFinite(Number(X))?`${X}px`:String(X),V=0===Number.parseFloat(String(w||0))?o.createElement("span",{onClick:G,className:(0,d.clsx)(`${O}-zero-width-trigger`,`${O}-zero-width-trigger-${C?"right":"left"}`),style:I},m||o.createElement(n.default,null)):null,_="rtl"===A==!C,K={expanded:_?o.createElement(a.default,null):o.createElement(i.default,null),collapsed:_?o.createElement(i.default,null):o.createElement(a.default,null)}[T?"collapsed":"expanded"],Y=null!==m?V||o.createElement("div",{className:`${O}-trigger`,onClick:G,style:{width:j}},m||K):null,U={...x,flex:`0 0 ${j}`,maxWidth:j,minWidth:j,width:j},Z=(0,d.clsx)(O,`${O}-${$}`,{[`${O}-collapsed`]:!!T,[`${O}-has-trigger`]:S&&null!==m&&!V,[`${O}-below`]:!!R,[`${O}-zero-width`]:0===Number.parseFloat(j)},u,P,L),Q=o.useMemo(()=>({siderCollapsed:T}),[T]);return o.createElement(h.Provider,{value:Q},o.createElement("aside",{className:Z,...q,style:U,ref:t},o.createElement("div",{className:`${O}-children`},p),S||R&&V?Y:null))});e.s(["SiderContext",0,h,"default",()=>x],313764);var S=e.i(436612),C=e.i(430898),y=e.i(47472),w=e.i(663032),I=e.i(749919);let B=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1,styles:null,classNames:null});var k=e=>{let{prefixCls:t,className:n,dashed:i,...a}=e,{getPrefixCls:l}=o.useContext(s.ConfigContext),c=l("menu",t),u=(0,d.clsx)({[`${c}-item-divider-dashed`]:!!i},n);return o.createElement(r.Divider,{className:u,...a})},E=e.i(188304),z=e=>{let t,n,{className:i,children:a,icon:s,title:c,danger:u,extra:m}=e,{prefixCls:p,firstLevel:g,direction:$,disableMenuItemTitleTooltip:f,tooltip:b,inlineCollapsed:v,styles:x,classNames:S}=o.useContext(B),{siderCollapsed:C}=o.useContext(h),y=c;void 0===c?y=g?a:"":!1===c&&(y="");let I=!1===b?void 0:b,k=I&&void 0!==I.title?I.title:y,z={...I??null,title:k};C||v||(z.title=null,z.open=!1);let M=(0,l.toArray)(a).length,T=o.createElement(r.Item,{...(0,l.omit)(e,["title","icon","danger"]),className:(0,d.clsx)(g?S?.item:S?.subMenu?.item,{[`${p}-item-danger`]:u,[`${p}-item-only-child`]:(s?M+1:M)===1},i),style:{...g?x?.item:x?.subMenu?.item,...e.style},title:"string"==typeof c?c:void 0},(0,w.cloneElement)(s,e=>({className:(0,d.clsx)(`${p}-item-icon`,g?S?.itemIcon:S?.subMenu?.itemIcon,e.className),style:{...g?x?.itemIcon:x?.subMenu?.itemIcon,...e.style}})),(t=a?.[0],n=o.createElement("span",{className:(0,d.clsx)(`${p}-title-content`,g?S?.itemContent:S?.subMenu?.itemContent,{[`${p}-title-content-with-extra`]:!!m||0===m}),style:g?x?.itemContent:x?.subMenu?.itemContent},a),(!s||o.isValidElement(a)&&"span"===a.type)&&a&&v&&g&&"string"==typeof t?o.createElement("div",{className:`${p}-inline-collapsed-noicon`},t.charAt(0)):n));if(!f&&!1!==b){let e=I&&I.placement?I.placement:"rtl"===$?"left":"right",t=`${p}-inline-collapsed-tooltip`,r=e=>({...e,root:(0,d.clsx)(t,e?.root)}),n=I&&"function"==typeof I.classNames?e=>r(I.classNames(e)):r(I?.classNames);T=o.createElement(E.default,{...z,placement:e,classNames:n},T)}return T},M=e.i(851581),T=e.i(329127);let N=o.createContext(null),R=o.forwardRef((e,t)=>{let{children:r,...n}=e,i=o.useContext(N),a=o.useMemo(()=>({...i,...n}),[i,n.prefixCls,n.mode,n.selectable,n.rootClassName]),l=(0,M.supportNodeRef)(r),d=(0,M.useComposeRef)(t,l?(0,M.getNodeRef)(r):null);return o.createElement(N.Provider,{value:a},o.createElement(T.default,{space:!0},l?o.cloneElement(r,{ref:d}):r))});e.s(["OverrideProvider",0,R,"default",()=>N],839083);var H=e.i(218589),W=e.i(307441),D=e.i(640055),A=e.i(871190),O=e.i(394739),P=e.i(108314);let L=e=>(0,W.genFocusOutline)(e);var F=(e,t)=>{let{componentCls:o,itemColor:r,itemSelectedColor:n,subMenuItemSelectedColor:i,groupTitleColor:a,itemBg:l,subMenuItemBg:d,itemSelectedBg:s,activeBarHeight:c,activeBarWidth:m,activeBarBorderWidth:p,motionDurationSlow:g,motionEaseInOut:$,motionEaseOut:f,itemPaddingInline:b,motionDurationMid:h,itemHoverColor:v,lineType:x,colorSplit:S,itemDisabledColor:C,dangerItemColor:y,dangerItemHoverColor:w,dangerItemSelectedColor:I,dangerItemActiveBg:B,dangerItemSelectedBg:k,popupBg:E,itemHoverBg:z,itemActiveBg:M,menuSubMenuBg:T,horizontalItemSelectedColor:N,horizontalItemSelectedBg:R,horizontalItemBorderRadius:H,horizontalItemHoverBg:W}=e;return{[`${o}-${t}, ${o}-${t} > ${o}`]:{color:r,background:l,[`&${o}-root:focus-visible`]:{...L(e)},[`${o}-item`]:{"&-group-title, &-extra":{color:a}},[`${o}-submenu-selected > ${o}-submenu-title`]:{color:i},[`${o}-item, ${o}-submenu-title`]:{color:r,[`&:not(${o}-item-disabled):focus-visible`]:{...L(e)}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${C} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:v}},[`${o}-submenu:not(${o}-submenu-selected)`]:{[`> ${o}-submenu-title:hover`]:{color:v}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:z},"&:active":{backgroundColor:M}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:z},"&:active":{backgroundColor:M}}},[`${o}-item-danger`]:{color:y,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:w}},[`&${o}-item:active`]:{background:B}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:n,[`&${o}-item-danger`]:{color:I},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:s,[`&${o}-item-danger`]:{backgroundColor:k}},[`&${o}-submenu > ${o}`]:{backgroundColor:T},[`&${o}-popup > ${o}`]:{backgroundColor:E},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:E},[`&${o}-horizontal`]:{..."dark"===t?{borderBottom:0}:{},[`> ${o}-item, > ${o}-submenu`]:{top:p,marginTop:e.calc(p).mul(-1).equal(),marginBottom:0,borderRadius:H,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${(0,u.unit)(c)} solid transparent`,transition:`border-color ${g} ${$}`,content:'""'},"&:hover, &-active, &-open":{background:W,"&::after":{borderBottomWidth:c,borderBottomColor:N}},"&-selected":{color:N,backgroundColor:R,"&:hover":{backgroundColor:R},"&::after":{borderBottomWidth:c,borderBottomColor:N}}}},[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,u.unit)(p)} ${x} ${S}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:d},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,u.unit)(m)} solid ${n}`,transform:"scaleY(0.0001)",opacity:0,transition:["transform","opacity"].map(e=>`${e} ${h} ${f}`).join(","),content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:I}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:["transform","opacity"].map(e=>`${e} ${h} ${$}`).join(",")}}}}}};let G=e=>{let{componentCls:t,itemHeight:o,itemMarginInline:r,padding:n,menuArrowSize:i,marginXS:a,itemMarginBlock:l,itemWidth:d,itemPaddingInline:s}=e,c=e.calc(i).add(n).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:(0,u.unit)(o),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:d},[`> ${t}-item,
|
|
> ${t}-submenu > ${t}-submenu-title`]:{height:o,lineHeight:(0,u.unit)(o)},[`${t}-item-group-list ${t}-submenu-title,
|
|
${t}-submenu-title`]:{paddingInlineEnd:c}}},q=e=>{let{componentCls:t,motionDurationSlow:o,motionDurationMid:r,motionEaseInOut:n,motionEaseOut:i,iconCls:a,iconSize:l,iconMarginInlineEnd:d}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${o},background-color ${o},padding calc(${o} + 0.1s) ${n}`,[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:`font-size ${r} ${i},margin ${o} ${n},color ${o}`,"+ span":{marginInlineStart:d,opacity:1,transition:`opacity ${o} ${n},margin ${o},color ${o}`}},[`${t}-item-icon`]:{...(0,W.resetIcon)()},[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},X=e=>{let{componentCls:t,motionDurationSlow:o,motionEaseInOut:r,borderRadius:n,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:["transform","opacity"].map(e=>`${e} ${o}`).join(",")},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:n,transition:["background-color","transform","top","color"].map(e=>`${e} ${o} ${r}`).join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,u.unit)(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,u.unit)(a)})`}}}}},j=e=>{let{colorPrimary:t,colorError:o,colorTextDisabled:r,colorErrorBg:n,colorText:i,colorTextDescription:a,colorBgContainer:l,colorFillAlter:d,colorFillContent:s,lineWidth:c,lineWidthBold:u,controlItemBgActive:m,colorBgTextHover:p,controlHeightLG:g,lineHeight:$,colorBgElevated:f,marginXXS:b,padding:h,fontSize:v,controlHeightSM:x,fontSizeLG:S,colorTextLightSolid:C,colorErrorHover:y}=e,w=e.activeBarWidth??0,I=e.activeBarBorderWidth??c,B=e.itemMarginInline??e.marginXXS,k=new H.FastColor(C).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:i,itemColor:i,colorItemTextHover:i,itemHoverColor:i,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:a,groupTitleColor:a,colorItemTextSelected:t,itemSelectedColor:t,subMenuItemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:l,itemBg:l,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:s,itemActiveBg:m,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:m,itemSelectedBg:m,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:w,colorActiveBarHeight:u,activeBarHeight:u,colorActiveBarBorderSize:c,activeBarBorderWidth:I,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:n,dangerItemActiveBg:n,colorDangerItemBgSelected:n,dangerItemSelectedBg:n,itemMarginInline:B,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:g,groupTitleLineHeight:$,collapsedWidth:2*g,popupBg:f,itemMarginBlock:b,itemPaddingInline:h,horizontalLineHeight:`${1.15*g}px`,iconSize:v,iconMarginInlineEnd:x-v,collapsedIconSize:S,groupTitleFontSize:v,darkItemDisabledColor:new H.FastColor(C).setA(.25).toRgbString(),darkItemColor:k,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:C,darkItemSelectedBg:t,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:k,darkItemHoverColor:C,darkDangerItemHoverColor:y,darkDangerItemSelectedColor:C,darkDangerItemActiveBg:o,itemWidth:w?`calc(100% + ${I}px)`:`calc(100% - ${2*B}px)`}};var V=e.i(48012),_=e=>{let t,{popupClassName:n,icon:i,title:a,theme:s}=e,c=o.useContext(B),{prefixCls:u,inlineCollapsed:m,theme:p,classNames:g,styles:$}=c,f=(0,r.useFullPath)();if(i){let e=o.isValidElement(a)&&"span"===a.type;t=o.createElement(o.Fragment,null,(0,w.cloneElement)(i,e=>({className:(0,d.clsx)(e.className,`${u}-item-icon`,g?.itemIcon),style:{...e.style,...$?.itemIcon}})),e?a:o.createElement("span",{className:`${u}-title-content`},a))}else t=m&&!f.length&&a&&"string"==typeof a?o.createElement("div",{className:`${u}-inline-collapsed-noicon`},a.charAt(0)):o.createElement("span",{className:`${u}-title-content`},a);let b=o.useMemo(()=>({...c,firstLevel:!1}),[c]),[h]=(0,V.useZIndex)("Menu");return o.createElement(B.Provider,{value:b},o.createElement(r.SubMenu,{...(0,l.omit)(e,["icon"]),title:t,classNames:{list:g?.subMenu?.list,listTitle:g?.subMenu?.itemTitle},styles:{list:$?.subMenu?.list,listTitle:$?.subMenu?.itemTitle},popupClassName:(0,d.clsx)(u,n,g?.popup?.root,`${u}-${s||p}`),popupStyle:{zIndex:h,...e.popupStyle,...$?.popup?.root}}))};function K(e){return null===e||!1===e}let Y={item:z,submenu:_,divider:k},U=(0,o.forwardRef)((e,t)=>{let n=o.useContext(N),i=n||{},{prefixCls:a,className:c,style:p,theme:g="light",expandIcon:$,_internalDisableMenuItemTitleTooltip:f,tooltip:b,inlineCollapsed:h,siderCollapsed:v,rootClassName:x,mode:k,selectable:E,onClick:z,overflowedIndicatorPopupClassName:M,classNames:T,styles:R,...H}=e,{menu:L}=o.useContext(s.ConfigContext),{getPrefixCls:V,getPopupContainer:_,direction:U,className:Z,style:Q,classNames:J,styles:ee}=(0,s.useComponentConfig)("menu"),et=V(),eo=(0,l.omit)(H,["collapsedWidth"]);i.validator?.({mode:k});let er=(0,l.useEvent)((...e)=>{z?.(...e),i.onClick?.()}),en=i.mode||k,ei=E??i.selectable,ea=h??v,el={...e,mode:en,inlineCollapsed:ea,selectable:ei,theme:g},[ed,es]=(0,C.useMergeSemantic)([J,T],[ee,R],{props:el},{popup:{_default:"root"},subMenu:{_default:"item"}}),ec={horizontal:{motionName:`${et}-slide-up`},inline:(0,y.default)(et),other:{motionName:`${et}-zoom-big`}},eu=V("menu",a||i.prefixCls),em=(0,I.default)(eu),[ep,eg]=((e,t=e,o=!0)=>(0,m.genStyleHooks)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:o,fontSize:r,darkItemColor:n,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:l,darkItemSelectedColor:d,darkItemSelectedBg:s,darkDangerItemSelectedBg:c,darkItemHoverBg:m,darkGroupTitleColor:p,darkItemHoverColor:g,darkItemDisabledColor:$,darkDangerItemHoverColor:f,darkDangerItemSelectedColor:b,darkDangerItemActiveBg:h,popupBg:v,darkPopupBg:x}=e,S=e.calc(r).div(7).mul(5).equal(),C=(0,P.mergeToken)(e,{menuArrowSize:S,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(S).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),y=(0,P.mergeToken)(C,{itemColor:n,itemHoverColor:g,groupTitleColor:p,itemSelectedColor:d,subMenuItemSelectedColor:d,itemBg:a,popupBg:x,subMenuItemBg:l,itemActiveBg:"transparent",itemSelectedBg:s,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:m,itemDisabledColor:$,dangerItemColor:i,dangerItemHoverColor:f,dangerItemSelectedColor:b,dangerItemActiveBg:h,dangerItemSelectedBg:c,menuSubMenuBg:l,horizontalItemSelectedColor:d,horizontalItemSelectedBg:s});return[(e=>{let{antCls:t,componentCls:o,fontSize:r,motionDurationSlow:n,motionDurationMid:i,motionEaseInOut:a,paddingXS:l,padding:d,colorSplit:s,lineWidth:c,zIndexPopup:m,borderRadiusLG:p,subMenuItemBorderRadius:g,menuArrowSize:$,menuArrowOffset:f,lineType:b,groupTitleLineHeight:h,groupTitleFontSize:v}=e;return[{"":{[o]:{...(0,W.clearFix)(),"&-hidden":{display:"none"}}},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:{...(0,W.resetComponent)(e),...(0,W.clearFix)(),marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${n} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,u.unit)(l)} ${(0,u.unit)(d)}`,fontSize:v,lineHeight:h,transition:`all ${n}`},[`&-horizontal ${o}-submenu`]:{transition:["border-color","background-color"].map(e=>`${e} ${n} ${a}`).join(",")},[`${o}-submenu, ${o}-submenu-inline`]:{transition:[`border-color ${n}`,`background-color ${n}`,`padding ${i}`].map(e=>`${e} ${a}`).join(",")},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:["background-color","padding"].map(e=>`${e} ${n} ${a}`).join(",")},[`${o}-title-content`]:{transition:`color ${n}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${o}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:s,borderStyle:b,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}},...q(e),[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,u.unit)(e.calc(r).mul(2).equal())} ${(0,u.unit)(d)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:m,borderRadius:p,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:{borderRadius:p,...q(e),...X(e),[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:g},[`${o}-submenu-title::after`]:{transition:`transform ${n} ${a}`}}},"&-placement-leftTop, &-placement-bottomRight":{transformOrigin:"100% 0"},"&-placement-leftBottom, &-placement-topRight":{transformOrigin:"100% 100%"},"&-placement-rightBottom, &-placement-topLeft":{transformOrigin:"0 100%"},"&-placement-bottomLeft, &-placement-rightTop":{transformOrigin:"0 0"},"&-placement-leftTop, &-placement-leftBottom":{paddingInlineEnd:e.paddingXS},"&-placement-rightTop, &-placement-rightBottom":{paddingInlineStart:e.paddingXS},"&-placement-topRight, &-placement-topLeft":{paddingBottom:e.paddingXS},"&-placement-bottomRight, &-placement-bottomLeft":{paddingTop:e.paddingXS}},...X(e),[`&-inline-collapsed ${o}-submenu-arrow,
|
|
&-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,u.unit)(f)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,u.unit)(e.calc(f).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,u.unit)(e.calc($).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,u.unit)(e.calc(f).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,u.unit)(f)})`}}}},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]})(C),(e=>{let{componentCls:t,motionDurationSlow:o,horizontalLineHeight:r,colorSplit:n,lineWidth:i,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${(0,u.unit)(i)} ${a} ${n}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover,
|
|
> ${t}-item-active,
|
|
> ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:["border-color","background-color"].map(e=>`${e} ${o}`).join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}})(C),(e=>{let{componentCls:t,iconCls:o,itemHeight:r,colorTextLightSolid:n,dropdownWidth:i,controlHeightLG:a,motionEaseOut:l,paddingXL:d,itemMarginInline:s,fontSizeLG:c,motionDurationFast:m,motionDurationSlow:p,paddingXS:g,boxShadowSecondary:$,collapsedWidth:f,collapsedIconSize:b}=e,h={height:r,lineHeight:(0,u.unit)(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":{[`&${t}-root`]:{boxShadow:"none"},...G(e)}},[`${t}-submenu-popup`]:{[`${t}-vertical`]:{...G(e),boxShadow:$}}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${(0,u.unit)(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:`border-color ${p},background-color ${p},padding ${m} ${l}`,[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:h,[`& ${t}-item-group-title`]:{paddingInlineStart:d}},[`${t}-item`]:h}},{[`${t}-inline-collapsed`]:{width:f,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:c,textAlign:"center"}}},[`> ${t}-item,
|
|
> ${t}-item-group > ${t}-item-group-list > ${t}-item,
|
|
> ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
|
|
> ${t}-submenu > ${t}-submenu-title`]:{display:"flex",alignItems:"center",justifyContent:"center",insetInlineStart:0,paddingInline:`calc(50% - ${(0,u.unit)(e.calc(b).div(2).equal())} - ${(0,u.unit)(s)})`,textOverflow:"clip",[`
|
|
${t}-submenu-arrow,
|
|
${t}-submenu-expand-icon
|
|
`]:{opacity:0},[`> ${t}-title-content`]:{width:0,opacity:0,overflow:"hidden"},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:b,lineHeight:(0,u.unit)(r),"+ span":{display:"inline-block",width:0,opacity:0,overflow:"hidden",marginInlineStart:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},"a, a:hover":{color:n}},[`${t}-item-group-title`]:{...W.textEllipsis,paddingInline:g}}}]})(C),F(C,"light"),F(y,"dark"),(({componentCls:e,menuArrowOffset:t,calc:o})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,
|
|
${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,u.unit)(o(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,u.unit)(t)})`}}}}))(C),(0,D.genCollapseMotion)(C),(0,A.initSlideMotion)(C,"slide-up"),(0,A.initSlideMotion)(C,"slide-down"),(0,O.initZoomMotion)(C,"zoom-big")]},j,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}})(e,t))(eu,em,!n),e$=(0,d.clsx)(`${eu}-${g}`,Z,c),ef=o.useMemo(()=>{if("function"==typeof $||K($))return $||null;if("function"==typeof i.expandIcon||K(i.expandIcon))return i.expandIcon||null;if("function"==typeof L?.expandIcon||K(L?.expandIcon))return L?.expandIcon||null;let e=$??i?.expandIcon??L?.expandIcon;return(0,w.cloneElement)(e,{className:(0,d.clsx)(`${eu}-submenu-expand-icon`,o.isValidElement(e)?e.props?.className:void 0)})},[$,i?.expandIcon,L?.expandIcon,eu]),eb=o.useMemo(()=>({prefixCls:eu,inlineCollapsed:ea||!1,direction:U,firstLevel:!0,theme:g,mode:en,disableMenuItemTitleTooltip:f,tooltip:b,classNames:ed,styles:es}),[eu,ea,U,f,g,en,ed,es,b]);return o.createElement(N.Provider,{value:null},o.createElement(B.Provider,{value:eb},o.createElement(r.default,{getPopupContainer:_,overflowedIndicator:o.createElement(S.default,null),overflowedIndicatorPopupClassName:(0,d.clsx)(eu,`${eu}-${g}`,M),classNames:{list:ed.list,listTitle:ed.itemTitle},styles:{list:es.list,listTitle:es.itemTitle},mode:en,selectable:ei,onClick:er,...eo,inlineCollapsed:ea,style:{...es.root,...Q,...p},className:e$,prefixCls:eu,direction:U,defaultMotions:ec,expandIcon:ef,ref:t,rootClassName:(0,d.clsx)(x,ep,i.rootClassName,eg,em,ed.root),_internalComponents:Y})))}),Z=(0,o.forwardRef)((e,t)=>{let r=(0,o.useRef)(null),n=o.useContext(h);return(0,o.useImperativeHandle)(t,()=>({menu:r.current,focus:e=>{r.current?.focus(e)}})),o.createElement(U,{ref:r,...e,...n})});Z.Item=z,Z.SubMenu=_,Z.Divider=k,Z.ItemGroup=r.ItemGroup,e.s(["default",()=>Z],4549)},32723,e=>{"use strict";var t=e.i(495059);let o=void 0!==t.default&&null!=t.default.versions&&null!=t.default.versions.node;e.s(["isBrowser",0,()=>"u">typeof window&&void 0!==window.document&&void 0!==window.matchMedia&&!o])},100177,e=>{"use strict";var t=e.i(191788),o=e.i(203686),r=e.i(571246),n=e.i(271362),i=e.i(151304),a=e.i(56206),l=e.i(430898),d=e.i(48012),s=e.i(934854),c=e.i(388663),u=e.i(14297),m=e.i(663032),p=e.i(351216),g=e.i(783670),$=e.i(993175),f=e.i(749919),b=e.i(4549),h=e.i(839083),v=e.i(101219),x=e.i(980646),S=e.i(307441),C=e.i(774782),y=e.i(871190),w=e.i(394739),I=e.i(770371),B=e.i(840665),k=e.i(352050),E=e.i(108314),z=(0,k.genStyleHooks)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:o,paddingXXS:r,componentCls:n}=e,i=(0,E.mergeToken)(e,{menuCls:`${n}-menu`,dropdownArrowDistance:e.calc(o).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[(e=>{let{componentCls:t,menuCls:o,zIndexPopup:r,dropdownArrowDistance:n,sizePopupArrow:i,antCls:a,iconCls:l,motionDurationMid:d,paddingBlock:s,fontSize:c,dropdownEdgeChildPadding:u,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:g,colorBgElevated:$}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(n).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${a}-btn`]:{[`& > ${l}-down, & > ${a}-btn-icon > ${l}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${l}-down`]:{fontSize:p},[`${l}-down::before`]:{transition:`transform ${d}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"&-hidden, &-menu-hidden, &-menu-submenu-hidden":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft,
|
|
&${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft,
|
|
&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom,
|
|
&${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom,
|
|
&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight,
|
|
&${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:y.slideUpIn},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft,
|
|
&${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft,
|
|
&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top,
|
|
&${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top,
|
|
&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight,
|
|
&${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:y.slideDownIn},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft,
|
|
&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom,
|
|
&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:y.slideUpOut},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft,
|
|
&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top,
|
|
&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:y.slideDownOut}}},(0,I.default)(e,$,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{...(0,S.resetComponent)(e),[o]:{padding:u,listStyleType:"none",backgroundColor:$,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,...(0,S.genFocusStyle)(e),"&:empty":{padding:0,boxShadow:"none"},[`${o}-item-group-title`]:{padding:`${(0,x.unit)(s)} ${(0,x.unit)(g)}`,color:e.colorTextDescription,transition:`all ${d}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${o}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${o}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${d}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${o}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${o}-item, ${o}-submenu-title`]:{display:"flex",margin:0,padding:`${(0,x.unit)(s)} ${(0,x.unit)(g)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${d}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover},...(0,S.genFocusStyle)(e),"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:$,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,x.unit)(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorIcon,fontSize:p,fontStyle:"normal"}}},[`${o}-item-group-list`]:{margin:`0 ${(0,x.unit)(e.marginXS)}`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:$,cursor:"not-allowed"}},[`${o}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}}}},[(0,y.initSlideMotion)(e,"slide-up"),(0,y.initSlideMotion)(e,"slide-down"),(0,C.initMoveMotion)(e,"move-up"),(0,C.initMoveMotion)(e,"move-down"),(0,w.initZoomMotion)(e,"zoom-big")]]})(i),(e=>{let{componentCls:t,menuCls:o,colorError:r,colorTextLightSolid:n}=e,i=`${o}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${o} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:n,backgroundColor:r}}}}}})(i)]},e=>({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2,...(0,I.getArrowOffsetToken)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0}),...(0,B.getArrowToken)(e)}),{resetStyle:!1});let M=e=>{let{menu:u,arrow:x,prefixCls:S,children:C,trigger:y,disabled:w,dropdownRender:I,popupRender:B,getPopupContainer:k,overlayClassName:E,rootClassName:M,overlayStyle:T,open:N,onOpenChange:R,mouseEnterDelay:H=.15,mouseLeaveDelay:W=.1,autoAdjustOverflow:D=!0,placement:A="",transitionName:O,classNames:P,styles:L,destroyPopupOnHide:F,destroyOnHidden:G}=e,{getPrefixCls:q,direction:X,getPopupContainer:j,className:V,style:_,classNames:K,styles:Y}=(0,$.useComponentConfig)("dropdown"),U={...e,mouseEnterDelay:H,mouseLeaveDelay:W,autoAdjustOverflow:D},[Z,Q]=(0,l.useMergeSemantic)([K,P],[Y,L],{props:U}),J={..._,...T,...Q.root},ee=B||I;(0,p.devUseWarning)("Dropdown");let et=t.useMemo(()=>{let e=q();return void 0!==O?O:A.includes("top")?`${e}-slide-down`:`${e}-slide-up`},[q,A,O]),eo=t.useMemo(()=>A?A.includes("Center")?A.slice(0,A.indexOf("Center")):A:"rtl"===X?"bottomRight":"bottomLeft",[A,X]),er=q("dropdown",S),en=(0,f.default)(er),[ei,ea]=z(er,en),[,el]=(0,v.useToken)(),ed=t.Children.only((0,s.isPrimitive)(C)?t.createElement("span",null,C):C),es=(0,m.cloneElement)(ed,{className:(0,a.clsx)(`${er}-trigger`,{[`${er}-rtl`]:"rtl"===X},ed.props.className),disabled:ed.props.disabled??w}),ec=w?[]:y,eu=!!ec?.includes("contextMenu"),[em,ep]=(0,i.useControlledState)(!1,N),eg=(0,i.useEvent)(e=>{R?.(e,{source:"trigger"}),ep(e)}),e$=(0,a.clsx)(E,M,ei,ea,en,V,Z.root,{[`${er}-rtl`]:"rtl"===X}),ef=(0,c.default)({arrowPointAtCenter:(0,s.isPlainObject)(x)&&x.pointAtCenter,autoAdjustOverflow:D,offset:el.marginXXS,arrowWidth:x?el.sizePopupArrow:0,borderRadius:el.borderRadius}),eb=(0,i.useEvent)(()=>{u?.selectable&&u?.multiple||(R?.(!1,{source:"menu"}),ep(!1))}),[eh,ev]=(0,d.useZIndex)("Dropdown",J.zIndex),ex=t.createElement(n.default,{alignPoint:eu,...(0,i.omit)(e,["rootClassName","onOpenChange"]),mouseEnterDelay:H,mouseLeaveDelay:W,visible:em,builtinPlacements:ef,arrow:!!x,overlayClassName:e$,prefixCls:er,getPopupContainer:k||j,transitionName:et,trigger:ec,overlay:()=>{let e,n=(0,i.omit)(Z,["root"]),l=(0,i.omit)(Q,["root"]);return u?.items&&(e=t.createElement(b.default,{...u,classNames:{...n,subMenu:{...n}},styles:{...l,subMenu:{...l}}})),ee&&(e=ee(e)),e=t.Children.only("string"==typeof e?t.createElement("span",null,e):e),t.createElement(h.OverrideProvider,{prefixCls:`${er}-menu`,rootClassName:(0,a.clsx)(ea,en),expandIcon:t.createElement("span",{className:`${er}-menu-submenu-arrow`},"rtl"===X?t.createElement(o.default,{className:`${er}-menu-submenu-arrow-icon`}):t.createElement(r.default,{className:`${er}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:eb,validator:({mode:e})=>{}},e)},placement:eo,onVisibleChange:eg,overlayStyle:{...J,zIndex:eh},autoDestroy:G??F},es);return eh&&(ex=t.createElement(g.default.Provider,{value:ev},ex)),ex},T=(0,u.default)(M,"align",void 0,"dropdown",e=>e);M._InternalPanelDoNotUseOrYouWillBeFired=e=>t.createElement(T,{...e},t.createElement("span",null)),e.s(["default",()=>M],100177)},203686,e=>{"use strict";var t=e.i(191788),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},r=e.i(117716);function n(){return(n=Object.assign.bind()).apply(this,arguments)}let i=t.forwardRef((e,i)=>t.createElement(r.default,n({},e,{ref:i,icon:o})));e.s(["default",()=>i],203686)},239988,e=>{"use strict";var t=e.i(934854);e.s(["isPresetSize",0,function(e){return["small","middle","medium","large"].includes(e)},"isValidGapNumber",0,function(e){return!!e&&(0,t.isNumber)(e)}])},270089,e=>{"use strict";var t=e.i(191788),o=e.i(56206),r=e.i(430898),n=e.i(497630),i=e.i(934854),a=e.i(993175),l=e.i(625263),d=e.i(980646),s=e.i(307441),c=e.i(352050),u=e.i(108314),m=(0,c.genStyleHooks)("Divider",e=>{let t=(0,u.mergeToken)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:o,colorSplit:r,lineWidth:n,textPaddingInline:i,orientationMargin:a,verticalMarginInline:l}=e,c=`${t}-rail`;return{[t]:{...(0,s.resetComponent)(e),borderBlockStart:`${(0,d.unit)(n)} solid ${r}`,[c]:{borderBlockStart:`${(0,d.unit)(n)} solid ${r}`},"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,d.unit)(n)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,d.unit)(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,d.unit)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,[`${c}-start, ${c}-end`]:{width:"50%",borderBlockStartColor:"inherit",borderBlockEnd:0,content:"''"}},[`&-horizontal${t}-with-text-start`]:{[`${c}-start`]:{width:`calc(${a} * 100%)`},[`${c}-end`]:{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${c}-start`]:{width:`calc(100% - ${a} * 100%)`},[`${c}-end`]:{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,d.unit)(n)} 0 0`,[c]:{borderBlockStart:`${(0,d.unit)(n)} dashed ${r}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${c}-start, ${c}-end`]:{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:n,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${(0,d.unit)(n)} 0 0`,[c]:{borderBlockStart:`${(0,d.unit)(n)} dotted ${r}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:n,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{[`${c}-start`]:{width:0},[`${c}-end`]:{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:o}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${c}-start`]:{width:"100%"},[`${c}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:o}}}}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}})(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}});let p=["left","right","center","start","end"];var g=e=>{let{getPrefixCls:d,direction:s,className:c,style:u,classNames:g,styles:$}=(0,a.useComponentConfig)("divider"),{prefixCls:f,type:b,orientation:h,vertical:v,titlePlacement:x,orientationMargin:S,className:C,rootClassName:y,children:w,dashed:I,variant:B="solid",plain:k,style:E,size:z,classNames:M,styles:T,...N}=e,R=d("divider",f),H=`${R}-rail`,[W,D]=m(R),A=(0,l.default)(z),O=!!w,P=p.includes(h||""),L=t.useMemo(()=>{let e=x??(P?h:"center");return"left"===e?"rtl"===s?"end":"start":"right"===e?"rtl"===s?"start":"end":e},[s,h,x,P]),F="start"===L&&null!=S,G="end"===L&&null!=S,[q,X]=(0,n.useOrientation)(h,v,b),j={...e,orientation:q,titlePlacement:L,size:A},[V,_]=(0,r.useMergeSemantic)([g,M],[$,T],{props:j}),K=(0,o.clsx)(R,c,W,D,`${R}-${q}`,{[`${R}-with-text`]:O,[`${R}-with-text-${L}`]:O,[`${R}-dashed`]:!!I,[`${R}-${B}`]:"solid"!==B,[`${R}-plain`]:!!k,[`${R}-rtl`]:"rtl"===s,[`${R}-no-default-orientation-margin-start`]:F,[`${R}-no-default-orientation-margin-end`]:G,[`${R}-md`]:"medium"===A||"middle"===A,[`${R}-sm`]:"small"===A,[H]:!w,[V.rail]:V.rail&&!w},C,y,V.root),Y=t.useMemo(()=>(0,i.isNumber)(S)?S:/^\d+$/.test(S)?Number(S):S,[S]);return t.createElement("div",{className:K,style:{...u,..._.root,...w?{}:_.rail,...E},...N,role:"separator"},w&&!X&&t.createElement(t.Fragment,null,t.createElement("div",{className:(0,o.clsx)(H,`${H}-start`,V.rail),style:_.rail}),t.createElement("span",{className:(0,o.clsx)(`${R}-inner-text`,V.content),style:{marginInlineStart:F?Y:void 0,marginInlineEnd:G?Y:void 0,..._.content}},w),t.createElement("div",{className:(0,o.clsx)(H,`${H}-end`,V.rail),style:_.rail})))};e.s(["default",()=>g],270089)},313213,649304,e=>{"use strict";var t=e.i(191788),o=e.i(151304),r=e.i(56206),n=e.i(239988),i=e.i(430898),a=e.i(497630),l=e.i(934854),d=e.i(993175),s=e.i(640684),c=e.i(688490),u=e.i(654571),m=e.i(352050),p=(0,m.genStyleHooks)(["Space","Addon"],e=>[(e=>{let{componentCls:t,borderRadius:o,paddingSM:r,colorBorder:n,paddingXS:i,fontSizeLG:a,fontSizeSM:l,borderRadiusLG:d,borderRadiusSM:s,colorBgContainerDisabled:c,lineWidth:u,antCls:p}=e,[g,$]=(0,m.genCssVar)(p,"space");return{[t]:[{display:"inline-flex",alignItems:"center",gap:0,whiteSpace:"nowrap",paddingInline:r,margin:0,borderWidth:u,borderStyle:"solid",borderRadius:o,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:a,borderRadius:d},"&-small":{paddingInline:i,borderRadius:s,fontSize:l},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[g("addon-border-color")]:n,[g("addon-background")]:c,[g("addon-border-color-outlined")]:n,[g("addon-background-filled")]:c,borderColor:$("addon-border-color"),background:$("addon-background"),"&-variant-outlined":{[g("addon-border-color")]:$("addon-border-color-outlined")},"&-variant-filled":{[g("addon-border-color")]:"transparent",[g("addon-background")]:$("addon-background-filled"),[`&${t}-disabled`]:{[g("addon-border-color")]:n,[g("addon-background")]:c}},"&-variant-borderless":{border:"none",background:"transparent"},"&-variant-underlined":{border:"none",background:"transparent"}},{"&-status-error":{[g("addon-border-color-outlined")]:e.colorError,[g("addon-background-filled")]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[g("addon-border-color-outlined")]:e.colorWarning,[g("addon-background-filled")]:e.colorWarningBg,color:e.colorWarning}}]}})(e),(0,u.genCompactItemStyle)(e,{focus:!1})]);let g=t.default.forwardRef((e,o)=>{let{className:n,children:i,style:a,prefixCls:l,variant:u="outlined",disabled:m,status:g,...$}=e,{getPrefixCls:f,direction:b}=t.default.useContext(d.ConfigContext),h=f("space-addon",l),[v,x]=p(h),{compactItemClassnames:S,compactSize:C}=(0,c.useCompactItemContext)(h,b),y=(0,s.getStatusClassNames)(h,g),w=(0,r.clsx)(h,v,S,x,`${h}-variant-${u}`,y,{[`${h}-${C}`]:C,[`${h}-disabled`]:m},n);return t.default.createElement("div",{ref:o,className:w,style:a,...$},i)});e.s(["default",()=>g],649304);let $=t.default.createContext({latestIndex:0}),f=$.Provider;var b=e=>{let{className:o,prefix:n,index:i,children:a,separator:d,style:s,classNames:c,styles:u}=e,{latestIndex:m}=t.useContext($);return(0,l.isNonNullable)(a)?t.createElement(t.Fragment,null,t.createElement("div",{className:o,style:s},a),i<m&&d&&t.createElement("span",{className:(0,r.clsx)(`${n}-item-separator`,c?.separator),style:u?.separator},d)):null},h=e.i(108314),v=(0,m.genStyleHooks)("Space",e=>{let t=(0,h.mergeToken)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[(e=>{let{componentCls:t,antCls:o}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${o}-badge-not-a-wrapper:only-child`]:{display:"block"}}}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}})(t)]},()=>({}),{resetStyle:!1});let x=t.forwardRef((e,s)=>{let{getPrefixCls:c,direction:u,size:m,className:p,style:g,classNames:$,styles:h}=(0,d.useComponentConfig)("space"),{size:x=m??"small",align:S,className:C,rootClassName:y,children:w,direction:I,orientation:B,prefixCls:k,split:E,separator:z,style:M,vertical:T,wrap:N=!1,classNames:R,styles:H,...W}=e,[D,A]=Array.isArray(x)?x:[x,x],O=(0,n.isPresetSize)(A),P=(0,n.isPresetSize)(D),L=(0,n.isValidGapNumber)(A),F=(0,n.isValidGapNumber)(D),G=(0,o.toArray)(w,{keepEmpty:!0}),[q,X]=(0,a.useOrientation)(B,T,I),j=void 0!==S||X?S:"center",V=z??E,_=c("space",k),[K,Y]=v(_),U={...e,size:x,orientation:q,align:j},[Z,Q]=(0,i.useMergeSemantic)([$,R],[h,H],{props:U}),J=(0,r.clsx)(_,p,K,`${_}-${q}`,{[`${_}-rtl`]:"rtl"===u,[`${_}-align-${j}`]:j,[`${_}-gap-row-${A}`]:O,[`${_}-gap-col-${D}`]:P},C,y,Y,Z.root),ee=(0,r.clsx)(`${_}-item`,Z.item),et=G.map((e,o)=>{let r=e?.key||`${ee}-${o}`;return t.createElement(b,{prefix:_,classNames:Z,styles:Q,className:ee,key:r,index:o,separator:V,style:Q.item},e)}),eo=t.useMemo(()=>({latestIndex:G.reduce((e,t,o)=>(0,l.isNonNullable)(t)?o:e,0)}),[G]);if(0===G.length)return null;let er={};return N&&(er.flexWrap="wrap"),!P&&F&&(er.columnGap=D),!O&&L&&(er.rowGap=A),t.createElement("div",{ref:s,className:J,style:{...er,...Q.root,...g,...M},...W},t.createElement(f,{value:eo},et))});x.Compact=c.default,x.Addon=g,e.s(["default",()=>x],313213)},353944,e=>{"use strict";var t=e.i(474242);e.s(["Spin",()=>t.default])},397591,e=>{"use strict";var t=e.i(667956),o=e.i(191788),r=e.i(151304),n=e.i(56206),i=e.i(663032),a=e.i(993175),l=e.i(749919),d=e.i(790731),s=e.i(782358),c=e.i(768072);let u=e=>{let{size:t,shape:r}=o.useContext(s.default),n=o.useMemo(()=>({size:e.size||t,shape:e.shape||r}),[e.size,e.shape,t,r]);return o.createElement(s.default.Provider,{value:n},e.children)},m=t.default;m.Group=e=>{let{getPrefixCls:s,direction:m}=o.useContext(a.ConfigContext),{prefixCls:p,className:g,rootClassName:$,style:f,maxCount:b,maxStyle:h,size:v,shape:x,maxPopoverPlacement:S,maxPopoverTrigger:C,children:y,max:w}=e,I=s("avatar",p),B=`${I}-group`,k=(0,l.default)(I),[E,z]=(0,c.default)(I,k),M=(0,n.clsx)(B,{[`${B}-rtl`]:"rtl"===m},z,k,g,$,E),T=(0,r.toArray)(y).map((e,t)=>(0,i.cloneElement)(e,{key:`avatar-key-${t}`})),N=w?.count||b,R=T.length;if(N&&N<R){let e=T.slice(0,N),r=T.slice(N,R),i=w?.style||h,a=w?.popover?.trigger||C||"hover",l=w?.popover?.placement||S||"top",s={content:r,...w?.popover,placement:l,trigger:a,rootClassName:(0,n.clsx)(`${B}-popover`,w?.popover?.rootClassName)};return e.push(o.createElement(d.default,{key:"avatar-popover-key",destroyOnHidden:!0,...s},o.createElement(t.default,{style:i},`+${R-N}`))),o.createElement(u,{shape:x,size:v},o.createElement("div",{className:M,style:f},e))}return o.createElement(u,{shape:x,size:v},o.createElement("div",{className:M,style:f},T))},e.s(["Avatar",()=>m],397591)},428170,636261,541163,e=>{"use strict";var t=e.i(980646),o=e.i(307441),r=e.i(654571),n=e.i(352050),i=e.i(108314);function a(e){return(0,i.mergeToken)(e,{inputAffixPadding:e.paddingXXS})}let l=e=>{let{controlHeight:t,fontSize:o,lineHeight:r,lineWidth:n,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:d,paddingSM:s,controlPaddingHorizontalSM:c,controlPaddingHorizontal:u,colorFillAlter:m,colorPrimaryHover:p,colorPrimary:g,controlOutlineWidth:$,controlOutline:f,colorErrorOutline:b,colorWarningOutline:h,colorBgContainer:v,inputFontSize:x,inputFontSizeLG:S,inputFontSizeSM:C}=e,y=x||o,w=C||y,I=S||l;return{paddingBlock:Math.max(Math.round((t-y*r)/2*10)/10-n,0),paddingBlockSM:Math.max(Math.round((i-w*r)/2*10)/10-n,0),paddingBlockLG:Math.max(Math.ceil((a-I*d)/2*10)/10-n,0),paddingInline:s-n,paddingInlineSM:c-n,paddingInlineLG:u-n,addonBg:m,activeBorderColor:g,hoverBorderColor:p,activeShadow:`0 0 0 ${$}px ${f}`,errorActiveShadow:`0 0 0 ${$}px ${b}`,warningActiveShadow:`0 0 0 ${$}px ${h}`,hoverBg:v,activeBg:v,inputFontSize:y,inputFontSizeLG:I,inputFontSizeSM:w}};e.s(["initComponentToken",0,l,"initInputToken",0,a],636261);let d=e=>{let t;return{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorderDisabled,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...{borderColor:(t=(0,i.mergeToken)(e,{hoverBorderColor:e.colorBorderDisabled,hoverBg:e.colorBgContainerDisabled})).hoverBorderColor,backgroundColor:t.hoverBg}}}},s=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),c=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...s(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),u=(e,t)=>({"&-outlined":{...s(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...d(e)},...c(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...c(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}}),m=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),p=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,t.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...m(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...m(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...d(e)}}}}),g=(e,t)=>{let{componentCls:o}=e;return{"&-borderless":{background:"transparent",border:"none",paddingBlock:e.calc(e.paddingBlock).add(e.lineWidth).equal(),[`&${o}-sm, &${o}-affix-wrapper-sm`]:{paddingBlock:e.calc(e.paddingBlockSM).add(e.lineWidth).equal()},[`&${o}-lg, &${o}-affix-wrapper-lg`]:{paddingBlock:e.calc(e.paddingBlockLG).add(e.lineWidth).equal()},"&:focus, &:focus-within":{outline:"none"},[`&${o}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${o}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${o}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...t}}},$=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t?.inputColor??"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),f=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...$(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}}),b=(e,t)=>({"&-filled":{...$(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,inputColor:e.colorText}),[`&${e.componentCls}-disabled, &[disabled]`]:{...d(e)},...f(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...f(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...t}}),h=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),v=e=>({"&-filled":{[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:"static"}},...h(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...h(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,t.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,t.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,t.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,t.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,t.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,t.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}}),x=(e,o)=>({background:e.colorBgContainer,borderWidth:`${(0,t.unit)(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${o.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${o.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${o.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),S=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:{...x(e,t),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}},[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),C=(e,t)=>({"&-underlined":{...x(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"},...S(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...S(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...t}});e.s(["genBaseOutlinedStyle",0,s,"genBorderlessStyle",0,g,"genDisabledStyle",0,d,"genFilledGroupStyle",0,v,"genFilledStyle",0,b,"genOutlinedGroupStyle",0,p,"genOutlinedStyle",0,u,"genUnderlinedStyle",0,C],541163);let y=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),w=e=>{let{paddingBlockLG:o,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:i}=e;return{padding:`${(0,t.unit)(o)} ${(0,t.unit)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:n}},I=e=>({padding:`${(0,t.unit)(e.paddingBlockSM)} ${(0,t.unit)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),B=(e,o={})=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,t.unit)(e.paddingBlock)} ${(0,t.unit)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...y(e.colorTextPlaceholder),"&-lg":{...w(e),...o.largeStyle},"&-sm":{...I(e),...o.smallStyle},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),k=(0,n.genStyleHooks)(["Input","Shared"],e=>{let r=(0,i.mergeToken)(e,a(e));return[(e=>{let{componentCls:t,controlHeightSM:r,lineWidth:n,calc:i}=e,a=i(r).sub(i(n).mul(2)).sub(16).div(2).equal();return{[t]:{...(0,o.resetComponent)(e),...B(e),...u(e),...b(e),...g(e),...C(e),'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}}}})(r),(e=>{let{componentCls:r,inputAffixPadding:n,colorTextDescription:i,motionDurationSlow:a,colorIcon:l,colorIconHover:d,iconCls:s}=e,c=`${r}-affix-wrapper`,u=`${r}-affix-wrapper-disabled`;return{[c]:{...B(e),display:"inline-flex","&-focused, &:focus":{zIndex:1},[`> input${r}`]:{padding:0},[`> input${r}, > textarea${r}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[r]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:i,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}},...(e=>{let{componentCls:r}=e;return{[`${r}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:focus-visible":{color:e.colorIcon,borderRadius:e.borderRadiusSM,...(0,o.genFocusOutline)(e)},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,t.unit)(e.inputAffixPadding)}`}}}})(e),[`${s}${r}-password-icon`]:{color:l,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:d}}},[`${r}-underlined`]:{borderRadius:0},[u]:{[`${s}${r}-password-icon`]:{color:l,cursor:"not-allowed","&:hover":{color:l}}}}})(r)]},l,{resetFont:!1});var E=(0,n.genStyleHooks)(["Input","Component"],e=>{let n=(0,i.mergeToken)(e,a(e));return[(e=>{let{componentCls:r,borderRadiusLG:n,borderRadiusSM:i}=e;return{[`${r}-group`]:{...(0,o.resetComponent)(e),...(e=>{let{componentCls:r,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${r}, &-lg > ${r}-group-addon`]:{...w(e)},[`&-sm ${r}, &-sm > ${r}-group-addon`]:{...I(e)},[`&-lg ${n}-select-single`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single`]:{height:e.controlHeightSM},[`> ${r}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${r}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,t.unit)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${(0,t.unit)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,t.unit)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{backgroundColor:"inherit",border:`${(0,t.unit)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},[`${n}-cascader-picker`]:{margin:`-9px ${(0,t.unit)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[r]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1}},[`> ${r}:first-child, ${r}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}-affix-wrapper`]:{[`&:not(:first-child) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}:last-child, ${r}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${r}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0},"&:not(:first-child)":{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${r}-group-compact`]:{display:"block",...(0,o.clearFix)(),[`${r}-group-addon, ${r}-group-wrap, > ${r}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
& > ${r}-affix-wrapper,
|
|
& > ${r}-number-affix-wrapper,
|
|
& > ${n}-picker-range
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[r]:{float:"none"},[`& > ${n}-select,
|
|
& > ${n}-select-auto-complete ${r},
|
|
& > ${n}-cascader-picker ${r},
|
|
& > ${r}-group-wrapper ${r}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
& > ${n}-select:first-child,
|
|
& > ${n}-select-auto-complete:first-child ${r},
|
|
& > ${n}-cascader-picker:first-child ${r}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
|
& > ${n}-select:last-child,
|
|
& > ${n}-cascader-picker:last-child ${r},
|
|
& > ${n}-cascader-picker-focused:last-child ${r}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${r}`]:{verticalAlign:"top"},[`${r}-group-wrapper + ${r}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${r}-affix-wrapper`]:{}}}}})(e),"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${r}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${r}-group-addon`]:{borderRadius:i}},...p(e),...v(e),[`&:not(${r}-compact-first-item):not(${r}-compact-last-item)${r}-compact-item`]:{[`${r}, ${r}-group-addon`]:{borderRadius:0}},[`&:not(${r}-compact-last-item)${r}-compact-first-item`]:{[`${r}, ${r}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${r}-compact-first-item)${r}-compact-last-item`]:{[`${r}, ${r}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${r}-compact-last-item)${r}-compact-item`]:{[`${r}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${r}-compact-first-item)${r}-compact-item`]:{[`${r}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}}})(n),(e=>{let{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}})(n),(0,r.genCompactItemStyle)(n,{focus:!0,focusElCls:`${n.componentCls}-affix-wrapper-focused`})]},l,{resetFont:!1});e.s(["default",()=>E,"genBasicInputStyle",0,B,"genInputLargeStyle",0,w,"genInputSmallStyle",0,I,"genPlaceholderStyle",0,y,"useSharedStyle",0,k],428170)},474242,e=>{"use strict";let t;var o=e.i(191788),r=e.i(56206),n=e.i(430898),i=e.i(993175),a=e.i(625263),l=e.i(663032),d=e.i(351212);let s=80*Math.PI,c=e=>{let{dotClassName:t,style:n,hasCircleCls:i}=e;return o.createElement("circle",{className:(0,r.clsx)(`${t}-circle`,{[`${t}-circle-bg`]:i}),r:40,cx:50,cy:50,strokeWidth:20,style:n})};var u=({percent:e,prefixCls:t})=>{let n=`${t}-dot`,i=`${n}-holder`,a=`${i}-hidden`,[l,u]=o.useState(!1);(0,d.default)(()=>{0!==e&&u(!0)},[0!==e]);let m=Math.max(Math.min(e,100),0);if(!l)return null;let p={strokeDashoffset:`${s/4}`,strokeDasharray:`${s*m/100} ${s*(100-m)/100}`};return o.createElement("span",{className:(0,r.clsx)(i,`${n}-progress`,{[a]:m<=0})},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":m},o.createElement(c,{dotClassName:n,hasCircleCls:!0}),o.createElement(c,{dotClassName:n,style:p})))};function m(e){let{prefixCls:t,percent:n=0,className:i,style:a}=e,l=`${t}-dot`,d=`${l}-holder`,s=`${d}-hidden`;return o.createElement(o.Fragment,null,o.createElement("span",{className:(0,r.clsx)(d,i,n>0&&s),style:a},o.createElement("span",{className:(0,r.clsx)(l,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(u,{prefixCls:t,percent:n}))}function p(e){let{prefixCls:t,indicator:n,percent:i,className:a,style:d}=e,s=`${t}-dot`;return n&&o.isValidElement(n)?(0,l.cloneElement)(n,e=>({className:(0,r.clsx)(e.className,s,a),style:{...e.style,...d},percent:i})):o.createElement(m,{prefixCls:t,percent:i,className:a,style:d})}var g=e.i(980646),$=e.i(307441),f=e.i(352050),b=e.i(108314);let h=new g.Keyframes("antSpinMove",{to:{opacity:1}}),v=new g.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}});var x=(0,f.genStyleHooks)("Spin",e=>{let t=(0,b.mergeToken)(e,{spinDotDefault:e.colorTextDescription});return[(e=>{let{componentCls:t}=e,o=`${t}-section`;return{[t]:{...(0,$.resetComponent)(e),position:"relative","&-rtl":{direction:"rtl"},[`&${o}, ${o}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:e.paddingSM,color:e.colorPrimary},[`&${o}`]:{display:"inline-flex"},[o]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:"auto"},[o]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}})(t),(e=>{let{componentCls:t,antCls:o,motionDurationSlow:r}=e,[n,i]=(0,f.genCssVar)(o,"spin");return{[t]:{[n("dot-holder-size")]:e.dotSize,[n("dot-item-size")]:`calc((${i("dot-holder-size")} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:i("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(e=>`${e} ${r} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}},position:"relative",display:"inline-block",fontSize:i("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:v,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:i("dot-item-size"),height:i("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:h,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>`${e} ${r} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}}}}})(t),(e=>{let{componentCls:t}=e,[o]=(0,f.genCssVar)(e.antCls,"spin");return{[t]:{"&-sm":{[o("dot-holder-size")]:e.dotSizeSM},"&-lg":{[o("dot-holder-size")]:e.dotSizeLG}}}})(t)]},e=>{let{controlHeightLG:t,controlHeight:o}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:o}});let S=[[30,.05],[70,.03],[96,.01]],C=e=>{let{prefixCls:l,spinning:d=!0,delay:s=0,className:c,rootClassName:u,size:m,tip:g,description:$,wrapperClassName:f,style:b,children:h,fullscreen:v=!1,indicator:C,percent:y,classNames:w,styles:I,...B}=e,{getPrefixCls:k,direction:E,indicator:z,className:M,style:T,classNames:N,styles:R}=(0,i.useComponentConfig)("spin"),H=k("spin",l),[W,D]=x(H),[A,O]=o.useState(()=>d&&(!d||!s||!!Number.isNaN(Number(s)))),P=function(e,t){let[r,n]=o.useState(0),i=o.useRef(null),a="auto"===t;return o.useEffect(()=>(a&&e&&(n(0),i.current=setInterval(()=>{n(e=>{let t=100-e;for(let o=0;o<S.length;o+=1){let[r,n]=S[o];if(e<=r)return e+t*n}return e})},200)),()=>{i.current&&(clearInterval(i.current),i.current=null)}),[a,e]),a?r:t}(A,y);o.useEffect(()=>{if(d){let e=function(e,t,o){var r,n=o||{},i=n.noTrailing,a=void 0!==i&&i,l=n.noLeading,d=void 0!==l&&l,s=n.debounceMode,c=void 0===s?void 0:s,u=!1,m=0;function p(){r&&clearTimeout(r)}function g(){for(var o=arguments.length,n=Array(o),i=0;i<o;i++)n[i]=arguments[i];var l=this,s=Date.now()-m;function g(){m=Date.now(),t.apply(l,n)}function $(){r=void 0}!u&&(d||!c||r||g(),p(),void 0===c&&s>e?d?(m=Date.now(),a||(r=setTimeout(c?$:g,e))):g():!0!==a&&(r=setTimeout(c?$:g,void 0===c?e-s:e)))}return g.cancel=function(e){var t=(e||{}).upcomingOnly;p(),u=!(void 0!==t&&t)},g}(s,()=>{O(!0)},{debounceMode:false});return e(),()=>{e?.cancel?.()}}O(!1)},[s,d]);let L=(0,a.default)(e=>m??e),F=$??g,G={...e,size:L,spinning:A,tip:F,description:F,fullscreen:v,children:h,percent:P},[q,X]=(0,n.useMergeSemantic)([N,w],[R,I],{props:G}),j=C??z??t,V=void 0!==h,_=V||v,K=o.createElement(o.Fragment,null,o.createElement(p,{className:(0,r.clsx)(q.indicator),style:X.indicator,prefixCls:H,indicator:j,percent:P}),F&&o.createElement("div",{className:(0,r.clsx)(`${H}-description`,q.tip,q.description),style:{...X.tip,...X.description}},F));return o.createElement("div",{className:(0,r.clsx)(H,{[`${H}-sm`]:"small"===L,[`${H}-lg`]:"large"===L,[`${H}-spinning`]:A,[`${H}-rtl`]:"rtl"===E,[`${H}-fullscreen`]:v},u,q.root,v&&q.mask,_?f:[`${H}-section`,q.section],M,c,W,D),style:{...X.root,...!_?X.section:{},...v?X.mask:{},...T,...b},"aria-live":"polite","aria-busy":A,...B},A&&(_?o.createElement("div",{className:(0,r.clsx)(`${H}-section`,q.section),style:X.section},K):K),V&&o.createElement("div",{className:(0,r.clsx)(`${H}-container`,q.container),style:X.container},h))};C.setDefaultIndicator=e=>{t=e},e.s(["default",()=>C],474242)},636207,e=>{"use strict";var t=e.i(191788),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},r=e.i(117716);function n(){return(n=Object.assign.bind()).apply(this,arguments)}let i=t.forwardRef((e,i)=>t.createElement(r.default,n({},e,{ref:i,icon:o})));e.s(["default",()=>i],636207)},640684,e=>{"use strict";var t=e.i(56206);e.s(["getMergedStatus",0,(e,t)=>t||e,"getStatusClassNames",0,(e,o,r)=>(0,t.clsx)({[`${e}-status-success`]:"success"===o,[`${e}-status-warning`]:"warning"===o,[`${e}-status-error`]:"error"===o,[`${e}-status-validating`]:"validating"===o,[`${e}-has-feedback`]:r})])},650344,e=>{"use strict";var t=e.i(191788),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},r=e.i(117716);function n(){return(n=Object.assign.bind()).apply(this,arguments)}let i=t.forwardRef((e,i)=>t.createElement(r.default,n({},e,{ref:i,icon:o})));e.s(["default",()=>i],650344)},667956,782358,768072,e=>{"use strict";var t=e.i(191788),o=e.i(907251),r=e.i(851581),n=e.i(56206),i=e.i(934854),a=e.i(219324),l=e.i(993175),d=e.i(749919),s=e.i(625263),c=e.i(885283);let u=t.createContext({});e.s(["default",()=>u],782358);var m=e.i(980646),p=e.i(307441),g=e.i(352050),$=e.i(108314),f=(0,g.genStyleHooks)("Avatar",e=>{let{colorTextLightSolid:t,colorTextPlaceholder:o}=e,r=(0,$.mergeToken)(e,{avatarBg:o,avatarColor:t});return[(e=>{let{antCls:t,componentCls:o,iconCls:r,avatarBg:n,avatarColor:i,containerSize:a,containerSizeLG:l,containerSizeSM:d,textFontSize:s,textFontSizeLG:c,textFontSizeSM:u,iconFontSize:g,iconFontSizeLG:$,iconFontSizeSM:f,borderRadius:b,borderRadiusLG:h,borderRadiusSM:v,lineWidth:x,lineType:S}=e,C=(e,t,n,i)=>({width:e,height:e,borderRadius:"50%",fontSize:t,[`&${o}-square`]:{borderRadius:i},[`&${o}-icon`]:{fontSize:n,[`> ${r}`]:{margin:0}}});return{[o]:{...(0,p.resetComponent)(e),position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:i,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:n,border:`${(0,m.unit)(x)} ${S} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"},...C(a,s,g,b),"&-lg":{...C(l,c,$,h)},"&-sm":{...C(d,u,f,v)},"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}}}})(r),(e=>{let{componentCls:t,groupBorderColor:o,groupOverlapping:r,groupSpace:n}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:o},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:n}}}})(r)]},e=>{let{controlHeight:t,controlHeightLG:o,controlHeightSM:r,fontSize:n,fontSizeLG:i,fontSizeXL:a,fontSizeHeading3:l,marginXS:d,marginXXS:s,colorBorderBg:c}=e;return{containerSize:t,containerSizeLG:o,containerSizeSM:r,textFontSize:n,textFontSizeLG:n,textFontSizeSM:n,iconFontSize:Math.round((i+a)/2),iconFontSizeLG:l,iconFontSizeSM:n,groupSpace:s,groupOverlapping:-d,groupBorderColor:c}});e.s(["default",()=>f],768072);let b=t.forwardRef((e,m)=>{let p,{prefixCls:g,shape:$,size:b,src:h,srcSet:v,icon:x,className:S,rootClassName:C,style:y,alt:w,draggable:I,children:B,crossOrigin:k,gap:E=4,onError:z,...M}=e,[T,N]=t.useState(1),[R,H]=t.useState(!1),[W,D]=t.useState(!0),A=t.useRef(null),O=t.useRef(null),P=(0,r.composeRef)(m,A),{getPrefixCls:L,className:F,style:G}=(0,l.useComponentConfig)("avatar"),q=t.useContext(u),X=()=>{if(!O.current||!A.current)return;let e=O.current.offsetWidth,t=A.current.offsetWidth;0!==e&&0!==t&&2*E<t&&N(t-2*E<e?(t-2*E)/e:1)};t.useEffect(()=>{H(!0)},[]),t.useEffect(()=>{D(!0),N(1)},[h]),t.useEffect(X,[E]);let j=(0,s.default)(e=>b??q?.size??e??"medium"),V=Object.keys((0,i.isPlainObject)(j)&&j||{}).some(e=>a.responsiveArray.includes(e)),_=(0,c.default)(V),K=t.useMemo(()=>{if(!(0,i.isPlainObject)(j))return{};let e=j[a.responsiveArray.find(e=>_[e])];return e?{width:e,height:e,fontSize:e&&(x||B)?e/2:18}:{}},[_,j,x,B]),Y=L("avatar",g),U=(0,d.default)(Y),[Z,Q]=f(Y,U),J=(0,n.clsx)({[`${Y}-lg`]:"large"===j,[`${Y}-sm`]:"small"===j}),ee=t.isValidElement(h),et=$||q?.shape||"circle",eo=(0,n.clsx)(Y,J,F,`${Y}-${et}`,{[`${Y}-image`]:ee||h&&W,[`${Y}-icon`]:!!x},Q,U,S,C,Z),er=(0,i.isNumber)(j)?{width:j,height:j,fontSize:x?j/2:18}:{};if("string"==typeof h&&W)p=t.createElement("img",{src:h,draggable:I,srcSet:v,onError:()=>{!1!==z?.()&&D(!1)},alt:w,crossOrigin:k});else if(ee)p=h;else if(x)p=x;else if(R||1!==T){let e=`scale(${T})`;p=t.createElement(o.default,{onResize:X},t.createElement("span",{className:`${Y}-string`,ref:O,style:{msTransform:e,WebkitTransform:e,transform:e}},B))}else p=t.createElement("span",{className:`${Y}-string`,style:{opacity:0},ref:O},B);return t.createElement("span",{...M,style:{...er,...K,...G,...y},className:eo,ref:P},p)});e.s(["default",()=>b],667956)},690417,e=>{"use strict";var t=e.i(191788),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},r=e.i(117716);function n(){return(n=Object.assign.bind()).apply(this,arguments)}let i=t.forwardRef((e,i)=>t.createElement(r.default,n({},e,{ref:i,icon:o})));e.s(["default",()=>i],690417)},774782,e=>{"use strict";var t=e.i(980646),o=e.i(924438);let r=new t.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),n=new t.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new t.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new t.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),l=new t.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new t.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),s={"move-up":{inKeyframes:new t.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new t.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:r,outKeyframes:n},"move-left":{inKeyframes:i,outKeyframes:a},"move-right":{inKeyframes:l,outKeyframes:d}};e.s(["initMoveMotion",0,(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=s[t];return[(0,o.initMotion)(n,i,a,e.motionDurationMid),{[`
|
|
${n}-enter,
|
|
${n}-appear
|
|
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}])},790731,37132,21567,e=>{"use strict";var t=e.i(191788),o=e.i(151304),r=e.i(56206);let n=e=>e?"function"==typeof e?e():e:null;e.s(["getRenderPropValue",0,n],37132);var i=e.i(430898),a=e.i(47472),l=e.i(993175),d=e.i(188304),s=e.i(783831),c=e.i(23252),u=e.i(307441),m=e.i(394739),p=e.i(770371),g=e.i(840665),$=e.i(352050),f=e.i(108314),b=e.i(678251),h=(0,$.genStyleHooks)("Popover",e=>{let{colorBgElevated:t,colorText:o}=e,r=(0,f.mergeToken)(e,{popoverBg:t,popoverColor:o});return[(e=>{let{componentCls:t,popoverColor:o,titleMinWidth:r,fontWeightStrong:n,innerPadding:i,boxShadowSecondary:a,colorTextHeading:l,borderRadiusLG:d,zIndexPopup:s,titleMarginBottom:c,colorBgElevated:m,popoverBg:g,titleBorderBottom:f,innerContentPadding:b,titlePadding:h,antCls:v}=e,[x,S]=(0,$.genCssVar)(v,"tooltip");return[{[t]:{...(0,u.resetComponent)(e),position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:s,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",[x("valid-offset-x")]:S("arrow-offset-x","var(--arrow-x)"),transformOrigin:[S("valid-offset-x","50%"),"var(--arrow-y, 50%)"].join(" "),[x("arrow-background-color")]:m,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-container`]:{backgroundColor:g,backgroundClip:"padding-box",borderRadius:d,boxShadow:a,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:c,color:l,fontWeight:n,borderBottom:f,padding:h},[`${t}-content`]:{color:o,padding:b}}},(0,p.default)(e,S("arrow-background-color")),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block"}}]})(r),(e=>{let{componentCls:t,antCls:o}=e,[r]=(0,$.genCssVar)(o,"tooltip");return{[t]:b.PresetColors.map(o=>{let n=e[`${o}6`];return{[`&${t}-${o}`]:{[r("arrow-background-color")]:n,[`${t}-inner`]:{backgroundColor:n},[`${t}-arrow`]:{background:"transparent"}}}})}})(r),(0,m.initZoomMotion)(r,"zoom-big")]},e=>{let{lineWidth:t,controlHeight:o,fontHeight:r,padding:n,wireframe:i,zIndexPopupBase:a,borderRadiusLG:l,marginXS:d,lineType:s,colorSplit:c,paddingSM:u}=e,m=o-r;return{titleMinWidth:177,zIndexPopup:a+30,...(0,g.getArrowToken)(e),...(0,p.getArrowOffsetToken)({contentRadius:l,limitVerticalRadius:!0}),innerPadding:12*!i,titleMarginBottom:i?0:d,titlePadding:i?`${m/2}px ${n}px ${m/2-t}px`:0,titleBorderBottom:i?`${t}px ${s} ${c}`:"none",innerContentPadding:i?`${u}px ${n}px`:0}},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});let v=e=>{let{title:o,content:n,prefixCls:i,classNames:a,styles:l}=e;return o||n?t.createElement(t.Fragment,null,o&&t.createElement("div",{className:(0,r.clsx)(`${i}-title`,a?.title),style:l?.title},o),n&&t.createElement("div",{className:(0,r.clsx)(`${i}-content`,a?.content),style:l?.content},n)):null},x=e=>{let{hashId:o,prefixCls:a,className:l,style:d,placement:s="top",title:u,content:m,children:p,classNames:g,styles:$}=e,f=n(u),b=n(m),h={...e,placement:s},[x,S]=(0,i.useMergeSemantic)([g],[$],{props:h}),C=(0,r.clsx)(o,a,`${a}-pure`,`${a}-placement-${s}`,l);return t.createElement("div",{className:C,style:d},t.createElement("div",{className:`${a}-arrow`}),t.createElement(c.Popup,{...e,className:o,prefixCls:a,classNames:x,styles:S},p||t.createElement(v,{prefixCls:a,title:f,content:b,classNames:x,styles:S})))};var S=e=>{let{prefixCls:o,className:n,...i}=e,{getPrefixCls:a}=t.useContext(l.ConfigContext),d=a("popover",o),[s,c]=h(d);return t.createElement(x,{...i,prefixCls:d,hashId:s,className:(0,r.clsx)(n,c)})};e.s(["Overlay",0,v,"default",()=>S],21567);let C=t.forwardRef((e,c)=>{let{prefixCls:u,title:m,content:p,overlayClassName:g,placement:$="top",trigger:f,children:b,mouseEnterDelay:x=.1,mouseLeaveDelay:S=.1,onOpenChange:C,overlayStyle:y={},styles:w,classNames:I,motion:B,arrow:k,...E}=e,{getPrefixCls:z,className:M,style:T,classNames:N,styles:R,arrow:H,trigger:W}=(0,l.useComponentConfig)("popover"),D=z("popover",u),[A,O]=h(D),P=z(),L=(0,s.default)(k,H),F=f||W||"hover",G={...e,placement:$,trigger:F,mouseEnterDelay:x,mouseLeaveDelay:S,overlayStyle:y,styles:w,classNames:I},[q,X]=(0,i.useMergeSemantic)([N,I],[R,w],{props:G}),j=(0,r.clsx)(g,A,O,M,q.root),[V,_]=(0,o.useControlledState)(e.defaultOpen??!1,e.open),K=n(m),Y=n(p);return t.createElement(d.default,{unique:!1,arrow:L,placement:$,trigger:F,mouseEnterDelay:x,mouseLeaveDelay:S,...E,prefixCls:D,classNames:{root:j,container:q.container,arrow:q.arrow},styles:{root:{...X.root,...T,...y},container:X.container,arrow:X.arrow},ref:c,open:V,onOpenChange:e=>{_(e),C?.(e)},overlay:K||Y?t.createElement(v,{prefixCls:D,title:K,content:Y,classNames:q,styles:X}):null,motion:{motionName:(0,a.getTransitionName)(P,"zoom-big","string"==typeof B?.motionName?B?.motionName:void 0)},"data-popover-inject":!0},b)});C._InternalPanelDoNotUseOrYouWillBeFired=S,e.s(["default",()=>C],790731)},881428,e=>{"use strict";var t=e.i(191788),o={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"},r=e.i(117716);function n(){return(n=Object.assign.bind()).apply(this,arguments)}let i=t.forwardRef((e,i)=>t.createElement(r.default,n({},e,{ref:i,icon:o})));e.s(["default",()=>i],881428)},914173,e=>{"use strict";var t=e.i(270089);e.s(["Divider",()=>t.default])}]);
|