(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{"/ezw":function(xe,fe,l){"use strict";var A=l("rePB"),X=l("wx14"),_=l("U8pU"),C=l("TSYQ"),p=l.n(C),O=l("q1tI"),w=l("H84U"),P=l("bT9E"),q=function(E){var $,L,Q=E.prefixCls,k=E.className,de=E.style,re=E.size,me=E.shape,ce=p()(($={},Object(A.a)($,"".concat(Q,"-lg"),re==="large"),Object(A.a)($,"".concat(Q,"-sm"),re==="small"),$)),Ee=p()((L={},Object(A.a)(L,"".concat(Q,"-circle"),me==="circle"),Object(A.a)(L,"".concat(Q,"-square"),me==="square"),Object(A.a)(L,"".concat(Q,"-round"),me==="round"),L)),pe=O.useMemo(function(){return typeof re=="number"?{width:re,height:re,lineHeight:"".concat(re,"px")}:{}},[re]);return O.createElement("span",{className:p()(Q,ce,Ee,k),style:Object(X.a)(Object(X.a)({},pe),de)})},b=q,h=function(E){var $=E.prefixCls,L=E.className,Q=E.active,k=E.shape,de=k===void 0?"circle":k,re=E.size,me=re===void 0?"default":re,ce=O.useContext(w.b),Ee=ce.getPrefixCls,pe=Ee("skeleton",$),Ne=Object(P.a)(E,["prefixCls","className"]),_e=p()(pe,"".concat(pe,"-element"),Object(A.a)({},"".concat(pe,"-active"),Q),L);return O.createElement("div",{className:_e},O.createElement(b,Object(X.a)({prefixCls:"".concat(pe,"-avatar"),shape:de,size:me},Ne)))},ie=h,ve=function(E){var $,L=E.prefixCls,Q=E.className,k=E.active,de=E.block,re=de===void 0?!1:de,me=E.size,ce=me===void 0?"default":me,Ee=O.useContext(w.b),pe=Ee.getPrefixCls,Ne=pe("skeleton",L),_e=Object(P.a)(E,["prefixCls"]),ut=p()(Ne,"".concat(Ne,"-element"),($={},Object(A.a)($,"".concat(Ne,"-active"),k),Object(A.a)($,"".concat(Ne,"-block"),re),$),Q);return O.createElement("div",{className:ut},O.createElement(b,Object(X.a)({prefixCls:"".concat(Ne,"-button"),size:ce},_e)))},s=ve,x=l("VTBJ"),g={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},U=g,Y=l("6VBw"),y=function(E,$){return O.createElement(Y.a,Object(x.a)(Object(x.a)({},E),{},{ref:$,icon:U}))};y.displayName="DotChartOutlined";var d=O.forwardRef(y),N=function(E){var $=E.prefixCls,L=E.className,Q=E.style,k=E.active,de=E.children,re=O.useContext(w.b),me=re.getPrefixCls,ce=me("skeleton",$),Ee=p()(ce,"".concat(ce,"-element"),Object(A.a)({},"".concat(ce,"-active"),k),L),pe=de!=null?de:O.createElement(d,null);return O.createElement("div",{className:Ee},O.createElement("div",{className:p()("".concat(ce,"-image"),L),style:Q},pe))},S=N,B="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",G=function(E){var $=E.prefixCls,L=E.className,Q=E.style,k=E.active,de=O.useContext(w.b),re=de.getPrefixCls,me=re("skeleton",$),ce=p()(me,"".concat(me,"-element"),Object(A.a)({},"".concat(me,"-active"),k),L);return O.createElement("div",{className:ce},O.createElement("div",{className:p()("".concat(me,"-image"),L),style:Q},O.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(me,"-image-svg")},O.createElement("path",{d:B,className:"".concat(me,"-image-path")}))))},W=G,V=function(E){var $,L=E.prefixCls,Q=E.className,k=E.active,de=E.block,re=E.size,me=re===void 0?"default":re,ce=O.useContext(w.b),Ee=ce.getPrefixCls,pe=Ee("skeleton",L),Ne=Object(P.a)(E,["prefixCls"]),_e=p()(pe,"".concat(pe,"-element"),($={},Object(A.a)($,"".concat(pe,"-active"),k),Object(A.a)($,"".concat(pe,"-block"),de),$),Q);return O.createElement("div",{className:_e},O.createElement(b,Object(X.a)({prefixCls:"".concat(pe,"-input"),size:me},Ne)))},ee=V,ge=l("KQm4"),Ce=function(E){var $=function(ce){var Ee=E.width,pe=E.rows,Ne=pe===void 0?2:pe;if(Array.isArray(Ee))return Ee[ce];if(Ne-1===ce)return Ee},L=E.prefixCls,Q=E.className,k=E.style,de=E.rows,re=Object(ge.a)(Array(de)).map(function(me,ce){return O.createElement("li",{key:ce,style:{width:$(ce)}})});return O.createElement("ul",{className:p()(L,Q),style:k},re)},te=Ce,J=function(E){var $=E.prefixCls,L=E.className,Q=E.width,k=E.style;return O.createElement("h3",{className:p()($,L),style:Object(X.a)({width:Q},k)})},le=J;function ue(K){return K&&Object(_.a)(K)==="object"?K:{}}function we(K,E){return K&&!E?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function vt(K,E){return!K&&E?{width:"38%"}:K&&E?{width:"50%"}:{}}function lt(K,E){var $={};return(!K||!E)&&($.width="61%"),!K&&E?$.rows=3:$.rows=2,$}var Te=function(E){var $=E.prefixCls,L=E.loading,Q=E.className,k=E.style,de=E.children,re=E.avatar,me=re===void 0?!1:re,ce=E.title,Ee=ce===void 0?!0:ce,pe=E.paragraph,Ne=pe===void 0?!0:pe,_e=E.active,ut=E.round,ct=O.useContext(w.b),et=ct.getPrefixCls,bt=ct.direction,Ke=et("skeleton",$);if(L||!("loading"in E)){var De,at=!!me,it=!!Ee,Ue=!!Ne,Je;if(at){var Ot=Object(X.a)(Object(X.a)({prefixCls:"".concat(Ke,"-avatar")},we(it,Ue)),ue(me));Je=O.createElement("div",{className:"".concat(Ke,"-header")},O.createElement(b,Object(X.a)({},Ot)))}var mt;if(it||Ue){var tt;if(it){var ht=Object(X.a)(Object(X.a)({prefixCls:"".concat(Ke,"-title")},vt(at,Ue)),ue(Ee));tt=O.createElement(le,Object(X.a)({},ht))}var ot;if(Ue){var $e=Object(X.a)(Object(X.a)({prefixCls:"".concat(Ke,"-paragraph")},lt(at,it)),ue(Ne));ot=O.createElement(te,Object(X.a)({},$e))}mt=O.createElement("div",{className:"".concat(Ke,"-content")},tt,ot)}var Qe=p()(Ke,(De={},Object(A.a)(De,"".concat(Ke,"-with-avatar"),at),Object(A.a)(De,"".concat(Ke,"-active"),_e),Object(A.a)(De,"".concat(Ke,"-rtl"),bt==="rtl"),Object(A.a)(De,"".concat(Ke,"-round"),ut),De),Q);return O.createElement("div",{className:Qe,style:k},Je,mt)}return typeof de!="undefined"?de:null};Te.Button=s,Te.Avatar=ie,Te.Input=ee,Te.Image=W,Te.Node=S;var rt=Te,D=fe.a=rt},"/wGt":function(xe,fe,l){"use strict";var A=l("wx14"),X=l("rePB"),_=l("ODXe"),C=l("4i/N"),p=l("TSYQ"),O=l.n(p),w=l("VTBJ"),P=l("q1tI"),q=l("bTyn"),b=l("TNol"),h=l("8XRh"),ie=l("4IlW"),ve=l("bX4T"),s=P.createContext(null),x=s,g=function(K){var E=K.prefixCls,$=K.className,L=K.style,Q=K.children,k=K.containerRef,de=K.id,re=K.onMouseEnter,me=K.onMouseOver,ce=K.onMouseLeave,Ee=K.onClick,pe=K.onKeyDown,Ne=K.onKeyUp,_e={onMouseEnter:re,onMouseOver:me,onMouseLeave:ce,onClick:Ee,onKeyDown:pe,onKeyUp:Ne};return P.createElement(P.Fragment,null,P.createElement("div",Object(A.a)({id:de,className:O()("".concat(E,"-content"),$),style:Object(w.a)({},L),"aria-modal":"true",role:"dialog",ref:k},_e),Q))},U=g,Y=l("Kwbf"),y=l("MNnm");function d(D){return typeof D=="string"&&String(Number(D))===D?(Object(Y.a)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(D)):D}function N(D){Object(Y.a)(!("wrapperClassName"in D),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),Object(Y.a)(Object(y.a)()||!D.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var S={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function B(D,K){var E,$,L,Q,k=D.prefixCls,de=D.open,re=D.placement,me=D.inline,ce=D.push,Ee=D.forceRender,pe=D.autoFocus,Ne=D.keyboard,_e=D.rootClassName,ut=D.rootStyle,ct=D.zIndex,et=D.className,bt=D.id,Ke=D.style,De=D.motion,at=D.width,it=D.height,Ue=D.children,Je=D.contentWrapperStyle,Ot=D.mask,mt=D.maskClosable,tt=D.maskMotion,ht=D.maskClassName,ot=D.maskStyle,$e=D.afterOpenChange,Qe=D.onClose,Et=D.onMouseEnter,St=D.onMouseOver,je=D.onMouseLeave,Se=D.onClick,Pe=D.onKeyDown,st=D.onKeyUp,Xe=P.useRef(),Pt=P.useRef(),wt=P.useRef();P.useImperativeHandle(K,function(){return Xe.current});var xt=function(Ge){var Dt=Ge.keyCode,At=Ge.shiftKey;switch(Dt){case ie.a.TAB:{if(Dt===ie.a.TAB){if(!At&&document.activeElement===wt.current){var Gt;(Gt=Pt.current)===null||Gt===void 0||Gt.focus({preventScroll:!0})}else if(At&&document.activeElement===Pt.current){var kt;(kt=wt.current)===null||kt===void 0||kt.focus({preventScroll:!0})}}break}case ie.a.ESC:{Qe&&Ne&&(Ge.stopPropagation(),Qe(Ge));break}}};P.useEffect(function(){if(de&&pe){var Ie;(Ie=Xe.current)===null||Ie===void 0||Ie.focus({preventScroll:!0})}},[de]);var Kt=P.useState(!1),ze=Object(_.a)(Kt,2),ft=ze[0],Oe=ze[1],Re=P.useContext(x),gt;ce===!1?gt={distance:0}:ce===!0?gt={}:gt=ce||{};var dt=(E=($=(L=gt)===null||L===void 0?void 0:L.distance)!==null&&$!==void 0?$:Re==null?void 0:Re.pushDistance)!==null&&E!==void 0?E:180,ln=P.useMemo(function(){return{pushDistance:dt,push:function(){Oe(!0)},pull:function(){Oe(!1)}}},[dt]);P.useEffect(function(){if(de){var Ie;Re==null||(Ie=Re.push)===null||Ie===void 0||Ie.call(Re)}else{var Ge;Re==null||(Ge=Re.pull)===null||Ge===void 0||Ge.call(Re)}},[de]),P.useEffect(function(){return function(){var Ie;Re==null||(Ie=Re.pull)===null||Ie===void 0||Ie.call(Re)}},[]);var un=Ot&&P.createElement(h.b,Object(A.a)({key:"mask"},tt,{visible:de}),function(Ie,Ge){var Dt=Ie.className,At=Ie.style;return P.createElement("div",{className:O()("".concat(k,"-mask"),Dt,ht),style:Object(w.a)(Object(w.a)({},At),ot),onClick:mt&&de?Qe:void 0,ref:Ge})}),Xt=typeof De=="function"?De(re):De,Rt={};if(ft&&dt)switch(re){case"top":Rt.transform="translateY(".concat(dt,"px)");break;case"bottom":Rt.transform="translateY(".concat(-dt,"px)");break;case"left":Rt.transform="translateX(".concat(dt,"px)");break;default:Rt.transform="translateX(".concat(-dt,"px)");break}re==="left"||re==="right"?Rt.width=d(at):Rt.height=d(it);var Wt={onMouseEnter:Et,onMouseOver:St,onMouseLeave:je,onClick:Se,onKeyDown:Pe,onKeyUp:st},Ht=P.createElement(h.b,Object(A.a)({key:"panel"},Xt,{visible:de,forceRender:Ee,onVisibleChanged:function(Ge){$e==null||$e(Ge)},removeOnLeave:!1,leavedClassName:"".concat(k,"-content-wrapper-hidden")}),function(Ie,Ge){var Dt=Ie.className,At=Ie.style;return P.createElement("div",Object(A.a)({className:O()("".concat(k,"-content-wrapper"),Dt),style:Object(w.a)(Object(w.a)(Object(w.a)({},Rt),At),Je)},Object(ve.a)(D,{data:!0})),P.createElement(U,Object(A.a)({id:bt,containerRef:Ge,prefixCls:k,className:et,style:Ke},Wt),Ue))}),Jt=Object(w.a)({},ut);return ct&&(Jt.zIndex=ct),P.createElement(x.Provider,{value:ln},P.createElement("div",{className:O()(k,"".concat(k,"-").concat(re),_e,(Q={},Object(X.a)(Q,"".concat(k,"-open"),de),Object(X.a)(Q,"".concat(k,"-inline"),me),Q)),style:Jt,tabIndex:-1,ref:Xe,onKeyDown:xt},un,P.createElement("div",{tabIndex:0,ref:Pt,style:S,"aria-hidden":"true","data-sentinel":"start"}),Ht,P.createElement("div",{tabIndex:0,ref:wt,style:S,"aria-hidden":"true","data-sentinel":"end"})))}var G=P.forwardRef(B),W=G,V=function(K){var E=K.open,$=E===void 0?!1:E,L=K.prefixCls,Q=L===void 0?"rc-drawer":L,k=K.placement,de=k===void 0?"right":k,re=K.autoFocus,me=re===void 0?!0:re,ce=K.keyboard,Ee=ce===void 0?!0:ce,pe=K.width,Ne=pe===void 0?378:pe,_e=K.mask,ut=_e===void 0?!0:_e,ct=K.maskClosable,et=ct===void 0?!0:ct,bt=K.getContainer,Ke=K.forceRender,De=K.afterOpenChange,at=K.destroyOnClose,it=K.onMouseEnter,Ue=K.onMouseOver,Je=K.onMouseLeave,Ot=K.onClick,mt=K.onKeyDown,tt=K.onKeyUp,ht=P.useState(!1),ot=Object(_.a)(ht,2),$e=ot[0],Qe=ot[1],Et=P.useState(!1),St=Object(_.a)(Et,2),je=St[0],Se=St[1];Object(b.a)(function(){Se(!0)},[]);var Pe=je?$:!1,st=P.useRef(),Xe=P.useRef();Object(b.a)(function(){Pe&&(Xe.current=document.activeElement)},[Pe]);var Pt=function(ze){var ft;if(Qe(ze),De==null||De(ze),!ze&&Xe.current&&!((ft=st.current)===null||ft===void 0?void 0:ft.contains(Xe.current))){var Oe;(Oe=Xe.current)===null||Oe===void 0||Oe.focus({preventScroll:!0})}};if(!Ke&&!$e&&!Pe&&at)return null;var wt={onMouseEnter:it,onMouseOver:Ue,onMouseLeave:Je,onClick:Ot,onKeyDown:mt,onKeyUp:tt},xt=Object(w.a)(Object(w.a)({},K),{},{open:Pe,prefixCls:Q,placement:de,autoFocus:me,keyboard:Ee,width:Ne,mask:ut,maskClosable:et,inline:bt===!1,afterOpenChange:Pt,ref:st},wt);return P.createElement(q.a,{open:Pe||Ke||$e,autoDestroy:!1,getContainer:bt,autoLock:ut&&(Pe||$e)},P.createElement(W,xt))},ee=V,ge=ee,Ce=l("H84U"),te=l("ihLV"),J=l("EXcs"),le=l("CWQg"),ue=l("+f9I"),we=function(D,K){var E={};for(var $ in D)Object.prototype.hasOwnProperty.call(D,$)&&K.indexOf($)<0&&(E[$]=D[$]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,$=Object.getOwnPropertySymbols(D);L<$.length;L++)K.indexOf($[L])<0&&Object.prototype.propertyIsEnumerable.call(D,$[L])&&(E[$[L]]=D[$[L]]);return E},vt=Object(le.a)("default","large"),lt={distance:180};function Te(D){var K=D.width,E=D.height,$=D.size,L=$===void 0?"default":$,Q=D.closable,k=Q===void 0?!0:Q,de=D.mask,re=de===void 0?!0:de,me=D.push,ce=me===void 0?lt:me,Ee=D.closeIcon,pe=Ee===void 0?P.createElement(C.a,null):Ee,Ne=D.bodyStyle,_e=D.drawerStyle,ut=D.className,ct=D.visible,et=D.open,bt=D.children,Ke=D.style,De=D.title,at=D.headerStyle,it=D.onClose,Ue=D.footer,Je=D.footerStyle,Ot=D.prefixCls,mt=D.getContainer,tt=D.extra,ht=D.afterVisibleChange,ot=D.afterOpenChange,$e=we(D,["width","height","size","closable","mask","push","closeIcon","bodyStyle","drawerStyle","className","visible","open","children","style","title","headerStyle","onClose","footer","footerStyle","prefixCls","getContainer","extra","afterVisibleChange","afterOpenChange"]),Qe=P.useContext(Ce.b),Et=Qe.getPopupContainer,St=Qe.getPrefixCls,je=Qe.direction,Se=St("drawer",Ot),Pe=mt===void 0&&Et?function(){return Et(document.body)}:mt,st=k&&P.createElement("button",{type:"button",onClick:it,"aria-label":"Close",className:"".concat(Se,"-close")},pe);[["visible","open"],["afterVisibleChange","afterOpenChange"]].forEach(function(Oe){var Re=Object(_.a)(Oe,2),gt=Re[0],dt=Re[1]});function Xe(){return!De&&!k?null:P.createElement("div",{className:O()("".concat(Se,"-header"),Object(X.a)({},"".concat(Se,"-header-close-only"),k&&!De&&!tt)),style:at},P.createElement("div",{className:"".concat(Se,"-header-title")},st,De&&P.createElement("div",{className:"".concat(Se,"-title")},De)),tt&&P.createElement("div",{className:"".concat(Se,"-extra")},tt))}function Pt(){if(!Ue)return null;var Oe="".concat(Se,"-footer");return P.createElement("div",{className:Oe,style:Je},Ue)}var wt=O()(Object(X.a)({"no-mask":!re},"".concat(Se,"-rtl"),je==="rtl"),ut),xt=P.useMemo(function(){return K!=null?K:L==="large"?736:378},[K,L]),Kt=P.useMemo(function(){return E!=null?E:L==="large"?736:378},[E,L]),ze={motionName:Object(J.c)(Se,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ft=function(Re){return{motionName:Object(J.c)(Se,"panel-motion-".concat(Re)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}};return P.createElement(ue.a,null,P.createElement(te.e,{status:!0,override:!0},P.createElement(ge,Object(A.a)({prefixCls:Se,onClose:it},$e,{open:et!=null?et:ct,mask:re,push:ce,width:xt,height:Kt,rootClassName:wt,getContainer:Pe,afterOpenChange:function(Re){ot==null||ot(Re),ht==null||ht(Re)},maskMotion:ze,motion:ft,rootStyle:Ke}),P.createElement("div",{className:"".concat(Se,"-wrapper-body"),style:Object(A.a)({},_e)},Xe(),P.createElement("div",{className:"".concat(Se,"-body"),style:Ne},bt),Pt()))))}var rt=fe.a=Te},"3j9d":function(xe,fe,l){"use strict";var A=l("J+/v"),X=l("MoRW"),_=l("1OyB"),C=l("vuIU"),p=l("Ji7U"),O=l("LK+K"),w=l("nKUr"),P=l.n(w),q=l("q1tI"),b=l.n(q),h=function(ie){Object(p.a)(s,ie);var ve=Object(O.a)(s);function s(){var x;Object(_.a)(this,s);for(var g=arguments.length,U=new Array(g),Y=0;Y>>r|e<<32-r}function B(r,e,t){return r&e^~r&t}function G(r,e,t){return r&e^r&t^e&t}function W(r){return S(2,r)^S(13,r)^S(22,r)}function V(r){return S(6,r)^S(11,r)^S(25,r)}function ee(r){return S(7,r)^S(18,r)^r>>>3}function ge(r){return S(17,r)^S(19,r)^r>>>10}function Ce(r,e){return r[e&15]+=ge(r[e+14&15])+r[e+9&15]+ee(r[e+1&15])}var te=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],J,le,ue,we="0123456789abcdef";function vt(r,e){var t=(r&65535)+(e&65535),n=(r>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function lt(){J=new Array(8),le=new Array(2),ue=new Array(64),le[0]=le[1]=0,J[0]=1779033703,J[1]=3144134277,J[2]=1013904242,J[3]=2773480762,J[4]=1359893119,J[5]=2600822924,J[6]=528734635,J[7]=1541459225}function Te(){var r,e,t,n,u,f,c,m,j,T,H=new Array(16);r=J[0],e=J[1],t=J[2],n=J[3],u=J[4],f=J[5],c=J[6],m=J[7];for(var z=0;z<16;z++)H[z]=ue[(z<<2)+3]|ue[(z<<2)+2]<<8|ue[(z<<2)+1]<<16|ue[z<<2]<<24;for(var F=0;F<64;F++)j=m+V(u)+B(u,f,c)+te[F],F<16?j+=H[F]:j+=Ce(H,F),T=W(r)+G(r,e,t),m=c,c=f,f=u,u=vt(n,j),n=t,t=e,e=r,r=vt(j,T);J[0]+=r,J[1]+=e,J[2]+=t,J[3]+=n,J[4]+=u,J[5]+=f,J[6]+=c,J[7]+=m}function rt(r,e){var t,n,u=0;n=le[0]>>3&63;var f=e&63;for((le[0]+=e<<3)>29,t=0;t+63>3&63;if(ue[r++]=128,r<=56)for(var e=r;e<56;e++)ue[e]=0;else{for(var t=r;t<64;t++)ue[t]=0;Te();for(var n=0;n<56;n++)ue[n]=0}ue[56]=le[1]>>>24&255,ue[57]=le[1]>>>16&255,ue[58]=le[1]>>>8&255,ue[59]=le[1]&255,ue[60]=le[0]>>>24&255,ue[61]=le[0]>>>16&255,ue[62]=le[0]>>>8&255,ue[63]=le[0]&255,Te()}function K(){for(var r=0,e=new Array(32),t=0;t<8;t++)e[r++]=J[t]>>>24&255,e[r++]=J[t]>>>16&255,e[r++]=J[t]>>>8&255,e[r++]=J[t]&255;return e}function E(){for(var r=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)r+=we.charAt(J[e]>>>t&15);return r}function $(r){return lt(),rt(r,r.length),D(),E()}var L=$;function Q(r){return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Q(r)}var k=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function de(r,e){return ce(r)||me(r,e)||tt(r,e)||re()}function re(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function me(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],u=!0,f=!1,c,m;try{for(t=t.call(r);!(u=(c=t.next()).done)&&(n.push(c.value),!(e&&n.length===e));u=!0);}catch(j){f=!0,m=j}finally{try{!u&&t.return!=null&&t.return()}finally{if(f)throw m}}return n}}function ce(r){if(Array.isArray(r))return r}function Ee(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=tt(r))||e&&r&&typeof r.length=="number"){t&&(r=t);var n=0,u=function(){};return{s:u,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(T){throw T},f:u}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var f=!0,c=!1,m;return{s:function(){t=t.call(r)},n:function(){var T=t.next();return f=T.done,T},e:function(T){c=!0,m=T},f:function(){try{!f&&t.return!=null&&t.return()}finally{if(c)throw m}}}}function pe(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(r,e){for(var t=0;tr.length)&&(e=r.length);for(var t=0,n=new Array(e);t=0)&&(!Object.prototype.propertyIsEnumerable.call(r,n)||(t[n]=r[n]))}return t}function Et(r,e){if(r==null)return{};var t={},n=Object.keys(r),u,f;for(f=0;f=0)&&(t[u]=r[u]);return t}function St(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),t.push.apply(t,n)}return t}function je(r){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||Xe(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},Kt=function(e,t){var n=e.menu,u=n===void 0?{}:n,f=e.indexRoute,c=e.path,m=c===void 0?"":c,j=e.children||e[Pe],T=u.name,H=T===void 0?e.name:T,z=u.icon,F=z===void 0?e.icon:z,ne=u.hideChildren,oe=ne===void 0?e.hideChildren:ne,be=u.flatMenu,ye=be===void 0?e.flatMenu:be,We=f&&Object.keys(f).join(",")!=="redirect"?[je({path:m,menu:u},f)].concat(j||[]):j,ae=je({},e);if(H&&(ae.name=H),F&&(ae.icon=F),We&&We.length){if(oe)return delete ae[Pe],delete ae.children,ae;var qe=ft(je(je({},t),{},{data:We}),e);if(ye)return qe;ae[Pe]=qe}return ae},ze=function(e){return Array.isArray(e)&&e.length>0};function ft(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,u=r.parentName,f=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(c){return c?ze(c[Pe])||ze(c.children)||c.path||c.originPath||c.layout?!0:(c.redirect||c.unaccessible,!1):!1}).filter(function(c){var m,j;return(c==null||(m=c.menu)===null||m===void 0?void 0:m.name)||(c==null?void 0:c.flatMenu)||(c==null||(j=c.menu)===null||j===void 0?void 0:j.flatMenu)?!0:c.menu!==!1}).map(function(c){var m=je({},c);return m.unaccessible&&delete m.name,m.path==="*"&&(m.path="."),m.path==="/*"&&(m.path="."),!m.path&&m.originPath&&(m.path=m.originPath),m}).map(function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},m=c.children||c[Pe],j=xt(c.path,e?e.path:"/"),T=c.name,H=wt(c,u||"menu"),z=H!==!1&&f!==!1&&n&&H?n({id:H,defaultMessage:T}):T,F=e.pro_layout_parentKeys,ne=F===void 0?[]:F,oe=e.children,be=e.icon,ye=e.flatMenu,We=e.indexRoute,ae=e.routes,qe=Qe(e,k),nt=new Set([].concat(Ot(ne),Ot(c.parentKeys||[])));e.key&&nt.add(e.key);var ke=je(je(je({},qe),{},{menu:void 0},c),{},{path:j,locale:H,key:c.key||Pt(je(je({},c),{},{path:j})),pro_layout_parentKeys:Array.from(nt).filter(function(Nt){return Nt&&Nt!=="/"})});if(z?ke.name=z:delete ke.name,ke.menu===void 0&&delete ke.menu,ze(m)){var Ve=ft(je(je({},r),{},{data:m,parentName:H||""}),ke);ze(Ve)&&(ke[Pe]=Ve,ke.children=Ve)}return Kt(ke,r)}).flat(1)}var Oe=Object(d.a)(ft,y.a),Re=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||ze(t[Pe])||ze(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var n=je({},t),u=n.children||n[Pe];if(ze(u)&&!n.hideChildrenInMenu&&u.some(function(m){return m&&!!m.name})){var f,c=r(u);if(c.length)return je(je({},n),{},(f={},Se(f,Pe,c),Se(f,"children",c),f))}return je(je({},t),{},Se({},Pe,void 0))}).filter(function(t){return t})},gt=function(r){ut(t,r);var e=ct(t);function t(){return pe(this,t),e.apply(this,arguments)}return _e(t,[{key:"get",value:function(u){var f;try{var c=Ee(this.entries()),m;try{for(c.s();!(m=c.n()).done;){var j=de(m.value,2),T=j[0],H=j[1],z=st(T);if(!Xe(T)&&Object(N.a)(z,[]).test(u)){f=H;break}}}catch(F){c.e(F)}finally{c.f()}}catch(F){f=void 0}return f}}]),t}(Ke(Map)),dt=function(e){var t=new gt,n=function u(f,c){f.forEach(function(m){var j=m.children||m[Pe];ze(j)&&u(j,m);var T=xt(m.path,c?c.path:"/");t.set(st(T),m)})};return n(e),t},ln=Object(d.a)(dt,y.a),un=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var n=t.children||t[Pe];if(ze(n)){var u=r(n);if(u.length)return je(je({},t),{},Se({},Pe,u))}var f=je({},t);return delete f[Pe],delete f.children,f}).filter(function(t){return t})},Xt=function(e,t,n,u){var f=Oe({data:e,formatMessage:n,locale:t}),c=u?un(f):Re(f),m=ln(f);return{breadcrumb:m,menuData:c}},Rt=Xt;function Wt(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),t.push.apply(t,n)}return t}function Ht(r){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(n){if(!(!n||!n.key)){var u=n.children||n[Pe];t[st(n.path||n.key||"/")]=Ht({},n),t[n.key||n.path||"/"]=Ht({},n),u&&(t=Ht(Ht({},t),r(u)))}}),t},Ge=Ie,Dt=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.filter(function(u){if(u==="/"&&t==="/")return!0;if(u!=="/"&&u!=="/*"&&u&&!Xe(u)){var f=st(u);try{if(n&&Object(N.a)("".concat(f)).test(t)||Object(N.a)("".concat(f),[]).test(t)||Object(N.a)("".concat(f,"/(.*)")).test(t))return!0}catch(c){}}return!1}).sort(function(u,f){return u===t?10:f===t?-10:u.substr(1).split("/").length-f.substr(1).split("/").length})},At=function(e,t,n,u){var f=Ge(t),c=Object.keys(f),m=Dt(c,e||"/",u);return!m||m.length<1?[]:(n||(m=[m[m.length-1]]),m.map(function(j){var T=f[j]||{pro_layout_parentKeys:"",key:""},H=new Map,z=(T.pro_layout_parentKeys||[]).map(function(F){return H.has(F)?null:(H.set(F,!0),f[F])}).filter(function(F){return F});return T.key&&z.push(T),z}).flat(1))},Gt=At,kt=l("TSYQ"),Ye=l.n(kt),Vt=l("BGR+"),bn=l("6cGi"),gn=l("Lpa7"),On=l("SE9/"),xn=l("2W6z"),jn=l.n(xn),Kn=l("mQwV"),Cn=l("95SA"),Wn=l("bbsP"),Mn=l("/wGt"),En=l("zP5H");function Sn(){var r=Object(s.useState)([]),e=Object(q.a)(r,2),t=e[0],n=e[1];return{flatMenuKeys:t,setFlatMenuKeys:n}}var Pn=Object(En.a)(Sn),Yt=Pn,pr=l("lUTK"),a=l("BvKs"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z"}}]},name:"menu-unfold",theme:"outlined"},o=i,v=l("6VBw"),R=function(e,t){return s.createElement(v.a,Object(b.a)(Object(b.a)({},e),{},{ref:t,icon:o}))};R.displayName="MenuUnfoldOutlined";var M=s.forwardRef(R),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z"}}]},name:"menu-fold",theme:"outlined"},Z=I,se=function(e,t){return s.createElement(v.a,Object(b.a)(Object(b.a)({},e),{},{ref:t,icon:Z}))};se.displayName="MenuFoldOutlined";var he=s.forwardRef(se),He=l("cWXX"),Ae=l("/ezw"),Me=l("KQm4"),Tt=l("vuIU"),jt=l("1OyB"),_t=l("8ub7"),Ze=["type","children"],Le=new Set;function Fe(r){return Boolean(typeof r=="string"&&r.length&&!Le.has(r))}function pt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=r[e];if(Fe(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),r.length>e+1&&(n.onload=function(){pt(r,e+1)},n.onerror=function(){pt(r,e+1)}),Le.add(t),document.body.appendChild(n)}}function cn(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,t=r.extraCommonProps,n=t===void 0?{}:t;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?pt(e.reverse()):pt([e]));var u=s.forwardRef(function(f,c){var m=f.type,j=f.children,T=Object(O.a)(f,Ze),H=null;return f.type&&(H=s.createElement("use",{xlinkHref:"#".concat(m)})),j&&(H=j),s.createElement(_t.a,Object(b.a)(Object(b.a)(Object(b.a)({},n),T),{},{ref:c}),H)});return u.displayName="Iconfont",u}var yr=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},wn=yr;function br(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var Or=br,xr={navTheme:"dark",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,iconfontUrl:"",primaryColor:"#1890ff",splitMenus:!1},Hn=xr,_n=function r(e){return(e||[]).reduce(function(t,n){if(n.key&&t.push(n.key),n.routes){var u=t.concat(r(n.routes)||[]);return u}return t},[])},zn={daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Qa(r){return r&&zn[r]?zn[r]:r}function sn(r){return r.map(function(e){var t=e.children||e.routes,n=Object(b.a)({},e);if(!n.name||n.hideInMenu)return null;if(n&&(n==null?void 0:n.routes)){if(!n.hideChildrenInMenu&&t.some(function(u){return u&&u.name&&!u.hideInMenu}))return Object(b.a)(Object(b.a)({},e),{},{children:sn(t),routes:sn(t)});delete n.routes,delete n.children}return n}).filter(function(e){return e})}var Xa=l("Re9Q"),Un=cn({scriptUrl:Hn.iconfontUrl}),$n=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-";if(typeof e=="string"&&e!==""){if(wn(e)||Or(e))return Object(h.jsx)(_t.a,{component:function(){return Object(h.jsx)("img",{src:e,alt:"icon",className:"ant-pro-sider-menu-icon"})}});if(e.startsWith(t))return Object(h.jsx)(Un,{type:e})}return e},jr=Object(Tt.a)(function r(e){var t=this;Object(jt.a)(this,r),this.props=void 0,this.getNavMenuItems=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1?arguments[1]:void 0;return n.map(function(f){return t.getSubMenuOrItem(f,u)}).filter(function(f){return f})},this.getSubMenuOrItem=function(n,u){var f=(n==null?void 0:n.children)||(n==null?void 0:n.routes);if(Array.isArray(f)&&f.length>0){var c=t.getIntlName(n),m=t.props,j=m.subMenuItemRender,T=m.prefixCls,H=m.menu,z=m.iconPrefixes,F=n.icon?Object(h.jsxs)("span",{className:"".concat(T,"-menu-item"),title:c,children:[!u&&$n(n.icon,z),Object(h.jsx)("span",{className:"".concat(T,"-menu-item-title"),children:c})]}):Object(h.jsx)("span",{className:"".concat(T,"-menu-item"),title:c,children:c}),ne=j?j(Object(b.a)(Object(b.a)({},n),{},{isUrl:!1}),F,t.props):F;return{type:(H==null?void 0:H.type)==="group"?"group":void 0,label:ne,children:t.getNavMenuItems(f,!0),onTitleClick:n.onTitleClick,key:n.key||n.path}}return{label:t.getMenuItemPath(n,u),title:t.getIntlName(n),key:n.key||n.path,disabled:n.disabled,onClick:function(be){var ye;wn(n==null?void 0:n.path)&&window.open(n.path,"_blank"),(ye=n.onTitleClick)===null||ye===void 0||ye.call(n,be)}}},this.getIntlName=function(n){var u=n.name,f=n.locale,c=t.props,m=c.menu,j=c.formatMessage;return f&&(m==null?void 0:m.locale)!==!1?j==null?void 0:j({id:f,defaultMessage:u}):u},this.getMenuItemPath=function(n,u){var f=t.conversionPath(n.path||"/"),c=t.props,m=c.location,j=m===void 0?{pathname:"/"}:m,T=c.isMobile,H=c.onCollapse,z=c.menuItemRender,F=c.iconPrefixes,ne=t.getIntlName(n),oe=t.props.prefixCls,be=u?null:$n(n.icon,F),ye=wn(f),We=Object(h.jsxs)("span",{className:Ye()("".concat(oe,"-menu-item"),Object(_.a)({},"".concat(oe,"-menu-item-link"),ye)),children:[be,Object(h.jsx)("span",{className:"".concat(oe,"-menu-item-title"),children:ne})]});if(z){var ae=Object(b.a)(Object(b.a)({},n),{},{isUrl:ye,itemPath:f,isMobile:T,replace:f===j.pathname,onClick:function(){ye&&window.open(f,"_blank"),H&&H(!0)},children:void 0});return z(ae,We,t.props)}return We},this.conversionPath=function(n){return n&&n.indexOf("http")===0?n:"/".concat(n||"").replace(/\/+/g,"/")},this.props=e}),Cr=function(e,t){var n=t.layout,u=t.collapsed,f={};return e&&!u&&["side","mix"].includes(n||"mix")&&(f={openKeys:e}),f},Gn=function(e){var t=e.theme,n=e.mode,u=e.className,f=e.handleOpenChange,c=e.style,m=e.menuData,j=e.menu,T=e.matchMenuKeys,H=e.iconfontUrl,z=e.collapsed,F=e.selectedKeys,ne=e.onSelect,oe=e.openKeys,be=Object(s.useRef)([]),ye=Yt.useContainer(),We=ye.flatMenuKeys,ae=Object(ve.a)(j==null?void 0:j.defaultOpenAll),qe=Object(q.a)(ae,2),nt=qe[0],ke=qe[1],Ve=Object(ve.a)(function(){return(j==null?void 0:j.defaultOpenAll)?_n(m)||[]:oe===!1?!1:[]},{value:oe===!1?void 0:oe,onChange:f}),Nt=Object(q.a)(Ve,2),Ct=Nt[0],Be=Nt[1],zt=Object(ve.a)([],{value:F,onChange:ne?function(Qt){ne&&Qt&&ne(Qt)}:void 0}),It=Object(q.a)(zt,2),Lt=It[0],Bt=It[1];Object(s.useEffect)(function(){(j==null?void 0:j.defaultOpenAll)||oe===!1||We.length||T&&(Be(T),Bt(T))},[T.join("-")]),Object(s.useEffect)(function(){H&&(Un=cn({scriptUrl:H}))},[H]),Object(s.useEffect)(function(){if(T.join("-")!==(Lt||[]).join("-")&&Bt(T),!nt&&oe!==!1&&T.join("-")!==(Ct||[]).join("-")){var Qt=T;(j==null?void 0:j.autoClose)===!1&&(Qt=Array.from(new Set([].concat(Object(Me.a)(T),Object(Me.a)(Ct||[]))))),Be(Qt)}else(j==null?void 0:j.ignoreFlatMenu)&&nt?Be(_n(m)):We.length>0&&ke(!1)},[T.join("-"),z]);var Zt=Object(s.useMemo)(function(){return Cr(Ct,e)},[Ct&&Ct.join(","),e.layout,e.collapsed]),qt=Object(s.useState)(function(){return new jr(e)}),en=Object(q.a)(qt,1),Ft=en[0];if(j==null?void 0:j.loading)return Object(h.jsx)("div",{style:(n==null?void 0:n.includes("inline"))?{padding:24}:{marginTop:16},children:Object(h.jsx)(Ae.a,{active:!0,title:!1,paragraph:{rows:(n==null?void 0:n.includes("inline"))?6:1}})});var Ut=Ye()(u,{"top-nav-menu":n==="horizontal"});Ft.props=e,e.openKeys===!1&&!e.handleOpenChange&&(be.current=T);var Mt=e.postMenuData?e.postMenuData(m):m;return Mt&&(Mt==null?void 0:Mt.length)<1?null:Object(s.createElement)(a.a,Object(b.a)(Object(b.a)({},Zt),{},{key:"Menu",mode:n,items:Ft.getNavMenuItems(Mt,!1),inlineIndent:16,defaultOpenKeys:be.current,theme:t,selectedKeys:Lt,style:c,className:Ut,onOpenChange:Be},e.menuProps))};Gn.defaultProps={postMenuData:function(e){return e||[]}};var kn=Gn,Mr=X.a.Sider,Vn=function(e){return typeof e=="string"?Object(h.jsx)("img",{src:e,alt:"logo"}):typeof e=="function"?e():e},Rn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",n=e.logo,u=e.title,f=e.layout,c=e[t||""];if(c===!1)return null;var m=Vn(n),j=Object(h.jsx)("h1",{children:u!=null?u:"Ant Design Pro"});return c?c(m,e.collapsed?null:j,e):f==="mix"&&t==="menuHeaderRender"?null:Object(h.jsxs)("a",{children:[m,e.collapsed?null:j]})},Qn=function(e){return e?Object(h.jsx)(M,{}):Object(h.jsx)(he,{})},Er=function(e){var t,n=e.collapsed,u=e.fixSiderbar,f=e.menuFooterRender,c=e.onCollapse,m=e.theme,j=e.siderWidth,T=e.isMobile,H=e.onMenuHeaderClick,z=e.breakpoint,F=z===void 0?"lg":z,ne=e.style,oe=e.layout,be=e.menuExtraRender,ye=be===void 0?!1:be,We=e.collapsedButtonRender,ae=We===void 0?Qn:We,qe=e.links,nt=e.menuContentRender,ke=e.prefixCls,Ve=e.onOpenChange,Nt=e.headerHeight,Ct=e.logoStyle,Be="".concat(ke,"-sider"),zt=Yt.useContainer(),It=zt.flatMenuKeys,Lt=Ye()("".concat(Be),(t={},Object(_.a)(t,"".concat(Be,"-fixed"),u),Object(_.a)(t,"".concat(Be,"-layout-").concat(oe),oe&&!T),Object(_.a)(t,"".concat(Be,"-light"),m!=="dark"),t)),Bt=Rn(e),Zt=ye&&ye(e),qt=nt!==!1&&It&&Object(s.createElement)(kn,Object(b.a)(Object(b.a)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:Ve,style:{width:"100%"},className:"".concat(Be,"-menu")})),en=nt?nt(e,qt):qt,Ft=(qe||[]).map(function(Ut,Mt){return{className:"".concat(Be,"-link"),label:Ut,key:Mt}});return ae&&!T&&Ft.push({className:"".concat(Be,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){c&&c(!n)},label:ae(n)}),Object(h.jsxs)(h.Fragment,{children:[u&&Object(h.jsx)("div",{style:Object(b.a)({width:n?48:j,overflow:"hidden",flex:"0 0 ".concat(n?48:j,"px"),maxWidth:n?48:j,minWidth:n?48:j,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},ne)}),Object(h.jsxs)(Mr,{collapsible:!0,trigger:null,collapsed:n,breakpoint:F===!1?void 0:F,onCollapse:function(Mt){T||c==null||c(Mt)},collapsedWidth:48,style:Object(b.a)({overflow:"hidden",paddingTop:oe==="mix"&&!T?Nt:void 0},ne),width:j,theme:m,className:Lt,children:[Bt&&Object(h.jsx)("div",{className:Ye()("".concat(Be,"-logo"),Object(_.a)({},"".concat(Be,"-collapsed"),n)),onClick:oe!=="mix"?H:void 0,id:"logo",style:Ct,children:Bt}),Zt&&Object(h.jsx)("div",{className:"".concat(Be,"-extra ").concat(!Bt&&"".concat(Be,"-extra-no-logo")),children:Zt}),Object(h.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:en}),Object(h.jsx)("div",{className:"".concat(Be,"-links"),children:Object(h.jsx)(a.a,{theme:m,inlineIndent:16,className:"".concat(Be,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:Ft})}),f&&Object(h.jsx)("div",{className:Ye()("".concat(Be,"-footer"),Object(_.a)({},"".concat(Be,"-footer-collapsed"),!n)),children:f(e)})]})]})},Xn=Er,Sr=function(e){var t=e.isMobile,n=e.menuData,u=e.siderWidth,f=e.collapsed,c=e.onCollapse,m=e.style,j=e.className,T=e.hide,H=e.getContainer,z=e.prefixCls,F=e.matchMenuKeys,ne=Yt.useContainer(),oe=ne.setFlatMenuKeys;Object(s.useEffect)(function(){if(!(!n||n.length<1)){var ye=Ge(n);oe(Object.keys(ye))}},[F.join("-")]),Object(s.useEffect)(function(){t===!0&&(c==null||c(!0))},[t]);var be=Object(Vt.a)(e,["className","style"]);return T?null:t?Object(h.jsx)(Mn.a,{visible:!f,placement:"left",className:Ye()("".concat(z,"-drawer-sider"),j),onClose:function(){return c==null?void 0:c(!0)},style:Object(b.a)({padding:0,height:"100vh"},m),getContainer:H,width:u,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:Object(h.jsx)(Xn,Object(b.a)(Object(b.a)({},be),{},{className:Ye()("".concat(z,"-sider"),j),collapsed:t?!1:f,splitMenus:!1}))}):Object(h.jsx)(Xn,Object(b.a)(Object(b.a)({className:Ye()("".concat(z,"-sider"),j)},be),{},{style:m}))},Jn=Sr,Pr=l("9W6o"),wr=l("vRGJ"),Nn=l.n(wr),Rr=function(e,t,n){if(n){var u=Object(Me.a)(n.keys()).find(function(c){return Nn()(c).test(e)});if(u)return n.get(u)}if(t){var f=Object.keys(t).find(function(c){return Nn()(c).test(e)});if(f)return t[f]}return{path:""}},Yn=function(e,t){var n=e.pathname,u=n===void 0?"/":n,f=e.breadcrumb,c=e.breadcrumbMap,m=e.formatMessage,j=e.title,T=e.menu,H=T===void 0?{locale:!1}:T,z=t?"":j||"",F=Rr(u,f,c);if(!F)return{title:z,id:"",pageName:z};var ne=F.name;return H.locale!==!1&&F.locale&&m&&(ne=m({id:F.locale||"",defaultMessage:F.name})),ne?t||!j?{title:ne,id:F.locale||"",pageName:ne}:{title:"".concat(ne," - ").concat(j),id:F.locale||"",pageName:ne}:{title:z,id:F.locale||"",pageName:z}},Nr=function(e,t){return Yn(e,t).title},Ja=Nr,Dr=l("Ji7U"),Ar=l("LK+K"),Tr=l("HBdL"),Ir=l("t23M"),Ya=l("UPUD"),Lr=["rightContentRender","prefixCls"],Br=function(e){var t=e.rightContentRender,n=e.prefixCls,u=Object(O.a)(e,Lr),f=Object(s.useState)("auto"),c=Object(q.a)(f,2),m=c[0],j=c[1],T=Object(Tr.a)(function(){var H=Object(p.a)(Object(C.a)().mark(function z(F){return Object(C.a)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:j(F);case 1:case"end":return oe.stop()}},z)}));return function(z){return H.apply(this,arguments)}}(),160);return Object(h.jsx)("div",{className:"".concat(n,"-right-content"),style:{minWidth:m},children:Object(h.jsx)("div",{style:{paddingRight:8},children:Object(h.jsx)(Ir.a,{onResize:function(z){var F=z.width;T.run(F)},children:t&&Object(h.jsx)("div",{className:"".concat(n,"-right-content-resize"),children:t(Object(b.a)(Object(b.a)({},u),{},{rightContentSize:m}))})})})})},Fr=function(e){var t=Object(s.useRef)(null),n=e.theme,u=e.onMenuHeaderClick,f=e.contentWidth,c=e.rightContentRender,m=e.className,j=e.style,T=e.headerContentRender,H=e.layout,z="".concat(e.prefixCls||"ant-pro","-top-nav-header"),F=Rn(Object(b.a)(Object(b.a)({},e),{},{collapsed:!1}),H==="mix"?"headerTitleRender":void 0),ne=Ye()(z,m,{light:n==="light"}),oe=Object(h.jsx)(kn,Object(b.a)(Object(b.a)({},e),e.menuProps)),be=T?T==null?void 0:T(e,oe):oe;return Object(h.jsx)("div",{className:ne,style:j,children:Object(h.jsxs)("div",{ref:t,className:"".concat(z,"-main ").concat(f==="Fixed"?"wide":""),children:[F&&Object(h.jsx)("div",{className:"".concat(z,"-main-left"),onClick:u,children:Object(h.jsx)("div",{className:"".concat(z,"-logo"),id:"logo",children:F},"logo")}),Object(h.jsx)("div",{style:{flex:1},className:"".concat(z,"-menu"),children:be}),c&&Object(h.jsx)(Br,Object(b.a)({rightContentRender:c,prefixCls:z},e))]})})},Zn=Fr,Za=l("W3vr"),Kr=function(e,t){return e===!1?null:e?e(t,null):t},Wr=function(e){var t=e.isMobile,n=e.logo,u=e.collapsed,f=e.onCollapse,c=e.collapsedButtonRender,m=c===void 0?Qn:c,j=e.rightContentRender,T=e.menuHeaderRender,H=e.onMenuHeaderClick,z=e.className,F=e.style,ne=e.layout,oe=e.children,be=e.headerTheme,ye=be===void 0?"dark":be,We=e.splitMenus,ae=e.menuData,qe=e.prefixCls,nt=Object(s.useContext)(P.a.ConfigContext),ke=nt.direction,Ve="".concat(qe,"-global-header"),Nt=Ye()(z,Ve,Object(_.a)({},"".concat(Ve,"-layout-").concat(ne),ne&&ye==="dark"));if(ne==="mix"&&!t&&We){var Ct=(ae||[]).map(function(Lt){return Object(b.a)(Object(b.a)({},Lt),{},{children:void 0,routes:void 0})}),Be=sn(Ct);return Object(h.jsx)(Zn,Object(b.a)(Object(b.a)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:Be,theme:ye}))}var zt=Ye()("".concat(Ve,"-logo"),Object(_.a)({},"".concat(Ve,"-logo-rtl"),ke==="rtl")),It=Object(h.jsx)("span",{className:zt,children:Object(h.jsx)("a",{children:Vn(n)})},"logo");return Object(h.jsxs)("div",{className:Nt,style:Object(b.a)({},F),children:[t&&Kr(T,It),t&&m&&Object(h.jsx)("span",{className:"".concat(Ve,"-collapsed-button"),onClick:function(){f&&f(!u)},children:m(u)}),ne==="mix"&&!t&&Object(h.jsx)(h.Fragment,{children:Object(h.jsx)("div",{className:zt,onClick:H,children:Rn(Object(b.a)(Object(b.a)({},e),{},{collapsed:!1}),"headerTitleRender")})}),Object(h.jsx)("div",{style:{flex:1},children:oe}),j&&j(e)]})},Hr=Wr,qa=l("YPDd"),qn=X.a.Header,_r=function(r){Object(Dr.a)(t,r);var e=Object(Ar.a)(t);function t(){var n;Object(jt.a)(this,t);for(var u=arguments.length,f=new Array(u),c=0;c