PageSourceSearch

https://newtype.com.cn/shared-RYLw6uM19gno6DmW73atMhRUODk_.5312b868.async.js

js newtype.com.cn collected 2026-10-04 14:02:42 UTC 104,598 bytes, 26 lines download raw bytes

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

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.