27 lines
122 KiB
JavaScript
27 lines
122 KiB
JavaScript
var Yt=(Re,de)=>(de=Symbol[Re])?de:Symbol.for("Symbol."+Re),Xo=Re=>{throw TypeError(Re)};var Qo=function(Re,de){this[0]=Re,this[1]=de};var Jt=Re=>{var de=Re[Yt("asyncIterator")],Z=!1,l,ee={};return de==null?(de=Re[Yt("iterator")](),l=ve=>ee[ve]=ue=>de[ve](ue)):(de=de.call(Re),l=ve=>ee[ve]=ue=>{if(Z){if(Z=!1,ve==="throw")throw ue;return ue}return Z=!0,{done:!1,value:new Qo(new Promise(J=>{var d=de[ve](ue);d instanceof Object||Xo("Object expected"),J(d)}),1)}}),ee[Yt("iterator")]=()=>ee,l("next"),"throw"in de?l("throw"):ee.throw=ve=>{throw ve},"return"in de&&l("return"),ee};(self.webpackChunk=self.webpackChunk||[]).push([[199],{60199:function(Re,de,Z){"use strict";Z.d(de,{f:function(){return Po}});var l=Z(4942),ee=Z(74165),ve=Z(15861),ue=Z(45987),J=Z(97685),d=Z(1413),me=Z(89451),oe=Z(21770),g=Z(67294);function Le(a){var e=typeof window=="undefined",t=(0,g.useState)(function(){return e?!1:window.matchMedia(a).matches}),n=(0,J.Z)(t,2),r=n[0],i=n[1];return(0,g.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(a),s=function(f){return i(f.matches)};return o.addListener(s),function(){return o.removeListener(s)}}},[a]),r}var ge={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)"}},ze=function(){var e=void 0;if(typeof window=="undefined")return e;var t=Object.keys(ge).find(function(n){var r=ge[n].matchMedia;return!!window.matchMedia(r).matches});return e=t,e},Ae=function(){var e=Le(ge.md.matchMedia),t=Le(ge.lg.matchMedia),n=Le(ge.xxl.matchMedia),r=Le(ge.xl.matchMedia),i=Le(ge.sm.matchMedia),o=Le(ge.xs.matchMedia),s=(0,g.useState)(ze()),c=(0,J.Z)(s,2),f=c[0],m=c[1];return(0,g.useEffect)(function(){if(n){m("xxl");return}if(r){m("xl");return}if(t){m("lg");return}if(e){m("md");return}if(i){m("sm");return}if(o){m("xs");return}m("md")},[e,t,n,r,i,o]),f},Te=Z(12044);function H(a,e){var t=typeof a.pageName=="string"?a.title:e;(0,g.useEffect)(function(){(0,Te.j)()&&t&&(document.title=t)},[a.title,t])}var F=Z(1977),T=Z(73177);function G(a){if((0,F.n)((0,T.b)(),"5.6.0")<0)return a;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"},t=(0,d.Z)({},a);return Object.keys(e).forEach(function(n){t[n]!==void 0&&(t[e[n]]=t[n],delete t[n])}),t}var ie=Z(47930);function k(a,e){return e>>>a|e<<32-a}function X(a,e,t){return a&e^~a&t}function fe(a,e,t){return a&e^a&t^e&t}function K(a){return k(2,a)^k(13,a)^k(22,a)}function b(a){return k(6,a)^k(11,a)^k(25,a)}function p(a){return k(7,a)^k(18,a)^a>>>3}function v(a){return k(17,a)^k(19,a)^a>>>10}function j(a,e){return a[e&15]+=v(a[e+14&15])+a[e+9&15]+p(a[e+1&15])}var I=[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],C,A,M,te="0123456789abcdef";function ae(a,e){var t=(a&65535)+(e&65535),n=(a>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function Ce(){C=new Array(8),A=new Array(2),M=new Array(64),A[0]=A[1]=0,C[0]=1779033703,C[1]=3144134277,C[2]=1013904242,C[3]=2773480762,C[4]=1359893119,C[5]=2600822924,C[6]=528734635,C[7]=1541459225}function se(){var a,e,t,n,r,i,o,s,c,f,m=new Array(16);a=C[0],e=C[1],t=C[2],n=C[3],r=C[4],i=C[5],o=C[6],s=C[7];for(var S=0;S<16;S++)m[S]=M[(S<<2)+3]|M[(S<<2)+2]<<8|M[(S<<2)+1]<<16|M[S<<2]<<24;for(var h=0;h<64;h++)c=s+b(r)+X(r,i,o)+I[h],h<16?c+=m[h]:c+=j(m,h),f=K(a)+fe(a,e,t),s=o,o=i,i=r,r=ae(n,c),n=t,t=e,e=a,a=ae(c,f);C[0]+=a,C[1]+=e,C[2]+=t,C[3]+=n,C[4]+=r,C[5]+=i,C[6]+=o,C[7]+=s}function Ie(a,e){var t,n,r=0;n=A[0]>>3&63;var i=e&63;for((A[0]+=e<<3)<e<<3&&A[1]++,A[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=n;o<64;o++)M[o]=a.charCodeAt(r++);se(),n=0}for(var s=0;s<i;s++)M[s]=a.charCodeAt(r++)}function be(){var a=A[0]>>3&63;if(M[a++]=128,a<=56)for(var e=a;e<56;e++)M[e]=0;else{for(var t=a;t<64;t++)M[t]=0;se();for(var n=0;n<56;n++)M[n]=0}M[56]=A[1]>>>24&255,M[57]=A[1]>>>16&255,M[58]=A[1]>>>8&255,M[59]=A[1]&255,M[60]=A[0]>>>24&255,M[61]=A[0]>>>16&255,M[62]=A[0]>>>8&255,M[63]=A[0]&255,se()}function je(){for(var a=0,e=new Array(32),t=0;t<8;t++)e[a++]=C[t]>>>24&255,e[a++]=C[t]>>>16&255,e[a++]=C[t]>>>8&255,e[a++]=C[t]&255;return e}function $e(){for(var a=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)a+=te.charAt(C[e]>>>t&15);return a}function We(a){return Ce(),Ie(a,a.length),be(),$e()}var at=We;function Ve(a){"@babel/helpers - typeof";return Ve=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},Ve(a)}var jt=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Bt(a,e){return rt(a)||Pt(a,e)||Et(a,e)||Nt()}function Nt(){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 Pt(a,e){var t=a==null?null:typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(t!=null){var n=[],r=!0,i=!1,o,s;try{for(t=t.call(a);!(r=(o=t.next()).done)&&(n.push(o.value),!(e&&n.length===e));r=!0);}catch(c){i=!0,s=c}finally{try{!r&&t.return!=null&&t.return()}finally{if(i)throw s}}return n}}function rt(a){if(Array.isArray(a))return a}function ot(a,e){var t=typeof Symbol!="undefined"&&a[Symbol.iterator]||a["@@iterator"];if(!t){if(Array.isArray(a)||(t=Et(a))||e&&a&&typeof a.length=="number"){t&&(a=t);var n=0,r=function(){};return{s:r,n:function(){return n>=a.length?{done:!0}:{done:!1,value:a[n++]}},e:function(f){throw f},f:r}}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,s;return{s:function(){t=t.call(a)},n:function(){var f=t.next();return i=f.done,f},e:function(f){o=!0,s=f},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw s}}}}function Lt(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}function qt(a,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(a,n.key,n)}}function Gn(a,e,t){return e&&qt(a.prototype,e),t&&qt(a,t),Object.defineProperty(a,"prototype",{writable:!1}),a}function Vn(a,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&it(a,e)}function Xn(a){var e=en();return function(){var n=lt(a),r;if(e){var i=lt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Qn(this,r)}}function Qn(a,e){if(e&&(Ve(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yn(a)}function Yn(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function Ht(a){var e=typeof Map=="function"?new Map:void 0;return Ht=function(n){if(n===null||!Jn(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,r)}function r(){return yt(n,arguments,lt(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),it(r,n)},Ht(a)}function yt(a,e,t){return en()?yt=Reflect.construct.bind():yt=function(r,i,o){var s=[null];s.push.apply(s,i);var c=Function.bind.apply(r,s),f=new c;return o&&it(f,o.prototype),f},yt.apply(null,arguments)}function en(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}function Jn(a){return Function.toString.call(a).indexOf("[native code]")!==-1}function it(a,e){return it=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},it(a,e)}function lt(a){return lt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},lt(a)}function tn(a){return ta(a)||ea(a)||Et(a)||qn()}function qn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Et(a,e){if(a){if(typeof a=="string")return At(a,e);var t=Object.prototype.toString.call(a).slice(8,-1);if(t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set")return Array.from(a);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return At(a,e)}}function ea(a){if(typeof Symbol!="undefined"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function ta(a){if(Array.isArray(a))return At(a)}function At(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=a[t];return n}function na(a,e){if(a==null)return{};var t=aa(a,e),n,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(a);for(r=0;r<i.length;r++)n=i[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(a,n)&&(t[n]=a[n])}return t}function aa(a,e){if(a==null)return{};var t={},n=Object.keys(a),r,i;for(i=0;i<n.length;i++)r=n[i],!(e.indexOf(r)>=0)&&(t[r]=a[r]);return t}function nn(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),t.push.apply(t,n)}return t}function pe(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?nn(Object(t),!0).forEach(function(n){ra(a,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):nn(Object(t)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(t,n))})}return a}function ra(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var Ne="routes";function ut(a){return a.split("?")[0].split("#")[0]}var $t=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},oa=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(at(JSON.stringify(e)))}catch(n){}return t&&ut(t)},ia=function(e,t){var n=e.name,r=e.locale;return"locale"in e&&r===!1||!n?!1:e.locale||"".concat(t,".").concat(n)},an=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||$t(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},la=function(e,t){var n=e.menu,r=n===void 0?{}:n,i=e.indexRoute,o=e.path,s=o===void 0?"":o,c=e.children||[],f=r.name,m=f===void 0?e.name:f,S=r.icon,h=S===void 0?e.icon:S,R=r.hideChildren,$=R===void 0?e.hideChildren:R,L=r.flatMenu,B=L===void 0?e.flatMenu:L,_=i&&Object.keys(i).join(",")!=="redirect"?[pe({path:s,menu:r},i)].concat(c||[]):c,D=pe({},e);if(m&&(D.name=m),h&&(D.icon=h),_&&_.length){if($)return delete D.children,D;var W=Ot(pe(pe({},t),{},{data:_}),e);if(B)return W;delete D[Ne]}return D},Xe=function(e){return Array.isArray(e)&&e.length>0};function Ot(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=a.data,n=a.formatMessage,r=a.parentName,i=a.locale;return!t||!Array.isArray(t)?[]:t.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 s,c;return!(o==null||(s=o.menu)===null||s===void 0)&&s.name||o!=null&&o.flatMenu||!(o==null||(c=o.menu)===null||c===void 0)&&c.flatMenu?!0:o.menu!==!1}).map(function(o){var s=pe(pe({},o),{},{path:o.path||o.originPath});return!s.children&&s[Ne]&&(s.children=s[Ne],delete s[Ne]),s.unaccessible&&delete s.name,s.path==="*"&&(s.path="."),s.path==="/*"&&(s.path="."),!s.path&&s.originPath&&(s.path=s.originPath),s}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},s=o.children||o[Ne]||[],c=an(o.path,e?e.path:"/"),f=o.name,m=ia(o,r||"menu"),S=m!==!1&&i!==!1&&n&&m?n({id:m,defaultMessage:f}):f,h=e.pro_layout_parentKeys,R=h===void 0?[]:h,$=e.children,L=e.icon,B=e.flatMenu,_=e.indexRoute,D=e.routes,W=na(e,jt),P=new Set([].concat(tn(R),tn(o.parentKeys||[])));e.key&&P.add(e.key);var O=pe(pe(pe({},W),{},{menu:void 0},o),{},{path:c,locale:m,key:o.key||oa(pe(pe({},o),{},{path:c})),pro_layout_parentKeys:Array.from(P).filter(function(N){return N&&N!=="/"})});if(S?O.name=S:delete O.name,O.menu===void 0&&delete O.menu,Xe(s)){var x=Ot(pe(pe({},a),{},{data:s,parentName:m||""}),O);Xe(x)&&(O.children=x)}return la(O,a)}).flat(1)}var ua=function a(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||Xe(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var n=pe({},t),r=n.children||t[Ne]||[];if(delete n[Ne],Xe(r)&&!n.hideChildrenInMenu&&r.some(function(o){return o&&!!o.name})){var i=a(r);if(i.length)return pe(pe({},n),{},{children:i})}return pe({},t)}).filter(function(t){return t})},sa=function(a){Vn(t,a);var e=Xn(t);function t(){return Lt(this,t),e.apply(this,arguments)}return Gn(t,[{key:"get",value:function(r){var i;try{var o=ot(this.entries()),s;try{for(o.s();!(s=o.n()).done;){var c=Bt(s.value,2),f=c[0],m=c[1],S=ut(f);if(!$t(f)&&(0,ie.Bo)(S,[]).test(r)){i=m;break}}}catch(h){o.e(h)}finally{o.f()}}catch(h){i=void 0}return i}}]),t}(Ht(Map)),ca=function(e){var t=new sa,n=function r(i,o){i.forEach(function(s){var c=s.children||s[Ne]||[];Xe(c)&&r(c,s);var f=an(s.path,o?o.path:"/");t.set(ut(f),s)})};return n(e),t},da=function a(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var n=t.children||t[Ne];if(Xe(n)){var r=a(n);if(r.length)return pe({},t)}var i=pe({},t);return delete i[Ne],delete i.children,i}).filter(function(t){return t})},fa=function(e,t,n,r){var i=Ot({data:e,formatMessage:n,locale:t}),o=r?da(i):ua(i),s=ca(i);return{breadcrumb:s,menuData:o}},va=fa;function rn(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),t.push.apply(t,n)}return t}function st(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?rn(Object(t),!0).forEach(function(n){ma(a,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):rn(Object(t)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(t,n))})}return a}function ma(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var pa=function a(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(n){var r=st({},n);if(!(!r||!r.key)){!r.children&&r[Ne]&&(r.children=r[Ne],delete r[Ne]);var i=r.children||[];t[ut(r.path||r.key||"/")]=st({},r),t[r.key||r.path||"/"]=st({},r),i&&(t=st(st({},t),a(i)))}}),t},ha=pa,ga=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.filter(function(r){if(r==="/"&&t==="/")return!0;if(r!=="/"&&r!=="/*"&&r&&!$t(r)){var i=ut(r);try{if(n&&(0,ie.Bo)("".concat(i)).test(t)||(0,ie.Bo)("".concat(i),[]).test(t)||(0,ie.Bo)("".concat(i,"/(.*)")).test(t))return!0}catch(o){}}return!1}).sort(function(r,i){return r===t?10:i===t?-10:r.substr(1).split("/").length-i.substr(1).split("/").length})},ya=function(e,t,n,r){var i=ha(t),o=Object.keys(i),s=ga(o,e||"/",r);return!s||s.length<1?[]:(n||(s=[s[s.length-1]]),s.map(function(c){var f=i[c]||{pro_layout_parentKeys:"",key:""},m=new Map,S=(f.pro_layout_parentKeys||[]).map(function(h){return m.has(h)?null:(m.set(h,!0),i[h])}).filter(function(h){return h});return f.key&&S.push(f),S}).flat(1))},xa=ya,Oe=Z(21532),Qe=Z(26058),Ca=Z(93967),Y=Z.n(Ca),on=Z(98423),ba=Z(80334),Sa=Z(5068),Za=Z(25269),Ma=Z(78164),u=Z(85893),Ia=function(e){var t=(0,g.useContext)(me.L_),n=t.hashId,r=e.style,i=e.prefixCls,o=e.children,s=e.hasPageContainer,c=s===void 0?0:s,f=Y()("".concat(i,"-content"),n,(0,l.Z)((0,l.Z)({},"".concat(i,"-has-header"),e.hasHeader),"".concat(i,"-content-has-page-container"),c>0)),m=e.ErrorBoundary||Ma.S;return e.ErrorBoundary===!1?(0,u.jsx)(Qe.Z.Content,{className:f,style:r,children:o}):(0,u.jsx)(m,{children:(0,u.jsx)(Qe.Z.Content,{className:f,style:r,children:o})})},wa=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"})]})})})})]})},ct=Z(87462),Ra={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},Ta=Ra,ln=Z(84089),ja=function(e,t){return g.createElement(ln.Z,(0,ct.Z)({},e,{ref:t,icon:Ta}))},Ba=g.forwardRef(ja),Na=Ba,we=Z(45929),Pa=function(e){return(0,l.Z)({},e.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:e.colorTextSecondary,"&-link":{color:e.colorTextSecondary,textDecoration:e.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:e.colorPrimary}},"&-copyright":{fontSize:"14px",color:e.colorText}})};function La(a){return(0,we.Xj)("ProLayoutFooter",function(e){var t=(0,d.Z)((0,d.Z)({},e),{},{componentCls:".".concat(a)});return[Pa(t)]})}var Ha=function(e){var t=e.className,n=e.prefixCls,r=e.links,i=e.copyright,o=e.style,s=(0,g.useContext)(Oe.ZP.ConfigContext),c=s.getPrefixCls(n||"pro-global-footer"),f=La(c),m=f.wrapSSR,S=f.hashId;return(r==null||r===!1||Array.isArray(r)&&r.length===0)&&(i==null||i===!1)?null:m((0,u.jsxs)("div",{className:Y()(c,S,t),style:o,children:[r&&(0,u.jsx)("div",{className:"".concat(c,"-list ").concat(S).trim(),children:r.map(function(h){return(0,u.jsx)("a",{className:"".concat(c,"-list-link ").concat(S).trim(),title:h.key,target:h.blankTarget?"_blank":"_self",href:h.href,rel:"noreferrer",children:h.title},h.key)})}),i&&(0,u.jsx)("div",{className:"".concat(c,"-copyright ").concat(S).trim(),children:i})]}))},Ea=Qe.Z.Footer,Aa=function(e){var t=e.links,n=e.copyright,r=e.style,i=e.className,o=e.prefixCls;return(0,u.jsx)(Ea,{className:i,style:(0,d.Z)({padding:0},r),children:(0,u.jsx)(Ha,{links:t,prefixCls:o,copyright:n===!1?null:(0,u.jsxs)(g.Fragment,{children:[(0,u.jsx)(Na,{})," ",n]})})})},un=function a(e){return(e||[]).reduce(function(t,n){if(n.key&&t.push(n.key),n.children||n.routes){var r=t.concat(a(n.children||n.routes)||[]);return r}return t},[])},sn={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Yo(a){return a&&sn[a]?sn[a]:a||""}function xt(a){return a.map(function(e){var t=e.children||[],n=(0,d.Z)({},e);if(!n.children&&n.routes&&(n.children=n.routes),!n.name||n.hideInMenu)return null;if(n&&n!==null&&n!==void 0&&n.children){if(!n.hideChildrenInMenu&&t.some(function(r){return r&&r.name&&!r.hideInMenu}))return(0,d.Z)((0,d.Z)({},e),{},{children:xt(t)});delete n.children}return delete n.routes,n}).filter(function(e){return e})}var $a={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"},Oa=$a,Da=function(e,t){return g.createElement(ln.Z,(0,ct.Z)({},e,{ref:t,icon:Oa}))},za=g.forwardRef(Da),Fa=za,_a=Z(55241),Wa=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"})})},ka=function a(e){var t=e.appList,n=e.baseClassName,r=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(n,"-content ").concat(r).trim(),children:(0,u.jsx)("ul",{className:"".concat(n,"-content-list ").concat(r).trim(),children:t==null?void 0:t.map(function(o,s){var c;return o!=null&&(c=o.children)!==null&&c!==void 0&&c.length?(0,u.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(r).trim(),children:[(0,u.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(r).trim(),children:o.title}),(0,u.jsx)(a,{hashId:r,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]},s):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(r).trim(),onClick:function(m){m.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?void 0:o.url,target:o.target,rel:"noreferrer",children:[zt(o.icon),(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{children:o.title}),o.desc?(0,u.jsx)("span",{children:o.desc}):null]})]})},s)})})})},Dt=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},Ka=function(e,t){if(e&&typeof e=="string"&&Dt(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&&t&&typeof t=="string"){var n=t.substring(0,1);return(0,u.jsx)("div",{id:"avatarLogo",children:n})}return e},Ua=function a(e){var t=e.appList,n=e.baseClassName,r=e.hashId,i=e.itemClick;return(0,u.jsx)("div",{className:"".concat(n,"-content ").concat(r).trim(),children:(0,u.jsx)("ul",{className:"".concat(n,"-content-list ").concat(r).trim(),children:t==null?void 0:t.map(function(o,s){var c;return o!=null&&(c=o.children)!==null&&c!==void 0&&c.length?(0,u.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(r).trim(),children:[(0,u.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(r).trim(),children:o.title}),(0,u.jsx)(a,{hashId:r,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]},s):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(r).trim(),onClick:function(m){m.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?"javascript:;":o.url,target:o.target,rel:"noreferrer",children:[Ka(o.icon,o.title),(0,u.jsx)("div",{children:(0,u.jsx)("div",{children:o.title})})]})},s)})})})},Ga=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":we.Wf===null||we.Wf===void 0?void 0:(0,we.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"}}}}}}},Va=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"}}}}}}},Xa=function(e){var t,n,r,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:(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIconHover,backgroundColor:(r=e.layout)===null||r===void 0?void 0:r.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":Va(e),"&-default":Ga(e)})};function Qa(a){return(0,we.Xj)("AppsLogoComponents",function(e){var t=(0,d.Z)((0,d.Z)({},e),{},{componentCls:".".concat(a)});return[Xa(t)]})}var zt=function(e){return typeof e=="string"?(0,u.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},Ft=function(e){var t,n=e.appList,r=e.appListRender,i=e.prefixCls,o=i===void 0?"ant-pro":i,s=e.onItemClick,c=g.useRef(null),f=g.useRef(null),m="".concat(o,"-layout-apps"),S=Qa(m),h=S.wrapSSR,R=S.hashId,$=(0,g.useState)(!1),L=(0,J.Z)($,2),B=L[0],_=L[1],D=function(N){s==null||s(N,f)},W=(0,g.useMemo)(function(){var x=n==null?void 0:n.some(function(N){return!(N!=null&&N.desc)});return x?(0,u.jsx)(Ua,{hashId:R,appList:n,itemClick:s?D:void 0,baseClassName:"".concat(m,"-simple")}):(0,u.jsx)(ka,{hashId:R,appList:n,itemClick:s?D:void 0,baseClassName:"".concat(m,"-default")})},[n,m,R]);if(!(e!=null&&(t=e.appList)!==null&&t!==void 0&&t.length))return null;var P=r?r(e==null?void 0:e.appList,W):W,O=(0,T.X)(void 0,function(x){return _(x)});return h((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:c,onClick:function(N){N.stopPropagation(),N.preventDefault()}}),(0,u.jsx)(_a.Z,(0,d.Z)((0,d.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},O),{},{overlayClassName:"".concat(m,"-popover ").concat(R).trim(),content:P,getPopupContainer:function(){return c.current||document.body},children:(0,u.jsx)("span",{ref:f,onClick:function(N){N.stopPropagation()},className:Y()("".concat(m,"-icon"),R,(0,l.Z)({},"".concat(m,"-icon-active"),B)),children:(0,u.jsx)(Wa,{})})}))]}))},cn=Z(68997),Ya=Z(78957),dn=Z(50136);function Ja(){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 qa=function(e){var t,n,r;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:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextCollapsedButton,backgroundColor:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.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:(r=e.layout)===null||r===void 0||(r=r.sider)===null||r===void 0?void 0:r.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 er(a){return(0,we.Xj)("SiderMenuCollapsedIcon",function(e){var t=(0,d.Z)((0,d.Z)({},e),{},{componentCls:".".concat(a)});return[qa(t)]})}var tr=["isMobile","collapsed"],nr=function(e){var t=e.isMobile,n=e.collapsed,r=(0,ue.Z)(e,tr),i=er(e.className),o=i.wrapSSR,s=i.hashId;return t&&n?null:o((0,u.jsx)("div",(0,d.Z)((0,d.Z)({},r),{},{className:Y()(e.className,s,(0,l.Z)((0,l.Z)({},"".concat(e.className,"-collapsed"),n),"".concat(e.className,"-is-mobile"),t)),children:(0,u.jsx)(Ja,{})})))},Ct=Z(74902),ar=Z(43144),rr=Z(15671),or=Z(42550),ir=Z(63017),bt=Z(41755),lr=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],fn=g.forwardRef(function(a,e){var t=a.className,n=a.component,r=a.viewBox,i=a.spin,o=a.rotate,s=a.tabIndex,c=a.onClick,f=a.children,m=(0,ue.Z)(a,lr),S=g.useRef(),h=(0,or.x1)(S,e);(0,bt.Kp)(!!(n||f),"Should have `component` prop or `children`."),(0,bt.C3)(S);var R=g.useContext(ir.Z),$=R.prefixCls,L=$===void 0?"anticon":$,B=R.rootClassName,_=Y()(B,L,(0,l.Z)({},"".concat(L,"-spin"),!!i&&!!n),t),D=Y()((0,l.Z)({},"".concat(L,"-spin"),!!i)),W=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,P=(0,d.Z)((0,d.Z)({},bt.vD),{},{className:D,style:W,viewBox:r});r||delete P.viewBox;var O=function(){return n?g.createElement(n,P,f):f?((0,bt.Kp)(!!r||g.Children.count(f)===1&&g.isValidElement(f)&&g.Children.only(f).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),g.createElement("svg",(0,ct.Z)({},P,{viewBox:r}),f)):null},x=s;return x===void 0&&c&&(x=-1),g.createElement("span",(0,ct.Z)({role:"img"},m,{ref:h,tabIndex:x,onClick:c,className:_}),O())});fn.displayName="AntdIcon";var ur=fn,sr=["type","children"],vn=new Set;function cr(a){return!!(typeof a=="string"&&a.length&&!vn.has(a))}function St(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=a[e];if(cr(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),a.length>e+1&&(n.onload=function(){St(a,e+1)},n.onerror=function(){St(a,e+1)}),vn.add(t),document.body.appendChild(n)}}function mn(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=a.scriptUrl,t=a.extraCommonProps,n=t===void 0?{}:t;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?St(e.reverse()):St([e]));var r=g.forwardRef(function(i,o){var s=i.type,c=i.children,f=(0,ue.Z)(i,sr),m=null;return i.type&&(m=g.createElement("use",{xlinkHref:"#".concat(s)})),c&&(m=c),g.createElement(ur,(0,ct.Z)({},n,f,{ref:o}),m)});return r.displayName="Iconfont",r}function dr(a){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(a)}var fr=Z(83062),vr=Z(48054),pn={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},mr=function(e,t){var n,r,i=t.includes("horizontal")?(n=e.layout)===null||n===void 0?void 0:n.header:(r=e.layout)===null||r===void 0?void 0:r.sider;return(0,d.Z)((0,d.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})),t.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 pr(a,e){return(0,we.Xj)("ProLayoutBaseMenu"+e,function(t){var n=(0,d.Z)((0,d.Z)({},t),{},{componentCls:".".concat(a)});return[mr(n,e||"inline")]})}var hn=function(e){var t=(0,g.useState)(e.collapsed),n=(0,J.Z)(t,2),r=n[0],i=n[1],o=(0,g.useState)(!1),s=(0,J.Z)(o,2),c=s[0],f=s[1];return(0,g.useEffect)(function(){f(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(fr.Z,{title:e.title,open:r&&e.collapsed?c:!1,placement:"right",onOpenChange:f,children:e.children})},gn=mn({scriptUrl:pn.iconfontUrl}),yn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",n=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Dt(e)||dr(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,u.jsx)(gn,{type:e})}return e},xn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},hr=(0,ar.Z)(function a(e){var t=this;(0,rr.Z)(this,a),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return n.map(function(o){return t.getSubMenuOrItem(o,r,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(n,r,i){var o=t.props,s=o.subMenuItemRender,c=o.baseClassName,f=o.prefixCls,m=o.collapsed,S=o.menu,h=o.iconPrefixes,R=o.layout,$=(S==null?void 0:S.type)==="group"&&R!=="top",L=t.props.token,B=t.getIntlName(n),_=(n==null?void 0:n.children)||(n==null?void 0:n.routes),D=$&&r===0?"group":void 0;if(Array.isArray(_)&&_.length>0){var W,P,O,x,N,V=r===0||$&&r===1,z=yn(n.icon,h,"".concat(c,"-icon ").concat((W=t.props)===null||W===void 0?void 0:W.hashId)),E=m&&V?xn(B):null,q=(0,u.jsxs)("div",{className:Y()("".concat(c,"-item-title"),(P=t.props)===null||P===void 0?void 0:P.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(c,"-item-title-collapsed"),m),"".concat(c,"-item-title-collapsed-level-").concat(i),m),"".concat(c,"-group-item-title"),D==="group"),"".concat(c,"-item-collapsed-show-title"),(S==null?void 0:S.collapsedShowTitle)&&m)),children:[D==="group"&&m?null:V&&z?(0,u.jsx)("span",{className:"".concat(c,"-item-icon ").concat((O=t.props)===null||O===void 0?void 0:O.hashId).trim(),children:z}):E,(0,u.jsx)("span",{className:Y()("".concat(c,"-item-text"),(x=t.props)===null||x===void 0?void 0:x.hashId,(0,l.Z)({},"".concat(c,"-item-text-has-icon"),D!=="group"&&V&&(z||E))),children:B})]}),le=s?s((0,d.Z)((0,d.Z)({},n),{},{isUrl:!1}),q,t.props):q;if($&&r===0&&t.props.collapsed&&!S.collapsedShowGroupTitle)return t.getNavMenuItems(_,r+1,r);var y=t.getNavMenuItems(_,r+1,$&&r===0&&t.props.collapsed?r:r+1);return[{type:D,key:n.key||n.path,label:le,onClick:$?void 0:n.onTitleClick,children:y,className:Y()((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(c,"-group"),D==="group"),"".concat(c,"-submenu"),D!=="group"),"".concat(c,"-submenu-has-icon"),D!=="group"&&V&&z))},$&&r===0?{type:"divider",prefixCls:f,className:"".concat(c,"-divider"),key:(n.key||n.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:t.props.collapsed?"4px":"6px 16px",marginBlockStart:t.props.collapsed?4:8,borderColor:L==null||(N=L.layout)===null||N===void 0||(N=N.sider)===null||N===void 0?void 0:N.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(c,"-menu-item"),disabled:n.disabled,key:n.key||n.path,onClick:n.onTitleClick,label:t.getMenuItemPath(n,r,i)}}),(0,l.Z)(this,"getIntlName",function(n){var r=n.name,i=n.locale,o=t.props,s=o.menu,c=o.formatMessage,f=r;return i&&(s==null?void 0:s.locale)!==!1&&(f=c==null?void 0:c({id:i,defaultMessage:r})),t.props.menuTextRender?t.props.menuTextRender(n,f,t.props):f}),(0,l.Z)(this,"getMenuItemPath",function(n,r,i){var o,s,c,f,m=t.conversionPath(n.path||"/"),S=t.props,h=S.location,R=h===void 0?{pathname:"/"}:h,$=S.isMobile,L=S.onCollapse,B=S.menuItemRender,_=S.iconPrefixes,D=t.getIntlName(n),W=t.props,P=W.baseClassName,O=W.menu,x=W.collapsed,N=(O==null?void 0:O.type)==="group",V=r===0||N&&r===1,z=V?yn(n.icon,_,"".concat(P,"-icon ").concat((o=t.props)===null||o===void 0?void 0:o.hashId)):null,E=x&&V?xn(D):null,q=(0,u.jsxs)("div",{className:Y()("".concat(P,"-item-title"),(s=t.props)===null||s===void 0?void 0:s.hashId,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(P,"-item-title-collapsed"),x),"".concat(P,"-item-title-collapsed-level-").concat(i),x),"".concat(P,"-item-collapsed-show-title"),(O==null?void 0:O.collapsedShowTitle)&&x)),children:[(0,u.jsx)("span",{className:"".concat(P,"-item-icon ").concat((c=t.props)===null||c===void 0?void 0:c.hashId).trim(),style:{display:E===null&&!z?"none":""},children:z||(0,u.jsx)("span",{className:"anticon",children:E})}),(0,u.jsx)("span",{className:Y()("".concat(P,"-item-text"),(f=t.props)===null||f===void 0?void 0:f.hashId,(0,l.Z)({},"".concat(P,"-item-text-has-icon"),V&&(z||E))),children:D})]},m),le=Dt(m);if(le){var y,ce,w;q=(0,u.jsxs)("span",{onClick:function(){var he,re;(he=window)===null||he===void 0||(re=he.open)===null||re===void 0||re.call(he,m,"_blank")},className:Y()("".concat(P,"-item-title"),(y=t.props)===null||y===void 0?void 0:y.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(P,"-item-title-collapsed"),x),"".concat(P,"-item-title-collapsed-level-").concat(i),x),"".concat(P,"-item-link"),!0),"".concat(P,"-item-collapsed-show-title"),(O==null?void 0:O.collapsedShowTitle)&&x)),children:[(0,u.jsx)("span",{className:"".concat(P,"-item-icon ").concat((ce=t.props)===null||ce===void 0?void 0:ce.hashId).trim(),style:{display:E===null&&!z?"none":""},children:z||(0,u.jsx)("span",{className:"anticon",children:E})}),(0,u.jsx)("span",{className:Y()("".concat(P,"-item-text"),(w=t.props)===null||w===void 0?void 0:w.hashId,(0,l.Z)({},"".concat(P,"-item-text-has-icon"),V&&(z||E))),children:D})]},m)}if(B){var Q=(0,d.Z)((0,d.Z)({},n),{},{isUrl:le,itemPath:m,isMobile:$,replace:m===R.pathname,onClick:function(){return L&&L(!0)},children:void 0});return r===0?(0,u.jsx)(hn,{collapsed:x,title:D,disable:n.disabledTooltip,children:B(Q,q,t.props)}):B(Q,q,t.props)}return r===0?(0,u.jsx)(hn,{collapsed:x,title:D,disable:n.disabledTooltip,children:q}):q}),(0,l.Z)(this,"conversionPath",function(n){return n&&n.indexOf("http")===0?n:"/".concat(n||"").replace(/\/+/g,"/")}),this.props=e}),gr=function(e,t){var n=t.layout,r=t.collapsed,i={};return e&&!r&&["side","mix"].includes(n||"mix")&&(i={openKeys:e}),i},Cn=function(e){var t=e.mode,n=e.className,r=e.handleOpenChange,i=e.style,o=e.menuData,s=e.prefixCls,c=e.menu,f=e.matchMenuKeys,m=e.iconfontUrl,S=e.selectedKeys,h=e.onSelect,R=e.menuRenderType,$=e.openKeys,L=(0,g.useContext)(me.L_),B=L.dark,_=L.token,D="".concat(s,"-base-menu-").concat(t),W=(0,g.useRef)([]),P=(0,oe.Z)(c==null?void 0:c.defaultOpenAll),O=(0,J.Z)(P,2),x=O[0],N=O[1],V=(0,oe.Z)(function(){return c!=null&&c.defaultOpenAll?un(o)||[]:$===!1?!1:[]},{value:$===!1?void 0:$,onChange:r}),z=(0,J.Z)(V,2),E=z[0],q=z[1],le=(0,oe.Z)([],{value:S,onChange:h?function(xe){h&&xe&&h(xe)}:void 0}),y=(0,J.Z)(le,2),ce=y[0],w=y[1];(0,g.useEffect)(function(){c!=null&&c.defaultOpenAll||$===!1||f&&(q(f),w(f))},[f.join("-")]),(0,g.useEffect)(function(){m&&(gn=mn({scriptUrl:m}))},[m]),(0,g.useEffect)(function(){if(f.join("-")!==(ce||[]).join("-")&&w(f),!x&&$!==!1&&f.join("-")!==(E||[]).join("-")){var xe=f;(c==null?void 0:c.autoClose)===!1&&(xe=Array.from(new Set([].concat((0,Ct.Z)(f),(0,Ct.Z)(E||[]))))),q(xe)}else c!=null&&c.ignoreFlatMenu&&x?q(un(o)):N(!1)},[f.join("-")]);var Q=(0,g.useMemo)(function(){return gr(E,e)},[E&&E.join(","),e.layout,e.collapsed]),ne=pr(D,t),he=ne.wrapSSR,re=ne.hashId,Se=(0,g.useMemo)(function(){return new hr((0,d.Z)((0,d.Z)({},e),{},{token:_,menuRenderType:R,baseClassName:D,hashId:re}))},[e,_,R,D,re]);if(c!=null&&c.loading)return(0,u.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(vr.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(W.current=f);var ye=e.postMenuData?e.postMenuData(o):o;return ye&&(ye==null?void 0:ye.length)<1?null:he((0,g.createElement)(dn.Z,(0,d.Z)((0,d.Z)({},Q),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:W.current,theme:B?"dark":"light",selectedKeys:ce,style:(0,d.Z)({backgroundColor:"transparent",border:"none"},i),className:Y()(n,re,D,(0,l.Z)((0,l.Z)({},"".concat(D,"-horizontal"),t==="horizontal"),"".concat(D,"-collapsed"),e.collapsed)),items:Se.getNavMenuItems(ye,0,0),onOpenChange:function(He){e.collapsed||q(He)}},e.menuProps)))};function yr(a,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutSiderMenuStylish",function(r){var i=(0,d.Z)((0,d.Z)({},r),{},{componentCls:".".concat(a),proLayoutCollapsedWidth:n});return t?[(0,l.Z)({},"div".concat(r.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),t==null?void 0:t(i)))]:[]})}var xr=["title","render"],Cr=g.memo(function(a){return(0,u.jsx)(u.Fragment,{children:a.children})}),br=Qe.Z.Sider,bn=Qe.Z._InternalSiderContext,Sr=bn===void 0?{Provider:Cr}:bn,_t=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",n=e.logo,r=e.title,i=e.layout,o=e[t];if(o===!1)return null;var s=zt(n),c=(0,u.jsx)("h1",{children:r!=null?r:"Ant Design Pro"});return o?o(s,e.collapsed?null:c,e):e.isMobile?null:i==="mix"&&t==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:s},"title"):(0,u.jsxs)("a",{children:[s,c]},"title")},Sn=function(e){var t,n=e.collapsed,r=e.originCollapsed,i=e.fixSiderbar,o=e.menuFooterRender,s=e.onCollapse,c=e.theme,f=e.siderWidth,m=e.isMobile,S=e.onMenuHeaderClick,h=e.breakpoint,R=h===void 0?"lg":h,$=e.style,L=e.layout,B=e.menuExtraRender,_=B===void 0?!1:B,D=e.links,W=e.menuContentRender,P=e.collapsedButtonRender,O=e.prefixCls,x=e.avatarProps,N=e.rightContentRender,V=e.actionsRender,z=e.onOpenChange,E=e.stylish,q=e.logoStyle,le=(0,g.useContext)(me.L_),y=le.hashId,ce=(0,g.useMemo)(function(){return!(m||L==="mix")},[m,L]),w="".concat(O,"-sider"),Q=64,ne=yr("".concat(w,".").concat(w,"-stylish"),{stylish:E,proLayoutCollapsedWidth:Q}),he=Y()("".concat(w),y,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(w,"-fixed"),i),"".concat(w,"-fixed-mix"),L==="mix"&&!m&&i),"".concat(w,"-collapsed"),e.collapsed),"".concat(w,"-layout-").concat(L),L&&!m),"".concat(w,"-light"),c!=="dark"),"".concat(w,"-mix"),L==="mix"&&!m),"".concat(w,"-stylish"),!!E)),re=_t(e),Se=_&&_(e),ye=(0,g.useMemo)(function(){return W!==!1&&(0,g.createElement)(Cn,(0,d.Z)((0,d.Z)({},e),{},{key:"base-menu",mode:n&&!m?"vertical":"inline",handleOpenChange:z,style:{width:"100%"},className:"".concat(w,"-menu ").concat(y).trim()}))},[w,y,W,z,e]),xe=(D||[]).map(function(Ze,De){return{className:"".concat(w,"-link"),label:Ze,key:De}}),He=(0,g.useMemo)(function(){return W?W(e,ye):ye},[W,ye,e]),Be=(0,g.useMemo)(function(){if(!x)return null;var Ze=x.title,De=x.render,Ee=(0,ue.Z)(x,xr),It=(0,u.jsxs)("div",{className:"".concat(w,"-actions-avatar"),children:[Ee!=null&&Ee.src||Ee!=null&&Ee.srcSet||Ee.icon||Ee.children?(0,u.jsx)(cn.Z,(0,d.Z)({size:28},Ee)):null,x.title&&!n&&(0,u.jsx)("span",{children:Ze})]});return De?De(x,It,e):It},[x,w,n]),Pe=(0,g.useMemo)(function(){return V?(0,u.jsx)(Ya.Z,{align:"center",size:4,direction:n?"vertical":"horizontal",className:Y()(["".concat(w,"-actions-list"),n&&"".concat(w,"-actions-list-collapsed"),y]),children:[V==null?void 0:V(e)].flat(1).map(function(Ze,De){return(0,u.jsx)("div",{className:"".concat(w,"-actions-list-item ").concat(y).trim(),children:Ze},De)})}):null},[V,w,n]),Fe=(0,g.useMemo)(function(){return(0,u.jsx)(Ft,{onItemClick:e.itemClick,appListRender:e.appListRender,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.appListRender,e.prefixCls]),ke=(0,g.useMemo)(function(){if(P===!1)return null;var Ze=(0,u.jsx)(nr,{isMobile:m,collapsed:r,className:"".concat(w,"-collapsed-button"),onClick:function(){s==null||s(!r)}});return P?P(n,Ze):Ze},[P,m,r,w,n,s]),Ke=(0,g.useMemo)(function(){return!Be&&!Pe?null:(0,u.jsxs)("div",{className:Y()("".concat(w,"-actions"),y,n&&"".concat(w,"-actions-collapsed")),children:[Be,Pe]})},[Pe,Be,w,n,y]),Ue=(0,g.useMemo)(function(){var Ze;return e!=null&&(Ze=e.menu)!==null&&Ze!==void 0&&Ze.hideMenuWhenCollapsed&&n?"".concat(w,"-hide-menu-collapsed"):null},[w,n,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),dt=o&&(o==null?void 0:o(e)),Mt=(0,u.jsxs)(u.Fragment,{children:[re&&(0,u.jsxs)("div",{className:Y()([Y()("".concat(w,"-logo"),y,(0,l.Z)({},"".concat(w,"-logo-collapsed"),n))]),onClick:ce?S:void 0,id:"logo",style:q,children:[re,Fe]}),Se&&(0,u.jsx)("div",{className:Y()(["".concat(w,"-extra"),!re&&"".concat(w,"-extra-no-logo"),y]),children:Se}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:He}),(0,u.jsxs)(Sr.Provider,{value:{},children:[D?(0,u.jsx)("div",{className:"".concat(w,"-links ").concat(y).trim(),children:(0,u.jsx)(dn.Z,{inlineIndent:16,className:"".concat(w,"-link-menu ").concat(y).trim(),selectedKeys:[],openKeys:[],theme:c,mode:"inline",items:xe})}):null,ce&&(0,u.jsxs)(u.Fragment,{children:[Ke,!Pe&&N?(0,u.jsx)("div",{className:Y()("".concat(w,"-actions"),y,(0,l.Z)({},"".concat(w,"-actions-collapsed"),n)),children:N==null?void 0:N(e)}):null]}),dt&&(0,u.jsx)("div",{className:Y()(["".concat(w,"-footer"),y,(0,l.Z)({},"".concat(w,"-footer-collapsed"),n)]),children:dt})]})]});return ne.wrapSSR((0,u.jsxs)(u.Fragment,{children:[i&&!m&&!Ue&&(0,u.jsx)("div",{style:(0,d.Z)({width:n?Q:f,overflow:"hidden",flex:"0 0 ".concat(n?Q:f,"px"),maxWidth:n?Q:f,minWidth:n?Q:f,transition:"all 0.2s ease 0s"},$)}),(0,u.jsxs)(br,{collapsible:!0,trigger:null,collapsed:n,breakpoint:R===!1?void 0:R,onCollapse:function(De){m||s==null||s(De)},collapsedWidth:Q,style:$,theme:c,width:f,className:Y()(he,y,Ue),children:[Ue?(0,u.jsx)("div",{className:"".concat(w,"-hide-when-collapsed ").concat(y).trim(),style:{height:"100%",width:"100%",opacity:Ue?0:1},children:Mt}):Mt,ke]})]}))},Zr=Z(10178),Mr=Z(9220),Ir=function(e){var t,n,r,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(r=e.layout)===null||r===void 0||(r=r.header)===null||r===void 0?void 0:r.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 wr(a){return(0,we.Xj)("ProLayoutRightContent",function(e){var t=(0,d.Z)((0,d.Z)({},e),{},{componentCls:".".concat(a)});return[Ir(t)]})}var Rr=["rightContentRender","avatarProps","actionsRender","headerContentRender"],Tr=["title","render"],Zn=function(e){var t=e.rightContentRender,n=e.avatarProps,r=e.actionsRender,i=e.headerContentRender,o=(0,ue.Z)(e,Rr),s=(0,g.useContext)(Oe.ZP.ConfigContext),c=s.getPrefixCls,f="".concat(c(),"-pro-global-header"),m=wr(f),S=m.wrapSSR,h=m.hashId,R=(0,g.useState)("auto"),$=(0,J.Z)(R,2),L=$[0],B=$[1],_=(0,g.useMemo)(function(){if(!n)return null;var O=n.title,x=n.render,N=(0,ue.Z)(n,Tr),V=[N!=null&&N.src||N!=null&&N.srcSet||N.icon||N.children?(0,g.createElement)(cn.Z,(0,d.Z)((0,d.Z)({},N),{},{size:28,key:"avatar"})):null,O?(0,u.jsx)("span",{style:{marginInlineStart:8},children:O},"name"):void 0];return x?x(n,(0,u.jsx)("div",{children:V}),o):(0,u.jsx)("div",{children:V})},[n]),D=r||_?function(O){var x=r&&(r==null?void 0:r(O));return!x&&!_?null:Array.isArray(x)?S((0,u.jsxs)("div",{className:"".concat(f,"-header-actions ").concat(h).trim(),children:[x.filter(Boolean).map(function(N,V){var z=!1;if(g.isValidElement(N)){var E;z=!!(N!=null&&(E=N.props)!==null&&E!==void 0&&E["aria-hidden"])}return(0,u.jsx)("div",{className:Y()("".concat(f,"-header-actions-item ").concat(h),(0,l.Z)({},"".concat(f,"-header-actions-hover"),!z)),children:N},V)}),_&&(0,u.jsx)("span",{className:"".concat(f,"-header-actions-avatar ").concat(h).trim(),children:_})]})):S((0,u.jsxs)("div",{className:"".concat(f,"-header-actions ").concat(h).trim(),children:[x,_&&(0,u.jsx)("span",{className:"".concat(f,"-header-actions-avatar ").concat(h).trim(),children:_})]}))}:void 0,W=(0,Zr.D)(function(){var O=(0,ve.Z)((0,ee.Z)().mark(function x(N){return(0,ee.Z)().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:B(N);case 1:case"end":return z.stop()}},x)}));return function(x){return O.apply(this,arguments)}}(),160),P=D||t;return(0,u.jsx)("div",{className:"".concat(f,"-right-content ").concat(h).trim(),style:{minWidth:L,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(Mr.Z,{onResize:function(x){var N=x.width;W.run(N)},children:P?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:P((0,d.Z)((0,d.Z)({},o),{},{rightContentSize:L}))}):null})})})},jr=function(e){var t,n;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:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56)-12,40),"px")}})};function Br(a){return(0,we.Xj)("ProLayoutTopNavHeader",function(e){var t=(0,d.Z)((0,d.Z)({},e),{},{componentCls:".".concat(a)});return[jr(t)]})}var Mn=function(e){var t,n,r,i,o,s,c,f=(0,g.useRef)(null),m=e.onMenuHeaderClick,S=e.contentWidth,h=e.rightContentRender,R=e.className,$=e.style,L=e.headerContentRender,B=e.layout,_=e.actionsRender,D=(0,g.useContext)(Oe.ZP.ConfigContext),W=D.getPrefixCls,P=(0,g.useContext)(me.L_),O=P.dark,x="".concat(e.prefixCls||W("pro"),"-top-nav-header"),N=Br(x),V=N.wrapSSR,z=N.hashId,E=void 0;e.menuHeaderRender!==void 0?E="menuHeaderRender":(B==="mix"||B==="top")&&(E="headerTitleRender");var q=_t((0,d.Z)((0,d.Z)({},e),{},{collapsed:!1}),E),le=(0,g.useContext)(me.L_),y=le.token,ce=(0,g.useMemo)(function(){var w,Q,ne,he,re,Se,ye,xe,He,Be,Pe,Fe,ke,Ke=(0,u.jsx)(Oe.ZP,{theme:{hashed:(0,me.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,d.Z)({},G({colorItemBg:((w=y.layout)===null||w===void 0||(w=w.header)===null||w===void 0?void 0:w.colorBgHeader)||"transparent",colorSubItemBg:((Q=y.layout)===null||Q===void 0||(Q=Q.header)===null||Q===void 0?void 0:Q.colorBgHeader)||"transparent",radiusItem:y.borderRadius,colorItemBgSelected:((ne=y.layout)===null||ne===void 0||(ne=ne.header)===null||ne===void 0?void 0:ne.colorBgMenuItemSelected)||(y==null?void 0:y.colorBgTextHover),itemHoverBg:((he=y.layout)===null||he===void 0||(he=he.header)===null||he===void 0?void 0:he.colorBgMenuItemHover)||(y==null?void 0:y.colorBgTextHover),colorItemBgSelectedHorizontal:((re=y.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected)||(y==null?void 0:y.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((Se=y.layout)===null||Se===void 0||(Se=Se.header)===null||Se===void 0?void 0:Se.colorTextMenu)||(y==null?void 0:y.colorTextSecondary),colorItemTextHoverHorizontal:((ye=y.layout)===null||ye===void 0||(ye=ye.header)===null||ye===void 0?void 0:ye.colorTextMenuActive)||(y==null?void 0:y.colorText),colorItemTextSelectedHorizontal:((xe=y.layout)===null||xe===void 0||(xe=xe.header)===null||xe===void 0?void 0:xe.colorTextMenuSelected)||(y==null?void 0:y.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((He=y.layout)===null||He===void 0||(He=He.header)===null||He===void 0?void 0:He.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((Be=y.layout)===null||Be===void 0||(Be=Be.header)===null||Be===void 0?void 0:Be.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((Pe=y.layout)===null||Pe===void 0||(Pe=Pe.header)===null||Pe===void 0?void 0:Pe.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:y==null?void 0:y.colorBgElevated,subMenuItemBg:y==null?void 0:y.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:y==null?void 0:y.colorBgElevated}))},token:{colorBgElevated:((Fe=y.layout)===null||Fe===void 0||(Fe=Fe.header)===null||Fe===void 0?void 0:Fe.colorBgHeader)||"transparent"}},children:(0,u.jsx)(Cn,(0,d.Z)((0,d.Z)((0,d.Z)({theme:O?"dark":"light"},e),{},{className:"".concat(x,"-base-menu ").concat(z).trim()},e.menuProps),{},{style:(0,d.Z)({width:"100%"},(ke=e.menuProps)===null||ke===void 0?void 0:ke.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return L?L(e,Ke):Ke},[(t=y.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgHeader,(n=y.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgMenuItemSelected,(r=y.layout)===null||r===void 0||(r=r.header)===null||r===void 0?void 0:r.colorBgMenuItemHover,(i=y.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=y.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(s=y.layout)===null||s===void 0||(s=s.header)===null||s===void 0?void 0:s.colorTextMenuSelected,(c=y.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorBgMenuElevated,y.borderRadius,y==null?void 0:y.colorBgTextHover,y==null?void 0:y.colorTextSecondary,y==null?void 0:y.colorText,y==null?void 0:y.colorTextBase,y.colorBgElevated,O,e,x,z,L]);return V((0,u.jsx)("div",{className:Y()(x,z,R,(0,l.Z)({},"".concat(x,"-light"),!0)),style:$,children:(0,u.jsxs)("div",{ref:f,className:Y()("".concat(x,"-main"),z,(0,l.Z)({},"".concat(x,"-wide"),S==="Fixed"&&B==="top")),children:[q&&(0,u.jsxs)("div",{className:Y()("".concat(x,"-main-left ").concat(z)),onClick:m,children:[(0,u.jsx)(Ft,(0,d.Z)({},e)),(0,u.jsx)("div",{className:"".concat(x,"-logo ").concat(z).trim(),id:"logo",children:q},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(x,"-menu ").concat(z).trim(),children:ce}),(h||_||e.avatarProps)&&(0,u.jsx)(Zn,(0,d.Z)((0,d.Z)({rightContentRender:h},e),{},{prefixCls:x}))]})}))},Nr=function(e){var t,n,r;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:((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.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:((r=e.layout)===null||r===void 0||(r=r.header)===null||r===void 0?void 0:r.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}))};function Pr(a){return(0,we.Xj)("ProLayoutGlobalHeader",function(e){var t=(0,d.Z)((0,d.Z)({},e),{},{componentCls:".".concat(a)});return[Nr(t)]})}var Lr=function(e,t){return e===!1?null:e?e(t,null):t},Hr=function(e){var t=e.isMobile,n=e.logo,r=e.collapsed,i=e.onCollapse,o=e.rightContentRender,s=e.menuHeaderRender,c=e.onMenuHeaderClick,f=e.className,m=e.style,S=e.layout,h=e.children,R=e.splitMenus,$=e.menuData,L=e.prefixCls,B=(0,g.useContext)(Oe.ZP.ConfigContext),_=B.getPrefixCls,D=B.direction,W="".concat(L||_("pro"),"-global-header"),P=Pr(W),O=P.wrapSSR,x=P.hashId,N=Y()(f,W,x);if(S==="mix"&&!t&&R){var V=($||[]).map(function(le){return(0,d.Z)((0,d.Z)({},le),{},{children:void 0,routes:void 0})}),z=xt(V);return(0,u.jsx)(Mn,(0,d.Z)((0,d.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:z}))}var E=Y()("".concat(W,"-logo"),x,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(W,"-logo-rtl"),D==="rtl"),"".concat(W,"-logo-mix"),S==="mix"),"".concat(W,"-logo-mobile"),t)),q=(0,u.jsx)("span",{className:E,children:(0,u.jsx)("a",{children:zt(n)})},"logo");return O((0,u.jsxs)("div",{className:N,style:(0,d.Z)({},m),children:[t&&(0,u.jsx)("span",{className:"".concat(W,"-collapsed-button ").concat(x).trim(),onClick:function(){i==null||i(!r)},children:(0,u.jsx)(Fa,{})}),t&&Lr(s,q),S==="mix"&&!t&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ft,(0,d.Z)({},e)),(0,u.jsx)("div",{className:E,onClick:c,children:_t((0,d.Z)((0,d.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:h}),(o||e.actionsRender||e.avatarProps)&&(0,u.jsx)(Zn,(0,d.Z)({rightContentRender:o},e))]}))},Er=function(e){var t,n,r,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat(((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((r=e.layout)===null||r===void 0||(r=r.header)===null||r===void 0?void 0:r.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 Ar(a){return(0,we.Xj)("ProLayoutHeader",function(e){var t=(0,d.Z)((0,d.Z)({},e),{},{componentCls:".".concat(a)});return[Er(t)]})}function $r(a,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutHeaderStylish",function(r){var i=(0,d.Z)((0,d.Z)({},r),{},{componentCls:".".concat(a),proLayoutCollapsedWidth:n});return t?[(0,l.Z)({},"div".concat(r.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),t==null?void 0:t(i)))]:[]})}var In=Qe.Z.Header,Or=function(e){var t,n,r,i=e.isMobile,o=e.fixedHeader,s=e.className,c=e.style,f=e.collapsed,m=e.prefixCls,S=e.onCollapse,h=e.layout,R=e.headerRender,$=e.headerContentRender,L=(0,g.useContext)(me.L_),B=L.token,_=(0,g.useContext)(Oe.ZP.ConfigContext),D=(0,g.useState)(!1),W=(0,J.Z)(D,2),P=W[0],O=W[1],x=o||h==="mix",N=(0,g.useCallback)(function(){var w=h==="top",Q=xt(e.menuData||[]),ne=(0,u.jsx)(Hr,(0,d.Z)((0,d.Z)({onCollapse:S},e),{},{menuData:Q,children:$&&$(e,null)}));return w&&!i&&(ne=(0,u.jsx)(Mn,(0,d.Z)((0,d.Z)({mode:"horizontal",onCollapse:S},e),{},{menuData:Q}))),R&&typeof R=="function"?R(e,ne):ne},[$,R,i,h,S,e]);(0,g.useEffect)(function(){var w,Q=(_==null||(w=_.getTargetContainer)===null||w===void 0?void 0:w.call(_))||document.body,ne=function(){var re,Se=Q.scrollTop;return Se>(((re=B.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.heightLayoutHeader)||56)&&!P?(O(!0),!0):(P&&O(!1),!1)};if(x&&typeof window!="undefined")return Q.addEventListener("scroll",ne,{passive:!0}),function(){Q.removeEventListener("scroll",ne)}},[(t=B.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader,x,P]);var V=h==="top",z="".concat(m,"-layout-header"),E=Ar(z),q=E.wrapSSR,le=E.hashId,y=$r("".concat(z,".").concat(z,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ce=Y()(s,le,z,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(z,"-fixed-header"),x),"".concat(z,"-fixed-header-scroll"),P),"".concat(z,"-mix"),h==="mix"),"".concat(z,"-fixed-header-action"),!f),"".concat(z,"-top-menu"),V),"".concat(z,"-header"),!0),"".concat(z,"-stylish"),!!e.stylish));return h==="side"&&!i?null:y.wrapSSR(q((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(Oe.ZP,{theme:{hashed:(0,me.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[x&&(0,u.jsx)(In,{style:(0,d.Z)({height:((n=B.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((r=B.layout)===null||r===void 0||(r=r.header)===null||r===void 0?void 0:r.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},c)}),(0,u.jsx)(In,{className:ce,style:c,children:N()})]})})))},Dr=Z(74330),zr=["isLoading","pastDelay","timedOut","error","retry"],Fr=function(e){var t=e.isLoading,n=e.pastDelay,r=e.timedOut,i=e.error,o=e.retry,s=(0,ue.Z)(e,zr);return(0,u.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,u.jsx)(Dr.Z,(0,d.Z)({size:"large"},s))})},_r=Z(85265),Wr=Z(11568),wn=new Wr.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),kr=function(e){var t,n,r,i,o,s,c,f,m,S,h,R;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:((t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.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:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.paddingInlineLayoutMenu,paddingBlock:(r=e.layout)===null||r===void 0||(r=r.sider)===null||r===void 0?void 0:r.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:not(").concat(e.antCls,"-menu-item-selected):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((s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.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:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorTextMenuTitle,animationName:wn,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:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(m=e.layout)===null||m===void 0||(m=m.sider)===null||m===void 0?void 0:m.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:(S=e.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:wn,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(((h=e.layout)===null||h===void 0||(h=h.header)===null||h===void 0?void 0:h.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((R=e.layout)===null||R===void 0||(R=R.header)===null||R===void 0?void 0:R.heightLayoutHeader)||56,"px")}}))};function Kr(a,e){var t=e.proLayoutCollapsedWidth;return(0,we.Xj)("ProLayoutSiderMenu",function(n){var r=(0,d.Z)((0,d.Z)({},n),{},{componentCls:".".concat(a),proLayoutCollapsedWidth:t});return[kr(r)]})}var Rn=function(e){var t,n=e.isMobile,r=e.siderWidth,i=e.collapsed,o=e.onCollapse,s=e.style,c=e.className,f=e.hide,m=e.prefixCls,S=e.getContainer,h=(0,g.useContext)(me.L_),R=h.token;(0,g.useEffect)(function(){n===!0&&(o==null||o(!0))},[n]);var $=(0,on.Z)(e,["className","style"]),L=g.useContext(Oe.ZP.ConfigContext),B=L.direction,_=Kr("".concat(m,"-sider"),{proLayoutCollapsedWidth:64}),D=_.wrapSSR,W=_.hashId,P=Y()("".concat(m,"-sider"),c,W);if(f)return null;var O=(0,T.X)(!i,function(){return o==null?void 0:o(!0)});return D(n?(0,u.jsx)(_r.Z,(0,d.Z)((0,d.Z)({placement:B==="rtl"?"right":"left",className:Y()("".concat(m,"-drawer-sider"),c)},O),{},{style:(0,d.Z)({padding:0,height:"100vh"},s),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,getContainer:S||!1,width:r,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(t=R.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorMenuBackground}},children:(0,u.jsx)(Sn,(0,d.Z)((0,d.Z)({},$),{},{isMobile:!0,className:P,collapsed:n?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,u.jsx)(Sn,(0,d.Z)((0,d.Z)({className:P,originCollapsed:i},$),{},{style:s})))},Tn=(0,g.createContext)({}),Wt=Z(31707),Ur=function(e,t,n){if(n){var r=(0,Ct.Z)(n.keys()).find(function(o){try{return o.startsWith("http")?!1:(0,Wt.EQ)(o)(e)}catch(s){return console.log("key",o,s),!1}});if(r)return n.get(r)}if(t){var i=Object.keys(t).find(function(o){try{return o!=null&&o.startsWith("http")?!1:(0,Wt.EQ)(o)(e)}catch(s){return console.log("key",o,s),!1}});if(i)return t[i]}return{path:""}},kt=function(e,t){var n=e.pathname,r=n===void 0?"/":n,i=e.breadcrumb,o=e.breadcrumbMap,s=e.formatMessage,c=e.title,f=e.menu,m=f===void 0?{locale:!1}:f,S=t?"":c||"",h=Ur(r,i,o);if(!h)return{title:S,id:"",pageName:S};var R=h.name;return m.locale!==!1&&h.locale&&s&&(R=s({id:h.locale||"",defaultMessage:h.name})),R?t||!c?{title:R,id:h.locale||"",pageName:R}:{title:"".concat(R," - ").concat(c),id:h.locale||"",pageName:R}:{title:S,id:h.locale||"",pageName:S}},Jo=function(e,t){return kt(e,t).title},Gr={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},Vr=(0,d.Z)({},Gr),Xr={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},Qr=(0,d.Z)({},Xr),Yr={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},Jr=(0,d.Z)({},Yr),qr={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},eo=(0,d.Z)({},qr),to={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},no=(0,d.Z)({},to),jn={"zh-CN":eo,"zh-TW":no,"en-US":Vr,"it-IT":Qr,"ko-KR":Jr},ao=function(){if(!(0,Te.j)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},ro=function(){var e=ao();return jn[e]||jn["zh-CN"]},Zt=Z(67159),Ye=Z(34155),oo=function(){var e;return typeof Ye=="undefined"?Zt.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"/cloudMenu/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||Zt.Z},io=function(e){var t,n,r,i,o,s,c,f,m,S,h,R,$,L,B,_,D,W,P,O,x,N,V,z,E,q,le,y,ce,w,Q,ne;return(t=oo())!==null&&t!==void 0&&t.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"),(x={color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.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)(x,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(r=e.layout)===null||r===void 0||(r=r.sider)===null||r===void 0?void 0:r.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:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.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:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((m=e.layout)===null||m===void 0||(m=m.header)===null||m===void 0?void 0:m.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(S=e.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(h=e.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenuSelected}),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(x,"".concat(e.antCls,"-menu-submenu-selected"),{color:(R=e.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:($=e.layout)===null||$===void 0||($=$.sider)===null||$===void 0?void 0:$.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(L=e.layout)===null||L===void 0||(L=L.sider)===null||L===void 0?void 0:L.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:(B=e.layout)===null||B===void 0||(B=B.sider)===null||B===void 0?void 0:B.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:(_=e.layout)===null||_===void 0||(_=_.header)===null||_===void 0?void 0:_.colorTextMenuActive,backgroundColor:"".concat((D=e.layout)===null||D===void 0||(D=D.header)===null||D===void 0?void 0:D.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:(W=e.layout)===null||W===void 0||(W=W.header)===null||W===void 0?void 0:W.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((P=e.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((O=e.layout)===null||O===void 0||(O=O.header)===null||O===void 0?void 0:O.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:(N=e.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.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:(z=e.layout)===null||z===void 0||(z=z.header)===null||z===void 0?void 0:z.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(E=e.layout)===null||E===void 0||(E=E.header)===null||E===void 0?void 0:E.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:(q=e.layout)===null||q===void 0||(q=q.header)===null||q===void 0?void 0:q.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(le=e.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.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:(y=e.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(ce=e.layout)===null||ce===void 0||(ce=ce.sider)===null||ce===void 0?void 0:ce.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:(w=e.layout)===null||w===void 0||(w=w.sider)===null||w===void 0?void 0:w.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(Q=e.layout)===null||Q===void 0||(Q=Q.sider)===null||Q===void 0?void 0:Q.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(ne=e.layout)===null||ne===void 0||(ne=ne.sider)===null||ne===void 0?void 0:ne.colorTextMenuActive}))))},lo=function(e){var t,n,r,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:((t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.paddingBlockPageContainerContent,paddingInline:(r=e.layout)===null||r===void 0||(r=r.pageContainer)===null||r===void 0?void 0:r.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 uo(a){return(0,we.Xj)("ProLayout",function(e){var t=(0,d.Z)((0,d.Z)({},e),{},{componentCls:".".concat(a)});return[lo(t),io(t)]})}function so(a){if(!a||a==="/")return["/"];var e=a.split("/").filter(function(t){return t});return e.map(function(t,n){return"/".concat(e.slice(0,n+1).join("/"))})}var Je=Z(34155),co=function(){var e;return typeof Je=="undefined"?Zt.Z:((e=Je)===null||Je===void 0||(Je={NODE_ENV:"production",PUBLIC_PATH:"/cloudMenu/"})===null||Je===void 0?void 0:Je.ANTD_VERSION)||Zt.Z},fo=function(e,t,n){var r=e,i=r.breadcrumbName,o=r.title,s=r.path,c=n.findIndex(function(f){return f.linkPath===e.path})===n.length-1;return c?(0,u.jsx)("span",{children:o||i}):(0,u.jsx)("span",{onClick:s?function(){return location.href=s}:void 0,children:o||i})},vo=function(e,t){var n=t.formatMessage,r=t.menu;return e.locale&&n&&(r==null?void 0:r.locale)!==!1?n({id:e.locale,defaultMessage:e.name}):e.name},mo=function(e,t){var n=e.get(t);if(!n){var r=Array.from(e.keys())||[],i=r.find(function(o){try{return o!=null&&o.startsWith("http")?!1:(0,Wt.EQ)(o.replace("?",""))(t)}catch(s){return console.log("path",o,s),!1}});i&&(n=e.get(i))}return n||{path:""}},po=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},ho=function(e,t,n){var r=so(e==null?void 0:e.pathname),i=r.map(function(o){var s=mo(t,o),c=vo(s,n),f=s.hideInBreadcrumb;return c&&!f?{linkPath:o,breadcrumbName:c,title:c,component:s.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},go=function(e){var t=po(e),n=t.location,r=t.breadcrumbMap;return n&&n.pathname&&r?ho(n,r,e):[]},yo=function(e,t){var n=e.breadcrumbRender,r=e.itemRender,i=t.breadcrumbProps||{},o=i.minLength,s=o===void 0?2:o,c=go(e),f=function(h){for(var R=r||fo,$=arguments.length,L=new Array($>1?$-1:0),B=1;B<$;B++)L[B-1]=arguments[B];return R==null?void 0:R.apply(void 0,[(0,d.Z)((0,d.Z)({},h),{},{path:h.linkPath||h.path})].concat(L))},m=c;return n&&(m=n(m||[])||void 0),(m&&m.length<s||n===!1)&&(m=void 0),(0,F.n)(co(),"5.3.0")>-1?{items:m,itemRender:f}:{routes:m,itemRender:f}};function xo(a){return(0,Ct.Z)(a).reduce(function(e,t){var n=(0,J.Z)(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}var Co=function a(e,t,n,r){var i=va(e,(t==null?void 0:t.locale)||!1,n,!0),o=i.menuData,s=i.breadcrumb;return r?a(r(o),t,n,void 0):{breadcrumb:xo(s),breadcrumbMap:s,menuData:o}},bo=Z(71002),So=Z(51812),Zo=function(e){var t=(0,g.useState)({}),n=(0,J.Z)(t,2),r=n[0],i=n[1];return(0,g.useEffect)(function(){i((0,So.Y)({layout:(0,bo.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]),r},Mo=["id","defaultMessage"],Io=["fixSiderbar","navTheme","layout"],Bn=0,wo=function(e,t){var n;return e.headerRender===!1||e.pure?null:(0,u.jsx)(Or,(0,d.Z)((0,d.Z)({matchMenuKeys:t},e),{},{stylish:(n=e.stylish)===null||n===void 0?void 0:n.header}))},Ro=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,d.Z)({},e),(0,u.jsx)(Aa,{})):null},To=function(e,t){var n,r=e.layout,i=e.isMobile,o=e.selectedKeys,s=e.openKeys,c=e.splitMenus,f=e.suppressSiderWhenMenuEmpty,m=e.menuRender;if(e.menuRender===!1||e.pure)return null;var S=e.menuData;if(c&&(s!==!1||r==="mix")&&!i){var h=o||t,R=(0,J.Z)(h,1),$=R[0];if($){var L;S=((L=e.menuData)===null||L===void 0||(L=L.find(function(W){return W.key===$}))===null||L===void 0?void 0:L.children)||[]}else S=[]}var B=xt(S||[]);if(B&&(B==null?void 0:B.length)<1&&(c||f))return null;if(r==="top"&&!i){var _;return(0,u.jsx)(Rn,(0,d.Z)((0,d.Z)({matchMenuKeys:t},e),{},{hide:!0,stylish:(_=e.stylish)===null||_===void 0?void 0:_.sider}))}var D=(0,u.jsx)(Rn,(0,d.Z)((0,d.Z)({matchMenuKeys:t},e),{},{menuData:B,stylish:(n=e.stylish)===null||n===void 0?void 0:n.sider}));return m?m(e,D):D},jo=function(e,t){var n=t.pageTitleRender,r=kt(e);if(n===!1)return{title:t.title||"",id:"",pageName:""};if(n){var i=n(e,r.title,r);if(typeof i=="string")return kt((0,d.Z)((0,d.Z)({},r),{},{title:i}));(0,ba.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return r},Bo=function(e,t,n){return e?t?64:n:0},No=function(e){var t,n,r,i,o,s,c,f,m,S,h,R,$,L,B=e||{},_=B.children,D=B.onCollapse,W=B.location,P=W===void 0?{pathname:"/"}:W,O=B.contentStyle,x=B.route,N=B.defaultCollapsed,V=B.style,z=B.siderWidth,E=B.menu,q=B.siderMenuType,le=B.isChildrenLayout,y=B.menuDataRender,ce=B.actionRef,w=B.bgLayoutImgList,Q=B.formatMessage,ne=B.loading,he=(0,g.useMemo)(function(){return z||(e.layout==="mix"?215:256)},[e.layout,z]),re=(0,g.useContext)(Oe.ZP.ConfigContext),Se=(t=e.prefixCls)!==null&&t!==void 0?t:re.getPrefixCls("pro"),ye=(0,oe.Z)(!1,{value:E==null?void 0:E.loading,onChange:E==null?void 0:E.onLoadingChange}),xe=(0,J.Z)(ye,2),He=xe[0],Be=xe[1],Pe=(0,g.useState)(function(){return Bn+=1,"pro-layout-".concat(Bn)}),Fe=(0,J.Z)(Pe,1),ke=Fe[0],Ke=(0,g.useCallback)(function(Me){var Ge=Me.id,Tt=Me.defaultMessage,ht=(0,ue.Z)(Me,Mo);if(Q)return Q((0,d.Z)({id:Ge,defaultMessage:Tt},ht));var gt=ro();return gt[Ge]?gt[Ge]:Tt},[Q]),Ue=(0,Sa.ZP)([ke,E==null?void 0:E.params],function(){var Me=(0,ve.Z)((0,ee.Z)().mark(function Ge(Tt){var ht,gt,Kn,Un;return(0,ee.Z)().wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:return gt=(0,J.Z)(Tt,2),Kn=gt[1],Be(!0),nt.next=4,E==null||(ht=E.request)===null||ht===void 0?void 0:ht.call(E,Kn||{},(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[]);case 4:return Un=nt.sent,Be(!1),nt.abrupt("return",Un);case 7:case"end":return nt.stop()}},Ge)}));return function(Ge){return Me.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),dt=Ue.data,Mt=Ue.mutate,Ze=Ue.isLoading;(0,g.useEffect)(function(){Be(Ze)},[Ze]);var De=(0,Za.kY)(),Ee=De.cache;(0,g.useEffect)(function(){return function(){Ee instanceof Map&&Ee.delete(ke)}},[]);var It=(0,g.useMemo)(function(){return Co(dt||(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[],E,Ke,y)},[Ke,E,y,dt,x==null?void 0:x.children,x==null?void 0:x.routes]),Kt=It||{},Lo=Kt.breadcrumb,Nn=Kt.breadcrumbMap,Pn=Kt.menuData,ft=Pn===void 0?[]:Pn;ce&&E!==null&&E!==void 0&&E.request&&(ce.current={reload:function(){Mt()}});var vt=(0,g.useMemo)(function(){return xa(P.pathname||"/",ft||[],!0)},[P.pathname,ft]),Ut=(0,g.useMemo)(function(){return Array.from(new Set(vt.map(function(Me){return Me.key||Me.path||""})))},[vt]),Ln=vt[vt.length-1]||{},Hn=Zo(Ln),wt=(0,d.Z)((0,d.Z)({},e),Hn),Ho=wt.fixSiderbar,qo=wt.navTheme,mt=wt.layout,Eo=(0,ue.Z)(wt,Io),qe=Ae(),et=(0,g.useMemo)(function(){return(qe==="sm"||qe==="xs")&&!e.disableMobile},[qe,e.disableMobile]),Ao=mt!=="top"&&!et,$o=(0,oe.Z)(function(){return N!==void 0?N:!!(et||qe==="md")},{value:e.collapsed,onChange:D}),En=(0,J.Z)($o,2),pt=En[0],An=En[1],tt=(0,on.Z)((0,d.Z)((0,d.Z)((0,d.Z)({prefixCls:Se},e),{},{siderWidth:he},Hn),{},{formatMessage:Ke,breadcrumb:Lo,menu:(0,d.Z)((0,d.Z)({},E),{},{type:q||(E==null?void 0:E.type),loading:He}),layout:mt}),["className","style","breadcrumbRender"]),Gt=jo((0,d.Z)((0,d.Z)({pathname:P.pathname},tt),{},{breadcrumbMap:Nn}),e),Oo=yo((0,d.Z)((0,d.Z)({},tt),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:Nn}),e),Rt=To((0,d.Z)((0,d.Z)({},tt),{},{menuData:ft,onCollapse:An,isMobile:et,collapsed:pt}),Ut),Vt=wo((0,d.Z)((0,d.Z)({},tt),{},{children:null,hasSiderMenu:!!Rt,menuData:ft,isMobile:et,collapsed:pt,onCollapse:An}),Ut),$n=Ro((0,d.Z)({isMobile:et,collapsed:pt},tt)),Do=(0,g.useContext)(Tn),zo=Do.isChildrenLayout,Xt=le!==void 0?le:zo,_e="".concat(Se,"-layout"),On=uo(_e),Fo=On.wrapSSR,Qt=On.hashId,_o=Y()(e.className,Qt,"ant-design-pro",_e,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"screen-".concat(qe),qe),"".concat(_e,"-top-menu"),mt==="top"),"".concat(_e,"-is-children"),Xt),"".concat(_e,"-fix-siderbar"),Ho),"".concat(_e,"-").concat(mt),mt)),Wo=Bo(!!Ao,pt,he),Dn={position:"relative"};(Xt||O&&O.minHeight)&&(Dn.minHeight=0),(0,g.useEffect)(function(){var Me;(Me=e.onPageChange)===null||Me===void 0||Me.call(e,e.location)},[P.pathname,(n=P.pathname)===null||n===void 0?void 0:n.search]);var ko=(0,g.useState)(!1),zn=(0,J.Z)(ko,2),Fn=zn[0],Ko=zn[1],Uo=(0,g.useState)(0),_n=(0,J.Z)(Uo,2),Wn=_n[0],Go=_n[1];H(Gt,e.title||!1);var Vo=(0,g.useContext)(me.L_),U=Vo.token,kn=(0,g.useMemo)(function(){return w&&w.length>0?w==null?void 0:w.map(function(Me,Ge){return(0,u.jsx)("img",{src:Me.src,style:(0,d.Z)({position:"absolute"},Me)},Ge)}):null},[w]);return Fo((0,u.jsx)(Tn.Provider,{value:(0,d.Z)((0,d.Z)({},tt),{},{breadcrumb:Oo,menuData:ft,isMobile:et,collapsed:pt,hasPageContainer:Wn,setHasPageContainer:Go,isChildrenLayout:!0,title:Gt.pageName,hasSiderMenu:!!Rt,hasHeader:!!Vt,siderWidth:Wo,hasFooter:!!$n,hasFooterToolbar:Fn,setHasFooterToolbar:Ko,pageTitleInfo:Gt,matchMenus:vt,matchMenuKeys:Ut,currentMenu:Ln}),children:e.pure?(0,u.jsx)(u.Fragment,{children:_}):(0,u.jsxs)("div",{className:_o,children:[kn||(r=U.layout)!==null&&r!==void 0&&r.bgLayout?(0,u.jsx)("div",{className:Y()("".concat(_e,"-bg-list"),Qt),children:kn}):null,(0,u.jsxs)(Qe.Z,{style:(0,d.Z)({minHeight:"100%",flexDirection:Rt?"row":void 0},V),children:[(0,u.jsx)(Oe.ZP,{theme:{hashed:(0,me.nu)(),token:{controlHeightLG:((i=U.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(U==null?void 0:U.controlHeightLG)},components:{Menu:G({colorItemBg:((o=U.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((s=U.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorMenuBackground)||"transparent",radiusItem:U.borderRadius,colorItemBgSelected:((c=U.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorBgMenuItemSelected)||(U==null?void 0:U.colorBgTextHover),colorItemBgHover:((f=U.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemHover)||(U==null?void 0:U.colorBgTextHover),colorItemBgActive:((m=U.layout)===null||m===void 0||(m=m.sider)===null||m===void 0?void 0:m.colorBgMenuItemActive)||(U==null?void 0:U.colorBgTextActive),colorItemBgSelectedHorizontal:((S=U.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.colorBgMenuItemSelected)||(U==null?void 0:U.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((h=U.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenu)||(U==null?void 0:U.colorTextSecondary),colorItemTextHover:((R=U.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(($=U.layout)===null||$===void 0||($=$.sider)===null||$===void 0?void 0:$.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:U==null?void 0:U.colorBgElevated,subMenuItemBg:U==null?void 0:U.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:U==null?void 0:U.colorBgElevated})}},children:Rt}),(0,u.jsxs)("div",{style:Dn,className:"".concat(_e,"-container ").concat(Qt).trim(),children:[Vt,(0,u.jsx)(Ia,(0,d.Z)((0,d.Z)({hasPageContainer:Wn,isChildrenLayout:Xt},Eo),{},{hasHeader:!!Vt,prefixCls:_e,style:O,children:ne?(0,u.jsx)(Fr,{}):_})),$n,Fn&&(0,u.jsx)("div",{className:"".concat(_e,"-has-footer"),style:{height:64,marginBlockStart:(L=U.layout)===null||L===void 0||(L=L.pageContainer)===null||L===void 0?void 0:L.paddingBlockPageContainerContent}})]})]})]})}))},Po=function(e){var t=e.colorPrimary,n=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(Oe.ZP,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,u.jsx)(me._Y,(0,d.Z)((0,d.Z)({},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(No,(0,d.Z)((0,d.Z)({logo:(0,u.jsx)(wa,{})},pn),{},{location:(0,Te.j)()?window.location:void 0},e))}))})}},31707:function(Re,de){"use strict";var Z;Z={value:!0},Z=void 0,Z=ze,Z=Ae,de.EQ=F,Z=T,Z=X;const l="/",ee=b=>b,ve=/^[$_\p{ID_Start}]$/u,ue=/^[$\u200c\u200d\p{ID_Continue}]$/u,J="https://git.new/pathToRegexpError",d={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function me(b){return b.replace(/[{}()\[\]+?!:*]/g,"\\$&")}function oe(b){return b.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function*g(b){const p=[...b];let v=0;function j(){let I="";if(ve.test(p[++v]))for(I+=p[v];ue.test(p[++v]);)I+=p[v];else if(p[v]==='"'){let C=v;for(;v<p.length;){if(p[++v]==='"'){v++,C=0;break}p[v]==="\\"?I+=p[++v]:I+=p[v]}if(C)throw new TypeError(`Unterminated quote at ${C}: ${J}`)}if(!I)throw new TypeError(`Missing parameter name at ${v}: ${J}`);return I}for(;v<p.length;){const I=p[v],C=d[I];if(C)yield{type:C,index:v++,value:I};else if(I==="\\")yield{type:"ESCAPED",index:v++,value:p[v++]};else if(I===":"){const A=j();yield{type:"PARAM",index:v,value:A}}else if(I==="*"){const A=j();yield{type:"WILDCARD",index:v,value:A}}else yield{type:"CHAR",index:v,value:p[v++]}}return{type:"END",index:v,value:""}}class Le{constructor(p){this.tokens=p}peek(){if(!this._peek){const p=this.tokens.next();this._peek=p.value}return this._peek}tryConsume(p){const v=this.peek();if(v.type===p)return this._peek=void 0,v.value}consume(p){const v=this.tryConsume(p);if(v!==void 0)return v;const{type:j,index:I}=this.peek();throw new TypeError(`Unexpected ${j} at ${I}, expected ${p}: ${J}`)}text(){let p="",v;for(;v=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)p+=v;return p}}class ge{constructor(p){this.tokens=p}}Z=ge;function ze(b,p={}){const{encodePath:v=ee}=p,j=new Le(g(b));function I(A){const M=[];for(;;){const te=j.text();te&&M.push({type:"text",value:v(te)});const ae=j.tryConsume("PARAM");if(ae){M.push({type:"param",name:ae});continue}const Ce=j.tryConsume("WILDCARD");if(Ce){M.push({type:"wildcard",name:Ce});continue}if(j.tryConsume("{")){M.push({type:"group",tokens:I("}")});continue}return j.consume(A),M}}const C=I("END");return new ge(C)}function Ae(b,p={}){const{encode:v=encodeURIComponent,delimiter:j=l}=p,I=b instanceof ge?b:ze(b,p),C=Te(I.tokens,j,v);return function(M={}){const[te,...ae]=C(M);if(ae.length)throw new TypeError(`Missing parameters: ${ae.join(", ")}`);return te}}function Te(b,p,v){const j=b.map(I=>H(I,p,v));return I=>{const C=[""];for(const A of j){const[M,...te]=A(I);C[0]+=M,C.push(...te)}return C}}function H(b,p,v){if(b.type==="text")return()=>[b.value];if(b.type==="group"){const I=Te(b.tokens,p,v);return C=>{const[A,...M]=I(C);return M.length?[""]:[A]}}const j=v||ee;return b.type==="wildcard"&&v!==!1?I=>{const C=I[b.name];if(C==null)return["",b.name];if(!Array.isArray(C)||C.length===0)throw new TypeError(`Expected "${b.name}" to be a non-empty array`);return[C.map((A,M)=>{if(typeof A!="string")throw new TypeError(`Expected "${b.name}/${M}" to be a string`);return j(A)}).join(p)]}:I=>{const C=I[b.name];if(C==null)return["",b.name];if(typeof C!="string")throw new TypeError(`Expected "${b.name}" to be a string`);return[j(C)]}}function F(b,p={}){const{decode:v=decodeURIComponent,delimiter:j=l}=p,{regexp:I,keys:C}=T(b,p),A=C.map(M=>v===!1?ee:M.type==="param"?v:te=>te.split(j).map(v));return function(te){const ae=I.exec(te);if(!ae)return!1;const Ce=ae[0],se=Object.create(null);for(let Ie=1;Ie<ae.length;Ie++){if(ae[Ie]===void 0)continue;const be=C[Ie-1],je=A[Ie-1];se[be.name]=je(ae[Ie])}return{path:Ce,params:se}}}function T(b,p={}){const{delimiter:v=l,end:j=!0,sensitive:I=!1,trailing:C=!0}=p,A=[],M=[],te=I?"":"i",Ce=(Array.isArray(b)?b:[b]).map(be=>be instanceof ge?be:ze(be,p));for(const{tokens:be}of Ce)for(const je of G(be,0,[])){const $e=ie(je,v,A);M.push($e)}let se=`^(?:${M.join("|")})`;return C&&(se+=`(?:${oe(v)}$)?`),se+=j?"$":`(?=${oe(v)}|$)`,{regexp:new RegExp(se,te),keys:A}}function*G(b,p,v){if(p===b.length)return yield v;const j=b[p];if(j.type==="group"){const I=v.slice();for(const C of G(j.tokens,0,I))yield*Jt(G(b,p+1,C))}else v.push(j);yield*Jt(G(b,p+1,v))}function ie(b,p,v){let j="",I="",C=!0;for(let A=0;A<b.length;A++){const M=b[A];if(M.type==="text"){j+=oe(M.value),I+=M.value,C||(C=M.value.includes(p));continue}if(M.type==="param"||M.type==="wildcard"){if(!C&&!I)throw new TypeError(`Missing text after "${M.name}": ${J}`);M.type==="param"?j+=`(${k(p,C?"":I)}+)`:j+="([\\s\\S]+)",v.push(M),I="",C=!1;continue}}return j}function k(b,p){return p.length<2?b.length<2?`[^${oe(b+p)}]`:`(?:(?!${oe(b)})[^${oe(p)}])`:b.length<2?`(?:(?!${oe(p)})[^${oe(b)}])`:`(?:(?!${oe(p)}|${oe(b)})[\\s\\S])`}function X(b){return b.tokens.map(function p(v,j,I){if(v.type==="text")return me(v.value);if(v.type==="group")return`{${v.tokens.map(p).join("")}}`;const A=fe(v.name)&&K(I[j+1])?v.name:JSON.stringify(v.name);if(v.type==="param")return`:${A}`;if(v.type==="wildcard")return`*${A}`;throw new TypeError(`Unexpected token: ${v}`)}).join("")}function fe(b){const[p,...v]=b;return ve.test(p)?v.every(j=>ue.test(j)):!1}function K(b){return(b==null?void 0:b.type)!=="text"?!0:!ue.test(b.value[0])}},47930:function(Re,de){var Z;function l(H){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},l(H)}Z={value:!0},de.Bo=Z=Z=Z=Z=Z=Z=void 0;function ee(H){for(var F=[],T=0;T<H.length;){var G=H[T];if(G==="*"||G==="+"||G==="?"){F.push({type:"MODIFIER",index:T,value:H[T++]});continue}if(G==="\\"){F.push({type:"ESCAPED_CHAR",index:T++,value:H[T++]});continue}if(G==="{"){F.push({type:"OPEN",index:T,value:H[T++]});continue}if(G==="}"){F.push({type:"CLOSE",index:T,value:H[T++]});continue}if(G===":"){for(var ie="",k=T+1;k<H.length;){var X=H.charCodeAt(k);if(X>=48&&X<=57||X>=65&&X<=90||X>=97&&X<=122||X===95){ie+=H[k++];continue}break}if(!ie)throw new TypeError("Missing parameter name at "+T);F.push({type:"NAME",index:T,value:ie}),T=k;continue}if(G==="("){var fe=1,K="",k=T+1;if(H[k]==="?")throw new TypeError('Pattern cannot start with "?" at '+k);for(;k<H.length;){if(H[k]==="\\"){K+=H[k++]+H[k++];continue}if(H[k]===")"){if(fe--,fe===0){k++;break}}else if(H[k]==="("&&(fe++,H[k+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+k);K+=H[k++]}if(fe)throw new TypeError("Unbalanced pattern at "+T);if(!K)throw new TypeError("Missing pattern at "+T);F.push({type:"PATTERN",index:T,value:K}),T=k;continue}F.push({type:"CHAR",index:T,value:H[T++]})}return F.push({type:"END",index:T,value:""}),F}function ve(H,F){F===void 0&&(F={});for(var T=ee(H),G=F.prefixes,ie=G===void 0?"./":G,k="[^"+oe(F.delimiter||"/#?")+"]+?",X=[],fe=0,K=0,b="",p=function(je){if(K<T.length&&T[K].type===je)return T[K++].value},v=function(je){var $e=p(je);if($e!==void 0)return $e;var We=T[K],at=We.type,Ve=We.index;throw new TypeError("Unexpected "+at+" at "+Ve+", expected "+je)},j=function(){for(var je="",$e;$e=p("CHAR")||p("ESCAPED_CHAR");)je+=$e;return je};K<T.length;){var I=p("CHAR"),C=p("NAME"),A=p("PATTERN");if(C||A){var M=I||"";ie.indexOf(M)===-1&&(b+=M,M=""),b&&(X.push(b),b=""),X.push({name:C||fe++,prefix:M,suffix:"",pattern:A||k,modifier:p("MODIFIER")||""});continue}var te=I||p("ESCAPED_CHAR");if(te){b+=te;continue}b&&(X.push(b),b="");var ae=p("OPEN");if(ae){var M=j(),Ce=p("NAME")||"",se=p("PATTERN")||"",Ie=j();v("CLOSE"),X.push({name:Ce||(se?fe++:""),pattern:Ce&&!se?k:se,prefix:M,suffix:Ie,modifier:p("MODIFIER")||""});continue}v("END")}return X}Z=ve;function ue(H,F){return J(ve(H,F),F)}Z=ue;function J(H,F){F===void 0&&(F={});var T=g(F),G=F.encode,ie=G===void 0?function(K){return K}:G,k=F.validate,X=k===void 0?!0:k,fe=H.map(function(K){if(l(K)==="object")return new RegExp("^(?:"+K.pattern+")$",T)});return function(K){for(var b="",p=0;p<H.length;p++){var v=H[p];if(typeof v=="string"){b+=v;continue}var j=K?K[v.name]:void 0,I=v.modifier==="?"||v.modifier==="*",C=v.modifier==="*"||v.modifier==="+";if(Array.isArray(j)){if(!C)throw new TypeError('Expected "'+v.name+'" to not repeat, but got an array');if(j.length===0){if(I)continue;throw new TypeError('Expected "'+v.name+'" to not be empty')}for(var A=0;A<j.length;A++){var M=ie(j[A],v);if(X&&!fe[p].test(M))throw new TypeError('Expected all "'+v.name+'" to match "'+v.pattern+'", but got "'+M+'"');b+=v.prefix+M+v.suffix}continue}if(typeof j=="string"||typeof j=="number"){var M=ie(String(j),v);if(X&&!fe[p].test(M))throw new TypeError('Expected "'+v.name+'" to match "'+v.pattern+'", but got "'+M+'"');b+=v.prefix+M+v.suffix;continue}if(!I){var te=C?"an array":"a string";throw new TypeError('Expected "'+v.name+'" to be '+te)}}return b}}Z=J;function d(H,F){var T=[],G=Te(H,T,F);return me(G,T,F)}Z=d;function me(H,F,T){T===void 0&&(T={});var G=T.decode,ie=G===void 0?function(k){return k}:G;return function(k){var X=H.exec(k);if(!X)return!1;for(var fe=X[0],K=X.index,b=Object.create(null),p=function(I){if(X[I]===void 0)return"continue";var C=F[I-1];C.modifier==="*"||C.modifier==="+"?b[C.name]=X[I].split(C.prefix+C.suffix).map(function(A){return ie(A,C)}):b[C.name]=ie(X[I],C)},v=1;v<X.length;v++)p(v);return{path:fe,index:K,params:b}}}Z=me;function oe(H){return H.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function g(H){return H&&H.sensitive?"":"i"}function Le(H,F){if(!F)return H;var T=H.source.match(/\((?!\?)/g);if(T)for(var G=0;G<T.length;G++)F.push({name:G,prefix:"",suffix:"",modifier:"",pattern:""});return H}function ge(H,F,T){var G=H.map(function(ie){return Te(ie,F,T).source});return new RegExp("(?:"+G.join("|")+")",g(T))}function ze(H,F,T){return Ae(ve(H,T),F,T)}function Ae(H,F,T){T===void 0&&(T={});for(var G=T.strict,ie=G===void 0?!1:G,k=T.start,X=k===void 0?!0:k,fe=T.end,K=fe===void 0?!0:fe,b=T.encode,p=b===void 0?function(be){return be}:b,v="["+oe(T.endsWith||"")+"]|$",j="["+oe(T.delimiter||"/#?")+"]",I=X?"^":"",C=0,A=H;C<A.length;C++){var M=A[C];if(typeof M=="string")I+=oe(p(M));else{var te=oe(p(M.prefix)),ae=oe(p(M.suffix));if(M.pattern)if(F&&F.push(M),te||ae)if(M.modifier==="+"||M.modifier==="*"){var Ce=M.modifier==="*"?"?":"";I+="(?:"+te+"((?:"+M.pattern+")(?:"+ae+te+"(?:"+M.pattern+"))*)"+ae+")"+Ce}else I+="(?:"+te+"("+M.pattern+")"+ae+")"+M.modifier;else I+="("+M.pattern+")"+M.modifier;else I+="(?:"+te+ae+")"+M.modifier}}if(K)ie||(I+=j+"?"),I+=T.endsWith?"(?="+v+")":"$";else{var se=H[H.length-1],Ie=typeof se=="string"?j.indexOf(se[se.length-1])>-1:se===void 0;ie||(I+="(?:"+j+"(?="+v+"))?"),Ie||(I+="(?="+j+"|"+v+")")}return new RegExp(I,g(T))}Z=Ae;function Te(H,F,T){return H instanceof RegExp?Le(H,F):Array.isArray(H)?ge(H,F,T):ze(H,F,T)}de.Bo=Te},26058:function(Re,de,Z){"use strict";Z.d(de,{Z:function(){return fe}});var l=Z(74902),ee=Z(67294),ve=Z(93967),ue=Z.n(ve),J=Z(98423),d=Z(53124),me=Z(82401),oe=Z(50344),g=Z(23342);function Le(K,b,p){return typeof p=="boolean"?p:K.length?!0:(0,oe.Z)(b).some(j=>j.type===g.Z)}var ge=Z(24793),ze=function(K,b){var p={};for(var v in K)Object.prototype.hasOwnProperty.call(K,v)&&b.indexOf(v)<0&&(p[v]=K[v]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,v=Object.getOwnPropertySymbols(K);j<v.length;j++)b.indexOf(v[j])<0&&Object.prototype.propertyIsEnumerable.call(K,v[j])&&(p[v[j]]=K[v[j]]);return p};function Ae(K){let{suffixCls:b,tagName:p,displayName:v}=K;return j=>ee.forwardRef((C,A)=>ee.createElement(j,Object.assign({ref:A,suffixCls:b,tagName:p},C)))}const Te=ee.forwardRef((K,b)=>{const{prefixCls:p,suffixCls:v,className:j,tagName:I}=K,C=ze(K,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:A}=ee.useContext(d.E_),M=A("layout",p),[te,ae,Ce]=(0,ge.ZP)(M),se=v?`${M}-${v}`:M;return te(ee.createElement(I,Object.assign({className:ue()(p||se,j,ae,Ce),ref:b},C)))}),H=ee.forwardRef((K,b)=>{const{direction:p}=ee.useContext(d.E_),[v,j]=ee.useState([]),{prefixCls:I,className:C,rootClassName:A,children:M,hasSider:te,tagName:ae,style:Ce}=K,se=ze(K,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ie=(0,J.Z)(se,["suffixCls"]),{getPrefixCls:be,className:je,style:$e}=(0,d.dj)("layout"),We=be("layout",I),at=Le(v,M,te),[Ve,jt,Bt]=(0,ge.ZP)(We),Nt=ue()(We,{[`${We}-has-sider`]:at,[`${We}-rtl`]:p==="rtl"},je,C,A,jt,Bt),Pt=ee.useMemo(()=>({siderHook:{addSider:rt=>{j(ot=>[].concat((0,l.Z)(ot),[rt]))},removeSider:rt=>{j(ot=>ot.filter(Lt=>Lt!==rt))}}}),[]);return Ve(ee.createElement(me.V.Provider,{value:Pt},ee.createElement(ae,Object.assign({ref:b,className:Nt,style:Object.assign(Object.assign({},$e),Ce)},Ie),M)))}),F=Ae({tagName:"div",displayName:"Layout"})(H),T=Ae({suffixCls:"header",tagName:"header",displayName:"Header"})(Te),G=Ae({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Te),ie=Ae({suffixCls:"content",tagName:"main",displayName:"Content"})(Te);var k=F;const X=k;X.Header=T,X.Footer=G,X.Content=ie,X.Sider=g.Z,X._InternalSiderContext=g.D;var fe=X}}]);
|