|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- var In=(k,U)=>(U=Symbol[k])?U:Symbol.for("Symbol."+k),Go=k=>{throw TypeError(k)};var Vo=function(k,U){this[0]=k,this[1]=U};var Rn=k=>{var U=k[In("asyncIterator")],f=!1,o,T={};return U==null?(U=k[In("iterator")](),o=H=>T[H]=D=>U[H](D)):(U=U.call(k),o=H=>T[H]=D=>{if(f){if(f=!1,H==="throw")throw D;return D}return f=!0,{done:!1,value:new Vo(new Promise(R=>{var s=U[H](D);s instanceof Object||Go("Object expected"),R(s)}),1)}}),T[In("iterator")]=()=>T,o("next"),"throw"in U?o("throw"):T.throw=H=>{throw H},"return"in U&&o("return"),T};(self.webpackChunk=self.webpackChunk||[]).push([[7217],{77082:function(k,U,f){"use strict";f.d(U,{f:function(){return Bo}});var o=f(4942),T=f(74165),H=f(15861),D=f(45987),R=f(97685),s=f(1413),te=f(89451),ne=f(21770),p=f(67294);function pe(r){var e=typeof window=="undefined",t=(0,p.useState)(function(){return e?!1:window.matchMedia(r).matches}),n=(0,R.Z)(t,2),a=n[0],l=n[1];return(0,p.useLayoutEffect)(function(){if(!e){var i=window.matchMedia(r),c=function(v){return l(v.matches)};return i.addListener(c),function(){return i.removeListener(c)}}},[r]),a}var ie={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)"}},Ce=function(){var e=void 0;if(typeof window=="undefined")return e;var t=Object.keys(ie).find(function(n){var a=ie[n].matchMedia;return!!window.matchMedia(a).matches});return e=t,e},Re=function(){var e=pe(ie.md.matchMedia),t=pe(ie.lg.matchMedia),n=pe(ie.xxl.matchMedia),a=pe(ie.xl.matchMedia),l=pe(ie.sm.matchMedia),i=pe(ie.xs.matchMedia),c=(0,p.useState)(Ce()),d=(0,R.Z)(c,2),v=d[0],m=d[1];return(0,p.useEffect)(function(){if(n){m("xxl");return}if(a){m("xl");return}if(t){m("lg");return}if(e){m("md");return}if(l){m("sm");return}if(i){m("xs");return}m("md")},[e,t,n,a,l,i]),v},Me=f(12044);function N(r,e){var t=typeof r.pageName=="string"?r.title:e;(0,p.useEffect)(function(){(0,Me.j)()&&t&&(document.title=t)},[r.title,t])}var W=f(1977),j=f(73177);function re(r){if((0,W.n)((0,j.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"},t=(0,s.Z)({},r);return Object.keys(e).forEach(function(n){t[n]!==void 0&&(t[e[n]]=t[n],delete t[n])}),t}var de=f(47930);function q(r,e){return e>>>r|e<<32-r}function ue(r,e,t){return r&e^~r&t}function xe(r,e,t){return r&e^r&t^e&t}function ce(r){return q(2,r)^q(13,r)^q(22,r)}function M(r){return q(6,r)^q(11,r)^q(25,r)}function y(r){return q(7,r)^q(18,r)^r>>>3}function g(r){return q(17,r)^q(19,r)^r>>>10}function K(r,e){return r[e&15]+=g(r[e+14&15])+r[e+9&15]+y(r[e+1&15])}var B=[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],b,w,I,ve="0123456789abcdef";function he(r,e){var t=(r&65535)+(e&65535),n=(r>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function Pe(){b=new Array(8),w=new Array(2),I=new Array(64),w[0]=w[1]=0,b[0]=1779033703,b[1]=3144134277,b[2]=1013904242,b[3]=2773480762,b[4]=1359893119,b[5]=2600822924,b[6]=528734635,b[7]=1541459225}function be(){var r,e,t,n,a,l,i,c,d,v,m=new Array(16);r=b[0],e=b[1],t=b[2],n=b[3],a=b[4],l=b[5],i=b[6],c=b[7];for(var Z=0;Z<16;Z++)m[Z]=I[(Z<<2)+3]|I[(Z<<2)+2]<<8|I[(Z<<2)+1]<<16|I[Z<<2]<<24;for(var h=0;h<64;h++)d=c+M(a)+ue(a,l,i)+B[h],h<16?d+=m[h]:d+=K(m,h),v=ce(r)+xe(r,e,t),c=i,i=l,l=a,a=he(n,d),n=t,t=e,e=r,r=he(d,v);b[0]+=r,b[1]+=e,b[2]+=t,b[3]+=n,b[4]+=a,b[5]+=l,b[6]+=i,b[7]+=c}function Le(r,e){var t,n,a=0;n=w[0]>>3&63;var l=e&63;for((w[0]+=e<<3)<e<<3&&w[1]++,w[1]+=e>>29,t=0;t+63<e;t+=64){for(var i=n;i<64;i++)I[i]=r.charCodeAt(a++);be(),n=0}for(var c=0;c<l;c++)I[c]=r.charCodeAt(a++)}function Be(){var r=w[0]>>3&63;if(I[r++]=128,r<=56)for(var e=r;e<56;e++)I[e]=0;else{for(var t=r;t<64;t++)I[t]=0;be();for(var n=0;n<56;n++)I[n]=0}I[56]=w[1]>>>24&255,I[57]=w[1]>>>16&255,I[58]=w[1]>>>8&255,I[59]=w[1]&255,I[60]=w[0]>>>24&255,I[61]=w[0]>>>16&255,I[62]=w[0]>>>8&255,I[63]=w[0]&255,be()}function Oe(){for(var r=0,e=new Array(32),t=0;t<8;t++)e[r++]=b[t]>>>24&255,e[r++]=b[t]>>>16&255,e[r++]=b[t]>>>8&255,e[r++]=b[t]&255;return e}function We(){for(var r=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)r+=ve.charAt(b[e]>>>t&15);return r}function at(r){return Pe(),Le(r,r.length),Be(),We()}var Ht=at;function ft(r){"@babel/helpers - typeof";return ft=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},ft(r)}var Tn=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function wn(r,e){return nn(r)||tn(r,e)||mt(r,e)||en()}function en(){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 tn(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],a=!0,l=!1,i,c;try{for(t=t.call(r);!(a=(i=t.next()).done)&&(n.push(i.value),!(e&&n.length===e));a=!0);}catch(d){l=!0,c=d}finally{try{!a&&t.return!=null&&t.return()}finally{if(l)throw c}}return n}}function nn(r){if(Array.isArray(r))return r}function rn(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=mt(r))||e&&r&&typeof r.length=="number"){t&&(r=t);var n=0,a=function(){};return{s:a,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},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 l=!0,i=!1,c;return{s:function(){t=t.call(r)},n:function(){var v=t.next();return l=v.done,v},e:function(v){i=!0,c=v},f:function(){try{!l&&t.return!=null&&t.return()}finally{if(i)throw c}}}}function an(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function St(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function Ot(r,e,t){return e&&St(r.prototype,e),t&&St(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function Zt(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&&it(r,e)}function Dt(r){var e=zt();return function(){var n=lt(r),a;if(e){var l=lt(this).constructor;a=Reflect.construct(n,arguments,l)}else a=n.apply(this,arguments);return $t(this,a)}}function $t(r,e){if(e&&(ft(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return jn(r)}function jn(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Mt(r){var e=typeof Map=="function"?new Map:void 0;return Mt=function(n){if(n===null||!ot(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,a)}function a(){return vt(n,arguments,lt(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),it(a,n)},Mt(r)}function vt(r,e,t){return zt()?vt=Reflect.construct.bind():vt=function(a,l,i){var c=[null];c.push.apply(c,l);var d=Function.bind.apply(a,c),v=new d;return i&&it(v,i.prototype),v},vt.apply(null,arguments)}function zt(){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 ot(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function it(r,e){return it=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},it(r,e)}function lt(r){return lt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},lt(r)}function ut(r){return ln(r)||on(r)||mt(r)||It()}function It(){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 mt(r,e){if(r){if(typeof r=="string")return qe(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return qe(r,e)}}function on(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function ln(r){if(Array.isArray(r))return qe(r)}function qe(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function un(r,e){if(r==null)return{};var t=cn(r,e),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);for(a=0;a<l.length;a++)n=l[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function cn(r,e){if(r==null)return{};var t={},n=Object.keys(r),a,l;for(l=0;l<n.length;l++)a=n[l],!(e.indexOf(a)>=0)&&(t[a]=r[a]);return t}function Ft(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function Ie(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ft(Object(t),!0).forEach(function(n){S(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Ft(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function S(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var A="routes";function ee(r){return r.split("?")[0].split("#")[0]}var G=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},Se=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Ht(JSON.stringify(e)))}catch(n){}return t&&ee(t)},Ke=function(e,t){var n=e.name,a=e.locale;return"locale"in e&&a===!1||!n?!1:e.locale||"".concat(t,".").concat(n)},Je=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||G(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},ke=function(e,t){var n=e.menu,a=n===void 0?{}:n,l=e.indexRoute,i=e.path,c=i===void 0?"":i,d=e.children||[],v=a.name,m=v===void 0?e.name:v,Z=a.icon,h=Z===void 0?e.icon:Z,L=a.hideChildren,_=L===void 0?e.hideChildren:L,z=a.flatMenu,E=z===void 0?e.flatMenu:z,Q=l&&Object.keys(l).join(",")!=="redirect"?[Ie({path:c,menu:a},l)].concat(d||[]):d,X=Ie({},e);if(m&&(X.name=m),h&&(X.icon=h),Q&&Q.length){if(_)return delete X.children,X;var Y=Ge(Ie(Ie({},t),{},{data:Q}),e);if(E)return Y;delete X[A]}return X},De=function(e){return Array.isArray(e)&&e.length>0};function Ge(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,a=r.parentName,l=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(i){return i?De(i.children)||i.path||i.originPath||i.layout?!0:(i.redirect||i.unaccessible,!1):!1}).filter(function(i){var c,d;return!(i==null||(c=i.menu)===null||c===void 0)&&c.name||i!=null&&i.flatMenu||!(i==null||(d=i.menu)===null||d===void 0)&&d.flatMenu?!0:i.menu!==!1}).map(function(i){var c=Ie(Ie({},i),{},{path:i.path||i.originPath});return!c.children&&c[A]&&(c.children=c[A],delete c[A]),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 i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},c=i.children||i[A]||[],d=Je(i.path,e?e.path:"/"),v=i.name,m=Ke(i,a||"menu"),Z=m!==!1&&l!==!1&&n&&m?n({id:m,defaultMessage:v}):v,h=e.pro_layout_parentKeys,L=h===void 0?[]:h,_=e.children,z=e.icon,E=e.flatMenu,Q=e.indexRoute,X=e.routes,Y=un(e,Tn),$=new Set([].concat(ut(L),ut(i.parentKeys||[])));e.key&&$.add(e.key);var V=Ie(Ie(Ie({},Y),{},{menu:void 0},i),{},{path:d,locale:m,key:i.key||Se(Ie(Ie({},i),{},{path:d})),pro_layout_parentKeys:Array.from($).filter(function(O){return O&&O!=="/"})});if(Z?V.name=Z:delete V.name,V.menu===void 0&&delete V.menu,De(c)){var C=Ge(Ie(Ie({},r),{},{data:c,parentName:m||""}),V);De(C)&&(V.children=C)}return ke(V,r)}).flat(1)}var Ne=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||De(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var n=Ie({},t),a=n.children||t[A]||[];if(delete n[A],De(a)&&!n.hideChildrenInMenu&&a.some(function(i){return i&&!!i.name})){var l=r(a);if(l.length)return Ie(Ie({},n),{},{children:l})}return Ie({},t)}).filter(function(t){return t})},pt=function(r){Zt(t,r);var e=Dt(t);function t(){return an(this,t),e.apply(this,arguments)}return Ot(t,[{key:"get",value:function(a){var l;try{var i=rn(this.entries()),c;try{for(i.s();!(c=i.n()).done;){var d=wn(c.value,2),v=d[0],m=d[1],Z=ee(v);if(!G(v)&&(0,de.Bo)(Z,[]).test(a)){l=m;break}}}catch(h){i.e(h)}finally{i.f()}}catch(h){l=void 0}return l}}]),t}(Mt(Map)),ct=function(e){var t=new pt,n=function a(l,i){l.forEach(function(c){var d=c.children||c[A]||[];De(d)&&a(d,c);var v=Je(c.path,i?i.path:"/");t.set(ee(v),c)})};return n(e),t},Rt=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var n=t.children||t[A];if(De(n)){var a=r(n);if(a.length)return Ie({},t)}var l=Ie({},t);return delete l[A],delete l.children,l}).filter(function(t){return t})},sn=function(e,t,n,a){var l=Ge({data:e,formatMessage:n,locale:t}),i=a?Rt(l):Ne(l),c=ct(l);return{breadcrumb:c,menuData:i}},Tt=sn;function Wt(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function st(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Wt(Object(t),!0).forEach(function(n){kt(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):Wt(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function kt(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var dn=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(n){var a=st({},n);if(!(!a||!a.key)){!a.children&&a[A]&&(a.children=a[A],delete a[A]);var l=a.children||[];t[ee(a.path||a.key||"/")]=st({},a),t[a.key||a.path||"/"]=st({},a),l&&(t=st(st({},t),r(l)))}}),t},fn=dn,hr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&t==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!G(a)){var l=ee(a);try{if(n&&(0,de.Bo)("".concat(l)).test(t)||(0,de.Bo)("".concat(l),[]).test(t)||(0,de.Bo)("".concat(l,"/(.*)")).test(t))return!0}catch(i){}}return!1}).sort(function(a,l){return a===t?10:l===t?-10:a.substr(1).split("/").length-l.substr(1).split("/").length})},yr=function(e,t,n,a){var l=fn(t),i=Object.keys(l),c=hr(i,e||"/",a);return!c||c.length<1?[]:(n||(c=[c[c.length-1]]),c.map(function(d){var v=l[d]||{pro_layout_parentKeys:"",key:""},m=new Map,Z=(v.pro_layout_parentKeys||[]).map(function(h){return m.has(h)?null:(m.set(h,!0),l[h])}).filter(function(h){return h});return v.key&&Z.push(v),Z}).flat(1))},xr=yr,Ve=f(21532),dt=f(26058),Cr=f(93967),se=f.n(Cr),Bn=f(98423),br=f(80334),Sr=f(5068),Zr=f(10046),Mr=f(78164),u=f(85893),Ir=function(e){var t=(0,p.useContext)(te.L_),n=t.hashId,a=e.style,l=e.prefixCls,i=e.children,c=e.hasPageContainer,d=c===void 0?0:c,v=se()("".concat(l,"-content"),n,(0,o.Z)((0,o.Z)({},"".concat(l,"-has-header"),e.hasHeader),"".concat(l,"-content-has-page-container"),d>0)),m=e.ErrorBoundary||Mr.S;return e.ErrorBoundary===!1?(0,u.jsx)(dt.Z.Content,{className:v,style:a,children:i}):(0,u.jsx)(m,{children:(0,u.jsx)(dt.Z.Content,{className:v,style:a,children:i})})},Rr=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"})]})})})})]})},wt=f(87462),Tr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},wr=Tr,Pn=f(84089),jr=function(e,t){return p.createElement(Pn.Z,(0,wt.Z)({},e,{ref:t,icon:wr}))},Br=p.forwardRef(jr),Pr=Br,$e=f(64847),Lr=function(e){return(0,o.Z)({},e.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:e.colorTextSecondary,"&-link":{color:e.colorTextSecondary,textDecoration:e.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:e.colorPrimary}},"&-copyright":{fontSize:"14px",color:e.colorText}})};function Nr(r){return(0,$e.Xj)("ProLayoutFooter",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Lr(t)]})}var Ar=function(e){var t=e.className,n=e.prefixCls,a=e.links,l=e.copyright,i=e.style,c=(0,p.useContext)(Ve.ZP.ConfigContext),d=c.getPrefixCls(n||"pro-global-footer"),v=Nr(d),m=v.wrapSSR,Z=v.hashId;return(a==null||a===!1||Array.isArray(a)&&a.length===0)&&(l==null||l===!1)?null:m((0,u.jsxs)("div",{className:se()(d,Z,t),style:i,children:[a&&(0,u.jsx)("div",{className:"".concat(d,"-list ").concat(Z).trim(),children:a.map(function(h){return(0,u.jsx)("a",{className:"".concat(d,"-list-link ").concat(Z).trim(),title:h.key,target:h.blankTarget?"_blank":"_self",href:h.href,rel:"noreferrer",children:h.title},h.key)})}),l&&(0,u.jsx)("div",{className:"".concat(d,"-copyright ").concat(Z).trim(),children:l})]}))},Er=dt.Z.Footer,Hr=function(e){var t=e.links,n=e.copyright,a=e.style,l=e.className,i=e.prefixCls;return(0,u.jsx)(Er,{className:l,style:(0,s.Z)({padding:0},a),children:(0,u.jsx)(Ar,{links:t,prefixCls:i,copyright:n===!1?null:(0,u.jsxs)(p.Fragment,{children:[(0,u.jsx)(Pr,{})," ",n]})})})},Ln=function r(e){return(e||[]).reduce(function(t,n){if(n.key&&t.push(n.key),n.children||n.routes){var a=t.concat(r(n.children||n.routes)||[]);return a}return t},[])},Nn={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Xo(r){return r&&Nn[r]?Nn[r]:r||""}function _t(r){return r.map(function(e){var t=e.children||[],n=(0,s.Z)({},e);if(!n.children&&n.routes&&(n.children=n.routes),!n.name||n.hideInMenu)return null;if(n&&n!==null&&n!==void 0&&n.children){if(!n.hideChildrenInMenu&&t.some(function(a){return a&&a.name&&!a.hideInMenu}))return(0,s.Z)((0,s.Z)({},e),{},{children:_t(t)});delete n.children}return delete n.routes,n}).filter(function(e){return e})}var Or={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"},Dr=Or,$r=function(e,t){return p.createElement(Pn.Z,(0,wt.Z)({},e,{ref:t,icon:Dr}))},zr=p.forwardRef($r),Fr=zr,Wr=f(55241),kr=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"})})},_r=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,l=e.itemClick;return(0,u.jsx)("div",{className:"".concat(n,"-content ").concat(a).trim(),children:(0,u.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a).trim(),children:t==null?void 0:t.map(function(i,c){var d;return i!=null&&(d=i.children)!==null&&d!==void 0&&d.length?(0,u.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a).trim(),children:[(0,u.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a).trim(),children:i.title}),(0,u.jsx)(r,{hashId:a,itemClick:l,appList:i==null?void 0:i.children,baseClassName:n})]},c):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(m){m.stopPropagation(),l==null||l(i)},children:(0,u.jsxs)("a",{href:l?void 0:i.url,target:i.target,rel:"noreferrer",children:[mn(i.icon),(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{children:i.title}),i.desc?(0,u.jsx)("span",{children:i.desc}):null]})]})},c)})})})},vn=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},Ur=function(e,t){if(e&&typeof e=="string"&&vn(e))return(0,u.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,u.jsx)("div",{id:"avatarLogo",children:e});if(!e&&t&&typeof t=="string"){var n=t.substring(0,1);return(0,u.jsx)("div",{id:"avatarLogo",children:n})}return e},Kr=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,l=e.itemClick;return(0,u.jsx)("div",{className:"".concat(n,"-content ").concat(a).trim(),children:(0,u.jsx)("ul",{className:"".concat(n,"-content-list ").concat(a).trim(),children:t==null?void 0:t.map(function(i,c){var d;return i!=null&&(d=i.children)!==null&&d!==void 0&&d.length?(0,u.jsxs)("div",{className:"".concat(n,"-content-list-item-group ").concat(a).trim(),children:[(0,u.jsx)("div",{className:"".concat(n,"-content-list-item-group-title ").concat(a).trim(),children:i.title}),(0,u.jsx)(r,{hashId:a,itemClick:l,appList:i==null?void 0:i.children,baseClassName:n})]},c):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(m){m.stopPropagation(),l==null||l(i)},children:(0,u.jsxs)("a",{href:l?"javascript:;":i.url,target:i.target,rel:"noreferrer",children:[Ur(i.icon,i.title),(0,u.jsx)("div",{children:(0,u.jsx)("div",{children:i.title})})]})},c)})})})},Gr=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":$e.Wf===null||$e.Wf===void 0?void 0:(0,$e.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"}}}}}}},Vr=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"}}}}}}},Xr=function(e){var t,n,a,l,i;return(0,o.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIconHover,backgroundColor:(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:(l=e.layout)===null||l===void 0?void 0:l.colorTextAppListIconHover,backgroundColor:(i=e.layout)===null||i===void 0?void 0:i.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,o.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":Vr(e),"&-default":Gr(e)})};function Jr(r){return(0,$e.Xj)("AppsLogoComponents",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Xr(t)]})}var mn=function(e){return typeof e=="string"?(0,u.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},pn=function(e){var t,n=e.appList,a=e.appListRender,l=e.prefixCls,i=l===void 0?"ant-pro":l,c=e.onItemClick,d=p.useRef(null),v=p.useRef(null),m="".concat(i,"-layout-apps"),Z=Jr(m),h=Z.wrapSSR,L=Z.hashId,_=(0,p.useState)(!1),z=(0,R.Z)(_,2),E=z[0],Q=z[1],X=function(O){c==null||c(O,v)},Y=(0,p.useMemo)(function(){var C=n==null?void 0:n.some(function(O){return!(O!=null&&O.desc)});return C?(0,u.jsx)(Kr,{hashId:L,appList:n,itemClick:c?X:void 0,baseClassName:"".concat(m,"-simple")}):(0,u.jsx)(_r,{hashId:L,appList:n,itemClick:c?X:void 0,baseClassName:"".concat(m,"-default")})},[n,m,L]);if(!(e!=null&&(t=e.appList)!==null&&t!==void 0&&t.length))return null;var $=a?a(e==null?void 0:e.appList,Y):Y,V=(0,j.X)(void 0,function(C){return Q(C)});return h((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:d,onClick:function(O){O.stopPropagation(),O.preventDefault()}}),(0,u.jsx)(Wr.Z,(0,s.Z)((0,s.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},V),{},{overlayClassName:"".concat(m,"-popover ").concat(L).trim(),content:$,getPopupContainer:function(){return d.current||document.body},children:(0,u.jsx)("span",{ref:v,onClick:function(O){O.stopPropagation()},className:se()("".concat(m,"-icon"),L,(0,o.Z)({},"".concat(m,"-icon-active"),E)),children:(0,u.jsx)(kr,{})})}))]}))},An=f(7134),Qr=f(42075),En=f(50136);function Yr(){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 qr=function(e){var t,n,a;return(0,o.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextCollapsedButton,backgroundColor:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(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 ea(r){return(0,$e.Xj)("SiderMenuCollapsedIcon",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[qr(t)]})}var ta=["isMobile","collapsed"],na=function(e){var t=e.isMobile,n=e.collapsed,a=(0,D.Z)(e,ta),l=ea(e.className),i=l.wrapSSR,c=l.hashId;return t&&n?null:i((0,u.jsx)("div",(0,s.Z)((0,s.Z)({},a),{},{className:se()(e.className,c,(0,o.Z)((0,o.Z)({},"".concat(e.className,"-collapsed"),n),"".concat(e.className,"-is-mobile"),t)),children:(0,u.jsx)(Yr,{})})))},Ut=f(74902),ra=f(43144),aa=f(15671),oa=f(42550),ia=f(63017),Kt=f(41755),la=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],Hn=p.forwardRef(function(r,e){var t=r.className,n=r.component,a=r.viewBox,l=r.spin,i=r.rotate,c=r.tabIndex,d=r.onClick,v=r.children,m=(0,D.Z)(r,la),Z=p.useRef(),h=(0,oa.x1)(Z,e);(0,Kt.Kp)(!!(n||v),"Should have `component` prop or `children`."),(0,Kt.C3)(Z);var L=p.useContext(ia.Z),_=L.prefixCls,z=_===void 0?"anticon":_,E=L.rootClassName,Q=se()(E,z,(0,o.Z)({},"".concat(z,"-spin"),!!l&&!!n),t),X=se()((0,o.Z)({},"".concat(z,"-spin"),!!l)),Y=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,$=(0,s.Z)((0,s.Z)({},Kt.vD),{},{className:X,style:Y,viewBox:a});a||delete $.viewBox;var V=function(){return n?p.createElement(n,$,v):v?((0,Kt.Kp)(!!a||p.Children.count(v)===1&&p.isValidElement(v)&&p.Children.only(v).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),p.createElement("svg",(0,wt.Z)({},$,{viewBox:a}),v)):null},C=c;return C===void 0&&d&&(C=-1),p.createElement("span",(0,wt.Z)({role:"img"},m,{ref:h,tabIndex:C,onClick:d,className:Q}),V())});Hn.displayName="AntdIcon";var ua=Hn,ca=["type","children"],On=new Set;function sa(r){return!!(typeof r=="string"&&r.length&&!On.has(r))}function Gt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=r[e];if(sa(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),r.length>e+1&&(n.onload=function(){Gt(r,e+1)},n.onerror=function(){Gt(r,e+1)}),On.add(t),document.body.appendChild(n)}}function Dn(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,t=r.extraCommonProps,n=t===void 0?{}:t;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?Gt(e.reverse()):Gt([e]));var a=p.forwardRef(function(l,i){var c=l.type,d=l.children,v=(0,D.Z)(l,ca),m=null;return l.type&&(m=p.createElement("use",{xlinkHref:"#".concat(c)})),d&&(m=d),p.createElement(ua,(0,wt.Z)({},n,v,{ref:i}),m)});return a.displayName="Iconfont",a}function da(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var fa=f(83062),va=f(48054),$n={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},ma=function(e,t){var n,a,l=t.includes("horizontal")?(n=e.layout)===null||n===void 0?void 0:n.header:(a=e.layout)===null||a===void 0?void 0:a.sider;return(0,s.Z)((0,s.Z)((0,o.Z)({},"".concat(e.componentCls),(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({background:"transparent",color:l==null?void 0:l.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),(0,o.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,o.Z)((0,o.Z)((0,o.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:l==null?void 0:l.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,o.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.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,o.Z)((0,o.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,o.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,o.Z)((0,o.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,o.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),t.includes("horizontal")?{}:(0,o.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,o.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,o.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function pa(r,e){return(0,$e.Xj)("ProLayoutBaseMenu"+e,function(t){var n=(0,s.Z)((0,s.Z)({},t),{},{componentCls:".".concat(r)});return[ma(n,e||"inline")]})}var zn=function(e){var t=(0,p.useState)(e.collapsed),n=(0,R.Z)(t,2),a=n[0],l=n[1],i=(0,p.useState)(!1),c=(0,R.Z)(i,2),d=c[0],v=c[1];return(0,p.useEffect)(function(){v(!1),setTimeout(function(){l(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(fa.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:v,children:e.children})},Fn=Dn({scriptUrl:$n.iconfontUrl}),Wn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",n=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(vn(e)||da(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,u.jsx)(Fn,{type:e})}return e},kn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},ga=(0,ra.Z)(function r(e){var t=this;(0,aa.Z)(this,r),(0,o.Z)(this,"props",void 0),(0,o.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;return n.map(function(i){return t.getSubMenuOrItem(i,a,l)}).filter(function(i){return i}).flat(1)}),(0,o.Z)(this,"getSubMenuOrItem",function(n,a,l){var i=t.props,c=i.subMenuItemRender,d=i.baseClassName,v=i.prefixCls,m=i.collapsed,Z=i.menu,h=i.iconPrefixes,L=i.layout,_=(Z==null?void 0:Z.type)==="group"&&L!=="top",z=t.props.token,E=t.getIntlName(n),Q=(n==null?void 0:n.children)||(n==null?void 0:n.routes),X=_&&a===0?"group":void 0;if(Array.isArray(Q)&&Q.length>0){var Y,$,V,C,O,oe=a===0||_&&a===1,J=Wn(n.icon,h,"".concat(d,"-icon ").concat((Y=t.props)===null||Y===void 0?void 0:Y.hashId)),F=m&&oe?kn(E):null,fe=(0,u.jsxs)("div",{className:se()("".concat(d,"-item-title"),($=t.props)===null||$===void 0?void 0:$.hashId,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(d,"-item-title-collapsed"),m),"".concat(d,"-item-title-collapsed-level-").concat(l),m),"".concat(d,"-group-item-title"),X==="group"),"".concat(d,"-item-collapsed-show-title"),(Z==null?void 0:Z.collapsedShowTitle)&&m)),children:[X==="group"&&m?null:oe&&J?(0,u.jsx)("span",{className:"".concat(d,"-item-icon ").concat((V=t.props)===null||V===void 0?void 0:V.hashId).trim(),children:J}):F,(0,u.jsx)("span",{className:se()("".concat(d,"-item-text"),(C=t.props)===null||C===void 0?void 0:C.hashId,(0,o.Z)({},"".concat(d,"-item-text-has-icon"),X!=="group"&&oe&&(J||F))),children:E})]}),ye=c?c((0,s.Z)((0,s.Z)({},n),{},{isUrl:!1}),fe,t.props):fe;if(_&&a===0&&t.props.collapsed&&!Z.collapsedShowGroupTitle)return t.getNavMenuItems(Q,a+1,a);var x=t.getNavMenuItems(Q,a+1,_&&a===0&&t.props.collapsed?a:a+1);return[{type:X,key:n.key||n.path,label:ye,onClick:_?void 0:n.onTitleClick,children:x,className:se()((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(d,"-group"),X==="group"),"".concat(d,"-submenu"),X!=="group"),"".concat(d,"-submenu-has-icon"),X!=="group"&&oe&&J))},_&&a===0?{type:"divider",prefixCls:v,className:"".concat(d,"-divider"),key:(n.key||n.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:t.props.collapsed?"4px":"6px 16px",marginBlockStart:t.props.collapsed?4:8,borderColor:z==null||(O=z.layout)===null||O===void 0||(O=O.sider)===null||O===void 0?void 0:O.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:n.disabled,key:n.key||n.path,onClick:n.onTitleClick,label:t.getMenuItemPath(n,a,l)}}),(0,o.Z)(this,"getIntlName",function(n){var a=n.name,l=n.locale,i=t.props,c=i.menu,d=i.formatMessage,v=a;return l&&(c==null?void 0:c.locale)!==!1&&(v=d==null?void 0:d({id:l,defaultMessage:a})),t.props.menuTextRender?t.props.menuTextRender(n,v,t.props):v}),(0,o.Z)(this,"getMenuItemPath",function(n,a,l){var i,c,d,v,m=t.conversionPath(n.path||"/"),Z=t.props,h=Z.location,L=h===void 0?{pathname:"/"}:h,_=Z.isMobile,z=Z.onCollapse,E=Z.menuItemRender,Q=Z.iconPrefixes,X=t.getIntlName(n),Y=t.props,$=Y.baseClassName,V=Y.menu,C=Y.collapsed,O=(V==null?void 0:V.type)==="group",oe=a===0||O&&a===1,J=oe?Wn(n.icon,Q,"".concat($,"-icon ").concat((i=t.props)===null||i===void 0?void 0:i.hashId)):null,F=C&&oe?kn(X):null,fe=(0,u.jsxs)("div",{className:se()("".concat($,"-item-title"),(c=t.props)===null||c===void 0?void 0:c.hashId,(0,o.Z)((0,o.Z)((0,o.Z)({},"".concat($,"-item-title-collapsed"),C),"".concat($,"-item-title-collapsed-level-").concat(l),C),"".concat($,"-item-collapsed-show-title"),(V==null?void 0:V.collapsedShowTitle)&&C)),children:[(0,u.jsx)("span",{className:"".concat($,"-item-icon ").concat((d=t.props)===null||d===void 0?void 0:d.hashId).trim(),style:{display:F===null&&!J?"none":""},children:J||(0,u.jsx)("span",{className:"anticon",children:F})}),(0,u.jsx)("span",{className:se()("".concat($,"-item-text"),(v=t.props)===null||v===void 0?void 0:v.hashId,(0,o.Z)({},"".concat($,"-item-text-has-icon"),oe&&(J||F))),children:X})]},m),ye=vn(m);if(ye){var x,Ze,P;fe=(0,u.jsxs)("span",{onClick:function(){var Te,ge;(Te=window)===null||Te===void 0||(ge=Te.open)===null||ge===void 0||ge.call(Te,m,"_blank")},className:se()("".concat($,"-item-title"),(x=t.props)===null||x===void 0?void 0:x.hashId,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat($,"-item-title-collapsed"),C),"".concat($,"-item-title-collapsed-level-").concat(l),C),"".concat($,"-item-link"),!0),"".concat($,"-item-collapsed-show-title"),(V==null?void 0:V.collapsedShowTitle)&&C)),children:[(0,u.jsx)("span",{className:"".concat($,"-item-icon ").concat((Ze=t.props)===null||Ze===void 0?void 0:Ze.hashId).trim(),style:{display:F===null&&!J?"none":""},children:J||(0,u.jsx)("span",{className:"anticon",children:F})}),(0,u.jsx)("span",{className:se()("".concat($,"-item-text"),(P=t.props)===null||P===void 0?void 0:P.hashId,(0,o.Z)({},"".concat($,"-item-text-has-icon"),oe&&(J||F))),children:X})]},m)}if(E){var le=(0,s.Z)((0,s.Z)({},n),{},{isUrl:ye,itemPath:m,isMobile:_,replace:m===L.pathname,onClick:function(){return z&&z(!0)},children:void 0});return a===0?(0,u.jsx)(zn,{collapsed:C,title:X,disable:n.disabledTooltip,children:E(le,fe,t.props)}):E(le,fe,t.props)}return a===0?(0,u.jsx)(zn,{collapsed:C,title:X,disable:n.disabledTooltip,children:fe}):fe}),(0,o.Z)(this,"conversionPath",function(n){return n&&n.indexOf("http")===0?n:"/".concat(n||"").replace(/\/+/g,"/")}),this.props=e}),ha=function(e,t){var n=t.layout,a=t.collapsed,l={};return e&&!a&&["side","mix"].includes(n||"mix")&&(l={openKeys:e}),l},_n=function(e){var t=e.mode,n=e.className,a=e.handleOpenChange,l=e.style,i=e.menuData,c=e.prefixCls,d=e.menu,v=e.matchMenuKeys,m=e.iconfontUrl,Z=e.selectedKeys,h=e.onSelect,L=e.menuRenderType,_=e.openKeys,z=(0,p.useContext)(te.L_),E=z.dark,Q=z.token,X="".concat(c,"-base-menu-").concat(t),Y=(0,p.useRef)([]),$=(0,ne.Z)(d==null?void 0:d.defaultOpenAll),V=(0,R.Z)($,2),C=V[0],O=V[1],oe=(0,ne.Z)(function(){return d!=null&&d.defaultOpenAll?Ln(i)||[]:_===!1?!1:[]},{value:_===!1?void 0:_,onChange:a}),J=(0,R.Z)(oe,2),F=J[0],fe=J[1],ye=(0,ne.Z)([],{value:Z,onChange:h?function(je){h&&je&&h(je)}:void 0}),x=(0,R.Z)(ye,2),Ze=x[0],P=x[1];(0,p.useEffect)(function(){d!=null&&d.defaultOpenAll||_===!1||v&&(fe(v),P(v))},[v.join("-")]),(0,p.useEffect)(function(){m&&(Fn=Dn({scriptUrl:m}))},[m]),(0,p.useEffect)(function(){if(v.join("-")!==(Ze||[]).join("-")&&P(v),!C&&_!==!1&&v.join("-")!==(F||[]).join("-")){var je=v;(d==null?void 0:d.autoClose)===!1&&(je=Array.from(new Set([].concat((0,Ut.Z)(v),(0,Ut.Z)(F||[]))))),fe(je)}else d!=null&&d.ignoreFlatMenu&&C?fe(Ln(i)):O(!1)},[v.join("-")]);var le=(0,p.useMemo)(function(){return ha(F,e)},[F&&F.join(","),e.layout,e.collapsed]),me=pa(X,t),Te=me.wrapSSR,ge=me.hashId,Ae=(0,p.useMemo)(function(){return new ga((0,s.Z)((0,s.Z)({},e),{},{token:Q,menuRenderType:L,baseClassName:X,hashId:ge}))},[e,Q,L,X,ge]);if(d!=null&&d.loading)return(0,u.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(va.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(Y.current=v);var we=e.postMenuData?e.postMenuData(i):i;return we&&(we==null?void 0:we.length)<1?null:Te((0,p.createElement)(En.Z,(0,s.Z)((0,s.Z)({},le),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:Y.current,theme:E?"dark":"light",selectedKeys:Ze,style:(0,s.Z)({backgroundColor:"transparent",border:"none"},l),className:se()(n,ge,X,(0,o.Z)((0,o.Z)({},"".concat(X,"-horizontal"),t==="horizontal"),"".concat(X,"-collapsed"),e.collapsed)),items:Ae.getNavMenuItems(we,0,0),onOpenChange:function(_e){e.collapsed||fe(_e)}},e.menuProps)))};function ya(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,$e.Xj)("ProLayoutSiderMenuStylish",function(a){var l=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,o.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,o.Z)({},"".concat(l.componentCls),t==null?void 0:t(l)))]:[]})}var xa=["title","render"],Ca=p.memo(function(r){return(0,u.jsx)(u.Fragment,{children:r.children})}),ba=dt.Z.Sider,Un=dt.Z._InternalSiderContext,Sa=Un===void 0?{Provider:Ca}:Un,gn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",n=e.logo,a=e.title,l=e.layout,i=e[t];if(i===!1)return null;var c=mn(n),d=(0,u.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return i?i(c,e.collapsed?null:d,e):e.isMobile?null:l==="mix"&&t==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:c},"title"):(0,u.jsxs)("a",{children:[c,d]},"title")},Kn=function(e){var t,n=e.collapsed,a=e.originCollapsed,l=e.fixSiderbar,i=e.menuFooterRender,c=e.onCollapse,d=e.theme,v=e.siderWidth,m=e.isMobile,Z=e.onMenuHeaderClick,h=e.breakpoint,L=h===void 0?"lg":h,_=e.style,z=e.layout,E=e.menuExtraRender,Q=E===void 0?!1:E,X=e.links,Y=e.menuContentRender,$=e.collapsedButtonRender,V=e.prefixCls,C=e.avatarProps,O=e.rightContentRender,oe=e.actionsRender,J=e.onOpenChange,F=e.stylish,fe=e.logoStyle,ye=(0,p.useContext)(te.L_),x=ye.hashId,Ze=(0,p.useMemo)(function(){return!(m||z==="mix")},[m,z]),P="".concat(V,"-sider"),le=64,me=ya("".concat(P,".").concat(P,"-stylish"),{stylish:F,proLayoutCollapsedWidth:le}),Te=se()("".concat(P),x,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(P,"-fixed"),l),"".concat(P,"-fixed-mix"),z==="mix"&&!m&&l),"".concat(P,"-collapsed"),e.collapsed),"".concat(P,"-layout-").concat(z),z&&!m),"".concat(P,"-light"),d!=="dark"),"".concat(P,"-mix"),z==="mix"&&!m),"".concat(P,"-stylish"),!!F)),ge=gn(e),Ae=Q&&Q(e),we=(0,p.useMemo)(function(){return Y!==!1&&(0,p.createElement)(_n,(0,s.Z)((0,s.Z)({},e),{},{key:"base-menu",mode:n&&!m?"vertical":"inline",handleOpenChange:J,style:{width:"100%"},className:"".concat(P,"-menu ").concat(x).trim()}))},[P,x,Y,J,e]),je=(X||[]).map(function(Ee,Xe){return{className:"".concat(P,"-link"),label:Ee,key:Xe}}),_e=(0,p.useMemo)(function(){return Y?Y(e,we):we},[Y,we,e]),ze=(0,p.useMemo)(function(){if(!C)return null;var Ee=C.title,Xe=C.render,Ue=(0,D.Z)(C,xa),Jt=(0,u.jsxs)("div",{className:"".concat(P,"-actions-avatar"),children:[Ue!=null&&Ue.src||Ue!=null&&Ue.srcSet||Ue.icon||Ue.children?(0,u.jsx)(An.C,(0,s.Z)({size:28},Ue)):null,C.title&&!n&&(0,u.jsx)("span",{children:Ee})]});return Xe?Xe(C,Jt,e):Jt},[C,P,n]),Fe=(0,p.useMemo)(function(){return oe?(0,u.jsx)(Qr.Z,{align:"center",size:4,direction:n?"vertical":"horizontal",className:se()(["".concat(P,"-actions-list"),n&&"".concat(P,"-actions-list-collapsed"),x]),children:[oe==null?void 0:oe(e)].flat(1).map(function(Ee,Xe){return(0,u.jsx)("div",{className:"".concat(P,"-actions-list-item ").concat(x).trim(),children:Ee},Xe)})}):null},[oe,P,n]),Qe=(0,p.useMemo)(function(){return(0,u.jsx)(pn,{onItemClick:e.itemClick,appListRender:e.appListRender,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.appListRender,e.prefixCls]),et=(0,p.useMemo)(function(){if($===!1)return null;var Ee=(0,u.jsx)(na,{isMobile:m,collapsed:a,className:"".concat(P,"-collapsed-button"),onClick:function(){c==null||c(!a)}});return $?$(n,Ee):Ee},[$,m,a,P,n,c]),tt=(0,p.useMemo)(function(){return!ze&&!Fe?null:(0,u.jsxs)("div",{className:se()("".concat(P,"-actions"),x,n&&"".concat(P,"-actions-collapsed")),children:[ze,Fe]})},[Fe,ze,P,n,x]),nt=(0,p.useMemo)(function(){var Ee;return e!=null&&(Ee=e.menu)!==null&&Ee!==void 0&&Ee.hideMenuWhenCollapsed&&n?"".concat(P,"-hide-menu-collapsed"):null},[P,n,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),jt=i&&(i==null?void 0:i(e)),Xt=(0,u.jsxs)(u.Fragment,{children:[ge&&(0,u.jsxs)("div",{className:se()([se()("".concat(P,"-logo"),x,(0,o.Z)({},"".concat(P,"-logo-collapsed"),n))]),onClick:Ze?Z:void 0,id:"logo",style:fe,children:[ge,Qe]}),Ae&&(0,u.jsx)("div",{className:se()(["".concat(P,"-extra"),!ge&&"".concat(P,"-extra-no-logo"),x]),children:Ae}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:_e}),(0,u.jsxs)(Sa.Provider,{value:{},children:[X?(0,u.jsx)("div",{className:"".concat(P,"-links ").concat(x).trim(),children:(0,u.jsx)(En.Z,{inlineIndent:16,className:"".concat(P,"-link-menu ").concat(x).trim(),selectedKeys:[],openKeys:[],theme:d,mode:"inline",items:je})}):null,Ze&&(0,u.jsxs)(u.Fragment,{children:[tt,!Fe&&O?(0,u.jsx)("div",{className:se()("".concat(P,"-actions"),x,(0,o.Z)({},"".concat(P,"-actions-collapsed"),n)),children:O==null?void 0:O(e)}):null]}),jt&&(0,u.jsx)("div",{className:se()(["".concat(P,"-footer"),x,(0,o.Z)({},"".concat(P,"-footer-collapsed"),n)]),children:jt})]})]});return me.wrapSSR((0,u.jsxs)(u.Fragment,{children:[l&&!m&&!nt&&(0,u.jsx)("div",{style:(0,s.Z)({width:n?le:v,overflow:"hidden",flex:"0 0 ".concat(n?le:v,"px"),maxWidth:n?le:v,minWidth:n?le:v,transition:"all 0.2s ease 0s"},_)}),(0,u.jsxs)(ba,{collapsible:!0,trigger:null,collapsed:n,breakpoint:L===!1?void 0:L,onCollapse:function(Xe){m||c==null||c(Xe)},collapsedWidth:le,style:_,theme:d,width:v,className:se()(Te,x,nt),children:[nt?(0,u.jsx)("div",{className:"".concat(P,"-hide-when-collapsed ").concat(x).trim(),style:{height:"100%",width:"100%",opacity:nt?0:1},children:Xt}):Xt,et]})]}))},Za=f(10178),Ma=f(48555),Ia=function(e){var t,n,a,l,i;return(0,o.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(l=e.layout)===null||l===void 0||(l=l.header)===null||l===void 0?void 0:l.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgRightActionsItemHover}}}}})};function Ra(r){return(0,$e.Xj)("ProLayoutRightContent",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Ia(t)]})}var Ta=["rightContentRender","avatarProps","actionsRender","headerContentRender"],wa=["title","render"],Gn=function(e){var t=e.rightContentRender,n=e.avatarProps,a=e.actionsRender,l=e.headerContentRender,i=(0,D.Z)(e,Ta),c=(0,p.useContext)(Ve.ZP.ConfigContext),d=c.getPrefixCls,v="".concat(d(),"-pro-global-header"),m=Ra(v),Z=m.wrapSSR,h=m.hashId,L=(0,p.useState)("auto"),_=(0,R.Z)(L,2),z=_[0],E=_[1],Q=(0,p.useMemo)(function(){if(!n)return null;var V=n.title,C=n.render,O=(0,D.Z)(n,wa),oe=[O!=null&&O.src||O!=null&&O.srcSet||O.icon||O.children?(0,p.createElement)(An.C,(0,s.Z)((0,s.Z)({},O),{},{size:28,key:"avatar"})):null,V?(0,u.jsx)("span",{style:{marginInlineStart:8},children:V},"name"):void 0];return C?C(n,(0,u.jsx)("div",{children:oe}),i):(0,u.jsx)("div",{children:oe})},[n]),X=a||Q?function(V){var C=a&&(a==null?void 0:a(V));return!C&&!Q?null:Array.isArray(C)?Z((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(h).trim(),children:[C.filter(Boolean).map(function(O,oe){var J=!1;if(p.isValidElement(O)){var F;J=!!(O!=null&&(F=O.props)!==null&&F!==void 0&&F["aria-hidden"])}return(0,u.jsx)("div",{className:se()("".concat(v,"-header-actions-item ").concat(h),(0,o.Z)({},"".concat(v,"-header-actions-hover"),!J)),children:O},oe)}),Q&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(h).trim(),children:Q})]})):Z((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(h).trim(),children:[C,Q&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(h).trim(),children:Q})]}))}:void 0,Y=(0,Za.D)(function(){var V=(0,H.Z)((0,T.Z)().mark(function C(O){return(0,T.Z)().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:E(O);case 1:case"end":return J.stop()}},C)}));return function(C){return V.apply(this,arguments)}}(),160),$=X||t;return(0,u.jsx)("div",{className:"".concat(v,"-right-content ").concat(h).trim(),style:{minWidth:z,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(Ma.Z,{onResize:function(C){var O=C.width;Y.run(O)},children:$?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:$((0,s.Z)((0,s.Z)({},i),{},{rightContentSize:z}))}):null})})})},ja=function(e){var t,n;return(0,o.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,o.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56)-12,40),"px")}})};function Ba(r){return(0,$e.Xj)("ProLayoutTopNavHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ja(t)]})}var Vn=function(e){var t,n,a,l,i,c,d,v=(0,p.useRef)(null),m=e.onMenuHeaderClick,Z=e.contentWidth,h=e.rightContentRender,L=e.className,_=e.style,z=e.headerContentRender,E=e.layout,Q=e.actionsRender,X=(0,p.useContext)(Ve.ZP.ConfigContext),Y=X.getPrefixCls,$=(0,p.useContext)(te.L_),V=$.dark,C="".concat(e.prefixCls||Y("pro"),"-top-nav-header"),O=Ba(C),oe=O.wrapSSR,J=O.hashId,F=void 0;e.menuHeaderRender!==void 0?F="menuHeaderRender":(E==="mix"||E==="top")&&(F="headerTitleRender");var fe=gn((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),F),ye=(0,p.useContext)(te.L_),x=ye.token,Ze=(0,p.useMemo)(function(){var P,le,me,Te,ge,Ae,we,je,_e,ze,Fe,Qe,et,tt=(0,u.jsx)(Ve.ZP,{theme:{hashed:(0,te.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,s.Z)({},re({colorItemBg:((P=x.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorBgHeader)||"transparent",colorSubItemBg:((le=x.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.colorBgHeader)||"transparent",radiusItem:x.borderRadius,colorItemBgSelected:((me=x.layout)===null||me===void 0||(me=me.header)===null||me===void 0?void 0:me.colorBgMenuItemSelected)||(x==null?void 0:x.colorBgTextHover),itemHoverBg:((Te=x.layout)===null||Te===void 0||(Te=Te.header)===null||Te===void 0?void 0:Te.colorBgMenuItemHover)||(x==null?void 0:x.colorBgTextHover),colorItemBgSelectedHorizontal:((ge=x.layout)===null||ge===void 0||(ge=ge.header)===null||ge===void 0?void 0:ge.colorBgMenuItemSelected)||(x==null?void 0:x.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((Ae=x.layout)===null||Ae===void 0||(Ae=Ae.header)===null||Ae===void 0?void 0:Ae.colorTextMenu)||(x==null?void 0:x.colorTextSecondary),colorItemTextHoverHorizontal:((we=x.layout)===null||we===void 0||(we=we.header)===null||we===void 0?void 0:we.colorTextMenuActive)||(x==null?void 0:x.colorText),colorItemTextSelectedHorizontal:((je=x.layout)===null||je===void 0||(je=je.header)===null||je===void 0?void 0:je.colorTextMenuSelected)||(x==null?void 0:x.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((_e=x.layout)===null||_e===void 0||(_e=_e.header)===null||_e===void 0?void 0:_e.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((ze=x.layout)===null||ze===void 0||(ze=ze.header)===null||ze===void 0?void 0:ze.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((Fe=x.layout)===null||Fe===void 0||(Fe=Fe.header)===null||Fe===void 0?void 0:Fe.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}))},token:{colorBgElevated:((Qe=x.layout)===null||Qe===void 0||(Qe=Qe.header)===null||Qe===void 0?void 0:Qe.colorBgHeader)||"transparent"}},children:(0,u.jsx)(_n,(0,s.Z)((0,s.Z)((0,s.Z)({theme:V?"dark":"light"},e),{},{className:"".concat(C,"-base-menu ").concat(J).trim()},e.menuProps),{},{style:(0,s.Z)({width:"100%"},(et=e.menuProps)===null||et===void 0?void 0:et.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return z?z(e,tt):tt},[(t=x.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgHeader,(n=x.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgMenuItemSelected,(a=x.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(l=x.layout)===null||l===void 0||(l=l.header)===null||l===void 0?void 0:l.colorTextMenu,(i=x.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenuActive,(c=x.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorTextMenuSelected,(d=x.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,x.borderRadius,x==null?void 0:x.colorBgTextHover,x==null?void 0:x.colorTextSecondary,x==null?void 0:x.colorText,x==null?void 0:x.colorTextBase,x.colorBgElevated,V,e,C,J,z]);return oe((0,u.jsx)("div",{className:se()(C,J,L,(0,o.Z)({},"".concat(C,"-light"),!0)),style:_,children:(0,u.jsxs)("div",{ref:v,className:se()("".concat(C,"-main"),J,(0,o.Z)({},"".concat(C,"-wide"),Z==="Fixed"&&E==="top")),children:[fe&&(0,u.jsxs)("div",{className:se()("".concat(C,"-main-left ").concat(J)),onClick:m,children:[(0,u.jsx)(pn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:"".concat(C,"-logo ").concat(J).trim(),id:"logo",children:fe},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(C,"-menu ").concat(J).trim(),children:Ze}),(h||Q||e.avatarProps)&&(0,u.jsx)(Gn,(0,s.Z)((0,s.Z)({rightContentRender:h},e),{},{prefixCls:C}))]})}))},Pa=function(e){var t,n,a;return(0,o.Z)({},e.componentCls,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((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 La(r){return(0,$e.Xj)("ProLayoutGlobalHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Pa(t)]})}var Na=function(e,t){return e===!1?null:e?e(t,null):t},Aa=function(e){var t=e.isMobile,n=e.logo,a=e.collapsed,l=e.onCollapse,i=e.rightContentRender,c=e.menuHeaderRender,d=e.onMenuHeaderClick,v=e.className,m=e.style,Z=e.layout,h=e.children,L=e.splitMenus,_=e.menuData,z=e.prefixCls,E=(0,p.useContext)(Ve.ZP.ConfigContext),Q=E.getPrefixCls,X=E.direction,Y="".concat(z||Q("pro"),"-global-header"),$=La(Y),V=$.wrapSSR,C=$.hashId,O=se()(v,Y,C);if(Z==="mix"&&!t&&L){var oe=(_||[]).map(function(ye){return(0,s.Z)((0,s.Z)({},ye),{},{children:void 0,routes:void 0})}),J=_t(oe);return(0,u.jsx)(Vn,(0,s.Z)((0,s.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:J}))}var F=se()("".concat(Y,"-logo"),C,(0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(Y,"-logo-rtl"),X==="rtl"),"".concat(Y,"-logo-mix"),Z==="mix"),"".concat(Y,"-logo-mobile"),t)),fe=(0,u.jsx)("span",{className:F,children:(0,u.jsx)("a",{children:mn(n)})},"logo");return V((0,u.jsxs)("div",{className:O,style:(0,s.Z)({},m),children:[t&&(0,u.jsx)("span",{className:"".concat(Y,"-collapsed-button ").concat(C).trim(),onClick:function(){l==null||l(!a)},children:(0,u.jsx)(Fr,{})}),t&&Na(c,fe),Z==="mix"&&!t&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(pn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:F,onClick:d,children:gn((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:h}),(i||e.actionsRender||e.avatarProps)&&(0,u.jsx)(Gn,(0,s.Z)({rightContentRender:i},e))]}))},Ea=function(e){var t,n,a,l;return(0,o.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,o.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat(((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((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:((l=e.layout)===null||l===void 0||(l=l.header)===null||l===void 0?void 0:l.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function Ha(r){return(0,$e.Xj)("ProLayoutHeader",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Ea(t)]})}function Oa(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,$e.Xj)("ProLayoutHeaderStylish",function(a){var l=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,o.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,o.Z)({},"".concat(l.componentCls),t==null?void 0:t(l)))]:[]})}var Xn=dt.Z.Header,Da=function(e){var t,n,a,l=e.isMobile,i=e.fixedHeader,c=e.className,d=e.style,v=e.collapsed,m=e.prefixCls,Z=e.onCollapse,h=e.layout,L=e.headerRender,_=e.headerContentRender,z=(0,p.useContext)(te.L_),E=z.token,Q=(0,p.useContext)(Ve.ZP.ConfigContext),X=(0,p.useState)(!1),Y=(0,R.Z)(X,2),$=Y[0],V=Y[1],C=i||h==="mix",O=(0,p.useCallback)(function(){var P=h==="top",le=_t(e.menuData||[]),me=(0,u.jsx)(Aa,(0,s.Z)((0,s.Z)({onCollapse:Z},e),{},{menuData:le,children:_&&_(e,null)}));return P&&!l&&(me=(0,u.jsx)(Vn,(0,s.Z)((0,s.Z)({mode:"horizontal",onCollapse:Z},e),{},{menuData:le}))),L&&typeof L=="function"?L(e,me):me},[_,L,l,h,Z,e]);(0,p.useEffect)(function(){var P,le=(Q==null||(P=Q.getTargetContainer)===null||P===void 0?void 0:P.call(Q))||document.body,me=function(){var ge,Ae=le.scrollTop;return Ae>(((ge=E.layout)===null||ge===void 0||(ge=ge.header)===null||ge===void 0?void 0:ge.heightLayoutHeader)||56)&&!$?(V(!0),!0):($&&V(!1),!1)};if(C&&typeof window!="undefined")return le.addEventListener("scroll",me,{passive:!0}),function(){le.removeEventListener("scroll",me)}},[(t=E.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader,C,$]);var oe=h==="top",J="".concat(m,"-layout-header"),F=Ha(J),fe=F.wrapSSR,ye=F.hashId,x=Oa("".concat(J,".").concat(J,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),Ze=se()(c,ye,J,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(J,"-fixed-header"),C),"".concat(J,"-fixed-header-scroll"),$),"".concat(J,"-mix"),h==="mix"),"".concat(J,"-fixed-header-action"),!v),"".concat(J,"-top-menu"),oe),"".concat(J,"-header"),!0),"".concat(J,"-stylish"),!!e.stylish));return h==="side"&&!l?null:x.wrapSSR(fe((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(Ve.ZP,{theme:{hashed:(0,te.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[C&&(0,u.jsx)(Xn,{style:(0,s.Z)({height:((n=E.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((a=E.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)(Xn,{className:Ze,style:d,children:O()})]})})))},$a=f(83832),za=f(85265),Fa=f(11568),Jn=new Fa.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Wa=function(e){var t,n,a,l,i,c,d,v,m,Z,h,L;return(0,o.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorMenuBackground)||"transparent"}),e.componentCls,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.paddingInlineLayoutMenu,paddingBlock:(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,o.Z)((0,o.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:not(").concat(e.antCls,"-menu-item-selected):hover"),{color:(l=e.layout)===null||l===void 0||(l=l.sider)===null||l===void 0?void 0:l.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.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:Jn,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,o.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:(m=e.layout)===null||m===void 0||(m=m.sider)===null||m===void 0?void 0:m.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:(Z=e.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:Jn,animationDuration:".4s",animationTimingFunction:"ease"})),"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((h=e.layout)===null||h===void 0||(h=h.header)===null||h===void 0?void 0:h.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((L=e.layout)===null||L===void 0||(L=L.header)===null||L===void 0?void 0:L.heightLayoutHeader)||56,"px")}}))};function ka(r,e){var t=e.proLayoutCollapsedWidth;return(0,$e.Xj)("ProLayoutSiderMenu",function(n){var a=(0,s.Z)((0,s.Z)({},n),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return[Wa(a)]})}var Qn=function(e){var t,n=e.isMobile,a=e.siderWidth,l=e.collapsed,i=e.onCollapse,c=e.style,d=e.className,v=e.hide,m=e.prefixCls,Z=e.getContainer,h=(0,p.useContext)(te.L_),L=h.token;(0,p.useEffect)(function(){n===!0&&(i==null||i(!0))},[n]);var _=(0,Bn.Z)(e,["className","style"]),z=p.useContext(Ve.ZP.ConfigContext),E=z.direction,Q=ka("".concat(m,"-sider"),{proLayoutCollapsedWidth:64}),X=Q.wrapSSR,Y=Q.hashId,$=se()("".concat(m,"-sider"),d,Y);if(v)return null;var V=(0,j.X)(!l,function(){return i==null?void 0:i(!0)});return X(n?(0,u.jsx)(za.Z,(0,s.Z)((0,s.Z)({placement:E==="rtl"?"right":"left",className:se()("".concat(m,"-drawer-sider"),d)},V),{},{style:(0,s.Z)({padding:0,height:"100vh"},c),onClose:function(){i==null||i(!0)},maskClosable:!0,closable:!1,getContainer:Z||!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(t=L.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorMenuBackground}},children:(0,u.jsx)(Kn,(0,s.Z)((0,s.Z)({},_),{},{isMobile:!0,className:$,collapsed:n?!1:l,splitMenus:!1,originCollapsed:l}))})):(0,u.jsx)(Kn,(0,s.Z)((0,s.Z)({className:$,originCollapsed:l},_),{},{style:c})))},Yn=f(76509),hn=f(16305),_a=function(e,t,n){if(n){var a=(0,Ut.Z)(n.keys()).find(function(i){try{return i.startsWith("http")?!1:(0,hn.EQ)(i)(e)}catch(c){return console.log("key",i,c),!1}});if(a)return n.get(a)}if(t){var l=Object.keys(t).find(function(i){try{return i!=null&&i.startsWith("http")?!1:(0,hn.EQ)(i)(e)}catch(c){return console.log("key",i,c),!1}});if(l)return t[l]}return{path:""}},yn=function(e,t){var n=e.pathname,a=n===void 0?"/":n,l=e.breadcrumb,i=e.breadcrumbMap,c=e.formatMessage,d=e.title,v=e.menu,m=v===void 0?{locale:!1}:v,Z=t?"":d||"",h=_a(a,l,i);if(!h)return{title:Z,id:"",pageName:Z};var L=h.name;return m.locale!==!1&&h.locale&&c&&(L=c({id:h.locale||"",defaultMessage:h.name})),L?t||!d?{title:L,id:h.locale||"",pageName:L}:{title:"".concat(L," - ").concat(d),id:h.locale||"",pageName:L}:{title:Z,id:h.locale||"",pageName:Z}},Jo=function(e,t){return yn(e,t).title},Ua={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},Ka=(0,s.Z)({},Ua),Ga={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},Va=(0,s.Z)({},Ga),Xa={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},Ja=(0,s.Z)({},Xa),Qa={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},Ya=(0,s.Z)({},Qa),qa={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},eo=(0,s.Z)({},qa),qn={"zh-CN":Ya,"zh-TW":eo,"en-US":Ka,"it-IT":Va,"ko-KR":Ja},to=function(){if(!(0,Me.j)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},no=function(){var e=to();return qn[e]||qn["zh-CN"]},Vt=f(67159),gt=f(34155),ro=function(){var e;return typeof gt=="undefined"?Vt.Z:((e=gt)===null||gt===void 0||(gt={BUILD_ENV:'"development"'})===null||gt===void 0?void 0:gt.ANTD_VERSION)||Vt.Z},ao=function(e){var t,n,a,l,i,c,d,v,m,Z,h,L,_,z,E,Q,X,Y,$,V,C,O,oe,J,F,fe,ye,x,Ze,P,le,me;return(t=ro())!==null&&t!==void 0&&t.startsWith("5")?{}:(0,o.Z)((0,o.Z)((0,o.Z)({},e.componentCls,(0,o.Z)((0,o.Z)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(C={color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextMenu},(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)(C,"".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,o.Z)((0,o.Z)({color:(l=e.layout)===null||l===void 0||(l=l.sider)===null||l===void 0?void 0:l.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,o.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,o.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,o.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.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,o.Z)((0,o.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,o.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((m=e.layout)===null||m===void 0||(m=m.header)===null||m===void 0?void 0:m.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(Z=e.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(h=e.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenuSelected}),(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)(C,"".concat(e.antCls,"-menu-submenu-selected"),{color:(L=e.layout)===null||L===void 0||(L=L.sider)===null||L===void 0?void 0:L.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(_=e.layout)===null||_===void 0||(_=_.sider)===null||_===void 0?void 0:_.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,o.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{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-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:(E=e.layout)===null||E===void 0||(E=E.sider)===null||E===void 0?void 0:E.colorTextMenuActive}),"&".concat(e.antCls,"-menu-horizontal"),(0,o.Z)((0,o.Z)((0,o.Z)((0,o.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:(Q=e.layout)===null||Q===void 0||(Q=Q.header)===null||Q===void 0?void 0:Q.colorTextMenuActive,backgroundColor:"".concat((X=e.layout)===null||X===void 0||(X=X.header)===null||X===void 0?void 0:X.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,o.Z)({backgroundColor:(Y=e.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat(($=e.layout)===null||$===void 0||($=$.header)===null||$===void 0?void 0:$.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((V=e.layout)===null||V===void 0||(V=V.header)===null||V===void 0?void 0:V.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,o.Z)((0,o.Z)({},"&".concat(e.antCls,"-menu"),(0,o.Z)({color:(O=e.layout)===null||O===void 0||(O=O.header)===null||O===void 0?void 0:O.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,o.Z)((0,o.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,o.Z)({color:(oe=e.layout)===null||oe===void 0||(oe=oe.header)===null||oe===void 0?void 0:oe.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(J=e.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(F=e.layout)===null||F===void 0||(F=F.header)===null||F===void 0?void 0:F.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:(fe=e.layout)===null||fe===void 0||(fe=fe.header)===null||fe===void 0?void 0:fe.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(ye=e.layout)===null||ye===void 0||(ye=ye.header)===null||ye===void 0?void 0:ye.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,o.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:(x=e.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(Ze=e.layout)===null||Ze===void 0||(Ze=Ze.sider)===null||Ze===void 0?void 0:Ze.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,o.Z)((0,o.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(P=e.layout)===null||P===void 0||(P=P.sider)===null||P===void 0?void 0:P.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover,
- `).concat(e.antCls,`-menu-item-active,
- `).concat(e.antCls,"-menu-submenu-title:hover"),(0,o.Z)({color:(le=e.layout)===null||le===void 0||(le=le.sider)===null||le===void 0?void 0:le.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(me=e.layout)===null||me===void 0||(me=me.sider)===null||me===void 0?void 0:me.colorTextMenuActive}))))},oo=function(e){var t,n,a,l;return(0,o.Z)((0,o.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.paddingBlockPageContainerContent,paddingInline:(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:(l=e.layout)===null||l===void 0?void 0:l.bgLayout}))};function io(r){return(0,$e.Xj)("ProLayout",function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[oo(t),ao(t)]})}function lo(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(t){return t});return e.map(function(t,n){return"/".concat(e.slice(0,n+1).join("/"))})}var ht=f(34155),uo=function(){var e;return typeof ht=="undefined"?Vt.Z:((e=ht)===null||ht===void 0||(ht={BUILD_ENV:'"development"'})===null||ht===void 0?void 0:ht.ANTD_VERSION)||Vt.Z},co=function(e,t,n){var a=e,l=a.breadcrumbName,i=a.title,c=a.path,d=n.findIndex(function(v){return v.linkPath===e.path})===n.length-1;return d?(0,u.jsx)("span",{children:i||l}):(0,u.jsx)("span",{onClick:c?function(){return location.href=c}:void 0,children:i||l})},so=function(e,t){var n=t.formatMessage,a=t.menu;return e.locale&&n&&(a==null?void 0:a.locale)!==!1?n({id:e.locale,defaultMessage:e.name}):e.name},fo=function(e,t){var n=e.get(t);if(!n){var a=Array.from(e.keys())||[],l=a.find(function(i){try{return i!=null&&i.startsWith("http")?!1:(0,hn.EQ)(i.replace("?",""))(t)}catch(c){return console.log("path",i,c),!1}});l&&(n=e.get(l))}return n||{path:""}},vo=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},mo=function(e,t,n){var a=lo(e==null?void 0:e.pathname),l=a.map(function(i){var c=fo(t,i),d=so(c,n),v=c.hideInBreadcrumb;return d&&!v?{linkPath:i,breadcrumbName:d,title:d,component:c.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(i){return i&&i.linkPath});return l},po=function(e){var t=vo(e),n=t.location,a=t.breadcrumbMap;return n&&n.pathname&&a?mo(n,a,e):[]},go=function(e,t){var n=e.breadcrumbRender,a=e.itemRender,l=t.breadcrumbProps||{},i=l.minLength,c=i===void 0?2:i,d=po(e),v=function(h){for(var L=a||co,_=arguments.length,z=new Array(_>1?_-1:0),E=1;E<_;E++)z[E-1]=arguments[E];return L==null?void 0:L.apply(void 0,[(0,s.Z)((0,s.Z)({},h),{},{path:h.linkPath||h.path})].concat(z))},m=d;return n&&(m=n(m||[])||void 0),(m&&m.length<c||n===!1)&&(m=void 0),(0,W.n)(uo(),"5.3.0")>-1?{items:m,itemRender:v}:{routes:m,itemRender:v}};function ho(r){return(0,Ut.Z)(r).reduce(function(e,t){var n=(0,R.Z)(t,2),a=n[0],l=n[1];return e[a]=l,e},{})}var yo=function r(e,t,n,a){var l=Tt(e,(t==null?void 0:t.locale)||!1,n,!0),i=l.menuData,c=l.breadcrumb;return a?r(a(i),t,n,void 0):{breadcrumb:ho(c),breadcrumbMap:c,menuData:i}},xo=f(71002),Co=f(51812),bo=function(e){var t=(0,p.useState)({}),n=(0,R.Z)(t,2),a=n[0],l=n[1];return(0,p.useEffect)(function(){l((0,Co.Y)({layout:(0,xo.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},So=["id","defaultMessage"],Zo=["fixSiderbar","navTheme","layout"],er=0,Mo=function(e,t){var n;return e.headerRender===!1||e.pure?null:(0,u.jsx)(Da,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{stylish:(n=e.stylish)===null||n===void 0?void 0:n.header}))},Io=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,s.Z)({},e),(0,u.jsx)(Hr,{})):null},Ro=function(e,t){var n,a=e.layout,l=e.isMobile,i=e.selectedKeys,c=e.openKeys,d=e.splitMenus,v=e.suppressSiderWhenMenuEmpty,m=e.menuRender;if(e.menuRender===!1||e.pure)return null;var Z=e.menuData;if(d&&(c!==!1||a==="mix")&&!l){var h=i||t,L=(0,R.Z)(h,1),_=L[0];if(_){var z;Z=((z=e.menuData)===null||z===void 0||(z=z.find(function(Y){return Y.key===_}))===null||z===void 0?void 0:z.children)||[]}else Z=[]}var E=_t(Z||[]);if(E&&(E==null?void 0:E.length)<1&&(d||v))return null;if(a==="top"&&!l){var Q;return(0,u.jsx)(Qn,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{hide:!0,stylish:(Q=e.stylish)===null||Q===void 0?void 0:Q.sider}))}var X=(0,u.jsx)(Qn,(0,s.Z)((0,s.Z)({matchMenuKeys:t},e),{},{menuData:E,stylish:(n=e.stylish)===null||n===void 0?void 0:n.sider}));return m?m(e,X):X},To=function(e,t){var n=t.pageTitleRender,a=yn(e);if(n===!1)return{title:t.title||"",id:"",pageName:""};if(n){var l=n(e,a.title,a);if(typeof l=="string")return yn((0,s.Z)((0,s.Z)({},a),{},{title:l}));(0,br.ZP)(typeof l=="string","pro-layout: renderPageTitle return value should be a string")}return a},wo=function(e,t,n){return e?t?64:n:0},jo=function(e){var t,n,a,l,i,c,d,v,m,Z,h,L,_,z,E=e||{},Q=E.children,X=E.onCollapse,Y=E.location,$=Y===void 0?{pathname:"/"}:Y,V=E.contentStyle,C=E.route,O=E.defaultCollapsed,oe=E.style,J=E.siderWidth,F=E.menu,fe=E.siderMenuType,ye=E.isChildrenLayout,x=E.menuDataRender,Ze=E.actionRef,P=E.bgLayoutImgList,le=E.formatMessage,me=E.loading,Te=(0,p.useMemo)(function(){return J||(e.layout==="mix"?215:256)},[e.layout,J]),ge=(0,p.useContext)(Ve.ZP.ConfigContext),Ae=(t=e.prefixCls)!==null&&t!==void 0?t:ge.getPrefixCls("pro"),we=(0,ne.Z)(!1,{value:F==null?void 0:F.loading,onChange:F==null?void 0:F.onLoadingChange}),je=(0,R.Z)(we,2),_e=je[0],ze=je[1],Fe=(0,p.useState)(function(){return er+=1,"pro-layout-".concat(er)}),Qe=(0,R.Z)(Fe,1),et=Qe[0],tt=(0,p.useCallback)(function(He){var rt=He.id,qt=He.defaultMessage,At=(0,D.Z)(He,So);if(le)return le((0,s.Z)({id:rt,defaultMessage:qt},At));var Et=no();return Et[rt]?Et[rt]:qt},[le]),nt=(0,Sr.ZP)([et,F==null?void 0:F.params],function(){var He=(0,H.Z)((0,T.Z)().mark(function rt(qt){var At,Et,pr,gr;return(0,T.Z)().wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:return Et=(0,R.Z)(qt,2),pr=Et[1],ze(!0),bt.next=4,F==null||(At=F.request)===null||At===void 0?void 0:At.call(F,pr||{},(C==null?void 0:C.children)||(C==null?void 0:C.routes)||[]);case 4:return gr=bt.sent,ze(!1),bt.abrupt("return",gr);case 7:case"end":return bt.stop()}},rt)}));return function(rt){return He.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),jt=nt.data,Xt=nt.mutate,Ee=nt.isLoading;(0,p.useEffect)(function(){ze(Ee)},[Ee]);var Xe=(0,Zr.kY)(),Ue=Xe.cache;(0,p.useEffect)(function(){return function(){Ue instanceof Map&&Ue.delete(et)}},[]);var Jt=(0,p.useMemo)(function(){return yo(jt||(C==null?void 0:C.children)||(C==null?void 0:C.routes)||[],F,tt,x)},[tt,F,x,jt,C==null?void 0:C.children,C==null?void 0:C.routes]),xn=Jt||{},Po=xn.breadcrumb,tr=xn.breadcrumbMap,nr=xn.menuData,Bt=nr===void 0?[]:nr;Ze&&F!==null&&F!==void 0&&F.request&&(Ze.current={reload:function(){Xt()}});var Pt=(0,p.useMemo)(function(){return xr($.pathname||"/",Bt||[],!0)},[$.pathname,Bt]),Cn=(0,p.useMemo)(function(){return Array.from(new Set(Pt.map(function(He){return He.key||He.path||""})))},[Pt]),rr=Pt[Pt.length-1]||{},ar=bo(rr),Qt=(0,s.Z)((0,s.Z)({},e),ar),Lo=Qt.fixSiderbar,Qo=Qt.navTheme,Lt=Qt.layout,No=(0,D.Z)(Qt,Zo),yt=Re(),xt=(0,p.useMemo)(function(){return(yt==="sm"||yt==="xs")&&!e.disableMobile},[yt,e.disableMobile]),Ao=Lt!=="top"&&!xt,Eo=(0,ne.Z)(function(){return O!==void 0?O:!!(xt||yt==="md")},{value:e.collapsed,onChange:X}),or=(0,R.Z)(Eo,2),Nt=or[0],ir=or[1],Ct=(0,Bn.Z)((0,s.Z)((0,s.Z)((0,s.Z)({prefixCls:Ae},e),{},{siderWidth:Te},ar),{},{formatMessage:tt,breadcrumb:Po,menu:(0,s.Z)((0,s.Z)({},F),{},{type:fe||(F==null?void 0:F.type),loading:_e}),layout:Lt}),["className","style","breadcrumbRender"]),bn=To((0,s.Z)((0,s.Z)({pathname:$.pathname},Ct),{},{breadcrumbMap:tr}),e),Ho=go((0,s.Z)((0,s.Z)({},Ct),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:tr}),e),Yt=Ro((0,s.Z)((0,s.Z)({},Ct),{},{menuData:Bt,onCollapse:ir,isMobile:xt,collapsed:Nt}),Cn),Sn=Mo((0,s.Z)((0,s.Z)({},Ct),{},{children:null,hasSiderMenu:!!Yt,menuData:Bt,isMobile:xt,collapsed:Nt,onCollapse:ir}),Cn),lr=Io((0,s.Z)({isMobile:xt,collapsed:Nt},Ct)),Oo=(0,p.useContext)(Yn.X),Do=Oo.isChildrenLayout,Zn=ye!==void 0?ye:Do,Ye="".concat(Ae,"-layout"),ur=io(Ye),$o=ur.wrapSSR,Mn=ur.hashId,zo=se()(e.className,Mn,"ant-design-pro",Ye,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"screen-".concat(yt),yt),"".concat(Ye,"-top-menu"),Lt==="top"),"".concat(Ye,"-is-children"),Zn),"".concat(Ye,"-fix-siderbar"),Lo),"".concat(Ye,"-").concat(Lt),Lt)),Fo=wo(!!Ao,Nt,Te),cr={position:"relative"};(Zn||V&&V.minHeight)&&(cr.minHeight=0),(0,p.useEffect)(function(){var He;(He=e.onPageChange)===null||He===void 0||He.call(e,e.location)},[$.pathname,(n=$.pathname)===null||n===void 0?void 0:n.search]);var Wo=(0,p.useState)(!1),sr=(0,R.Z)(Wo,2),dr=sr[0],ko=sr[1],_o=(0,p.useState)(0),fr=(0,R.Z)(_o,2),vr=fr[0],Uo=fr[1];N(bn,e.title||!1);var Ko=(0,p.useContext)(te.L_),ae=Ko.token,mr=(0,p.useMemo)(function(){return P&&P.length>0?P==null?void 0:P.map(function(He,rt){return(0,u.jsx)("img",{src:He.src,style:(0,s.Z)({position:"absolute"},He)},rt)}):null},[P]);return $o((0,u.jsx)(Yn.X.Provider,{value:(0,s.Z)((0,s.Z)({},Ct),{},{breadcrumb:Ho,menuData:Bt,isMobile:xt,collapsed:Nt,hasPageContainer:vr,setHasPageContainer:Uo,isChildrenLayout:!0,title:bn.pageName,hasSiderMenu:!!Yt,hasHeader:!!Sn,siderWidth:Fo,hasFooter:!!lr,hasFooterToolbar:dr,setHasFooterToolbar:ko,pageTitleInfo:bn,matchMenus:Pt,matchMenuKeys:Cn,currentMenu:rr}),children:e.pure?(0,u.jsx)(u.Fragment,{children:Q}):(0,u.jsxs)("div",{className:zo,children:[mr||(a=ae.layout)!==null&&a!==void 0&&a.bgLayout?(0,u.jsx)("div",{className:se()("".concat(Ye,"-bg-list"),Mn),children:mr}):null,(0,u.jsxs)(dt.Z,{style:(0,s.Z)({minHeight:"100%",flexDirection:Yt?"row":void 0},oe),children:[(0,u.jsx)(Ve.ZP,{theme:{hashed:(0,te.nu)(),token:{controlHeightLG:((l=ae.layout)===null||l===void 0||(l=l.sider)===null||l===void 0?void 0:l.menuHeight)||(ae==null?void 0:ae.controlHeightLG)},components:{Menu:re({colorItemBg:((i=ae.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorMenuBackground)||"transparent",colorSubItemBg:((c=ae.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuBackground)||"transparent",radiusItem:ae.borderRadius,colorItemBgSelected:((d=ae.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(ae==null?void 0:ae.colorBgTextHover),colorItemBgHover:((v=ae.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorBgMenuItemHover)||(ae==null?void 0:ae.colorBgTextHover),colorItemBgActive:((m=ae.layout)===null||m===void 0||(m=m.sider)===null||m===void 0?void 0:m.colorBgMenuItemActive)||(ae==null?void 0:ae.colorBgTextActive),colorItemBgSelectedHorizontal:((Z=ae.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorBgMenuItemSelected)||(ae==null?void 0:ae.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((h=ae.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenu)||(ae==null?void 0:ae.colorTextSecondary),colorItemTextHover:((L=ae.layout)===null||L===void 0||(L=L.sider)===null||L===void 0?void 0:L.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((_=ae.layout)===null||_===void 0||(_=_.sider)===null||_===void 0?void 0:_.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:ae==null?void 0:ae.colorBgElevated,subMenuItemBg:ae==null?void 0:ae.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:ae==null?void 0:ae.colorBgElevated})}},children:Yt}),(0,u.jsxs)("div",{style:cr,className:"".concat(Ye,"-container ").concat(Mn).trim(),children:[Sn,(0,u.jsx)(Ir,(0,s.Z)((0,s.Z)({hasPageContainer:vr,isChildrenLayout:Zn},No),{},{hasHeader:!!Sn,prefixCls:Ye,style:V,children:me?(0,u.jsx)($a.S,{}):Q})),lr,dr&&(0,u.jsx)("div",{className:"".concat(Ye,"-has-footer"),style:{height:64,marginBlockStart:(z=ae.layout)===null||z===void 0||(z=z.pageContainer)===null||z===void 0?void 0:z.paddingBlockPageContainerContent}})]})]})]})}))},Bo=function(e){var t=e.colorPrimary,n=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(Ve.ZP,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,u.jsx)(te._Y,(0,s.Z)((0,s.Z)({},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(jo,(0,s.Z)((0,s.Z)({logo:(0,u.jsx)(Rr,{})},$n),{},{location:(0,Me.j)()?window.location:void 0},e))}))})}},83832:function(k,U,f){"use strict";f.d(U,{S:function(){return te}});var o=f(1413),T=f(45987),H=f(57381),D=f(67294),R=f(85893),s=["isLoading","pastDelay","timedOut","error","retry"],te=function(p){var pe=p.isLoading,ie=p.pastDelay,Ce=p.timedOut,Re=p.error,Me=p.retry,N=(0,T.Z)(p,s);return(0,R.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,R.jsx)(H.Z,(0,o.Z)({size:"large"},N))})}},76509:function(k,U,f){"use strict";f.d(U,{X:function(){return T}});var o=f(67294),T=(0,o.createContext)({})},12044:function(k,U,f){"use strict";f.d(U,{j:function(){return H}});var o=f(34155),T=typeof o!="undefined"&&o.versions!=null&&o.versions.node!=null,H=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!T}},55650:function(k,U,f){"use strict";f.d(U,{Z:function(){return Ie}});var o=f(1413),T=f(67294),H=f(70391),D=f(97685),R=f(4942),s=f(45987),te=f(93967),ne=f.n(te),p=(0,T.createContext)({}),pe=p,ie=f(71002),Ce=f(86500),Re=f(1350),Me=2,N=.16,W=.05,j=.05,re=.15,de=5,q=4,ue=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function xe(S){var A=S.r,ee=S.g,G=S.b,Se=(0,Ce.py)(A,ee,G);return{h:Se.h*360,s:Se.s,v:Se.v}}function ce(S){var A=S.r,ee=S.g,G=S.b;return"#".concat((0,Ce.vq)(A,ee,G,!1))}function M(S,A,ee){var G=ee/100,Se={r:(A.r-S.r)*G+S.r,g:(A.g-S.g)*G+S.g,b:(A.b-S.b)*G+S.b};return Se}function y(S,A,ee){var G;return Math.round(S.h)>=60&&Math.round(S.h)<=240?G=ee?Math.round(S.h)-Me*A:Math.round(S.h)+Me*A:G=ee?Math.round(S.h)+Me*A:Math.round(S.h)-Me*A,G<0?G+=360:G>=360&&(G-=360),G}function g(S,A,ee){if(S.h===0&&S.s===0)return S.s;var G;return ee?G=S.s-N*A:A===q?G=S.s+N:G=S.s+W*A,G>1&&(G=1),ee&&A===de&&G>.1&&(G=.1),G<.06&&(G=.06),Number(G.toFixed(2))}function K(S,A,ee){var G;return ee?G=S.v+j*A:G=S.v-re*A,G>1&&(G=1),Number(G.toFixed(2))}function B(S){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=[],G=(0,Re.uA)(S),Se=de;Se>0;Se-=1){var Ke=xe(G),Je=ce((0,Re.uA)({h:y(Ke,Se,!0),s:g(Ke,Se,!0),v:K(Ke,Se,!0)}));ee.push(Je)}ee.push(ce(G));for(var ke=1;ke<=q;ke+=1){var De=xe(G),Ge=ce((0,Re.uA)({h:y(De,ke),s:g(De,ke),v:K(De,ke)}));ee.push(Ge)}return A.theme==="dark"?ue.map(function(Ne){var pt=Ne.index,ct=Ne.opacity,Rt=ce(M((0,Re.uA)(A.backgroundColor||"#141414"),(0,Re.uA)(ee[pt]),ct*100));return Rt}):ee}var b={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},w={},I={};Object.keys(b).forEach(function(S){w[S]=B(b[S]),w[S].primary=w[S][5],I[S]=B(b[S],{theme:"dark",backgroundColor:"#141414"}),I[S].primary=I[S][5]});var ve=w.red,he=w.volcano,Pe=w.gold,be=w.orange,Le=w.yellow,Be=w.lime,Oe=w.green,We=w.cyan,at=w.blue,Ht=w.geekblue,ft=w.purple,Tn=w.magenta,wn=w.grey,en=f(80334),tn=f(44958),nn=f(68929),rn=f.n(nn);function an(S,A){(0,en.ZP)(S,"[@ant-design/icons] ".concat(A))}function St(S){return(0,ie.Z)(S)==="object"&&typeof S.name=="string"&&typeof S.theme=="string"&&((0,ie.Z)(S.icon)==="object"||typeof S.icon=="function")}function Ot(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(S).reduce(function(A,ee){var G=S[ee];switch(ee){case"class":A.className=G,delete A.class;break;default:delete A[ee],A[rn()(ee)]=G}return A},{})}function Zt(S,A,ee){return ee?T.createElement(S.tag,(0,o.Z)((0,o.Z)({key:A},Ot(S.attrs)),ee),(S.children||[]).map(function(G,Se){return Zt(G,"".concat(A,"-").concat(S.tag,"-").concat(Se))})):T.createElement(S.tag,(0,o.Z)({key:A},Ot(S.attrs)),(S.children||[]).map(function(G,Se){return Zt(G,"".concat(A,"-").concat(S.tag,"-").concat(Se))}))}function Dt(S){return B(S)[0]}function $t(S){return S?Array.isArray(S)?S:[S]:[]}var jn={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Mt=`
- .anticon {
- display: inline-flex;
- alignItems: center;
- color: inherit;
- font-style: normal;
- line-height: 0;
- text-align: center;
- text-transform: none;
- vertical-align: -0.125em;
- text-rendering: optimizeLegibility;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
-
- .anticon > * {
- line-height: 1;
- }
-
- .anticon svg {
- display: inline-block;
- }
-
- .anticon::before {
- display: none;
- }
-
- .anticon .anticon-icon {
- display: block;
- }
-
- .anticon[tabindex] {
- cursor: pointer;
- }
-
- .anticon-spin::before,
- .anticon-spin {
- display: inline-block;
- -webkit-animation: loadingCircle 1s infinite linear;
- animation: loadingCircle 1s infinite linear;
- }
-
- @-webkit-keyframes loadingCircle {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
-
- @keyframes loadingCircle {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- `,vt=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mt,ee=(0,T.useContext)(pe),G=ee.csp;(0,T.useEffect)(function(){(0,tn.hq)(A,"@ant-design-icons",{prepend:!0,csp:G})},[])},zt=["icon","className","onClick","style","primaryColor","secondaryColor"],ot={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function it(S){var A=S.primaryColor,ee=S.secondaryColor;ot.primaryColor=A,ot.secondaryColor=ee||Dt(A),ot.calculated=!!ee}function lt(){return(0,o.Z)({},ot)}var ut=function(A){var ee=A.icon,G=A.className,Se=A.onClick,Ke=A.style,Je=A.primaryColor,ke=A.secondaryColor,De=(0,s.Z)(A,zt),Ge=ot;if(Je&&(Ge={primaryColor:Je,secondaryColor:ke||Dt(Je)}),vt(),an(St(ee),"icon should be icon definiton, but got ".concat(ee)),!St(ee))return null;var Ne=ee;return Ne&&typeof Ne.icon=="function"&&(Ne=(0,o.Z)((0,o.Z)({},Ne),{},{icon:Ne.icon(Ge.primaryColor,Ge.secondaryColor)})),Zt(Ne.icon,"svg-".concat(Ne.name),(0,o.Z)({className:G,onClick:Se,style:Ke,"data-icon":Ne.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},De))};ut.displayName="IconReact",ut.getTwoToneColors=lt,ut.setTwoToneColors=it;var It=ut;function mt(S){var A=$t(S),ee=(0,D.Z)(A,2),G=ee[0],Se=ee[1];return It.setTwoToneColors({primaryColor:G,secondaryColor:Se})}function on(){var S=It.getTwoToneColors();return S.calculated?[S.primaryColor,S.secondaryColor]:S.primaryColor}var ln=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];mt("#1890ff");var qe=T.forwardRef(function(S,A){var ee=S.className,G=S.icon,Se=S.spin,Ke=S.rotate,Je=S.tabIndex,ke=S.onClick,De=S.twoToneColor,Ge=(0,s.Z)(S,ln),Ne=T.useContext(pe),pt=Ne.prefixCls,ct=pt===void 0?"anticon":pt,Rt=Ne.rootClassName,sn=ne()(Rt,ct,(0,R.Z)((0,R.Z)({},"".concat(ct,"-").concat(G.name),!!G.name),"".concat(ct,"-spin"),!!Se||G.name==="loading"),ee),Tt=Je;Tt===void 0&&ke&&(Tt=-1);var Wt=Ke?{msTransform:"rotate(".concat(Ke,"deg)"),transform:"rotate(".concat(Ke,"deg)")}:void 0,st=$t(De),kt=(0,D.Z)(st,2),dn=kt[0],fn=kt[1];return T.createElement("span",(0,o.Z)((0,o.Z)({role:"img","aria-label":G.name},Ge),{},{ref:A,tabIndex:Tt,onClick:ke,className:sn}),T.createElement(It,{icon:G,primaryColor:dn,secondaryColor:fn,style:Wt}))});qe.displayName="AntdIcon",qe.getTwoToneColor=on,qe.setTwoToneColor=mt;var un=qe,cn=function(A,ee){return T.createElement(un,(0,o.Z)((0,o.Z)({},A),{},{ref:ee,icon:H.Z}))},Ft=T.forwardRef(cn),Ie=Ft},47930:function(k,U){var f;function o(N){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},o(N)}f={value:!0},U.Bo=f=f=f=f=f=f=void 0;function T(N){for(var W=[],j=0;j<N.length;){var re=N[j];if(re==="*"||re==="+"||re==="?"){W.push({type:"MODIFIER",index:j,value:N[j++]});continue}if(re==="\\"){W.push({type:"ESCAPED_CHAR",index:j++,value:N[j++]});continue}if(re==="{"){W.push({type:"OPEN",index:j,value:N[j++]});continue}if(re==="}"){W.push({type:"CLOSE",index:j,value:N[j++]});continue}if(re===":"){for(var de="",q=j+1;q<N.length;){var ue=N.charCodeAt(q);if(ue>=48&&ue<=57||ue>=65&&ue<=90||ue>=97&&ue<=122||ue===95){de+=N[q++];continue}break}if(!de)throw new TypeError("Missing parameter name at "+j);W.push({type:"NAME",index:j,value:de}),j=q;continue}if(re==="("){var xe=1,ce="",q=j+1;if(N[q]==="?")throw new TypeError('Pattern cannot start with "?" at '+q);for(;q<N.length;){if(N[q]==="\\"){ce+=N[q++]+N[q++];continue}if(N[q]===")"){if(xe--,xe===0){q++;break}}else if(N[q]==="("&&(xe++,N[q+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+q);ce+=N[q++]}if(xe)throw new TypeError("Unbalanced pattern at "+j);if(!ce)throw new TypeError("Missing pattern at "+j);W.push({type:"PATTERN",index:j,value:ce}),j=q;continue}W.push({type:"CHAR",index:j,value:N[j++]})}return W.push({type:"END",index:j,value:""}),W}function H(N,W){W===void 0&&(W={});for(var j=T(N),re=W.prefixes,de=re===void 0?"./":re,q="[^"+ne(W.delimiter||"/#?")+"]+?",ue=[],xe=0,ce=0,M="",y=function(Oe){if(ce<j.length&&j[ce].type===Oe)return j[ce++].value},g=function(Oe){var We=y(Oe);if(We!==void 0)return We;var at=j[ce],Ht=at.type,ft=at.index;throw new TypeError("Unexpected "+Ht+" at "+ft+", expected "+Oe)},K=function(){for(var Oe="",We;We=y("CHAR")||y("ESCAPED_CHAR");)Oe+=We;return Oe};ce<j.length;){var B=y("CHAR"),b=y("NAME"),w=y("PATTERN");if(b||w){var I=B||"";de.indexOf(I)===-1&&(M+=I,I=""),M&&(ue.push(M),M=""),ue.push({name:b||xe++,prefix:I,suffix:"",pattern:w||q,modifier:y("MODIFIER")||""});continue}var ve=B||y("ESCAPED_CHAR");if(ve){M+=ve;continue}M&&(ue.push(M),M="");var he=y("OPEN");if(he){var I=K(),Pe=y("NAME")||"",be=y("PATTERN")||"",Le=K();g("CLOSE"),ue.push({name:Pe||(be?xe++:""),pattern:Pe&&!be?q:be,prefix:I,suffix:Le,modifier:y("MODIFIER")||""});continue}g("END")}return ue}f=H;function D(N,W){return R(H(N,W),W)}f=D;function R(N,W){W===void 0&&(W={});var j=p(W),re=W.encode,de=re===void 0?function(ce){return ce}:re,q=W.validate,ue=q===void 0?!0:q,xe=N.map(function(ce){if(o(ce)==="object")return new RegExp("^(?:"+ce.pattern+")$",j)});return function(ce){for(var M="",y=0;y<N.length;y++){var g=N[y];if(typeof g=="string"){M+=g;continue}var K=ce?ce[g.name]:void 0,B=g.modifier==="?"||g.modifier==="*",b=g.modifier==="*"||g.modifier==="+";if(Array.isArray(K)){if(!b)throw new TypeError('Expected "'+g.name+'" to not repeat, but got an array');if(K.length===0){if(B)continue;throw new TypeError('Expected "'+g.name+'" to not be empty')}for(var w=0;w<K.length;w++){var I=de(K[w],g);if(ue&&!xe[y].test(I))throw new TypeError('Expected all "'+g.name+'" to match "'+g.pattern+'", but got "'+I+'"');M+=g.prefix+I+g.suffix}continue}if(typeof K=="string"||typeof K=="number"){var I=de(String(K),g);if(ue&&!xe[y].test(I))throw new TypeError('Expected "'+g.name+'" to match "'+g.pattern+'", but got "'+I+'"');M+=g.prefix+I+g.suffix;continue}if(!B){var ve=b?"an array":"a string";throw new TypeError('Expected "'+g.name+'" to be '+ve)}}return M}}f=R;function s(N,W){var j=[],re=Me(N,j,W);return te(re,j,W)}f=s;function te(N,W,j){j===void 0&&(j={});var re=j.decode,de=re===void 0?function(q){return q}:re;return function(q){var ue=N.exec(q);if(!ue)return!1;for(var xe=ue[0],ce=ue.index,M=Object.create(null),y=function(B){if(ue[B]===void 0)return"continue";var b=W[B-1];b.modifier==="*"||b.modifier==="+"?M[b.name]=ue[B].split(b.prefix+b.suffix).map(function(w){return de(w,b)}):M[b.name]=de(ue[B],b)},g=1;g<ue.length;g++)y(g);return{path:xe,index:ce,params:M}}}f=te;function ne(N){return N.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function p(N){return N&&N.sensitive?"":"i"}function pe(N,W){if(!W)return N;var j=N.source.match(/\((?!\?)/g);if(j)for(var re=0;re<j.length;re++)W.push({name:re,prefix:"",suffix:"",modifier:"",pattern:""});return N}function ie(N,W,j){var re=N.map(function(de){return Me(de,W,j).source});return new RegExp("(?:"+re.join("|")+")",p(j))}function Ce(N,W,j){return Re(H(N,j),W,j)}function Re(N,W,j){j===void 0&&(j={});for(var re=j.strict,de=re===void 0?!1:re,q=j.start,ue=q===void 0?!0:q,xe=j.end,ce=xe===void 0?!0:xe,M=j.encode,y=M===void 0?function(Be){return Be}:M,g="["+ne(j.endsWith||"")+"]|$",K="["+ne(j.delimiter||"/#?")+"]",B=ue?"^":"",b=0,w=N;b<w.length;b++){var I=w[b];if(typeof I=="string")B+=ne(y(I));else{var ve=ne(y(I.prefix)),he=ne(y(I.suffix));if(I.pattern)if(W&&W.push(I),ve||he)if(I.modifier==="+"||I.modifier==="*"){var Pe=I.modifier==="*"?"?":"";B+="(?:"+ve+"((?:"+I.pattern+")(?:"+he+ve+"(?:"+I.pattern+"))*)"+he+")"+Pe}else B+="(?:"+ve+"("+I.pattern+")"+he+")"+I.modifier;else B+="("+I.pattern+")"+I.modifier;else B+="(?:"+ve+he+")"+I.modifier}}if(ce)de||(B+=K+"?"),B+=j.endsWith?"(?="+g+")":"$";else{var be=N[N.length-1],Le=typeof be=="string"?K.indexOf(be[be.length-1])>-1:be===void 0;de||(B+="(?:"+K+"(?="+g+"))?"),Le||(B+="(?="+K+"|"+g+")")}return new RegExp(B,p(j))}f=Re;function Me(N,W,j){return N instanceof RegExp?pe(N,W):Array.isArray(N)?ie(N,W,j):Ce(N,W,j)}U.Bo=Me},62663:function(k){function U(f,o,T,H){var D=-1,R=f==null?0:f.length;for(H&&R&&(T=f[++D]);++D<R;)T=o(T,f[D],D,f);return T}k.exports=U},44286:function(k){function U(f){return f.split("")}k.exports=U},49029:function(k){var U=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function f(o){return o.match(U)||[]}k.exports=f},18674:function(k){function U(f){return function(o){return f==null?void 0:f[o]}}k.exports=U},14259:function(k){function U(f,o,T){var H=-1,D=f.length;o<0&&(o=-o>D?0:D+o),T=T>D?D:T,T<0&&(T+=D),D=o>T?0:T-o>>>0,o>>>=0;for(var R=Array(D);++H<D;)R[H]=f[H+o];return R}k.exports=U},40180:function(k,U,f){var o=f(14259);function T(H,D,R){var s=H.length;return R=R===void 0?s:R,!D&&R>=s?H:o(H,D,R)}k.exports=T},98805:function(k,U,f){var o=f(40180),T=f(62689),H=f(83140),D=f(79833);function R(s){return function(te){te=D(te);var ne=T(te)?H(te):void 0,p=ne?ne[0]:te.charAt(0),pe=ne?o(ne,1).join(""):te.slice(1);return p[s]()+pe}}k.exports=R},35393:function(k,U,f){var o=f(62663),T=f(53816),H=f(58748),D="['\u2019]",R=RegExp(D,"g");function s(te){return function(ne){return o(H(T(ne).replace(R,"")),te,"")}}k.exports=s},69389:function(k,U,f){var o=f(18674),T={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},H=o(T);k.exports=H},62689:function(k){var U="\\ud800-\\udfff",f="\\u0300-\\u036f",o="\\ufe20-\\ufe2f",T="\\u20d0-\\u20ff",H=f+o+T,D="\\ufe0e\\ufe0f",R="\\u200d",s=RegExp("["+R+U+H+D+"]");function te(ne){return s.test(ne)}k.exports=te},93157:function(k){var U=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function f(o){return U.test(o)}k.exports=f},83140:function(k,U,f){var o=f(44286),T=f(62689),H=f(676);function D(R){return T(R)?H(R):o(R)}k.exports=D},676:function(k){var U="\\ud800-\\udfff",f="\\u0300-\\u036f",o="\\ufe20-\\ufe2f",T="\\u20d0-\\u20ff",H=f+o+T,D="\\ufe0e\\ufe0f",R="["+U+"]",s="["+H+"]",te="\\ud83c[\\udffb-\\udfff]",ne="(?:"+s+"|"+te+")",p="[^"+U+"]",pe="(?:\\ud83c[\\udde6-\\uddff]){2}",ie="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="\\u200d",Re=ne+"?",Me="["+D+"]?",N="(?:"+Ce+"(?:"+[p,pe,ie].join("|")+")"+Me+Re+")*",W=Me+Re+N,j="(?:"+[p+s+"?",s,pe,ie,R].join("|")+")",re=RegExp(te+"(?="+te+")|"+j+W,"g");function de(q){return q.match(re)||[]}k.exports=de},2757:function(k){var U="\\ud800-\\udfff",f="\\u0300-\\u036f",o="\\ufe20-\\ufe2f",T="\\u20d0-\\u20ff",H=f+o+T,D="\\u2700-\\u27bf",R="a-z\\xdf-\\xf6\\xf8-\\xff",s="\\xac\\xb1\\xd7\\xf7",te="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ne="\\u2000-\\u206f",p=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="A-Z\\xc0-\\xd6\\xd8-\\xde",ie="\\ufe0e\\ufe0f",Ce=s+te+ne+p,Re="['\u2019]",Me="["+Ce+"]",N="["+H+"]",W="\\d+",j="["+D+"]",re="["+R+"]",de="[^"+U+Ce+W+D+R+pe+"]",q="\\ud83c[\\udffb-\\udfff]",ue="(?:"+N+"|"+q+")",xe="[^"+U+"]",ce="(?:\\ud83c[\\udde6-\\uddff]){2}",M="[\\ud800-\\udbff][\\udc00-\\udfff]",y="["+pe+"]",g="\\u200d",K="(?:"+re+"|"+de+")",B="(?:"+y+"|"+de+")",b="(?:"+Re+"(?:d|ll|m|re|s|t|ve))?",w="(?:"+Re+"(?:D|LL|M|RE|S|T|VE))?",I=ue+"?",ve="["+ie+"]?",he="(?:"+g+"(?:"+[xe,ce,M].join("|")+")"+ve+I+")*",Pe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",be="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Le=ve+I+he,Be="(?:"+[j,ce,M].join("|")+")"+Le,Oe=RegExp([y+"?"+re+"+"+b+"(?="+[Me,y,"$"].join("|")+")",B+"+"+w+"(?="+[Me,y+K,"$"].join("|")+")",y+"?"+K+"+"+b,y+"+"+w,be,Pe,W,Be].join("|"),"g");function We(at){return at.match(Oe)||[]}k.exports=We},68929:function(k,U,f){var o=f(48403),T=f(35393),H=T(function(D,R,s){return R=R.toLowerCase(),D+(s?o(R):R)});k.exports=H},48403:function(k,U,f){var o=f(79833),T=f(11700);function H(D){return T(o(D).toLowerCase())}k.exports=H},53816:function(k,U,f){var o=f(69389),T=f(79833),H=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,D="\\u0300-\\u036f",R="\\ufe20-\\ufe2f",s="\\u20d0-\\u20ff",te=D+R+s,ne="["+te+"]",p=RegExp(ne,"g");function pe(ie){return ie=T(ie),ie&&ie.replace(H,o).replace(p,"")}k.exports=pe},11700:function(k,U,f){var o=f(98805),T=o("toUpperCase");k.exports=T},58748:function(k,U,f){var o=f(49029),T=f(93157),H=f(79833),D=f(2757);function R(s,te,ne){return s=H(s),te=ne?void 0:te,te===void 0?T(s)?D(s):o(s):s.match(te)||[]}k.exports=R},16305:function(k,U){"use strict";var f;f={value:!0},f=void 0,f=Ce,f=Re,U.EQ=W,f=j,f=ue;const o="/",T=M=>M,H=/^[$_\p{ID_Start}]$/u,D=/^[$\u200c\u200d\p{ID_Continue}]$/u,R="https://git.new/pathToRegexpError",s={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function te(M){return M.replace(/[{}()\[\]+?!:*]/g,"\\$&")}function ne(M){return M.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}function*p(M){const y=[...M];let g=0;function K(){let B="";if(H.test(y[++g]))for(B+=y[g];D.test(y[++g]);)B+=y[g];else if(y[g]==='"'){let b=g;for(;g<y.length;){if(y[++g]==='"'){g++,b=0;break}y[g]==="\\"?B+=y[++g]:B+=y[g]}if(b)throw new TypeError(`Unterminated quote at ${b}: ${R}`)}if(!B)throw new TypeError(`Missing parameter name at ${g}: ${R}`);return B}for(;g<y.length;){const B=y[g],b=s[B];if(b)yield{type:b,index:g++,value:B};else if(B==="\\")yield{type:"ESCAPED",index:g++,value:y[g++]};else if(B===":"){const w=K();yield{type:"PARAM",index:g,value:w}}else if(B==="*"){const w=K();yield{type:"WILDCARD",index:g,value:w}}else yield{type:"CHAR",index:g,value:y[g++]}}return{type:"END",index:g,value:""}}class pe{constructor(y){this.tokens=y}peek(){if(!this._peek){const y=this.tokens.next();this._peek=y.value}return this._peek}tryConsume(y){const g=this.peek();if(g.type===y)return this._peek=void 0,g.value}consume(y){const g=this.tryConsume(y);if(g!==void 0)return g;const{type:K,index:B}=this.peek();throw new TypeError(`Unexpected ${K} at ${B}, expected ${y}: ${R}`)}text(){let y="",g;for(;g=this.tryConsume("CHAR")||this.tryConsume("ESCAPED");)y+=g;return y}}class ie{constructor(y){this.tokens=y}}f=ie;function Ce(M,y={}){const{encodePath:g=T}=y,K=new pe(p(M));function B(w){const I=[];for(;;){const ve=K.text();ve&&I.push({type:"text",value:g(ve)});const he=K.tryConsume("PARAM");if(he){I.push({type:"param",name:he});continue}const Pe=K.tryConsume("WILDCARD");if(Pe){I.push({type:"wildcard",name:Pe});continue}if(K.tryConsume("{")){I.push({type:"group",tokens:B("}")});continue}return K.consume(w),I}}const b=B("END");return new ie(b)}function Re(M,y={}){const{encode:g=encodeURIComponent,delimiter:K=o}=y,B=M instanceof ie?M:Ce(M,y),b=Me(B.tokens,K,g);return function(I={}){const[ve,...he]=b(I);if(he.length)throw new TypeError(`Missing parameters: ${he.join(", ")}`);return ve}}function Me(M,y,g){const K=M.map(B=>N(B,y,g));return B=>{const b=[""];for(const w of K){const[I,...ve]=w(B);b[0]+=I,b.push(...ve)}return b}}function N(M,y,g){if(M.type==="text")return()=>[M.value];if(M.type==="group"){const B=Me(M.tokens,y,g);return b=>{const[w,...I]=B(b);return I.length?[""]:[w]}}const K=g||T;return M.type==="wildcard"&&g!==!1?B=>{const b=B[M.name];if(b==null)return["",M.name];if(!Array.isArray(b)||b.length===0)throw new TypeError(`Expected "${M.name}" to be a non-empty array`);return[b.map((w,I)=>{if(typeof w!="string")throw new TypeError(`Expected "${M.name}/${I}" to be a string`);return K(w)}).join(y)]}:B=>{const b=B[M.name];if(b==null)return["",M.name];if(typeof b!="string")throw new TypeError(`Expected "${M.name}" to be a string`);return[K(b)]}}function W(M,y={}){const{decode:g=decodeURIComponent,delimiter:K=o}=y,{regexp:B,keys:b}=j(M,y),w=b.map(I=>g===!1?T:I.type==="param"?g:ve=>ve.split(K).map(g));return function(ve){const he=B.exec(ve);if(!he)return!1;const Pe=he[0],be=Object.create(null);for(let Le=1;Le<he.length;Le++){if(he[Le]===void 0)continue;const Be=b[Le-1],Oe=w[Le-1];be[Be.name]=Oe(he[Le])}return{path:Pe,params:be}}}function j(M,y={}){const{delimiter:g=o,end:K=!0,sensitive:B=!1,trailing:b=!0}=y,w=[],I=[],ve=B?"":"i",Pe=(Array.isArray(M)?M:[M]).map(Be=>Be instanceof ie?Be:Ce(Be,y));for(const{tokens:Be}of Pe)for(const Oe of re(Be,0,[])){const We=de(Oe,g,w);I.push(We)}let be=`^(?:${I.join("|")})`;return b&&(be+=`(?:${ne(g)}$)?`),be+=K?"$":`(?=${ne(g)}|$)`,{regexp:new RegExp(be,ve),keys:w}}function*re(M,y,g){if(y===M.length)return yield g;const K=M[y];if(K.type==="group"){const B=g.slice();for(const b of re(K.tokens,0,B))yield*Rn(re(M,y+1,b))}else g.push(K);yield*Rn(re(M,y+1,g))}function de(M,y,g){let K="",B="",b=!0;for(let w=0;w<M.length;w++){const I=M[w];if(I.type==="text"){K+=ne(I.value),B+=I.value,b||(b=I.value.includes(y));continue}if(I.type==="param"||I.type==="wildcard"){if(!b&&!B)throw new TypeError(`Missing text after "${I.name}": ${R}`);I.type==="param"?K+=`(${q(y,b?"":B)}+)`:K+="([\\s\\S]+)",g.push(I),B="",b=!1;continue}}return K}function q(M,y){return y.length<2?M.length<2?`[^${ne(M+y)}]`:`(?:(?!${ne(M)})[^${ne(y)}])`:M.length<2?`(?:(?!${ne(y)})[^${ne(M)}])`:`(?:(?!${ne(y)}|${ne(M)})[\\s\\S])`}function ue(M){return M.tokens.map(function y(g,K,B){if(g.type==="text")return te(g.value);if(g.type==="group")return`{${g.tokens.map(y).join("")}}`;const w=xe(g.name)&&ce(B[K+1])?g.name:JSON.stringify(g.name);if(g.type==="param")return`:${w}`;if(g.type==="wildcard")return`*${w}`;throw new TypeError(`Unexpected token: ${g}`)}).join("")}function xe(M){const[y,...g]=M;return H.test(y)?g.every(K=>D.test(K)):!1}function ce(M){return(M==null?void 0:M.type)!=="text"?!0:!D.test(M.value[0])}},64599:function(k,U,f){var o=f(96263);function T(H,D){var R=typeof Symbol!="undefined"&&H[Symbol.iterator]||H["@@iterator"];if(!R){if(Array.isArray(H)||(R=o(H))||D&&H&&typeof H.length=="number"){R&&(H=R);var s=0,te=function(){};return{s:te,n:function(){return s>=H.length?{done:!0}:{done:!1,value:H[s++]}},e:function(Ce){throw Ce},f:te}}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 ne=!0,p=!1,pe;return{s:function(){R=R.call(H)},n:function(){var Ce=R.next();return ne=Ce.done,Ce},e:function(Ce){p=!0,pe=Ce},f:function(){try{!ne&&R.return!=null&&R.return()}finally{if(p)throw pe}}}}k.exports=T,k.exports.__esModule=!0,k.exports.default=k.exports}}]);
|