28 lines
44 KiB
JavaScript
28 lines
44 KiB
JavaScript
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[306],{87306:function(Ge,ee,i){i.d(ee,{Z:function(){return Ee}});var n=i(75271),L=i(97950),ue=i(29042),$e=i(82187),G=i.n($e),T=i(84123),j=i(59373),P=i(93954),w=i(18051),S=i(84619),se=a=>typeof a!="object"&&typeof a!="function"||a===null,me=i(39531),F=i(9679),Ce=i(48349),ze=i(53294),de=i(3463),O=i(70436),be=i(22123),q=i(66628),D=i(28879),J=i(71225),v=i(89260),Pe=i(67083),U=i(1916),De=i(30041),We=i(74248),Se=i(16650),f=i(74315),M=i(89348),te=i(30509),Z=a=>{const{componentCls:m,menuCls:c,colorError:$,colorTextLightSolid:h}=a,o=`${c}-item`;return{[`${m}, ${m}-menu-submenu`]:{[`${c} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:$,"&:hover":{color:h,backgroundColor:$}}}}}};const we=a=>{const{componentCls:m,menuCls:c,zIndexPopup:$,dropdownArrowDistance:h,sizePopupArrow:o,antCls:t,iconCls:e,motionDurationMid:l,paddingBlock:r,fontSize:d,dropdownEdgeChildPadding:g,colorTextDisabled:u,fontSizeIcon:s,controlPaddingHorizontal:C,colorBgElevated:b}=a;return[{[m]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:$,display:"block","&::before":{position:"absolute",insetBlock:a.calc(o).div(2).sub(h).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${t}-btn`]:{[`& > ${e}-down, & > ${t}-btn-icon > ${e}-down`]:{fontSize:s}},[`${m}-wrap`]:{position:"relative",[`${t}-btn > ${e}-down`]:{fontSize:s},[`${e}-down::before`]:{transition:`transform ${l}`}},[`${m}-wrap-open`]:{[`${e}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${t}-slide-down-enter${t}-slide-down-enter-active${m}-placement-bottomLeft,
|
|
&${t}-slide-down-appear${t}-slide-down-appear-active${m}-placement-bottomLeft,
|
|
&${t}-slide-down-enter${t}-slide-down-enter-active${m}-placement-bottom,
|
|
&${t}-slide-down-appear${t}-slide-down-appear-active${m}-placement-bottom,
|
|
&${t}-slide-down-enter${t}-slide-down-enter-active${m}-placement-bottomRight,
|
|
&${t}-slide-down-appear${t}-slide-down-appear-active${m}-placement-bottomRight`]:{animationName:U.fJ},[`&${t}-slide-up-enter${t}-slide-up-enter-active${m}-placement-topLeft,
|
|
&${t}-slide-up-appear${t}-slide-up-appear-active${m}-placement-topLeft,
|
|
&${t}-slide-up-enter${t}-slide-up-enter-active${m}-placement-top,
|
|
&${t}-slide-up-appear${t}-slide-up-appear-active${m}-placement-top,
|
|
&${t}-slide-up-enter${t}-slide-up-enter-active${m}-placement-topRight,
|
|
&${t}-slide-up-appear${t}-slide-up-appear-active${m}-placement-topRight`]:{animationName:U.Qt},[`&${t}-slide-down-leave${t}-slide-down-leave-active${m}-placement-bottomLeft,
|
|
&${t}-slide-down-leave${t}-slide-down-leave-active${m}-placement-bottom,
|
|
&${t}-slide-down-leave${t}-slide-down-leave-active${m}-placement-bottomRight`]:{animationName:U.Uw},[`&${t}-slide-up-leave${t}-slide-up-leave-active${m}-placement-topLeft,
|
|
&${t}-slide-up-leave${t}-slide-up-leave-active${m}-placement-top,
|
|
&${t}-slide-up-leave${t}-slide-up-leave-active${m}-placement-topRight`]:{animationName:U.ly}}},(0,Se.ZP)(a,b,{arrowPlacement:{top:!0,bottom:!0}}),{[`${m} ${c}`]:{position:"relative",margin:0},[`${c}-submenu-popup`]:{position:"absolute",zIndex:$,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${m}, ${m}-menu-submenu`]:Object.assign(Object.assign({},(0,Pe.Wf)(a)),{[c]:Object.assign(Object.assign({padding:g,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:a.borderRadiusLG,outline:"none",boxShadow:a.boxShadowSecondary},(0,Pe.Qy)(a)),{"&:empty":{padding:0,boxShadow:"none"},[`${c}-item-group-title`]:{padding:`${(0,v.bf)(r)} ${(0,v.bf)(C)}`,color:a.colorTextDescription,transition:`all ${l}`},[`${c}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${c}-item-icon`]:{minWidth:d,marginInlineEnd:a.marginXS,fontSize:a.fontSizeSM},[`${c}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${c}-item-extra`]:{paddingInlineStart:a.padding,marginInlineStart:"auto",fontSize:a.fontSizeSM,color:a.colorTextDescription}},[`${c}-item, ${c}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,v.bf)(r)} ${(0,v.bf)(C)}`,color:a.colorText,fontWeight:"normal",fontSize:d,lineHeight:a.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:a.borderRadiusSM,"&:hover, &-active":{backgroundColor:a.controlItemBgHover}},(0,Pe.Qy)(a)),{"&-selected":{color:a.colorPrimary,backgroundColor:a.controlItemBgActive,"&:hover, &-active":{backgroundColor:a.controlItemBgActiveHover}},"&-disabled":{color:u,cursor:"not-allowed","&:hover":{color:u,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,v.bf)(a.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:a.colorSplit},[`${m}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:a.paddingXS,[`${m}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:a.colorIcon,fontSize:s,fontStyle:"normal"}}}),[`${c}-item-group-list`]:{margin:`0 ${(0,v.bf)(a.marginXS)}`,padding:0,listStyle:"none"},[`${c}-submenu-title`]:{paddingInlineEnd:a.calc(C).add(a.fontSizeSM).equal()},[`${c}-submenu-vertical`]:{position:"relative"},[`${c}-submenu${c}-submenu-disabled ${m}-menu-submenu-title`]:{[`&, ${m}-menu-submenu-arrow-icon`]:{color:u,backgroundColor:b,cursor:"not-allowed"}},[`${c}-submenu-selected ${m}-menu-submenu-title`]:{color:a.colorPrimary}})})},[(0,U.oN)(a,"slide-up"),(0,U.oN)(a,"slide-down"),(0,De.Fm)(a,"move-up"),(0,De.Fm)(a,"move-down"),(0,We._y)(a,"zoom-big")]]},he=a=>Object.assign(Object.assign({zIndexPopup:a.zIndexPopupBase+50,paddingBlock:(a.controlHeight-a.fontSize*a.lineHeight)/2},(0,Se.wZ)({contentRadius:a.borderRadiusLG,limitVerticalRadius:!0})),(0,f.w)(a));var Te=(0,M.I$)("Dropdown",a=>{const{marginXXS:m,sizePopupArrow:c,paddingXXS:$,componentCls:h}=a,o=(0,te.IX)(a,{menuCls:`${h}-menu`,dropdownArrowDistance:a.calc(c).div(2).add(m).equal(),dropdownEdgeChildPadding:$});return[we(o),Z(o)]},he,{resetStyle:!1});const He=null,oe=a=>{var m;const{menu:c,arrow:$,prefixCls:h,children:o,trigger:t,disabled:e,dropdownRender:l,popupRender:r,getPopupContainer:d,overlayClassName:g,rootClassName:u,overlayStyle:s,open:C,onOpenChange:b,visible:N,onVisibleChange:y,mouseEnterDelay:E=.15,mouseLeaveDelay:x=.1,autoAdjustOverflow:B=!0,placement:I="",overlay:p,transitionName:z,destroyOnHidden:K,destroyPopupOnHide:X}=a,{getPopupContainer:ie,getPrefixCls:le,direction:ae,dropdown:Q}=n.useContext(O.E_),H=r||l,ye=(0,ze.ln)("Dropdown"),xe=n.useMemo(()=>{const k=le();return z!==void 0?z:I.includes("top")?`${k}-slide-down`:`${k}-slide-up`},[le,I,z]),fe=n.useMemo(()=>I?I.includes("Center")?I.slice(0,I.indexOf("Center")):I:ae==="rtl"?"bottomRight":"bottomLeft",[I,ae]),V=le("dropdown",h),A=(0,be.Z)(V),[Be,Re,Xe]=Te(V,A),[,ce]=(0,J.ZP)(),Ve=n.Children.only(se(o)?n.createElement("span",null,o):o),Fe=(0,Ce.Tm)(Ve,{className:G()(`${V}-trigger`,{[`${V}-rtl`]:ae==="rtl"},Ve.props.className),disabled:(m=Ve.props.disabled)!==null&&m!==void 0?m:e}),Ae=e?[]:t,Me=!!(Ae!=null&&Ae.includes("contextMenu")),[Oe,Le]=(0,P.Z)(!1,{value:C!=null?C:N}),Ue=(0,j.Z)(k=>{b==null||b(k,{source:"trigger"}),y==null||y(k),Le(k)}),Ye=G()(g,u,Re,Xe,A,Q==null?void 0:Q.className,{[`${V}-rtl`]:ae==="rtl"}),Je=(0,me.Z)({arrowPointAtCenter:typeof $=="object"&&$.pointAtCenter,autoAdjustOverflow:B,offset:ce.marginXXS,arrowWidth:$?ce.sizePopupArrow:0,borderRadius:ce.borderRadius}),ke=n.useCallback(()=>{c!=null&&c.selectable&&(c!=null&&c.multiple)||(b==null||b(!1,{source:"menu"}),Le(!1))},[c==null?void 0:c.selectable,c==null?void 0:c.multiple]),qe=()=>{let k;return c!=null&&c.items?k=n.createElement(q.Z,Object.assign({},c)):typeof p=="function"?k=p():k=p,H&&(k=H(k)),k=n.Children.only(typeof k=="string"?n.createElement("span",null,k):k),n.createElement(D.J,{prefixCls:`${V}-menu`,rootClassName:G()(Xe,A),expandIcon:n.createElement("span",{className:`${V}-menu-submenu-arrow`},ae==="rtl"?n.createElement(L.Z,{className:`${V}-menu-submenu-arrow-icon`}):n.createElement(ue.Z,{className:`${V}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ke,validator:({mode:et})=>{}},k)},[Qe,_e]=(0,S.Cn)("Dropdown",s==null?void 0:s.zIndex);let Ke=n.createElement(T.Z,Object.assign({alignPoint:Me},(0,w.Z)(a,["rootClassName"]),{mouseEnterDelay:E,mouseLeaveDelay:x,visible:Oe,builtinPlacements:Je,arrow:!!$,overlayClassName:Ye,prefixCls:V,getPopupContainer:d||ie,transitionName:xe,trigger:Ae,overlay:qe,placement:fe,onVisibleChange:Ue,overlayStyle:Object.assign(Object.assign(Object.assign({},Q==null?void 0:Q.style),s),{zIndex:Qe}),autoDestroy:K!=null?K:X}),Fe);return Qe&&(Ke=n.createElement(de.Z.Provider,{value:_e},Ke)),Be(Ke)},ge=(0,F.Z)(oe,"align",void 0,"dropdown",a=>a),je=a=>n.createElement(ge,Object.assign({},a),n.createElement("span",null));oe._InternalPanelDoNotUseOrYouWillBeFired=je;var Y=oe,pe=i(35867),ne=i(74970),ve=i(44126),Ie=i(85832),Ze=function(a,m){var c={};for(var $ in a)Object.prototype.hasOwnProperty.call(a,$)&&m.indexOf($)<0&&(c[$]=a[$]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,$=Object.getOwnPropertySymbols(a);h<$.length;h++)m.indexOf($[h])<0&&Object.prototype.propertyIsEnumerable.call(a,$[h])&&(c[$[h]]=a[$[h]]);return c};const Ne=a=>{const{getPopupContainer:m,getPrefixCls:c,direction:$}=n.useContext(O.E_),{prefixCls:h,type:o="default",danger:t,disabled:e,loading:l,onClick:r,htmlType:d,children:g,className:u,menu:s,arrow:C,autoFocus:b,overlay:N,trigger:y,align:E,open:x,onOpenChange:B,placement:I,getPopupContainer:p,href:z,icon:K=n.createElement(pe.Z,null),title:X,buttonsRender:ie=Ye=>Ye,mouseEnterDelay:le,mouseLeaveDelay:ae,overlayClassName:Q,overlayStyle:H,destroyOnHidden:ye,destroyPopupOnHide:xe,dropdownRender:fe,popupRender:V}=a,A=Ze(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyOnHidden","destroyPopupOnHide","dropdownRender","popupRender"]),Be=c("dropdown",h),Re=`${Be}-button`,ce={menu:s,arrow:C,autoFocus:b,align:E,disabled:e,trigger:e?[]:y,onOpenChange:B,getPopupContainer:p||m,mouseEnterDelay:le,mouseLeaveDelay:ae,overlayClassName:Q,overlayStyle:H,destroyOnHidden:ye,popupRender:V||fe},{compactSize:Ve,compactItemClassnames:Fe}=(0,Ie.ri)(Be,$),Ae=G()(Re,Fe,u);"destroyPopupOnHide"in a&&(ce.destroyPopupOnHide=xe),"overlay"in a&&(ce.overlay=N),"open"in a&&(ce.open=x),"placement"in a?ce.placement=I:ce.placement=$==="rtl"?"bottomLeft":"bottomRight";const Me=n.createElement(ne.ZP,{type:o,danger:t,disabled:e,loading:l,onClick:r,htmlType:d,href:z,title:X},g),Oe=n.createElement(ne.ZP,{type:o,danger:t,icon:K}),[Le,Ue]=ie([Me,Oe]);return n.createElement(ve.Z.Compact,Object.assign({className:Ae,size:Ve,block:!0},A),Le,n.createElement(Y,Object.assign({},ce),Ue))};Ne.__ANT_BUTTON=!0;var re=Ne;const _=Y;_.Button=re;var Ee=_},62416:function(Ge,ee,i){i.d(ee,{D:function(){return U},Z:function(){return Se}});var n=i(75271),L=i(66283),ue={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"},$e=ue,G=i(60101),T=function(M,te){return n.createElement(G.Z,(0,L.Z)({},M,{ref:te,icon:$e}))},j=n.forwardRef(T),P=j,w=i(97950),S=i(29042),R=i(82187),se=i.n(R),me=i(18051),F=i(85605),Ce=i(70436),ze=i(80720),de=i(89260),O=i(27302),be=i(89348);const q=f=>{const{componentCls:M,siderBg:te,motionDurationMid:W,motionDurationSlow:Z,antCls:we,triggerHeight:he,triggerColor:Te,triggerBg:He,headerHeight:oe,zeroTriggerWidth:ge,zeroTriggerHeight:je,borderRadiusLG:Y,lightSiderBg:pe,lightTriggerColor:ne,lightTriggerBg:ve,bodyBg:Ie}=f;return{[M]:{position:"relative",minWidth:0,background:te,transition:`all ${W}, background 0s`,"&-has-trigger":{paddingBottom:he},"&-right":{order:1},[`${M}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${we}-menu${we}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${M}-children`]:{overflow:"hidden"},[`${M}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:he,color:Te,lineHeight:(0,de.bf)(he),textAlign:"center",background:He,cursor:"pointer",transition:`all ${W}`},[`${M}-zero-width-trigger`]:{position:"absolute",top:oe,insetInlineEnd:f.calc(ge).mul(-1).equal(),zIndex:1,width:ge,height:je,color:Te,fontSize:f.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:te,borderRadius:`0 ${(0,de.bf)(Y)} ${(0,de.bf)(Y)} 0`,cursor:"pointer",transition:`background ${Z} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Z}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:f.calc(ge).mul(-1).equal(),borderRadius:`${(0,de.bf)(Y)} 0 0 ${(0,de.bf)(Y)}`}},"&-light":{background:pe,[`${M}-trigger`]:{color:ne,background:ve},[`${M}-zero-width-trigger`]:{color:ne,background:ve,border:`1px solid ${Ie}`,borderInlineStart:0}}}}};var D=(0,be.I$)(["Layout","Sider"],f=>[q(f)],O.eh,{deprecatedTokens:O.jn}),J=function(f,M){var te={};for(var W in f)Object.prototype.hasOwnProperty.call(f,W)&&M.indexOf(W)<0&&(te[W]=f[W]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,W=Object.getOwnPropertySymbols(f);Z<W.length;Z++)M.indexOf(W[Z])<0&&Object.prototype.propertyIsEnumerable.call(f,W[Z])&&(te[W[Z]]=f[W[Z]]);return te};const v={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Pe=f=>!Number.isNaN(Number.parseFloat(f))&&isFinite(f),U=n.createContext({}),De=(()=>{let f=0;return(M="")=>(f+=1,`${M}${f}`)})();var Se=n.forwardRef((f,M)=>{const{prefixCls:te,className:W,trigger:Z,children:we,defaultCollapsed:he=!1,theme:Te="dark",style:He={},collapsible:oe=!1,reverseArrow:ge=!1,width:je=200,collapsedWidth:Y=80,zeroWidthTriggerStyle:pe,breakpoint:ne,onCollapse:ve,onBreakpoint:Ie}=f,Ze=J(f,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ne}=(0,n.useContext)(ze.V),[re,_]=(0,n.useState)("collapsed"in f?f.collapsed:he),[Ee,a]=(0,n.useState)(!1);(0,n.useEffect)(()=>{"collapsed"in f&&_(f.collapsed)},[f.collapsed]);const m=(p,z)=>{"collapsed"in f||_(p),ve==null||ve(p,z)},{getPrefixCls:c,direction:$}=(0,n.useContext)(Ce.E_),h=c("layout-sider",te),[o,t,e]=D(h),l=(0,n.useRef)(null);l.current=p=>{a(p.matches),Ie==null||Ie(p.matches),re!==p.matches&&m(p.matches,"responsive")},(0,n.useEffect)(()=>{function p(K){var X;return(X=l.current)===null||X===void 0?void 0:X.call(l,K)}let z;return typeof(window==null?void 0:window.matchMedia)!="undefined"&&ne&&ne in v&&(z=window.matchMedia(`screen and (max-width: ${v[ne]})`),(0,F.x)(z,p),p(z)),()=>{(0,F.h)(z,p)}},[ne]),(0,n.useEffect)(()=>{const p=De("ant-sider-");return Ne.addSider(p),()=>Ne.removeSider(p)},[]);const r=()=>{m(!re,"clickTrigger")},d=(0,me.Z)(Ze,["collapsed"]),g=re?Y:je,u=Pe(g)?`${g}px`:String(g),s=parseFloat(String(Y||0))===0?n.createElement("span",{onClick:r,className:se()(`${h}-zero-width-trigger`,`${h}-zero-width-trigger-${ge?"right":"left"}`),style:pe},Z||n.createElement(P,null)):null,C=$==="rtl"==!ge,y={expanded:C?n.createElement(S.Z,null):n.createElement(w.Z,null),collapsed:C?n.createElement(w.Z,null):n.createElement(S.Z,null)}[re?"collapsed":"expanded"],E=Z!==null?s||n.createElement("div",{className:`${h}-trigger`,onClick:r,style:{width:u}},Z||y):null,x=Object.assign(Object.assign({},He),{flex:`0 0 ${u}`,maxWidth:u,minWidth:u,width:u}),B=se()(h,`${h}-${Te}`,{[`${h}-collapsed`]:!!re,[`${h}-has-trigger`]:oe&&Z!==null&&!s,[`${h}-below`]:!!Ee,[`${h}-zero-width`]:parseFloat(u)===0},W,t,e),I=n.useMemo(()=>({siderCollapsed:re}),[re]);return o(n.createElement(U.Provider,{value:I},n.createElement("aside",Object.assign({className:B},d,{style:x,ref:M}),n.createElement("div",{className:`${h}-children`},we),oe||Ee&&s?E:null)))})},80720:function(Ge,ee,i){i.d(ee,{V:function(){return L}});var n=i(75271);const L=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},27302:function(Ge,ee,i){i.d(ee,{eh:function(){return $e},jn:function(){return G}});var n=i(89260),L=i(89348);const ue=T=>{const{antCls:j,componentCls:P,colorText:w,footerBg:S,headerHeight:R,headerPadding:se,headerColor:me,footerPadding:F,fontSize:Ce,bodyBg:ze,headerBg:de}=T;return{[P]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ze,"&, *":{boxSizing:"border-box"},[`&${P}-has-sider`]:{flexDirection:"row",[`> ${P}, > ${P}-content`]:{width:0}},[`${P}-header, &${P}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${P}-header`]:{height:R,padding:se,color:me,lineHeight:(0,n.bf)(R),background:de,[`${j}-menu`]:{lineHeight:"inherit"}},[`${P}-footer`]:{padding:F,color:w,fontSize:Ce,background:S},[`${P}-content`]:{flex:"auto",color:w,minHeight:0}}},$e=T=>{const{colorBgLayout:j,controlHeight:P,controlHeightLG:w,colorText:S,controlHeightSM:R,marginXXS:se,colorTextLightSolid:me,colorBgContainer:F}=T,Ce=w*1.25;return{colorBgHeader:"#001529",colorBgBody:j,colorBgTrigger:"#002140",bodyBg:j,headerBg:"#001529",headerHeight:P*2,headerPadding:`0 ${Ce}px`,headerColor:S,footerPadding:`${R}px ${Ce}px`,footerBg:j,siderBg:"#001529",triggerHeight:w+se*2,triggerBg:"#002140",triggerColor:me,zeroTriggerWidth:w,zeroTriggerHeight:w,lightSiderBg:F,lightTriggerBg:F,lightTriggerColor:S}},G=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];ee.ZP=(0,L.I$)("Layout",T=>[ue(T)],$e,{deprecatedTokens:G})},28879:function(Ge,ee,i){i.d(ee,{J:function(){return T}});var n=i(75271),L=i(42684),ue=i(66781),$e=function(j,P){var w={};for(var S in j)Object.prototype.hasOwnProperty.call(j,S)&&P.indexOf(S)<0&&(w[S]=j[S]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,S=Object.getOwnPropertySymbols(j);R<S.length;R++)P.indexOf(S[R])<0&&Object.prototype.propertyIsEnumerable.call(j,S[R])&&(w[S[R]]=j[S[R]]);return w};const G=n.createContext(null),T=n.forwardRef((j,P)=>{const{children:w}=j,S=$e(j,["children"]),R=n.useContext(G),se=n.useMemo(()=>Object.assign(Object.assign({},R),S),[R,S.prefixCls,S.mode,S.selectable,S.rootClassName]),me=(0,L.t4)(w),F=(0,L.x1)(P,me?(0,L.C4)(w):null);return n.createElement(G.Provider,{value:se},n.createElement(ue.Z,{space:!0},me?n.cloneElement(w,{ref:F}):w))});ee.Z=G},66628:function(Ge,ee,i){i.d(ee,{Z:function(){return h}});var n=i(75271),L=i(42915),ue=i(62416),$e=i(35867),G=i(82187),T=i.n(G),j=i(59373),P=i(18051),w=i(68819),S=i(48349),R=i(70436),se=i(22123),F=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ce=function(o,t){var e={};for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&t.indexOf(l)<0&&(e[l]=o[l]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,l=Object.getOwnPropertySymbols(o);r<l.length;r++)t.indexOf(l[r])<0&&Object.prototype.propertyIsEnumerable.call(o,l[r])&&(e[l[r]]=o[l[r]]);return e},de=o=>{const{prefixCls:t,className:e,dashed:l}=o,r=Ce(o,["prefixCls","className","dashed"]),{getPrefixCls:d}=n.useContext(R.E_),g=d("menu",t),u=T()({[`${g}-item-divider-dashed`]:!!l},e);return n.createElement(L.iz,Object.assign({className:u},r))},O=i(81626),be=i(24655),D=o=>{var t;const{className:e,children:l,icon:r,title:d,danger:g,extra:u}=o,{prefixCls:s,firstLevel:C,direction:b,disableMenuItemTitleTooltip:N,inlineCollapsed:y}=n.useContext(F),E=K=>{const X=l==null?void 0:l[0],ie=n.createElement("span",{className:T()(`${s}-title-content`,{[`${s}-title-content-with-extra`]:!!u||u===0})},l);return(!r||n.isValidElement(l)&&l.type==="span")&&l&&K&&C&&typeof X=="string"?n.createElement("div",{className:`${s}-inline-collapsed-noicon`},X.charAt(0)):ie},{siderCollapsed:x}=n.useContext(ue.D);let B=d;typeof d=="undefined"?B=C?l:"":d===!1&&(B="");const I={title:B};!x&&!y&&(I.title=null,I.open=!1);const p=(0,O.Z)(l).length;let z=n.createElement(L.ck,Object.assign({},(0,P.Z)(o,["title","icon","danger"]),{className:T()({[`${s}-item-danger`]:g,[`${s}-item-only-child`]:(r?p+1:p)===1},e),title:typeof d=="string"?d:void 0}),(0,S.Tm)(r,{className:T()(n.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:void 0,`${s}-item-icon`)}),E(y));return N||(z=n.createElement(be.Z,Object.assign({},I,{placement:b==="rtl"?"left":"right",classNames:{root:`${s}-inline-collapsed-tooltip`}}),z)),z},J=i(28879),v=i(89260),Pe=i(84432),U=i(67083),De=i(94174),We=i(1916),Se=i(74248),f=i(89348),M=i(30509),W=o=>{const{componentCls:t,motionDurationSlow:e,horizontalLineHeight:l,colorSplit:r,lineWidth:d,lineType:g,itemPaddingInline:u}=o;return{[`${t}-horizontal`]:{lineHeight:l,border:0,borderBottom:`${(0,v.bf)(d)} ${g} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:u},[`> ${t}-item:hover,
|
|
> ${t}-item-active,
|
|
> ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${e}`,`background ${e}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},we=({componentCls:o,menuArrowOffset:t,calc:e})=>({[`${o}-rtl`]:{direction:"rtl"},[`${o}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${o}-rtl${o}-vertical,
|
|
${o}-submenu-rtl ${o}-vertical`]:{[`${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,v.bf)(e(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,v.bf)(t)})`}}}});const he=o=>Object.assign({},(0,U.oN)(o));var He=(o,t)=>{const{componentCls:e,itemColor:l,itemSelectedColor:r,subMenuItemSelectedColor:d,groupTitleColor:g,itemBg:u,subMenuItemBg:s,itemSelectedBg:C,activeBarHeight:b,activeBarWidth:N,activeBarBorderWidth:y,motionDurationSlow:E,motionEaseInOut:x,motionEaseOut:B,itemPaddingInline:I,motionDurationMid:p,itemHoverColor:z,lineType:K,colorSplit:X,itemDisabledColor:ie,dangerItemColor:le,dangerItemHoverColor:ae,dangerItemSelectedColor:Q,dangerItemActiveBg:H,dangerItemSelectedBg:ye,popupBg:xe,itemHoverBg:fe,itemActiveBg:V,menuSubMenuBg:A,horizontalItemSelectedColor:Be,horizontalItemSelectedBg:Re,horizontalItemBorderRadius:Xe,horizontalItemHoverBg:ce}=o;return{[`${e}-${t}, ${e}-${t} > ${e}`]:{color:l,background:u,[`&${e}-root:focus-visible`]:Object.assign({},he(o)),[`${e}-item`]:{"&-group-title, &-extra":{color:g}},[`${e}-submenu-selected > ${e}-submenu-title`]:{color:d},[`${e}-item, ${e}-submenu-title`]:{color:l,[`&:not(${e}-item-disabled):focus-visible`]:Object.assign({},he(o))},[`${e}-item-disabled, ${e}-submenu-disabled`]:{color:`${ie} !important`},[`${e}-item:not(${e}-item-selected):not(${e}-submenu-selected)`]:{[`&:hover, > ${e}-submenu-title:hover`]:{color:z}},[`&:not(${e}-horizontal)`]:{[`${e}-item:not(${e}-item-selected)`]:{"&:hover":{backgroundColor:fe},"&:active":{backgroundColor:V}},[`${e}-submenu-title`]:{"&:hover":{backgroundColor:fe},"&:active":{backgroundColor:V}}},[`${e}-item-danger`]:{color:le,[`&${e}-item:hover`]:{[`&:not(${e}-item-selected):not(${e}-submenu-selected)`]:{color:ae}},[`&${e}-item:active`]:{background:H}},[`${e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${e}-item-selected`]:{color:r,[`&${e}-item-danger`]:{color:Q},"a, a:hover":{color:"inherit"}},[`& ${e}-item-selected`]:{backgroundColor:C,[`&${e}-item-danger`]:{backgroundColor:ye}},[`&${e}-submenu > ${e}`]:{backgroundColor:A},[`&${e}-popup > ${e}`]:{backgroundColor:xe},[`&${e}-submenu-popup > ${e}`]:{backgroundColor:xe},[`&${e}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${e}-item, > ${e}-submenu`]:{top:y,marginTop:o.calc(y).mul(-1).equal(),marginBottom:0,borderRadius:Xe,"&::after":{position:"absolute",insetInline:I,bottom:0,borderBottom:`${(0,v.bf)(b)} solid transparent`,transition:`border-color ${E} ${x}`,content:'""'},"&:hover, &-active, &-open":{background:ce,"&::after":{borderBottomWidth:b,borderBottomColor:Be}},"&-selected":{color:Be,backgroundColor:Re,"&:hover":{backgroundColor:Re},"&::after":{borderBottomWidth:b,borderBottomColor:Be}}}}),[`&${e}-root`]:{[`&${e}-inline, &${e}-vertical`]:{borderInlineEnd:`${(0,v.bf)(y)} ${K} ${X}`}},[`&${e}-inline`]:{[`${e}-sub${e}-inline`]:{background:s},[`${e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,v.bf)(N)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${p} ${B}`,`opacity ${p} ${B}`].join(","),content:'""'},[`&${e}-item-danger`]:{"&::after":{borderInlineEndColor:Q}}},[`${e}-selected, ${e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${p} ${x}`,`opacity ${p} ${x}`].join(",")}}}}}};const oe=o=>{const{componentCls:t,itemHeight:e,itemMarginInline:l,padding:r,menuArrowSize:d,marginXS:g,itemMarginBlock:u,itemWidth:s,itemPaddingInline:C}=o,b=o.calc(d).add(r).add(g).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:e,lineHeight:(0,v.bf)(e),paddingInline:C,overflow:"hidden",textOverflow:"ellipsis",marginInline:l,marginBlock:u,width:s},[`> ${t}-item,
|
|
> ${t}-submenu > ${t}-submenu-title`]:{height:e,lineHeight:(0,v.bf)(e)},[`${t}-item-group-list ${t}-submenu-title,
|
|
${t}-submenu-title`]:{paddingInlineEnd:b}}};var je=o=>{const{componentCls:t,iconCls:e,itemHeight:l,colorTextLightSolid:r,dropdownWidth:d,controlHeightLG:g,motionEaseOut:u,paddingXL:s,itemMarginInline:C,fontSizeLG:b,motionDurationFast:N,motionDurationSlow:y,paddingXS:E,boxShadowSecondary:x,collapsedWidth:B,collapsedIconSize:I}=o,p={height:l,lineHeight:(0,v.bf)(l),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},oe(o))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},oe(o)),{boxShadow:x})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:d,maxHeight:`calc(100vh - ${(0,v.bf)(o.calc(g).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 ${y}`,`background ${y}`,`padding ${N} ${u}`].join(","),[`> ${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`]:p,[`& ${t}-item-group-title`]:{paddingInlineStart:s}},[`${t}-item`]:p}},{[`${t}-inline-collapsed`]:{width:B,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:b,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`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,v.bf)(o.calc(I).div(2).equal())} - ${(0,v.bf)(C)})`,textOverflow:"clip",[`
|
|
${t}-submenu-arrow,
|
|
${t}-submenu-expand-icon
|
|
`]:{opacity:0},[`${t}-item-icon, ${e}`]:{margin:0,fontSize:I,lineHeight:(0,v.bf)(l),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${e}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},U.vS),{paddingInline:E})}}]};const Y=o=>{const{componentCls:t,motionDurationSlow:e,motionDurationMid:l,motionEaseInOut:r,motionEaseOut:d,iconCls:g,iconSize:u,iconMarginInlineEnd:s}=o;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${e}`,`background ${e}`,`padding calc(${e} + 0.1s) ${r}`].join(","),[`${t}-item-icon, ${g}`]:{minWidth:u,fontSize:u,transition:[`font-size ${l} ${d}`,`margin ${e} ${r}`,`color ${e}`].join(","),"+ span":{marginInlineStart:s,opacity:1,transition:[`opacity ${e} ${r}`,`margin ${e}`,`color ${e}`].join(",")}},[`${t}-item-icon`]:Object.assign({},(0,U.Ro)()),[`&${t}-item-only-child`]:{[`> ${g}, > ${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"}}}},pe=o=>{const{componentCls:t,motionDurationSlow:e,motionEaseInOut:l,borderRadius:r,menuArrowSize:d,menuArrowOffset:g}=o;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:o.margin,width:d,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${e} ${l}, opacity ${e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:o.calc(d).mul(.6).equal(),height:o.calc(d).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${e} ${l}`,`transform ${e} ${l}`,`top ${e} ${l}`,`color ${e} ${l}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,v.bf)(o.calc(g).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,v.bf)(g)})`}}}}},ne=o=>{const{antCls:t,componentCls:e,fontSize:l,motionDurationSlow:r,motionDurationMid:d,motionEaseInOut:g,paddingXS:u,padding:s,colorSplit:C,lineWidth:b,zIndexPopup:N,borderRadiusLG:y,subMenuItemBorderRadius:E,menuArrowSize:x,menuArrowOffset:B,lineType:I,groupTitleLineHeight:p,groupTitleFontSize:z}=o;return[{"":{[e]:Object.assign(Object.assign({},(0,U.dF)()),{"&-hidden":{display:"none"}})},[`${e}-submenu-hidden`]:{display:"none"}},{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,U.Wf)(o)),(0,U.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:l,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${e}-item`]:{flex:"none"}},[`${e}-item, ${e}-submenu, ${e}-submenu-title`]:{borderRadius:o.itemBorderRadius},[`${e}-item-group-title`]:{padding:`${(0,v.bf)(u)} ${(0,v.bf)(s)}`,fontSize:z,lineHeight:p,transition:`all ${r}`},[`&-horizontal ${e}-submenu`]:{transition:[`border-color ${r} ${g}`,`background ${r} ${g}`].join(",")},[`${e}-submenu, ${e}-submenu-inline`]:{transition:[`border-color ${r} ${g}`,`background ${r} ${g}`,`padding ${d} ${g}`].join(",")},[`${e}-submenu ${e}-sub`]:{cursor:"initial",transition:[`background ${r} ${g}`,`padding ${r} ${g}`].join(",")},[`${e}-title-content`]:{transition:`color ${r}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${e}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:o.padding}},[`${e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:C,borderStyle:I,borderWidth:0,borderTopWidth:b,marginBlock:b,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Y(o)),{[`${e}-item-group`]:{[`${e}-item-group-list`]:{margin:0,padding:0,[`${e}-item, ${e}-submenu-title`]:{paddingInline:`${(0,v.bf)(o.calc(l).mul(2).equal())} ${(0,v.bf)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:N,borderRadius:y,boxShadow:"none",transformOrigin:"0 0",[`&${e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${e}`]:Object.assign(Object.assign(Object.assign({borderRadius:y},Y(o)),pe(o)),{[`${e}-item, ${e}-submenu > ${e}-submenu-title`]:{borderRadius:E},[`${e}-submenu-title::after`]:{transition:`transform ${r} ${g}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:o.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:o.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:o.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:o.paddingXS}}}),pe(o)),{[`&-inline-collapsed ${e}-submenu-arrow,
|
|
&-inline ${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,v.bf)(B)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,v.bf)(o.calc(B).mul(-1).equal())})`}},[`${e}-submenu-open${e}-submenu-inline > ${e}-submenu-title > ${e}-submenu-arrow`]:{transform:`translateY(${(0,v.bf)(o.calc(x).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,v.bf)(o.calc(B).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,v.bf)(B)})`}}})},{[`${t}-layout-header`]:{[e]:{lineHeight:"inherit"}}}]},ve=o=>{var t,e,l;const{colorPrimary:r,colorError:d,colorTextDisabled:g,colorErrorBg:u,colorText:s,colorTextDescription:C,colorBgContainer:b,colorFillAlter:N,colorFillContent:y,lineWidth:E,lineWidthBold:x,controlItemBgActive:B,colorBgTextHover:I,controlHeightLG:p,lineHeight:z,colorBgElevated:K,marginXXS:X,padding:ie,fontSize:le,controlHeightSM:ae,fontSizeLG:Q,colorTextLightSolid:H,colorErrorHover:ye}=o,xe=(t=o.activeBarWidth)!==null&&t!==void 0?t:0,fe=(e=o.activeBarBorderWidth)!==null&&e!==void 0?e:E,V=(l=o.itemMarginInline)!==null&&l!==void 0?l:o.marginXXS,A=new Pe.t(H).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:o.zIndexPopupBase+50,radiusItem:o.borderRadiusLG,itemBorderRadius:o.borderRadiusLG,radiusSubMenuItem:o.borderRadiusSM,subMenuItemBorderRadius:o.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:C,groupTitleColor:C,colorItemTextSelected:r,itemSelectedColor:r,subMenuItemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:b,itemBg:b,colorItemBgHover:I,itemHoverBg:I,colorItemBgActive:y,itemActiveBg:B,colorSubItemBg:N,subMenuItemBg:N,colorItemBgSelected:B,itemSelectedBg:B,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:xe,colorActiveBarHeight:x,activeBarHeight:x,colorActiveBarBorderSize:E,activeBarBorderWidth:fe,colorItemTextDisabled:g,itemDisabledColor:g,colorDangerItemText:d,dangerItemColor:d,colorDangerItemTextHover:d,dangerItemHoverColor:d,colorDangerItemTextSelected:d,dangerItemSelectedColor:d,colorDangerItemBgActive:u,dangerItemActiveBg:u,colorDangerItemBgSelected:u,dangerItemSelectedBg:u,itemMarginInline:V,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:p,groupTitleLineHeight:z,collapsedWidth:p*2,popupBg:K,itemMarginBlock:X,itemPaddingInline:ie,horizontalLineHeight:`${p*1.15}px`,iconSize:le,iconMarginInlineEnd:ae-le,collapsedIconSize:Q,groupTitleFontSize:le,darkItemDisabledColor:new Pe.t(H).setA(.25).toRgbString(),darkItemColor:A,darkDangerItemColor:d,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:H,darkItemSelectedBg:r,darkDangerItemSelectedBg:d,darkItemHoverBg:"transparent",darkGroupTitleColor:A,darkItemHoverColor:H,darkDangerItemHoverColor:ye,darkDangerItemSelectedColor:H,darkDangerItemActiveBg:d,itemWidth:xe?`calc(100% + ${fe}px)`:`calc(100% - ${V*2}px)`}};var Ie=(o,t=o,e=!0)=>(0,f.I$)("Menu",r=>{const{colorBgElevated:d,controlHeightLG:g,fontSize:u,darkItemColor:s,darkDangerItemColor:C,darkItemBg:b,darkSubMenuItemBg:N,darkItemSelectedColor:y,darkItemSelectedBg:E,darkDangerItemSelectedBg:x,darkItemHoverBg:B,darkGroupTitleColor:I,darkItemHoverColor:p,darkItemDisabledColor:z,darkDangerItemHoverColor:K,darkDangerItemSelectedColor:X,darkDangerItemActiveBg:ie,popupBg:le,darkPopupBg:ae}=r,Q=r.calc(u).div(7).mul(5).equal(),H=(0,M.IX)(r,{menuArrowSize:Q,menuHorizontalHeight:r.calc(g).mul(1.15).equal(),menuArrowOffset:r.calc(Q).mul(.25).equal(),menuSubMenuBg:d,calc:r.calc,popupBg:le}),ye=(0,M.IX)(H,{itemColor:s,itemHoverColor:p,groupTitleColor:I,itemSelectedColor:y,subMenuItemSelectedColor:y,itemBg:b,popupBg:ae,subMenuItemBg:N,itemActiveBg:"transparent",itemSelectedBg:E,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:B,itemDisabledColor:z,dangerItemColor:C,dangerItemHoverColor:K,dangerItemSelectedColor:X,dangerItemActiveBg:ie,dangerItemSelectedBg:x,menuSubMenuBg:N,horizontalItemSelectedColor:y,horizontalItemSelectedBg:E});return[ne(H),W(H),je(H),He(H,"light"),He(ye,"dark"),we(H),(0,De.Z)(H),(0,We.oN)(H,"slide-up"),(0,We.oN)(H,"slide-down"),(0,Se._y)(H,"zoom-big")]},ve,{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:e,unitless:{groupTitleLineHeight:!0}})(o,t),Ze=i(84619),re=o=>{var t;const{popupClassName:e,icon:l,title:r,theme:d}=o,g=n.useContext(F),{prefixCls:u,inlineCollapsed:s,theme:C}=g,b=(0,L.Xl)();let N;if(!l)N=s&&!b.length&&r&&typeof r=="string"?n.createElement("div",{className:`${u}-inline-collapsed-noicon`},r.charAt(0)):n.createElement("span",{className:`${u}-title-content`},r);else{const x=n.isValidElement(r)&&r.type==="span";N=n.createElement(n.Fragment,null,(0,S.Tm)(l,{className:T()(n.isValidElement(l)?(t=l.props)===null||t===void 0?void 0:t.className:void 0,`${u}-item-icon`)}),x?r:n.createElement("span",{className:`${u}-title-content`},r))}const y=n.useMemo(()=>Object.assign(Object.assign({},g),{firstLevel:!1}),[g]),[E]=(0,Ze.Cn)("Menu");return n.createElement(F.Provider,{value:y},n.createElement(L.Wd,Object.assign({},(0,P.Z)(o,["icon"]),{title:N,popupClassName:T()(u,e,`${u}-${d||C}`),popupStyle:Object.assign({zIndex:E},o.popupStyle)})))},_=function(o,t){var e={};for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&t.indexOf(l)<0&&(e[l]=o[l]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,l=Object.getOwnPropertySymbols(o);r<l.length;r++)t.indexOf(l[r])<0&&Object.prototype.propertyIsEnumerable.call(o,l[r])&&(e[l[r]]=o[l[r]]);return e};function Ee(o){return o===null||o===!1}const a={item:D,submenu:re,divider:de};var c=(0,n.forwardRef)((o,t)=>{var e;const l=n.useContext(J.Z),r=l||{},{getPrefixCls:d,getPopupContainer:g,direction:u,menu:s}=n.useContext(R.E_),C=d(),{prefixCls:b,className:N,style:y,theme:E="light",expandIcon:x,_internalDisableMenuItemTitleTooltip:B,inlineCollapsed:I,siderCollapsed:p,rootClassName:z,mode:K,selectable:X,onClick:ie,overflowedIndicatorPopupClassName:le}=o,ae=_(o,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Q=(0,P.Z)(ae,["collapsedWidth"]);(e=r.validator)===null||e===void 0||e.call(r,{mode:K});const H=(0,j.Z)((...Me)=>{var Oe;ie==null||ie.apply(void 0,Me),(Oe=r.onClick)===null||Oe===void 0||Oe.call(r)}),ye=r.mode||K,xe=X!=null?X:r.selectable,fe=I!=null?I:p,V={horizontal:{motionName:`${C}-slide-up`},inline:(0,w.Z)(C),other:{motionName:`${C}-zoom-big`}},A=d("menu",b||r.prefixCls),Be=(0,se.Z)(A),[Re,Xe,ce]=Ie(A,Be,!l),Ve=T()(`${A}-${E}`,s==null?void 0:s.className,N),Fe=n.useMemo(()=>{var Me,Oe;if(typeof x=="function"||Ee(x))return x||null;if(typeof r.expandIcon=="function"||Ee(r.expandIcon))return r.expandIcon||null;if(typeof(s==null?void 0:s.expandIcon)=="function"||Ee(s==null?void 0:s.expandIcon))return(s==null?void 0:s.expandIcon)||null;const Le=(Me=x!=null?x:r==null?void 0:r.expandIcon)!==null&&Me!==void 0?Me:s==null?void 0:s.expandIcon;return(0,S.Tm)(Le,{className:T()(`${A}-submenu-expand-icon`,n.isValidElement(Le)?(Oe=Le.props)===null||Oe===void 0?void 0:Oe.className:void 0)})},[x,r==null?void 0:r.expandIcon,s==null?void 0:s.expandIcon,A]),Ae=n.useMemo(()=>({prefixCls:A,inlineCollapsed:fe||!1,direction:u,firstLevel:!0,theme:E,mode:ye,disableMenuItemTitleTooltip:B}),[A,fe,u,B,E]);return Re(n.createElement(J.Z.Provider,{value:null},n.createElement(F.Provider,{value:Ae},n.createElement(L.ZP,Object.assign({getPopupContainer:g,overflowedIndicator:n.createElement($e.Z,null),overflowedIndicatorPopupClassName:T()(A,`${A}-${E}`,le),mode:ye,selectable:xe,onClick:H},Q,{inlineCollapsed:fe,style:Object.assign(Object.assign({},s==null?void 0:s.style),y),className:Ve,prefixCls:A,direction:u,defaultMotions:V,expandIcon:Fe,ref:t,rootClassName:T()(z,Xe,r.rootClassName,ce,Be),_internalComponents:a})))))});const $=(0,n.forwardRef)((o,t)=>{const e=(0,n.useRef)(null),l=n.useContext(ue.D);return(0,n.useImperativeHandle)(t,()=>({menu:e.current,focus:r=>{var d;(d=e.current)===null||d===void 0||d.focus(r)}})),n.createElement(c,Object.assign({ref:e},o,l))});$.Item=D,$.SubMenu=re,$.Divider=de,$.ItemGroup=L.BW;var h=$},44126:function(Ge,ee,i){i.d(ee,{Z:function(){return de}});var n=i(75271),L=i(82187),ue=i.n(L),$e=i(81626);function G(O){return["small","middle","large"].includes(O)}function T(O){return O?typeof O=="number"&&!Number.isNaN(O):!1}var j=i(70436),P=i(85832);const w=n.createContext({latestIndex:0}),S=w.Provider;var se=({className:O,index:be,children:q,split:D,style:J})=>{const{latestIndex:v}=n.useContext(w);return q==null?null:n.createElement(n.Fragment,null,n.createElement("div",{className:O,style:J},q),be<v&&D&&n.createElement("span",{className:`${O}-split`},D))},me=i(10130),F=function(O,be){var q={};for(var D in O)Object.prototype.hasOwnProperty.call(O,D)&&be.indexOf(D)<0&&(q[D]=O[D]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,D=Object.getOwnPropertySymbols(O);J<D.length;J++)be.indexOf(D[J])<0&&Object.prototype.propertyIsEnumerable.call(O,D[J])&&(q[D[J]]=O[D[J]]);return q};const ze=n.forwardRef((O,be)=>{var q;const{getPrefixCls:D,direction:J,size:v,className:Pe,style:U,classNames:De,styles:We}=(0,j.dj)("space"),{size:Se=v!=null?v:"small",align:f,className:M,rootClassName:te,children:W,direction:Z="horizontal",prefixCls:we,split:he,style:Te,wrap:He=!1,classNames:oe,styles:ge}=O,je=F(O,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Y,pe]=Array.isArray(Se)?Se:[Se,Se],ne=G(pe),ve=G(Y),Ie=T(pe),Ze=T(Y),Ne=(0,$e.Z)(W,{keepEmpty:!0}),re=f===void 0&&Z==="horizontal"?"center":f,_=D("space",we),[Ee,a,m]=(0,me.Z)(_),c=ue()(_,Pe,a,`${_}-${Z}`,{[`${_}-rtl`]:J==="rtl",[`${_}-align-${re}`]:re,[`${_}-gap-row-${pe}`]:ne,[`${_}-gap-col-${Y}`]:ve},M,te,m),$=ue()(`${_}-item`,(q=oe==null?void 0:oe.item)!==null&&q!==void 0?q:De.item);let h=0;const o=Ne.map((l,r)=>{var d;l!=null&&(h=r);const g=(l==null?void 0:l.key)||`${$}-${r}`;return n.createElement(se,{className:$,key:g,index:r,split:he,style:(d=ge==null?void 0:ge.item)!==null&&d!==void 0?d:We.item},l)}),t=n.useMemo(()=>({latestIndex:h}),[h]);if(Ne.length===0)return null;const e={};return He&&(e.flexWrap="wrap"),!ve&&Ze&&(e.columnGap=Y),!ne&&Ie&&(e.rowGap=pe),Ee(n.createElement("div",Object.assign({ref:be,className:c,style:Object.assign(Object.assign(Object.assign({},e),U),Te)},je),n.createElement(S,{value:t},o)))});ze.Compact=P.ZP;var de=ze}}]);
|