|
- (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[301],{64335:function(ve,ge,d){"use strict";var x=d(67294),R=(0,x.createContext)({});ge.Z=R},16254:function(ve){ve.exports=Te,ve.exports.parse=R,ve.exports.compile=Z,ve.exports.tokensToFunction=b,ve.exports.tokensToRegExp=Me;var ge="/",d="./",x=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function R(S,z){for(var T=[],L=0,p=0,l="",pe=z&&z.delimiter||ge,ae=z&&z.delimiters||d,D=!1,F;(F=x.exec(S))!==null;){var ie=F[0],oe=F[1],Q=F.index;if(l+=S.slice(p,Q),p=Q+ie.length,oe){l+=oe[1],D=!0;continue}var de="",Ie=S[p],De=F[2],Xe=F[3],Le=F[4],Pe=F[5];if(!D&&l.length){var me=l.length-1;ae.indexOf(l[me])>-1&&(de=l[me],l=l.slice(0,me))}l&&(T.push(l),l="",D=!1);var lt=de!==""&&Ie!==void 0&&Ie!==de,Ye=Pe==="+"||Pe==="*",J=Pe==="?"||Pe==="*",h=de||pe,P=Xe||Le;T.push({name:De||L++,prefix:de,delimiter:h,optional:J,repeat:Ye,partial:lt,pattern:P?E(P):"[^"+O(h)+"]+?"})}return(l||p<S.length)&&T.push(l+S.substr(p)),T}function Z(S,z){return b(R(S,z))}function b(S){for(var z=new Array(S.length),T=0;T<S.length;T++)typeof S[T]=="object"&&(z[T]=new RegExp("^(?:"+S[T].pattern+")$"));return function(L,p){for(var l="",pe=p&&p.encode||encodeURIComponent,ae=0;ae<S.length;ae++){var D=S[ae];if(typeof D=="string"){l+=D;continue}var F=L?L[D.name]:void 0,ie;if(Array.isArray(F)){if(!D.repeat)throw new TypeError('Expected "'+D.name+'" to not repeat, but got array');if(F.length===0){if(D.optional)continue;throw new TypeError('Expected "'+D.name+'" to not be empty')}for(var oe=0;oe<F.length;oe++){if(ie=pe(F[oe],D),!z[ae].test(ie))throw new TypeError('Expected all "'+D.name+'" to match "'+D.pattern+'"');l+=(oe===0?D.prefix:D.delimiter)+ie}continue}if(typeof F=="string"||typeof F=="number"||typeof F=="boolean"){if(ie=pe(String(F),D),!z[ae].test(ie))throw new TypeError('Expected "'+D.name+'" to match "'+D.pattern+'", but got "'+ie+'"');l+=D.prefix+ie;continue}if(D.optional){D.partial&&(l+=D.prefix);continue}throw new TypeError('Expected "'+D.name+'" to be '+(D.repeat?"an array":"a string"))}return l}}function O(S){return S.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function E(S){return S.replace(/([=!:$/()])/g,"\\$1")}function ce(S){return S&&S.sensitive?"":"i"}function be(S,z){if(!z)return S;var T=S.source.match(/\((?!\?)/g);if(T)for(var L=0;L<T.length;L++)z.push({name:L,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return S}function xe(S,z,T){for(var L=[],p=0;p<S.length;p++)L.push(Te(S[p],z,T).source);return new RegExp("(?:"+L.join("|")+")",ce(T))}function $(S,z,T){return Me(R(S,T),z,T)}function Me(S,z,T){T=T||{};for(var L=T.strict,p=T.start!==!1,l=T.end!==!1,pe=O(T.delimiter||ge),ae=T.delimiters||d,D=[].concat(T.endsWith||[]).map(O).concat("$").join("|"),F=p?"^":"",ie=S.length===0,oe=0;oe<S.length;oe++){var Q=S[oe];if(typeof Q=="string")F+=O(Q),ie=oe===S.length-1&&ae.indexOf(Q[Q.length-1])>-1;else{var de=Q.repeat?"(?:"+Q.pattern+")(?:"+O(Q.delimiter)+"(?:"+Q.pattern+"))*":Q.pattern;z&&z.push(Q),Q.optional?Q.partial?F+=O(Q.prefix)+"("+de+")?":F+="(?:"+O(Q.prefix)+"("+de+"))?":F+=O(Q.prefix)+"("+de+")"}}return l?(L||(F+="(?:"+pe+")?"),F+=D==="$"?"$":"(?="+D+")"):(L||(F+="(?:"+pe+"(?="+D+"))?"),ie||(F+="(?="+pe+"|"+D+")")),new RegExp(F,ce(T))}function Te(S,z,T){return S instanceof RegExp?be(S,z):Array.isArray(S)?xe(S,z,T):$(S,z,T)}},80430:function(ve){"use strict";var ge=!1,d=function(){};if(ge){var x=function(Z,b){var O=arguments.length;b=new Array(O>1?O-1:0);for(var E=1;E<O;E++)b[E-1]=arguments[E];var ce=0,be="Warning: "+Z.replace(/%s/g,function(){return b[ce++]});typeof console!="undefined"&&console.error(be);try{throw new Error(be)}catch(xe){}};d=function(R,Z,b){var O=arguments.length;b=new Array(O>2?O-2:0);for(var E=2;E<O;E++)b[E-2]=arguments[E];if(Z===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");R||x.apply(null,[Z].concat(b))}}ve.exports=d},7700:function(){},2828:function(){},17124:function(){},43361:function(){},17212:function(){},18067:function(){},50799:function(ve,ge,d){"use strict";d.r(ge),d.d(ge,{default:function(){return ti}});var x=d(11849),R=d(2824),Z=d(67294),b=d(48971),O=d(79004),E=d(93224),ce=d(73727),be=d(24793),xe=d(97183),$=d(96156),Me=d(55507),Te=d(92137),S=d(81253),z=d(84305),T=d(39559),L=d(28481),p=d(28991),l=d(85893),pe=d(78775),ae=d(56725),D=d(12044);function F(n,e){var t=typeof n.pageName=="string"?n.title:e;(0,Z.useEffect)(function(){(0,D.Z)()&&t&&(document.title=t)},[n.title,t])}var ie=F,oe=d(21879),Q=d.n(oe),de=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Ie(n,e){return!!(n===e||de(n)&&de(e))}function De(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++)if(!Ie(n[t],e[t]))return!1;return!0}function Xe(n,e){e===void 0&&(e=De);var t,r=[],i,a=!1;function o(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return a&&t===this&&e(s,r)||(i=n.apply(this,s),a=!0,t=this,r=s),i}return o}var Le=Xe;function Pe(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 o=n.charCodeAt(a);if(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122||o===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 s=1,u="",a=t+1;if(n[a]==="?")throw new TypeError('Pattern cannot start with "?" at '+a);for(;a<n.length;){if(n[a]==="\\"){u+=n[a++]+n[a++];continue}if(n[a]===")"){if(s--,s===0){a++;break}}else if(n[a]==="("&&(s++,n[a+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+a);u+=n[a++]}if(s)throw new TypeError("Unbalanced pattern at "+t);if(!u)throw new TypeError("Missing pattern at "+t);e.push({type:"PATTERN",index:t,value:u}),t=a;continue}e.push({type:"CHAR",index:t,value:n[t++]})}return e.push({type:"END",index:t,value:""}),e}function me(n,e){e===void 0&&(e={});for(var t=Pe(n),r=e.prefixes,i=r===void 0?"./":r,a="[^"+P(e.delimiter||"/#?")+"]+?",o=[],s=0,u=0,c="",g=function(B){if(u<t.length&&t[u].type===B)return t[u++].value},f=function(B){var re=g(B);if(re!==void 0)return re;var ue=t[u],W=ue.type,Ce=ue.index;throw new TypeError("Unexpected "+W+" at "+Ce+", expected "+B)},v=function(){for(var B="",re;re=g("CHAR")||g("ESCAPED_CHAR");)B+=re;return B};u<t.length;){var y=g("CHAR"),C=g("NAME"),N=g("PATTERN");if(C||N){var m=y||"";i.indexOf(m)===-1&&(c+=m,m=""),c&&(o.push(c),c=""),o.push({name:C||s++,prefix:m,suffix:"",pattern:N||a,modifier:g("MODIFIER")||""});continue}var j=y||g("ESCAPED_CHAR");if(j){c+=j;continue}c&&(o.push(c),c="");var M=g("OPEN");if(M){var m=v(),Y=g("NAME")||"",G=g("PATTERN")||"",q=v();f("CLOSE"),o.push({name:Y||(G?s++:""),pattern:Y&&!G?a:G,prefix:m,suffix:q,modifier:g("MODIFIER")||""});continue}f("END")}return o}function lt(n,e){return Ye(me(n,e),e)}function Ye(n,e){e===void 0&&(e={});var t=H(e),r=e.encode,i=r===void 0?function(u){return u}:r,a=e.validate,o=a===void 0?!0:a,s=n.map(function(u){if(typeof u=="object")return new RegExp("^(?:"+u.pattern+")$",t)});return function(u){for(var c="",g=0;g<n.length;g++){var f=n[g];if(typeof f=="string"){c+=f;continue}var v=u?u[f.name]:void 0,y=f.modifier==="?"||f.modifier==="*",C=f.modifier==="*"||f.modifier==="+";if(Array.isArray(v)){if(!C)throw new TypeError('Expected "'+f.name+'" to not repeat, but got an array');if(v.length===0){if(y)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var N=0;N<v.length;N++){var m=i(v[N],f);if(o&&!s[g].test(m))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but got "'+m+'"');c+=f.prefix+m+f.suffix}continue}if(typeof v=="string"||typeof v=="number"){var m=i(String(v),f);if(o&&!s[g].test(m))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but got "'+m+'"');c+=f.prefix+m+f.suffix;continue}if(!y){var j=C?"an array":"a string";throw new TypeError('Expected "'+f.name+'" to be '+j)}}return c}}function J(n,e){var t=[],r=I(n,t,e);return h(r,t,e)}function h(n,e,t){t===void 0&&(t={});var r=t.decode,i=r===void 0?function(a){return a}:r;return function(a){var o=n.exec(a);if(!o)return!1;for(var s=o[0],u=o.index,c=Object.create(null),g=function(v){if(o[v]===void 0)return"continue";var y=e[v-1];y.modifier==="*"||y.modifier==="+"?c[y.name]=o[v].split(y.prefix+y.suffix).map(function(C){return i(C,y)}):c[y.name]=i(o[v],y)},f=1;f<o.length;f++)g(f);return{path:s,index:u,params:c}}}function P(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function H(n){return n&&n.sensitive?"":"i"}function U(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 ee(n,e,t){var r=n.map(function(i){return I(i,e,t).source});return new RegExp("(?:"+r.join("|")+")",H(t))}function _(n,e,t){return K(me(n,t),e,t)}function K(n,e,t){t===void 0&&(t={});for(var r=t.strict,i=r===void 0?!1:r,a=t.start,o=a===void 0?!0:a,s=t.end,u=s===void 0?!0:s,c=t.encode,g=c===void 0?function(B){return B}:c,f="["+P(t.endsWith||"")+"]|$",v="["+P(t.delimiter||"/#?")+"]",y=o?"^":"",C=0,N=n;C<N.length;C++){var m=N[C];if(typeof m=="string")y+=P(g(m));else{var j=P(g(m.prefix)),M=P(g(m.suffix));if(m.pattern)if(e&&e.push(m),j||M)if(m.modifier==="+"||m.modifier==="*"){var Y=m.modifier==="*"?"?":"";y+="(?:"+j+"((?:"+m.pattern+")(?:"+M+j+"(?:"+m.pattern+"))*)"+M+")"+Y}else y+="(?:"+j+"("+m.pattern+")"+M+")"+m.modifier;else y+="("+m.pattern+")"+m.modifier;else y+="(?:"+j+M+")"+m.modifier}}if(u)i||(y+=v+"?"),y+=t.endsWith?"(?="+f+")":"$";else{var G=n[n.length-1],q=typeof G=="string"?v.indexOf(G[G.length-1])>-1:G===void 0;i||(y+="(?:"+v+"(?="+f+"))?"),q||(y+="(?="+v+"|"+f+")")}return new RegExp(y,H(t))}function I(n,e,t){return n instanceof RegExp?U(n,e):Array.isArray(n)?ee(n,e,t):_(n,e,t)}function A(n,e){return e>>>n|e<<32-n}function ne(n,e,t){return n&e^~n&t}function V(n,e,t){return n&e^n&t^e&t}function le(n){return A(2,n)^A(13,n)^A(22,n)}function Ze(n){return A(6,n)^A(11,n)^A(25,n)}function Qe(n){return A(7,n)^A(18,n)^n>>>3}function st(n){return A(17,n)^A(19,n)^n>>>10}function Ct(n,e){return n[e&15]+=st(n[e+14&15])+n[e+9&15]+Qe(n[e+1&15])}var bt=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],w,k,X,Be="0123456789abcdef";function Ae(n,e){var t=(n&65535)+(e&65535),r=(n>>16)+(e>>16)+(t>>16);return r<<16|t&65535}function ut(){w=new Array(8),k=new Array(2),X=new Array(64),k[0]=k[1]=0,w[0]=1779033703,w[1]=3144134277,w[2]=1013904242,w[3]=2773480762,w[4]=1359893119,w[5]=2600822924,w[6]=528734635,w[7]=1541459225}function Je(){var n,e,t,r,i,a,o,s,u,c,g=new Array(16);n=w[0],e=w[1],t=w[2],r=w[3],i=w[4],a=w[5],o=w[6],s=w[7];for(var f=0;f<16;f++)g[f]=X[(f<<2)+3]|X[(f<<2)+2]<<8|X[(f<<2)+1]<<16|X[f<<2]<<24;for(var v=0;v<64;v++)u=s+Ze(i)+ne(i,a,o)+bt[v],v<16?u+=g[v]:u+=Ct(g,v),c=le(n)+V(n,e,t),s=o,o=a,a=i,i=Ae(r,u),r=t,t=e,e=n,n=Ae(u,c);w[0]+=n,w[1]+=e,w[2]+=t,w[3]+=r,w[4]+=i,w[5]+=a,w[6]+=o,w[7]+=s}function ct(n,e){var t,r,i=0;r=k[0]>>3&63;var a=e&63;for((k[0]+=e<<3)<e<<3&&k[1]++,k[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=r;o<64;o++)X[o]=n.charCodeAt(i++);Je(),r=0}for(var s=0;s<a;s++)X[s]=n.charCodeAt(i++)}function dt(){var n=k[0]>>3&63;if(X[n++]=128,n<=56)for(var e=n;e<56;e++)X[e]=0;else{for(var t=n;t<64;t++)X[t]=0;Je();for(var r=0;r<56;r++)X[r]=0}X[56]=k[1]>>>24&255,X[57]=k[1]>>>16&255,X[58]=k[1]>>>8&255,X[59]=k[1]&255,X[60]=k[0]>>>24&255,X[61]=k[0]>>>16&255,X[62]=k[0]>>>8&255,X[63]=k[0]&255,Je()}function Wt(){for(var n=0,e=new Array(32),t=0;t<8;t++)e[n++]=w[t]>>>24&255,e[n++]=w[t]>>>16&255,e[n++]=w[t]>>>8&255,e[n++]=w[t]&255;return e}function ft(){for(var n=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)n+=Be.charAt(w[e]>>>t&15);return n}function Mt(n){return ut(),ct(n,n.length),dt(),ft()}var Zt=Mt;function Rt(n){return Rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rt(n)}var Ln=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Bn(n,e){return Wn(n)||Hn(n,e)||Et(n,e)||zn()}function zn(){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 Hn(n,e){var t=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r=[],i=!0,a=!1,o,s;try{for(t=t.call(n);!(i=(o=t.next()).done)&&(r.push(o.value),!(e&&r.length===e));i=!0);}catch(u){a=!0,s=u}finally{try{!i&&t.return!=null&&t.return()}finally{if(a)throw s}}return r}}function Wn(n){if(Array.isArray(n))return n}function $n(n,e){var t=typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Et(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(c){throw c},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,o=!1,s;return{s:function(){t=t.call(n)},n:function(){var c=t.next();return a=c.done,c},e:function(c){o=!0,s=c},f:function(){try{!a&&t.return!=null&&t.return()}finally{if(o)throw s}}}}function Kn(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function $t(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 Gn(n,e,t){return e&&$t(n.prototype,e),t&&$t(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function Un(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}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&ke(n,e)}function Vn(n){var e=Kt();return function(){var r=qe(n),i;if(e){var a=qe(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return Xn(this,i)}}function Xn(n,e){if(e&&(Rt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yn(n)}function Yn(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function jt(n){var e=typeof Map=="function"?new Map:void 0;return jt=function(r){if(r===null||!Qn(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 vt(r,arguments,qe(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ke(i,r)},jt(n)}function vt(n,e,t){return Kt()?vt=Reflect.construct.bind():vt=function(i,a,o){var s=[null];s.push.apply(s,a);var u=Function.bind.apply(i,s),c=new u;return o&&ke(c,o.prototype),c},vt.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 Qn(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function ke(n,e){return ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ke(n,e)}function qe(n){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},qe(n)}function Gt(n){return qn(n)||kn(n)||Et(n)||Jn()}function Jn(){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 Et(n,e){if(!!n){if(typeof n=="string")return St(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 St(n,e)}}function kn(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function qn(n){if(Array.isArray(n))return St(n)}function St(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 _n(n,e){if(n==null)return{};var t=er(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 er(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 Ut(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 te(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ut(Object(t),!0).forEach(function(r){_e(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Ut(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function _e(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var se="routes";function et(n){return n.split("?")[0].split("#")[0]}var Nt=function(e){if(!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},tr=function(e){var t=e.path;if(!t||t==="/")try{return"/".concat(Zt(JSON.stringify(e)))}catch(r){}return t&&et(t)},nr=function(e,t){var r=e.name,i=e.locale;return"locale"in e&&i===!1||!r?!1:e.locale||"".concat(t,".").concat(r)},Vt=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("/")||Nt(e)?e:"/".concat(t,"/").concat(e).replace(/\/\//g,"/").replace(/\/\//g,"/")},rr=function(e,t){var r=e.menu,i=r===void 0?{}:r,a=e.indexRoute,o=e.path,s=o===void 0?"":o,u=e.children||e[se],c=i.name,g=c===void 0?e.name:c,f=i.icon,v=f===void 0?e.icon:f,y=i.hideChildren,C=y===void 0?e.hideChildren:y,N=i.flatMenu,m=N===void 0?e.flatMenu:N,j=a&&Object.keys(a).join(",")!=="redirect"?[te({path:s,menu:i},a)].concat(u||[]):u,M=te({},e);if(g&&(M.name=g),v&&(M.icon=v),j&&j.length){if(C)return delete M[se],delete M.children,M;var Y=Pt(te(te({},t),{},{data:j}),e);if(m)return Y;M[se]=Y}return M},Re=function(e){return Array.isArray(e)&&e.length>0};function Pt(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(o){return o?Re(o[se])||Re(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var s,u;return(o==null||(s=o.menu)===null||s===void 0?void 0:s.name)||(o==null?void 0:o.flatMenu)||(o==null||(u=o.menu)===null||u===void 0?void 0:u.flatMenu)?!0:o.menu!==!1}).map(function(o){var s=te({},o);return s.unaccessible&&delete s.name,s.path==="*"&&(s.path="."),s.path==="/*"&&(s.path="."),!s.path&&s.originPath&&(s.path=s.originPath),s}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},s=o.children||o[se],u=Vt(o.path,e?e.path:"/"),c=o.name,g=nr(o,i||"menu"),f=g!==!1&&a!==!1&&r&&g?r({id:g,defaultMessage:c}):c,v=e.pro_layout_parentKeys,y=v===void 0?[]:v,C=e.children,N=e.icon,m=e.flatMenu,j=e.indexRoute,M=e.routes,Y=_n(e,Ln),G=new Set([].concat(Gt(y),Gt(o.parentKeys||[])));e.key&&G.add(e.key);var q=te(te(te({},Y),{},{menu:void 0},o),{},{path:u,locale:g,key:o.key||tr(te(te({},o),{},{path:u})),pro_layout_parentKeys:Array.from(G).filter(function(re){return re&&re!=="/"})});if(f?q.name=f:delete q.name,q.menu===void 0&&delete q.menu,Re(s)){var B=Pt(te(te({},n),{},{data:s,parentName:g||""}),q);Re(B)&&(q[se]=B,q.children=B)}return rr(q,n)}).flat(1)}var ar=Le(Pt,Q()),ir=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||Re(t[se])||Re(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var r=te({},t),i=r.children||r[se];if(Re(i)&&!r.hideChildrenInMenu&&i.some(function(s){return s&&!!s.name})){var a,o=n(i);if(o.length)return te(te({},r),{},(a={},_e(a,se,o),_e(a,"children",o),a))}return te(te({},t),{},_e({},se,void 0))}).filter(function(t){return t})},or=function(n){Un(t,n);var e=Vn(t);function t(){return Kn(this,t),e.apply(this,arguments)}return Gn(t,[{key:"get",value:function(i){var a;try{var o=$n(this.entries()),s;try{for(o.s();!(s=o.n()).done;){var u=Bn(s.value,2),c=u[0],g=u[1],f=et(c);if(!Nt(c)&&I(f,[]).test(i)){a=g;break}}}catch(v){o.e(v)}finally{o.f()}}catch(v){a=void 0}return a}}]),t}(jt(Map)),lr=function(e){var t=new or,r=function i(a,o){a.forEach(function(s){var u=s.children||s[se];Re(u)&&i(u,s);var c=Vt(s.path,o?o.path:"/");t.set(et(c),s)})};return r(e),t},sr=Le(lr,Q()),ur=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var r=t.children||t[se];if(Re(r)){var i=n(r);if(i.length)return te(te({},t),{},_e({},se,i))}var a=te({},t);return delete a[se],delete a.children,a}).filter(function(t){return t})},cr=function(e,t,r,i){var a=ar({data:e,formatMessage:r,locale:t}),o=i?ur(a):ir(a),s=sr(a);return{breadcrumb:s,menuData:o}},Xt=cr;function Yt(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 gt(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Yt(Object(t),!0).forEach(function(r){dr(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Yt(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function dr(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var fr=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t={};return e.forEach(function(r){if(!(!r||!r.key)){var i=r.children||r[se];t[et(r.path||r.key||"/")]=gt({},r),t[r.key||r.path||"/"]=gt({},r),i&&(t=gt(gt({},t),n(i)))}}),t},Qt=fr,vr=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&&!Nt(i)){var a=et(i);try{if(r&&I("".concat(a)).test(t)||I("".concat(a),[]).test(t)||I("".concat(a,"/(.*)")).test(t))return!0}catch(o){}}return!1}).sort(function(i,a){return i===t?10:a===t?-10:i.substr(1).split("/").length-a.substr(1).split("/").length})},gr=function(e,t,r,i){var a=Qt(t),o=Object.keys(a),s=vr(o,e||"/",i);return!s||s.length<1?[]:(r||(s=[s[s.length-1]]),s.map(function(u){var c=a[u]||{pro_layout_parentKeys:"",key:""},g=new Map,f=(c.pro_layout_parentKeys||[]).map(function(v){return g.has(v)?null:(g.set(v,!0),a[v])}).filter(function(v){return v});return c.key&&f.push(c),f}).flat(1))},Jt=gr,pr=d(94184),fe=d.n(pr),kt=d(97435),mr=d(21770),qt=d(29405),hr=d(38069),yr=d(80430),xr=d.n(yr),xi=d(7700),Cr=d(83832),Ci=d(57338),br=d(273),Mr=d(57186);function Zr(){var n=(0,Z.useState)([]),e=(0,L.Z)(n,2),t=e[0],r=e[1];return{flatMenuKeys:t,setFlatMenuKeys:r}}var Rr=(0,Mr.f)(Zr),pt=Rr,bi=d(30887),mt=d(28682),jr=d(1351),Er=d(76629),Mi=d(18446),Sr=d(19586),ht=d(85061),_t=d(5991),en=d(6610),tn=d(91321),Nr=d(16165),Pr=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},wt=Pr;function wr(n){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(n)}var Or=wr,Tr={navTheme:"dark",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,iconfontUrl:"",primaryColor:"#1890ff",splitMenus:!1},nn=Tr,rn=function n(e){return(e||[]).reduce(function(t,r){if(r.key&&t.push(r.key),r.routes){var i=t.concat(n(r.routes)||[]);return i}return t},[])},an={daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Zi(n){return n&&an[n]?an[n]:n}function tt(n){return n.map(function(e){var t=e.children||e.routes,r=(0,p.Z)({},e);if(!r.name||r.hideInMenu)return null;if(r&&(r==null?void 0:r.routes)){if(!r.hideChildrenInMenu&&t.some(function(i){return i&&i.name&&!i.hideInMenu}))return(0,p.Z)((0,p.Z)({},e),{},{children:tt(t),routes:tt(t)});delete r.routes,delete r.children}return r}).filter(function(e){return e})}var Ri=d(43361),on=(0,tn.Z)({scriptUrl:nn.iconfontUrl}),ln=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-";if(typeof e=="string"&&e!==""){if(wt(e)||Or(e))return(0,l.jsx)(Nr.Z,{component:function(){return(0,l.jsx)("img",{src:e,alt:"icon",className:"ant-pro-sider-menu-icon"})}});if(e.startsWith(t))return(0,l.jsx)(on,{type:e})}return e},Dr=(0,_t.Z)(function n(e){var t=this;(0,en.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){var a=(r==null?void 0:r.children)||(r==null?void 0:r.routes);if(Array.isArray(a)&&a.length>0){var o=t.getIntlName(r),s=t.props,u=s.subMenuItemRender,c=s.prefixCls,g=s.menu,f=s.iconPrefixes,v=r.icon?(0,l.jsxs)("span",{className:"".concat(c,"-menu-item"),title:o,children:[!i&&ln(r.icon,f),(0,l.jsx)("span",{className:"".concat(c,"-menu-item-title"),children:o})]}):(0,l.jsx)("span",{className:"".concat(c,"-menu-item"),title:o,children:o}),y=u?u((0,p.Z)((0,p.Z)({},r),{},{isUrl:!1}),v,t.props):v;return{type:(g==null?void 0:g.type)==="group"?"group":void 0,label:y,children:t.getNavMenuItems(a,!0),onTitleClick:r.onTitleClick,key:r.key||r.path}}return{label:t.getMenuItemPath(r,i),title:t.getIntlName(r),key:r.key||r.path,disabled:r.disabled,onClick:function(N){var m;wt(r==null?void 0:r.path)&&window.open(r.path,"_blank"),(m=r.onTitleClick)===null||m===void 0||m.call(r,N)}}},this.getIntlName=function(r){var i=r.name,a=r.locale,o=t.props,s=o.menu,u=o.formatMessage;return a&&(s==null?void 0:s.locale)!==!1?u==null?void 0:u({id:a,defaultMessage:i}):i},this.getMenuItemPath=function(r,i){var a=t.conversionPath(r.path||"/"),o=t.props,s=o.location,u=s===void 0?{pathname:"/"}:s,c=o.isMobile,g=o.onCollapse,f=o.menuItemRender,v=o.iconPrefixes,y=t.getIntlName(r),C=t.props.prefixCls,N=i?null:ln(r.icon,v),m=wt(a),j=(0,l.jsxs)("span",{className:fe()("".concat(C,"-menu-item"),(0,$.Z)({},"".concat(C,"-menu-item-link"),m)),children:[N,(0,l.jsx)("span",{className:"".concat(C,"-menu-item-title"),children:y})]});if(f){var M=(0,p.Z)((0,p.Z)({},r),{},{isUrl:m,itemPath:a,isMobile:c,replace:a===u.pathname,onClick:function(){m&&window.open(a,"_blank"),g&&g(!0)},children:void 0});return f(M,j,t.props)}return j},this.conversionPath=function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")},this.props=e}),Ar=function(e,t){var r=t.layout,i=t.collapsed,a={};return e&&!i&&["side","mix"].includes(r||"mix")&&(a={openKeys:e}),a},sn=function(e){var t=e.theme,r=e.mode,i=e.className,a=e.handleOpenChange,o=e.style,s=e.menuData,u=e.menu,c=e.matchMenuKeys,g=e.iconfontUrl,f=e.collapsed,v=e.selectedKeys,y=e.onSelect,C=e.openKeys,N=(0,Z.useRef)([]),m=pt.useContainer(),j=m.flatMenuKeys,M=(0,ae.Z)(u==null?void 0:u.defaultOpenAll),Y=(0,L.Z)(M,2),G=Y[0],q=Y[1],B=(0,ae.Z)(function(){return(u==null?void 0:u.defaultOpenAll)?rn(s)||[]:C===!1?!1:[]},{value:C===!1?void 0:C,onChange:a}),re=(0,L.Z)(B,2),ue=re[0],W=re[1],Ce=(0,ae.Z)([],{value:v,onChange:y?function(Fe){y&&Fe&&y(Fe)}:void 0}),je=(0,L.Z)(Ce,2),Ee=je[0],Se=je[1];(0,Z.useEffect)(function(){(u==null?void 0:u.defaultOpenAll)||C===!1||j.length||c&&(W(c),Se(c))},[c.join("-")]),(0,Z.useEffect)(function(){g&&(on=(0,tn.Z)({scriptUrl:g}))},[g]),(0,Z.useEffect)(function(){if(c.join("-")!==(Ee||[]).join("-")&&Se(c),!G&&C!==!1&&c.join("-")!==(ue||[]).join("-")){var Fe=c;(u==null?void 0:u.autoClose)===!1&&(Fe=Array.from(new Set([].concat((0,ht.Z)(c),(0,ht.Z)(ue||[]))))),W(Fe)}else(u==null?void 0:u.ignoreFlatMenu)&&G?W(rn(s)):j.length>0&&q(!1)},[c.join("-"),f]);var ze=(0,Z.useMemo)(function(){return Ar(ue,e)},[ue&&ue.join(","),e.layout,e.collapsed]),He=(0,Z.useState)(function(){return new Dr(e)}),We=(0,L.Z)(He,1),Ne=We[0];if(u==null?void 0:u.loading)return(0,l.jsx)("div",{style:(r==null?void 0:r.includes("inline"))?{padding:24}:{marginTop:16},children:(0,l.jsx)(Sr.Z,{active:!0,title:!1,paragraph:{rows:(r==null?void 0:r.includes("inline"))?6:1}})});var we=fe()(i,{"top-nav-menu":r==="horizontal"});Ne.props=e,e.openKeys===!1&&!e.handleOpenChange&&(N.current=c);var ye=e.postMenuData?e.postMenuData(s):s;return ye&&(ye==null?void 0:ye.length)<1?null:(0,Z.createElement)(mt.Z,(0,p.Z)((0,p.Z)({},ze),{},{key:"Menu",mode:r,items:Ne.getNavMenuItems(ye,!1),inlineIndent:16,defaultOpenKeys:N.current,theme:t,selectedKeys:Ee,style:o,className:we,onOpenChange:W},e.menuProps))};sn.defaultProps={postMenuData:function(e){return e||[]}};var un=sn,Fr=xe.Z.Sider,cn=function(e){return typeof e=="string"?(0,l.jsx)("img",{src:e,alt:"logo"}):typeof e=="function"?e():e},Ot=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",r=e.logo,i=e.title,a=e.layout,o=e[t||""];if(o===!1)return null;var s=cn(r),u=(0,l.jsx)("h1",{children:i!=null?i:"Ant Design Pro"});return o?o(s,e.collapsed?null:u,e):a==="mix"&&t==="menuHeaderRender"?null:(0,l.jsxs)("a",{children:[s,e.collapsed?null:u]})},dn=function(e){return e?(0,l.jsx)(jr.Z,{}):(0,l.jsx)(Er.Z,{})},Ir=function(e){var t,r=e.collapsed,i=e.fixSiderbar,a=e.menuFooterRender,o=e.onCollapse,s=e.theme,u=e.siderWidth,c=e.isMobile,g=e.onMenuHeaderClick,f=e.breakpoint,v=f===void 0?"lg":f,y=e.style,C=e.layout,N=e.menuExtraRender,m=N===void 0?!1:N,j=e.collapsedButtonRender,M=j===void 0?dn:j,Y=e.links,G=e.menuContentRender,q=e.prefixCls,B=e.onOpenChange,re=e.headerHeight,ue=e.logoStyle,W="".concat(q,"-sider"),Ce=pt.useContainer(),je=Ce.flatMenuKeys,Ee=fe()("".concat(W),(t={},(0,$.Z)(t,"".concat(W,"-fixed"),i),(0,$.Z)(t,"".concat(W,"-layout-").concat(C),C&&!c),(0,$.Z)(t,"".concat(W,"-light"),s!=="dark"),t)),Se=Ot(e),ze=m&&m(e),He=G!==!1&&je&&(0,Z.createElement)(un,(0,p.Z)((0,p.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:B,style:{width:"100%"},className:"".concat(W,"-menu")})),We=G?G(e,He):He,Ne=(Y||[]).map(function(we,ye){return{className:"".concat(W,"-link"),label:we,key:ye}});return M&&!c&&Ne.push({className:"".concat(W,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){o&&o(!r)},label:M(r)}),(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)("div",{style:(0,p.Z)({width:r?48:u,overflow:"hidden",flex:"0 0 ".concat(r?48:u,"px"),maxWidth:r?48:u,minWidth:r?48:u,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},y)}),(0,l.jsxs)(Fr,{collapsible:!0,trigger:null,collapsed:r,breakpoint:v===!1?void 0:v,onCollapse:function(ye){c||o==null||o(ye)},collapsedWidth:48,style:(0,p.Z)({overflow:"hidden",paddingTop:C==="mix"&&!c?re:void 0},y),width:u,theme:s,className:Ee,children:[Se&&(0,l.jsx)("div",{className:fe()("".concat(W,"-logo"),(0,$.Z)({},"".concat(W,"-collapsed"),r)),onClick:C!=="mix"?g:void 0,id:"logo",style:ue,children:Se}),ze&&(0,l.jsx)("div",{className:"".concat(W,"-extra ").concat(!Se&&"".concat(W,"-extra-no-logo")),children:ze}),(0,l.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:We}),(0,l.jsx)("div",{className:"".concat(W,"-links"),children:(0,l.jsx)(mt.Z,{theme:s,inlineIndent:16,className:"".concat(W,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:Ne})}),a&&(0,l.jsx)("div",{className:fe()("".concat(W,"-footer"),(0,$.Z)({},"".concat(W,"-footer-collapsed"),!r)),children:a(e)})]})]})},fn=Ir,Lr=function(e){var t=e.isMobile,r=e.menuData,i=e.siderWidth,a=e.collapsed,o=e.onCollapse,s=e.style,u=e.className,c=e.hide,g=e.getContainer,f=e.prefixCls,v=e.matchMenuKeys,y=pt.useContainer(),C=y.setFlatMenuKeys;(0,Z.useEffect)(function(){if(!(!r||r.length<1)){var m=Qt(r);C(Object.keys(m))}},[v.join("-")]),(0,Z.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var N=(0,kt.Z)(e,["className","style"]);return c?null:t?(0,l.jsx)(br.Z,{visible:!a,placement:"left",className:fe()("".concat(f,"-drawer-sider"),u),onClose:function(){return o==null?void 0:o(!0)},style:(0,p.Z)({padding:0,height:"100vh"},s),getContainer:g,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,l.jsx)(fn,(0,p.Z)((0,p.Z)({},N),{},{className:fe()("".concat(f,"-sider"),u),collapsed:t?!1:a,splitMenus:!1}))}):(0,l.jsx)(fn,(0,p.Z)((0,p.Z)({className:fe()("".concat(f,"-sider"),u)},N),{},{style:s}))},vn=Lr,Br=d(63485),zr=d(16254),Tt=d.n(zr),Hr=function(e,t,r){if(r){var i=(0,ht.Z)(r.keys()).find(function(o){return Tt()(o).test(e)});if(i)return r.get(i)}if(t){var a=Object.keys(t).find(function(o){return Tt()(o).test(e)});if(a)return t[a]}return{path:""}},gn=function(e,t){var r=e.pathname,i=r===void 0?"/":r,a=e.breadcrumb,o=e.breadcrumbMap,s=e.formatMessage,u=e.title,c=e.menu,g=c===void 0?{locale:!1}:c,f=t?"":u||"",v=Hr(i,a,o);if(!v)return{title:f,id:"",pageName:f};var y=v.name;return g.locale!==!1&&v.locale&&s&&(y=s({id:v.locale||"",defaultMessage:v.name})),y?t||!u?{title:y,id:v.locale||"",pageName:y}:{title:"".concat(y," - ").concat(u),id:v.locale||"",pageName:y}:{title:f,id:v.locale||"",pageName:f}},ji=function(e,t){return gn(e,t).title},Ei=null,Wr=d(10379),$r=d(44144),Kr=d(10178),Gr=d(48717),Si=d(17212),Ur=["rightContentRender","prefixCls"],Vr=function(e){var t=e.rightContentRender,r=e.prefixCls,i=(0,S.Z)(e,Ur),a=(0,Z.useState)("auto"),o=(0,L.Z)(a,2),s=o[0],u=o[1],c=(0,Kr.Z)(function(){var g=(0,Te.Z)((0,Me.Z)().mark(function f(v){return(0,Me.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:u(v);case 1:case"end":return C.stop()}},f)}));return function(f){return g.apply(this,arguments)}}(),160);return(0,l.jsx)("div",{className:"".concat(r,"-right-content"),style:{minWidth:s},children:(0,l.jsx)("div",{style:{paddingRight:8},children:(0,l.jsx)(Gr.Z,{onResize:function(f){var v=f.width;c.run(v)},children:t&&(0,l.jsx)("div",{className:"".concat(r,"-right-content-resize"),children:t((0,p.Z)((0,p.Z)({},i),{},{rightContentSize:s}))})})})})},Xr=function(e){var t=(0,Z.useRef)(null),r=e.theme,i=e.onMenuHeaderClick,a=e.contentWidth,o=e.rightContentRender,s=e.className,u=e.style,c=e.headerContentRender,g=e.layout,f="".concat(e.prefixCls||"ant-pro","-top-nav-header"),v=Ot((0,p.Z)((0,p.Z)({},e),{},{collapsed:!1}),g==="mix"?"headerTitleRender":void 0),y=fe()(f,s,{light:r==="light"}),C=(0,l.jsx)(un,(0,p.Z)((0,p.Z)({},e),e.menuProps)),N=c?c==null?void 0:c(e,C):C;return(0,l.jsx)("div",{className:y,style:u,children:(0,l.jsxs)("div",{ref:t,className:"".concat(f,"-main ").concat(a==="Fixed"?"wide":""),children:[v&&(0,l.jsx)("div",{className:"".concat(f,"-main-left"),onClick:i,children:(0,l.jsx)("div",{className:"".concat(f,"-logo"),id:"logo",children:v},"logo")}),(0,l.jsx)("div",{style:{flex:1},className:"".concat(f,"-menu"),children:N}),o&&(0,l.jsx)(Vr,(0,p.Z)({rightContentRender:o,prefixCls:f},e))]})})},pn=Xr,Ni=d(17124),Yr=function(e,t){return e===!1?null:e?e(t,null):t},Qr=function(e){var t=e.isMobile,r=e.logo,i=e.collapsed,a=e.onCollapse,o=e.collapsedButtonRender,s=o===void 0?dn:o,u=e.rightContentRender,c=e.menuHeaderRender,g=e.onMenuHeaderClick,f=e.className,v=e.style,y=e.layout,C=e.children,N=e.headerTheme,m=N===void 0?"dark":N,j=e.splitMenus,M=e.menuData,Y=e.prefixCls,G=(0,Z.useContext)(T.ZP.ConfigContext),q=G.direction,B="".concat(Y,"-global-header"),re=fe()(f,B,(0,$.Z)({},"".concat(B,"-layout-").concat(y),y&&m==="dark"));if(y==="mix"&&!t&&j){var ue=(M||[]).map(function(Ee){return(0,p.Z)((0,p.Z)({},Ee),{},{children:void 0,routes:void 0})}),W=tt(ue);return(0,l.jsx)(pn,(0,p.Z)((0,p.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:W,theme:m}))}var Ce=fe()("".concat(B,"-logo"),(0,$.Z)({},"".concat(B,"-logo-rtl"),q==="rtl")),je=(0,l.jsx)("span",{className:Ce,children:(0,l.jsx)("a",{children:cn(r)})},"logo");return(0,l.jsxs)("div",{className:re,style:(0,p.Z)({},v),children:[t&&Yr(c,je),t&&s&&(0,l.jsx)("span",{className:"".concat(B,"-collapsed-button"),onClick:function(){a&&a(!i)},children:s(i)}),y==="mix"&&!t&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:Ce,onClick:g,children:Ot((0,p.Z)((0,p.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})}),(0,l.jsx)("div",{style:{flex:1},children:C}),u&&u(e)]})},Jr=Qr,Pi=d(2828),mn=xe.Z.Header,kr=function(n){(0,Wr.Z)(t,n);var e=(0,$r.Z)(t);function t(){var r;(0,en.Z)(this,t);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=e.call.apply(e,[this].concat(a)),r.renderContent=function(){var s=r.props,u=s.isMobile,c=s.onCollapse,g=s.navTheme,f=s.layout,v=s.headerRender,y=s.headerContentRender,C=f==="top",N=tt(r.props.menuData||[]),m=(0,l.jsx)(Jr,(0,p.Z)((0,p.Z)({onCollapse:c},r.props),{},{menuData:N,children:y&&y(r.props,null)}));return C&&!u&&(m=(0,l.jsx)(pn,(0,p.Z)((0,p.Z)({theme:g,mode:"horizontal",onCollapse:c},r.props),{},{menuData:N}))),v&&typeof v=="function"?v(r.props,m):m},r}return(0,_t.Z)(t,[{key:"render",value:function(){var i,a=this.props,o=a.fixedHeader,s=a.layout,u=a.className,c=a.style,g=a.navTheme,f=a.collapsed,v=a.siderWidth,y=a.hasSiderMenu,C=a.isMobile,N=a.prefixCls,m=a.headerHeight,j=o||s==="mix",M=s==="top",Y=j&&y&&!M&&!C,G=fe()(u,(i={},(0,$.Z)(i,"".concat(N,"-fixed-header"),j),(0,$.Z)(i,"".concat(N,"-fixed-header-action"),!f),(0,$.Z)(i,"".concat(N,"-top-menu"),M),(0,$.Z)(i,"".concat(N,"-header-").concat(g),g&&s!=="mix"),i)),q=s!=="mix"&&Y?"calc(100% - ".concat(f?48:v,"px)"):"100%",B=j?0:void 0;return(0,l.jsxs)(l.Fragment,{children:[j&&(0,l.jsx)(mn,{style:{height:m,lineHeight:"".concat(m,"px"),background:"transparent"}}),(0,l.jsx)(mn,{style:(0,p.Z)({padding:0,height:m,lineHeight:"".concat(m,"px"),width:q,zIndex:s==="mix"?100:19,right:B},c),className:G,children:this.renderContent()})]})}}]),t}(Z.Component),qr=kr,_r={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},ea=(0,p.Z)({},_r),ta={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.daybreak":"Blu cielo mattutino (default)","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},na=(0,p.Z)({},ta),ra={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},aa=(0,p.Z)({},ra),ia={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.daybreak":"\u62C2\u6653\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},oa=(0,p.Z)({},ia),la={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},sa=(0,p.Z)({},la),hn={"zh-CN":oa,"zh-TW":sa,"en-US":ea,"it-IT":na,"ko-KR":aa},ua=function(){if(!(0,D.Z)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},ca=function(){var e=ua();return hn[e]||hn["zh-CN"]},yn=d(64335),da=function(e){var t=["sidemenu","topmenu"];return t.includes(e)?e==null?void 0:e.replace("menu",""):e},fa=da;function va(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 ga=function(e){var t=e.breadcrumbName,r=e.path;return(0,l.jsx)("a",{href:r,children:t})},pa=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},ma=function(e,t){var r=e.get(t);if(!r){var i=Array.from(e.keys())||[],a=i.find(function(o){return Tt()(o.replace("?","")).test(t)});a&&(r=e.get(a))}return r||{path:""}},ha=function(e){var t=e.location,r=e.breadcrumbMap;return{location:t,breadcrumbMap:r}},ya=function(e,t,r){var i=va(e==null?void 0:e.pathname),a=i.map(function(o){var s=ma(t,o),u=pa(s,r),c=s.hideInBreadcrumb;return u&&!c?{path:o,breadcrumbName:u,component:s.component}:{path:"",breadcrumbName:""}}).filter(function(o){return o&&o.path});return a},xa=function(e){var t=ha(e),r=t.location,i=t.breadcrumbMap;return r&&r.pathname&&i?ya(r,i,e):[]},Ca=function(e,t){var r=e.breadcrumbRender,i=e.itemRender,a=t.breadcrumbProps||{},o=a.minLength,s=o===void 0?2:o,u=xa(e),c=i||ga,g=u;return r&&(g=r(g)||[]),(g&&g.length<s||r===!1)&&(g=void 0),{routes:g,itemRender:c}};function ba(n){return(0,ht.Z)(n).reduce(function(e,t){var r=(0,L.Z)(t,2),i=r[0],a=r[1];return e[i]=a,e},{})}var Ma=function n(e,t,r,i){var a=Xt(e,(t==null?void 0:t.locale)||!1,r,!0),o=a.menuData,s=a.breadcrumb;return i?n(i(o),t,r,void 0):{breadcrumb:ba(s),breadcrumbMap:s,menuData:o}},Za=Ma,Ra=d(90484),ja=d(51812),Ea=function(e){var t=(0,Z.useState)({}),r=(0,L.Z)(t,2),i=r[0],a=r[1];return(0,Z.useEffect)(function(){a((0,ja.Z)({layout:(0,Ra.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},Sa=Ea,Na=d(78164),Pa=function(e){var t=e.autoClearCache,r=t===void 0?!0:t,i=e.style,a=e.className,o=e.children,s=e.ErrorBoundary||Na.Z;return(0,l.jsx)(pe.oK,{autoClearCache:r,children:e.ErrorBoundary===!1?(0,l.jsx)(xe.Z.Content,{className:a,style:i,children:o}):(0,l.jsx)(s,{children:(0,l.jsx)(xe.Z.Content,{className:a,style:i,children:o})})})},wa=Pa,Oa=["id","defaultMessage"],Ta=["fixSiderbar","navTheme","layout"],xn=0,Da=function(e,t){return e.headerRender===!1||e.pure?null:(0,l.jsx)(qr,(0,p.Z)({matchMenuKeys:t},e))},Aa=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,p.Z)({},e),(0,l.jsx)(Br.Z,{})):null},Fa=function(e,t){var r=e.layout,i=e.navTheme,a=e.isMobile,o=e.openKeys,s=e.splitMenus,u=e.menuRender;if(e.menuRender===!1||e.pure)return null;var c=e.menuData;if(s&&(o!==!1||r==="mix")&&!a){var g=(0,L.Z)(t,1),f=g[0];if(f){var v,y;c=((v=e.menuData)===null||v===void 0||(y=v.find(function(m){return m.key===f}))===null||y===void 0?void 0:y.routes)||[]}else c=[]}var C=tt(c||[]);if(C&&(C==null?void 0:C.length)<1&&s)return null;if(r==="top"&&!a)return(0,l.jsx)(vn,(0,p.Z)((0,p.Z)({matchMenuKeys:t},e),{},{hide:!0}));var N=(0,l.jsx)(vn,(0,p.Z)((0,p.Z)({matchMenuKeys:t},e),{},{style:i==="realDark"?{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"}:{},menuData:C}));return u?u(e,N):N},Ia=function(e,t){var r=t.pageTitleRender,i=gn(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});xr()(typeof a=="string","pro-layout: renderPageTitle return value should be a string")}return i},La=function(e,t,r){return e?t?48:r:0},Cn=function(e){var t,r,i,a,o=e||{},s=o.children,u=o.onCollapse,c=o.location,g=c===void 0?{pathname:"/"}:c,f=o.contentStyle,v=o.route,y=o.defaultCollapsed,C=o.style,N=o.disableContentMargin,m=o.siderWidth,j=m===void 0?208:m,M=o.menu,Y=o.isChildrenLayout,G=o.menuDataRender,q=o.actionRef,B=o.formatMessage,re=o.loading,ue=(0,Z.useContext)(T.ZP.ConfigContext),W=(t=e.prefixCls)!==null&&t!==void 0?t:ue.getPrefixCls("pro"),Ce=(0,ae.Z)(!1,{value:M==null?void 0:M.loading,onChange:M==null?void 0:M.onLoadingChange}),je=(0,L.Z)(Ce,2),Ee=je[0],Se=je[1],ze=(0,Z.useState)(function(){return xn+=1,"pro-layout-".concat(xn)}),He=(0,L.Z)(ze,1),We=He[0],Ne=(0,Z.useCallback)(function(he){var Ge=he.id,xt=he.defaultMessage,Ht=(0,S.Z)(he,Oa);if(B)return B((0,p.Z)({id:Ge,defaultMessage:xt},Ht));var Ue=ca();return Ue[Ge]?Ue[Ge]:xt},[B]),we=(0,qt.ZP)(function(){return(M==null?void 0:M.params)?[We,M==null?void 0:M.params]:[We,{}]},function(){var he=(0,Te.Z)((0,Me.Z)().mark(function Ge(xt,Ht){var Ue,In;return(0,Me.Z)().wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:return Se(!0),Ve.next=3,M==null||(Ue=M.request)===null||Ue===void 0?void 0:Ue.call(M,Ht,(v==null?void 0:v.routes)||[]);case 3:return In=Ve.sent,Se(!1),Ve.abrupt("return",In);case 6:case"end":return Ve.stop()}},Ge)}));return function(Ge,xt){return he.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),ye=we.data,Fe=we.mutate,ni=(0,qt.kY)(),Rn=ni.cache;(0,Z.useEffect)(function(){return function(){Rn instanceof Map&&Rn.clear()}},[]);var ri=(0,Z.useMemo)(function(){return Za(ye||(v==null?void 0:v.routes)||[],M,Ne,G)},[Ne,M,G,ye,v==null?void 0:v.routes]),At=ri||{},jn=At.breadcrumb,ai=jn===void 0?{}:jn,En=At.breadcrumbMap,Sn=At.menuData,nt=Sn===void 0?[]:Sn;q&&(M==null?void 0:M.request)&&(q.current={reload:function(){Fe()}});var rt=(0,Z.useMemo)(function(){return Jt(g.pathname||"/",nt||[],!0)},[g.pathname,nt]),Ft=(0,Z.useMemo)(function(){return Array.from(new Set(rt.map(function(he){return he.key||he.path||""})))},[rt]),Nn=rt[rt.length-1]||{},Pn=Sa(Nn),yt=(0,p.Z)((0,p.Z)({},e),Pn),ii=yt.fixSiderbar,wn=yt.navTheme,oi=yt.layout,li=(0,S.Z)(yt,Ta),at=fa(oi),it=(0,hr.ZP)(),$e=(it==="sm"||it==="xs")&&!e.disableMobile,si=at!=="top"&&!$e,ui=(0,mr.Z)(function(){return y!==void 0?y:!!($e||it==="md")},{value:e.collapsed,onChange:u}),On=(0,L.Z)(ui,2),ot=On[0],Tn=On[1],Ke=(0,kt.Z)((0,p.Z)((0,p.Z)((0,p.Z)({prefixCls:W},e),{},{siderWidth:j},Pn),{},{formatMessage:Ne,breadcrumb:ai,menu:(0,p.Z)((0,p.Z)({},M),{},{loading:Ee}),layout:at}),["className","style","breadcrumbRender"]),It=Ia((0,p.Z)((0,p.Z)({pathname:g.pathname},Ke),{},{breadcrumbMap:En}),e),ci=Ca((0,p.Z)((0,p.Z)({},Ke),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:En}),e),Lt=Fa((0,p.Z)((0,p.Z)({},Ke),{},{menuData:nt,onCollapse:Tn,isMobile:$e,theme:wn==="dark"?"dark":"light",collapsed:ot}),Ft),Bt=Da((0,p.Z)((0,p.Z)({},Ke),{},{hasSiderMenu:!!Lt,menuData:nt,isMobile:$e,collapsed:ot,onCollapse:Tn,theme:wn==="dark"?"dark":"light"}),Ft),Dn=Aa((0,p.Z)({isMobile:$e,collapsed:ot},Ke)),di=(0,Z.useContext)(yn.Z),fi=di.isChildrenLayout,zt=Y!==void 0?Y:fi,Oe="".concat(W,"-basicLayout"),vi=fe()(e.className,"ant-design-pro",Oe,(r={},(0,$.Z)(r,"screen-".concat(it),it),(0,$.Z)(r,"".concat(Oe,"-top-menu"),at==="top"),(0,$.Z)(r,"".concat(Oe,"-is-children"),zt),(0,$.Z)(r,"".concat(Oe,"-fix-siderbar"),ii),(0,$.Z)(r,"".concat(Oe,"-").concat(at),at),r)),gi=La(!!si,ot,j),An={position:"relative"};(zt||f&&f.minHeight)&&(An.minHeight=0);var pi=fe()("".concat(Oe,"-content"),(i={},(0,$.Z)(i,"".concat(Oe,"-has-header"),Bt),(0,$.Z)(i,"".concat(Oe,"-content-disable-margin"),N),i));(0,Z.useEffect)(function(){var he;(he=e.onPageChange)===null||he===void 0||he.call(e,e.location)},[g.pathname,(a=g.pathname)===null||a===void 0?void 0:a.search]);var mi=(0,Z.useState)(!1),Fn=(0,L.Z)(mi,2),hi=Fn[0],yi=Fn[1];return ie(It,e.title||!1),(0,l.jsx)(pt.Provider,{children:(0,l.jsx)(yn.Z.Provider,{value:(0,p.Z)((0,p.Z)({},Ke),{},{breadcrumb:ci,menuData:nt,isMobile:$e,collapsed:ot,isChildrenLayout:!0,title:It.pageName,hasSiderMenu:!!Lt,hasHeader:!!Bt,siderWidth:gi,hasFooter:!!Dn,hasFooterToolbar:hi,setHasFooterToolbar:yi,pageTitleInfo:It,matchMenus:rt,matchMenuKeys:Ft,currentMenu:Nn}),children:e.pure?(0,l.jsx)(pe.oK,{autoClearCache:!0,children:s}):(0,l.jsx)("div",{className:vi,children:(0,l.jsxs)(xe.Z,{style:(0,p.Z)({minHeight:"100%"},C),children:[Lt,(0,l.jsxs)("div",{style:An,className:ue.getPrefixCls("layout"),children:[Bt,(0,l.jsx)(wa,(0,p.Z)((0,p.Z)({autoClearCache:!1,isChildrenLayout:zt},li),{},{className:pi,style:f,children:re?(0,l.jsx)(Cr.Z,{}):s})),Dn]})]})})})})},Ba=function(){return(0,l.jsxs)("svg",{width:"32px",height:"32px",viewBox:"0 0 200 200",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{x1:"62.1023273%",y1:"0%",x2:"108.19718%",y2:"37.8635764%",id:"linearGradient-1",children:[(0,l.jsx)("stop",{stopColor:"#4285EB",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#2EC7FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.644116%",y1:"0%",x2:"54.0428975%",y2:"108.456714%",id:"linearGradient-2",children:[(0,l.jsx)("stop",{stopColor:"#29CDFF",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#148EFF",offset:"37.8600687%"}),(0,l.jsx)("stop",{stopColor:"#0A60FF",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"69.6908165%",y1:"-12.9743587%",x2:"16.7228981%",y2:"117.391248%",id:"linearGradient-3",children:[(0,l.jsx)("stop",{stopColor:"#FA816E",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"41.472606%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-4",children:[(0,l.jsx)("stop",{stopColor:"#FA8E7D",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F74A5C",offset:"51.2635191%"}),(0,l.jsx)("stop",{stopColor:"#F51D2C",offset:"100%"})]})]}),(0,l.jsx)("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:(0,l.jsx)("g",{transform:"translate(-20.000000, -20.000000)",children:(0,l.jsx)("g",{transform:"translate(20.000000, 20.000000)",children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("g",{fillRule:"nonzero",children:[(0,l.jsxs)("g",{children:[(0,l.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-1)"}),(0,l.jsx)("path",{d:"M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z",fill:"url(#linearGradient-2)"})]}),(0,l.jsx)("path",{d:"M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z",fill:"url(#linearGradient-3)"})]}),(0,l.jsx)("ellipse",{fill:"url(#linearGradient-4)",cx:"100.519339",cy:"100.436681",rx:"23.6001926",ry:"23.580786"})]})})})})]})};Cn.defaultProps=(0,p.Z)((0,p.Z)({logo:(0,l.jsx)(Ba,{})},nn),{},{location:(0,D.Z)()?window.location:void 0});var za=Cn,wi=null,Ha=za,Oi=d(59250),Wa=d(13013),Ti=d(20228),$a=d(11382),Di=d(94233),Ka=d(51890),Ga=d(55035);function Dt(n,e,t,r){if(n.rightRender)return n.rightRender(t,r,n);var i=(0,l.jsx)(mt.Z,{className:"umi-plugin-layout-menu",children:(0,l.jsxs)(mt.Z.Item,{onClick:function(){return n.logout&&(n==null?void 0:n.logout(t))},children:[(0,l.jsx)(Ga.Z,{}),"\u9000\u51FA\u767B\u5F55"]},"logout")}),a=(0,l.jsxs)("span",{className:"umi-plugin-layout-action",children:[(0,l.jsx)(Ka.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,l.jsx)("span",{className:"umi-plugin-layout-name",children:t==null?void 0:t.name})]});return e?(0,l.jsx)("div",{className:"umi-plugin-layout-right",children:(0,l.jsx)($a.Z,{size:"small",style:{marginLeft:8,marginRight:8}})}):(0,l.jsxs)("div",{className:"umi-plugin-layout-right anticon",children:[n.logout?(0,l.jsx)(Wa.Z,{overlay:i,overlayClassName:"umi-plugin-layout-container",children:a}):a,b.pD&&(0,l.jsx)(b.pD,{})]})}var Ai=d(57106),bn=d(6129),Fi=d(57663),Mn=d(71577);function Zn(){b.m8.push("/")}var Ua=function(){return(0,l.jsx)(bn.ZP,{status:"404",title:"404",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,l.jsx)(Mn.Z,{type:"primary",onClick:Zn,children:"\u8FD4\u56DE\u9996\u9875"})})},Va=function(){return(0,l.jsx)(bn.ZP,{status:"403",title:"403",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762",extra:(0,l.jsx)(Mn.Z,{type:"primary",onClick:Zn,children:"\u8FD4\u56DE\u9996\u9875"})})},Xa=function(e){var t=e.children,r=e.currentPathConfig;return r?r.unAccessible||r.unaccessible?e.unAccessible||(0,l.jsx)(Va,{}):t:e.noFound||(0,l.jsx)(Ua,{})},Ya=function(){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 200 200",children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"linearGradient-1",x1:"62.102%",x2:"108.197%",y1:"0%",y2:"37.864%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#4285EB"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#2EC7FF"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-2",x1:"69.644%",x2:"54.043%",y1:"0%",y2:"108.457%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#29CDFF"}),(0,l.jsx)("stop",{offset:"37.86%",stopColor:"#148EFF"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#0A60FF"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-3",x1:"69.691%",x2:"16.723%",y1:"-12.974%",y2:"117.391%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#FA816E"}),(0,l.jsx)("stop",{offset:"41.473%",stopColor:"#F74A5C"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]}),(0,l.jsxs)("linearGradient",{id:"linearGradient-4",x1:"68.128%",x2:"30.44%",y1:"-35.691%",y2:"114.943%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#FA8E7D"}),(0,l.jsx)("stop",{offset:"51.264%",stopColor:"#F74A5C"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#F51D2C"})]})]}),(0,l.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,l.jsx)("g",{transform:"translate(-20 -20)",children:(0,l.jsx)("g",{transform:"translate(20 20)",children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("g",{fillRule:"nonzero",children:[(0,l.jsxs)("g",{children:[(0,l.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,l.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,l.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,l.jsx)("ellipse",{cx:"100.519",cy:"100.437",fill:"url(#linearGradient-4)",rx:"23.6",ry:"23.581"})]})})})})]})},Qa=Ya,Ja=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)},ka=Ja,qa=["children","userConfig","location","route"],_a=function(e){var t,r=e.children,i=e.userConfig,a=i===void 0?{}:i,o=e.location,s=e.route,u=(0,E.Z)(e,qa),c=b.tT&&(0,b.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},g=c.initialState,f=c.loading,v=c.setInitialState,y=(0,Z.useMemo)(function(){var m,j=Xt((e==null||(m=e.route)===null||m===void 0?void 0:m.routes)||[],void 0,void 0,!0),M=j.menuData,Y=Jt(o.pathname,M).pop();return Y||{}},[o==null?void 0:o.pathname,e==null||(t=e.route)===null||t===void 0?void 0:t.routes]),C=(0,x.Z)((0,x.Z)((0,x.Z)({itemRender:function(j){return(0,l.jsx)(ce.rU,{to:j.path,children:j.breadcrumbName})}},a),u),ka(y||{})),N=b.md===null||b.md===void 0?void 0:(0,b.md)();return(0,l.jsx)(Ha,(0,x.Z)((0,x.Z)({route:s,location:o,title:(a==null?void 0:a.name)||(a==null?void 0:a.title),navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(j){j.stopPropagation(),j.preventDefault(),b.m8.push("/")},menu:{locale:a.locale},menuDataRender:a.patchMenus?function(m){return a==null?void 0:a.patchMenus(m,c)}:void 0,formatMessage:a==null?void 0:a.formatMessage,logo:Qa,menuItemRender:function(j,M){return j.isUrl?M:j.path&&o.pathname!==j.path?(0,l.jsx)(ce.rU,{to:j.path,target:j.target,children:M}):M},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,postMenuData:b.Bz?function(m){return b.Bz===null||b.Bz===void 0?void 0:(0,b.Bz)(m,N)}:void 0},C),{},{rightContentRender:(C==null?void 0:C.rightContentRender)!==!1&&function(m){var j=Dt==null?void 0:Dt(a,f,g,v);return C.rightContentRender?C.rightContentRender(m,j,{userConfig:a,loading:f,initialState:g,setInitialState:v}):j},children:(0,l.jsx)(Xa,{noFound:a==null?void 0:a.noFound,unAccessible:a==null?void 0:a.unAccessible,currentPathConfig:y,children:a.childrenRender?a.childrenRender(r,e):r})}))},ei=_a,ti=function(n){var e=(0,Z.useState)(null),t=(0,R.Z)(e,2),r=t[0],i=t[1],a=b.tT&&(0,b.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},o=b.md===null||b.md===void 0?void 0:(0,b.md)();(0,Z.useEffect)(function(){var g=b.BA.applyPlugins({key:"layout",type:O.Ac.modify,initialValue:(0,x.Z)((0,x.Z)({},a),{},{traverseModifyRoutes:function(v){return b.Bz===null||b.Bz===void 0?void 0:(0,b.Bz)(v,o)}})})||{};if(g instanceof Promise){g.then(function(f){i(f)});return}i(g)},[a==null?void 0:a.initialState,o]);var s=(0,x.Z)((0,x.Z)({},{name:"ant-design-pro",theme:"PRO",locale:!1,showBreadcrumb:!0,siderWidth:208,navTheme:"dark",primaryColor:"#FA541C",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,colorWeak:!1,title:"\u9ED1\u83E0\u841D\u667A\u6167\u540E\u53A8",pwa:!1,logo:"/logo.svg",iconfontUrl:""}),r||{}),u=(0,b.YB)(),c=u.formatMessage;return r?Z.createElement(ei,(0,x.Z)({userConfig:s,formatMessage:c},n)):null}},19586:function(ve,ge,d){"use strict";d.d(ge,{Z:function(){return Ye}});var x=d(96156),R=d(22122),Z=d(90484),b=d(94184),O=d.n(b),E=d(67294),ce=d(53124),be=d(98423),xe=function(h){var P,H,U=h.prefixCls,ee=h.className,_=h.style,K=h.size,I=h.shape,A=O()((P={},(0,x.Z)(P,"".concat(U,"-lg"),K==="large"),(0,x.Z)(P,"".concat(U,"-sm"),K==="small"),P)),ne=O()((H={},(0,x.Z)(H,"".concat(U,"-circle"),I==="circle"),(0,x.Z)(H,"".concat(U,"-square"),I==="square"),(0,x.Z)(H,"".concat(U,"-round"),I==="round"),H)),V=E.useMemo(function(){return typeof K=="number"?{width:K,height:K,lineHeight:"".concat(K,"px")}:{}},[K]);return E.createElement("span",{className:O()(U,A,ne,ee),style:(0,R.Z)((0,R.Z)({},V),_)})},$=xe,Me=function(h){var P=h.prefixCls,H=h.className,U=h.active,ee=h.shape,_=ee===void 0?"circle":ee,K=h.size,I=K===void 0?"default":K,A=E.useContext(ce.E_),ne=A.getPrefixCls,V=ne("skeleton",P),le=(0,be.Z)(h,["prefixCls","className"]),Ze=O()(V,"".concat(V,"-element"),(0,x.Z)({},"".concat(V,"-active"),U),H);return E.createElement("div",{className:Ze},E.createElement($,(0,R.Z)({prefixCls:"".concat(V,"-avatar"),shape:_,size:I},le)))},Te=Me,S=function(h){var P,H=h.prefixCls,U=h.className,ee=h.active,_=h.block,K=_===void 0?!1:_,I=h.size,A=I===void 0?"default":I,ne=E.useContext(ce.E_),V=ne.getPrefixCls,le=V("skeleton",H),Ze=(0,be.Z)(h,["prefixCls"]),Qe=O()(le,"".concat(le,"-element"),(P={},(0,x.Z)(P,"".concat(le,"-active"),ee),(0,x.Z)(P,"".concat(le,"-block"),K),P),U);return E.createElement("div",{className:Qe},E.createElement($,(0,R.Z)({prefixCls:"".concat(le,"-button"),size:A},Ze)))},z=S,T=d(93181),L=function(h){var P=h.prefixCls,H=h.className,U=h.style,ee=h.active,_=h.children,K=E.useContext(ce.E_),I=K.getPrefixCls,A=I("skeleton",P),ne=O()(A,"".concat(A,"-element"),(0,x.Z)({},"".concat(A,"-active"),ee),H),V=_!=null?_:E.createElement(T.Z,null);return E.createElement("div",{className:ne},E.createElement("div",{className:O()("".concat(A,"-image"),H),style:U},V))},p=L,l="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",pe=function(h){var P=h.prefixCls,H=h.className,U=h.style,ee=h.active,_=E.useContext(ce.E_),K=_.getPrefixCls,I=K("skeleton",P),A=O()(I,"".concat(I,"-element"),(0,x.Z)({},"".concat(I,"-active"),ee),H);return E.createElement("div",{className:A},E.createElement("div",{className:O()("".concat(I,"-image"),H),style:U},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(I,"-image-svg")},E.createElement("path",{d:l,className:"".concat(I,"-image-path")}))))},ae=pe,D=function(h){var P,H=h.prefixCls,U=h.className,ee=h.active,_=h.block,K=h.size,I=K===void 0?"default":K,A=E.useContext(ce.E_),ne=A.getPrefixCls,V=ne("skeleton",H),le=(0,be.Z)(h,["prefixCls"]),Ze=O()(V,"".concat(V,"-element"),(P={},(0,x.Z)(P,"".concat(V,"-active"),ee),(0,x.Z)(P,"".concat(V,"-block"),_),P),U);return E.createElement("div",{className:Ze},E.createElement($,(0,R.Z)({prefixCls:"".concat(V,"-input"),size:I},le)))},F=D,ie=d(85061),oe=function(h){var P=function(A){var ne=h.width,V=h.rows,le=V===void 0?2:V;if(Array.isArray(ne))return ne[A];if(le-1===A)return ne},H=h.prefixCls,U=h.className,ee=h.style,_=h.rows,K=(0,ie.Z)(Array(_)).map(function(I,A){return E.createElement("li",{key:A,style:{width:P(A)}})});return E.createElement("ul",{className:O()(H,U),style:ee},K)},Q=oe,de=function(h){var P=h.prefixCls,H=h.className,U=h.width,ee=h.style;return E.createElement("h3",{className:O()(P,H),style:(0,R.Z)({width:U},ee)})},Ie=de;function De(J){return J&&(0,Z.Z)(J)==="object"?J:{}}function Xe(J,h){return J&&!h?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Le(J,h){return!J&&h?{width:"38%"}:J&&h?{width:"50%"}:{}}function Pe(J,h){var P={};return(!J||!h)&&(P.width="61%"),!J&&h?P.rows=3:P.rows=2,P}var me=function(h){var P=h.prefixCls,H=h.loading,U=h.className,ee=h.style,_=h.children,K=h.avatar,I=K===void 0?!1:K,A=h.title,ne=A===void 0?!0:A,V=h.paragraph,le=V===void 0?!0:V,Ze=h.active,Qe=h.round,st=E.useContext(ce.E_),Ct=st.getPrefixCls,bt=st.direction,w=Ct("skeleton",P);if(H||!("loading"in h)){var k,X=!!I,Be=!!ne,Ae=!!le,ut;if(X){var Je=(0,R.Z)((0,R.Z)({prefixCls:"".concat(w,"-avatar")},Xe(Be,Ae)),De(I));ut=E.createElement("div",{className:"".concat(w,"-header")},E.createElement($,(0,R.Z)({},Je)))}var ct;if(Be||Ae){var dt;if(Be){var Wt=(0,R.Z)((0,R.Z)({prefixCls:"".concat(w,"-title")},Le(X,Ae)),De(ne));dt=E.createElement(Ie,(0,R.Z)({},Wt))}var ft;if(Ae){var Mt=(0,R.Z)((0,R.Z)({prefixCls:"".concat(w,"-paragraph")},Pe(X,Be)),De(le));ft=E.createElement(Q,(0,R.Z)({},Mt))}ct=E.createElement("div",{className:"".concat(w,"-content")},dt,ft)}var Zt=O()(w,(k={},(0,x.Z)(k,"".concat(w,"-with-avatar"),X),(0,x.Z)(k,"".concat(w,"-active"),Ze),(0,x.Z)(k,"".concat(w,"-rtl"),bt==="rtl"),(0,x.Z)(k,"".concat(w,"-round"),Qe),k),U);return E.createElement("div",{className:Zt,style:ee},ut,ct)}return typeof _!="undefined"?_:null};me.Button=z,me.Avatar=Te,me.Input=F,me.Image=ae,me.Node=p;var lt=me,Ye=lt},18446:function(ve,ge,d){"use strict";var x=d(38663),R=d.n(x),Z=d(18067),b=d.n(Z)},21879:function(ve){"use strict";var ge=typeof BigInt64Array!="undefined";ve.exports=function d(x,R){if(x===R)return!0;if(x&&R&&typeof x=="object"&&typeof R=="object"){if(x.constructor!==R.constructor)return!1;var Z,b,O;if(Array.isArray(x)){if(Z=x.length,Z!=R.length)return!1;for(b=Z;b--!=0;)if(!d(x[b],R[b]))return!1;return!0}if(x instanceof Map&&R instanceof Map){if(x.size!==R.size)return!1;for(b of x.entries())if(!R.has(b[0]))return!1;for(b of x.entries())if(!d(b[1],R.get(b[0])))return!1;return!0}if(x instanceof Set&&R instanceof Set){if(x.size!==R.size)return!1;for(b of x.entries())if(!R.has(b[0]))return!1;return!0}if(ArrayBuffer.isView(x)&&ArrayBuffer.isView(R)){if(Z=x.length,Z!=R.length)return!1;for(b=Z;b--!=0;)if(x[b]!==R[b])return!1;return!0}if(x.constructor===RegExp)return x.source===R.source&&x.flags===R.flags;if(x.valueOf!==Object.prototype.valueOf)return x.valueOf()===R.valueOf();if(x.toString!==Object.prototype.toString)return x.toString()===R.toString();if(O=Object.keys(x),Z=O.length,Z!==Object.keys(R).length)return!1;for(b=Z;b--!=0;)if(!Object.prototype.hasOwnProperty.call(R,O[b]))return!1;for(b=Z;b--!=0;){var E=O[b];if(!(E==="_owner"&&x.$$typeof)&&!d(x[E],R[E]))return!1}return!0}return x!==x&&R!==R}}}]);
|