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.
35 lines
122 KiB
35 lines
122 KiB
8 months ago
|
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[638],{16549:function(Ze,Be,y){"use strict";y.d(Be,{f:function(){return hi}});var u=y(4942),me=y(74165),le=y(15861),he=y(91),F=y(97685),m=y(1413),ae=y(10915),de=y(21770),v=y(67294);function xe(r){var e=typeof window=="undefined",t=(0,v.useState)(function(){return e?!1:window.matchMedia(r).matches}),n=(0,F.Z)(t,2),a=n[0],o=n[1];return(0,v.useLayoutEffect)(function(){if(!e){var i=window.matchMedia(r),l=function(d){return o(d.matches)};return i.addListener(l),function(){return i.removeListener(l)}}},[r]),a}var ce={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)"}},ye=function(){var e=void 0;if(typeof window=="undefined")return e;var t=Object.keys(ce).find(function(n){var a=ce[n].matchMedia;return!!window.matchMedia(a).matches});return e=t,e},A=function(){var e=xe(ce.md.matchMedia),t=xe(ce.lg.matchMedia),n=xe(ce.xxl.matchMedia),a=xe(ce.xl.matchMedia),o=xe(ce.sm.matchMedia),i=xe(ce.xs.matchMedia),l=(0,v.useState)(ye()),c=(0,F.Z)(l,2),d=c[0],f=c[1];return(0,v.useEffect)(function(){if(n){f("xxl");return}if(a){f("xl");return}if(t){f("lg");return}if(e){f("md");return}if(o){f("sm");return}if(i){f("xs");return}f("md")},[e,t,n,a,o,i]),d},X=y(12044);function x(r,e){var t=typeof r.pageName=="string"?r.title:e;(0,v.useEffect)(function(){(0,X.j)()&&t&&(document.title=t)},[r.title,t])}var j=y(1977),M=y(73177);function _(r){if((0,j.n)((0,M.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,m.Z)({},r);return Object.keys(e).forEach(function(n){t[n]!==void 0&&(t[e[n]]=t[n],delete t[n])}),t}var ee=y(90743);function D(r,e){return e>>>r|e<<32-r}function O(r,e,t){return r&e^~r&t}function k(r,e,t){return r&e^r&t^e&t}function Q(r){return D(2,r)^D(13,r)^D(22,r)}function J(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 se(r,e){return r[e&15]+=G(r[e+14&15])+r[e+9&15]+K(r[e+1&15])}var oe=[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,H,Ce="0123456789abcdef";function Pe(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 or(r,e){var t=r==null?null:typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(t!=null){var n=[],a=!0,o=!1,i,l;try{for(t=t.call(r);!(a=(i=t.next()).done)&&(n.push(i.value),!(e&&n.length===e));a=!0);}catch(c){o=!0,l=c}finally{try{!a&&t.return!=null&&t.return()}finally{if(o)throw l}}return n}}function ir(r){if(Array.isArray(r))return r}function lr(r,e){var t=typeof Symbol!="undefined"&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=At(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(d){throw d},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 o=!0,i=!1,l;return{s:function(){t=t.call(r)},n:function(){var d=t.next();return o=d.done,d},e:function(d){i=!0,l=d},f:function(){try{!o&&t.return!=null&&t.return()}finally{if(i)throw l}}}}function cr(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function ln(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 ur(r,e,t){return e&&ln(r.prototype,e),t&&ln(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function sr(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&&ut(r,e)}function dr(r){var e=cn();return function(){var n=st(r),a;if(e){var o=st(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return vr(this,a)}}function vr(r,e){if(e&&(ct(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fr(r)}function fr(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Ht(r){var e=typeof Map=="function"?new Map:void 0;return Ht=function(n){if(n===null||!mr(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 Mt(n,arguments,st(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ut(a,n)},Ht(r)}function Mt(r,e,t){return cn()?Mt=Reflect.construct.bind():Mt=function(a,o,i){var l=[null];l.push.apply(l,o);var c=Function.bind.apply(a,l),d=new c;return i&&ut(d,i.prototype),d},Mt.apply(null,arguments)}function cn(){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 mr(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function ut(r,e){return ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},ut(r,e)}function st(r){return st=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},st(r)}function un(r){return pr(r)||gr(r)||At(r)||hr()}function hr(){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 At(r,e){if(r){if(typeof r=="string")return _t(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 _t(r,e)}}function gr(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function pr(r){if(Array.isArray(r))return _t(r)}function _t(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 yr(r,e){if(r==null)return{};var t=xr(r,e),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);for(a=0;a<o.length;a++)n=o[a],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function xr(r,e){if(r==null)return{};var t={},n=Object.keys(r),a,o;for(o=0;o<n.length;o++)a=n[o],!(e.indexOf(a)>=0)&&(t[a]=r[a]);return t}function sn(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 ve(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?sn(Object(t),!0).forEach(function(n){Cr(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):sn(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function Cr(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var Te="routes";function dt(r){return r.split("?")[0].split("#")[0]}var Dt=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(n){return!1}},br=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Ot(JSON.stringify(e)))}catch(n){}return t&&dt(t)},Sr=function(e,t){var n=e.name,a=e.locale;return"locale"in e&&a===!1||!n?!1:e.locale||"".concat(t,".").concat(n)},dn=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("/")||Dt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},Mr=function(e,t){var n=e.menu,a=n===void 0?{}:n,o=e.indexRoute,i=e.path,l=i===void 0?"":i,c=e.children||[],d=a.name,f=d===void 0?e.name:d,h=a.icon,g=h===void 0?e.icon:h,b=a.hideChildren,R=b===void 0?e.hideChildren:b,S=a.flatMenu,Z=S===void 0?e.flatMenu:S,L=o&&Object.keys(o).join(",")!=="redirect"?[ve({path:l,menu:a},o)].concat(c||[]):c,w=ve({},e);if(f&&(w.name=f),g&&(w.icon=g),L&&L.length){if(R)return delete w.children,w;var P=zt(ve(ve({},t),{},{data:L}),e);if(Z)return P;delete w[Te]}return w},Ve=function(e){return Array.isArray(e)&&e.length>0};function zt(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=r.data,n=r.formatMessage,a=r.parentName,o=r.locale;return!t||!Array.isArray(t)?[]:t.filter(function(i){return i?Ve(i.children)||i.path||i.originPath||i.layout?!0:(i.redirect||i.unaccessible,!1):!1}).filter(function(i){var l,c;return!(i==null||(l=i.menu)===null||l===void 0)&&l.name||i!=null&&i.flatMenu||!(i==null||(c=i.menu)===null||c===void 0)&&c.flatMenu?!0:i.menu!==!1}).map(function(i){var l=ve(ve({},i),{},{path:i.path||i.originPath});return!l.children&&l[Te]&&(l.children=l[Te],delete l[Te]),l.unaccessible&&delete l.name,l.path==="*"&&(l.path="."),l.path==="/*"&&(l.path="."),!l.path&&l.originPath&&(l.path=l.originPath),l}).map(function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},l=i.children||i[Te]||[],c=dn(i.path,e?e.path:"/"),d=i.name,f=Sr(i,a||"menu"),h=f!==!1&&o!==!1&&n&&f?n({id:f,defaultMessage:d}):d,g=e.pro_layout_parentKeys,b=g===void 0?[]:g,R=e.children,S=e.icon,Z=e.flatMenu,L=e.indexRoute,w=e.routes,P=yr(e,nr),I=new Set([].concat(un(b),un(i.parentKeys||[])));e.key&&I.add(e.key);var E=
|
||
|
${n},
|
||
|
${a} > li,
|
||
|
${t},
|
||
|
${o},
|
||
|
${i},
|
||
|
${l}
|
||
|
`]:Object.assign({},_a(r))}}},Ka=r=>{const{colorFillContent:e,colorFill:t}=r,n=e,a=t;return{color:n,colorGradientEnd:a,gradientFromColor:n,gradientToColor:a,titleHeight:r.controlHeight/2,blockRadius:r.borderRadiusSM,paragraphMarginTop:r.marginLG+r.marginXXS,paragraphLiHeight:r.controlHeight/2}};var et=(0,fn.I$)("Skeleton",r=>{const{componentCls:e,calc:t}=r,n=(0,Ha.TS)(r,{skeletonAvatarCls:`${e}-avatar`,skeletonTitleCls:`${e}-title`,skeletonParagraphCls:`${e}-paragraph`,skeletonButtonCls:`${e}-button`,skeletonInputCls:`${e}-input`,skeletonImageCls:`${e}-image`,imageSizeBase:t(r.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${r.gradientFromColor} 25%, ${r.gradientToColor} 37%, ${r.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ka(n)]},Ka,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ua=r=>{const{prefixCls:e,className:t,rootClassName:n,active:a,shape:o="circle",size:i="default"}=r,{getPrefixCls:l}=v.useContext(_e.E_),c=l("skeleton",e),[d,f,h]=et(c),g=(0,Zt.Z)(r,["prefixCls","className"]),b=W()(c,`${c}-element`,{[`${c}-active`]:a},t,n,f,h);return d(v.createElement("div",{className:b},v.createElement(jt,Object.assign({prefixCls:`${c}-avatar`,shape:o,size:i},g))))},Ga=r=>{const{prefixCls:e,className:t,rootClassName:n,active:a,block:o=!1,size:i="default"}=r,{getPrefixCls:l}=v.useContext(_e.E_),c=l("skeleton",e),[d,f,h]=et(c),g=(0,Zt.Z)(r,["prefixCls"]),b=W()(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},t,n,f,h);return d(v.createElement("div",{className:b},v.createElement(jt,Object.assign({prefixCls:`${c}-button`,size:i},g))))};const Va="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Xa=r=>{const{prefixCls:e,className:t,rootClassName:n,style:a,active:o}=r,{getPrefixCls:i}=v.useContext(_e.E_),l=i("skeleton",e),[c,d,f]=et(l),h=W()(l,`${l}-element`,{[`${l}-active`]:o},t,n,d,f);return c(v.createElement("div",{className:h},v.createElement("div",{className:W()(`${l}-image`,t),style:a},v.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},v.createElement("path",{d:Va,className:`${l}-image-path`})))))},Qa=r=>{const{prefixCls:e,className:t,rootClassName:n,active:a,block:o,size:i="default"}=r,{getPrefixCls:l}=v.useContext(_e.E_),c=l("skeleton",e),[d,f,h]=et(c),g=(0,Zt.Z)(r,["prefixCls"]),b=W()(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},t,n,f,h);return d(v.createElement("div",{className:b},v.createElement(jt,Object.assign({prefixCls:`${c}-input`,size:i},g))))},Ya={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ja=Ya,qa=y(93771),eo=function(e,t){return v.createElement(qa.Z,(0,Je.Z)({},e,{ref:t,icon:Ja}))},to=v.forwardRef(eo),no=r=>{const{prefixCls:e,className:t,rootClassName:n,style:a,active:o,children:i}=r,{getPrefixCls:l}=v.useContext(_e.E_),c=l("skel
|
||
|
`).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:o==null?void 0:o.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,u.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.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,u.Z)((0,u.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,u.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,u.Z)((0,u.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,u.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,u.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,u.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,u.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function vo(r,e){return(0,Ie.Xj)("ProLayoutBaseMenu"+e,function(t){var n=(0,m.Z)((0,m.Z)({},t),{},{componentCls:".".concat(r)});return[so(n,e||"inline")]})}var Bn=function(e){var t=(0,v.useState)(e.collapsed),n=(0,F.Z)(t,2),a=n[0],o=n[1],i=(0,v.useState)(!1),l=(0,F.Z)(i,2),c=l[0],d=l[1];return(0,v.useEffect)(function(){d(!1),setTimeout(function(){o(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,s.jsx)(Oa.Z,{title:e.title,open:a&&e.collapsed?c:!1,placement:"right",onOpenChange:d,children:e.children})},Rn=Mn({scriptUrl:In.h.iconfontUrl}),jn=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(kt(e)||La(e))return(0,s.jsx)("img",{width:16,src:e,alt:"icon",className:n},e);if(e.startsWith(t))return(0,s.jsx)(Rn,{type:e})}return e},Tn=function(e){if(e&&typeof e=="string"){var t=e.substring(0,1).toUpperCase();return t}return null},fo=(0,Ra.Z)(function r(e){var t=this;(0,ja.Z)(this,r),(0,u.Z)(this,"props",void 0),(0,u.Z)(this,"getNavMenuItems",function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return n.map(function(i){return t.getSubMenuOrItem(i,a,o)}).filter(function(i){return i}).flat(1)}),(0,u.Z)(this,"getSubMenuOrItem",function(n,a,o){var i=t.props,l=i.subMenuItemRender,c=i.baseClassName,d=i.prefixCls,f=i.collapsed,h=i.menu,g=i.iconPrefixes,b=i.layout,R=(h==null?void 0:h.type)==="group"&&b!=="top",S=t.props.token,Z=t.getIntlName(n),L=(n==null?void 0:n.children)||(n==null?void 0:n.routes),w=R&&a===0?"group":void 0;if(Array.isArray(L)&&L.length>0){var P,I,E,p,B,U=a===0||R&&a===1,N=jn(n.icon,g,"".concat(c,"-icon ").concat((P=t.props)===null||P===void 0?void 0:P.hashId)),$=f&&U?Tn(Z):null,q=(0,s.jsxs)("div",{className:W()("".concat(c,"-item-title"),(I=t.props)===null||
|
||
|
`).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,u.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,u.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(l=e.layout)===null||l===void 0||(l=l.sider)===null||l===void 0?void 0:l.colorTextMenuActive}))),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,u.Z)((0,u.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:(c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorBgMenuItemSelected,borderRadius:e.borderRadius}),"".concat(e.antCls,`-menu-item:hover,
|
||
|
`).concat(e.antCls,`-menu-item-active,
|
||
|
`).concat(e.antCls,"-menu-submenu-title:hover"),(0,u.Z)({color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.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:(h=e.layout)===null||h===void 0||(h=h.sider)===null||h===void 0?void 0:h.colorTextMenuActive}))),"".concat(e.antCls,"-menu-item-selected"),{color:(g=e.layout)===null||g===void 0||(g=g.sider)===null||g===void 0?void 0:g.colorTextMenuSelected}),(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)(p,"".concat(e.antCls,"-menu-submenu-selected"),{color:(b=e.layout)===null||b===void 0||(b=b.sider)===null||b===void 0?void 0:b.colorTextMenuSelected}),"&".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-inline) ").concat(e.antCls,"-menu-submenu-open"),{color:(R=e.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorTextMenuSelected}),"&".concat(e.antCls,"-menu-vertical"),(0,u.Z)({},"".concat(e.antCls,"-menu-submenu-selected"),{borderRadius:e.borderRadius,color:(S=e.layout)===null||S===void 0||(S=S.sider)===null||S===void 0?void 0:S.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,u.Z)((0,u.Z)((0,u.Z)((0,u.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:(L=e.layout)===null||L===void 0||(L=L.header)===null||L===void 0?void 0:L.colorTextMenuActive,backgroundColor:"".concat((w=e.layout)===null||w===void 0||(w=w.header)===null||w===void 0?void 0:w.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,u.Z)({backgroundColor:(P=e.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorBgMenuItemSelected,borderRadius:e.borderRadius,transition:"none",color:"".concat((I=e.layout)===null||I===void 0||(I=I.header)===null||I===void 0?void 0:I.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,u.Z)((0,u.Z)({},"&".concat(e.antCls,"-menu"),(0,u.Z)({color:(B=e.layout)===null||B===void 0||(B=B.header)===null||B===void 0?void 0:B.colorTextMenu},"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-light"),(0,u.Z)((0,u.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,u.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:(N=e.layout)===null||N===void 0||(N=N.header)===null||N===void 0?void 0:N.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:($=e.layout)===null||$===void 0||($=$.header)===null||$===void 0?void 0:$.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:(ie=e.layout)===null||ie===void 0||(ie=ie.header)===null||ie===void 0?void 0:ie.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,u.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:(ue=e.layout)===null||ue===void 0||(ue=ue.sider)===null||ue===void 0?void 0:ue.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,u.Z)((0,u.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,u.Z)({color:(Y=e.layout)===null||Y===void 0||(Y=Y.sider)===null||Y===void 0?void 0:Y.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}))))},Ko=function(e){var t,n,a,o;return(0,u.Z)((0,u.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,u.Z)((0,u.Z)((0,u.Z)((0,u.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:(o=e.layout)===null||o===void 0?void 0:o.bgLayout}))};function Uo(r){return(0,Ie.Xj)("ProLayout",function(e){var t=(0,m.Z)((0,m.Z)({},e),{},{componentCls:".".concat(r)});return[Ko(t),ko(t)]})}function Go(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 rt=y(34155),Vo=function(){var e;return typeof rt=="undefined"?wt.Z:((e=rt)===null||rt===void 0||(rt={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||rt===void 0?void 0:rt.ANTD_VERSION)||wt.Z},Xo=function(e,t,n){var a=e,o=a.breadcrumbName,i=a.title,l=a.path,c=n.findIndex(function(d){return d.linkPath===e.path})===n.length-1;return c?(0,s.jsx)("span",{children:i||o}):(0,s.jsx)("span",{onClick:l?function(){return location.href=l}:void 0,children:i||o})},Qo=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},Yo=function(e,t){var n=e.get(t);if(!n){var a=Array.from(e.keys())||[],o=a.find(function(i){return Jt()(i.replace("?","")).test(t)});o&&(n=e.get(o))}return n||{path:""}},Jo=function(e){var t=e.location,n=e.breadcrumbMap;return{location:t,breadcrumbMap:n}},qo=function(e,t,n){var a=Go(e==null?void 0:e.pathname),o=a.map(function(i){var l=Yo(t,i),c=Qo(l,n),d=l.hideInBreadcrumb;return c&&!d?{linkPath:i,breadcrumbName:c,title:c,component:l.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(i){return i&&i.linkPath});return o},ei=function(e){var t=Jo(e),n=t.location,a=t.breadcrumbMap;return n&&n.pathname&&a?qo(n,a,e):[]},ti=function(e,t){var n=e.breadcrumbRender,a=e.itemRender,o=t.breadcrumbProps||{},i=o.minLength,l=i===void 0?2:i,c=ei(e),d=function(g){for(var b=a||Xo,R=arguments.length,S=new Array(R>1?R-1:0),Z=1;Z<R;Z++)S[Z-1]=arguments[Z];return b==null?void 0:b.apply(void 0,[(0,m.Z)((0,m.Z)({},g),{},{path:g.linkPath||g.path})].concat(S))},f=c;return n&&(f=n(f||[])||void 0),(f&&f.length<l||n===!1)&&(f=void 0),(0,j.n)(Vo(),"5.3.0")>-1?{items:f,itemRender:d}:{routes:f,itemRender:d}};function ni(r){return(0,Qe.Z)(r).reduce(function(e,t){var n=(0,F.Z)(t,2),a=n[0],o=n[1];return e[a]=o,e},{})}var ri=function r(e,t,n,a){var o=Tr(e,(t==null?void 0:t.locale)||!1,n,!0),i=o.menuData,l=o.breadcrumb;return a?r(a(i),t,n,void 0):{breadcrumb:ni(l),breadcrumbMap:l,menuData:i}},ai=y(71002),oi=y(51812),ii=function(e){var t=(0,v.useState)({}),n=(0,F.Z)(t,2),a=n[0],o=n[1];return(0,v.useEffect)(function(){o((0,oi.Y)({layout:(0,ai.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 de=!0,v=!1,xe;return{s:function(){F=F.call(le)},n:function(){var ye=F.next();return de=ye.done,ye},e:function(ye){v=!0,xe=ye},f:function(){try{!de&&F.return!=null&&F.return()}finally{if(v)throw xe}}}}Ze.exports=me,Ze.exports.__esModule=!0,Ze.exports.default=Ze.exports}}]);
|