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

27 lines
113 KiB

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[89],{79970:function(be,ye,h){"use strict";h.d(ye,{f:function(){return Ho}});var l=h(4942),se=h(74165),ne=h(15861),fe=h(91),F=h(97685),v=h(1413),k=h(10915),oe=h(21770),m=h(67294);function ie(r){var e=typeof window=="undefined",t=(0,m.useState)(function(){return e?!1:window.matchMedia(r).matches}),n=(0,F.Z)(t,2),a=n[0],i=n[1];return(0,m.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(r),c=function(s){return i(s.matches)};return o.addListener(c),function(){return o.removeListener(c)}}},[r]),a}var ue={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},he=function(){var e=void 0;if(typeof window=="undefined")return e;var t=Object.keys(ue).find(function(n){var a=ue[n].matchMedia;return!!window.matchMedia(a).matches});return e=t,e},A=function(){var e=ie(ue.md.matchMedia),t=ie(ue.lg.matchMedia),n=ie(ue.xxl.matchMedia),a=ie(ue.xl.matchMedia),i=ie(ue.sm.matchMedia),o=ie(ue.xs.matchMedia),c=(0,m.useState)(he()),d=(0,F.Z)(c,2),s=d[0],f=d[1];return(0,m.useEffect)(function(){if(n){f("xxl");return}if(a){f("xl");return}if(t){f("lg");return}if(e){f("md");return}if(i){f("sm");return}if(o){f("xs");return}f("md")},[e,t,n,a,i,o]),s},U=h(12044);function g(r,e){var t=typeof r.pageName=="string"?r.title:e;(0,m.useEffect)(function(){(0,U.j)()&&t&&(document.title=t)},[r.title,t])}var M=h(1977),b=h(73177);function N(r){if((0,M.n)((0,b.b)(),"5.6.0")<0)return r;var e={colorGroupTitle:"groupTitleColor",radiusItem:"itemBorderRadius",radiusSubMenuItem:"subMenuItemBorderRadius",colorItemText:"itemColor",colorItemTextHover:"itemHoverColor",colorItemTextHoverHorizontal:"horizontalItemHoverColor",colorItemTextSelected:"itemSelectedColor",colorItemTextSelectedHorizontal:"horizontalItemSelectedColor",colorItemTextDisabled:"itemDisabledColor",colorDangerItemText:"dangerItemColor",colorDangerItemTextHover:"dangerItemHoverColor",colorDangerItemTextSelected:"dangerItemSelectedColor",colorDangerItemBgActive:"dangerItemActiveBg",colorDangerItemBgSelected:"dangerItemSelectedBg",colorItemBg:"itemBg",colorItemBgHover:"itemHoverBg",colorSubItemBg:"subMenuItemBg",colorItemBgActive:"itemActiveBg",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},t=(0,v.Z)({},r);return Object.keys(e).forEach(function(n){t[n]!==void 0&&(t[e[n]]=t[n],delete t[n])}),t}var ee=h(90743);function z(r,e){return e>>>r|e<<32-r}function H(r,e,t){return r&e^~r&t}function D(r,e,t){return r&e^r&t^e&t}function Q(r){return z(2,r)^z(13,r)^z(22,r)}function q(r){return z(6,r)^z(11,r)^z(25,r)}function K(r){return z(7,r)^z(18,r)^r>>>3}function G(r){return z(17,r)^z(19,r)^r>>>10}function me(r,e){return r[e&15]+=G(r[e+14&15])+r[e+9&15]+K(r[e+1&15])}var ce=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],W,re,$,Se="0123456789abcdef";function Ee(r,e){var t=(r&65535)+(e&65535),n=(r>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function De(){W=new Array(8),re=new Array(2),$=new Array(64),re[0]=re[1]=0,W[0]=1779033703,W[1]=3144134277,W[2]=1013904242,W[3]=2773480762,W[4]=1359893119,W[5]=2600822924,W[6]=528734635,W[7]=1541459225}function Te(){var r,e,t,n,a,i,o,c,d,s,f=new Array(16);r=W[0],e=W[1],t=W[2],n=W[3],a=W[4],i=W[5],o=W[6],c=W[7];for(var y=0;y<16;y++)f[y]=$[(y<<2)+3]|$[(y<<2)+2]<<8|$[(y<<2)+1]<<16|$[y<<2]<<24;for(var p=0;p<64;p++)d=c+q(a)+H(a,i,o)+ce[p],p<16?d+=f[p]:d+=me(f,p),s=Q(r)+D(r,e,t),c=o,o=i,i=a,a=Ee(n,d),n=t,t=e,e=r,r=Ee(d,s);W[0]+=r,W[1]+=e,W[2]+=t,W[3]+=n,W[4]+=a,W[5]+=i,W[6]+=o,W[7]+=c}function $e(r,e){var t,n,a=0;n=re[0]>>3&63;var i=e&63;for((re[0]+=e<<3)<e<<3&&re[1]++,re[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=n;o<64;o++)$[o]=r.charCodeAt(a++);Te(),n=0}for(var c=0;c<i;c++)$[c]=r.charCodeAt(a++)}function Ae(){var r=re[0]>>3&63;if($[r++]=128,r<=56)for(var e=r;e<56;e++)$[e]=0;else{for(var t=r;t<64;t++)$[t]=0;Te();for(var n=0;n<56;n++)$[n]=0}$[56]=re[1]>>>24&255,$[57]=re[1]>>>16&255,$[58]=re[1]>>>8&255,$[59]=re[1]&255,$[60]=re[0]>>>24&255,$[61]=re[0]>>>16&255,$[62]=re[0]>>>8&255,$[63]=re[0]&255,Te()}function ze(){for(var r=0,e=new Array(32),t=0;t<8;t++)e[r++]=W[t]>>>24&255,e[r++]=W[t]>>>16&255,e[r++]=W[t]>>>8&255,e[r++]=W[t]&255;return e}function Ge(){for(var r=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)r+=Se.charAt(W[e]>>>t&15);return r}function pt(r){return De(),$e(r,r.length),Ae(),Ge()}var Bt=pt;function nt(r){"@babel/helpers - typeof";return nt=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},nt(r)}var Kn=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Un(r,e){return Vn(r)||Xn(r,e)||jt(r,e)||Gn()}function Gn(){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 Xn(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],a=!0,i=!1,o,c;try{for(t=t.call(r);!(a=(o=t.next()).done)&&(n.push(o.value),!(e&&n.length===e));a=!0);}catch(d){i=!0,c=d}finally{try{!a&&t.return!=null&&t.return()}finally{if(i)throw c}}return n}}function Vn(r){if(Array.isArray(r))return r}function Qn(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=jt(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(s){throw s},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,c;return{s:function(){t=t.call(r)},n:function(){var s=t.next();return i=s.done,s},e:function(s){o=!0,c=s},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw c}}}}function Yn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Yt(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 Jn(r,e,t){return e&&Yt(r.prototype,e),t&&Yt(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function kn(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&&rt(r,e)}function qn(r){var e=Jt();return function(){var n=at(r),a;if(e){var i=at(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return er(this,a)}}function er(r,e){if(e&&(nt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tr(r)}function tr(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Pt(r){var e=typeof Map=="function"?new Map:void 0;return Pt=function(n){if(n===null||!nr(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 yt(n,arguments,at(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),rt(a,n)},Pt(r)}function yt(r,e,t){return Jt()?yt=Reflect.construct.bind():yt=function(a,i,o){var c=[null];c.push.apply(c,i);var d=Function.bind.apply(a,c),s=new d;return o&&rt(s,o.prototype),s},yt.apply(null,arguments)}function Jt(){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 nr(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function rt(r,e){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},rt(r,e)}function at(r){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},at(r)}function kt(r){return or(r)||ar(r)||jt(r)||rr()}function rr(){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 jt(r,e){if(r){if(typeof r=="string")return Et(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 Et(r,e)}}function ar(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function or(r){if(Array.isArray(r))return Et(r)}function Et(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 ir(r,e){if(r==null)return{};var t=lr(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function lr(r,e){if(r==null)return{};var t={},n=Object.keys(r),a,i;for(i=0;i<n.length;i++)a=n[i],!(e.indexOf(a)>=0)&&(t[a]=r[a]);return t}function qt(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 ge(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?qt(Object(t),!0).forEach(function(n){ur(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):qt(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function ur(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Pe="routes";function ot(r){return r.split("?")[0].split("#")[0]}var wt=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},cr=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Bt(JSON.stringify(e)))}catch(n){}return t&&ot(t)},dr=function(e,t){var n=e.name,a=e.locale;return"locale"in e&&a===!1||!n?!1:e.locale||"".concat(t,".").concat(n)},en=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("/")||wt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},sr=function(e,t){var n=e.menu,a=n===void 0?{}:n,i=e.indexRoute,o=e.path,c=o===void 0?"":o,d=e.children||[],s=a.name,f=s===void 0?e.name:s,y=a.icon,p=y===void 0?e.icon:y,S=a.hideChildren,P=S===void 0?e.hideChildren:S,I=a.flatMenu,Z=I===void 0?e.flatMenu:I,w=i&&Object.keys(i).join(",")!=="redirect"?[ge({path:c,menu:a},i)].concat(d||[]):d,j=ge({},e);if(f&&(j.name=f),p&&(j.icon=p),w&&w.length){if(P)return delete j.children,j;var O=Lt(ge(ge({},t),{},{data:w}),e);if(Z)return O;delete j[Pe]}return j},Xe=function(e){return Array.isArray(e)&&e.length>0};function Lt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,a=r.parentName,i=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(o){return o?Xe(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var c,d;return!(o==null||(c=o.menu)===null||c===void 0)&&c.name||o!=null&&o.flatMenu||!(o==null||(d=o.menu)===null||d===void 0)&&d.flatMenu?!0:o.menu!==!1}).map(function(o){var c=ge(ge({},o),{},{path:o.path||o.originPath});return!c.children&&c[Pe]&&(c.children=c[Pe],delete c[Pe]),c.unaccessible&&delete c.name,c.path==="*"&&(c.path="."),c.path==="/*"&&(c.path="."),!c.path&&c.originPath&&(c.path=c.originPath),c}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},c=o.children||o[Pe]||[],d=en(o.path,e?e.path:"/"),s=o.name,f=dr(o,a||"menu"),y=f!==!1&&i!==!1&&n&&f?n({id:f,defaultMessage:s}):s,p=e.pro_layout_parentKeys,S=p===void 0?[]:p,P=e.children,I=e.icon,Z=e.flatMenu,w=e.indexRoute,j=e.routes,O=ir(e,Kn),B=new Set([].concat(kt(S),kt(o.parentKeys||[])));e.key&&B.add(e.key);var L=ge(ge(ge({},O),{},{menu:void 0},o),{},{path:d,locale:f,key:o.key||cr(ge(ge({},o),{},{path:d})),pro_layout_parentKeys:Array.from(B).filter(function(R){return R&&R!=="/"})});if(y?L.name=y:delete L.name,L.menu===void 0&&delete L.menu,Xe(c)){var x=Lt(ge(ge({},r),{},{data:c,parentName:f||""}),L);Xe(x)&&(L.children=x)}return sr(L,r)}).flat(1)}var vr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||Xe(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var n=ge({},t),a=n.children||t[Pe]||[];if(delete n[Pe],Xe(a)&&!n.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return ge(ge({},n),{},{children:i})}return ge({},t)}).filter(function(t){return t})},fr=function(r){kn(t,r);var e=qn(t);function t(){return Yn(this,t),e.apply(this,arguments)}return Jn(t,[{key:"get",value:function(a){var i;try{var o=Qn(this.entries()),c;try{for(o.s();!(c=o.n()).done;){var d=Un(c.value,2),s=d[0],f=d[1],y=ot(s);if(!wt(s)&&(0,ee.Bo)(y,[]).test(a)){i=f;break}}}catch(p){o.e(p)}finally{o.f()}}catch(p){i=void 0}return i}}]),t}(Pt(Map)),mr=function(e){var t=new fr,n=function a(i,o){i.forEach(function(c){var d=c.children||c[Pe]||[];Xe(d)&&a(d,c);var s=en(c.path,o?o.path:"/");t.set(ot(s),c)})};return n(e),t},hr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var n=t.children||t[Pe];if(Xe(n)){var a=r(n);if(a.length)return ge({},t)}var i=ge({},t);return delete i[Pe],delete i.children,i}).filter(function(t){return t})},gr=function(e,t,n,a){var i=Lt({data:e,formatMessage:n,locale:t}),o=a?hr(i):vr(i),c=mr(i);return{breadcrumb:c,menuData:o}},pr=gr;function tn(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 it(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?tn(Object(t),!0).forEach(function(n){yr(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):tn(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function yr(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var xr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(n){var a=it({},n);if(!(!a||!a.key)){!a.children&&a[Pe]&&(a.children=a[Pe],delete a[Pe]);var i=a.children||[];t[ot(a.path||a.key||"/")]=it({},a),t[a.key||a.path||"/"]=it({},a),i&&(t=it(it({},t),r(i)))}}),t},Cr=xr,br=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&&!wt(a)){var i=ot(a);try{if(n&&(0,ee.Bo)("".concat(i)).test(t)||(0,ee.Bo)("".concat(i),[]).test(t)||(0,ee.Bo)("".concat(i,"/(.*)")).test(t))return!0}catch(o){}}return!1}).sort(function(a,i){return a===t?10:i===t?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},Sr=function(e,t,n,a){var i=Cr(t),o=Object.keys(i),c=br(o,e||"/",a);return!c||c.length<1?[]:(n||(c=[c[c.length-1]]),c.map(function(d){var s=i[d]||{pro_layout_parentKeys:"",key:""},f=new Map,y=(s.pro_layout_parentKeys||[]).map(function(p){return f.has(p)?null:(f.set(p,!0),i[p])}).filter(function(p){return p});return s.key&&y.push(s),y}).flat(1))},Zr=Sr,Ne=h(28459),lt=h(74902),Mr=h(93967),Y=h.n(Mr),Ir=h(98423),Nt=h(53124),Rr=h(82401),Tr=h(50344),Ht=h(10130);function Br(r,e,t){return typeof t=="boolean"?t:r.length?!0:(0,Tr.Z)(e).some(a=>a.type===Ht.Z)}var _t=h(54548),Pr=h(91945),jr=r=>{const{componentCls:e,bodyBg:t,lightSiderBg:n,lightTriggerBg:a,lightTriggerColor:i}=r;return{[`${e}-sider-light`]:{background:n,[`${e}-sider-trigger`]:{color:i,background:a},[`${e}-sider-zero-width-trigger`]:{color:i,background:a,border:`1px solid ${t}`,borderInlineStart:0}}}};const Er=r=>{const{antCls:e,componentCls:t,colorText:n,triggerColor:a,footerBg:i,triggerBg:o,headerHeight:c,headerPadding:d,headerColor:s,footerPadding:f,triggerHeight:y,zeroTriggerHeight:p,zeroTriggerWidth:S,motionDurationMid:P,motionDurationSlow:I,fontSize:Z,borderRadius:w,bodyBg:j,headerBg:O,siderBg:B}=r;return{[t]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:j,"&, *":{boxSizing:"border-box"},[`&${t}-has-sider`]:{flexDirection:"row",[`> ${t}, > ${t}-content`]:{width:0}},[`${t}-header, &${t}-footer`]:{flex:"0 0 auto"},[`${t}-sider`]:{position:"relative",minWidth:0,background:B,transition:`all ${P}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${e}-menu${e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:y},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:y,color:a,lineHeight:(0,_t.bf)(y),textAlign:"center",background:o,cursor:"pointer",transition:`all ${P}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:r.calc(S).mul(-1).equal(),zIndex:1,width:S,height:p,color:a,fontSize:r.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:B,borderStartStartRadius:0,borderStartEndRadius:w,borderEndEndRadius:w,borderEndStartRadius:0,cursor:"pointer",transition:`background ${I} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${I}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:r.calc(S).mul(-1).equal(),borderStartStartRadius:w,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:w}}}}},jr(r)),{"&-rtl":{direction:"rtl"}}),[`${t}-header`]:{height:c,padding:d,color:s,lineHeight:(0,_t.bf)(c),background:O,[`${e}-menu`]:{lineHeight:"inherit"}},[`${t}-footer`]:{padding:f,color:n,fontSize:Z,background:i},[`${t}-content`]:{flex:"auto",color:n,minHeight:0}}},wr=r=>{const{colorBgLayout:e,controlHeight:t,controlHeightLG:n,colorText:a,controlHeightSM:i,marginXXS:o,colorTextLightSolid:c,colorBgContainer:d}=r,s=n*1.25;return{colorBgHeader:"#001529",colorBgBody:e,colorBgTrigger:"#002140",bodyBg:e,headerBg:"#001529",headerHeight:t*2,headerPadding:`0 ${s}px`,headerColor:a,footerPadding:`${i}px ${s}px`,footerBg:e,siderBg:"#001529",triggerHeight:n+o*2,triggerBg:"#002140",triggerColor:c,zeroTriggerWidth:n,zeroTriggerHeight:n,lightSiderBg:d,lightTriggerBg:d,lightTriggerColor:a}};var nn=(0,Pr.I$)("Layout",r=>[Er(r)],wr,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),rn=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(r);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(r,n[a])&&(t[n[a]]=r[n[a]]);return t};function xt(r){let{suffixCls:e,tagName:t,displayName:n}=r;return a=>m.forwardRef((o,c)=>m.createElement(a,Object.assign({ref:c,suffixCls:e,tagName:t},o)))}const Ot=m.forwardRef((r,e)=>{const{prefixCls:t,suffixCls:n,className:a,tagName:i}=r,o=rn(r,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:c}=m.useContext(Nt.E_),d=c("layout",t),[s,f,y]=nn(d),p=n?`${d}-${n}`:d;return s(m.createElement(i,Object.assign({className:Y()(t||p,a,f,y),ref:e},o)))}),Lr=m.forwardRef((r,e)=>{const{direction:t}=m.useContext(Nt.E_),[n,a]=m.useState([]),{prefixCls:i,className:o,rootClassName:c,children:d,hasSider:s,tagName:f,style:y}=r,p=rn(r,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),S=(0,Ir.Z)(p,["suffixCls"]),{getPrefixCls:P,layout:I}=m.useContext(Nt.E_),Z=P("layout",i),w=Br(n,d,s),[j,O,B]=nn(Z),L=Y()(Z,{[`${Z}-has-sider`]:w,[`${Z}-rtl`]:t==="rtl"},I==null?void 0:I.className,o,c,O,B),x=m.useMemo(()=>({siderHook:{addSider:R=>{a(X=>[].concat((0,lt.Z)(X),[R]))},removeSider:R=>{a(X=>X.filter(_=>_!==R))}}}),[]);return j(m.createElement(Rr.V.Provider,{value:x},m.createElement(f,Object.assign({ref:e,className:L,style:Object.assign(Object.assign({},I==null?void 0:I.style),y)},S),d)))}),Nr=xt({tagName:"div",displayName:"Layout"})(Lr),Hr=xt({suffixCls:"header",tagName:"header",displayName:"Header"})(Ot),_r=xt({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Ot),Or=xt({suffixCls:"content",tagName:"main",displayName:"Content"})(Ot);var Ar=Nr;const Qe=Ar;Qe.Header=Hr,Qe.Footer=_r,Qe.Content=Or,Qe.Sider=Ht.Z,Qe._InternalSiderContext=Ht.D;var Ve=Qe,an=h(97435),Dr=h(80334),on=h(81758),$r=h(78164),u=h(85893),zr=function(e){var t=(0,m.useContext)(k.L_),n=t.hashId,a=e.style,i=e.prefixCls,o=e.children,c=e.hasPageContainer,d=c===void 0?0:c,s=Y()("".concat(i,"-content"),n,(0,l.Z)((0,l.Z)({},"".concat(i,"-has-header"),e.hasHeader),"".concat(i,"-content-has-page-container"),d>0)),f=e.ErrorBoundary||$r.S;return e.ErrorBoundary===!1?(0,u.jsx)(Ve.Content,{className:s,style:a,children:o}):(0,u.jsx)(f,{children:(0,u.jsx)(Ve.Content,{className:s,style:a,children:o})})},Wr=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"})]})})})})]})},ut=h(87462),Fr={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"},Kr=Fr,ln=h(65555),Ur=function(e,t){return m.createElement(ln.Z,(0,ut.Z)({},e,{ref:t,icon:Kr}))},Gr=m.forwardRef(Ur),Xr=Gr,Re=h(98082),Vr=function(e){return(0,l.Z)({},e.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:e.colorTextSecondary,"&-link":{color:e.colorTextSecondary,textDecoration:e.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:e.colorPrimary}},"&-copyright":{fontSize:"14px",color:e.colorText}})};function Qr(r){return(0,Re.Xj)("ProLayoutFooter",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Vr(t)]})}var Yr=function(e){var t=e.className,n=e.prefixCls,a=e.links,i=e.copyright,o=e.style,c=(0,m.useContext)(Ne.ZP.ConfigContext),d=c.getPrefixCls(n||"pro-global-footer"),s=Qr(d),f=s.wrapSSR,y=s.hashId;return(a==null||a===!1||Array.isArray(a)&&a.length===0)&&(i==null||i===!1)?null:f((0,u.jsxs)("div",{className:Y()(d,y,t),style:o,children:[a&&(0,u.jsx)("div",{className:"".concat(d,"-list ").concat(y).trim(),children:a.map(function(p){return(0,u.jsx)("a",{className:"".concat(d,"-list-link ").concat(y).trim(),title:p.key,target:p.blankTarget?"_blank":"_self",href:p.href,rel:"noreferrer",children:p.title},p.key)})}),i&&(0,u.jsx)("div",{className:"".concat(d,"-copyright ").concat(y).trim(),children:i})]}))},Jr=Ve.Footer,kr=function(e){var t=e.links,n=e.copyright,a=e.style,i=e.className,o=e.prefixCls;return(0,u.jsx)(Jr,{className:i,style:(0,v.Z)({padding:0},a),children:(0,u.jsx)(Yr,{links:t,prefixCls:o,copyright:n===!1?null:(0,u.jsxs)(m.Fragment,{children:[(0,u.jsx)(Xr,{})," ",n]})})})},ct=h(62812),qr={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"},ea=qr,ta=function(e,t){return m.createElement(ln.Z,(0,ut.Z)({},e,{ref:t,icon:ea}))},na=m.forwardRef(ta),ra=na,aa=h(55241),oa=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"})})},ia=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,i=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(o,c){var d;return o!=null&&(d=o.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:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]},c):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?void 0:o.url,target:o.target,rel:"noreferrer",children:[Dt(o.icon),(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{children:o.title}),o.desc?(0,u.jsx)("span",{children:o.desc}):null]})]})},c)})})})},At=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},la=function(e,t){if(e&&typeof e=="string"&&At(e))return(0,u.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,u.jsx)("div",{id:"avatarLogo",children:e});if(!e&&t&&typeof t=="string"){var n=t.substring(0,1);return(0,u.jsx)("div",{id:"avatarLogo",children:n})}return e},ua=function r(e){var t=e.appList,n=e.baseClassName,a=e.hashId,i=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(o,c){var d;return o!=null&&(d=o.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:o.title}),(0,u.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:n})]},c):(0,u.jsx)("li",{className:"".concat(n,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,u.jsxs)("a",{href:i?"javascript:;":o.url,target:o.target,rel:"noreferrer",children:[la(o.icon,o.title),(0,u.jsx)("div",{children:(0,u.jsx)("div",{children:o.title})})]})},c)})})})},ca=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":Re.Wf===null||Re.Wf===void 0?void 0:(0,Re.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"}}}}}}},da=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"}}}}}}},sa=function(e){var t,n,a,i,o;return(0,l.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(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:(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,l.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":da(e),"&-default":ca(e)})};function va(r){return(0,Re.Xj)("AppsLogoComponents",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[sa(t)]})}var Dt=function(e){return typeof e=="string"?(0,u.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},$t=function(e){var t,n=e.appList,a=e.appListRender,i=e.prefixCls,o=i===void 0?"ant-pro":i,c=e.onItemClick,d=m.useRef(null),s=m.useRef(null),f="".concat(o,"-layout-apps"),y=va(f),p=y.wrapSSR,S=y.hashId,P=(0,m.useState)(!1),I=(0,F.Z)(P,2),Z=I[0],w=I[1],j=function(R){c==null||c(R,s)},O=(0,m.useMemo)(function(){var x=n==null?void 0:n.some(function(R){return!(R!=null&&R.desc)});return x?(0,u.jsx)(ua,{hashId:S,appList:n,itemClick:c?j:void 0,baseClassName:"".concat(f,"-simple")}):(0,u.jsx)(ia,{hashId:S,appList:n,itemClick:c?j:void 0,baseClassName:"".concat(f,"-default")})},[n,f,S]);if(!(e!=null&&(t=e.appList)!==null&&t!==void 0&&t.length))return null;var B=a?a(e==null?void 0:e.appList,O):O,L=(0,b.X)(void 0,function(x){return w(x)});return p((0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:d,onClick:function(R){R.stopPropagation(),R.preventDefault()}}),(0,u.jsx)(aa.Z,(0,v.Z)((0,v.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},L),{},{overlayClassName:"".concat(f,"-popover ").concat(S).trim(),content:B,getPopupContainer:function(){return d.current||document.body},children:(0,u.jsx)("span",{ref:s,onClick:function(R){R.stopPropagation()},className:Y()("".concat(f,"-icon"),S,(0,l.Z)({},"".concat(f,"-icon-active"),Z)),children:(0,u.jsx)(oa,{})})}))]}))},un=h(7134),fa=h(42075),cn=h(50136);function ma(){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 ha=function(e){var t,n,a;return(0,l.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(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 ga(r){return(0,Re.Xj)("SiderMenuCollapsedIcon",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[ha(t)]})}var pa=["isMobile","collapsed"],ya=function(e){var t=e.isMobile,n=e.collapsed,a=(0,fe.Z)(e,pa),i=ga(e.className),o=i.wrapSSR,c=i.hashId;return t&&n?null:o((0,u.jsx)("div",(0,v.Z)((0,v.Z)({},a),{},{className:Y()(e.className,c,(0,l.Z)((0,l.Z)({},"".concat(e.className,"-collapsed"),n),"".concat(e.className,"-is-mobile"),t)),children:(0,u.jsx)(ma,{})})))},xa=h(43144),Ca=h(15671),ba=h(42550),Sa=h(2446),Ct=h(14004),Za=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],dn=m.forwardRef(function(r,e){var t=r.className,n=r.component,a=r.viewBox,i=r.spin,o=r.rotate,c=r.tabIndex,d=r.onClick,s=r.children,f=(0,fe.Z)(r,Za),y=m.useRef(),p=(0,ba.x1)(y,e);(0,Ct.Kp)(!!(n||s),"Should have `component` prop or `children`."),(0,Ct.C3)(y);var S=m.useContext(Sa.Z),P=S.prefixCls,I=P===void 0?"anticon":P,Z=S.rootClassName,w=Y()(Z,I,t),j=Y()((0,l.Z)({},"".concat(I,"-spin"),!!i)),O=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,B=(0,v.Z)((0,v.Z)({},Ct.vD),{},{className:j,style:O,viewBox:a});a||delete B.viewBox;var L=function(){return n?m.createElement(n,B,s):s?((0,Ct.Kp)(!!a||m.Children.count(s)===1&&m.isValidElement(s)&&m.Children.only(s).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),m.createElement("svg",(0,ut.Z)({},B,{viewBox:a}),s)):null},x=c;return x===void 0&&d&&(x=-1),m.createElement("span",(0,ut.Z)({role:"img"},f,{ref:p,tabIndex:x,onClick:d,className:w}),L())});dn.displayName="AntdIcon";var Ma=dn,Ia=["type","children"],sn=new Set;function Ra(r){return!!(typeof r=="string"&&r.length&&!sn.has(r))}function bt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=r[e];if(Ra(t)){var n=document.createElement("script");n.setAttribute("src",t),n.setAttribute("data-namespace",t),r.length>e+1&&(n.onload=function(){bt(r,e+1)},n.onerror=function(){bt(r,e+1)}),sn.add(t),document.body.appendChild(n)}}function vn(){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)?bt(e.reverse()):bt([e]));var a=m.forwardRef(function(i,o){var c=i.type,d=i.children,s=(0,fe.Z)(i,Ia),f=null;return i.type&&(f=m.createElement("use",{xlinkHref:"#".concat(c)})),d&&(f=d),m.createElement(Ma,(0,ut.Z)({},n,s,{ref:o}),f)});return a.displayName="Iconfont",a}function Ta(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var Ba=h(83062),Pa=h(99559),fn=h(14192),ja=function(e,t){var n,a,i=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,v.Z)((0,v.Z)((0,l.Z)({},"".concat(e.componentCls),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({background:"transparent",color:i==null?void 0:i.colorTextMenu,border:"none"},"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(e.componentCls,"-submenu-has-icon"),(0,l.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),"&&-collapsed",(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item,
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item,
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title,
`).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title,
`).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:i==null?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",(0,l.Z)((0,l.Z)({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,l.Z)((0,l.Z)({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4})))),"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),t.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function Ea(r,e){return(0,Re.Xj)("ProLayoutBaseMenu"+e,function(t){var n=(0,v.Z)((0,v.Z)({},t),{},{componentCls:".".concat(r)});return[ja(n,e||"inline")]})}var mn=function(e){var t=(0,m.useState)(e.collapsed),n=(0,F.Z)(t,2),a=n[0],i=n[1],o=(0,m.useState)(!1),c=(0,F.Z)(o,2),d=c[0],s=c[1];return(0,m.useEffect)(function(){s(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(Ba.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:s,children:e.children})},hn=vn({scriptUrl:fn.h.iconfontUrl}),gn=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(At(e)||Ta(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,u.jsx)(hn,{type:e})}return e},pn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},wa=(0,xa.Z)(function r(e){var t=this;(0,Ca.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return n.map(function(o){return t.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(n,a,i){var o=t.props,c=o.subMenuItemRender,d=o.baseClassName,s=o.prefixCls,f=o.collapsed,y=o.menu,p=o.iconPrefixes,S=o.layout,P=(y==null?void 0:y.type)==="group"&&S!=="top",I=t.props.token,Z=t.getIntlName(n),w=(n==null?void 0:n.children)||(n==null?void 0:n.routes),j=P&&a===0?"group":void 0;if(Array.isArray(w)&&w.length>0){var O,B,L,x,R,X=a===0||P&&a===1,_=gn(n.icon,p,"".concat(d,"-icon ").concat((O=t.props)===null||O===void 0?void 0:O.hashId)),E=f&&X?pn(Z):null,te=(0,u.jsxs)("div",{className:Y()("".concat(d,"-item-title"),(B=t.props)===null||B===void 0?void 0:B.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-item-title-collapsed"),f),"".concat(d,"-item-title-collapsed-level-").concat(i),f),"".concat(d,"-group-item-title"),j==="group"),"".concat(d,"-item-collapsed-show-title"),(y==null?void 0:y.collapsedShowTitle)&&f)),children:[j==="group"&&f?null:X&&_?(0,u.jsx)("span",{className:"".concat(d,"-item-icon ").concat((L=t.props)===null||L===void 0?void 0:L.hashId).trim(),children:_}):E,(0,u.jsx)("span",{className:Y()("".concat(d,"-item-text"),(x=t.props)===null||x===void 0?void 0:x.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),j!=="group"&&X&&(_||E))),children:Z})]}),de=c?c((0,v.Z)((0,v.Z)({},n),{},{isUrl:!1}),te,t.props):te;if(P&&a===0&&t.props.collapsed&&!y.collapsedShowGroupTitle)return t.getNavMenuItems(w,a+1,a);var C=t.getNavMenuItems(w,a+1,P&&a===0&&t.props.collapsed?a:a+1);return[{type:j,key:n.key||n.path,label:de,onClick:P?void 0:n.onTitleClick,children:C,className:Y()((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-group"),j==="group"),"".concat(d,"-submenu"),j!=="group"),"".concat(d,"-submenu-has-icon"),j!=="group"&&X&&_))},P&&a===0?{type:"divider",prefixCls:s,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:I==null||(R=I.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:n.disabled,key:n.key||n.path,onClick:n.onTitleClick,label:t.getMenuItemPath(n,a,i)}}),(0,l.Z)(this,"getIntlName",function(n){var a=n.name,i=n.locale,o=t.props,c=o.menu,d=o.formatMessage;return i&&(c==null?void 0:c.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(n,a,i){var o,c,d,s,f=t.conversionPath(n.path||"/"),y=t.props,p=y.location,S=p===void 0?{pathname:"/"}:p,P=y.isMobile,I=y.onCollapse,Z=y.menuItemRender,w=y.iconPrefixes,j=t.getIntlName(n),O=t.props,B=O.baseClassName,L=O.menu,x=O.collapsed,R=(L==null?void 0:L.type)==="group",X=a===0||R&&a===1,_=X?gn(n.icon,w,"".concat(B,"-icon ").concat((o=t.props)===null||o===void 0?void 0:o.hashId)):null,E=x&&X?pn(j):null,te=(0,u.jsxs)("div",{className:Y()("".concat(B,"-item-title"),(c=t.props)===null||c===void 0?void 0:c.hashId,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(B,"-item-title-collapsed"),x),"".concat(B,"-item-title-collapsed-level-").concat(i),x),"".concat(B,"-item-collapsed-show-title"),(L==null?void 0:L.collapsedShowTitle)&&x)),children:[(0,u.jsx)("span",{className:"".concat(B,"-item-icon ").concat((d=t.props)===null||d===void 0?void 0:d.hashId).trim(),style:{display:E===null&&!_?"none":""},children:_||(0,u.jsx)("span",{className:"anticon",children:E})}),(0,u.jsx)("span",{className:Y()("".concat(B,"-item-text"),(s=t.props)===null||s===void 0?void 0:s.hashId,(0,l.Z)({},"".concat(B,"-item-text-has-icon"),X&&(_||E))),children:j})]},f),de=At(f);if(de){var C,ve,T;te=(0,u.jsxs)("span",{onClick:function(){var pe,le;(pe=window)===null||pe===void 0||(le=pe.open)===null||le===void 0||le.call(pe,f,"_blank")},className:Y()("".concat(B,"-item-title"),(C=t.props)===null||C===void 0?void 0:C.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(B,"-item-title-collapsed"),x),"".concat(B,"-item-title-collapsed-level-").concat(i),x),"".concat(B,"-item-link"),!0),"".concat(B,"-item-collapsed-show-title"),(L==null?void 0:L.collapsedShowTitle)&&x)),children:[(0,u.jsx)("span",{className:"".concat(B,"-item-icon ").concat((ve=t.props)===null||ve===void 0?void 0:ve.hashId).trim(),style:{display:E===null&&!_?"none":""},children:_||(0,u.jsx)("span",{className:"anticon",children:E})}),(0,u.jsx)("span",{className:Y()("".concat(B,"-item-text"),(T=t.props)===null||T===void 0?void 0:T.hashId,(0,l.Z)({},"".concat(B,"-item-text-has-icon"),X&&(_||E))),children:j})]},f)}if(Z){var J=(0,v.Z)((0,v.Z)({},n),{},{isUrl:de,itemPath:f,isMobile:P,replace:f===S.pathname,onClick:function(){return I&&I(!0)},children:void 0});return a===0?(0,u.jsx)(mn,{collapsed:x,title:j,disable:n.disabledTooltip,children:Z(J,te,t.props)}):Z(J,te,t.props)}return a===0?(0,u.jsx)(mn,{collapsed:x,title:j,disable:n.disabledTooltip,children:te}):te}),(0,l.Z)(this,"conversionPath",function(n){return n&&n.indexOf("http")===0?n:"/".concat(n||"").replace(/\/+/g,"/")}),this.props=e}),La=function(e,t){var n=t.layout,a=t.collapsed,i={};return e&&!a&&["side","mix"].includes(n||"mix")&&(i={openKeys:e}),i},yn=function(e){var t=e.mode,n=e.className,a=e.handleOpenChange,i=e.style,o=e.menuData,c=e.prefixCls,d=e.menu,s=e.matchMenuKeys,f=e.iconfontUrl,y=e.selectedKeys,p=e.onSelect,S=e.menuRenderType,P=e.openKeys,I=(0,m.useContext)(k.L_),Z=I.dark,w=I.token,j="".concat(c,"-base-menu-").concat(t),O=(0,m.useRef)([]),B=(0,oe.Z)(d==null?void 0:d.defaultOpenAll),L=(0,F.Z)(B,2),x=L[0],R=L[1],X=(0,oe.Z)(function(){return d!=null&&d.defaultOpenAll?(0,ct.O7)(o)||[]:P===!1?!1:[]},{value:P===!1?void 0:P,onChange:a}),_=(0,F.Z)(X,2),E=_[0],te=_[1],de=(0,oe.Z)([],{value:y,onChange:p?function(Ce){p&&Ce&&p(Ce)}:void 0}),C=(0,F.Z)(de,2),ve=C[0],T=C[1];(0,m.useEffect)(function(){d!=null&&d.defaultOpenAll||P===!1||s&&(te(s),T(s))},[s.join("-")]),(0,m.useEffect)(function(){f&&(hn=vn({scriptUrl:f}))},[f]),(0,m.useEffect)(function(){if(s.join("-")!==(ve||[]).join("-")&&T(s),!x&&P!==!1&&s.join("-")!==(E||[]).join("-")){var Ce=s;(d==null?void 0:d.autoClose)===!1&&(Ce=Array.from(new Set([].concat((0,lt.Z)(s),(0,lt.Z)(E||[]))))),te(Ce)}else d!=null&&d.ignoreFlatMenu&&x?te((0,ct.O7)(o)):R(!1)},[s.join("-")]);var J=(0,m.useMemo)(function(){return La(E,e)},[E&&E.join(","),e.layout,e.collapsed]),ae=Ea(j,t),pe=ae.wrapSSR,le=ae.hashId,Ze=(0,m.useMemo)(function(){return new wa((0,v.Z)((0,v.Z)({},e),{},{token:w,menuRenderType:S,baseClassName:j,hashId:le}))},[e,w,S,j,le]);if(d!=null&&d.loading)return(0,u.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(Pa.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(O.current=s);var xe=e.postMenuData?e.postMenuData(o):o;return xe&&(xe==null?void 0:xe.length)<1?null:pe((0,m.createElement)(cn.Z,(0,v.Z)((0,v.Z)({},J),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:O.current,theme:Z?"dark":"light",selectedKeys:ve,style:(0,v.Z)({backgroundColor:"transparent",border:"none"},i),className:Y()(n,le,j,(0,l.Z)((0,l.Z)({},"".concat(j,"-horizontal"),t==="horizontal"),"".concat(j,"-collapsed"),e.collapsed)),items:Ze.getNavMenuItems(xe,0,0),onOpenChange:function(we){e.collapsed||te(we)}},e.menuProps)))};function Na(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,Re.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),t==null?void 0:t(i)))]:[]})}var Ha=["title","render"],_a=m.memo(function(r){return(0,u.jsx)(u.Fragment,{children:r.children})}),Oa=Ve.Sider,xn=Ve._InternalSiderContext,Aa=xn===void 0?{Provider:_a}:xn,zt=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",n=e.logo,a=e.title,i=e.layout,o=e[t];if(o===!1)return null;var c=Dt(n),d=(0,u.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(c,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&t==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:c},"title"):(0,u.jsxs)("a",{children:[c,d]},"title")},Cn=function(e){var t,n=e.collapsed,a=e.originCollapsed,i=e.fixSiderbar,o=e.menuFooterRender,c=e.onCollapse,d=e.theme,s=e.siderWidth,f=e.isMobile,y=e.onMenuHeaderClick,p=e.breakpoint,S=p===void 0?"lg":p,P=e.style,I=e.layout,Z=e.menuExtraRender,w=Z===void 0?!1:Z,j=e.links,O=e.menuContentRender,B=e.collapsedButtonRender,L=e.prefixCls,x=e.avatarProps,R=e.rightContentRender,X=e.actionsRender,_=e.onOpenChange,E=e.stylish,te=e.logoStyle,de=(0,m.useContext)(k.L_),C=de.hashId,ve=(0,m.useMemo)(function(){return!(f||I==="mix")},[f,I]),T="".concat(L,"-sider"),J=64,ae=Na("".concat(T,".").concat(T,"-stylish"),{stylish:E,proLayoutCollapsedWidth:J}),pe=Y()("".concat(T),C,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-fixed"),i),"".concat(T,"-fixed-mix"),I==="mix"&&!f&&i),"".concat(T,"-collapsed"),e.collapsed),"".concat(T,"-layout-").concat(I),I&&!f),"".concat(T,"-light"),d!=="dark"),"".concat(T,"-mix"),I==="mix"&&!f),"".concat(T,"-stylish"),!!E)),le=zt(e),Ze=w&&w(e),xe=(0,m.useMemo)(function(){return O!==!1&&(0,m.createElement)(yn,(0,v.Z)((0,v.Z)({},e),{},{key:"base-menu",mode:n&&!f?"vertical":"inline",handleOpenChange:_,style:{width:"100%"},className:"".concat(T,"-menu ").concat(C).trim()}))},[T,C,O,_,e]),Ce=(j||[]).map(function(Me,He){return{className:"".concat(T,"-link"),label:Me,key:He}}),we=(0,m.useMemo)(function(){return O?O(e,xe):xe},[O,xe,e]),Be=(0,m.useMemo)(function(){if(!x)return null;var Me=x.title,He=x.render,Le=(0,fe.Z)(x,Ha),Mt=(0,u.jsxs)("div",{className:"".concat(T,"-actions-avatar"),children:[Le!=null&&Le.src||Le!=null&&Le.srcSet||Le.icon||Le.children?(0,u.jsx)(un.C,(0,v.Z)({size:28},Le)):null,x.title&&!n&&(0,u.jsx)("span",{children:Me})]});return He?He(x,Mt,e):Mt},[x,T,n]),je=(0,m.useMemo)(function(){return X?(0,u.jsx)(fa.Z,{align:"center",size:4,direction:n?"vertical":"horizontal",className:Y()(["".concat(T,"-actions-list"),n&&"".concat(T,"-actions-list-collapsed"),C]),children:[X==null?void 0:X(e)].flat(1).map(function(Me,He){return(0,u.jsx)("div",{className:"".concat(T,"-actions-list-item ").concat(C).trim(),children:Me},He)})}):null},[X,T,n]),_e=(0,m.useMemo)(function(){return(0,u.jsx)($t,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),We=(0,m.useMemo)(function(){if(B===!1)return null;var Me=(0,u.jsx)(ya,{isMobile:f,collapsed:a,className:"".concat(T,"-collapsed-button"),onClick:function(){c==null||c(!a)}});return B?B(n,Me):Me},[B,f,a,T,n,c]),Fe=(0,m.useMemo)(function(){return!Be&&!je?null:(0,u.jsxs)("div",{className:Y()("".concat(T,"-actions"),C,n&&"".concat(T,"-actions-collapsed")),children:[Be,je]})},[je,Be,T,n,C]),Ke=(0,m.useMemo)(function(){var Me;return e!=null&&(Me=e.menu)!==null&&Me!==void 0&&Me.hideMenuWhenCollapsed&&n?"".concat(T,"-hide-menu-collapsed"):null},[T,n,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),dt=o&&(o==null?void 0:o(e)),Zt=(0,u.jsxs)(u.Fragment,{children:[le&&(0,u.jsxs)("div",{className:Y()([Y()("".concat(T,"-logo"),C,(0,l.Z)({},"".concat(T,"-logo-collapsed"),n))]),onClick:ve?y:void 0,id:"logo",style:te,children:[le,_e]}),Ze&&(0,u.jsx)("div",{className:Y()(["".concat(T,"-extra"),!le&&"".concat(T,"-extra-no-logo"),C]),children:Ze}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:we}),(0,u.jsxs)(Aa.Provider,{value:{},children:[j?(0,u.jsx)("div",{className:"".concat(T,"-links ").concat(C).trim(),children:(0,u.jsx)(cn.Z,{inlineIndent:16,className:"".concat(T,"-link-menu ").concat(C).trim(),selectedKeys:[],openKeys:[],theme:d,mode:"inline",items:Ce})}):null,ve&&(0,u.jsxs)(u.Fragment,{children:[Fe,!je&&R?(0,u.jsx)("div",{className:Y()("".concat(T,"-actions"),C,(0,l.Z)({},"".concat(T,"-actions-collapsed"),n)),children:R==null?void 0:R(e)}):null]}),dt&&(0,u.jsx)("div",{className:Y()(["".concat(T,"-footer"),C,(0,l.Z)({},"".concat(T,"-footer-collapsed"),n)]),children:dt})]})]});return ae.wrapSSR((0,u.jsxs)(u.Fragment,{children:[i&&!f&&!Ke&&(0,u.jsx)("div",{style:(0,v.Z)({width:n?J:s,overflow:"hidden",flex:"0 0 ".concat(n?J:s,"px"),maxWidth:n?J:s,minWidth:n?J:s,transition:"all 0.2s ease 0s"},P)}),(0,u.jsxs)(Oa,{collapsible:!0,trigger:null,collapsed:n,breakpoint:S===!1?void 0:S,onCollapse:function(He){f||c==null||c(He)},collapsedWidth:J,style:P,theme:d,width:s,className:Y()(pe,C,Ke),children:[Ke?(0,u.jsx)("div",{className:"".concat(T,"-hide-when-collapsed ").concat(C).trim(),style:{height:"100%",width:"100%",opacity:Ke?0:1},children:Zt}):Zt,We]})]}))},Da=h(10178),$a=h(9220),za=function(e){var t,n,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(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:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function Wa(r){return(0,Re.Xj)("ProLayoutRightContent",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[za(t)]})}var Fa=["rightContentRender","avatarProps","actionsRender","headerContentRender"],Ka=["title","render"],bn=function(e){var t=e.rightContentRender,n=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,fe.Z)(e,Fa),c=(0,m.useContext)(Ne.ZP.ConfigContext),d=c.getPrefixCls,s="".concat(d(),"-pro-global-header"),f=Wa(s),y=f.wrapSSR,p=f.hashId,S=(0,m.useState)("auto"),P=(0,F.Z)(S,2),I=P[0],Z=P[1],w=(0,m.useMemo)(function(){if(!n)return null;var L=n.title,x=n.render,R=(0,fe.Z)(n,Ka),X=[R!=null&&R.src||R!=null&&R.srcSet||R.icon||R.children?(0,m.createElement)(un.C,(0,v.Z)((0,v.Z)({},R),{},{size:28,key:"avatar"})):null,L?(0,u.jsx)("span",{style:{marginInlineStart:8},children:L},"name"):void 0];return x?x(n,(0,u.jsx)("div",{children:X}),o):(0,u.jsx)("div",{children:X})},[n]),j=a||w?function(L){var x=a&&(a==null?void 0:a(L));return!x&&!w?null:Array.isArray(x)?y((0,u.jsxs)("div",{className:"".concat(s,"-header-actions ").concat(p).trim(),children:[x.filter(Boolean).map(function(R,X){var _=!1;if(m.isValidElement(R)){var E;_=!!(R!=null&&(E=R.props)!==null&&E!==void 0&&E["aria-hidden"])}return(0,u.jsx)("div",{className:Y()("".concat(s,"-header-actions-item ").concat(p),(0,l.Z)({},"".concat(s,"-header-actions-hover"),!_)),children:R},X)}),w&&(0,u.jsx)("span",{className:"".concat(s,"-header-actions-avatar ").concat(p).trim(),children:w})]})):y((0,u.jsxs)("div",{className:"".concat(s,"-header-actions ").concat(p).trim(),children:[x,w&&(0,u.jsx)("span",{className:"".concat(s,"-header-actions-avatar ").concat(p).trim(),children:w})]}))}:void 0,O=(0,Da.D)(function(){var L=(0,ne.Z)((0,se.Z)().mark(function x(R){return(0,se.Z)().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:Z(R);case 1:case"end":return _.stop()}},x)}));return function(x){return L.apply(this,arguments)}}(),160),B=j||t;return(0,u.jsx)("div",{className:"".concat(s,"-right-content ").concat(p).trim(),style:{minWidth:I,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)($a.Z,{onResize:function(x){var R=x.width;O.run(R)},children:B?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:B((0,v.Z)((0,v.Z)({},o),{},{rightContentSize:I}))}):null})})})},Ua=function(e){var t,n;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56)-12,40),"px")}})};function Ga(r){return(0,Re.Xj)("ProLayoutTopNavHeader",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Ua(t)]})}var Sn=function(e){var t,n,a,i,o,c,d,s=(0,m.useRef)(null),f=e.onMenuHeaderClick,y=e.contentWidth,p=e.rightContentRender,S=e.className,P=e.style,I=e.headerContentRender,Z=e.layout,w=e.actionsRender,j=(0,m.useContext)(Ne.ZP.ConfigContext),O=j.getPrefixCls,B=(0,m.useContext)(k.L_),L=B.dark,x="".concat(e.prefixCls||O("pro"),"-top-nav-header"),R=Ga(x),X=R.wrapSSR,_=R.hashId,E=void 0;e.menuHeaderRender!==void 0?E="menuHeaderRender":(Z==="mix"||Z==="top")&&(E="headerTitleRender");var te=zt((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),E),de=(0,m.useContext)(k.L_),C=de.token,ve=(0,m.useMemo)(function(){var T,J,ae,pe,le,Ze,xe,Ce,we,Be,je,_e,We,Fe=(0,u.jsx)(Ne.ZP,{theme:{hashed:(0,k.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,v.Z)({},N({colorItemBg:((T=C.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.colorBgHeader)||"transparent",colorSubItemBg:((J=C.layout)===null||J===void 0||(J=J.header)===null||J===void 0?void 0:J.colorBgHeader)||"transparent",radiusItem:C.borderRadius,colorItemBgSelected:((ae=C.layout)===null||ae===void 0||(ae=ae.header)===null||ae===void 0?void 0:ae.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),itemHoverBg:((pe=C.layout)===null||pe===void 0||(pe=pe.header)===null||pe===void 0?void 0:pe.colorBgMenuItemHover)||(C==null?void 0:C.colorBgTextHover),colorItemBgSelectedHorizontal:((le=C.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.colorBgMenuItemSelected)||(C==null?void 0:C.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((Ze=C.layout)===null||Ze===void 0||(Ze=Ze.header)===null||Ze===void 0?void 0:Ze.colorTextMenu)||(C==null?void 0:C.colorTextSecondary),colorItemTextHoverHorizontal:((xe=C.layout)===null||xe===void 0||(xe=xe.header)===null||xe===void 0?void 0:xe.colorTextMenuActive)||(C==null?void 0:C.colorText),colorItemTextSelectedHorizontal:((Ce=C.layout)===null||Ce===void 0||(Ce=Ce.header)===null||Ce===void 0?void 0:Ce.colorTextMenuSelected)||(C==null?void 0:C.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((we=C.layout)===null||we===void 0||(we=we.header)===null||we===void 0?void 0:we.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((Be=C.layout)===null||Be===void 0||(Be=Be.header)===null||Be===void 0?void 0:Be.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((je=C.layout)===null||je===void 0||(je=je.header)===null||je===void 0?void 0:je.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:C==null?void 0:C.colorBgElevated,subMenuItemBg:C==null?void 0:C.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:C==null?void 0:C.colorBgElevated}))},token:{colorBgElevated:((_e=C.layout)===null||_e===void 0||(_e=_e.header)===null||_e===void 0?void 0:_e.colorBgHeader)||"transparent"}},children:(0,u.jsx)(yn,(0,v.Z)((0,v.Z)((0,v.Z)({theme:L?"dark":"light"},e),{},{className:"".concat(x,"-base-menu ").concat(_).trim()},e.menuProps),{},{style:(0,v.Z)({width:"100%"},(We=e.menuProps)===null||We===void 0?void 0:We.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return I?I(e,Fe):Fe},[(t=C.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgHeader,(n=C.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgMenuItemSelected,(a=C.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=C.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=C.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(c=C.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorTextMenuSelected,(d=C.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,C.borderRadius,C==null?void 0:C.colorBgTextHover,C==null?void 0:C.colorTextSecondary,C==null?void 0:C.colorText,C==null?void 0:C.colorTextBase,C.colorBgElevated,L,e,x,_,I]);return X((0,u.jsx)("div",{className:Y()(x,_,S,(0,l.Z)({},"".concat(x,"-light"),!0)),style:P,children:(0,u.jsxs)("div",{ref:s,className:Y()("".concat(x,"-main"),_,(0,l.Z)({},"".concat(x,"-wide"),y==="Fixed"&&Z==="top")),children:[te&&(0,u.jsxs)("div",{className:Y()("".concat(x,"-main-left ").concat(_)),onClick:f,children:[(0,u.jsx)($t,(0,v.Z)({},e)),(0,u.jsx)("div",{className:"".concat(x,"-logo ").concat(_).trim(),id:"logo",children:te},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(x,"-menu ").concat(_).trim(),children:ve}),(p||w||e.avatarProps)&&(0,u.jsx)(bn,(0,v.Z)((0,v.Z)({rightContentRender:p},e),{},{prefixCls:x}))]})}))},Xa=function(e){var t,n,a;return(0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((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 Va(r){return(0,Re.Xj)("ProLayoutGlobalHeader",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Xa(t)]})}var Qa=function(e,t){return e===!1?null:e?e(t,null):t},Ya=function(e){var t=e.isMobile,n=e.logo,a=e.collapsed,i=e.onCollapse,o=e.rightContentRender,c=e.menuHeaderRender,d=e.onMenuHeaderClick,s=e.className,f=e.style,y=e.layout,p=e.children,S=e.splitMenus,P=e.menuData,I=e.prefixCls,Z=(0,m.useContext)(Ne.ZP.ConfigContext),w=Z.getPrefixCls,j=Z.direction,O="".concat(I||w("pro"),"-global-header"),B=Va(O),L=B.wrapSSR,x=B.hashId,R=Y()(s,O,x);if(y==="mix"&&!t&&S){var X=(P||[]).map(function(de){return(0,v.Z)((0,v.Z)({},de),{},{children:void 0,routes:void 0})}),_=(0,ct.QX)(X);return(0,u.jsx)(Sn,(0,v.Z)((0,v.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:_}))}var E=Y()("".concat(O,"-logo"),x,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(O,"-logo-rtl"),j==="rtl"),"".concat(O,"-logo-mix"),y==="mix"),"".concat(O,"-logo-mobile"),t)),te=(0,u.jsx)("span",{className:E,children:(0,u.jsx)("a",{children:Dt(n)})},"logo");return L((0,u.jsxs)("div",{className:R,style:(0,v.Z)({},f),children:[t&&(0,u.jsx)("span",{className:"".concat(O,"-collapsed-button ").concat(x).trim(),onClick:function(){i==null||i(!a)},children:(0,u.jsx)(ra,{})}),t&&Qa(c,te),y==="mix"&&!t&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)($t,(0,v.Z)({},e)),(0,u.jsx)("div",{className:E,onClick:d,children:zt((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:p}),(o||e.actionsRender||e.avatarProps)&&(0,u.jsx)(bn,(0,v.Z)({rightContentRender:o},e))]}))},Ja=function(e){var t,n,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat(((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function ka(r){return(0,Re.Xj)("ProLayoutHeader",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Ja(t)]})}function qa(r,e){var t=e.stylish,n=e.proLayoutCollapsedWidth;return(0,Re.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return t?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),t==null?void 0:t(i)))]:[]})}var Zn=Ve.Header,eo=function(e){var t,n,a,i=e.isMobile,o=e.fixedHeader,c=e.className,d=e.style,s=e.collapsed,f=e.prefixCls,y=e.onCollapse,p=e.layout,S=e.headerRender,P=e.headerContentRender,I=(0,m.useContext)(k.L_),Z=I.token,w=(0,m.useContext)(Ne.ZP.ConfigContext),j=(0,m.useState)(!1),O=(0,F.Z)(j,2),B=O[0],L=O[1],x=o||p==="mix",R=(0,m.useCallback)(function(){var T=p==="top",J=(0,ct.QX)(e.menuData||[]),ae=(0,u.jsx)(Ya,(0,v.Z)((0,v.Z)({onCollapse:y},e),{},{menuData:J,children:P&&P(e,null)}));return T&&!i&&(ae=(0,u.jsx)(Sn,(0,v.Z)((0,v.Z)({mode:"horizontal",onCollapse:y},e),{},{menuData:J}))),S&&typeof S=="function"?S(e,ae):ae},[P,S,i,p,y,e]);(0,m.useEffect)(function(){var T,J=(w==null||(T=w.getTargetContainer)===null||T===void 0?void 0:T.call(w))||document.body,ae=function(){var le,Ze=J.scrollTop;return Ze>(((le=Z.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.heightLayoutHeader)||56)&&!B?(L(!0),!0):(B&&L(!1),!1)};if(x&&typeof window!="undefined")return J.addEventListener("scroll",ae,{passive:!0}),function(){J.removeEventListener("scroll",ae)}},[(t=Z.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader,x,B]);var X=p==="top",_="".concat(f,"-layout-header"),E=ka(_),te=E.wrapSSR,de=E.hashId,C=qa("".concat(_,".").concat(_,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ve=Y()(c,de,_,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(_,"-fixed-header"),x),"".concat(_,"-fixed-header-scroll"),B),"".concat(_,"-mix"),p==="mix"),"".concat(_,"-fixed-header-action"),!s),"".concat(_,"-top-menu"),X),"".concat(_,"-header"),!0),"".concat(_,"-stylish"),!!e.stylish));return p==="side"&&!i?null:C.wrapSSR(te((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(Ne.ZP,{theme:{hashed:(0,k.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[x&&(0,u.jsx)(Zn,{style:(0,v.Z)({height:((n=Z.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((a=Z.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)(Zn,{className:ve,style:d,children:R()})]})})))},to=h(83832),no=h(85265),Mn=new _t.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),ro=function(e){var t,n,a,i,o,c,d,s,f,y,p,S;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorMenuBackground)||"transparent"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorTextMenuTitle,animationName:Mn,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:(y=e.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:Mn,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(((p=e.layout)===null||p===void 0||(p=p.header)===null||p===void 0?void 0:p.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((S=e.layout)===null||S===void 0||(S=S.header)===null||S===void 0?void 0:S.heightLayoutHeader)||56,"px")}}))};function ao(r,e){var t=e.proLayoutCollapsedWidth;return(0,Re.Xj)("ProLayoutSiderMenu",function(n){var a=(0,v.Z)((0,v.Z)({},n),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return[ro(a)]})}var In=function(e){var t,n=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,c=e.style,d=e.className,s=e.hide,f=e.prefixCls,y=e.getContainer,p=(0,m.useContext)(k.L_),S=p.token;(0,m.useEffect)(function(){n===!0&&(o==null||o(!0))},[n]);var P=(0,an.Z)(e,["className","style"]),I=m.useContext(Ne.ZP.ConfigContext),Z=I.direction,w=ao("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),j=w.wrapSSR,O=w.hashId,B=Y()("".concat(f,"-sider"),d,O);if(s)return null;var L=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return j(n?(0,u.jsx)(no.Z,(0,v.Z)((0,v.Z)({placement:Z==="rtl"?"right":"left",className:Y()("".concat(f,"-drawer-sider"),d)},L),{},{style:(0,v.Z)({padding:0,height:"100vh"},c),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,getContainer:y||!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(t=S.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorMenuBackground}},children:(0,u.jsx)(Cn,(0,v.Z)((0,v.Z)({},P),{},{isMobile:!0,className:B,collapsed:n?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,u.jsx)(Cn,(0,v.Z)((0,v.Z)({className:B,originCollapsed:i},P),{},{style:c})))},Rn=h(76509),oo=h(14779),Wt=h.n(oo),io=function(e,t,n){if(n){var a=(0,lt.Z)(n.keys()).find(function(o){return Wt()(o).test(e)});if(a)return n.get(a)}if(t){var i=Object.keys(t).find(function(o){return Wt()(o).test(e)});if(i)return t[i]}return{path:""}},Ft=function(e,t){var n=e.pathname,a=n===void 0?"/":n,i=e.breadcrumb,o=e.breadcrumbMap,c=e.formatMessage,d=e.title,s=e.menu,f=s===void 0?{locale:!1}:s,y=t?"":d||"",p=io(a,i,o);if(!p)return{title:y,id:"",pageName:y};var S=p.name;return f.locale!==!1&&p.locale&&c&&(S=c({id:p.locale||"",defaultMessage:p.name})),S?t||!d?{title:S,id:p.locale||"",pageName:S}:{title:"".concat(S," - ").concat(d),id:p.locale||"",pageName:S}:{title:y,id:p.locale||"",pageName:y}},qo=function(e,t){return Ft(e,t).title},lo=h(52676),St=h(67159),Ye=h(34155),uo=function(){var e;return typeof Ye=="undefined"?St.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||St.Z},co=function(e){var t,n,a,i,o,c,d,s,f,y,p,S,P,I,Z,w,j,O,B,L,x,R,X,_,E,te,de,C,ve,T,J,ae;return(t=uo())!==null&&t!==void 0&&t.startsWith("5")?{}:(0,l.Z)((0,l.Z)((0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(x={color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextMenu},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(x,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextMenu}),"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),"&".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,`-menu-submenu-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((f=e.layout)===null||f===void 0||(f=f.header)===null||f===void 0?void 0:f.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(y=e.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(p=e.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.colorTextMenuSelected}),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(x,"".concat(e.antCls,"-menu-submenu-selected"),{color:(S=e.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(P=e.layout)===null||P===void 0||(P=P.sider)===null||P===void 0?void 0:P.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(I=e.layout)===null||I===void 0||(I=I.sider)===null||I===void 0?void 0:I.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").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-horizontal"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-submenu:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:(w=e.layout)===null||w===void 0||(w=w.header)===null||w===void 0?void 0:w.colorTextMenuActive,backgroundColor:"".concat((j=e.layout)===null||j===void 0||(j=j.header)===null||j===void 0?void 0:j.colorBgMenuItemHover," !important")}),"".concat(e.antCls,`-menu-item-open,
`).concat(e.antCls,`-menu-submenu-open,
`).concat(e.antCls,`-menu-item-selected,
`).concat(e.antCls,"-menu-submenu-selected"),(0,l.Z)({backgroundColor:(O=e.layout)===null||O===void 0||(O=O.header)===null||O===void 0?void 0:O.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((B=e.layout)===null||B===void 0||(B=B.header)===null||B===void 0?void 0:B.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((L=e.layout)===null||L===void 0||(L=L.header)===null||L===void 0?void 0:L.colorTextMenuSelected," !important")})),"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"})))),"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(0,l.Z)((0,l.Z)({},"&".concat(e.antCls,"-menu"),(0,l.Z)({color:(R=e.layout)===null||R===void 0||(R=R.header)===null||R===void 0?void 0:R.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,`-menu-submenu-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(X=e.layout)===null||X===void 0||(X=X.header)===null||X===void 0?void 0:X.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(_=e.layout)===null||_===void 0||(_=_.header)===null||_===void 0?void 0:_.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(E=e.layout)===null||E===void 0||(E=E.header)===null||E===void 0?void 0:E.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:(te=e.layout)===null||te===void 0||(te=te.header)===null||te===void 0?void 0:te.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(de=e.layout)===null||de===void 0||(de=de.header)===null||de===void 0?void 0:de.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:(C=e.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(ve=e.layout)===null||ve===void 0||(ve=ve.sider)===null||ve===void 0?void 0:ve.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(T=e.layout)===null||T===void 0||(T=T.sider)===null||T===void 0?void 0:T.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(J=e.layout)===null||J===void 0||(J=J.sider)===null||J===void 0?void 0:J.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(ae=e.layout)===null||ae===void 0||(ae=ae.sider)===null||ae===void 0?void 0:ae.colorTextMenuActive}))))},so=function(e){var t,n,a,i;return(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((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:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}))};function vo(r){return(0,Re.Xj)("ProLayout",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[so(t),co(t)]})}function fo(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 Je=h(34155),mo=function(){var e;return typeof Je=="undefined"?St.Z:((e=Je)===null||Je===void 0||(Je={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Je===void 0?void 0:Je.ANTD_VERSION)||St.Z},ho=function(e,t,n){var a=e,i=a.breadcrumbName,o=a.title,c=a.path,d=n.findIndex(function(s){return s.linkPath===e.path})===n.length-1;return d?(0,u.jsx)("span",{children:o||i}):(0,u.jsx)("span",{onClick:c?function(){return location.href=c}:void 0,children:o||i})},go=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},po=function(e,t){var n=e.get(t);if(!n){var a=Array.from(e.keys())||[],i=a.find(function(o){return Wt()(o.replace("?","")).test(t)});i&&(n=e.get(i))}return n||{path:""}},yo=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},xo=function(e,t,n){var a=fo(e==null?void 0:e.pathname),i=a.map(function(o){var c=po(t,o),d=go(c,n),s=c.hideInBreadcrumb;return d&&!s?{linkPath:o,breadcrumbName:d,title:d,component:c.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},Co=function(e){var t=yo(e),n=t.location,a=t.breadcrumbMap;return n&&n.pathname&&a?xo(n,a,e):[]},bo=function(e,t){var n=e.breadcrumbRender,a=e.itemRender,i=t.breadcrumbProps||{},o=i.minLength,c=o===void 0?2:o,d=Co(e),s=function(p){for(var S=a||ho,P=arguments.length,I=new Array(P>1?P-1:0),Z=1;Z<P;Z++)I[Z-1]=arguments[Z];return S==null?void 0:S.apply(void 0,[(0,v.Z)((0,v.Z)({},p),{},{path:p.linkPath||p.path})].concat(I))},f=d;return n&&(f=n(f||[])||void 0),(f&&f.length<c||n===!1)&&(f=void 0),(0,M.n)(mo(),"5.3.0")>-1?{items:f,itemRender:s}:{routes:f,itemRender:s}};function So(r){return(0,lt.Z)(r).reduce(function(e,t){var n=(0,F.Z)(t,2),a=n[0],i=n[1];return e[a]=i,e},{})}var Zo=function r(e,t,n,a){var i=pr(e,(t==null?void 0:t.locale)||!1,n,!0),o=i.menuData,c=i.breadcrumb;return a?r(a(o),t,n,void 0):{breadcrumb:So(c),breadcrumbMap:c,menuData:o}},Mo=h(71002),Io=h(51812),Ro=function(e){var t=(0,m.useState)({}),n=(0,F.Z)(t,2),a=n[0],i=n[1];return(0,m.useEffect)(function(){i((0,Io.Y)({layout:(0,Mo.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},To=["id","defaultMessage"],Bo=["fixSiderbar","navTheme","layout"],Tn=0,Po=function(e,t){var n;return e.headerRender===!1||e.pure?null:(0,u.jsx)(eo,(0,v.Z)((0,v.Z)({matchMenuKeys:t},e),{},{stylish:(n=e.stylish)===null||n===void 0?void 0:n.header}))},jo=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,v.Z)({},e),(0,u.jsx)(kr,{})):null},Eo=function(e,t){var n,a=e.layout,i=e.isMobile,o=e.selectedKeys,c=e.openKeys,d=e.splitMenus,s=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var y=e.menuData;if(d&&(c!==!1||a==="mix")&&!i){var p=o||t,S=(0,F.Z)(p,1),P=S[0];if(P){var I;y=((I=e.menuData)===null||I===void 0||(I=I.find(function(O){return O.key===P}))===null||I===void 0?void 0:I.children)||[]}else y=[]}var Z=(0,ct.QX)(y||[]);if(Z&&(Z==null?void 0:Z.length)<1&&(d||s))return null;if(a==="top"&&!i){var w;return(0,u.jsx)(In,(0,v.Z)((0,v.Z)({matchMenuKeys:t},e),{},{hide:!0,stylish:(w=e.stylish)===null||w===void 0?void 0:w.sider}))}var j=(0,u.jsx)(In,(0,v.Z)((0,v.Z)({matchMenuKeys:t},e),{},{menuData:Z,stylish:(n=e.stylish)===null||n===void 0?void 0:n.sider}));return f?f(e,j):j},wo=function(e,t){var n=t.pageTitleRender,a=Ft(e);if(n===!1)return{title:t.title||"",id:"",pageName:""};if(n){var i=n(e,a.title,a);if(typeof i=="string")return Ft((0,v.Z)((0,v.Z)({},a),{},{title:i}));(0,Dr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},Lo=function(e,t,n){return e?t?64:n:0},No=function(e){var t,n,a,i,o,c,d,s,f,y,p,S,P,I,Z=e||{},w=Z.children,j=Z.onCollapse,O=Z.location,B=O===void 0?{pathname:"/"}:O,L=Z.contentStyle,x=Z.route,R=Z.defaultCollapsed,X=Z.style,_=Z.siderWidth,E=Z.menu,te=Z.siderMenuType,de=Z.isChildrenLayout,C=Z.menuDataRender,ve=Z.actionRef,T=Z.bgLayoutImgList,J=Z.formatMessage,ae=Z.loading,pe=(0,m.useMemo)(function(){return _||(e.layout==="mix"?215:256)},[e.layout,_]),le=(0,m.useContext)(Ne.ZP.ConfigContext),Ze=(t=e.prefixCls)!==null&&t!==void 0?t:le.getPrefixCls("pro"),xe=(0,oe.Z)(!1,{value:E==null?void 0:E.loading,onChange:E==null?void 0:E.onLoadingChange}),Ce=(0,F.Z)(xe,2),we=Ce[0],Be=Ce[1],je=(0,m.useState)(function(){return Tn+=1,"pro-layout-".concat(Tn)}),_e=(0,F.Z)(je,1),We=_e[0],Fe=(0,m.useCallback)(function(Ie){var Ue=Ie.id,Tt=Ie.defaultMessage,ht=(0,fe.Z)(Ie,To);if(J)return J((0,v.Z)({id:Ue,defaultMessage:Tt},ht));var gt=(0,lo.e)();return gt[Ue]?gt[Ue]:Tt},[J]),Ke=(0,on.ZP)([We,E==null?void 0:E.params],function(){var Ie=(0,ne.Z)((0,se.Z)().mark(function Ue(Tt){var ht,gt,Wn,Fn;return(0,se.Z)().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return gt=(0,F.Z)(Tt,2),Wn=gt[1],Be(!0),tt.next=4,E==null||(ht=E.request)===null||ht===void 0?void 0:ht.call(E,Wn||{},(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[]);case 4:return Fn=tt.sent,Be(!1),tt.abrupt("return",Fn);case 7:case"end":return tt.stop()}},Ue)}));return function(Ue){return Ie.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),dt=Ke.data,Zt=Ke.mutate,Me=Ke.isLoading;(0,m.useEffect)(function(){Be(Me)},[Me]);var He=(0,on.kY)(),Le=He.cache;(0,m.useEffect)(function(){return function(){Le instanceof Map&&Le.delete(We)}},[]);var Mt=(0,m.useMemo)(function(){return Zo(dt||(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[],E,Fe,C)},[Fe,E,C,dt,x==null?void 0:x.children,x==null?void 0:x.routes]),Kt=Mt||{},_o=Kt.breadcrumb,Bn=Kt.breadcrumbMap,Pn=Kt.menuData,st=Pn===void 0?[]:Pn;ve&&E!==null&&E!==void 0&&E.request&&(ve.current={reload:function(){Zt()}});var vt=(0,m.useMemo)(function(){return Zr(B.pathname||"/",st||[],!0)},[B.pathname,st]),Ut=(0,m.useMemo)(function(){return Array.from(new Set(vt.map(function(Ie){return Ie.key||Ie.path||""})))},[vt]),jn=vt[vt.length-1]||{},En=Ro(jn),It=(0,v.Z)((0,v.Z)({},e),En),Oo=It.fixSiderbar,ei=It.navTheme,ft=It.layout,Ao=(0,fe.Z)(It,Bo),ke=A(),qe=(0,m.useMemo)(function(){return(ke==="sm"||ke==="xs")&&!e.disableMobile},[ke,e.disableMobile]),Do=ft!=="top"&&!qe,$o=(0,oe.Z)(function(){return R!==void 0?R:!!(qe||ke==="md")},{value:e.collapsed,onChange:j}),wn=(0,F.Z)($o,2),mt=wn[0],Ln=wn[1],et=(0,an.Z)((0,v.Z)((0,v.Z)((0,v.Z)({prefixCls:Ze},e),{},{siderWidth:pe},En),{},{formatMessage:Fe,breadcrumb:_o,menu:(0,v.Z)((0,v.Z)({},E),{},{type:te||(E==null?void 0:E.type),loading:we}),layout:ft}),["className","style","breadcrumbRender"]),Gt=wo((0,v.Z)((0,v.Z)({pathname:B.pathname},et),{},{breadcrumbMap:Bn}),e),zo=bo((0,v.Z)((0,v.Z)({},et),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:Bn}),e),Rt=Eo((0,v.Z)((0,v.Z)({},et),{},{menuData:st,onCollapse:Ln,isMobile:qe,collapsed:mt}),Ut),Xt=Po((0,v.Z)((0,v.Z)({},et),{},{children:null,hasSiderMenu:!!Rt,menuData:st,isMobile:qe,collapsed:mt,onCollapse:Ln}),Ut),Nn=jo((0,v.Z)({isMobile:qe,collapsed:mt},et)),Wo=(0,m.useContext)(Rn.X),Fo=Wo.isChildrenLayout,Vt=de!==void 0?de:Fo,Oe="".concat(Ze,"-layout"),Hn=vo(Oe),Ko=Hn.wrapSSR,Qt=Hn.hashId,Uo=Y()(e.className,Qt,"ant-design-pro",Oe,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"screen-".concat(ke),ke),"".concat(Oe,"-top-menu"),ft==="top"),"".concat(Oe,"-is-children"),Vt),"".concat(Oe,"-fix-siderbar"),Oo),"".concat(Oe,"-").concat(ft),ft)),Go=Lo(!!Do,mt,pe),_n={position:"relative"};(Vt||L&&L.minHeight)&&(_n.minHeight=0),(0,m.useEffect)(function(){var Ie;(Ie=e.onPageChange)===null||Ie===void 0||Ie.call(e,e.location)},[B.pathname,(n=B.pathname)===null||n===void 0?void 0:n.search]);var Xo=(0,m.useState)(!1),On=(0,F.Z)(Xo,2),An=On[0],Vo=On[1],Qo=(0,m.useState)(0),Dn=(0,F.Z)(Qo,2),$n=Dn[0],Yo=Dn[1];g(Gt,e.title||!1);var Jo=(0,m.useContext)(k.L_),V=Jo.token,zn=(0,m.useMemo)(function(){return T&&T.length>0?T==null?void 0:T.map(function(Ie,Ue){return(0,u.jsx)("img",{src:Ie.src,style:(0,v.Z)({position:"absolute"},Ie)},Ue)}):null},[T]);return Ko((0,u.jsx)(Rn.X.Provider,{value:(0,v.Z)((0,v.Z)({},et),{},{breadcrumb:zo,menuData:st,isMobile:qe,collapsed:mt,hasPageContainer:$n,setHasPageContainer:Yo,isChildrenLayout:!0,title:Gt.pageName,hasSiderMenu:!!Rt,hasHeader:!!Xt,siderWidth:Go,hasFooter:!!Nn,hasFooterToolbar:An,setHasFooterToolbar:Vo,pageTitleInfo:Gt,matchMenus:vt,matchMenuKeys:Ut,currentMenu:jn}),children:e.pure?(0,u.jsx)(u.Fragment,{children:w}):(0,u.jsxs)("div",{className:Uo,children:[zn||(a=V.layout)!==null&&a!==void 0&&a.bgLayout?(0,u.jsx)("div",{className:Y()("".concat(Oe,"-bg-list"),Qt),children:zn}):null,(0,u.jsxs)(Ve,{style:(0,v.Z)({minHeight:"100%",flexDirection:Rt?"row":void 0},X),children:[(0,u.jsx)(Ne.ZP,{theme:{hashed:(0,k.nu)(),token:{controlHeightLG:((i=V.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(V==null?void 0:V.controlHeightLG)},components:{Menu:N({colorItemBg:((o=V.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((c=V.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuBackground)||"transparent",radiusItem:V.borderRadius,colorItemBgSelected:((d=V.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(V==null?void 0:V.colorBgTextHover),colorItemBgHover:((s=V.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorBgMenuItemHover)||(V==null?void 0:V.colorBgTextHover),colorItemBgActive:((f=V.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(V==null?void 0:V.colorBgTextActive),colorItemBgSelectedHorizontal:((y=V.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorBgMenuItemSelected)||(V==null?void 0:V.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((p=V.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.colorTextMenu)||(V==null?void 0:V.colorTextSecondary),colorItemTextHover:((S=V.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((P=V.layout)===null||P===void 0||(P=P.sider)===null||P===void 0?void 0:P.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:V==null?void 0:V.colorBgElevated,subMenuItemBg:V==null?void 0:V.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:V==null?void 0:V.colorBgElevated})}},children:Rt}),(0,u.jsxs)("div",{style:_n,className:"".concat(Oe,"-container ").concat(Qt).trim(),children:[Xt,(0,u.jsx)(zr,(0,v.Z)((0,v.Z)({hasPageContainer:$n,isChildrenLayout:Vt},Ao),{},{hasHeader:!!Xt,prefixCls:Oe,style:L,children:ae?(0,u.jsx)(to.S,{}):w})),Nn,An&&(0,u.jsx)("div",{className:"".concat(Oe,"-has-footer"),style:{height:64,marginBlockStart:(I=V.layout)===null||I===void 0||(I=I.pageContainer)===null||I===void 0?void 0:I.paddingBlockPageContainerContent}})]})]})]})}))},Ho=function(e){var t=e.colorPrimary,n=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(Ne.ZP,{theme:t?{token:{colorPrimary:t}}:void 0,children:(0,u.jsx)(k._Y,(0,v.Z)((0,v.Z)({autoClearCache:!0},n),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(No,(0,v.Z)((0,v.Z)({logo:(0,u.jsx)(Wr,{})},fn.h),{},{location:(0,U.j)()?window.location:void 0},e))}))})}},83832:function(be,ye,h){"use strict";h.d(ye,{S:function(){return k}});var l=h(1413),se=h(91),ne=h(75081),fe=h(67294),F=h(85893),v=["isLoading","pastDelay","timedOut","error","retry"],k=function(m){var ie=m.isLoading,ue=m.pastDelay,he=m.timedOut,A=m.error,U=m.retry,g=(0,se.Z)(m,v);return(0,F.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,F.jsx)(ne.Z,(0,l.Z)({size:"large"},g))})}},76509:function(be,ye,h){"use strict";h.d(ye,{X:function(){return se}});var l=h(67294),se=(0,l.createContext)({})},90743:function(be,ye){var h;function l(g){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(M){return typeof M}:function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},l(g)}h={value:!0},ye.Bo=h=h=h=h=h=h=void 0;function se(g){for(var M=[],b=0;b<g.length;){var N=g[b];if(N==="*"||N==="+"||N==="?"){M.push({type:"MODIFIER",index:b,value:g[b++]});continue}if(N==="\\"){M.push({type:"ESCAPED_CHAR",index:b++,value:g[b++]});continue}if(N==="{"){M.push({type:"OPEN",index:b,value:g[b++]});continue}if(N==="}"){M.push({type:"CLOSE",index:b,value:g[b++]});continue}if(N===":"){for(var ee="",z=b+1;z<g.length;){var H=g.charCodeAt(z);if(H>=48&&H<=57||H>=65&&H<=90||H>=97&&H<=122||H===95){ee+=g[z++];continue}break}if(!ee)throw new TypeError("Missing parameter name at "+b);M.push({type:"NAME",index:b,value:ee}),b=z;continue}if(N==="("){var D=1,Q="",z=b+1;if(g[z]==="?")throw new TypeError('Pattern cannot start with "?" at '+z);for(;z<g.length;){if(g[z]==="\\"){Q+=g[z++]+g[z++];continue}if(g[z]===")"){if(D--,D===0){z++;break}}else if(g[z]==="("&&(D++,g[z+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+z);Q+=g[z++]}if(D)throw new TypeError("Unbalanced pattern at "+b);if(!Q)throw new TypeError("Missing pattern at "+b);M.push({type:"PATTERN",index:b,value:Q}),b=z;continue}M.push({type:"CHAR",index:b,value:g[b++]})}return M.push({type:"END",index:b,value:""}),M}function ne(g,M){M===void 0&&(M={});for(var b=se(g),N=M.prefixes,ee=N===void 0?"./":N,z="[^"+oe(M.delimiter||"/#?")+"]+?",H=[],D=0,Q=0,q="",K=function(ze){if(Q<b.length&&b[Q].type===ze)return b[Q++].value},G=function(ze){var Ge=K(ze);if(Ge!==void 0)return Ge;var pt=b[Q],Bt=pt.type,nt=pt.index;throw new TypeError("Unexpected "+Bt+" at "+nt+", expected "+ze)},me=function(){for(var ze="",Ge;Ge=K("CHAR")||K("ESCAPED_CHAR");)ze+=Ge;return ze};Q<b.length;){var ce=K("CHAR"),W=K("NAME"),re=K("PATTERN");if(W||re){var $=ce||"";ee.indexOf($)===-1&&(q+=$,$=""),q&&(H.push(q),q=""),H.push({name:W||D++,prefix:$,suffix:"",pattern:re||z,modifier:K("MODIFIER")||""});continue}var Se=ce||K("ESCAPED_CHAR");if(Se){q+=Se;continue}q&&(H.push(q),q="");var Ee=K("OPEN");if(Ee){var $=me(),De=K("NAME")||"",Te=K("PATTERN")||"",$e=me();G("CLOSE"),H.push({name:De||(Te?D++:""),pattern:De&&!Te?z:Te,prefix:$,suffix:$e,modifier:K("MODIFIER")||""});continue}G("END")}return H}h=ne;function fe(g,M){return F(ne(g,M),M)}h=fe;function F(g,M){M===void 0&&(M={});var b=m(M),N=M.encode,ee=N===void 0?function(Q){return Q}:N,z=M.validate,H=z===void 0?!0:z,D=g.map(function(Q){if(l(Q)==="object")return new RegExp("^(?:"+Q.pattern+")$",b)});return function(Q){for(var q="",K=0;K<g.length;K++){var G=g[K];if(typeof G=="string"){q+=G;continue}var me=Q?Q[G.name]:void 0,ce=G.modifier==="?"||G.modifier==="*",W=G.modifier==="*"||G.modifier==="+";if(Array.isArray(me)){if(!W)throw new TypeError('Expected "'+G.name+'" to not repeat, but got an array');if(me.length===0){if(ce)continue;throw new TypeError('Expected "'+G.name+'" to not be empty')}for(var re=0;re<me.length;re++){var $=ee(me[re],G);if(H&&!D[K].test($))throw new TypeError('Expected all "'+G.name+'" to match "'+G.pattern+'", but got "'+$+'"');q+=G.prefix+$+G.suffix}continue}if(typeof me=="string"||typeof me=="number"){var $=ee(String(me),G);if(H&&!D[K].test($))throw new TypeError('Expected "'+G.name+'" to match "'+G.pattern+'", but got "'+$+'"');q+=G.prefix+$+G.suffix;continue}if(!ce){var Se=W?"an array":"a string";throw new TypeError('Expected "'+G.name+'" to be '+Se)}}return q}}h=F;function v(g,M){var b=[],N=U(g,b,M);return k(N,b,M)}h=v;function k(g,M,b){b===void 0&&(b={});var N=b.decode,ee=N===void 0?function(z){return z}:N;return function(z){var H=g.exec(z);if(!H)return!1;for(var D=H[0],Q=H.index,q=Object.create(null),K=function(ce){if(H[ce]===void 0)return"continue";var W=M[ce-1];W.modifier==="*"||W.modifier==="+"?q[W.name]=H[ce].split(W.prefix+W.suffix).map(function(re){return ee(re,W)}):q[W.name]=ee(H[ce],W)},G=1;G<H.length;G++)K(G);return{path:D,index:Q,params:q}}}h=k;function oe(g){return g.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function m(g){return g&&g.sensitive?"":"i"}function ie(g,M){if(!M)return g;var b=g.source.match(/\((?!\?)/g);if(b)for(var N=0;N<b.length;N++)M.push({name:N,prefix:"",suffix:"",modifier:"",pattern:""});return g}function ue(g,M,b){var N=g.map(function(ee){return U(ee,M,b).source});return new RegExp("(?:"+N.join("|")+")",m(b))}function he(g,M,b){return A(ne(g,b),M,b)}function A(g,M,b){b===void 0&&(b={});for(var N=b.strict,ee=N===void 0?!1:N,z=b.start,H=z===void 0?!0:z,D=b.end,Q=D===void 0?!0:D,q=b.encode,K=q===void 0?function(Ae){return Ae}:q,G="["+oe(b.endsWith||"")+"]|$",me="["+oe(b.delimiter||"/#?")+"]",ce=H?"^":"",W=0,re=g;W<re.length;W++){var $=re[W];if(typeof $=="string")ce+=oe(K($));else{var Se=oe(K($.prefix)),Ee=oe(K($.suffix));if($.pattern)if(M&&M.push($),Se||Ee)if($.modifier==="+"||$.modifier==="*"){var De=$.modifier==="*"?"?":"";ce+="(?:"+Se+"((?:"+$.pattern+")(?:"+Ee+Se+"(?:"+$.pattern+"))*)"+Ee+")"+De}else ce+="(?:"+Se+"("+$.pattern+")"+Ee+")"+$.modifier;else ce+="("+$.pattern+")"+$.modifier;else ce+="(?:"+Se+Ee+")"+$.modifier}}if(Q)ee||(ce+=me+"?"),ce+=b.endsWith?"(?="+G+")":"$";else{var Te=g[g.length-1],$e=typeof Te=="string"?me.indexOf(Te[Te.length-1])>-1:Te===void 0;ee||(ce+="(?:"+me+"(?="+G+"))?"),$e||(ce+="(?="+me+"|"+G+")")}return new RegExp(ce,m(b))}h=A;function U(g,M,b){return g instanceof RegExp?ie(g,M):Array.isArray(g)?ue(g,M,b):he(g,M,b)}ye.Bo=U},78164:function(be,ye,h){"use strict";h.d(ye,{S:function(){return ie}});var l=h(15671),se=h(43144),ne=h(97326),fe=h(60136),F=h(29388),v=h(4942),k=h(29905),oe=h(67294),m=h(85893),ie=function(ue){(0,fe.Z)(A,ue);var he=(0,F.Z)(A);function A(){var U;(0,l.Z)(this,A);for(var g=arguments.length,M=new Array(g),b=0;b<g;b++)M[b]=arguments[b];return U=he.call.apply(he,[this].concat(M)),(0,v.Z)((0,ne.Z)(U),"state",{hasError:!1,errorInfo:""}),U}return(0,se.Z)(A,[{key:"componentDidCatch",value:function(g,M){console.log(g,M)}},{key:"render",value:function(){return this.state.hasError?(0,m.jsx)(k.ZP,{status:"error",title:"Something went wrong.",extra:this.state.errorInfo}):this.props.children}}],[{key:"getDerivedStateFromError",value:function(g){return{hasError:!0,errorInfo:g.message}}}]),A}(oe.Component)},10178:function(be,ye,h){"use strict";h.d(ye,{D:function(){return F}});var l=h(74165),se=h(15861),ne=h(67294),fe=h(48171);function F(v,k){var oe=(0,fe.J)(v),m=(0,ne.useRef)(),ie=(0,ne.useCallback)(function(){m.current&&(clearTimeout(m.current),m.current=null)},[]),ue=(0,ne.useCallback)((0,se.Z)((0,l.Z)().mark(function he(){var A,U,g,M=arguments;return(0,l.Z)().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:for(A=M.length,U=new Array(A),g=0;g<A;g++)U[g]=M[g];if(!(k===0||k===void 0)){N.next=3;break}return N.abrupt("return",oe.apply(void 0,U));case 3:return ie(),N.abrupt("return",new Promise(function(ee){m.current=setTimeout((0,se.Z)((0,l.Z)().mark(function z(){return(0,l.Z)().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.t0=ee,D.next=3,oe.apply(void 0,U);case 3:return D.t1=D.sent,(0,D.t0)(D.t1),D.abrupt("return");case 6:case"end":return D.stop()}},z)})),k)}));case 5:case"end":return N.stop()}},he)})),[oe,ie,k]);return(0,ne.useEffect)(function(){return ie},[ie]),{run:ue,cancel:ie}}},48171:function(be,ye,h){"use strict";h.d(ye,{J:function(){return ne}});var l=h(74902),se=h(67294),ne=function(F){var v=(0,se.useRef)(null);return v.current=F,(0,se.useCallback)(function(){for(var k,oe=arguments.length,m=new Array(oe),ie=0;ie<oe;ie++)m[ie]=arguments[ie];return(k=v.current)===null||k===void 0?void 0:k.call.apply(k,[v].concat((0,l.Z)(m)))},[])}},14779:function(be){be.exports=he,be.exports.parse=se,be.exports.compile=ne,be.exports.tokensToFunction=fe,be.exports.tokensToRegExp=ue;var ye="/",h="./",l=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function se(A,U){for(var g=[],M=0,b=0,N="",ee=U&&U.delimiter||ye,z=U&&U.delimiters||h,H=!1,D;(D=l.exec(A))!==null;){var Q=D[0],q=D[1],K=D.index;if(N+=A.slice(b,K),b=K+Q.length,q){N+=q[1],H=!0;continue}var G="",me=A[b],ce=D[2],W=D[3],re=D[4],$=D[5];if(!H&&N.length){var Se=N.length-1;z.indexOf(N[Se])>-1&&(G=N[Se],N=N.slice(0,Se))}N&&(g.push(N),N="",H=!1);var Ee=G!==""&&me!==void 0&&me!==G,De=$==="+"||$==="*",Te=$==="?"||$==="*",$e=G||ee,Ae=W||re;g.push({name:ce||M++,prefix:G,delimiter:$e,optional:Te,repeat:De,partial:Ee,pattern:Ae?v(Ae):"[^"+F($e)+"]+?"})}return(N||b<A.length)&&g.push(N+A.substr(b)),g}function ne(A,U){return fe(se(A,U))}function fe(A){for(var U=new Array(A.length),g=0;g<A.length;g++)typeof A[g]=="object"&&(U[g]=new RegExp("^(?:"+A[g].pattern+")$"));return function(M,b){for(var N="",ee=b&&b.encode||encodeURIComponent,z=0;z<A.length;z++){var H=A[z];if(typeof H=="string"){N+=H;continue}var D=M?M[H.name]:void 0,Q;if(Array.isArray(D)){if(!H.repeat)throw new TypeError('Expected "'+H.name+'" to not repeat, but got array');if(D.length===0){if(H.optional)continue;throw new TypeError('Expected "'+H.name+'" to not be empty')}for(var q=0;q<D.length;q++){if(Q=ee(D[q],H),!U[z].test(Q))throw new TypeError('Expected all "'+H.name+'" to match "'+H.pattern+'"');N+=(q===0?H.prefix:H.delimiter)+Q}continue}if(typeof D=="string"||typeof D=="number"||typeof D=="boolean"){if(Q=ee(String(D),H),!U[z].test(Q))throw new TypeError('Expected "'+H.name+'" to match "'+H.pattern+'", but got "'+Q+'"');N+=H.prefix+Q;continue}if(H.optional){H.partial&&(N+=H.prefix);continue}throw new TypeError('Expected "'+H.name+'" to be '+(H.repeat?"an array":"a string"))}return N}}function F(A){return A.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function v(A){return A.replace(/([=!:$/()])/g,"\\$1")}function k(A){return A&&A.sensitive?"":"i"}function oe(A,U){if(!U)return A;var g=A.source.match(/\((?!\?)/g);if(g)for(var M=0;M<g.length;M++)U.push({name:M,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return A}function m(A,U,g){for(var M=[],b=0;b<A.length;b++)M.push(he(A[b],U,g).source);return new RegExp("(?:"+M.join("|")+")",k(g))}function ie(A,U,g){return ue(se(A,g),U,g)}function ue(A,U,g){g=g||{};for(var M=g.strict,b=g.start!==!1,N=g.end!==!1,ee=F(g.delimiter||ye),z=g.delimiters||h,H=[].concat(g.endsWith||[]).map(F).concat("$").join("|"),D=b?"^":"",Q=A.length===0,q=0;q<A.length;q++){var K=A[q];if(typeof K=="string")D+=F(K),Q=q===A.length-1&&z.indexOf(K[K.length-1])>-1;else{var G=K.repeat?"(?:"+K.pattern+")(?:"+F(K.delimiter)+"(?:"+K.pattern+"))*":K.pattern;U&&U.push(K),K.optional?K.partial?D+=F(K.prefix)+"("+G+")?":D+="(?:"+F(K.prefix)+"("+G+"))?":D+=F(K.prefix)+"("+G+")"}}return N?(M||(D+="(?:"+ee+")?"),D+=H==="$"?"$":"(?="+H+")"):(M||(D+="(?:"+ee+"(?="+H+"))?"),Q||(D+="(?="+ee+"|"+H+")")),new RegExp(D,k(g))}function he(A,U,g){return A instanceof RegExp?oe(A,U):Array.isArray(A)?m(A,U,g):ie(A,U,g)}},64599:function(be,ye,h){var l=h(96263);function se(ne,fe){var F=typeof Symbol!="undefined"&&ne[Symbol.iterator]||ne["@@iterator"];if(!F){if(Array.isArray(ne)||(F=l(ne))||fe&&ne&&typeof ne.length=="number"){F&&(ne=F);var v=0,k=function(){};return{s:k,n:function(){return v>=ne.length?{done:!0}:{done:!1,value:ne[v++]}},e:function(he){throw he},f:k}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var oe=!0,m=!1,ie;return{s:function(){F=F.call(ne)},n:function(){var he=F.next();return oe=he.done,he},e:function(he){m=!0,ie=he},f:function(){try{!oe&&F.return!=null&&F.return()}finally{if(m)throw ie}}}}be.exports=se,be.exports.__esModule=!0,be.exports.default=be.exports}}]);