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.

28 lines
113 KiB

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