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.
 
 
 
 

4 lines
86 KiB

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[301],{7700:function(){},2828:function(){},56264:function(){},17124:function(){},53645:function(){},12395:function(){},43361:function(){},17212:function(){},70883:function(){},81262:function(){},59903:function(){},18067:function(){},74198:function(ce,pe,h){"use strict";h.r(pe),h.d(pe,{default:function(){return Xo}});var w=h(11849),F=h(57337),o=h(67294),P=h(4614),K=h(99222),Y=h(93224),Ee=h(73727),He=h(24793),xe=h(97183),O=h(96156),Ye=h(87757),Ze=h.n(Ye),T=h(92137),I=h(81253),D=h(84305),U=h(75901),H=h(28481),p=h(28991),N=h(22122),se=h(7700),L=h(94184),E=h.n(L),q=h(42473),_=h.n(q),G=h(21770),ae=h(38069),Me=h(56725),Je=h(12044);function Zt(n,e){var t=typeof n.pageName=="string"?n.title:e;(0,o.useEffect)(function(){(0,Je.Z)()&&t&&(document.title=t)},[n.title,t])}var Mt=Zt,Ce=h(97435),ze=h(29405),Pt=h(21879),ke=h.n(Pt),qe=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function _e(n,e){return!!(n===e||qe(n)&&qe(e))}function et(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++)if(!_e(n[t],e[t]))return!1;return!0}function an(n,e){e===void 0&&(e=et);var t,r=[],i,a=!1;function l(){for(var u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];return a&&t===this&&e(u,r)||(i=n.apply(this,u),a=!0,t=this,r=u),i}return l}var Xt=an;function on(n){for(var e=[],t=0;t<n.length;){var r=n[t];if(r==="*"||r==="+"||r==="?"){e.push({type:"MODIFIER",index:t,value:n[t++]});continue}if(r==="\\"){e.push({type:"ESCAPED_CHAR",index:t++,value:n[t++]});continue}if(r==="{"){e.push({type:"OPEN",index:t,value:n[t++]});continue}if(r==="}"){e.push({type:"CLOSE",index:t,value:n[t++]});continue}if(r===":"){for(var i="",a=t+1;a<n.length;){var l=n.charCodeAt(a);if(l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||l===95){i+=n[a++];continue}break}if(!i)throw new TypeError("Missing parameter name at "+t);e.push({type:"NAME",index:t,value:i}),t=a;continue}if(r==="("){var u=1,c="",a=t+1;if(n[a]==="?")throw new TypeError('Pattern cannot start with "?" at '+a);for(;a<n.length;){if(n[a]==="\\"){c+=n[a++]+n[a++];continue}if(n[a]===")"){if(u--,u===0){a++;break}}else if(n[a]==="("&&(u++,n[a+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+a);c+=n[a++]}if(u)throw new TypeError("Unbalanced pattern at "+t);if(!c)throw new TypeError("Missing pattern at "+t);e.push({type:"PATTERN",index:t,value:c}),t=a;continue}e.push({type:"CHAR",index:t,value:n[t++]})}return e.push({type:"END",index:t,value:""}),e}function Qt(n,e){e===void 0&&(e={});for(var t=on(n),r=e.prefixes,i=r===void 0?"./":r,a="[^"+Se(e.delimiter||"/#?")+"]+?",l=[],u=0,c=0,s="",v=function(A){if(c<t.length&&t[c].type===A)return t[c++].value},d=function(A){var $=v(A);if($!==void 0)return $;var j=t[c],B=j.type,W=j.index;throw new TypeError("Unexpected "+B+" at "+W+", expected "+A)},f=function(){for(var A="",$;$=v("CHAR")||v("ESCAPED_CHAR");)A+=$;return A};c<t.length;){var m=v("CHAR"),g=v("NAME"),b=v("PATTERN");if(g||b){var y=m||"";i.indexOf(y)===-1&&(s+=y,y=""),s&&(l.push(s),s=""),l.push({name:g||u++,prefix:y,suffix:"",pattern:b||a,modifier:v("MODIFIER")||""});continue}var x=m||v("ESCAPED_CHAR");if(x){s+=x;continue}s&&(l.push(s),s="");var C=v("OPEN");if(C){var y=f(),Z=v("NAME")||"",R=v("PATTERN")||"",M=f();d("CLOSE"),l.push({name:Z||(R?u++:""),pattern:Z&&!R?a:R,prefix:y,suffix:M,modifier:v("MODIFIER")||""});continue}d("END")}return l}function il(n,e){return ln(Qt(n,e),e)}function ln(n,e){e===void 0&&(e={});var t=Rt(e),r=e.encode,i=r===void 0?function(c){return c}:r,a=e.validate,l=a===void 0?!0:a,u=n.map(function(c){if(typeof c=="object")return new RegExp("^(?:"+c.pattern+")$",t)});return function(c){for(var s="",v=0;v<n.length;v++){var d=n[v];if(typeof d=="string"){s+=d;continue}var f=c?c[d.name]:void 0,m=d.modifier==="?"||d.modifier==="*",g=d.modifier==="*"||d.modifier==="+";if(Array.isArray(f)){if(!g)throw new TypeError('Expected "'+d.name+'" to not repeat, but got an array');if(f.length===0){if(m)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var b=0;b<f.length;b++){var y=i(f[b],d);if(l&&!u[v].test(y))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but got "'+y+'"');s+=d.prefix+y+d.suffix}continue}if(typeof f=="string"||typeof f=="number"){var y=i(String(f),d);if(l&&!u[v].test(y))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but got "'+y+'"');s+=d.prefix+y+d.suffix;continue}if(!m){var x=g?"an array":"a string";throw new TypeError('Expected "'+d.name+'" to be '+x)}}return s}}function ol(n,e){var t=[],r=we(n,t,e);return un(r,t,e)}function un(n,e,t){t===void 0&&(t={});var r=t.decode,i=r===void 0?function(a){return a}:r;return function(a){var l=n.exec(a);if(!l)return!1;for(var u=l[0],c=l.index,s=Object.create(null),v=function(f){if(l[f]===void 0)return"continue";var m=e[f-1];m.modifier==="*"||m.modifier==="+"?s[m.name]=l[f].split(m.prefix+m.suffix).map(function(g){return i(g,m)}):s[m.name]=i(l[f],m)},d=1;d<l.length;d++)v(d);return{path:u,index:c,params:s}}}function Se(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function Rt(n){return n&&n.sensitive?"":"i"}function cn(n,e){if(!e)return n;var t=n.source.match(/\((?!\?)/g);if(t)for(var r=0;r<t.length;r++)e.push({name:r,prefix:"",suffix:"",modifier:"",pattern:""});return n}function sn(n,e,t){var r=n.map(function(i){return we(i,e,t).source});return new RegExp("(?:"+r.join("|")+")",Rt(t))}function fn(n,e,t){return dn(Qt(n,t),e,t)}function dn(n,e,t){t===void 0&&(t={});for(var r=t.strict,i=r===void 0?!1:r,a=t.start,l=a===void 0?!0:a,u=t.end,c=u===void 0?!0:u,s=t.encode,v=s===void 0?function(A){return A}:s,d="["+Se(t.endsWith||"")+"]|$",f="["+Se(t.delimiter||"/#?")+"]",m=l?"^":"",g=0,b=n;g<b.length;g++){var y=b[g];if(typeof y=="string")m+=Se(v(y));else{var x=Se(v(y.prefix)),C=Se(v(y.suffix));if(y.pattern)if(e&&e.push(y),x||C)if(y.modifier==="+"||y.modifier==="*"){var Z=y.modifier==="*"?"?":"";m+="(?:"+x+"((?:"+y.pattern+")(?:"+C+x+"(?:"+y.pattern+"))*)"+C+")"+Z}else m+="(?:"+x+"("+y.pattern+")"+C+")"+y.modifier;else m+="("+y.pattern+")"+y.modifier;else m+="(?:"+x+C+")"+y.modifier}}if(c)i||(m+=f+"?"),m+=t.endsWith?"(?="+d+")":"$";else{var R=n[n.length-1],M=typeof R=="string"?f.indexOf(R[R.length-1])>-1:R===void 0;i||(m+="(?:"+f+"(?="+d+"))?"),M||(m+="(?="+f+"|"+d+")")}return new RegExp(m,Rt(t))}function we(n,e,t){return n instanceof RegExp?cn(n,e):Array.isArray(n)?sn(n,e,t):fn(n,e,t)}function fe(n,e){return e>>>n|e<<32-n}function vn(n,e,t){return n&e^~n&t}function mn(n,e,t){return n&e^n&t^e&t}function hn(n){return fe(2,n)^fe(13,n)^fe(22,n)}function gn(n){return fe(6,n)^fe(11,n)^fe(25,n)}function yn(n){return fe(7,n)^fe(18,n)^n>>>3}function pn(n){return fe(17,n)^fe(19,n)^n>>>10}function xn(n,e){return n[e&15]+=pn(n[e+14&15])+n[e+9&15]+yn(n[e+1&15])}var Cn=[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,J,V,bn="0123456789abcdef";function Yt(n,e){var t=(n&65535)+(e&65535),r=(n>>16)+(e>>16)+(t>>16);return r<<16|t&65535}function En(){z=new Array(8),J=new Array(2),V=new Array(64),J[0]=J[1]=0,z[0]=1779033703,z[1]=3144134277,z[2]=1013904242,z[3]=2773480762,z[4]=1359893119,z[5]=2600822924,z[6]=528734635,z[7]=1541459225}function Nt(){var n,e,t,r,i,a,l,u,c,s,v=new Array(16);n=z[0],e=z[1],t=z[2],r=z[3],i=z[4],a=z[5],l=z[6],u=z[7];for(var d=0;d<16;d++)v[d]=V[(d<<2)+3]|V[(d<<2)+2]<<8|V[(d<<2)+1]<<16|V[d<<2]<<24;for(var f=0;f<64;f++)c=u+gn(i)+vn(i,a,l)+Cn[f],f<16?c+=v[f]:c+=xn(v,f),s=hn(n)+mn(n,e,t),u=l,l=a,a=i,i=Yt(r,c),r=t,t=e,e=n,n=Yt(c,s);z[0]+=n,z[1]+=e,z[2]+=t,z[3]+=r,z[4]+=i,z[5]+=a,z[6]+=l,z[7]+=u}function Zn(n,e){var t,r,i=0;r=J[0]>>3&63;var a=e&63;for((J[0]+=e<<3)<e<<3&&J[1]++,J[1]+=e>>29,t=0;t+63<e;t+=64){for(var l=r;l<64;l++)V[l]=n.charCodeAt(i++);Nt(),r=0}for(var u=0;u<a;u++)V[u]=n.charCodeAt(i++)}function Mn(){var n=J[0]>>3&63;if(V[n++]=128,n<=56)for(var e=n;e<56;e++)V[e]=0;else{for(var t=n;t<64;t++)V[t]=0;Nt();for(var r=0;r<56;r++)V[r]=0}V[56]=J[1]>>>24&255,V[57]=J[1]>>>16&255,V[58]=J[1]>>>8&255,V[59]=J[1]&255,V[60]=J[0]>>>24&255,V[61]=J[0]>>>16&255,V[62]=J[0]>>>8&255,V[63]=J[0]&255,Nt()}function ll(){for(var n=0,e=new Array(32),t=0;t<8;t++)e[n++]=z[t]>>>24&255,e[n++]=z[t]>>>16&255,e[n++]=z[t]>>>8&255,e[n++]=z[t]&255;return e}function Pn(){for(var n=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)n+=bn.charAt(z[e]>>>t&15);return n}function Rn(n){return En(),Zn(n,n.length),Mn(),Pn()}var Nn=Rn;function tt(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?tt=function(t){return typeof t}:tt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(n)}var Sn=["pro_layout_parentKeys","routes","children","icon","flatMenu","indexRoute"];function wn(n,e){return An(n)||On(n,e)||wt(n,e)||Tn()}function Tn(){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 On(n,e){var t=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r=[],i=!0,a=!1,l,u;try{for(t=t.call(n);!(i=(l=t.next()).done)&&(r.push(l.value),!(e&&r.length===e));i=!0);}catch(c){a=!0,u=c}finally{try{!i&&t.return!=null&&t.return()}finally{if(a)throw u}}return r}}function An(n){if(Array.isArray(n))return n}function Bn(n,e){var t=typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=wt(n))||e&&n&&typeof n.length=="number"){t&&(n=t);var r=0,i=function(){};return{s:i,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(s){throw s},f:i}}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 a=!0,l=!1,u;return{s:function(){t=t.call(n)},n:function(){var s=t.next();return a=s.done,s},e:function(s){l=!0,u=s},f:function(){try{!a&&t.return!=null&&t.return()}finally{if(l)throw u}}}}function Fn(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function Jt(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function In(n,e,t){return e&&Jt(n.prototype,e),t&&Jt(n,t),n}function Dn(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&$e(n,e)}function Ln(n){var e=kt();return function(){var r=We(n),i;if(e){var a=We(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return jn(this,i)}}function jn(n,e){if(e&&(tt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Hn(n)}function Hn(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function St(n){var e=typeof Map=="function"?new Map:void 0;return St=function(r){if(r===null||!zn(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return rt(r,arguments,We(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),$e(i,r)},St(n)}function rt(n,e,t){return kt()?rt=Reflect.construct:rt=function(i,a,l){var u=[null];u.push.apply(u,a);var c=Function.bind.apply(i,u),s=new c;return l&&$e(s,l.prototype),s},rt.apply(null,arguments)}function kt(){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(n){return!1}}function zn(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function $e(n,e){return $e=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},$e(n,e)}function We(n){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},We(n)}function qt(n){return Kn(n)||Wn(n)||wt(n)||$n()}function $n(){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 wt(n,e){if(!!n){if(typeof n=="string")return Tt(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Tt(n,e)}}function Wn(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function Kn(n){if(Array.isArray(n))return Tt(n)}function Tt(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function Un(n,e){if(n==null)return{};var t=Gn(n,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(i=0;i<a.length;i++)r=a[i],!(e.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,r)||(t[r]=n[r]))}return t}function Gn(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(t[i]=n[i]);return t}function _t(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function X(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?_t(Object(t),!0).forEach(function(r){Vn(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):_t(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Vn(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Ke(n){return n.split("?")[0].split("#")[0]}var Ot=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},Xn=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Nn(JSON.stringify(e)))}catch(r){}return t&&Ke(t)},Qn=function(e,t){var r=e.name,i=e.locale;return"locale"in e&&i===!1||!r?!1:e.locale||"".concat(t,".").concat(r)},er=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return(e||t).startsWith("/")||Ot(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},Yn=function(e,t){var r=e.menu,i=r===void 0?{}:r,a=e.indexRoute,l=e.path,u=l===void 0?"":l,c=e.routes,s=i.name,v=s===void 0?e.name:s,d=i.icon,f=d===void 0?e.icon:d,m=i.hideChildren,g=m===void 0?e.hideChildren:m,b=i.flatMenu,y=b===void 0?e.flatMenu:b,x=a&&Object.keys(a).join(",")!=="redirect"?[X({path:u,menu:i},a)].concat(c||[]):c,C=X({},e);if(v&&(C.name=v),f&&(C.icon=f),x&&x.length){if(g)return delete C.routes,C;var Z=At(X(X({},t),{},{data:x}),e);if(y)return Z;C.routes=Z}return C};function At(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"},t=n.data,r=n.formatMessage,i=n.parentName,a=n.locale;return!t||!Array.isArray(t)?[]:t.filter(function(l){return l?l.routes||l.children||l.path||l.layout?!0:(l.redirect||l.unaccessible,!1):!1}).filter(function(l){var u,c;return l.unaccessible&&delete l.name,(l==null||(u=l.menu)===null||u===void 0?void 0:u.name)||(l==null?void 0:l.flatMenu)||(l==null||(c=l.menu)===null||c===void 0?void 0:c.flatMenu)?!0:l.menu!==!1}).map(function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"};l.children&&!l.routes&&(l.routes=l.children,delete l.children);var u=er(l.path,e?e.path:"/"),c=l.name,s=Qn(l,i||"menu"),v=s!==!1&&a!==!1&&r&&s?r({id:s,defaultMessage:c}):c,d=e.pro_layout_parentKeys,f=d===void 0?[]:d,m=e.routes,g=e.children,b=e.icon,y=e.flatMenu,x=e.indexRoute,C=Un(e,Sn),Z=X(X(X({},C),{},{menu:void 0},l),{},{path:u,locale:s,key:l.key||Xn(X(X({},l),{},{path:u})),pro_layout_parentKeys:Array.from(new Set([].concat(qt(l.parentKeys||[]),qt(f),["/".concat(e.key||"").replace(/\/\//g,"/").replace(/\/\//g,"/")]))).filter(function(M){return M&&M!=="/"})});if(v?Z.name=v:delete Z.name,Z.menu===void 0&&delete Z.menu,l.routes){var R=At(X(X({},n),{},{data:l.routes,parentName:s||""}),Z);Z.routes=R&&R.length>0?R:void 0,Z.routes||delete Z.routes}return Yn(Z,n)}).flat(1)}var Jn=Xt(At,ke()),kn=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||t.routes)&&!t.hideInMenu&&!t.redirect}).map(function(t){var r=X({},t);if(r.children&&!r.routes&&(r.routes=t.children),r.routes&&Array.isArray(r.routes)&&!r.hideChildrenInMenu&&r.routes.some(function(a){return a&&!!a.name})){var i=n(r.routes);if(i.length)return X(X({},r),{},{routes:i})}return X(X({},t),{},{routes:void 0})}).filter(function(t){return t})},qn=function(n){Dn(t,n);var e=Ln(t);function t(){return Fn(this,t),e.apply(this,arguments)}return In(t,[{key:"get",value:function(i){var a;try{var l=Bn(this.entries()),u;try{for(l.s();!(u=l.n()).done;){var c=wn(u.value,2),s=c[0],v=c[1],d=Ke(s);if(!Ot(s)&&we(d,[]).test(i)){a=v;break}}}catch(f){l.e(f)}finally{l.f()}}catch(f){a=void 0}return a}}]),t}(St(Map)),_n=function(e){var t=new qn,r=function i(a,l){a.forEach(function(u){u&&u.routes&&i(u.routes,u);var c=er(u.path,l?l.path:"/");t.set(Ke(c),u)})};return r(e),t},ea=Xt(_n,ke()),ta=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){if(t.routes&&Array.isArray(t.routes)&&t.routes.length>0){var r=n(t.routes);if(r.length)return X(X({},t),{},{routes:r})}var i=X({},t);return delete i.routes,i}).filter(function(t){return t})},ra=function(e,t,r,i){var a=Jn({data:e,formatMessage:r,locale:t}),l=i?ta(a):kn(a),u=ea(a);return{breadcrumb:u,menuData:l}},tr=ra;function rr(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function nt(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?rr(Object(t),!0).forEach(function(r){na(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):rr(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function na(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var aa=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(r){!r||!r.key||(t[Ke(r.path||r.key||"/")]=nt({},r),t[r.key||r.path||"/"]=nt({},r),r.routes&&(t=nt(nt({},t),n(r.routes))))}),t},nr=aa,ia=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return e.filter(function(i){if(i==="/"&&t==="/")return!0;if(i!=="/"&&i!=="/*"&&i&&!Ot(i)){var a=Ke(i);try{if(r&&we("".concat(a)).test(t)||we("".concat(a),[]).test(t)||we("".concat(a,"/(.*)")).test(t))return!0}catch(l){}}return!1}).sort(function(i,a){return i===t?10:a===t?-10:i.substr(1).split("/").length-a.substr(1).split("/").length})},oa=function(e,t,r,i){var a=nr(t),l=Object.keys(a),u=ia(l,e||"/",i);return!u||u.length<1?[]:(r||(u=[u[u.length-1]]),u.map(function(c){var s=a[c]||{pro_layout_parentKeys:"",key:""},v=new Map,d=(s.pro_layout_parentKeys||[]).map(function(f){return v.has(f)?null:(v.set(f,!0),a[f])}).filter(function(f){return f});return s.key&&d.push(s),d}).flat(1))},ar=oa,Bt=h(6610),Ft=h(5991),ir=h(10379),or=h(44144),ul=h(2828),cl=h(17124),sl=h(30887),ie=h(54689),la={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z"}}]},name:"menu-unfold",theme:"outlined"},ua=la,at=h(27029),lr=function(e,t){return o.createElement(at.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:ua}))};lr.displayName="MenuUnfoldOutlined";var ca=o.forwardRef(lr),sa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z"}}]},name:"menu-fold",theme:"outlined"},fa=sa,ur=function(e,t){return o.createElement(at.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:fa}))};ur.displayName="MenuFoldOutlined";var da=o.forwardRef(ur),fl=h(43361),dl=h(38663),vl=h(18067),it=h(90484),va=function(e){var t=e.prefixCls,r=e.className,i=e.width,a=e.style;return o.createElement("h3",{className:E()(t,r),style:(0,N.Z)({width:i},a)})},ma=va,Pe=h(85061),ha=function(e){var t=function(s){var v=e.width,d=e.rows,f=d===void 0?2:d;if(Array.isArray(v))return v[s];if(f-1===s)return v},r=e.prefixCls,i=e.className,a=e.style,l=e.rows,u=(0,Pe.Z)(Array(l)).map(function(c,s){return o.createElement("li",{key:s,style:{width:t(s)}})});return o.createElement("ul",{className:E()(r,i),style:a},u)},ga=ha,oe=h(65632),ya=function(e){var t,r,i=e.prefixCls,a=e.className,l=e.style,u=e.size,c=e.shape,s=E()((t={},(0,O.Z)(t,"".concat(i,"-lg"),u==="large"),(0,O.Z)(t,"".concat(i,"-sm"),u==="small"),t)),v=E()((r={},(0,O.Z)(r,"".concat(i,"-circle"),c==="circle"),(0,O.Z)(r,"".concat(i,"-square"),c==="square"),(0,O.Z)(r,"".concat(i,"-round"),c==="round"),r)),d=typeof u=="number"?{width:u,height:u,lineHeight:"".concat(u,"px")}:{};return o.createElement("span",{className:E()(i,s,v,a),style:(0,N.Z)((0,N.Z)({},d),l)})},ot=ya,lt=h(98423),cr=function(e){var t=function(i){var a=i.getPrefixCls,l=e.prefixCls,u=e.className,c=e.active,s=a("skeleton",l),v=(0,lt.Z)(e,["prefixCls","className"]),d=E()(s,"".concat(s,"-element"),(0,O.Z)({},"".concat(s,"-active"),c),u);return o.createElement("div",{className:d},o.createElement(ot,(0,N.Z)({prefixCls:"".concat(s,"-avatar")},v)))};return o.createElement(oe.C,null,t)};cr.defaultProps={size:"default",shape:"circle"};var pa=cr,sr=function(e){var t=function(i){var a,l=i.getPrefixCls,u=e.prefixCls,c=e.className,s=e.active,v=e.block,d=v===void 0?!1:v,f=l("skeleton",u),m=(0,lt.Z)(e,["prefixCls"]),g=E()(f,"".concat(f,"-element"),(a={},(0,O.Z)(a,"".concat(f,"-active"),s),(0,O.Z)(a,"".concat(f,"-block"),d),a),c);return o.createElement("div",{className:g},o.createElement(ot,(0,N.Z)({prefixCls:"".concat(f,"-button")},m)))};return o.createElement(oe.C,null,t)};sr.defaultProps={size:"default"};var xa=sr,fr=function(e){var t=function(i){var a,l=i.getPrefixCls,u=e.prefixCls,c=e.className,s=e.active,v=e.block,d=l("skeleton",u),f=(0,lt.Z)(e,["prefixCls"]),m=E()(d,"".concat(d,"-element"),(a={},(0,O.Z)(a,"".concat(d,"-active"),s),(0,O.Z)(a,"".concat(d,"-block"),v),a),c);return o.createElement("div",{className:m},o.createElement(ot,(0,N.Z)({prefixCls:"".concat(d,"-input")},f)))};return o.createElement(oe.C,null,t)};fr.defaultProps={size:"default"};var Ca=fr,ba="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",Ea=function(e){var t=function(i){var a=i.getPrefixCls,l=e.prefixCls,u=e.className,c=e.style,s=a("skeleton",l),v=E()(s,"".concat(s,"-element"),u);return o.createElement("div",{className:v},o.createElement("div",{className:E()("".concat(s,"-image"),u),style:c},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(s,"-image-svg")},o.createElement("path",{d:ba,className:"".concat(s,"-image-path")}))))};return o.createElement(oe.C,null,t)},Za=Ea;function It(n){return n&&(0,it.Z)(n)==="object"?n:{}}function Ma(n,e){return n&&!e?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Pa(n,e){return!n&&e?{width:"38%"}:n&&e?{width:"50%"}:{}}function Ra(n,e){var t={};return(!n||!e)&&(t.width="61%"),!n&&e?t.rows=3:t.rows=2,t}var Te=function(e){var t=function(i){var a=i.getPrefixCls,l=i.direction,u=e.prefixCls,c=e.loading,s=e.className,v=e.style,d=e.children,f=e.avatar,m=e.title,g=e.paragraph,b=e.active,y=e.round,x=a("skeleton",u);if(c||!("loading"in e)){var C,Z=!!f,R=!!m,M=!!g,A;if(Z){var $=(0,N.Z)((0,N.Z)({prefixCls:"".concat(x,"-avatar")},Ma(R,M)),It(f));A=o.createElement("div",{className:"".concat(x,"-header")},o.createElement(ot,$))}var j;if(R||M){var B;if(R){var W=(0,N.Z)((0,N.Z)({prefixCls:"".concat(x,"-title")},Pa(Z,M)),It(m));B=o.createElement(ma,W)}var Q;if(M){var k=(0,N.Z)((0,N.Z)({prefixCls:"".concat(x,"-paragraph")},Ra(Z,R)),It(g));Q=o.createElement(ga,k)}j=o.createElement("div",{className:"".concat(x,"-content")},B,Q)}var ee=E()(x,(C={},(0,O.Z)(C,"".concat(x,"-with-avatar"),Z),(0,O.Z)(C,"".concat(x,"-active"),b),(0,O.Z)(C,"".concat(x,"-rtl"),l==="rtl"),(0,O.Z)(C,"".concat(x,"-round"),y),C),s);return o.createElement("div",{className:ee,style:v},A,j)}return d};return o.createElement(oe.C,null,t)};Te.defaultProps={avatar:!1,title:!0,paragraph:!0},Te.Button=xa,Te.Avatar=pa,Te.Input=Ca,Te.Image=Za;var Na=Te,Sa=Na,wa=h(63017),ut=h(41755),Ta=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],dr=o.forwardRef(function(n,e){var t=n.className,r=n.component,i=n.viewBox,a=n.spin,l=n.rotate,u=n.tabIndex,c=n.onClick,s=n.children,v=(0,I.Z)(n,Ta);(0,ut.Kp)(Boolean(r||s),"Should have `component` prop or `children`."),(0,ut.C3)();var d=o.useContext(wa.Z),f=d.prefixCls,m=f===void 0?"anticon":f,g=E()(m,t),b=E()((0,O.Z)({},"".concat(m,"-spin"),!!a)),y=l?{msTransform:"rotate(".concat(l,"deg)"),transform:"rotate(".concat(l,"deg)")}:void 0,x=(0,p.Z)((0,p.Z)({},ut.vD),{},{className:b,style:y,viewBox:i});i||delete x.viewBox;var C=function(){return r?o.createElement(r,(0,p.Z)({},x),s):s?((0,ut.Kp)(Boolean(i)||o.Children.count(s)===1&&o.isValidElement(s)&&o.Children.only(s).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),o.createElement("svg",(0,p.Z)((0,p.Z)({},x),{},{viewBox:i}),s)):null},Z=u;return Z===void 0&&c&&(Z=-1),o.createElement("span",(0,p.Z)((0,p.Z)({role:"img"},v),{},{ref:e,tabIndex:Z,onClick:c,className:g}),C())});dr.displayName="AntdIcon";var vr=dr,Oa=["type","children"],mr=new Set;function Aa(n){return Boolean(typeof n=="string"&&n.length&&!mr.has(n))}function ct(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=n[e];if(Aa(t)){var r=document.createElement("script");r.setAttribute("src",t),r.setAttribute("data-namespace",t),n.length>e+1&&(r.onload=function(){ct(n,e+1)},r.onerror=function(){ct(n,e+1)}),mr.add(t),document.body.appendChild(r)}}function hr(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.scriptUrl,t=n.extraCommonProps,r=t===void 0?{}:t;e&&typeof document!="undefined"&&typeof window!="undefined"&&typeof document.createElement=="function"&&(Array.isArray(e)?ct(e.reverse()):ct([e]));var i=o.forwardRef(function(a,l){var u=a.type,c=a.children,s=(0,I.Z)(a,Oa),v=null;return a.type&&(v=o.createElement("use",{xlinkHref:"#".concat(u)})),c&&(v=c),o.createElement(vr,(0,p.Z)((0,p.Z)((0,p.Z)({},r),s),{},{ref:l}),v)});return i.displayName="Iconfont",i}var Ba=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},gr=Ba;function Fa(n){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(n)}var Ia=Fa,yr=h(14192),Ue=h(62812),Da=h(57186);function La(){var n=(0,o.useState)([]),e=(0,H.Z)(n,2),t=e[0],r=e[1];return{flatMenuKeys:t,setFlatMenuKeys:r}}var ja=(0,Da.f)(La),st=ja,Ha=ie.Z.SubMenu,za=ie.Z.ItemGroup,pr=hr({scriptUrl:yr.Z.iconfontUrl}),xr=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-";if(typeof e=="string"&&e!==""){if(gr(e)||Ia(e))return o.createElement(vr,{component:function(){return o.createElement("img",{src:e,alt:"icon",className:"ant-pro-sider-menu-icon"})}});if(e.startsWith(t))return o.createElement(pr,{type:e})}return e},$a=(0,Ft.Z)(function n(e){var t=this;(0,Bt.Z)(this,n),this.props=void 0,this.getNavMenuItems=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return r.map(function(a){return t.getSubMenuOrItem(a,i)}).filter(function(a){return a})},this.getSubMenuOrItem=function(r,i){if(Array.isArray(r.routes)&&r&&r.routes.length>0){var a=t.getIntlName(r),l=t.props,u=l.subMenuItemRender,c=l.prefixCls,s=l.menu,v=l.iconPrefixes,d=r.icon?o.createElement("span",{className:"".concat(c,"-menu-item"),title:a},!i&&xr(r.icon,v),o.createElement("span",{className:"".concat(c,"-menu-item-title")},a)):o.createElement("span",{className:"".concat(c,"-menu-item"),title:a},a),f=u?u((0,p.Z)((0,p.Z)({},r),{},{isUrl:!1}),d):d,m=(s==null?void 0:s.type)==="group"?za:Ha;return o.createElement(m,{title:f,key:r.key||r.path,onTitleClick:r.onTitleClick},t.getNavMenuItems(r.routes,!0))}return o.createElement(ie.Z.Item,{disabled:r.disabled,key:r.key||r.path,onClick:r.onTitleClick},t.getMenuItemPath(r,i))},this.getIntlName=function(r){var i=r.name,a=r.locale,l=t.props,u=l.menu,c=l.formatMessage;return a&&(u==null?void 0:u.locale)!==!1?c==null?void 0:c({id:a,defaultMessage:i}):i},this.getMenuItemPath=function(r,i){var a=t.conversionPath(r.path||"/"),l=t.props,u=l.location,c=u===void 0?{pathname:"/"}:u,s=l.isMobile,v=l.onCollapse,d=l.menuItemRender,f=l.iconPrefixes,m=t.getIntlName(r),g=t.props.prefixCls,b=i?null:xr(r.icon,f),y=o.createElement("span",{className:"".concat(g,"-menu-item")},b,o.createElement("span",{className:"".concat(g,"-menu-item-title")},m)),x=gr(a);if(x&&(y=o.createElement("span",{title:m,onClick:function(){var R,M;(R=window)===null||R===void 0||(M=R.open)===null||M===void 0||M.call(R,a)},className:"".concat(g,"-menu-item ").concat(g,"-menu-item-link")},b,o.createElement("span",{className:"".concat(g,"-menu-item-title")},m))),d){var C=(0,p.Z)((0,p.Z)({},r),{},{isUrl:x,itemPath:a,isMobile:s,replace:a===c.pathname,onClick:function(){return v&&v(!0)},children:void 0});return d(C,y,t.props)}return y},this.conversionPath=function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")},this.props=e}),Wa=function(e,t){var r=t.layout,i=t.collapsed,a={};return e&&!i&&["side","mix"].includes(r||"mix")&&(a={openKeys:e}),a},Cr=function(e){var t=e.theme,r=e.mode,i=e.className,a=e.handleOpenChange,l=e.style,u=e.menuData,c=e.menu,s=e.matchMenuKeys,v=e.iconfontUrl,d=e.collapsed,f=e.selectedKeys,m=e.onSelect,g=e.openKeys,b=(0,o.useRef)([]),y=st.useContainer(),x=y.flatMenuKeys,C=(0,Me.Z)(c==null?void 0:c.defaultOpenAll),Z=(0,H.Z)(C,2),R=Z[0],M=Z[1],A=(0,Me.Z)(function(){return(c==null?void 0:c.defaultOpenAll)?(0,Ue.O7)(u)||[]:g===!1?!1:[]},{value:g===!1?void 0:g,onChange:a}),$=(0,H.Z)(A,2),j=$[0],B=$[1],W=(0,Me.Z)([],{value:f,onChange:m?function(me){m&&me&&m(me)}:void 0}),Q=(0,H.Z)(W,2),k=Q[0],ee=Q[1];(0,o.useEffect)(function(){(c==null?void 0:c.defaultOpenAll)||g===!1||x.length||s&&(B(s),ee(s))},[s.join("-")]),(0,o.useEffect)(function(){v&&(pr=hr({scriptUrl:v}))},[v]),(0,o.useEffect)(function(){if(s.join("-")!==(k||[]).join("-")&&ee(s),!R&&g!==!1&&s.join("-")!==(j||[]).join("-")){var me=s;(c==null?void 0:c.autoClose)===!1&&(me=Array.from(new Set([].concat((0,Pe.Z)(s),(0,Pe.Z)(j||[]))))),B(me)}else(c==null?void 0:c.ignoreFlatMenu)&&R?B((0,Ue.O7)(u)):x.length>0&&M(!1)},[s.join("-"),d]);var he=(0,o.useMemo)(function(){return Wa(j,e)},[j&&j.join(","),e.layout,e.collapsed]),ge=(0,o.useState)(function(){return new $a(e)}),ye=(0,H.Z)(ge,1),ne=ye[0];if(c==null?void 0:c.loading)return o.createElement("div",{style:(r==null?void 0:r.includes("inline"))?{padding:24}:{marginTop:16}},o.createElement(Sa,{active:!0,title:!1,paragraph:{rows:(r==null?void 0:r.includes("inline"))?6:1}}));var de=E()(i,{"top-nav-menu":r==="horizontal"});ne.props=e,e.openKeys===!1&&!e.handleOpenChange&&(b.current=s);var ve=e.postMenuData?e.postMenuData(u):u;return ve&&(ve==null?void 0:ve.length)<1?null:o.createElement(ie.Z,(0,N.Z)({},he,{key:"Menu",mode:r,inlineIndent:16,defaultOpenKeys:b.current,theme:t,selectedKeys:k,style:l,className:de,onOpenChange:B},e.menuProps),ne.getNavMenuItems(ve,!1))};Cr.defaultProps={postMenuData:function(e){return e||[]}};var br=Cr,Ka=xe.Z.Sider,Er=function(e){return typeof e=="string"?o.createElement("img",{src:e,alt:"logo"}):typeof e=="function"?e():e},Dt=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",r=e.logo,i=e.title,a=e.layout,l=e[t||""];if(l===!1)return null;var u=Er(r),c=o.createElement("h1",null,i!=null?i:"Ant Design Pro");return l?l(u,e.collapsed?null:c,e):a==="mix"&&t==="menuHeaderRender"?null:o.createElement("a",null,u,e.collapsed?null:c)},Zr=function(e){return e?o.createElement(ca,null):o.createElement(da,null)},Ua=function(e){var t,r=e.collapsed,i=e.fixSiderbar,a=e.menuFooterRender,l=e.onCollapse,u=e.theme,c=e.siderWidth,s=e.isMobile,v=e.onMenuHeaderClick,d=e.breakpoint,f=d===void 0?"lg":d,m=e.style,g=e.layout,b=e.menuExtraRender,y=b===void 0?!1:b,x=e.collapsedButtonRender,C=x===void 0?Zr:x,Z=e.links,R=e.menuContentRender,M=e.prefixCls,A=e.onOpenChange,$=e.headerHeight,j=e.logoStyle,B="".concat(M,"-sider"),W=st.useContainer(),Q=W.flatMenuKeys,k=E()("".concat(B),(t={},(0,O.Z)(t,"".concat(B,"-fixed"),i),(0,O.Z)(t,"".concat(B,"-layout-").concat(g),g&&!s),(0,O.Z)(t,"".concat(B,"-light"),u!=="dark"),t)),ee=Dt(e),he=y&&y(e),ge=R!==!1&&Q&&o.createElement(br,(0,N.Z)({},e,{key:"base-menu",mode:"inline",handleOpenChange:A,style:{width:"100%"},className:"".concat(B,"-menu")})),ye=R?R(e,ge):ge;return o.createElement(o.Fragment,null,i&&o.createElement("div",{style:(0,p.Z)({width:r?48:c,overflow:"hidden",flex:"0 0 ".concat(r?48:c,"px"),maxWidth:r?48:c,minWidth:r?48:c,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},m)}),o.createElement(Ka,{collapsible:!0,trigger:null,collapsed:r,breakpoint:f===!1?void 0:f,onCollapse:function(de){s||l==null||l(de)},collapsedWidth:48,style:(0,p.Z)({overflow:"hidden",paddingTop:g==="mix"&&!s?$:void 0},m),width:c,theme:u,className:k},ee&&o.createElement("div",{className:E()("".concat(B,"-logo"),(0,O.Z)({},"".concat(B,"-collapsed"),r)),onClick:g!=="mix"?v:void 0,id:"logo",style:j},ee),he&&o.createElement("div",{className:"".concat(B,"-extra ").concat(!ee&&"".concat(B,"-extra-no-logo"))},he),o.createElement("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"}},ye),o.createElement("div",{className:"".concat(B,"-links")},o.createElement(ie.Z,{theme:u,inlineIndent:16,className:"".concat(B,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline"},(Z||[]).map(function(ne,de){return o.createElement(ie.Z.Item,{className:"".concat(B,"-link"),key:de},ne)}),C&&!s&&o.createElement(ie.Z.Item,{className:"".concat(B,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){l&&l(!r)}},C(r)))),a&&o.createElement("div",{className:E()("".concat(B,"-footer"),(0,O.Z)({},"".concat(B,"-footer-collapsed"),!r))},a(e))))},Mr=Ua,ft=h(48717),ml=h(17212),Ga=h(10178),Va=["rightContentRender","prefixCls"],Xa=function(e){var t=e.rightContentRender,r=e.prefixCls,i=(0,I.Z)(e,Va),a=(0,o.useState)("auto"),l=(0,H.Z)(a,2),u=l[0],c=l[1],s=(0,Ga.Z)(function(){var v=(0,T.Z)(Ze().mark(function d(f){return Ze().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:c(f);case 1:case"end":return g.stop()}},d)}));return function(d){return v.apply(this,arguments)}}(),160);return o.createElement("div",{className:"".concat(r,"-right-content"),style:{minWidth:u}},o.createElement("div",{style:{paddingRight:8}},o.createElement(ft.Z,{onResize:function(d){var f=d.width;s.run(f)}},t&&o.createElement("div",{className:"".concat(r,"-right-content-resize")},t((0,p.Z)((0,p.Z)({},i),{},{rightContentSize:u}))))))},Qa=function(e){var t=(0,o.useRef)(null),r=e.theme,i=e.onMenuHeaderClick,a=e.contentWidth,l=e.rightContentRender,u=e.className,c=e.style,s=e.headerContentRender,v=e.layout,d="".concat(e.prefixCls||"ant-pro","-top-nav-header"),f=Dt((0,p.Z)((0,p.Z)({},e),{},{collapsed:!1}),v==="mix"?"headerTitleRender":void 0),m=E()(d,u,{light:r==="light"}),g=o.createElement(br,(0,N.Z)({},e,e.menuProps)),b=s?s==null?void 0:s(e,g):g;return o.createElement("div",{className:m,style:c},o.createElement("div",{ref:t,className:"".concat(d,"-main ").concat(a==="Fixed"?"wide":"")},f&&o.createElement("div",{className:"".concat(d,"-main-left"),onClick:i},o.createElement("div",{className:"".concat(d,"-logo"),key:"logo",id:"logo"},f)),o.createElement("div",{style:{flex:1},className:"".concat(d,"-menu")},b),l&&o.createElement(Xa,(0,N.Z)({rightContentRender:l,prefixCls:d},e))))},Pr=Qa,Ya=function(e,t){return e===!1?null:e?e(t,null):t},Ja=function(e){var t=e.isMobile,r=e.logo,i=e.collapsed,a=e.onCollapse,l=e.collapsedButtonRender,u=l===void 0?Zr:l,c=e.rightContentRender,s=e.menuHeaderRender,v=e.onMenuHeaderClick,d=e.className,f=e.style,m=e.layout,g=e.children,b=e.headerTheme,y=b===void 0?"dark":b,x=e.splitMenus,C=e.menuData,Z=e.prefixCls,R=(0,o.useContext)(U.ZP.ConfigContext),M=R.direction,A="".concat(Z,"-global-header"),$=E()(d,A,(0,O.Z)({},"".concat(A,"-layout-").concat(m),m&&y==="dark"));if(m==="mix"&&!t&&x){var j=(C||[]).map(function(k){return(0,p.Z)((0,p.Z)({},k),{},{children:void 0,routes:void 0})}),B=(0,Ue.QX)(j);return o.createElement(Pr,(0,N.Z)({mode:"horizontal"},e,{splitMenus:!1,menuData:B,theme:y}))}var W=E()("".concat(A,"-logo"),(0,O.Z)({},"".concat(A,"-logo-rtl"),M==="rtl")),Q=o.createElement("span",{className:W,key:"logo"},o.createElement("a",null,Er(r)));return o.createElement("div",{className:$,style:(0,p.Z)({},f)},t&&Ya(s,Q),t&&u&&o.createElement("span",{className:"".concat(A,"-collapsed-button"),onClick:function(){a&&a(!i)}},u(i)),m==="mix"&&!t&&o.createElement(o.Fragment,null,o.createElement("div",{className:W,onClick:v},Dt((0,p.Z)((0,p.Z)({},e),{},{collapsed:!1}),"headerTitleRender"))),o.createElement("div",{style:{flex:1}},g),c&&c(e))},ka=Ja,Rr=xe.Z.Header,qa=function(n){(0,ir.Z)(t,n);var e=(0,or.Z)(t);function t(){var r;(0,Bt.Z)(this,t);for(var i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return r=e.call.apply(e,[this].concat(a)),r.renderContent=function(){var u=r.props,c=u.isMobile,s=u.onCollapse,v=u.navTheme,d=u.layout,f=u.headerRender,m=u.headerContentRender,g=d==="top",b=(0,Ue.QX)(r.props.menuData||[]),y=o.createElement(ka,(0,N.Z)({onCollapse:s},r.props,{menuData:b}),m&&m(r.props,null));return g&&!c&&(y=o.createElement(Pr,(0,N.Z)({theme:v,mode:"horizontal",onCollapse:s},r.props,{menuData:b}))),f&&typeof f=="function"?f(r.props,y):y},r}return(0,Ft.Z)(t,[{key:"render",value:function(){var i,a=this.props,l=a.fixedHeader,u=a.layout,c=a.className,s=a.style,v=a.navTheme,d=a.collapsed,f=a.siderWidth,m=a.hasSiderMenu,g=a.isMobile,b=a.prefixCls,y=a.headerHeight,x=l||u==="mix",C=u==="top",Z=x&&m&&!C&&!g,R=E()(c,(i={},(0,O.Z)(i,"".concat(b,"-fixed-header"),x),(0,O.Z)(i,"".concat(b,"-fixed-header-action"),!d),(0,O.Z)(i,"".concat(b,"-top-menu"),C),(0,O.Z)(i,"".concat(b,"-header-").concat(v),v&&u!=="mix"),i)),M=u!=="mix"&&Z?"calc(100% - ".concat(d?48:f,"px)"):"100%",A=x?0:void 0;return o.createElement(o.Fragment,null,x&&o.createElement(Rr,{style:{height:y,lineHeight:"".concat(y,"px"),background:"transparent"}}),o.createElement(Rr,{style:(0,p.Z)({padding:0,height:y,lineHeight:"".concat(y,"px"),width:M,zIndex:u==="mix"?100:19,right:A},s),className:R},this.renderContent()))}}]),t}(o.Component),_a=qa,ei=h(14779),Lt=h.n(ei),ti=function(e,t,r){if(r){var i=(0,Pe.Z)(r.keys()).find(function(l){return Lt()(l).test(e)});if(i)return r.get(i)}if(t){var a=Object.keys(t).find(function(l){return Lt()(l).test(e)});if(a)return t[a]}return{path:""}},Nr=function(e,t){var r=e.pathname,i=r===void 0?"/":r,a=e.breadcrumb,l=e.breadcrumbMap,u=e.formatMessage,c=e.title,s=e.menu,v=s===void 0?{locale:!1}:s,d=t?"":c||"",f=ti(i,a,l);if(!f)return{title:d,id:"",pageName:d};var m=f.name;return v.locale!==!1&&f.locale&&u&&(m=u({id:f.locale||"",defaultMessage:f.name})),m?t||!c?{title:m,id:f.locale||"",pageName:m}:{title:"".concat(m," - ").concat(c),id:f.locale||"",pageName:m}:{title:d,id:f.locale||"",pageName:d}},hl=function(e,t){return Nr(e,t).title},gl=null,ri=h(75610),ni=h(97544),ai=(0,o.createContext)({}),Oe=ai,yl=h(57338),ii=h(25084),oi=function(e){var t=e.isMobile,r=e.menuData,i=e.siderWidth,a=e.collapsed,l=e.onCollapse,u=e.style,c=e.className,s=e.hide,v=e.getContainer,d=e.prefixCls,f=e.matchMenuKeys,m=st.useContainer(),g=m.setFlatMenuKeys;(0,o.useEffect)(function(){if(!(!r||r.length<1)){var y=nr(r);g(Object.keys(y))}},[f.join("-")]),(0,o.useEffect)(function(){t===!0&&(l==null||l(!0))},[t]);var b=(0,Ce.Z)(e,["className","style"]);return s?null:t?o.createElement(ii.Z,{visible:!a,placement:"left",className:E()("".concat(d,"-drawer-sider"),c),onClose:function(){return l==null?void 0:l(!0)},style:(0,p.Z)({padding:0,height:"100vh"},u),getContainer:v,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"}},o.createElement(Mr,(0,N.Z)({},b,{className:E()("".concat(d,"-sider"),c),collapsed:t?!1:a,splitMenus:!1}))):o.createElement(Mr,(0,N.Z)({className:E()("".concat(d,"-sider"),c)},b,{style:u}))},Sr=oi;function li(n){if(!n||n==="/")return["/"];var e=n.split("/").filter(function(t){return t});return e.map(function(t,r){return"/".concat(e.slice(0,r+1).join("/"))})}var ui=function(e){var t=e.breadcrumbName,r=e.path;return o.createElement("a",{href:r},t)},ci=function(e,t){var r=t.formatMessage,i=t.menu;return e.locale&&r&&(i==null?void 0:i.locale)!==!1?r({id:e.locale,defaultMessage:e.name}):e.name},si=function(e,t){var r=e.get(t);if(!r){var i=Array.from(e.keys())||[],a=i.find(function(l){return Lt()(l.replace("?","")).test(t)});a&&(r=e.get(a))}return r||{path:""}},fi=function(e){var t=e.location,r=e.breadcrumbMap;return{location:t,breadcrumbMap:r}},di=function(e,t,r){var i=li(e==null?void 0:e.pathname),a=i.map(function(l){var u=si(t,l),c=ci(u,r),s=u.hideInBreadcrumb;return c&&!s?{path:l,breadcrumbName:c,component:u.component}:{path:"",breadcrumbName:""}}).filter(function(l){return l&&l.path});return a},vi=function(e){var t=fi(e),r=t.location,i=t.breadcrumbMap;return r&&r.pathname&&i?di(r,i,e):[]},mi=function(e,t){var r=e.breadcrumbRender,i=e.itemRender,a=t.breadcrumbProps||{},l=a.minLength,u=l===void 0?2:l,c=vi(e),s=i||ui,v=c;return r&&(v=r(v)||[]),(v&&v.length<u||r===!1)&&(v=void 0),{routes:v,itemRender:s}};function hi(n){return(0,Pe.Z)(n).reduce(function(e,t){var r=(0,H.Z)(t,2),i=r[0],a=r[1];return e[i]=a,e},{})}var gi=function n(e,t,r,i){var a=tr(e,(t==null?void 0:t.locale)||!1,r,!0),l=a.menuData,u=a.breadcrumb;return i?n(i(l),t,r,void 0):{breadcrumb:hi(u),breadcrumbMap:u,menuData:l}},yi=gi,wr=h(83832),Tr=h(7890),pi=h(78164),xi=function(e){var t=e.style,r=e.className,i=e.children,a=e.ErrorBoundary||pi.Z;return o.createElement(Tr.oK,{autoClearCache:!0},e.ErrorBoundary===!1?o.createElement(xe.Z.Content,{className:r,style:t},i):o.createElement(a,null,o.createElement(xe.Z.Content,{className:r,style:t},i)))},Ci=xi,bi=function(e){var t=["sidemenu","topmenu"];return t.includes(e)?e==null?void 0:e.replace("menu",""):e},Ei=bi,Zi=h(51812),Mi=function(e){var t=(0,o.useState)({}),r=(0,H.Z)(t,2),i=r[0],a=r[1];return(0,o.useEffect)(function(){a((0,Zi.Z)({layout:(0,it.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,headerTheme:e.headerTheme}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar,e.headerTheme]),i},Pi=Mi,Ri=["id","defaultMessage"],Ni=["fixSiderbar","navTheme","layout"],Or=0,Si=function(e,t){return e.headerRender===!1||e.pure?null:o.createElement(_a,(0,N.Z)({matchMenuKeys:t},e))},wi=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,p.Z)({},e),o.createElement(ni.Z,null)):null},Ti=function(e,t){var r=e.layout,i=e.navTheme,a=e.isMobile,l=e.openKeys,u=e.splitMenus,c=e.menuRender;if(e.menuRender===!1||e.pure)return null;var s=e.menuData;if(u&&(l!==!1||r==="mix")&&!a){var v=(0,H.Z)(t,1),d=v[0];if(d){var f,m;s=((f=e.menuData)===null||f===void 0||(m=f.find(function(y){return y.key===d}))===null||m===void 0?void 0:m.routes)||[]}else s=[]}var g=(0,Ue.QX)(s||[]);if(g&&(g==null?void 0:g.length)<1&&u)return null;if(r==="top"&&!a)return o.createElement(Sr,(0,N.Z)({matchMenuKeys:t},e,{hide:!0}));var b=o.createElement(Sr,(0,N.Z)({matchMenuKeys:t},e,{style:i==="realDark"?{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"}:{},menuData:g}));return c?c(e,b):b},Oi=function(e,t){var r=t.pageTitleRender,i=Nr(e);if(r===!1)return{title:t.title||"",id:"",pageName:""};if(r){var a=r(e,i.title,i);if(typeof a=="string")return(0,p.Z)((0,p.Z)({},i),{},{title:a});_()(typeof a=="string","pro-layout: renderPageTitle return value should be a string")}return i},Ai=function(e,t,r){return e?t?48:r:0},Ar=function(e){var t,r,i,a,l=e||{},u=l.children,c=l.onCollapse,s=l.location,v=s===void 0?{pathname:"/"}:s,d=l.contentStyle,f=l.route,m=l.defaultCollapsed,g=l.style,b=l.disableContentMargin,y=l.siderWidth,x=y===void 0?208:y,C=l.menu,Z=l.isChildrenLayout,R=l.menuDataRender,M=l.actionRef,A=l.formatMessage,$=l.loading,j=(0,o.useContext)(U.ZP.ConfigContext),B=(t=e.prefixCls)!==null&&t!==void 0?t:j.getPrefixCls("pro"),W=(0,Me.Z)(!1,{value:C==null?void 0:C.loading,onChange:C==null?void 0:C.onLoadingChange}),Q=(0,H.Z)(W,2),k=Q[0],ee=Q[1],he=(0,o.useState)(function(){return Or+=1,"pro-layout-".concat(Or)}),ge=(0,H.Z)(he,1),ye=ge[0],ne=(0,o.useCallback)(function(re){var De=re.id,Et=re.defaultMessage,Vt=(0,I.Z)(re,Ri);if(A)return A((0,p.Z)({id:De,defaultMessage:Et},Vt));var Le=(0,ri.e)();return Le[De]?Le[De]:Et},[A]),de=(0,ze.ZP)(function(){return(C==null?void 0:C.params)?[ye,C==null?void 0:C.params]:[ye,{}]},function(){var re=(0,T.Z)(Ze().mark(function De(Et,Vt){var Le,nn;return Ze().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return ee(!0),je.next=3,C==null||(Le=C.request)===null||Le===void 0?void 0:Le.call(C,Vt,(f==null?void 0:f.routes)||[]);case 3:return nn=je.sent,ee(!1),je.abrupt("return",nn);case 6:case"end":return je.stop()}},De)}));return function(De,Et){return re.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),ve=de.data,me=de.mutate,zt=(0,o.useMemo)(function(){return yi(ve||(f==null?void 0:f.routes)||[],C,ne,R)},[ne,C,R,ve,f==null?void 0:f.routes]),Ge=zt||{},mt=Ge.breadcrumb,ht=mt===void 0?{}:mt,gt=Ge.breadcrumbMap,Ve=Ge.menuData,le=Ve===void 0?[]:Ve;M&&(C==null?void 0:C.request)&&(M.current={reload:function(){me()}});var te=(0,o.useMemo)(function(){return ar(v.pathname||"/",le||[],!0)},[v.pathname,le]),ue=(0,o.useMemo)(function(){return Array.from(new Set(te.map(function(re){return re.key||re.path||""})))},[te]),yt=te[te.length-1]||{},pt=Pi(yt),Fe=(0,p.Z)((0,p.Z)({},e),pt),$t=Fe.fixSiderbar,xt=Fe.navTheme,Ct=Fe.layout,Re=(0,I.Z)(Fe,Ni),Ne=Ei(Ct),bt=(0,ae.ZP)(),Xe=(bt==="sm"||bt==="xs")&&!e.disableMobile,Qo=Ne!=="top"&&!Xe,Yo=(0,G.Z)(function(){return m||!1},{value:e.collapsed,onChange:c}),qr=(0,H.Z)(Yo,2),Qe=qr[0],_r=qr[1],Ie=(0,Ce.Z)((0,p.Z)((0,p.Z)((0,p.Z)({prefixCls:B},e),{},{siderWidth:x},pt),{},{formatMessage:ne,breadcrumb:ht,menu:(0,p.Z)((0,p.Z)({},C),{},{loading:k}),layout:Ne}),["className","style","breadcrumbRender"]),Wt=Oi((0,p.Z)((0,p.Z)({pathname:v.pathname},Ie),{},{breadcrumbMap:gt}),e),Jo=mi((0,p.Z)((0,p.Z)({},Ie),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:gt}),e),Kt=Ti((0,p.Z)((0,p.Z)({},Ie),{},{menuData:le,onCollapse:_r,isMobile:Xe,theme:xt==="dark"?"dark":"light",collapsed:Qe}),ue),Ut=Si((0,p.Z)((0,p.Z)({},Ie),{},{hasSiderMenu:!!Kt,menuData:le,isMobile:Xe,collapsed:Qe,onCollapse:_r,theme:xt==="dark"?"dark":"light"}),ue),en=wi((0,p.Z)({isMobile:Xe,collapsed:Qe},Ie)),ko=(0,o.useContext)(Oe),qo=ko.isChildrenLayout,Gt=Z!==void 0?Z:qo,be="".concat(B,"-basicLayout"),_o=E()(e.className,"ant-design-pro",be,(r={},(0,O.Z)(r,"screen-".concat(bt),bt),(0,O.Z)(r,"".concat(be,"-top-menu"),Ne==="top"),(0,O.Z)(r,"".concat(be,"-is-children"),Gt),(0,O.Z)(r,"".concat(be,"-fix-siderbar"),$t),(0,O.Z)(r,"".concat(be,"-").concat(Ne),Ne),r)),el=Ai(!!Qo,Qe,x),tn={position:"relative"};(Gt||d&&d.minHeight)&&(tn.minHeight=0);var tl=E()("".concat(be,"-content"),(i={},(0,O.Z)(i,"".concat(be,"-has-header"),Ut),(0,O.Z)(i,"".concat(be,"-content-disable-margin"),b),i));(0,o.useEffect)(function(){var re;(re=e.onPageChange)===null||re===void 0||re.call(e,e.location)},[v.pathname,(a=v.pathname)===null||a===void 0?void 0:a.search]);var rl=(0,o.useState)(!1),rn=(0,H.Z)(rl,2),nl=rn[0],al=rn[1];return Mt(Wt,e.title||!1),o.createElement(st.Provider,null,o.createElement(Oe.Provider,{value:(0,p.Z)((0,p.Z)({},Ie),{},{breadcrumb:Jo,menuData:le,isMobile:Xe,collapsed:Qe,isChildrenLayout:!0,title:Wt.pageName,hasSiderMenu:!!Kt,hasHeader:!!Ut,siderWidth:el,hasFooter:!!en,hasFooterToolbar:nl,setHasFooterToolbar:al,pageTitleInfo:Wt,matchMenus:te,matchMenuKeys:ue,currentMenu:yt})},e.pure?o.createElement(Tr.oK,{autoClearCache:!0},u):o.createElement("div",{className:_o},o.createElement(xe.Z,{style:(0,p.Z)({minHeight:"100%"},g)},Kt,o.createElement("div",{style:tn,className:j.getPrefixCls("layout")},Ut,o.createElement(Ci,(0,N.Z)({isChildrenLayout:Gt},Re,{className:tl,style:d}),$?o.createElement(wr.Z,null):u),en)))))},Bi=function(){return o.createElement("svg",{width:"32px",height:"32px",viewBox:"0 0 200 200"},o.createElement("defs",null,o.createElement("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1"},o.createElement("stop",{stopColor:"#4285EB",offset:"0%"}),o.createElement("stop",{stopColor:"#2EC7FF",offset:"100%"})),o.createElement("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2"},o.createElement("stop",{stopColor:"#29CDFF",offset:"0%"}),o.createElement("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),o.createElement("stop",{stopColor:"#0A60FF",offset:"100%"})),o.createElement("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3"},o.createElement("stop",{stopColor:"#FA816E",offset:"0%"}),o.createElement("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),o.createElement("stop",{stopColor:"#F51D2C",offset:"100%"})),o.createElement("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4"},o.createElement("stop",{stopColor:"#FA8E7D",offset:"0%"}),o.createElement("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),o.createElement("stop",{stopColor:"#F51D2C",offset:"100%"}))),o.createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(-20.000000, -20.000000)"},o.createElement("g",{transform:"translate(20.000000, 20.000000)"},o.createElement("g",null,o.createElement("g",{fillRule:"nonzero"},o.createElement("g",null,o.createElement("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)"}),o.createElement("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)"})),o.createElement("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)"})),o.createElement("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"}))))))};Ar.defaultProps=(0,p.Z)((0,p.Z)({logo:o.createElement(Bi,null)},yr.Z),{},{location:(0,Je.Z)()?window.location:void 0});var Fi=Ar,pl=h(70883),Br=h(75164);function Ii(n){var e,t=function(a){return function(){e=null,n.apply(void 0,(0,Pe.Z)(a))}},r=function(){if(e==null){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];e=(0,Br.Z)(t(l))}};return r.cancel=function(){return Br.Z.cancel(e)},r}function Fr(){return function(e,t,r){var i=r.value,a=!1;return{configurable:!0,get:function(){if(a||this===e.prototype||this.hasOwnProperty(t))return i;var u=Ii(i.bind(this));return a=!0,Object.defineProperty(this,t,{value:u,configurable:!0,writable:!0}),a=!1,u}}}}var Di=h(64019);function dt(n){return n!==window?n.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function Ir(n,e,t){if(t!==void 0&&e.top>n.top-t)return t+e.top}function Dr(n,e,t){if(t!==void 0&&e.bottom<n.bottom+t){var r=window.innerHeight-e.bottom;return t+r}}var Lr=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],Ae=[];function xl(){return Ae}function jr(n,e){if(!!n){var t=Ae.find(function(r){return r.target===n});t?t.affixList.push(e):(t={target:n,affixList:[e],eventHandlers:{}},Ae.push(t),Lr.forEach(function(r){t.eventHandlers[r]=(0,Di.Z)(n,r,function(){t.affixList.forEach(function(i){i.lazyUpdatePosition()})})}))}}function Hr(n){var e=Ae.find(function(t){var r=t.affixList.some(function(i){return i===n});return r&&(t.affixList=t.affixList.filter(function(i){return i!==n})),r});e&&e.affixList.length===0&&(Ae=Ae.filter(function(t){return t!==e}),Lr.forEach(function(t){var r=e.eventHandlers[t];r&&r.remove&&r.remove()}))}var zr=function(n,e,t,r){var i=arguments.length,a=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,t):r,l;if((typeof Reflect=="undefined"?"undefined":(0,it.Z)(Reflect))==="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(n,e,t,r);else for(var u=n.length-1;u>=0;u--)(l=n[u])&&(a=(i<3?l(a):i>3?l(e,t,a):l(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a};function Li(){return typeof window!="undefined"?window:null}var Be;(function(n){n[n.None=0]="None",n[n.Prepare=1]="Prepare"})(Be||(Be={}));var vt=function(n){(0,ir.Z)(t,n);var e=(0,or.Z)(t);function t(){var r;return(0,Bt.Z)(this,t),r=e.apply(this,arguments),r.state={status:Be.None,lastAffix:!1,prevTarget:null},r.getOffsetTop=function(){var i=r.props,a=i.offsetBottom,l=i.offsetTop;return a===void 0&&l===void 0?0:l},r.getOffsetBottom=function(){return r.props.offsetBottom},r.savePlaceholderNode=function(i){r.placeholderNode=i},r.saveFixedNode=function(i){r.fixedNode=i},r.measure=function(){var i=r.state,a=i.status,l=i.lastAffix,u=r.props.onChange,c=r.getTargetFunc();if(!(a!==Be.Prepare||!r.fixedNode||!r.placeholderNode||!c)){var s=r.getOffsetTop(),v=r.getOffsetBottom(),d=c();if(!!d){var f={status:Be.None},m=dt(d),g=dt(r.placeholderNode),b=Ir(g,m,s),y=Dr(g,m,v);b!==void 0?(f.affixStyle={position:"fixed",top:b,width:g.width,height:g.height},f.placeholderStyle={width:g.width,height:g.height}):y!==void 0&&(f.affixStyle={position:"fixed",bottom:y,width:g.width,height:g.height},f.placeholderStyle={width:g.width,height:g.height}),f.lastAffix=!!f.affixStyle,u&&l!==f.lastAffix&&u(f.lastAffix),r.setState(f)}}},r.prepareMeasure=function(){if(r.setState({status:Be.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var i},r}return(0,Ft.Z)(t,[{key:"getTargetFunc",value:function(){var i=this.context.getTargetContainer,a=this.props.target;return a!==void 0?a:i||Li}},{key:"componentDidMount",value:function(){var i=this,a=this.getTargetFunc();a&&(this.timeout=setTimeout(function(){jr(a(),i),i.updatePosition()}))}},{key:"componentDidUpdate",value:function(i){var a=this.state.prevTarget,l=this.getTargetFunc(),u=(l==null?void 0:l())||null;a!==u&&(Hr(this),u&&(jr(u,this),this.updatePosition()),this.setState({prevTarget:u})),(i.offsetTop!==this.props.offsetTop||i.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),Hr(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var i=this.getTargetFunc(),a=this.state.affixStyle;if(i&&a){var l=this.getOffsetTop(),u=this.getOffsetBottom(),c=i();if(c&&this.placeholderNode){var s=dt(c),v=dt(this.placeholderNode),d=Ir(v,s,l),f=Dr(v,s,u);if(d!==void 0&&a.top===d||f!==void 0&&a.bottom===f)return}}this.prepareMeasure()}},{key:"render",value:function(){var i=this,a=this.state,l=a.affixStyle,u=a.placeholderStyle,c=this.props,s=c.affixPrefixCls,v=c.children,d=E()((0,O.Z)({},s,!!l)),f=(0,lt.Z)(this.props,["prefixCls","offsetTop","offsetBottom","target","onChange","affixPrefixCls"]);return o.createElement(ft.Z,{onResize:function(){i.updatePosition()}},o.createElement("div",(0,N.Z)({},f,{ref:this.savePlaceholderNode}),l&&o.createElement("div",{style:u,"aria-hidden":"true"}),o.createElement("div",{className:d,ref:this.saveFixedNode,style:l},o.createElement(ft.Z,{onResize:function(){i.updatePosition()}},v))))}}]),t}(o.Component);vt.contextType=oe.E_,zr([Fr()],vt.prototype,"updatePosition",null),zr([Fr()],vt.prototype,"lazyUpdatePosition",null);var ji=o.forwardRef(function(n,e){var t=n.prefixCls,r=o.useContext(oe.E_),i=r.getPrefixCls,a=i("affix",t),l=(0,N.Z)((0,N.Z)({},n),{affixPrefixCls:a});return o.createElement(vt,(0,N.Z)({},l,{ref:e}))}),Hi=ji,Cl=h(59903),bl=h(81262),El=h(59250),Zl=h(94233),Ml=h(49111),zi=h(30470),$i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Wi=$i,$r=function(e,t){return o.createElement(at.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:Wi}))};$r.displayName="ArrowLeftOutlined";var Ki=o.forwardRef($r),Ui={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"},Gi=Ui,Wr=function(e,t){return o.createElement(at.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:Gi}))};Wr.displayName="ArrowRightOutlined";var Vi=o.forwardRef(Wr),Xi=h(50344),Qi=h(57254),Yi=h(81555),Ji=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t},Kr=function(e){var t=e.prefixCls,r=e.separator,i=r===void 0?"/":r,a=e.children,l=e.overlay,u=e.dropdownProps,c=Ji(e,["prefixCls","separator","children","overlay","dropdownProps"]),s=o.useContext(oe.E_),v=s.getPrefixCls,d=v("breadcrumb",t),f=function(b){return l?o.createElement(Yi.Z,(0,N.Z)({overlay:l,placement:"bottom"},u),o.createElement("span",{className:"".concat(d,"-overlay-link")},b,o.createElement(Qi.Z,null))):b},m;return"href"in c?m=o.createElement("a",(0,N.Z)({className:"".concat(d,"-link")},c),a):m=o.createElement("span",(0,N.Z)({className:"".concat(d,"-link")},c),a),m=f(m),a?o.createElement("span",null,m,i&&o.createElement("span",{className:"".concat(d,"-separator")},i)):null};Kr.__ANT_BREADCRUMB_ITEM=!0;var Ur=Kr,Gr=function(e){var t=e.children,r=o.useContext(oe.E_),i=r.getPrefixCls,a=i("breadcrumb");return o.createElement("span",{className:"".concat(a,"-separator")},t||"/")};Gr.__ANT_BREADCRUMB_SEPARATOR=!0;var ki=Gr,qi=h(21687),_i=h(96159),eo=function(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(n);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(t[r[i]]=n[r[i]]);return t};function to(n,e){if(!n.breadcrumbName)return null;var t=Object.keys(e).join("|"),r=n.breadcrumbName.replace(new RegExp(":(".concat(t,")"),"g"),function(i,a){return e[a]||i});return r}function ro(n,e,t,r){var i=t.indexOf(n)===t.length-1,a=to(n,e);return i?o.createElement("span",null,a):o.createElement("a",{href:"#/".concat(r.join("/"))},a)}var Vr=function(e,t){return e=(e||"").replace(/^\//,""),Object.keys(t).forEach(function(r){e=e.replace(":".concat(r),t[r])}),e},no=function(e,t,r){var i=(0,Pe.Z)(e),a=Vr(t||"",r);return a&&i.push(a),i},jt=function(e){var t=e.prefixCls,r=e.separator,i=r===void 0?"/":r,a=e.style,l=e.className,u=e.routes,c=e.children,s=e.itemRender,v=s===void 0?ro:s,d=e.params,f=d===void 0?{}:d,m=eo(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),g=o.useContext(oe.E_),b=g.getPrefixCls,y=g.direction,x,C=b("breadcrumb",t);if(u&&u.length>0){var Z=[];x=u.map(function(M){var A=Vr(M.path,f);A&&Z.push(A);var $;return M.children&&M.children.length&&($=o.createElement(ie.Z,null,M.children.map(function(j){return o.createElement(ie.Z.Item,{key:j.path||j.breadcrumbName},v(j,f,u,no(Z,j.path,f)))}))),o.createElement(Ur,{overlay:$,separator:i,key:A||M.breadcrumbName},v(M,f,u,Z))})}else c&&(x=(0,Xi.Z)(c).map(function(M,A){return M&&((0,qi.Z)(M.type&&(M.type.__ANT_BREADCRUMB_ITEM===!0||M.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),(0,_i.Tm)(M,{separator:i,key:A}))}));var R=E()(C,(0,O.Z)({},"".concat(C,"-rtl"),y==="rtl"),l);return o.createElement("div",(0,N.Z)({className:R,style:a},m),x)};jt.Item=Ur,jt.Separator=ki;var ao=jt,io=ao,Xr=h(51890),oo=h(19650),lo=h(34952),uo=h(42051),co=function(e,t,r){return!t||!r?null:o.createElement(uo.Z,{componentName:"PageHeader"},function(i){var a=i.back;return o.createElement("div",{className:"".concat(e,"-back")},o.createElement(lo.Z,{onClick:function(u){r==null||r(u)},className:"".concat(e,"-back-button"),"aria-label":a},t))})},so=function(e){return o.createElement(io,e)},fo=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"ltr";return e.backIcon!==void 0?e.backIcon:t==="rtl"?o.createElement(Vi,null):o.createElement(Ki,null)},vo=function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"ltr",i=t.title,a=t.avatar,l=t.subTitle,u=t.tags,c=t.extra,s=t.onBack,v="".concat(e,"-heading"),d=i||l||u||c;if(!d)return null;var f=fo(t,r),m=co(e,f,s),g=m||a||d;return o.createElement("div",{className:v},g&&o.createElement("div",{className:"".concat(v,"-left")},m,a&&o.createElement(Xr.C,a),i&&o.createElement("span",{className:"".concat(v,"-title"),title:typeof i=="string"?i:void 0},i),l&&o.createElement("span",{className:"".concat(v,"-sub-title"),title:typeof l=="string"?l:void 0},l),u&&o.createElement("span",{className:"".concat(v,"-tags")},u)),c&&o.createElement("span",{className:"".concat(v,"-extra")},o.createElement(oo.Z,null,c)))},mo=function(e,t){return t?o.createElement("div",{className:"".concat(e,"-footer")},t):null},ho=function(e,t){return o.createElement("div",{className:"".concat(e,"-content")},t)},go=function(e){var t=(0,zi.Z)(!1),r=(0,H.Z)(t,2),i=r[0],a=r[1],l=function(c){var s=c.width;a(s<768,!0)};return o.createElement(oe.C,null,function(u){var c,s=u.getPrefixCls,v=u.pageHeader,d=u.direction,f,m=e.prefixCls,g=e.style,b=e.footer,y=e.children,x=e.breadcrumb,C=e.breadcrumbRender,Z=e.className,R=!0;"ghost"in e?R=e.ghost:v&&"ghost"in v&&(R=v.ghost);var M=s("page-header",m),A=function(){return(x==null?void 0:x.routes)?so(x):null},$=A(),j=x&&"props"in x,B=(f=C==null?void 0:C(e,$))!==null&&f!==void 0?f:$,W=j?x:B,Q=E()(M,Z,(c={"has-breadcrumb":!!W,"has-footer":!!b},(0,O.Z)(c,"".concat(M,"-ghost"),R),(0,O.Z)(c,"".concat(M,"-rtl"),d==="rtl"),(0,O.Z)(c,"".concat(M,"-compact"),i),c));return o.createElement(ft.Z,{onResize:l},o.createElement("div",{className:Q,style:g},W,vo(M,e,d),y&&ho(M,y),mo(M,b)))})},yo=go,Pl=h(18106),Qr=h(16004),Rl=h(53645),po=function(e){var t=(0,o.useContext)(Oe),r=e.children,i=e.contentWidth,a=e.className,l=e.style,u=(0,o.useContext)(U.ZP.ConfigContext),c=u.getPrefixCls,s=e.prefixCls||c("pro"),v=i||t.contentWidth,d="".concat(s,"-grid-content");return o.createElement("div",{className:E()(d,a,{wide:v==="Fixed"}),style:l},o.createElement("div",{className:"".concat(s,"-grid-content-children")},r))},xo=po,Nl=h(56264),Co=["children","className","extra","style","renderContent"],bo=function(e){var t=e.children,r=e.className,i=e.extra,a=e.style,l=e.renderContent,u=(0,I.Z)(e,Co),c=(0,o.useContext)(U.ZP.ConfigContext),s=c.getPrefixCls,v=e.prefixCls||s("pro"),d="".concat(v,"-footer-bar"),f=(0,o.useContext)(Oe),m=(0,o.useMemo)(function(){var b=f.hasSiderMenu,y=f.isMobile,x=f.siderWidth;if(!!b)return x?y?"100%":"calc(100% - ".concat(x,"px)"):"100%"},[f.collapsed,f.hasSiderMenu,f.isMobile,f.siderWidth]),g=o.createElement(o.Fragment,null,o.createElement("div",{className:"".concat(d,"-left")},i),o.createElement("div",{className:"".concat(d,"-right")},t));return(0,o.useEffect)(function(){return!f||!(f==null?void 0:f.setHasFooterToolbar)?function(){}:(f==null||f.setHasFooterToolbar(!0),function(){var b;f==null||(b=f.setHasFooterToolbar)===null||b===void 0||b.call(f,!1)})},[]),o.createElement("div",(0,N.Z)({className:E()(r,"".concat(d)),style:(0,p.Z)({width:m},a)},(0,Ce.Z)(u,["prefixCls"])),l?l((0,p.Z)((0,p.Z)((0,p.Z)({},e),f),{},{leftWidth:m}),g):g)},Eo=bo,Sl=h(12395),Zo=function(e){if(!e)return 1;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},Mo=function(e){var t=e.children,r=e.style,i=e.className,a=e.markStyle,l=e.markClassName,u=e.zIndex,c=u===void 0?9:u,s=e.gapX,v=s===void 0?212:s,d=e.gapY,f=d===void 0?222:d,m=e.width,g=m===void 0?120:m,b=e.height,y=b===void 0?64:b,x=e.rotate,C=x===void 0?-22:x,Z=e.image,R=e.content,M=e.offsetLeft,A=e.offsetTop,$=e.fontStyle,j=$===void 0?"normal":$,B=e.fontWeight,W=B===void 0?"normal":B,Q=e.fontColor,k=Q===void 0?"rgba(0,0,0,.15)":Q,ee=e.fontSize,he=ee===void 0?16:ee,ge=e.fontFamily,ye=ge===void 0?"sans-serif":ge,ne=e.prefixCls,de=(0,o.useContext)(U.ZP.ConfigContext),ve=de.getPrefixCls,me=ve("pro-layout-watermark",ne),zt=E()("".concat(me,"-wrapper"),i),Ge=E()(me,l),mt=(0,o.useState)(""),ht=(0,H.Z)(mt,2),gt=ht[0],Ve=ht[1];return(0,o.useEffect)(function(){var le=document.createElement("canvas"),te=le.getContext("2d"),ue=Zo(te),yt="".concat((v+g)*ue,"px"),pt="".concat((f+y)*ue,"px"),Fe=M||v/2,$t=A||f/2;if(le.setAttribute("width",yt),le.setAttribute("height",pt),te){te.translate(Fe*ue,$t*ue),te.rotate(Math.PI/180*Number(C));var xt=g*ue,Ct=y*ue;if(Z){var Re=new Image;Re.crossOrigin="anonymous",Re.referrerPolicy="no-referrer",Re.src=Z,Re.onload=function(){te.drawImage(Re,0,0,xt,Ct),Ve(le.toDataURL())}}else if(R){var Ne=Number(he)*ue;te.font="".concat(j," normal ").concat(W," ").concat(Ne,"px/").concat(Ct,"px ").concat(ye),te.fillStyle=k,te.fillText(R,0,0),Ve(le.toDataURL())}}else console.error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas")},[v,f,M,A,C,j,W,g,y,ye,k,Z,R,he]),o.createElement("div",{style:(0,p.Z)({position:"relative"},r),className:zt},t,o.createElement("div",{className:Ge,style:(0,p.Z)({zIndex:c,position:"absolute",left:0,top:0,width:"100%",height:"100%",backgroundSize:"".concat(v+g,"px"),pointerEvents:"none",backgroundRepeat:"repeat",backgroundImage:"url('".concat(gt,"')")},a)}))},Po=Mo,Ro=["title","content","pageHeaderRender","header","prefixedClassName","extraContent","style","prefixCls","breadcrumbRender"],No=["children","loading","className","style","footer","affixProps","ghost","fixedHeader","breadcrumbRender"];function So(n){return(0,it.Z)(n)==="object"?n:{spinning:n}}var wo=function(e){var t=e.tabList,r=e.tabActiveKey,i=e.onTabChange,a=e.tabBarExtraContent,l=e.tabProps,u=e.prefixedClassName;return Array.isArray(t)||a?o.createElement(Qr.Z,(0,N.Z)({className:"".concat(u,"-tabs"),activeKey:r,onChange:function(s){i&&i(s)},tabBarExtraContent:a},l),t==null?void 0:t.map(function(c,s){return o.createElement(Qr.Z.TabPane,(0,N.Z)({},c,{tab:c.tab,key:c.key||s}))})):null},To=function(e,t,r){return!e&&!t?null:o.createElement("div",{className:"".concat(r,"-detail")},o.createElement("div",{className:"".concat(r,"-main")},o.createElement("div",{className:"".concat(r,"-row")},e&&o.createElement("div",{className:"".concat(r,"-content")},e),t&&o.createElement("div",{className:"".concat(r,"-extraContent")},t))))},wl=function(e){var t=useContext(RouteContext);return React.createElement("div",{style:{height:"100%",display:"flex",alignItems:"center"}},React.createElement(_Breadcrumb,_extends({},t==null?void 0:t.breadcrumb,t==null?void 0:t.breadcrumbProps,e)))},Oo=function(e){var t,r=(0,o.useContext)(Oe),i=e.title,a=e.content,l=e.pageHeaderRender,u=e.header,c=e.prefixedClassName,s=e.extraContent,v=e.style,d=e.prefixCls,f=e.breadcrumbRender,m=(0,I.Z)(e,Ro),g=(0,o.useMemo)(function(){if(!!f)return f},[f]);if(l===!1)return null;if(l)return o.createElement(o.Fragment,null," ",l((0,p.Z)((0,p.Z)({},e),r)));var b=i;!i&&i!==!1&&(b=r.title);var y=(0,p.Z)((0,p.Z)((0,p.Z)({},r),{},{title:b},m),{},{footer:wo((0,p.Z)((0,p.Z)({},m),{},{breadcrumbRender:f,prefixedClassName:c}))},u),x=y.breadcrumb,C=(!x||!(x==null?void 0:x.itemRender)&&!(x==null||(t=x.routes)===null||t===void 0?void 0:t.length))&&!f;return["title","subTitle","extra","tags","footer","avatar","backIcon"].every(function(Z){return!y[Z]})&&C&&!a&&!s?null:o.createElement("div",{className:"".concat(c,"-warp")},o.createElement(yo,(0,N.Z)({},y,{breadcrumb:f===!1?void 0:(0,p.Z)((0,p.Z)({},y.breadcrumb),r.breadcrumbProps),breadcrumbRender:g,prefixCls:d}),(u==null?void 0:u.children)||To(a,s,c)))},Ao=function(e){var t,r,i=e.children,a=e.loading,l=a===void 0?!1:a,u=e.className,c=e.style,s=e.footer,v=e.affixProps,d=e.ghost,f=e.fixedHeader,m=e.breadcrumbRender,g=(0,I.Z)(e,No),b=(0,o.useContext)(Oe),y=(0,o.useContext)(U.ZP.ConfigContext),x=y.getPrefixCls,C=e.prefixCls||x("pro"),Z="".concat(C,"-page-container"),R=E()(Z,u,(t={},(0,O.Z)(t,"".concat(C,"-page-container-ghost"),d),(0,O.Z)(t,"".concat(C,"-page-container-with-footer"),s),t)),M=(0,o.useMemo)(function(){return i?o.createElement(o.Fragment,null,o.createElement("div",{className:"".concat(Z,"-children-content")},i),b.hasFooterToolbar&&o.createElement("div",{style:{height:48,marginTop:24}})):null},[i,Z,b.hasFooterToolbar]),A=(0,o.useMemo)(function(){var W;return m==!1?!1:m||(g==null||(W=g.header)===null||W===void 0?void 0:W.breadcrumbRender)},[m,g==null||(r=g.header)===null||r===void 0?void 0:r.breadcrumbRender]),$=o.createElement(Oo,(0,N.Z)({},g,{breadcrumbRender:A,ghost:d,prefixCls:void 0,prefixedClassName:Z})),j=(0,o.useMemo)(function(){if(o.isValidElement(l))return l;if(typeof l=="boolean"&&!l)return null;var W=So(l);return o.createElement(wr.Z,W)},[l]),B=(0,o.useMemo)(function(){var W=j||M;if(e.waterMarkProps||b.waterMarkProps){var Q=(0,p.Z)((0,p.Z)({},b.waterMarkProps),e.waterMarkProps);return o.createElement(Po,Q,W)}return W},[e.waterMarkProps,b.waterMarkProps,j,M]);return o.createElement("div",{style:c,className:R},f&&$?o.createElement(Hi,(0,N.Z)({offsetTop:b.hasHeader&&b.fixedHeader?b.headerHeight:0},v),$):$,B&&o.createElement(xo,null,B),s&&o.createElement(Eo,{prefixCls:C},s))},Bo=Ao,Tl=Bo,Fo=Fi,Io=h(13013),Ol=h(20228),Do=h(11382),Lo=h(55035),S=h(85893);function Ht(n,e,t,r){if(n.rightRender)return n.rightRender(t,r,n);var i=(0,S.jsx)(ie.Z,{className:"umi-plugin-layout-menu",children:(0,S.jsxs)(ie.Z.Item,{onClick:function(){return n.logout&&(n==null?void 0:n.logout(t))},children:[(0,S.jsx)(Lo.Z,{}),"\u9000\u51FA\u767B\u5F55"]},"logout")}),a=(0,S.jsxs)("span",{className:"umi-plugin-layout-action",children:[(0,S.jsx)(Xr.C,{size:"small",className:"umi-plugin-layout-avatar",src:(t==null?void 0:t.avatar)||"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png",alt:"avatar"}),(0,S.jsx)("span",{className:"umi-plugin-layout-name",children:t==null?void 0:t.name})]});return e?(0,S.jsx)("div",{className:"umi-plugin-layout-right",children:(0,S.jsx)(Do.Z,{size:"small",style:{marginLeft:8,marginRight:8}})}):(0,S.jsx)("div",{className:"umi-plugin-layout-right anticon",children:n.logout?(0,S.jsx)(Io.Z,{overlay:i,overlayClassName:"umi-plugin-layout-container",children:a}):a})}var Al=h(57106),Yr=h(99683),Bl=h(57663),Jr=h(71577);function kr(){P.m8.push("/")}var jo=function(){return(0,S.jsx)(Yr.ZP,{status:"404",title:"404",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,S.jsx)(Jr.Z,{type:"primary",onClick:kr,children:"\u8FD4\u56DE\u9996\u9875"})})},Ho=function(){return(0,S.jsx)(Yr.ZP,{status:"403",title:"403",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762",extra:(0,S.jsx)(Jr.Z,{type:"primary",onClick:kr,children:"\u8FD4\u56DE\u9996\u9875"})})},zo=function(e){var t=e.children,r=e.currentPathConfig;return r?r.unAccessible||r.unaccessible?e.unAccessible||(0,S.jsx)(Ho,{}):t:e.noFound||(0,S.jsx)(jo,{})},$o=function(){return(0,S.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,S.jsxs)("defs",{children:[(0,S.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,S.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,S.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,S.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,S.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,S.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,S.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,S.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,S.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,S.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,S.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,S.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,S.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,S.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,S.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,S.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,S.jsx)("g",{transform:"translate(-20 -20)",children:(0,S.jsx)("g",{transform:"translate(20 20)",children:(0,S.jsxs)("g",{children:[(0,S.jsxs)("g",{fillRule:"nonzero",children:[(0,S.jsxs)("g",{children:[(0,S.jsx)("path",{fill:"url(#linearGradient-1)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c1.17-1.169 2.944-1.169 4.114 0l27.783 27.76c4.209 4.205 11.032 4.205 15.24 0 4.209-4.205 4.209-11.022 0-15.227L108.581 4.056c-4.719-4.594-12.312-4.557-16.993.12z"}),(0,S.jsx)("path",{fill:"url(#linearGradient-2)",d:"M91.588 4.177L4.18 91.513a11.981 11.981 0 000 16.974l87.408 87.336a12.005 12.005 0 0016.989 0l36.648-36.618c4.209-4.205 4.209-11.023 0-15.228-4.208-4.205-11.031-4.205-15.24 0l-27.783 27.76c-1.17 1.169-2.945 1.169-4.114 0l-69.802-69.744c-1.17-1.169-1.17-2.942 0-4.11l69.802-69.745c2.912-2.51 7.664-7.596 14.642-8.786 5.186-.883 10.855 1.062 17.009 5.837L108.58 4.056c-4.719-4.594-12.312-4.557-16.993.12z"})]}),(0,S.jsx)("path",{fill:"url(#linearGradient-3)",d:"M153.686 135.855c4.208 4.205 11.031 4.205 15.24 0l27.034-27.012c4.7-4.696 4.7-12.28 0-16.974l-27.27-27.15c-4.218-4.2-11.043-4.195-15.254.013-4.209 4.205-4.209 11.022 0 15.227l18.418 18.403c1.17 1.169 1.17 2.943 0 4.111l-18.168 18.154c-4.209 4.205-4.209 11.023 0 15.228z"})]}),(0,S.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},Wo=$o,Ko=function(e){var t,r,i,a={};return e!=null&&e.hideFooter&&(a.footerRender=!1),(e==null?void 0:e.layout)==!1?(a.pure=!0,a):(e!=null&&(t=e.layout)!==null&&t!==void 0&&t.hideMenu&&(a.menuRender=!1),e!=null&&(r=e.layout)!==null&&r!==void 0&&r.hideFooter&&(a.footerRender=!1),e!=null&&(i=e.layout)!==null&&i!==void 0&&i.hideNav&&(a.headerRender=!1),a)},Uo=Ko,Go=function(e){var t,r=e.children,i=e.userConfig,a=i===void 0?{}:i,l=e.location,u=e.route,c=(0,Y.Z)(e,["children","userConfig","location","route"]),s=P.tT&&(0,P.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},v=s.initialState,d=s.loading,f=s.setInitialState,m=(0,o.useMemo)(function(){var y,x=tr((e==null||(y=e.route)===null||y===void 0?void 0:y.routes)||[],void 0,void 0,!0),C=x.menuData,Z=ar(l.pathname,C).pop();return Z||{}},[l==null?void 0:l.pathname,e==null||(t=e.route)===null||t===void 0?void 0:t.routes]),g=(0,w.Z)((0,w.Z)((0,w.Z)({itemRender:function(x){return(0,S.jsx)(Ee.rU,{to:x.path,children:x.breadcrumbName})}},a),c),Uo(m||{})),b=P.md===null||P.md===void 0?void 0:(0,P.md)();return(0,S.jsx)(Fo,(0,w.Z)((0,w.Z)({route:u,location:l,title:(a==null?void 0:a.name)||(a==null?void 0:a.title),navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(x){x.stopPropagation(),x.preventDefault(),P.m8.push("/")},menu:{locale:a.locale},menuDataRender:a.patchMenus?function(y){return a==null?void 0:a.patchMenus(y,s)}:void 0,formatMessage:a==null?void 0:a.formatMessage,logo:Wo,menuItemRender:function(x,C){return x.isUrl?C:x.path&&l.pathname!==x.path?(0,S.jsx)(Ee.rU,{to:x.path,target:x.target,children:C}):C},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,postMenuData:P.Bz?function(y){return P.Bz===null||P.Bz===void 0?void 0:(0,P.Bz)(y,b)}:void 0},g),{},{rightContentRender:(g==null?void 0:g.rightContentRender)!==!1&&function(y){var x=Ht==null?void 0:Ht(a,d,v,f);return g.rightContentRender?g.rightContentRender(y,x,{userConfig:a,loading:d,initialState:v,setInitialState:f}):x},children:(0,S.jsx)(zo,{noFound:a==null?void 0:a.noFound,unAccessible:a==null?void 0:a.unAccessible,currentPathConfig:m,children:a.childrenRender?a.childrenRender(r,e):r})}))},Vo=Go,Xo=function(n){var e=(0,o.useState)(null),t=(0,F.Z)(e,2),r=t[0],i=t[1],a=P.tT&&(0,P.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},l=P.md===null||P.md===void 0?void 0:(0,P.md)();(0,o.useEffect)(function(){var c=P.BA.applyPlugins({key:"layout",type:K.Ac.modify,initialValue:(0,w.Z)((0,w.Z)({},a),{},{traverseModifyRoutes:function(v){return P.Bz===null||P.Bz===void 0?void 0:(0,P.Bz)(v,l)}})})||{};if(c instanceof Promise){c.then(function(s){i(s)});return}i(c)},[a==null?void 0:a.initialState,l]);var u=(0,w.Z)((0,w.Z)({},{name:"ant-design-pro",theme:"PRO",locale:!1,showBreadcrumb:!0,siderWidth:208,navTheme:"light",primaryColor:"#1890ff",layout:"mix",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"Ant Design Pro",pwa:!1,logo:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg",iconfontUrl:""}),r||{});return r?o.createElement(Vo,(0,w.Z)({userConfig:u},n)):null}},21879:function(ce){"use strict";var pe=typeof BigInt64Array!="undefined";ce.exports=function h(w,F){if(w===F)return!0;if(w&&F&&typeof w=="object"&&typeof F=="object"){if(w.constructor!==F.constructor)return!1;var o,P,K;if(Array.isArray(w)){if(o=w.length,o!=F.length)return!1;for(P=o;P--!=0;)if(!h(w[P],F[P]))return!1;return!0}if(w instanceof Map&&F instanceof Map){if(w.size!==F.size)return!1;for(P of w.entries())if(!F.has(P[0]))return!1;for(P of w.entries())if(!h(P[1],F.get(P[0])))return!1;return!0}if(w instanceof Set&&F instanceof Set){if(w.size!==F.size)return!1;for(P of w.entries())if(!F.has(P[0]))return!1;return!0}if(ArrayBuffer.isView(w)&&ArrayBuffer.isView(F)){if(o=w.length,o!=F.length)return!1;for(P=o;P--!=0;)if(w[P]!==F[P])return!1;return!0}if(w.constructor===RegExp)return w.source===F.source&&w.flags===F.flags;if(w.valueOf!==Object.prototype.valueOf)return w.valueOf()===F.valueOf();if(w.toString!==Object.prototype.toString)return w.toString()===F.toString();if(K=Object.keys(w),o=K.length,o!==Object.keys(F).length)return!1;for(P=o;P--!=0;)if(!Object.prototype.hasOwnProperty.call(F,K[P]))return!1;for(P=o;P--!=0;){var Y=K[P];if(!(Y==="_owner"&&w.$$typeof)&&!h(w[Y],F[Y]))return!1}return!0}return w!==w&&F!==F}},14779:function(ce){ce.exports=Ze,ce.exports.parse=F,ce.exports.compile=o,ce.exports.tokensToFunction=P,ce.exports.tokensToRegExp=Ye;var pe="/",h="./",w=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function F(T,I){for(var D=[],U=0,H=0,p="",N=I&&I.delimiter||pe,se=I&&I.delimiters||h,L=!1,E;(E=w.exec(T))!==null;){var q=E[0],_=E[1],G=E.index;if(p+=T.slice(H,G),H=G+q.length,_){p+=_[1],L=!0;continue}var ae="",Me=T[H],Je=E[2],Zt=E[3],Mt=E[4],Ce=E[5];if(!L&&p.length){var ze=p.length-1;se.indexOf(p[ze])>-1&&(ae=p[ze],p=p.slice(0,ze))}p&&(D.push(p),p="",L=!1);var Pt=ae!==""&&Me!==void 0&&Me!==ae,ke=Ce==="+"||Ce==="*",qe=Ce==="?"||Ce==="*",_e=ae||N,et=Zt||Mt;D.push({name:Je||U++,prefix:ae,delimiter:_e,optional:qe,repeat:ke,partial:Pt,pattern:et?Y(et):"[^"+K(_e)+"]+?"})}return(p||H<T.length)&&D.push(p+T.substr(H)),D}function o(T,I){return P(F(T,I))}function P(T){for(var I=new Array(T.length),D=0;D<T.length;D++)typeof T[D]=="object"&&(I[D]=new RegExp("^(?:"+T[D].pattern+")$"));return function(U,H){for(var p="",N=H&&H.encode||encodeURIComponent,se=0;se<T.length;se++){var L=T[se];if(typeof L=="string"){p+=L;continue}var E=U?U[L.name]:void 0,q;if(Array.isArray(E)){if(!L.repeat)throw new TypeError('Expected "'+L.name+'" to not repeat, but got array');if(E.length===0){if(L.optional)continue;throw new TypeError('Expected "'+L.name+'" to not be empty')}for(var _=0;_<E.length;_++){if(q=N(E[_],L),!I[se].test(q))throw new TypeError('Expected all "'+L.name+'" to match "'+L.pattern+'"');p+=(_===0?L.prefix:L.delimiter)+q}continue}if(typeof E=="string"||typeof E=="number"||typeof E=="boolean"){if(q=N(String(E),L),!I[se].test(q))throw new TypeError('Expected "'+L.name+'" to match "'+L.pattern+'", but got "'+q+'"');p+=L.prefix+q;continue}if(L.optional){L.partial&&(p+=L.prefix);continue}throw new TypeError('Expected "'+L.name+'" to be '+(L.repeat?"an array":"a string"))}return p}}function K(T){return T.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function Y(T){return T.replace(/([=!:$/()])/g,"\\$1")}function Ee(T){return T&&T.sensitive?"":"i"}function He(T,I){if(!I)return T;var D=T.source.match(/\((?!\?)/g);if(D)for(var U=0;U<D.length;U++)I.push({name:U,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return T}function xe(T,I,D){for(var U=[],H=0;H<T.length;H++)U.push(Ze(T[H],I,D).source);return new RegExp("(?:"+U.join("|")+")",Ee(D))}function O(T,I,D){return Ye(F(T,D),I,D)}function Ye(T,I,D){D=D||{};for(var U=D.strict,H=D.start!==!1,p=D.end!==!1,N=K(D.delimiter||pe),se=D.delimiters||h,L=[].concat(D.endsWith||[]).map(K).concat("$").join("|"),E=H?"^":"",q=T.length===0,_=0;_<T.length;_++){var G=T[_];if(typeof G=="string")E+=K(G),q=_===T.length-1&&se.indexOf(G[G.length-1])>-1;else{var ae=G.repeat?"(?:"+G.pattern+")(?:"+K(G.delimiter)+"(?:"+G.pattern+"))*":G.pattern;I&&I.push(G),G.optional?G.partial?E+=K(G.prefix)+"("+ae+")?":E+="(?:"+K(G.prefix)+"("+ae+"))?":E+=K(G.prefix)+"("+ae+")"}}return p?(U||(E+="(?:"+N+")?"),E+=L==="$"?"$":"(?="+L+")"):(U||(E+="(?:"+N+"(?="+L+"))?"),q||(E+="(?="+N+"|"+L+")")),new RegExp(E,Ee(D))}function Ze(T,I,D){return T instanceof RegExp?He(T,I):Array.isArray(T)?xe(T,I,D):O(T,I,D)}},42473:function(ce){"use strict";var pe=!1,h=function(){};if(pe){var w=function(o,P){var K=arguments.length;P=new Array(K>1?K-1:0);for(var Y=1;Y<K;Y++)P[Y-1]=arguments[Y];var Ee=0,He="Warning: "+o.replace(/%s/g,function(){return P[Ee++]});typeof console!="undefined"&&console.error(He);try{throw new Error(He)}catch(xe){}};h=function(F,o,P){var K=arguments.length;P=new Array(K>2?K-2:0);for(var Y=2;Y<K;Y++)P[Y-2]=arguments[Y];if(o===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");F||w.apply(null,[o].concat(P))}}ce.exports=h}}]);