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.
NewEduCoderBuild/p__Engineering__index.f41f9...

19 lines
76 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3006],{13403:function(He,W,a){a.r(W),a.d(W,{default:function(){return A}});var n=a(67294),p={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"},y=a(50136),P=a(35973),b=a(70583),h=a(33170),O="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=",$=(ce,re,V)=>new Promise((ye,z)=>{var ve=Me=>{try{Ve(V.next(Me))}catch(Ue){z(Ue)}},Te=Me=>{try{Ve(V.throw(Me))}catch(Ue){z(Ue)}},Ve=Me=>Me.done?ye(Me.value):Promise.resolve(Me.value).then(ve,Te);Ve((V=V.apply(ce,re)).next())});const{SubMenu:t}=y.default,C=({user:ce,globalSetting:re,engineering:V,dispatch:ye})=>{const z=(0,P.useLocation)(),[ve,Te]=n.useState(["1","2","3","4"]),[Ve,Me]=n.useState([]),{showMenu:Ue,matrixVerify:Ke}=V;(0,n.useEffect)(()=>{(z==null?void 0:z.pathname)==="/engineering"&&P.history.replace("/engineering/navigation"),document.title="\u5DE5\u7A0B\u8BA4\u8BC1"},[z==null?void 0:z.pathname]),(0,n.useEffect)(()=>{document.title="\u5DE5\u7A0B\u8BA4\u8BC1"}),(0,n.useEffect)(()=>{const{filterOpenKeys:q,filterSelectedKeys:x}=tt();console.log(tt()),Me(x)},[z==null?void 0:z.pathname]),(0,n.useEffect)(()=>{function q(){return $(this,null,function*(){const x=yield(0,h.ZP)("/api/ec_major_schools/1/ec_years/has_logged.json",{method:"get",params:{tab_module_type:"engineering"}});console.log(x),x!=null&&x.un_purchased&&ye({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}})})}q()},[]);const Z=[{title:"\u4E13\u4E1A\u8BBE\u7F6E",key:"1",icon:n.createElement("i",{className:"iconfont icon-zhuanyeshezhi"}),children:[{title:"\u57F9\u517B\u65B9\u6848",key:"/engineering/training/program",icon:n.createElement("i",{className:"iconfont icon-peiyangfangan font14"})},{title:"\u57F9\u517B\u76EE\u6807",key:"/engineering/training/objectives",icon:n.createElement("i",{className:"iconfont icon-peiyangmubiao font14"})},{title:"\u6559\u5E08\u4FE1\u606F",key:"/engineering/teacherList",icon:n.createElement("i",{className:"iconfont icon-jiaoshiliebiao font14"})},{title:"\u5B66\u751F\u4FE1\u606F",key:"/engineering/studentList",icon:n.createElement("i",{className:"iconfont icon-xueshengliebiao font14"})}]},{title:"\u6BD5\u4E1A\u8981\u6C42",key:"2",icon:n.createElement("i",{className:"iconfont icon-biyeyaoqiu"}),children:[{title:"\u6BD5\u4E1A\u6307\u6807",key:"/engineering/graduated/index",icon:n.createElement("i",{className:"iconfont icon-biyezhibiao font14"})},{title:"\u6BD5\u4E1A\u77E9\u9635",key:"/engineering/graduated/matrix",icon:n.createElement("i",{className:"iconfont icon-biyejuzhen font14"})}]},{title:"\u8BFE\u7A0B\u4F53\u7CFB",key:"3",icon:n.createElement("i",{className:"iconfont icon-kechengtixi"}),children:[{title:"\u8BFE\u7A0B\u5217\u8868",key:"/engineering/course/list",icon:n.createElement("i",{className:"iconfont icon-kechengliebiao font14"})},{title:"\u8BFE\u7A0B\u8BBE\u7F6E",key:"/engineering/course/setting",icon:n.createElement("i",{className:"iconfont icon-kechengshezhi font14"})},{title:"\u8BFE\u7A0B\u77E9\u9635",key:"/engineering/course/matrix",icon:n.createElement("i",{className:"iconfont icon-kechengjuzhen font14"})}]},{title:"\u8FBE\u6210\u8BC4\u4EF7",key:"4",icon:n.createElement("i",{className:"iconfont icon-dachengpinggu"}),children:[{title:"\u8BFE\u7A0B\u8BC4\u4EF7",key:"/engineering/evaluate/course",icon:n.createElement("i",{className:"iconfont icon-kechengpingjia font14"})},{title:"\u6307\u6807\u8BC4\u4EF7",key:"/engineering/evaluate/norm",icon:n.createElement("i",{className:"iconfont icon-zhibiaopingjia font14"})},{title:"\u6587\u6863\u751F\u6210",key:"/engineering/evaluate/document",icon:n.createElement("i",{className:"iconfont icon-wendangshengcheng font14"})}]}],tt=()=>{var q;const x=z==null?void 0:z.pathname;let U=[],Re=[];for(let se=0;se<Z.length;se++)if((q=Z[se].children)!=null&&q.length){for(let ie=0;ie<Z[se].children.length;ie++)if(x.includes(Z[se].children[ie].key))return U=[Z[se].key],Re=[Z[se].children[ie].key],{filterOpenKeys:U,filterSelectedKeys:Re}}return{filterOpenKeys:U,filterSelectedKeys:Re}},We=q=>{console.log(ve,q,44),Te(q)},Xe=q=>{var x;const U=()=>{P.history.push(q)};Ke!=null&&Ke.key?(0,b.t)(U,`\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5B58\u5728\u6CA1\u6709\u5173\u8054${((x=Ke==null?void 0:Ke.params)==null?void 0:x.tab)==="1"?"\u57F9\u517B\u76EE\u6807":"\u901A\u7528\u6807\u51C6"}\uFF0C\u786E\u5B9A\u662F\u5426\u79BB\u5F00\u5F53\u524D\u9875\u9762\uFF1F`):U()};return n.createElement("div",{className:p.wrap},Ue&&(z==null?void 0:z.pathname)!=="/exam"&&n.createElement("div",{className:p.left},n.createElement("aside",{onClick:()=>Xe("/engineering/navigation"),className:p.home},n.createElement("div",{className:"mr15"},n.createElement("img",{width:32,src:O})),n.createElement("div",{className:p.info},n.createElement("div",null,"\u8BA4\u8BC1\u5BFC\u822A"),n.createElement("div",null,"CERTIFICATION"))),n.createElement(y.default,{mode:"inline",selectedKeys:Ve,openKeys:ve,onOpenChange:We,inlineIndent:15,className:p.menu,expandIcon:q=>q.isOpen?n.createElement("span",{style:{visibility:"hidden"},className:"icon-xiala3 custom-icon"}):n.createElement("span",{style:{visibility:"hidden"},className:"icon-xiala2 custom-icon"})},Z.map(q=>{var x;if(!q.isMenu)return n.createElement(t,{key:q.key,icon:q.icon,title:q.title},q.children&&((x=q.children)==null?void 0:x.map(U=>n.createElement(y.default.Item,{key:U.key},n.createElement("aside",{onClick:()=>Xe(U.key)},n.createElement("span",{className:"mr15"},U==null?void 0:U.icon),U.title)))))}))),n.createElement("div",{className:p.right},n.createElement(P.Outlet,null)))};var A=(0,P.connect)(({globalSetting:ce,user:re,engineering:V})=>({user:re,globalSetting:ce,engineering:V}))(C)},25787:function(He,W,a){a.d(W,{D:function(){return tt},Z:function(){return q}});var n=a(67294),p=a(83963),y={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"},P=y,b=a(84180),h=function(U,Re){return n.createElement(b.Z,(0,p.Z)({},U,{ref:Re,icon:P}))},O=n.forwardRef(h),$=O,t=a(55007),C=a(79269),A=a(13144),ce=a.n(A),re=a(10366),V=a(53124),ye=a(82401),z=a(16777),ve=a(24793),Te=a(83559);const Ve=x=>{const{componentCls:U,siderBg:Re,motionDurationMid:se,motionDurationSlow:ie,antCls:xt,triggerHeight:Nt,triggerColor:Zt,triggerBg:mn,headerHeight:Dt,zeroTriggerWidth:vt,zeroTriggerHeight:fn,borderRadiusLG:Ct,lightSiderBg:Tt,lightTriggerColor:nt,lightTriggerBg:Mt,bodyBg:Kt}=x;return{[U]:{position:"relative",minWidth:0,background:Re,transition:`all ${se}, background 0s`,"&-has-trigger":{paddingBottom:Nt},"&-right":{order:1},[`${U}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${xt}-menu${xt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${U}-children`]:{overflow:"hidden"},[`${U}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Nt,color:Zt,lineHeight:(0,z.unit)(Nt),textAlign:"center",background:mn,cursor:"pointer",transition:`all ${se}`},[`${U}-zero-width-trigger`]:{position:"absolute",top:Dt,insetInlineEnd:x.calc(vt).mul(-1).equal(),zIndex:1,width:vt,height:fn,color:Zt,fontSize:x.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Re,borderRadius:`0 ${(0,z.unit)(Ct)} ${(0,z.unit)(Ct)} 0`,cursor:"pointer",transition:`background ${ie} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ie}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:x.calc(vt).mul(-1).equal(),borderRadius:`${(0,z.unit)(Ct)} 0 0 ${(0,z.unit)(Ct)}`}},"&-light":{background:Tt,[`${U}-trigger`]:{color:nt,background:Mt},[`${U}-zero-width-trigger`]:{color:nt,background:Mt,border:`1px solid ${Kt}`,borderInlineStart:0}}}}};var Me=(0,Te.I$)(["Layout","Sider"],x=>[Ve(x)],ve.eh,{deprecatedTokens:ve.jn}),Ue=function(x,U){var Re={};for(var se in x)Object.prototype.hasOwnProperty.call(x,se)&&U.indexOf(se)<0&&(Re[se]=x[se]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,se=Object.getOwnPropertySymbols(x);ie<se.length;ie++)U.indexOf(se[ie])<0&&Object.prototype.propertyIsEnumerable.call(x,se[ie])&&(Re[se[ie]]=x[se[ie]]);return Re};const Ke={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Z=x=>!Number.isNaN(Number.parseFloat(x))&&isFinite(x),tt=n.createContext({}),We=(()=>{let x=0;return function(){let U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return x+=1,`${U}${x}`}})();var q=n.forwardRef((x,U)=>{const{prefixCls:Re,className:se,trigger:ie,children:xt,defaultCollapsed:Nt=!1,theme:Zt="dark",style:mn={},collapsible:Dt=!1,reverseArrow:vt=!1,width:fn=200,collapsedWidth:Ct=80,zeroWidthTriggerStyle:Tt,breakpoint:nt,onCollapse:Mt,onBreakpoint:Kt}=x,Lt=Ue(x,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:vn}=(0,n.useContext)(ye.V),[Ye,Rt]=(0,n.useState)("collapsed"in x?x.collapsed:Nt),[Jt,Vt]=(0,n.useState)(!1);(0,n.useEffect)(()=>{"collapsed"in x&&Rt(x.collapsed)},[x.collapsed]);const _t=(T,j)=>{"collapsed"in x||Rt(T),Mt==null||Mt(T,j)},{getPrefixCls:Sn,direction:gn}=(0,n.useContext)(V.E_),Oe=Sn("layout-sider",Re),[En,d,s]=Me(Oe),o=(0,n.useRef)(null);o.current=T=>{Vt(T.matches),Kt==null||Kt(T.matches),Ye!==T.matches&&_t(T.matches,"responsive")},(0,n.useEffect)(()=>{function T($e){return o.current($e)}let j;if(typeof window!="undefined"){const{matchMedia:$e}=window;if($e&&nt&&nt in Ke){j=$e(`screen and (max-width: ${Ke[nt]})`);try{j.addEventListener("change",T)}catch(Ie){j.addListener(T)}T(j)}}return()=>{try{j==null||j.removeEventListener("change",T)}catch($e){j==null||j.removeListener(T)}}},[nt]),(0,n.useEffect)(()=>{const T=We("ant-sider-");return vn.addSider(T),()=>vn.removeSider(T)},[]);const v=()=>{_t(!Ye,"clickTrigger")},f=(0,re.Z)(Lt,["collapsed"]),E=Ye?Ct:fn,M=Z(E)?`${E}px`:String(E),R=parseFloat(String(Ct||0))===0?n.createElement("span",{onClick:v,className:ce()(`${Oe}-zero-width-trigger`,`${Oe}-zero-width-trigger-${vt?"right":"left"}`),style:Tt},ie||n.createElement($,null)):null,I=gn==="rtl"==!vt,he={expanded:I?n.createElement(C.Z,null):n.createElement(t.Z,null),collapsed:I?n.createElement(t.Z,null):n.createElement(C.Z,null)}[Ye?"collapsed":"expanded"],ae=ie!==null?R||n.createElement("div",{className:`${Oe}-trigger`,onClick:v,style:{width:M}},ie||he):null,de=Object.assign(Object.assign({},mn),{flex:`0 0 ${M}`,maxWidth:M,minWidth:M,width:M}),Q=ce()(Oe,`${Oe}-${Zt}`,{[`${Oe}-collapsed`]:!!Ye,[`${Oe}-has-trigger`]:Dt&&ie!==null&&!R,[`${Oe}-below`]:!!Jt,[`${Oe}-zero-width`]:parseFloat(M)===0},se,d,s),me=n.useMemo(()=>({siderCollapsed:Ye}),[Ye]);return En(n.createElement(tt.Provider,{value:me},n.createElement("aside",Object.assign({className:Q},f,{style:de,ref:U}),n.createElement("div",{className:`${Oe}-children`},xt),Dt||Jt&&R?ae:null)))})},82401:function(He,W,a){a.d(W,{V:function(){return p}});var n=a(67294);const p=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},24793:function(He,W,a){a.d(W,{eh:function(){return P},jn:function(){return b}});var n=a(16777),p=a(83559);const y=h=>{const{antCls:O,componentCls:$,colorText:t,footerBg:C,headerHeight:A,headerPadding:ce,headerColor:re,footerPadding:V,fontSize:ye,bodyBg:z,headerBg:ve}=h;return{[$]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:z,"&, *":{boxSizing:"border-box"},[`&${$}-has-sider`]:{flexDirection:"row",[`> ${$}, > ${$}-content`]:{width:0}},[`${$}-header, &${$}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${$}-header`]:{height:A,padding:ce,color:re,lineHeight:(0,n.unit)(A),background:ve,[`${O}-menu`]:{lineHeight:"inherit"}},[`${$}-footer`]:{padding:V,color:t,fontSize:ye,background:C},[`${$}-content`]:{flex:"auto",color:t,minHeight:0}}},P=h=>{const{colorBgLayout:O,controlHeight:$,controlHeightLG:t,colorText:C,controlHeightSM:A,marginXXS:ce,colorTextLightSolid:re,colorBgContainer:V}=h,ye=t*1.25;return{colorBgHeader:"#001529",colorBgBody:O,colorBgTrigger:"#002140",bodyBg:O,headerBg:"#001529",headerHeight:$*2,headerPadding:`0 ${ye}px`,headerColor:C,footerPadding:`${A}px ${ye}px`,footerBg:O,siderBg:"#001529",triggerHeight:t+ce*2,triggerBg:"#002140",triggerColor:re,zeroTriggerWidth:t,zeroTriggerHeight:t,lightSiderBg:V,lightTriggerBg:V,lightTriggerColor:C}},b=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];W.ZP=(0,p.I$)("Layout",h=>[y(h)],P,{deprecatedTokens:b})},76529:function(He,W,a){a.d(W,{J:function(){return h}});var n=a(67294),p=a(17799),y=a(89942),P=function(O,$){var t={};for(var C in O)Object.prototype.hasOwnProperty.call(O,C)&&$.indexOf(C)<0&&(t[C]=O[C]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,C=Object.getOwnPropertySymbols(O);A<C.length;A++)$.indexOf(C[A])<0&&Object.prototype.propertyIsEnumerable.call(O,C[A])&&(t[C[A]]=O[C[A]]);return t};const b=n.createContext(null),h=n.forwardRef((O,$)=>{const{children:t}=O,C=P(O,["children"]),A=n.useContext(b),ce=n.useMemo(()=>Object.assign(Object.assign({},A),C),[A,C.prefixCls,C.mode,C.selectable,C.rootClassName]),re=(0,p.t4)(t),V=(0,p.x1)($,re?(0,p.C4)(t):null);return n.createElement(b.Provider,{value:ce},n.createElement(y.Z,{space:!0},re?n.cloneElement(t,{ref:V}):t))});W.Z=b},50136:function(He,W,a){a.d(W,{default:function(){return En}});var n=a(67294),p=a(78595),y=a(25787),P=a(64582),b=a(13144),h=a.n(b),O=a(77527),$=a(10366),t=a(33603),C=a(96159),A=a(53124),ce=a(35792),V=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ye=function(d,s){var o={};for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&s.indexOf(v)<0&&(o[v]=d[v]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,v=Object.getOwnPropertySymbols(d);f<v.length;f++)s.indexOf(v[f])<0&&Object.prototype.propertyIsEnumerable.call(d,v[f])&&(o[v[f]]=d[v[f]]);return o},ve=d=>{const{prefixCls:s,className:o,dashed:v}=d,f=ye(d,["prefixCls","className","dashed"]),{getPrefixCls:E}=n.useContext(A.E_),M=E("menu",s),R=h()({[`${M}-item-divider-dashed`]:!!v},o);return n.createElement(p.iz,Object.assign({className:R},f))},Te=a(37419),Ve=a(83062),Ue=d=>{var s;const{className:o,children:v,icon:f,title:E,danger:M,extra:R}=d,{prefixCls:I,firstLevel:ge,direction:ue,disableMenuItemTitleTooltip:he,inlineCollapsed:ae}=n.useContext(V),de=Ie=>{const Pe=v==null?void 0:v[0],je=n.createElement("span",{className:h()(`${I}-title-content`,{[`${I}-title-content-with-extra`]:!!R||R===0})},v);return(!f||n.isValidElement(v)&&v.type==="span")&&v&&Ie&&ge&&typeof Pe=="string"?n.createElement("div",{className:`${I}-inline-collapsed-noicon`},Pe.charAt(0)):je},{siderCollapsed:Q}=n.useContext(y.D);let me=E;typeof E=="undefined"?me=ge?v:"":E===!1&&(me="");const T={title:me};!Q&&!ae&&(T.title=null,T.open=!1);const j=(0,Te.Z)(v).length;let $e=n.createElement(p.ck,Object.assign({},(0,$.Z)(d,["title","icon","danger"]),{className:h()({[`${I}-item-danger`]:M,[`${I}-item-only-child`]:(f?j+1:j)===1},o),title:typeof E=="string"?E:void 0}),(0,C.Tm)(f,{className:h()(n.isValidElement(f)?(s=f.props)===null||s===void 0?void 0:s.className:"",`${I}-item-icon`)}),de(ae));return he||($e=n.createElement(Ve.Z,Object.assign({},T,{placement:ue==="rtl"?"left":"right",classNames:{root:`${I}-inline-collapsed-tooltip`}}),$e)),$e},Ke=a(76529),Z=a(16777),tt=a(24327),We=a(14747),Xe=a(33507),q=a(67771),x=a(50438),U=a(83559),Re=a(43259),ie=d=>{const{componentCls:s,motionDurationSlow:o,horizontalLineHeight:v,colorSplit:f,lineWidth:E,lineType:M,itemPaddingInline:R}=d;return{[`${s}-horizontal`]:{lineHeight:v,border:0,borderBottom:`${(0,Z.unit)(E)} ${M} ${f}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${s}-item, ${s}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:R},[`> ${s}-item:hover,
> ${s}-item-active,
> ${s}-submenu ${s}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${s}-item, ${s}-submenu-title`]:{transition:[`border-color ${o}`,`background ${o}`].join(",")},[`${s}-submenu-arrow`]:{display:"none"}}}},Nt=d=>{let{componentCls:s,menuArrowOffset:o,calc:v}=d;return{[`${s}-rtl`]:{direction:"rtl"},[`${s}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${s}-rtl${s}-vertical,
${s}-submenu-rtl ${s}-vertical`]:{[`${s}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Z.unit)(v(o).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Z.unit)(o)})`}}}}};const Zt=d=>Object.assign({},(0,We.oN)(d));var Dt=(d,s)=>{const{componentCls:o,itemColor:v,itemSelectedColor:f,subMenuItemSelectedColor:E,groupTitleColor:M,itemBg:R,subMenuItemBg:I,itemSelectedBg:ge,activeBarHeight:ue,activeBarWidth:he,activeBarBorderWidth:ae,motionDurationSlow:de,motionEaseInOut:Q,motionEaseOut:me,itemPaddingInline:T,motionDurationMid:j,itemHoverColor:$e,lineType:Ie,colorSplit:Pe,itemDisabledColor:je,dangerItemColor:rt,dangerItemHoverColor:It,dangerItemSelectedColor:Ge,dangerItemActiveBg:fe,dangerItemSelectedBg:St,popupBg:ot,itemHoverBg:Fe,itemActiveBg:Ot,menuSubMenuBg:Ze,horizontalItemSelectedColor:Ut,horizontalItemSelectedBg:pn,horizontalItemBorderRadius:qt,horizontalItemHoverBg:hn}=d;return{[`${o}-${s}, ${o}-${s} > ${o}`]:{color:v,background:R,[`&${o}-root:focus-visible`]:Object.assign({},Zt(d)),[`${o}-item`]:{"&-group-title, &-extra":{color:M}},[`${o}-submenu-selected > ${o}-submenu-title`]:{color:E},[`${o}-item, ${o}-submenu-title`]:{color:v,[`&:not(${o}-item-disabled):focus-visible`]:Object.assign({},Zt(d))},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${je} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:$e}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:Fe},"&:active":{backgroundColor:Ot}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:Fe},"&:active":{backgroundColor:Ot}}},[`${o}-item-danger`]:{color:rt,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:It}},[`&${o}-item:active`]:{background:fe}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:f,[`&${o}-item-danger`]:{color:Ge},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:ge,[`&${o}-item-danger`]:{backgroundColor:St}},[`&${o}-submenu > ${o}`]:{backgroundColor:Ze},[`&${o}-popup > ${o}`]:{backgroundColor:ot},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:ot},[`&${o}-horizontal`]:Object.assign(Object.assign({},s==="dark"?{borderBottom:0}:{}),{[`> ${o}-item, > ${o}-submenu`]:{top:ae,marginTop:d.calc(ae).mul(-1).equal(),marginBottom:0,borderRadius:qt,"&::after":{position:"absolute",insetInline:T,bottom:0,borderBottom:`${(0,Z.unit)(ue)} solid transparent`,transition:`border-color ${de} ${Q}`,content:'""'},"&:hover, &-active, &-open":{background:hn,"&::after":{borderBottomWidth:ue,borderBottomColor:Ut}},"&-selected":{color:Ut,backgroundColor:pn,"&:hover":{backgroundColor:pn},"&::after":{borderBottomWidth:ue,borderBottomColor:Ut}}}}),[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,Z.unit)(ae)} ${Ie} ${Pe}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:I},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Z.unit)(he)} solid ${f}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${j} ${me}`,`opacity ${j} ${me}`].join(","),content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:Ge}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${j} ${Q}`,`opacity ${j} ${Q}`].join(",")}}}}}};const vt=d=>{const{componentCls:s,itemHeight:o,itemMarginInline:v,padding:f,menuArrowSize:E,marginXS:M,itemMarginBlock:R,itemWidth:I,itemPaddingInline:ge}=d,ue=d.calc(E).add(f).add(M).equal();return{[`${s}-item`]:{position:"relative",overflow:"hidden"},[`${s}-item, ${s}-submenu-title`]:{height:o,lineHeight:(0,Z.unit)(o),paddingInline:ge,overflow:"hidden",textOverflow:"ellipsis",marginInline:v,marginBlock:R,width:I},[`> ${s}-item,
> ${s}-submenu > ${s}-submenu-title`]:{height:o,lineHeight:(0,Z.unit)(o)},[`${s}-item-group-list ${s}-submenu-title,
${s}-submenu-title`]:{paddingInlineEnd:ue}}};var Ct=d=>{const{componentCls:s,iconCls:o,itemHeight:v,colorTextLightSolid:f,dropdownWidth:E,controlHeightLG:M,motionEaseOut:R,paddingXL:I,itemMarginInline:ge,fontSizeLG:ue,motionDurationFast:he,motionDurationSlow:ae,paddingXS:de,boxShadowSecondary:Q,collapsedWidth:me,collapsedIconSize:T}=d,j={height:v,lineHeight:(0,Z.unit)(v),listStylePosition:"inside",listStyleType:"disc"};return[{[s]:{"&-inline, &-vertical":Object.assign({[`&${s}-root`]:{boxShadow:"none"}},vt(d))},[`${s}-submenu-popup`]:{[`${s}-vertical`]:Object.assign(Object.assign({},vt(d)),{boxShadow:Q})}},{[`${s}-submenu-popup ${s}-vertical${s}-sub`]:{minWidth:E,maxHeight:`calc(100vh - ${(0,Z.unit)(d.calc(M).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${s}-inline`]:{width:"100%",[`&${s}-root`]:{[`${s}-item, ${s}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ae}`,`background ${ae}`,`padding ${he} ${R}`].join(","),[`> ${s}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${s}-sub${s}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${s}-submenu > ${s}-submenu-title`]:j,[`& ${s}-item-group-title`]:{paddingInlineStart:I}},[`${s}-item`]:j}},{[`${s}-inline-collapsed`]:{width:me,[`&${s}-root`]:{[`${s}-item, ${s}-submenu ${s}-submenu-title`]:{[`> ${s}-inline-collapsed-noicon`]:{fontSize:ue,textAlign:"center"}}},[`> ${s}-item,
> ${s}-item-group > ${s}-item-group-list > ${s}-item,
> ${s}-item-group > ${s}-item-group-list > ${s}-submenu > ${s}-submenu-title,
> ${s}-submenu > ${s}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Z.unit)(d.calc(T).div(2).equal())} - ${(0,Z.unit)(ge)})`,textOverflow:"clip",[`
${s}-submenu-arrow,
${s}-submenu-expand-icon
`]:{opacity:0},[`${s}-item-icon, ${o}`]:{margin:0,fontSize:T,lineHeight:(0,Z.unit)(v),"+ span":{display:"inline-block",opacity:0}}},[`${s}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${s}-item-icon, ${o}`]:{display:"none"},"a, a:hover":{color:f}},[`${s}-item-group-title`]:Object.assign(Object.assign({},We.vS),{paddingInline:de})}}]};const Tt=d=>{const{componentCls:s,motionDurationSlow:o,motionDurationMid:v,motionEaseInOut:f,motionEaseOut:E,iconCls:M,iconSize:R,iconMarginInlineEnd:I}=d;return{[`${s}-item, ${s}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${o}`,`background ${o}`,`padding calc(${o} + 0.1s) ${f}`].join(","),[`${s}-item-icon, ${M}`]:{minWidth:R,fontSize:R,transition:[`font-size ${v} ${E}`,`margin ${o} ${f}`,`color ${o}`].join(","),"+ span":{marginInlineStart:I,opacity:1,transition:[`opacity ${o} ${f}`,`margin ${o}`,`color ${o}`].join(",")}},[`${s}-item-icon`]:Object.assign({},(0,We.Ro)()),[`&${s}-item-only-child`]:{[`> ${M}, > ${s}-item-icon`]:{marginInlineEnd:0}}},[`${s}-item-disabled, ${s}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${s}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},nt=d=>{const{componentCls:s,motionDurationSlow:o,motionEaseInOut:v,borderRadius:f,menuArrowSize:E,menuArrowOffset:M}=d;return{[`${s}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:d.margin,width:E,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${o} ${v}, opacity ${o}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:d.calc(E).mul(.6).equal(),height:d.calc(E).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:f,transition:[`background ${o} ${v}`,`transform ${o} ${v}`,`top ${o} ${v}`,`color ${o} ${v}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Z.unit)(d.calc(M).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Z.unit)(M)})`}}}}},Mt=d=>{const{antCls:s,componentCls:o,fontSize:v,motionDurationSlow:f,motionDurationMid:E,motionEaseInOut:M,paddingXS:R,padding:I,colorSplit:ge,lineWidth:ue,zIndexPopup:he,borderRadiusLG:ae,subMenuItemBorderRadius:de,menuArrowSize:Q,menuArrowOffset:me,lineType:T,groupTitleLineHeight:j,groupTitleFontSize:$e}=d;return[{"":{[o]:Object.assign(Object.assign({},(0,We.dF)()),{"&-hidden":{display:"none"}})},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,We.Wf)(d)),(0,We.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:v,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${f} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:d.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,Z.unit)(R)} ${(0,Z.unit)(I)}`,fontSize:$e,lineHeight:j,transition:`all ${f}`},[`&-horizontal ${o}-submenu`]:{transition:[`border-color ${f} ${M}`,`background ${f} ${M}`].join(",")},[`${o}-submenu, ${o}-submenu-inline`]:{transition:[`border-color ${f} ${M}`,`background ${f} ${M}`,`padding ${E} ${M}`].join(",")},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:[`background ${f} ${M}`,`padding ${f} ${M}`].join(",")},[`${o}-title-content`]:{transition:`color ${f}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${s}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${o}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:d.padding}},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ge,borderStyle:T,borderWidth:0,borderTopWidth:ue,marginBlock:ue,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Tt(d)),{[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,Z.unit)(d.calc(v).mul(2).equal())} ${(0,Z.unit)(I)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:he,borderRadius:ae,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:Object.assign(Object.assign(Object.assign({borderRadius:ae},Tt(d)),nt(d)),{[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:de},[`${o}-submenu-title::after`]:{transition:`transform ${f} ${M}`}})},"\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:d.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:d.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:d.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:d.paddingXS}}}),nt(d)),{[`&-inline-collapsed ${o}-submenu-arrow,
&-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Z.unit)(me)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Z.unit)(d.calc(me).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,Z.unit)(d.calc(Q).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Z.unit)(d.calc(me).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Z.unit)(me)})`}}})},{[`${s}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]},Kt=d=>{var s,o,v;const{colorPrimary:f,colorError:E,colorTextDisabled:M,colorErrorBg:R,colorText:I,colorTextDescription:ge,colorBgContainer:ue,colorFillAlter:he,colorFillContent:ae,lineWidth:de,lineWidthBold:Q,controlItemBgActive:me,colorBgTextHover:T,controlHeightLG:j,lineHeight:$e,colorBgElevated:Ie,marginXXS:Pe,padding:je,fontSize:rt,controlHeightSM:It,fontSizeLG:Ge,colorTextLightSolid:fe,colorErrorHover:St}=d,ot=(s=d.activeBarWidth)!==null&&s!==void 0?s:0,Fe=(o=d.activeBarBorderWidth)!==null&&o!==void 0?o:de,Ot=(v=d.itemMarginInline)!==null&&v!==void 0?v:d.marginXXS,Ze=new tt.FastColor(fe).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:d.zIndexPopupBase+50,radiusItem:d.borderRadiusLG,itemBorderRadius:d.borderRadiusLG,radiusSubMenuItem:d.borderRadiusSM,subMenuItemBorderRadius:d.borderRadiusSM,colorItemText:I,itemColor:I,colorItemTextHover:I,itemHoverColor:I,colorItemTextHoverHorizontal:f,horizontalItemHoverColor:f,colorGroupTitle:ge,groupTitleColor:ge,colorItemTextSelected:f,itemSelectedColor:f,subMenuItemSelectedColor:f,colorItemTextSelectedHorizontal:f,horizontalItemSelectedColor:f,colorItemBg:ue,itemBg:ue,colorItemBgHover:T,itemHoverBg:T,colorItemBgActive:ae,itemActiveBg:me,colorSubItemBg:he,subMenuItemBg:he,colorItemBgSelected:me,itemSelectedBg:me,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:ot,colorActiveBarHeight:Q,activeBarHeight:Q,colorActiveBarBorderSize:de,activeBarBorderWidth:Fe,colorItemTextDisabled:M,itemDisabledColor:M,colorDangerItemText:E,dangerItemColor:E,colorDangerItemTextHover:E,dangerItemHoverColor:E,colorDangerItemTextSelected:E,dangerItemSelectedColor:E,colorDangerItemBgActive:R,dangerItemActiveBg:R,colorDangerItemBgSelected:R,dangerItemSelectedBg:R,itemMarginInline:Ot,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:j,groupTitleLineHeight:$e,collapsedWidth:j*2,popupBg:Ie,itemMarginBlock:Pe,itemPaddingInline:je,horizontalLineHeight:`${j*1.15}px`,iconSize:rt,iconMarginInlineEnd:It-rt,collapsedIconSize:Ge,groupTitleFontSize:rt,darkItemDisabledColor:new tt.FastColor(fe).setA(.25).toRgbString(),darkItemColor:Ze,darkDangerItemColor:E,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:fe,darkItemSelectedBg:f,darkDangerItemSelectedBg:E,darkItemHoverBg:"transparent",darkGroupTitleColor:Ze,darkItemHoverColor:fe,darkDangerItemHoverColor:St,darkDangerItemSelectedColor:fe,darkDangerItemActiveBg:E,itemWidth:ot?`calc(100% + ${Fe}px)`:`calc(100% - ${Ot*2}px)`}};var Lt=function(d){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,U.I$)("Menu",f=>{const{colorBgElevated:E,controlHeightLG:M,fontSize:R,darkItemColor:I,darkDangerItemColor:ge,darkItemBg:ue,darkSubMenuItemBg:he,darkItemSelectedColor:ae,darkItemSelectedBg:de,darkDangerItemSelectedBg:Q,darkItemHoverBg:me,darkGroupTitleColor:T,darkItemHoverColor:j,darkItemDisabledColor:$e,darkDangerItemHoverColor:Ie,darkDangerItemSelectedColor:Pe,darkDangerItemActiveBg:je,popupBg:rt,darkPopupBg:It}=f,Ge=f.calc(R).div(7).mul(5).equal(),fe=(0,Re.mergeToken)(f,{menuArrowSize:Ge,menuHorizontalHeight:f.calc(M).mul(1.15).equal(),menuArrowOffset:f.calc(Ge).mul(.25).equal(),menuSubMenuBg:E,calc:f.calc,popupBg:rt}),St=(0,Re.mergeToken)(fe,{itemColor:I,itemHoverColor:j,groupTitleColor:T,itemSelectedColor:ae,subMenuItemSelectedColor:ae,itemBg:ue,popupBg:It,subMenuItemBg:he,itemActiveBg:"transparent",itemSelectedBg:de,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:me,itemDisabledColor:$e,dangerItemColor:ge,dangerItemHoverColor:Ie,dangerItemSelectedColor:Pe,dangerItemActiveBg:je,dangerItemSelectedBg:Q,menuSubMenuBg:he,horizontalItemSelectedColor:ae,horizontalItemSelectedBg:de});return[Mt(fe),ie(fe),Ct(fe),Dt(fe,"light"),Dt(St,"dark"),Nt(fe),(0,Xe.Z)(fe),(0,q.oN)(fe,"slide-up"),(0,q.oN)(fe,"slide-down"),(0,x._y)(fe,"zoom-big")]},Kt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}})(d,s)},vn=a(87263),Rt=d=>{var s;const{popupClassName:o,icon:v,title:f,theme:E}=d,M=n.useContext(V),{prefixCls:R,inlineCollapsed:I,theme:ge}=M,ue=(0,p.Xl)();let he;if(!v)he=I&&!ue.length&&f&&typeof f=="string"?n.createElement("div",{className:`${R}-inline-collapsed-noicon`},f.charAt(0)):n.createElement("span",{className:`${R}-title-content`},f);else{const Q=n.isValidElement(f)&&f.type==="span";he=n.createElement(n.Fragment,null,(0,C.Tm)(v,{className:h()(n.isValidElement(v)?(s=v.props)===null||s===void 0?void 0:s.className:"",`${R}-item-icon`)}),Q?f:n.createElement("span",{className:`${R}-title-content`},f))}const ae=n.useMemo(()=>Object.assign(Object.assign({},M),{firstLevel:!1}),[M]),[de]=(0,vn.Cn)("Menu");return n.createElement(V.Provider,{value:ae},n.createElement(p.Wd,Object.assign({},(0,$.Z)(d,["icon"]),{title:he,popupClassName:h()(R,o,`${R}-${E||ge}`),popupStyle:Object.assign({zIndex:de},d.popupStyle)})))},Jt=function(d,s){var o={};for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&s.indexOf(v)<0&&(o[v]=d[v]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,v=Object.getOwnPropertySymbols(d);f<v.length;f++)s.indexOf(v[f])<0&&Object.prototype.propertyIsEnumerable.call(d,v[f])&&(o[v[f]]=d[v[f]]);return o};function Vt(d){return d===null||d===!1}const _t={item:Ue,submenu:Rt,divider:ve};var gn=(0,n.forwardRef)((d,s)=>{var o;const v=n.useContext(Ke.Z),f=v||{},{getPrefixCls:E,getPopupContainer:M,direction:R,menu:I}=n.useContext(A.E_),ge=E(),{prefixCls:ue,className:he,style:ae,theme:de="light",expandIcon:Q,_internalDisableMenuItemTitleTooltip:me,inlineCollapsed:T,siderCollapsed:j,rootClassName:$e,mode:Ie,selectable:Pe,onClick:je,overflowedIndicatorPopupClassName:rt}=d,It=Jt(d,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ge=(0,$.Z)(It,["collapsedWidth"]);(o=f.validator)===null||o===void 0||o.call(f,{mode:Ie});const fe=(0,O.Z)(function(){var Et;je==null||je.apply(void 0,arguments),(Et=f.onClick)===null||Et===void 0||Et.call(f)}),St=f.mode||Ie,ot=Pe!=null?Pe:f.selectable,Fe=T!=null?T:j,Ot={horizontal:{motionName:`${ge}-slide-up`},inline:(0,t.Z)(ge),other:{motionName:`${ge}-zoom-big`}},Ze=E("menu",ue||f.prefixCls),Ut=(0,ce.Z)(Ze),[pn,qt,hn]=Lt(Ze,Ut,!v),$n=h()(`${Ze}-${de}`,I==null?void 0:I.className,he),Wn=n.useMemo(()=>{var Et,bn;if(typeof Q=="function"||Vt(Q))return Q||null;if(typeof f.expandIcon=="function"||Vt(f.expandIcon))return f.expandIcon||null;if(typeof(I==null?void 0:I.expandIcon)=="function"||Vt(I==null?void 0:I.expandIcon))return(I==null?void 0:I.expandIcon)||null;const xn=(Et=Q!=null?Q:f==null?void 0:f.expandIcon)!==null&&Et!==void 0?Et:I==null?void 0:I.expandIcon;return(0,C.Tm)(xn,{className:h()(`${Ze}-submenu-expand-icon`,n.isValidElement(xn)?(bn=xn.props)===null||bn===void 0?void 0:bn.className:void 0)})},[Q,f==null?void 0:f.expandIcon,I==null?void 0:I.expandIcon,Ze]),jn=n.useMemo(()=>({prefixCls:Ze,inlineCollapsed:Fe||!1,direction:R,firstLevel:!0,theme:de,mode:St,disableMenuItemTitleTooltip:me}),[Ze,Fe,R,me,de]);return pn(n.createElement(Ke.Z.Provider,{value:null},n.createElement(V.Provider,{value:jn},n.createElement(p.ZP,Object.assign({getPopupContainer:M,overflowedIndicator:n.createElement(P.Z,null),overflowedIndicatorPopupClassName:h()(Ze,`${Ze}-${de}`,rt),mode:St,selectable:ot,onClick:fe},Ge,{inlineCollapsed:Fe,style:Object.assign(Object.assign({},I==null?void 0:I.style),ae),className:$n,prefixCls:Ze,direction:R,defaultMotions:Ot,expandIcon:Wn,ref:s,rootClassName:h()($e,qt,f.rootClassName,hn,Ut),_internalComponents:_t})))))});const Oe=(0,n.forwardRef)((d,s)=>{const o=(0,n.useRef)(null),v=n.useContext(y.D);return(0,n.useImperativeHandle)(s,()=>({menu:o.current,focus:f=>{var E;(E=o.current)===null||E===void 0||E.focus(f)}})),n.createElement(gn,Object.assign({ref:o},d,v))});Oe.Item=Ue,Oe.SubMenu=Rt,Oe.Divider=ve,Oe.ItemGroup=p.BW;var En=Oe},33507:function(He,W){const a=n=>({[n.componentCls]:{[`${n.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${n.motionDurationMid} ${n.motionEaseInOut},
opacity ${n.motionDurationMid} ${n.motionEaseInOut} !important`}},[`${n.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${n.motionDurationMid} ${n.motionEaseInOut},
opacity ${n.motionDurationMid} ${n.motionEaseInOut} !important`}}});W.Z=a},67771:function(He,W,a){a.d(W,{Qt:function(){return b},Uw:function(){return P},fJ:function(){return y},ly:function(){return h},oN:function(){return ce}});var n=a(16777),p=a(93590);const y=new n.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),P=new n.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),b=new n.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),h=new n.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),O=new n.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),$=new n.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),t=new n.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),C=new n.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),A={"slide-up":{inKeyframes:y,outKeyframes:P},"slide-down":{inKeyframes:b,outKeyframes:h},"slide-left":{inKeyframes:O,outKeyframes:$},"slide-right":{inKeyframes:t,outKeyframes:C}},ce=(re,V)=>{const{antCls:ye}=re,z=`${ye}-${V}`,{inKeyframes:ve,outKeyframes:Te}=A[V];return[(0,p.R)(z,ve,Te,re.motionDurationMid),{[`
${z}-enter,
${z}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:re.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${z}-leave`]:{animationTimingFunction:re.motionEaseInQuint}}]}},64582:function(He,W,a){a.d(W,{Z:function(){return $}});var n=a(83963),p=a(67294),y={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"},P=y,b=a(84180),h=function(C,A){return p.createElement(b.Z,(0,n.Z)({},C,{ref:A,icon:P}))},O=p.forwardRef(h),$=O},55007:function(He,W,a){a.d(W,{Z:function(){return $}});var n=a(83963),p=a(67294),y={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"},P=y,b=a(84180),h=function(C,A){return p.createElement(b.Z,(0,n.Z)({},C,{ref:A,icon:P}))},O=p.forwardRef(h),$=O},79269:function(He,W,a){a.d(W,{Z:function(){return $}});var n=a(83963),p=a(67294),y={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"},P=y,b=a(84180),h=function(C,A){return p.createElement(b.Z,(0,n.Z)({},C,{ref:A,icon:P}))},O=p.forwardRef(h),$=O},78595:function(He,W,a){a.d(W,{iz:function(){return Un},ck:function(){return Rn},BW:function(){return Xn},sN:function(){return Rn},Wd:function(){return Zn},ZP:function(){return no},Xl:function(){return R}});var n=a(87462),p=a(4942),y=a(1413),P=a(74902),b=a(97685),h=a(45987),O=a(94184),$=a.n(O),t=a(67294),C=a(48555);function A(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ce=A()?t.useLayoutEffect:t.useEffect,re=function(i,l){var r=t.useRef(!0);ce(function(){return i(r.current)},l),ce(function(){return r.current=!1,function(){r.current=!0}},[])},V=function(i,l){re(function(r){if(!r)return i()},l)},ye=re,z=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ve=void 0;function Te(e,i){var l=e.prefixCls,r=e.invalidate,c=e.item,u=e.renderItem,m=e.responsive,g=e.responsiveDisabled,B=e.registerSize,S=e.itemKey,X=e.className,w=e.style,K=e.children,ee=e.display,D=e.order,ne=e.component,F=ne===void 0?"div":ne,J=(0,h.Z)(e,z),te=m&&!ee;function L(be){B(S,be)}t.useEffect(function(){return function(){L(null)}},[]);var k=u&&c!==ve?u(c):K,Y;r||(Y={opacity:te?0:1,height:te?0:ve,overflowY:te?"hidden":ve,order:m?D:ve,pointerEvents:te?"none":ve,position:te?"absolute":ve});var H={};te&&(H["aria-hidden"]=!0);var G=t.createElement(F,(0,n.Z)({className:$()(!r&&l,X),style:(0,y.Z)((0,y.Z)({},Y),w)},H,J,{ref:i}),k);return m&&(G=t.createElement(C.Z,{onResize:function(le){var Ae=le.offsetWidth;L(Ae)},disabled:g},G)),G}var Ve=t.forwardRef(Te);Ve.displayName="Item";var Me=Ve;function Ue(e){var i=t.useRef();i.current=e;var l=t.useCallback(function(){for(var r,c=arguments.length,u=new Array(c),m=0;m<c;m++)u[m]=arguments[m];return(r=i.current)===null||r===void 0?void 0:r.call.apply(r,[i].concat(u))},[]);return l}var Ke=a(73935),Z=function(i){return+setTimeout(i,16)},tt=function(i){return clearTimeout(i)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Z=function(i){return window.requestAnimationFrame(i)},tt=function(i){return window.cancelAnimationFrame(i)});var We=0,Xe=new Map;function q(e){Xe.delete(e)}var x=function(i){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;We+=1;var r=We;function c(u){if(u===0)q(r),i();else{var m=Z(function(){c(u-1)});Xe.set(r,m)}}return c(l),r};x.cancel=function(e){var i=Xe.get(e);return q(i),tt(i)};var U=x;function Re(e){if(typeof MessageChannel=="undefined")U(e);else{var i=new MessageChannel;i.port1.onmessage=function(){return e()},i.port2.postMessage(void 0)}}function se(){var e=t.useRef(null),i=function(r){e.current||(e.current=[],Re(function(){(0,Ke.unstable_batchedUpdates)(function(){e.current.forEach(function(c){c()}),e.current=null})})),e.current.push(r)};return i}function ie(e,i){var l=t.useState(i),r=(0,b.Z)(l,2),c=r[0],u=r[1],m=Ue(function(g){e(function(){u(g)})});return[c,m]}var xt=t.createContext(null),Nt=["component"],Zt=["className"],mn=["className"],Dt=function(i,l){var r=t.useContext(xt);if(!r){var c=i.component,u=c===void 0?"div":c,m=(0,h.Z)(i,Nt);return t.createElement(u,(0,n.Z)({},m,{ref:l}))}var g=r.className,B=(0,h.Z)(r,Zt),S=i.className,X=(0,h.Z)(i,mn);return t.createElement(xt.Provider,{value:null},t.createElement(Me,(0,n.Z)({ref:l,className:$()(g,S)},B,X)))},vt=t.forwardRef(Dt);vt.displayName="RawItem";var fn=vt,Ct=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Tt="responsive",nt="invalidate";function Mt(e){return"+ ".concat(e.length," ...")}function Kt(e,i){var l=e.prefixCls,r=l===void 0?"rc-overflow":l,c=e.data,u=c===void 0?[]:c,m=e.renderItem,g=e.renderRawItem,B=e.itemKey,S=e.itemWidth,X=S===void 0?10:S,w=e.ssr,K=e.style,ee=e.className,D=e.maxCount,ne=e.renderRest,F=e.renderRawRest,J=e.suffix,te=e.component,L=te===void 0?"div":te,k=e.itemComponent,Y=e.onVisibleChange,H=(0,h.Z)(e,Ct),G=w==="full",be=se(),le=ie(be,null),Ae=(0,b.Z)(le,2),Se=Ae[0],we=Ae[1],Ee=Se||0,Qe=ie(be,new Map),Je=(0,b.Z)(Qe,2),it=Je[0],ke=Je[1],at=ie(be,0),ze=(0,b.Z)(at,2),gt=ze[0],zt=ze[1],Bt=ie(be,0),Pt=(0,b.Z)(Bt,2),pt=Pt[0],De=Pt[1],_e=ie(be,0),Ht=(0,b.Z)(_e,2),ht=Ht[0],Wt=Ht[1],Ne=(0,t.useState)(null),lt=(0,b.Z)(Ne,2),st=lt[0],tn=lt[1],Xt=(0,t.useState)(null),At=(0,b.Z)(Xt,2),Yt=At[0],Dn=At[1],wt=t.useMemo(function(){return Yt===null&&G?Number.MAX_SAFE_INTEGER:Yt||0},[Yt,Se]),nn=(0,t.useState)(!1),rn=(0,b.Z)(nn,2),on=rn[0],Bn=rn[1],an="".concat(r,"-item"),Gt=Math.max(gt,pt),ut=D===Tt,ct=u.length&&ut,yn=D===nt,Cn=ct||typeof D=="number"&&u.length>D,bt=(0,t.useMemo)(function(){var N=u;return ct?Se===null&&G?N=u:N=u.slice(0,Math.min(u.length,Ee/X)):typeof D=="number"&&(N=u.slice(0,D)),N},[u,X,Se,D,ct]),jt=(0,t.useMemo)(function(){return ct?u.slice(wt+1):u.slice(bt.length)},[u,bt,ct,wt]),$t=(0,t.useCallback)(function(N,_){var xe;return typeof B=="function"?B(N):(xe=B&&(N==null?void 0:N[B]))!==null&&xe!==void 0?xe:_},[B]),Ft=(0,t.useCallback)(m||function(N){return N},[m]);function yt(N,_,xe){Yt===N&&(_===void 0||_===st)||(Dn(N),xe||(Bn(N<u.length-1),Y==null||Y(N)),_!==void 0&&tn(_))}function ln(N,_){we(_.clientWidth)}function kt(N,_){ke(function(xe){var dt=new Map(xe);return _===null?dt.delete(N):dt.set(N,_),dt})}function Be(N,_){De(_),zt(pt)}function qe(N,_){Wt(_)}function sn(N){return it.get($t(bt[N],N))}ye(function(){if(Ee&&typeof Gt=="number"&&bt){var N=ht,_=bt.length,xe=_-1;if(!_){yt(0,null);return}for(var dt=0;dt<_;dt+=1){var et=sn(dt);if(G&&(et=et||0),et===void 0){yt(dt-1,void 0,!0);break}if(N+=et,xe===0&&N<=Ee||dt===xe-1&&N+sn(xe)<=Ee){yt(xe,null);break}else if(N+Gt>Ee){yt(dt-1,N-et-ht+pt);break}}J&&sn(0)+ht>Ee&&tn(null)}},[Ee,it,pt,ht,$t,bt]);var Tn=on&&!!jt.length,Pn={};st!==null&&ct&&(Pn={position:"absolute",left:st,top:0});var un={prefixCls:an,responsive:ct,component:k,invalidate:yn},Gn=g?function(N,_){var xe=$t(N,_);return t.createElement(xt.Provider,{key:xe,value:(0,y.Z)((0,y.Z)({},un),{},{order:_,item:N,itemKey:xe,registerSize:kt,display:_<=wt})},g(N,_))}:function(N,_){var xe=$t(N,_);return t.createElement(Me,(0,n.Z)({},un,{order:_,key:xe,item:N,renderItem:Ft,itemKey:xe,registerSize:kt,display:_<=wt}))},cn,Kn={order:Tn?wt:Number.MAX_SAFE_INTEGER,className:"".concat(an,"-rest"),registerSize:Be,display:Tn};if(F)F&&(cn=t.createElement(xt.Provider,{value:(0,y.Z)((0,y.Z)({},un),Kn)},F(jt)));else{var In=ne||Mt;cn=t.createElement(Me,(0,n.Z)({},un,Kn),typeof In=="function"?In(jt):In)}var Qt=t.createElement(L,(0,n.Z)({className:$()(!yn&&r,ee),style:K,ref:i},H),bt.map(Gn),Cn?cn:null,J&&t.createElement(Me,(0,n.Z)({},un,{responsive:ut,responsiveDisabled:!ct,order:wt,className:"".concat(an,"-suffix"),registerSize:qe,display:!0,style:Pn}),J));return ut&&(Qt=t.createElement(C.Z,{onResize:ln,disabled:!ct},Qt)),Qt}var Lt=t.forwardRef(Kt);Lt.displayName="Overflow",Lt.Item=fn,Lt.RESPONSIVE=Tt,Lt.INVALIDATE=nt;var vn=Lt,Ye=vn,Rt=a(21770),Jt=a(91881),Vt=a(80334),_t=t.createContext(null);function Sn(e,i){return e===void 0?null:"".concat(e,"-").concat(i)}function gn(e){var i=t.useContext(_t);return Sn(i,e)}var Oe=a(56982),En=["children","locked"],d=t.createContext(null);function s(e,i){var l=(0,y.Z)({},e);return Object.keys(i).forEach(function(r){var c=i[r];c!==void 0&&(l[r]=c)}),l}function o(e){var i=e.children,l=e.locked,r=(0,h.Z)(e,En),c=t.useContext(d),u=(0,Oe.Z)(function(){return s(c,r)},[c,r],function(m,g){return!l&&(m[0]!==g[0]||!(0,Jt.Z)(m[1],g[1],!0))});return t.createElement(d.Provider,{value:u},i)}var v=[],f=t.createContext(null);function E(){return t.useContext(f)}var M=t.createContext(v);function R(e){var i=t.useContext(M);return t.useMemo(function(){return e!==void 0?[].concat((0,P.Z)(i),[e]):i},[i,e])}var I=t.createContext(null),ge=t.createContext({}),ue=ge,he=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var i=e.getBBox(),l=i.width,r=i.height;if(l||r)return!0}if(e.getBoundingClientRect){var c=e.getBoundingClientRect(),u=c.width,m=c.height;if(u||m)return!0}}return!1};function ae(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(he(e)){var l=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(l)||e.isContentEditable||l==="a"&&!!e.getAttribute("href"),c=e.getAttribute("tabindex"),u=Number(c),m=null;return c&&!Number.isNaN(u)?m=u:r&&m===null&&(m=0),r&&e.disabled&&(m=null),m!==null&&(m>=0||i&&m<0)}return!1}function de(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=(0,P.Z)(e.querySelectorAll("*")).filter(function(r){return ae(r,i)});return ae(e,i)&&l.unshift(e),l}var Q=null;function me(){Q=document.activeElement}function T(){Q=null}function j(){if(Q)try{Q.focus()}catch(e){}}function $e(e,i){if(i.keyCode===9){var l=de(e),r=l[i.shiftKey?0:l.length-1],c=r===document.activeElement||e===document.activeElement;if(c){var u=l[i.shiftKey?l.length-1:0];u.focus(),i.preventDefault()}}}var Ie=a(15105),Pe=a(75164),je=Ie.Z.LEFT,rt=Ie.Z.RIGHT,It=Ie.Z.UP,Ge=Ie.Z.DOWN,fe=Ie.Z.ENTER,St=Ie.Z.ESC,ot=Ie.Z.HOME,Fe=Ie.Z.END,Ot=[It,Ge,je,rt];function Ze(e,i,l,r){var c,u="prev",m="next",g="children",B="parent";if(e==="inline"&&r===fe)return{inlineTrigger:!0};var S=(0,p.Z)((0,p.Z)({},It,u),Ge,m),X=(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},je,l?m:u),rt,l?u:m),Ge,g),fe,g),w=(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},It,u),Ge,m),fe,g),St,B),je,l?g:B),rt,l?B:g),K={inline:S,horizontal:X,vertical:w,inlineSub:S,horizontalSub:w,verticalSub:w},ee=(c=K["".concat(e).concat(i?"":"Sub")])===null||c===void 0?void 0:c[r];switch(ee){case u:return{offset:-1,sibling:!0};case m:return{offset:1,sibling:!0};case B:return{offset:-1,sibling:!1};case g:return{offset:1,sibling:!1};default:return null}}function Ut(e){for(var i=e;i;){if(i.getAttribute("data-menu-list"))return i;i=i.parentElement}return null}function pn(e,i){for(var l=e||document.activeElement;l;){if(i.has(l))return l;l=l.parentElement}return null}function qt(e,i){var l=de(e,!0);return l.filter(function(r){return i.has(r)})}function hn(e,i,l){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var c=qt(e,i),u=c.length,m=c.findIndex(function(g){return l===g});return r<0?m===-1?m=u-1:m-=1:r>0&&(m+=1),m=(m+u)%u,c[m]}var $n=function(i,l){var r=new Set,c=new Map,u=new Map;return i.forEach(function(m){var g=document.querySelector("[data-menu-id='".concat(Sn(l,m),"']"));g&&(r.add(g),u.set(g,m),c.set(m,g))}),{elements:r,key2element:c,element2key:u}};function Wn(e,i,l,r,c,u,m,g,B,S){var X=t.useRef(),w=t.useRef();w.current=i;var K=function(){Pe.Z.cancel(X.current)};return t.useEffect(function(){return function(){K()}},[]),function(ee){var D=ee.which;if([].concat(Ot,[fe,St,ot,Fe]).includes(D)){var ne=u(),F=$n(ne,r),J=F,te=J.elements,L=J.key2element,k=J.element2key,Y=L.get(i),H=pn(Y,te),G=k.get(H),be=Ze(e,m(G,!0).length===1,l,D);if(!be&&D!==ot&&D!==Fe)return;(Ot.includes(D)||[ot,Fe].includes(D))&&ee.preventDefault();var le=function(ke){if(ke){var at=ke,ze=ke.querySelector("a");ze!=null&&ze.getAttribute("href")&&(at=ze);var gt=k.get(ke);g(gt),K(),X.current=(0,Pe.Z)(function(){w.current===gt&&at.focus()})}};if([ot,Fe].includes(D)||be.sibling||!H){var Ae;!H||e==="inline"?Ae=c.current:Ae=Ut(H);var Se,we=qt(Ae,te);D===ot?Se=we[0]:D===Fe?Se=we[we.length-1]:Se=hn(Ae,te,H,be.offset),le(Se)}else if(be.inlineTrigger)B(G);else if(be.offset>0)B(G,!0),K(),X.current=(0,Pe.Z)(function(){F=$n(ne,r);var it=H.getAttribute("aria-controls"),ke=document.getElementById(it),at=hn(ke,F.elements);le(at)},5);else if(be.offset<0){var Ee=m(G,!0),Qe=Ee[Ee.length-2],Je=L.get(Qe);B(Qe,!1),le(Je)}}S==null||S(ee)}}function jn(e){Promise.resolve().then(e)}var Et="__RC_UTIL_PATH_SPLIT__",bn=function(i){return i.join(Et)},xn=function(i){return i.split(Et)},Fn="rc-menu-more";function yr(){var e=t.useState({}),i=(0,b.Z)(e,2),l=i[1],r=(0,t.useRef)(new Map),c=(0,t.useRef)(new Map),u=t.useState([]),m=(0,b.Z)(u,2),g=m[0],B=m[1],S=(0,t.useRef)(0),X=(0,t.useRef)(!1),w=function(){X.current||l({})},K=(0,t.useCallback)(function(L,k){var Y=bn(k);c.current.set(Y,L),r.current.set(L,Y),S.current+=1;var H=S.current;jn(function(){H===S.current&&w()})},[]),ee=(0,t.useCallback)(function(L,k){var Y=bn(k);c.current.delete(Y),r.current.delete(L)},[]),D=(0,t.useCallback)(function(L){B(L)},[]),ne=(0,t.useCallback)(function(L,k){var Y=r.current.get(L)||"",H=xn(Y);return k&&g.includes(H[0])&&H.unshift(Fn),H},[g]),F=(0,t.useCallback)(function(L,k){return L.filter(function(Y){return Y!==void 0}).some(function(Y){var H=ne(Y,!0);return H.includes(k)})},[ne]),J=function(){var k=(0,P.Z)(r.current.keys());return g.length&&k.push(Fn),k},te=(0,t.useCallback)(function(L){var k="".concat(r.current.get(L)).concat(Et),Y=new Set;return(0,P.Z)(c.current.keys()).forEach(function(H){H.startsWith(k)&&Y.add(c.current.get(H))}),Y},[]);return t.useEffect(function(){return function(){X.current=!0}},[]),{registerPath:K,unregisterPath:ee,refreshOverflowKeys:D,isSubPathKey:F,getKeyPath:ne,getKeys:J,getSubPathKeys:te}}function Mn(e){var i=t.useRef(e);i.current=e;var l=t.useCallback(function(){for(var r,c=arguments.length,u=new Array(c),m=0;m<c;m++)u[m]=arguments[m];return(r=i.current)===null||r===void 0?void 0:r.call.apply(r,[i].concat(u))},[]);return e?l:void 0}var Cr=Math.random().toFixed(5).toString().slice(2),er=0;function Ir(e){var i=(0,Rt.Z)(e,{value:e}),l=(0,b.Z)(i,2),r=l[0],c=l[1];return t.useEffect(function(){er+=1;var u="".concat(Cr,"-").concat(er);c("rc-menu-uuid-".concat(u))},[]),r}var Sr=a(15671),Er=a(43144),$r=a(60136),xr=a(29388),kn=a(98423),Mr=a(42550);function tr(e,i,l,r){var c=t.useContext(d),u=c.activeKey,m=c.onActive,g=c.onInactive,B={active:u===e};return i||(B.onMouseEnter=function(S){l==null||l({key:e,domEvent:S}),m(e)},B.onMouseLeave=function(S){r==null||r({key:e,domEvent:S}),g(e)}),B}function nr(e){var i=t.useContext(d),l=i.mode,r=i.rtl,c=i.inlineIndent;if(l!=="inline")return null;var u=e;return r?{paddingRight:u*c}:{paddingLeft:u*c}}function rr(e){var i=e.icon,l=e.props,r=e.children,c;return i===null||i===!1?null:(typeof i=="function"?c=t.createElement(i,(0,y.Z)({},l)):typeof i!="boolean"&&(c=i),c||r||null)}var Rr=["item"];function Nn(e){var i=e.item,l=(0,h.Z)(e,Rr);return Object.defineProperty(l,"item",{get:function(){return(0,Vt.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),i}}),l}var Or=["title","attribute","elementRef"],Br=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Pr=["active"],Ar=function(e){(0,$r.Z)(l,e);var i=(0,xr.Z)(l);function l(){return(0,Sr.Z)(this,l),i.apply(this,arguments)}return(0,Er.Z)(l,[{key:"render",value:function(){var c=this.props,u=c.title,m=c.attribute,g=c.elementRef,B=(0,h.Z)(c,Or),S=(0,kn.Z)(B,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,Vt.ZP)(!m,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),t.createElement(Ye.Item,(0,n.Z)({},m,{title:typeof u=="string"?u:void 0},S,{ref:g}))}}]),l}(t.Component),wr=t.forwardRef(function(e,i){var l=e.style,r=e.className,c=e.eventKey,u=e.warnKey,m=e.disabled,g=e.itemIcon,B=e.children,S=e.role,X=e.onMouseEnter,w=e.onMouseLeave,K=e.onClick,ee=e.onKeyDown,D=e.onFocus,ne=(0,h.Z)(e,Br),F=gn(c),J=t.useContext(d),te=J.prefixCls,L=J.onItemClick,k=J.disabled,Y=J.overflowDisabled,H=J.itemIcon,G=J.selectedKeys,be=J.onActive,le=t.useContext(ue),Ae=le._internalRenderMenuItem,Se="".concat(te,"-item"),we=t.useRef(),Ee=t.useRef(),Qe=k||m,Je=(0,Mr.x1)(i,Ee),it=R(c),ke=function(Ne){return{key:c,keyPath:(0,P.Z)(it).reverse(),item:we.current,domEvent:Ne}},at=g||H,ze=tr(c,Qe,X,w),gt=ze.active,zt=(0,h.Z)(ze,Pr),Bt=G.includes(c),Pt=nr(it.length),pt=function(Ne){if(!Qe){var lt=ke(Ne);K==null||K(Nn(lt)),L(lt)}},De=function(Ne){if(ee==null||ee(Ne),Ne.which===Ie.Z.ENTER){var lt=ke(Ne);K==null||K(Nn(lt)),L(lt)}},_e=function(Ne){be(c),D==null||D(Ne)},Ht={};e.role==="option"&&(Ht["aria-selected"]=Bt);var ht=t.createElement(Ar,(0,n.Z)({ref:we,elementRef:Je,role:S===null?"none":S||"menuitem",tabIndex:m?null:-1,"data-menu-id":Y&&F?null:F},(0,kn.Z)(ne,["extra"]),zt,Ht,{component:"li","aria-disabled":m,style:(0,y.Z)((0,y.Z)({},Pt),l),className:$()(Se,(0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(Se,"-active"),gt),"".concat(Se,"-selected"),Bt),"".concat(Se,"-disabled"),Qe),r),onClick:pt,onKeyDown:De,onFocus:_e}),B,t.createElement(rr,{props:(0,y.Z)((0,y.Z)({},e),{},{isSelected:Bt}),icon:at}));return Ae&&(ht=Ae(ht,e,{selected:Bt})),ht});function Nr(e,i){var l=e.eventKey,r=E(),c=R(l);return t.useEffect(function(){if(r)return r.registerPath(l,c),function(){r.unregisterPath(l,c)}},[c]),r?null:t.createElement(wr,(0,n.Z)({},e,{ref:i}))}var Rn=t.forwardRef(Nr),Zr=["className","children"],Dr=function(i,l){var r=i.className,c=i.children,u=(0,h.Z)(i,Zr),m=t.useContext(d),g=m.prefixCls,B=m.mode,S=m.rtl;return t.createElement("ul",(0,n.Z)({className:$()(g,S&&"".concat(g,"-rtl"),"".concat(g,"-sub"),"".concat(g,"-").concat(B==="inline"?"inline":"vertical"),r),role:"menu"},u,{"data-menu-list":!0,ref:l}),c)},or=t.forwardRef(Dr);or.displayName="SubMenuList";var ir=or,Tr=a(50344);function Vn(e,i){return(0,Tr.Z)(e).map(function(l,r){if(t.isValidElement(l)){var c,u,m=l.key,g=(c=(u=l.props)===null||u===void 0?void 0:u.eventKey)!==null&&c!==void 0?c:m,B=g==null;B&&(g="tmp_key-".concat([].concat((0,P.Z)(i),[r]).join("-")));var S={key:g,eventKey:g};return t.cloneElement(l,S)}return l})}var Kr=a(98280),Le={adjustX:1,adjustY:1},Lr={topLeft:{points:["bl","tl"],overflow:Le},topRight:{points:["br","tr"],overflow:Le},bottomLeft:{points:["tl","bl"],overflow:Le},bottomRight:{points:["tr","br"],overflow:Le},leftTop:{points:["tr","tl"],overflow:Le},leftBottom:{points:["br","bl"],overflow:Le},rightTop:{points:["tl","tr"],overflow:Le},rightBottom:{points:["bl","br"],overflow:Le}},zr={topLeft:{points:["bl","tl"],overflow:Le},topRight:{points:["br","tr"],overflow:Le},bottomLeft:{points:["tl","bl"],overflow:Le},bottomRight:{points:["tr","br"],overflow:Le},rightTop:{points:["tr","tl"],overflow:Le},rightBottom:{points:["br","bl"],overflow:Le},leftTop:{points:["tl","tr"],overflow:Le},leftBottom:{points:["bl","br"],overflow:Le}},Bo=null;function ar(e,i,l){if(i)return i;if(l)return l[e]||l.other}var Hr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Wr(e){var i=e.prefixCls,l=e.visible,r=e.children,c=e.popup,u=e.popupStyle,m=e.popupClassName,g=e.popupOffset,B=e.disabled,S=e.mode,X=e.onVisibleChange,w=t.useContext(d),K=w.getPopupContainer,ee=w.rtl,D=w.subMenuOpenDelay,ne=w.subMenuCloseDelay,F=w.builtinPlacements,J=w.triggerSubMenuAction,te=w.forceSubMenuRender,L=w.rootClassName,k=w.motion,Y=w.defaultMotions,H=t.useState(!1),G=(0,b.Z)(H,2),be=G[0],le=G[1],Ae=ee?(0,y.Z)((0,y.Z)({},zr),F):(0,y.Z)((0,y.Z)({},Lr),F),Se=Hr[S],we=ar(S,k,Y),Ee=t.useRef(we);S!=="inline"&&(Ee.current=we);var Qe=(0,y.Z)((0,y.Z)({},Ee.current),{},{leavedClassName:"".concat(i,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Je=t.useRef();return t.useEffect(function(){return Je.current=(0,Pe.Z)(function(){le(l)}),function(){Pe.Z.cancel(Je.current)}},[l]),t.createElement(Kr.Z,{prefixCls:i,popupClassName:$()("".concat(i,"-popup"),(0,p.Z)({},"".concat(i,"-rtl"),ee),m,L),stretch:S==="horizontal"?"minWidth":null,getPopupContainer:K,builtinPlacements:Ae,popupPlacement:Se,popupVisible:be,popup:c,popupStyle:u,popupAlign:g&&{offset:g},action:B?[]:[J],mouseEnterDelay:D,mouseLeaveDelay:ne,onPopupVisibleChange:X,forceRender:te,popupMotion:Qe,fresh:!0},r)}var jr=a(62874);function Fr(e){var i=e.id,l=e.open,r=e.keyPath,c=e.children,u="inline",m=t.useContext(d),g=m.prefixCls,B=m.forceSubMenuRender,S=m.motion,X=m.defaultMotions,w=m.mode,K=t.useRef(!1);K.current=w===u;var ee=t.useState(!K.current),D=(0,b.Z)(ee,2),ne=D[0],F=D[1],J=K.current?l:!1;t.useEffect(function(){K.current&&F(!1)},[w]);var te=(0,y.Z)({},ar(u,S,X));r.length>1&&(te.motionAppear=!1);var L=te.onVisibleChanged;return te.onVisibleChanged=function(k){return!K.current&&!k&&F(!0),L==null?void 0:L(k)},ne?null:t.createElement(o,{mode:u,locked:!K.current},t.createElement(jr.Z,(0,n.Z)({visible:J},te,{forceRender:B,removeOnLeave:!1,leavedClassName:"".concat(g,"-hidden")}),function(k){var Y=k.className,H=k.style;return t.createElement(ir,{id:i,className:Y,style:H},c)}))}var kr=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Vr=["active"],Ur=t.forwardRef(function(e,i){var l=e.style,r=e.className,c=e.title,u=e.eventKey,m=e.warnKey,g=e.disabled,B=e.internalPopupClose,S=e.children,X=e.itemIcon,w=e.expandIcon,K=e.popupClassName,ee=e.popupOffset,D=e.popupStyle,ne=e.onClick,F=e.onMouseEnter,J=e.onMouseLeave,te=e.onTitleClick,L=e.onTitleMouseEnter,k=e.onTitleMouseLeave,Y=(0,h.Z)(e,kr),H=gn(u),G=t.useContext(d),be=G.prefixCls,le=G.mode,Ae=G.openKeys,Se=G.disabled,we=G.overflowDisabled,Ee=G.activeKey,Qe=G.selectedKeys,Je=G.itemIcon,it=G.expandIcon,ke=G.onItemClick,at=G.onOpenChange,ze=G.onActive,gt=t.useContext(ue),zt=gt._internalRenderSubMenuItem,Bt=t.useContext(I),Pt=Bt.isSubPathKey,pt=R(),De="".concat(be,"-submenu"),_e=Se||g,Ht=t.useRef(),ht=t.useRef(),Wt=X!=null?X:Je,Ne=w!=null?w:it,lt=Ae.includes(u),st=!we&&lt,tn=Pt(Qe,u),Xt=tr(u,_e,L,k),At=Xt.active,Yt=(0,h.Z)(Xt,Vr),Dn=t.useState(!1),wt=(0,b.Z)(Dn,2),nn=wt[0],rn=wt[1],on=function(qe){_e||rn(qe)},Bn=function(qe){on(!0),F==null||F({key:u,domEvent:qe})},an=function(qe){on(!1),J==null||J({key:u,domEvent:qe})},Gt=t.useMemo(function(){return At||(le!=="inline"?nn||Pt([Ee],u):!1)},[le,At,Ee,nn,u,Pt]),ut=nr(pt.length),ct=function(qe){_e||(te==null||te({key:u,domEvent:qe}),le==="inline"&&at(u,!lt))},yn=Mn(function(Be){ne==null||ne(Nn(Be)),ke(Be)}),Cn=function(qe){le!=="inline"&&at(u,qe)},bt=function(){ze(u)},jt=H&&"".concat(H,"-popup"),$t=t.useMemo(function(){return t.createElement(rr,{icon:le!=="horizontal"?Ne:void 0,props:(0,y.Z)((0,y.Z)({},e),{},{isOpen:st,isSubMenu:!0})},t.createElement("i",{className:"".concat(De,"-arrow")}))},[le,Ne,e,st,De]),Ft=t.createElement("div",(0,n.Z)({role:"menuitem",style:ut,className:"".concat(De,"-title"),tabIndex:_e?null:-1,ref:Ht,title:typeof c=="string"?c:null,"data-menu-id":we&&H?null:H,"aria-expanded":st,"aria-haspopup":!0,"aria-controls":jt,"aria-disabled":_e,onClick:ct,onFocus:bt},Yt),c,$t),yt=t.useRef(le);if(le!=="inline"&&pt.length>1?yt.current="vertical":yt.current=le,!we){var ln=yt.current;Ft=t.createElement(Wr,{mode:ln,prefixCls:De,visible:!B&&st&&le!=="inline",popupClassName:K,popupOffset:ee,popupStyle:D,popup:t.createElement(o,{mode:ln==="horizontal"?"vertical":ln},t.createElement(ir,{id:jt,ref:ht},S)),disabled:_e,onVisibleChange:Cn},Ft)}var kt=t.createElement(Ye.Item,(0,n.Z)({ref:i,role:"none"},Y,{component:"li",style:l,className:$()(De,"".concat(De,"-").concat(le),r,(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(De,"-open"),st),"".concat(De,"-active"),Gt),"".concat(De,"-selected"),tn),"".concat(De,"-disabled"),_e)),onMouseEnter:Bn,onMouseLeave:an}),Ft,!we&&t.createElement(Fr,{id:jt,open:st,keyPath:pt},S));return zt&&(kt=zt(kt,e,{selected:tn,active:Gt,open:st,disabled:_e})),t.createElement(o,{onItemClick:yn,mode:le==="horizontal"?"vertical":le,itemIcon:Wt,expandIcon:Ne},kt)}),Xr=t.forwardRef(function(e,i){var l=e.eventKey,r=e.children,c=R(l),u=Vn(r,c),m=E();t.useEffect(function(){if(m)return m.registerPath(l,c),function(){m.unregisterPath(l,c)}},[c]);var g;return m?g=u:g=t.createElement(Ur,(0,n.Z)({ref:i},e),u),t.createElement(M.Provider,{value:c},g)}),Zn=Xr,Yr=a(71002);function Un(e){var i=e.className,l=e.style,r=t.useContext(d),c=r.prefixCls,u=E();return u?null:t.createElement("li",{role:"separator",className:$()("".concat(c,"-item-divider"),i),style:l})}var Gr=["className","title","eventKey","children"],Qr=t.forwardRef(function(e,i){var l=e.className,r=e.title,c=e.eventKey,u=e.children,m=(0,h.Z)(e,Gr),g=t.useContext(d),B=g.prefixCls,S="".concat(B,"-item-group");return t.createElement("li",(0,n.Z)({ref:i,role:"presentation"},m,{onClick:function(w){return w.stopPropagation()},className:$()(S,l)}),t.createElement("div",{role:"presentation",className:"".concat(S,"-title"),title:typeof r=="string"?r:void 0},r),t.createElement("ul",{role:"group",className:"".concat(S,"-list")},u))}),Jr=t.forwardRef(function(e,i){var l=e.eventKey,r=e.children,c=R(l),u=Vn(r,c),m=E();return m?u:t.createElement(Qr,(0,n.Z)({ref:i},(0,kn.Z)(e,["warnKey"])),u)}),Xn=Jr,_r=["label","children","key","type","extra"];function Yn(e,i,l){var r=i.item,c=i.group,u=i.submenu,m=i.divider;return(e||[]).map(function(g,B){if(g&&(0,Yr.Z)(g)==="object"){var S=g,X=S.label,w=S.children,K=S.key,ee=S.type,D=S.extra,ne=(0,h.Z)(S,_r),F=K!=null?K:"tmp-".concat(B);return w||ee==="group"?ee==="group"?t.createElement(c,(0,n.Z)({key:F},ne,{title:X}),Yn(w,i,l)):t.createElement(u,(0,n.Z)({key:F},ne,{title:X}),Yn(w,i,l)):ee==="divider"?t.createElement(m,(0,n.Z)({key:F},ne)):t.createElement(r,(0,n.Z)({key:F},ne,{extra:D}),X,(!!D||D===0)&&t.createElement("span",{className:"".concat(l,"-item-extra")},D))}return null}).filter(function(g){return g})}function lr(e,i,l,r,c){var u=e,m=(0,y.Z)({divider:Un,item:Rn,group:Xn,submenu:Zn},r);return i&&(u=Yn(i,m,c)),Vn(u,l)}var qr=["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","_internalComponents"],en=[],eo=t.forwardRef(function(e,i){var l,r=e,c=r.prefixCls,u=c===void 0?"rc-menu":c,m=r.rootClassName,g=r.style,B=r.className,S=r.tabIndex,X=S===void 0?0:S,w=r.items,K=r.children,ee=r.direction,D=r.id,ne=r.mode,F=ne===void 0?"vertical":ne,J=r.inlineCollapsed,te=r.disabled,L=r.disabledOverflow,k=r.subMenuOpenDelay,Y=k===void 0?.1:k,H=r.subMenuCloseDelay,G=H===void 0?.1:H,be=r.forceSubMenuRender,le=r.defaultOpenKeys,Ae=r.openKeys,Se=r.activeKey,we=r.defaultActiveFirst,Ee=r.selectable,Qe=Ee===void 0?!0:Ee,Je=r.multiple,it=Je===void 0?!1:Je,ke=r.defaultSelectedKeys,at=r.selectedKeys,ze=r.onSelect,gt=r.onDeselect,zt=r.inlineIndent,Bt=zt===void 0?24:zt,Pt=r.motion,pt=r.defaultMotions,De=r.triggerSubMenuAction,_e=De===void 0?"hover":De,Ht=r.builtinPlacements,ht=r.itemIcon,Wt=r.expandIcon,Ne=r.overflowedIndicator,lt=Ne===void 0?"...":Ne,st=r.overflowedIndicatorPopupClassName,tn=r.getPopupContainer,Xt=r.onClick,At=r.onOpenChange,Yt=r.onKeyDown,Dn=r.openAnimation,wt=r.openTransitionName,nn=r._internalRenderMenuItem,rn=r._internalRenderSubMenuItem,on=r._internalComponents,Bn=(0,h.Z)(r,qr),an=t.useMemo(function(){return[lr(K,w,en,on,u),lr(K,w,en,{},u)]},[K,w,on]),Gt=(0,b.Z)(an,2),ut=Gt[0],ct=Gt[1],yn=t.useState(!1),Cn=(0,b.Z)(yn,2),bt=Cn[0],jt=Cn[1],$t=t.useRef(),Ft=Ir(D),yt=ee==="rtl",ln=(0,Rt.Z)(le,{value:Ae,postState:function(oe){return oe||en}}),kt=(0,b.Z)(ln,2),Be=kt[0],qe=kt[1],sn=function(oe){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function mt(){qe(oe),At==null||At(oe)}pe?(0,Ke.flushSync)(mt):mt()},Tn=t.useState(Be),Pn=(0,b.Z)(Tn,2),un=Pn[0],Gn=Pn[1],cn=t.useRef(!1),Kn=t.useMemo(function(){return(F==="inline"||F==="vertical")&&J?["vertical",J]:[F,!1]},[F,J]),In=(0,b.Z)(Kn,2),Qt=In[0],N=In[1],_=Qt==="inline",xe=t.useState(Qt),dt=(0,b.Z)(xe,2),et=dt[0],ro=dt[1],oo=t.useState(N),sr=(0,b.Z)(oo,2),io=sr[0],ao=sr[1];t.useEffect(function(){ro(Qt),ao(N),cn.current&&(_?qe(un):sn(en))},[Qt,N]);var lo=t.useState(0),ur=(0,b.Z)(lo,2),Ln=ur[0],so=ur[1],Qn=Ln>=ut.length-1||et!=="horizontal"||L;t.useEffect(function(){_&&Gn(Be)},[Be]),t.useEffect(function(){return cn.current=!0,function(){cn.current=!1}},[]);var dn=yr(),cr=dn.registerPath,dr=dn.unregisterPath,uo=dn.refreshOverflowKeys,mr=dn.isSubPathKey,co=dn.getKeyPath,fr=dn.getKeys,mo=dn.getSubPathKeys,fo=t.useMemo(function(){return{registerPath:cr,unregisterPath:dr}},[cr,dr]),vo=t.useMemo(function(){return{isSubPathKey:mr}},[mr]);t.useEffect(function(){uo(Qn?en:ut.slice(Ln+1).map(function(Ce){return Ce.key}))},[Ln,Qn]);var go=(0,Rt.Z)(Se||we&&((l=ut[0])===null||l===void 0?void 0:l.key),{value:Se}),vr=(0,b.Z)(go,2),An=vr[0],Jn=vr[1],po=Mn(function(Ce){Jn(Ce)}),ho=Mn(function(){Jn(void 0)});(0,t.useImperativeHandle)(i,function(){return{list:$t.current,focus:function(oe){var pe,mt=fr(),ft=$n(mt,Ft),Hn=ft.elements,_n=ft.key2element,Ro=ft.element2key,hr=qt($t.current,Hn),br=An!=null?An:hr[0]?Ro.get(hr[0]):(pe=ut.find(function(Oo){return!Oo.props.disabled}))===null||pe===void 0?void 0:pe.key,wn=_n.get(br);if(br&&wn){var qn;wn==null||(qn=wn.focus)===null||qn===void 0||qn.call(wn,oe)}}}});var bo=(0,Rt.Z)(ke||[],{value:at,postState:function(oe){return Array.isArray(oe)?oe:oe==null?en:[oe]}}),gr=(0,b.Z)(bo,2),zn=gr[0],yo=gr[1],Co=function(oe){if(Qe){var pe=oe.key,mt=zn.includes(pe),ft;it?mt?ft=zn.filter(function(_n){return _n!==pe}):ft=[].concat((0,P.Z)(zn),[pe]):ft=[pe],yo(ft);var Hn=(0,y.Z)((0,y.Z)({},oe),{},{selectedKeys:ft});mt?gt==null||gt(Hn):ze==null||ze(Hn)}!it&&Be.length&&et!=="inline"&&sn(en)},Io=Mn(function(Ce){Xt==null||Xt(Nn(Ce)),Co(Ce)}),pr=Mn(function(Ce,oe){var pe=Be.filter(function(ft){return ft!==Ce});if(oe)pe.push(Ce);else if(et!=="inline"){var mt=mo(Ce);pe=pe.filter(function(ft){return!mt.has(ft)})}(0,Jt.Z)(Be,pe,!0)||sn(pe,!0)}),So=function(oe,pe){var mt=pe!=null?pe:!Be.includes(oe);pr(oe,mt)},Eo=Wn(et,An,yt,Ft,$t,fr,co,Jn,So,Yt);t.useEffect(function(){jt(!0)},[]);var $o=t.useMemo(function(){return{_internalRenderMenuItem:nn,_internalRenderSubMenuItem:rn}},[nn,rn]),xo=et!=="horizontal"||L?ut:ut.map(function(Ce,oe){return t.createElement(o,{key:Ce.key,overflowDisabled:oe>Ln},Ce)}),Mo=t.createElement(Ye,(0,n.Z)({id:D,ref:$t,prefixCls:"".concat(u,"-overflow"),component:"ul",itemComponent:Rn,className:$()(u,"".concat(u,"-root"),"".concat(u,"-").concat(et),B,(0,p.Z)((0,p.Z)({},"".concat(u,"-inline-collapsed"),io),"".concat(u,"-rtl"),yt),m),dir:ee,style:g,role:"menu",tabIndex:X,data:xo,renderRawItem:function(oe){return oe},renderRawRest:function(oe){var pe=oe.length,mt=pe?ut.slice(-pe):null;return t.createElement(Zn,{eventKey:Fn,title:lt,disabled:Qn,internalPopupClose:pe===0,popupClassName:st},mt)},maxCount:et!=="horizontal"||L?Ye.INVALIDATE:Ye.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(oe){so(oe)},onKeyDown:Eo},Bn));return t.createElement(ue.Provider,{value:$o},t.createElement(_t.Provider,{value:Ft},t.createElement(o,{prefixCls:u,rootClassName:m,mode:et,openKeys:Be,rtl:yt,disabled:te,motion:bt?Pt:null,defaultMotions:bt?pt:null,activeKey:An,onActive:po,onInactive:ho,selectedKeys:zn,inlineIndent:Bt,subMenuOpenDelay:Y,subMenuCloseDelay:G,forceSubMenuRender:be,builtinPlacements:Ht,triggerSubMenuAction:_e,getPopupContainer:tn,itemIcon:ht,expandIcon:Wt,onItemClick:Io,onOpenChange:pr},t.createElement(I.Provider,{value:vo},Mo),t.createElement("div",{style:{display:"none"},"aria-hidden":!0},t.createElement(f.Provider,{value:fo},ct)))))}),to=eo,On=to;On.Item=Rn,On.SubMenu=Zn,On.ItemGroup=Xn,On.Divider=Un;var no=On},66680:function(He,W,a){a.d(W,{Z:function(){return p}});var n=a(67294);function p(y){var P=n.useRef();P.current=y;var b=n.useCallback(function(){for(var h,O=arguments.length,$=new Array(O),t=0;t<O;t++)$[t]=arguments[t];return(h=P.current)===null||h===void 0?void 0:h.call.apply(h,[P].concat($))},[]);return b}},21770:function(He,W,a){a.d(W,{Z:function(){return h}});var n=a(97685),p=a(66680),y=a(8410),P=a(63896);function b(O){return O!==void 0}function h(O,$){var t=$||{},C=t.defaultValue,A=t.value,ce=t.onChange,re=t.postState,V=(0,P.Z)(function(){return b(A)?A:b(C)?typeof C=="function"?C():C:typeof O=="function"?O():O}),ye=(0,n.Z)(V,2),z=ye[0],ve=ye[1],Te=A!==void 0?A:z,Ve=re?re(Te):Te,Me=(0,p.Z)(ce),Ue=(0,P.Z)([Te]),Ke=(0,n.Z)(Ue,2),Z=Ke[0],tt=Ke[1];(0,y.o)(function(){var Xe=Z[0];z!==Xe&&Me(z,Xe)},[Z]),(0,y.o)(function(){b(A)||ve(A)},[A]);var We=(0,p.Z)(function(Xe,q){ve(Xe,q),tt([Te],q)});return[Ve,We]}},91881:function(He,W,a){var n=a(71002),p=a(80334);function y(P,b){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,O=new Set;function $(t,C){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,ce=O.has(t);if((0,p.ZP)(!ce,"Warning: There may be circular references"),ce)return!1;if(t===C)return!0;if(h&&A>1)return!1;O.add(t);var re=A+1;if(Array.isArray(t)){if(!Array.isArray(C)||t.length!==C.length)return!1;for(var V=0;V<t.length;V++)if(!$(t[V],C[V],re))return!1;return!0}if(t&&C&&(0,n.Z)(t)==="object"&&(0,n.Z)(C)==="object"){var ye=Object.keys(t);return ye.length!==Object.keys(C).length?!1:ye.every(function(z){return $(t[z],C[z],re)})}return!1}return $(P,b)}W.Z=y},98423:function(He,W,a){a.d(W,{Z:function(){return p}});var n=a(1413);function p(y,P){var b=(0,n.Z)({},y);return Array.isArray(P)&&P.forEach(function(h){delete b[h]}),b}}}]);