You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
106 KiB
27 lines
106 KiB
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6151],{45730:function(Re,Ie,g){"use strict";g.d(Ie,{f:function(){return to}});var l=g(73273),he=g(3224),ie=g(47801),ye=g(10570),F=g(32682),v=g(33346),k=g(17122),ce=g(65589),m=g(50959);function de(r){var e=typeof window=="undefined",n=(0,m.useState)(function(){return e?!1:window.matchMedia(r).matches}),t=(0,F.Z)(n,2),a=t[0],i=t[1];return(0,m.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(r),u=function(s){return i(s.matches)};return o.addListener(u),function(){return o.removeListener(u)}}},[r]),a}var fe={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},Ce=function(){var e=void 0;if(typeof window=="undefined")return e;var n=Object.keys(fe).find(function(t){var a=fe[t].matchMedia;return!!window.matchMedia(a).matches});return e=n,e},L=function(){var e=de(fe.md.matchMedia),n=de(fe.lg.matchMedia),t=de(fe.xxl.matchMedia),a=de(fe.xl.matchMedia),i=de(fe.sm.matchMedia),o=de(fe.xs.matchMedia),u=(0,m.useState)(Ce()),d=(0,F.Z)(u,2),s=d[0],f=d[1];return(0,m.useEffect)(function(){if(t){f("xxl");return}if(a){f("xl");return}if(n){f("lg");return}if(e){f("md");return}if(i){f("sm");return}if(o){f("xs");return}f("md")},[e,n,t,a,i,o]),s},U=g(87440);function h(r,e){var n=typeof r.pageName=="string"?r.title:e;(0,m.useEffect)(function(){(0,U.j)()&&n&&(document.title=n)},[r.title,n])}var I=g(11175),C=g(87322);function E(r){if((0,I.n)((0,C.b)(),"5.6.0")<0)return r;var e={colorGroupTitle:"groupTitleColor",radiusItem:"itemBorderRadius",radiusSubMenuItem:"subMenuItemBorderRadius",colorItemText:"itemColor",colorItemTextHover:"itemHoverColor",colorItemTextHoverHorizontal:"horizontalItemHoverColor",colorItemTextSelected:"itemSelectedColor",colorItemTextSelectedHorizontal:"horizontalItemSelectedColor",colorItemTextDisabled:"itemDisabledColor",colorDangerItemText:"dangerItemColor",colorDangerItemTextHover:"dangerItemHoverColor",colorDangerItemTextSelected:"dangerItemSelectedColor",colorDangerItemBgActive:"dangerItemActiveBg",colorDangerItemBgSelected:"dangerItemSelectedBg",colorItemBg:"itemBg",colorItemBgHover:"itemHoverBg",colorSubItemBg:"subMenuItemBg",colorItemBgActive:"itemActiveBg",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},n=(0,v.Z)({},r);return Object.keys(e).forEach(function(t){n[t]!==void 0&&(n[e[t]]=n[t],delete n[t])}),n}var ae=g(6866);function D(r,e){return e>>>r|e<<32-r}function w(r,e,n){return r&e^~r&n}function A(r,e,n){return r&e^r&n^e&n}function Q(r){return D(2,r)^D(13,r)^D(22,r)}function q(r){return D(6,r)^D(11,r)^D(25,r)}function K(r){return D(7,r)^D(18,r)^r>>>3}function G(r){return D(17,r)^D(19,r)^r>>>10}function xe(r,e){return r[e&15]+=G(r[e+14&15])+r[e+9&15]+K(r[e+1&15])}var me=[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,le,H,Te="0123456789abcdef";function _e(r,e){var n=(r&65535)+(e&65535),t=(r>>16)+(e>>16)+(n>>16);return t<<16|n&65535}function Oe(){W=new Array(8),le=new Array(2),H=new Array(64),le[0]=le[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 je(){var r,e,n,t,a,i,o,u,d,s,f=new Array(16);r=W[0],e=W[1],n=W[2],t=W[3],a=W[4],i=W[5],o=W[6],u=W[7];for(var p=0;p<16;p++)f[p]=H[(p<<2)+3]|H[(p<<2)+2]<<8|H[(p<<2)+1]<<16|H[p<<2]<<24;for(var y=0;y<64;y++)d=u+q(a)+w(a,i,o)+me[y],y<16?d+=f[y]:d+=xe(f,y),s=Q(r)+A(r,e,n),u=o,o=i,i=a,a=_e(t,d),t=n,n=e,e=r,r=_e(d,s);W[0]+=r,W[1]+=e,W[2]+=n,W[3]+=t,W[4]+=a,W[5]+=i,W[6]+=o,W[7]+=u}function $e(r,e){var n,t,a=0;t=le[0]>>3&63;var i=e&63;for((le[0]+=e<<3)<e<<3&&le[1]++,le[1]+=e>>29,n=0;n+63<e;n+=64){for(var o=t;o<64;o++)H[o]=r.charCodeAt(a++);je(),t=0}for(var u=0;u<i;u++)H[u]=r.charCodeAt(a++)}function De(){var r=le[0]>>3&63;if(H[r++]=128,r<=56)for(var e=r;e<56;e++)H[e]=0;else{for(var n=r;n<64;n++)H[n]=0;je();for(var t=0;t<56;t++)H[t]=0}H[56]=le[1]>>>24&255,H[57]=le[1]>>>16&255,H[58]=le[1]>>>8&255,H[59]=le[1]&255,H[60]=le[0]>>>24&255,H[61]=le[0]>>>16&255,H[62]=le[0]>>>8&255,H[63]=le[0]&255,je()}function We(){for(var r=0,e=new Array(32),n=0;n<8;n++)e[r++]=W[n]>>>24&255,e[r++]=W[n]>>>16&255,e[r++]=W[n]>>>8&255,e[r++]=W[n]&255;return e}function Ue(){for(var r=new String,e=0;e<8;e++)for(var n=28;n>=0;n-=4)r+=Te.charAt(W[e]>>>n&15);return r}function pn(r){return Oe(),$e(r,r.length),De(),Ue()}var Pn=pn;function tn(r){"@babel/helpers - typeof";return tn=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},tn(r)}var Lt=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function At(r,e){return Dt(r)||Nt(r,e)||jn(r,e)||Ht()}function Ht(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nt(r,e){var n=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(n!=null){var t=[],a=!0,i=!1,o,u;try{for(n=n.call(r);!(a=(o=n.next()).done)&&(t.push(o.value),!(e&&t.length===e));a=!0);}catch(d){i=!0,u=d}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw u}}return t}}function Dt(r){if(Array.isArray(r))return r}function Ot(r,e){var n=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=jn(r))||e&&r&&typeof r.length=="number"){n&&(r=n);var t=0,a=function(){};return{s:a,n:function(){return t>=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(s){throw s},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){n=n.call(r)},n:function(){var s=n.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function $t(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(r,e){for(var n=0;n<e.length;n++){var t=e[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(r,t.key,t)}}function Wt(r,e,n){return e&&Un(r.prototype,e),n&&Un(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}function zt(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&rn(r,e)}function Ft(r){var e=Gn();return function(){var t=an(r),a;if(e){var i=an(this).constructor;a=Reflect.construct(t,arguments,i)}else a=t.apply(this,arguments);return Kt(this,a)}}function Kt(r,e){if(e&&(tn(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ut(r)}function Ut(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Bn(r){var e=typeof Map=="function"?new Map:void 0;return Bn=function(t){if(t===null||!Gt(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(t))return e.get(t);e.set(t,a)}function a(){return yn(t,arguments,an(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),rn(a,t)},Bn(r)}function yn(r,e,n){return Gn()?yn=Reflect.construct.bind():yn=function(a,i,o){var u=[null];u.push.apply(u,i);var d=Function.bind.apply(a,u),s=new d;return o&&rn(s,o.prototype),s},yn.apply(null,arguments)}function Gn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(r){return!1}}function Gt(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function rn(r,e){return rn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},rn(r,e)}function an(r){return an=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},an(r)}function Xn(r){return Qt(r)||Vt(r)||jn(r)||Xt()}function Xt(){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 jn(r,e){if(r){if(typeof r=="string")return En(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return En(r,e)}}function Vt(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function Qt(r){if(Array.isArray(r))return En(r)}function En(r,e){(e==null||e>r.length)&&(e=r.length);for(var n=0,t=new Array(e);n<e;n++)t[n]=r[n];return t}function Yt(r,e){if(r==null)return{};var n=Jt(r,e),t,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)t=i[a],!(e.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(r,t)&&(n[t]=r[t])}return n}function Jt(r,e){if(r==null)return{};var n={},t=Object.keys(r),a,i;for(i=0;i<t.length;i++)a=t[i],!(e.indexOf(a)>=0)&&(n[a]=r[a]);return n}function Vn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function be(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Vn(Object(n),!0).forEach(function(t){kt(r,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Vn(Object(n)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))})}return r}function kt(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}var we="routes";function on(r){return r.split("?")[0].split("#")[0]}var wn=function(e){if(!e.startsWith("http"))return!1;try{var n=new URL(e);return!!n}catch(t){return!1}},qt=function(e){var n=e.path;if(!n||n==="/")try{return"/".concat(Pn(JSON.stringify(e)))}catch(t){}return n&&on(n)},er=function(e,n){var t=e.name,a=e.locale;return"locale"in e&&a===!1||!t?!1:e.locale||"".concat(n,".").concat(t)},Qn=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||n).startsWith("/")||wn(e)?e:"/".concat(n,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},nr=function(e,n){var t=e.menu,a=t===void 0?{}:t,i=e.indexRoute,o=e.path,u=o===void 0?"":o,d=e.children||[],s=a.name,f=s===void 0?e.name:s,p=a.icon,y=p===void 0?e.icon:p,Z=a.hideChildren,j=Z===void 0?e.hideChildren:Z,T=a.flatMenu,M=T===void 0?e.flatMenu:T,O=i&&Object.keys(i).join(",")!=="redirect"?[be({path:u,menu:a},i)].concat(d||[]):d,$=be({},e);if(f&&($.name=f),y&&($.icon=y),O&&O.length){if(j)return delete $.children,$;var z=_n(be(be({},n),{},{data:O}),e);if(M)return z;delete $[we]}return $},Ge=function(e){return Array.isArray(e)&&e.length>0};function _n(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},n=r.data,t=r.formatMessage,a=r.parentName,i=r.locale;return!n||!Array.isArray(n)?[]:n.filter(function(o){return o?Ge(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var u,d;return!(o==null||(u=o.menu)===null||u===void 0)&&u.name||o!=null&&o.flatMenu||!(o==null||(d=o.menu)===null||d===void 0)&&d.flatMenu?!0:o.menu!==!1}).map(function(o){var u=be(be({},o),{},{path:o.path||o.originPath});return!u.children&&u[we]&&(u.children=u[we],delete u[we]),u.unaccessible&&delete u.name,u.path==="*"&&(u.path="."),u.path==="/*"&&(u.path="."),!u.path&&u.originPath&&(u.path=u.originPath),u}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},u=o.children||o[we]||[],d=Qn(o.path,e?e.path:"/"),s=o.name,f=er(o,a||"menu"),p=f!==!1&&i!==!1&&t&&f?t({id:f,defaultMessage:s}):s,y=e.pro_layout_parentKeys,Z=y===void 0?[]:y,j=e.children,T=e.icon,M=e.flatMenu,O=e.indexRoute,$=e.routes,z=Yt(e,Lt),N=new Set([].concat(Xn(Z),Xn(o.parentKeys||[])));e.key&&N.add(e.key);var R=be(be(be({},z),{},{menu:void 0},o),{},{path:d,locale:f,key:o.key||qt(be(be({},o),{},{path:d})),pro_layout_parentKeys:Array.from(N).filter(function(S){return S&&S!=="/"})});if(p?R.name=p:delete R.name,R.menu===void 0&&delete R.menu,Ge(u)){var x=_n(be(be({},r),{},{data:u,parentName:f||""}),R);Ge(x)&&(R.children=x)}return nr(R,r)}).flat(1)}var tr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(n){return n&&(n.name||Ge(n.children))&&!n.hideInMenu&&!n.redirect}).map(function(n){var t=be({},n),a=t.children||n[we]||[];if(delete t[we],Ge(a)&&!t.hideChildrenInMenu&&a.some(function(o){return o&&!!o.name})){var i=r(a);if(i.length)return be(be({},t),{},{children:i})}return be({},n)}).filter(function(n){return n})},rr=function(r){zt(n,r);var e=Ft(n);function n(){return $t(this,n),e.apply(this,arguments)}return Wt(n,[{key:"get",value:function(a){var i;try{var o=Ot(this.entries()),u;try{for(o.s();!(u=o.n()).done;){var d=At(u.value,2),s=d[0],f=d[1],p=on(s);if(!wn(s)&&(0,ae.Bo)(p,[]).test(a)){i=f;break}}}catch(y){o.e(y)}finally{o.f()}}catch(y){i=void 0}return i}}]),n}(Bn(Map)),ar=function(e){var n=new rr,t=function a(i,o){i.forEach(function(u){var d=u.children||u[we]||[];Ge(d)&&a(d,u);var s=Qn(u.path,o?o.path:"/");n.set(on(s),u)})};return t(e),n},or=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(n){var t=n.children||n[we];if(Ge(t)){var a=r(t);if(a.length)return be({},n)}var i=be({},n);return delete i[we],delete i.children,i}).filter(function(n){return n})},ir=function(e,n,t,a){var i=_n({data:e,formatMessage:t,locale:n}),o=a?or(i):tr(i),u=ar(i);return{breadcrumb:u,menuData:o}},lr=ir;function Yn(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),n.push.apply(n,t)}return n}function ln(r){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Yn(Object(n),!0).forEach(function(t){ur(r,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):Yn(Object(n)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))})}return r}function ur(r,e,n){return e in r?Object.defineProperty(r,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[e]=n,r}var cr=function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n={};return e.forEach(function(t){var a=ln({},t);if(!(!a||!a.key)){!a.children&&a[we]&&(a.children=a[we],delete a[we]);var i=a.children||[];n[on(a.path||a.key||"/")]=ln({},a),n[a.key||a.path||"/"]=ln({},a),i&&(n=ln(ln({},n),r(i)))}}),n},dr=cr,sr=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return e.filter(function(a){if(a==="/"&&n==="/")return!0;if(a!=="/"&&a!=="/*"&&a&&!wn(a)){var i=on(a);try{if(t&&(0,ae.Bo)("".concat(i)).test(n)||(0,ae.Bo)("".concat(i),[]).test(n)||(0,ae.Bo)("".concat(i,"/(.*)")).test(n))return!0}catch(o){}}return!1}).sort(function(a,i){return a===n?10:i===n?-10:a.substr(1).split("/").length-i.substr(1).split("/").length})},vr=function(e,n,t,a){var i=dr(n),o=Object.keys(i),u=sr(o,e||"/",a);return!u||u.length<1?[]:(t||(u=[u[u.length-1]]),u.map(function(d){var s=i[d]||{pro_layout_parentKeys:"",key:""},f=new Map,p=(s.pro_layout_parentKeys||[]).map(function(y){return f.has(y)?null:(f.set(y,!0),i[y])}).filter(function(y){return y});return s.key&&p.push(s),p}).flat(1))},fr=vr,He=g(56197),Ve=g(42259),mr=g(84875),te=g.n(mr),Jn=g(71770),hr=g(12868),kn=g(84707),gr=g(27542),c=g(11527),pr=function(e){var n,t=(0,m.useContext)(k.L_),a=t.hashId,i=e.style,o=e.prefixCls,u=e.children,d=e.hasPageContainer,s=d===void 0?0:d,f=te()("".concat(o,"-content"),a,(n={},(0,l.Z)(n,"".concat(o,"-has-header"),e.hasHeader),(0,l.Z)(n,"".concat(o,"-content-has-page-container"),s>0),n)),p=e.ErrorBoundary||gr.S;return e.ErrorBoundary===!1?(0,c.jsx)(Ve.Z.Content,{className:f,style:i,children:u}):(0,c.jsx)(p,{children:(0,c.jsx)(Ve.Z.Content,{className:f,style:i,children:u})})},yr=function(){return(0,c.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 200 200",children:[(0,c.jsxs)("defs",{children:[(0,c.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,c.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,c.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,c.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,c.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,c.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,c.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,c.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,c.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,c.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,c.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,c.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,c.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,c.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,c.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,c.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,c.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,c.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,c.jsxs)("g",{children:[(0,c.jsxs)("g",{fillRule:"nonzero",children:[(0,c.jsxs)("g",{children:[(0,c.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,c.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,c.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,c.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})},xr=g(52267),un=g(79954),xn=g(38126),Cr={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"},br=Cr,Sr=g(38782),Zr=function(e,n){return m.createElement(Sr.Z,(0,xn.Z)({},e,{ref:n,icon:br}))},Mr=m.forwardRef(Zr),Ir=g(82757),Rr=function(){return(0,c.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,c.jsx)("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},Tr=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,c.jsx)("div",{className:"".concat(t,"-content ").concat(a).trim(),children:(0,c.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a).trim(),children:n==null?void 0:n.map(function(o,u){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,c.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a).trim(),children:[(0,c.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,c.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},u):(0,c.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,c.jsxs)("a",{href:i?void 0:o.url,target:o.target,rel:"noreferrer",children:[An(o.icon),(0,c.jsxs)("div",{children:[(0,c.jsx)("div",{children:o.title}),o.desc?(0,c.jsx)("span",{children:o.desc}):null]})]})},u)})})})},Ln=function(e){if(!e||!e.startsWith("http"))return!1;try{var n=new URL(e);return!!n}catch(t){return!1}},Pr=function(e,n){if(e&&typeof e=="string"&&Ln(e))return(0,c.jsx)("img",{src:e,alt:"logo"});if(typeof e=="function")return e();if(e&&typeof e=="string")return(0,c.jsx)("div",{id:"avatarLogo",children:e});if(!e&&n&&typeof n=="string"){var t=n.substring(0,1);return(0,c.jsx)("div",{id:"avatarLogo",children:t})}return e},Br=function r(e){var n=e.appList,t=e.baseClassName,a=e.hashId,i=e.itemClick;return(0,c.jsx)("div",{className:"".concat(t,"-content ").concat(a).trim(),children:(0,c.jsx)("ul",{className:"".concat(t,"-content-list ").concat(a).trim(),children:n==null?void 0:n.map(function(o,u){var d;return o!=null&&(d=o.children)!==null&&d!==void 0&&d.length?(0,c.jsxs)("div",{className:"".concat(t,"-content-list-item-group ").concat(a).trim(),children:[(0,c.jsx)("div",{className:"".concat(t,"-content-list-item-group-title ").concat(a).trim(),children:o.title}),(0,c.jsx)(r,{hashId:a,itemClick:i,appList:o==null?void 0:o.children,baseClassName:t})]},u):(0,c.jsx)("li",{className:"".concat(t,"-content-list-item ").concat(a).trim(),onClick:function(f){f.stopPropagation(),i==null||i(o)},children:(0,c.jsxs)("a",{href:i?"javascript:;":o.url,target:o.target,rel:"noreferrer",children:[Pr(o.icon,o.title),(0,c.jsx)("div",{children:(0,c.jsx)("div",{children:o.title})})]})},u)})})})},Ee=g(26488),jr=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":Ee.Wf===null||Ee.Wf===void 0?void 0:(0,Ee.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"}}}}}}},Er=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"}}}}}}},wr=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(n=e.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,borderRadius:e.borderRadius,"&:hover":{color:(t=e.layout)===null||t===void 0?void 0:t.colorTextAppListIconHover,backgroundColor:(a=e.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover},"&-active":{color:(i=e.layout)===null||i===void 0?void 0:i.colorTextAppListIconHover,backgroundColor:(o=e.layout)===null||o===void 0?void 0:o.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":(0,l.Z)({},"".concat(e.antCls,"-popover-arrow"),{display:"none"}),"&-simple":Er(e),"&-default":jr(e)})};function _r(r){return(0,Ee.Xj)("AppsLogoComponents",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[wr(n)]})}var An=function(e){return typeof e=="string"?(0,c.jsx)("img",{width:"auto",height:22,src:e,alt:"logo"}):typeof e=="function"?e():e},Hn=function(e){var n,t=e.appList,a=e.appListRender,i=e.prefixCls,o=i===void 0?"ant-pro":i,u=e.onItemClick,d=m.useRef(null),s=m.useRef(null),f="".concat(o,"-layout-apps"),p=_r(f),y=p.wrapSSR,Z=p.hashId,j=(0,m.useState)(!1),T=(0,F.Z)(j,2),M=T[0],O=T[1],$=function(S){u==null||u(S,s)},z=(0,m.useMemo)(function(){var x=t==null?void 0:t.some(function(S){return!(S!=null&&S.desc)});return x?(0,c.jsx)(Br,{hashId:Z,appList:t,itemClick:u?$:void 0,baseClassName:"".concat(f,"-simple")}):(0,c.jsx)(Tr,{hashId:Z,appList:t,itemClick:u?$:void 0,baseClassName:"".concat(f,"-default")})},[t,f,Z]);if(!(e!=null&&(n=e.appList)!==null&&n!==void 0&&n.length))return null;var N=a?a(e==null?void 0:e.appList,z):z,R=(0,C.X)(void 0,function(x){return O(x)});return y((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{ref:d,onClick:function(S){S.stopPropagation(),S.preventDefault()}}),(0,c.jsx)(Ir.Z,(0,v.Z)((0,v.Z)({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},R),{},{overlayClassName:"".concat(f,"-popover ").concat(Z).trim(),content:N,getPopupContainer:function(){return d.current||document.body},children:(0,c.jsx)("span",{ref:s,onClick:function(S){S.stopPropagation()},className:te()("".concat(f,"-icon"),Z,(0,l.Z)({},"".concat(f,"-icon-active"),M)),children:(0,c.jsx)(Rr,{})})}))]}))},qn=g(21757),Lr=g(75200),et=g(62737);function Ar(){return(0,c.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:(0,c.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 Hr=function(e){var n,t,a;return(0,l.Z)({},e.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextCollapsedButton,backgroundColor:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function Nr(r){return(0,Ee.Xj)("SiderMenuCollapsedIcon",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[Hr(n)]})}var Dr=["isMobile","collapsed"],Or=function(e){var n,t=e.isMobile,a=e.collapsed,i=(0,ye.Z)(e,Dr),o=Nr(e.className),u=o.wrapSSR,d=o.hashId;return t&&a?null:u((0,c.jsx)("div",(0,v.Z)((0,v.Z)({},i),{},{className:te()(e.className,d,(n={},(0,l.Z)(n,"".concat(e.className,"-collapsed"),a),(0,l.Z)(n,"".concat(e.className,"-is-mobile"),t),n)),children:(0,c.jsx)(Ar,{})})))},Cn=g(1788),$r=g(77254),Wr=g(47920),zr=g(12602),Fr=g(41491),bn=g(36484),Kr=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],nt=m.forwardRef(function(r,e){var n=r.className,t=r.component,a=r.viewBox,i=r.spin,o=r.rotate,u=r.tabIndex,d=r.onClick,s=r.children,f=(0,ye.Z)(r,Kr),p=m.useRef(),y=(0,zr.x1)(p,e);(0,bn.Kp)(!!(t||s),"Should have `component` prop or `children`."),(0,bn.C3)(p);var Z=m.useContext(Fr.Z),j=Z.prefixCls,T=j===void 0?"anticon":j,M=Z.rootClassName,O=te()(M,T,n),$=te()((0,l.Z)({},"".concat(T,"-spin"),!!i)),z=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,N=(0,v.Z)((0,v.Z)({},bn.vD),{},{className:$,style:z,viewBox:a});a||delete N.viewBox;var R=function(){return t?m.createElement(t,N,s):s?((0,bn.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,xn.Z)({},N,{viewBox:a}),s)):null},x=u;return x===void 0&&d&&(x=-1),m.createElement("span",(0,xn.Z)({role:"img"},f,{ref:y,tabIndex:x,onClick:d,className:O}),R())});nt.displayName="AntdIcon";var Ur=nt,Gr=["type","children"],tt=new Set;function Xr(r){return!!(typeof r=="string"&&r.length&&!tt.has(r))}function Sn(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=r[e];if(Xr(n)){var t=document.createElement("script");t.setAttribute("src",n),t.setAttribute("data-namespace",n),r.length>e+1&&(t.onload=function(){Sn(r,e+1)},t.onerror=function(){Sn(r,e+1)}),tt.add(n),document.body.appendChild(t)}}function rt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.scriptUrl,n=r.extraCommonProps,t=n===void 0?{}:n;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?Sn(e.reverse()):Sn([e]));var a=m.forwardRef(function(i,o){var u=i.type,d=i.children,s=(0,ye.Z)(i,Gr),f=null;return i.type&&(f=m.createElement("use",{xlinkHref:"#".concat(u)})),d&&(f=d),m.createElement(Ur,(0,xn.Z)({},t,s,{ref:o}),f)});return a.displayName="Iconfont",a}function Vr(r){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(r)}var Qr=g(32618),Yr=g(25670),at=g(65140),Jr=function(e,n){var t,a,i,o,u,d,s,f=n.includes("horizontal")?(t=e.layout)===null||t===void 0?void 0:t.header:(a=e.layout)===null||a===void 0?void 0:a.sider;return(0,v.Z)((0,v.Z)((0,l.Z)({},"".concat(e.componentCls),(s={background:"transparent",color:f==null?void 0:f.colorTextMenu,border:"none"},(0,l.Z)(s,"".concat(e.componentCls,"-menu-item"),{transition:"none !important"}),(0,l.Z)(s,"".concat(e.componentCls,"-submenu-has-icon"),(0,l.Z)({},"> ".concat(e.antCls,"-menu-sub"),{paddingInlineStart:10})),(0,l.Z)(s,"".concat(e.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),(0,l.Z)(s,"".concat(e.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),(0,l.Z)(s,"".concat(e.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),(0,l.Z)(s,"&&-collapsed",(i={},(0,l.Z)(i,"".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"}),(0,l.Z)(i,"".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:f==null?void 0:f.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),(0,l.Z)(i,"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0})),i)),(0,l.Z)(s,"&-item-title",(d={display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},(0,l.Z)(d,"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),(0,l.Z)(d,"&-collapsed",(o={minWidth:40,height:40},(0,l.Z)(o,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),(0,l.Z)(o,"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"}),o)),(0,l.Z)(d,"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),(0,l.Z)(d,"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),(0,l.Z)(d,"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(u={display:"flex"},(0,l.Z)(u,"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),(0,l.Z)(u,"".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}),u))),d)),(0,l.Z)(s,"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),(0,l.Z)(s,"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20}),s)),n.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function kr(r,e){return(0,Ee.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,v.Z)((0,v.Z)({},n),{},{componentCls:".".concat(r)});return[Jr(t,e||"inline")]})}var ot=function(e){var n=(0,m.useState)(e.collapsed),t=(0,F.Z)(n,2),a=t[0],i=t[1],o=(0,m.useState)(!1),u=(0,F.Z)(o,2),d=u[0],s=u[1];return(0,m.useEffect)(function(){s(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,c.jsx)(Qr.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:s,children:e.children})},it=rt({scriptUrl:at.h.iconfontUrl}),lt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Ln(e)||Vr(e))return(0,c.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,c.jsx)(it,{type:e})}return e},ut=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},qr=(0,$r.Z)(function r(e){var n=this;(0,Wr.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return t.map(function(o){return n.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a,i){var o=n.props,u=o.subMenuItemRender,d=o.baseClassName,s=o.prefixCls,f=o.collapsed,p=o.menu,y=o.iconPrefixes,Z=o.layout,j=(p==null?void 0:p.type)==="group"&&Z!=="top",T=n.props.token,M=n.getIntlName(t),O=(t==null?void 0:t.children)||(t==null?void 0:t.routes),$=j&&a===0?"group":void 0;if(Array.isArray(O)&&O.length>0){var z,N,R,x,S,ee,_,P=a===0||j&&a===1,X=lt(t.icon,y,"".concat(d,"-icon ").concat((z=n.props)===null||z===void 0?void 0:z.hashId)),oe=f&&P?ut(M):null,b=(0,c.jsxs)("div",{className:te()("".concat(d,"-item-title"),(N=n.props)===null||N===void 0?void 0:N.hashId,(R={},(0,l.Z)(R,"".concat(d,"-item-title-collapsed"),f),(0,l.Z)(R,"".concat(d,"-item-title-collapsed-level-").concat(i),f),(0,l.Z)(R,"".concat(d,"-group-item-title"),$==="group"),(0,l.Z)(R,"".concat(d,"-item-collapsed-show-title"),(p==null?void 0:p.collapsedShowTitle)&&f),R)),children:[$==="group"&&f?null:P&&X?(0,c.jsx)("span",{className:"".concat(d,"-item-icon ").concat((x=n.props)===null||x===void 0?void 0:x.hashId).trim(),children:X}):oe,(0,c.jsx)("span",{className:te()("".concat(d,"-item-text"),(S=n.props)===null||S===void 0?void 0:S.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),$!=="group"&&P&&(X||oe))),children:M})]}),V=u?u((0,v.Z)((0,v.Z)({},t),{},{isUrl:!1}),b,n.props):b;if(j&&a===0&&n.props.collapsed&&!p.collapsedShowGroupTitle)return n.getNavMenuItems(O,a+1,a);var ne=n.getNavMenuItems(O,a+1,j&&a===0&&n.props.collapsed?a:a+1);return[{type:$,key:t.key||t.path,label:V,onClick:j?void 0:t.onTitleClick,children:ne,className:te()((ee={},(0,l.Z)(ee,"".concat(d,"-group"),$==="group"),(0,l.Z)(ee,"".concat(d,"-submenu"),$!=="group"),(0,l.Z)(ee,"".concat(d,"-submenu-has-icon"),$!=="group"&&P&&X),ee))},j&&a===0?{type:"divider",prefixCls:s,className:"".concat(d,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:T==null||(_=T.layout)===null||_===void 0||(_=_.sider)===null||_===void 0?void 0:_.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a,i)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,u=o.menu,d=o.formatMessage;return i&&(u==null?void 0:u.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a,i){var o,u,d,s,f,p=n.conversionPath(t.path||"/"),y=n.props,Z=y.location,j=Z===void 0?{pathname:"/"}:Z,T=y.isMobile,M=y.onCollapse,O=y.menuItemRender,$=y.iconPrefixes,z=n.getIntlName(t),N=n.props,R=N.baseClassName,x=N.menu,S=N.collapsed,ee=(x==null?void 0:x.type)==="group",_=a===0||ee&&a===1,P=_?lt(t.icon,$,"".concat(R,"-icon ").concat((o=n.props)===null||o===void 0?void 0:o.hashId)):null,X=S&&_?ut(z):null,oe=(0,c.jsxs)("div",{className:te()("".concat(R,"-item-title"),(u=n.props)===null||u===void 0?void 0:u.hashId,(d={},(0,l.Z)(d,"".concat(R,"-item-title-collapsed"),S),(0,l.Z)(d,"".concat(R,"-item-title-collapsed-level-").concat(i),S),(0,l.Z)(d,"".concat(R,"-item-collapsed-show-title"),(x==null?void 0:x.collapsedShowTitle)&&S),d)),children:[(0,c.jsx)("span",{className:"".concat(R,"-item-icon ").concat((s=n.props)===null||s===void 0?void 0:s.hashId).trim(),style:{display:X===null&&!P?"none":""},children:P||(0,c.jsx)("span",{className:"anticon",children:X})}),(0,c.jsx)("span",{className:te()("".concat(R,"-item-text"),(f=n.props)===null||f===void 0?void 0:f.hashId,(0,l.Z)({},"".concat(R,"-item-text-has-icon"),_&&(P||X))),children:z})]},p),b=Ln(p);if(b){var V,ne,B,re;oe=(0,c.jsxs)("span",{onClick:function(){var Y,se;(Y=window)===null||Y===void 0||(se=Y.open)===null||se===void 0||se.call(Y,p,"_blank")},className:te()("".concat(R,"-item-title"),(V=n.props)===null||V===void 0?void 0:V.hashId,(ne={},(0,l.Z)(ne,"".concat(R,"-item-title-collapsed"),S),(0,l.Z)(ne,"".concat(R,"-item-title-collapsed-level-").concat(i),S),(0,l.Z)(ne,"".concat(R,"-item-link"),!0),(0,l.Z)(ne,"".concat(R,"-item-collapsed-show-title"),(x==null?void 0:x.collapsedShowTitle)&&S),ne)),children:[(0,c.jsx)("span",{className:"".concat(R,"-item-icon ").concat((B=n.props)===null||B===void 0?void 0:B.hashId).trim(),style:{display:X===null&&!P?"none":""},children:P||(0,c.jsx)("span",{className:"anticon",children:X})}),(0,c.jsx)("span",{className:te()("".concat(R,"-item-text"),(re=n.props)===null||re===void 0?void 0:re.hashId,(0,l.Z)({},"".concat(R,"-item-text-has-icon"),_&&(P||X))),children:z})]},p)}if(O){var ue=(0,v.Z)((0,v.Z)({},t),{},{isUrl:b,itemPath:p,isMobile:T,replace:p===j.pathname,onClick:function(){return M&&M(!0)},children:void 0});return a===0?(0,c.jsx)(ot,{collapsed:S,title:z,disable:t.disabledTooltip,children:O(ue,oe,n.props)}):O(ue,oe,n.props)}return a===0?(0,c.jsx)(ot,{collapsed:S,title:z,disable:t.disabledTooltip,children:oe}):oe}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),ea=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},ct=function(e){var n,t=e.mode,a=e.className,i=e.handleOpenChange,o=e.style,u=e.menuData,d=e.prefixCls,s=e.menu,f=e.matchMenuKeys,p=e.iconfontUrl,y=e.selectedKeys,Z=e.onSelect,j=e.menuRenderType,T=e.openKeys,M=(0,m.useContext)(k.L_),O=M.dark,$=M.token,z="".concat(d,"-base-menu-").concat(t),N=(0,m.useRef)([]),R=(0,ce.Z)(s==null?void 0:s.defaultOpenAll),x=(0,F.Z)(R,2),S=x[0],ee=x[1],_=(0,ce.Z)(function(){return s!=null&&s.defaultOpenAll?(0,un.O7)(u)||[]:T===!1?!1:[]},{value:T===!1?void 0:T,onChange:i}),P=(0,F.Z)(_,2),X=P[0],oe=P[1],b=(0,ce.Z)([],{value:y,onChange:Z?function(ge){Z&&ge&&Z(ge)}:void 0}),V=(0,F.Z)(b,2),ne=V[0],B=V[1];(0,m.useEffect)(function(){s!=null&&s.defaultOpenAll||T===!1||f&&(oe(f),B(f))},[f.join("-")]),(0,m.useEffect)(function(){p&&(it=rt({scriptUrl:p}))},[p]),(0,m.useEffect)(function(){if(f.join("-")!==(ne||[]).join("-")&&B(f),!S&&T!==!1&&f.join("-")!==(X||[]).join("-")){var ge=f;(s==null?void 0:s.autoClose)===!1&&(ge=Array.from(new Set([].concat((0,Cn.Z)(f),(0,Cn.Z)(X||[]))))),oe(ge)}else s!=null&&s.ignoreFlatMenu&&S?oe((0,un.O7)(u)):ee(!1)},[f.join("-")]);var re=(0,m.useMemo)(function(){return ea(X,e)},[X&&X.join(","),e.layout,e.collapsed]),ue=kr(z,t),pe=ue.wrapSSR,Y=ue.hashId,se=(0,m.useMemo)(function(){return new qr((0,v.Z)((0,v.Z)({},e),{},{token:$,menuRenderType:j,baseClassName:z,hashId:Y}))},[e,$,j,z,Y]);if(s!=null&&s.loading)return(0,c.jsx)("div",{style:t!=null&&t.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,c.jsx)(Yr.Z,{active:!0,title:!1,paragraph:{rows:t!=null&&t.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(N.current=f);var ve=e.postMenuData?e.postMenuData(u):u;return ve&&(ve==null?void 0:ve.length)<1?null:pe((0,m.createElement)(et.Z,(0,v.Z)((0,v.Z)({},re),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:t,inlineIndent:16,defaultOpenKeys:N.current,theme:O?"dark":"light",selectedKeys:ne,style:(0,v.Z)({backgroundColor:"transparent",border:"none"},o),className:te()(a,Y,z,(n={},(0,l.Z)(n,"".concat(z,"-horizontal"),t==="horizontal"),(0,l.Z)(n,"".concat(z,"-collapsed"),e.collapsed),n)),items:se.getNavMenuItems(ve,0,0),onOpenChange:function(Se){e.collapsed||oe(Se)}},e.menuProps)))};function na(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Ee.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var ta=["title","render"],ra=m.memo(function(r){return(0,c.jsx)(c.Fragment,{children:r.children})}),aa=Ve.Z.Sider,dt=Ve.Z._InternalSiderContext,oa=dt===void 0?{Provider:ra}:dt,Nn=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n];if(o===!1)return null;var u=An(t),d=(0,c.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(u,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,c.jsx)("a",{children:u},"title"):(0,c.jsxs)("a",{children:[u,d]},"title")},st=function(e){var n,t,a=e.collapsed,i=e.originCollapsed,o=e.fixSiderbar,u=e.menuFooterRender,d=e.onCollapse,s=e.theme,f=e.siderWidth,p=e.isMobile,y=e.onMenuHeaderClick,Z=e.breakpoint,j=Z===void 0?"lg":Z,T=e.style,M=e.layout,O=e.menuExtraRender,$=O===void 0?!1:O,z=e.links,N=e.menuContentRender,R=e.collapsedButtonRender,x=e.prefixCls,S=e.avatarProps,ee=e.rightContentRender,_=e.actionsRender,P=e.onOpenChange,X=e.stylish,oe=e.logoStyle,b=(0,m.useContext)(k.L_),V=b.hashId,ne=(0,m.useMemo)(function(){return!(p||M==="mix")},[p,M]),B="".concat(x,"-sider"),re=64,ue=na("".concat(B,".").concat(B,"-stylish"),{stylish:X,proLayoutCollapsedWidth:re}),pe=te()("".concat(B),V,(n={},(0,l.Z)(n,"".concat(B,"-fixed"),o),(0,l.Z)(n,"".concat(B,"-fixed-mix"),M==="mix"&&!p&&o),(0,l.Z)(n,"".concat(B,"-collapsed"),e.collapsed),(0,l.Z)(n,"".concat(B,"-layout-").concat(M),M&&!p),(0,l.Z)(n,"".concat(B,"-light"),s!=="dark"),(0,l.Z)(n,"".concat(B,"-mix"),M==="mix"&&!p),(0,l.Z)(n,"".concat(B,"-stylish"),!!X),n)),Y=Nn(e),se=$&&$(e),ve=(0,m.useMemo)(function(){return N!==!1&&(0,m.createElement)(ct,(0,v.Z)((0,v.Z)({},e),{},{key:"base-menu",mode:a&&!p?"vertical":"inline",handleOpenChange:P,style:{width:"100%"},className:"".concat(B,"-menu ").concat(V).trim()}))},[B,V,N,P,e]),ge=(z||[]).map(function(Be,Le){return{className:"".concat(B,"-link"),label:Be,key:Le}}),Se=(0,m.useMemo)(function(){return N?N(e,ve):ve},[N,ve,e]),Ze=(0,m.useMemo)(function(){if(!S)return null;var Be=S.title,Le=S.render,Ae=(0,ye.Z)(S,ta),Je=(0,c.jsxs)("div",{className:"".concat(B,"-actions-avatar"),children:[Ae!=null&&Ae.src||Ae!=null&&Ae.srcSet||Ae.icon||Ae.children?(0,c.jsx)(qn.C,(0,v.Z)({size:28},Ae)):null,S.title&&!a&&(0,c.jsx)("span",{children:Be})]});return Le?Le(S,Je):Je},[S,B,a]),Me=(0,m.useMemo)(function(){return _?(0,c.jsx)(Lr.Z,{align:"center",size:4,direction:a?"vertical":"horizontal",className:te()(["".concat(B,"-actions-list"),a&&"".concat(B,"-actions-list-collapsed"),V]),children:_==null?void 0:_(e).map(function(Be,Le){return(0,c.jsx)("div",{className:"".concat(B,"-actions-list-item ").concat(V).trim(),children:Be},Le)})}):null},[_,B,a]),ze=(0,m.useMemo)(function(){return(0,c.jsx)(Hn,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),Fe=(0,m.useMemo)(function(){if(R===!1)return null;var Be=(0,c.jsx)(Or,{isMobile:p,collapsed:i,className:"".concat(B,"-collapsed-button"),onClick:function(){d==null||d(!i)}});return R?R(a,Be):Be},[R,p,i,B,a,d]),cn=(0,m.useMemo)(function(){return!Ze&&!Me?null:(0,c.jsxs)("div",{className:te()("".concat(B,"-actions"),V,a&&"".concat(B,"-actions-collapsed")),children:[Ze,Me]})},[Me,Ze,B,a,V]),Xe=(0,m.useMemo)(function(){var Be;return e!=null&&(Be=e.menu)!==null&&Be!==void 0&&Be.hideMenuWhenCollapsed&&a?"".concat(B,"-hide-menu-collapsed"):null},[B,a,e==null||(t=e.menu)===null||t===void 0?void 0:t.hideMenuWhenCollapsed]),Mn=u&&(u==null?void 0:u(e)),dn=(0,c.jsxs)(c.Fragment,{children:[Y&&(0,c.jsxs)("div",{className:te()([te()("".concat(B,"-logo"),V,(0,l.Z)({},"".concat(B,"-logo-collapsed"),a))]),onClick:ne?y:void 0,id:"logo",style:oe,children:[Y,ze]}),se&&(0,c.jsx)("div",{className:te()(["".concat(B,"-extra"),!Y&&"".concat(B,"-extra-no-logo"),V]),children:se}),(0,c.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Se}),(0,c.jsxs)(oa.Provider,{value:{},children:[z?(0,c.jsx)("div",{className:"".concat(B,"-links ").concat(V).trim(),children:(0,c.jsx)(et.Z,{inlineIndent:16,className:"".concat(B,"-link-menu ").concat(V).trim(),selectedKeys:[],openKeys:[],theme:s,mode:"inline",items:ge})}):null,ne&&(0,c.jsxs)(c.Fragment,{children:[cn,!Me&&ee?(0,c.jsx)("div",{className:te()("".concat(B,"-actions"),V,(0,l.Z)({},"".concat(B,"-actions-collapsed"),a)),children:ee==null?void 0:ee(e)}):null]}),Mn&&(0,c.jsx)("div",{className:te()(["".concat(B,"-footer"),V,(0,l.Z)({},"".concat(B,"-footer-collapsed"),a)]),children:Mn})]})]});return ue.wrapSSR((0,c.jsxs)(c.Fragment,{children:[o&&!p&&!Xe&&(0,c.jsx)("div",{style:(0,v.Z)({width:a?re:f,overflow:"hidden",flex:"0 0 ".concat(a?re:f,"px"),maxWidth:a?re:f,minWidth:a?re:f,transition:"all 0.2s ease 0s"},T)}),(0,c.jsxs)(aa,{collapsible:!0,trigger:null,collapsed:a,breakpoint:j===!1?void 0:j,onCollapse:function(Le){p||d==null||d(Le)},collapsedWidth:re,style:T,theme:s,width:f,className:te()(pe,V,Xe),children:[Xe?(0,c.jsx)("div",{className:"".concat(B,"-hide-when-collapsed ").concat(V).trim(),style:{height:"100%",width:"100%",opacity:Xe?0:1},children:dn}):dn,Fe]})]}))},ia=g(82250),la=g(12682),ua=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function ca(r){return(0,Ee.Xj)("ProLayoutRightContent",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[ua(n)]})}var da=["rightContentRender","avatarProps","actionsRender","headerContentRender"],sa=["title","render"],vt=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,ye.Z)(e,da),u=(0,m.useContext)(He.ZP.ConfigContext),d=u.getPrefixCls,s="".concat(d(),"-pro-global-header"),f=ca(s),p=f.wrapSSR,y=f.hashId,Z=(0,m.useState)("auto"),j=(0,F.Z)(Z,2),T=j[0],M=j[1],O=(0,m.useMemo)(function(){if(!t)return null;var R=t.title,x=t.render,S=(0,ye.Z)(t,sa),ee=[S!=null&&S.src||S!=null&&S.srcSet||S.icon||S.children?(0,m.createElement)(qn.C,(0,v.Z)((0,v.Z)({},S),{},{size:28,key:"avatar"})):null,R?(0,c.jsx)("span",{style:{marginInlineStart:8},children:R},"name"):void 0];return x?x(t,(0,c.jsx)("div",{children:ee})):(0,c.jsx)("div",{children:ee})},[t]),$=a||O?function(R){var x=a&&(a==null?void 0:a(R));return!x&&!O?null:(Array.isArray(x)||(x=[x]),p((0,c.jsxs)("div",{className:"".concat(s,"-header-actions ").concat(y).trim(),children:[x.filter(Boolean).map(function(S,ee){var _=!1;if(m.isValidElement(S)){var P;_=!!(S!=null&&(P=S.props)!==null&&P!==void 0&&P["aria-hidden"])}return(0,c.jsx)("div",{className:te()("".concat(s,"-header-actions-item ").concat(y),(0,l.Z)({},"".concat(s,"-header-actions-hover"),!_)),children:S},ee)}),O&&(0,c.jsx)("span",{className:"".concat(s,"-header-actions-avatar ").concat(y).trim(),children:O})]})))}:void 0,z=(0,ia.D)(function(){var R=(0,ie.Z)((0,he.Z)().mark(function x(S){return(0,he.Z)().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:M(S);case 1:case"end":return _.stop()}},x)}));return function(x){return R.apply(this,arguments)}}(),160),N=$||n;return(0,c.jsx)("div",{className:"".concat(s,"-right-content ").concat(y).trim(),style:{minWidth:T,height:"100%"},children:(0,c.jsx)("div",{style:{height:"100%"},children:(0,c.jsx)(la.Z,{onResize:function(x){var S=x.width;z.run(S)},children:N?(0,c.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:N((0,v.Z)((0,v.Z)({},o),{},{rightContentSize:T}))}):null})})})},va=function(e){var n,t;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};function fa(r){return(0,Ee.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[va(n)]})}var ft=function(e){var n,t,a,i,o,u,d,s=(0,m.useRef)(null),f=e.onMenuHeaderClick,p=e.contentWidth,y=e.rightContentRender,Z=e.className,j=e.style,T=e.headerContentRender,M=e.layout,O=e.actionsRender,$=(0,m.useContext)(He.ZP.ConfigContext),z=$.getPrefixCls,N=(0,m.useContext)(k.L_),R=N.dark,x="".concat(e.prefixCls||z("pro"),"-top-nav-header"),S=fa(x),ee=S.wrapSSR,_=S.hashId,P=void 0;e.menuHeaderRender!==void 0?P="menuHeaderRender":(M==="mix"||M==="top")&&(P="headerTitleRender");var X=Nn((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),P),oe=(0,m.useContext)(k.L_),b=oe.token,V=(0,m.useMemo)(function(){var ne,B,re,ue,pe,Y,se,ve,ge,Se,Ze,Me,ze,Fe=(0,c.jsx)(He.ZP,{theme:{hashed:(0,k.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,v.Z)({},E({colorItemBg:((ne=b.layout)===null||ne===void 0||(ne=ne.header)===null||ne===void 0?void 0:ne.colorBgHeader)||"transparent",colorSubItemBg:((B=b.layout)===null||B===void 0||(B=B.header)===null||B===void 0?void 0:B.colorBgHeader)||"transparent",radiusItem:b.borderRadius,colorItemBgSelected:((re=b.layout)===null||re===void 0||(re=re.header)===null||re===void 0?void 0:re.colorBgMenuItemSelected)||(b==null?void 0:b.colorBgTextHover),itemHoverBg:((ue=b.layout)===null||ue===void 0||(ue=ue.header)===null||ue===void 0?void 0:ue.colorBgMenuItemHover)||(b==null?void 0:b.colorBgTextHover),colorItemBgSelectedHorizontal:((pe=b.layout)===null||pe===void 0||(pe=pe.header)===null||pe===void 0?void 0:pe.colorBgMenuItemSelected)||(b==null?void 0:b.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((Y=b.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.colorTextMenu)||(b==null?void 0:b.colorTextSecondary),colorItemTextHoverHorizontal:((se=b.layout)===null||se===void 0||(se=se.header)===null||se===void 0?void 0:se.colorTextMenuActive)||(b==null?void 0:b.colorText),colorItemTextSelectedHorizontal:((ve=b.layout)===null||ve===void 0||(ve=ve.header)===null||ve===void 0?void 0:ve.colorTextMenuSelected)||(b==null?void 0:b.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((ge=b.layout)===null||ge===void 0||(ge=ge.header)===null||ge===void 0?void 0:ge.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((Se=b.layout)===null||Se===void 0||(Se=Se.header)===null||Se===void 0?void 0:Se.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((Ze=b.layout)===null||Ze===void 0||(Ze=Ze.header)===null||Ze===void 0?void 0:Ze.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:b==null?void 0:b.colorBgElevated,darkPopupBg:b==null?void 0:b.colorBgElevated}))},token:{colorBgElevated:((Me=b.layout)===null||Me===void 0||(Me=Me.header)===null||Me===void 0?void 0:Me.colorBgHeader)||"transparent"}},children:(0,c.jsx)(ct,(0,v.Z)((0,v.Z)((0,v.Z)({theme:R?"dark":"light"},e),{},{className:"".concat(x,"-base-menu ").concat(_).trim()},e.menuProps),{},{style:(0,v.Z)({width:"100%"},(ze=e.menuProps)===null||ze===void 0?void 0:ze.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return T?T(e,Fe):Fe},[(n=b.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgHeader,(t=b.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgMenuItemSelected,(a=b.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=b.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=b.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(u=b.layout)===null||u===void 0||(u=u.header)===null||u===void 0?void 0:u.colorTextMenuSelected,(d=b.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,b.borderRadius,b==null?void 0:b.colorBgTextHover,b==null?void 0:b.colorTextSecondary,b==null?void 0:b.colorText,b==null?void 0:b.colorTextBase,b.colorBgElevated,R,e,x,_,T]);return ee((0,c.jsx)("div",{className:te()(x,_,Z,(0,l.Z)({},"".concat(x,"-light"),!0)),style:j,children:(0,c.jsxs)("div",{ref:s,className:te()("".concat(x,"-main"),_,(0,l.Z)({},"".concat(x,"-wide"),p==="Fixed"&&M==="top")),children:[X&&(0,c.jsxs)("div",{className:te()("".concat(x,"-main-left ").concat(_)),onClick:f,children:[(0,c.jsx)(Hn,(0,v.Z)({},e)),(0,c.jsx)("div",{className:"".concat(x,"-logo ").concat(_).trim(),id:"logo",children:X},"logo")]}),(0,c.jsx)("div",{style:{flex:1},className:"".concat(x,"-menu ").concat(_).trim(),children:V}),(y||O||e.avatarProps)&&(0,c.jsx)(vt,(0,v.Z)((0,v.Z)({rightContentRender:y},e),{},{prefixCls:x}))]})}))},ma=function(e){var n,t,a,i;return(0,l.Z)({},e.componentCls,(i={position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},(0,l.Z)(i,"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),(0,l.Z)(i,"&-collapsed-button",{minHeight:"22px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),(0,l.Z)(i,"&-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"}}),(0,l.Z)(i,"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}),i))};function ha(r){return(0,Ee.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[ma(n)]})}var ga=function(e,n){return e===!1?null:e?e(n,null):n},pa=function(e){var n,t=e.isMobile,a=e.logo,i=e.collapsed,o=e.onCollapse,u=e.rightContentRender,d=e.menuHeaderRender,s=e.onMenuHeaderClick,f=e.className,p=e.style,y=e.layout,Z=e.children,j=e.splitMenus,T=e.menuData,M=e.prefixCls,O=(0,m.useContext)(He.ZP.ConfigContext),$=O.getPrefixCls,z=O.direction,N="".concat(M||$("pro"),"-global-header"),R=ha(N),x=R.wrapSSR,S=R.hashId,ee=te()(f,N,S);if(y==="mix"&&!t&&j){var _=(T||[]).map(function(b){return(0,v.Z)((0,v.Z)({},b),{},{children:void 0,routes:void 0})}),P=(0,un.QX)(_);return(0,c.jsx)(ft,(0,v.Z)((0,v.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:P}))}var X=te()("".concat(N,"-logo"),S,(n={},(0,l.Z)(n,"".concat(N,"-logo-rtl"),z==="rtl"),(0,l.Z)(n,"".concat(N,"-logo-mix"),y==="mix"),(0,l.Z)(n,"".concat(N,"-logo-mobile"),t),n)),oe=(0,c.jsx)("span",{className:X,children:(0,c.jsx)("a",{children:An(a)})},"logo");return x((0,c.jsxs)("div",{className:ee,style:(0,v.Z)({},p),children:[t&&(0,c.jsx)("span",{className:"".concat(N,"-collapsed-button ").concat(S).trim(),onClick:function(){o==null||o(!i)},children:(0,c.jsx)(Mr,{})}),t&&ga(d,oe),y==="mix"&&!t&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Hn,(0,v.Z)({},e)),(0,c.jsx)("div",{className:X,onClick:s,children:Nn((0,v.Z)((0,v.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,c.jsx)("div",{style:{flex:1},children:Z}),(u||e.actionsRender||e.avatarProps)&&(0,c.jsx)(vt,(0,v.Z)({rightContentRender:u},e))]}))},ya=function(e){var n,t,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function xa(r){return(0,Ee.Xj)("ProLayoutHeader",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[ya(n)]})}function Ca(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Ee.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,v.Z)((0,v.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var mt=Ve.Z.Header,ba=function(e){var n,t,a,i,o=e.isMobile,u=e.fixedHeader,d=e.className,s=e.style,f=e.collapsed,p=e.prefixCls,y=e.onCollapse,Z=e.layout,j=e.headerRender,T=e.headerContentRender,M=(0,m.useContext)(k.L_),O=M.token,$=(0,m.useContext)(He.ZP.ConfigContext),z=(0,m.useState)(!1),N=(0,F.Z)(z,2),R=N[0],x=N[1],S=u||Z==="mix",ee=(0,m.useCallback)(function(){var B=Z==="top",re=(0,un.QX)(e.menuData||[]),ue=(0,c.jsx)(pa,(0,v.Z)((0,v.Z)({onCollapse:y},e),{},{menuData:re,children:T&&T(e,null)}));return B&&!o&&(ue=(0,c.jsx)(ft,(0,v.Z)((0,v.Z)({mode:"horizontal",onCollapse:y},e),{},{menuData:re}))),j&&typeof j=="function"?j(e,ue):ue},[T,j,o,Z,y,e]);(0,m.useEffect)(function(){var B,re=($==null||(B=$.getTargetContainer)===null||B===void 0?void 0:B.call($))||document.body,ue=function(){var Y,se=re.scrollTop;return se>(((Y=O.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.heightLayoutHeader)||56)&&!R?(x(!0),!0):(R&&x(!1),!1)};if(S&&typeof window!="undefined")return re.addEventListener("scroll",ue,{passive:!0}),function(){re.removeEventListener("scroll",ue)}},[(n=O.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader,S,R]);var _=Z==="top",P="".concat(p,"-layout-header"),X=xa(P),oe=X.wrapSSR,b=X.hashId,V=Ca("".concat(P,".").concat(P,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ne=te()(d,b,P,(t={},(0,l.Z)(t,"".concat(P,"-fixed-header"),S),(0,l.Z)(t,"".concat(P,"-fixed-header-scroll"),R),(0,l.Z)(t,"".concat(P,"-mix"),Z==="mix"),(0,l.Z)(t,"".concat(P,"-fixed-header-action"),!f),(0,l.Z)(t,"".concat(P,"-top-menu"),_),(0,l.Z)(t,"".concat(P,"-header"),!0),(0,l.Z)(t,"".concat(P,"-stylish"),!!e.stylish),t));return Z==="side"&&!o?null:V.wrapSSR(oe((0,c.jsx)(c.Fragment,{children:(0,c.jsxs)(He.ZP,{theme:{hashed:(0,k.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[S&&(0,c.jsx)(mt,{style:(0,v.Z)({height:((a=O.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,lineHeight:"".concat(((i=O.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},s)}),(0,c.jsx)(mt,{className:ne,style:s,children:ee()})]})})))},Sa=g(27449),Za=g(19465),Ma=g(60076),ht=new Ma.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ia=function(e){var n,t,a,i,o,u,d,s,f,p,y,Z,j,T,M;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(M={},(0,l.Z)(M,"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),(0,l.Z)(M,e.componentCls,(Z={position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},(0,l.Z)(Z,"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),(0,l.Z)(Z,"".concat(e.antCls,"-menu"),(o={},(0,l.Z)(o,"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),(0,l.Z)(o,"".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}),o)),(0,l.Z)(Z,"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(u=e.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.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:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenuTitle,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),(0,l.Z)(Z,"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(p=e.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.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}}}),(0,l.Z)(Z,"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),(0,l.Z)(Z,"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),(0,l.Z)(Z,"&-links",{width:"100%",ul:{height:"auto"}}),(0,l.Z)(Z,"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),(0,l.Z)(Z,"&-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:ht,animationDuration:".4s",animationTimingFunction:"ease"}),Z)),(0,l.Z)(M,"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((j=e.layout)===null||j===void 0||(j=j.header)===null||j===void 0?void 0:j.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((T=e.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.heightLayoutHeader)||56,"px")}}),M))};function Ra(r,e){var n=e.proLayoutCollapsedWidth;return(0,Ee.Xj)("ProLayoutSiderMenu",function(t){var a=(0,v.Z)((0,v.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ia(a)]})}var gt=function(e){var n,t=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,u=e.style,d=e.className,s=e.hide,f=e.prefixCls,p=(0,m.useContext)(k.L_),y=p.token;(0,m.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var Z=(0,Jn.Z)(e,["className","style"]),j=m.useContext(He.ZP.ConfigContext),T=j.direction,M=Ra("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),O=M.wrapSSR,$=M.hashId,z=te()("".concat(f,"-sider"),d,$);if(s)return null;var N=(0,C.X)(!i,function(){return o==null?void 0:o(!0)});return O(t?(0,c.jsx)(Za.Z,(0,v.Z)((0,v.Z)({placement:T==="rtl"?"right":"left",className:te()("".concat(f,"-drawer-sider"),d)},N),{},{style:(0,v.Z)({padding:0,height:"100vh"},u),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(n=y.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground}},children:(0,c.jsx)(st,(0,v.Z)((0,v.Z)({},Z),{},{isMobile:!0,className:z,collapsed:t?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,c.jsx)(st,(0,v.Z)((0,v.Z)({className:z,originCollapsed:i},Z),{},{style:u})))},pt=g(169),Ta=g(58809),Dn=g.n(Ta),Pa=function(e,n,t){if(t){var a=(0,Cn.Z)(t.keys()).find(function(o){return Dn()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return Dn()(o).test(e)});if(i)return n[i]}return{path:""}},On=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,u=e.formatMessage,d=e.title,s=e.menu,f=s===void 0?{locale:!1}:s,p=n?"":d||"",y=Pa(a,i,o);if(!y)return{title:p,id:"",pageName:p};var Z=y.name;return f.locale!==!1&&y.locale&&u&&(Z=u({id:y.locale||"",defaultMessage:y.name})),Z?n||!d?{title:Z,id:y.locale||"",pageName:Z}:{title:"".concat(Z," - ").concat(d),id:y.locale||"",pageName:Z}:{title:p,id:y.locale||"",pageName:p}},bo=function(e,n){return On(e,n).title},Ba=g(4569),Zn=g(63945),Qe=g(14224),ja=function(){var e;return typeof Qe=="undefined"?Zn.Z:((e=Qe)===null||Qe===void 0||(Qe={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Qe===void 0?void 0:Qe.ANTD_VERSION)||Zn.Z},Ea=function(e){var n,t,a,i,o,u,d,s,f,p,y,Z,j,T,M,O,$,z,N,R,x,S,ee,_,P,X,oe,b,V,ne,B,re,ue,pe,Y,se,ve,ge,Se,Ze,Me;return(n=ja())!==null&&n!==void 0&&n.startsWith("5")?{}:(Me={},(0,l.Z)(Me,e.componentCls,(ue={width:"100%",height:"100%"},(0,l.Z)(ue,"".concat(e.proComponentsCls,"-base-menu"),(_={color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextMenu},(0,l.Z)(_,"".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}),(0,l.Z)(_,"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),(0,l.Z)(_,"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),(0,l.Z)(_,"&".concat(e.antCls,"-menu"),(o={color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},(0,l.Z)(o,"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),(0,l.Z)(o,"".concat(e.antCls,"-menu-item a"),{color:"inherit"}),o)),(0,l.Z)(_,"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),(0,l.Z)(_,"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)(_,"".concat(e.antCls,`-menu-item:active,
|
|
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),(0,l.Z)(_,"&".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:(u=e.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorTextMenuActive}))),(0,l.Z)(_,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(Z={},(0,l.Z)(Z,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorBgMenuItemSelected,borderRadius:e.borderRadius}),(0,l.Z)(Z,"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((p=e.layout)===null||p===void 0||(p=p.header)===null||p===void 0?void 0:p.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})),Z)),(0,l.Z)(_,"".concat(e.antCls,"-menu-item-selected"),{color:(j=e.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected}),(0,l.Z)(_,"".concat(e.antCls,"-menu-submenu-selected"),{color:(T=e.layout)===null||T===void 0||(T=T.sider)===null||T===void 0?void 0:T.colorTextMenuSelected}),(0,l.Z)(_,"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(M=e.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuSelected}),(0,l.Z)(_,"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(O=e.layout)===null||O===void 0||(O=O.sider)===null||O===void 0?void 0:O.colorTextMenuSelected})),(0,l.Z)(_,"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:($=e.layout)===null||$===void 0||($=$.sider)===null||$===void 0?void 0:$.colorTextMenuActive}),(0,l.Z)(_,"&".concat(e.antCls,"-menu-horizontal"),(ee={},(0,l.Z)(ee,"".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:(z=e.layout)===null||z===void 0||(z=z.header)===null||z===void 0?void 0:z.colorTextMenuActive,backgroundColor:"".concat((N=e.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.colorBgMenuItemHover," !important")}),(0,l.Z)(ee,"".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:(R=e.layout)===null||R===void 0||(R=R.header)===null||R===void 0?void 0:R.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((x=e.layout)===null||x===void 0||(x=x.header)===null||x===void 0?void 0:x.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((S=e.layout)===null||S===void 0||(S=S.header)===null||S===void 0?void 0:S.colorTextMenuSelected," !important")})),(0,l.Z)(ee,"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),(0,l.Z)(ee,"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"}),ee)),_)),(0,l.Z)(ue,"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(re={},(0,l.Z)(re,"&".concat(e.antCls,"-menu"),(0,l.Z)({color:(P=e.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),(0,l.Z)(re,"&".concat(e.antCls,"-menu-light"),(B={},(0,l.Z)(B,"".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:(oe=e.layout)===null||oe===void 0||(oe=oe.header)===null||oe===void 0?void 0:oe.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(b=e.layout)===null||b===void 0||(b=b.header)===null||b===void 0?void 0:b.colorTextMenuActive})),(0,l.Z)(B,"".concat(e.antCls,"-menu-item-selected"),{color:(V=e.layout)===null||V===void 0||(V=V.header)===null||V===void 0?void 0:V.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(ne=e.layout)===null||ne===void 0||(ne=ne.header)===null||ne===void 0?void 0:ne.colorBgMenuItemSelected}),B)),re)),ue)),(0,l.Z)(Me,"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),(0,l.Z)(Me,"".concat(e.antCls,"-menu-submenu-popup"),(Ze={backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},(0,l.Z)(Ze,"".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"})),(0,l.Z)(Ze,"".concat(e.antCls,"-menu-item-selected"),{color:(pe=e.layout)===null||pe===void 0||(pe=pe.sider)===null||pe===void 0?void 0:pe.colorTextMenuSelected}),(0,l.Z)(Ze,"".concat(e.antCls,"-menu-submenu-selected"),{color:(Y=e.layout)===null||Y===void 0||(Y=Y.sider)===null||Y===void 0?void 0:Y.colorTextMenuSelected}),(0,l.Z)(Ze,"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(Se={},(0,l.Z)(Se,"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(se=e.layout)===null||se===void 0||(se=se.sider)===null||se===void 0?void 0:se.colorTextMenuSelected}),(0,l.Z)(Se,"".concat(e.antCls,`-menu-item:hover,
|
|
`).concat(e.antCls,`-menu-item-active,
|
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(ve=e.layout)===null||ve===void 0||(ve=ve.sider)===null||ve===void 0?void 0:ve.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(ge=e.layout)===null||ge===void 0||(ge=ge.sider)===null||ge===void 0?void 0:ge.colorTextMenuActive})),Se)),Ze)),Me)},wa=function(e){var n,t,a,i,o,u;return u={},(0,l.Z)(u,"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),(0,l.Z)(u,e.componentCls,(o={},(0,l.Z)(o,"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),(0,l.Z)(o,"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),(0,l.Z)(o,"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),(0,l.Z)(o,"".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}),o)),u};function _a(r){return(0,Ee.Xj)("ProLayout",function(e){var n=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[wa(n),Ea(n)]})}function La(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Ye=g(14224),Aa=function(){var e;return typeof Ye=="undefined"?Zn.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||Zn.Z},Ha=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,u=a.path,d=t.findIndex(function(s){return s.linkPath===e.path})===t.length-1;return d?(0,c.jsx)("span",{children:o||i}):(0,c.jsx)("span",{onClick:u?function(){return location.href=u}:void 0,children:o||i})},Na=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},Da=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return Dn()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},Oa=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},$a=function(e,n,t){var a=La(e==null?void 0:e.pathname),i=a.map(function(o){var u=Da(n,o),d=Na(u,t),s=u.hideInBreadcrumb;return d&&!s?{linkPath:o,breadcrumbName:d,title:d,component:u.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},Wa=function(e){var n=Oa(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?$a(t,a,e):[]},za=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,u=o===void 0?2:o,d=Wa(e),s=function(y){for(var Z=a||Ha,j=arguments.length,T=new Array(j>1?j-1:0),M=1;M<j;M++)T[M-1]=arguments[M];return Z==null?void 0:Z.apply(void 0,[(0,v.Z)((0,v.Z)({},y),{},{path:y.linkPath||y.path})].concat(T))},f=d;return t&&(f=t(f||[])||void 0),(f&&f.length<u||t===!1)&&(f=void 0),(0,I.n)(Aa(),"5.3.0")>-1?{items:f,itemRender:s}:{routes:f,itemRender:s}};function Fa(r){return(0,Cn.Z)(r).reduce(function(e,n){var t=(0,F.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var Ka=function r(e,n,t,a){var i=lr(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,u=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:Fa(u),breadcrumbMap:u,menuData:o}},Ua=g(40727),Ga=g(16168),Xa=function(e){var n=(0,m.useState)({}),t=(0,F.Z)(n,2),a=t[0],i=t[1];return(0,m.useEffect)(function(){i((0,Ga.Y)({layout:(0,Ua.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},Va=["id","defaultMessage"],Qa=["fixSiderbar","navTheme","layout"],yt=0,Ya=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,c.jsx)(ba,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},Ja=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,v.Z)({},e),(0,c.jsx)(xr.q,{})):null},ka=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,u=e.openKeys,d=e.splitMenus,s=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var p=e.menuData;if(d&&(u!==!1||a==="mix")&&!i){var y=o||n,Z=(0,F.Z)(y,1),j=Z[0];if(j){var T;p=((T=e.menuData)===null||T===void 0||(T=T.find(function(z){return z.key===j}))===null||T===void 0?void 0:T.children)||[]}else p=[]}var M=(0,un.QX)(p||[]);if(M&&(M==null?void 0:M.length)<1&&(d||s))return null;if(a==="top"&&!i){var O;return(0,c.jsx)(gt,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:(O=e.stylish)===null||O===void 0?void 0:O.sider}))}var $=(0,c.jsx)(gt,(0,v.Z)((0,v.Z)({matchMenuKeys:n},e),{},{menuData:M,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return f?f(e,$):$},qa=function(e,n){var t=n.pageTitleRender,a=On(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return On((0,v.Z)((0,v.Z)({},a),{},{title:i}));(0,hr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},eo=function(e,n,t){return e?n?64:t:0},no=function(e){var n,t,a,i,o,u,d,s,f,p,y,Z,j,T,M=e||{},O=M.children,$=M.onCollapse,z=M.location,N=z===void 0?{pathname:"/"}:z,R=M.contentStyle,x=M.route,S=M.defaultCollapsed,ee=M.style,_=M.siderWidth,P=M.menu,X=M.siderMenuType,oe=M.isChildrenLayout,b=M.menuDataRender,V=M.actionRef,ne=M.bgLayoutImgList,B=M.formatMessage,re=M.loading,ue=(0,m.useMemo)(function(){return _||(e.layout==="mix"?215:256)},[e.layout,_]),pe=(0,m.useContext)(He.ZP.ConfigContext),Y=(n=e.prefixCls)!==null&&n!==void 0?n:pe.getPrefixCls("pro"),se=(0,ce.Z)(!1,{value:P==null?void 0:P.loading,onChange:P==null?void 0:P.onLoadingChange}),ve=(0,F.Z)(se,2),ge=ve[0],Se=ve[1],Ze=(0,m.useState)(function(){return yt+=1,"pro-layout-".concat(yt)}),Me=(0,F.Z)(Ze,1),ze=Me[0],Fe=(0,m.useCallback)(function(Pe){var Ke=Pe.id,Tn=Pe.defaultMessage,hn=(0,ye.Z)(Pe,Va);if(B)return B((0,v.Z)({id:Ke,defaultMessage:Tn},hn));var gn=(0,Ba.e)();return gn[Ke]?gn[Ke]:Tn},[B]),cn=(0,kn.ZP)([ze,P==null?void 0:P.params],function(){var Pe=(0,ie.Z)((0,he.Z)().mark(function Ke(Tn){var hn,gn,wt,_t;return(0,he.Z)().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return gn=(0,F.Z)(Tn,2),wt=gn[1],Se(!0),nn.next=4,P==null||(hn=P.request)===null||hn===void 0?void 0:hn.call(P,wt||{},(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[]);case 4:return _t=nn.sent,Se(!1),nn.abrupt("return",_t);case 7:case"end":return nn.stop()}},Ke)}));return function(Ke){return Pe.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Xe=cn.data,Mn=cn.mutate,dn=cn.isLoading;(0,m.useEffect)(function(){Se(dn)},[dn]);var Be=(0,kn.kY)(),Le=Be.cache;(0,m.useEffect)(function(){return function(){Le instanceof Map&&Le.delete(ze)}},[]);var Ae=(0,m.useMemo)(function(){return Ka(Xe||(x==null?void 0:x.children)||(x==null?void 0:x.routes)||[],P,Fe,b)},[Fe,P,b,Xe,x==null?void 0:x.children,x==null?void 0:x.routes]),Je=Ae||{},ro=Je.breadcrumb,xt=Je.breadcrumbMap,Ct=Je.menuData,sn=Ct===void 0?[]:Ct;V&&P!==null&&P!==void 0&&P.request&&(V.current={reload:function(){Mn()}});var vn=(0,m.useMemo)(function(){return fr(N.pathname||"/",sn||[],!0)},[N.pathname,sn]),$n=(0,m.useMemo)(function(){return Array.from(new Set(vn.map(function(Pe){return Pe.key||Pe.path||""})))},[vn]),bt=vn[vn.length-1]||{},St=Xa(bt),In=(0,v.Z)((0,v.Z)({},e),St),ao=In.fixSiderbar,So=In.navTheme,fn=In.layout,oo=(0,ye.Z)(In,Qa),ke=L(),qe=(0,m.useMemo)(function(){return(ke==="sm"||ke==="xs")&&!e.disableMobile},[ke,e.disableMobile]),io=fn!=="top"&&!qe,lo=(0,ce.Z)(function(){return S!==void 0?S:!!(qe||ke==="md")},{value:e.collapsed,onChange:$}),Zt=(0,F.Z)(lo,2),mn=Zt[0],Mt=Zt[1],en=(0,Jn.Z)((0,v.Z)((0,v.Z)((0,v.Z)({prefixCls:Y},e),{},{siderWidth:ue},St),{},{formatMessage:Fe,breadcrumb:ro,menu:(0,v.Z)((0,v.Z)({},P),{},{type:X||(P==null?void 0:P.type),loading:ge}),layout:fn}),["className","style","breadcrumbRender"]),Wn=qa((0,v.Z)((0,v.Z)({pathname:N.pathname},en),{},{breadcrumbMap:xt}),e),uo=za((0,v.Z)((0,v.Z)({},en),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:xt}),e),Rn=ka((0,v.Z)((0,v.Z)({},en),{},{menuData:sn,onCollapse:Mt,isMobile:qe,collapsed:mn}),$n),zn=Ya((0,v.Z)((0,v.Z)({},en),{},{children:null,hasSiderMenu:!!Rn,menuData:sn,isMobile:qe,collapsed:mn,onCollapse:Mt}),$n),It=Ja((0,v.Z)({isMobile:qe,collapsed:mn},en)),co=(0,m.useContext)(pt.X),so=co.isChildrenLayout,Fn=oe!==void 0?oe:so,Ne="".concat(Y,"-layout"),Rt=_a(Ne),vo=Rt.wrapSSR,Kn=Rt.hashId,fo=te()(e.className,Kn,"ant-design-pro",Ne,(t={},(0,l.Z)(t,"screen-".concat(ke),ke),(0,l.Z)(t,"".concat(Ne,"-top-menu"),fn==="top"),(0,l.Z)(t,"".concat(Ne,"-is-children"),Fn),(0,l.Z)(t,"".concat(Ne,"-fix-siderbar"),ao),(0,l.Z)(t,"".concat(Ne,"-").concat(fn),fn),t)),mo=eo(!!io,mn,ue),Tt={position:"relative"};(Fn||R&&R.minHeight)&&(Tt.minHeight=0),(0,m.useEffect)(function(){var Pe;(Pe=e.onPageChange)===null||Pe===void 0||Pe.call(e,e.location)},[N.pathname,(a=N.pathname)===null||a===void 0?void 0:a.search]);var ho=(0,m.useState)(!1),Pt=(0,F.Z)(ho,2),Bt=Pt[0],go=Pt[1],po=(0,m.useState)(0),jt=(0,F.Z)(po,2),Et=jt[0],yo=jt[1];h(Wn,e.title||!1);var xo=(0,m.useMemo)(function(){return ne&&ne.length>0?ne.map(function(Pe,Ke){return(0,c.jsx)("img",{src:Pe.src,style:(0,v.Z)({position:"absolute"},Pe)},Ke)}):null},[ne]),Co=(0,m.useContext)(k.L_),J=Co.token;return vo((0,c.jsx)(pt.X.Provider,{value:(0,v.Z)((0,v.Z)({},en),{},{breadcrumb:uo,menuData:sn,isMobile:qe,collapsed:mn,hasPageContainer:Et,setHasPageContainer:yo,isChildrenLayout:!0,title:Wn.pageName,hasSiderMenu:!!Rn,hasHeader:!!zn,siderWidth:mo,hasFooter:!!It,hasFooterToolbar:Bt,setHasFooterToolbar:go,pageTitleInfo:Wn,matchMenus:vn,matchMenuKeys:$n,currentMenu:bt}),children:e.pure?(0,c.jsx)(c.Fragment,{children:O}):(0,c.jsxs)("div",{className:fo,children:[(0,c.jsx)("div",{className:te()("".concat(Ne,"-bg-list"),Kn),children:xo}),(0,c.jsxs)(Ve.Z,{style:(0,v.Z)({minHeight:"100%",flexDirection:Rn?"row":void 0},ee),children:[(0,c.jsx)(He.ZP,{theme:{hashed:(0,k.nu)(),token:{controlHeightLG:((i=J.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(J==null?void 0:J.controlHeightLG)},components:{Menu:E({colorItemBg:((o=J.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((u=J.layout)===null||u===void 0||(u=u.sider)===null||u===void 0?void 0:u.colorMenuBackground)||"transparent",radiusItem:J.borderRadius,colorItemBgSelected:((d=J.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(J==null?void 0:J.colorBgTextHover),colorItemBgHover:((s=J.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorBgMenuItemHover)||(J==null?void 0:J.colorBgTextHover),colorItemBgActive:((f=J.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(J==null?void 0:J.colorBgTextActive),colorItemBgSelectedHorizontal:((p=J.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.colorBgMenuItemSelected)||(J==null?void 0:J.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((y=J.layout)===null||y===void 0||(y=y.sider)===null||y===void 0?void 0:y.colorTextMenu)||(J==null?void 0:J.colorTextSecondary),colorItemTextHover:((Z=J.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((j=J.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:J==null?void 0:J.colorBgElevated,darkPopupBg:J==null?void 0:J.colorBgElevated})}},children:Rn}),(0,c.jsxs)("div",{style:Tt,className:"".concat(Ne,"-container ").concat(Kn).trim(),children:[zn,(0,c.jsx)(pr,(0,v.Z)((0,v.Z)({hasPageContainer:Et,isChildrenLayout:Fn},oo),{},{hasHeader:!!zn,prefixCls:Ne,style:R,children:re?(0,c.jsx)(Sa.S,{}):O})),It,Bt&&(0,c.jsx)("div",{className:"".concat(Ne,"-has-footer"),style:{height:64,marginBlockStart:(T=J.layout)===null||T===void 0||(T=T.pageContainer)===null||T===void 0?void 0:T.paddingBlockPageContainerContent}})]})]})]})}))},to=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,c.jsx)(He.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,c.jsx)(k._Y,(0,v.Z)((0,v.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,c.jsx)(no,(0,v.Z)((0,v.Z)({logo:(0,c.jsx)(yr,{})},at.h),{},{location:(0,U.j)()?window.location:void 0},e))}))})}},27449:function(Re,Ie,g){"use strict";g.d(Ie,{S:function(){return k}});var l=g(33346),he=g(10570),ie=g(38705),ye=g(50959),F=g(11527),v=["isLoading","pastDelay","timedOut","error","retry"],k=function(m){var de=m.isLoading,fe=m.pastDelay,Ce=m.timedOut,L=m.error,U=m.retry,h=(0,he.Z)(m,v);return(0,F.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,F.jsx)(ie.Z,(0,l.Z)({size:"large"},h))})}},169:function(Re,Ie,g){"use strict";g.d(Ie,{X:function(){return he}});var l=g(50959),he=(0,l.createContext)({})},27542:function(Re,Ie,g){"use strict";g.d(Ie,{S:function(){return de}});var l=g(47920),he=g(77254),ie=g(95325),ye=g(44906),F=g(41399),v=g(73273),k=g(6053),ce=g(50959),m=g(11527),de=function(fe){(0,ye.Z)(L,fe);var Ce=(0,F.Z)(L);function L(){var U;(0,l.Z)(this,L);for(var h=arguments.length,I=new Array(h),C=0;C<h;C++)I[C]=arguments[C];return U=Ce.call.apply(Ce,[this].concat(I)),(0,v.Z)((0,ie.Z)(U),"state",{hasError:!1,errorInfo:""}),U}return(0,he.Z)(L,[{key:"componentDidCatch",value:function(h,I){console.log(h,I)}},{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(h){return{hasError:!0,errorInfo:h.message}}}]),L}(ce.Component)},82250:function(Re,Ie,g){"use strict";g.d(Ie,{D:function(){return F}});var l=g(3224),he=g(47801),ie=g(50959),ye=g(13165);function F(v,k){var ce=(0,ye.J)(v),m=(0,ie.useRef)(),de=(0,ie.useCallback)(function(){m.current&&(clearTimeout(m.current),m.current=null)},[]),fe=(0,ie.useCallback)((0,he.Z)((0,l.Z)().mark(function Ce(){var L,U,h,I=arguments;return(0,l.Z)().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:for(L=I.length,U=new Array(L),h=0;h<L;h++)U[h]=I[h];if(!(k===0||k===void 0)){E.next=3;break}return E.abrupt("return",ce.apply(void 0,U));case 3:return de(),E.abrupt("return",new Promise(function(ae){m.current=setTimeout((0,he.Z)((0,l.Z)().mark(function D(){return(0,l.Z)().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.t0=ae,A.next=3,ce.apply(void 0,U);case 3:return A.t1=A.sent,(0,A.t0)(A.t1),A.abrupt("return");case 6:case"end":return A.stop()}},D)})),k)}));case 5:case"end":return E.stop()}},Ce)})),[ce,de,k]);return(0,ie.useEffect)(function(){return de},[de]),{run:fe,cancel:de}}},13165:function(Re,Ie,g){"use strict";g.d(Ie,{J:function(){return ie}});var l=g(1788),he=g(50959),ie=function(F){var v=(0,he.useRef)(null);return v.current=F,(0,he.useCallback)(function(){for(var k,ce=arguments.length,m=new Array(ce),de=0;de<ce;de++)m[de]=arguments[de];return(k=v.current)===null||k===void 0?void 0:k.call.apply(k,[v].concat((0,l.Z)(m)))},[])}},6866:function(Re,Ie){var g;function l(h){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},l(h)}g={value:!0},Ie.Bo=g=g=g=g=g=g=void 0;function he(h){for(var I=[],C=0;C<h.length;){var E=h[C];if(E==="*"||E==="+"||E==="?"){I.push({type:"MODIFIER",index:C,value:h[C++]});continue}if(E==="\\"){I.push({type:"ESCAPED_CHAR",index:C++,value:h[C++]});continue}if(E==="{"){I.push({type:"OPEN",index:C,value:h[C++]});continue}if(E==="}"){I.push({type:"CLOSE",index:C,value:h[C++]});continue}if(E===":"){for(var ae="",D=C+1;D<h.length;){var w=h.charCodeAt(D);if(w>=48&&w<=57||w>=65&&w<=90||w>=97&&w<=122||w===95){ae+=h[D++];continue}break}if(!ae)throw new TypeError("Missing parameter name at "+C);I.push({type:"NAME",index:C,value:ae}),C=D;continue}if(E==="("){var A=1,Q="",D=C+1;if(h[D]==="?")throw new TypeError('Pattern cannot start with "?" at '+D);for(;D<h.length;){if(h[D]==="\\"){Q+=h[D++]+h[D++];continue}if(h[D]===")"){if(A--,A===0){D++;break}}else if(h[D]==="("&&(A++,h[D+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+D);Q+=h[D++]}if(A)throw new TypeError("Unbalanced pattern at "+C);if(!Q)throw new TypeError("Missing pattern at "+C);I.push({type:"PATTERN",index:C,value:Q}),C=D;continue}I.push({type:"CHAR",index:C,value:h[C++]})}return I.push({type:"END",index:C,value:""}),I}function ie(h,I){I===void 0&&(I={});for(var C=he(h),E=I.prefixes,ae=E===void 0?"./":E,D="[^"+ce(I.delimiter||"/#?")+"]+?",w=[],A=0,Q=0,q="",K=function(We){if(Q<C.length&&C[Q].type===We)return C[Q++].value},G=function(We){var Ue=K(We);if(Ue!==void 0)return Ue;var pn=C[Q],Pn=pn.type,tn=pn.index;throw new TypeError("Unexpected "+Pn+" at "+tn+", expected "+We)},xe=function(){for(var We="",Ue;Ue=K("CHAR")||K("ESCAPED_CHAR");)We+=Ue;return We};Q<C.length;){var me=K("CHAR"),W=K("NAME"),le=K("PATTERN");if(W||le){var H=me||"";ae.indexOf(H)===-1&&(q+=H,H=""),q&&(w.push(q),q=""),w.push({name:W||A++,prefix:H,suffix:"",pattern:le||D,modifier:K("MODIFIER")||""});continue}var Te=me||K("ESCAPED_CHAR");if(Te){q+=Te;continue}q&&(w.push(q),q="");var _e=K("OPEN");if(_e){var H=xe(),Oe=K("NAME")||"",je=K("PATTERN")||"",$e=xe();G("CLOSE"),w.push({name:Oe||(je?A++:""),pattern:Oe&&!je?D:je,prefix:H,suffix:$e,modifier:K("MODIFIER")||""});continue}G("END")}return w}g=ie;function ye(h,I){return F(ie(h,I),I)}g=ye;function F(h,I){I===void 0&&(I={});var C=m(I),E=I.encode,ae=E===void 0?function(Q){return Q}:E,D=I.validate,w=D===void 0?!0:D,A=h.map(function(Q){if(l(Q)==="object")return new RegExp("^(?:"+Q.pattern+")$",C)});return function(Q){for(var q="",K=0;K<h.length;K++){var G=h[K];if(typeof G=="string"){q+=G;continue}var xe=Q?Q[G.name]:void 0,me=G.modifier==="?"||G.modifier==="*",W=G.modifier==="*"||G.modifier==="+";if(Array.isArray(xe)){if(!W)throw new TypeError('Expected "'+G.name+'" to not repeat, but got an array');if(xe.length===0){if(me)continue;throw new TypeError('Expected "'+G.name+'" to not be empty')}for(var le=0;le<xe.length;le++){var H=ae(xe[le],G);if(w&&!A[K].test(H))throw new TypeError('Expected all "'+G.name+'" to match "'+G.pattern+'", but got "'+H+'"');q+=G.prefix+H+G.suffix}continue}if(typeof xe=="string"||typeof xe=="number"){var H=ae(String(xe),G);if(w&&!A[K].test(H))throw new TypeError('Expected "'+G.name+'" to match "'+G.pattern+'", but got "'+H+'"');q+=G.prefix+H+G.suffix;continue}if(!me){var Te=W?"an array":"a string";throw new TypeError('Expected "'+G.name+'" to be '+Te)}}return q}}g=F;function v(h,I){var C=[],E=U(h,C,I);return k(E,C,I)}g=v;function k(h,I,C){C===void 0&&(C={});var E=C.decode,ae=E===void 0?function(D){return D}:E;return function(D){var w=h.exec(D);if(!w)return!1;for(var A=w[0],Q=w.index,q=Object.create(null),K=function(me){if(w[me]===void 0)return"continue";var W=I[me-1];W.modifier==="*"||W.modifier==="+"?q[W.name]=w[me].split(W.prefix+W.suffix).map(function(le){return ae(le,W)}):q[W.name]=ae(w[me],W)},G=1;G<w.length;G++)K(G);return{path:A,index:Q,params:q}}}g=k;function ce(h){return h.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function m(h){return h&&h.sensitive?"":"i"}function de(h,I){if(!I)return h;var C=h.source.match(/\((?!\?)/g);if(C)for(var E=0;E<C.length;E++)I.push({name:E,prefix:"",suffix:"",modifier:"",pattern:""});return h}function fe(h,I,C){var E=h.map(function(ae){return U(ae,I,C).source});return new RegExp("(?:"+E.join("|")+")",m(C))}function Ce(h,I,C){return L(ie(h,C),I,C)}function L(h,I,C){C===void 0&&(C={});for(var E=C.strict,ae=E===void 0?!1:E,D=C.start,w=D===void 0?!0:D,A=C.end,Q=A===void 0?!0:A,q=C.encode,K=q===void 0?function(De){return De}:q,G="["+ce(C.endsWith||"")+"]|$",xe="["+ce(C.delimiter||"/#?")+"]",me=w?"^":"",W=0,le=h;W<le.length;W++){var H=le[W];if(typeof H=="string")me+=ce(K(H));else{var Te=ce(K(H.prefix)),_e=ce(K(H.suffix));if(H.pattern)if(I&&I.push(H),Te||_e)if(H.modifier==="+"||H.modifier==="*"){var Oe=H.modifier==="*"?"?":"";me+="(?:"+Te+"((?:"+H.pattern+")(?:"+_e+Te+"(?:"+H.pattern+"))*)"+_e+")"+Oe}else me+="(?:"+Te+"("+H.pattern+")"+_e+")"+H.modifier;else me+="("+H.pattern+")"+H.modifier;else me+="(?:"+Te+_e+")"+H.modifier}}if(Q)ae||(me+=xe+"?"),me+=C.endsWith?"(?="+G+")":"$";else{var je=h[h.length-1],$e=typeof je=="string"?xe.indexOf(je[je.length-1])>-1:je===void 0;ae||(me+="(?:"+xe+"(?="+G+"))?"),$e||(me+="(?="+xe+"|"+G+")")}return new RegExp(me,m(C))}g=L;function U(h,I,C){return h instanceof RegExp?de(h,I):Array.isArray(h)?fe(h,I,C):Ce(h,I,C)}Ie.Bo=U},58809:function(Re){Re.exports=Ce,Re.exports.parse=he,Re.exports.compile=ie,Re.exports.tokensToFunction=ye,Re.exports.tokensToRegExp=fe;var Ie="/",g="./",l=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function he(L,U){for(var h=[],I=0,C=0,E="",ae=U&&U.delimiter||Ie,D=U&&U.delimiters||g,w=!1,A;(A=l.exec(L))!==null;){var Q=A[0],q=A[1],K=A.index;if(E+=L.slice(C,K),C=K+Q.length,q){E+=q[1],w=!0;continue}var G="",xe=L[C],me=A[2],W=A[3],le=A[4],H=A[5];if(!w&&E.length){var Te=E.length-1;D.indexOf(E[Te])>-1&&(G=E[Te],E=E.slice(0,Te))}E&&(h.push(E),E="",w=!1);var _e=G!==""&&xe!==void 0&&xe!==G,Oe=H==="+"||H==="*",je=H==="?"||H==="*",$e=G||ae,De=W||le;h.push({name:me||I++,prefix:G,delimiter:$e,optional:je,repeat:Oe,partial:_e,pattern:De?v(De):"[^"+F($e)+"]+?"})}return(E||C<L.length)&&h.push(E+L.substr(C)),h}function ie(L,U){return ye(he(L,U))}function ye(L){for(var U=new Array(L.length),h=0;h<L.length;h++)typeof L[h]=="object"&&(U[h]=new RegExp("^(?:"+L[h].pattern+")$"));return function(I,C){for(var E="",ae=C&&C.encode||encodeURIComponent,D=0;D<L.length;D++){var w=L[D];if(typeof w=="string"){E+=w;continue}var A=I?I[w.name]:void 0,Q;if(Array.isArray(A)){if(!w.repeat)throw new TypeError('Expected "'+w.name+'" to not repeat, but got array');if(A.length===0){if(w.optional)continue;throw new TypeError('Expected "'+w.name+'" to not be empty')}for(var q=0;q<A.length;q++){if(Q=ae(A[q],w),!U[D].test(Q))throw new TypeError('Expected all "'+w.name+'" to match "'+w.pattern+'"');E+=(q===0?w.prefix:w.delimiter)+Q}continue}if(typeof A=="string"||typeof A=="number"||typeof A=="boolean"){if(Q=ae(String(A),w),!U[D].test(Q))throw new TypeError('Expected "'+w.name+'" to match "'+w.pattern+'", but got "'+Q+'"');E+=w.prefix+Q;continue}if(w.optional){w.partial&&(E+=w.prefix);continue}throw new TypeError('Expected "'+w.name+'" to be '+(w.repeat?"an array":"a string"))}return E}}function F(L){return L.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function v(L){return L.replace(/([=!:$/()])/g,"\\$1")}function k(L){return L&&L.sensitive?"":"i"}function ce(L,U){if(!U)return L;var h=L.source.match(/\((?!\?)/g);if(h)for(var I=0;I<h.length;I++)U.push({name:I,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return L}function m(L,U,h){for(var I=[],C=0;C<L.length;C++)I.push(Ce(L[C],U,h).source);return new RegExp("(?:"+I.join("|")+")",k(h))}function de(L,U,h){return fe(he(L,h),U,h)}function fe(L,U,h){h=h||{};for(var I=h.strict,C=h.start!==!1,E=h.end!==!1,ae=F(h.delimiter||Ie),D=h.delimiters||g,w=[].concat(h.endsWith||[]).map(F).concat("$").join("|"),A=C?"^":"",Q=L.length===0,q=0;q<L.length;q++){var K=L[q];if(typeof K=="string")A+=F(K),Q=q===L.length-1&&D.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?A+=F(K.prefix)+"("+G+")?":A+="(?:"+F(K.prefix)+"("+G+"))?":A+=F(K.prefix)+"("+G+")"}}return E?(I||(A+="(?:"+ae+")?"),A+=w==="$"?"$":"(?="+w+")"):(I||(A+="(?:"+ae+"(?="+w+"))?"),Q||(A+="(?="+ae+"|"+w+")")),new RegExp(A,k(h))}function Ce(L,U,h){return L instanceof RegExp?ce(L,U):Array.isArray(L)?m(L,U,h):de(L,U,h)}},38887:function(Re,Ie,g){var l=g(61533);function he(ie,ye){var F=typeof Symbol!="undefined"&&ie[Symbol.iterator]||ie["@@iterator"];if(!F){if(Array.isArray(ie)||(F=l(ie))||ye&&ie&&typeof ie.length=="number"){F&&(ie=F);var v=0,k=function(){};return{s:k,n:function(){return v>=ie.length?{done:!0}:{done:!1,value:ie[v++]}},e:function(Ce){throw Ce},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 ce=!0,m=!1,de;return{s:function(){F=F.call(ie)},n:function(){var Ce=F.next();return ce=Ce.done,Ce},e:function(Ce){m=!0,de=Ce},f:function(){try{!ce&&F.return!=null&&F.return()}finally{if(m)throw de}}}}Re.exports=he,Re.exports.__esModule=!0,Re.exports.default=Re.exports}}]);
|
|
|