(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[635],{79346:function(Me,Ie,y){"use strict";y.d(Ie,{f:function(){return ro}});var l=y(4942),fe=y(74165),ae=y(15861),me=y(91),F=y(97685),s=y(1413),k=y(10915),ie=y(21770),h=y(67294);function le(r){var e=typeof window=="undefined",n=(0,h.useState)(function(){return e?!1:window.matchMedia(r).matches}),t=(0,F.Z)(n,2),a=t[0],i=t[1];return(0,h.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(r),c=function(v){return i(v.matches)};return o.addListener(c),function(){return o.removeListener(c)}}},[r]),a}var de={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},pe=function(){var e=void 0;if(typeof window=="undefined")return e;var n=Object.keys(de).find(function(t){var a=de[t].matchMedia;return!!window.matchMedia(a).matches});return e=n,e},_=function(){var e=le(de.md.matchMedia),n=le(de.lg.matchMedia),t=le(de.xxl.matchMedia),a=le(de.xl.matchMedia),i=le(de.sm.matchMedia),o=le(de.xs.matchMedia),c=(0,h.useState)(pe()),d=(0,F.Z)(c,2),v=d[0],f=d[1];return(0,h.useEffect)(function(){if(t){f("xxl");return}if(a){f("xl");return}if(n){f("lg");return}if(e){f("md");return}if(i){f("sm");return}if(o){f("xs");return}f("md")},[e,n,t,a,i,o]),v},U=y(12044);function m(r,e){var n=typeof r.pageName=="string"?r.title:e;(0,h.useEffect)(function(){(0,U.j)()&&n&&(document.title=n)},[r.title,n])}var S=y(1977),b=y(73177);function w(r){if((0,S.n)((0,b.b)(),"5.6.0")<0)return r;var e={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",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},n=(0,s.Z)({},r);return Object.keys(e).forEach(function(t){n[t]!==void 0&&(n[e[t]]=n[t],delete n[t])}),n}var ee=y(90743);function $(r,e){return e>>>r|e<<32-r}function j(r,e,n){return r&e^~r&n}function A(r,e,n){return r&e^r&n^e&n}function Q(r){return $(2,r)^$(13,r)^$(22,r)}function J(r){return $(6,r)^$(11,r)^$(25,r)}function K(r){return $(7,r)^$(18,r)^r>>>3}function G(r){return $(17,r)^$(19,r)^r>>>10}function ve(r,e){return r[e&15]+=G(r[e+14&15])+r[e+9&15]+K(r[e+1&15])}var ue=[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],W,te,D,Ce="0123456789abcdef";function je(r,e){var n=(r&65535)+(e&65535),t=(r>>16)+(e>>16)+(n>>16);return t<<16|n&65535}function Oe(){W=new Array(8),te=new Array(2),D=new Array(64),te[0]=te[1]=0,W[0]=1779033703,W[1]=3144134277,W[2]=1013904242,W[3]=2773480762,W[4]=1359893119,W[5]=2600822924,W[6]=528734635,W[7]=1541459225}function Re(){var r,e,n,t,a,i,o,c,d,v,f=new Array(16);r=W[0],e=W[1],n=W[2],t=W[3],a=W[4],i=W[5],o=W[6],c=W[7];for(var C=0;C<16;C++)f[C]=D[(C<<2)+3]|D[(C<<2)+2]<<8|D[(C<<2)+1]<<16|D[C<<2]<<24;for(var x=0;x<64;x++)d=c+J(a)+j(a,i,o)+ue[x],x<16?d+=f[x]:d+=ve(f,x),v=Q(r)+A(r,e,n),c=o,o=i,i=a,a=je(t,d),t=n,n=e,e=r,r=je(d,v);W[0]+=r,W[1]+=e,W[2]+=n,W[3]+=t,W[4]+=a,W[5]+=i,W[6]+=o,W[7]+=c}function $e(r,e){var n,t,a=0;t=te[0]>>3&63;var i=e&63;for((te[0]+=e<<3)>29,n=0;n+63>3&63;if(D[r++]=128,r<=56)for(var e=r;e<56;e++)D[e]=0;else{for(var n=r;n<64;n++)D[n]=0;Re();for(var t=0;t<56;t++)D[t]=0}D[56]=te[1]>>>24&255,D[57]=te[1]>>>16&255,D[58]=te[1]>>>8&255,D[59]=te[1]&255,D[60]=te[0]>>>24&255,D[61]=te[0]>>>16&255,D[62]=te[0]>>>8&255,D[63]=te[0]&255,Re()}function We(){for(var r=0,e=new Array(32),n=0;n<8;n++)e[r++]=W[n]>>>24&255,e[r++]=W[n]>>>16&255,e[r++]=W[n]>>>8&255,e[r++]=W[n]&255;return e}function Ge(){for(var r=new String,e=0;e<8;e++)for(var n=28;n>=0;n-=4)r+=Ce.charAt(W[e]>>>n&15);return r}function hn(r){return Oe(),$e(r,r.length),De(),Ge()}var Tn=hn;function nn(r){"@babel/helpers - typeof";return nn=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},nn(r)}var Ht=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function _t(r,e){return Ot(r)||Dt(r,e)||Pn(r,e)||At()}function At(){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 Dt(r,e){var n=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(n!=null){var t=[],a=!0,i=!1,o,c;try{for(n=n.call(r);!(a=(o=n.next()).done)&&(t.push(o.value),!(e&&t.length===e));a=!0);}catch(d){i=!0,c=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw c}}return t}}function Ot(r){if(Array.isArray(r))return r}function $t(r,e){var n=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=Pn(r))||e&&r&&typeof r.length=="number"){n&&(r=n);var t=0,a=function(){};return{s:a,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(v){throw v},f:a}}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 i=!0,o=!1,c;return{s:function(){n=n.call(r)},n:function(){var v=n.next();return i=v.done,v},e:function(v){o=!0,c=v},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw c}}}}function Wt(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(r,e){for(var n=0;nr.length)&&(e=r.length);for(var n=0,t=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(r,t)&&(n[t]=r[t])}return n}function kt(r,e){if(r==null)return{};var n={},t=Object.keys(r),a,i;for(i=0;i=0)&&(n[a]=r[a]);return n}function Vn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function he(r){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||n).startsWith("/")||jn(e)?e:"/".concat(n,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},tr=function(e,n){var t=e.menu,a=t===void 0?{}:t,i=e.indexRoute,o=e.path,c=o===void 0?"":o,d=e.children||[],v=a.name,f=v===void 0?e.name:v,C=a.icon,x=C===void 0?e.icon:C,Z=a.hideChildren,E=Z===void 0?e.hideChildren:Z,B=a.flatMenu,I=B===void 0?e.flatMenu:B,z=i&&Object.keys(i).join(",")!=="redirect"?[he({path:c,menu:a},i)].concat(d||[]):d,L=he({},e);if(f&&(L.name=f),x&&(L.icon=x),z&&z.length){if(E)return delete L.children,L;var O=En(he(he({},n),{},{data:z}),e);if(I)return O;delete L[Pe]}return L},Xe=function(e){return Array.isArray(e)&&e.length>0};function En(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=r.data,t=r.formatMessage,a=r.parentName,i=r.locale;return!n||!Array.isArray(n)?[]:n.filter(function(o){return o?Xe(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var c,d;return!(o==null||(c=o.menu)===null||c===void 0)&&c.name||o!=null&&o.flatMenu||!(o==null||(d=o.menu)===null||d===void 0)&&d.flatMenu?!0:o.menu!==!1}).map(function(o){var c=he(he({},o),{},{path:o.path||o.originPath});return!c.children&&c[Pe]&&(c.children=c[Pe],delete c[Pe]),c.unaccessible&&delete c.name,c.path==="*"&&(c.path="."),c.path==="/*"&&(c.path="."),!c.path&&c.originPath&&(c.path=c.originPath),c}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},c=o.children||o[Pe]||[],d=Qn(o.path,e?e.path:"/"),v=o.name,f=nr(o,a||"menu"),C=f!==!1&&i!==!1&&t&&f?t({id:f,defaultMessage:v}):v,x=e.pro_layout_parentKeys,Z=x===void 0?[]:x,E=e.children,B=e.icon,I=e.flatMenu,z=e.indexRoute,L=e.routes,O=Jt(e,Ht),T=new Set([].concat(Xn(Z),Xn(o.parentKeys||[])));e.key&&T.add(e.key);var N=he(he(he({},O),{},{menu:void 0},o),{},{path:d,locale:f,key:o.key||er(he(he({},o),{},{path:d})),pro_layout_parentKeys:Array.from(T).filter(function(R){return R&&R!=="/"})});if(C?N.name=C:delete N.name,N.menu===void 0&&delete N.menu,Xe(c)){var p=En(he(he({},r),{},{data:c,parentName:f||""}),N);Xe(p)&&(N.children=p)}return tr(N,r)}).flat(1)}var rr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(n){return n&&(n.name||Xe(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var t=he({},n),a=t.children||n[Pe]||[];if(delete t[Pe],Xe(a)&&!t.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return he(he({},t),{},{children:i})}return he({},n)}).filter(function(n){return n})},ar=function(r){Ft(n,r);var e=Kt(n);function n(){return Wt(this,n),e.apply(this,arguments)}return zt(n,[{key:"get",value:function(a){var i;try{var o=$t(this.entries()),c;try{for(o.s();!(c=o.n()).done;){var d=_t(c.value,2),v=d[0],f=d[1],C=an(v);if(!jn(v)&&(0,ee.Bo)(C,[]).test(a)){i=f;break}}}catch(x){o.e(x)}finally{o.f()}}catch(x){i=void 0}return i}}]),n}(Bn(Map)),or=function(e){var n=new ar,t=function a(i,o){i.forEach(function(c){var d=c.children||c[Pe]||[];Xe(d)&&a(d,c);var v=Qn(c.path,o?o.path:"/");n.set(an(v),c)})};return t(e),n},ir=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(n){var t=n.children||n[Pe];if(Xe(t)){var a=r(t);if(a.length)return he({},n)}var i=he({},n);return delete i[Pe],delete i.children,i}).filter(function(n){return n})},lr=function(e,n,t,a){var i=En({data:e,formatMessage:t,locale:n}),o=a?ir(i):rr(i),c=or(i);return{breadcrumb:c,menuData:o}},ur=lr;function Yn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function on(r){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:[],n={};return e.forEach(function(t){var a=on({},t);if(!(!a||!a.key)){!a.children&&a[Pe]&&(a.children=a[Pe],delete a[Pe]);var i=a.children||[];n[an(a.path||a.key||"/")]=on({},a),n[a.key||a.path||"/"]=on({},a),i&&(n=on(on({},n),r(i)))}}),n},sr=dr,vr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&n==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!jn(a)){var i=an(a);try{if(t&&(0,ee.Bo)("".concat(i)).test(n)||(0,ee.Bo)("".concat(i),[]).test(n)||(0,ee.Bo)("".concat(i,"/(.*)")).test(n))return!0}catch(o){}}return!1}).sort(function(a,i){return a===n?10:i===n?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},fr=function(e,n,t,a){var i=sr(n),o=Object.keys(i),c=vr(o,e||"/",a);return!c||c.length<1?[]:(t||(c=[c[c.length-1]]),c.map(function(d){var v=i[d]||{pro_layout_parentKeys:"",key:""},f=new Map,C=(v.pro_layout_parentKeys||[]).map(function(x){return f.has(x)?null:(f.set(x,!0),i[x])}).filter(function(x){return x});return v.key&&C.push(v),C}).flat(1))},mr=fr,He=y(28459),Ve=y(21612),hr=y(93967),q=y.n(hr),Jn=y(97435),gr=y(80334),kn=y(81758),pr=y(78164),u=y(85893),yr=function(e){var n=(0,h.useContext)(k.L_),t=n.hashId,a=e.style,i=e.prefixCls,o=e.children,c=e.hasPageContainer,d=c===void 0?0:c,v=q()("".concat(i,"-content"),t,(0,l.Z)((0,l.Z)({},"".concat(i,"-has-header"),e.hasHeader),"".concat(i,"-content-has-page-container"),d>0)),f=e.ErrorBoundary||pr.S;return e.ErrorBoundary===!1?(0,u.jsx)(Ve.Z.Content,{className:v,style:a,children:o}):(0,u.jsx)(f,{children:(0,u.jsx)(Ve.Z.Content,{className:v,style:a,children:o})})},xr=function(){return(0,u.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,u.jsxs)("defs",{children:[(0,u.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,u.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,u.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,u.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,u.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,u.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,u.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,u.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,u.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,u.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,u.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,u.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,u.jsxs)("g",{children:[(0,u.jsxs)("g",{fillRule:"nonzero",children:[(0,u.jsxs)("g",{children:[(0,u.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,u.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,u.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,u.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},Cr=y(87909),ln=y(62812),pn=y(87462),br={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},Sr=br,Zr=y(65555),Mr=function(e,n){return h.createElement(Zr.Z,(0,pn.Z)({},e,{ref:n,icon:Sr}))},Ir=h.forwardRef(Mr),Rr=y(55241),Tr=function(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Br=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(t,"-content ").concat(a).trim(),children:(0,u.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a).trim(),children:n==null?void 0:n.map(function(o,c){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,u.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a).trim(),children:[(0,u.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},c):(0,u.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?void 0:o.url,target:o.target,rel:"noreferrer",children:[Nn(o.icon),(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{children:o.title}),o.desc?(0,u.jsx)("span",{children:o.desc}):null]})]})},c)})})})},Ln=function(e){if(!e||!e.startsWith("http"))return!1;try{var n=new URL(e);return!!n}catch(t){return!1}},Pr=function(e,n){if(e&&typeof e=="string"&&Ln(e))return(0,u.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,u.jsx)("div",{id:"avatarLogo",children:e});if(!e&&n&&typeof n=="string"){var t=n.substring(0,1);return(0,u.jsx)("div",{id:"avatarLogo",children:t})}return e},wr=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(t,"-content ").concat(a).trim(),children:(0,u.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a).trim(),children:n==null?void 0:n.map(function(o,c){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,u.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a).trim(),children:[(0,u.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},c):(0,u.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?"javascript:;":o.url,target:o.target,rel:"noreferrer",children:[Pr(o.icon,o.title),(0,u.jsx)("div",{children:(0,u.jsx)("div",{children:o.title})})]})},c)})})})},Te=y(98082),jr=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},"* div":Te.Wf===null||Te.Wf===void 0?void 0:(0,Te.Wf)(e),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Er=function(e){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:e.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:e.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:e.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:e.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:e.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:e.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},Lr=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIconHover,backgroundColor:(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,l.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":Er(e),"&-default":jr(e)})};function Nr(r){return(0,Te.Xj)("AppsLogoComponents",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Lr(n)]})}var Nn=function(e){return typeof e=="string"?(0,u.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},Hn=function(e){var n,t=e.appList,a=e.appListRender,i=e.prefixCls,o=i===void 0?"ant-pro":i,c=e.onItemClick,d=h.useRef(null),v=h.useRef(null),f="".concat(o,"-layout-apps"),C=Nr(f),x=C.wrapSSR,Z=C.hashId,E=(0,h.useState)(!1),B=(0,F.Z)(E,2),I=B[0],z=B[1],L=function(R){c==null||c(R,v)},O=(0,h.useMemo)(function(){var p=t==null?void 0:t.some(function(R){return!(R!=null&&R.desc)});return p?(0,u.jsx)(wr,{hashId:Z,appList:t,itemClick:c?L:void 0,baseClassName:"".concat(f,"-simple")}):(0,u.jsx)(Br,{hashId:Z,appList:t,itemClick:c?L:void 0,baseClassName:"".concat(f,"-default")})},[t,f,Z]);if(!(e!=null&&(n=e.appList)!==null&&n!==void 0&&n.length))return null;var T=a?a(e==null?void 0:e.appList,O):O,N=(0,b.X)(void 0,function(p){return z(p)});return x((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:d,onClick:function(R){R.stopPropagation(),R.preventDefault()}}),(0,u.jsx)(Rr.Z,(0,s.Z)((0,s.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},N),{},{overlayClassName:"".concat(f,"-popover ").concat(Z).trim(),content:T,getPopupContainer:function(){return d.current||document.body},children:(0,u.jsx)("span",{ref:v,onClick:function(R){R.stopPropagation()},className:q()("".concat(f,"-icon"),Z,(0,l.Z)({},"".concat(f,"-icon-active"),I)),children:(0,u.jsx)(Tr,{})})}))]}))},qn=y(7134),Hr=y(78957),et=y(68508);function _r(){return(0,u.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,u.jsx)("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var Ar=function(e){var n,t,a;return(0,l.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextCollapsedButton,backgroundColor:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function Dr(r){return(0,Te.Xj)("SiderMenuCollapsedIcon",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Ar(n)]})}var Or=["isMobile","collapsed"],$r=function(e){var n=e.isMobile,t=e.collapsed,a=(0,me.Z)(e,Or),i=Dr(e.className),o=i.wrapSSR,c=i.hashId;return n&&t?null:o((0,u.jsx)("div",(0,s.Z)((0,s.Z)({},a),{},{className:q()(e.className,c,(0,l.Z)((0,l.Z)({},"".concat(e.className,"-collapsed"),t),"".concat(e.className,"-is-mobile"),n)),children:(0,u.jsx)(_r,{})})))},yn=y(74902),Wr=y(43144),zr=y(15671),Fr=y(42550),Kr=y(2446),xn=y(14004),Ur=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],nt=h.forwardRef(function(r,e){var n=r.className,t=r.component,a=r.viewBox,i=r.spin,o=r.rotate,c=r.tabIndex,d=r.onClick,v=r.children,f=(0,me.Z)(r,Ur),C=h.useRef(),x=(0,Fr.x1)(C,e);(0,xn.Kp)(!!(t||v),"Should have `component` prop or `children`."),(0,xn.C3)(C);var Z=h.useContext(Kr.Z),E=Z.prefixCls,B=E===void 0?"anticon":E,I=Z.rootClassName,z=q()(I,B,n),L=q()((0,l.Z)({},"".concat(B,"-spin"),!!i)),O=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,T=(0,s.Z)((0,s.Z)({},xn.vD),{},{className:L,style:O,viewBox:a});a||delete T.viewBox;var N=function(){return t?h.createElement(t,T,v):v?((0,xn.Kp)(!!a||h.Children.count(v)===1&&h.isValidElement(v)&&h.Children.only(v).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),h.createElement("svg",(0,pn.Z)({},T,{viewBox:a}),v)):null},p=c;return p===void 0&&d&&(p=-1),h.createElement("span",(0,pn.Z)({role:"img"},f,{ref:x,tabIndex:p,onClick:d,className:z}),N())});nt.displayName="AntdIcon";var Gr=nt,Xr=["type","children"],tt=new Set;function Vr(r){return!!(typeof r=="string"&&r.length&&!tt.has(r))}function Cn(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=r[e];if(Vr(n)){var t=document.createElement("script");t.setAttribute("src",n),t.setAttribute("data-namespace",n),r.length>e+1&&(t.onload=function(){Cn(r,e+1)},t.onerror=function(){Cn(r,e+1)}),tt.add(n),document.body.appendChild(t)}}function rt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,n=r.extraCommonProps,t=n===void 0?{}:n;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?Cn(e.reverse()):Cn([e]));var a=h.forwardRef(function(i,o){var c=i.type,d=i.children,v=(0,me.Z)(i,Xr),f=null;return i.type&&(f=h.createElement("use",{xlinkHref:"#".concat(c)})),d&&(f=d),h.createElement(Gr,(0,pn.Z)({},t,v,{ref:o}),f)});return a.displayName="Iconfont",a}function Qr(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var Yr=y(83062),Jr=y(99559),at=y(14192),kr=function(e,n){var t,a,i=n.includes("horizontal")?(t=e.layout)===null||t===void 0?void 0:t.header:(a=e.layout)===null||a===void 0?void 0:a.sider;return(0,s.Z)((0,s.Z)((0,l.Z)({},"".concat(e.componentCls),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({background:"transparent",color:i==null?void 0:i.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),(0,l.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),"&&-collapsed",(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item, `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item, `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title, `).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title, `).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:i==null?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",(0,l.Z)((0,l.Z)({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,l.Z)((0,l.Z)({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4})))),"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),n.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function qr(r,e){return(0,Te.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,s.Z)((0,s.Z)({},n),{},{componentCls:".".concat(r)});return[kr(t,e||"inline")]})}var ot=function(e){var n=(0,h.useState)(e.collapsed),t=(0,F.Z)(n,2),a=t[0],i=t[1],o=(0,h.useState)(!1),c=(0,F.Z)(o,2),d=c[0],v=c[1];return(0,h.useEffect)(function(){v(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(Yr.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:v,children:e.children})},it=rt({scriptUrl:at.h.iconfontUrl}),lt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Ln(e)||Qr(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,u.jsx)(it,{type:e})}return e},ut=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},ea=(0,Wr.Z)(function r(e){var n=this;(0,zr.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return t.map(function(o){return n.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a,i){var o=n.props,c=o.subMenuItemRender,d=o.baseClassName,v=o.prefixCls,f=o.collapsed,C=o.menu,x=o.iconPrefixes,Z=o.layout,E=(C==null?void 0:C.type)==="group"&&Z!=="top",B=n.props.token,I=n.getIntlName(t),z=(t==null?void 0:t.children)||(t==null?void 0:t.routes),L=E&&a===0?"group":void 0;if(Array.isArray(z)&&z.length>0){var O,T,N,p,R,V=a===0||E&&a===1,H=lt(t.icon,x,"".concat(d,"-icon ").concat((O=n.props)===null||O===void 0?void 0:O.hashId)),P=f&&V?ut(I):null,ne=(0,u.jsxs)("div",{className:q()("".concat(d,"-item-title"),(T=n.props)===null||T===void 0?void 0:T.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-item-title-collapsed"),f),"".concat(d,"-item-title-collapsed-level-").concat(i),f),"".concat(d,"-group-item-title"),L==="group"),"".concat(d,"-item-collapsed-show-title"),(C==null?void 0:C.collapsedShowTitle)&&f)),children:[L==="group"&&f?null:V&&H?(0,u.jsx)("span",{className:"".concat(d,"-item-icon ").concat((N=n.props)===null||N===void 0?void 0:N.hashId).trim(),children:H}):P,(0,u.jsx)("span",{className:q()("".concat(d,"-item-text"),(p=n.props)===null||p===void 0?void 0:p.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),L!=="group"&&V&&(H||P))),children:I})]}),ce=c?c((0,s.Z)((0,s.Z)({},t),{},{isUrl:!1}),ne,n.props):ne;if(E&&a===0&&n.props.collapsed&&!C.collapsedShowGroupTitle)return n.getNavMenuItems(z,a+1,a);var g=n.getNavMenuItems(z,a+1,E&&a===0&&n.props.collapsed?a:a+1);return[{type:L,key:t.key||t.path,label:ce,onClick:E?void 0:t.onTitleClick,children:g,className:q()((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-group"),L==="group"),"".concat(d,"-submenu"),L!=="group"),"".concat(d,"-submenu-has-icon"),L!=="group"&&V&&H))},E&&a===0?{type:"divider",prefixCls:v,className:"".concat(d,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:B==null||(R=B.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a,i)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,c=o.menu,d=o.formatMessage;return i&&(c==null?void 0:c.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a,i){var o,c,d,v,f=n.conversionPath(t.path||"/"),C=n.props,x=C.location,Z=x===void 0?{pathname:"/"}:x,E=C.isMobile,B=C.onCollapse,I=C.menuItemRender,z=C.iconPrefixes,L=n.getIntlName(t),O=n.props,T=O.baseClassName,N=O.menu,p=O.collapsed,R=(N==null?void 0:N.type)==="group",V=a===0||R&&a===1,H=V?lt(t.icon,z,"".concat(T,"-icon ").concat((o=n.props)===null||o===void 0?void 0:o.hashId)):null,P=p&&V?ut(L):null,ne=(0,u.jsxs)("div",{className:q()("".concat(T,"-item-title"),(c=n.props)===null||c===void 0?void 0:c.hashId,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),p),"".concat(T,"-item-title-collapsed-level-").concat(i),p),"".concat(T,"-item-collapsed-show-title"),(N==null?void 0:N.collapsedShowTitle)&&p)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((d=n.props)===null||d===void 0?void 0:d.hashId).trim(),style:{display:P===null&&!H?"none":""},children:H||(0,u.jsx)("span",{className:"anticon",children:P})}),(0,u.jsx)("span",{className:q()("".concat(T,"-item-text"),(v=n.props)===null||v===void 0?void 0:v.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),V&&(H||P))),children:L})]},f),ce=Ln(f);if(ce){var g,se,M;ne=(0,u.jsxs)("span",{onClick:function(){var ge,oe;(ge=window)===null||ge===void 0||(oe=ge.open)===null||oe===void 0||oe.call(ge,f,"_blank")},className:q()("".concat(T,"-item-title"),(g=n.props)===null||g===void 0?void 0:g.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),p),"".concat(T,"-item-title-collapsed-level-").concat(i),p),"".concat(T,"-item-link"),!0),"".concat(T,"-item-collapsed-show-title"),(N==null?void 0:N.collapsedShowTitle)&&p)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((se=n.props)===null||se===void 0?void 0:se.hashId).trim(),style:{display:P===null&&!H?"none":""},children:H||(0,u.jsx)("span",{className:"anticon",children:P})}),(0,u.jsx)("span",{className:q()("".concat(T,"-item-text"),(M=n.props)===null||M===void 0?void 0:M.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),V&&(H||P))),children:L})]},f)}if(I){var Y=(0,s.Z)((0,s.Z)({},t),{},{isUrl:ce,itemPath:f,isMobile:E,replace:f===Z.pathname,onClick:function(){return B&&B(!0)},children:void 0});return a===0?(0,u.jsx)(ot,{collapsed:p,title:L,disable:t.disabledTooltip,children:I(Y,ne,n.props)}):I(Y,ne,n.props)}return a===0?(0,u.jsx)(ot,{collapsed:p,title:L,disable:t.disabledTooltip,children:ne}):ne}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),na=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},ct=function(e){var n=e.mode,t=e.className,a=e.handleOpenChange,i=e.style,o=e.menuData,c=e.prefixCls,d=e.menu,v=e.matchMenuKeys,f=e.iconfontUrl,C=e.selectedKeys,x=e.onSelect,Z=e.menuRenderType,E=e.openKeys,B=(0,h.useContext)(k.L_),I=B.dark,z=B.token,L="".concat(c,"-base-menu-").concat(n),O=(0,h.useRef)([]),T=(0,ie.Z)(d==null?void 0:d.defaultOpenAll),N=(0,F.Z)(T,2),p=N[0],R=N[1],V=(0,ie.Z)(function(){return d!=null&&d.defaultOpenAll?(0,ln.O7)(o)||[]:E===!1?!1:[]},{value:E===!1?void 0:E,onChange:a}),H=(0,F.Z)(V,2),P=H[0],ne=H[1],ce=(0,ie.Z)([],{value:C,onChange:x?function(xe){x&&xe&&x(xe)}:void 0}),g=(0,F.Z)(ce,2),se=g[0],M=g[1];(0,h.useEffect)(function(){d!=null&&d.defaultOpenAll||E===!1||v&&(ne(v),M(v))},[v.join("-")]),(0,h.useEffect)(function(){f&&(it=rt({scriptUrl:f}))},[f]),(0,h.useEffect)(function(){if(v.join("-")!==(se||[]).join("-")&&M(v),!p&&E!==!1&&v.join("-")!==(P||[]).join("-")){var xe=v;(d==null?void 0:d.autoClose)===!1&&(xe=Array.from(new Set([].concat((0,yn.Z)(v),(0,yn.Z)(P||[]))))),ne(xe)}else d!=null&&d.ignoreFlatMenu&&p?ne((0,ln.O7)(o)):R(!1)},[v.join("-")]);var Y=(0,h.useMemo)(function(){return na(P,e)},[P&&P.join(","),e.layout,e.collapsed]),re=qr(L,n),ge=re.wrapSSR,oe=re.hashId,be=(0,h.useMemo)(function(){return new ea((0,s.Z)((0,s.Z)({},e),{},{token:z,menuRenderType:Z,baseClassName:L,hashId:oe}))},[e,z,Z,L,oe]);if(d!=null&&d.loading)return(0,u.jsx)("div",{style:n!=null&&n.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(Jr.Z,{active:!0,title:!1,paragraph:{rows:n!=null&&n.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(O.current=v);var ye=e.postMenuData?e.postMenuData(o):o;return ye&&(ye==null?void 0:ye.length)<1?null:ge((0,h.createElement)(et.Z,(0,s.Z)((0,s.Z)({},Y),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:n,inlineIndent:16,defaultOpenKeys:O.current,theme:I?"dark":"light",selectedKeys:se,style:(0,s.Z)({backgroundColor:"transparent",border:"none"},i),className:q()(t,oe,L,(0,l.Z)((0,l.Z)({},"".concat(L,"-horizontal"),n==="horizontal"),"".concat(L,"-collapsed"),e.collapsed)),items:be.getNavMenuItems(ye,0,0),onOpenChange:function(Ee){e.collapsed||ne(Ee)}},e.menuProps)))};function ta(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var ra=["title","render"],aa=h.memo(function(r){return(0,u.jsx)(u.Fragment,{children:r.children})}),oa=Ve.Z.Sider,dt=Ve.Z._InternalSiderContext,ia=dt===void 0?{Provider:aa}:dt,_n=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n];if(o===!1)return null;var c=Nn(t),d=(0,u.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(c,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:c},"title"):(0,u.jsxs)("a",{children:[c,d]},"title")},st=function(e){var n,t=e.collapsed,a=e.originCollapsed,i=e.fixSiderbar,o=e.menuFooterRender,c=e.onCollapse,d=e.theme,v=e.siderWidth,f=e.isMobile,C=e.onMenuHeaderClick,x=e.breakpoint,Z=x===void 0?"lg":x,E=e.style,B=e.layout,I=e.menuExtraRender,z=I===void 0?!1:I,L=e.links,O=e.menuContentRender,T=e.collapsedButtonRender,N=e.prefixCls,p=e.avatarProps,R=e.rightContentRender,V=e.actionsRender,H=e.onOpenChange,P=e.stylish,ne=e.logoStyle,ce=(0,h.useContext)(k.L_),g=ce.hashId,se=(0,h.useMemo)(function(){return!(f||B==="mix")},[f,B]),M="".concat(N,"-sider"),Y=64,re=ta("".concat(M,".").concat(M,"-stylish"),{stylish:P,proLayoutCollapsedWidth:Y}),ge=q()("".concat(M),g,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(M,"-fixed"),i),"".concat(M,"-fixed-mix"),B==="mix"&&!f&&i),"".concat(M,"-collapsed"),e.collapsed),"".concat(M,"-layout-").concat(B),B&&!f),"".concat(M,"-light"),d!=="dark"),"".concat(M,"-mix"),B==="mix"&&!f),"".concat(M,"-stylish"),!!P)),oe=_n(e),be=z&&z(e),ye=(0,h.useMemo)(function(){return O!==!1&&(0,h.createElement)(ct,(0,s.Z)((0,s.Z)({},e),{},{key:"base-menu",mode:t&&!f?"vertical":"inline",handleOpenChange:H,style:{width:"100%"},className:"".concat(M,"-menu ").concat(g).trim()}))},[M,g,O,H,e]),xe=(L||[]).map(function(Se,Ne){return{className:"".concat(M,"-link"),label:Se,key:Ne}}),Ee=(0,h.useMemo)(function(){return O?O(e,ye):ye},[O,ye,e]),Be=(0,h.useMemo)(function(){if(!p)return null;var Se=p.title,Ne=p.render,Le=(0,me.Z)(p,ra),Zn=(0,u.jsxs)("div",{className:"".concat(M,"-actions-avatar"),children:[Le!=null&&Le.src||Le!=null&&Le.srcSet||Le.icon||Le.children?(0,u.jsx)(qn.C,(0,s.Z)({size:28},Le)):null,p.title&&!t&&(0,u.jsx)("span",{children:Se})]});return Ne?Ne(p,Zn,e):Zn},[p,M,t]),we=(0,h.useMemo)(function(){return V?(0,u.jsx)(Hr.Z,{align:"center",size:4,direction:t?"vertical":"horizontal",className:q()(["".concat(M,"-actions-list"),t&&"".concat(M,"-actions-list-collapsed"),g]),children:V==null?void 0:V(e).map(function(Se,Ne){return(0,u.jsx)("div",{className:"".concat(M,"-actions-list-item ").concat(g).trim(),children:Se},Ne)})}):null},[V,M,t]),_e=(0,h.useMemo)(function(){return(0,u.jsx)(Hn,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),ze=(0,h.useMemo)(function(){if(T===!1)return null;var Se=(0,u.jsx)($r,{isMobile:f,collapsed:a,className:"".concat(M,"-collapsed-button"),onClick:function(){c==null||c(!a)}});return T?T(t,Se):Se},[T,f,a,M,t,c]),Fe=(0,h.useMemo)(function(){return!Be&&!we?null:(0,u.jsxs)("div",{className:q()("".concat(M,"-actions"),g,t&&"".concat(M,"-actions-collapsed")),children:[Be,we]})},[we,Be,M,t,g]),Ke=(0,h.useMemo)(function(){var Se;return e!=null&&(Se=e.menu)!==null&&Se!==void 0&&Se.hideMenuWhenCollapsed&&t?"".concat(M,"-hide-menu-collapsed"):null},[M,t,e==null||(n=e.menu)===null||n===void 0?void 0:n.hideMenuWhenCollapsed]),un=o&&(o==null?void 0:o(e)),Sn=(0,u.jsxs)(u.Fragment,{children:[oe&&(0,u.jsxs)("div",{className:q()([q()("".concat(M,"-logo"),g,(0,l.Z)({},"".concat(M,"-logo-collapsed"),t))]),onClick:se?C:void 0,id:"logo",style:ne,children:[oe,_e]}),be&&(0,u.jsx)("div",{className:q()(["".concat(M,"-extra"),!oe&&"".concat(M,"-extra-no-logo"),g]),children:be}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Ee}),(0,u.jsxs)(ia.Provider,{value:{},children:[L?(0,u.jsx)("div",{className:"".concat(M,"-links ").concat(g).trim(),children:(0,u.jsx)(et.Z,{inlineIndent:16,className:"".concat(M,"-link-menu ").concat(g).trim(),selectedKeys:[],openKeys:[],theme:d,mode:"inline",items:xe})}):null,se&&(0,u.jsxs)(u.Fragment,{children:[Fe,!we&&R?(0,u.jsx)("div",{className:q()("".concat(M,"-actions"),g,(0,l.Z)({},"".concat(M,"-actions-collapsed"),t)),children:R==null?void 0:R(e)}):null]}),un&&(0,u.jsx)("div",{className:q()(["".concat(M,"-footer"),g,(0,l.Z)({},"".concat(M,"-footer-collapsed"),t)]),children:un})]})]});return re.wrapSSR((0,u.jsxs)(u.Fragment,{children:[i&&!f&&!Ke&&(0,u.jsx)("div",{style:(0,s.Z)({width:t?Y:v,overflow:"hidden",flex:"0 0 ".concat(t?Y:v,"px"),maxWidth:t?Y:v,minWidth:t?Y:v,transition:"all 0.2s ease 0s"},E)}),(0,u.jsxs)(oa,{collapsible:!0,trigger:null,collapsed:t,breakpoint:Z===!1?void 0:Z,onCollapse:function(Ne){f||c==null||c(Ne)},collapsedWidth:Y,style:E,theme:d,width:v,className:q()(ge,g,Ke),children:[Ke?(0,u.jsx)("div",{className:"".concat(M,"-hide-when-collapsed ").concat(g).trim(),style:{height:"100%",width:"100%",opacity:Ke?0:1},children:Sn}):Sn,ze]})]}))},la=y(10178),ua=y(9220),ca=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function da(r){return(0,Te.Xj)("ProLayoutRightContent",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ca(n)]})}var sa=["rightContentRender","avatarProps","actionsRender","headerContentRender"],va=["title","render"],vt=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,me.Z)(e,sa),c=(0,h.useContext)(He.ZP.ConfigContext),d=c.getPrefixCls,v="".concat(d(),"-pro-global-header"),f=da(v),C=f.wrapSSR,x=f.hashId,Z=(0,h.useState)("auto"),E=(0,F.Z)(Z,2),B=E[0],I=E[1],z=(0,h.useMemo)(function(){if(!t)return null;var N=t.title,p=t.render,R=(0,me.Z)(t,va),V=[R!=null&&R.src||R!=null&&R.srcSet||R.icon||R.children?(0,h.createElement)(qn.C,(0,s.Z)((0,s.Z)({},R),{},{size:28,key:"avatar"})):null,N?(0,u.jsx)("span",{style:{marginInlineStart:8},children:N},"name"):void 0];return p?p(t,(0,u.jsx)("div",{children:V}),o):(0,u.jsx)("div",{children:V})},[t]),L=a||z?function(N){var p=a&&(a==null?void 0:a(N));return!p&&!z?null:(Array.isArray(p)||(p=[p]),C((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(x).trim(),children:[p.filter(Boolean).map(function(R,V){var H=!1;if(h.isValidElement(R)){var P;H=!!(R!=null&&(P=R.props)!==null&&P!==void 0&&P["aria-hidden"])}return(0,u.jsx)("div",{className:q()("".concat(v,"-header-actions-item ").concat(x),(0,l.Z)({},"".concat(v,"-header-actions-hover"),!H)),children:R},V)}),z&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(x).trim(),children:z})]})))}:void 0,O=(0,la.D)(function(){var N=(0,ae.Z)((0,fe.Z)().mark(function p(R){return(0,fe.Z)().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:I(R);case 1:case"end":return H.stop()}},p)}));return function(p){return N.apply(this,arguments)}}(),160),T=L||n;return(0,u.jsx)("div",{className:"".concat(v,"-right-content ").concat(x).trim(),style:{minWidth:B,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(ua.Z,{onResize:function(p){var R=p.width;O.run(R)},children:T?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:T((0,s.Z)((0,s.Z)({},o),{},{rightContentSize:B}))}):null})})})},fa=function(e){var n,t;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};function ma(r){return(0,Te.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[fa(n)]})}var ft=function(e){var n,t,a,i,o,c,d,v=(0,h.useRef)(null),f=e.onMenuHeaderClick,C=e.contentWidth,x=e.rightContentRender,Z=e.className,E=e.style,B=e.headerContentRender,I=e.layout,z=e.actionsRender,L=(0,h.useContext)(He.ZP.ConfigContext),O=L.getPrefixCls,T=(0,h.useContext)(k.L_),N=T.dark,p="".concat(e.prefixCls||O("pro"),"-top-nav-header"),R=ma(p),V=R.wrapSSR,H=R.hashId,P=void 0;e.menuHeaderRender!==void 0?P="menuHeaderRender":(I==="mix"||I==="top")&&(P="headerTitleRender");var ne=_n((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),P),ce=(0,h.useContext)(k.L_),g=ce.token,se=(0,h.useMemo)(function(){var M,Y,re,ge,oe,be,ye,xe,Ee,Be,we,_e,ze,Fe=(0,u.jsx)(He.ZP,{theme:{hashed:(0,k.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,s.Z)({},w({colorItemBg:((M=g.layout)===null||M===void 0||(M=M.header)===null||M===void 0?void 0:M.colorBgHeader)||"transparent",colorSubItemBg:((Y=g.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.colorBgHeader)||"transparent",radiusItem:g.borderRadius,colorItemBgSelected:((re=g.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected)||(g==null?void 0:g.colorBgTextHover),itemHoverBg:((ge=g.layout)===null||ge===void 0||(ge=ge.header)===null||ge===void 0?void 0:ge.colorBgMenuItemHover)||(g==null?void 0:g.colorBgTextHover),colorItemBgSelectedHorizontal:((oe=g.layout)===null||oe===void 0||(oe=oe.header)===null||oe===void 0?void 0:oe.colorBgMenuItemSelected)||(g==null?void 0:g.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((be=g.layout)===null||be===void 0||(be=be.header)===null||be===void 0?void 0:be.colorTextMenu)||(g==null?void 0:g.colorTextSecondary),colorItemTextHoverHorizontal:((ye=g.layout)===null||ye===void 0||(ye=ye.header)===null||ye===void 0?void 0:ye.colorTextMenuActive)||(g==null?void 0:g.colorText),colorItemTextSelectedHorizontal:((xe=g.layout)===null||xe===void 0||(xe=xe.header)===null||xe===void 0?void 0:xe.colorTextMenuSelected)||(g==null?void 0:g.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((Ee=g.layout)===null||Ee===void 0||(Ee=Ee.header)===null||Ee===void 0?void 0:Ee.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((Be=g.layout)===null||Be===void 0||(Be=Be.header)===null||Be===void 0?void 0:Be.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((we=g.layout)===null||we===void 0||(we=we.header)===null||we===void 0?void 0:we.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:g==null?void 0:g.colorBgElevated,subMenuItemBg:g==null?void 0:g.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:g==null?void 0:g.colorBgElevated}))},token:{colorBgElevated:((_e=g.layout)===null||_e===void 0||(_e=_e.header)===null||_e===void 0?void 0:_e.colorBgHeader)||"transparent"}},children:(0,u.jsx)(ct,(0,s.Z)((0,s.Z)((0,s.Z)({theme:N?"dark":"light"},e),{},{className:"".concat(p,"-base-menu ").concat(H).trim()},e.menuProps),{},{style:(0,s.Z)({width:"100%"},(ze=e.menuProps)===null||ze===void 0?void 0:ze.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return B?B(e,Fe):Fe},[(n=g.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgHeader,(t=g.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgMenuItemSelected,(a=g.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=g.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=g.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(c=g.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorTextMenuSelected,(d=g.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,g.borderRadius,g==null?void 0:g.colorBgTextHover,g==null?void 0:g.colorTextSecondary,g==null?void 0:g.colorText,g==null?void 0:g.colorTextBase,g.colorBgElevated,N,e,p,H,B]);return V((0,u.jsx)("div",{className:q()(p,H,Z,(0,l.Z)({},"".concat(p,"-light"),!0)),style:E,children:(0,u.jsxs)("div",{ref:v,className:q()("".concat(p,"-main"),H,(0,l.Z)({},"".concat(p,"-wide"),C==="Fixed"&&I==="top")),children:[ne&&(0,u.jsxs)("div",{className:q()("".concat(p,"-main-left ").concat(H)),onClick:f,children:[(0,u.jsx)(Hn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:"".concat(p,"-logo ").concat(H).trim(),id:"logo",children:ne},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(p,"-menu ").concat(H).trim(),children:se}),(x||z||e.avatarProps)&&(0,u.jsx)(vt,(0,s.Z)((0,s.Z)({rightContentRender:x},e),{},{prefixCls:p}))]})}))},ha=function(e){var n,t,a;return(0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}))};function ga(r){return(0,Te.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ha(n)]})}var pa=function(e,n){return e===!1?null:e?e(n,null):n},ya=function(e){var n=e.isMobile,t=e.logo,a=e.collapsed,i=e.onCollapse,o=e.rightContentRender,c=e.menuHeaderRender,d=e.onMenuHeaderClick,v=e.className,f=e.style,C=e.layout,x=e.children,Z=e.splitMenus,E=e.menuData,B=e.prefixCls,I=(0,h.useContext)(He.ZP.ConfigContext),z=I.getPrefixCls,L=I.direction,O="".concat(B||z("pro"),"-global-header"),T=ga(O),N=T.wrapSSR,p=T.hashId,R=q()(v,O,p);if(C==="mix"&&!n&&Z){var V=(E||[]).map(function(ce){return(0,s.Z)((0,s.Z)({},ce),{},{children:void 0,routes:void 0})}),H=(0,ln.QX)(V);return(0,u.jsx)(ft,(0,s.Z)((0,s.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:H}))}var P=q()("".concat(O,"-logo"),p,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(O,"-logo-rtl"),L==="rtl"),"".concat(O,"-logo-mix"),C==="mix"),"".concat(O,"-logo-mobile"),n)),ne=(0,u.jsx)("span",{className:P,children:(0,u.jsx)("a",{children:Nn(t)})},"logo");return N((0,u.jsxs)("div",{className:R,style:(0,s.Z)({},f),children:[n&&(0,u.jsx)("span",{className:"".concat(O,"-collapsed-button ").concat(p).trim(),onClick:function(){i==null||i(!a)},children:(0,u.jsx)(Ir,{})}),n&&pa(c,ne),C==="mix"&&!n&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Hn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:P,onClick:d,children:_n((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:x}),(o||e.actionsRender||e.avatarProps)&&(0,u.jsx)(vt,(0,s.Z)({rightContentRender:o},e))]}))},xa=function(e){var n,t,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function Ca(r){return(0,Te.Xj)("ProLayoutHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[xa(n)]})}function ba(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var mt=Ve.Z.Header,Sa=function(e){var n,t,a,i=e.isMobile,o=e.fixedHeader,c=e.className,d=e.style,v=e.collapsed,f=e.prefixCls,C=e.onCollapse,x=e.layout,Z=e.headerRender,E=e.headerContentRender,B=(0,h.useContext)(k.L_),I=B.token,z=(0,h.useContext)(He.ZP.ConfigContext),L=(0,h.useState)(!1),O=(0,F.Z)(L,2),T=O[0],N=O[1],p=o||x==="mix",R=(0,h.useCallback)(function(){var M=x==="top",Y=(0,ln.QX)(e.menuData||[]),re=(0,u.jsx)(ya,(0,s.Z)((0,s.Z)({onCollapse:C},e),{},{menuData:Y,children:E&&E(e,null)}));return M&&!i&&(re=(0,u.jsx)(ft,(0,s.Z)((0,s.Z)({mode:"horizontal",onCollapse:C},e),{},{menuData:Y}))),Z&&typeof Z=="function"?Z(e,re):re},[E,Z,i,x,C,e]);(0,h.useEffect)(function(){var M,Y=(z==null||(M=z.getTargetContainer)===null||M===void 0?void 0:M.call(z))||document.body,re=function(){var oe,be=Y.scrollTop;return be>(((oe=I.layout)===null||oe===void 0||(oe=oe.header)===null||oe===void 0?void 0:oe.heightLayoutHeader)||56)&&!T?(N(!0),!0):(T&&N(!1),!1)};if(p&&typeof window!="undefined")return Y.addEventListener("scroll",re,{passive:!0}),function(){Y.removeEventListener("scroll",re)}},[(n=I.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader,p,T]);var V=x==="top",H="".concat(f,"-layout-header"),P=Ca(H),ne=P.wrapSSR,ce=P.hashId,g=ba("".concat(H,".").concat(H,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),se=q()(c,ce,H,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(H,"-fixed-header"),p),"".concat(H,"-fixed-header-scroll"),T),"".concat(H,"-mix"),x==="mix"),"".concat(H,"-fixed-header-action"),!v),"".concat(H,"-top-menu"),V),"".concat(H,"-header"),!0),"".concat(H,"-stylish"),!!e.stylish));return x==="side"&&!i?null:g.wrapSSR(ne((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(He.ZP,{theme:{hashed:(0,k.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[p&&(0,u.jsx)(mt,{style:(0,s.Z)({height:((t=I.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat(((a=I.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},d)}),(0,u.jsx)(mt,{className:se,style:d,children:R()})]})})))},Za=y(83832),Ma=y(85265),Ia=y(54548),ht=new Ia.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ra=function(e){var n,t,a,i,o,c,d,v,f,C,x,Z;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorTextMenuTitle,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(v=e.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:(C=e.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease"})),"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((x=e.layout)===null||x===void 0||(x=x.header)===null||x===void 0?void 0:x.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((Z=e.layout)===null||Z===void 0||(Z=Z.header)===null||Z===void 0?void 0:Z.heightLayoutHeader)||56,"px")}}))};function Ta(r,e){var n=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutSiderMenu",function(t){var a=(0,s.Z)((0,s.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ra(a)]})}var gt=function(e){var n,t=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,c=e.style,d=e.className,v=e.hide,f=e.prefixCls,C=(0,h.useContext)(k.L_),x=C.token;(0,h.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var Z=(0,Jn.Z)(e,["className","style"]),E=h.useContext(He.ZP.ConfigContext),B=E.direction,I=Ta("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),z=I.wrapSSR,L=I.hashId,O=q()("".concat(f,"-sider"),d,L);if(v)return null;var T=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return z(t?(0,u.jsx)(Ma.Z,(0,s.Z)((0,s.Z)({placement:B==="rtl"?"right":"left",className:q()("".concat(f,"-drawer-sider"),d)},T),{},{style:(0,s.Z)({padding:0,height:"100vh"},c),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(n=x.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground}},children:(0,u.jsx)(st,(0,s.Z)((0,s.Z)({},Z),{},{isMobile:!0,className:O,collapsed:t?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,u.jsx)(st,(0,s.Z)((0,s.Z)({className:O,originCollapsed:i},Z),{},{style:c})))},pt=y(76509),Ba=y(14779),An=y.n(Ba),Pa=function(e,n,t){if(t){var a=(0,yn.Z)(t.keys()).find(function(o){return An()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return An()(o).test(e)});if(i)return n[i]}return{path:""}},Dn=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,c=e.formatMessage,d=e.title,v=e.menu,f=v===void 0?{locale:!1}:v,C=n?"":d||"",x=Pa(a,i,o);if(!x)return{title:C,id:"",pageName:C};var Z=x.name;return f.locale!==!1&&x.locale&&c&&(Z=c({id:x.locale||"",defaultMessage:x.name})),Z?n||!d?{title:Z,id:x.locale||"",pageName:Z}:{title:"".concat(Z," - ").concat(d),id:x.locale||"",pageName:Z}:{title:C,id:x.locale||"",pageName:C}},bo=function(e,n){return Dn(e,n).title},wa=y(52676),bn=y(67159),Qe=y(34155),ja=function(){var e;return typeof Qe=="undefined"?bn.Z:((e=Qe)===null||Qe===void 0||(Qe={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Qe===void 0?void 0:Qe.ANTD_VERSION)||bn.Z},Ea=function(e){var n,t,a,i,o,c,d,v,f,C,x,Z,E,B,I,z,L,O,T,N,p,R,V,H,P,ne,ce,g,se,M,Y,re;return(n=ja())!==null&&n!==void 0&&n.startsWith("5")?{}:(0,l.Z)((0,l.Z)((0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(p={color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextMenu},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(p,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextMenu}),"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),"&".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,`-menu-item:active, `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-item-active, `).concat(e.antCls,`-menu-submenu-active, `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-item-active, `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(v=e.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((f=e.layout)===null||f===void 0||(f=f.header)===null||f===void 0?void 0:f.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(C=e.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(x=e.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenuSelected}),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(p,"".concat(e.antCls,"-menu-submenu-selected"),{color:(Z=e.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(E=e.layout)===null||E===void 0||(E=E.sider)===null||E===void 0?void 0:E.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(B=e.layout)===null||B===void 0||(B=B.sider)===null||B===void 0?void 0:B.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:(I=e.layout)===null||I===void 0||(I=I.sider)===null||I===void 0?void 0:I.colorTextMenuActive}),"&".concat(e.antCls,"-menu-horizontal"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-submenu:hover, `).concat(e.antCls,`-menu-item-active, `).concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:(z=e.layout)===null||z===void 0||(z=z.header)===null||z===void 0?void 0:z.colorTextMenuActive,backgroundColor:"".concat((L=e.layout)===null||L===void 0||(L=L.header)===null||L===void 0?void 0:L.colorBgMenuItemHover," !important")}),"".concat(e.antCls,`-menu-item-open, `).concat(e.antCls,`-menu-submenu-open, `).concat(e.antCls,`-menu-item-selected, `).concat(e.antCls,"-menu-submenu-selected"),(0,l.Z)({backgroundColor:(O=e.layout)===null||O===void 0||(O=O.header)===null||O===void 0?void 0:O.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((T=e.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((N=e.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.colorTextMenuSelected," !important")})),"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"})))),"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(0,l.Z)((0,l.Z)({},"&".concat(e.antCls,"-menu"),(0,l.Z)({color:(R=e.layout)===null||R===void 0||(R=R.header)===null||R===void 0?void 0:R.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-item-active, `).concat(e.antCls,`-menu-submenu-active, `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(V=e.layout)===null||V===void 0||(V=V.header)===null||V===void 0?void 0:V.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(H=e.layout)===null||H===void 0||(H=H.header)===null||H===void 0?void 0:H.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(P=e.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:(ne=e.layout)===null||ne===void 0||(ne=ne.header)===null||ne===void 0?void 0:ne.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(ce=e.layout)===null||ce===void 0||(ce=ce.header)===null||ce===void 0?void 0:ce.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active, `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:(g=e.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(se=e.layout)===null||se===void 0||(se=se.sider)===null||se===void 0?void 0:se.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(M=e.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-item-active, `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(Y=e.layout)===null||Y===void 0||(Y=Y.sider)===null||Y===void 0?void 0:Y.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(re=e.layout)===null||re===void 0||(re=re.sider)===null||re===void 0?void 0:re.colorTextMenuActive}))))},La=function(e){var n,t,a,i;return(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}))};function Na(r){return(0,Te.Xj)("ProLayout",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[La(n),Ea(n)]})}function Ha(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Ye=y(34155),_a=function(){var e;return typeof Ye=="undefined"?bn.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||bn.Z},Aa=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,c=a.path,d=t.findIndex(function(v){return v.linkPath===e.path})===t.length-1;return d?(0,u.jsx)("span",{children:o||i}):(0,u.jsx)("span",{onClick:c?function(){return location.href=c}:void 0,children:o||i})},Da=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},Oa=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return An()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},$a=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},Wa=function(e,n,t){var a=Ha(e==null?void 0:e.pathname),i=a.map(function(o){var c=Oa(n,o),d=Da(c,t),v=c.hideInBreadcrumb;return d&&!v?{linkPath:o,breadcrumbName:d,title:d,component:c.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},za=function(e){var n=$a(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?Wa(t,a,e):[]},Fa=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,c=o===void 0?2:o,d=za(e),v=function(x){for(var Z=a||Aa,E=arguments.length,B=new Array(E>1?E-1:0),I=1;I-1?{items:f,itemRender:v}:{routes:f,itemRender:v}};function Ka(r){return(0,yn.Z)(r).reduce(function(e,n){var t=(0,F.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var Ua=function r(e,n,t,a){var i=ur(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,c=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:Ka(c),breadcrumbMap:c,menuData:o}},Ga=y(71002),Xa=y(51812),Va=function(e){var n=(0,h.useState)({}),t=(0,F.Z)(n,2),a=t[0],i=t[1];return(0,h.useEffect)(function(){i((0,Xa.Y)({layout:(0,Ga.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},Qa=["id","defaultMessage"],Ya=["fixSiderbar","navTheme","layout"],yt=0,Ja=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,u.jsx)(Sa,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},ka=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,s.Z)({},e),(0,u.jsx)(Cr.q,{})):null},qa=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,c=e.openKeys,d=e.splitMenus,v=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var C=e.menuData;if(d&&(c!==!1||a==="mix")&&!i){var x=o||n,Z=(0,F.Z)(x,1),E=Z[0];if(E){var B;C=((B=e.menuData)===null||B===void 0||(B=B.find(function(O){return O.key===E}))===null||B===void 0?void 0:B.children)||[]}else C=[]}var I=(0,ln.QX)(C||[]);if(I&&(I==null?void 0:I.length)<1&&(d||v))return null;if(a==="top"&&!i){var z;return(0,u.jsx)(gt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:(z=e.stylish)===null||z===void 0?void 0:z.sider}))}var L=(0,u.jsx)(gt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{menuData:I,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return f?f(e,L):L},eo=function(e,n){var t=n.pageTitleRender,a=Dn(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return Dn((0,s.Z)((0,s.Z)({},a),{},{title:i}));(0,gr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},no=function(e,n,t){return e?n?64:t:0},to=function(e){var n,t,a,i,o,c,d,v,f,C,x,Z,E,B,I=e||{},z=I.children,L=I.onCollapse,O=I.location,T=O===void 0?{pathname:"/"}:O,N=I.contentStyle,p=I.route,R=I.defaultCollapsed,V=I.style,H=I.siderWidth,P=I.menu,ne=I.siderMenuType,ce=I.isChildrenLayout,g=I.menuDataRender,se=I.actionRef,M=I.bgLayoutImgList,Y=I.formatMessage,re=I.loading,ge=(0,h.useMemo)(function(){return H||(e.layout==="mix"?215:256)},[e.layout,H]),oe=(0,h.useContext)(He.ZP.ConfigContext),be=(n=e.prefixCls)!==null&&n!==void 0?n:oe.getPrefixCls("pro"),ye=(0,ie.Z)(!1,{value:P==null?void 0:P.loading,onChange:P==null?void 0:P.onLoadingChange}),xe=(0,F.Z)(ye,2),Ee=xe[0],Be=xe[1],we=(0,h.useState)(function(){return yt+=1,"pro-layout-".concat(yt)}),_e=(0,F.Z)(we,1),ze=_e[0],Fe=(0,h.useCallback)(function(Ze){var Ue=Ze.id,Rn=Ze.defaultMessage,fn=(0,me.Z)(Ze,Qa);if(Y)return Y((0,s.Z)({id:Ue,defaultMessage:Rn},fn));var mn=(0,wa.e)();return mn[Ue]?mn[Ue]:Rn},[Y]),Ke=(0,kn.ZP)([ze,P==null?void 0:P.params],function(){var Ze=(0,ae.Z)((0,fe.Z)().mark(function Ue(Rn){var fn,mn,Lt,Nt;return(0,fe.Z)().wrap(function(en){for(;;)switch(en.prev=en.next){case 0:return mn=(0,F.Z)(Rn,2),Lt=mn[1],Be(!0),en.next=4,P==null||(fn=P.request)===null||fn===void 0?void 0:fn.call(P,Lt||{},(p==null?void 0:p.children)||(p==null?void 0:p.routes)||[]);case 4:return Nt=en.sent,Be(!1),en.abrupt("return",Nt);case 7:case"end":return en.stop()}},Ue)}));return function(Ue){return Ze.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),un=Ke.data,Sn=Ke.mutate,Se=Ke.isLoading;(0,h.useEffect)(function(){Be(Se)},[Se]);var Ne=(0,kn.kY)(),Le=Ne.cache;(0,h.useEffect)(function(){return function(){Le instanceof Map&&Le.delete(ze)}},[]);var Zn=(0,h.useMemo)(function(){return Ua(un||(p==null?void 0:p.children)||(p==null?void 0:p.routes)||[],P,Fe,g)},[Fe,P,g,un,p==null?void 0:p.children,p==null?void 0:p.routes]),On=Zn||{},ao=On.breadcrumb,xt=On.breadcrumbMap,Ct=On.menuData,cn=Ct===void 0?[]:Ct;se&&P!==null&&P!==void 0&&P.request&&(se.current={reload:function(){Sn()}});var dn=(0,h.useMemo)(function(){return mr(T.pathname||"/",cn||[],!0)},[T.pathname,cn]),$n=(0,h.useMemo)(function(){return Array.from(new Set(dn.map(function(Ze){return Ze.key||Ze.path||""})))},[dn]),bt=dn[dn.length-1]||{},St=Va(bt),Mn=(0,s.Z)((0,s.Z)({},e),St),oo=Mn.fixSiderbar,So=Mn.navTheme,sn=Mn.layout,io=(0,me.Z)(Mn,Ya),Je=_(),ke=(0,h.useMemo)(function(){return(Je==="sm"||Je==="xs")&&!e.disableMobile},[Je,e.disableMobile]),lo=sn!=="top"&&!ke,uo=(0,ie.Z)(function(){return R!==void 0?R:!!(ke||Je==="md")},{value:e.collapsed,onChange:L}),Zt=(0,F.Z)(uo,2),vn=Zt[0],Mt=Zt[1],qe=(0,Jn.Z)((0,s.Z)((0,s.Z)((0,s.Z)({prefixCls:be},e),{},{siderWidth:ge},St),{},{formatMessage:Fe,breadcrumb:ao,menu:(0,s.Z)((0,s.Z)({},P),{},{type:ne||(P==null?void 0:P.type),loading:Ee}),layout:sn}),["className","style","breadcrumbRender"]),Wn=eo((0,s.Z)((0,s.Z)({pathname:T.pathname},qe),{},{breadcrumbMap:xt}),e),co=Fa((0,s.Z)((0,s.Z)({},qe),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:xt}),e),In=qa((0,s.Z)((0,s.Z)({},qe),{},{menuData:cn,onCollapse:Mt,isMobile:ke,collapsed:vn}),$n),zn=Ja((0,s.Z)((0,s.Z)({},qe),{},{children:null,hasSiderMenu:!!In,menuData:cn,isMobile:ke,collapsed:vn,onCollapse:Mt}),$n),It=ka((0,s.Z)({isMobile:ke,collapsed:vn},qe)),so=(0,h.useContext)(pt.X),vo=so.isChildrenLayout,Fn=ce!==void 0?ce:vo,Ae="".concat(be,"-layout"),Rt=Na(Ae),fo=Rt.wrapSSR,Kn=Rt.hashId,mo=q()(e.className,Kn,"ant-design-pro",Ae,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"screen-".concat(Je),Je),"".concat(Ae,"-top-menu"),sn==="top"),"".concat(Ae,"-is-children"),Fn),"".concat(Ae,"-fix-siderbar"),oo),"".concat(Ae,"-").concat(sn),sn)),ho=no(!!lo,vn,ge),Tt={position:"relative"};(Fn||N&&N.minHeight)&&(Tt.minHeight=0),(0,h.useEffect)(function(){var Ze;(Ze=e.onPageChange)===null||Ze===void 0||Ze.call(e,e.location)},[T.pathname,(t=T.pathname)===null||t===void 0?void 0:t.search]);var go=(0,h.useState)(!1),Bt=(0,F.Z)(go,2),Pt=Bt[0],po=Bt[1],yo=(0,h.useState)(0),wt=(0,F.Z)(yo,2),jt=wt[0],xo=wt[1];m(Wn,e.title||!1);var Co=(0,h.useContext)(k.L_),X=Co.token,Et=(0,h.useMemo)(function(){return M&&M.length>0?M==null?void 0:M.map(function(Ze,Ue){return(0,u.jsx)("img",{src:Ze.src,style:(0,s.Z)({position:"absolute"},Ze)},Ue)}):null},[M]);return fo((0,u.jsx)(pt.X.Provider,{value:(0,s.Z)((0,s.Z)({},qe),{},{breadcrumb:co,menuData:cn,isMobile:ke,collapsed:vn,hasPageContainer:jt,setHasPageContainer:xo,isChildrenLayout:!0,title:Wn.pageName,hasSiderMenu:!!In,hasHeader:!!zn,siderWidth:ho,hasFooter:!!It,hasFooterToolbar:Pt,setHasFooterToolbar:po,pageTitleInfo:Wn,matchMenus:dn,matchMenuKeys:$n,currentMenu:bt}),children:e.pure?(0,u.jsx)(u.Fragment,{children:z}):(0,u.jsxs)("div",{className:mo,children:[Et||(a=X.layout)!==null&&a!==void 0&&a.bgLayout?(0,u.jsx)("div",{className:q()("".concat(Ae,"-bg-list"),Kn),children:Et}):null,(0,u.jsxs)(Ve.Z,{style:(0,s.Z)({minHeight:"100%",flexDirection:In?"row":void 0},V),children:[(0,u.jsx)(He.ZP,{theme:{hashed:(0,k.nu)(),token:{controlHeightLG:((i=X.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(X==null?void 0:X.controlHeightLG)},components:{Menu:w({colorItemBg:((o=X.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((c=X.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuBackground)||"transparent",radiusItem:X.borderRadius,colorItemBgSelected:((d=X.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorItemBgHover:((v=X.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorBgMenuItemHover)||(X==null?void 0:X.colorBgTextHover),colorItemBgActive:((f=X.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(X==null?void 0:X.colorBgTextActive),colorItemBgSelectedHorizontal:((C=X.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((x=X.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenu)||(X==null?void 0:X.colorTextSecondary),colorItemTextHover:((Z=X.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((E=X.layout)===null||E===void 0||(E=E.sider)===null||E===void 0?void 0:E.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:X==null?void 0:X.colorBgElevated,subMenuItemBg:X==null?void 0:X.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:X==null?void 0:X.colorBgElevated})}},children:In}),(0,u.jsxs)("div",{style:Tt,className:"".concat(Ae,"-container ").concat(Kn).trim(),children:[zn,(0,u.jsx)(yr,(0,s.Z)((0,s.Z)({hasPageContainer:jt,isChildrenLayout:Fn},io),{},{hasHeader:!!zn,prefixCls:Ae,style:N,children:re?(0,u.jsx)(Za.S,{}):z})),It,Pt&&(0,u.jsx)("div",{className:"".concat(Ae,"-has-footer"),style:{height:64,marginBlockStart:(B=X.layout)===null||B===void 0||(B=B.pageContainer)===null||B===void 0?void 0:B.paddingBlockPageContainerContent}})]})]})]})}))},ro=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(He.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,u.jsx)(k._Y,(0,s.Z)((0,s.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(to,(0,s.Z)((0,s.Z)({logo:(0,u.jsx)(xr,{})},at.h),{},{location:(0,U.j)()?window.location:void 0},e))}))})}},90743:function(Me,Ie){var y;function l(m){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},l(m)}y={value:!0},Ie.Bo=y=y=y=y=y=y=void 0;function fe(m){for(var S=[],b=0;b=48&&j<=57||j>=65&&j<=90||j>=97&&j<=122||j===95){ee+=m[$++];continue}break}if(!ee)throw new TypeError("Missing parameter name at "+b);S.push({type:"NAME",index:b,value:ee}),b=$;continue}if(w==="("){var A=1,Q="",$=b+1;if(m[$]==="?")throw new TypeError('Pattern cannot start with "?" at '+$);for(;$-1:Re===void 0;ee||(ue+="(?:"+ve+"(?="+G+"))?"),$e||(ue+="(?="+ve+"|"+G+")")}return new RegExp(ue,h(b))}y=_;function U(m,S,b){return m instanceof RegExp?le(m,S):Array.isArray(m)?de(m,S,b):pe(m,S,b)}Ie.Bo=U},78164:function(Me,Ie,y){"use strict";y.d(Ie,{S:function(){return le}});var l=y(15671),fe=y(43144),ae=y(97326),me=y(32531),F=y(29388),s=y(4942),k=y(29905),ie=y(67294),h=y(85893),le=function(de){(0,me.Z)(_,de);var pe=(0,F.Z)(_);function _(){var U;(0,l.Z)(this,_);for(var m=arguments.length,S=new Array(m),b=0;b-1&&(G=w[Ce],w=w.slice(0,Ce))}w&&(m.push(w),w="",j=!1);var je=G!==""&&ve!==void 0&&ve!==G,Oe=D==="+"||D==="*",Re=D==="?"||D==="*",$e=G||ee,De=W||te;m.push({name:ue||S++,prefix:G,delimiter:$e,optional:Re,repeat:Oe,partial:je,pattern:De?s(De):"[^"+F($e)+"]+?"})}return(w||b<_.length)&&m.push(w+_.substr(b)),m}function ae(_,U){return me(fe(_,U))}function me(_){for(var U=new Array(_.length),m=0;m<_.length;m++)typeof _[m]=="object"&&(U[m]=new RegExp("^(?:"+_[m].pattern+")$"));return function(S,b){for(var w="",ee=b&&b.encode||encodeURIComponent,$=0;$<_.length;$++){var j=_[$];if(typeof j=="string"){w+=j;continue}var A=S?S[j.name]:void 0,Q;if(Array.isArray(A)){if(!j.repeat)throw new TypeError('Expected "'+j.name+'" to not repeat, but got array');if(A.length===0){if(j.optional)continue;throw new TypeError('Expected "'+j.name+'" to not be empty')}for(var J=0;J-1;else{var G=K.repeat?"(?:"+K.pattern+")(?:"+F(K.delimiter)+"(?:"+K.pattern+"))*":K.pattern;U&&U.push(K),K.optional?K.partial?A+=F(K.prefix)+"("+G+")?":A+="(?:"+F(K.prefix)+"("+G+"))?":A+=F(K.prefix)+"("+G+")"}}return w?(S||(A+="(?:"+ee+")?"),A+=j==="$"?"$":"(?="+j+")"):(S||(A+="(?:"+ee+"(?="+j+"))?"),Q||(A+="(?="+ee+"|"+j+")")),new RegExp(A,k(m))}function pe(_,U,m){return _ instanceof RegExp?ie(_,U):Array.isArray(_)?h(_,U,m):le(_,U,m)}},64599:function(Me,Ie,y){var l=y(96263);function fe(ae,me){var F=typeof Symbol!="undefined"&&ae[Symbol.iterator]||ae["@@iterator"];if(!F){if(Array.isArray(ae)||(F=l(ae))||me&&ae&&typeof ae.length=="number"){F&&(ae=F);var s=0,k=function(){};return{s:k,n:function(){return s>=ae.length?{done:!0}:{done:!1,value:ae[s++]}},e:function(pe){throw pe},f:k}}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 ie=!0,h=!1,le;return{s:function(){F=F.call(ae)},n:function(){var pe=F.next();return ie=pe.done,pe},e:function(pe){h=!0,le=pe},f:function(){try{!ie&&F.return!=null&&F.return()}finally{if(h)throw le}}}}Me.exports=fe,Me.exports.__esModule=!0,Me.exports.default=Me.exports}}]);