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__Classrooms__Lists__Exerc...

47 lines
101 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[921],{27812:function(_e,ue,t){t.d(ue,{Z:function(){return ee}});var d=t(54476),i=t(59301),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},X=y,v=t(7657),G=function(K,H){return i.createElement(v.Z,(0,d.Z)({},K,{ref:H,icon:X}))},V=i.forwardRef(G),ee=V},84105:function(_e,ue,t){t.d(ue,{Z:function(){return ee}});var d=t(54476),i=t(59301),y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},X=y,v=t(7657),G=function(K,H){return i.createElement(v.Z,(0,d.Z)({},K,{ref:H,icon:X}))},V=i.forwardRef(G),ee=V},18785:function(_e,ue,t){t.d(ue,{Z:function(){return ee}});var d=t(54476),i=t(59301),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"},X=y,v=t(7657),G=function(K,H){return i.createElement(v.Z,(0,d.Z)({},K,{ref:H,icon:X}))},V=i.forwardRef(G),ee=V},33853:function(_e,ue,t){t.d(ue,{Z:function(){return ee}});var d=t(54476),i=t(59301),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"},X=y,v=t(7657),G=function(K,H){return i.createElement(v.Z,(0,d.Z)({},K,{ref:H,icon:X}))},V=i.forwardRef(G),ee=V},38819:function(_e,ue,t){t.d(ue,{Z:function(){return ee}});var d=t(54476),i=t(59301),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"},X=y,v=t(7657),G=function(K,H){return i.createElement(v.Z,(0,d.Z)({},K,{ref:H,icon:X}))},V=i.forwardRef(G),ee=V},4573:function(_e,ue,t){t.r(ue),t.d(ue,{default:function(){return Re}});var d=t(59301),i=t(65582),y=t(66104),X=t(95237),v=t(43604),G=t(61621),V=t(27812),ee=t(50258),A={flex_box_center:"flex_box_center___aDZ0y",flex_space_between:"flex_space_between___YgV77",flex_box_vertical_center:"flex_box_vertical_center___RiXOn",flex_box_center_end:"flex_box_center_end___leo_X",flex_box_column:"flex_box_column___yVux9",title:"title___eoGRP",wrap:"wrap___sXyah",code:"code___NIt6L",error:"error___p_cW8"},K=t(38147),H=Object.defineProperty,D=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,de=(W,oe,w)=>oe in W?H(W,oe,{enumerable:!0,configurable:!0,writable:!0,value:w}):W[oe]=w,pe=(W,oe)=>{for(var w in oe||(oe={}))n.call(oe,w)&&de(W,w,oe[w]);if(D)for(var w of D(oe))U.call(oe,w)&&de(W,w,oe[w]);return W},he=(W,oe,w)=>new Promise((Q,E)=>{var $=j=>{try{T(w.next(j))}catch(ae){E(ae)}},z=j=>{try{T(w.throw(j))}catch(ae){E(ae)}},T=j=>j.done?Q(j.value):Promise.resolve(j.value).then($,z);T((w=w.apply(W,oe)).next())});const M=({exercise:W,user:oe,dispatch:w})=>{var Q,E;const $=(0,i.useIntl)(),z=(Q=window.location.pathname)==null?void 0:Q.includes("exercise"),T=z?"exercise":"shixun_homework",j=(0,i.useParams)(),[ae]=(0,i.useSearchParams)(),{userInfo:ie}=oe,be=ae.get("name"),Ee=ae.get("rule_id"),c=ae.get("uuid"),R=ae.get("language"),B=ae.get("rowNumber"),l=ae.get("issueId"),[S,J]=(0,d.useState)({}),[L,k]=(0,d.useState)({value:"",language:R.toLowerCase(),theme:"vs",options:{readOnly:!0},errorContent:"",errorLine:parseInt(B)}),[q,me]=(0,d.useState)(!0);(0,d.useEffect)(()=>{fe()},[]);const fe=()=>he(void 0,null,function*(){var ve,Ce,Ne;me(!0);const ye=yield(0,K.ZP)("/api/code_analyses_detail/code_detail.json",{method:"get",params:{rule_id:Ee,uuid:c,issue_id:l}});if(ye.status===0){L.value=(Ce=(ve=ye.data)==null?void 0:ve.codes)==null?void 0:Ce.map(Me=>Me.code).join(`
`);const ge=document.createElement("div");ge.innerHTML=L.value,L.value=ge.innerText,L.errorContent=(Ne=ye==null?void 0:ye.data)==null?void 0:Ne.errMessage,k(pe({},L)),J(ye.data)}me(!1)});return d.createElement("section",{className:"edu-container"},d.createElement("section",{className:"animated fadeIn"},d.createElement("aside",{className:"mt10"},ie&&d.createElement(y.Z,{separator:">"},d.createElement(y.Z.Item,null,d.createElement(i.Link,{to:`/classrooms/${j.coursesId}/${T}`},(E=ie==null?void 0:ie.course)==null?void 0:E.course_name)),d.createElement(y.Z.Item,null,d.createElement(i.Link,{to:`/classrooms/${j.coursesId}/${T}`},z?"\u8003\u8BD5":"\u5B9E\u8BAD","\u5217\u8868")),d.createElement(y.Z.Item,null,d.createElement(i.Link,{to:`/classrooms/${j.coursesId}/${T}/${j==null?void 0:j.exerciseId}/detail`},z?"\u8BD5\u5377":"\u4F5C\u4E1A",$.formatMessage({id:"classrooms.details",defaultMessage:"\u8BE6\u60C5"}))),d.createElement(y.Z.Item,null,be))),d.createElement("aside",{className:[A.title,"mt20"].join(" ")},d.createElement(X.Z,{style:{width:"100%"}},d.createElement(v.Z,{flex:"1",style:{lineHeight:"24px"}},d.createElement(i.Link,{to:`/classrooms/${j.coursesId}/${T}/${j.exerciseId}/analysis/${j.studentId}`},d.createElement(V.Z,{className:"font16 c-black"})),d.createElement("strong",{className:"font20 ml5"},"\u4EE3\u7801\u8BE6\u60C5"))))),d.createElement("section",{className:A.wrap},d.createElement(G.Z,{loading:q,active:!0,paragraph:{rows:5}},d.createElement("div",{className:A.title},S==null?void 0:S.title),d.createElement("div",{className:A.code},d.createElement(ee.ZP,pe({},L))),d.createElement("div",{className:A.error,dangerouslySetInnerHTML:{__html:(S==null?void 0:S.example)||""}}))))};var Re=(0,i.connect)(({exercise:W,user:oe})=>({exercise:W,user:oe}))(M)},66104:function(_e,ue,t){t.d(ue,{Z:function(){return Ee}});var d=t(92310),i=t.n(d),y=t(11592),X=t(26112),v=t(59301),G=t(92343),V=t(36355),ee=t(84105),A=t(91857);const K=c=>{let{children:R}=c;const{getPrefixCls:B}=v.useContext(V.E_),l=B("breadcrumb");return v.createElement("li",{className:`${l}-separator`,"aria-hidden":"true"},R===""?R:R||"/")};K.__ANT_BREADCRUMB_SEPARATOR=!0;var H=K,D=function(c,R){var B={};for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&R.indexOf(l)<0&&(B[l]=c[l]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,l=Object.getOwnPropertySymbols(c);S<l.length;S++)R.indexOf(l[S])<0&&Object.prototype.propertyIsEnumerable.call(c,l[S])&&(B[l[S]]=c[l[S]]);return B};function n(c,R){if(c.title===void 0||c.title===null)return null;const B=Object.keys(R).join("|");return typeof c.title=="object"?c.title:String(c.title).replace(new RegExp(`:(${B})`,"g"),(l,S)=>R[S]||l)}function U(c,R,B,l){if(B==null)return null;const{className:S,onClick:J}=R,L=D(R,["className","onClick"]),k=Object.assign(Object.assign({},(0,X.Z)(L,{data:!0,aria:!0})),{onClick:J});return l!==void 0?v.createElement("a",Object.assign({},k,{className:i()(`${c}-link`,S),href:l}),B):v.createElement("span",Object.assign({},k,{className:i()(`${c}-link`,S)}),B)}function de(c,R){return(l,S,J,L,k)=>{if(R)return R(l,S,J,L);const q=n(l,S);return U(c,l,q,k)}}var pe=function(c,R){var B={};for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&R.indexOf(l)<0&&(B[l]=c[l]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,l=Object.getOwnPropertySymbols(c);S<l.length;S++)R.indexOf(l[S])<0&&Object.prototype.propertyIsEnumerable.call(c,l[S])&&(B[l[S]]=c[l[S]]);return B};const he=c=>{const{prefixCls:R,separator:B="/",children:l,menu:S,overlay:J,dropdownProps:L,href:k}=c,me=(fe=>{if(S||J){const ve=Object.assign({},L);if(S){const Ce=S||{},{items:Ne}=Ce,ye=pe(Ce,["items"]);ve.menu=Object.assign(Object.assign({},ye),{items:Ne==null?void 0:Ne.map((ge,Me)=>{var{key:Pe,title:Ae,label:Ie,path:f}=ge,a=pe(ge,["key","title","label","path"]);let e=Ie!=null?Ie:Ae;return f&&(e=v.createElement("a",{href:`${k}${f}`},e)),Object.assign(Object.assign({},a),{key:Pe!=null?Pe:Me,label:e})})})}else J&&(ve.overlay=J);return v.createElement(A.Z,Object.assign({placement:"bottom"},ve),v.createElement("span",{className:`${R}-overlay-link`},fe,v.createElement(ee.Z,null)))}return fe})(l);return me!=null?v.createElement(v.Fragment,null,v.createElement("li",null,me),B&&v.createElement(H,null,B)):null},M=c=>{const{prefixCls:R,children:B,href:l}=c,S=pe(c,["prefixCls","children","href"]),{getPrefixCls:J}=v.useContext(V.E_),L=J("breadcrumb",R);return v.createElement(he,Object.assign({},S,{prefixCls:L}),U(L,S,B,l))};M.__ANT_BREADCRUMB_ITEM=!0;var Re=M,W=t(17313),oe=t(83116),w=t(37613);const Q=c=>{const{componentCls:R,iconCls:B}=c;return{[R]:Object.assign(Object.assign({},(0,W.Wf)(c)),{color:c.itemColor,fontSize:c.fontSize,[B]:{fontSize:c.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:c.linkColor,transition:`color ${c.motionDurationMid}`,padding:`0 ${c.paddingXXS}px`,borderRadius:c.borderRadiusSM,height:c.lineHeight*c.fontSize,display:"inline-block",marginInline:-c.marginXXS,"&:hover":{color:c.linkHoverColor,backgroundColor:c.colorBgTextHover}},(0,W.Qy)(c)),"li:last-child":{color:c.lastItemColor},[`${R}-separator`]:{marginInline:c.separatorMargin,color:c.separatorColor},[`${R}-link`]:{[`
> ${B} + span,
> ${B} + a
`]:{marginInlineStart:c.marginXXS}},[`${R}-overlay-link`]:{borderRadius:c.borderRadiusSM,height:c.lineHeight*c.fontSize,display:"inline-block",padding:`0 ${c.paddingXXS}px`,marginInline:-c.marginXXS,[`> ${B}`]:{marginInlineStart:c.marginXXS,fontSize:c.fontSizeIcon},"&:hover":{color:c.linkHoverColor,backgroundColor:c.colorBgTextHover,a:{color:c.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${c.componentCls}-rtl`]:{direction:"rtl"}})}};var E=(0,oe.Z)("Breadcrumb",c=>{const R=(0,w.TS)(c,{});return[Q(R)]},c=>({itemColor:c.colorTextDescription,lastItemColor:c.colorText,iconFontSize:c.fontSize,linkColor:c.colorTextDescription,linkHoverColor:c.colorText,separatorColor:c.colorTextDescription,separatorMargin:c.marginXS})),$=function(c,R){var B={};for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&R.indexOf(l)<0&&(B[l]=c[l]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,l=Object.getOwnPropertySymbols(c);S<l.length;S++)R.indexOf(l[S])<0&&Object.prototype.propertyIsEnumerable.call(c,l[S])&&(B[l[S]]=c[l[S]]);return B};function z(c){const{breadcrumbName:R,children:B}=c,l=$(c,["breadcrumbName","children"]),S=Object.assign({title:R},l);return B&&(S.menu={items:B.map(J=>{var{breadcrumbName:L}=J,k=$(J,["breadcrumbName"]);return Object.assign(Object.assign({},k),{title:L})})}),S}function T(c,R){return(0,v.useMemo)(()=>c||(R?R.map(z):null),[c,R])}var j=function(c,R){var B={};for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&R.indexOf(l)<0&&(B[l]=c[l]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,l=Object.getOwnPropertySymbols(c);S<l.length;S++)R.indexOf(l[S])<0&&Object.prototype.propertyIsEnumerable.call(c,l[S])&&(B[l[S]]=c[l[S]]);return B};const ae=(c,R)=>{if(R===void 0)return R;let B=(R||"").replace(/^\//,"");return Object.keys(c).forEach(l=>{B=B.replace(`:${l}`,c[l])}),B},ie=c=>{const{prefixCls:R,separator:B="/",style:l,className:S,rootClassName:J,routes:L,items:k,children:q,itemRender:me,params:fe={}}=c,ve=j(c,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Ce,direction:Ne,breadcrumb:ye}=v.useContext(V.E_);let ge;const Me=Ce("breadcrumb",R),[Pe,Ae]=E(Me),Ie=T(k,L),f=de(Me,me);if(Ie&&Ie.length>0){const r=[],o=k||L;ge=Ie.map((p,C)=>{const{path:O,key:P,type:Z,menu:I,overlay:F,onClick:le,className:ne,separator:ce,dropdownProps:se}=p,te=ae(fe,O);te!==void 0&&r.push(te);const re=P!=null?P:C;if(Z==="separator")return v.createElement(H,{key:re},ce);const De={},Xe=C===Ie.length-1;I?De.menu=I:F&&(De.overlay=F);let{href:ke}=p;return r.length&&te!==void 0&&(ke=`#/${r.join("/")}`),v.createElement(he,Object.assign({key:re},De,(0,X.Z)(p,{data:!0,aria:!0}),{className:ne,dropdownProps:se,href:ke,separator:Xe?"":B,onClick:le,prefixCls:Me}),f(p,fe,o,r,ke))})}else if(q){const r=(0,y.Z)(q).length;ge=(0,y.Z)(q).map((o,p)=>{if(!o)return o;const C=p===r-1;return(0,G.Tm)(o,{separator:C?"":B,key:p})})}const a=i()(Me,ye==null?void 0:ye.className,{[`${Me}-rtl`]:Ne==="rtl"},S,J,Ae),e=Object.assign(Object.assign({},ye==null?void 0:ye.style),l);return Pe(v.createElement("nav",Object.assign({className:a,style:e},ve),v.createElement("ol",null,ge)))};ie.Item=Re,ie.Separator=H;var be=ie,Ee=be},91857:function(_e,ue,t){var d=t(59301),i=t(38819),y=t(92310),X=t.n(y),v=t(31561),G=t(70425),V=t(18929),ee=t(2738),A=t(79676),K=t(53487),H=t(92343),D=t(36355),n=t(20834),U=t(40875),de=t(88088),pe=t(47211);const he=null,M=w=>{const{menu:Q,arrow:E,prefixCls:$,children:z,trigger:T,disabled:j,dropdownRender:ae,getPopupContainer:ie,overlayClassName:be,rootClassName:Ee,open:c,onOpenChange:R,visible:B,onVisibleChange:l,mouseEnterDelay:S=.15,mouseLeaveDelay:J=.1,autoAdjustOverflow:L=!0,placement:k="",overlay:q,transitionName:me}=w,{getPopupContainer:fe,getPrefixCls:ve,direction:Ce}=d.useContext(D.E_),Ne=d.useMemo(()=>{const I=ve();return me!==void 0?me:k.includes("top")?`${I}-slide-down`:`${I}-slide-up`},[ve,k,me]),ye=d.useMemo(()=>k?k.includes("Center")?k.slice(0,k.indexOf("Center")):k:Ce==="rtl"?"bottomRight":"bottomLeft",[k,Ce]),ge=ve("dropdown",$),[Me,Pe]=(0,pe.Z)(ge),[,Ae]=(0,de.Z)(),Ie=d.Children.only(z),f=(0,H.Tm)(Ie,{className:X()(`${ge}-trigger`,{[`${ge}-rtl`]:Ce==="rtl"},Ie.props.className),disabled:j}),a=j?[]:T;let e;a&&a.includes("contextMenu")&&(e=!0);const[r,o]=(0,V.Z)(!1,{value:c!=null?c:B}),p=(0,G.useEvent)(I=>{R==null||R(I),l==null||l(I),o(I)}),C=X()(be,Ee,Pe,{[`${ge}-rtl`]:Ce==="rtl"}),O=(0,A.Z)({arrowPointAtCenter:typeof E=="object"&&E.pointAtCenter,autoAdjustOverflow:L,offset:Ae.marginXXS,arrowWidth:E?Ae.sizePopupArrow:0,borderRadius:Ae.borderRadius}),P=d.useCallback(()=>{o(!1)},[]),Z=()=>{let I;return Q!=null&&Q.items?I=d.createElement(n.default,Object.assign({},Q)):typeof q=="function"?I=q():I=q,ae&&(I=ae(I)),I=d.Children.only(typeof I=="string"?d.createElement("span",null,I):I),d.createElement(U.J,{prefixCls:`${ge}-menu`,expandIcon:d.createElement("span",{className:`${ge}-menu-submenu-arrow`},d.createElement(i.Z,{className:`${ge}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:P,validator:F=>{let{mode:le}=F}},I)};return Me(d.createElement(v.Z,Object.assign({alignPoint:e},(0,ee.Z)(w,["rootClassName"]),{mouseEnterDelay:S,mouseLeaveDelay:J,visible:r,builtinPlacements:O,arrow:!!E,overlayClassName:C,prefixCls:ge,getPopupContainer:ie||fe,transitionName:Ne,trigger:a,overlay:Z,placement:ye,onVisibleChange:p}),f))};function Re(w){return Object.assign(Object.assign({},w),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const W=(0,K.Z)(M,"dropdown",w=>w,Re),oe=w=>d.createElement(W,Object.assign({},w),d.createElement("span",null));M._InternalPanelDoNotUseOrYouWillBeFired=oe,ue.Z=M},47211:function(_e,ue,t){t.d(ue,{Z:function(){return H}});var d=t(17313),i=t(13826),y=t(92899),X=t(29878),v=t(19447),G=t(83116),V=t(37613),A=D=>{const{componentCls:n,menuCls:U,colorError:de,colorTextLightSolid:pe}=D,he=`${U}-item`;return{[`${n}, ${n}-menu-submenu`]:{[`${U} ${he}`]:{[`&${he}-danger:not(${he}-disabled)`]:{color:de,"&:hover":{color:pe,backgroundColor:de}}}}}};const K=D=>{const{componentCls:n,menuCls:U,zIndexPopup:de,dropdownArrowDistance:pe,sizePopupArrow:he,antCls:M,iconCls:Re,motionDurationMid:W,dropdownPaddingVertical:oe,fontSize:w,dropdownEdgeChildPadding:Q,colorTextDisabled:E,fontSizeIcon:$,controlPaddingHorizontal:z,colorBgElevated:T}=D;return[{[n]:Object.assign(Object.assign({},(0,d.Wf)(D)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:de,display:"block","&::before":{position:"absolute",insetBlock:-pe+he/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${M}-btn`]:{[`& > ${Re}-down, & > ${M}-btn-icon > ${Re}-down`]:{fontSize:$}},[`${n}-wrap`]:{position:"relative",[`${M}-btn > ${Re}-down`]:{fontSize:$},[`${Re}-down::before`]:{transition:`transform ${W}`}},[`${n}-wrap-open`]:{[`${Re}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${M}-slide-down-enter${M}-slide-down-enter-active${n}-placement-bottomLeft,
&${M}-slide-down-appear${M}-slide-down-appear-active${n}-placement-bottomLeft,
&${M}-slide-down-enter${M}-slide-down-enter-active${n}-placement-bottom,
&${M}-slide-down-appear${M}-slide-down-appear-active${n}-placement-bottom,
&${M}-slide-down-enter${M}-slide-down-enter-active${n}-placement-bottomRight,
&${M}-slide-down-appear${M}-slide-down-appear-active${n}-placement-bottomRight`]:{animationName:i.fJ},[`&${M}-slide-up-enter${M}-slide-up-enter-active${n}-placement-topLeft,
&${M}-slide-up-appear${M}-slide-up-appear-active${n}-placement-topLeft,
&${M}-slide-up-enter${M}-slide-up-enter-active${n}-placement-top,
&${M}-slide-up-appear${M}-slide-up-appear-active${n}-placement-top,
&${M}-slide-up-enter${M}-slide-up-enter-active${n}-placement-topRight,
&${M}-slide-up-appear${M}-slide-up-appear-active${n}-placement-topRight`]:{animationName:i.Qt},[`&${M}-slide-down-leave${M}-slide-down-leave-active${n}-placement-bottomLeft,
&${M}-slide-down-leave${M}-slide-down-leave-active${n}-placement-bottom,
&${M}-slide-down-leave${M}-slide-down-leave-active${n}-placement-bottomRight`]:{animationName:i.Uw},[`&${M}-slide-up-leave${M}-slide-up-leave-active${n}-placement-topLeft,
&${M}-slide-up-leave${M}-slide-up-leave-active${n}-placement-top,
&${M}-slide-up-leave${M}-slide-up-leave-active${n}-placement-topRight`]:{animationName:i.ly}})},(0,v.ZP)(D,{colorBg:T,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${n} ${U}`]:{position:"relative",margin:0},[`${U}-submenu-popup`]:{position:"absolute",zIndex:de,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${n}, ${n}-menu-submenu`]:{[U]:Object.assign(Object.assign({padding:Q,listStyleType:"none",backgroundColor:T,backgroundClip:"padding-box",borderRadius:D.borderRadiusLG,outline:"none",boxShadow:D.boxShadowSecondary},(0,d.Qy)(D)),{[`${U}-item-group-title`]:{padding:`${oe}px ${z}px`,color:D.colorTextDescription,transition:`all ${W}`},[`${U}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${U}-item-icon`]:{minWidth:w,marginInlineEnd:D.marginXS,fontSize:D.fontSizeSM},[`${U}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${W}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${U}-item, ${U}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${oe}px ${z}px`,color:D.colorText,fontWeight:"normal",fontSize:w,lineHeight:D.lineHeight,cursor:"pointer",transition:`all ${W}`,borderRadius:D.borderRadiusSM,"&:hover, &-active":{backgroundColor:D.controlItemBgHover}},(0,d.Qy)(D)),{"&-selected":{color:D.colorPrimary,backgroundColor:D.controlItemBgActive,"&:hover, &-active":{backgroundColor:D.controlItemBgActiveHover}},"&-disabled":{color:E,cursor:"not-allowed","&:hover":{color:E,backgroundColor:T,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${D.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:D.colorSplit},[`${n}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:D.paddingXS,[`${n}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:D.colorTextDescription,fontSize:$,fontStyle:"normal"}}}),[`${U}-item-group-list`]:{margin:`0 ${D.marginXS}px`,padding:0,listStyle:"none"},[`${U}-submenu-title`]:{paddingInlineEnd:z+D.fontSizeSM},[`${U}-submenu-vertical`]:{position:"relative"},[`${U}-submenu${U}-submenu-disabled ${n}-menu-submenu-title`]:{[`&, ${n}-menu-submenu-arrow-icon`]:{color:E,backgroundColor:T,cursor:"not-allowed"}},[`${U}-submenu-selected ${n}-menu-submenu-title`]:{color:D.colorPrimary}})}},[(0,i.oN)(D,"slide-up"),(0,i.oN)(D,"slide-down"),(0,y.Fm)(D,"move-up"),(0,y.Fm)(D,"move-down"),(0,X._y)(D,"zoom-big")]]};var H=(0,G.Z)("Dropdown",(D,n)=>{let{rootPrefixCls:U}=n;const{marginXXS:de,sizePopupArrow:pe,controlHeight:he,fontSize:M,lineHeight:Re,paddingXXS:W,componentCls:oe,borderRadiusLG:w}=D,Q=(he-M*Re)/2,{dropdownArrowOffset:E}=(0,v.fS)({contentRadius:w}),$=(0,V.TS)(D,{menuCls:`${oe}-menu`,rootPrefixCls:U,dropdownArrowDistance:pe/2+de,dropdownArrowOffset:E,dropdownPaddingVertical:Q,dropdownEdgeChildPadding:W});return[K($),A($)]},D=>({zIndexPopup:D.zIndexPopupBase+50}))},45818:function(_e,ue,t){t.d(ue,{D:function(){return W},Z:function(){return Q}});var d=t(54476),i=t(59301),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"},X=y,v=t(7657),G=function($,z){return i.createElement(v.Z,(0,d.Z)({},$,{ref:z,icon:X}))},V=i.forwardRef(G),ee=V,A=t(33853),K=t(38819),H=t(92310),D=t.n(H),n=t(2738),de=E=>!isNaN(parseFloat(E))&&isFinite(E),pe=t(36355),he=t(84966),M=function(E,$){var z={};for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&$.indexOf(T)<0&&(z[T]=E[T]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,T=Object.getOwnPropertySymbols(E);j<T.length;j++)$.indexOf(T[j])<0&&Object.prototype.propertyIsEnumerable.call(E,T[j])&&(z[T[j]]=E[T[j]]);return z};const Re={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},W=i.createContext({}),oe=(()=>{let E=0;return function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return E+=1,`${$}${E}`}})();var Q=i.forwardRef((E,$)=>{const{prefixCls:z,className:T,trigger:j,children:ae,defaultCollapsed:ie=!1,theme:be="dark",style:Ee={},collapsible:c=!1,reverseArrow:R=!1,width:B=200,collapsedWidth:l=80,zeroWidthTriggerStyle:S,breakpoint:J,onCollapse:L,onBreakpoint:k}=E,q=M(E,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:me}=(0,i.useContext)(he.Gs),[fe,ve]=(0,i.useState)("collapsed"in E?E.collapsed:ie),[Ce,Ne]=(0,i.useState)(!1);(0,i.useEffect)(()=>{"collapsed"in E&&ve(E.collapsed)},[E.collapsed]);const ye=(f,a)=>{"collapsed"in E||ve(f),L==null||L(f,a)},ge=(0,i.useRef)();ge.current=f=>{Ne(f.matches),k==null||k(f.matches),fe!==f.matches&&ye(f.matches,"responsive")},(0,i.useEffect)(()=>{function f(e){return ge.current(e)}let a;if(typeof window!="undefined"){const{matchMedia:e}=window;if(e&&J&&J in Re){a=e(`(max-width: ${Re[J]})`);try{a.addEventListener("change",f)}catch(r){a.addListener(f)}f(a)}}return()=>{try{a==null||a.removeEventListener("change",f)}catch(e){a==null||a.removeListener(f)}}},[J]),(0,i.useEffect)(()=>{const f=oe("ant-sider-");return me.addSider(f),()=>me.removeSider(f)},[]);const Me=()=>{ye(!fe,"clickTrigger")},{getPrefixCls:Pe}=(0,i.useContext)(pe.E_),Ae=()=>{const f=Pe("layout-sider",z),a=(0,n.Z)(q,["collapsed"]),e=fe?l:B,r=de(e)?`${e}px`:String(e),o=parseFloat(String(l||0))===0?i.createElement("span",{onClick:Me,className:D()(`${f}-zero-width-trigger`,`${f}-zero-width-trigger-${R?"right":"left"}`),style:S},j||i.createElement(ee,null)):null,O={expanded:R?i.createElement(K.Z,null):i.createElement(A.Z,null),collapsed:R?i.createElement(A.Z,null):i.createElement(K.Z,null)}[fe?"collapsed":"expanded"],P=j!==null?o||i.createElement("div",{className:`${f}-trigger`,onClick:Me,style:{width:r}},j||O):null,Z=Object.assign(Object.assign({},Ee),{flex:`0 0 ${r}`,maxWidth:r,minWidth:r,width:r}),I=D()(f,`${f}-${be}`,{[`${f}-collapsed`]:!!fe,[`${f}-has-trigger`]:c&&j!==null&&!o,[`${f}-below`]:!!Ce,[`${f}-zero-width`]:parseFloat(r)===0},T);return i.createElement("aside",Object.assign({className:I},a,{style:Z,ref:$}),i.createElement("div",{className:`${f}-children`},ae),c||Ce&&o?P:null)},Ie=i.useMemo(()=>({siderCollapsed:fe}),[fe]);return i.createElement(W.Provider,{value:Ie},Ae())})},84966:function(_e,ue,t){t.d(ue,{VY:function(){return W},$_:function(){return Re},h4:function(){return M},Gs:function(){return n},ZP:function(){return oe}});var d=t(94480),i=t(92310),y=t.n(i),X=t(2738),v=t(59301),G=t(36355),V=t(83116),A=w=>{const{componentCls:Q,bodyBg:E,lightSiderBg:$,lightTriggerBg:z,lightTriggerColor:T}=w;return{[`${Q}-sider-light`]:{background:$,[`${Q}-sider-trigger`]:{color:T,background:z},[`${Q}-sider-zero-width-trigger`]:{color:T,background:z,border:`1px solid ${E}`,borderInlineStart:0}}}};const K=w=>{const{antCls:Q,componentCls:E,colorText:$,triggerColor:z,footerBg:T,triggerBg:j,headerHeight:ae,headerPadding:ie,headerColor:be,footerPadding:Ee,triggerHeight:c,zeroTriggerHeight:R,zeroTriggerWidth:B,motionDurationMid:l,motionDurationSlow:S,fontSize:J,borderRadius:L,bodyBg:k,headerBg:q,siderBg:me}=w;return{[E]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:k,"&, *":{boxSizing:"border-box"},[`&${E}-has-sider`]:{flexDirection:"row",[`> ${E}, > ${E}-content`]:{width:0}},[`${E}-header, &${E}-footer`]:{flex:"0 0 auto"},[`${E}-sider`]:{position:"relative",minWidth:0,background:me,transition:`all ${l}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Q}-menu${Q}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:c},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:c,color:z,lineHeight:`${c}px`,textAlign:"center",background:j,cursor:"pointer",transition:`all ${l}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ae,insetInlineEnd:-B,zIndex:1,width:B,height:R,color:z,fontSize:w.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:me,borderStartStartRadius:0,borderStartEndRadius:L,borderEndEndRadius:L,borderEndStartRadius:0,cursor:"pointer",transition:`background ${S} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${S}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-B,borderStartStartRadius:L,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:L}}}}},A(w)),{"&-rtl":{direction:"rtl"}}),[`${E}-header`]:{height:ae,padding:ie,color:be,lineHeight:`${ae}px`,background:q,[`${Q}-menu`]:{lineHeight:"inherit"}},[`${E}-footer`]:{padding:Ee,color:$,fontSize:J,background:T},[`${E}-content`]:{flex:"auto",minHeight:0}}};var H=(0,V.Z)("Layout",w=>[K(w)],w=>{const{colorBgLayout:Q,controlHeight:E,controlHeightLG:$,colorText:z,controlHeightSM:T,marginXXS:j,colorTextLightSolid:ae,colorBgContainer:ie}=w,be=$*1.25;return{colorBgHeader:"#001529",colorBgBody:Q,colorBgTrigger:"#002140",bodyBg:Q,headerBg:"#001529",headerHeight:E*2,headerPadding:`0 ${be}px`,headerColor:z,footerPadding:`${T}px ${be}px`,footerBg:Q,siderBg:"#001529",triggerHeight:$+j*2,triggerBg:"#002140",triggerColor:ae,zeroTriggerWidth:$,zeroTriggerHeight:$,lightSiderBg:ie,lightTriggerBg:ie,lightTriggerColor:z}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),D=function(w,Q){var E={};for(var $ in w)Object.prototype.hasOwnProperty.call(w,$)&&Q.indexOf($)<0&&(E[$]=w[$]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,$=Object.getOwnPropertySymbols(w);z<$.length;z++)Q.indexOf($[z])<0&&Object.prototype.propertyIsEnumerable.call(w,$[z])&&(E[$[z]]=w[$[z]]);return E};const n=v.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function U(w){let{suffixCls:Q,tagName:E,displayName:$}=w;return z=>v.forwardRef((j,ae)=>v.createElement(z,Object.assign({ref:ae,suffixCls:Q,tagName:E},j)))}const de=v.forwardRef((w,Q)=>{const{prefixCls:E,suffixCls:$,className:z,tagName:T}=w,j=D(w,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ae}=v.useContext(G.E_),ie=ae("layout",E),[be,Ee]=H(ie),c=$?`${ie}-${$}`:ie;return be(v.createElement(T,Object.assign({className:y()(E||c,z,Ee),ref:Q},j)))}),pe=v.forwardRef((w,Q)=>{const{direction:E}=v.useContext(G.E_),[$,z]=v.useState([]),{prefixCls:T,className:j,rootClassName:ae,children:ie,hasSider:be,tagName:Ee,style:c}=w,R=D(w,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),B=(0,X.Z)(R,["suffixCls"]),{getPrefixCls:l,layout:S}=v.useContext(G.E_),J=l("layout",T),[L,k]=H(J),q=y()(J,{[`${J}-has-sider`]:typeof be=="boolean"?be:$.length>0,[`${J}-rtl`]:E==="rtl"},S==null?void 0:S.className,j,ae,k),me=v.useMemo(()=>({siderHook:{addSider:fe=>{z(ve=>[].concat((0,d.Z)(ve),[fe]))},removeSider:fe=>{z(ve=>ve.filter(Ce=>Ce!==fe))}}}),[]);return L(v.createElement(n.Provider,{value:me},v.createElement(Ee,Object.assign({ref:Q,className:q,style:Object.assign(Object.assign({},S==null?void 0:S.style),c)},B),ie)))}),he=U({tagName:"div",displayName:"Layout"})(pe),M=U({suffixCls:"header",tagName:"header",displayName:"Header"})(de),Re=U({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(de),W=U({suffixCls:"content",tagName:"main",displayName:"Content"})(de);var oe=he},40875:function(_e,ue,t){t.d(ue,{J:function(){return G}});var d=t(59301),i=t(33234),y=t(70425),X=function(V,ee){var A={};for(var K in V)Object.prototype.hasOwnProperty.call(V,K)&&ee.indexOf(K)<0&&(A[K]=V[K]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,K=Object.getOwnPropertySymbols(V);H<K.length;H++)ee.indexOf(K[H])<0&&Object.prototype.propertyIsEnumerable.call(V,K[H])&&(A[K[H]]=V[K[H]]);return A};const v=d.createContext(null),G=d.forwardRef((V,ee)=>{const{children:A}=V,K=X(V,["children"]),H=d.useContext(v),D=d.useMemo(()=>Object.assign(Object.assign({},H),K),[H,K.prefixCls,K.mode,K.selectable]);return d.createElement(v.Provider,{value:D},d.createElement(i.BR,null,(0,y.supportNodeRef)(A)?d.cloneElement(A,{ref:ee}):A))});ue.Z=v},20834:function(_e,ue,t){t.d(ue,{default:function(){return Ie}});var d=t(15285),i=t(59301),y=t(45818),X=t(92310),v=t.n(X),G=t(36355),V=function(f,a){var e={};for(var r in f)Object.prototype.hasOwnProperty.call(f,r)&&a.indexOf(r)<0&&(e[r]=f[r]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(f);o<r.length;o++)a.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(f,r[o])&&(e[r[o]]=f[r[o]]);return e},A=f=>{const{prefixCls:a,className:e,dashed:r}=f,o=V(f,["prefixCls","className","dashed"]),{getPrefixCls:p}=i.useContext(G.E_),C=p("menu",a),O=v()({[`${C}-item-divider-dashed`]:!!r},e);return i.createElement(d.iz,Object.assign({className:O},o))},K=t(11592),H=t(2738),D=t(6848),n=t(92343),de=(0,i.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),he=f=>{var a;const{className:e,children:r,icon:o,title:p,danger:C}=f,{prefixCls:O,firstLevel:P,direction:Z,disableMenuItemTitleTooltip:I,inlineCollapsed:F}=i.useContext(de),le=De=>{const Xe=i.createElement("span",{className:`${O}-title-content`},r);return(!o||(0,n.l$)(r)&&r.type==="span")&&r&&De&&P&&typeof r=="string"?i.createElement("div",{className:`${O}-inline-collapsed-noicon`},r.charAt(0)):Xe},{siderCollapsed:ne}=i.useContext(y.D);let ce=p;typeof p=="undefined"?ce=P?r:"":p===!1&&(ce="");const se={title:ce};!ne&&!F&&(se.title=null,se.open=!1);const te=(0,K.Z)(r).length;let re=i.createElement(d.ck,Object.assign({},(0,H.Z)(f,["title","icon","danger"]),{className:v()({[`${O}-item-danger`]:C,[`${O}-item-only-child`]:(o?te+1:te)===1},e),title:typeof p=="string"?p:void 0}),(0,n.Tm)(o,{className:v()((0,n.l$)(o)?(a=o.props)===null||a===void 0?void 0:a.className:"",`${O}-item-icon`)}),le(F));return I||(re=i.createElement(D.Z,Object.assign({},se,{placement:Z==="rtl"?"left":"right",overlayClassName:`${O}-inline-collapsed-tooltip`}),re)),re},Re=f=>{var a;const{popupClassName:e,icon:r,title:o,theme:p}=f,C=i.useContext(de),{prefixCls:O,inlineCollapsed:P,theme:Z}=C,I=(0,d.Xl)();let F;if(!r)F=P&&!I.length&&o&&typeof o=="string"?i.createElement("div",{className:`${O}-inline-collapsed-noicon`},o.charAt(0)):i.createElement("span",{className:`${O}-title-content`},o);else{const ne=(0,n.l$)(o)&&o.type==="span";F=i.createElement(i.Fragment,null,(0,n.Tm)(r,{className:v()((0,n.l$)(r)?(a=r.props)===null||a===void 0?void 0:a.className:"",`${O}-item-icon`)}),ne?o:i.createElement("span",{className:`${O}-title-content`},o))}const le=i.useMemo(()=>Object.assign(Object.assign({},C),{firstLevel:!1}),[C]);return i.createElement(de.Provider,{value:le},i.createElement(d.Wd,Object.assign({},(0,H.Z)(f,["icon"]),{title:F,popupClassName:v()(O,e,`${O}-${p||Z}`)})))},W=t(18785),oe=t(70425),w=t(62892),Q=t(40875),E=function(f,a){var e={};for(var r in f)Object.prototype.hasOwnProperty.call(f,r)&&a.indexOf(r)<0&&(e[r]=f[r]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(f);o<r.length;o++)a.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(f,r[o])&&(e[r[o]]=f[r[o]]);return e};function $(f){return(f||[]).map((a,e)=>{if(a&&typeof a=="object"){const r=a,{label:o,children:p,key:C,type:O}=r,P=E(r,["label","children","key","type"]),Z=C!=null?C:`tmp-${e}`;return p||O==="group"?O==="group"?i.createElement(d.BW,Object.assign({key:Z},P,{title:o}),$(p)):i.createElement(Re,Object.assign({key:Z},P,{title:o}),$(p)):O==="divider"?i.createElement(A,Object.assign({key:Z},P)):i.createElement(he,Object.assign({key:Z},P),o)}return null}).filter(a=>a)}function z(f){return i.useMemo(()=>f&&$(f),[f])}var T=t(64993),j=t(17313),ae=t(8378),ie=t(13826),be=t(29878),Ee=t(83116),c=t(37613),B=f=>{const{componentCls:a,motionDurationSlow:e,horizontalLineHeight:r,colorSplit:o,lineWidth:p,lineType:C,itemPaddingInline:O}=f;return{[`${a}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${p}px ${C} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${a}-item, ${a}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:O},[`> ${a}-item:hover,
> ${a}-item-active,
> ${a}-submenu ${a}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${a}-item, ${a}-submenu-title`]:{transition:[`border-color ${e}`,`background ${e}`].join(",")},[`${a}-submenu-arrow`]:{display:"none"}}}},S=f=>{let{componentCls:a,menuArrowOffset:e}=f;return{[`${a}-rtl`]:{direction:"rtl"},[`${a}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${a}-rtl${a}-vertical,
${a}-submenu-rtl ${a}-vertical`]:{[`${a}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${e})`},"&::after":{transform:`rotate(45deg) translateY(${e})`}}}}};const J=f=>Object.assign({},(0,j.oN)(f));var k=(f,a)=>{const{componentCls:e,itemColor:r,itemSelectedColor:o,groupTitleColor:p,itemBg:C,subMenuItemBg:O,itemSelectedBg:P,activeBarHeight:Z,activeBarWidth:I,activeBarBorderWidth:F,motionDurationSlow:le,motionEaseInOut:ne,motionEaseOut:ce,itemPaddingInline:se,motionDurationMid:te,itemHoverColor:re,lineType:De,colorSplit:Xe,itemDisabledColor:ke,dangerItemColor:qe,dangerItemHoverColor:Je,dangerItemSelectedColor:et,dangerItemActiveBg:xe,dangerItemSelectedBg:tt,itemHoverBg:ot,itemActiveBg:at,menuSubMenuBg:gt,horizontalItemSelectedColor:Nt,horizontalItemSelectedBg:Bt,horizontalItemBorderRadius:pt,horizontalItemHoverBg:ht,popupBg:Ft}=f;return{[`${e}-${a}, ${e}-${a} > ${e}`]:{color:r,background:C,[`&${e}-root:focus-visible`]:Object.assign({},J(f)),[`${e}-item-group-title`]:{color:p},[`${e}-submenu-selected`]:{[`> ${e}-submenu-title`]:{color:o}},[`${e}-item-disabled, ${e}-submenu-disabled`]:{color:`${ke} !important`},[`${e}-item:not(${e}-item-selected):not(${e}-submenu-selected)`]:{[`&:hover, > ${e}-submenu-title:hover`]:{color:re}},[`&:not(${e}-horizontal)`]:{[`${e}-item:not(${e}-item-selected)`]:{"&:hover":{backgroundColor:ot},"&:active":{backgroundColor:at}},[`${e}-submenu-title`]:{"&:hover":{backgroundColor:ot},"&:active":{backgroundColor:at}}},[`${e}-item-danger`]:{color:qe,[`&${e}-item:hover`]:{[`&:not(${e}-item-selected):not(${e}-submenu-selected)`]:{color:Je}},[`&${e}-item:active`]:{background:xe}},[`${e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${e}-item-selected`]:{color:o,[`&${e}-item-danger`]:{color:et},"a, a:hover":{color:"inherit"}},[`& ${e}-item-selected`]:{backgroundColor:P,[`&${e}-item-danger`]:{backgroundColor:tt}},[`${e}-item, ${e}-submenu-title`]:{[`&:not(${e}-item-disabled):focus-visible`]:Object.assign({},J(f))},[`&${e}-submenu > ${e}`]:{backgroundColor:gt},[`&${e}-popup > ${e}`]:{backgroundColor:Ft},[`&${e}-horizontal`]:Object.assign(Object.assign({},a==="dark"?{borderBottom:0}:{}),{[`> ${e}-item, > ${e}-submenu`]:{top:F,marginTop:-F,marginBottom:0,borderRadius:pt,"&::after":{position:"absolute",insetInline:se,bottom:0,borderBottom:`${Z}px solid transparent`,transition:`border-color ${le} ${ne}`,content:'""'},"&:hover, &-active, &-open":{background:ht,"&::after":{borderBottomWidth:Z,borderBottomColor:Nt}},"&-selected":{color:Nt,backgroundColor:Bt,"&:hover":{backgroundColor:Bt},"&::after":{borderBottomWidth:Z,borderBottomColor:Nt}}}}),[`&${e}-root`]:{[`&${e}-inline, &${e}-vertical`]:{borderInlineEnd:`${F}px ${De} ${Xe}`}},[`&${e}-inline`]:{[`${e}-sub${e}-inline`]:{background:O},[`${e}-item, ${e}-submenu-title`]:F&&I?{width:`calc(100% + ${F}px)`}:{},[`${e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${I}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${te} ${ce}`,`opacity ${te} ${ce}`].join(","),content:'""'},[`&${e}-item-danger`]:{"&::after":{borderInlineEndColor:et}}},[`${e}-selected, ${e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${te} ${ne}`,`opacity ${te} ${ne}`].join(",")}}}}}};const q=f=>{const{componentCls:a,itemHeight:e,itemMarginInline:r,padding:o,menuArrowSize:p,marginXS:C,itemMarginBlock:O}=f,P=o+p+C;return{[`${a}-item`]:{position:"relative",overflow:"hidden"},[`${a}-item, ${a}-submenu-title`]:{height:e,lineHeight:`${e}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:O,width:`calc(100% - ${r*2}px)`},[`> ${a}-item,
> ${a}-submenu > ${a}-submenu-title`]:{height:e,lineHeight:`${e}px`},[`${a}-item-group-list ${a}-submenu-title,
${a}-submenu-title`]:{paddingInlineEnd:P}}};var fe=f=>{const{componentCls:a,iconCls:e,itemHeight:r,colorTextLightSolid:o,dropdownWidth:p,controlHeightLG:C,motionDurationMid:O,motionEaseOut:P,paddingXL:Z,itemMarginInline:I,fontSizeLG:F,motionDurationSlow:le,paddingXS:ne,boxShadowSecondary:ce,collapsedWidth:se,collapsedIconSize:te}=f,re={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[a]:{"&-inline, &-vertical":Object.assign({[`&${a}-root`]:{boxShadow:"none"}},q(f))},[`${a}-submenu-popup`]:{[`${a}-vertical`]:Object.assign(Object.assign({},q(f)),{boxShadow:ce})}},{[`${a}-submenu-popup ${a}-vertical${a}-sub`]:{minWidth:p,maxHeight:`calc(100vh - ${C*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${a}-inline`]:{width:"100%",[`&${a}-root`]:{[`${a}-item, ${a}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${le}`,`background ${le}`,`padding ${O} ${P}`].join(","),[`> ${a}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${a}-sub${a}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${a}-submenu > ${a}-submenu-title`]:re,[`& ${a}-item-group-title`]:{paddingInlineStart:Z}},[`${a}-item`]:re}},{[`${a}-inline-collapsed`]:{width:se,[`&${a}-root`]:{[`${a}-item, ${a}-submenu ${a}-submenu-title`]:{[`> ${a}-inline-collapsed-noicon`]:{fontSize:F,textAlign:"center"}}},[`> ${a}-item,
> ${a}-item-group > ${a}-item-group-list > ${a}-item,
> ${a}-item-group > ${a}-item-group-list > ${a}-submenu > ${a}-submenu-title,
> ${a}-submenu > ${a}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${F/2}px - ${I}px)`,textOverflow:"clip",[`
${a}-submenu-arrow,
${a}-submenu-expand-icon
`]:{opacity:0},[`${a}-item-icon, ${e}`]:{margin:0,fontSize:te,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${a}-item-icon, ${e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${a}-item-icon, ${e}`]:{display:"none"},"a, a:hover":{color:o}},[`${a}-item-group-title`]:Object.assign(Object.assign({},j.vS),{paddingInline:ne})}}]};const ve=f=>{const{componentCls:a,motionDurationSlow:e,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:p,iconCls:C,iconSize:O,iconMarginInlineEnd:P}=f;return{[`${a}-item, ${a}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${e}`,`background ${e}`,`padding ${e} ${o}`].join(","),[`${a}-item-icon, ${C}`]:{minWidth:O,fontSize:O,transition:[`font-size ${r} ${p}`,`margin ${e} ${o}`,`color ${e}`].join(","),"+ span":{marginInlineStart:P,opacity:1,transition:[`opacity ${e} ${o}`,`margin ${e}`,`color ${e}`].join(",")}},[`${a}-item-icon`]:Object.assign({},(0,j.Ro)()),[`&${a}-item-only-child`]:{[`> ${C}, > ${a}-item-icon`]:{marginInlineEnd:0}}},[`${a}-item-disabled, ${a}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${a}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ce=f=>{const{componentCls:a,motionDurationSlow:e,motionEaseInOut:r,borderRadius:o,menuArrowSize:p,menuArrowOffset:C}=f;return{[`${a}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:f.margin,width:p,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${e} ${r}, opacity ${e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:p*.6,height:p*.15,backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${e} ${r}`,`transform ${e} ${r}`,`top ${e} ${r}`,`color ${e} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${C})`},"&::after":{transform:`rotate(-45deg) translateY(${C})`}}}}},Ne=f=>{const{antCls:a,componentCls:e,fontSize:r,motionDurationSlow:o,motionDurationMid:p,motionEaseInOut:C,paddingXS:O,padding:P,colorSplit:Z,lineWidth:I,zIndexPopup:F,borderRadiusLG:le,subMenuItemBorderRadius:ne,menuArrowSize:ce,menuArrowOffset:se,lineType:te,menuPanelMaskInset:re,groupTitleLineHeight:De,groupTitleFontSize:Xe}=f;return[{"":{[`${e}`]:Object.assign(Object.assign({},(0,j.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,j.Wf)(f)),(0,j.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} 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:f.itemBorderRadius},[`${e}-item-group-title`]:{padding:`${O}px ${P}px`,fontSize:Xe,lineHeight:De,transition:`all ${o}`},[`&-horizontal ${e}-submenu`]:{transition:[`border-color ${o} ${C}`,`background ${o} ${C}`].join(",")},[`${e}-submenu, ${e}-submenu-inline`]:{transition:[`border-color ${o} ${C}`,`background ${o} ${C}`,`padding ${p} ${C}`].join(",")},[`${e}-submenu ${e}-sub`]:{cursor:"initial",transition:[`background ${o} ${C}`,`padding ${o} ${C}`].join(",")},[`${e}-title-content`]:{transition:`color ${o}`},[`${e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Z,borderStyle:te,borderWidth:0,borderTopWidth:I,marginBlock:I,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ve(f)),{[`${e}-item-group`]:{[`${e}-item-group-list`]:{margin:0,padding:0,[`${e}-item, ${e}-submenu-title`]:{paddingInline:`${r*2}px ${P}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:F,borderRadius:le,boxShadow:"none",transformOrigin:"0 0",[`&${e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${re}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:re},"\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:f.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:f.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:f.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:f.paddingXS},[`> ${e}`]:Object.assign(Object.assign(Object.assign({borderRadius:le},ve(f)),Ce(f)),{[`${e}-item, ${e}-submenu > ${e}-submenu-title`]:{borderRadius:ne},[`${e}-submenu-title::after`]:{transition:`transform ${o} ${C}`}})}}),Ce(f)),{[`&-inline-collapsed ${e}-submenu-arrow,
&-inline ${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${se})`},"&::after":{transform:`rotate(45deg) translateX(-${se})`}},[`${e}-submenu-open${e}-submenu-inline > ${e}-submenu-title > ${e}-submenu-arrow`]:{transform:`translateY(-${ce*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${se})`},"&::before":{transform:`rotate(45deg) translateX(${se})`}}})},{[`${a}-layout-header`]:{[e]:{lineHeight:"inherit"}}}]};var ye=(f,a)=>(0,Ee.Z)("Menu",r=>{if(a===!1)return[];const{colorBgElevated:o,colorPrimary:p,colorTextLightSolid:C,controlHeightLG:O,fontSize:P,darkItemColor:Z,darkDangerItemColor:I,darkItemBg:F,darkSubMenuItemBg:le,darkItemSelectedColor:ne,darkItemSelectedBg:ce,darkDangerItemSelectedBg:se,darkItemHoverBg:te,darkGroupTitleColor:re,darkItemHoverColor:De,darkItemDisabledColor:Xe,darkDangerItemHoverColor:ke,darkDangerItemSelectedColor:qe,darkDangerItemActiveBg:Je}=r,et=P/7*5,xe=(0,c.TS)(r,{menuArrowSize:et,menuHorizontalHeight:O*1.15,menuArrowOffset:`${et*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:o}),tt=(0,c.TS)(xe,{itemColor:Z,itemHoverColor:De,groupTitleColor:re,itemSelectedColor:ne,itemBg:F,popupBg:F,subMenuItemBg:le,itemActiveBg:"transparent",itemSelectedBg:ce,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:te,itemDisabledColor:Xe,dangerItemColor:I,dangerItemHoverColor:ke,dangerItemSelectedColor:qe,dangerItemActiveBg:Je,dangerItemSelectedBg:se,menuSubMenuBg:le,horizontalItemSelectedColor:C,horizontalItemSelectedBg:p});return[Ne(xe),B(xe),fe(xe),k(xe,"light"),k(tt,"dark"),S(xe),(0,ae.Z)(xe),(0,ie.oN)(xe,"slide-up"),(0,ie.oN)(xe,"slide-down"),(0,be._y)(xe,"zoom-big")]},r=>{const{colorPrimary:o,colorError:p,colorTextDisabled:C,colorErrorBg:O,colorText:P,colorTextDescription:Z,colorBgContainer:I,colorFillAlter:F,colorFillContent:le,lineWidth:ne,lineWidthBold:ce,controlItemBgActive:se,colorBgTextHover:te,controlHeightLG:re,lineHeight:De,colorBgElevated:Xe,marginXXS:ke,padding:qe,fontSize:Je,controlHeightSM:et,fontSizeLG:xe,colorTextLightSolid:tt,colorErrorHover:ot}=r,at=new T.C(tt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:r.zIndexPopupBase+50,radiusItem:r.borderRadiusLG,itemBorderRadius:r.borderRadiusLG,radiusSubMenuItem:r.borderRadiusSM,subMenuItemBorderRadius:r.borderRadiusSM,colorItemText:P,itemColor:P,colorItemTextHover:P,itemHoverColor:P,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:Z,groupTitleColor:Z,colorItemTextSelected:o,itemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:I,itemBg:I,colorItemBgHover:te,itemHoverBg:te,colorItemBgActive:le,itemActiveBg:se,colorSubItemBg:F,subMenuItemBg:F,colorItemBgSelected:se,itemSelectedBg:se,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:ce,activeBarHeight:ce,colorActiveBarBorderSize:ne,activeBarBorderWidth:ne,colorItemTextDisabled:C,itemDisabledColor:C,colorDangerItemText:p,dangerItemColor:p,colorDangerItemTextHover:p,dangerItemHoverColor:p,colorDangerItemTextSelected:p,dangerItemSelectedColor:p,colorDangerItemBgActive:O,dangerItemActiveBg:O,colorDangerItemBgSelected:O,dangerItemSelectedBg:O,itemMarginInline:r.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:re,groupTitleLineHeight:De,collapsedWidth:re*2,popupBg:Xe,itemMarginBlock:ke,itemPaddingInline:qe,horizontalLineHeight:`${re*1.15}px`,iconSize:Je,iconMarginInlineEnd:et-Je,collapsedIconSize:xe,groupTitleFontSize:Je,darkItemDisabledColor:new T.C(tt).setAlpha(.25).toRgbString(),darkItemColor:at,darkDangerItemColor:p,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:tt,darkItemSelectedBg:o,darkDangerItemSelectedBg:p,darkItemHoverBg:"transparent",darkGroupTitleColor:at,darkItemHoverColor:tt,darkDangerItemHoverColor:ot,darkDangerItemSelectedColor:tt,darkDangerItemActiveBg:p}},{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"]]})(f),ge=function(f,a){var e={};for(var r in f)Object.prototype.hasOwnProperty.call(f,r)&&a.indexOf(r)<0&&(e[r]=f[r]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(f);o<r.length;o++)a.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(f,r[o])&&(e[r[o]]=f[r[o]]);return e},Pe=(0,i.forwardRef)((f,a)=>{var e,r;const o=i.useContext(Q.Z),p=o||{},{getPrefixCls:C,getPopupContainer:O,direction:P,menu:Z}=i.useContext(G.E_),I=C(),{prefixCls:F,className:le,style:ne,theme:ce="light",expandIcon:se,_internalDisableMenuItemTitleTooltip:te,inlineCollapsed:re,siderCollapsed:De,items:Xe,children:ke,rootClassName:qe,mode:Je,selectable:et,onClick:xe,overflowedIndicatorPopupClassName:tt}=f,ot=ge(f,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),at=(0,H.Z)(ot,["collapsedWidth"]),gt=z(Xe)||ke;(e=p.validator)===null||e===void 0||e.call(p,{mode:Je});const Nt=(0,oe.useEvent)(function(){var st;xe==null||xe.apply(void 0,arguments),(st=p.onClick)===null||st===void 0||st.call(p)}),Bt=p.mode||Je,pt=et!=null?et:p.selectable,ht=i.useMemo(()=>De!==void 0?De:re,[re,De]),Ft={horizontal:{motionName:`${I}-slide-up`},inline:(0,w.Z)(I),other:{motionName:`${I}-zoom-big`}},dt=C("menu",F||p.prefixCls),[Xt,Vt]=ye(dt,!o),jt=v()(`${dt}-${ce}`,Z==null?void 0:Z.className,le);let Zt;if(typeof se=="function")Zt=se;else if(se===null||se===!1)Zt=null;else if(p.expandIcon===null||p.expandIcon===!1)Zt=null;else{const st=se!=null?se:p.expandIcon;Zt=(0,n.Tm)(st,{className:v()(`${dt}-submenu-expand-icon`,(0,n.l$)(st)?(r=st.props)===null||r===void 0?void 0:r.className:"")})}const Ge=i.useMemo(()=>({prefixCls:dt,inlineCollapsed:ht||!1,direction:P,firstLevel:!0,theme:ce,mode:Bt,disableMenuItemTitleTooltip:te}),[dt,ht,P,te,ce]);return Xt(i.createElement(Q.Z.Provider,{value:null},i.createElement(de.Provider,{value:Ge},i.createElement(d.ZP,Object.assign({getPopupContainer:O,overflowedIndicator:i.createElement(W.Z,null),overflowedIndicatorPopupClassName:v()(dt,`${dt}-${ce}`,tt),mode:Bt,selectable:pt,onClick:Nt},at,{inlineCollapsed:ht,style:Object.assign(Object.assign({},Z==null?void 0:Z.style),ne),className:jt,prefixCls:dt,direction:P,defaultMotions:Ft,expandIcon:Zt,ref:a,rootClassName:v()(qe,Vt)}),gt))))});const Ae=(0,i.forwardRef)((f,a)=>{const e=(0,i.useRef)(null),r=i.useContext(y.D);return(0,i.useImperativeHandle)(a,()=>({menu:e.current,focus:o=>{var p;(p=e.current)===null||p===void 0||p.focus(o)}})),i.createElement(Pe,Object.assign({ref:e},f,r))});Ae.Item=he,Ae.SubMenu=Re,Ae.Divider=A,Ae.ItemGroup=d.BW;var Ie=Ae},61621:function(_e,ue,t){t.d(ue,{Z:function(){return a}});var d=t(92310),i=t.n(d),y=t(59301),X=t(36355),v=t(2738),V=e=>{const{prefixCls:r,className:o,style:p,size:C,shape:O}=e,P=i()({[`${r}-lg`]:C==="large",[`${r}-sm`]:C==="small"}),Z=i()({[`${r}-circle`]:O==="circle",[`${r}-square`]:O==="square",[`${r}-round`]:O==="round"}),I=y.useMemo(()=>typeof C=="number"?{width:C,height:C,lineHeight:`${C}px`}:{},[C]);return y.createElement("span",{className:i()(r,P,Z,o),style:Object.assign(Object.assign({},I),p)})},ee=t(36237),A=t(83116),K=t(37613);const H=new ee.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),D=e=>({height:e,lineHeight:`${e}px`}),n=e=>Object.assign({width:e},D(e)),U=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:H,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),de=e=>Object.assign({width:e*5,minWidth:e*5},D(e)),pe=e=>{const{skeletonAvatarCls:r,gradientFromColor:o,controlHeight:p,controlHeightLG:C,controlHeightSM:O}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:o},n(p)),[`${r}${r}-circle`]:{borderRadius:"50%"},[`${r}${r}-lg`]:Object.assign({},n(C)),[`${r}${r}-sm`]:Object.assign({},n(O))}},he=e=>{const{controlHeight:r,borderRadiusSM:o,skeletonInputCls:p,controlHeightLG:C,controlHeightSM:O,gradientFromColor:P}=e;return{[`${p}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:P,borderRadius:o},de(r)),[`${p}-lg`]:Object.assign({},de(C)),[`${p}-sm`]:Object.assign({},de(O))}},M=e=>Object.assign({width:e},D(e)),Re=e=>{const{skeletonImageCls:r,imageSizeBase:o,gradientFromColor:p,borderRadiusSM:C}=e;return{[`${r}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:p,borderRadius:C},M(o*2)),{[`${r}-path`]:{fill:"#bfbfbf"},[`${r}-svg`]:Object.assign(Object.assign({},M(o)),{maxWidth:o*4,maxHeight:o*4}),[`${r}-svg${r}-svg-circle`]:{borderRadius:"50%"}}),[`${r}${r}-circle`]:{borderRadius:"50%"}}},W=(e,r,o)=>{const{skeletonButtonCls:p}=e;return{[`${o}${p}-circle`]:{width:r,minWidth:r,borderRadius:"50%"},[`${o}${p}-round`]:{borderRadius:r}}},oe=e=>Object.assign({width:e*2,minWidth:e*2},D(e)),w=e=>{const{borderRadiusSM:r,skeletonButtonCls:o,controlHeight:p,controlHeightLG:C,controlHeightSM:O,gradientFromColor:P}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${o}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:P,borderRadius:r,width:p*2,minWidth:p*2},oe(p))},W(e,p,o)),{[`${o}-lg`]:Object.assign({},oe(C))}),W(e,C,`${o}-lg`)),{[`${o}-sm`]:Object.assign({},oe(O))}),W(e,O,`${o}-sm`))},Q=e=>{const{componentCls:r,skeletonAvatarCls:o,skeletonTitleCls:p,skeletonParagraphCls:C,skeletonButtonCls:O,skeletonInputCls:P,skeletonImageCls:Z,controlHeight:I,controlHeightLG:F,controlHeightSM:le,gradientFromColor:ne,padding:ce,marginSM:se,borderRadius:te,titleHeight:re,blockRadius:De,paragraphLiHeight:Xe,controlHeightXS:ke,paragraphMarginTop:qe}=e;return{[`${r}`]:{display:"table",width:"100%",[`${r}-header`]:{display:"table-cell",paddingInlineEnd:ce,verticalAlign:"top",[`${o}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ne},n(I)),[`${o}-circle`]:{borderRadius:"50%"},[`${o}-lg`]:Object.assign({},n(F)),[`${o}-sm`]:Object.assign({},n(le))},[`${r}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${p}`]:{width:"100%",height:re,background:ne,borderRadius:De,[`+ ${C}`]:{marginBlockStart:le}},[`${C}`]:{padding:0,"> li":{width:"100%",height:Xe,listStyle:"none",background:ne,borderRadius:De,"+ li":{marginBlockStart:ke}}},[`${C}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${r}-content`]:{[`${p}, ${C} > li`]:{borderRadius:te}}},[`${r}-with-avatar ${r}-content`]:{[`${p}`]:{marginBlockStart:se,[`+ ${C}`]:{marginBlockStart:qe}}},[`${r}${r}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},w(e)),pe(e)),he(e)),Re(e)),[`${r}${r}-block`]:{width:"100%",[`${O}`]:{width:"100%"},[`${P}`]:{width:"100%"}},[`${r}${r}-active`]:{[`
${p},
${C} > li,
${o},
${O},
${P},
${Z}
`]:Object.assign({},U(e))}}};var E=(0,A.Z)("Skeleton",e=>{const{componentCls:r}=e,o=(0,K.TS)(e,{skeletonAvatarCls:`${r}-avatar`,skeletonTitleCls:`${r}-title`,skeletonParagraphCls:`${r}-paragraph`,skeletonButtonCls:`${r}-button`,skeletonInputCls:`${r}-input`,skeletonImageCls:`${r}-image`,imageSizeBase:e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Q(o)]},e=>{const{colorFillContent:r,colorFill:o}=e,p=r,C=o;return{color:p,colorGradientEnd:C,gradientFromColor:p,gradientToColor:C,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),z=e=>{const{prefixCls:r,className:o,rootClassName:p,active:C,shape:O="circle",size:P="default"}=e,{getPrefixCls:Z}=y.useContext(X.E_),I=Z("skeleton",r),[F,le]=E(I),ne=(0,v.Z)(e,["prefixCls","className"]),ce=i()(I,`${I}-element`,{[`${I}-active`]:C},o,p,le);return F(y.createElement("div",{className:ce},y.createElement(V,Object.assign({prefixCls:`${I}-avatar`,shape:O,size:P},ne))))},j=e=>{const{prefixCls:r,className:o,rootClassName:p,active:C,block:O=!1,size:P="default"}=e,{getPrefixCls:Z}=y.useContext(X.E_),I=Z("skeleton",r),[F,le]=E(I),ne=(0,v.Z)(e,["prefixCls"]),ce=i()(I,`${I}-element`,{[`${I}-active`]:C,[`${I}-block`]:O},o,p,le);return F(y.createElement("div",{className:ce},y.createElement(V,Object.assign({prefixCls:`${I}-button`,size:P},ne))))};const ae="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var be=e=>{const{prefixCls:r,className:o,rootClassName:p,style:C,active:O}=e,{getPrefixCls:P}=y.useContext(X.E_),Z=P("skeleton",r),[I,F]=E(Z),le=i()(Z,`${Z}-element`,{[`${Z}-active`]:O},o,p,F);return I(y.createElement("div",{className:le},y.createElement("div",{className:i()(`${Z}-image`,o),style:C},y.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Z}-image-svg`},y.createElement("path",{d:ae,className:`${Z}-image-path`})))))},c=e=>{const{prefixCls:r,className:o,rootClassName:p,active:C,block:O,size:P="default"}=e,{getPrefixCls:Z}=y.useContext(X.E_),I=Z("skeleton",r),[F,le]=E(I),ne=(0,v.Z)(e,["prefixCls"]),ce=i()(I,`${I}-element`,{[`${I}-active`]:C,[`${I}-block`]:O},o,p,le);return F(y.createElement("div",{className:ce},y.createElement(V,Object.assign({prefixCls:`${I}-input`,size:P},ne))))},R=t(54476),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},l=B,S=t(7657),J=function(r,o){return y.createElement(S.Z,(0,R.Z)({},r,{ref:o,icon:l}))},L=y.forwardRef(J),k=L,me=e=>{const{prefixCls:r,className:o,rootClassName:p,style:C,active:O,children:P}=e,{getPrefixCls:Z}=y.useContext(X.E_),I=Z("skeleton",r),[F,le]=E(I),ne=i()(I,`${I}-element`,{[`${I}-active`]:O},le,o,p),ce=P!=null?P:y.createElement(k,null);return F(y.createElement("div",{className:ne},y.createElement("div",{className:i()(`${I}-image`,o),style:C},ce)))},fe=t(94480),Ce=e=>{const r=Z=>{const{width:I,rows:F=2}=e;if(Array.isArray(I))return I[Z];if(F-1===Z)return I},{prefixCls:o,className:p,style:C,rows:O}=e,P=(0,fe.Z)(Array(O)).map((Z,I)=>y.createElement("li",{key:I,style:{width:r(I)}}));return y.createElement("ul",{className:i()(o,p),style:C},P)},ye=e=>{let{prefixCls:r,className:o,width:p,style:C}=e;return y.createElement("h3",{className:i()(r,o),style:Object.assign({width:p},C)})};function ge(e){return e&&typeof e=="object"?e:{}}function Me(e,r){return e&&!r?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Pe(e,r){return!e&&r?{width:"38%"}:e&&r?{width:"50%"}:{}}function Ae(e,r){const o={};return(!e||!r)&&(o.width="61%"),!e&&r?o.rows=3:o.rows=2,o}const Ie=e=>{const{prefixCls:r,loading:o,className:p,rootClassName:C,style:O,children:P,avatar:Z=!1,title:I=!0,paragraph:F=!0,active:le,round:ne}=e,{getPrefixCls:ce,direction:se,skeleton:te}=y.useContext(X.E_),re=ce("skeleton",r),[De,Xe]=E(re);if(o||!("loading"in e)){const ke=!!Z,qe=!!I,Je=!!F;let et;if(ke){const ot=Object.assign(Object.assign({prefixCls:`${re}-avatar`},Me(qe,Je)),ge(Z));et=y.createElement("div",{className:`${re}-header`},y.createElement(V,Object.assign({},ot)))}let xe;if(qe||Je){let ot;if(qe){const gt=Object.assign(Object.assign({prefixCls:`${re}-title`},Pe(ke,Je)),ge(I));ot=y.createElement(ye,Object.assign({},gt))}let at;if(Je){const gt=Object.assign(Object.assign({prefixCls:`${re}-paragraph`},Ae(ke,qe)),ge(F));at=y.createElement(Ce,Object.assign({},gt))}xe=y.createElement("div",{className:`${re}-content`},ot,at)}const tt=i()(re,{[`${re}-with-avatar`]:ke,[`${re}-active`]:le,[`${re}-rtl`]:se==="rtl",[`${re}-round`]:ne},te==null?void 0:te.className,p,C,Xe);return De(y.createElement("div",{className:tt,style:Object.assign(Object.assign({},te==null?void 0:te.style),O)},et,xe))}return typeof P!="undefined"?P:null};Ie.Button=j,Ie.Avatar=z,Ie.Input=c,Ie.Image=be,Ie.Node=me;var f=Ie,a=f},8378:function(_e,ue){const t=d=>({[d.componentCls]:{[`${d.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${d.motionDurationMid} ${d.motionEaseInOut},
opacity ${d.motionDurationMid} ${d.motionEaseInOut} !important`}},[`${d.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${d.motionDurationMid} ${d.motionEaseInOut},
opacity ${d.motionDurationMid} ${d.motionEaseInOut} !important`}}});ue.Z=t},92899:function(_e,ue,t){t.d(ue,{Fm:function(){return D}});var d=t(36237),i=t(95406);const y=new d.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),X=new d.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),v=new d.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),G=new d.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),V=new d.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ee=new d.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),A=new d.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),K=new d.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),H={"move-up":{inKeyframes:A,outKeyframes:K},"move-down":{inKeyframes:y,outKeyframes:X},"move-left":{inKeyframes:v,outKeyframes:G},"move-right":{inKeyframes:V,outKeyframes:ee}},D=(n,U)=>{const{antCls:de}=n,pe=`${de}-${U}`,{inKeyframes:he,outKeyframes:M}=H[U];return[(0,i.R)(pe,he,M,n.motionDurationMid),{[`
${pe}-enter,
${pe}-appear
`]:{opacity:0,animationTimingFunction:n.motionEaseOutCirc},[`${pe}-leave`]:{animationTimingFunction:n.motionEaseInOutCirc}}]}},13826:function(_e,ue,t){t.d(ue,{Qt:function(){return v},Uw:function(){return X},fJ:function(){return y},ly:function(){return G},oN:function(){return D}});var d=t(36237),i=t(95406);const y=new d.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),X=new d.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),v=new d.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),G=new d.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),V=new d.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ee=new d.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),A=new d.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),K=new d.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),H={"slide-up":{inKeyframes:y,outKeyframes:X},"slide-down":{inKeyframes:v,outKeyframes:G},"slide-left":{inKeyframes:V,outKeyframes:ee},"slide-right":{inKeyframes:A,outKeyframes:K}},D=(n,U)=>{const{antCls:de}=n,pe=`${de}-${U}`,{inKeyframes:he,outKeyframes:M}=H[U];return[(0,i.R)(pe,he,M,n.motionDurationMid),{[`
${pe}-enter,
${pe}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:n.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${pe}-leave`]:{animationTimingFunction:n.motionEaseInQuint}}]}},31561:function(_e,ue,t){t.d(ue,{Z:function(){return E}});var d=t(54476),i=t(20068),y=t(42978),X=t(75931),v=t(35593),G=t(92310),V=t.n(G),ee=t(8654),A=t(59301),K=t(10228),H=t(16089),D=K.Z.ESC,n=K.Z.TAB;function U($){var z=$.visible,T=$.triggerRef,j=$.onVisibleChange,ae=$.autoFocus,ie=$.overlayRef,be=A.useRef(!1),Ee=function(){if(z){var l,S;(l=T.current)===null||l===void 0||(S=l.focus)===null||S===void 0||S.call(l),j==null||j(!1)}},c=function(){var l;return(l=ie.current)!==null&&l!==void 0&&l.focus?(ie.current.focus(),be.current=!0,!0):!1},R=function(l){switch(l.keyCode){case D:Ee();break;case n:{var S=!1;be.current||(S=c()),S?l.preventDefault():Ee();break}}};A.useEffect(function(){return z?(window.addEventListener("keydown",R),ae&&(0,H.Z)(c,3),function(){window.removeEventListener("keydown",R),be.current=!1}):function(){be.current=!1}},[z])}var de=(0,A.forwardRef)(function($,z){var T=$.overlay,j=$.arrow,ae=$.prefixCls,ie=(0,A.useMemo)(function(){var Ee;return typeof T=="function"?Ee=T():Ee=T,Ee},[T]),be=(0,ee.sQ)(z,ie==null?void 0:ie.ref);return A.createElement(A.Fragment,null,j&&A.createElement("div",{className:"".concat(ae,"-arrow")}),A.cloneElement(ie,{ref:(0,ee.Yr)(ie)?be:void 0}))}),pe=de,he={adjustX:1,adjustY:1},M=[0,0],Re={topLeft:{points:["bl","tl"],overflow:he,offset:[0,-4],targetOffset:M},top:{points:["bc","tc"],overflow:he,offset:[0,-4],targetOffset:M},topRight:{points:["br","tr"],overflow:he,offset:[0,-4],targetOffset:M},bottomLeft:{points:["tl","bl"],overflow:he,offset:[0,4],targetOffset:M},bottom:{points:["tc","bc"],overflow:he,offset:[0,4],targetOffset:M},bottomRight:{points:["tr","br"],overflow:he,offset:[0,4],targetOffset:M}},W=Re,oe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function w($,z){var T,j=$.arrow,ae=j===void 0?!1:j,ie=$.prefixCls,be=ie===void 0?"rc-dropdown":ie,Ee=$.transitionName,c=$.animation,R=$.align,B=$.placement,l=B===void 0?"bottomLeft":B,S=$.placements,J=S===void 0?W:S,L=$.getPopupContainer,k=$.showAction,q=$.hideAction,me=$.overlayClassName,fe=$.overlayStyle,ve=$.visible,Ce=$.trigger,Ne=Ce===void 0?["hover"]:Ce,ye=$.autoFocus,ge=$.overlay,Me=$.children,Pe=$.onVisibleChange,Ae=(0,X.Z)($,oe),Ie=A.useState(),f=(0,y.Z)(Ie,2),a=f[0],e=f[1],r="visible"in $?ve:a,o=A.useRef(null),p=A.useRef(null),C=A.useRef(null);A.useImperativeHandle(z,function(){return o.current});var O=function(te){e(te),Pe==null||Pe(te)};U({visible:r,triggerRef:C,onVisibleChange:O,autoFocus:ye,overlayRef:p});var P=function(te){var re=$.onOverlayClick;e(!1),re&&re(te)},Z=function(){return A.createElement(pe,{ref:p,overlay:ge,prefixCls:be,arrow:ae})},I=function(){return typeof ge=="function"?Z:Z()},F=function(){var te=$.minOverlayWidthMatchTrigger,re=$.alignPoint;return"minOverlayWidthMatchTrigger"in $?te:!re},le=function(){var te=$.openClassName;return te!==void 0?te:"".concat(be,"-open")},ne=A.cloneElement(Me,{className:V()((T=Me.props)===null||T===void 0?void 0:T.className,r&&le()),ref:(0,ee.Yr)(Me)?(0,ee.sQ)(C,Me.ref):void 0}),ce=q;return!ce&&Ne.indexOf("contextMenu")!==-1&&(ce=["click"]),A.createElement(v.Z,(0,d.Z)({builtinPlacements:J},Ae,{prefixCls:be,ref:o,popupClassName:V()(me,(0,i.Z)({},"".concat(be,"-show-arrow"),ae)),popupStyle:fe,action:Ne,showAction:k,hideAction:ce,popupPlacement:l,popupAlign:R,popupTransitionName:Ee,popupAnimation:c,popupVisible:r,stretch:F()?"minWidth":"",popup:I(),onPopupVisibleChange:O,onPopupClick:P,getPopupContainer:L}),ne)}var Q=A.forwardRef(w),E=Q},15285:function(_e,ue,t){t.d(ue,{iz:function(){return At},ck:function(){return pt},BW:function(){return gn},sN:function(){return pt},Wd:function(){return Gt},ZP:function(){return Kt},Xl:function(){return T}});var d=t(54476),i=t(20068),y=t(33885),X=t(94480),v=t(42978),G=t(75931),V=t(92310),ee=t.n(V),A=t(83836),K=t(18929),H=t(13697),D=t(48736),n=t(59301),U=t(4676),de=n.createContext(null);function pe(u,s){return u===void 0?null:"".concat(u,"-").concat(s)}function he(u){var s=n.useContext(de);return pe(s,u)}var M=t(80547),Re=["children","locked"],W=n.createContext(null);function oe(u,s){var b=(0,y.Z)({},u);return Object.keys(s).forEach(function(x){var m=s[x];m!==void 0&&(b[x]=m)}),b}function w(u){var s=u.children,b=u.locked,x=(0,G.Z)(u,Re),m=n.useContext(W),h=(0,M.Z)(function(){return oe(m,x)},[m,x],function(g,N){return!b&&(g[0]!==N[0]||!(0,H.Z)(g[1],N[1],!0))});return n.createElement(W.Provider,{value:h},s)}var Q=[],E=n.createContext(null);function $(){return n.useContext(E)}var z=n.createContext(Q);function T(u){var s=n.useContext(z);return n.useMemo(function(){return u!==void 0?[].concat((0,X.Z)(s),[u]):s},[s,u])}var j=n.createContext(null),ae=n.createContext({}),ie=ae,be=t(29194);function Ee(u){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,be.Z)(u)){var b=u.nodeName.toLowerCase(),x=["input","select","textarea","button"].includes(b)||u.isContentEditable||b==="a"&&!!u.getAttribute("href"),m=u.getAttribute("tabindex"),h=Number(m),g=null;return m&&!Number.isNaN(h)?g=h:x&&g===null&&(g=0),x&&u.disabled&&(g=null),g!==null&&(g>=0||s&&g<0)}return!1}function c(u){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,b=(0,X.Z)(u.querySelectorAll("*")).filter(function(x){return Ee(x,s)});return Ee(u,s)&&b.unshift(u),b}var R=null;function B(){R=document.activeElement}function l(){R=null}function S(){if(R)try{R.focus()}catch(u){}}function J(u,s){if(s.keyCode===9){var b=c(u),x=b[s.shiftKey?0:b.length-1],m=x===document.activeElement||u===document.activeElement;if(m){var h=b[s.shiftKey?b.length-1:0];h.focus(),s.preventDefault()}}}var L=t(10228),k=t(16089),q=L.Z.LEFT,me=L.Z.RIGHT,fe=L.Z.UP,ve=L.Z.DOWN,Ce=L.Z.ENTER,Ne=L.Z.ESC,ye=L.Z.HOME,ge=L.Z.END,Me=[fe,ve,q,me];function Pe(u,s,b,x){var m,h,g,N,_="prev",Y="next",Te="children",$e="parent";if(u==="inline"&&x===Ce)return{inlineTrigger:!0};var Le=(m={},(0,i.Z)(m,fe,_),(0,i.Z)(m,ve,Y),m),ze=(h={},(0,i.Z)(h,q,b?Y:_),(0,i.Z)(h,me,b?_:Y),(0,i.Z)(h,ve,Te),(0,i.Z)(h,Ce,Te),h),we=(g={},(0,i.Z)(g,fe,_),(0,i.Z)(g,ve,Y),(0,i.Z)(g,Ce,Te),(0,i.Z)(g,Ne,$e),(0,i.Z)(g,q,b?Te:$e),(0,i.Z)(g,me,b?$e:Te),g),Ye={inline:Le,horizontal:ze,vertical:we,inlineSub:Le,horizontalSub:we,verticalSub:we},Ve=(N=Ye["".concat(u).concat(s?"":"Sub")])===null||N===void 0?void 0:N[x];switch(Ve){case _:return{offset:-1,sibling:!0};case Y:return{offset:1,sibling:!0};case $e:return{offset:-1,sibling:!1};case Te:return{offset:1,sibling:!1};default:return null}}function Ae(u){for(var s=u;s;){if(s.getAttribute("data-menu-list"))return s;s=s.parentElement}return null}function Ie(u,s){for(var b=u||document.activeElement;b;){if(s.has(b))return b;b=b.parentElement}return null}function f(u,s){var b=c(u,!0);return b.filter(function(x){return s.has(x)})}function a(u,s,b){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!u)return null;var m=f(u,s),h=m.length,g=m.findIndex(function(N){return b===N});return x<0?g===-1?g=h-1:g-=1:x>0&&(g+=1),g=(g+h)%h,m[g]}var e=function(s,b){var x=new Set,m=new Map,h=new Map;return s.forEach(function(g){var N=document.querySelector("[data-menu-id='".concat(pe(b,g),"']"));N&&(x.add(N),h.set(N,g),m.set(g,N))}),{elements:x,key2element:m,element2key:h}};function r(u,s,b,x,m,h,g,N,_,Y){var Te=n.useRef(),$e=n.useRef();$e.current=s;var Le=function(){k.Z.cancel(Te.current)};return n.useEffect(function(){return function(){Le()}},[]),function(ze){var we=ze.which;if([].concat(Me,[Ce,Ne,ye,ge]).includes(we)){var Ye=h(),Ve=e(Ye,x),Qe=Ve,Be=Qe.elements,Oe=Qe.key2element,Se=Qe.element2key,He=Oe.get(s),je=Ie(He,Be),nt=Se.get(je),Ke=Pe(u,g(nt,!0).length===1,b,we);if(!Ke&&we!==ye&&we!==ge)return;(Me.includes(we)||[ye,ge].includes(we))&&ze.preventDefault();var xt=function(ct){if(ct){var Ot=ct,Et=ct.querySelector("a");Et!=null&&Et.getAttribute("href")&&(Ot=Et);var Pt=Se.get(ct);N(Pt),Le(),Te.current=(0,k.Z)(function(){$e.current===Pt&&Ot.focus()})}};if([ye,ge].includes(we)||Ke.sibling||!je){var Fe;!je||u==="inline"?Fe=m.current:Fe=Ae(je);var mt,rt=f(Fe,Be);we===ye?mt=rt[0]:we===ge?mt=rt[rt.length-1]:mt=a(Fe,Be,je,Ke.offset),xt(mt)}else if(Ke.inlineTrigger)_(nt);else if(Ke.offset>0)_(nt,!0),Le(),Te.current=(0,k.Z)(function(){Ve=e(Ye,x);var Tt=je.getAttribute("aria-controls"),ct=document.getElementById(Tt),Ot=a(ct,Ve.elements);xt(Ot)},5);else if(Ke.offset<0){var it=g(nt,!0),Ct=it[it.length-2],yt=Oe.get(Ct);_(Ct,!1),xt(yt)}}Y==null||Y(ze)}}function o(u){Promise.resolve().then(u)}var p="__RC_UTIL_PATH_SPLIT__",C=function(s){return s.join(p)},O=function(s){return s.split(p)},P="rc-menu-more";function Z(){var u=n.useState({}),s=(0,v.Z)(u,2),b=s[1],x=(0,n.useRef)(new Map),m=(0,n.useRef)(new Map),h=n.useState([]),g=(0,v.Z)(h,2),N=g[0],_=g[1],Y=(0,n.useRef)(0),Te=(0,n.useRef)(!1),$e=function(){Te.current||b({})},Le=(0,n.useCallback)(function(Oe,Se){var He=C(Se);m.current.set(He,Oe),x.current.set(Oe,He),Y.current+=1;var je=Y.current;o(function(){je===Y.current&&$e()})},[]),ze=(0,n.useCallback)(function(Oe,Se){var He=C(Se);m.current.delete(He),x.current.delete(Oe)},[]),we=(0,n.useCallback)(function(Oe){_(Oe)},[]),Ye=(0,n.useCallback)(function(Oe,Se){var He=x.current.get(Oe)||"",je=O(He);return Se&&N.includes(je[0])&&je.unshift(P),je},[N]),Ve=(0,n.useCallback)(function(Oe,Se){return Oe.some(function(He){var je=Ye(He,!0);return je.includes(Se)})},[Ye]),Qe=function(){var Se=(0,X.Z)(x.current.keys());return N.length&&Se.push(P),Se},Be=(0,n.useCallback)(function(Oe){var Se="".concat(x.current.get(Oe)).concat(p),He=new Set;return(0,X.Z)(m.current.keys()).forEach(function(je){je.startsWith(Se)&&He.add(m.current.get(je))}),He},[]);return n.useEffect(function(){return function(){Te.current=!0}},[]),{registerPath:Le,unregisterPath:ze,refreshOverflowKeys:we,isSubPathKey:Ve,getKeyPath:Ye,getKeys:Qe,getSubPathKeys:Be}}function I(u){var s=n.useRef(u);s.current=u;var b=n.useCallback(function(){for(var x,m=arguments.length,h=new Array(m),g=0;g<m;g++)h[g]=arguments[g];return(x=s.current)===null||x===void 0?void 0:x.call.apply(x,[s].concat(h))},[]);return u?b:void 0}var F=Math.random().toFixed(5).toString().slice(2),le=0;function ne(u){var s=(0,K.Z)(u,{value:u}),b=(0,v.Z)(s,2),x=b[0],m=b[1];return n.useEffect(function(){le+=1;var h="".concat(F,"-").concat(le);m("rc-menu-uuid-".concat(h))},[]),x}var ce=t(67732),se=t(83652),te=t(42403),re=t(158),De=t(2738),Xe=t(8654);function ke(u,s,b,x){var m=n.useContext(W),h=m.activeKey,g=m.onActive,N=m.onInactive,_={active:h===u};return s||(_.onMouseEnter=function(Y){b==null||b({key:u,domEvent:Y}),g(u)},_.onMouseLeave=function(Y){x==null||x({key:u,domEvent:Y}),N(u)}),_}function qe(u){var s=n.useContext(W),b=s.mode,x=s.rtl,m=s.inlineIndent;if(b!=="inline")return null;var h=u;return x?{paddingRight:h*m}:{paddingLeft:h*m}}function Je(u){var s=u.icon,b=u.props,x=u.children,m;return s===null||s===!1?null:(typeof s=="function"?m=n.createElement(s,(0,y.Z)({},b)):typeof s!="boolean"&&(m=s),m||x||null)}var et=["item"];function xe(u){var s=u.item,b=(0,G.Z)(u,et);return Object.defineProperty(b,"item",{get:function(){return(0,D.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),s}}),b}var tt=["title","attribute","elementRef"],ot=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],at=["active"],gt=function(u){(0,te.Z)(b,u);var s=(0,re.Z)(b);function b(){return(0,ce.Z)(this,b),s.apply(this,arguments)}return(0,se.Z)(b,[{key:"render",value:function(){var m=this.props,h=m.title,g=m.attribute,N=m.elementRef,_=(0,G.Z)(m,tt),Y=(0,De.Z)(_,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,D.ZP)(!g,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),n.createElement(A.Z.Item,(0,d.Z)({},g,{title:typeof h=="string"?h:void 0},Y,{ref:N}))}}]),b}(n.Component),Nt=n.forwardRef(function(u,s){var b,x=u.style,m=u.className,h=u.eventKey,g=u.warnKey,N=u.disabled,_=u.itemIcon,Y=u.children,Te=u.role,$e=u.onMouseEnter,Le=u.onMouseLeave,ze=u.onClick,we=u.onKeyDown,Ye=u.onFocus,Ve=(0,G.Z)(u,ot),Qe=he(h),Be=n.useContext(W),Oe=Be.prefixCls,Se=Be.onItemClick,He=Be.disabled,je=Be.overflowDisabled,nt=Be.itemIcon,Ke=Be.selectedKeys,xt=Be.onActive,Fe=n.useContext(ie),mt=Fe._internalRenderMenuItem,rt="".concat(Oe,"-item"),it=n.useRef(),Ct=n.useRef(),yt=He||N,Tt=(0,Xe.x1)(s,Ct),ct=T(h),Ot=function(lt){return{key:h,keyPath:(0,X.Z)(ct).reverse(),item:it.current,domEvent:lt}},Et=_||nt,Pt=ke(h,yt,$e,Le),Yt=Pt.active,Qt=(0,G.Z)(Pt,at),Ht=Ke.includes(h),Jt=qe(ct.length),_t=function(lt){if(!yt){var Rt=Ot(lt);ze==null||ze(xe(Rt)),Se(Rt)}},ut=function(lt){if(we==null||we(lt),lt.which===L.Z.ENTER){var Rt=Ot(lt);ze==null||ze(xe(Rt)),Se(Rt)}},$t=function(lt){xt(h),Ye==null||Ye(lt)},cn={};u.role==="option"&&(cn["aria-selected"]=Ht);var qt=n.createElement(gt,(0,d.Z)({ref:it,elementRef:Tt,role:Te===null?"none":Te||"menuitem",tabIndex:N?null:-1,"data-menu-id":je&&Qe?null:Qe},Ve,Qt,cn,{component:"li","aria-disabled":N,style:(0,y.Z)((0,y.Z)({},Jt),x),className:ee()(rt,(b={},(0,i.Z)(b,"".concat(rt,"-active"),Yt),(0,i.Z)(b,"".concat(rt,"-selected"),Ht),(0,i.Z)(b,"".concat(rt,"-disabled"),yt),b),m),onClick:_t,onKeyDown:ut,onFocus:$t}),Y,n.createElement(Je,{props:(0,y.Z)((0,y.Z)({},u),{},{isSelected:Ht}),icon:Et}));return mt&&(qt=mt(qt,u,{selected:Ht})),qt});function Bt(u,s){var b=u.eventKey,x=$(),m=T(b);return n.useEffect(function(){if(x)return x.registerPath(b,m),function(){x.unregisterPath(b,m)}},[m]),x?null:n.createElement(Nt,(0,d.Z)({},u,{ref:s}))}var pt=n.forwardRef(Bt),ht=["className","children"],Ft=function(s,b){var x=s.className,m=s.children,h=(0,G.Z)(s,ht),g=n.useContext(W),N=g.prefixCls,_=g.mode,Y=g.rtl;return n.createElement("ul",(0,d.Z)({className:ee()(N,Y&&"".concat(N,"-rtl"),"".concat(N,"-sub"),"".concat(N,"-").concat(_==="inline"?"inline":"vertical"),x),role:"menu"},h,{"data-menu-list":!0,ref:b}),m)},dt=n.forwardRef(Ft);dt.displayName="SubMenuList";var Xt=dt,Vt=t(11592);function jt(u,s){return(0,Vt.Z)(u).map(function(b,x){if(n.isValidElement(b)){var m,h,g=b.key,N=(m=(h=b.props)===null||h===void 0?void 0:h.eventKey)!==null&&m!==void 0?m:g,_=N==null;_&&(N="tmp_key-".concat([].concat((0,X.Z)(s),[x]).join("-")));var Y={key:N,eventKey:N};return n.cloneElement(b,Y)}return b})}var Zt=t(35593),Ge={adjustX:1,adjustY:1},st={topLeft:{points:["bl","tl"],overflow:Ge},topRight:{points:["br","tr"],overflow:Ge},bottomLeft:{points:["tl","bl"],overflow:Ge},bottomRight:{points:["tr","br"],overflow:Ge},leftTop:{points:["tr","tl"],overflow:Ge},leftBottom:{points:["br","bl"],overflow:Ge},rightTop:{points:["tl","tr"],overflow:Ge},rightBottom:{points:["bl","br"],overflow:Ge}},jn={topLeft:{points:["bl","tl"],overflow:Ge},topRight:{points:["br","tr"],overflow:Ge},bottomLeft:{points:["tl","bl"],overflow:Ge},bottomRight:{points:["tr","br"],overflow:Ge},rightTop:{points:["tr","tl"],overflow:Ge},rightBottom:{points:["br","bl"],overflow:Ge},leftTop:{points:["tl","tr"],overflow:Ge},leftBottom:{points:["bl","br"],overflow:Ge}},Ut=null;function xn(u,s,b){if(s)return s;if(b)return b[u]||b.other}var On={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function An(u){var s=u.prefixCls,b=u.visible,x=u.children,m=u.popup,h=u.popupStyle,g=u.popupClassName,N=u.popupOffset,_=u.disabled,Y=u.mode,Te=u.onVisibleChange,$e=n.useContext(W),Le=$e.getPopupContainer,ze=$e.rtl,we=$e.subMenuOpenDelay,Ye=$e.subMenuCloseDelay,Ve=$e.builtinPlacements,Qe=$e.triggerSubMenuAction,Be=$e.forceSubMenuRender,Oe=$e.rootClassName,Se=$e.motion,He=$e.defaultMotions,je=n.useState(!1),nt=(0,v.Z)(je,2),Ke=nt[0],xt=nt[1],Fe=ze?(0,y.Z)((0,y.Z)({},jn),Ve):(0,y.Z)((0,y.Z)({},st),Ve),mt=On[Y],rt=xn(Y,Se,He),it=n.useRef(rt);Y!=="inline"&&(it.current=rt);var Ct=(0,y.Z)((0,y.Z)({},it.current),{},{leavedClassName:"".concat(s,"-hidden"),removeOnLeave:!1,motionAppear:!0}),yt=n.useRef();return n.useEffect(function(){return yt.current=(0,k.Z)(function(){xt(b)}),function(){k.Z.cancel(yt.current)}},[b]),n.createElement(Zt.Z,{prefixCls:s,popupClassName:ee()("".concat(s,"-popup"),(0,i.Z)({},"".concat(s,"-rtl"),ze),g,Oe),stretch:Y==="horizontal"?"minWidth":null,getPopupContainer:Le,builtinPlacements:Fe,popupPlacement:mt,popupVisible:Ke,popup:m,popupStyle:h,popupAlign:N&&{offset:N},action:_?[]:[Qe],mouseEnterDelay:we,mouseLeaveDelay:Ye,onPopupVisibleChange:Te,forceRender:Be,popupMotion:Ct,fresh:!0},x)}var Ln=t(77900);function on(u){var s=u.id,b=u.open,x=u.keyPath,m=u.children,h="inline",g=n.useContext(W),N=g.prefixCls,_=g.forceSubMenuRender,Y=g.motion,Te=g.defaultMotions,$e=g.mode,Le=n.useRef(!1);Le.current=$e===h;var ze=n.useState(!Le.current),we=(0,v.Z)(ze,2),Ye=we[0],Ve=we[1],Qe=Le.current?b:!1;n.useEffect(function(){Le.current&&Ve(!1)},[$e]);var Be=(0,y.Z)({},xn(h,Y,Te));x.length>1&&(Be.motionAppear=!1);var Oe=Be.onVisibleChanged;return Be.onVisibleChanged=function(Se){return!Le.current&&!Se&&Ve(!0),Oe==null?void 0:Oe(Se)},Ye?null:n.createElement(w,{mode:h,locked:!Le.current},n.createElement(Ln.default,(0,d.Z)({visible:Qe},Be,{forceRender:_,removeOnLeave:!1,leavedClassName:"".concat(N,"-hidden")}),function(Se){var He=Se.className,je=Se.style;return n.createElement(Xt,{id:s,className:He,style:je},m)}))}var En=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],an=["active"],bt=function(s){var b,x=s.style,m=s.className,h=s.title,g=s.eventKey,N=s.warnKey,_=s.disabled,Y=s.internalPopupClose,Te=s.children,$e=s.itemIcon,Le=s.expandIcon,ze=s.popupClassName,we=s.popupOffset,Ye=s.popupStyle,Ve=s.onClick,Qe=s.onMouseEnter,Be=s.onMouseLeave,Oe=s.onTitleClick,Se=s.onTitleMouseEnter,He=s.onTitleMouseLeave,je=(0,G.Z)(s,En),nt=he(g),Ke=n.useContext(W),xt=Ke.prefixCls,Fe=Ke.mode,mt=Ke.openKeys,rt=Ke.disabled,it=Ke.overflowDisabled,Ct=Ke.activeKey,yt=Ke.selectedKeys,Tt=Ke.itemIcon,ct=Ke.expandIcon,Ot=Ke.onItemClick,Et=Ke.onOpenChange,Pt=Ke.onActive,Yt=n.useContext(ie),Qt=Yt._internalRenderSubMenuItem,Ht=n.useContext(j),Jt=Ht.isSubPathKey,_t=T(),ut="".concat(xt,"-submenu"),$t=rt||_,cn=n.useRef(),qt=n.useRef(),en=$e!=null?$e:Tt,lt=Le!=null?Le:ct,Rt=mt.includes(g),Wt=!it&&Rt,Rn=Jt(yt,g),un=ke(g,$t,Se,He),tn=un.active,kn=(0,G.Z)(un,an),qn=n.useState(!1),Fn=(0,v.Z)(qn,2),hn=Fn[0],Mn=Fn[1],wn=function(It){$t||Mn(It)},Mt=function(It){wn(!0),Qe==null||Qe({key:g,domEvent:It})},Xn=function(It){wn(!1),Be==null||Be({key:g,domEvent:It})},bn=n.useMemo(function(){return tn||(Fe!=="inline"?hn||Jt([Ct],g):!1)},[Fe,tn,Ct,hn,g,Jt]),Nn=qe(_t.length),Vn=function(It){$t||(Oe==null||Oe({key:g,domEvent:It}),Fe==="inline"&&Et(g,!Rt))},dn=I(function(wt){Ve==null||Ve(xe(wt)),Ot(wt)}),Cn=function(It){Fe!=="inline"&&Et(g,It)},yn=function(){Pt(g)},$n=nt&&"".concat(nt,"-popup"),mn=n.createElement("div",(0,d.Z)({role:"menuitem",style:Nn,className:"".concat(ut,"-title"),tabIndex:$t?null:-1,ref:cn,title:typeof h=="string"?h:null,"data-menu-id":it&&nt?null:nt,"aria-expanded":Wt,"aria-haspopup":!0,"aria-controls":$n,"aria-disabled":$t,onClick:Vn,onFocus:yn},kn),h,n.createElement(Je,{icon:Fe!=="horizontal"?lt:void 0,props:(0,y.Z)((0,y.Z)({},s),{},{isOpen:Wt,isSubMenu:!0})},n.createElement("i",{className:"".concat(ut,"-arrow")}))),St=n.useRef(Fe);if(Fe!=="inline"&&_t.length>1?St.current="vertical":St.current=Fe,!it){var fn=St.current;mn=n.createElement(An,{mode:fn,prefixCls:ut,visible:!Y&&Wt&&Fe!=="inline",popupClassName:ze,popupOffset:we,popupStyle:Ye,popup:n.createElement(w,{mode:fn==="horizontal"?"vertical":fn},n.createElement(Xt,{id:$n,ref:qt},Te)),disabled:$t,onVisibleChange:Cn},mn)}var nn=n.createElement(A.Z.Item,(0,d.Z)({role:"none"},je,{component:"li",style:x,className:ee()(ut,"".concat(ut,"-").concat(Fe),m,(b={},(0,i.Z)(b,"".concat(ut,"-open"),Wt),(0,i.Z)(b,"".concat(ut,"-active"),bn),(0,i.Z)(b,"".concat(ut,"-selected"),Rn),(0,i.Z)(b,"".concat(ut,"-disabled"),$t),b)),onMouseEnter:Mt,onMouseLeave:Xn}),mn,!it&&n.createElement(on,{id:$n,open:Wt,keyPath:_t},Te));return Qt&&(nn=Qt(nn,s,{selected:Rn,active:bn,open:Wt,disabled:$t})),n.createElement(w,{onItemClick:dn,mode:Fe==="horizontal"?"vertical":Fe,itemIcon:en,expandIcon:lt},nn)};function Gt(u){var s=u.eventKey,b=u.children,x=T(s),m=jt(b,x),h=$();n.useEffect(function(){if(h)return h.registerPath(s,x),function(){h.unregisterPath(s,x)}},[x]);var g;return h?g=m:g=n.createElement(bt,u,m),n.createElement(z.Provider,{value:x},g)}var zn=t(76190),Dt=["className","title","eventKey","children"],vn=["children"],ln=function(s){var b=s.className,x=s.title,m=s.eventKey,h=s.children,g=(0,G.Z)(s,Dt),N=n.useContext(W),_=N.prefixCls,Y="".concat(_,"-item-group");return n.createElement("li",(0,d.Z)({role:"presentation"},g,{onClick:function($e){return $e.stopPropagation()},className:ee()(Y,b)}),n.createElement("div",{role:"presentation",className:"".concat(Y,"-title"),title:typeof x=="string"?x:void 0},x),n.createElement("ul",{role:"group",className:"".concat(Y,"-list")},h))};function gn(u){var s=u.children,b=(0,G.Z)(u,vn),x=T(b.eventKey),m=jt(s,x),h=$();return h?m:n.createElement(ln,(0,De.Z)(b,["warnKey"]),m)}function At(u){var s=u.className,b=u.style,x=n.useContext(W),m=x.prefixCls,h=$();return h?null:n.createElement("li",{role:"separator",className:ee()("".concat(m,"-item-divider"),s),style:b})}var Kn=["label","children","key","type"];function sn(u){return(u||[]).map(function(s,b){if(s&&(0,zn.Z)(s)==="object"){var x=s,m=x.label,h=x.children,g=x.key,N=x.type,_=(0,G.Z)(x,Kn),Y=g!=null?g:"tmp-".concat(b);return h||N==="group"?N==="group"?n.createElement(gn,(0,d.Z)({key:Y},_,{title:m}),sn(h)):n.createElement(Gt,(0,d.Z)({key:Y},_,{title:m}),sn(h)):N==="divider"?n.createElement(At,(0,d.Z)({key:Y},_)):n.createElement(pt,(0,d.Z)({key:Y},_),m)}return null}).filter(function(s){return s})}function Hn(u,s,b){var x=u;return s&&(x=sn(s)),jt(x,b)}var Wn=["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"],Lt=[],pn=n.forwardRef(function(u,s){var b,x,m=u,h=m.prefixCls,g=h===void 0?"rc-menu":h,N=m.rootClassName,_=m.style,Y=m.className,Te=m.tabIndex,$e=Te===void 0?0:Te,Le=m.items,ze=m.children,we=m.direction,Ye=m.id,Ve=m.mode,Qe=Ve===void 0?"vertical":Ve,Be=m.inlineCollapsed,Oe=m.disabled,Se=m.disabledOverflow,He=m.subMenuOpenDelay,je=He===void 0?.1:He,nt=m.subMenuCloseDelay,Ke=nt===void 0?.1:nt,xt=m.forceSubMenuRender,Fe=m.defaultOpenKeys,mt=m.openKeys,rt=m.activeKey,it=m.defaultActiveFirst,Ct=m.selectable,yt=Ct===void 0?!0:Ct,Tt=m.multiple,ct=Tt===void 0?!1:Tt,Ot=m.defaultSelectedKeys,Et=m.selectedKeys,Pt=m.onSelect,Yt=m.onDeselect,Qt=m.inlineIndent,Ht=Qt===void 0?24:Qt,Jt=m.motion,_t=m.defaultMotions,ut=m.triggerSubMenuAction,$t=ut===void 0?"hover":ut,cn=m.builtinPlacements,qt=m.itemIcon,en=m.expandIcon,lt=m.overflowedIndicator,Rt=lt===void 0?"...":lt,Wt=m.overflowedIndicatorPopupClassName,Rn=m.getPopupContainer,un=m.onClick,tn=m.onOpenChange,kn=m.onKeyDown,qn=m.openAnimation,Fn=m.openTransitionName,hn=m._internalRenderMenuItem,Mn=m._internalRenderSubMenuItem,wn=(0,G.Z)(m,Wn),Mt=n.useMemo(function(){return Hn(ze,Le,Lt)},[ze,Le]),Xn=n.useState(!1),bn=(0,v.Z)(Xn,2),Nn=bn[0],Vn=bn[1],dn=n.useRef(),Cn=ne(Ye),yn=we==="rtl",$n=(0,K.Z)(Fe,{value:mt,postState:function(Ze){return Ze||Lt}}),mn=(0,v.Z)($n,2),St=mn[0],fn=mn[1],nn=function(Ze){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function ft(){fn(Ze),tn==null||tn(Ze)}We?(0,U.flushSync)(ft):ft()},wt=n.useState(St),It=(0,v.Z)(wt,2),vr=It[0],gr=It[1],Un=n.useRef(!1),pr=n.useMemo(function(){return(Qe==="inline"||Qe==="vertical")&&Be?["vertical",Be]:[Qe,!1]},[Qe,Be]),er=(0,v.Z)(pr,2),Bn=er[0],Gn=er[1],tr=Bn==="inline",hr=n.useState(Bn),nr=(0,v.Z)(hr,2),kt=nr[0],br=nr[1],Cr=n.useState(Gn),rr=(0,v.Z)(Cr,2),yr=rr[0],$r=rr[1];n.useEffect(function(){br(Bn),$r(Gn),Un.current&&(tr?fn(vr):nn(Lt))},[Bn,Gn]);var Sr=n.useState(0),or=(0,v.Z)(Sr,2),Zn=or[0],Ir=or[1],Yn=Zn>=Mt.length-1||kt!=="horizontal"||Se;n.useEffect(function(){tr&&gr(St)},[St]),n.useEffect(function(){return Un.current=!0,function(){Un.current=!1}},[]);var rn=Z(),ar=rn.registerPath,ir=rn.unregisterPath,xr=rn.refreshOverflowKeys,lr=rn.isSubPathKey,Or=rn.getKeyPath,sr=rn.getKeys,Er=rn.getSubPathKeys,Pr=n.useMemo(function(){return{registerPath:ar,unregisterPath:ir}},[ar,ir]),Rr=n.useMemo(function(){return{isSubPathKey:lr}},[lr]);n.useEffect(function(){xr(Yn?Lt:Mt.slice(Zn+1).map(function(Ue){return Ue.key}))},[Zn,Yn]);var Mr=(0,K.Z)(rt||it&&((b=Mt[0])===null||b===void 0?void 0:b.key),{value:rt}),cr=(0,v.Z)(Mr,2),Sn=cr[0],Qn=cr[1],wr=I(function(Ue){Qn(Ue)}),Nr=I(function(){Qn(void 0)});(0,n.useImperativeHandle)(s,function(){return{list:dn.current,focus:function(Ze){var We,ft=sr(),vt=e(ft,Cn),Tn=vt.elements,Jn=vt.key2element,Hr=vt.element2key,mr=f(dn.current,Tn),fr=Sn!=null?Sn:mr[0]?Hr.get(mr[0]):(We=Mt.find(function(Wr){return!Wr.props.disabled}))===null||We===void 0?void 0:We.key,In=Jn.get(fr);if(fr&&In){var _n;In==null||(_n=In.focus)===null||_n===void 0||_n.call(In,Ze)}}}});var Br=(0,K.Z)(Ot||[],{value:Et,postState:function(Ze){return Array.isArray(Ze)?Ze:Ze==null?Lt:[Ze]}}),ur=(0,v.Z)(Br,2),Dn=ur[0],Zr=ur[1],Dr=function(Ze){if(yt){var We=Ze.key,ft=Dn.includes(We),vt;ct?ft?vt=Dn.filter(function(Jn){return Jn!==We}):vt=[].concat((0,X.Z)(Dn),[We]):vt=[We],Zr(vt);var Tn=(0,y.Z)((0,y.Z)({},Ze),{},{selectedKeys:vt});ft?Yt==null||Yt(Tn):Pt==null||Pt(Tn)}!ct&&St.length&&kt!=="inline"&&nn(Lt)},Tr=I(function(Ue){un==null||un(xe(Ue)),Dr(Ue)}),dr=I(function(Ue,Ze){var We=St.filter(function(vt){return vt!==Ue});if(Ze)We.push(Ue);else if(kt!=="inline"){var ft=Er(Ue);We=We.filter(function(vt){return!ft.has(vt)})}(0,H.Z)(St,We,!0)||nn(We,!0)}),jr=function(Ze,We){var ft=We!=null?We:!St.includes(Ze);dr(Ze,ft)},Ar=r(kt,Sn,yn,Cn,dn,sr,Or,Qn,jr,kn);n.useEffect(function(){Vn(!0)},[]);var Lr=n.useMemo(function(){return{_internalRenderMenuItem:hn,_internalRenderSubMenuItem:Mn}},[hn,Mn]),zr=kt!=="horizontal"||Se?Mt:Mt.map(function(Ue,Ze){return n.createElement(w,{key:Ue.key,overflowDisabled:Ze>Zn},Ue)}),Kr=n.createElement(A.Z,(0,d.Z)({id:Ye,ref:dn,prefixCls:"".concat(g,"-overflow"),component:"ul",itemComponent:pt,className:ee()(g,"".concat(g,"-root"),"".concat(g,"-").concat(kt),Y,(x={},(0,i.Z)(x,"".concat(g,"-inline-collapsed"),yr),(0,i.Z)(x,"".concat(g,"-rtl"),yn),x),N),dir:we,style:_,role:"menu",tabIndex:$e,data:zr,renderRawItem:function(Ze){return Ze},renderRawRest:function(Ze){var We=Ze.length,ft=We?Mt.slice(-We):null;return n.createElement(Gt,{eventKey:P,title:Rt,disabled:Yn,internalPopupClose:We===0,popupClassName:Wt},ft)},maxCount:kt!=="horizontal"||Se?A.Z.INVALIDATE:A.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ze){Ir(Ze)},onKeyDown:Ar},wn));return n.createElement(ie.Provider,{value:Lr},n.createElement(de.Provider,{value:Cn},n.createElement(w,{prefixCls:g,rootClassName:N,mode:kt,openKeys:St,rtl:yn,disabled:Oe,motion:Nn?Jt:null,defaultMotions:Nn?_t:null,activeKey:Sn,onActive:wr,onInactive:Nr,selectedKeys:Dn,inlineIndent:Ht,subMenuOpenDelay:je,subMenuCloseDelay:Ke,forceSubMenuRender:xt,builtinPlacements:cn,triggerSubMenuAction:$t,getPopupContainer:Rn,itemIcon:qt,expandIcon:en,onItemClick:Tr,onOpenChange:dr},n.createElement(j.Provider,{value:Rr},Kr),n.createElement("div",{style:{display:"none"},"aria-hidden":!0},n.createElement(E.Provider,{value:Pr},Mt)))))}),Pn=pn,zt=Pn;zt.Item=pt,zt.SubMenu=Gt,zt.ItemGroup=gn,zt.Divider=At;var Kt=zt},83836:function(_e,ue,t){t.d(ue,{Z:function(){return B}});var d=t(54476),i=t(33885),y=t(42978),X=t(75931),v=t(59301),G=t(92310),V=t.n(G),ee=t(29301),A=t(34280),K=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],H=void 0;function D(l,S){var J=l.prefixCls,L=l.invalidate,k=l.item,q=l.renderItem,me=l.responsive,fe=l.responsiveDisabled,ve=l.registerSize,Ce=l.itemKey,Ne=l.className,ye=l.style,ge=l.children,Me=l.display,Pe=l.order,Ae=l.component,Ie=Ae===void 0?"div":Ae,f=(0,X.Z)(l,K),a=me&&!Me;function e(O){ve(Ce,O)}v.useEffect(function(){return function(){e(null)}},[]);var r=q&&k!==H?q(k,{index:Pe}):ge,o;L||(o={opacity:a?0:1,height:a?0:H,overflowY:a?"hidden":H,order:me?Pe:H,pointerEvents:a?"none":H,position:a?"absolute":H});var p={};a&&(p["aria-hidden"]=!0);var C=v.createElement(Ie,(0,d.Z)({className:V()(!L&&J,Ne),style:(0,i.Z)((0,i.Z)({},o),ye)},p,f,{ref:S}),r);return me&&(C=v.createElement(ee.Z,{onResize:function(P){var Z=P.offsetWidth;e(Z)},disabled:fe},C)),C}var n=v.forwardRef(D);n.displayName="Item";var U=n,de=t(6089),pe=t(4676),he=t(16089);function M(l){if(typeof MessageChannel=="undefined")(0,he.Z)(l);else{var S=new MessageChannel;S.port1.onmessage=function(){return l()},S.port2.postMessage(void 0)}}function Re(){var l=v.useRef(null),S=function(L){l.current||(l.current=[],M(function(){(0,pe.unstable_batchedUpdates)(function(){l.current.forEach(function(k){k()}),l.current=null})})),l.current.push(L)};return S}function W(l,S){var J=v.useState(S),L=(0,y.Z)(J,2),k=L[0],q=L[1],me=(0,de.Z)(function(fe){l(function(){q(fe)})});return[k,me]}var oe=v.createContext(null),w=["component"],Q=["className"],E=["className"],$=function(S,J){var L=v.useContext(oe);if(!L){var k=S.component,q=k===void 0?"div":k,me=(0,X.Z)(S,w);return v.createElement(q,(0,d.Z)({},me,{ref:J}))}var fe=L.className,ve=(0,X.Z)(L,Q),Ce=S.className,Ne=(0,X.Z)(S,E);return v.createElement(oe.Provider,{value:null},v.createElement(U,(0,d.Z)({ref:J,className:V()(fe,Ce)},ve,Ne)))},z=v.forwardRef($);z.displayName="RawItem";var T=z,j=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],ae="responsive",ie="invalidate";function be(l){return"+ ".concat(l.length," ...")}function Ee(l,S){var J=l.prefixCls,L=J===void 0?"rc-overflow":J,k=l.data,q=k===void 0?[]:k,me=l.renderItem,fe=l.renderRawItem,ve=l.itemKey,Ce=l.itemWidth,Ne=Ce===void 0?10:Ce,ye=l.ssr,ge=l.style,Me=l.className,Pe=l.maxCount,Ae=l.renderRest,Ie=l.renderRawRest,f=l.prefix,a=l.suffix,e=l.component,r=e===void 0?"div":e,o=l.itemComponent,p=l.onVisibleChange,C=(0,X.Z)(l,j),O=ye==="full",P=Re(),Z=W(P,null),I=(0,y.Z)(Z,2),F=I[0],le=I[1],ne=F||0,ce=W(P,new Map),se=(0,y.Z)(ce,2),te=se[0],re=se[1],De=W(P,0),Xe=(0,y.Z)(De,2),ke=Xe[0],qe=Xe[1],Je=W(P,0),et=(0,y.Z)(Je,2),xe=et[0],tt=et[1],ot=W(P,0),at=(0,y.Z)(ot,2),gt=at[0],Nt=at[1],Bt=W(P,0),pt=(0,y.Z)(Bt,2),ht=pt[0],Ft=pt[1],dt=(0,v.useState)(null),Xt=(0,y.Z)(dt,2),Vt=Xt[0],jt=Xt[1],Zt=(0,v.useState)(null),Ge=(0,y.Z)(Zt,2),st=Ge[0],jn=Ge[1],Ut=v.useMemo(function(){return st===null&&O?Number.MAX_SAFE_INTEGER:st||0},[st,F]),xn=(0,v.useState)(!1),On=(0,y.Z)(xn,2),An=On[0],Ln=On[1],on="".concat(L,"-item"),En=Math.max(ke,xe),an=Pe===ae,bt=q.length&&an,Gt=Pe===ie,zn=bt||typeof Pe=="number"&&q.length>Pe,Dt=(0,v.useMemo)(function(){var h=q;return bt?F===null&&O?h=q:h=q.slice(0,Math.min(q.length,ne/Ne)):typeof Pe=="number"&&(h=q.slice(0,Pe)),h},[q,Ne,F,Pe,bt]),vn=(0,v.useMemo)(function(){return bt?q.slice(Ut+1):q.slice(Dt.length)},[q,Dt,bt,Ut]),ln=(0,v.useCallback)(function(h,g){var N;return typeof ve=="function"?ve(h):(N=ve&&(h==null?void 0:h[ve]))!==null&&N!==void 0?N:g},[ve]),gn=(0,v.useCallback)(me||function(h){return h},[me]);function At(h,g,N){st===h&&(g===void 0||g===Vt)||(jn(h),N||(Ln(h<q.length-1),p==null||p(h)),g!==void 0&&jt(g))}function Kn(h,g){le(g.clientWidth)}function sn(h,g){re(function(N){var _=new Map(N);return g===null?_.delete(h):_.set(h,g),_})}function Hn(h,g){tt(g),qe(xe)}function Wn(h,g){Nt(g)}function Lt(h,g){Ft(g)}function pn(h){return te.get(ln(Dt[h],h))}(0,A.Z)(function(){if(ne&&typeof En=="number"&&Dt){var h=gt+ht,g=Dt.length,N=g-1;if(!g){At(0,null);return}for(var _=0;_<g;_+=1){var Y=pn(_);if(O&&(Y=Y||0),Y===void 0){At(_-1,void 0,!0);break}if(h+=Y,N===0&&h<=ne||_===N-1&&h+pn(N)<=ne){At(N,null);break}else if(h+En>ne){At(_-1,h-Y-ht+xe);break}}a&&pn(0)+ht>ne&&jt(null)}},[ne,te,xe,gt,ht,ln,Dt]);var Pn=An&&!!vn.length,zt={};Vt!==null&&bt&&(zt={position:"absolute",left:Vt,top:0});var Kt={prefixCls:on,responsive:bt,component:o,invalidate:Gt},u=fe?function(h,g){var N=ln(h,g);return v.createElement(oe.Provider,{key:N,value:(0,i.Z)((0,i.Z)({},Kt),{},{order:g,item:h,itemKey:N,registerSize:sn,display:g<=Ut})},fe(h,g))}:function(h,g){var N=ln(h,g);return v.createElement(U,(0,d.Z)({},Kt,{order:g,key:N,item:h,renderItem:gn,itemKey:N,registerSize:sn,display:g<=Ut}))},s={order:Pn?Ut:Number.MAX_SAFE_INTEGER,className:"".concat(on,"-rest"),registerSize:Hn,display:Pn},b=Ae||be,x=Ie?v.createElement(oe.Provider,{value:(0,i.Z)((0,i.Z)({},Kt),s)},Ie(vn)):v.createElement(U,(0,d.Z)({},Kt,s),typeof b=="function"?b(vn):b),m=v.createElement(r,(0,d.Z)({className:V()(!Gt&&L,Me),style:ge,ref:S},C),f&&v.createElement(U,(0,d.Z)({},Kt,{responsive:an,responsiveDisabled:!bt,order:-1,className:"".concat(on,"-prefix"),registerSize:Wn,display:!0}),f),Dt.map(u),zn?x:null,a&&v.createElement(U,(0,d.Z)({},Kt,{responsive:an,responsiveDisabled:!bt,order:Ut,className:"".concat(on,"-suffix"),registerSize:Lt,display:!0,style:zt}),a));return an?v.createElement(ee.Z,{onResize:Kn,disabled:!bt},m):m}var c=v.forwardRef(Ee);c.displayName="Overflow",c.Item=T,c.RESPONSIVE=ae,c.INVALIDATE=ie;var R=c,B=R}}]);