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.
19 lines
74 KiB
19 lines
74 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3006],{18785:function(yt,me,l){l.d(me,{Z:function(){return J}});var m=l(60499),u=l(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},D=$,p=l(7657),T=function(A,Z){return u.createElement(p.Z,(0,m.Z)({},A,{ref:Z,icon:D}))},j=u.forwardRef(T),J=j},33853:function(yt,me,l){l.d(me,{Z:function(){return J}});var m=l(60499),u=l(59301),$={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"},D=$,p=l(7657),T=function(A,Z){return u.createElement(p.Z,(0,m.Z)({},A,{ref:Z,icon:D}))},j=u.forwardRef(T),J=j},38819:function(yt,me,l){l.d(me,{Z:function(){return J}});var m=l(60499),u=l(59301),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},D=$,p=l(7657),T=function(A,Z){return u.createElement(p.Z,(0,m.Z)({},A,{ref:Z,icon:D}))},j=u.forwardRef(T),J=j},60365:function(yt,me,l){l.r(me),l.d(me,{default:function(){return Z}});var m=l(59301),u={flex_box_center:"flex_box_center___usTTt",flex_space_between:"flex_space_between___pQ1uH",flex_box_vertical_center:"flex_box_vertical_center___jvY_p",flex_box_center_end:"flex_box_center_end___mLLAC",flex_box_column:"flex_box_column___B1SWi",wrap:"wrap___Ga64a",left:"left___MLf1O",menu:"menu___FpsmH",home:"home___iI7sm",info:"info___P474B",right:"right___Ttby6"},$=l(20834),D=l(44283),p=l(89621),T=l(49317),j="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAYAAACpv3NFAAAAAXNSR0IArs4c6QAABmRJREFUeF7tXHtQVHUU/s7dBw9lAUGBJR18QE7YmJWZaYpZo9Vio0jamFpj4jhaVpaNr4Zeko42aY2OmI7o+BpDA8WGGpOmfDXjKx1TVNQUFFQUebN772nuMiqLwMBy7zJLv/vXAuecPeebc77vt3sPl1DnYmYyJpybrBDGg/EECJ3BLNW18brXRAoYN0A4LjG2OtKj04iI79VB916Yx53vY7crqQAP9LoiW5QwHTQZDNNqtvc8qbo5ATAmnhsqy5wNsE+LYnmtMVUbDDTCsT36dwpOvBB4R5ZzAe7itfW4lTgVBRkMMSSNzV3ICn/uVgwvdyKJPiVKyD0K5n5eXot76RMdI0o4WwpGR/cieLkXoYxozNn7kuDl5biVvgBAdIAYAcEBggTdos924iRUQKiAUAGhAkIF2gmhu1WGUAGhAkIFhAoIFXCLPtuJU5uqwBdvhCCogwGz1hVBUdoG0TYBwNdMSHs3HInPBTirzjpShvHfXEN5leen0eMAhAcZkDE3Ev17+aKkXIZdBkItBhzLq4JtUT6u3ZY92goeBaBvlA92zbPikRAT8q7XwLaoADUOxp4FkYixmnH1lh2vfpWPk5drPAaCxwCIf7oDNn8QgQ6+Ev44XYExSwpwq7R28IM7Stg5x4ohsf4orVTw+tICZB+v8AgIHgFg9qhgLJ4YCkkibMgpwdRVhbA7XOszGYF1M8IxYYgFssyY+UMRVv9SojsIugJgNACrksIw5cVAMDPmb76Fr3cUN1nUZ+NDsDAxxGmzNKMYczbc1BUE3QBQ2/rHj6wY9rg/KqoVTFpxHTsOlbkUM6yPn/PnfacqXX4/Kc6CNdPDYDIS0g+WYuKK66iq0UchdAEgOsKE3fMiEW01o6DYgVEp+TiaV+1SZNJLgfh+au0d+ZlripD6q2u7x/Xxw445Vuc54XBuJUalFODGXe0VQnMA1MTTP7YiuGOttMWnFDhBuHdJErBscmfMsgW7ALJ8923MTrvhciDqHWlG1vxIdA8z4WJhrUKcyddWITQFYMpwC1Ym1bbuT4fL8Obya6ioftC6AX4Stn4YgZef7NDgXP98tNx5IFKV4N7V2WJA5lwrBsT44U657FSPnHoj0xqS0AwAi7+EMyuiEB5sxJKdxZi76Sa4zthGdTE6x+Kxrk1v4Zy+Uu08EF0qetA16slx43vhSBgYgP3/VOL5BVdaU7OLr2YAqFHV011sVzPW77vr8iaDevti5yeRzhNfc66bd2WMXpyP/WeqXMznjumEtXtLUFSiHRdoCkBDxU0eZsHqaWEwm+4vpDUHA9TYGdNWFyKtHpjNcm6BkW4AEAEpE0IxZ3SnFqTzsGlD49SqgPWcdQHA34ew6f0IvPaMNps3GX+VYcK3roSqFQi6AHBsWTf0jfLVKkdnnBOXqtBv9r+axlSD6QKAkh6jeaJqQCkhV/O4HgdAURiORkhc/eygfmBq7GoXAKzbW4J3VhY2WOPaGWF4+4VAAYDogEYQECPQHkhQcIAgwf+BCpRu6tWolG3IuYsZa4oa/PvKpC6YONTSqG/AhPPecRDSPEsdA+pyEtQxX81DCwDEioxYkRErMvrcctGcrvQJKEhQkKAgQUGCggT14VfviCpUQKiAUAGhAkIFPM7XROoGxUECzgAcwUB/MLp7PA+9bo42WAjhMkHaJUmc2Tc4OudIKtnr2pkTzsU6CDZmJR6gZ8HcvHWSVqKmowwSg/gIEWUaDJxp3/boiebmGjDpakhFWeUrTIqNQSPA3PgNw+YGbcROYwCoGsS/EVGGr9F3V8XWbgWtzA9PJbHpRHHeEEWRbUywgbnxr5zdeDOiMblVrXyA0k0iyiJCZqifJbtwY3i5G3k028WccLG3A/Z4BmwABrVqVAg16mN0DoF5QLMzUA0JZwmUKUmGzAWxPQ4kJ1Ob/L+HJfFKp3K5ciQDKiAjAQ5qUR2go2Qce2G4rMhZTXYBkQzmg+o8m4yGjOptPbVf1WhZ5g9ZxyWz8c9T5wcrrMQzO7uj6TUVIlkCjXauYxjG5toUhVMBRNyPTCgHKFsCZ/qbA7JKt1j1XdtuJQD13X3GXYixO1QS5XgwD1YfmfagNiqRgOlyesyW+/soycksffn3haEM7kGgvKhIPnD+u2jXDWeNk/RUuKC3LgaVlspxzHJPkuhi146mPZfWd3duYf4HFXjVlDenBVgAAAAASUVORK5CYII=",J=(Me,t,le)=>new Promise((Be,ee)=>{var De=L=>{try{ze(le.next(L))}catch(Te){ee(Te)}},Ge=L=>{try{ze(le.throw(L))}catch(Te){ee(Te)}},ze=L=>L.done?Be(L.value):Promise.resolve(L.value).then(De,Ge);ze((le=le.apply(Me,t)).next())});const{SubMenu:G}=$.default,A=({user:Me,globalSetting:t,engineering:le,dispatch:Be})=>{const ee=(0,D.useLocation)(),[De,Ge]=m.useState(["1","2","3","4"]),[ze,L]=m.useState([]),{showMenu:Te,matrixVerify:N}=le;(0,m.useEffect)(()=>{(ee==null?void 0:ee.pathname)==="/engineering"&&D.history.replace("/engineering/navigation"),document.title="\u5DE5\u7A0B\u8BA4\u8BC1"},[ee==null?void 0:ee.pathname]),(0,m.useEffect)(()=>{document.title="\u5DE5\u7A0B\u8BA4\u8BC1"}),(0,m.useEffect)(()=>{const{filterOpenKeys:I,filterSelectedKeys:M}=y();console.log(y()),L(M)},[ee==null?void 0:ee.pathname]),(0,m.useEffect)(()=>{function I(){return J(this,null,function*(){const M=yield(0,T.ZP)("/api/ec_major_schools/1/ec_years/has_logged.json",{method:"get",params:{tab_module_type:"engineering"}});console.log(M),M!=null&&M.un_purchased&&Be({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}})})}I()},[]);const w=[{title:"\u4E13\u4E1A\u8BBE\u7F6E",key:"1",icon:m.createElement("i",{className:"iconfont icon-zhuanyeshezhi"}),children:[{title:"\u57F9\u517B\u65B9\u6848",key:"/engineering/training/program",icon:m.createElement("i",{className:"iconfont icon-peiyangfangan font14"})},{title:"\u57F9\u517B\u76EE\u6807",key:"/engineering/training/objectives",icon:m.createElement("i",{className:"iconfont icon-peiyangmubiao font14"})},{title:"\u6559\u5E08\u4FE1\u606F",key:"/engineering/teacherList",icon:m.createElement("i",{className:"iconfont icon-jiaoshiliebiao font14"})},{title:"\u5B66\u751F\u4FE1\u606F",key:"/engineering/studentList",icon:m.createElement("i",{className:"iconfont icon-xueshengliebiao font14"})}]},{title:"\u6BD5\u4E1A\u8981\u6C42",key:"2",icon:m.createElement("i",{className:"iconfont icon-biyeyaoqiu"}),children:[{title:"\u6BD5\u4E1A\u6307\u6807",key:"/engineering/graduated/index",icon:m.createElement("i",{className:"iconfont icon-biyezhibiao font14"})},{title:"\u6BD5\u4E1A\u77E9\u9635",key:"/engineering/graduated/matrix",icon:m.createElement("i",{className:"iconfont icon-biyejuzhen font14"})}]},{title:"\u8BFE\u7A0B\u4F53\u7CFB",key:"3",icon:m.createElement("i",{className:"iconfont icon-kechengtixi"}),children:[{title:"\u8BFE\u7A0B\u5217\u8868",key:"/engineering/course/list",icon:m.createElement("i",{className:"iconfont icon-kechengliebiao font14"})},{title:"\u8BFE\u7A0B\u8BBE\u7F6E",key:"/engineering/course/setting",icon:m.createElement("i",{className:"iconfont icon-kechengshezhi font14"})},{title:"\u8BFE\u7A0B\u77E9\u9635",key:"/engineering/course/matrix",icon:m.createElement("i",{className:"iconfont icon-kechengjuzhen font14"})}]},{title:"\u8FBE\u6210\u8BC4\u4EF7",key:"4",icon:m.createElement("i",{className:"iconfont icon-dachengpinggu"}),children:[{title:"\u8BFE\u7A0B\u8BC4\u4EF7",key:"/engineering/evaluate/course",icon:m.createElement("i",{className:"iconfont icon-kechengpingjia font14"})},{title:"\u6307\u6807\u8BC4\u4EF7",key:"/engineering/evaluate/norm",icon:m.createElement("i",{className:"iconfont icon-zhibiaopingjia font14"})},{title:"\u6587\u6863\u751F\u6210",key:"/engineering/evaluate/document",icon:m.createElement("i",{className:"iconfont icon-wendangshengcheng font14"})}]}],y=()=>{var I;const M=ee==null?void 0:ee.pathname;let H=[],se=[];for(let fe=0;fe<w.length;fe++)if((I=w[fe].children)!=null&&I.length){for(let Ze=0;Ze<w[fe].children.length;Ze++)if(M.includes(w[fe].children[Ze].key))return H=[w[fe].key],se=[w[fe].children[Ze].key],{filterOpenKeys:H,filterSelectedKeys:se}}return{filterOpenKeys:H,filterSelectedKeys:se}},R=I=>{console.log(De,I,44),Ge(I)},P=I=>{var M;const H=()=>{D.history.push(I)};N!=null&&N.key?(0,p.t)(H,`\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5B58\u5728\u6CA1\u6709\u5173\u8054${((M=N==null?void 0:N.params)==null?void 0:M.tab)==="1"?"\u57F9\u517B\u76EE\u6807":"\u901A\u7528\u6807\u51C6"}\uFF0C\u786E\u5B9A\u662F\u5426\u79BB\u5F00\u5F53\u524D\u9875\u9762\uFF1F`):H()};return m.createElement("div",{className:u.wrap},Te&&(ee==null?void 0:ee.pathname)!=="/exam"&&m.createElement("div",{className:u.left},m.createElement("aside",{onClick:()=>P("/engineering/navigation"),className:u.home},m.createElement("div",{className:"mr15"},m.createElement("img",{width:32,src:j})),m.createElement("div",{className:u.info},m.createElement("div",null,"\u8BA4\u8BC1\u5BFC\u822A"),m.createElement("div",null,"CERTIFICATION"))),m.createElement($.default,{mode:"inline",selectedKeys:ze,openKeys:De,onOpenChange:R,inlineIndent:15,className:u.menu,expandIcon:I=>I.isOpen?m.createElement("span",{style:{visibility:"hidden"},className:"icon-xiala3 custom-icon"}):m.createElement("span",{style:{visibility:"hidden"},className:"icon-xiala2 custom-icon"})},w.map(I=>{var M;if(!I.isMenu)return m.createElement(G,{key:I.key,icon:I.icon,title:I.title},I.children&&((M=I.children)==null?void 0:M.map(H=>m.createElement($.default.Item,{key:H.key},m.createElement("aside",{onClick:()=>P(H.key)},m.createElement("span",{className:"mr15"},H==null?void 0:H.icon),H.title)))))}))),m.createElement("div",{className:u.right},m.createElement(D.Outlet,null)))};var Z=(0,D.connect)(({globalSetting:Me,user:t,engineering:le})=>({user:t,globalSetting:Me,engineering:le}))(A)},45818:function(yt,me,l){l.d(me,{D:function(){return L},Z:function(){return w}});var m=l(60499),u=l(59301),$={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"},D=$,p=l(7657),T=function(R,P){return u.createElement(p.Z,(0,m.Z)({},R,{ref:P,icon:D}))},j=u.forwardRef(T),J=j,G=l(33853),A=l(38819),Z=l(92310),Me=l.n(Z),t=l(2738),Be=y=>!isNaN(parseFloat(y))&&isFinite(y),ee=l(36355),De=l(84966),Ge=function(y,R){var P={};for(var I in y)Object.prototype.hasOwnProperty.call(y,I)&&R.indexOf(I)<0&&(P[I]=y[I]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,I=Object.getOwnPropertySymbols(y);M<I.length;M++)R.indexOf(I[M])<0&&Object.prototype.propertyIsEnumerable.call(y,I[M])&&(P[I[M]]=y[I[M]]);return P};const ze={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},L=u.createContext({}),Te=(()=>{let y=0;return function(){let R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return y+=1,`${R}${y}`}})();var w=u.forwardRef((y,R)=>{const{prefixCls:P,className:I,trigger:M,children:H,defaultCollapsed:se=!1,theme:fe="dark",style:Ze={},collapsible:Ee=!1,reverseArrow:Fe=!1,width:lt=200,collapsedWidth:C=80,zeroWidthTriggerStyle:Q,breakpoint:ce,onCollapse:K,onBreakpoint:_}=y,W=Ge(y,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Se}=(0,u.useContext)(De.Gs),[ue,pe]=(0,u.useState)("collapsed"in y?y.collapsed:se),[we,nt]=(0,u.useState)(!1);(0,u.useEffect)(()=>{"collapsed"in y&&pe(y.collapsed)},[y.collapsed]);const Qe=(c,n)=>{"collapsed"in y||pe(c),K==null||K(c,n)},Je=(0,u.useRef)();Je.current=c=>{nt(c.matches),_==null||_(c.matches),ue!==c.matches&&Qe(c.matches,"responsive")},(0,u.useEffect)(()=>{function c(e){return Je.current(e)}let n;if(typeof window!="undefined"){const{matchMedia:e}=window;if(e&&ce&&ce in ze){n=e(`(max-width: ${ze[ce]})`);try{n.addEventListener("change",c)}catch(f){n.addListener(c)}c(n)}}return()=>{try{n==null||n.removeEventListener("change",c)}catch(e){n==null||n.removeListener(c)}}},[ce]),(0,u.useEffect)(()=>{const c=Te("ant-sider-");return Se.addSider(c),()=>Se.removeSider(c)},[]);const $t=()=>{Qe(!ue,"clickTrigger")},{getPrefixCls:He}=(0,u.useContext)(ee.E_),_e=()=>{const c=He("layout-sider",P),n=(0,t.Z)(W,["collapsed"]),e=ue?C:lt,f=Be(e)?`${e}px`:String(e),g=parseFloat(String(C||0))===0?u.createElement("span",{onClick:$t,className:Me()(`${c}-zero-width-trigger`,`${c}-zero-width-trigger-${Fe?"right":"left"}`),style:Q},M||u.createElement(J,null)):null,x={expanded:Fe?u.createElement(A.Z,null):u.createElement(G.Z,null),collapsed:Fe?u.createElement(G.Z,null):u.createElement(A.Z,null)}[ue?"collapsed":"expanded"],B=M!==null?g||u.createElement("div",{className:`${c}-trigger`,onClick:$t,style:{width:f}},M||x):null,z=Object.assign(Object.assign({},Ze),{flex:`0 0 ${f}`,maxWidth:f,minWidth:f,width:f}),U=Me()(c,`${c}-${fe}`,{[`${c}-collapsed`]:!!ue,[`${c}-has-trigger`]:Ee&&M!==null&&!g,[`${c}-below`]:!!we,[`${c}-zero-width`]:parseFloat(f)===0},I);return u.createElement("aside",Object.assign({className:U},n,{style:z,ref:R}),u.createElement("div",{className:`${c}-children`},H),Ee||we&&g?B:null)},Et=u.useMemo(()=>({siderCollapsed:ue}),[ue]);return u.createElement(L.Provider,{value:Et},_e())})},84966:function(yt,me,l){l.d(me,{VY:function(){return L},$_:function(){return ze},h4:function(){return Ge},Gs:function(){return t},ZP:function(){return Te}});var m=l(77654),u=l(92310),$=l.n(u),D=l(2738),p=l(59301),T=l(36355),j=l(83116),G=N=>{const{componentCls:w,bodyBg:y,lightSiderBg:R,lightTriggerBg:P,lightTriggerColor:I}=N;return{[`${w}-sider-light`]:{background:R,[`${w}-sider-trigger`]:{color:I,background:P},[`${w}-sider-zero-width-trigger`]:{color:I,background:P,border:`1px solid ${y}`,borderInlineStart:0}}}};const A=N=>{const{antCls:w,componentCls:y,colorText:R,triggerColor:P,footerBg:I,triggerBg:M,headerHeight:H,headerPadding:se,headerColor:fe,footerPadding:Ze,triggerHeight:Ee,zeroTriggerHeight:Fe,zeroTriggerWidth:lt,motionDurationMid:C,motionDurationSlow:Q,fontSize:ce,borderRadius:K,bodyBg:_,headerBg:W,siderBg:Se}=N;return{[y]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:_,"&, *":{boxSizing:"border-box"},[`&${y}-has-sider`]:{flexDirection:"row",[`> ${y}, > ${y}-content`]:{width:0}},[`${y}-header, &${y}-footer`]:{flex:"0 0 auto"},[`${y}-sider`]:{position:"relative",minWidth:0,background:Se,transition:`all ${C}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${w}-menu${w}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ee},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ee,color:P,lineHeight:`${Ee}px`,textAlign:"center",background:M,cursor:"pointer",transition:`all ${C}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:H,insetInlineEnd:-lt,zIndex:1,width:lt,height:Fe,color:P,fontSize:N.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Se,borderStartStartRadius:0,borderStartEndRadius:K,borderEndEndRadius:K,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Q} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Q}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-lt,borderStartStartRadius:K,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:K}}}}},G(N)),{"&-rtl":{direction:"rtl"}}),[`${y}-header`]:{height:H,padding:se,color:fe,lineHeight:`${H}px`,background:W,[`${w}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:Ze,color:R,fontSize:ce,background:I},[`${y}-content`]:{flex:"auto",minHeight:0}}};var Z=(0,j.Z)("Layout",N=>[A(N)],N=>{const{colorBgLayout:w,controlHeight:y,controlHeightLG:R,colorText:P,controlHeightSM:I,marginXXS:M,colorTextLightSolid:H,colorBgContainer:se}=N,fe=R*1.25;return{colorBgHeader:"#001529",colorBgBody:w,colorBgTrigger:"#002140",bodyBg:w,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${fe}px`,headerColor:P,footerPadding:`${I}px ${fe}px`,footerBg:w,siderBg:"#001529",triggerHeight:R+M*2,triggerBg:"#002140",triggerColor:H,zeroTriggerWidth:R,zeroTriggerHeight:R,lightSiderBg:se,lightTriggerBg:se,lightTriggerColor:P}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Me=function(N,w){var y={};for(var R in N)Object.prototype.hasOwnProperty.call(N,R)&&w.indexOf(R)<0&&(y[R]=N[R]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,R=Object.getOwnPropertySymbols(N);P<R.length;P++)w.indexOf(R[P])<0&&Object.prototype.propertyIsEnumerable.call(N,R[P])&&(y[R[P]]=N[R[P]]);return y};const t=p.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function le(N){let{suffixCls:w,tagName:y,displayName:R}=N;return P=>p.forwardRef((M,H)=>p.createElement(P,Object.assign({ref:H,suffixCls:w,tagName:y},M)))}const Be=p.forwardRef((N,w)=>{const{prefixCls:y,suffixCls:R,className:P,tagName:I}=N,M=Me(N,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:H}=p.useContext(T.E_),se=H("layout",y),[fe,Ze]=Z(se),Ee=R?`${se}-${R}`:se;return fe(p.createElement(I,Object.assign({className:$()(y||Ee,P,Ze),ref:w},M)))}),ee=p.forwardRef((N,w)=>{const{direction:y}=p.useContext(T.E_),[R,P]=p.useState([]),{prefixCls:I,className:M,rootClassName:H,children:se,hasSider:fe,tagName:Ze,style:Ee}=N,Fe=Me(N,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),lt=(0,D.Z)(Fe,["suffixCls"]),{getPrefixCls:C,layout:Q}=p.useContext(T.E_),ce=C("layout",I),[K,_]=Z(ce),W=$()(ce,{[`${ce}-has-sider`]:typeof fe=="boolean"?fe:R.length>0,[`${ce}-rtl`]:y==="rtl"},Q==null?void 0:Q.className,M,H,_),Se=p.useMemo(()=>({siderHook:{addSider:ue=>{P(pe=>[].concat((0,m.Z)(pe),[ue]))},removeSider:ue=>{P(pe=>pe.filter(we=>we!==ue))}}}),[]);return K(p.createElement(t.Provider,{value:Se},p.createElement(Ze,Object.assign({ref:w,className:W,style:Object.assign(Object.assign({},Q==null?void 0:Q.style),Ee)},lt),se)))}),De=le({tagName:"div",displayName:"Layout"})(ee),Ge=le({suffixCls:"header",tagName:"header",displayName:"Header"})(Be),ze=le({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Be),L=le({suffixCls:"content",tagName:"main",displayName:"Content"})(Be);var Te=De},40875:function(yt,me,l){l.d(me,{J:function(){return T}});var m=l(59301),u=l(33234),$=l(70425),D=function(j,J){var G={};for(var A in j)Object.prototype.hasOwnProperty.call(j,A)&&J.indexOf(A)<0&&(G[A]=j[A]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,A=Object.getOwnPropertySymbols(j);Z<A.length;Z++)J.indexOf(A[Z])<0&&Object.prototype.propertyIsEnumerable.call(j,A[Z])&&(G[A[Z]]=j[A[Z]]);return G};const p=m.createContext(null),T=m.forwardRef((j,J)=>{const{children:G}=j,A=D(j,["children"]),Z=m.useContext(p),Me=m.useMemo(()=>Object.assign(Object.assign({},Z),A),[Z,A.prefixCls,A.mode,A.selectable]);return m.createElement(p.Provider,{value:Me},m.createElement(u.BR,null,(0,$.supportNodeRef)(G)?m.cloneElement(G,{ref:J}):G))});me.Z=p},20834:function(yt,me,l){l.d(me,{default:function(){return Et}});var m=l(15285),u=l(59301),$=l(45818),D=l(92310),p=l.n(D),T=l(36355),j=function(c,n){var e={};for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&n.indexOf(f)<0&&(e[f]=c[f]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,f=Object.getOwnPropertySymbols(c);g<f.length;g++)n.indexOf(f[g])<0&&Object.prototype.propertyIsEnumerable.call(c,f[g])&&(e[f[g]]=c[f[g]]);return e},G=c=>{const{prefixCls:n,className:e,dashed:f}=c,g=j(c,["prefixCls","className","dashed"]),{getPrefixCls:b}=u.useContext(T.E_),S=b("menu",n),x=p()({[`${S}-item-divider-dashed`]:!!f},e);return u.createElement(m.iz,Object.assign({className:x},g))},A=l(11592),Z=l(2738),Me=l(6848),t=l(92343),Be=(0,u.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),De=c=>{var n;const{className:e,children:f,icon:g,title:b,danger:S}=c,{prefixCls:x,firstLevel:B,direction:z,disableMenuItemTitleTooltip:U,inlineCollapsed:F}=u.useContext(Be),xe=Ke=>{const ke=u.createElement("span",{className:`${x}-title-content`},f);return(!g||(0,t.l$)(f)&&f.type==="span")&&f&&Ke&&B&&typeof f=="string"?u.createElement("div",{className:`${x}-inline-collapsed-noicon`},f.charAt(0)):ke},{siderCollapsed:te}=u.useContext($.D);let he=b;typeof b=="undefined"?he=B?f:"":b===!1&&(he="");const Y={title:he};!te&&!F&&(Y.title=null,Y.open=!1);const be=(0,A.Z)(f).length;let ye=u.createElement(m.ck,Object.assign({},(0,Z.Z)(c,["title","icon","danger"]),{className:p()({[`${x}-item-danger`]:S,[`${x}-item-only-child`]:(g?be+1:be)===1},e),title:typeof b=="string"?b:void 0}),(0,t.Tm)(g,{className:p()((0,t.l$)(g)?(n=g.props)===null||n===void 0?void 0:n.className:"",`${x}-item-icon`)}),xe(F));return U||(ye=u.createElement(Me.Z,Object.assign({},Y,{placement:z==="rtl"?"left":"right",overlayClassName:`${x}-inline-collapsed-tooltip`}),ye)),ye},ze=c=>{var n;const{popupClassName:e,icon:f,title:g,theme:b}=c,S=u.useContext(Be),{prefixCls:x,inlineCollapsed:B,theme:z}=S,U=(0,m.Xl)();let F;if(!f)F=B&&!U.length&&g&&typeof g=="string"?u.createElement("div",{className:`${x}-inline-collapsed-noicon`},g.charAt(0)):u.createElement("span",{className:`${x}-title-content`},g);else{const te=(0,t.l$)(g)&&g.type==="span";F=u.createElement(u.Fragment,null,(0,t.Tm)(f,{className:p()((0,t.l$)(f)?(n=f.props)===null||n===void 0?void 0:n.className:"",`${x}-item-icon`)}),te?g:u.createElement("span",{className:`${x}-title-content`},g))}const xe=u.useMemo(()=>Object.assign(Object.assign({},S),{firstLevel:!1}),[S]);return u.createElement(Be.Provider,{value:xe},u.createElement(m.Wd,Object.assign({},(0,Z.Z)(c,["icon"]),{title:F,popupClassName:p()(x,e,`${x}-${b||z}`)})))},L=l(18785),Te=l(70425),N=l(62892),w=l(40875),y=function(c,n){var e={};for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&n.indexOf(f)<0&&(e[f]=c[f]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,f=Object.getOwnPropertySymbols(c);g<f.length;g++)n.indexOf(f[g])<0&&Object.prototype.propertyIsEnumerable.call(c,f[g])&&(e[f[g]]=c[f[g]]);return e};function R(c){return(c||[]).map((n,e)=>{if(n&&typeof n=="object"){const f=n,{label:g,children:b,key:S,type:x}=f,B=y(f,["label","children","key","type"]),z=S!=null?S:`tmp-${e}`;return b||x==="group"?x==="group"?u.createElement(m.BW,Object.assign({key:z},B,{title:g}),R(b)):u.createElement(ze,Object.assign({key:z},B,{title:g}),R(b)):x==="divider"?u.createElement(G,Object.assign({key:z},B)):u.createElement(De,Object.assign({key:z},B),g)}return null}).filter(n=>n)}function P(c){return u.useMemo(()=>c&&R(c),[c])}var I=l(64993),M=l(17313),H=l(8378),se=l(13826),fe=l(29878),Ze=l(83116),Ee=l(37613),lt=c=>{const{componentCls:n,motionDurationSlow:e,horizontalLineHeight:f,colorSplit:g,lineWidth:b,lineType:S,itemPaddingInline:x}=c;return{[`${n}-horizontal`]:{lineHeight:f,border:0,borderBottom:`${b}px ${S} ${g}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${n}-item, ${n}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:x},[`> ${n}-item:hover,
|
|
> ${n}-item-active,
|
|
> ${n}-submenu ${n}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${n}-item, ${n}-submenu-title`]:{transition:[`border-color ${e}`,`background ${e}`].join(",")},[`${n}-submenu-arrow`]:{display:"none"}}}},Q=c=>{let{componentCls:n,menuArrowOffset:e}=c;return{[`${n}-rtl`]:{direction:"rtl"},[`${n}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${n}-rtl${n}-vertical,
|
|
${n}-submenu-rtl ${n}-vertical`]:{[`${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${e})`},"&::after":{transform:`rotate(45deg) translateY(${e})`}}}}};const ce=c=>Object.assign({},(0,M.oN)(c));var _=(c,n)=>{const{componentCls:e,itemColor:f,itemSelectedColor:g,groupTitleColor:b,itemBg:S,subMenuItemBg:x,itemSelectedBg:B,activeBarHeight:z,activeBarWidth:U,activeBarBorderWidth:F,motionDurationSlow:xe,motionEaseInOut:te,motionEaseOut:he,itemPaddingInline:Y,motionDurationMid:be,itemHoverColor:ye,lineType:Ke,colorSplit:ke,itemDisabledColor:st,dangerItemColor:ct,dangerItemHoverColor:Ve,dangerItemSelectedColor:je,dangerItemActiveBg:ne,dangerItemSelectedBg:Ue,itemHoverBg:Ot,itemActiveBg:ut,menuSubMenuBg:Dt,horizontalItemSelectedColor:Nt,horizontalItemSelectedBg:Pt,horizontalItemBorderRadius:dt,horizontalItemHoverBg:mt,popupBg:Ft}=c;return{[`${e}-${n}, ${e}-${n} > ${e}`]:{color:f,background:S,[`&${e}-root:focus-visible`]:Object.assign({},ce(c)),[`${e}-item-group-title`]:{color:b},[`${e}-submenu-selected`]:{[`> ${e}-submenu-title`]:{color:g}},[`${e}-item-disabled, ${e}-submenu-disabled`]:{color:`${st} !important`},[`${e}-item:not(${e}-item-selected):not(${e}-submenu-selected)`]:{[`&:hover, > ${e}-submenu-title:hover`]:{color:ye}},[`&:not(${e}-horizontal)`]:{[`${e}-item:not(${e}-item-selected)`]:{"&:hover":{backgroundColor:Ot},"&:active":{backgroundColor:ut}},[`${e}-submenu-title`]:{"&:hover":{backgroundColor:Ot},"&:active":{backgroundColor:ut}}},[`${e}-item-danger`]:{color:ct,[`&${e}-item:hover`]:{[`&:not(${e}-item-selected):not(${e}-submenu-selected)`]:{color:Ve}},[`&${e}-item:active`]:{background:ne}},[`${e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${e}-item-selected`]:{color:g,[`&${e}-item-danger`]:{color:je},"a, a:hover":{color:"inherit"}},[`& ${e}-item-selected`]:{backgroundColor:B,[`&${e}-item-danger`]:{backgroundColor:Ue}},[`${e}-item, ${e}-submenu-title`]:{[`&:not(${e}-item-disabled):focus-visible`]:Object.assign({},ce(c))},[`&${e}-submenu > ${e}`]:{backgroundColor:Dt},[`&${e}-popup > ${e}`]:{backgroundColor:Ft},[`&${e}-horizontal`]:Object.assign(Object.assign({},n==="dark"?{borderBottom:0}:{}),{[`> ${e}-item, > ${e}-submenu`]:{top:F,marginTop:-F,marginBottom:0,borderRadius:dt,"&::after":{position:"absolute",insetInline:Y,bottom:0,borderBottom:`${z}px solid transparent`,transition:`border-color ${xe} ${te}`,content:'""'},"&:hover, &-active, &-open":{background:mt,"&::after":{borderBottomWidth:z,borderBottomColor:Nt}},"&-selected":{color:Nt,backgroundColor:Pt,"&:hover":{backgroundColor:Pt},"&::after":{borderBottomWidth:z,borderBottomColor:Nt}}}}),[`&${e}-root`]:{[`&${e}-inline, &${e}-vertical`]:{borderInlineEnd:`${F}px ${Ke} ${ke}`}},[`&${e}-inline`]:{[`${e}-sub${e}-inline`]:{background:x},[`${e}-item, ${e}-submenu-title`]:F&&U?{width:`calc(100% + ${F}px)`}:{},[`${e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${U}px solid ${g}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${be} ${he}`,`opacity ${be} ${he}`].join(","),content:'""'},[`&${e}-item-danger`]:{"&::after":{borderInlineEndColor:je}}},[`${e}-selected, ${e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${be} ${te}`,`opacity ${be} ${te}`].join(",")}}}}}};const W=c=>{const{componentCls:n,itemHeight:e,itemMarginInline:f,padding:g,menuArrowSize:b,marginXS:S,itemMarginBlock:x}=c,B=g+b+S;return{[`${n}-item`]:{position:"relative",overflow:"hidden"},[`${n}-item, ${n}-submenu-title`]:{height:e,lineHeight:`${e}px`,paddingInline:g,overflow:"hidden",textOverflow:"ellipsis",marginInline:f,marginBlock:x,width:`calc(100% - ${f*2}px)`},[`> ${n}-item,
|
|
> ${n}-submenu > ${n}-submenu-title`]:{height:e,lineHeight:`${e}px`},[`${n}-item-group-list ${n}-submenu-title,
|
|
${n}-submenu-title`]:{paddingInlineEnd:B}}};var ue=c=>{const{componentCls:n,iconCls:e,itemHeight:f,colorTextLightSolid:g,dropdownWidth:b,controlHeightLG:S,motionDurationMid:x,motionEaseOut:B,paddingXL:z,itemMarginInline:U,fontSizeLG:F,motionDurationSlow:xe,paddingXS:te,boxShadowSecondary:he,collapsedWidth:Y,collapsedIconSize:be}=c,ye={height:f,lineHeight:`${f}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[n]:{"&-inline, &-vertical":Object.assign({[`&${n}-root`]:{boxShadow:"none"}},W(c))},[`${n}-submenu-popup`]:{[`${n}-vertical`]:Object.assign(Object.assign({},W(c)),{boxShadow:he})}},{[`${n}-submenu-popup ${n}-vertical${n}-sub`]:{minWidth:b,maxHeight:`calc(100vh - ${S*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${n}-inline`]:{width:"100%",[`&${n}-root`]:{[`${n}-item, ${n}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${xe}`,`background ${xe}`,`padding ${x} ${B}`].join(","),[`> ${n}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${n}-sub${n}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${n}-submenu > ${n}-submenu-title`]:ye,[`& ${n}-item-group-title`]:{paddingInlineStart:z}},[`${n}-item`]:ye}},{[`${n}-inline-collapsed`]:{width:Y,[`&${n}-root`]:{[`${n}-item, ${n}-submenu ${n}-submenu-title`]:{[`> ${n}-inline-collapsed-noicon`]:{fontSize:F,textAlign:"center"}}},[`> ${n}-item,
|
|
> ${n}-item-group > ${n}-item-group-list > ${n}-item,
|
|
> ${n}-item-group > ${n}-item-group-list > ${n}-submenu > ${n}-submenu-title,
|
|
> ${n}-submenu > ${n}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${F/2}px - ${U}px)`,textOverflow:"clip",[`
|
|
${n}-submenu-arrow,
|
|
${n}-submenu-expand-icon
|
|
`]:{opacity:0},[`${n}-item-icon, ${e}`]:{margin:0,fontSize:be,lineHeight:`${f}px`,"+ span":{display:"inline-block",opacity:0}}},[`${n}-item-icon, ${e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${n}-item-icon, ${e}`]:{display:"none"},"a, a:hover":{color:g}},[`${n}-item-group-title`]:Object.assign(Object.assign({},M.vS),{paddingInline:te})}}]};const pe=c=>{const{componentCls:n,motionDurationSlow:e,motionDurationMid:f,motionEaseInOut:g,motionEaseOut:b,iconCls:S,iconSize:x,iconMarginInlineEnd:B}=c;return{[`${n}-item, ${n}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${e}`,`background ${e}`,`padding ${e} ${g}`].join(","),[`${n}-item-icon, ${S}`]:{minWidth:x,fontSize:x,transition:[`font-size ${f} ${b}`,`margin ${e} ${g}`,`color ${e}`].join(","),"+ span":{marginInlineStart:B,opacity:1,transition:[`opacity ${e} ${g}`,`margin ${e}`,`color ${e}`].join(",")}},[`${n}-item-icon`]:Object.assign({},(0,M.Ro)()),[`&${n}-item-only-child`]:{[`> ${S}, > ${n}-item-icon`]:{marginInlineEnd:0}}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${n}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},we=c=>{const{componentCls:n,motionDurationSlow:e,motionEaseInOut:f,borderRadius:g,menuArrowSize:b,menuArrowOffset:S}=c;return{[`${n}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:c.margin,width:b,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${e} ${f}, opacity ${e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:b*.6,height:b*.15,backgroundColor:"currentcolor",borderRadius:g,transition:[`background ${e} ${f}`,`transform ${e} ${f}`,`top ${e} ${f}`,`color ${e} ${f}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${S})`},"&::after":{transform:`rotate(-45deg) translateY(${S})`}}}}},nt=c=>{const{antCls:n,componentCls:e,fontSize:f,motionDurationSlow:g,motionDurationMid:b,motionEaseInOut:S,paddingXS:x,padding:B,colorSplit:z,lineWidth:U,zIndexPopup:F,borderRadiusLG:xe,subMenuItemBorderRadius:te,menuArrowSize:he,menuArrowOffset:Y,lineType:be,menuPanelMaskInset:ye,groupTitleLineHeight:Ke,groupTitleFontSize:ke}=c;return[{"":{[`${e}`]:Object.assign(Object.assign({},(0,M.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,M.Wf)(c)),(0,M.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:f,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${g} 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:c.itemBorderRadius},[`${e}-item-group-title`]:{padding:`${x}px ${B}px`,fontSize:ke,lineHeight:Ke,transition:`all ${g}`},[`&-horizontal ${e}-submenu`]:{transition:[`border-color ${g} ${S}`,`background ${g} ${S}`].join(",")},[`${e}-submenu, ${e}-submenu-inline`]:{transition:[`border-color ${g} ${S}`,`background ${g} ${S}`,`padding ${b} ${S}`].join(",")},[`${e}-submenu ${e}-sub`]:{cursor:"initial",transition:[`background ${g} ${S}`,`padding ${g} ${S}`].join(",")},[`${e}-title-content`]:{transition:`color ${g}`},[`${e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:z,borderStyle:be,borderWidth:0,borderTopWidth:U,marginBlock:U,padding:0,"&-dashed":{borderStyle:"dashed"}}}),pe(c)),{[`${e}-item-group`]:{[`${e}-item-group-list`]:{margin:0,padding:0,[`${e}-item, ${e}-submenu-title`]:{paddingInline:`${f*2}px ${B}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:F,borderRadius:xe,boxShadow:"none",transformOrigin:"0 0",[`&${e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ye}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ye},"\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:c.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:c.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:c.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:c.paddingXS},[`> ${e}`]:Object.assign(Object.assign(Object.assign({borderRadius:xe},pe(c)),we(c)),{[`${e}-item, ${e}-submenu > ${e}-submenu-title`]:{borderRadius:te},[`${e}-submenu-title::after`]:{transition:`transform ${g} ${S}`}})}}),we(c)),{[`&-inline-collapsed ${e}-submenu-arrow,
|
|
&-inline ${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Y})`},"&::after":{transform:`rotate(45deg) translateX(-${Y})`}},[`${e}-submenu-open${e}-submenu-inline > ${e}-submenu-title > ${e}-submenu-arrow`]:{transform:`translateY(-${he*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Y})`},"&::before":{transform:`rotate(45deg) translateX(${Y})`}}})},{[`${n}-layout-header`]:{[e]:{lineHeight:"inherit"}}}]};var Qe=(c,n)=>(0,Ze.Z)("Menu",f=>{if(n===!1)return[];const{colorBgElevated:g,colorPrimary:b,colorTextLightSolid:S,controlHeightLG:x,fontSize:B,darkItemColor:z,darkDangerItemColor:U,darkItemBg:F,darkSubMenuItemBg:xe,darkItemSelectedColor:te,darkItemSelectedBg:he,darkDangerItemSelectedBg:Y,darkItemHoverBg:be,darkGroupTitleColor:ye,darkItemHoverColor:Ke,darkItemDisabledColor:ke,darkDangerItemHoverColor:st,darkDangerItemSelectedColor:ct,darkDangerItemActiveBg:Ve}=f,je=B/7*5,ne=(0,Ee.TS)(f,{menuArrowSize:je,menuHorizontalHeight:x*1.15,menuArrowOffset:`${je*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:g}),Ue=(0,Ee.TS)(ne,{itemColor:z,itemHoverColor:Ke,groupTitleColor:ye,itemSelectedColor:te,itemBg:F,popupBg:F,subMenuItemBg:xe,itemActiveBg:"transparent",itemSelectedBg:he,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:be,itemDisabledColor:ke,dangerItemColor:U,dangerItemHoverColor:st,dangerItemSelectedColor:ct,dangerItemActiveBg:Ve,dangerItemSelectedBg:Y,menuSubMenuBg:xe,horizontalItemSelectedColor:S,horizontalItemSelectedBg:b});return[nt(ne),lt(ne),ue(ne),_(ne,"light"),_(Ue,"dark"),Q(ne),(0,H.Z)(ne),(0,se.oN)(ne,"slide-up"),(0,se.oN)(ne,"slide-down"),(0,fe._y)(ne,"zoom-big")]},f=>{const{colorPrimary:g,colorError:b,colorTextDisabled:S,colorErrorBg:x,colorText:B,colorTextDescription:z,colorBgContainer:U,colorFillAlter:F,colorFillContent:xe,lineWidth:te,lineWidthBold:he,controlItemBgActive:Y,colorBgTextHover:be,controlHeightLG:ye,lineHeight:Ke,colorBgElevated:ke,marginXXS:st,padding:ct,fontSize:Ve,controlHeightSM:je,fontSizeLG:ne,colorTextLightSolid:Ue,colorErrorHover:Ot}=f,ut=new I.C(Ue).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:f.zIndexPopupBase+50,radiusItem:f.borderRadiusLG,itemBorderRadius:f.borderRadiusLG,radiusSubMenuItem:f.borderRadiusSM,subMenuItemBorderRadius:f.borderRadiusSM,colorItemText:B,itemColor:B,colorItemTextHover:B,itemHoverColor:B,colorItemTextHoverHorizontal:g,horizontalItemHoverColor:g,colorGroupTitle:z,groupTitleColor:z,colorItemTextSelected:g,itemSelectedColor:g,colorItemTextSelectedHorizontal:g,horizontalItemSelectedColor:g,colorItemBg:U,itemBg:U,colorItemBgHover:be,itemHoverBg:be,colorItemBgActive:xe,itemActiveBg:Y,colorSubItemBg:F,subMenuItemBg:F,colorItemBgSelected:Y,itemSelectedBg:Y,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:he,activeBarHeight:he,colorActiveBarBorderSize:te,activeBarBorderWidth:te,colorItemTextDisabled:S,itemDisabledColor:S,colorDangerItemText:b,dangerItemColor:b,colorDangerItemTextHover:b,dangerItemHoverColor:b,colorDangerItemTextSelected:b,dangerItemSelectedColor:b,colorDangerItemBgActive:x,dangerItemActiveBg:x,colorDangerItemBgSelected:x,dangerItemSelectedBg:x,itemMarginInline:f.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ye,groupTitleLineHeight:Ke,collapsedWidth:ye*2,popupBg:ke,itemMarginBlock:st,itemPaddingInline:ct,horizontalLineHeight:`${ye*1.15}px`,iconSize:Ve,iconMarginInlineEnd:je-Ve,collapsedIconSize:ne,groupTitleFontSize:Ve,darkItemDisabledColor:new I.C(Ue).setAlpha(.25).toRgbString(),darkItemColor:ut,darkDangerItemColor:b,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ue,darkItemSelectedBg:g,darkDangerItemSelectedBg:b,darkItemHoverBg:"transparent",darkGroupTitleColor:ut,darkItemHoverColor:Ue,darkDangerItemHoverColor:Ot,darkDangerItemSelectedColor:Ue,darkDangerItemActiveBg:b}},{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"]]})(c),Je=function(c,n){var e={};for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&n.indexOf(f)<0&&(e[f]=c[f]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,f=Object.getOwnPropertySymbols(c);g<f.length;g++)n.indexOf(f[g])<0&&Object.prototype.propertyIsEnumerable.call(c,f[g])&&(e[f[g]]=c[f[g]]);return e},He=(0,u.forwardRef)((c,n)=>{var e,f;const g=u.useContext(w.Z),b=g||{},{getPrefixCls:S,getPopupContainer:x,direction:B,menu:z}=u.useContext(T.E_),U=S(),{prefixCls:F,className:xe,style:te,theme:he="light",expandIcon:Y,_internalDisableMenuItemTitleTooltip:be,inlineCollapsed:ye,siderCollapsed:Ke,items:ke,children:st,rootClassName:ct,mode:Ve,selectable:je,onClick:ne,overflowedIndicatorPopupClassName:Ue}=c,Ot=Je(c,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ut=(0,Z.Z)(Ot,["collapsedWidth"]),Dt=P(ke)||st;(e=b.validator)===null||e===void 0||e.call(b,{mode:Ve});const Nt=(0,Te.useEvent)(function(){var qe;ne==null||ne.apply(void 0,arguments),(qe=b.onClick)===null||qe===void 0||qe.call(b)}),Pt=b.mode||Ve,dt=je!=null?je:b.selectable,mt=u.useMemo(()=>Ke!==void 0?Ke:ye,[ye,Ke]),Ft={horizontal:{motionName:`${U}-slide-up`},inline:(0,N.Z)(U),other:{motionName:`${U}-zoom-big`}},rt=S("menu",F||b.prefixCls),[Vt,Ut]=Qe(rt,!g),Tt=p()(`${rt}-${he}`,z==null?void 0:z.className,xe);let At;if(typeof Y=="function")At=Y;else if(Y===null||Y===!1)At=null;else if(b.expandIcon===null||b.expandIcon===!1)At=null;else{const qe=Y!=null?Y:b.expandIcon;At=(0,t.Tm)(qe,{className:p()(`${rt}-submenu-expand-icon`,(0,t.l$)(qe)?(f=qe.props)===null||f===void 0?void 0:f.className:"")})}const Ne=u.useMemo(()=>({prefixCls:rt,inlineCollapsed:mt||!1,direction:B,firstLevel:!0,theme:he,mode:Pt,disableMenuItemTitleTooltip:be}),[rt,mt,B,be,he]);return Vt(u.createElement(w.Z.Provider,{value:null},u.createElement(Be.Provider,{value:Ne},u.createElement(m.ZP,Object.assign({getPopupContainer:x,overflowedIndicator:u.createElement(L.Z,null),overflowedIndicatorPopupClassName:p()(rt,`${rt}-${he}`,Ue),mode:Pt,selectable:dt,onClick:Nt},ut,{inlineCollapsed:mt,style:Object.assign(Object.assign({},z==null?void 0:z.style),te),className:Tt,prefixCls:rt,direction:B,defaultMotions:Ft,expandIcon:At,ref:n,rootClassName:p()(ct,Ut)}),Dt))))});const _e=(0,u.forwardRef)((c,n)=>{const e=(0,u.useRef)(null),f=u.useContext($.D);return(0,u.useImperativeHandle)(n,()=>({menu:e.current,focus:g=>{var b;(b=e.current)===null||b===void 0||b.focus(g)}})),u.createElement(He,Object.assign({ref:e},c,f))});_e.Item=De,_e.SubMenu=ze,_e.Divider=G,_e.ItemGroup=m.BW;var Et=_e},8378:function(yt,me){const l=m=>({[m.componentCls]:{[`${m.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${m.motionDurationMid} ${m.motionEaseInOut},
|
|
opacity ${m.motionDurationMid} ${m.motionEaseInOut} !important`}},[`${m.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${m.motionDurationMid} ${m.motionEaseInOut},
|
|
opacity ${m.motionDurationMid} ${m.motionEaseInOut} !important`}}});me.Z=l},13826:function(yt,me,l){l.d(me,{Qt:function(){return p},Uw:function(){return D},fJ:function(){return $},ly:function(){return T},oN:function(){return Me}});var m=l(36237),u=l(95406);const $=new m.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),D=new m.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),p=new m.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),T=new m.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),j=new m.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),J=new m.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),G=new m.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),A=new m.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Z={"slide-up":{inKeyframes:$,outKeyframes:D},"slide-down":{inKeyframes:p,outKeyframes:T},"slide-left":{inKeyframes:j,outKeyframes:J},"slide-right":{inKeyframes:G,outKeyframes:A}},Me=(t,le)=>{const{antCls:Be}=t,ee=`${Be}-${le}`,{inKeyframes:De,outKeyframes:Ge}=Z[le];return[(0,u.R)(ee,De,Ge,t.motionDurationMid),{[`
|
|
${ee}-enter,
|
|
${ee}-appear
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:t.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${ee}-leave`]:{animationTimingFunction:t.motionEaseInQuint}}]}},15285:function(yt,me,l){l.d(me,{iz:function(){return Kt},ck:function(){return dt},BW:function(){return gn},sN:function(){return dt},Wd:function(){return Xt},ZP:function(){return Ht},Xl:function(){return I}});var m=l(60499),u=l(18642),$=l(85899),D=l(77654),p=l(72190),T=l(42244),j=l(92310),J=l.n(j),G=l(83836),A=l(18929),Z=l(13697),Me=l(48736),t=l(59301),le=l(4676),Be=t.createContext(null);function ee(o,r){return o===void 0?null:"".concat(o,"-").concat(r)}function De(o){var r=t.useContext(Be);return ee(r,o)}var Ge=l(80547),ze=["children","locked"],L=t.createContext(null);function Te(o,r){var d=(0,$.Z)({},o);return Object.keys(r).forEach(function(v){var i=r[v];i!==void 0&&(d[v]=i)}),d}function N(o){var r=o.children,d=o.locked,v=(0,T.Z)(o,ze),i=t.useContext(L),s=(0,Ge.Z)(function(){return Te(i,v)},[i,v],function(a,h){return!d&&(a[0]!==h[0]||!(0,Z.Z)(a[1],h[1],!0))});return t.createElement(L.Provider,{value:s},r)}var w=[],y=t.createContext(null);function R(){return t.useContext(y)}var P=t.createContext(w);function I(o){var r=t.useContext(P);return t.useMemo(function(){return o!==void 0?[].concat((0,D.Z)(r),[o]):r},[r,o])}var M=t.createContext(null),H=t.createContext({}),se=H,fe=l(29194);function Ze(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,fe.Z)(o)){var d=o.nodeName.toLowerCase(),v=["input","select","textarea","button"].includes(d)||o.isContentEditable||d==="a"&&!!o.getAttribute("href"),i=o.getAttribute("tabindex"),s=Number(i),a=null;return i&&!Number.isNaN(s)?a=s:v&&a===null&&(a=0),v&&o.disabled&&(a=null),a!==null&&(a>=0||r&&a<0)}return!1}function Ee(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d=(0,D.Z)(o.querySelectorAll("*")).filter(function(v){return Ze(v,r)});return Ze(o,r)&&d.unshift(o),d}var Fe=null;function lt(){Fe=document.activeElement}function C(){Fe=null}function Q(){if(Fe)try{Fe.focus()}catch(o){}}function ce(o,r){if(r.keyCode===9){var d=Ee(o),v=d[r.shiftKey?0:d.length-1],i=v===document.activeElement||o===document.activeElement;if(i){var s=d[r.shiftKey?d.length-1:0];s.focus(),r.preventDefault()}}}var K=l(10228),_=l(16089),W=K.Z.LEFT,Se=K.Z.RIGHT,ue=K.Z.UP,pe=K.Z.DOWN,we=K.Z.ENTER,nt=K.Z.ESC,Qe=K.Z.HOME,Je=K.Z.END,$t=[ue,pe,W,Se];function He(o,r,d,v){var i,s,a,h,O="prev",E="next",ie="children",k="parent";if(o==="inline"&&v===we)return{inlineTrigger:!0};var de=(i={},(0,u.Z)(i,ue,O),(0,u.Z)(i,pe,E),i),ve=(s={},(0,u.Z)(s,W,d?E:O),(0,u.Z)(s,Se,d?O:E),(0,u.Z)(s,pe,ie),(0,u.Z)(s,we,ie),s),q=(a={},(0,u.Z)(a,ue,O),(0,u.Z)(a,pe,E),(0,u.Z)(a,we,ie),(0,u.Z)(a,nt,k),(0,u.Z)(a,W,d?ie:k),(0,u.Z)(a,Se,d?k:ie),a),Pe={inline:de,horizontal:ve,vertical:q,inlineSub:de,horizontalSub:q,verticalSub:q},Oe=(h=Pe["".concat(o).concat(r?"":"Sub")])===null||h===void 0?void 0:h[v];switch(Oe){case O:return{offset:-1,sibling:!0};case E:return{offset:1,sibling:!0};case k:return{offset:-1,sibling:!1};case ie:return{offset:1,sibling:!1};default:return null}}function _e(o){for(var r=o;r;){if(r.getAttribute("data-menu-list"))return r;r=r.parentElement}return null}function Et(o,r){for(var d=o||document.activeElement;d;){if(r.has(d))return d;d=d.parentElement}return null}function c(o,r){var d=Ee(o,!0);return d.filter(function(v){return r.has(v)})}function n(o,r,d){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!o)return null;var i=c(o,r),s=i.length,a=i.findIndex(function(h){return d===h});return v<0?a===-1?a=s-1:a-=1:v>0&&(a+=1),a=(a+s)%s,i[a]}var e=function(r,d){var v=new Set,i=new Map,s=new Map;return r.forEach(function(a){var h=document.querySelector("[data-menu-id='".concat(ee(d,a),"']"));h&&(v.add(h),s.set(h,a),i.set(a,h))}),{elements:v,key2element:i,element2key:s}};function f(o,r,d,v,i,s,a,h,O,E){var ie=t.useRef(),k=t.useRef();k.current=r;var de=function(){_.Z.cancel(ie.current)};return t.useEffect(function(){return function(){de()}},[]),function(ve){var q=ve.which;if([].concat($t,[we,nt,Qe,Je]).includes(q)){var Pe=s(),Oe=e(Pe,v),Ae=Oe,re=Ae.elements,X=Ae.key2element,V=Ae.element2key,Ce=X.get(r),ae=Et(Ce,re),Le=V.get(ae),ge=He(o,a(Le,!0).length===1,d,q);if(!ge&&q!==Qe&&q!==Je)return;($t.includes(q)||[Qe,Je].includes(q))&&ve.preventDefault();var Ct=function(et){if(et){var It=et,St=et.querySelector("a");St!=null&&St.getAttribute("href")&&(It=St);var xt=V.get(et);h(xt),de(),ie.current=(0,_.Z)(function(){k.current===xt&&It.focus()})}};if([Qe,Je].includes(q)||ge.sibling||!ae){var $e;!ae||o==="inline"?$e=i.current:$e=_e(ae);var ot,We=c($e,re);q===Qe?ot=We[0]:q===Je?ot=We[We.length-1]:ot=n($e,re,ae,ge.offset),Ct(ot)}else if(ge.inlineTrigger)O(Le);else if(ge.offset>0)O(Le,!0),de(),ie.current=(0,_.Z)(function(){Oe=e(Pe,v);var wt=ae.getAttribute("aria-controls"),et=document.getElementById(wt),It=n(et,Oe.elements);Ct(It)},5);else if(ge.offset<0){var Ye=a(Le,!0),vt=Ye[Ye.length-2],gt=X.get(vt);O(vt,!1),Ct(gt)}}E==null||E(ve)}}function g(o){Promise.resolve().then(o)}var b="__RC_UTIL_PATH_SPLIT__",S=function(r){return r.join(b)},x=function(r){return r.split(b)},B="rc-menu-more";function z(){var o=t.useState({}),r=(0,p.Z)(o,2),d=r[1],v=(0,t.useRef)(new Map),i=(0,t.useRef)(new Map),s=t.useState([]),a=(0,p.Z)(s,2),h=a[0],O=a[1],E=(0,t.useRef)(0),ie=(0,t.useRef)(!1),k=function(){ie.current||d({})},de=(0,t.useCallback)(function(X,V){var Ce=S(V);i.current.set(Ce,X),v.current.set(X,Ce),E.current+=1;var ae=E.current;g(function(){ae===E.current&&k()})},[]),ve=(0,t.useCallback)(function(X,V){var Ce=S(V);i.current.delete(Ce),v.current.delete(X)},[]),q=(0,t.useCallback)(function(X){O(X)},[]),Pe=(0,t.useCallback)(function(X,V){var Ce=v.current.get(X)||"",ae=x(Ce);return V&&h.includes(ae[0])&&ae.unshift(B),ae},[h]),Oe=(0,t.useCallback)(function(X,V){return X.some(function(Ce){var ae=Pe(Ce,!0);return ae.includes(V)})},[Pe]),Ae=function(){var V=(0,D.Z)(v.current.keys());return h.length&&V.push(B),V},re=(0,t.useCallback)(function(X){var V="".concat(v.current.get(X)).concat(b),Ce=new Set;return(0,D.Z)(i.current.keys()).forEach(function(ae){ae.startsWith(V)&&Ce.add(i.current.get(ae))}),Ce},[]);return t.useEffect(function(){return function(){ie.current=!0}},[]),{registerPath:de,unregisterPath:ve,refreshOverflowKeys:q,isSubPathKey:Oe,getKeyPath:Pe,getKeys:Ae,getSubPathKeys:re}}function U(o){var r=t.useRef(o);r.current=o;var d=t.useCallback(function(){for(var v,i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return(v=r.current)===null||v===void 0?void 0:v.call.apply(v,[r].concat(s))},[]);return o?d:void 0}var F=Math.random().toFixed(5).toString().slice(2),xe=0;function te(o){var r=(0,A.Z)(o,{value:o}),d=(0,p.Z)(r,2),v=d[0],i=d[1];return t.useEffect(function(){xe+=1;var s="".concat(F,"-").concat(xe);i("rc-menu-uuid-".concat(s))},[]),v}var he=l(38705),Y=l(17212),be=l(39153),ye=l(55401),Ke=l(2738),ke=l(8654);function st(o,r,d,v){var i=t.useContext(L),s=i.activeKey,a=i.onActive,h=i.onInactive,O={active:s===o};return r||(O.onMouseEnter=function(E){d==null||d({key:o,domEvent:E}),a(o)},O.onMouseLeave=function(E){v==null||v({key:o,domEvent:E}),h(o)}),O}function ct(o){var r=t.useContext(L),d=r.mode,v=r.rtl,i=r.inlineIndent;if(d!=="inline")return null;var s=o;return v?{paddingRight:s*i}:{paddingLeft:s*i}}function Ve(o){var r=o.icon,d=o.props,v=o.children,i;return r===null||r===!1?null:(typeof r=="function"?i=t.createElement(r,(0,$.Z)({},d)):typeof r!="boolean"&&(i=r),i||v||null)}var je=["item"];function ne(o){var r=o.item,d=(0,T.Z)(o,je);return Object.defineProperty(d,"item",{get:function(){return(0,Me.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),r}}),d}var Ue=["title","attribute","elementRef"],Ot=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ut=["active"],Dt=function(o){(0,be.Z)(d,o);var r=(0,ye.Z)(d);function d(){return(0,he.Z)(this,d),r.apply(this,arguments)}return(0,Y.Z)(d,[{key:"render",value:function(){var i=this.props,s=i.title,a=i.attribute,h=i.elementRef,O=(0,T.Z)(i,Ue),E=(0,Ke.Z)(O,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,Me.ZP)(!a,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),t.createElement(G.Z.Item,(0,m.Z)({},a,{title:typeof s=="string"?s:void 0},E,{ref:h}))}}]),d}(t.Component),Nt=t.forwardRef(function(o,r){var d,v=o.style,i=o.className,s=o.eventKey,a=o.warnKey,h=o.disabled,O=o.itemIcon,E=o.children,ie=o.role,k=o.onMouseEnter,de=o.onMouseLeave,ve=o.onClick,q=o.onKeyDown,Pe=o.onFocus,Oe=(0,T.Z)(o,Ot),Ae=De(s),re=t.useContext(L),X=re.prefixCls,V=re.onItemClick,Ce=re.disabled,ae=re.overflowDisabled,Le=re.itemIcon,ge=re.selectedKeys,Ct=re.onActive,$e=t.useContext(se),ot=$e._internalRenderMenuItem,We="".concat(X,"-item"),Ye=t.useRef(),vt=t.useRef(),gt=Ce||h,wt=(0,ke.x1)(r,vt),et=I(s),It=function(Xe){return{key:s,keyPath:(0,D.Z)(et).reverse(),item:Ye.current,domEvent:Xe}},St=O||Le,xt=st(s,gt,k,de),Gt=xt.active,Qt=(0,T.Z)(xt,ut),kt=ge.includes(s),Jt=ct(et.length),_t=function(Xe){if(!gt){var Rt=It(Xe);ve==null||ve(ne(Rt)),V(Rt)}},tt=function(Xe){if(q==null||q(Xe),Xe.which===K.Z.ENTER){var Rt=It(Xe);ve==null||ve(ne(Rt)),V(Rt)}},pt=function(Xe){Ct(s),Pe==null||Pe(Xe)},cn={};o.role==="option"&&(cn["aria-selected"]=kt);var qt=t.createElement(Dt,(0,m.Z)({ref:Ye,elementRef:wt,role:ie===null?"none":ie||"menuitem",tabIndex:h?null:-1,"data-menu-id":ae&&Ae?null:Ae},Oe,Qt,cn,{component:"li","aria-disabled":h,style:(0,$.Z)((0,$.Z)({},Jt),v),className:J()(We,(d={},(0,u.Z)(d,"".concat(We,"-active"),Gt),(0,u.Z)(d,"".concat(We,"-selected"),kt),(0,u.Z)(d,"".concat(We,"-disabled"),gt),d),i),onClick:_t,onKeyDown:tt,onFocus:pt}),E,t.createElement(Ve,{props:(0,$.Z)((0,$.Z)({},o),{},{isSelected:kt}),icon:St}));return ot&&(qt=ot(qt,o,{selected:kt})),qt});function Pt(o,r){var d=o.eventKey,v=R(),i=I(d);return t.useEffect(function(){if(v)return v.registerPath(d,i),function(){v.unregisterPath(d,i)}},[i]),v?null:t.createElement(Nt,(0,m.Z)({},o,{ref:r}))}var dt=t.forwardRef(Pt),mt=["className","children"],Ft=function(r,d){var v=r.className,i=r.children,s=(0,T.Z)(r,mt),a=t.useContext(L),h=a.prefixCls,O=a.mode,E=a.rtl;return t.createElement("ul",(0,m.Z)({className:J()(h,E&&"".concat(h,"-rtl"),"".concat(h,"-sub"),"".concat(h,"-").concat(O==="inline"?"inline":"vertical"),v),role:"menu"},s,{"data-menu-list":!0,ref:d}),i)},rt=t.forwardRef(Ft);rt.displayName="SubMenuList";var Vt=rt,Ut=l(11592);function Tt(o,r){return(0,Ut.Z)(o).map(function(d,v){if(t.isValidElement(d)){var i,s,a=d.key,h=(i=(s=d.props)===null||s===void 0?void 0:s.eventKey)!==null&&i!==void 0?i:a,O=h==null;O&&(h="tmp_key-".concat([].concat((0,D.Z)(r),[v]).join("-")));var E={key:h,eventKey:h};return t.cloneElement(d,E)}return d})}var At=l(35593),Ne={adjustX:1,adjustY:1},qe={topLeft:{points:["bl","tl"],overflow:Ne},topRight:{points:["br","tr"],overflow:Ne},bottomLeft:{points:["tl","bl"],overflow:Ne},bottomRight:{points:["tr","br"],overflow:Ne},leftTop:{points:["tr","tl"],overflow:Ne},leftBottom:{points:["br","bl"],overflow:Ne},rightTop:{points:["tl","tr"],overflow:Ne},rightBottom:{points:["bl","br"],overflow:Ne}},Tn={topLeft:{points:["bl","tl"],overflow:Ne},topRight:{points:["br","tr"],overflow:Ne},bottomLeft:{points:["tl","bl"],overflow:Ne},bottomRight:{points:["tr","br"],overflow:Ne},rightTop:{points:["tr","tl"],overflow:Ne},rightBottom:{points:["br","bl"],overflow:Ne},leftTop:{points:["tl","tr"],overflow:Ne},leftBottom:{points:["bl","br"],overflow:Ne}},Yt=null;function $n(o,r,d){if(r)return r;if(d)return d[o]||d.other}var En={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Kn(o){var r=o.prefixCls,d=o.visible,v=o.children,i=o.popup,s=o.popupStyle,a=o.popupClassName,h=o.popupOffset,O=o.disabled,E=o.mode,ie=o.onVisibleChange,k=t.useContext(L),de=k.getPopupContainer,ve=k.rtl,q=k.subMenuOpenDelay,Pe=k.subMenuCloseDelay,Oe=k.builtinPlacements,Ae=k.triggerSubMenuAction,re=k.forceSubMenuRender,X=k.rootClassName,V=k.motion,Ce=k.defaultMotions,ae=t.useState(!1),Le=(0,p.Z)(ae,2),ge=Le[0],Ct=Le[1],$e=ve?(0,$.Z)((0,$.Z)({},Tn),Oe):(0,$.Z)((0,$.Z)({},qe),Oe),ot=En[E],We=$n(E,V,Ce),Ye=t.useRef(We);E!=="inline"&&(Ye.current=We);var vt=(0,$.Z)((0,$.Z)({},Ye.current),{},{leavedClassName:"".concat(r,"-hidden"),removeOnLeave:!1,motionAppear:!0}),gt=t.useRef();return t.useEffect(function(){return gt.current=(0,_.Z)(function(){Ct(d)}),function(){_.Z.cancel(gt.current)}},[d]),t.createElement(At.Z,{prefixCls:r,popupClassName:J()("".concat(r,"-popup"),(0,u.Z)({},"".concat(r,"-rtl"),ve),a,X),stretch:E==="horizontal"?"minWidth":null,getPopupContainer:de,builtinPlacements:$e,popupPlacement:ot,popupVisible:ge,popup:i,popupStyle:s,popupAlign:h&&{offset:h},action:O?[]:[Ae],mouseEnterDelay:q,mouseLeaveDelay:Pe,onPopupVisibleChange:ie,forceRender:re,popupMotion:vt,fresh:!0},v)}var zn=l(77900);function on(o){var r=o.id,d=o.open,v=o.keyPath,i=o.children,s="inline",a=t.useContext(L),h=a.prefixCls,O=a.forceSubMenuRender,E=a.motion,ie=a.defaultMotions,k=a.mode,de=t.useRef(!1);de.current=k===s;var ve=t.useState(!de.current),q=(0,p.Z)(ve,2),Pe=q[0],Oe=q[1],Ae=de.current?d:!1;t.useEffect(function(){de.current&&Oe(!1)},[k]);var re=(0,$.Z)({},$n(s,E,ie));v.length>1&&(re.motionAppear=!1);var X=re.onVisibleChanged;return re.onVisibleChanged=function(V){return!de.current&&!V&&Oe(!0),X==null?void 0:X(V)},Pe?null:t.createElement(N,{mode:s,locked:!de.current},t.createElement(zn.default,(0,m.Z)({visible:Ae},re,{forceRender:O,removeOnLeave:!1,leavedClassName:"".concat(h,"-hidden")}),function(V){var Ce=V.className,ae=V.style;return t.createElement(Vt,{id:r,className:Ce,style:ae},i)}))}var On=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],an=["active"],ft=function(r){var d,v=r.style,i=r.className,s=r.title,a=r.eventKey,h=r.warnKey,O=r.disabled,E=r.internalPopupClose,ie=r.children,k=r.itemIcon,de=r.expandIcon,ve=r.popupClassName,q=r.popupOffset,Pe=r.popupStyle,Oe=r.onClick,Ae=r.onMouseEnter,re=r.onMouseLeave,X=r.onTitleClick,V=r.onTitleMouseEnter,Ce=r.onTitleMouseLeave,ae=(0,T.Z)(r,On),Le=De(a),ge=t.useContext(L),Ct=ge.prefixCls,$e=ge.mode,ot=ge.openKeys,We=ge.disabled,Ye=ge.overflowDisabled,vt=ge.activeKey,gt=ge.selectedKeys,wt=ge.itemIcon,et=ge.expandIcon,It=ge.onItemClick,St=ge.onOpenChange,xt=ge.onActive,Gt=t.useContext(se),Qt=Gt._internalRenderSubMenuItem,kt=t.useContext(M),Jt=kt.isSubPathKey,_t=I(),tt="".concat(Ct,"-submenu"),pt=We||O,cn=t.useRef(),qt=t.useRef(),en=k!=null?k:wt,Xe=de!=null?de:et,Rt=ot.includes(a),jt=!Ye&&Rt,Mn=Jt(gt,a),un=st(a,pt,V,Ce),tn=un.active,Wn=(0,T.Z)(un,an),qn=t.useState(!1),Fn=(0,p.Z)(qn,2),hn=Fn[0],Bn=Fn[1],Nn=function(bt){pt||Bn(bt)},Mt=function(bt){Nn(!0),Ae==null||Ae({key:a,domEvent:bt})},Vn=function(bt){Nn(!1),re==null||re({key:a,domEvent:bt})},bn=t.useMemo(function(){return tn||($e!=="inline"?hn||Jt([vt],a):!1)},[$e,tn,vt,hn,a,Jt]),Pn=ct(_t.length),Un=function(bt){pt||(X==null||X({key:a,domEvent:bt}),$e==="inline"&&St(a,!Rt))},dn=U(function(Bt){Oe==null||Oe(ne(Bt)),It(Bt)}),yn=function(bt){$e!=="inline"&&St(a,bt)},Cn=function(){xt(a)},In=Le&&"".concat(Le,"-popup"),mn=t.createElement("div",(0,m.Z)({role:"menuitem",style:Pn,className:"".concat(tt,"-title"),tabIndex:pt?null:-1,ref:cn,title:typeof s=="string"?s:null,"data-menu-id":Ye&&Le?null:Le,"aria-expanded":jt,"aria-haspopup":!0,"aria-controls":In,"aria-disabled":pt,onClick:Un,onFocus:Cn},Wn),s,t.createElement(Ve,{icon:$e!=="horizontal"?Xe:void 0,props:(0,$.Z)((0,$.Z)({},r),{},{isOpen:jt,isSubMenu:!0})},t.createElement("i",{className:"".concat(tt,"-arrow")}))),ht=t.useRef($e);if($e!=="inline"&&_t.length>1?ht.current="vertical":ht.current=$e,!Ye){var fn=ht.current;mn=t.createElement(Kn,{mode:fn,prefixCls:tt,visible:!E&&jt&&$e!=="inline",popupClassName:ve,popupOffset:q,popupStyle:Pe,popup:t.createElement(N,{mode:fn==="horizontal"?"vertical":fn},t.createElement(Vt,{id:In,ref:qt},ie)),disabled:pt,onVisibleChange:yn},mn)}var nn=t.createElement(G.Z.Item,(0,m.Z)({role:"none"},ae,{component:"li",style:v,className:J()(tt,"".concat(tt,"-").concat($e),i,(d={},(0,u.Z)(d,"".concat(tt,"-open"),jt),(0,u.Z)(d,"".concat(tt,"-active"),bn),(0,u.Z)(d,"".concat(tt,"-selected"),Mn),(0,u.Z)(d,"".concat(tt,"-disabled"),pt),d)),onMouseEnter:Mt,onMouseLeave:Vn}),mn,!Ye&&t.createElement(on,{id:In,open:jt,keyPath:_t},ie));return Qt&&(nn=Qt(nn,r,{selected:Mn,active:bn,open:jt,disabled:pt})),t.createElement(N,{onItemClick:dn,mode:$e==="horizontal"?"vertical":$e,itemIcon:en,expandIcon:Xe},nn)};function Xt(o){var r=o.eventKey,d=o.children,v=I(r),i=Tt(d,v),s=R();t.useEffect(function(){if(s)return s.registerPath(r,v),function(){s.unregisterPath(r,v)}},[v]);var a;return s?a=i:a=t.createElement(ft,o,i),t.createElement(P.Provider,{value:v},a)}var Ln=l(43749),Zt=["className","title","eventKey","children"],vn=["children"],ln=function(r){var d=r.className,v=r.title,i=r.eventKey,s=r.children,a=(0,T.Z)(r,Zt),h=t.useContext(L),O=h.prefixCls,E="".concat(O,"-item-group");return t.createElement("li",(0,m.Z)({role:"presentation"},a,{onClick:function(k){return k.stopPropagation()},className:J()(E,d)}),t.createElement("div",{role:"presentation",className:"".concat(E,"-title"),title:typeof v=="string"?v:void 0},v),t.createElement("ul",{role:"group",className:"".concat(E,"-list")},s))};function gn(o){var r=o.children,d=(0,T.Z)(o,vn),v=I(d.eventKey),i=Tt(r,v),s=R();return s?i:t.createElement(ln,(0,Ke.Z)(d,["warnKey"]),i)}function Kt(o){var r=o.className,d=o.style,v=t.useContext(L),i=v.prefixCls,s=R();return s?null:t.createElement("li",{role:"separator",className:J()("".concat(i,"-item-divider"),r),style:d})}var Hn=["label","children","key","type"];function sn(o){return(o||[]).map(function(r,d){if(r&&(0,Ln.Z)(r)==="object"){var v=r,i=v.label,s=v.children,a=v.key,h=v.type,O=(0,T.Z)(v,Hn),E=a!=null?a:"tmp-".concat(d);return s||h==="group"?h==="group"?t.createElement(gn,(0,m.Z)({key:E},O,{title:i}),sn(s)):t.createElement(Xt,(0,m.Z)({key:E},O,{title:i}),sn(s)):h==="divider"?t.createElement(Kt,(0,m.Z)({key:E},O)):t.createElement(dt,(0,m.Z)({key:E},O),i)}return null}).filter(function(r){return r})}function kn(o,r,d){var v=o;return r&&(v=sn(r)),Tt(v,d)}var jn=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],zt=[],pn=t.forwardRef(function(o,r){var d,v,i=o,s=i.prefixCls,a=s===void 0?"rc-menu":s,h=i.rootClassName,O=i.style,E=i.className,ie=i.tabIndex,k=ie===void 0?0:ie,de=i.items,ve=i.children,q=i.direction,Pe=i.id,Oe=i.mode,Ae=Oe===void 0?"vertical":Oe,re=i.inlineCollapsed,X=i.disabled,V=i.disabledOverflow,Ce=i.subMenuOpenDelay,ae=Ce===void 0?.1:Ce,Le=i.subMenuCloseDelay,ge=Le===void 0?.1:Le,Ct=i.forceSubMenuRender,$e=i.defaultOpenKeys,ot=i.openKeys,We=i.activeKey,Ye=i.defaultActiveFirst,vt=i.selectable,gt=vt===void 0?!0:vt,wt=i.multiple,et=wt===void 0?!1:wt,It=i.defaultSelectedKeys,St=i.selectedKeys,xt=i.onSelect,Gt=i.onDeselect,Qt=i.inlineIndent,kt=Qt===void 0?24:Qt,Jt=i.motion,_t=i.defaultMotions,tt=i.triggerSubMenuAction,pt=tt===void 0?"hover":tt,cn=i.builtinPlacements,qt=i.itemIcon,en=i.expandIcon,Xe=i.overflowedIndicator,Rt=Xe===void 0?"...":Xe,jt=i.overflowedIndicatorPopupClassName,Mn=i.getPopupContainer,un=i.onClick,tn=i.onOpenChange,Wn=i.onKeyDown,qn=i.openAnimation,Fn=i.openTransitionName,hn=i._internalRenderMenuItem,Bn=i._internalRenderSubMenuItem,Nn=(0,T.Z)(i,jn),Mt=t.useMemo(function(){return kn(ve,de,zt)},[ve,de]),Vn=t.useState(!1),bn=(0,p.Z)(Vn,2),Pn=bn[0],Un=bn[1],dn=t.useRef(),yn=te(Pe),Cn=q==="rtl",In=(0,A.Z)($e,{value:ot,postState:function(oe){return oe||zt}}),mn=(0,p.Z)(In,2),ht=mn[0],fn=mn[1],nn=function(oe){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function it(){fn(oe),tn==null||tn(oe)}Ie?(0,le.flushSync)(it):it()},Bt=t.useState(ht),bt=(0,p.Z)(Bt,2),vr=bt[0],gr=bt[1],Yn=t.useRef(!1),pr=t.useMemo(function(){return(Ae==="inline"||Ae==="vertical")&&re?["vertical",re]:[Ae,!1]},[Ae,re]),er=(0,p.Z)(pr,2),An=er[0],Xn=er[1],tr=An==="inline",hr=t.useState(An),nr=(0,p.Z)(hr,2),Wt=nr[0],br=nr[1],yr=t.useState(Xn),rr=(0,p.Z)(yr,2),Cr=rr[0],Ir=rr[1];t.useEffect(function(){br(An),Ir(Xn),Yn.current&&(tr?fn(vr):nn(zt))},[An,Xn]);var Sr=t.useState(0),or=(0,p.Z)(Sr,2),Zn=or[0],xr=or[1],Gn=Zn>=Mt.length-1||Wt!=="horizontal"||V;t.useEffect(function(){tr&&gr(ht)},[ht]),t.useEffect(function(){return Yn.current=!0,function(){Yn.current=!1}},[]);var rn=z(),ir=rn.registerPath,ar=rn.unregisterPath,$r=rn.refreshOverflowKeys,lr=rn.isSubPathKey,Er=rn.getKeyPath,sr=rn.getKeys,Or=rn.getSubPathKeys,Rr=t.useMemo(function(){return{registerPath:ir,unregisterPath:ar}},[ir,ar]),Mr=t.useMemo(function(){return{isSubPathKey:lr}},[lr]);t.useEffect(function(){$r(Gn?zt:Mt.slice(Zn+1).map(function(Re){return Re.key}))},[Zn,Gn]);var Br=(0,A.Z)(We||Ye&&((d=Mt[0])===null||d===void 0?void 0:d.key),{value:We}),cr=(0,p.Z)(Br,2),Sn=cr[0],Qn=cr[1],Nr=U(function(Re){Qn(Re)}),Pr=U(function(){Qn(void 0)});(0,t.useImperativeHandle)(r,function(){return{list:dn.current,focus:function(oe){var Ie,it=sr(),at=e(it,yn),Dn=at.elements,Jn=at.key2element,kr=at.element2key,mr=c(dn.current,Dn),fr=Sn!=null?Sn:mr[0]?kr.get(mr[0]):(Ie=Mt.find(function(jr){return!jr.props.disabled}))===null||Ie===void 0?void 0:Ie.key,xn=Jn.get(fr);if(fr&&xn){var _n;xn==null||(_n=xn.focus)===null||_n===void 0||_n.call(xn,oe)}}}});var Ar=(0,A.Z)(It||[],{value:St,postState:function(oe){return Array.isArray(oe)?oe:oe==null?zt:[oe]}}),ur=(0,p.Z)(Ar,2),wn=ur[0],Zr=ur[1],wr=function(oe){if(gt){var Ie=oe.key,it=wn.includes(Ie),at;et?it?at=wn.filter(function(Jn){return Jn!==Ie}):at=[].concat((0,D.Z)(wn),[Ie]):at=[Ie],Zr(at);var Dn=(0,$.Z)((0,$.Z)({},oe),{},{selectedKeys:at});it?Gt==null||Gt(Dn):xt==null||xt(Dn)}!et&&ht.length&&Wt!=="inline"&&nn(zt)},Dr=U(function(Re){un==null||un(ne(Re)),wr(Re)}),dr=U(function(Re,oe){var Ie=ht.filter(function(at){return at!==Re});if(oe)Ie.push(Re);else if(Wt!=="inline"){var it=Or(Re);Ie=Ie.filter(function(at){return!it.has(at)})}(0,Z.Z)(ht,Ie,!0)||nn(Ie,!0)}),Tr=function(oe,Ie){var it=Ie!=null?Ie:!ht.includes(oe);dr(oe,it)},Kr=f(Wt,Sn,Cn,yn,dn,sr,Er,Qn,Tr,Wn);t.useEffect(function(){Un(!0)},[]);var zr=t.useMemo(function(){return{_internalRenderMenuItem:hn,_internalRenderSubMenuItem:Bn}},[hn,Bn]),Lr=Wt!=="horizontal"||V?Mt:Mt.map(function(Re,oe){return t.createElement(N,{key:Re.key,overflowDisabled:oe>Zn},Re)}),Hr=t.createElement(G.Z,(0,m.Z)({id:Pe,ref:dn,prefixCls:"".concat(a,"-overflow"),component:"ul",itemComponent:dt,className:J()(a,"".concat(a,"-root"),"".concat(a,"-").concat(Wt),E,(v={},(0,u.Z)(v,"".concat(a,"-inline-collapsed"),Cr),(0,u.Z)(v,"".concat(a,"-rtl"),Cn),v),h),dir:q,style:O,role:"menu",tabIndex:k,data:Lr,renderRawItem:function(oe){return oe},renderRawRest:function(oe){var Ie=oe.length,it=Ie?Mt.slice(-Ie):null;return t.createElement(Xt,{eventKey:B,title:Rt,disabled:Gn,internalPopupClose:Ie===0,popupClassName:jt},it)},maxCount:Wt!=="horizontal"||V?G.Z.INVALIDATE:G.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(oe){xr(oe)},onKeyDown:Kr},Nn));return t.createElement(se.Provider,{value:zr},t.createElement(Be.Provider,{value:yn},t.createElement(N,{prefixCls:a,rootClassName:h,mode:Wt,openKeys:ht,rtl:Cn,disabled:X,motion:Pn?Jt:null,defaultMotions:Pn?_t:null,activeKey:Sn,onActive:Nr,onInactive:Pr,selectedKeys:wn,inlineIndent:kt,subMenuOpenDelay:ae,subMenuCloseDelay:ge,forceSubMenuRender:Ct,builtinPlacements:cn,triggerSubMenuAction:pt,getPopupContainer:Mn,itemIcon:qt,expandIcon:en,onItemClick:Dr,onOpenChange:dr},t.createElement(M.Provider,{value:Mr},Hr),t.createElement("div",{style:{display:"none"},"aria-hidden":!0},t.createElement(y.Provider,{value:Rr},Mt)))))}),Rn=pn,Lt=Rn;Lt.Item=dt,Lt.SubMenu=Xt,Lt.ItemGroup=gn,Lt.Divider=Kt;var Ht=Lt},83836:function(yt,me,l){l.d(me,{Z:function(){return lt}});var m=l(60499),u=l(85899),$=l(72190),D=l(42244),p=l(59301),T=l(92310),j=l.n(T),J=l(29301),G=l(34280),A=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Z=void 0;function Me(C,Q){var ce=C.prefixCls,K=C.invalidate,_=C.item,W=C.renderItem,Se=C.responsive,ue=C.responsiveDisabled,pe=C.registerSize,we=C.itemKey,nt=C.className,Qe=C.style,Je=C.children,$t=C.display,He=C.order,_e=C.component,Et=_e===void 0?"div":_e,c=(0,D.Z)(C,A),n=Se&&!$t;function e(x){pe(we,x)}p.useEffect(function(){return function(){e(null)}},[]);var f=W&&_!==Z?W(_,{index:He}):Je,g;K||(g={opacity:n?0:1,height:n?0:Z,overflowY:n?"hidden":Z,order:Se?He:Z,pointerEvents:n?"none":Z,position:n?"absolute":Z});var b={};n&&(b["aria-hidden"]=!0);var S=p.createElement(Et,(0,m.Z)({className:j()(!K&&ce,nt),style:(0,u.Z)((0,u.Z)({},g),Qe)},b,c,{ref:Q}),f);return Se&&(S=p.createElement(J.Z,{onResize:function(B){var z=B.offsetWidth;e(z)},disabled:ue},S)),S}var t=p.forwardRef(Me);t.displayName="Item";var le=t,Be=l(6089),ee=l(4676),De=l(16089);function Ge(C){if(typeof MessageChannel=="undefined")(0,De.Z)(C);else{var Q=new MessageChannel;Q.port1.onmessage=function(){return C()},Q.port2.postMessage(void 0)}}function ze(){var C=p.useRef(null),Q=function(K){C.current||(C.current=[],Ge(function(){(0,ee.unstable_batchedUpdates)(function(){C.current.forEach(function(_){_()}),C.current=null})})),C.current.push(K)};return Q}function L(C,Q){var ce=p.useState(Q),K=(0,$.Z)(ce,2),_=K[0],W=K[1],Se=(0,Be.Z)(function(ue){C(function(){W(ue)})});return[_,Se]}var Te=p.createContext(null),N=["component"],w=["className"],y=["className"],R=function(Q,ce){var K=p.useContext(Te);if(!K){var _=Q.component,W=_===void 0?"div":_,Se=(0,D.Z)(Q,N);return p.createElement(W,(0,m.Z)({},Se,{ref:ce}))}var ue=K.className,pe=(0,D.Z)(K,w),we=Q.className,nt=(0,D.Z)(Q,y);return p.createElement(Te.Provider,{value:null},p.createElement(le,(0,m.Z)({ref:ce,className:j()(ue,we)},pe,nt)))},P=p.forwardRef(R);P.displayName="RawItem";var I=P,M=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],H="responsive",se="invalidate";function fe(C){return"+ ".concat(C.length," ...")}function Ze(C,Q){var ce=C.prefixCls,K=ce===void 0?"rc-overflow":ce,_=C.data,W=_===void 0?[]:_,Se=C.renderItem,ue=C.renderRawItem,pe=C.itemKey,we=C.itemWidth,nt=we===void 0?10:we,Qe=C.ssr,Je=C.style,$t=C.className,He=C.maxCount,_e=C.renderRest,Et=C.renderRawRest,c=C.prefix,n=C.suffix,e=C.component,f=e===void 0?"div":e,g=C.itemComponent,b=C.onVisibleChange,S=(0,D.Z)(C,M),x=Qe==="full",B=ze(),z=L(B,null),U=(0,$.Z)(z,2),F=U[0],xe=U[1],te=F||0,he=L(B,new Map),Y=(0,$.Z)(he,2),be=Y[0],ye=Y[1],Ke=L(B,0),ke=(0,$.Z)(Ke,2),st=ke[0],ct=ke[1],Ve=L(B,0),je=(0,$.Z)(Ve,2),ne=je[0],Ue=je[1],Ot=L(B,0),ut=(0,$.Z)(Ot,2),Dt=ut[0],Nt=ut[1],Pt=L(B,0),dt=(0,$.Z)(Pt,2),mt=dt[0],Ft=dt[1],rt=(0,p.useState)(null),Vt=(0,$.Z)(rt,2),Ut=Vt[0],Tt=Vt[1],At=(0,p.useState)(null),Ne=(0,$.Z)(At,2),qe=Ne[0],Tn=Ne[1],Yt=p.useMemo(function(){return qe===null&&x?Number.MAX_SAFE_INTEGER:qe||0},[qe,F]),$n=(0,p.useState)(!1),En=(0,$.Z)($n,2),Kn=En[0],zn=En[1],on="".concat(K,"-item"),On=Math.max(st,ne),an=He===H,ft=W.length&&an,Xt=He===se,Ln=ft||typeof He=="number"&&W.length>He,Zt=(0,p.useMemo)(function(){var s=W;return ft?F===null&&x?s=W:s=W.slice(0,Math.min(W.length,te/nt)):typeof He=="number"&&(s=W.slice(0,He)),s},[W,nt,F,He,ft]),vn=(0,p.useMemo)(function(){return ft?W.slice(Yt+1):W.slice(Zt.length)},[W,Zt,ft,Yt]),ln=(0,p.useCallback)(function(s,a){var h;return typeof pe=="function"?pe(s):(h=pe&&(s==null?void 0:s[pe]))!==null&&h!==void 0?h:a},[pe]),gn=(0,p.useCallback)(Se||function(s){return s},[Se]);function Kt(s,a,h){qe===s&&(a===void 0||a===Ut)||(Tn(s),h||(zn(s<W.length-1),b==null||b(s)),a!==void 0&&Tt(a))}function Hn(s,a){xe(a.clientWidth)}function sn(s,a){ye(function(h){var O=new Map(h);return a===null?O.delete(s):O.set(s,a),O})}function kn(s,a){Ue(a),ct(ne)}function jn(s,a){Nt(a)}function zt(s,a){Ft(a)}function pn(s){return be.get(ln(Zt[s],s))}(0,G.Z)(function(){if(te&&typeof On=="number"&&Zt){var s=Dt+mt,a=Zt.length,h=a-1;if(!a){Kt(0,null);return}for(var O=0;O<a;O+=1){var E=pn(O);if(x&&(E=E||0),E===void 0){Kt(O-1,void 0,!0);break}if(s+=E,h===0&&s<=te||O===h-1&&s+pn(h)<=te){Kt(h,null);break}else if(s+On>te){Kt(O-1,s-E-mt+ne);break}}n&&pn(0)+mt>te&&Tt(null)}},[te,be,ne,Dt,mt,ln,Zt]);var Rn=Kn&&!!vn.length,Lt={};Ut!==null&&ft&&(Lt={position:"absolute",left:Ut,top:0});var Ht={prefixCls:on,responsive:ft,component:g,invalidate:Xt},o=ue?function(s,a){var h=ln(s,a);return p.createElement(Te.Provider,{key:h,value:(0,u.Z)((0,u.Z)({},Ht),{},{order:a,item:s,itemKey:h,registerSize:sn,display:a<=Yt})},ue(s,a))}:function(s,a){var h=ln(s,a);return p.createElement(le,(0,m.Z)({},Ht,{order:a,key:h,item:s,renderItem:gn,itemKey:h,registerSize:sn,display:a<=Yt}))},r={order:Rn?Yt:Number.MAX_SAFE_INTEGER,className:"".concat(on,"-rest"),registerSize:kn,display:Rn},d=_e||fe,v=Et?p.createElement(Te.Provider,{value:(0,u.Z)((0,u.Z)({},Ht),r)},Et(vn)):p.createElement(le,(0,m.Z)({},Ht,r),typeof d=="function"?d(vn):d),i=p.createElement(f,(0,m.Z)({className:j()(!Xt&&K,$t),style:Je,ref:Q},S),c&&p.createElement(le,(0,m.Z)({},Ht,{responsive:an,responsiveDisabled:!ft,order:-1,className:"".concat(on,"-prefix"),registerSize:jn,display:!0}),c),Zt.map(o),Ln?v:null,n&&p.createElement(le,(0,m.Z)({},Ht,{responsive:an,responsiveDisabled:!ft,order:Yt,className:"".concat(on,"-suffix"),registerSize:zt,display:!0,style:Lt}),n));return an?p.createElement(J.Z,{onResize:Hn,disabled:!ft},i):i}var Ee=p.forwardRef(Ze);Ee.displayName="Overflow",Ee.Item=I,Ee.RESPONSIVE=H,Ee.INVALIDATE=se;var Fe=Ee,lt=Fe}}]);
|