You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
95 KiB
2 lines
95 KiB
(("undefined"!=typeof globalThis?globalThis:self)["makoChunk_ant-design-pro"]=("undefined"!=typeof globalThis?globalThis:self)["makoChunk_ant-design-pro"]||[]).push([["59cf2cec"],{"59cf2cec":function(e,t,n){n.d(t,"__esModule",{value:!0}),n.e(t,{default:function(){return nP;}});var o,l,a,r=n("777fffbe"),i=n("852bbaa9"),u=n("dac8af92"),d=n("c7d71c0a"),c=n("609f48be"),s=i._(c),f=n("a854094b"),p=r._(f),m=n("23934e00"),v=r._(m),h=n("9b84be4b"),g=r._(h),y=n("613f75ca"),x=r._(y),b=n("ee64167d"),C=r._(b),j=n("e4870cf0"),S=r._(j),k=n("64681837"),M=n("599977b0"),I=n("e2a12cbd"),w=n("932349b5"),R=n("7fd40603"),B=n("c5499b8c"),T=n("2ef2ced3");function N(e,t){return t>>>e|t<<32-e;}var P=[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];function H(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n;}function A(){var e,t,n,l,r,i,u,d,c,s,f,p,m,v,h,g,y=Array(16);u=o[0],d=o[1],c=o[2],s=o[3],f=o[4],p=o[5],m=o[6],v=o[7];for(var x=0;x<16;x++)y[x]=a[(x<<2)+3]|a[(x<<2)+2]<<8|a[(x<<2)+1]<<16|a[x<<2]<<24;for(var b=0;b<64;b++)h=v+(N(6,e=f)^N(11,e)^N(25,e))+((t=f)&p^~t&m)+P[b],b<16?h+=y[b]:h+=function(e,t){var n,o;return e[15&t]+=(N(17,n=e[t+14&15])^N(19,n)^n>>>10)+e[t+9&15]+(N(7,o=e[t+1&15])^N(18,o)^o>>>3);}(y,b),g=(N(2,n=u)^N(13,n)^N(22,n))+((l=u)&(r=d)^l&(i=c)^r&i),v=m,m=p,p=f,f=H(s,h),s=c,c=d,d=u,u=H(h,g);o[0]+=u,o[1]+=d,o[2]+=c,o[3]+=s,o[4]+=f,o[5]+=p,o[6]+=m,o[7]+=v;}var L=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}function E(e){var t="function"==typeof Map?new Map:void 0;return(E=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]");}catch(t){return"function"==typeof e;}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n);}function n(){return function(e,t,n){if(z())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var l=new(e.bind.apply(e,o));return n&&D(l,n.prototype),l;}(e,arguments,F(this).constructor);}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),D(n,e);})(e);}function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(e){}return(z=function(){return!!e;})();}function D(e,t){return(D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e;})(e,t);}function F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e);})(e);}function _(e){return function(e){if(Array.isArray(e))return G(e);}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e);}(e)||W(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function W(e,t){if(e){if("string"==typeof e)return G(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(e,t):void 0;}}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o;}function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,o);}return n;}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach(function(t){var o,l;o=t,l=n[t],(o=V(o))in e?Object.defineProperty(e,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[o]=l;}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}function V(e){var t=function(e,t){if("object"!=O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=O(o))return o;throw TypeError("@@toPrimitive must return a primitive value.");}return("string"===t?String:Number)(e);}(e,"string");return"symbol"==O(t)?t:t+"";}var X="routes";function Z(e){return e.split("?")[0].split("#")[0];}var q=function(e){if(!e.startsWith("http"))return!1;try{return new URL(e),!0;}catch(e){return!1;}},J=function(e){var t,n=e.path;if(!n||"/"===n)try{return"/".concat((t=JSON.stringify(e),o=Array(8),l=[,,],a=Array(64),l[0]=l[1]=0,o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,!function(e,t){var n,o,r=0;o=l[0]>>3&63;var i=63&t;for((l[0]+=t<<3)<t<<3&&l[1]++,l[1]+=t>>29,n=0;n+63<t;n+=64){for(var u=o;u<64;u++)a[u]=e.charCodeAt(r++);A(),o=0;}for(var d=0;d<i;d++)a[d]=e.charCodeAt(r++);}(t,t.length),!function(){var e=l[0]>>3&63;if(a[e++]=128,e<=56)for(var t=e;t<56;t++)a[t]=0;else{for(var n=e;n<64;n++)a[n]=0;A();for(var o=0;o<56;o++)a[o]=0;}a[56]=l[1]>>>24&255,a[57]=l[1]>>>16&255,a[58]=l[1]>>>8&255,a[59]=255&l[1],a[60]=l[0]>>>24&255,a[61]=l[0]>>>16&255,a[62]=l[0]>>>8&255,a[63]=255&l[0],A();}(),function(){for(var e=new String,t=0;t<8;t++)for(var n=28;n>=0;n-=4)e+="0123456789abcdef".charAt(o[t]>>>n&15);return e;}()));}catch(e){}return n?Z(n):n;},Y=function(e,t){var n=e.name,o=e.locale;return(!("locale"in e)||!1!==o)&&!!n&&(e.locale||"".concat(t,".").concat(n));},$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||q(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/");},Q=function(e,t){var n=e.menu,o=void 0===n?{}:n,l=e.indexRoute,a=e.path,r=e.children||[],i=o.name,u=void 0===i?e.name:i,d=o.icon,c=void 0===d?e.icon:d,s=o.hideChildren,f=void 0===s?e.hideChildren:s,p=o.flatMenu,m=void 0===p?e.flatMenu:p,v=l&&"redirect"!==Object.keys(l).join(",")?[U({path:void 0===a?"":a,menu:o},l)].concat(r||[]):r,h=U({},e);if(u&&(h.name=u),c&&(h.icon=c),v&&v.length){if(f)return delete h.children,h;var g=et(U(U({},t),{},{data:v}),e);if(m)return g;delete h[X];}return h;},ee=function(e){return Array.isArray(e)&&e.length>0;};function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{path:"/"},n=e.data,o=e.formatMessage,l=e.parentName,a=e.locale;return n&&Array.isArray(n)?n.filter(function(e){return!!e&&(!!ee(e.children)||!!e.path||!!e.originPath||!!e.layout||!e.redirect&&(e.unaccessible,!1));}).filter(function(e){var t,n;return null!=e&&null!==(t=e.menu)&&void 0!==t&&!!t.name||null!=e&&!!e.flatMenu||null!=e&&null!==(n=e.menu)&&void 0!==n&&!!n.flatMenu||!1!==e.menu;}).map(function(e){var t=U(U({},e),{},{path:e.path||e.originPath});return!t.children&&t[X]&&(t.children=t[X],delete t[X]),t.unaccessible&&delete t.name,"*"===t.path&&(t.path="."),"/*"===t.path&&(t.path="."),!t.path&&t.originPath&&(t.path=t.originPath),t;}).map(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{path:"/"},r=n.children||n[X]||[],i=$(n.path,t?t.path:"/"),u=n.name,d=Y(n,l||"menu"),c=!1!==d&&!1!==a&&o&&d?o({id:d,defaultMessage:u}):u,s=t.pro_layout_parentKeys,f=(t.children,t.icon,t.flatMenu,t.indexRoute,t.routes,function(e,t){if(null==e)return{};var n,o,l=function(e,t){if(null==e)return{};var n={};for(var o in e)if(({}).hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o];}return n;}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(l[n]=e[n]);}return l;}(t,L)),p=new Set([].concat(_(void 0===s?[]:s),_(n.parentKeys||[])));t.key&&p.add(t.key);var m=U(U(U({},f),{},{menu:void 0},n),{},{path:i,locale:d,key:n.key||J(U(U({},n),{},{path:i})),pro_layout_parentKeys:Array.from(p).filter(function(e){return e&&"/"!==e;})});if(c?m.name=c:delete m.name,void 0===m.menu&&delete m.menu,ee(r)){var v=et(U(U({},e),{},{data:r,parentName:d||""}),m);ee(v)&&(m.children=v);}return Q(m,e);}).flat(1):[];}var en=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter(function(e){return e&&(e.name||ee(e.children))&&!e.hideInMenu&&!e.redirect;}).map(function(e){var t=U({},e),n=t.children||e[X]||[];if(delete t[X],ee(n)&&!t.hideChildrenInMenu&&n.some(function(e){return e&&!!e.name;})){var o=en(n);if(o.length)return U(U({},t),{},{children:o});}return U({},e);}).filter(function(e){return e;});},eo=function(e){var t;function n(){var e,t;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function");}(this,n),e=n,t=arguments,e=F(e),function(e,t){if(t&&("object"==O(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}(e);}(this,z()?Reflect.construct(e,t||[],F(this).constructor):e.apply(this,t));}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D(e,t);}(n,e),t=[{key:"get",value:function(e){var t;try{var n,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=W(e))){n&&(e=n);var o=0,l=function(){};return{s:l,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]};},e:function(e){throw e;},f:l};}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a,r=!0,i=!1;return{s:function(){n=n.call(e);},n:function(){var e=n.next();return r=e.done,e;},e:function(e){i=!0,a=e;},f:function(){try{r||null==n.return||n.return();}finally{if(i)throw a;}}};}(this.entries());try{for(o.s();!(n=o.n()).done;){var l,a=(l=n.value,function(e){if(Array.isArray(e))return e;}(l)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,l,a,r,i=[],u=!0,d=!1;try{for(a=(n=n.call(e)).next;!(u=(o=a.call(n)).done)&&(i.push(o.value),2!==i.length);u=!0);}catch(e){d=!0,l=e;}finally{try{if(!u&&null!=n.return&&(r=n.return(),Object(r)!==r))return;}finally{if(d)throw l;}}return i;}}(l,2)||W(l,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}()),r=a[0],i=a[1],u=Z(r);if(!q(r)&&(0,T.pathToRegexp)(u,[]).test(e)){t=i;break;}}}catch(e){o.e(e);}finally{o.f();}}catch(e){t=void 0;}return t;}}],function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,V(o.key),o);}}(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),n;}(E(Map)),el=function(e){var t=new eo,n=function(e,o){e.forEach(function(e){var l=e.children||e[X]||[];ee(l)&&n(l,e);var a=$(e.path,o?o.path:"/");t.set(Z(a),e);});};return n(e),t;},ea=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(function(e){var t=e.children||e[X];if(ee(t)&&ea(t).length)return U({},e);var n=U({},e);return delete n[X],delete n.children,n;}).filter(function(e){return e;});},er=function(e,t,n,o){var l=et({data:_(e).map(function(e){return U({},e);}),formatMessage:n,locale:t}),a=o?ea(l):en(l);return{breadcrumb:el(l),menuData:a};};function ei(e){return(ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e;}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;})(e);}function eu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),n.push.apply(n,o);}return n;}function ed(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eu(Object(n),!0).forEach(function(t){var o,l;o=t,l=n[t],(o=function(e){var t=function(e,t){if("object"!=ei(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=ei(o))return o;throw TypeError("@@toPrimitive must return a primitive value.");}return("string"===t?String:Number)(e);}(e,"string");return"symbol"==ei(t)?t:t+"";}(o))in e?Object.defineProperty(e,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[o]=l;}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t));});}return e;}var ec=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t={};return e.forEach(function(e){var n=ed({},e);if(n&&n.key){!n.children&&n[X]&&(n.children=n[X],delete n[X]);var o=n.children||[];t[Z(n.path||n.key||"/")]=ed({},n),t[n.key||n.path||"/"]=ed({},n),o&&(t=ed(ed({},t),ec(o)));}}),t;},es=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.filter(function(e){if("/"===e&&"/"===t)return!0;if("/"!==e&&"/*"!==e&&e&&!q(e)){var o=Z(e);try{if(n&&(0,T.pathToRegexp)("".concat(o)).test(t)||(0,T.pathToRegexp)("".concat(o),[]).test(t)||(0,T.pathToRegexp)("".concat(o,"/(.*)")).test(t))return!0;}catch(e){}}return!1;}).sort(function(e,n){return e===t?10:n===t?-10:e.substr(1).split("/").length-n.substr(1).split("/").length;});},ef=function(e,t,n,o){var l=ec(t),a=es(Object.keys(l),e||"/",o);return!a||a.length<1?[]:(n||(a=[a[a.length-1]]),a.map(function(e){var t=l[e]||{pro_layout_parentKeys:"",key:""},n=new Map,o=(t.pro_layout_parentKeys||[]).map(function(e){return n.has(e)?null:(n.set(e,!0),l[e]);}).filter(function(e){return e;});return t.key&&o.push(t),o;}).flat(1));},ep=n("a5a99096"),em=r._(ep),ev=n("5e27348f"),eh=r._(ev),eg=n("064ecd09"),ey=r._(eg),ex=n("ce03fd86"),eb=r._(ex),eC=n("ddaa0afd"),ej=r._(eC),eS=n("a275200c"),ek=r._(eS);n("f1cdeeaa");var eM=n("9d6414cf"),eI=i._(eM),ew=n("4e19c03f"),eR=function(e){var t=(0,s.useContext)(k.ProProvider).hashId,n=e.style,o=e.prefixCls,l=e.children,a=e.hasPageContainer,r=(0,ey.default)("".concat(o,"-content"),t,(0,p.default)((0,p.default)({},"".concat(o,"-has-header"),e.hasHeader),"".concat(o,"-content-has-page-container"),(void 0===a?0:a)>0)),i=e.ErrorBoundary||ew.ErrorBoundary;return!1===e.ErrorBoundary?(0,u.jsx)(eh.default.Content,{className:r,style:n,children:l}):(0,u.jsx)(i,{children:(0,u.jsx)(eh.default.Content,{className:r,style:n,children:l})});},eB=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"})]})})})})]});},eT=n("0488000c"),eN=n("d36f00b5"),eP=n("7cfeda15"),eH=r._(eP),eA={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"},eL=n("887aaf6c"),eO=r._(eL),eE=s.forwardRef(function(e,t){return s.createElement(eO.default,(0,eH.default)({},e,{ref:t,icon:eA}));}),ez=n("f583c194"),eD=n("60996a32"),eF=r._(eD),e_=n("04655333"),eW=r._(e_),eG=n("8f0ec5f3"),eK=r._(eG),eU=n("384da8f0"),eV=r._(eU);function eX(){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 eZ=n("a3273044"),eq=function(e){var t,n,o;return(0,p.default)({},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:null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.colorTextCollapsedButton,backgroundColor:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?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:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.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)"}}});},eJ=["isMobile","collapsed"],eY=function(e){var t,n=e.isMobile,o=e.collapsed,l=(0,x.default)(e,eJ),a=(t=e.className,(0,eZ.useStyle)("SiderMenuCollapsedIcon",function(e){return[eq((0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(t)}))];})),r=a.wrapSSR,i=a.hashId;return n&&o?null:r((0,u.jsx)("div",(0,S.default)((0,S.default)({},l),{},{className:(0,ey.default)(e.className,i,(0,p.default)((0,p.default)({},"".concat(e.className,"-collapsed"),o),"".concat(e.className,"-is-mobile"),n)),children:(0,u.jsx)(eX,{})})));},e$=n("f1020fa4"),eQ=r._(e$),e0=n("85158032"),e1=r._(e0),e2=n("8bbe4f57"),e4=r._(e2),e5=n("002639b3"),e8=n("c8379d8f"),e6=r._(e8),e3=n("d540b9b1"),e9=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],e7=s.forwardRef(function(e,t){var n=e.className,o=e.component,l=e.viewBox,a=e.spin,r=e.rotate,i=e.tabIndex,u=e.onClick,d=e.children,c=(0,x.default)(e,e9),f=s.useRef(),m=(0,e5.useComposeRef)(f,t);(0,e3.warning)(!!(o||d),"Should have `component` prop or `children`."),(0,e3.useInsertStyles)(f);var v=s.useContext(e6.default),h=v.prefixCls,g=void 0===h?"anticon":h,y=v.rootClassName,b=(0,ey.default)(y,g,(0,p.default)({},"".concat(g,"-spin"),!!a&&!!o),n),C=(0,ey.default)((0,p.default)({},"".concat(g,"-spin"),!!a)),j=(0,S.default)((0,S.default)({},e3.svgBaseProps),{},{className:C,style:r?{msTransform:"rotate(".concat(r,"deg)"),transform:"rotate(".concat(r,"deg)")}:void 0,viewBox:l});l||delete j.viewBox;var k=i;return void 0===k&&u&&(k=-1),s.createElement("span",(0,eH.default)({role:"img"},c,{ref:m,tabIndex:k,onClick:u,className:b}),o?s.createElement(o,j,d):d?((0,e3.warning)(!!l||1===s.Children.count(d)&&s.isValidElement(d)&&"use"===s.Children.only(d).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),s.createElement("svg",(0,eH.default)({},j,{viewBox:l}),d)):null);});e7.displayName="AntdIcon";var te=["type","children"],tt=new Set;function tn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t];if("string"==typeof n&&n.length&&!tt.has(n)){var o=document.createElement("script");o.setAttribute("src",n),o.setAttribute("data-namespace",n),e.length>t+1&&(o.onload=function(){tn(e,t+1);},o.onerror=function(){tn(e,t+1);}),tt.add(n),document.body.appendChild(o);}}function to(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,o=void 0===n?{}:n;t&&"undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&(Array.isArray(t)?tn(t.reverse()):tn([t]));var l=s.forwardRef(function(e,t){var n=e.type,l=e.children,a=(0,x.default)(e,te),r=null;return e.type&&(r=s.createElement("use",{xlinkHref:"#".concat(n)})),l&&(r=l),s.createElement(e7,(0,eH.default)({},o,a,{ref:t}),r);});return l.displayName="Iconfont",l;}var tl=n("964c531e"),ta=n("9c4b579b"),tr=n("7971c6b6"),ti=r._(tr),tu=n("7376d2b3"),td=r._(tu),tc=n("855108b3"),ts=function(e,t){var n,o,l=t.includes("horizontal")?null===(n=e.layout)||void 0===n?void 0:n.header:null===(o=e.layout)||void 0===o?void 0:o.sider;return(0,S.default)((0,S.default)((0,p.default)({},"".concat(e.componentCls),(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({background:"transparent",color:null==l?void 0:l.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),(0,p.default)({},"> ".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,p.default)((0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item, \n ").concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-item, \n ").concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title, \n ").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, \n ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:null==l?void 0:l.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,p.default)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({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,p.default)((0,p.default)({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,p.default)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,p.default)((0,p.default)({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,p.default)({},"".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,p.default)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,p.default)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,p.default)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}));},tf=function(e){var t=(0,s.useState)(e.collapsed),n=(0,C.default)(t,2),o=n[0],l=n[1],a=(0,s.useState)(!1),r=(0,C.default)(a,2),i=r[0],d=r[1];return((0,s.useEffect)(function(){d(!1),setTimeout(function(){l(e.collapsed);},400);},[e.collapsed]),e.disable)?e.children:(0,u.jsx)(td.default,{title:e.title,open:!!o&&!!e.collapsed&&i,placement:"right",onOpenChange:d,children:e.children});},tp=to({scriptUrl:tc.defaultSettings.iconfontUrl}),tm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"icon-",n=arguments.length>2?arguments[2]:void 0;if("string"==typeof e&&""!==e){if((0,ta.isUrl)(e)||(0,tl.isImg)(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,u.jsx)(tp,{type:e});}return e;},tv=function(e){return e&&"string"==typeof e?e.substring(0,1).toUpperCase():null;},th=(0,e1.default)(function e(t){var n=this;(0,e4.default)(this,e),(0,p.default)(this,"props",void 0),(0,p.default)(this,"getNavMenuItems",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return e.map(function(e){return n.getSubMenuOrItem(e,t,o);}).filter(function(e){return e;}).flat(1);}),(0,p.default)(this,"getSubMenuOrItem",function(e,t,o){var l=n.props,a=l.subMenuItemRender,r=l.baseClassName,i=l.prefixCls,d=l.collapsed,c=l.menu,s=l.iconPrefixes,f=l.layout,m=(null==c?void 0:c.type)==="group"&&"top"!==f,v=n.props.token,h=n.getIntlName(e),g=(null==e?void 0:e.children)||(null==e?void 0:e.routes),y=m&&0===t?"group":void 0;if(Array.isArray(g)&&g.length>0){var x,b,C,j,k,M=0===t||m&&1===t,I=tm(e.icon,s,"".concat(r,"-icon ").concat(null===(x=n.props)||void 0===x?void 0:x.hashId)),w=d&&M?tv(h):null,R=(0,u.jsxs)("div",{className:(0,ey.default)("".concat(r,"-item-title"),null===(b=n.props)||void 0===b?void 0:b.hashId,(0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(r,"-item-title-collapsed"),d),"".concat(r,"-item-title-collapsed-level-").concat(o),d),"".concat(r,"-group-item-title"),"group"===y),"".concat(r,"-item-collapsed-show-title"),(null==c?void 0:c.collapsedShowTitle)&&d)),children:["group"===y&&d?null:M&&I?(0,u.jsx)("span",{className:"".concat(r,"-item-icon ").concat(null===(C=n.props)||void 0===C?void 0:C.hashId).trim(),children:I}):w,(0,u.jsx)("span",{className:(0,ey.default)("".concat(r,"-item-text"),null===(j=n.props)||void 0===j?void 0:j.hashId,(0,p.default)({},"".concat(r,"-item-text-has-icon"),"group"!==y&&M&&(I||w))),children:h})]}),B=a?a((0,S.default)((0,S.default)({},e),{},{isUrl:!1}),R,n.props):R;if(m&&0===t&&n.props.collapsed&&!c.collapsedShowGroupTitle)return n.getNavMenuItems(g,t+1,t);var T=n.getNavMenuItems(g,t+1,m&&0===t&&n.props.collapsed?t:t+1);return[{type:y,key:e.key||e.path,label:B,onClick:m?void 0:e.onTitleClick,children:T,className:(0,ey.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(r,"-group"),"group"===y),"".concat(r,"-submenu"),"group"!==y),"".concat(r,"-submenu-has-icon"),"group"!==y&&M&&I))},m&&0===t?{type:"divider",prefixCls:i,className:"".concat(r,"-divider"),key:(e.key||e.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:null==v||null===(k=v.layout)||void 0===k||null===(k=k.sider)||void 0===k?void 0:k.colorMenuItemDivider}}:void 0].filter(Boolean);}return{className:"".concat(r,"-menu-item"),disabled:e.disabled,key:e.key||e.path,onClick:e.onTitleClick,label:n.getMenuItemPath(e,t,o)};}),(0,p.default)(this,"getIntlName",function(e){var t=e.name,o=e.locale,l=n.props,a=l.menu,r=l.formatMessage,i=t;return(o&&(null==a?void 0:a.locale)!==!1&&(i=null==r?void 0:r({id:o,defaultMessage:t})),n.props.menuTextRender)?n.props.menuTextRender(e,i,n.props):i;}),(0,p.default)(this,"getMenuItemPath",function(e,t,o){var l,a,r,i,d,c,s,f=n.conversionPath(e.path||"/"),m=n.props,v=m.location,h=m.isMobile,g=m.onCollapse,y=m.menuItemRender,x=m.iconPrefixes,b=n.getIntlName(e),C=n.props,j=C.baseClassName,k=C.menu,M=C.collapsed,I=(null==k?void 0:k.type)==="group",w=0===t||I&&1===t,R=w?tm(e.icon,x,"".concat(j,"-icon ").concat(null===(l=n.props)||void 0===l?void 0:l.hashId)):null,B=M&&w?tv(b):null,T=(0,u.jsxs)("div",{className:(0,ey.default)("".concat(j,"-item-title"),null===(a=n.props)||void 0===a?void 0:a.hashId,(0,p.default)((0,p.default)((0,p.default)({},"".concat(j,"-item-title-collapsed"),M),"".concat(j,"-item-title-collapsed-level-").concat(o),M),"".concat(j,"-item-collapsed-show-title"),(null==k?void 0:k.collapsedShowTitle)&&M)),children:[(0,u.jsx)("span",{className:"".concat(j,"-item-icon ").concat(null===(r=n.props)||void 0===r?void 0:r.hashId).trim(),style:{display:null!==B||R?"":"none"},children:R||(0,u.jsx)("span",{className:"anticon",children:B})}),(0,u.jsx)("span",{className:(0,ey.default)("".concat(j,"-item-text"),null===(i=n.props)||void 0===i?void 0:i.hashId,(0,p.default)({},"".concat(j,"-item-text-has-icon"),w&&(R||B))),children:b})]},f),N=(0,ta.isUrl)(f);if(N&&(T=(0,u.jsxs)("span",{onClick:function(){var e,t;null===(e=window)||void 0===e||null===(t=e.open)||void 0===t||t.call(e,f,"_blank");},className:(0,ey.default)("".concat(j,"-item-title"),null===(d=n.props)||void 0===d?void 0:d.hashId,(0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(j,"-item-title-collapsed"),M),"".concat(j,"-item-title-collapsed-level-").concat(o),M),"".concat(j,"-item-link"),!0),"".concat(j,"-item-collapsed-show-title"),(null==k?void 0:k.collapsedShowTitle)&&M)),children:[(0,u.jsx)("span",{className:"".concat(j,"-item-icon ").concat(null===(c=n.props)||void 0===c?void 0:c.hashId).trim(),style:{display:null!==B||R?"":"none"},children:R||(0,u.jsx)("span",{className:"anticon",children:B})}),(0,u.jsx)("span",{className:(0,ey.default)("".concat(j,"-item-text"),null===(s=n.props)||void 0===s?void 0:s.hashId,(0,p.default)({},"".concat(j,"-item-text-has-icon"),w&&(R||B))),children:b})]},f)),y){var P=(0,S.default)((0,S.default)({},e),{},{isUrl:N,itemPath:f,isMobile:h,replace:f===(void 0===v?{pathname:"/"}:v).pathname,onClick:function(){return g&&g(!0);},children:void 0});return 0===t?(0,u.jsx)(tf,{collapsed:M,title:b,disable:e.disabledTooltip,children:y(P,T,n.props)}):y(P,T,n.props);}return 0===t?(0,u.jsx)(tf,{collapsed:M,title:b,disable:e.disabledTooltip,children:T}):T;}),(0,p.default)(this,"conversionPath",function(e){return e&&0===e.indexOf("http")?e:"/".concat(e||"").replace(/\/+/g,"/");}),this.props=t;}),tg=function(e,t){var n=t.layout,o=t.collapsed,l={};return e&&!o&&["side","mix"].includes(n||"mix")&&(l={openKeys:e}),l;},ty=function(e){var t=e.mode,n=e.className,o=e.handleOpenChange,l=e.style,a=e.menuData,r=e.prefixCls,i=e.menu,d=e.matchMenuKeys,c=e.iconfontUrl,f=e.selectedKeys,m=e.onSelect,v=e.menuRenderType,h=e.openKeys,g=(0,s.useContext)(k.ProProvider),y=g.dark,x=g.token,b="".concat(r,"-base-menu-").concat(t),j=(0,s.useRef)([]),M=(0,B.useMountMergeState)(null==i?void 0:i.defaultOpenAll),I=(0,C.default)(M,2),w=I[0],R=I[1],T=(0,B.useMountMergeState)(function(){return null!=i&&i.defaultOpenAll?(0,eN.getOpenKeysFromMenuData)(a)||[]:!1!==h&&[];},{value:!1===h?void 0:h,onChange:o}),N=(0,C.default)(T,2),P=N[0],H=N[1],A=(0,B.useMountMergeState)([],{value:f,onChange:m?function(e){m&&e&&m(e);}:void 0}),L=(0,C.default)(A,2),O=L[0],E=L[1];(0,s.useEffect)(function(){(null==i||!i.defaultOpenAll)&&!1!==h&&d&&(H(d),E(d));},[d.join("-")]),(0,s.useEffect)(function(){c&&(tp=to({scriptUrl:c}));},[c]),(0,s.useEffect)(function(){if(d.join("-")!==(O||[]).join("-")&&E(d),w||!1===h||d.join("-")===(P||[]).join("-"))null!=i&&i.ignoreFlatMenu&&w?H((0,eN.getOpenKeysFromMenuData)(a)):R(!1);else{var e=d;(null==i?void 0:i.autoClose)===!1&&(e=Array.from(new Set([].concat((0,eQ.default)(d),(0,eQ.default)(P||[]))))),H(e);}},[d.join("-")]);var z=(0,s.useMemo)(function(){return tg(P,e);},[P&&P.join(","),e.layout,e.collapsed]),D=(0,eZ.useStyle)("ProLayoutBaseMenu"+t,function(e){return[ts((0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(b)}),t||"inline")];}),F=D.wrapSSR,_=D.hashId,W=(0,s.useMemo)(function(){return new th((0,S.default)((0,S.default)({},e),{},{token:x,menuRenderType:v,baseClassName:b,hashId:_}));},[e,x,v,b,_]);if(null!=i&&i.loading)return(0,u.jsx)("div",{style:null!=t&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(ti.default,{active:!0,title:!1,paragraph:{rows:null!=t&&t.includes("inline")?6:1}})});!1!==e.openKeys||e.handleOpenChange||(j.current=d);var G=e.postMenuData?e.postMenuData(a):a;return G&&(null==G?void 0:G.length)<1?null:F((0,s.createElement)(eW.default,(0,S.default)((0,S.default)({},z),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:j.current,theme:y?"dark":"light",selectedKeys:O,style:(0,S.default)({backgroundColor:"transparent",border:"none"},l),className:(0,ey.default)(n,_,b,(0,p.default)((0,p.default)({},"".concat(b,"-horizontal"),"horizontal"===t),"".concat(b,"-collapsed"),e.collapsed)),items:W.getNavMenuItems(G,0,0),onOpenChange:function(t){e.collapsed||H(t);}},e.menuProps)));},tx=["title","render"],tb=s.default.memo(function(e){return(0,u.jsx)(u.Fragment,{children:e.children});}),tC=eh.default.Sider,tj=eh.default._InternalSiderContext,tS=void 0===tj?{Provider:tb}:tj,tk=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"menuHeaderRender",n=e.logo,o=e.title,l=e.layout,a=e[t];if(!1===a)return null;var r=(0,ez.defaultRenderLogo)(n),i=(0,u.jsx)("h1",{children:null!=o?o:"Ant Design Pro"});return a?a(r,e.collapsed?null:i,e):e.isMobile?null:("mix"!==l||"menuHeaderRender"!==t)&&(e.collapsed?(0,u.jsx)("a",{children:r},"title"):(0,u.jsxs)("a",{children:[r,i]},"title"));},tM=function(e){var t,n,o,l,a,r=e.collapsed,i=e.originCollapsed,d=e.fixSiderbar,c=e.menuFooterRender,f=e.onCollapse,m=e.theme,v=e.siderWidth,h=e.isMobile,g=e.onMenuHeaderClick,y=e.breakpoint,b=void 0===y?"lg":y,C=e.style,j=e.layout,M=e.menuExtraRender,I=void 0!==M&&M,w=e.links,R=e.menuContentRender,B=e.collapsedButtonRender,T=e.prefixCls,N=e.avatarProps,P=e.rightContentRender,H=e.actionsRender,A=e.onOpenChange,L=e.stylish,O=e.logoStyle,E=(0,s.useContext)(k.ProProvider).hashId,z=(0,s.useMemo)(function(){return!h&&"mix"!==j;},[h,j]),D="".concat(T,"-sider"),F=(t="".concat(D,".").concat(D,"-stylish"),o=(n={stylish:L,proLayoutCollapsedWidth:64}).stylish,l=n.proLayoutCollapsedWidth,(0,eZ.useStyle)("ProLayoutSiderMenuStylish",function(e){var n=(0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:l});return o?[(0,p.default)({},"div".concat(e.proComponentsCls,"-layout"),(0,p.default)({},"".concat(n.componentCls),null==o?void 0:o(n)))]:[];})),_=(0,ey.default)("".concat(D),E,(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(D,"-fixed"),d),"".concat(D,"-fixed-mix"),"mix"===j&&!h&&d),"".concat(D,"-collapsed"),e.collapsed),"".concat(D,"-layout-").concat(j),j&&!h),"".concat(D,"-light"),"dark"!==m),"".concat(D,"-mix"),"mix"===j&&!h),"".concat(D,"-stylish"),!!L)),W=tk(e),G=I&&I(e),K=(0,s.useMemo)(function(){return!1!==R&&(0,s.createElement)(ty,(0,S.default)((0,S.default)({},e),{},{key:"base-menu",mode:r&&!h?"vertical":"inline",handleOpenChange:A,style:{width:"100%"},className:"".concat(D,"-menu ").concat(E).trim()}));},[D,E,R,A,e]),U=(w||[]).map(function(e,t){return{className:"".concat(D,"-link"),label:e,key:t};}),V=(0,s.useMemo)(function(){return R?R(e,K):K;},[R,K,e]),X=(0,s.useMemo)(function(){if(!N)return null;var t=N.title,n=N.render,o=(0,x.default)(N,tx),l=(0,u.jsxs)("div",{className:"".concat(D,"-actions-avatar"),children:[null!=o&&o.src||null!=o&&o.srcSet||o.icon||o.children?(0,u.jsx)(eF.default,(0,S.default)({size:28},o)):null,N.title&&!r&&(0,u.jsx)("span",{children:t})]});return n?n(N,l,e):l;},[N,D,r]),Z=(0,s.useMemo)(function(){return H?(0,u.jsx)(eK.default,{align:"center",size:4,direction:r?"vertical":"horizontal",className:(0,ey.default)(["".concat(D,"-actions-list"),r&&"".concat(D,"-actions-list-collapsed"),E]),children:[null==H?void 0:H(e)].flat(1).map(function(e,t){return(0,u.jsx)("div",{className:"".concat(D,"-actions-list-item ").concat(E).trim(),children:e},t);})}):null;},[H,D,r]),q=(0,s.useMemo)(function(){return(0,u.jsx)(ez.AppsLogoComponents,{onItemClick:e.itemClick,appListRender:e.appListRender,appList:e.appList,prefixCls:e.prefixCls});},[e.appList,e.appListRender,e.prefixCls]),J=(0,s.useMemo)(function(){if(!1===B)return null;var e=(0,u.jsx)(eY,{isMobile:h,collapsed:i,className:"".concat(D,"-collapsed-button"),onClick:function(){null==f||f(!i);}});return B?B(r,e):e;},[B,h,i,D,r,f]),Y=(0,s.useMemo)(function(){return X||Z?(0,u.jsxs)("div",{className:(0,ey.default)("".concat(D,"-actions"),E,r&&"".concat(D,"-actions-collapsed")),children:[X,Z]}):null;},[Z,X,D,r,E]),$=(0,s.useMemo)(function(){var t;return null!=e&&null!==(t=e.menu)&&void 0!==t&&t.hideMenuWhenCollapsed&&r?"".concat(D,"-hide-menu-collapsed"):null;},[D,r,null==e||null===(a=e.menu)||void 0===a?void 0:a.hideMenuWhenCollapsed]),Q=c&&(null==c?void 0:c(e)),ee=(0,u.jsxs)(u.Fragment,{children:[W&&(0,u.jsxs)("div",{className:(0,ey.default)([(0,ey.default)("".concat(D,"-logo"),E,(0,p.default)({},"".concat(D,"-logo-collapsed"),r))]),onClick:z?g:void 0,id:"logo",style:O,children:[W,q]}),G&&(0,u.jsx)("div",{className:(0,ey.default)(["".concat(D,"-extra"),!W&&"".concat(D,"-extra-no-logo"),E]),children:G}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:V}),(0,u.jsxs)(tS.Provider,{value:{},children:[w?(0,u.jsx)("div",{className:"".concat(D,"-links ").concat(E).trim(),children:(0,u.jsx)(eW.default,{inlineIndent:16,className:"".concat(D,"-link-menu ").concat(E).trim(),selectedKeys:[],openKeys:[],theme:m,mode:"inline",items:U})}):null,z&&(0,u.jsxs)(u.Fragment,{children:[Y,!Z&&P?(0,u.jsx)("div",{className:(0,ey.default)("".concat(D,"-actions"),E,(0,p.default)({},"".concat(D,"-actions-collapsed"),r)),children:null==P?void 0:P(e)}):null]}),Q&&(0,u.jsx)("div",{className:(0,ey.default)(["".concat(D,"-footer"),E,(0,p.default)({},"".concat(D,"-footer-collapsed"),r)]),children:Q})]})]});return F.wrapSSR((0,u.jsxs)(u.Fragment,{children:[d&&!h&&!$&&(0,u.jsx)("div",{style:(0,S.default)({width:r?64:v,overflow:"hidden",flex:"0 0 ".concat(r?64:v,"px"),maxWidth:r?64:v,minWidth:r?64:v,transition:"all 0.2s ease 0s"},C)}),(0,u.jsxs)(tC,{collapsible:!0,trigger:null,collapsed:r,breakpoint:!1===b?void 0:b,onCollapse:function(e){h||null==f||f(e);},collapsedWidth:64,style:C,theme:m,width:v,className:(0,ey.default)(_,E,$),children:[$?(0,u.jsx)("div",{className:"".concat(D,"-hide-when-collapsed ").concat(E).trim(),style:{height:"100%",width:"100%",opacity:$?0:1},children:ee}):ee,J]})]}));},tI=n("1e3f45fa"),tw=n("ec71d407"),tR=r._(tw),tB=function(e){var t,n,o,l,a;return(0,p.default)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorTextRightActionsItem,"> div":{height:"44px",color:null===(l=e.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:null===(a=e.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorBgRightActionsItemHover}}}}});},tT=["rightContentRender","avatarProps","actionsRender","headerContentRender"],tN=["title","render"],tP=function(e){var t,n=e.rightContentRender,o=e.avatarProps,l=e.actionsRender,a=(e.headerContentRender,(0,x.default)(e,tT)),r=(0,s.useContext)(em.default.ConfigContext).getPrefixCls,i="".concat(r(),"-pro-global-header"),d=(0,eZ.useStyle)("ProLayoutRightContent",function(e){return[tB((0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(i)}))];}),c=d.wrapSSR,f=d.hashId,m=(0,s.useState)("auto"),h=(0,C.default)(m,2),y=h[0],b=h[1],j=(0,s.useMemo)(function(){if(!o)return null;var e=o.title,t=o.render,n=(0,x.default)(o,tN),l=[null!=n&&n.src||null!=n&&n.srcSet||n.icon||n.children?(0,s.createElement)(eF.default,(0,S.default)((0,S.default)({},n),{},{size:28,key:"avatar"})):null,e?(0,u.jsx)("span",{style:{marginInlineStart:8},children:e},"name"):void 0];return t?t(o,(0,u.jsx)("div",{children:l}),a):(0,u.jsx)("div",{children:l});},[o]),k=l||j?function(e){var t=l&&(null==l?void 0:l(e));return t||j?Array.isArray(t)?c((0,u.jsxs)("div",{className:"".concat(i,"-header-actions ").concat(f).trim(),children:[t.filter(Boolean).map(function(e,t){var n,o=!1;return s.default.isValidElement(e)&&(o=!!(null!=e&&null!==(n=e.props)&&void 0!==n&&n["aria-hidden"])),(0,u.jsx)("div",{className:(0,ey.default)("".concat(i,"-header-actions-item ").concat(f),(0,p.default)({},"".concat(i,"-header-actions-hover"),!o)),children:e},t);}),j&&(0,u.jsx)("span",{className:"".concat(i,"-header-actions-avatar ").concat(f).trim(),children:j})]})):c((0,u.jsxs)("div",{className:"".concat(i,"-header-actions ").concat(f).trim(),children:[t,j&&(0,u.jsx)("span",{className:"".concat(i,"-header-actions-avatar ").concat(f).trim(),children:j})]})):null;}:void 0,M=(0,tI.useDebounceFn)((t=(0,g.default)((0,v.default)().mark(function e(t){return(0,v.default)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:b(t);case 1:case"end":return e.stop();}},e);})),function(e){return t.apply(this,arguments);}),160),I=k||n;return(0,u.jsx)("div",{className:"".concat(i,"-right-content ").concat(f).trim(),style:{minWidth:y,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(tR.default,{onResize:function(e){var t=e.width;M.run(t);},children:I?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:I((0,S.default)((0,S.default)({},a),{},{rightContentSize:y}))}):null})})});},tH=function(e){var t,n;return(0,p.default)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,p.default)({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:null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max(((null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader)||56)-12,40),"px")}});},tA=function(e){var t,n,o,l,a,r,i,d=(0,s.useRef)(null),c=e.onMenuHeaderClick,f=e.contentWidth,m=e.rightContentRender,v=e.className,h=e.style,g=e.headerContentRender,y=e.layout,x=e.actionsRender,b=(0,s.useContext)(em.default.ConfigContext).getPrefixCls,C=(0,s.useContext)(k.ProProvider).dark,j="".concat(e.prefixCls||b("pro"),"-top-nav-header"),I=(0,eZ.useStyle)("ProLayoutTopNavHeader",function(e){return[tH((0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(j)}))];}),w=I.wrapSSR,R=I.hashId,B=void 0;void 0!==e.menuHeaderRender?B="menuHeaderRender":("mix"===y||"top"===y)&&(B="headerTitleRender");var T=tk((0,S.default)((0,S.default)({},e),{},{collapsed:!1}),B),N=(0,s.useContext)(k.ProProvider).token,P=(0,s.useMemo)(function(){var t,n,o,l,a,r,i,d,c,s,f,p,m,v=(0,u.jsx)(em.default,{theme:{hashed:(0,k.isNeedOpenHash)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,S.default)({},(0,M.coverToNewToken)({colorItemBg:(null===(t=N.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorBgHeader)||"transparent",colorSubItemBg:(null===(n=N.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgHeader)||"transparent",radiusItem:N.borderRadius,colorItemBgSelected:(null===(o=N.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorBgMenuItemSelected)||(null==N?void 0:N.colorBgTextHover),itemHoverBg:(null===(l=N.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorBgMenuItemHover)||(null==N?void 0:N.colorBgTextHover),colorItemBgSelectedHorizontal:(null===(a=N.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorBgMenuItemSelected)||(null==N?void 0:N.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(null===(r=N.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorTextMenu)||(null==N?void 0:N.colorTextSecondary),colorItemTextHoverHorizontal:(null===(i=N.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorTextMenuActive)||(null==N?void 0:N.colorText),colorItemTextSelectedHorizontal:(null===(d=N.layout)||void 0===d||null===(d=d.header)||void 0===d?void 0:d.colorTextMenuSelected)||(null==N?void 0:N.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:(null===(c=N.layout)||void 0===c||null===(c=c.header)||void 0===c?void 0:c.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:(null===(s=N.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:(null===(f=N.layout)||void 0===f||null===(f=f.header)||void 0===f?void 0:f.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:null==N?void 0:N.colorBgElevated,subMenuItemBg:null==N?void 0:N.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:null==N?void 0:N.colorBgElevated}))},token:{colorBgElevated:(null===(p=N.layout)||void 0===p||null===(p=p.header)||void 0===p?void 0:p.colorBgHeader)||"transparent"}},children:(0,u.jsx)(ty,(0,S.default)((0,S.default)((0,S.default)({theme:C?"dark":"light"},e),{},{className:"".concat(j,"-base-menu ").concat(R).trim()},e.menuProps),{},{style:(0,S.default)({width:"100%"},null===(m=e.menuProps)||void 0===m?void 0:m.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return g?g(e,v):v;},[null===(t=N.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.colorBgHeader,null===(n=N.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.colorBgMenuItemSelected,null===(o=N.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorBgMenuItemHover,null===(l=N.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.colorTextMenu,null===(a=N.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.colorTextMenuActive,null===(r=N.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.colorTextMenuSelected,null===(i=N.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.colorBgMenuElevated,N.borderRadius,null==N?void 0:N.colorBgTextHover,null==N?void 0:N.colorTextSecondary,null==N?void 0:N.colorText,null==N?void 0:N.colorTextBase,N.colorBgElevated,C,e,j,R,g]);return w((0,u.jsx)("div",{className:(0,ey.default)(j,R,v,(0,p.default)({},"".concat(j,"-light"),!0)),style:h,children:(0,u.jsxs)("div",{ref:d,className:(0,ey.default)("".concat(j,"-main"),R,(0,p.default)({},"".concat(j,"-wide"),"Fixed"===f&&"top"===y)),children:[T&&(0,u.jsxs)("div",{className:(0,ey.default)("".concat(j,"-main-left ").concat(R)),onClick:c,children:[(0,u.jsx)(ez.AppsLogoComponents,(0,S.default)({},e)),(0,u.jsx)("div",{className:"".concat(j,"-logo ").concat(R).trim(),id:"logo",children:T},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(j,"-menu ").concat(R).trim(),children:P}),(m||x||e.avatarProps)&&(0,u.jsx)(tP,(0,S.default)((0,S.default)({rightContentRender:m},e),{},{prefixCls:j}))]})}));},tL=function(e){var t,n,o;return(0,p.default)({},e.componentCls,(0,p.default)((0,p.default)((0,p.default)((0,p.default)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:(null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?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:(null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}));},tO=function(e){var t=e.isMobile,n=e.logo,o=e.collapsed,l=e.onCollapse,a=e.rightContentRender,r=e.menuHeaderRender,i=e.onMenuHeaderClick,d=e.className,c=e.style,f=e.layout,m=e.children,v=e.splitMenus,h=e.menuData,g=e.prefixCls,y=(0,s.useContext)(em.default.ConfigContext),x=y.getPrefixCls,b=y.direction,C="".concat(g||x("pro"),"-global-header"),j=(0,eZ.useStyle)("ProLayoutGlobalHeader",function(e){return[tL((0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(C)}))];}),k=j.wrapSSR,M=j.hashId,I=(0,ey.default)(d,C,M);if("mix"===f&&!t&&v){var w=(h||[]).map(function(e){return(0,S.default)((0,S.default)({},e),{},{children:void 0,routes:void 0});}),R=(0,eN.clearMenuItem)(w);return(0,u.jsx)(tA,(0,S.default)((0,S.default)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:R}));}var B=(0,ey.default)("".concat(C,"-logo"),M,(0,p.default)((0,p.default)((0,p.default)({},"".concat(C,"-logo-rtl"),"rtl"===b),"".concat(C,"-logo-mix"),"mix"===f),"".concat(C,"-logo-mobile"),t)),T=(0,u.jsx)("span",{className:B,children:(0,u.jsx)("a",{children:(0,ez.defaultRenderLogo)(n)})},"logo");return k((0,u.jsxs)("div",{className:I,style:(0,S.default)({},c),children:[t&&(0,u.jsx)("span",{className:"".concat(C,"-collapsed-button ").concat(M).trim(),onClick:function(){null==l||l(!o);},children:(0,u.jsx)(eE,{})}),t&&(!1===r?null:r?r(T,null):T),"mix"===f&&!t&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(ez.AppsLogoComponents,(0,S.default)({},e)),(0,u.jsx)("div",{className:B,onClick:i,children:tk((0,S.default)((0,S.default)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:m}),(a||e.actionsRender||e.avatarProps)&&(0,u.jsx)(tP,(0,S.default)({rightContentRender:a},e))]}));},tE=function(e){var t,n,o,l;return(0,p.default)({},"".concat(e.proComponentsCls,"-layout"),(0,p.default)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:(null===(t=e.layout)||void 0===t||null===(t=t.header)||void 0===t?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat((null===(n=e.layout)||void 0===n||null===(n=n.header)||void 0===n?void 0:n.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:(null===(o=e.layout)||void 0===o||null===(o=o.header)||void 0===o?void 0:o.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:(null===(l=e.layout)||void 0===l||null===(l=l.header)||void 0===l?void 0:l.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)"}}));},tz=eh.default.Header,tD=function(e){var t,n,o,l,a,r,i,d=e.isMobile,c=e.fixedHeader,f=e.className,m=e.style,v=e.collapsed,h=e.prefixCls,g=e.onCollapse,y=e.layout,x=e.headerRender,b=e.headerContentRender,j=(0,s.useContext)(k.ProProvider).token,M=(0,s.useContext)(em.default.ConfigContext),I=(0,s.useState)(!1),w=(0,C.default)(I,2),R=w[0],B=w[1],T=c||"mix"===y,N=(0,s.useCallback)(function(){var t="top"===y,n=(0,eN.clearMenuItem)(e.menuData||[]),o=(0,u.jsx)(tO,(0,S.default)((0,S.default)({onCollapse:g},e),{},{menuData:n,children:b&&b(e,null)}));return(t&&!d&&(o=(0,u.jsx)(tA,(0,S.default)((0,S.default)({mode:"horizontal",onCollapse:g},e),{},{menuData:n}))),x&&"function"==typeof x)?x(e,o):o;},[b,x,d,y,g,e]);(0,s.useEffect)(function(){var e,t=(null==M||null===(e=M.getTargetContainer)||void 0===e?void 0:e.call(M))||document.body,n=function(){var e;return t.scrollTop>((null===(e=j.layout)||void 0===e||null===(e=e.header)||void 0===e?void 0:e.heightLayoutHeader)||56)&&!R?(B(!0),!0):(R&&B(!1),!1);};if(T&&"undefined"!=typeof window)return t.addEventListener("scroll",n,{passive:!0}),function(){t.removeEventListener("scroll",n);};},[null===(a=j.layout)||void 0===a||null===(a=a.header)||void 0===a?void 0:a.heightLayoutHeader,T,R]);var P="".concat(h,"-layout-header"),H=(0,eZ.useStyle)("ProLayoutHeader",function(e){return[tE((0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(P)}))];}),A=H.wrapSSR,L=H.hashId,O=(t="".concat(P,".").concat(P,"-stylish"),o=(n={proLayoutCollapsedWidth:64,stylish:e.stylish}).stylish,l=n.proLayoutCollapsedWidth,(0,eZ.useStyle)("ProLayoutHeaderStylish",function(e){var n=(0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:l});return o?[(0,p.default)({},"div".concat(e.proComponentsCls,"-layout"),(0,p.default)({},"".concat(n.componentCls),null==o?void 0:o(n)))]:[];})),E=(0,ey.default)(f,L,P,(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(P,"-fixed-header"),T),"".concat(P,"-fixed-header-scroll"),R),"".concat(P,"-mix"),"mix"===y),"".concat(P,"-fixed-header-action"),!v),"".concat(P,"-top-menu"),"top"===y),"".concat(P,"-header"),!0),"".concat(P,"-stylish"),!!e.stylish));return"side"!==y||d?O.wrapSSR(A((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(em.default,{theme:{hashed:(0,k.isNeedOpenHash)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[T&&(0,u.jsx)(tz,{style:(0,S.default)({height:(null===(r=j.layout)||void 0===r||null===(r=r.header)||void 0===r?void 0:r.heightLayoutHeader)||56,lineHeight:"".concat((null===(i=j.layout)||void 0===i||null===(i=i.header)||void 0===i?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},m)}),(0,u.jsx)(tz,{className:E,style:m,children:N()})]})}))):null;},tF=n("f9a266b4"),t_=n("4175825c"),tW=n("04f9d9ff"),tG=r._(tW),tK=new(n("398ab4d8")).Keyframes("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),tU=function(e){var t,n,o,l,a,r,i,u,d,c,s,f;return(0,p.default)({},"".concat(e.proComponentsCls,"-layout"),(0,p.default)((0,p.default)((0,p.default)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:(null===(t=e.layout)||void 0===t||null===(t=t.sider)||void 0===t?void 0:t.colorMenuBackground)||"transparent"}),e.componentCls,(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({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:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.paddingInlineLayoutMenu,paddingBlock:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),(0,p.default)((0,p.default)({},"".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:null===(l=e.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:null===(a=e.layout)||void 0===a||null===(a=a.sider)||void 0===a?void 0:a.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat(null===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.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:null===(i=e.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorTextMenuTitle,animationName:tK,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,p.default)({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:null===(u=e.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:null===(d=e.layout)||void 0===d||null===(d=d.sider)||void 0===d?void 0:d.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:null===(c=e.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:tK,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((null===(s=e.layout)||void 0===s||null===(s=s.header)||void 0===s?void 0:s.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat((null===(f=e.layout)||void 0===f||null===(f=f.header)||void 0===f?void 0:f.heightLayoutHeader)||56,"px")}}));},tV=function(e){var t,n,o=e.isMobile,l=e.siderWidth,a=e.collapsed,r=e.onCollapse,i=e.style,d=e.className,c=e.hide,f=e.prefixCls,p=e.getContainer,m=(0,s.useContext)(k.ProProvider).token;(0,s.useEffect)(function(){!0===o&&(null==r||r(!0));},[o]);var v=(0,ej.default)(e,["className","style"]),h=s.default.useContext(em.default.ConfigContext).direction,g=(t="".concat(f,"-sider"),(0,eZ.useStyle)("ProLayoutSiderMenu",function(e){return[tU((0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(t),proLayoutCollapsedWidth:64}))];})),y=g.wrapSSR,x=g.hashId,b=(0,ey.default)("".concat(f,"-sider"),d,x);if(c)return null;var C=(0,t_.openVisibleCompatible)(!a,function(){return null==r?void 0:r(!0);});return y(o?(0,u.jsx)(tG.default,(0,S.default)((0,S.default)({placement:"rtl"===h?"right":"left",className:(0,ey.default)("".concat(f,"-drawer-sider"),d)},C),{},{style:(0,S.default)({padding:0,height:"100vh"},i),onClose:function(){null==r||r(!0);},maskClosable:!0,closable:!1,getContainer:p||!1,width:l,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:null===(n=m.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.colorMenuBackground}},children:(0,u.jsx)(tM,(0,S.default)((0,S.default)({},v),{},{isMobile:!0,className:b,collapsed:!o&&a,splitMenus:!1,originCollapsed:a}))})):(0,u.jsx)(tM,(0,S.default)((0,S.default)({className:b,originCollapsed:a},v),{},{style:i})));},tX=n("0b6beeba"),tZ=n("33a06475"),tq=function(e,t,n){if(n){var o=(0,eQ.default)(n.keys()).find(function(t){try{if(t.startsWith("http"))return!1;return(0,tZ.match)(t)(e);}catch(e){return console.log("key",t,e),!1;}});if(o)return n.get(o);}if(t){var l=Object.keys(t).find(function(t){try{if(null!=t&&t.startsWith("http"))return!1;return(0,tZ.match)(t)(e);}catch(e){return console.log("key",t,e),!1;}});if(l)return t[l];}return{path:""};},tJ=function(e,t){var n=e.pathname,o=e.breadcrumb,l=e.breadcrumbMap,a=e.formatMessage,r=e.title,i=e.menu,u=t?"":r||"",d=tq(void 0===n?"/":n,o,l);if(!d)return{title:u,id:"",pageName:u};var c=d.name;return(!1!==(void 0===i?{locale:!1}:i).locale&&d.locale&&a&&(c=a({id:d.locale||"",defaultMessage:d.name})),c)?t||!r?{title:c,id:d.locale||"",pageName:c}:{title:"".concat(c," - ").concat(r),id:d.locale||"",pageName:c}:{title:u,id:d.locale||"",pageName:u};},tY=n("6e641d62"),t$=n("1054d627"),tQ=function(){var e;return void 0===t$?eV.default:(null===(e=t$)||void 0===e||null===(e=e.env)||void 0===e?void 0:e.ANTD_VERSION)||eV.default;},t0=function(e){var t,n,o,l,a,r,i,u,d,c,s,f,m,v,h,g,y,x,b,C,j,S,k,M,I,w,R,B,T,N,P,H;return null!==(t=tQ())&&void 0!==t&&t.startsWith("5")?{}:(0,p.default)((0,p.default)((0,p.default)({},e.componentCls,(0,p.default)((0,p.default)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(j={color:null===(n=e.layout)||void 0===n||null===(n=n.sider)||void 0===n?void 0:n.colorTextMenu},(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)(j,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:null===(o=e.layout)||void 0===o||null===(o=o.sider)||void 0===o?void 0:o.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,p.default)((0,p.default)({color:null===(l=e.layout)||void 0===l||null===(l=l.sider)||void 0===l?void 0:l.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,p.default)({},"".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, \n ").concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,p.default)({},"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active, \n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,p.default)({color:null===(a=e.layout)||void 0===a||null===(a=a.sider)||void 0===a?void 0:a.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(r=e.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:null===(i=e.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,p.default)({color:null===(u=e.layout)||void 0===u||null===(u=u.sider)||void 0===u?void 0:u.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat(null===(d=e.layout)||void 0===d||null===(d=d.header)||void 0===d?void 0:d.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(c=e.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:null===(s=e.layout)||void 0===s||null===(s=s.sider)||void 0===s?void 0:s.colorTextMenuSelected}),(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)(j,"".concat(e.antCls,"-menu-submenu-selected"),{color:null===(f=e.layout)||void 0===f||null===(f=f.sider)||void 0===f?void 0:f.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:null===(m=e.layout)||void 0===m||null===(m=m.sider)||void 0===m?void 0:m.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,p.default)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:null===(v=e.layout)||void 0===v||null===(v=v.sider)||void 0===v?void 0:v.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:null===(h=e.layout)||void 0===h||null===(h=h.sider)||void 0===h?void 0:h.colorTextMenuActive}),"&".concat(e.antCls,"-menu-horizontal"),(0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item:hover,\n ").concat(e.antCls,"-menu-submenu:hover,\n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:null===(g=e.layout)||void 0===g||null===(g=g.header)||void 0===g?void 0:g.colorTextMenuActive,backgroundColor:"".concat(null===(y=e.layout)||void 0===y||null===(y=y.header)||void 0===y?void 0:y.colorBgMenuItemHover," !important")}),"".concat(e.antCls,"-menu-item-open,\n ").concat(e.antCls,"-menu-submenu-open,\n ").concat(e.antCls,"-menu-item-selected,\n ").concat(e.antCls,"-menu-submenu-selected"),(0,p.default)({backgroundColor:null===(x=e.layout)||void 0===x||null===(x=x.header)||void 0===x?void 0:x.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat(null===(b=e.layout)||void 0===b||null===(b=b.header)||void 0===b?void 0:b.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat(null===(C=e.layout)||void 0===C||null===(C=C.header)||void 0===C?void 0:C.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,p.default)((0,p.default)({},"&".concat(e.antCls,"-menu"),(0,p.default)({color:null===(S=e.layout)||void 0===S||null===(S=S.header)||void 0===S?void 0:S.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-active, \n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,p.default)({color:null===(k=e.layout)||void 0===k||null===(k=k.header)||void 0===k?void 0:k.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:null===(M=e.layout)||void 0===M||null===(M=M.header)||void 0===M?void 0:M.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(I=e.layout)||void 0===I||null===(I=I.header)||void 0===I?void 0:I.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:null===(w=e.layout)||void 0===w||null===(w=w.header)||void 0===w?void 0:w.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:null===(R=e.layout)||void 0===R||null===(R=R.header)||void 0===R?void 0:R.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,p.default)((0,p.default)((0,p.default)((0,p.default)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,p.default)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,"-menu-item:active, \n ").concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:null===(B=e.layout)||void 0===B||null===(B=B.sider)||void 0===B?void 0:B.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:null===(T=e.layout)||void 0===T||null===(T=T.sider)||void 0===T?void 0:T.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,p.default)((0,p.default)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:null===(N=e.layout)||void 0===N||null===(N=N.sider)||void 0===N?void 0:N.colorTextMenuSelected}),"".concat(e.antCls,"-menu-item:hover, \n ").concat(e.antCls,"-menu-item-active,\n ").concat(e.antCls,"-menu-submenu-title:hover"),(0,p.default)({color:null===(P=e.layout)||void 0===P||null===(P=P.sider)||void 0===P?void 0:P.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:null===(H=e.layout)||void 0===H||null===(H=H.sider)||void 0===H?void 0:H.colorTextMenuActive}))));},t1=function(e){var t,n,o,l;return(0,p.default)((0,p.default)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:(null===(t=e.layout)||void 0===t||null===(t=t.pageContainer)||void 0===t?void 0:t.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:null===(n=e.layout)||void 0===n||null===(n=n.pageContainer)||void 0===n?void 0:n.paddingBlockPageContainerContent,paddingInline:null===(o=e.layout)||void 0===o||null===(o=o.pageContainer)||void 0===o?void 0:o.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:null===(l=e.layout)||void 0===l?void 0:l.bgLayout}));},t2=n("ca3807c9"),t4=function(){var e;return void 0===t$?eV.default:(null===(e=t$)||void 0===e||null===(e=e.env)||void 0===e?void 0:e.ANTD_VERSION)||eV.default;},t5=function(e,t,n){var o=e.breadcrumbName,l=e.title,a=e.path;return n.findIndex(function(t){return t.linkPath===e.path;})===n.length-1?(0,u.jsx)("span",{children:l||o}):(0,u.jsx)("span",{onClick:a?function(){return location.href=a;}:void 0,children:l||o});},t8=function(e,t){var n=t.formatMessage,o=t.menu;return e.locale&&n&&(null==o?void 0:o.locale)!==!1?n({id:e.locale,defaultMessage:e.name}):e.name;},t6=function(e,t){var n=e.get(t);if(!n){var o=(Array.from(e.keys())||[]).find(function(e){try{if(null!=e&&e.startsWith("http"))return!1;return(0,tZ.match)(e.replace("?",""))(t);}catch(t){return console.log("path",e,t),!1;}});o&&(n=e.get(o));}return n||{path:""};},t3=function(e){var t={location:e.location,breadcrumbMap:e.breadcrumbMap},n=t.location,o=t.breadcrumbMap;return n&&n.pathname&&o?(function(e){if(!e||"/"===e)return["/"];var t=e.split("/").filter(function(e){return e;});return t.map(function(e,n){return"/".concat(t.slice(0,n+1).join("/"));});})(null==n?void 0:n.pathname).map(function(t){var n=t6(o,t),l=t8(n,e),a=n.hideInBreadcrumb;return l&&!a?{linkPath:t,breadcrumbName:l,title:l,component:n.component}:{linkPath:"",breadcrumbName:"",title:""};}).filter(function(e){return e&&e.linkPath;}):[];},t9=function(e,t){var n=e.breadcrumbRender,o=e.itemRender,l=(t.breadcrumbProps||{}).minLength,a=t3(e),r=function(e){for(var t=o||t5,n=arguments.length,l=Array(n>1?n-1:0),a=1;a<n;a++)l[a-1]=arguments[a];return null==t?void 0:t.apply(void 0,[(0,S.default)((0,S.default)({},e),{},{path:e.linkPath||e.path})].concat(l));},i=a;return n&&(i=n(i||[])||void 0),(i&&i.length<(void 0===l?2:l)||!1===n)&&(i=void 0),(0,t2.compareVersions)(t4(),"5.3.0")>-1?{items:i,itemRender:r}:{routes:i,itemRender:r};},t7=function e(t,n,o,l){var a=er(t,(null==n?void 0:n.locale)||!1,o,!0),r=a.menuData,i=a.breadcrumb;return l?e(l(r),n,o,void 0):{breadcrumb:(0,eQ.default)(i).reduce(function(e,t){var n=(0,C.default)(t,2),o=n[0],l=n[1];return e[o]=l,e;},{}),breadcrumbMap:i,menuData:r};},ne=n("99c0cd4c"),nt=r._(ne),nn=n("87ed5a26"),no=function(e){var t=(0,s.useState)({}),n=(0,C.default)(t,2),o=n[0],l=n[1];return(0,s.useEffect)(function(){l((0,nn.omitUndefined)({layout:"object"!==(0,nt.default)(e.layout)?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]),o;},nl=["id","defaultMessage"],na=["fixSiderbar","navTheme","layout"],nr=0,ni=function(e,t){var n;return!1===e.headerRender||e.pure?null:(0,u.jsx)(tD,(0,S.default)((0,S.default)({matchMenuKeys:t},e),{},{stylish:null===(n=e.stylish)||void 0===n?void 0:n.header}));},nu=function(e,t){var n,o=e.layout,l=e.isMobile,a=e.selectedKeys,r=e.openKeys,i=e.splitMenus,d=e.suppressSiderWhenMenuEmpty,c=e.menuRender;if(!1===e.menuRender||e.pure)return null;var s=e.menuData;if(i&&(!1!==r||"mix"===o)&&!l){var f,p,m=a||t,v=(0,C.default)(m,1)[0];s=v&&(null===(p=e.menuData)||void 0===p||null===(p=p.find(function(e){return e.key===v;}))||void 0===p?void 0:p.children)||[];}var h=(0,eN.clearMenuItem)(s||[]);if(h&&(null==h?void 0:h.length)<1&&(i||d))return null;if("top"===o&&!l)return(0,u.jsx)(tV,(0,S.default)((0,S.default)({matchMenuKeys:t},e),{},{hide:!0,stylish:null===(n=e.stylish)||void 0===n?void 0:n.sider}));var g=(0,u.jsx)(tV,(0,S.default)((0,S.default)({matchMenuKeys:t},e),{},{menuData:h,stylish:null===(f=e.stylish)||void 0===f?void 0:f.sider}));return c?c(e,g):g;},nd=function(e,t){var n=t.pageTitleRender,o=tJ(e);if(!1===n)return{title:t.title||"",id:"",pageName:""};if(n){var l=n(e,o.title,o);if("string"==typeof l)return tJ((0,S.default)((0,S.default)({},o),{},{title:l}));(0,ek.default)("string"==typeof l,"pro-layout: renderPageTitle return value should be a string");}return o;},nc=function(e){var t,n,o,l,a,r,i,d,c,f,m,h,y,b,j,I,T=e||{},N=T.children,P=T.onCollapse,H=T.location,A=void 0===H?{pathname:"/"}:H,L=T.contentStyle,O=T.route,E=T.defaultCollapsed,z=T.style,D=T.siderWidth,F=T.menu,_=T.siderMenuType,W=T.isChildrenLayout,G=T.menuDataRender,K=T.actionRef,U=T.bgLayoutImgList,V=T.formatMessage,X=T.loading,Z=(0,s.useMemo)(function(){return D||("mix"===e.layout?215:256);},[e.layout,D]),q=(0,s.useContext)(em.default.ConfigContext),J=null!==(o=e.prefixCls)&&void 0!==o?o:q.getPrefixCls("pro"),Y=(0,B.useMountMergeState)(!1,{value:null==F?void 0:F.loading,onChange:null==F?void 0:F.onLoadingChange}),$=(0,C.default)(Y,2),Q=$[0],ee=$[1],et=(0,s.useState)(function(){return nr+=1,"pro-layout-".concat(nr);}),en=(0,C.default)(et,1)[0],eo=(0,s.useCallback)(function(e){var t=e.id,n=e.defaultMessage,o=(0,x.default)(e,nl);if(V)return V((0,S.default)({id:t,defaultMessage:n},o));var l=(0,tY.gLocaleObject)();return l[t]?l[t]:n;},[V]),el=(0,eI.default)([en,null==F?void 0:F.params],(t=(0,g.default)((0,v.default)().mark(function e(t){var n,o,l;return(0,v.default)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=(0,C.default)(t,2)[1],ee(!0),e.next=4,null==F||null===(n=F.request)||void 0===n?void 0:n.call(F,o||{},(null==O?void 0:O.children)||(null==O?void 0:O.routes)||[]);case 4:return l=e.sent,ee(!1),e.abrupt("return",l);case 7:case"end":return e.stop();}},e);})),function(e){return t.apply(this,arguments);}),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),ea=el.data,er=el.mutate,ei=el.isLoading;(0,s.useEffect)(function(){ee(ei);},[ei]);var eu=(0,eI.useSWRConfig)().cache;(0,s.useEffect)(function(){return function(){eu instanceof Map&&eu.delete(en);};},[]);var ed=(0,s.useMemo)(function(){return t7(ea||(null==O?void 0:O.children)||(null==O?void 0:O.routes)||[],F,eo,G);},[eo,F,G,ea,null==O?void 0:O.children,null==O?void 0:O.routes])||{},ec=ed.breadcrumb,es=ed.breadcrumbMap,ep=ed.menuData,ev=void 0===ep?[]:ep;K&&null!=F&&F.request&&(K.current={reload:function(){er();}});var eg=(0,s.useMemo)(function(){return ef(A.pathname||"/",ev||[],!0);},[A.pathname,ev]),ex=(0,s.useMemo)(function(){return Array.from(new Set(eg.map(function(e){return e.key||e.path||"";})));},[eg]),eC=eg[eg.length-1]||{},eS=no(eC),ek=(0,S.default)((0,S.default)({},e),eS),eM=ek.fixSiderbar,ew=(ek.navTheme,ek.layout),eB=(0,x.default)(ek,na),eN=(0,w.useBreakpoint)(),eP=(0,s.useMemo)(function(){return("sm"===eN||"xs"===eN)&&!e.disableMobile;},[eN,e.disableMobile]),eH="top"!==ew&&!eP,eA=(0,eb.default)(function(){return void 0!==E?E:!!eP||"md"===eN;},{value:e.collapsed,onChange:P}),eL=(0,C.default)(eA,2),eO=eL[0],eE=eL[1],ez=(0,ej.default)((0,S.default)((0,S.default)((0,S.default)({prefixCls:J},e),{},{siderWidth:Z},eS),{},{formatMessage:eo,breadcrumb:ec,menu:(0,S.default)((0,S.default)({},F),{},{type:_||(null==F?void 0:F.type),loading:Q}),layout:ew}),["className","style","breadcrumbRender"]),eD=nd((0,S.default)((0,S.default)({pathname:A.pathname},ez),{},{breadcrumbMap:es}),e),eF=t9((0,S.default)((0,S.default)({},ez),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:es}),e),e_=nu((0,S.default)((0,S.default)({},ez),{},{menuData:ev,onCollapse:eE,isMobile:eP,collapsed:eO}),ex),eW=ni((0,S.default)((0,S.default)({},ez),{},{children:null,hasSiderMenu:!!e_,menuData:ev,isMobile:eP,collapsed:eO,onCollapse:eE}),ex),eG=!1===(n=(0,S.default)({isMobile:eP,collapsed:eO},ez)).footerRender||n.pure?null:n.footerRender?n.footerRender((0,S.default)({},n),(0,u.jsx)(eT.DefaultFooter,{})):null,eK=(0,s.useContext)(tX.RouteContext).isChildrenLayout,eU=void 0!==W?W:eK,eV="".concat(J,"-layout"),eX=(0,eZ.useStyle)("ProLayout",function(e){var t=(0,S.default)((0,S.default)({},e),{},{componentCls:".".concat(eV)});return[t1(t),t0(t)];}),eq=eX.wrapSSR,eJ=eX.hashId,eY=(0,ey.default)(e.className,eJ,"ant-design-pro",eV,(0,p.default)((0,p.default)((0,p.default)((0,p.default)((0,p.default)({},"screen-".concat(eN),eN),"".concat(eV,"-top-menu"),"top"===ew),"".concat(eV,"-is-children"),eU),"".concat(eV,"-fix-siderbar"),eM),"".concat(eV,"-").concat(ew),ew)),e$=eH?eO?64:Z:0,eQ={position:"relative"};(eU||L&&L.minHeight)&&(eQ.minHeight=0),(0,s.useEffect)(function(){var t;null===(t=e.onPageChange)||void 0===t||t.call(e,e.location);},[A.pathname,null===(l=A.pathname)||void 0===l?void 0:l.search]);var e0=(0,s.useState)(!1),e1=(0,C.default)(e0,2),e2=e1[0],e4=e1[1],e5=(0,s.useState)(0),e8=(0,C.default)(e5,2),e6=e8[0],e3=e8[1];(0,R.useDocumentTitle)(eD,e.title||!1);var e9=(0,s.useContext)(k.ProProvider).token,e7=(0,s.useMemo)(function(){return U&&U.length>0?null==U?void 0:U.map(function(e,t){return(0,u.jsx)("img",{src:e.src,style:(0,S.default)({position:"absolute"},e)},t);}):null;},[U]);return eq((0,u.jsx)(tX.RouteContext.Provider,{value:(0,S.default)((0,S.default)({},ez),{},{breadcrumb:eF,menuData:ev,isMobile:eP,collapsed:eO,hasPageContainer:e6,setHasPageContainer:e3,isChildrenLayout:!0,title:eD.pageName,hasSiderMenu:!!e_,hasHeader:!!eW,siderWidth:e$,hasFooter:!!eG,hasFooterToolbar:e2,setHasFooterToolbar:e4,pageTitleInfo:eD,matchMenus:eg,matchMenuKeys:ex,currentMenu:eC}),children:e.pure?(0,u.jsx)(u.Fragment,{children:N}):(0,u.jsxs)("div",{className:eY,children:[e7||null!==(a=e9.layout)&&void 0!==a&&a.bgLayout?(0,u.jsx)("div",{className:(0,ey.default)("".concat(eV,"-bg-list"),eJ),children:e7}):null,(0,u.jsxs)(eh.default,{style:(0,S.default)({minHeight:"100%",flexDirection:e_?"row":void 0},z),children:[(0,u.jsx)(em.default,{theme:{hashed:(0,k.isNeedOpenHash)(),token:{controlHeightLG:(null===(r=e9.layout)||void 0===r||null===(r=r.sider)||void 0===r?void 0:r.menuHeight)||(null==e9?void 0:e9.controlHeightLG)},components:{Menu:(0,M.coverToNewToken)({colorItemBg:(null===(i=e9.layout)||void 0===i||null===(i=i.sider)||void 0===i?void 0:i.colorMenuBackground)||"transparent",colorSubItemBg:(null===(d=e9.layout)||void 0===d||null===(d=d.sider)||void 0===d?void 0:d.colorMenuBackground)||"transparent",radiusItem:e9.borderRadius,colorItemBgSelected:(null===(c=e9.layout)||void 0===c||null===(c=c.sider)||void 0===c?void 0:c.colorBgMenuItemSelected)||(null==e9?void 0:e9.colorBgTextHover),colorItemBgHover:(null===(f=e9.layout)||void 0===f||null===(f=f.sider)||void 0===f?void 0:f.colorBgMenuItemHover)||(null==e9?void 0:e9.colorBgTextHover),colorItemBgActive:(null===(m=e9.layout)||void 0===m||null===(m=m.sider)||void 0===m?void 0:m.colorBgMenuItemActive)||(null==e9?void 0:e9.colorBgTextActive),colorItemBgSelectedHorizontal:(null===(h=e9.layout)||void 0===h||null===(h=h.sider)||void 0===h?void 0:h.colorBgMenuItemSelected)||(null==e9?void 0:e9.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:(null===(y=e9.layout)||void 0===y||null===(y=y.sider)||void 0===y?void 0:y.colorTextMenu)||(null==e9?void 0:e9.colorTextSecondary),colorItemTextHover:(null===(b=e9.layout)||void 0===b||null===(b=b.sider)||void 0===b?void 0:b.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:(null===(j=e9.layout)||void 0===j||null===(j=j.sider)||void 0===j?void 0:j.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:null==e9?void 0:e9.colorBgElevated,subMenuItemBg:null==e9?void 0:e9.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:null==e9?void 0:e9.colorBgElevated})}},children:e_}),(0,u.jsxs)("div",{style:eQ,className:"".concat(eV,"-container ").concat(eJ).trim(),children:[eW,(0,u.jsx)(eR,(0,S.default)((0,S.default)({hasPageContainer:e6,isChildrenLayout:eU},eB),{},{hasHeader:!!eW,prefixCls:eV,style:L,children:X?(0,u.jsx)(tF.PageLoading,{}):N})),eG,e2&&(0,u.jsx)("div",{className:"".concat(eV,"-has-footer"),style:{height:64,marginBlockStart:null===(I=e9.layout)||void 0===I||null===(I=I.pageContainer)||void 0===I?void 0:I.paddingBlockPageContainerContent}})]})]})]})}));},ns=function(e){var t=e.colorPrimary,n=void 0!==e.navTheme?{dark:"realDark"===e.navTheme}:{};return(0,u.jsx)(em.default,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,u.jsx)(k.ProConfigProvider,(0,S.default)((0,S.default)({},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(nc,(0,S.default)((0,S.default)({logo:(0,u.jsx)(eB,{})},tc.defaultSettings),{},{location:(0,I.isBrowser)()?window.location:void 0},e))}))});};let nf=()=>(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,u.jsxs)("defs",{children:[(0,u.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,u.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,u.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,u.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,u.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,u.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,u.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,u.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,u.jsx)("g",{transform:"translate(-20 -20)",children:(0,u.jsx)("g",{transform:"translate(20 20)",children:(0,u.jsxs)("g",{children:[(0,u.jsxs)("g",{fillRule:"nonzero",children:[(0,u.jsxs)("g",{children:[(0,u.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,u.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,u.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,u.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]});var np=n("8873cb98"),nm=r._(np),nv=n("38ab0c18"),nh=r._(nv);let ng=e=>{var t,n;return!e.route&&(e.noFound||e.notFound)||(null===(t=e.route)||void 0===t?void 0:t.unaccessible)&&(e.unAccessible||e.noAccessible)||(!e.route||(null===(n=e.route)||void 0===n?void 0:n.unaccessible))&&(0,u.jsx)(nm.default,{status:e.route?"403":"404",title:e.route?"403":"404",subTitle:e.route?"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762":"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,u.jsx)(nh.default,{type:"primary",onClick:()=>d.history.push("/"),children:"\u8FD4\u56DE\u9996\u9875"})})||e.children;};var ny=n("61d82ba1"),nx=r._(ny),nb=n("e68da947"),nC=r._(nb),nj=n("668f64e3"),nS=r._(nj),nk=n("254eba48"),nM=r._(nk),nI=s.forwardRef(function(e,t){return s.createElement(nM.default,(0,S.default)((0,S.default)({},e),{},{ref:t,icon:nS.default}));}),nw=n("a07ca92d"),nR=n("3a3ad302"),nB=n("0a6434f7");let nT=(e,t)=>{if(0===e.length)return[];let n=[];for(let o of e){let e={...o};t(o)?Array.isArray(e.routes)&&n.push(...nT(e.routes,t)):(Array.isArray(e.children)&&(e.children=nT(e.children,t),e.routes=e.children),n.push(e));}return n;},nN=e=>0===e.length?[]:e.map(e=>{let t={...e};return e.originPath&&(t.path=e.originPath),Array.isArray(e.routes)&&(t.routes=nN(e.routes)),Array.isArray(e.children)&&(t.children=nN(e.children)),t;});var nP=e=>{let t=(0,d.useLocation)(),n=(0,d.useNavigate)(),{clientRoutes:o,pluginManager:l}=(0,d.useAppData)(),a=nR.useModel&&(0,nR.useModel)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},{initialState:r,loading:i,setInitialState:c}=a,f={locale:!0,navTheme:"light",colorPrimary:"#1890ff",layout:"mix",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"Ant Design Pro",pwa:!0,logo:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg",iconfontUrl:"",token:{}},{formatMessage:p}=(0,nw.useIntl)(),m=l.applyPlugins({key:"layout",type:"modify",initialValue:{...a}}),v=nT(o.filter(e=>"ant-design-pro-layout"===e.id),e=>!!e.isLayout&&"ant-design-pro-layout"!==e.id||!!e.isWrapper),[h]=(0,nB.useAccessMarkedRoutes)(nN(v)),g=(0,s.useMemo)(()=>{var e,n,o;return null===(o=(0,d.matchRoutes)(h.children,t.pathname))||void 0===o?void 0:null===(n=o.pop)||void 0===n?void 0:null===(e=n.call(o))||void 0===e?void 0:e.route;},[t.pathname]);return(0,u.jsx)(ns,{route:h,location:t,title:f.title||"ant-design-pro",navTheme:"dark",siderWidth:256,onMenuHeaderClick:e=>{e.stopPropagation(),e.preventDefault(),n("/");},formatMessage:f.formatMessage||p,menu:{locale:f.locale},logo:nf,menuItemRender:(e,n)=>e.isUrl||e.children?n:e.path&&t.pathname!==e.path?(0,u.jsx)(d.Link,{to:e.path.replace("/*",""),target:e.target,children:n}):n,itemRender:(e,t,n)=>{let{breadcrumbName:o,title:l,path:a}=e,r=l||o,i=n[n.length-1];return i&&(i.path===a||i.linkPath===a)?(0,u.jsx)("span",{children:r}):(0,u.jsx)(d.Link,{to:a,children:r});},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,...m,rightContentRender:!1!==m.rightContentRender&&(e=>{let t=function(e){var t,n,o,l,a;let r;if(e.runtimeConfig.rightRender)return e.runtimeConfig.rightRender(e.initialState,e.setInitialState,e.runtimeConfig);let i=(null===(t=e.initialState)||void 0===t?void 0:t.avatar)||(null===(n=e.initialState)||void 0===n?void 0:n.name)||e.runtimeConfig.logout,d=(null===(o=e.initialState)||void 0===o?void 0:o.avatar)===!1,c=i?(0,u.jsxs)("span",{className:"umi-plugin-layout-action",children:[d?null:(0,u.jsx)(eF.default,{size:"small",className:"umi-plugin-layout-avatar",src:(null===(l=e.initialState)||void 0===l?void 0:l.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,u.jsx)("span",{className:d?"umi-plugin-layout-name umi-plugin-layout-hide-avatar-img":"umi-plugin-layout-name",children:null===(a=e.initialState)||void 0===a?void 0:a.name})]}):null;if(e.loading)return(0,u.jsx)("div",{className:"umi-plugin-layout-right",children:(0,u.jsx)(nC.default,{size:"small",style:{marginLeft:8,marginRight:8}})});let s={className:"umi-plugin-layout-menu",selectedKeys:[],items:[{key:"logout",label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(nI,{}),"\u9000\u51FA\u767B\u5F55"]}),onClick:()=>{var t,n;null==e||null===(n=e.runtimeConfig)||void 0===n||null===(t=n.logout)||void 0===t||t.call(n,e.initialState);}}]};return r=eV.default.startsWith("5.")||eV.default.startsWith("4.24.")?{menu:s}:eV.default.startsWith("3.")?{overlay:(0,u.jsx)(eW.default,{children:s.items.map(e=>(0,u.jsx)(eW.default.Item,{onClick:e.onClick,children:e.label},e.key))})}:{overlay:(0,u.jsx)(eW.default,{...s})},(0,u.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[e.runtimeConfig.logout?(0,u.jsx)(nx.default,{...r,overlayClassName:"umi-plugin-layout-container",children:c}):c,(0,u.jsx)(nw.SelectLang,{})]});}({runtimeConfig:m,loading:i,initialState:r,setInitialState:c});return m.rightContentRender?m.rightContentRender(e,t,{userConfig:f,runtimeConfig:m,loading:i,initialState:r,setInitialState:c}):t;}),children:(0,u.jsx)(ng,{route:g,noFound:null==m?void 0:m.noFound,notFound:null==m?void 0:m.notFound,unAccessible:null==m?void 0:m.unAccessible,noAccessible:null==m?void 0:m.noAccessible,children:m.childrenRender?m.childrenRender((0,u.jsx)(d.Outlet,{}),e):(0,u.jsx)(d.Outlet,{})})});};}}]);
|
|
//# sourceMappingURL=59cf2cec-async.40fc054c.js.map
|