You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
106 KiB

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