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
110 KiB

6 months ago
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[970],{79970:function(Ne,Me,C){"use strict";C.d(Me,{f:function(){return Lo}});var l=C(4942),me=C(74165),Te=C(15861),he=C(91),Q=C(97685),v=C(1413),le=C(10915),fe=C(21770),m=C(67294);function Ie(r){var e=typeof window=="undefined",t=(0,m.useState)(function(){return e?!1:window.matchMedia(r).matches}),n=(0,Q.Z)(t,2),a=n[0],i=n[1];return(0,m.useLayoutEffect)(function(){if(!e){var o=window.matchMedia(r),c=function(s){return i(s.matches)};return o.addListener(c),function(){return o.removeListener(c)}}},[r]),a}var ge={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},He=function(){var e=void 0;if(typeof window=="undefined")return e;var t=Object.keys(ge).find(function(n){var a=ge[n].matchMedia;return!!window.matchMedia(a).matches});return e=t,e},D=function(){var e=Ie(ge.md.matchMedia),t=Ie(ge.lg.matchMedia),n=Ie(ge.xxl.matchMedia),a=Ie(ge.xl.matchMedia),i=Ie(ge.sm.matchMedia),o=Ie(ge.xs.matchMedia),c=(0,m.useState)(He()),d=(0,Q.Z)(c,2),s=d[0],f=d[1];return(0,m.useEffect)(function(){if(n){f("xxl");return}if(a){f("xl");return}if(t){f("lg");return}if(e){f("md");return}if(i){f("sm");return}if(o){f("xs");return}f("md")},[e,t,n,a,i,o]),s},X=C(12044);function g(r,e){var t=typeof r.pageName=="string"?r.title:e;(0,m.useEffect)(function(){(0,X.j)()&&t&&(document.title=t)},[r.title,t])}var I=C(1977),b=C(73177);function _(r){if((0,I.n)((0,b.b)(),"5.6.0")<0)return r;var e={colorGroupTitle:"groupTitleColor",radiusItem:"itemBorderRadius",radiusSubMenuItem:"subMenuItemBorderRadius",colorItemText:"itemColor",colorItemTextHover:"itemHoverColor",colorItemTextHoverHorizontal:"horizontalItemHoverColor",colorItemTextSelected:"itemSelectedColor",colorItemTextSelectedHorizontal:"horizontalItemSelectedColor",colorItemTextDisabled:"itemDisabledColor",colorDangerItemText:"dangerItemColor",colorDangerItemTextHover:"dangerItemHoverColor",colorDangerItemTextSelected:"dangerItemSelectedColor",colorDangerItemBgActive:"dangerItemActiveBg",colorDangerItemBgSelected:"dangerItemSelectedBg",colorItemBg:"itemBg",colorItemBgHover:"itemHoverBg",colorSubItemBg:"subMenuItemBg",colorItemBgActive:"itemActiveBg",colorItemBgSelected:"itemSelectedBg",colorItemBgSelectedHorizontal:"horizontalItemSelectedBg",colorActiveBarWidth:"activeBarWidth",colorActiveBarHeight:"activeBarHeight",colorActiveBarBorderSize:"activeBarBorderWidth"},t=(0,v.Z)({},r);return Object.keys(e).forEach(function(n){t[n]!==void 0&&(t[e[n]]=t[n],delete t[n])}),t}var ee=C(90743);function $(r,e){return e>>>r|e<<32-r}function L(r,e,t){return r&e^~r&t}function W(r,e,t){return r&e^r&t^e&t}function V(r){return $(2,r)^$(13,r)^$(22,r)}function k(r){return $(6,r)^$(11,r)^$(25,r)}function F(r){return $(7,r)^$(18,r)^r>>>3}function K(r){return $(17,r)^$(19,r)^r>>>10}function ue(r,e){return r[e&15]+=K(r[e+14&15])+r[e+9&15]+F(r[e+1&15])}var ae=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],z,te,A,pe="0123456789abcdef";function je(r,e){var t=(r&65535)+(e&65535),n=(r>>16)+(e>>16)+(t>>16);return n<<16|t&65535}function _e
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xn(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],a=!0,i=!1,o,c;try{for(t=t.call(r);!(a=(o=t.next()).done)&&(n.push(o.value),!(e&&n.length===e));a=!0);}catch(d){i=!0,c=d}finally{try{!a&&t.return!=null&&t.return()}finally{if(i)throw c}}return n}}function Vn(r){if(Array.isArray(r))return r}function Qn(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=Pt(r))||e&&r&&typeof r.length=="number"){t&&(r=t);var n=0,a=function(){};return{s:a,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(s){throw s},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,c;return{s:function(){t=t.call(r)},n:function(){var s=t.next();return i=s.done,s},e:function(s){o=!0,c=s},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw c}}}}function Yn(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Yt(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function Jn(r,e,t){return e&&Yt(r.prototype,e),t&&Yt(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function kn(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&rt(r,e)}function qn(r){var e=Jt();return function(){var n=at(r),a;if(e){var i=at(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return er(this,a)}}function er(r,e){if(e&&(nt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tr(r)}function tr(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function jt(r){var e=typeof Map=="function"?new Map:void 0;return jt=function(n){if(n===null||!nr(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,a)}function a(){return yt(n,arguments,at(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),rt(a,n)},jt(r)}function yt(r,e,t){return Jt()?yt=Reflect.construct.bind():yt=function(a,i,o){var c=[null];c.push.apply(c,i);var d=Function.bind.apply(a,c),s=new d;return o&&rt(s,o.prototype),s},yt.apply(null,arguments)}function Jt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(r){return!1}}function nr(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function rt(r,e){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},rt(r,e)}function at(r){return at=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},at(r)}function kt(r){return or(r)||ar(r)||Pt(r)||rr()}function rr(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pt(r,e){if(r){if(typeof r=="string")return wt(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return wt(r,e)}}function ar(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function or(r){if(Array.isArray(r))return wt(r)}function wt(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function ir(r,e){if(r==null)return{};var t=lr(r,e),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function lr(r,e){if(r==null)return{};var t={},n=Object.keys(r),a,i;for(i=0;i<n.length;i++)a=n[i],!(e.indexOf(a)>=0)&&(t[a]=r[a]);return t}function qt(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),t.push.apply(t,n)}return t}function ce(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?qt(Object(t),!0).forEach(function(n){ur(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):qt(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function ur(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Re="routes";function ot(r){return r.split("?")[0].split("#")[0]}var Et=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},cr=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Tt(JSON.stringify(e)))}catch(n){}return t&&ot(t)},dr=function(e,t){var n=e.name,a=e.locale;return"locale"in e&&a===!1||!n?!1:e.locale||"".concat(t,".").concat(n)},en=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return e.endsWith("/*")?e.replace("/*","/"):(e||t).startsWith("/")||Et(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},sr=function(e,t){var n=e.menu,a=n===void 0?{}:n,i=e.indexRoute,o=e.path,c=o===void 0?"":o,d=e.children||[],s=a.name,f=s===void 0?e.name:s,p=a.icon,h=p===void 0?e.icon:p,S=a.hideChildren,j=S===void 0?e.hideChildren:S,M=a.flatMenu,Z=M===void 0?e.flatMenu:M,O=i&&Object.keys(i).join(",")!=="redirect"?[ce({path:c,menu:a},i)].concat(d||[]):d,P=ce({},e);if(f&&(P.name=f),h&&(P.icon=h),O&&O.length){if(j)return delete P.children,P;var N=Lt(ce(ce({},t),{},{data:O}),e);if(Z)return N;delete P[Re]}return P},Xe=function(e){return Array.isArray(e)&&e.length>0};function Lt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,a=r.parentName,i=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(o){return o?Xe(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var c,d;return!(o==null||(c=o.menu)===null||c===void 0)&&c.name||o!=null&&o.flatMenu||!(o==null||(d=o.menu)===null||d===void 0)&&d.flatMenu?!0:o.menu!==!1}).map(function(o){var c=ce(ce({},o),{},{path:o.path||o.originPath});return!c.children&&c[Re]&&(c.children=c[Re],delete c[Re]),c.unaccessible&&delete c.name,c.path==="*"&&(c.path="."),c.path==="/*"&&(c.path="."),!c.path&&c.originPath&&(c.path=c.originPath),c}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},c=o.children||o[Re]||[],d=en(o.path,e?e.path:"/"),s=o.name,f=dr(o,a||"menu"),p=f!==!1&&i!==!1&&n&&f?n({id:f,defaultMessage:s}):s,h=e.pro_layout_parentKeys,S=h===void 0?[]:h,j=e.children,M=e.icon,Z=e.flatMenu,O=e.indexRoute,P=e.routes,N=ir(e,Kn),T=new Set([].concat(kt(S),kt(o.parentKeys||[])));e.key&&T.add(e.key);var E=
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item,
`).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title,
`).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title,
`).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:i==null?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",(0,l.Z)((0,l.Z)({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,l.Z)((0,l.Z)({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4})))),"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),t.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function ja(r,e){return(0,be.Xj)("ProLayoutBaseMenu"+e,function(t){var n=(0,v.Z)((0,v.Z)({},t),{},{componentCls:".".concat(r)});return[Ta(n,e||"inline")]})}var mn=function(e){var t=(0,m.useState)(e.collapsed),n=(0,Q.Z)(t,2),a=n[0],i=n[1],o=(0,m.useState)(!1),c=(0,Q.Z)(o,2),d=c[0],s=c[1];return(0,m.useEffect)(function(){s(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(Ra.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:s,children:e.children})},hn=vn({scriptUrl:fn.h.iconfontUrl}),gn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",n=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Dt(e)||Ia(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,u.jsx)(hn,{type:e})}return e},pn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},Pa=(0,pa.Z)(function r(e){var t=this;(0,ya.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return n.map(function(o){return t.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(n,a,i){var o=t.props,c=o.subMenuItemRender,d=o.baseClassName,s=o.prefixCls,f=o.collapsed,p=o.menu,h=o.iconPrefixes,S=o.layout,j=(p==null?void 0:p.type)==="group"&&S!=="top",M=t.props.token,Z=t.getIntlName(n),O=(n==null?void 0:n.children)||(n==null?void 0:n.routes),P=j&&a===0?"group":void 0;if(Array.isArray(O)&&O.length>0){var N,T,E,y,R,U=a===0||j&&a===1,H=gn(n.icon,h,"".concat(d,"-icon ").concat((N=t.props)===null||N===void 0?void 0:N.hashId)),w=f&&U?pn(Z):null,q=(0,u.jsxs)("div",{className:Y()("".concat(d,"-item-title"),(T=t.props)===null||
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,`-menu-submenu-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(s=e.layout)===null||s===void 0||(s=s.sider)===null||s===void 0?void 0:s.colorTextMenuActive,borderRadius:e.borderRadius,backgroundColor:"".concat((f=e.layout)===null||f===void 0||(f=f.header)===null||f===void 0?void 0:f.colorBgMenuItemHover," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(p=e.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(h=e.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenuSelected}),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(y,"".concat(e.antCls,"-menu-submenu-selected"),{color:(S=e.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(j=e.layout)===null||j===void 0||(j=j.sider)===null||j===void 0?void 0:j.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(M=e.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuSelected})),"".concat(e.antCls,"-menu-submenu:hover > ").concat(e.antCls,"-menu-submenu-title > ").concat(e.antCls,"-menu-submenu-arrow"),{color:(Z=e.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuActive}),"&".concat(e.antCls,"-menu-horizontal"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-submenu:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-active"),{borderRadius:4,transition:"none",color:(O=e.layout)===null||O===void 0||(O=O.header)===null||O===void 0?void 0:O.colorTextMenuActive,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-item-open,
`).concat(e.antCls,`-menu-submenu-open,
`).concat(e.antCls,`-menu-item-selected,
`).concat(e.antCls,"-menu-submenu-selected"),(0,l.Z)({backgroundColor:(N=e.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((T=e.layout)===null||T===void 0||(T=T.header)===null||T===void 0?void 0:T.colorTextMenuSelected," !important")},"".concat(e.antCls,"-menu-submenu-arrow"),{color:"".concat((E=e.layout)===null||E===void 0||(E=E.header)===null||E===void 0?void 0:E.colorTextMenuSelected," !important")})),"> ".concat(e.antCls,"-menu-item, > ").concat(e.antCls,"-menu-submenu"),{paddingInline:16,marginInline:4}),"> ".concat(e.antCls,"-menu-item::after, > ").concat(e.antCls,"-menu-submenu::after"),{display:"none"})))),"".concat(e.proComponentsCls,"-top-nav-header-base-menu"),(0,l.Z)((0,l.Z)({},"&".concat(e.antCls,"-menu"),(0,l.Z)({color:(R=e.layout)===null||R===void 0||(R=R.header)===null||R===void 0?void 0:R.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,`-menu-submenu-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(U=e.layout)===null||U===void 0||(U=U.header)===null||U===void 0?void 0:U.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(H=e.layout)===null||H===void 0||(H=H.header)===null||H===void 0?void 0:H.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(w=e.layout)===null||w===void 0||(w=w.header)===null||w===void 0?void 0:w.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:(q=e.layout)===null||q===void 0||(q=q.header)===null||q===void 0?void 0:q.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(oe=e.layout)===null||oe===void 0||(oe=oe.header)===null||oe===void 0?void 0:oe.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active,
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:(x=e.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(ie=e.layout)===null||ie===void 0||(ie=ie.sider)===null||ie===void 0?void 0:ie.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(B=e.layout)===null||B===void 0||(B=B.sider)===null||B===void 0?void 0:B.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover,
`).concat(e.antCls,`-menu-item-active,
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(J=e.layout)===null||J===void 0||(J=J.sider)===null||J===void 0?void 0:J.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(ne=e.layout)===null||ne===void 0||(ne=ne.sider)===null||ne===void 0?void 0:ne.colorTextMenuActive}))))},uo=function(e){var t,n,a,i;return(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}))};function co(r){return(0,be.Xj)("ProLayout",function(e){var t=(0,v.Z)((0,v.Z)({},e),{},{componentCls:".".concat(r)});return[uo(t),lo(t)]})}function so(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(t){return t});return e.map(function(t,n){return"/".concat(e.slice(0,n+1).join("/"))})}var Je=C(34155),vo=function(){var e;return typeof Je=="undefined"?St.Z:((e=Je)===null||Je===void 0||(Je={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Je===void 0?void 0:Je.ANTD_VERSION)||St.Z},fo=function(e,t,n){var a=e,i=a.breadcrumbName,o=a.title,c=a.path,d=n.findIndex(function(s){return s.linkPath===e.path})===n.length-1;return d?(0,u.jsx)("span",{children:o||i}):(0,u.jsx)("span",{onClick:c?function(){return location.href=c}:void 0,children:o||i})},mo=function(e,t){var n=t.formatMessage,a=t.menu;return e.locale&&n&&(a==null?void 0:a.locale)!==!1?n({id:e.locale,defaultMessage:e.name}):e.name},ho=function(e,t){var n=e.get(t);if(!n){var a=Array.from(e.keys())||[],i=a.find(function(o){return Wt()(o.replace("?","")).test(t)});i&&(n=e.get(i))}return n||{path:""}},go=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},po=function(e,t,n){var a=so(e==null?void 0:e.pathname),i=a.map(function(o){var c=ho(t,o),d=mo(c,n),s=c.hideInBreadcrumb;return d&&!s?{linkPath:o,breadcrumbName:d,title:d,component:c.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},yo=function(e){var t=go(e),n=t.location,a=t.breadcrumbMap;return n&&n.pathname&&a?po(n,a,e):[]},xo=function(e,t){var n=e.breadcrumbRender,a=e.itemRender,i=t.breadcrumbProps||{},o=i.minLength,c=o===void 0?2:o,d=yo(e),s=function(h){for(var S=a||fo,j=arguments.length,M=new Array(j>1?j-1:0),Z=1;Z<j;Z++)M[Z-1]=arguments[Z];return S==null?void 0:S.apply(void 0,[(0,v.Z)((0,v.Z)({},h),{},{path:h.linkPath||h.path})].concat(M))},f=d;return n&&(f=n(f||[])||void 0),(f&&f.length<c||n===!1)&&(f=void 0),(0,I.n)(vo(),"5.3.0")>-1?{items:f,itemRender:s}:{routes:f,itemRender:s}};function Co(r){return(0,lt.Z)(r).reduce(function(e,t){var n=(0,Q.Z)(t,2),a=n[0],i=n[1];return e[a]=i,e},{})}var bo=function r(e,t,n,a){var i=pr(e,(t==null?void 0:t.locale)||!1,n,!0),o=i.menuData,c=i.breadcrumb;return a?r(a(o),t,n,void 0):{breadcrumb:Co(c),breadcrumbMap:c,menuData:o}},So=C(71002),Zo=C(51812),Mo=function(e){var t=(0,m.useState)({}),n=(0,Q.Z)(t,2),a=n[0],i=n[1];return(0,m.useEffect)(function(){i((0,Zo.Y)({layout:(0,So.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRende