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__Innovation__index.755875...

17 lines
124 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[680],{18785:function(St,ie,e){e.d(ie,{Z:function(){return N}});var n=e(60499),g=e(59301),Z={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"},_=Z,$=e(7657),D=function(I,L){return g.createElement($.Z,(0,n.Z)({},I,{ref:L,icon:_}))},z=g.forwardRef(D),N=z},87169:function(St,ie,e){e.d(ie,{Z:function(){return N}});var n=e(60499),g=e(59301),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},_=Z,$=e(7657),D=function(I,L){return g.createElement($.Z,(0,n.Z)({},I,{ref:L,icon:_}))},z=g.forwardRef(D),N=z},33853:function(St,ie,e){e.d(ie,{Z:function(){return N}});var n=e(60499),g=e(59301),Z={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"},_=Z,$=e(7657),D=function(I,L){return g.createElement($.Z,(0,n.Z)({},I,{ref:L,icon:_}))},z=g.forwardRef(D),N=z},68196:function(St,ie,e){e.d(ie,{Z:function(){return yt}});var n=e(85899),g=e(72190),Z=e(42244),_=e(43403),$=e(92310),D=e.n($),z=e(29301),N=e(76846),V=e(96452),I=e(6089),L=e(80402),F=e(34280),r=e(49658),S=e(59301),Re=e(60499),xe=e(77900),ze=e(8654);function $e(c){var A=c.prefixCls,l=c.align,B=c.arrow,i=c.arrowPos,a=B||{},t=a.className,h=a.content,d=i.x,x=d===void 0?0:d,K=i.y,j=K===void 0?0:K,T=S.useRef();if(!l||!l.points)return null;var U={position:"absolute"};if(l.autoArrow!==!1){var q=l.points[0],pe=l.points[1],ce=q[0],he=q[1],ue=pe[0],ee=pe[1];ce===ue||!["t","b"].includes(ce)?U.top=j:ce==="t"?U.top=0:U.bottom=0,he===ee||!["l","r"].includes(he)?U.left=x:he==="l"?U.left=0:U.right=0}return S.createElement("div",{ref:T,className:D()("".concat(A,"-arrow"),t),style:U},h)}function je(c){var A=c.prefixCls,l=c.open,B=c.zIndex,i=c.mask,a=c.motion;return i?S.createElement(xe.default,(0,Re.Z)({},a,{motionAppear:!0,visible:l,removeOnLeave:!0}),function(t){var h=t.className;return S.createElement("div",{style:{zIndex:B},className:D()("".concat(A,"-mask"),h)})}):null}var Q=S.memo(function(c){var A=c.children;return A},function(c,A){return A.cache}),Ye=Q,Le=S.forwardRef(function(c,A){var l=c.popup,B=c.className,i=c.prefixCls,a=c.style,t=c.target,h=c.onVisibleChanged,d=c.open,x=c.keepDom,K=c.fresh,j=c.onClick,T=c.mask,U=c.arrow,q=c.arrowPos,pe=c.align,ce=c.motion,he=c.maskMotion,ue=c.forceRender,ee=c.getPopupContainer,X=c.autoDestroy,J=c.portal,G=c.zIndex,nt=c.onMouseEnter,Qe=c.onMouseLeave,Ue=c.onPointerEnter,ft=c.onPointerDownCapture,Zt=c.ready,vt=c.offsetX,Pe=c.offsetY,pt=c.offsetR,rt=c.offsetB,Oe=c.onAlign,He=c.onPrepare,te=c.stretch,lt=c.targetWidth,et=c.targetHeight,mt=typeof l=="function"?l():l,Ie=d||x,en=(ee==null?void 0:ee.length)>0,tt=S.useState(!ee||!en),Tt=(0,g.Z)(tt,2),gt=Tt[0],Ht=Tt[1];if((0,F.Z)(function(){!gt&&en&&t&&Ht(!0)},[gt,en,t]),!gt)return null;var Dt="auto",Bt={left:"-1000vw",top:"-1000vh",right:Dt,bottom:Dt};if(Zt||!d){var gn,hn=pe.points,Ge=pe.dynamicInset||((gn=pe._experimental)===null||gn===void 0?void 0:gn.dynamicInset),st=Ge&&hn[0][1]==="r",ht=Ge&&hn[0][0]==="b";st?(Bt.right=pt,Bt.left=Dt):(Bt.left=vt,Bt.right=Dt),ht?(Bt.bottom=rt,Bt.top=Dt):(Bt.top=Pe,Bt.bottom=Dt)}var ct={};return te&&(te.includes("height")&&et?ct.height=et:te.includes("minHeight")&&et&&(ct.minHeight=et),te.includes("width")&&lt?ct.width=lt:te.includes("minWidth")&&lt&&(ct.minWidth=lt)),d||(ct.pointerEvents="none"),S.createElement(J,{open:ue||Ie,getContainer:ee&&function(){return ee(t)},autoDestroy:X},S.createElement(je,{prefixCls:i,open:d,zIndex:G,mask:T,motion:he}),S.createElement(z.Z,{onResize:Oe,disabled:!d},function(un){return S.createElement(xe.default,(0,Re.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ue,leavedClassName:"".concat(i,"-hidden")},ce,{onAppearPrepare:He,onEnterPrepare:He,visible:d,onVisibleChanged:function(kt){var zt;ce==null||(zt=ce.onVisibleChanged)===null||zt===void 0||zt.call(ce,kt),h(kt)}}),function(on,kt){var zt=on.className,dn=on.style,tn=D()(i,zt,B);return S.createElement("div",{ref:(0,ze.sQ)(un,A,kt),className:tn,style:(0,n.Z)((0,n.Z)((0,n.Z)((0,n.Z)({"--arrow-x":"".concat(q.x||0,"px"),"--arrow-y":"".concat(q.y||0,"px")},Bt),ct),dn),{},{boxSizing:"border-box",zIndex:G},a),onMouseEnter:nt,onMouseLeave:Qe,onPointerEnter:Ue,onClick:j,onPointerDownCapture:ft},U&&S.createElement($e,{prefixCls:i,arrow:U,arrowPos:q,align:pe}),S.createElement(Ye,{cache:!d&&!K},mt))})}))}),de=Le,dt=S.forwardRef(function(c,A){var l=c.children,B=c.getTriggerDOMNode,i=(0,ze.Yr)(l),a=S.useCallback(function(h){(0,ze.mH)(A,B?B(h):h)},[B]),t=(0,ze.x1)(a,(0,ze.C4)(l));return i?S.cloneElement(l,{ref:t}):l}),ke=dt,xt=S.createContext(null),qe=xt;function le(c){return c?Array.isArray(c)?c:[c]:[]}function Te(c,A,l,B){return S.useMemo(function(){var i=le(l!=null?l:A),a=le(B!=null?B:A),t=new Set(i),h=new Set(a);return c&&(t.has("hover")&&(t.delete("hover"),t.add("click")),h.has("hover")&&(h.delete("hover"),h.add("click"))),[t,h]},[c,A,l,B])}var b=e(29194);function u(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],l=arguments.length>2?arguments[2]:void 0;return l?c[0]===A[0]:c[0]===A[0]&&c[1]===A[1]}function C(c,A,l,B){for(var i=l.points,a=Object.keys(c),t=0;t<a.length;t+=1){var h,d=a[t];if(u((h=c[d])===null||h===void 0?void 0:h.points,i,B))return"".concat(A,"-placement-").concat(d)}return""}function P(c,A,l,B){return A||(l?{motionName:"".concat(c,"-").concat(l)}:B?{motionName:B}:null)}function p(c){return c.ownerDocument.defaultView}function H(c){for(var A=[],l=c==null?void 0:c.parentElement,B=["hidden","scroll","clip","auto"];l;){var i=p(l).getComputedStyle(l),a=i.overflowX,t=i.overflowY,h=i.overflow;[a,t,h].some(function(d){return B.includes(d)})&&A.push(l),l=l.parentElement}return A}function M(c){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(c)?A:c}function W(c){return M(parseFloat(c),0)}function O(c,A){var l=(0,n.Z)({},c);return(A||[]).forEach(function(B){if(!(B instanceof HTMLBodyElement||B instanceof HTMLHtmlElement)){var i=p(B).getComputedStyle(B),a=i.overflow,t=i.overflowClipMargin,h=i.borderTopWidth,d=i.borderBottomWidth,x=i.borderLeftWidth,K=i.borderRightWidth,j=B.getBoundingClientRect(),T=B.offsetHeight,U=B.clientHeight,q=B.offsetWidth,pe=B.clientWidth,ce=W(h),he=W(d),ue=W(x),ee=W(K),X=M(Math.round(j.width/q*1e3)/1e3),J=M(Math.round(j.height/T*1e3)/1e3),G=(q-pe-ue-ee)*X,nt=(T-U-ce-he)*J,Qe=ce*J,Ue=he*J,ft=ue*X,Zt=ee*X,vt=0,Pe=0;if(a==="clip"){var pt=W(t);vt=pt*X,Pe=pt*J}var rt=j.x+ft-vt,Oe=j.y+Qe-Pe,He=rt+j.width+2*vt-ft-Zt-G,te=Oe+j.height+2*Pe-Qe-Ue-nt;l.left=Math.max(l.left,rt),l.top=Math.max(l.top,Oe),l.right=Math.min(l.right,He),l.bottom=Math.min(l.bottom,te)}}),l}function w(c){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,l="".concat(A),B=l.match(/^(.*)\%$/);return B?c*(parseFloat(B[1])/100):parseFloat(l)}function R(c,A){var l=A||[],B=(0,g.Z)(l,2),i=B[0],a=B[1];return[w(c.width,i),w(c.height,a)]}function re(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[c[0],c[1]]}function se(c,A){var l=A[0],B=A[1],i,a;return l==="t"?a=c.y:l==="b"?a=c.y+c.height:a=c.y+c.height/2,B==="l"?i=c.x:B==="r"?i=c.x+c.width:i=c.x+c.width/2,{x:i,y:a}}function ve(c,A){var l={t:"b",b:"t",l:"r",r:"l"};return c.map(function(B,i){return i===A?l[B]||"c":B}).join("")}function be(c,A,l,B,i,a,t){var h=S.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[B]||{}}),d=(0,g.Z)(h,2),x=d[0],K=d[1],j=S.useRef(0),T=S.useMemo(function(){return A?H(A):[]},[A]),U=S.useRef({}),q=function(){U.current={}};c||q();var pe=(0,I.Z)(function(){if(A&&l&&c){let Kt=function(Jt,bn){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$n,Un=Ie.x+Jt,qn=Ie.y+bn,tr=Un+ht,Xn=qn+st,nr=Math.max(Un,Tn.left),Y=Math.max(qn,Tn.top),oe=Math.min(tr,Tn.right),at=Math.min(Xn,Tn.bottom);return Math.max(0,(oe-nr)*(at-Y))},bt=function(){At=Ie.y+fe,Lt=At+st,Ut=Ie.x+ne,wt=Ut+ht};var ue,ee,X,J,G=A,nt=G.ownerDocument,Qe=p(G),Ue=Qe.getComputedStyle(G),ft=Ue.position,Zt=G.style.left,vt=G.style.top,Pe=G.style.right,pt=G.style.bottom,rt=G.style.overflow,Oe=(0,n.Z)((0,n.Z)({},i[B]),a),He=nt.createElement("div");(ue=G.parentElement)===null||ue===void 0||ue.appendChild(He),He.style.left="".concat(G.offsetLeft,"px"),He.style.top="".concat(G.offsetTop,"px"),He.style.position=ft,He.style.height="".concat(G.offsetHeight,"px"),He.style.width="".concat(G.offsetWidth,"px"),G.style.left="0",G.style.top="0",G.style.right="auto",G.style.bottom="auto",G.style.overflow="hidden";var te;if(Array.isArray(l))te={x:l[0],y:l[1],width:0,height:0};else{var lt,et,mt=l.getBoundingClientRect();mt.x=(lt=mt.x)!==null&&lt!==void 0?lt:mt.left,mt.y=(et=mt.y)!==null&&et!==void 0?et:mt.top,te={x:mt.x,y:mt.y,width:mt.width,height:mt.height}}var Ie=G.getBoundingClientRect(),en=Qe.getComputedStyle(G),tt=en.height,Tt=en.width;Ie.x=(ee=Ie.x)!==null&&ee!==void 0?ee:Ie.left,Ie.y=(X=Ie.y)!==null&&X!==void 0?X:Ie.top;var gt=nt.documentElement,Ht=gt.clientWidth,Dt=gt.clientHeight,Bt=gt.scrollWidth,gn=gt.scrollHeight,hn=gt.scrollTop,Ge=gt.scrollLeft,st=Ie.height,ht=Ie.width,ct=te.height,un=te.width,on={left:0,top:0,right:Ht,bottom:Dt},kt={left:-Ge,top:-hn,right:Bt-Ge,bottom:gn-hn},zt=Oe.htmlRegion,dn="visible",tn="visibleFirst";zt!=="scroll"&&zt!==tn&&(zt=dn);var fn=zt===tn,Dn=O(kt,T),Xe=O(on,T),$n=zt===dn?Xe:Dn,Et=fn?Xe:$n;G.style.left="auto",G.style.top="auto",G.style.right="0",G.style.bottom="0";var Kn=G.getBoundingClientRect();G.style.left=Zt,G.style.top=vt,G.style.right=Pe,G.style.bottom=pt,G.style.overflow=rt,(J=G.parentElement)===null||J===void 0||J.removeChild(He);var jt=M(Math.round(ht/parseFloat(Tt)*1e3)/1e3),pn=M(Math.round(st/parseFloat(tt)*1e3)/1e3);if(jt===0||pn===0||(0,N.Sh)(l)&&!(0,b.Z)(l))return;var kn=Oe.offset,_t=Oe.targetOffset,vn=R(Ie,kn),o=(0,g.Z)(vn,2),v=o[0],y=o[1],f=R(te,_t),s=(0,g.Z)(f,2),m=s[0],E=s[1];te.x-=m,te.y-=E;var k=Oe.points||[],ye=(0,g.Z)(k,2),ae=ye[0],Je=ye[1],me=re(Je),ge=re(ae),Se=se(te,me),De=se(Ie,ge),Ne=(0,n.Z)({},Oe),ne=Se.x-De.x+v,fe=Se.y-De.y+y,We=Kt(ne,fe),Ee=Kt(ne,fe,Xe),Me=se(te,["t","l"]),_e=se(Ie,["t","l"]),Ze=se(te,["b","r"]),Ke=se(Ie,["b","r"]),$t=Oe.overflow||{},ut=$t.adjustX,Vt=$t.adjustY,Mt=$t.shiftX,Pt=$t.shiftY,Ft=function(bn){return typeof bn=="boolean"?bn:bn>=0},At,Lt,Ut,wt;bt();var nn=Ft(Vt),ot=ge[0]===me[0];if(nn&&ge[0]==="t"&&(Lt>Et.bottom||U.current.bt)){var Gt=fe;ot?Gt-=st-ct:Gt=Me.y-Ke.y-y;var Sn=Kt(ne,Gt),Mn=Kt(ne,Gt,Xe);Sn>We||Sn===We&&(!fn||Mn>=Ee)?(U.current.bt=!0,fe=Gt,y=-y,Ne.points=[ve(ge,0),ve(me,0)]):U.current.bt=!1}if(nn&&ge[0]==="b"&&(At<Et.top||U.current.tb)){var an=fe;ot?an+=st-ct:an=Ze.y-_e.y-y;var wn=Kt(ne,an),Wt=Kt(ne,an,Xe);wn>We||wn===We&&(!fn||Wt>=Ee)?(U.current.tb=!0,fe=an,y=-y,Ne.points=[ve(ge,0),ve(me,0)]):U.current.tb=!1}var qt=Ft(ut),Pn=ge[1]===me[1];if(qt&&ge[1]==="l"&&(wt>Et.right||U.current.rl)){var ln=ne;Pn?ln-=ht-un:ln=Me.x-Ke.x-v;var sn=Kt(ln,fe),Ot=Kt(ln,fe,Xe);sn>We||sn===We&&(!fn||Ot>=Ee)?(U.current.rl=!0,ne=ln,v=-v,Ne.points=[ve(ge,1),ve(me,1)]):U.current.rl=!1}if(qt&&ge[1]==="r"&&(Ut<Et.left||U.current.lr)){var Yt=ne;Pn?Yt+=ht-un:Yt=Ze.x-_e.x-v;var cn=Kt(Yt,fe),On=Kt(Yt,fe,Xe);cn>We||cn===We&&(!fn||On>=Ee)?(U.current.lr=!0,ne=Yt,v=-v,Ne.points=[ve(ge,1),ve(me,1)]):U.current.lr=!1}bt();var Qt=Mt===!0?0:Mt;typeof Qt=="number"&&(Ut<Xe.left&&(ne-=Ut-Xe.left-v,te.x+un<Xe.left+Qt&&(ne+=te.x-Xe.left+un-Qt)),wt>Xe.right&&(ne-=wt-Xe.right-v,te.x>Xe.right-Qt&&(ne+=te.x-Xe.right+Qt)));var rn=Pt===!0?0:Pt;typeof rn=="number"&&(At<Xe.top&&(fe-=At-Xe.top-y,te.y+ct<Xe.top+rn&&(fe+=te.y-Xe.top+ct-rn)),Lt>Xe.bottom&&(fe-=Lt-Xe.bottom-y,te.y>Xe.bottom-rn&&(fe+=te.y-Xe.bottom+rn)));var xn=Ie.x+ne,Rn=xn+ht,zn=Ie.y+fe,jn=zn+st,An=te.x,Nn=An+un,Vn=te.y,Gn=Vn+ct,Bn=Math.max(xn,An),mn=Math.min(Rn,Nn),Yn=(Bn+mn)/2,Qn=Yn-xn,Ln=Math.max(zn,Vn),Fn=Math.min(jn,Gn),Hn=(Ln+Fn)/2,Zn=Hn-zn;t==null||t(A,Ne);var Xt=Kn.right-Ie.x-(ne+Ie.width),yn=Kn.bottom-Ie.y-(fe+Ie.height);jt===1&&(ne=Math.floor(ne),Xt=Math.floor(Xt)),pn===1&&(fe=Math.floor(fe),yn=Math.floor(yn));var Wn={ready:!0,offsetX:ne/jt,offsetY:fe/pn,offsetR:Xt/jt,offsetB:yn/pn,arrowX:Qn/jt,arrowY:Zn/pn,scaleX:jt,scaleY:pn,align:Ne};K(Wn)}}),ce=function(){j.current+=1;var ee=j.current;Promise.resolve().then(function(){j.current===ee&&pe()})},he=function(){K(function(ee){return(0,n.Z)((0,n.Z)({},ee),{},{ready:!1})})};return(0,F.Z)(he,[B]),(0,F.Z)(function(){c||he()},[c]),[x.ready,x.offsetX,x.offsetY,x.offsetR,x.offsetB,x.arrowX,x.arrowY,x.scaleX,x.scaleY,x.align,ce]}var Ve=e(77654);function Fe(c,A,l,B,i){(0,F.Z)(function(){if(c&&A&&l){let j=function(){B(),i()};var a=A,t=l,h=H(a),d=H(t),x=p(t),K=new Set([x].concat((0,Ve.Z)(h),(0,Ve.Z)(d)));return K.forEach(function(T){T.addEventListener("scroll",j,{passive:!0})}),x.addEventListener("resize",j,{passive:!0}),B(),function(){K.forEach(function(T){T.removeEventListener("scroll",j),x.removeEventListener("resize",j)})}}},[c,A,l])}var Ce=e(48736);function we(c,A,l,B,i,a,t,h){var d=S.useRef(c);d.current=c;var x=S.useRef(!1);S.useEffect(function(){if(A&&B&&(!i||a)){var j=function(){x.current=!1},T=function(X){var J;d.current&&!t(((J=X.composedPath)===null||J===void 0||(J=J.call(X))===null||J===void 0?void 0:J[0])||X.target)&&!x.current&&h(!1)},U=p(B);U.addEventListener("pointerdown",j,!0),U.addEventListener("mousedown",T,!0),U.addEventListener("contextmenu",T,!0);var q=(0,V.A)(l);if(q&&(q.addEventListener("mousedown",T,!0),q.addEventListener("contextmenu",T,!0)),0)var pe,ce,he,ue;return function(){U.removeEventListener("pointerdown",j,!0),U.removeEventListener("mousedown",T,!0),U.removeEventListener("contextmenu",T,!0),q&&(q.removeEventListener("mousedown",T,!0),q.removeEventListener("contextmenu",T,!0))}}},[A,l,B,i,a]);function K(){x.current=!0}return K}var Ae=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Be(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_.Z,A=S.forwardRef(function(l,B){var i=l.prefixCls,a=i===void 0?"rc-trigger-popup":i,t=l.children,h=l.action,d=h===void 0?"hover":h,x=l.showAction,K=l.hideAction,j=l.popupVisible,T=l.defaultPopupVisible,U=l.onPopupVisibleChange,q=l.afterPopupVisibleChange,pe=l.mouseEnterDelay,ce=l.mouseLeaveDelay,he=ce===void 0?.1:ce,ue=l.focusDelay,ee=l.blurDelay,X=l.mask,J=l.maskClosable,G=J===void 0?!0:J,nt=l.getPopupContainer,Qe=l.forceRender,Ue=l.autoDestroy,ft=l.destroyPopupOnHide,Zt=l.popup,vt=l.popupClassName,Pe=l.popupStyle,pt=l.popupPlacement,rt=l.builtinPlacements,Oe=rt===void 0?{}:rt,He=l.popupAlign,te=l.zIndex,lt=l.stretch,et=l.getPopupClassNameFromAlign,mt=l.fresh,Ie=l.alignPoint,en=l.onPopupClick,tt=l.onPopupAlign,Tt=l.arrow,gt=l.popupMotion,Ht=l.maskMotion,Dt=l.popupTransitionName,Bt=l.popupAnimation,gn=l.maskTransitionName,hn=l.maskAnimation,Ge=l.className,st=l.getTriggerDOMNode,ht=(0,Z.Z)(l,Ae),ct=Ue||ft||!1,un=S.useState(!1),on=(0,g.Z)(un,2),kt=on[0],zt=on[1];(0,F.Z)(function(){zt((0,r.Z)())},[]);var dn=S.useRef({}),tn=S.useContext(qe),fn=S.useMemo(function(){return{registerSubPopup:function(oe,at){dn.current[oe]=at,tn==null||tn.registerSubPopup(oe,at)}}},[tn]),Dn=(0,L.Z)(),Xe=S.useState(null),$n=(0,g.Z)(Xe,2),Et=$n[0],Kn=$n[1],jt=S.useRef(null),pn=(0,I.Z)(function(Y){jt.current=Y,(0,N.Sh)(Y)&&Et!==Y&&Kn(Y),tn==null||tn.registerSubPopup(Dn,Y)}),kn=S.useState(null),_t=(0,g.Z)(kn,2),vn=_t[0],o=_t[1],v=S.useRef(null),y=(0,I.Z)(function(Y){(0,N.Sh)(Y)&&vn!==Y&&(o(Y),v.current=Y)}),f=S.Children.only(t),s=(f==null?void 0:f.props)||{},m={},E=(0,I.Z)(function(Y){var oe,at,Rt=vn;return(Rt==null?void 0:Rt.contains(Y))||((oe=(0,V.A)(Rt))===null||oe===void 0?void 0:oe.host)===Y||Y===Rt||(Et==null?void 0:Et.contains(Y))||((at=(0,V.A)(Et))===null||at===void 0?void 0:at.host)===Y||Y===Et||Object.values(dn.current).some(function(Ct){return(Ct==null?void 0:Ct.contains(Y))||Y===Ct})}),k=P(a,gt,Bt,Dt),ye=P(a,Ht,hn,gn),ae=S.useState(T||!1),Je=(0,g.Z)(ae,2),me=Je[0],ge=Je[1],Se=j!=null?j:me,De=(0,I.Z)(function(Y){j===void 0&&ge(Y)});(0,F.Z)(function(){ge(j||!1)},[j]);var Ne=S.useRef(Se);Ne.current=Se;var ne=S.useRef([]);ne.current=[];var fe=(0,I.Z)(function(Y){var oe;De(Y),((oe=ne.current[ne.current.length-1])!==null&&oe!==void 0?oe:Se)!==Y&&(ne.current.push(Y),U==null||U(Y))}),We=S.useRef(),Ee=function(){clearTimeout(We.current)},Me=function(oe){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ee(),at===0?fe(oe):We.current=setTimeout(function(){fe(oe)},at*1e3)};S.useEffect(function(){return Ee},[]);var _e=S.useState(!1),Ze=(0,g.Z)(_e,2),Ke=Ze[0],$t=Ze[1];(0,F.Z)(function(Y){(!Y||Se)&&$t(!0)},[Se]);var ut=S.useState(null),Vt=(0,g.Z)(ut,2),Mt=Vt[0],Pt=Vt[1],Ft=S.useState(null),At=(0,g.Z)(Ft,2),Lt=At[0],Ut=At[1],wt=function(oe){Ut([oe.clientX,oe.clientY])},nn=be(Se,Et,Ie&&Lt!==null?Lt:vn,pt,Oe,He,tt),ot=(0,g.Z)(nn,11),Gt=ot[0],Sn=ot[1],Mn=ot[2],an=ot[3],wn=ot[4],Wt=ot[5],qt=ot[6],Pn=ot[7],ln=ot[8],sn=ot[9],Ot=ot[10],Yt=Te(kt,d,x,K),cn=(0,g.Z)(Yt,2),On=cn[0],Qt=cn[1],rn=On.has("click"),xn=Qt.has("click")||Qt.has("contextMenu"),Rn=(0,I.Z)(function(){Ke||Ot()}),zn=function(){Ne.current&&Ie&&xn&&Me(!1)};Fe(Se,vn,Et,Rn,zn),(0,F.Z)(function(){Rn()},[Lt,pt]),(0,F.Z)(function(){Se&&!(Oe!=null&&Oe[pt])&&Rn()},[JSON.stringify(He)]);var jn=S.useMemo(function(){var Y=C(Oe,a,sn,Ie);return D()(Y,et==null?void 0:et(sn))},[sn,et,Oe,a,Ie]);S.useImperativeHandle(B,function(){return{nativeElement:v.current,popupElement:jt.current,forceAlign:Rn}});var An=S.useState(0),Nn=(0,g.Z)(An,2),Vn=Nn[0],Gn=Nn[1],Bn=S.useState(0),mn=(0,g.Z)(Bn,2),Yn=mn[0],Qn=mn[1],Ln=function(){if(lt&&vn){var oe=vn.getBoundingClientRect();Gn(oe.width),Qn(oe.height)}},Fn=function(){Ln(),Rn()},Hn=function(oe){$t(!1),Ot(),q==null||q(oe)},Zn=function(){return new Promise(function(oe){Ln(),Pt(function(){return oe})})};(0,F.Z)(function(){Mt&&(Ot(),Mt(),Pt(null))},[Mt]);function Xt(Y,oe,at,Rt){m[Y]=function(Ct){var Jn;Rt==null||Rt(Ct),Me(oe,at);for(var En=arguments.length,ar=new Array(En>1?En-1:0),er=1;er<En;er++)ar[er-1]=arguments[er];(Jn=s[Y])===null||Jn===void 0||Jn.call.apply(Jn,[s,Ct].concat(ar))}}(rn||xn)&&(m.onClick=function(Y){var oe;Ne.current&&xn?Me(!1):!Ne.current&&rn&&(wt(Y),Me(!0));for(var at=arguments.length,Rt=new Array(at>1?at-1:0),Ct=1;Ct<at;Ct++)Rt[Ct-1]=arguments[Ct];(oe=s.onClick)===null||oe===void 0||oe.call.apply(oe,[s,Y].concat(Rt))});var yn=we(Se,xn,vn,Et,X,G,E,Me),Wn=On.has("hover"),Kt=Qt.has("hover"),bt,Jt;Wn&&(Xt("onMouseEnter",!0,pe,function(Y){wt(Y)}),Xt("onPointerEnter",!0,pe,function(Y){wt(Y)}),bt=function(oe){(Se||Ke)&&Et!==null&&Et!==void 0&&Et.contains(oe.target)&&Me(!0,pe)},Ie&&(m.onMouseMove=function(Y){var oe;(oe=s.onMouseMove)===null||oe===void 0||oe.call(s,Y)})),Kt&&(Xt("onMouseLeave",!1,he),Xt("onPointerLeave",!1,he),Jt=function(){Me(!1,he)}),On.has("focus")&&Xt("onFocus",!0,ue),Qt.has("focus")&&Xt("onBlur",!1,ee),On.has("contextMenu")&&(m.onContextMenu=function(Y){var oe;Ne.current&&Qt.has("contextMenu")?Me(!1):(wt(Y),Me(!0)),Y.preventDefault();for(var at=arguments.length,Rt=new Array(at>1?at-1:0),Ct=1;Ct<at;Ct++)Rt[Ct-1]=arguments[Ct];(oe=s.onContextMenu)===null||oe===void 0||oe.call.apply(oe,[s,Y].concat(Rt))}),Ge&&(m.className=D()(s.className,Ge));var bn=S.useRef(!1);bn.current||(bn.current=Qe||Se||Ke);var Tn=(0,n.Z)((0,n.Z)({},s),m),Un={},qn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];qn.forEach(function(Y){ht[Y]&&(Un[Y]=function(){for(var oe,at=arguments.length,Rt=new Array(at),Ct=0;Ct<at;Ct++)Rt[Ct]=arguments[Ct];(oe=Tn[Y])===null||oe===void 0||oe.call.apply(oe,[Tn].concat(Rt)),ht[Y].apply(ht,Rt)})});var tr=S.cloneElement(f,(0,n.Z)((0,n.Z)({},Tn),Un)),Xn={x:Wt,y:qt},nr=Tt?(0,n.Z)({},Tt!==!0?Tt:{}):null;return S.createElement(S.Fragment,null,S.createElement(z.Z,{disabled:!Se,ref:y,onResize:Fn},S.createElement(ke,{getTriggerDOMNode:st},tr)),bn.current&&S.createElement(qe.Provider,{value:fn},S.createElement(de,{portal:c,ref:pn,prefixCls:a,popup:Zt,className:D()(vt,jn),style:Pe,target:vn,onMouseEnter:bt,onMouseLeave:Jt,onPointerEnter:bt,zIndex:te,open:Se,keepDom:Ke,fresh:mt,onClick:en,onPointerDownCapture:yn,mask:X,motion:k,maskMotion:ye,onVisibleChanged:Hn,onPrepare:Zn,forceRender:Qe,autoDestroy:ct,getPopupContainer:nt,align:sn,arrow:nr,arrowPos:Xn,ready:Gt,offsetX:Sn,offsetY:Mn,offsetR:an,offsetB:wn,onAlign:Rn,stretch:lt,targetWidth:Vn/Pn,targetHeight:Yn/ln})))});return A}var yt=Be(_.Z)},16853:function(St,ie){ie.Z={flex_box_center:"flex_box_center___enTkV",flex_space_between:"flex_space_between___j8LoK",flex_box_vertical_center:"flex_box_vertical_center___BJ6hp",flex_box_center_end:"flex_box_center_end___KZOQH",flex_box_column:"flex_box_column___Tzu7t",wrapper:"wrapper___DnUnJ",content_wrapper:"content_wrapper___F_rCn",base_modal_style:"base_modal_style___vKqRE",menu:"menu___BpwS6",submenu:"submenu___xDr82",link:"link___b9dc8",header:"header___yrRip",title:"title___oWojk",home:"home___D896G",info:"info___n4w60"}},73449:function(St,ie,e){e.r(ie),e.d(ie,{default:function(){return W}});var n=e(59301),g=e(44283),Z=e(77019),_=e(5269),$=e(93041),D=e(62957),z=e(87169),N=e(16853),V=Object.defineProperty,I=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,r=(O,w,R)=>w in O?V(O,w,{enumerable:!0,configurable:!0,writable:!0,value:R}):O[w]=R,S=(O,w)=>{for(var R in w||(w={}))L.call(w,R)&&r(O,R,w[R]);if(I)for(var R of I(w))F.call(w,R)&&r(O,R,w[R]);return O};const Re=O=>React.createElement("svg",S({className:"my_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},O),React.createElement("defs",null,React.createElement("style",null,'@font-face{font-family:feedback-iconfont;src:url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944) format("woff2"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944) format("woff"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944) format("truetype")}')),React.createElement("path",{d:"M1024 731.429H0V0h1024v731.429zM87.771 643.657H936.23V87.771H87.77v555.886z",fill:"#464F66"}),React.createElement("path",{d:"M219.429 219.429H804.57V307.2H219.43zm0 219.428H512v87.772H219.429zM877.714 1016.686H146.286V797.257h731.428v219.429zm-643.657-87.772h555.886V885.03H234.057v43.885z",fill:"#464F66"}));var xe="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PGRlZnM+PHN0eWxlPkBmb250LWZhY2V7Zm9udC1mYW1pbHk6ZmVlZGJhY2staWNvbmZvbnQ7c3JjOnVybCgvL2F0LmFsaWNkbi5jb20vdC9mb250XzEwMzExNThfdTY5dzh5aHhkdS53b2ZmMj90PTE2MzAwMzM3NTk5NDQpIGZvcm1hdCgmcXVvdDt3b2ZmMiZxdW90OyksdXJsKC8vYXQuYWxpY2RuLmNvbS90L2ZvbnRfMTAzMTE1OF91Njl3OHloeGR1LndvZmY/dD0xNjMwMDMzNzU5OTQ0KSBmb3JtYXQoJnF1b3Q7d29mZiZxdW90OyksdXJsKC8vYXQuYWxpY2RuLmNvbS90L2ZvbnRfMTAzMTE1OF91Njl3OHloeGR1LnR0Zj90PTE2MzAwMzM3NTk5NDQpIGZvcm1hdCgmcXVvdDt0cnVldHlwZSZxdW90Oyl9PC9zdHlsZT48L2RlZnM+PHBhdGggZD0iTTEwMjQgNzMxLjQyOUgwVjBoMTAyNHY3MzEuNDI5ek04Ny43NzEgNjQzLjY1N0g5MzYuMjNWODcuNzcxSDg3Ljc3djU1NS44ODZ6IiBmaWxsPSIjNDY0RjY2Ii8+PHBhdGggZD0iTTIxOS40MjkgMjE5LjQyOUg4MDQuNTdWMzA3LjJIMjE5LjQzem0wIDIxOS40MjhINTEydjg3Ljc3MkgyMTkuNDI5ek04NzcuNzE0IDEwMTYuNjg2SDE0Ni4yODZWNzk3LjI1N2g3MzEuNDI4djIxOS40Mjl6bS02NDMuNjU3LTg3Ljc3Mmg1NTUuODg2Vjg4NS4wM0gyMzQuMDU3djQzLjg4NXoiIGZpbGw9IiM0NjRGNjYiLz48L3N2Zz4=",ze=Object.defineProperty,$e=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable,Ye=(O,w,R)=>w in O?ze(O,w,{enumerable:!0,configurable:!0,writable:!0,value:R}):O[w]=R,Le=(O,w)=>{for(var R in w||(w={}))je.call(w,R)&&Ye(O,R,w[R]);if($e)for(var R of $e(w))Q.call(w,R)&&Ye(O,R,w[R]);return O};const de=O=>React.createElement("svg",Le({className:"jx_svg__icon",viewBox:"0 0 1088 1024",xmlns:"http://www.w3.org/2000/svg",width:212.5,height:200},O),React.createElement("defs",null,React.createElement("style",null,'@font-face{font-family:feedback-iconfont;src:url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944) format("woff2"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944) format("woff"),url(//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944) format("truetype")}')),React.createElement("path",{d:"M544 953.6 57.6 723.2V512h76.8v160L544 870.4 953.6 672V512h76.8v211.2zm0-595.2L140.8 185.6 544 32l403.2 153.6L544 358.4zM307.2 192 544 288l236.8-96L544 102.4 307.2 192z",fill:"#464F66"}),React.createElement("path",{d:"M524.8 819.2 160 646.4v-416l364.8 147.2v441.6zM224 608l236.8 108.8V422.4l-236.8-96V608z",fill:"#464F66"}),React.createElement("path",{d:"M224 409.6a64 64 0 1 0 128 0 64 64 0 1 0-128 0ZM224 588.8a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z",fill:"#464F66"}),React.createElement("path",{d:"m181.056 497.792 24.704-59.072 289.28 121.024-24.704 59.072zM569.6 588.8V377.6l352-147.2v204.8l-352 153.6zm64-166.4v70.4l224-102.4v-64l-224 96zm-64 390.4v-192l352-153.6v185.6l-352 160zm64-147.2v51.2l224-108.8v-44.8l-224 102.4z",fill:"#464F66"}));var dt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwODggMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjEyLjUiIGhlaWdodD0iMjAwIj48ZGVmcz48c3R5bGU+QGZvbnQtZmFjZXtmb250LWZhbWlseTpmZWVkYmFjay1pY29uZm9udDtzcmM6dXJsKC8vYXQuYWxpY2RuLmNvbS90L2ZvbnRfMTAzMTE1OF91Njl3OHloeGR1LndvZmYyP3Q9MTYzMDAzMzc1OTk0NCkgZm9ybWF0KCZxdW90O3dvZmYyJnF1b3Q7KSx1cmwoLy9hdC5hbGljZG4uY29tL3QvZm9udF8xMDMxMTU4X3U2OXc4eWh4ZHUud29mZj90PTE2MzAwMzM3NTk5NDQpIGZvcm1hdCgmcXVvdDt3b2ZmJnF1b3Q7KSx1cmwoLy9hdC5hbGljZG4uY29tL3QvZm9udF8xMDMxMTU4X3U2OXc4eWh4ZHUudHRmP3Q9MTYzMDAzMzc1OTk0NCkgZm9ybWF0KCZxdW90O3RydWV0eXBlJnF1b3Q7KX08L3N0eWxlPjwvZGVmcz48cGF0aCBkPSJNNTQ0IDk1My42IDU3LjYgNzIzLjJWNTEyaDc2Ljh2MTYwTDU0NCA4NzAuNCA5NTMuNiA2NzJWNTEyaDc2Ljh2MjExLjJ6bTAtNTk1LjJMMTQwLjggMTg1LjYgNTQ0IDMybDQwMy4yIDE1My42TDU0NCAzNTguNHpNMzA3LjIgMTkyIDU0NCAyODhsMjM2LjgtOTZMNTQ0IDEwMi40IDMwNy4yIDE5MnoiIGZpbGw9IiM0NjRGNjYiLz48cGF0aCBkPSJNNTI0LjggODE5LjIgMTYwIDY0Ni40di00MTZsMzY0LjggMTQ3LjJ2NDQxLjZ6TTIyNCA2MDhsMjM2LjggMTA4LjhWNDIyLjRsLTIzNi44LTk2VjYwOHoiIGZpbGw9IiM0NjRGNjYiLz48cGF0aCBkPSJNMjI0IDQwOS42YTY0IDY0IDAgMSAwIDEyOCAwIDY0IDY0IDAgMSAwLTEyOCAwWk0yMjQgNTg4LjhhNjQgNjQgMCAxIDAgMTI4IDAgNjQgNjQgMCAxIDAtMTI4IDBaIiBmaWxsPSIjNDY0RjY2Ii8+PHBhdGggZD0ibTE4MS4wNTYgNDk3Ljc5MiAyNC43MDQtNTkuMDcyIDI4OS4yOCAxMjEuMDI0LTI0LjcwNCA1OS4wNzJ6TTU2OS42IDU4OC44VjM3Ny42bDM1Mi0xNDcuMnYyMDQuOGwtMzUyIDE1My42em02NC0xNjYuNHY3MC40bDIyNC0xMDIuNHYtNjRsLTIyNCA5NnptLTY0IDM5MC40di0xOTJsMzUyLTE1My42djE4NS42bC0zNTIgMTYwem02NC0xNDcuMnY1MS4ybDIyNC0xMDguOHYtNDQuOGwtMjI0IDEwMi40eiIgZmlsbD0iIzQ2NEY2NiIvPjwvc3ZnPg==",ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAWCAYAAADAQbwGAAAAAXNSR0IArs4c6QAAAqlJREFUOE+llEtIlFEUgL8zvkgXTa2yhxUmLWxSUYJMQkuC0B6S9oKSFLFFZJYFSuUIRaFEr0VWUiRWOkI5IVoRqSiFEVKaCUlZKpVtNHykUXNjnBkd5x+byH97z/nud84955eFaWqjxcJVYBEz+YQenZApwZmqW6kZwuwiIvRI6AGlPIqJS8RfMiTysBYYtgTyUkDvD5/7ofol6AQSoiBQD/3DcMoEb7odapMXSkyuFliaBfnl0NUHcQY4ngIoMFZA41tYFgh5ybDvsg3kXIDE52uBd7Jh93kIXwqHEqGwymaYsxXOVUFbNzhiXNsliae1wKJUqGqGvbFw9j7EhYKvDzS0Q/YmKK2HhEjILdN2X1KKlJpwtjd7QzikxkKBCQyLIcAPhkZBHwDP38GJZLj+BOraXHqoQPZc0hrGr4Rda6DQDMHzYP4cGBkDi4LWT5Cz2WZZ/9aNYUaxUo6mOqYhNwlqWyB5NVx5BCuCwMcb2rshfT3ca4Z4AxQ+mAq0cuTgDa2hcTsYTTY7q+ndJtDpYGc0lDVC1zcwpoCx0o3hsdtOhnbF7AQofwZfBiAsCHZEj0/NOLi9FxbMhW2r4GKtfWzsJVpjJL9Sa2hNSIiAWb4wMGwbExEwBMFsf1s/q1tsF2rG5oz5H1bP4246bcqFWjdA11fysMpTNqX4qRPQ8cxTfwYW4CYQAyz3JCu3mpRGcYInfESRlhojdTWdyq+vj5MCRwGf6cBS8cJtyQpFydBPjqTHyKBzcnmzCkMoEYhyBxXzKxeg0MsvMrZEysPpLExKefm2kq1TFCjwd46Txx2TQAWlI6NkJUWIm4HQ4mvaVLC3N9eAdY5TaXivOkTQ85v9a0PE7Knp7s4bPqh0HRQp+C6dSvlZg0JExv4H5sh5/VUF/BjE6w/jAvG03CiIyQAAAABJRU5ErkJggg==",xt=e(14185),qe=Object.defineProperty,le=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,P=(O,w,R)=>w in O?qe(O,w,{enumerable:!0,configurable:!0,writable:!0,value:R}):O[w]=R,p=(O,w)=>{for(var R in w||(w={}))u.call(w,R)&&P(O,R,w[R]);if(b)for(var R of b(w))C.call(w,R)&&P(O,R,w[R]);return O},H=(O,w)=>le(O,Te(w));const M=({user:O,globalSetting:w,loading:R,dispatch:re,children:se,innovation:ve})=>{const be=(0,g.useLocation)(),Ve=Ae=>{re({type:"practiceSetting/setSideBarTabs",payload:{selectPath:""}}),g.history.replace(`/innovation/${Ae.key}`)};let[Fe,Ce]=(0,n.useState)(["my-workspace"]);(0,n.useEffect)(()=>{be!=null&&be.pathname&&be.pathname==="/innovation"&&g.history.replace("/innovation/project")},[be.pathname]);const we=(0,n.useMemo)(()=>{var Ae,Be;return{imgSrc:(Ae=w==null?void 0:w.setting)==null?void 0:Ae.sci_logo,title:(Be=w==null?void 0:w.setting)==null?void 0:Be.sci_title}},[w]);return n.createElement(Z.Z,{className:`mt30 mb30 ${N.Z.wrapper}`,justify:"space-between"},n.createElement(_.Z,{flex:"200px"},n.createElement("aside",{className:N.Z.home},n.createElement("div",null,n.createElement("img",{width:20,src:`${xt.Z.API_SERVER}${we.imgSrc}`||ke})),n.createElement("div",{className:N.Z.info},n.createElement("div",null,we.title||"\u79D1\u7814\u521B\u65B0"))),n.createElement($.default,{onClick:Ve,mode:"inline",openKeys:Fe,onOpenChange:Ae=>{Ce(Ae)},selectedKeys:[be.pathname.substring(12)],className:N.Z.menu},n.createElement($.default.Item,{icon:n.createElement("i",{className:"iconfont icon-xiangmu",style:{marginRight:10}}),key:"project"},"\u9879\u76EE"),n.createElement($.default.Item,{icon:n.createElement("i",{className:"iconfont icon-shujuji",style:{marginRight:10}}),key:"dataset"},"\u6570\u636E\u96C6"),n.createElement($.default.Item,{icon:n.createElement("img",{src:dt,style:{width:17,height:17,marginRight:10}}),key:"mirror"},"\u955C\u50CF"),n.createElement($.default.SubMenu,{title:"\u6211\u7684\u5DE5\u4F5C\u53F0",key:"my-workspace",icon:n.createElement("img",{src:xe,style:{width:16,height:16,marginRight:10}}),className:N.Z.submenu},n.createElement($.default.Item,{key:"my-project"},"\u6211\u7684\u9879\u76EE"),n.createElement($.default.Item,{key:"my-dataset"},"\u6211\u7684\u6570\u636E\u96C6"),n.createElement($.default.Item,{key:"my-mirror"},"\u6211\u7684\u955C\u50CF")))),n.createElement(_.Z,{flex:"1"},n.createElement("div",{className:N.Z.content_wrapper},n.createElement(g.Outlet,null))),n.createElement(D.default,H(p({},ve.simpleModalProps),{onCancel:()=>re({type:"innovation/closeSimpleModal"}),title:n.createElement(Z.Z,{align:"middle"},n.createElement(z.Z,{style:{color:"#FF8C29",fontSize:18,marginRight:10}}),ve.simpleModalProps.title),destroyOnClose:!0,centered:!0,className:`${N.Z.base_modal_style} ${ve.simpleModalProps.className}`}),ve.simpleModalProps.children))};var W=(0,g.connect)(({user:O,loading:w,globalSetting:R,innovation:re})=>({user:O,globalSetting:R,loading:w.models.index,innovation:re}))(M)},29509:function(St,ie,e){e.d(ie,{o2:function(){return $},yT:function(){return D}});var n=e(77654),g=e(34998);const Z=g.i.map(z=>`${z}-inverse`),_=["success","processing","error","default","warning"];function $(z){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,n.Z)(Z),(0,n.Z)(g.i)).includes(z):g.i.includes(z)}function D(z){return _.includes(z)}},52838:function(St,ie,e){e.d(ie,{Z:function(){return D}});var n=e(37645);function g(z,N,V,I){if(I===!1)return{adjustX:!1,adjustY:!1};const L=I&&typeof I=="object"?I:{},F={};switch(z){case"top":case"bottom":F.shiftX=N.arrowOffsetHorizontal*2+V,F.shiftY=!0,F.adjustY=!0;break;case"left":case"right":F.shiftY=N.arrowOffsetVertical*2+V,F.shiftX=!0,F.adjustX=!0;break}const r=Object.assign(Object.assign({},F),L);return r.shiftX||(r.adjustX=!0),r.shiftY||(r.adjustY=!0),r}const Z={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},_={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},$=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function D(z){const{arrowWidth:N,autoAdjustOverflow:V,arrowPointAtCenter:I,offset:L,borderRadius:F,visibleFirst:r}=z,S=N/2,Re={};return Object.keys(Z).forEach(xe=>{const ze=I&&_[xe]||Z[xe],$e=Object.assign(Object.assign({},ze),{offset:[0,0],dynamicInset:!0});switch(Re[xe]=$e,$.has(xe)&&($e.autoArrow=!1),xe){case"top":case"topLeft":case"topRight":$e.offset[1]=-S-L;break;case"bottom":case"bottomLeft":case"bottomRight":$e.offset[1]=S+L;break;case"left":case"leftTop":case"leftBottom":$e.offset[0]=-S-L;break;case"right":case"rightTop":case"rightBottom":$e.offset[0]=S+L;break}const je=(0,n.wZ)({contentRadius:F,limitVerticalRadius:!0});if(I)switch(xe){case"topLeft":case"bottomLeft":$e.offset[0]=-je.arrowOffsetHorizontal-S;break;case"topRight":case"bottomRight":$e.offset[0]=je.arrowOffsetHorizontal+S;break;case"leftTop":case"rightTop":$e.offset[1]=-je.arrowOffsetHorizontal*2+S;break;case"leftBottom":case"rightBottom":$e.offset[1]=je.arrowOffsetHorizontal*2-S;break}$e.overflow=g(xe,je,N,V),r&&($e.htmlRegion="visibleFirst")}),Re}},24303:function(St,ie,e){e.d(ie,{D:function(){return dt},Z:function(){return qe}});var n=e(59301),g=e(60499),Z={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"},_=Z,$=e(7657),D=function(Te,b){return n.createElement($.Z,(0,g.Z)({},Te,{ref:b,icon:_}))},z=n.forwardRef(D),N=z,V=e(33853),I=e(38819),L=e(92310),F=e.n(L),r=e(2738),S=e(48755),Re=e(6989),xe=e(36237),ze=e(48923),$e=e(16931);const je=le=>{const{componentCls:Te,siderBg:b,motionDurationMid:u,motionDurationSlow:C,antCls:P,triggerHeight:p,triggerColor:H,triggerBg:M,headerHeight:W,zeroTriggerWidth:O,zeroTriggerHeight:w,borderRadiusLG:R,lightSiderBg:re,lightTriggerColor:se,lightTriggerBg:ve,bodyBg:be}=le;return{[Te]:{position:"relative",minWidth:0,background:b,transition:`all ${u}, background 0s`,"&-has-trigger":{paddingBottom:p},"&-right":{order:1},[`${Te}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${P}-menu${P}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${Te}-children`]:{overflow:"hidden"},[`${Te}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:p,color:H,lineHeight:(0,xe.unit)(p),textAlign:"center",background:M,cursor:"pointer",transition:`all ${u}`},[`${Te}-zero-width-trigger`]:{position:"absolute",top:W,insetInlineEnd:le.calc(O).mul(-1).equal(),zIndex:1,width:O,height:w,color:H,fontSize:le.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:b,borderRadius:`0 ${(0,xe.unit)(R)} ${(0,xe.unit)(R)} 0`,cursor:"pointer",transition:`background ${C} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${C}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:le.calc(O).mul(-1).equal(),borderRadius:`${(0,xe.unit)(R)} 0 0 ${(0,xe.unit)(R)}`}},"&-light":{background:re,[`${Te}-trigger`]:{color:se,background:ve},[`${Te}-zero-width-trigger`]:{color:se,background:ve,border:`1px solid ${be}`,borderInlineStart:0}}}}};var Q=(0,$e.I$)(["Layout","Sider"],le=>[je(le)],ze.eh,{deprecatedTokens:ze.jn}),Ye=function(le,Te){var b={};for(var u in le)Object.prototype.hasOwnProperty.call(le,u)&&Te.indexOf(u)<0&&(b[u]=le[u]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,u=Object.getOwnPropertySymbols(le);C<u.length;C++)Te.indexOf(u[C])<0&&Object.prototype.propertyIsEnumerable.call(le,u[C])&&(b[u[C]]=le[u[C]]);return b};const Le={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},de=le=>!Number.isNaN(Number.parseFloat(le))&&isFinite(le),dt=n.createContext({}),ke=(()=>{let le=0;return function(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return le+=1,`${Te}${le}`}})();var qe=n.forwardRef((le,Te)=>{const{prefixCls:b,className:u,trigger:C,children:P,defaultCollapsed:p=!1,theme:H="dark",style:M={},collapsible:W=!1,reverseArrow:O=!1,width:w=200,collapsedWidth:R=80,zeroWidthTriggerStyle:re,breakpoint:se,onCollapse:ve,onBreakpoint:be}=le,Ve=Ye(le,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Fe}=(0,n.useContext)(Re.V),[Ce,we]=(0,n.useState)("collapsed"in le?le.collapsed:p),[Ae,Be]=(0,n.useState)(!1);(0,n.useEffect)(()=>{"collapsed"in le&&we(le.collapsed)},[le.collapsed]);const yt=(X,J)=>{"collapsed"in le||we(X),ve==null||ve(X,J)},{getPrefixCls:c,direction:A}=(0,n.useContext)(S.E_),l=c("layout-sider",b),[B,i,a]=Q(l),t=(0,n.useRef)(null);t.current=X=>{Be(X.matches),be==null||be(X.matches),Ce!==X.matches&&yt(X.matches,"responsive")},(0,n.useEffect)(()=>{function X(G){return t.current(G)}let J;if(typeof window!="undefined"){const{matchMedia:G}=window;if(G&&se&&se in Le){J=G(`screen and (max-width: ${Le[se]})`);try{J.addEventListener("change",X)}catch(nt){J.addListener(X)}X(J)}}return()=>{try{J==null||J.removeEventListener("change",X)}catch(G){J==null||J.removeListener(X)}}},[se]),(0,n.useEffect)(()=>{const X=ke("ant-sider-");return Fe.addSider(X),()=>Fe.removeSider(X)},[]);const h=()=>{yt(!Ce,"clickTrigger")},d=(0,r.Z)(Ve,["collapsed"]),x=Ce?R:w,K=de(x)?`${x}px`:String(x),j=parseFloat(String(R||0))===0?n.createElement("span",{onClick:h,className:F()(`${l}-zero-width-trigger`,`${l}-zero-width-trigger-${O?"right":"left"}`),style:re},C||n.createElement(N,null)):null,T=A==="rtl"==!O,pe={expanded:T?n.createElement(I.Z,null):n.createElement(V.Z,null),collapsed:T?n.createElement(V.Z,null):n.createElement(I.Z,null)}[Ce?"collapsed":"expanded"],ce=C!==null?j||n.createElement("div",{className:`${l}-trigger`,onClick:h,style:{width:K}},C||pe):null,he=Object.assign(Object.assign({},M),{flex:`0 0 ${K}`,maxWidth:K,minWidth:K,width:K}),ue=F()(l,`${l}-${H}`,{[`${l}-collapsed`]:!!Ce,[`${l}-has-trigger`]:W&&C!==null&&!j,[`${l}-below`]:!!Ae,[`${l}-zero-width`]:parseFloat(K)===0},u,i,a),ee=n.useMemo(()=>({siderCollapsed:Ce}),[Ce]);return B(n.createElement(dt.Provider,{value:ee},n.createElement("aside",Object.assign({className:ue},d,{style:he,ref:Te}),n.createElement("div",{className:`${l}-children`},P),W||Ae&&j?ce:null)))})},6989:function(St,ie,e){e.d(ie,{V:function(){return g}});var n=e(59301);const g=n.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(St,ie,e){e.d(ie,{eh:function(){return _},jn:function(){return $}});var n=e(36237),g=e(16931);const Z=D=>{const{antCls:z,componentCls:N,colorText:V,footerBg:I,headerHeight:L,headerPadding:F,headerColor:r,footerPadding:S,fontSize:Re,bodyBg:xe,headerBg:ze}=D;return{[N]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:xe,"&, *":{boxSizing:"border-box"},[`&${N}-has-sider`]:{flexDirection:"row",[`> ${N}, > ${N}-content`]:{width:0}},[`${N}-header, &${N}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${N}-header`]:{height:L,padding:F,color:r,lineHeight:(0,n.unit)(L),background:ze,[`${z}-menu`]:{lineHeight:"inherit"}},[`${N}-footer`]:{padding:S,color:V,fontSize:Re,background:I},[`${N}-content`]:{flex:"auto",color:V,minHeight:0}}},_=D=>{const{colorBgLayout:z,controlHeight:N,controlHeightLG:V,colorText:I,controlHeightSM:L,marginXXS:F,colorTextLightSolid:r,colorBgContainer:S}=D,Re=V*1.25;return{colorBgHeader:"#001529",colorBgBody:z,colorBgTrigger:"#002140",bodyBg:z,headerBg:"#001529",headerHeight:N*2,headerPadding:`0 ${Re}px`,headerColor:I,footerPadding:`${L}px ${Re}px`,footerBg:z,siderBg:"#001529",triggerHeight:V+F*2,triggerBg:"#002140",triggerColor:r,zeroTriggerWidth:V,zeroTriggerHeight:V,lightSiderBg:S,lightTriggerBg:S,lightTriggerColor:I}},$=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];ie.ZP=(0,g.I$)("Layout",D=>[Z(D)],_,{deprecatedTokens:$})},78857:function(St,ie,e){e.d(ie,{J:function(){return D}});var n=e(59301),g=e(8654),Z=e(62487),_=function(z,N){var V={};for(var I in z)Object.prototype.hasOwnProperty.call(z,I)&&N.indexOf(I)<0&&(V[I]=z[I]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,I=Object.getOwnPropertySymbols(z);L<I.length;L++)N.indexOf(I[L])<0&&Object.prototype.propertyIsEnumerable.call(z,I[L])&&(V[I[L]]=z[I[L]]);return V};const $=n.createContext(null),D=n.forwardRef((z,N)=>{const{children:V}=z,I=_(z,["children"]),L=n.useContext($),F=n.useMemo(()=>Object.assign(Object.assign({},L),I),[L,I.prefixCls,I.mode,I.selectable,I.rootClassName]),r=(0,g.t4)(V),S=(0,g.x1)(N,r?(0,g.C4)(V):null);return n.createElement($.Provider,{value:F},n.createElement(Z.Z,{space:!0},r?n.cloneElement(V,{ref:S}):V))});ie.Z=$},93041:function(St,ie,e){e.d(ie,{default:function(){return B}});var n=e(59301),g=e(28321),Z=e(24303),_=e(18785),$=e(92310),D=e.n($),z=e(6089),N=e(2738),V=e(86641),I=e(22703),L=e(48755),F=e(83397),S=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Re=function(i,a){var t={};for(var h in i)Object.prototype.hasOwnProperty.call(i,h)&&a.indexOf(h)<0&&(t[h]=i[h]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(i);d<h.length;d++)a.indexOf(h[d])<0&&Object.prototype.propertyIsEnumerable.call(i,h[d])&&(t[h[d]]=i[h[d]]);return t},ze=i=>{const{prefixCls:a,className:t,dashed:h}=i,d=Re(i,["prefixCls","className","dashed"]),{getPrefixCls:x}=n.useContext(L.E_),K=x("menu",a),j=D()({[`${K}-item-divider-dashed`]:!!h},t);return n.createElement(g.iz,Object.assign({className:j},d))},$e=e(11592),je=e(25399),Ye=i=>{var a;const{className:t,children:h,icon:d,title:x,danger:K,extra:j}=i,{prefixCls:T,firstLevel:U,direction:q,disableMenuItemTitleTooltip:pe,inlineCollapsed:ce}=n.useContext(S),he=nt=>{const Qe=h==null?void 0:h[0],Ue=n.createElement("span",{className:D()(`${T}-title-content`,{[`${T}-title-content-with-extra`]:!!j||j===0})},h);return(!d||n.isValidElement(h)&&h.type==="span")&&h&&nt&&U&&typeof Qe=="string"?n.createElement("div",{className:`${T}-inline-collapsed-noicon`},Qe.charAt(0)):Ue},{siderCollapsed:ue}=n.useContext(Z.D);let ee=x;typeof x=="undefined"?ee=U?h:"":x===!1&&(ee="");const X={title:ee};!ue&&!ce&&(X.title=null,X.open=!1);const J=(0,$e.Z)(h).length;let G=n.createElement(g.ck,Object.assign({},(0,N.Z)(i,["title","icon","danger"]),{className:D()({[`${T}-item-danger`]:K,[`${T}-item-only-child`]:(d?J+1:J)===1},t),title:typeof x=="string"?x:void 0}),(0,I.Tm)(d,{className:D()(n.isValidElement(d)?(a=d.props)===null||a===void 0?void 0:a.className:"",`${T}-item-icon`)}),he(ce));return pe||(G=n.createElement(je.Z,Object.assign({},X,{placement:q==="rtl"?"left":"right",classNames:{root:`${T}-inline-collapsed-tooltip`}}),G)),G},Le=e(78857),de=e(36237),dt=e(17835),ke=e(63356),xt=e(34961),qe=e(46e3),le=e(34925),Te=e(16931),b=e(51636),C=i=>{const{componentCls:a,motionDurationSlow:t,horizontalLineHeight:h,colorSplit:d,lineWidth:x,lineType:K,itemPaddingInline:j}=i;return{[`${a}-horizontal`]:{lineHeight:h,border:0,borderBottom:`${(0,de.unit)(x)} ${K} ${d}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${a}-item, ${a}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:j},[`> ${a}-item:hover,
> ${a}-item-active,
> ${a}-submenu ${a}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${a}-item, ${a}-submenu-title`]:{transition:[`border-color ${t}`,`background ${t}`].join(",")},[`${a}-submenu-arrow`]:{display:"none"}}}},p=i=>{let{componentCls:a,menuArrowOffset:t,calc:h}=i;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(${(0,de.unit)(h(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,de.unit)(t)})`}}}}};const H=i=>Object.assign({},(0,ke.oN)(i));var W=(i,a)=>{const{componentCls:t,itemColor:h,itemSelectedColor:d,subMenuItemSelectedColor:x,groupTitleColor:K,itemBg:j,subMenuItemBg:T,itemSelectedBg:U,activeBarHeight:q,activeBarWidth:pe,activeBarBorderWidth:ce,motionDurationSlow:he,motionEaseInOut:ue,motionEaseOut:ee,itemPaddingInline:X,motionDurationMid:J,itemHoverColor:G,lineType:nt,colorSplit:Qe,itemDisabledColor:Ue,dangerItemColor:ft,dangerItemHoverColor:Zt,dangerItemSelectedColor:vt,dangerItemActiveBg:Pe,dangerItemSelectedBg:pt,popupBg:rt,itemHoverBg:Oe,itemActiveBg:He,menuSubMenuBg:te,horizontalItemSelectedColor:lt,horizontalItemSelectedBg:et,horizontalItemBorderRadius:mt,horizontalItemHoverBg:Ie}=i;return{[`${t}-${a}, ${t}-${a} > ${t}`]:{color:h,background:j,[`&${t}-root:focus-visible`]:Object.assign({},H(i)),[`${t}-item`]:{"&-group-title, &-extra":{color:K}},[`${t}-submenu-selected > ${t}-submenu-title`]:{color:x},[`${t}-item, ${t}-submenu-title`]:{color:h,[`&:not(${t}-item-disabled):focus-visible`]:Object.assign({},H(i))},[`${t}-item-disabled, ${t}-submenu-disabled`]:{color:`${Ue} !important`},[`${t}-item:not(${t}-item-selected):not(${t}-submenu-selected)`]:{[`&:hover, > ${t}-submenu-title:hover`]:{color:G}},[`&:not(${t}-horizontal)`]:{[`${t}-item:not(${t}-item-selected)`]:{"&:hover":{backgroundColor:Oe},"&:active":{backgroundColor:He}},[`${t}-submenu-title`]:{"&:hover":{backgroundColor:Oe},"&:active":{backgroundColor:He}}},[`${t}-item-danger`]:{color:ft,[`&${t}-item:hover`]:{[`&:not(${t}-item-selected):not(${t}-submenu-selected)`]:{color:Zt}},[`&${t}-item:active`]:{background:Pe}},[`${t}-item a`]:{"&, &:hover":{color:"inherit"}},[`${t}-item-selected`]:{color:d,[`&${t}-item-danger`]:{color:vt},"a, a:hover":{color:"inherit"}},[`& ${t}-item-selected`]:{backgroundColor:U,[`&${t}-item-danger`]:{backgroundColor:pt}},[`&${t}-submenu > ${t}`]:{backgroundColor:te},[`&${t}-popup > ${t}`]:{backgroundColor:rt},[`&${t}-submenu-popup > ${t}`]:{backgroundColor:rt},[`&${t}-horizontal`]:Object.assign(Object.assign({},a==="dark"?{borderBottom:0}:{}),{[`> ${t}-item, > ${t}-submenu`]:{top:ce,marginTop:i.calc(ce).mul(-1).equal(),marginBottom:0,borderRadius:mt,"&::after":{position:"absolute",insetInline:X,bottom:0,borderBottom:`${(0,de.unit)(q)} solid transparent`,transition:`border-color ${he} ${ue}`,content:'""'},"&:hover, &-active, &-open":{background:Ie,"&::after":{borderBottomWidth:q,borderBottomColor:lt}},"&-selected":{color:lt,backgroundColor:et,"&:hover":{backgroundColor:et},"&::after":{borderBottomWidth:q,borderBottomColor:lt}}}}),[`&${t}-root`]:{[`&${t}-inline, &${t}-vertical`]:{borderInlineEnd:`${(0,de.unit)(ce)} ${nt} ${Qe}`}},[`&${t}-inline`]:{[`${t}-sub${t}-inline`]:{background:T},[`${t}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,de.unit)(pe)} solid ${d}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${J} ${ee}`,`opacity ${J} ${ee}`].join(","),content:'""'},[`&${t}-item-danger`]:{"&::after":{borderInlineEndColor:vt}}},[`${t}-selected, ${t}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${J} ${ue}`,`opacity ${J} ${ue}`].join(",")}}}}}};const O=i=>{const{componentCls:a,itemHeight:t,itemMarginInline:h,padding:d,menuArrowSize:x,marginXS:K,itemMarginBlock:j,itemWidth:T,itemPaddingInline:U}=i,q=i.calc(x).add(d).add(K).equal();return{[`${a}-item`]:{position:"relative",overflow:"hidden"},[`${a}-item, ${a}-submenu-title`]:{height:t,lineHeight:(0,de.unit)(t),paddingInline:U,overflow:"hidden",textOverflow:"ellipsis",marginInline:h,marginBlock:j,width:T},[`> ${a}-item,
> ${a}-submenu > ${a}-submenu-title`]:{height:t,lineHeight:(0,de.unit)(t)},[`${a}-item-group-list ${a}-submenu-title,
${a}-submenu-title`]:{paddingInlineEnd:q}}};var R=i=>{const{componentCls:a,iconCls:t,itemHeight:h,colorTextLightSolid:d,dropdownWidth:x,controlHeightLG:K,motionEaseOut:j,paddingXL:T,itemMarginInline:U,fontSizeLG:q,motionDurationFast:pe,motionDurationSlow:ce,paddingXS:he,boxShadowSecondary:ue,collapsedWidth:ee,collapsedIconSize:X}=i,J={height:h,lineHeight:(0,de.unit)(h),listStylePosition:"inside",listStyleType:"disc"};return[{[a]:{"&-inline, &-vertical":Object.assign({[`&${a}-root`]:{boxShadow:"none"}},O(i))},[`${a}-submenu-popup`]:{[`${a}-vertical`]:Object.assign(Object.assign({},O(i)),{boxShadow:ue})}},{[`${a}-submenu-popup ${a}-vertical${a}-sub`]:{minWidth:x,maxHeight:`calc(100vh - ${(0,de.unit)(i.calc(K).mul(2.5).equal())})`,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 ${ce}`,`background ${ce}`,`padding ${pe} ${j}`].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`]:J,[`& ${a}-item-group-title`]:{paddingInlineStart:T}},[`${a}-item`]:J}},{[`${a}-inline-collapsed`]:{width:ee,[`&${a}-root`]:{[`${a}-item, ${a}-submenu ${a}-submenu-title`]:{[`> ${a}-inline-collapsed-noicon`]:{fontSize:q,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% - ${(0,de.unit)(i.calc(X).div(2).equal())} - ${(0,de.unit)(U)})`,textOverflow:"clip",[`
${a}-submenu-arrow,
${a}-submenu-expand-icon
`]:{opacity:0},[`${a}-item-icon, ${t}`]:{margin:0,fontSize:X,lineHeight:(0,de.unit)(h),"+ span":{display:"inline-block",opacity:0}}},[`${a}-item-icon, ${t}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${a}-item-icon, ${t}`]:{display:"none"},"a, a:hover":{color:d}},[`${a}-item-group-title`]:Object.assign(Object.assign({},ke.vS),{paddingInline:he})}}]};const re=i=>{const{componentCls:a,motionDurationSlow:t,motionDurationMid:h,motionEaseInOut:d,motionEaseOut:x,iconCls:K,iconSize:j,iconMarginInlineEnd:T}=i;return{[`${a}-item, ${a}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${t}`,`background ${t}`,`padding calc(${t} + 0.1s) ${d}`].join(","),[`${a}-item-icon, ${K}`]:{minWidth:j,fontSize:j,transition:[`font-size ${h} ${x}`,`margin ${t} ${d}`,`color ${t}`].join(","),"+ span":{marginInlineStart:T,opacity:1,transition:[`opacity ${t} ${d}`,`margin ${t}`,`color ${t}`].join(",")}},[`${a}-item-icon`]:Object.assign({},(0,ke.Ro)()),[`&${a}-item-only-child`]:{[`> ${K}, > ${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",cursor:"not-allowed",pointerEvents:"none"},[`> ${a}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},se=i=>{const{componentCls:a,motionDurationSlow:t,motionEaseInOut:h,borderRadius:d,menuArrowSize:x,menuArrowOffset:K}=i;return{[`${a}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:i.margin,width:x,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${t} ${h}, opacity ${t}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:i.calc(x).mul(.6).equal(),height:i.calc(x).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:d,transition:[`background ${t} ${h}`,`transform ${t} ${h}`,`top ${t} ${h}`,`color ${t} ${h}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,de.unit)(i.calc(K).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,de.unit)(K)})`}}}}},ve=i=>{const{antCls:a,componentCls:t,fontSize:h,motionDurationSlow:d,motionDurationMid:x,motionEaseInOut:K,paddingXS:j,padding:T,colorSplit:U,lineWidth:q,zIndexPopup:pe,borderRadiusLG:ce,subMenuItemBorderRadius:he,menuArrowSize:ue,menuArrowOffset:ee,lineType:X,groupTitleLineHeight:J,groupTitleFontSize:G}=i;return[{"":{[t]:Object.assign(Object.assign({},(0,ke.dF)()),{"&-hidden":{display:"none"}})},[`${t}-submenu-hidden`]:{display:"none"}},{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(i)),(0,ke.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:h,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${d} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${t}-item`]:{flex:"none"}},[`${t}-item, ${t}-submenu, ${t}-submenu-title`]:{borderRadius:i.itemBorderRadius},[`${t}-item-group-title`]:{padding:`${(0,de.unit)(j)} ${(0,de.unit)(T)}`,fontSize:G,lineHeight:J,transition:`all ${d}`},[`&-horizontal ${t}-submenu`]:{transition:[`border-color ${d} ${K}`,`background ${d} ${K}`].join(",")},[`${t}-submenu, ${t}-submenu-inline`]:{transition:[`border-color ${d} ${K}`,`background ${d} ${K}`,`padding ${x} ${K}`].join(",")},[`${t}-submenu ${t}-sub`]:{cursor:"initial",transition:[`background ${d} ${K}`,`padding ${d} ${K}`].join(",")},[`${t}-title-content`]:{transition:`color ${d}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${a}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${t}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:i.padding}},[`${t}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${t}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:U,borderStyle:X,borderWidth:0,borderTopWidth:q,marginBlock:q,padding:0,"&-dashed":{borderStyle:"dashed"}}}),re(i)),{[`${t}-item-group`]:{[`${t}-item-group-list`]:{margin:0,padding:0,[`${t}-item, ${t}-submenu-title`]:{paddingInline:`${(0,de.unit)(i.calc(h).mul(2).equal())} ${(0,de.unit)(T)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:pe,borderRadius:ce,boxShadow:"none",transformOrigin:"0 0",[`&${t}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${t}`]:Object.assign(Object.assign(Object.assign({borderRadius:ce},re(i)),se(i)),{[`${t}-item, ${t}-submenu > ${t}-submenu-title`]:{borderRadius:he},[`${t}-submenu-title::after`]:{transition:`transform ${d} ${K}`}})},"\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:i.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:i.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:i.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:i.paddingXS}}}),se(i)),{[`&-inline-collapsed ${t}-submenu-arrow,
&-inline ${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,de.unit)(ee)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,de.unit)(i.calc(ee).mul(-1).equal())})`}},[`${t}-submenu-open${t}-submenu-inline > ${t}-submenu-title > ${t}-submenu-arrow`]:{transform:`translateY(${(0,de.unit)(i.calc(ue).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,de.unit)(i.calc(ee).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,de.unit)(ee)})`}}})},{[`${a}-layout-header`]:{[t]:{lineHeight:"inherit"}}}]},be=i=>{var a,t,h;const{colorPrimary:d,colorError:x,colorTextDisabled:K,colorErrorBg:j,colorText:T,colorTextDescription:U,colorBgContainer:q,colorFillAlter:pe,colorFillContent:ce,lineWidth:he,lineWidthBold:ue,controlItemBgActive:ee,colorBgTextHover:X,controlHeightLG:J,lineHeight:G,colorBgElevated:nt,marginXXS:Qe,padding:Ue,fontSize:ft,controlHeightSM:Zt,fontSizeLG:vt,colorTextLightSolid:Pe,colorErrorHover:pt}=i,rt=(a=i.activeBarWidth)!==null&&a!==void 0?a:0,Oe=(t=i.activeBarBorderWidth)!==null&&t!==void 0?t:he,He=(h=i.itemMarginInline)!==null&&h!==void 0?h:i.marginXXS,te=new dt.FastColor(Pe).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:i.zIndexPopupBase+50,radiusItem:i.borderRadiusLG,itemBorderRadius:i.borderRadiusLG,radiusSubMenuItem:i.borderRadiusSM,subMenuItemBorderRadius:i.borderRadiusSM,colorItemText:T,itemColor:T,colorItemTextHover:T,itemHoverColor:T,colorItemTextHoverHorizontal:d,horizontalItemHoverColor:d,colorGroupTitle:U,groupTitleColor:U,colorItemTextSelected:d,itemSelectedColor:d,subMenuItemSelectedColor:d,colorItemTextSelectedHorizontal:d,horizontalItemSelectedColor:d,colorItemBg:q,itemBg:q,colorItemBgHover:X,itemHoverBg:X,colorItemBgActive:ce,itemActiveBg:ee,colorSubItemBg:pe,subMenuItemBg:pe,colorItemBgSelected:ee,itemSelectedBg:ee,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:rt,colorActiveBarHeight:ue,activeBarHeight:ue,colorActiveBarBorderSize:he,activeBarBorderWidth:Oe,colorItemTextDisabled:K,itemDisabledColor:K,colorDangerItemText:x,dangerItemColor:x,colorDangerItemTextHover:x,dangerItemHoverColor:x,colorDangerItemTextSelected:x,dangerItemSelectedColor:x,colorDangerItemBgActive:j,dangerItemActiveBg:j,colorDangerItemBgSelected:j,dangerItemSelectedBg:j,itemMarginInline:He,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:J,groupTitleLineHeight:G,collapsedWidth:J*2,popupBg:nt,itemMarginBlock:Qe,itemPaddingInline:Ue,horizontalLineHeight:`${J*1.15}px`,iconSize:ft,iconMarginInlineEnd:Zt-ft,collapsedIconSize:vt,groupTitleFontSize:ft,darkItemDisabledColor:new dt.FastColor(Pe).setA(.25).toRgbString(),darkItemColor:te,darkDangerItemColor:x,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Pe,darkItemSelectedBg:d,darkDangerItemSelectedBg:x,darkItemHoverBg:"transparent",darkGroupTitleColor:te,darkItemHoverColor:Pe,darkDangerItemHoverColor:pt,darkDangerItemSelectedColor:Pe,darkDangerItemActiveBg:x,itemWidth:rt?`calc(100% + ${Oe}px)`:`calc(100% - ${He*2}px)`}};var Ve=function(i){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,Te.I$)("Menu",d=>{const{colorBgElevated:x,controlHeightLG:K,fontSize:j,darkItemColor:T,darkDangerItemColor:U,darkItemBg:q,darkSubMenuItemBg:pe,darkItemSelectedColor:ce,darkItemSelectedBg:he,darkDangerItemSelectedBg:ue,darkItemHoverBg:ee,darkGroupTitleColor:X,darkItemHoverColor:J,darkItemDisabledColor:G,darkDangerItemHoverColor:nt,darkDangerItemSelectedColor:Qe,darkDangerItemActiveBg:Ue,popupBg:ft,darkPopupBg:Zt}=d,vt=d.calc(j).div(7).mul(5).equal(),Pe=(0,b.mergeToken)(d,{menuArrowSize:vt,menuHorizontalHeight:d.calc(K).mul(1.15).equal(),menuArrowOffset:d.calc(vt).mul(.25).equal(),menuSubMenuBg:x,calc:d.calc,popupBg:ft}),pt=(0,b.mergeToken)(Pe,{itemColor:T,itemHoverColor:J,groupTitleColor:X,itemSelectedColor:ce,subMenuItemSelectedColor:ce,itemBg:q,popupBg:Zt,subMenuItemBg:pe,itemActiveBg:"transparent",itemSelectedBg:he,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ee,itemDisabledColor:G,dangerItemColor:U,dangerItemHoverColor:nt,dangerItemSelectedColor:Qe,dangerItemActiveBg:Ue,dangerItemSelectedBg:ue,menuSubMenuBg:pe,horizontalItemSelectedColor:ce,horizontalItemSelectedBg:he});return[ve(Pe),C(Pe),R(Pe),W(Pe,"light"),W(pt,"dark"),p(Pe),(0,xt.Z)(Pe),(0,qe.oN)(Pe,"slide-up"),(0,qe.oN)(Pe,"slide-down"),(0,le._y)(Pe,"zoom-big")]},be,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:t,unitless:{groupTitleLineHeight:!0}})(i,a)},Fe=e(75030),we=i=>{var a;const{popupClassName:t,icon:h,title:d,theme:x}=i,K=n.useContext(S),{prefixCls:j,inlineCollapsed:T,theme:U}=K,q=(0,g.Xl)();let pe;if(!h)pe=T&&!q.length&&d&&typeof d=="string"?n.createElement("div",{className:`${j}-inline-collapsed-noicon`},d.charAt(0)):n.createElement("span",{className:`${j}-title-content`},d);else{const ue=n.isValidElement(d)&&d.type==="span";pe=n.createElement(n.Fragment,null,(0,I.Tm)(h,{className:D()(n.isValidElement(h)?(a=h.props)===null||a===void 0?void 0:a.className:"",`${j}-item-icon`)}),ue?d:n.createElement("span",{className:`${j}-title-content`},d))}const ce=n.useMemo(()=>Object.assign(Object.assign({},K),{firstLevel:!1}),[K]),[he]=(0,Fe.Cn)("Menu");return n.createElement(S.Provider,{value:ce},n.createElement(g.Wd,Object.assign({},(0,N.Z)(i,["icon"]),{title:pe,popupClassName:D()(j,t,`${j}-${x||U}`),popupStyle:Object.assign({zIndex:he},i.popupStyle)})))},Ae=function(i,a){var t={};for(var h in i)Object.prototype.hasOwnProperty.call(i,h)&&a.indexOf(h)<0&&(t[h]=i[h]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,h=Object.getOwnPropertySymbols(i);d<h.length;d++)a.indexOf(h[d])<0&&Object.prototype.propertyIsEnumerable.call(i,h[d])&&(t[h[d]]=i[h[d]]);return t};function Be(i){return i===null||i===!1}const yt={item:Ye,submenu:we,divider:ze};var A=(0,n.forwardRef)((i,a)=>{var t;const h=n.useContext(Le.Z),d=h||{},{getPrefixCls:x,getPopupContainer:K,direction:j,menu:T}=n.useContext(L.E_),U=x(),{prefixCls:q,className:pe,style:ce,theme:he="light",expandIcon:ue,_internalDisableMenuItemTitleTooltip:ee,inlineCollapsed:X,siderCollapsed:J,rootClassName:G,mode:nt,selectable:Qe,onClick:Ue,overflowedIndicatorPopupClassName:ft}=i,Zt=Ae(i,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),vt=(0,N.Z)(Zt,["collapsedWidth"]);(t=d.validator)===null||t===void 0||t.call(d,{mode:nt});const Pe=(0,z.Z)(function(){var gt;Ue==null||Ue.apply(void 0,arguments),(gt=d.onClick)===null||gt===void 0||gt.call(d)}),pt=d.mode||nt,rt=Qe!=null?Qe:d.selectable,Oe=X!=null?X:J,He={horizontal:{motionName:`${U}-slide-up`},inline:(0,V.Z)(U),other:{motionName:`${U}-zoom-big`}},te=x("menu",q||d.prefixCls),lt=(0,F.Z)(te),[et,mt,Ie]=Ve(te,lt,!h),en=D()(`${te}-${he}`,T==null?void 0:T.className,pe),tt=n.useMemo(()=>{var gt,Ht;if(typeof ue=="function"||Be(ue))return ue||null;if(typeof d.expandIcon=="function"||Be(d.expandIcon))return d.expandIcon||null;if(typeof(T==null?void 0:T.expandIcon)=="function"||Be(T==null?void 0:T.expandIcon))return(T==null?void 0:T.expandIcon)||null;const Dt=(gt=ue!=null?ue:d==null?void 0:d.expandIcon)!==null&&gt!==void 0?gt:T==null?void 0:T.expandIcon;return(0,I.Tm)(Dt,{className:D()(`${te}-submenu-expand-icon`,n.isValidElement(Dt)?(Ht=Dt.props)===null||Ht===void 0?void 0:Ht.className:void 0)})},[ue,d==null?void 0:d.expandIcon,T==null?void 0:T.expandIcon,te]),Tt=n.useMemo(()=>({prefixCls:te,inlineCollapsed:Oe||!1,direction:j,firstLevel:!0,theme:he,mode:pt,disableMenuItemTitleTooltip:ee}),[te,Oe,j,ee,he]);return et(n.createElement(Le.Z.Provider,{value:null},n.createElement(S.Provider,{value:Tt},n.createElement(g.ZP,Object.assign({getPopupContainer:K,overflowedIndicator:n.createElement(_.Z,null),overflowedIndicatorPopupClassName:D()(te,`${te}-${he}`,ft),mode:pt,selectable:rt,onClick:Pe},vt,{inlineCollapsed:Oe,style:Object.assign(Object.assign({},T==null?void 0:T.style),ce),className:en,prefixCls:te,direction:j,defaultMotions:He,expandIcon:tt,ref:a,rootClassName:D()(G,mt,d.rootClassName,Ie,lt),_internalComponents:yt})))))});const l=(0,n.forwardRef)((i,a)=>{const t=(0,n.useRef)(null),h=n.useContext(Z.D);return(0,n.useImperativeHandle)(a,()=>({menu:t.current,focus:d=>{var x;(x=t.current)===null||x===void 0||x.focus(d)}})),n.createElement(A,Object.assign({ref:t},i,h))});l.Item=Ye,l.SubMenu=we,l.Divider=ze,l.ItemGroup=g.BW;var B=l},46e3:function(St,ie,e){e.d(ie,{Qt:function(){return $},Uw:function(){return _},fJ:function(){return Z},ly:function(){return D},oN:function(){return F}});var n=e(36237),g=e(48746);const Z=new n.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),_=new n.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),$=new n.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),D=new n.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),z=new n.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),N=new n.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),V=new n.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),I=new n.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),L={"slide-up":{inKeyframes:Z,outKeyframes:_},"slide-down":{inKeyframes:$,outKeyframes:D},"slide-left":{inKeyframes:z,outKeyframes:N},"slide-right":{inKeyframes:V,outKeyframes:I}},F=(r,S)=>{const{antCls:Re}=r,xe=`${Re}-${S}`,{inKeyframes:ze,outKeyframes:$e}=L[S];return[(0,g.R)(xe,ze,$e,r.motionDurationMid),{[`
${xe}-enter,
${xe}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:r.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${xe}-leave`]:{animationTimingFunction:r.motionEaseInQuint}}]}},37645:function(St,ie,e){e.d(ie,{ZP:function(){return D},qN:function(){return Z},wZ:function(){return _}});var n=e(36237),g=e(36305);const Z=8;function _(z){const{contentRadius:N,limitVerticalRadius:V}=z,I=N>12?N+2:12;return{arrowOffsetHorizontal:I,arrowOffsetVertical:V?Z:I}}function $(z,N){return z?N:{}}function D(z,N,V){const{componentCls:I,boxShadowPopoverArrow:L,arrowOffsetVertical:F,arrowOffsetHorizontal:r}=z,{arrowDistance:S=0,arrowPlacement:Re={left:!0,right:!0,top:!0,bottom:!0}}=V||{};return{[I]:Object.assign(Object.assign(Object.assign(Object.assign({[`${I}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,g.W)(z,N,L)),{"&:before":{background:N}})]},$(!!Re.top,{[[`&-placement-top > ${I}-arrow`,`&-placement-topLeft > ${I}-arrow`,`&-placement-topRight > ${I}-arrow`].join(",")]:{bottom:S,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${I}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":r,[`> ${I}-arrow`]:{left:{_skip_check_:!0,value:r}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,n.unit)(r)})`,[`> ${I}-arrow`]:{right:{_skip_check_:!0,value:r}}}})),$(!!Re.bottom,{[[`&-placement-bottom > ${I}-arrow`,`&-placement-bottomLeft > ${I}-arrow`,`&-placement-bottomRight > ${I}-arrow`].join(",")]:{top:S,transform:"translateY(-100%)"},[`&-placement-bottom > ${I}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":r,[`> ${I}-arrow`]:{left:{_skip_check_:!0,value:r}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,n.unit)(r)})`,[`> ${I}-arrow`]:{right:{_skip_check_:!0,value:r}}}})),$(!!Re.left,{[[`&-placement-left > ${I}-arrow`,`&-placement-leftTop > ${I}-arrow`,`&-placement-leftBottom > ${I}-arrow`].join(",")]:{right:{_skip_check_:!0,value:S},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${I}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${I}-arrow`]:{top:F},[`&-placement-leftBottom > ${I}-arrow`]:{bottom:F}})),$(!!Re.right,{[[`&-placement-right > ${I}-arrow`,`&-placement-rightTop > ${I}-arrow`,`&-placement-rightBottom > ${I}-arrow`].join(",")]:{left:{_skip_check_:!0,value:S},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${I}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${I}-arrow`]:{top:F},[`&-placement-rightBottom > ${I}-arrow`]:{bottom:F}}))}}},36305:function(St,ie,e){e.d(ie,{W:function(){return Z},w:function(){return g}});var n=e(36237);function g(_){const{sizePopupArrow:$,borderRadiusXS:D,borderRadiusOuter:z}=_,N=$/2,V=0,I=N,L=z*1/Math.sqrt(2),F=N-z*(1-1/Math.sqrt(2)),r=N-D*(1/Math.sqrt(2)),S=z*(Math.sqrt(2)-1)+D*(1/Math.sqrt(2)),Re=2*N-r,xe=S,ze=2*N-L,$e=F,je=2*N-V,Q=I,Ye=N*Math.sqrt(2)+z*(Math.sqrt(2)-2),Le=z*(Math.sqrt(2)-1),de=`polygon(${Le}px 100%, 50% ${Le}px, ${2*N-Le}px 100%, ${Le}px 100%)`,dt=`path('M ${V} ${I} A ${z} ${z} 0 0 0 ${L} ${F} L ${r} ${S} A ${D} ${D} 0 0 1 ${Re} ${xe} L ${ze} ${$e} A ${z} ${z} 0 0 0 ${je} ${Q} Z')`;return{arrowShadowWidth:Ye,arrowPath:dt,arrowPolygon:de}}const Z=(_,$,D)=>{const{sizePopupArrow:z,arrowPolygon:N,arrowPath:V,arrowShadowWidth:I,borderRadiusXS:L,calc:F}=_;return{pointerEvents:"none",width:z,height:z,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:z,height:F(z).div(2).equal(),background:$,clipPath:{_multi_value_:!0,value:[N,V]},content:'""'},"&::after":{content:'""',position:"absolute",width:I,height:I,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,n.unit)(L)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:D,zIndex:0,background:"transparent"}}}},93427:function(St,ie,e){e.d(ie,{Z:function(){return g}});var n=e(34998);function g(Z,_){return n.i.reduce(($,D)=>{const z=Z[`${D}1`],N=Z[`${D}3`],V=Z[`${D}6`],I=Z[`${D}7`];return Object.assign(Object.assign({},$),_(D,{lightColor:z,lightBorderColor:N,darkColor:V,textColor:I}))},{})}},25399:function(St,ie,e){e.d(ie,{Z:function(){return P}});var n=e(59301),g=e(92310),Z=e.n(g),_=e(29125),$=e(18929),D=e(62487),z=e(75030),N=e(86641),V=e(52838),I=e(22703),L=e(32383),F=e(55743),r=e(57700),S=e(48755),Re=e(36237),xe=e(63356),ze=e(34925),$e=e(37645),je=e(36305),Q=e(93427),Ye=e(51636),Le=e(16931);const de=p=>{const{calc:H,componentCls:M,tooltipMaxWidth:W,tooltipColor:O,tooltipBg:w,tooltipBorderRadius:R,zIndexPopup:re,controlHeight:se,boxShadowSecondary:ve,paddingSM:be,paddingXS:Ve,arrowOffsetHorizontal:Fe,sizePopupArrow:Ce}=p,we=H(R).add(Ce).add(Fe).equal(),Ae=H(R).mul(2).add(Ce).equal();return[{[M]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(p)),{position:"absolute",zIndex:re,display:"block",width:"max-content",maxWidth:W,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":w,[`${M}-inner`]:{minWidth:Ae,minHeight:se,padding:`${(0,Re.unit)(p.calc(be).div(2).equal())} ${(0,Re.unit)(Ve)}`,color:O,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:w,borderRadius:R,boxShadow:ve,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:we},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${M}-inner`]:{borderRadius:p.min(R,$e.qN)}},[`${M}-content`]:{position:"relative"}}),(0,Q.Z)(p,(Be,yt)=>{let{darkColor:c}=yt;return{[`&${M}-${Be}`]:{[`${M}-inner`]:{backgroundColor:c},[`${M}-arrow`]:{"--antd-arrow-background-color":c}}}})),{"&-rtl":{direction:"rtl"}})},(0,$e.ZP)(p,"var(--antd-arrow-background-color)"),{[`${M}-pure`]:{position:"relative",maxWidth:"none",margin:p.sizePopupArrow}}]},dt=p=>Object.assign(Object.assign({zIndexPopup:p.zIndexPopupBase+70},(0,$e.wZ)({contentRadius:p.borderRadius,limitVerticalRadius:!0})),(0,je.w)((0,Ye.mergeToken)(p,{borderRadiusOuter:Math.min(p.borderRadiusOuter,4)})));var ke=function(p){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,Le.I$)("Tooltip",W=>{const{borderRadius:O,colorTextLightSolid:w,colorBgSpotlight:R}=W,re=(0,Ye.mergeToken)(W,{tooltipMaxWidth:250,tooltipColor:w,tooltipBorderRadius:O,tooltipBg:R});return[de(re),(0,ze._y)(W,"zoom-big-fast")]},dt,{resetStyle:!1,injectStyle:H})(p)},xt=e(29509);function qe(p,H){const M=(0,xt.o2)(H),W=Z()({[`${p}-${H}`]:H&&M}),O={},w={};return H&&!M&&(O.background=H,w["--antd-arrow-background-color"]=H),{className:W,overlayStyle:O,arrowStyle:w}}var Te=p=>{const{prefixCls:H,className:M,placement:W="top",title:O,color:w,overlayInnerStyle:R}=p,{getPrefixCls:re}=n.useContext(S.E_),se=re("tooltip",H),[ve,be,Ve]=ke(se),Fe=qe(se,w),Ce=Fe.arrowStyle,we=Object.assign(Object.assign({},R),Fe.overlayStyle),Ae=Z()(be,Ve,se,`${se}-pure`,`${se}-placement-${W}`,M,Fe.className);return ve(n.createElement("div",{className:Ae,style:Ce},n.createElement("div",{className:`${se}-arrow`}),n.createElement(_.G,Object.assign({},p,{className:be,prefixCls:se,overlayInnerStyle:we}),O)))},b=function(p,H){var M={};for(var W in p)Object.prototype.hasOwnProperty.call(p,W)&&H.indexOf(W)<0&&(M[W]=p[W]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,W=Object.getOwnPropertySymbols(p);O<W.length;O++)H.indexOf(W[O])<0&&Object.prototype.propertyIsEnumerable.call(p,W[O])&&(M[W[O]]=p[W[O]]);return M};const C=n.forwardRef((p,H)=>{var M,W;const{prefixCls:O,openClassName:w,getTooltipContainer:R,color:re,overlayInnerStyle:se,children:ve,afterOpenChange:be,afterVisibleChange:Ve,destroyTooltipOnHide:Fe,arrow:Ce=!0,title:we,overlay:Ae,builtinPlacements:Be,arrowPointAtCenter:yt=!1,autoAdjustOverflow:c=!0,motion:A,getPopupContainer:l,placement:B="top",mouseEnterDelay:i=.1,mouseLeaveDelay:a=.1,overlayStyle:t,rootClassName:h,overlayClassName:d,styles:x,classNames:K}=p,j=b(p,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),T=!!Ce,[,U]=(0,r.ZP)(),{getPopupContainer:q,getPrefixCls:pe,direction:ce,className:he,style:ue,classNames:ee,styles:X}=(0,S.dj)("tooltip"),J=(0,L.ln)("Tooltip"),G=n.useRef(null),nt=()=>{var Ge;(Ge=G.current)===null||Ge===void 0||Ge.forceAlign()};n.useImperativeHandle(H,()=>{var Ge,st;return{forceAlign:nt,forcePopupAlign:()=>{J.deprecated(!1,"forcePopupAlign","forceAlign"),nt()},nativeElement:(Ge=G.current)===null||Ge===void 0?void 0:Ge.nativeElement,popupElement:(st=G.current)===null||st===void 0?void 0:st.popupElement}});const[Qe,Ue]=(0,$.Z)(!1,{value:(M=p.open)!==null&&M!==void 0?M:p.visible,defaultValue:(W=p.defaultOpen)!==null&&W!==void 0?W:p.defaultVisible}),ft=!we&&!Ae&&we!==0,Zt=Ge=>{var st,ht;Ue(ft?!1:Ge),ft||((st=p.onOpenChange)===null||st===void 0||st.call(p,Ge),(ht=p.onVisibleChange)===null||ht===void 0||ht.call(p,Ge))},vt=n.useMemo(()=>{var Ge,st;let ht=yt;return typeof Ce=="object"&&(ht=(st=(Ge=Ce.pointAtCenter)!==null&&Ge!==void 0?Ge:Ce.arrowPointAtCenter)!==null&&st!==void 0?st:yt),Be||(0,V.Z)({arrowPointAtCenter:ht,autoAdjustOverflow:c,arrowWidth:T?U.sizePopupArrow:0,borderRadius:U.borderRadius,offset:U.marginXXS,visibleFirst:!0})},[yt,Ce,Be,U]),Pe=n.useMemo(()=>we===0?we:Ae||we||"",[Ae,we]),pt=n.createElement(D.Z,{space:!0},typeof Pe=="function"?Pe():Pe),rt=pe("tooltip",O),Oe=pe(),He=p["data-popover-inject"];let te=Qe;!("open"in p)&&!("visible"in p)&&ft&&(te=!1);const lt=n.isValidElement(ve)&&!(0,I.M2)(ve)?ve:n.createElement("span",null,ve),et=lt.props,mt=!et.className||typeof et.className=="string"?Z()(et.className,w||`${rt}-open`):et.className,[Ie,en,tt]=ke(rt,!He),Tt=qe(rt,re),gt=Tt.arrowStyle,Ht=Z()(d,{[`${rt}-rtl`]:ce==="rtl"},Tt.className,h,en,tt,he,ee.root,K==null?void 0:K.root),Dt=Z()(ee.body,K==null?void 0:K.body),[Bt,gn]=(0,z.Cn)("Tooltip",j.zIndex),hn=n.createElement(_.Z,Object.assign({},j,{zIndex:Bt,showArrow:T,placement:B,mouseEnterDelay:i,mouseLeaveDelay:a,prefixCls:rt,classNames:{root:Ht,body:Dt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gt),X.root),ue),t),x==null?void 0:x.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},X.body),se),x==null?void 0:x.body),Tt.overlayStyle)},getTooltipContainer:l||R||q,ref:G,builtinPlacements:vt,overlay:pt,visible:te,onVisibleChange:Zt,afterVisibleChange:be!=null?be:Ve,arrowContent:n.createElement("span",{className:`${rt}-arrow-content`}),motion:{motionName:(0,N.m)(Oe,"zoom-big-fast",p.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Fe}),te?(0,I.Tm)(lt,{className:mt}):lt);return Ie(n.createElement(F.Z.Provider,{value:gn},hn))});C._InternalPanelDoNotUseOrYouWillBeFired=Te;var P=C},28321:function(St,ie,e){e.d(ie,{iz:function(){return zt},ck:function(){return Oe},BW:function(){return Dn},sN:function(){return Oe},Wd:function(){return on},ZP:function(){return vn},Xl:function(){return qe}});var n=e(60499),g=e(18642),Z=e(85899),_=e(77654),$=e(72190),D=e(42244),z=e(92310),N=e.n(z),V=e(83836),I=e(18929),L=e(13697),F=e(48736),r=e(59301),S=e(4676),Re=r.createContext(null);function xe(o,v){return o===void 0?null:"".concat(o,"-").concat(v)}function ze(o){var v=r.useContext(Re);return xe(v,o)}var $e=e(80547),je=["children","locked"],Q=r.createContext(null);function Ye(o,v){var y=(0,Z.Z)({},o);return Object.keys(v).forEach(function(f){var s=v[f];s!==void 0&&(y[f]=s)}),y}function Le(o){var v=o.children,y=o.locked,f=(0,D.Z)(o,je),s=r.useContext(Q),m=(0,$e.Z)(function(){return Ye(s,f)},[s,f],function(E,k){return!y&&(E[0]!==k[0]||!(0,L.Z)(E[1],k[1],!0))});return r.createElement(Q.Provider,{value:m},v)}var de=[],dt=r.createContext(null);function ke(){return r.useContext(dt)}var xt=r.createContext(de);function qe(o){var v=r.useContext(xt);return r.useMemo(function(){return o!==void 0?[].concat((0,_.Z)(v),[o]):v},[v,o])}var le=r.createContext(null),Te=r.createContext({}),b=Te,u=e(29194);function C(o){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,u.Z)(o)){var y=o.nodeName.toLowerCase(),f=["input","select","textarea","button"].includes(y)||o.isContentEditable||y==="a"&&!!o.getAttribute("href"),s=o.getAttribute("tabindex"),m=Number(s),E=null;return s&&!Number.isNaN(m)?E=m:f&&E===null&&(E=0),f&&o.disabled&&(E=null),E!==null&&(E>=0||v&&E<0)}return!1}function P(o){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,y=(0,_.Z)(o.querySelectorAll("*")).filter(function(f){return C(f,v)});return C(o,v)&&y.unshift(o),y}var p=null;function H(){p=document.activeElement}function M(){p=null}function W(){if(p)try{p.focus()}catch(o){}}function O(o,v){if(v.keyCode===9){var y=P(o),f=y[v.shiftKey?0:y.length-1],s=f===document.activeElement||o===document.activeElement;if(s){var m=y[v.shiftKey?y.length-1:0];m.focus(),v.preventDefault()}}}var w=e(10228),R=e(16089),re=w.Z.LEFT,se=w.Z.RIGHT,ve=w.Z.UP,be=w.Z.DOWN,Ve=w.Z.ENTER,Fe=w.Z.ESC,Ce=w.Z.HOME,we=w.Z.END,Ae=[ve,be,re,se];function Be(o,v,y,f){var s,m="prev",E="next",k="children",ye="parent";if(o==="inline"&&f===Ve)return{inlineTrigger:!0};var ae=(0,g.Z)((0,g.Z)({},ve,m),be,E),Je=(0,g.Z)((0,g.Z)((0,g.Z)((0,g.Z)({},re,y?E:m),se,y?m:E),be,k),Ve,k),me=(0,g.Z)((0,g.Z)((0,g.Z)((0,g.Z)((0,g.Z)((0,g.Z)({},ve,m),be,E),Ve,k),Fe,ye),re,y?k:ye),se,y?ye:k),ge={inline:ae,horizontal:Je,vertical:me,inlineSub:ae,horizontalSub:me,verticalSub:me},Se=(s=ge["".concat(o).concat(v?"":"Sub")])===null||s===void 0?void 0:s[f];switch(Se){case m:return{offset:-1,sibling:!0};case E:return{offset:1,sibling:!0};case ye:return{offset:-1,sibling:!1};case k:return{offset:1,sibling:!1};default:return null}}function yt(o){for(var v=o;v;){if(v.getAttribute("data-menu-list"))return v;v=v.parentElement}return null}function c(o,v){for(var y=o||document.activeElement;y;){if(v.has(y))return y;y=y.parentElement}return null}function A(o,v){var y=P(o,!0);return y.filter(function(f){return v.has(f)})}function l(o,v,y){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!o)return null;var s=A(o,v),m=s.length,E=s.findIndex(function(k){return y===k});return f<0?E===-1?E=m-1:E-=1:f>0&&(E+=1),E=(E+m)%m,s[E]}var B=function(v,y){var f=new Set,s=new Map,m=new Map;return v.forEach(function(E){var k=document.querySelector("[data-menu-id='".concat(xe(y,E),"']"));k&&(f.add(k),m.set(k,E),s.set(E,k))}),{elements:f,key2element:s,element2key:m}};function i(o,v,y,f,s,m,E,k,ye,ae){var Je=r.useRef(),me=r.useRef();me.current=v;var ge=function(){R.Z.cancel(Je.current)};return r.useEffect(function(){return function(){ge()}},[]),function(Se){var De=Se.which;if([].concat(Ae,[Ve,Fe,Ce,we]).includes(De)){var Ne=m(),ne=B(Ne,f),fe=ne,We=fe.elements,Ee=fe.key2element,Me=fe.element2key,_e=Ee.get(v),Ze=c(_e,We),Ke=Me.get(Ze),$t=Be(o,E(Ke,!0).length===1,y,De);if(!$t&&De!==Ce&&De!==we)return;(Ae.includes(De)||[Ce,we].includes(De))&&Se.preventDefault();var ut=function(wt){if(wt){var nn=wt,ot=wt.querySelector("a");ot!=null&&ot.getAttribute("href")&&(nn=ot);var Gt=Me.get(wt);k(Gt),ge(),Je.current=(0,R.Z)(function(){me.current===Gt&&nn.focus()})}};if([Ce,we].includes(De)||$t.sibling||!Ze){var Vt;!Ze||o==="inline"?Vt=s.current:Vt=yt(Ze);var Mt,Pt=A(Vt,We);De===Ce?Mt=Pt[0]:De===we?Mt=Pt[Pt.length-1]:Mt=l(Vt,We,Ze,$t.offset),ut(Mt)}else if($t.inlineTrigger)ye(Ke);else if($t.offset>0)ye(Ke,!0),ge(),Je.current=(0,R.Z)(function(){ne=B(Ne,f);var Ut=Ze.getAttribute("aria-controls"),wt=document.getElementById(Ut),nn=l(wt,ne.elements);ut(nn)},5);else if($t.offset<0){var Ft=E(Ke,!0),At=Ft[Ft.length-2],Lt=Ee.get(At);ye(At,!1),ut(Lt)}}ae==null||ae(Se)}}function a(o){Promise.resolve().then(o)}var t="__RC_UTIL_PATH_SPLIT__",h=function(v){return v.join(t)},d=function(v){return v.split(t)},x="rc-menu-more";function K(){var o=r.useState({}),v=(0,$.Z)(o,2),y=v[1],f=(0,r.useRef)(new Map),s=(0,r.useRef)(new Map),m=r.useState([]),E=(0,$.Z)(m,2),k=E[0],ye=E[1],ae=(0,r.useRef)(0),Je=(0,r.useRef)(!1),me=function(){Je.current||y({})},ge=(0,r.useCallback)(function(Ee,Me){var _e=h(Me);s.current.set(_e,Ee),f.current.set(Ee,_e),ae.current+=1;var Ze=ae.current;a(function(){Ze===ae.current&&me()})},[]),Se=(0,r.useCallback)(function(Ee,Me){var _e=h(Me);s.current.delete(_e),f.current.delete(Ee)},[]),De=(0,r.useCallback)(function(Ee){ye(Ee)},[]),Ne=(0,r.useCallback)(function(Ee,Me){var _e=f.current.get(Ee)||"",Ze=d(_e);return Me&&k.includes(Ze[0])&&Ze.unshift(x),Ze},[k]),ne=(0,r.useCallback)(function(Ee,Me){return Ee.filter(function(_e){return _e!==void 0}).some(function(_e){var Ze=Ne(_e,!0);return Ze.includes(Me)})},[Ne]),fe=function(){var Me=(0,_.Z)(f.current.keys());return k.length&&Me.push(x),Me},We=(0,r.useCallback)(function(Ee){var Me="".concat(f.current.get(Ee)).concat(t),_e=new Set;return(0,_.Z)(s.current.keys()).forEach(function(Ze){Ze.startsWith(Me)&&_e.add(s.current.get(Ze))}),_e},[]);return r.useEffect(function(){return function(){Je.current=!0}},[]),{registerPath:ge,unregisterPath:Se,refreshOverflowKeys:De,isSubPathKey:ne,getKeyPath:Ne,getKeys:fe,getSubPathKeys:We}}function j(o){var v=r.useRef(o);v.current=o;var y=r.useCallback(function(){for(var f,s=arguments.length,m=new Array(s),E=0;E<s;E++)m[E]=arguments[E];return(f=v.current)===null||f===void 0?void 0:f.call.apply(f,[v].concat(m))},[]);return o?y:void 0}var T=Math.random().toFixed(5).toString().slice(2),U=0;function q(o){var v=(0,I.Z)(o,{value:o}),y=(0,$.Z)(v,2),f=y[0],s=y[1];return r.useEffect(function(){U+=1;var m="".concat(T,"-").concat(U);s("rc-menu-uuid-".concat(m))},[]),f}var pe=e(38705),ce=e(17212),he=e(39153),ue=e(55401),ee=e(2738),X=e(8654);function J(o,v,y,f){var s=r.useContext(Q),m=s.activeKey,E=s.onActive,k=s.onInactive,ye={active:m===o};return v||(ye.onMouseEnter=function(ae){y==null||y({key:o,domEvent:ae}),E(o)},ye.onMouseLeave=function(ae){f==null||f({key:o,domEvent:ae}),k(o)}),ye}function G(o){var v=r.useContext(Q),y=v.mode,f=v.rtl,s=v.inlineIndent;if(y!=="inline")return null;var m=o;return f?{paddingRight:m*s}:{paddingLeft:m*s}}function nt(o){var v=o.icon,y=o.props,f=o.children,s;return v===null||v===!1?null:(typeof v=="function"?s=r.createElement(v,(0,Z.Z)({},y)):typeof v!="boolean"&&(s=v),s||f||null)}var Qe=["item"];function Ue(o){var v=o.item,y=(0,D.Z)(o,Qe);return Object.defineProperty(y,"item",{get:function(){return(0,F.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),v}}),y}var ft=["title","attribute","elementRef"],Zt=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],vt=["active"],Pe=function(o){(0,he.Z)(y,o);var v=(0,ue.Z)(y);function y(){return(0,pe.Z)(this,y),v.apply(this,arguments)}return(0,ce.Z)(y,[{key:"render",value:function(){var s=this.props,m=s.title,E=s.attribute,k=s.elementRef,ye=(0,D.Z)(s,ft),ae=(0,ee.Z)(ye,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,F.ZP)(!E,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(V.Z.Item,(0,n.Z)({},E,{title:typeof m=="string"?m:void 0},ae,{ref:k}))}}]),y}(r.Component),pt=r.forwardRef(function(o,v){var y=o.style,f=o.className,s=o.eventKey,m=o.warnKey,E=o.disabled,k=o.itemIcon,ye=o.children,ae=o.role,Je=o.onMouseEnter,me=o.onMouseLeave,ge=o.onClick,Se=o.onKeyDown,De=o.onFocus,Ne=(0,D.Z)(o,Zt),ne=ze(s),fe=r.useContext(Q),We=fe.prefixCls,Ee=fe.onItemClick,Me=fe.disabled,_e=fe.overflowDisabled,Ze=fe.itemIcon,Ke=fe.selectedKeys,$t=fe.onActive,ut=r.useContext(b),Vt=ut._internalRenderMenuItem,Mt="".concat(We,"-item"),Pt=r.useRef(),Ft=r.useRef(),At=Me||E,Lt=(0,X.x1)(v,Ft),Ut=qe(s),wt=function(Ot){return{key:s,keyPath:(0,_.Z)(Ut).reverse(),item:Pt.current,domEvent:Ot}},nn=k||Ze,ot=J(s,At,Je,me),Gt=ot.active,Sn=(0,D.Z)(ot,vt),Mn=Ke.includes(s),an=G(Ut.length),wn=function(Ot){if(!At){var Yt=wt(Ot);ge==null||ge(Ue(Yt)),Ee(Yt)}},Wt=function(Ot){if(Se==null||Se(Ot),Ot.which===w.Z.ENTER){var Yt=wt(Ot);ge==null||ge(Ue(Yt)),Ee(Yt)}},qt=function(Ot){$t(s),De==null||De(Ot)},Pn={};o.role==="option"&&(Pn["aria-selected"]=Mn);var ln=r.createElement(Pe,(0,n.Z)({ref:Pt,elementRef:Lt,role:ae===null?"none":ae||"menuitem",tabIndex:E?null:-1,"data-menu-id":_e&&ne?null:ne},(0,ee.Z)(Ne,["extra"]),Sn,Pn,{component:"li","aria-disabled":E,style:(0,Z.Z)((0,Z.Z)({},an),y),className:N()(Mt,(0,g.Z)((0,g.Z)((0,g.Z)({},"".concat(Mt,"-active"),Gt),"".concat(Mt,"-selected"),Mn),"".concat(Mt,"-disabled"),At),f),onClick:wn,onKeyDown:Wt,onFocus:qt}),ye,r.createElement(nt,{props:(0,Z.Z)((0,Z.Z)({},o),{},{isSelected:Mn}),icon:nn}));return Vt&&(ln=Vt(ln,o,{selected:Mn})),ln});function rt(o,v){var y=o.eventKey,f=ke(),s=qe(y);return r.useEffect(function(){if(f)return f.registerPath(y,s),function(){f.unregisterPath(y,s)}},[s]),f?null:r.createElement(pt,(0,n.Z)({},o,{ref:v}))}var Oe=r.forwardRef(rt),He=["className","children"],te=function(v,y){var f=v.className,s=v.children,m=(0,D.Z)(v,He),E=r.useContext(Q),k=E.prefixCls,ye=E.mode,ae=E.rtl;return r.createElement("ul",(0,n.Z)({className:N()(k,ae&&"".concat(k,"-rtl"),"".concat(k,"-sub"),"".concat(k,"-").concat(ye==="inline"?"inline":"vertical"),f),role:"menu"},m,{"data-menu-list":!0,ref:y}),s)},lt=r.forwardRef(te);lt.displayName="SubMenuList";var et=lt,mt=e(11592);function Ie(o,v){return(0,mt.Z)(o).map(function(y,f){if(r.isValidElement(y)){var s,m,E=y.key,k=(s=(m=y.props)===null||m===void 0?void 0:m.eventKey)!==null&&s!==void 0?s:E,ye=k==null;ye&&(k="tmp_key-".concat([].concat((0,_.Z)(v),[f]).join("-")));var ae={key:k,eventKey:k};return r.cloneElement(y,ae)}return y})}var en=e(68196),tt={adjustX:1,adjustY:1},Tt={topLeft:{points:["bl","tl"],overflow:tt},topRight:{points:["br","tr"],overflow:tt},bottomLeft:{points:["tl","bl"],overflow:tt},bottomRight:{points:["tr","br"],overflow:tt},leftTop:{points:["tr","tl"],overflow:tt},leftBottom:{points:["br","bl"],overflow:tt},rightTop:{points:["tl","tr"],overflow:tt},rightBottom:{points:["bl","br"],overflow:tt}},gt={topLeft:{points:["bl","tl"],overflow:tt},topRight:{points:["br","tr"],overflow:tt},bottomLeft:{points:["tl","bl"],overflow:tt},bottomRight:{points:["tr","br"],overflow:tt},rightTop:{points:["tr","tl"],overflow:tt},rightBottom:{points:["br","bl"],overflow:tt},leftTop:{points:["tl","tr"],overflow:tt},leftBottom:{points:["bl","br"],overflow:tt}},Ht=null;function Dt(o,v,y){if(v)return v;if(y)return y[o]||y.other}var Bt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function gn(o){var v=o.prefixCls,y=o.visible,f=o.children,s=o.popup,m=o.popupStyle,E=o.popupClassName,k=o.popupOffset,ye=o.disabled,ae=o.mode,Je=o.onVisibleChange,me=r.useContext(Q),ge=me.getPopupContainer,Se=me.rtl,De=me.subMenuOpenDelay,Ne=me.subMenuCloseDelay,ne=me.builtinPlacements,fe=me.triggerSubMenuAction,We=me.forceSubMenuRender,Ee=me.rootClassName,Me=me.motion,_e=me.defaultMotions,Ze=r.useState(!1),Ke=(0,$.Z)(Ze,2),$t=Ke[0],ut=Ke[1],Vt=Se?(0,Z.Z)((0,Z.Z)({},gt),ne):(0,Z.Z)((0,Z.Z)({},Tt),ne),Mt=Bt[ae],Pt=Dt(ae,Me,_e),Ft=r.useRef(Pt);ae!=="inline"&&(Ft.current=Pt);var At=(0,Z.Z)((0,Z.Z)({},Ft.current),{},{leavedClassName:"".concat(v,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Lt=r.useRef();return r.useEffect(function(){return Lt.current=(0,R.Z)(function(){ut(y)}),function(){R.Z.cancel(Lt.current)}},[y]),r.createElement(en.Z,{prefixCls:v,popupClassName:N()("".concat(v,"-popup"),(0,g.Z)({},"".concat(v,"-rtl"),Se),E,Ee),stretch:ae==="horizontal"?"minWidth":null,getPopupContainer:ge,builtinPlacements:Vt,popupPlacement:Mt,popupVisible:$t,popup:s,popupStyle:m,popupAlign:k&&{offset:k},action:ye?[]:[fe],mouseEnterDelay:De,mouseLeaveDelay:Ne,onPopupVisibleChange:Je,forceRender:We,popupMotion:At,fresh:!0},f)}var hn=e(77900);function Ge(o){var v=o.id,y=o.open,f=o.keyPath,s=o.children,m="inline",E=r.useContext(Q),k=E.prefixCls,ye=E.forceSubMenuRender,ae=E.motion,Je=E.defaultMotions,me=E.mode,ge=r.useRef(!1);ge.current=me===m;var Se=r.useState(!ge.current),De=(0,$.Z)(Se,2),Ne=De[0],ne=De[1],fe=ge.current?y:!1;r.useEffect(function(){ge.current&&ne(!1)},[me]);var We=(0,Z.Z)({},Dt(m,ae,Je));f.length>1&&(We.motionAppear=!1);var Ee=We.onVisibleChanged;return We.onVisibleChanged=function(Me){return!ge.current&&!Me&&ne(!0),Ee==null?void 0:Ee(Me)},Ne?null:r.createElement(Le,{mode:m,locked:!ge.current},r.createElement(hn.default,(0,n.Z)({visible:fe},We,{forceRender:ye,removeOnLeave:!1,leavedClassName:"".concat(k,"-hidden")}),function(Me){var _e=Me.className,Ze=Me.style;return r.createElement(et,{id:v,className:_e,style:Ze},s)}))}var st=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ht=["active"],ct=r.forwardRef(function(o,v){var y=o.style,f=o.className,s=o.title,m=o.eventKey,E=o.warnKey,k=o.disabled,ye=o.internalPopupClose,ae=o.children,Je=o.itemIcon,me=o.expandIcon,ge=o.popupClassName,Se=o.popupOffset,De=o.popupStyle,Ne=o.onClick,ne=o.onMouseEnter,fe=o.onMouseLeave,We=o.onTitleClick,Ee=o.onTitleMouseEnter,Me=o.onTitleMouseLeave,_e=(0,D.Z)(o,st),Ze=ze(m),Ke=r.useContext(Q),$t=Ke.prefixCls,ut=Ke.mode,Vt=Ke.openKeys,Mt=Ke.disabled,Pt=Ke.overflowDisabled,Ft=Ke.activeKey,At=Ke.selectedKeys,Lt=Ke.itemIcon,Ut=Ke.expandIcon,wt=Ke.onItemClick,nn=Ke.onOpenChange,ot=Ke.onActive,Gt=r.useContext(b),Sn=Gt._internalRenderSubMenuItem,Mn=r.useContext(le),an=Mn.isSubPathKey,wn=qe(),Wt="".concat($t,"-submenu"),qt=Mt||k,Pn=r.useRef(),ln=r.useRef(),sn=Je!=null?Je:Lt,Ot=me!=null?me:Ut,Yt=Vt.includes(m),cn=!Pt&&Yt,On=an(At,m),Qt=J(m,qt,Ee,Me),rn=Qt.active,xn=(0,D.Z)(Qt,ht),Rn=r.useState(!1),zn=(0,$.Z)(Rn,2),jn=zn[0],An=zn[1],Nn=function(Jt){qt||An(Jt)},Vn=function(Jt){Nn(!0),ne==null||ne({key:m,domEvent:Jt})},Gn=function(Jt){Nn(!1),fe==null||fe({key:m,domEvent:Jt})},Bn=r.useMemo(function(){return rn||(ut!=="inline"?jn||an([Ft],m):!1)},[ut,rn,Ft,jn,m,an]),mn=G(wn.length),Yn=function(Jt){qt||(We==null||We({key:m,domEvent:Jt}),ut==="inline"&&nn(m,!Yt))},Qn=j(function(bt){Ne==null||Ne(Ue(bt)),wt(bt)}),Ln=function(Jt){ut!=="inline"&&nn(m,Jt)},Fn=function(){ot(m)},Hn=Ze&&"".concat(Ze,"-popup"),Zn=r.useMemo(function(){return r.createElement(nt,{icon:ut!=="horizontal"?Ot:void 0,props:(0,Z.Z)((0,Z.Z)({},o),{},{isOpen:cn,isSubMenu:!0})},r.createElement("i",{className:"".concat(Wt,"-arrow")}))},[ut,Ot,o,cn,Wt]),Xt=r.createElement("div",(0,n.Z)({role:"menuitem",style:mn,className:"".concat(Wt,"-title"),tabIndex:qt?null:-1,ref:Pn,title:typeof s=="string"?s:null,"data-menu-id":Pt&&Ze?null:Ze,"aria-expanded":cn,"aria-haspopup":!0,"aria-controls":Hn,"aria-disabled":qt,onClick:Yn,onFocus:Fn},xn),s,Zn),yn=r.useRef(ut);if(ut!=="inline"&&wn.length>1?yn.current="vertical":yn.current=ut,!Pt){var Wn=yn.current;Xt=r.createElement(gn,{mode:Wn,prefixCls:Wt,visible:!ye&&cn&&ut!=="inline",popupClassName:ge,popupOffset:Se,popupStyle:De,popup:r.createElement(Le,{mode:Wn==="horizontal"?"vertical":Wn},r.createElement(et,{id:Hn,ref:ln},ae)),disabled:qt,onVisibleChange:Ln},Xt)}var Kt=r.createElement(V.Z.Item,(0,n.Z)({ref:v,role:"none"},_e,{component:"li",style:y,className:N()(Wt,"".concat(Wt,"-").concat(ut),f,(0,g.Z)((0,g.Z)((0,g.Z)((0,g.Z)({},"".concat(Wt,"-open"),cn),"".concat(Wt,"-active"),Bn),"".concat(Wt,"-selected"),On),"".concat(Wt,"-disabled"),qt)),onMouseEnter:Vn,onMouseLeave:Gn}),Xt,!Pt&&r.createElement(Ge,{id:Hn,open:cn,keyPath:wn},ae));return Sn&&(Kt=Sn(Kt,o,{selected:On,active:Bn,open:cn,disabled:qt})),r.createElement(Le,{onItemClick:Qn,mode:ut==="horizontal"?"vertical":ut,itemIcon:sn,expandIcon:Ot},Kt)}),un=r.forwardRef(function(o,v){var y=o.eventKey,f=o.children,s=qe(y),m=Ie(f,s),E=ke();r.useEffect(function(){if(E)return E.registerPath(y,s),function(){E.unregisterPath(y,s)}},[s]);var k;return E?k=m:k=r.createElement(ct,(0,n.Z)({ref:v},o),m),r.createElement(xt.Provider,{value:s},k)}),on=un,kt=e(43749);function zt(o){var v=o.className,y=o.style,f=r.useContext(Q),s=f.prefixCls,m=ke();return m?null:r.createElement("li",{role:"separator",className:N()("".concat(s,"-item-divider"),v),style:y})}var dn=["className","title","eventKey","children"],tn=r.forwardRef(function(o,v){var y=o.className,f=o.title,s=o.eventKey,m=o.children,E=(0,D.Z)(o,dn),k=r.useContext(Q),ye=k.prefixCls,ae="".concat(ye,"-item-group");return r.createElement("li",(0,n.Z)({ref:v,role:"presentation"},E,{onClick:function(me){return me.stopPropagation()},className:N()(ae,y)}),r.createElement("div",{role:"presentation",className:"".concat(ae,"-title"),title:typeof f=="string"?f:void 0},f),r.createElement("ul",{role:"group",className:"".concat(ae,"-list")},m))}),fn=r.forwardRef(function(o,v){var y=o.eventKey,f=o.children,s=qe(y),m=Ie(f,s),E=ke();return E?m:r.createElement(tn,(0,n.Z)({ref:v},(0,ee.Z)(o,["warnKey"])),m)}),Dn=fn,Xe=["label","children","key","type","extra"];function $n(o,v,y){var f=v.item,s=v.group,m=v.submenu,E=v.divider;return(o||[]).map(function(k,ye){if(k&&(0,kt.Z)(k)==="object"){var ae=k,Je=ae.label,me=ae.children,ge=ae.key,Se=ae.type,De=ae.extra,Ne=(0,D.Z)(ae,Xe),ne=ge!=null?ge:"tmp-".concat(ye);return me||Se==="group"?Se==="group"?r.createElement(s,(0,n.Z)({key:ne},Ne,{title:Je}),$n(me,v,y)):r.createElement(m,(0,n.Z)({key:ne},Ne,{title:Je}),$n(me,v,y)):Se==="divider"?r.createElement(E,(0,n.Z)({key:ne},Ne)):r.createElement(f,(0,n.Z)({key:ne},Ne,{extra:De}),Je,(!!De||De===0)&&r.createElement("span",{className:"".concat(y,"-item-extra")},De))}return null}).filter(function(k){return k})}function Et(o,v,y,f,s){var m=o,E=(0,Z.Z)({divider:zt,item:Oe,group:Dn,submenu:on},f);return v&&(m=$n(v,E,s)),Ie(m,y)}var Kn=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],jt=[],pn=r.forwardRef(function(o,v){var y,f=o,s=f.prefixCls,m=s===void 0?"rc-menu":s,E=f.rootClassName,k=f.style,ye=f.className,ae=f.tabIndex,Je=ae===void 0?0:ae,me=f.items,ge=f.children,Se=f.direction,De=f.id,Ne=f.mode,ne=Ne===void 0?"vertical":Ne,fe=f.inlineCollapsed,We=f.disabled,Ee=f.disabledOverflow,Me=f.subMenuOpenDelay,_e=Me===void 0?.1:Me,Ze=f.subMenuCloseDelay,Ke=Ze===void 0?.1:Ze,$t=f.forceSubMenuRender,ut=f.defaultOpenKeys,Vt=f.openKeys,Mt=f.activeKey,Pt=f.defaultActiveFirst,Ft=f.selectable,At=Ft===void 0?!0:Ft,Lt=f.multiple,Ut=Lt===void 0?!1:Lt,wt=f.defaultSelectedKeys,nn=f.selectedKeys,ot=f.onSelect,Gt=f.onDeselect,Sn=f.inlineIndent,Mn=Sn===void 0?24:Sn,an=f.motion,wn=f.defaultMotions,Wt=f.triggerSubMenuAction,qt=Wt===void 0?"hover":Wt,Pn=f.builtinPlacements,ln=f.itemIcon,sn=f.expandIcon,Ot=f.overflowedIndicator,Yt=Ot===void 0?"...":Ot,cn=f.overflowedIndicatorPopupClassName,On=f.getPopupContainer,Qt=f.onClick,rn=f.onOpenChange,xn=f.onKeyDown,Rn=f.openAnimation,zn=f.openTransitionName,jn=f._internalRenderMenuItem,An=f._internalRenderSubMenuItem,Nn=f._internalComponents,Vn=(0,D.Z)(f,Kn),Gn=r.useMemo(function(){return[Et(ge,me,jt,Nn,m),Et(ge,me,jt,{},m)]},[ge,me,Nn]),Bn=(0,$.Z)(Gn,2),mn=Bn[0],Yn=Bn[1],Qn=r.useState(!1),Ln=(0,$.Z)(Qn,2),Fn=Ln[0],Hn=Ln[1],Zn=r.useRef(),Xt=q(De),yn=Se==="rtl",Wn=(0,I.Z)(ut,{value:Vt,postState:function(it){return it||jt}}),Kt=(0,$.Z)(Wn,2),bt=Kt[0],Jt=Kt[1],bn=function(it){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Cn(){Jt(it),rn==null||rn(it)}It?(0,S.flushSync)(Cn):Cn()},Tn=r.useState(bt),Un=(0,$.Z)(Tn,2),qn=Un[0],tr=Un[1],Xn=r.useRef(!1),nr=r.useMemo(function(){return(ne==="inline"||ne==="vertical")&&fe?["vertical",fe]:[ne,!1]},[ne,fe]),Y=(0,$.Z)(nr,2),oe=Y[0],at=Y[1],Rt=oe==="inline",Ct=r.useState(oe),Jn=(0,$.Z)(Ct,2),En=Jn[0],ar=Jn[1],er=r.useState(at),vr=(0,$.Z)(er,2),wr=vr[0],xr=vr[1];r.useEffect(function(){ar(oe),xr(at),Xn.current&&(Rt?Jt(qn):bn(jt))},[oe,at]);var Er=r.useState(0),mr=(0,$.Z)(Er,2),ir=mr[0],$r=mr[1],cr=ir>=mn.length-1||En!=="horizontal"||Ee;r.useEffect(function(){Rt&&tr(bt)},[bt]),r.useEffect(function(){return Xn.current=!0,function(){Xn.current=!1}},[]);var _n=K(),gr=_n.registerPath,hr=_n.unregisterPath,Pr=_n.refreshOverflowKeys,pr=_n.isSubPathKey,Or=_n.getKeyPath,yr=_n.getKeys,Rr=_n.getSubPathKeys,Nr=r.useMemo(function(){return{registerPath:gr,unregisterPath:hr}},[gr,hr]),Zr=r.useMemo(function(){return{isSubPathKey:pr}},[pr]);r.useEffect(function(){Pr(cr?jt:mn.slice(ir+1).map(function(Nt){return Nt.key}))},[ir,cr]);var Tr=(0,I.Z)(Mt||Pt&&((y=mn[0])===null||y===void 0?void 0:y.key),{value:Mt}),br=(0,$.Z)(Tr,2),rr=br[0],ur=br[1],Dr=j(function(Nt){ur(Nt)}),zr=j(function(){ur(void 0)});(0,r.useImperativeHandle)(v,function(){return{list:Zn.current,focus:function(it){var It,Cn=yr(),In=B(Cn,Xt),sr=In.elements,dr=In.key2element,Fr=In.element2key,Sr=A(Zn.current,sr),Mr=rr!=null?rr:Sr[0]?Fr.get(Sr[0]):(It=mn.find(function(Ur){return!Ur.props.disabled}))===null||It===void 0?void 0:It.key,or=dr.get(Mr);if(Mr&&or){var fr;or==null||(fr=or.focus)===null||fr===void 0||fr.call(or,it)}}}});var jr=(0,I.Z)(wt||[],{value:nn,postState:function(it){return Array.isArray(it)?it:it==null?jt:[it]}}),Cr=(0,$.Z)(jr,2),lr=Cr[0],Ar=Cr[1],Br=function(it){if(At){var It=it.key,Cn=lr.includes(It),In;Ut?Cn?In=lr.filter(function(dr){return dr!==It}):In=[].concat((0,_.Z)(lr),[It]):In=[It],Ar(In);var sr=(0,Z.Z)((0,Z.Z)({},it),{},{selectedKeys:In});Cn?Gt==null||Gt(sr):ot==null||ot(sr)}!Ut&&bt.length&&En!=="inline"&&bn(jt)},Lr=j(function(Nt){Qt==null||Qt(Ue(Nt)),Br(Nt)}),Ir=j(function(Nt,it){var It=bt.filter(function(In){return In!==Nt});if(it)It.push(Nt);else if(En!=="inline"){var Cn=Rr(Nt);It=It.filter(function(In){return!Cn.has(In)})}(0,L.Z)(bt,It,!0)||bn(It,!0)}),Hr=function(it,It){var Cn=It!=null?It:!bt.includes(it);Ir(it,Cn)},Wr=i(En,rr,yn,Xt,Zn,yr,Or,ur,Hr,xn);r.useEffect(function(){Hn(!0)},[]);var Kr=r.useMemo(function(){return{_internalRenderMenuItem:jn,_internalRenderSubMenuItem:An}},[jn,An]),kr=En!=="horizontal"||Ee?mn:mn.map(function(Nt,it){return r.createElement(Le,{key:Nt.key,overflowDisabled:it>ir},Nt)}),Vr=r.createElement(V.Z,(0,n.Z)({id:De,ref:Zn,prefixCls:"".concat(m,"-overflow"),component:"ul",itemComponent:Oe,className:N()(m,"".concat(m,"-root"),"".concat(m,"-").concat(En),ye,(0,g.Z)((0,g.Z)({},"".concat(m,"-inline-collapsed"),wr),"".concat(m,"-rtl"),yn),E),dir:Se,style:k,role:"menu",tabIndex:Je,data:kr,renderRawItem:function(it){return it},renderRawRest:function(it){var It=it.length,Cn=It?mn.slice(-It):null;return r.createElement(on,{eventKey:x,title:Yt,disabled:cr,internalPopupClose:It===0,popupClassName:cn},Cn)},maxCount:En!=="horizontal"||Ee?V.Z.INVALIDATE:V.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(it){$r(it)},onKeyDown:Wr},Vn));return r.createElement(b.Provider,{value:Kr},r.createElement(Re.Provider,{value:Xt},r.createElement(Le,{prefixCls:m,rootClassName:E,mode:En,openKeys:bt,rtl:yn,disabled:We,motion:Fn?an:null,defaultMotions:Fn?wn:null,activeKey:rr,onActive:Dr,onInactive:zr,selectedKeys:lr,inlineIndent:Mn,subMenuOpenDelay:_e,subMenuCloseDelay:Ke,forceSubMenuRender:$t,builtinPlacements:Pn,triggerSubMenuAction:qt,getPopupContainer:On,itemIcon:ln,expandIcon:sn,onItemClick:Lr,onOpenChange:Ir},r.createElement(le.Provider,{value:Zr},Vr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(dt.Provider,{value:Nr},Yn)))))}),kn=pn,_t=kn;_t.Item=Oe,_t.SubMenu=on,_t.ItemGroup=Dn,_t.Divider=zt;var vn=_t},83836:function(St,ie,e){e.d(ie,{Z:function(){return H}});var n=e(60499),g=e(85899),Z=e(72190),_=e(42244),$=e(59301),D=e(92310),z=e.n(D),N=e(29301),V=e(34280),I=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],L=void 0;function F(M,W){var O=M.prefixCls,w=M.invalidate,R=M.item,re=M.renderItem,se=M.responsive,ve=M.responsiveDisabled,be=M.registerSize,Ve=M.itemKey,Fe=M.className,Ce=M.style,we=M.children,Ae=M.display,Be=M.order,yt=M.component,c=yt===void 0?"div":yt,A=(0,_.Z)(M,I),l=se&&!Ae;function B(d){be(Ve,d)}$.useEffect(function(){return function(){B(null)}},[]);var i=re&&R!==L?re(R,{index:Be}):we,a;w||(a={opacity:l?0:1,height:l?0:L,overflowY:l?"hidden":L,order:se?Be:L,pointerEvents:l?"none":L,position:l?"absolute":L});var t={};l&&(t["aria-hidden"]=!0);var h=$.createElement(c,(0,n.Z)({className:z()(!w&&O,Fe),style:(0,g.Z)((0,g.Z)({},a),Ce)},t,A,{ref:W}),i);return se&&(h=$.createElement(N.Z,{onResize:function(x){var K=x.offsetWidth;B(K)},disabled:ve},h)),h}var r=$.forwardRef(F);r.displayName="Item";var S=r,Re=e(6089),xe=e(4676),ze=e(16089);function $e(M){if(typeof MessageChannel=="undefined")(0,ze.Z)(M);else{var W=new MessageChannel;W.port1.onmessage=function(){return M()},W.port2.postMessage(void 0)}}function je(){var M=$.useRef(null),W=function(w){M.current||(M.current=[],$e(function(){(0,xe.unstable_batchedUpdates)(function(){M.current.forEach(function(R){R()}),M.current=null})})),M.current.push(w)};return W}function Q(M,W){var O=$.useState(W),w=(0,Z.Z)(O,2),R=w[0],re=w[1],se=(0,Re.Z)(function(ve){M(function(){re(ve)})});return[R,se]}var Ye=$.createContext(null),Le=["component"],de=["className"],dt=["className"],ke=function(W,O){var w=$.useContext(Ye);if(!w){var R=W.component,re=R===void 0?"div":R,se=(0,_.Z)(W,Le);return $.createElement(re,(0,n.Z)({},se,{ref:O}))}var ve=w.className,be=(0,_.Z)(w,de),Ve=W.className,Fe=(0,_.Z)(W,dt);return $.createElement(Ye.Provider,{value:null},$.createElement(S,(0,n.Z)({ref:O,className:z()(ve,Ve)},be,Fe)))},xt=$.forwardRef(ke);xt.displayName="RawItem";var qe=xt,le=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Te="responsive",b="invalidate";function u(M){return"+ ".concat(M.length," ...")}function C(M,W){var O=M.prefixCls,w=O===void 0?"rc-overflow":O,R=M.data,re=R===void 0?[]:R,se=M.renderItem,ve=M.renderRawItem,be=M.itemKey,Ve=M.itemWidth,Fe=Ve===void 0?10:Ve,Ce=M.ssr,we=M.style,Ae=M.className,Be=M.maxCount,yt=M.renderRest,c=M.renderRawRest,A=M.prefix,l=M.suffix,B=M.component,i=B===void 0?"div":B,a=M.itemComponent,t=M.onVisibleChange,h=(0,_.Z)(M,le),d=Ce==="full",x=je(),K=Q(x,null),j=(0,Z.Z)(K,2),T=j[0],U=j[1],q=T||0,pe=Q(x,new Map),ce=(0,Z.Z)(pe,2),he=ce[0],ue=ce[1],ee=Q(x,0),X=(0,Z.Z)(ee,2),J=X[0],G=X[1],nt=Q(x,0),Qe=(0,Z.Z)(nt,2),Ue=Qe[0],ft=Qe[1],Zt=Q(x,0),vt=(0,Z.Z)(Zt,2),Pe=vt[0],pt=vt[1],rt=Q(x,0),Oe=(0,Z.Z)(rt,2),He=Oe[0],te=Oe[1],lt=(0,$.useState)(null),et=(0,Z.Z)(lt,2),mt=et[0],Ie=et[1],en=(0,$.useState)(null),tt=(0,Z.Z)(en,2),Tt=tt[0],gt=tt[1],Ht=$.useMemo(function(){return Tt===null&&d?Number.MAX_SAFE_INTEGER:Tt||0},[Tt,T]),Dt=(0,$.useState)(!1),Bt=(0,Z.Z)(Dt,2),gn=Bt[0],hn=Bt[1],Ge="".concat(w,"-item"),st=Math.max(J,Ue),ht=Be===Te,ct=re.length&&ht,un=Be===b,on=ct||typeof Be=="number"&&re.length>Be,kt=(0,$.useMemo)(function(){var s=re;return ct?T===null&&d?s=re:s=re.slice(0,Math.min(re.length,q/Fe)):typeof Be=="number"&&(s=re.slice(0,Be)),s},[re,Fe,T,Be,ct]),zt=(0,$.useMemo)(function(){return ct?re.slice(Ht+1):re.slice(kt.length)},[re,kt,ct,Ht]),dn=(0,$.useCallback)(function(s,m){var E;return typeof be=="function"?be(s):(E=be&&(s==null?void 0:s[be]))!==null&&E!==void 0?E:m},[be]),tn=(0,$.useCallback)(se||function(s){return s},[se]);function fn(s,m,E){Tt===s&&(m===void 0||m===mt)||(gt(s),E||(hn(s<re.length-1),t==null||t(s)),m!==void 0&&Ie(m))}function Dn(s,m){U(m.clientWidth)}function Xe(s,m){ue(function(E){var k=new Map(E);return m===null?k.delete(s):k.set(s,m),k})}function $n(s,m){ft(m),G(Ue)}function Et(s,m){pt(m)}function Kn(s,m){te(m)}function jt(s){return he.get(dn(kt[s],s))}(0,V.Z)(function(){if(q&&typeof st=="number"&&kt){var s=Pe+He,m=kt.length,E=m-1;if(!m){fn(0,null);return}for(var k=0;k<m;k+=1){var ye=jt(k);if(d&&(ye=ye||0),ye===void 0){fn(k-1,void 0,!0);break}if(s+=ye,E===0&&s<=q||k===E-1&&s+jt(E)<=q){fn(E,null);break}else if(s+st>q){fn(k-1,s-ye-He+Ue);break}}l&&jt(0)+He>q&&Ie(null)}},[q,he,Ue,Pe,He,dn,kt]);var pn=gn&&!!zt.length,kn={};mt!==null&&ct&&(kn={position:"absolute",left:mt,top:0});var _t={prefixCls:Ge,responsive:ct,component:a,invalidate:un},vn=ve?function(s,m){var E=dn(s,m);return $.createElement(Ye.Provider,{key:E,value:(0,g.Z)((0,g.Z)({},_t),{},{order:m,item:s,itemKey:E,registerSize:Xe,display:m<=Ht})},ve(s,m))}:function(s,m){var E=dn(s,m);return $.createElement(S,(0,n.Z)({},_t,{order:m,key:E,item:s,renderItem:tn,itemKey:E,registerSize:Xe,display:m<=Ht}))},o={order:pn?Ht:Number.MAX_SAFE_INTEGER,className:"".concat(Ge,"-rest"),registerSize:$n,display:pn},v=yt||u,y=c?$.createElement(Ye.Provider,{value:(0,g.Z)((0,g.Z)({},_t),o)},c(zt)):$.createElement(S,(0,n.Z)({},_t,o),typeof v=="function"?v(zt):v),f=$.createElement(i,(0,n.Z)({className:z()(!un&&w,Ae),style:we,ref:W},h),A&&$.createElement(S,(0,n.Z)({},_t,{responsive:ht,responsiveDisabled:!ct,order:-1,className:"".concat(Ge,"-prefix"),registerSize:Et,display:!0}),A),kt.map(vn),on?y:null,l&&$.createElement(S,(0,n.Z)({},_t,{responsive:ht,responsiveDisabled:!ct,order:Ht,className:"".concat(Ge,"-suffix"),registerSize:Kn,display:!0,style:kn}),l));return ht?$.createElement(N.Z,{onResize:Dn,disabled:!ct},f):f}var P=$.forwardRef(C);P.displayName="Overflow",P.Item=qe,P.RESPONSIVE=Te,P.INVALIDATE=b;var p=P,H=p},29301:function(St,ie,e){e.d(ie,{Z:function(){return b}});var n=e(60499),g=e(59301),Z=e(11592),_=e(48736),$=e(85899),D=e(43749),z=e(76846),N=e(8654),V=g.createContext(null);function I(u){var C=u.children,P=u.onBatchResize,p=g.useRef(0),H=g.useRef([]),M=g.useContext(V),W=g.useCallback(function(O,w,R){p.current+=1;var re=p.current;H.current.push({size:O,element:w,data:R}),Promise.resolve().then(function(){re===p.current&&(P==null||P(H.current),H.current=[])}),M==null||M(O,w,R)},[P,M]);return g.createElement(V.Provider,{value:W},C)}var L=e(76374),F=new Map;function r(u){u.forEach(function(C){var P,p=C.target;(P=F.get(p))===null||P===void 0||P.forEach(function(H){return H(p)})})}var S=new L.Z(r),Re=null,xe=null;function ze(u,C){F.has(u)||(F.set(u,new Set),S.observe(u)),F.get(u).add(C)}function $e(u,C){F.has(u)&&(F.get(u).delete(C),F.get(u).size||(S.unobserve(u),F.delete(u)))}var je=e(38705),Q=e(17212),Ye=e(39153),Le=e(55401),de=function(u){(0,Ye.Z)(P,u);var C=(0,Le.Z)(P);function P(){return(0,je.Z)(this,P),C.apply(this,arguments)}return(0,Q.Z)(P,[{key:"render",value:function(){return this.props.children}}]),P}(g.Component);function dt(u,C){var P=u.children,p=u.disabled,H=g.useRef(null),M=g.useRef(null),W=g.useContext(V),O=typeof P=="function",w=O?P(H):P,R=g.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),re=!O&&g.isValidElement(w)&&(0,N.Yr)(w),se=re?(0,N.C4)(w):null,ve=(0,N.x1)(se,H),be=function(){var we;return(0,z.ZP)(H.current)||(H.current&&(0,D.Z)(H.current)==="object"?(0,z.ZP)((we=H.current)===null||we===void 0?void 0:we.nativeElement):null)||(0,z.ZP)(M.current)};g.useImperativeHandle(C,function(){return be()});var Ve=g.useRef(u);Ve.current=u;var Fe=g.useCallback(function(Ce){var we=Ve.current,Ae=we.onResize,Be=we.data,yt=Ce.getBoundingClientRect(),c=yt.width,A=yt.height,l=Ce.offsetWidth,B=Ce.offsetHeight,i=Math.floor(c),a=Math.floor(A);if(R.current.width!==i||R.current.height!==a||R.current.offsetWidth!==l||R.current.offsetHeight!==B){var t={width:i,height:a,offsetWidth:l,offsetHeight:B};R.current=t;var h=l===Math.round(c)?c:l,d=B===Math.round(A)?A:B,x=(0,$.Z)((0,$.Z)({},t),{},{offsetWidth:h,offsetHeight:d});W==null||W(x,Ce,Be),Ae&&Promise.resolve().then(function(){Ae(x,Ce)})}},[]);return g.useEffect(function(){var Ce=be();return Ce&&!p&&ze(Ce,Fe),function(){return $e(Ce,Fe)}},[H.current,p]),g.createElement(de,{ref:M},re?g.cloneElement(w,{ref:ve}):w)}var ke=g.forwardRef(dt),xt=ke,qe="rc-observer-key";function le(u,C){var P=u.children,p=typeof P=="function"?[P]:(0,Z.Z)(P);return p.map(function(H,M){var W=(H==null?void 0:H.key)||"".concat(qe,"-").concat(M);return g.createElement(xt,(0,n.Z)({},u,{key:W,ref:M===0?C:void 0}),H)})}var Te=g.forwardRef(le);Te.Collection=I;var b=Te},29125:function(St,ie,e){e.d(ie,{G:function(){return _},Z:function(){return $e}});var n=e(92310),g=e.n(n),Z=e(59301);function _(je){var Q=je.children,Ye=je.prefixCls,Le=je.id,de=je.overlayInnerStyle,dt=je.bodyClassName,ke=je.className,xt=je.style;return Z.createElement("div",{className:g()("".concat(Ye,"-content"),ke),style:xt},Z.createElement("div",{className:g()("".concat(Ye,"-inner"),dt),id:Le,role:"tooltip",style:de},typeof Q=="function"?Q():Q))}var $=e(60499),D=e(85899),z=e(42244),N=e(68196),V={shiftX:64,adjustY:1},I={adjustX:1,shiftY:!0},L=[0,0],F={left:{points:["cr","cl"],overflow:I,offset:[-4,0],targetOffset:L},right:{points:["cl","cr"],overflow:I,offset:[4,0],targetOffset:L},top:{points:["bc","tc"],overflow:V,offset:[0,-4],targetOffset:L},bottom:{points:["tc","bc"],overflow:V,offset:[0,4],targetOffset:L},topLeft:{points:["bl","tl"],overflow:V,offset:[0,-4],targetOffset:L},leftTop:{points:["tr","tl"],overflow:I,offset:[-4,0],targetOffset:L},topRight:{points:["br","tr"],overflow:V,offset:[0,-4],targetOffset:L},rightTop:{points:["tl","tr"],overflow:I,offset:[4,0],targetOffset:L},bottomRight:{points:["tr","br"],overflow:V,offset:[0,4],targetOffset:L},rightBottom:{points:["bl","br"],overflow:I,offset:[4,0],targetOffset:L},bottomLeft:{points:["tl","bl"],overflow:V,offset:[0,4],targetOffset:L},leftBottom:{points:["br","bl"],overflow:I,offset:[-4,0],targetOffset:L}},r=null,S=e(80402),Re=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],xe=function(Q,Ye){var Le=Q.overlayClassName,de=Q.trigger,dt=de===void 0?["hover"]:de,ke=Q.mouseEnterDelay,xt=ke===void 0?0:ke,qe=Q.mouseLeaveDelay,le=qe===void 0?.1:qe,Te=Q.overlayStyle,b=Q.prefixCls,u=b===void 0?"rc-tooltip":b,C=Q.children,P=Q.onVisibleChange,p=Q.afterVisibleChange,H=Q.transitionName,M=Q.animation,W=Q.motion,O=Q.placement,w=O===void 0?"right":O,R=Q.align,re=R===void 0?{}:R,se=Q.destroyTooltipOnHide,ve=se===void 0?!1:se,be=Q.defaultVisible,Ve=Q.getTooltipContainer,Fe=Q.overlayInnerStyle,Ce=Q.arrowContent,we=Q.overlay,Ae=Q.id,Be=Q.showArrow,yt=Be===void 0?!0:Be,c=Q.classNames,A=Q.styles,l=(0,z.Z)(Q,Re),B=(0,S.Z)(Ae),i=(0,Z.useRef)(null);(0,Z.useImperativeHandle)(Ye,function(){return i.current});var a=(0,D.Z)({},l);"visible"in Q&&(a.popupVisible=Q.visible);var t=function(){return Z.createElement(_,{key:"content",prefixCls:u,id:B,bodyClassName:c==null?void 0:c.body,overlayInnerStyle:(0,D.Z)((0,D.Z)({},Fe),A==null?void 0:A.body)},we)},h=function(){var x=Z.Children.only(C),K=(x==null?void 0:x.props)||{},j=(0,D.Z)((0,D.Z)({},K),{},{"aria-describedby":we?B:null});return Z.cloneElement(C,j)};return Z.createElement(N.Z,(0,$.Z)({popupClassName:g()(Le,c==null?void 0:c.root),prefixCls:u,popup:t,action:dt,builtinPlacements:F,popupPlacement:w,ref:i,popupAlign:re,getPopupContainer:Ve,onPopupVisibleChange:P,afterPopupVisibleChange:p,popupTransitionName:H,popupAnimation:M,popupMotion:W,defaultPopupVisible:be,autoDestroy:ve,mouseLeaveDelay:le,popupStyle:(0,D.Z)((0,D.Z)({},Te),A==null?void 0:A.root),mouseEnterDelay:xt,arrow:yt},a),h())},ze=(0,Z.forwardRef)(xe),$e=ze},49658:function(St,ie){ie.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},76374:function(St,ie,e){var n=function(){if(typeof Map!="undefined")return Map;function b(u,C){var P=-1;return u.some(function(p,H){return p[0]===C?(P=H,!0):!1}),P}return function(){function u(){this.__entries__=[]}return Object.defineProperty(u.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),u.prototype.get=function(C){var P=b(this.__entries__,C),p=this.__entries__[P];return p&&p[1]},u.prototype.set=function(C,P){var p=b(this.__entries__,C);~p?this.__entries__[p][1]=P:this.__entries__.push([C,P])},u.prototype.delete=function(C){var P=this.__entries__,p=b(P,C);~p&&P.splice(p,1)},u.prototype.has=function(C){return!!~b(this.__entries__,C)},u.prototype.clear=function(){this.__entries__.splice(0)},u.prototype.forEach=function(C,P){P===void 0&&(P=null);for(var p=0,H=this.__entries__;p<H.length;p++){var M=H[p];C.call(P,M[1],M[0])}},u}()}(),g=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,Z=function(){return typeof e.g!="undefined"&&e.g.Math===Math?e.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),_=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Z):function(b){return setTimeout(function(){return b(Date.now())},1e3/60)}}(),$=2;function D(b,u){var C=!1,P=!1,p=0;function H(){C&&(C=!1,b()),P&&W()}function M(){_(H)}function W(){var O=Date.now();if(C){if(O-p<$)return;P=!0}else C=!0,P=!1,setTimeout(M,u);p=O}return W}var z=20,N=["top","right","bottom","left","width","height","size","weight"],V=typeof MutationObserver!="undefined",I=function(){function b(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=D(this.refresh.bind(this),z)}return b.prototype.addObserver=function(u){~this.observers_.indexOf(u)||this.observers_.push(u),this.connected_||this.connect_()},b.prototype.removeObserver=function(u){var C=this.observers_,P=C.indexOf(u);~P&&C.splice(P,1),!C.length&&this.connected_&&this.disconnect_()},b.prototype.refresh=function(){var u=this.updateObservers_();u&&this.refresh()},b.prototype.updateObservers_=function(){var u=this.observers_.filter(function(C){return C.gatherActive(),C.hasActive()});return u.forEach(function(C){return C.broadcastActive()}),u.length>0},b.prototype.connect_=function(){!g||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),V?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},b.prototype.disconnect_=function(){!g||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},b.prototype.onTransitionEnd_=function(u){var C=u.propertyName,P=C===void 0?"":C,p=N.some(function(H){return!!~P.indexOf(H)});p&&this.refresh()},b.getInstance=function(){return this.instance_||(this.instance_=new b),this.instance_},b.instance_=null,b}(),L=function(b,u){for(var C=0,P=Object.keys(u);C<P.length;C++){var p=P[C];Object.defineProperty(b,p,{value:u[p],enumerable:!1,writable:!1,configurable:!0})}return b},F=function(b){var u=b&&b.ownerDocument&&b.ownerDocument.defaultView;return u||Z},r=de(0,0,0,0);function S(b){return parseFloat(b)||0}function Re(b){for(var u=[],C=1;C<arguments.length;C++)u[C-1]=arguments[C];return u.reduce(function(P,p){var H=b["border-"+p+"-width"];return P+S(H)},0)}function xe(b){for(var u=["top","right","bottom","left"],C={},P=0,p=u;P<p.length;P++){var H=p[P],M=b["padding-"+H];C[H]=S(M)}return C}function ze(b){var u=b.getBBox();return de(0,0,u.width,u.height)}function $e(b){var u=b.clientWidth,C=b.clientHeight;if(!u&&!C)return r;var P=F(b).getComputedStyle(b),p=xe(P),H=p.left+p.right,M=p.top+p.bottom,W=S(P.width),O=S(P.height);if(P.boxSizing==="border-box"&&(Math.round(W+H)!==u&&(W-=Re(P,"left","right")+H),Math.round(O+M)!==C&&(O-=Re(P,"top","bottom")+M)),!Q(b)){var w=Math.round(W+H)-u,R=Math.round(O+M)-C;Math.abs(w)!==1&&(W-=w),Math.abs(R)!==1&&(O-=R)}return de(p.left,p.top,W,O)}var je=function(){return typeof SVGGraphicsElement!="undefined"?function(b){return b instanceof F(b).SVGGraphicsElement}:function(b){return b instanceof F(b).SVGElement&&typeof b.getBBox=="function"}}();function Q(b){return b===F(b).document.documentElement}function Ye(b){return g?je(b)?ze(b):$e(b):r}function Le(b){var u=b.x,C=b.y,P=b.width,p=b.height,H=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,M=Object.create(H.prototype);return L(M,{x:u,y:C,width:P,height:p,top:C,right:u+P,bottom:p+C,left:u}),M}function de(b,u,C,P){return{x:b,y:u,width:C,height:P}}var dt=function(){function b(u){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=de(0,0,0,0),this.target=u}return b.prototype.isActive=function(){var u=Ye(this.target);return this.contentRect_=u,u.width!==this.broadcastWidth||u.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var u=this.contentRect_;return this.broadcastWidth=u.width,this.broadcastHeight=u.height,u},b}(),ke=function(){function b(u,C){var P=Le(C);L(this,{target:u,contentRect:P})}return b}(),xt=function(){function b(u,C,P){if(this.activeObservations_=[],this.observations_=new n,typeof u!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=u,this.controller_=C,this.callbackCtx_=P}return b.prototype.observe=function(u){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(u instanceof F(u).Element))throw new TypeError('parameter 1 is not of type "Element".');var C=this.observations_;C.has(u)||(C.set(u,new dt(u)),this.controller_.addObserver(this),this.controller_.refresh())}},b.prototype.unobserve=function(u){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(u instanceof F(u).Element))throw new TypeError('parameter 1 is not of type "Element".');var C=this.observations_;C.has(u)&&(C.delete(u),C.size||this.controller_.removeObserver(this))}},b.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},b.prototype.gatherActive=function(){var u=this;this.clearActive(),this.observations_.forEach(function(C){C.isActive()&&u.activeObservations_.push(C)})},b.prototype.broadcastActive=function(){if(this.hasActive()){var u=this.callbackCtx_,C=this.activeObservations_.map(function(P){return new ke(P.target,P.broadcastRect())});this.callback_.call(u,C,u),this.clearActive()}},b.prototype.clearActive=function(){this.activeObservations_.splice(0)},b.prototype.hasActive=function(){return this.activeObservations_.length>0},b}(),qe=typeof WeakMap!="undefined"?new WeakMap:new n,le=function(){function b(u){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var C=I.getInstance(),P=new xt(u,C,this);qe.set(this,P)}return b}();["observe","unobserve","disconnect"].forEach(function(b){le.prototype[b]=function(){var u;return(u=qe.get(this))[b].apply(u,arguments)}});var Te=function(){return typeof Z.ResizeObserver!="undefined"?Z.ResizeObserver:le}();ie.Z=Te}}]);