|
- (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6301],{64335:function(ce,re,c){"use strict";var C=c(67294),Z=(0,C.createContext)({});re.Z=Z},16254:function(ce){ce.exports=pe,ce.exports.parse=Z,ce.exports.compile=M,ce.exports.tokensToFunction=x,ce.exports.tokensToRegExp=Ce;var re="/",c="./",C=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function Z(j,B){for(var T=[],A=0,g=0,l="",he=B&&B.delimiter||re,oe=B&&B.delimiters||c,D=!1,I;(I=C.exec(j))!==null;){var le=I[0],se=I[1],Q=I.index;if(l+=j.slice(g,Q),g=Q+le.length,se){l+=se[1],D=!0;continue}var ge="",Ie=j[g],De=I[2],Xe=I[3],Le=I[4],Oe=I[5];if(!D&&l.length){var ye=l.length-1;oe.indexOf(l[ye])>-1&&(ge=l[ye],l=l.slice(0,ye))}l&&(T.push(l),l="",D=!1);var lt=ge!==""&&Ie!==void 0&&Ie!==ge,Ye=Oe==="+"||Oe==="*",J=Oe==="?"||Oe==="*",h=ge||he,O=Xe||Le;T.push({name:De||A++,prefix:ge,delimiter:h,optional:J,repeat:Ye,partial:lt,pattern:O?S(O):"[^"+N(h)+"]+?"})}return(l||g<j.length)&&T.push(l+j.substr(g)),T}function M(j,B){return x(Z(j,B))}function x(j){for(var B=new Array(j.length),T=0;T<j.length;T++)typeof j[T]=="object"&&(B[T]=new RegExp("^(?:"+j[T].pattern+")$"));return function(A,g){for(var l="",he=g&&g.encode||encodeURIComponent,oe=0;oe<j.length;oe++){var D=j[oe];if(typeof D=="string"){l+=D;continue}var I=A?A[D.name]:void 0,le;if(Array.isArray(I)){if(!D.repeat)throw new TypeError('Expected "'+D.name+'" to not repeat, but got array');if(I.length===0){if(D.optional)continue;throw new TypeError('Expected "'+D.name+'" to not be empty')}for(var se=0;se<I.length;se++){if(le=he(I[se],D),!B[oe].test(le))throw new TypeError('Expected all "'+D.name+'" to match "'+D.pattern+'"');l+=(se===0?D.prefix:D.delimiter)+le}continue}if(typeof I=="string"||typeof I=="number"||typeof I=="boolean"){if(le=he(String(I),D),!B[oe].test(le))throw new TypeError('Expected "'+D.name+'" to match "'+D.pattern+'", but got "'+le+'"');l+=D.prefix+le;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 N(j){return j.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function S(j){return j.replace(/([=!:$/()])/g,"\\$1")}function ie(j){return j&&j.sensitive?"":"i"}function Me(j,B){if(!B)return j;var T=j.source.match(/\((?!\?)/g);if(T)for(var A=0;A<T.length;A++)B.push({name:A,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return j}function ve(j,B,T){for(var A=[],g=0;g<j.length;g++)A.push(pe(j[g],B,T).source);return new RegExp("(?:"+A.join("|")+")",ie(T))}function H(j,B,T){return Ce(Z(j,T),B,T)}function Ce(j,B,T){T=T||{};for(var A=T.strict,g=T.start!==!1,l=T.end!==!1,he=N(T.delimiter||re),oe=T.delimiters||c,D=[].concat(T.endsWith||[]).map(N).concat("$").join("|"),I=g?"^":"",le=j.length===0,se=0;se<j.length;se++){var Q=j[se];if(typeof Q=="string")I+=N(Q),le=se===j.length-1&&oe.indexOf(Q[Q.length-1])>-1;else{var ge=Q.repeat?"(?:"+Q.pattern+")(?:"+N(Q.delimiter)+"(?:"+Q.pattern+"))*":Q.pattern;B&&B.push(Q),Q.optional?Q.partial?I+=N(Q.prefix)+"("+ge+")?":I+="(?:"+N(Q.prefix)+"("+ge+"))?":I+=N(Q.prefix)+"("+ge+")"}}return l?(A||(I+="(?:"+he+")?"),I+=D==="$"?"$":"(?="+D+")"):(A||(I+="(?:"+he+"(?="+D+"))?"),le||(I+="(?="+he+"|"+D+")")),new RegExp(I,ie(T))}function pe(j,B,T){return j instanceof RegExp?Me(j,B):Array.isArray(j)?ve(j,B,T):H(j,B,T)}},80430:function(ce){"use strict";var re=!1,c=function(){};if(re){var C=function(M,x){var N=arguments.length;x=new Array(N>1?N-1:0);for(var S=1;S<N;S++)x[S-1]=arguments[S];var ie=0,Me="Warning: "+M.replace(/%s/g,function(){return x[ie++]});typeof console!="undefined"&&console.error(Me);try{throw new Error(Me)}catch(ve){}};c=function(Z,M,x){var N=arguments.length;x=new Array(N>2?N-2:0);for(var S=2;S<N;S++)x[S-2]=arguments[S];if(M===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");Z||C.apply(null,[M].concat(x))}}ce.exports=c},7700:function(){},2828:function(){},17124:function(){},43361:function(){},17212:function(){},18067:function(){},50799:function(ce,re,c){"use strict";c.r(re),c.d(re,{default:function(){return ti}});var C=c(11849),Z=c(2824),M=c(67294),x=c(48971),N=c(79004),S=c(93224),ie=c(73727),Me=c(24793),ve=c(97183),H=c(96156),Ce=c(55507),pe=c(92137),j=c(81253),B=c(84305),T=c(39559),A=c(28481),g=c(28991),l=c(85893),he=c(78775),oe=c(56725),D=c(12044);function I(n,e){var t=typeof n.pageName=="string"?n.title:e;(0,M.useEffect)(function(){(0,D.Z)()&&t&&(document.title=t)},[n.title,t])}var le=I,se=c(21879),Q=c.n(se),ge=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Ie(n,e){return!!(n===e||ge(n)&&ge(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 Oe(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 ye(n,e){e===void 0&&(e={});for(var t=Oe(n),r=e.prefixes,i=r===void 0?"./":r,a="[^"+O(e.delimiter||"/#?")+"]+?",o=[],s=0,u=0,d="",m=function(z){if(u<t.length&&t[u].type===z)return t[u++].value},f=function(z){var ae=m(z);if(ae!==void 0)return ae;var fe=t[u],$=fe.type,Ze=fe.index;throw new TypeError("Unexpected "+$+" at "+Ze+", expected "+z)},v=function(){for(var z="",ae;ae=m("CHAR")||m("ESCAPED_CHAR");)z+=ae;return z};u<t.length;){var y=m("CHAR"),b=m("NAME"),P=m("PATTERN");if(b||P){var p=y||"";i.indexOf(p)===-1&&(d+=p,p=""),d&&(o.push(d),d=""),o.push({name:b||s++,prefix:p,suffix:"",pattern:P||a,modifier:m("MODIFIER")||""});continue}var E=y||m("ESCAPED_CHAR");if(E){d+=E;continue}d&&(o.push(d),d="");var R=m("OPEN");if(R){var p=v(),Y=m("NAME")||"",U=m("PATTERN")||"",_=v();f("CLOSE"),o.push({name:Y||(U?s++:""),pattern:Y&&!U?a:U,prefix:p,suffix:_,modifier:m("MODIFIER")||""});continue}f("END")}return o}function lt(n,e){return Ye(ye(n,e),e)}function Ye(n,e){e===void 0&&(e={});var t=W(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 d="",m=0;m<n.length;m++){var f=n[m];if(typeof f=="string"){d+=f;continue}var v=u?u[f.name]:void 0,y=f.modifier==="?"||f.modifier==="*",b=f.modifier==="*"||f.modifier==="+";if(Array.isArray(v)){if(!b)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 P=0;P<v.length;P++){var p=i(v[P],f);if(o&&!s[m].test(p))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but got "'+p+'"');d+=f.prefix+p+f.suffix}continue}if(typeof v=="string"||typeof v=="number"){var p=i(String(v),f);if(o&&!s[m].test(p))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but got "'+p+'"');d+=f.prefix+p+f.suffix;continue}if(!y){var E=b?"an array":"a string";throw new TypeError('Expected "'+f.name+'" to be '+E)}}return d}}function J(n,e){var t=[],r=L(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,d=Object.create(null),m=function(v){if(o[v]===void 0)return"continue";var y=e[v-1];y.modifier==="*"||y.modifier==="+"?d[y.name]=o[v].split(y.prefix+y.suffix).map(function(b){return i(b,y)}):d[y.name]=i(o[v],y)},f=1;f<o.length;f++)m(f);return{path:s,index:u,params:d}}}function O(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function W(n){return n&&n.sensitive?"":"i"}function G(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 L(i,e,t).source});return new RegExp("(?:"+r.join("|")+")",W(t))}function q(n,e,t){return K(ye(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,d=t.encode,m=d===void 0?function(z){return z}:d,f="["+O(t.endsWith||"")+"]|$",v="["+O(t.delimiter||"/#?")+"]",y=o?"^":"",b=0,P=n;b<P.length;b++){var p=P[b];if(typeof p=="string")y+=O(m(p));else{var E=O(m(p.prefix)),R=O(m(p.suffix));if(p.pattern)if(e&&e.push(p),E||R)if(p.modifier==="+"||p.modifier==="*"){var Y=p.modifier==="*"?"?":"";y+="(?:"+E+"((?:"+p.pattern+")(?:"+R+E+"(?:"+p.pattern+"))*)"+R+")"+Y}else y+="(?:"+E+"("+p.pattern+")"+R+")"+p.modifier;else y+="("+p.pattern+")"+p.modifier;else y+="(?:"+E+R+")"+p.modifier}}if(u)i||(y+=v+"?"),y+=t.endsWith?"(?="+f+")":"$";else{var U=n[n.length-1],_=typeof U=="string"?v.indexOf(U[U.length-1])>-1:U===void 0;i||(y+="(?:"+v+"(?="+f+"))?"),_||(y+="(?="+v+"|"+f+")")}return new RegExp(y,W(t))}function L(n,e,t){return n instanceof RegExp?G(n,e):Array.isArray(n)?ee(n,e,t):q(n,e,t)}function F(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 ue(n){return F(2,n)^F(13,n)^F(22,n)}function Re(n){return F(6,n)^F(11,n)^F(25,n)}function Qe(n){return F(7,n)^F(18,n)^n>>>3}function st(n){return F(17,n)^F(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 Fe(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,d,m=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++)m[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+Re(i)+ne(i,a,o)+bt[v],v<16?u+=m[v]:u+=Ct(m,v),d=ue(n)+V(n,e,t),s=o,o=a,a=i,i=Fe(r,u),r=t,t=e,e=n,n=Fe(u,d);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(d){throw d},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 d=t.next();return a=d.done,d},e:function(d){o=!0,s=d},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 Un(n,e,t){return e&&$t(n.prototype,e),t&&$t(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function Gn(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=_e(n),i;if(e){var a=_e(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,_e(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),d=new u;return o&&ke(d,o.prototype),d},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 _e(n){return _e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_e(n)}function Ut(n){return _n(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 _n(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 qn(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 Gt(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?Gt(Object(t),!0).forEach(function(r){qe(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Gt(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function qe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var de="routes";function et(n){return n.split("?")[0].split("#")[0]}var Pt=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("/")||Pt(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[de],d=i.name,m=d===void 0?e.name:d,f=i.icon,v=f===void 0?e.icon:f,y=i.hideChildren,b=y===void 0?e.hideChildren:y,P=i.flatMenu,p=P===void 0?e.flatMenu:P,E=a&&Object.keys(a).join(",")!=="redirect"?[te({path:s,menu:i},a)].concat(u||[]):u,R=te({},e);if(m&&(R.name=m),v&&(R.icon=v),E&&E.length){if(b)return delete R[de],delete R.children,R;var Y=Nt(te(te({},t),{},{data:E}),e);if(p)return Y;R[de]=Y}return R},je=function(e){return Array.isArray(e)&&e.length>0};function Nt(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?je(o[de])||je(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[de],u=Vt(o.path,e?e.path:"/"),d=o.name,m=nr(o,i||"menu"),f=m!==!1&&a!==!1&&r&&m?r({id:m,defaultMessage:d}):d,v=e.pro_layout_parentKeys,y=v===void 0?[]:v,b=e.children,P=e.icon,p=e.flatMenu,E=e.indexRoute,R=e.routes,Y=qn(e,Ln),U=new Set([].concat(Ut(y),Ut(o.parentKeys||[])));e.key&&U.add(e.key);var _=te(te(te({},Y),{},{menu:void 0},o),{},{path:u,locale:m,key:o.key||tr(te(te({},o),{},{path:u})),pro_layout_parentKeys:Array.from(U).filter(function(ae){return ae&&ae!=="/"})});if(f?_.name=f:delete _.name,_.menu===void 0&&delete _.menu,je(s)){var z=Nt(te(te({},n),{},{data:s,parentName:m||""}),_);je(z)&&(_[de]=z,_.children=z)}return rr(_,n)}).flat(1)}var ar=Le(Nt,Q()),ir=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||je(t[de])||je(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var r=te({},t),i=r.children||r[de];if(je(i)&&!r.hideChildrenInMenu&&i.some(function(s){return s&&!!s.name})){var a,o=n(i);if(o.length)return te(te({},r),{},(a={},qe(a,de,o),qe(a,"children",o),a))}return te(te({},t),{},qe({},de,void 0))}).filter(function(t){return t})},or=function(n){Gn(t,n);var e=Vn(t);function t(){return Kn(this,t),e.apply(this,arguments)}return Un(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),d=u[0],m=u[1],f=et(d);if(!Pt(d)&&L(f,[]).test(i)){a=m;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[de];je(u)&&i(u,s);var d=Vt(s.path,o?o.path:"/");t.set(et(d),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[de];if(je(r)){var i=n(r);if(i.length)return te(te({},t),{},qe({},de,i))}var a=te({},t);return delete a[de],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[de];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&&!Pt(i)){var a=et(i);try{if(r&&L("".concat(a)).test(t)||L("".concat(a),[]).test(t)||L("".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 d=a[u]||{pro_layout_parentKeys:"",key:""},m=new Map,f=(d.pro_layout_parentKeys||[]).map(function(v){return m.has(v)?null:(m.set(v,!0),a[v])}).filter(function(v){return v});return d.key&&f.push(d),f}).flat(1))},Jt=gr,mr=c(94184),me=c.n(mr),kt=c(97435),pr=c(21770),_t=c(29405),hr=c(38069),yr=c(80430),xr=c.n(yr),xi=c(7700),Cr=c(83832),Ci=c(57338),br=c(273),Mr=c(57186);function Zr(){var n=(0,M.useState)([]),e=(0,A.Z)(n,2),t=e[0],r=e[1];return{flatMenuKeys:t,setFlatMenuKeys:r}}var Rr=(0,Mr.f)(Zr),mt=Rr,bi=c(30887),pt=c(28682),jr=c(1351),Er=c(76629),Mi=c(18446),Sr=c(19586),ht=c(85061),qt=c(5991),en=c(6610),tn=c(91321),Pr=c(16165),Nr=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},Ot=Nr;function Or(n){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(n)}var wr=Or,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,g.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,g.Z)((0,g.Z)({},e),{},{children:tt(t),routes:tt(t)});delete r.routes,delete r.children}return r}).filter(function(e){return e})}var Ri=c(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(Ot(e)||wr(e))return(0,l.jsx)(Pr.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,qt.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,d=s.prefixCls,m=s.menu,f=s.iconPrefixes,v=r.icon?(0,l.jsxs)("span",{className:"".concat(d,"-menu-item"),title:o,children:[!i&&ln(r.icon,f),(0,l.jsx)("span",{className:"".concat(d,"-menu-item-title"),children:o})]}):(0,l.jsx)("span",{className:"".concat(d,"-menu-item"),title:o,children:o}),y=u?u((0,g.Z)((0,g.Z)({},r),{},{isUrl:!1}),v,t.props):v;return{type:(m==null?void 0:m.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(P){var p;Ot(r==null?void 0:r.path)&&window.open(r.path,"_blank"),(p=r.onTitleClick)===null||p===void 0||p.call(r,P)}}},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,d=o.isMobile,m=o.onCollapse,f=o.menuItemRender,v=o.iconPrefixes,y=t.getIntlName(r),b=t.props.prefixCls,P=i?null:ln(r.icon,v),p=Ot(a),E=(0,l.jsxs)("span",{className:me()("".concat(b,"-menu-item"),(0,H.Z)({},"".concat(b,"-menu-item-link"),p)),children:[P,(0,l.jsx)("span",{className:"".concat(b,"-menu-item-title"),children:y})]});if(f){var R=(0,g.Z)((0,g.Z)({},r),{},{isUrl:p,itemPath:a,isMobile:d,replace:a===u.pathname,onClick:function(){p&&window.open(a,"_blank"),m&&m(!0)},children:void 0});return f(R,E,t.props)}return E},this.conversionPath=function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")},this.props=e}),Fr=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,d=e.matchMenuKeys,m=e.iconfontUrl,f=e.collapsed,v=e.selectedKeys,y=e.onSelect,b=e.openKeys,P=(0,M.useRef)([]),p=mt.useContainer(),E=p.flatMenuKeys,R=(0,oe.Z)(u==null?void 0:u.defaultOpenAll),Y=(0,A.Z)(R,2),U=Y[0],_=Y[1],z=(0,oe.Z)(function(){return(u==null?void 0:u.defaultOpenAll)?rn(s)||[]:b===!1?!1:[]},{value:b===!1?void 0:b,onChange:a}),ae=(0,A.Z)(z,2),fe=ae[0],$=ae[1],Ze=(0,oe.Z)([],{value:v,onChange:y?function(Ae){y&&Ae&&y(Ae)}:void 0}),Ee=(0,A.Z)(Ze,2),Se=Ee[0],Pe=Ee[1];(0,M.useEffect)(function(){(u==null?void 0:u.defaultOpenAll)||b===!1||E.length||d&&($(d),Pe(d))},[d.join("-")]),(0,M.useEffect)(function(){m&&(on=(0,tn.Z)({scriptUrl:m}))},[m]),(0,M.useEffect)(function(){if(d.join("-")!==(Se||[]).join("-")&&Pe(d),!U&&b!==!1&&d.join("-")!==(fe||[]).join("-")){var Ae=d;(u==null?void 0:u.autoClose)===!1&&(Ae=Array.from(new Set([].concat((0,ht.Z)(d),(0,ht.Z)(fe||[]))))),$(Ae)}else(u==null?void 0:u.ignoreFlatMenu)&&U?$(rn(s)):E.length>0&&_(!1)},[d.join("-"),f]);var ze=(0,M.useMemo)(function(){return Fr(fe,e)},[fe&&fe.join(","),e.layout,e.collapsed]),He=(0,M.useState)(function(){return new Dr(e)}),We=(0,A.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=me()(i,{"top-nav-menu":r==="horizontal"});Ne.props=e,e.openKeys===!1&&!e.handleOpenChange&&(P.current=d);var be=e.postMenuData?e.postMenuData(s):s;return be&&(be==null?void 0:be.length)<1?null:(0,M.createElement)(pt.Z,(0,g.Z)((0,g.Z)({},ze),{},{key:"Menu",mode:r,items:Ne.getNavMenuItems(be,!1),inlineIndent:16,defaultOpenKeys:P.current,theme:t,selectedKeys:Se,style:o,className:we,onOpenChange:$},e.menuProps))};sn.defaultProps={postMenuData:function(e){return e||[]}};var un=sn,Ar=ve.Z.Sider,cn=function(e){return typeof e=="string"?(0,l.jsx)("img",{src:e,alt:"logo"}):typeof e=="function"?e():e},wt=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,d=e.isMobile,m=e.onMenuHeaderClick,f=e.breakpoint,v=f===void 0?"lg":f,y=e.style,b=e.layout,P=e.menuExtraRender,p=P===void 0?!1:P,E=e.collapsedButtonRender,R=E===void 0?dn:E,Y=e.links,U=e.menuContentRender,_=e.prefixCls,z=e.onOpenChange,ae=e.headerHeight,fe=e.logoStyle,$="".concat(_,"-sider"),Ze=mt.useContainer(),Ee=Ze.flatMenuKeys,Se=me()("".concat($),(t={},(0,H.Z)(t,"".concat($,"-fixed"),i),(0,H.Z)(t,"".concat($,"-layout-").concat(b),b&&!d),(0,H.Z)(t,"".concat($,"-light"),s!=="dark"),t)),Pe=wt(e),ze=p&&p(e),He=U!==!1&&Ee&&(0,M.createElement)(un,(0,g.Z)((0,g.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:z,style:{width:"100%"},className:"".concat($,"-menu")})),We=U?U(e,He):He,Ne=(Y||[]).map(function(we,be){return{className:"".concat($,"-link"),label:we,key:be}});return R&&!d&&Ne.push({className:"".concat($,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){o&&o(!r)},label:R(r)}),(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)("div",{style:(0,g.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)(Ar,{collapsible:!0,trigger:null,collapsed:r,breakpoint:v===!1?void 0:v,onCollapse:function(be){d||o==null||o(be)},collapsedWidth:48,style:(0,g.Z)({overflow:"hidden",paddingTop:b==="mix"&&!d?ae:void 0},y),width:u,theme:s,className:Se,children:[Pe&&(0,l.jsx)("div",{className:me()("".concat($,"-logo"),(0,H.Z)({},"".concat($,"-collapsed"),r)),onClick:b!=="mix"?m:void 0,id:"logo",style:fe,children:Pe}),ze&&(0,l.jsx)("div",{className:"".concat($,"-extra ").concat(!Pe&&"".concat($,"-extra-no-logo")),children:ze}),(0,l.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:We}),(0,l.jsx)("div",{className:"".concat($,"-links"),children:(0,l.jsx)(pt.Z,{theme:s,inlineIndent:16,className:"".concat($,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:Ne})}),a&&(0,l.jsx)("div",{className:me()("".concat($,"-footer"),(0,H.Z)({},"".concat($,"-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,d=e.hide,m=e.getContainer,f=e.prefixCls,v=e.matchMenuKeys,y=mt.useContainer(),b=y.setFlatMenuKeys;(0,M.useEffect)(function(){if(!(!r||r.length<1)){var p=Qt(r);b(Object.keys(p))}},[v.join("-")]),(0,M.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var P=(0,kt.Z)(e,["className","style"]);return d?null:t?(0,l.jsx)(br.Z,{visible:!a,placement:"left",className:me()("".concat(f,"-drawer-sider"),u),onClose:function(){return o==null?void 0:o(!0)},style:(0,g.Z)({padding:0,height:"100vh"},s),getContainer:m,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,l.jsx)(fn,(0,g.Z)((0,g.Z)({},P),{},{className:me()("".concat(f,"-sider"),u),collapsed:t?!1:a,splitMenus:!1}))}):(0,l.jsx)(fn,(0,g.Z)((0,g.Z)({className:me()("".concat(f,"-sider"),u)},P),{},{style:s}))},vn=Lr,Br=c(63485),zr=c(16254),Tt=c.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,d=e.menu,m=d===void 0?{locale:!1}:d,f=t?"":u||"",v=Hr(i,a,o);if(!v)return{title:f,id:"",pageName:f};var y=v.name;return m.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=c(10379),$r=c(44144),Kr=c(10178),Ur=c(48717),Si=c(17212),Gr=["rightContentRender","prefixCls"],Vr=function(e){var t=e.rightContentRender,r=e.prefixCls,i=(0,j.Z)(e,Gr),a=(0,M.useState)("auto"),o=(0,A.Z)(a,2),s=o[0],u=o[1],d=(0,Kr.Z)(function(){var m=(0,pe.Z)((0,Ce.Z)().mark(function f(v){return(0,Ce.Z)().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:u(v);case 1:case"end":return b.stop()}},f)}));return function(f){return m.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)(Ur.Z,{onResize:function(f){var v=f.width;d.run(v)},children:t&&(0,l.jsx)("div",{className:"".concat(r,"-right-content-resize"),children:t((0,g.Z)((0,g.Z)({},i),{},{rightContentSize:s}))})})})})},Xr=function(e){var t=(0,M.useRef)(null),r=e.theme,i=e.onMenuHeaderClick,a=e.contentWidth,o=e.rightContentRender,s=e.className,u=e.style,d=e.headerContentRender,m=e.layout,f="".concat(e.prefixCls||"ant-pro","-top-nav-header"),v=wt((0,g.Z)((0,g.Z)({},e),{},{collapsed:!1}),m==="mix"?"headerTitleRender":void 0),y=me()(f,s,{light:r==="light"}),b=(0,l.jsx)(un,(0,g.Z)((0,g.Z)({},e),e.menuProps)),P=d?d==null?void 0:d(e,b):b;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:P}),o&&(0,l.jsx)(Vr,(0,g.Z)({rightContentRender:o,prefixCls:f},e))]})})},mn=Xr,Pi=c(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,d=e.menuHeaderRender,m=e.onMenuHeaderClick,f=e.className,v=e.style,y=e.layout,b=e.children,P=e.headerTheme,p=P===void 0?"dark":P,E=e.splitMenus,R=e.menuData,Y=e.prefixCls,U=(0,M.useContext)(T.ZP.ConfigContext),_=U.direction,z="".concat(Y,"-global-header"),ae=me()(f,z,(0,H.Z)({},"".concat(z,"-layout-").concat(y),y&&p==="dark"));if(y==="mix"&&!t&&E){var fe=(R||[]).map(function(Se){return(0,g.Z)((0,g.Z)({},Se),{},{children:void 0,routes:void 0})}),$=tt(fe);return(0,l.jsx)(mn,(0,g.Z)((0,g.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:$,theme:p}))}var Ze=me()("".concat(z,"-logo"),(0,H.Z)({},"".concat(z,"-logo-rtl"),_==="rtl")),Ee=(0,l.jsx)("span",{className:Ze,children:(0,l.jsx)("a",{children:cn(r)})},"logo");return(0,l.jsxs)("div",{className:ae,style:(0,g.Z)({},v),children:[t&&Yr(d,Ee),t&&s&&(0,l.jsx)("span",{className:"".concat(z,"-collapsed-button"),onClick:function(){a&&a(!i)},children:s(i)}),y==="mix"&&!t&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:Ze,onClick:m,children:wt((0,g.Z)((0,g.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})}),(0,l.jsx)("div",{style:{flex:1},children:b}),u&&u(e)]})},Jr=Qr,Ni=c(2828),pn=ve.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,d=s.onCollapse,m=s.navTheme,f=s.layout,v=s.headerRender,y=s.headerContentRender,b=f==="top",P=tt(r.props.menuData||[]),p=(0,l.jsx)(Jr,(0,g.Z)((0,g.Z)({onCollapse:d},r.props),{},{menuData:P,children:y&&y(r.props,null)}));return b&&!u&&(p=(0,l.jsx)(mn,(0,g.Z)((0,g.Z)({theme:m,mode:"horizontal",onCollapse:d},r.props),{},{menuData:P}))),v&&typeof v=="function"?v(r.props,p):p},r}return(0,qt.Z)(t,[{key:"render",value:function(){var i,a=this.props,o=a.fixedHeader,s=a.layout,u=a.className,d=a.style,m=a.navTheme,f=a.collapsed,v=a.siderWidth,y=a.hasSiderMenu,b=a.isMobile,P=a.prefixCls,p=a.headerHeight,E=o||s==="mix",R=s==="top",Y=E&&y&&!R&&!b,U=me()(u,(i={},(0,H.Z)(i,"".concat(P,"-fixed-header"),E),(0,H.Z)(i,"".concat(P,"-fixed-header-action"),!f),(0,H.Z)(i,"".concat(P,"-top-menu"),R),(0,H.Z)(i,"".concat(P,"-header-").concat(m),m&&s!=="mix"),i)),_=s!=="mix"&&Y?"calc(100% - ".concat(f?48:v,"px)"):"100%",z=E?0:void 0;return(0,l.jsxs)(l.Fragment,{children:[E&&(0,l.jsx)(pn,{style:{height:p,lineHeight:"".concat(p,"px"),background:"transparent"}}),(0,l.jsx)(pn,{style:(0,g.Z)({padding:0,height:p,lineHeight:"".concat(p,"px"),width:_,zIndex:s==="mix"?100:19,right:z},d),className:U,children:this.renderContent()})]})}}]),t}(M.Component),_r=kr,qr={"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,g.Z)({},qr),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,g.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,g.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,g.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,g.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=c(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})},ma=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},pa=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=pa(t,o),u=ma(s,r),d=s.hideInBreadcrumb;return u&&!d?{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),d=i||ga,m=u;return r&&(m=r(m)||[]),(m&&m.length<s||r===!1)&&(m=void 0),{routes:m,itemRender:d}};function ba(n){return(0,ht.Z)(n).reduce(function(e,t){var r=(0,A.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=c(90484),ja=c(51812),Ea=function(e){var t=(0,M.useState)({}),r=(0,A.Z)(t,2),i=r[0],a=r[1];return(0,M.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,Pa=c(78164),Na=function(e){var t=e.autoClearCache,r=t===void 0?!0:t,i=e.style,a=e.className,o=e.children,s=e.ErrorBoundary||Pa.Z;return(0,l.jsx)(he.oK,{autoClearCache:r,children:e.ErrorBoundary===!1?(0,l.jsx)(ve.Z.Content,{className:a,style:i,children:o}):(0,l.jsx)(s,{children:(0,l.jsx)(ve.Z.Content,{className:a,style:i,children:o})})})},Oa=Na,wa=["id","defaultMessage"],Ta=["fixSiderbar","navTheme","layout"],xn=0,Da=function(e,t){return e.headerRender===!1||e.pure?null:(0,l.jsx)(_r,(0,g.Z)({matchMenuKeys:t},e))},Fa=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,g.Z)({},e),(0,l.jsx)(Br.Z,{})):null},Aa=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 d=e.menuData;if(s&&(o!==!1||r==="mix")&&!a){var m=(0,A.Z)(t,1),f=m[0];if(f){var v,y;d=((v=e.menuData)===null||v===void 0||(y=v.find(function(p){return p.key===f}))===null||y===void 0?void 0:y.routes)||[]}else d=[]}var b=tt(d||[]);if(b&&(b==null?void 0:b.length)<1&&s)return null;if(r==="top"&&!a)return(0,l.jsx)(vn,(0,g.Z)((0,g.Z)({matchMenuKeys:t},e),{},{hide:!0}));var P=(0,l.jsx)(vn,(0,g.Z)((0,g.Z)({matchMenuKeys:t},e),{},{style:i==="realDark"?{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"}:{},menuData:b}));return u?u(e,P):P},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,g.Z)((0,g.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,d=o.location,m=d===void 0?{pathname:"/"}:d,f=o.contentStyle,v=o.route,y=o.defaultCollapsed,b=o.style,P=o.disableContentMargin,p=o.siderWidth,E=p===void 0?208:p,R=o.menu,Y=o.isChildrenLayout,U=o.menuDataRender,_=o.actionRef,z=o.formatMessage,ae=o.loading,fe=(0,M.useContext)(T.ZP.ConfigContext),$=(t=e.prefixCls)!==null&&t!==void 0?t:fe.getPrefixCls("pro"),Ze=(0,oe.Z)(!1,{value:R==null?void 0:R.loading,onChange:R==null?void 0:R.onLoadingChange}),Ee=(0,A.Z)(Ze,2),Se=Ee[0],Pe=Ee[1],ze=(0,M.useState)(function(){return xn+=1,"pro-layout-".concat(xn)}),He=(0,A.Z)(ze,1),We=He[0],Ne=(0,M.useCallback)(function(xe){var Ue=xe.id,xt=xe.defaultMessage,Ht=(0,j.Z)(xe,wa);if(z)return z((0,g.Z)({id:Ue,defaultMessage:xt},Ht));var Ge=ca();return Ge[Ue]?Ge[Ue]:xt},[z]),we=(0,_t.ZP)(function(){return(R==null?void 0:R.params)?[We,R==null?void 0:R.params]:[We,{}]},function(){var xe=(0,pe.Z)((0,Ce.Z)().mark(function Ue(xt,Ht){var Ge,In;return(0,Ce.Z)().wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:return Pe(!0),Ve.next=3,R==null||(Ge=R.request)===null||Ge===void 0?void 0:Ge.call(R,Ht,(v==null?void 0:v.routes)||[]);case 3:return In=Ve.sent,Pe(!1),Ve.abrupt("return",In);case 6:case"end":return Ve.stop()}},Ue)}));return function(Ue,xt){return xe.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),be=we.data,Ae=we.mutate,ni=(0,_t.kY)(),Rn=ni.cache;(0,M.useEffect)(function(){return function(){Rn instanceof Map&&Rn.clear()}},[]);var ri=(0,M.useMemo)(function(){return Za(be||(v==null?void 0:v.routes)||[],R,Ne,U)},[Ne,R,U,be,v==null?void 0:v.routes]),Ft=ri||{},jn=Ft.breadcrumb,ai=jn===void 0?{}:jn,En=Ft.breadcrumbMap,Sn=Ft.menuData,nt=Sn===void 0?[]:Sn;_&&(R==null?void 0:R.request)&&(_.current={reload:function(){Ae()}});var rt=(0,M.useMemo)(function(){return Jt(m.pathname||"/",nt||[],!0)},[m.pathname,nt]),At=(0,M.useMemo)(function(){return Array.from(new Set(rt.map(function(xe){return xe.key||xe.path||""})))},[rt]),Pn=rt[rt.length-1]||{},Nn=Sa(Pn),yt=(0,g.Z)((0,g.Z)({},e),Nn),ii=yt.fixSiderbar,On=yt.navTheme,oi=yt.layout,li=(0,j.Z)(yt,Ta),at=fa(oi),it=(0,hr.ZP)(),$e=(it==="sm"||it==="xs")&&!e.disableMobile,si=at!=="top"&&!$e,ui=(0,pr.Z)(function(){return y!==void 0?y:!!($e||it==="md")},{value:e.collapsed,onChange:u}),wn=(0,A.Z)(ui,2),ot=wn[0],Tn=wn[1],Ke=(0,kt.Z)((0,g.Z)((0,g.Z)((0,g.Z)({prefixCls:$},e),{},{siderWidth:E},Nn),{},{formatMessage:Ne,breadcrumb:ai,menu:(0,g.Z)((0,g.Z)({},R),{},{loading:Se}),layout:at}),["className","style","breadcrumbRender"]),It=Ia((0,g.Z)((0,g.Z)({pathname:m.pathname},Ke),{},{breadcrumbMap:En}),e),ci=Ca((0,g.Z)((0,g.Z)({},Ke),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:En}),e),Lt=Aa((0,g.Z)((0,g.Z)({},Ke),{},{menuData:nt,onCollapse:Tn,isMobile:$e,theme:On==="dark"?"dark":"light",collapsed:ot}),At),Bt=Da((0,g.Z)((0,g.Z)({},Ke),{},{hasSiderMenu:!!Lt,menuData:nt,isMobile:$e,collapsed:ot,onCollapse:Tn,theme:On==="dark"?"dark":"light"}),At),Dn=Fa((0,g.Z)({isMobile:$e,collapsed:ot},Ke)),di=(0,M.useContext)(yn.Z),fi=di.isChildrenLayout,zt=Y!==void 0?Y:fi,Te="".concat($,"-basicLayout"),vi=me()(e.className,"ant-design-pro",Te,(r={},(0,H.Z)(r,"screen-".concat(it),it),(0,H.Z)(r,"".concat(Te,"-top-menu"),at==="top"),(0,H.Z)(r,"".concat(Te,"-is-children"),zt),(0,H.Z)(r,"".concat(Te,"-fix-siderbar"),ii),(0,H.Z)(r,"".concat(Te,"-").concat(at),at),r)),gi=La(!!si,ot,E),Fn={position:"relative"};(zt||f&&f.minHeight)&&(Fn.minHeight=0);var mi=me()("".concat(Te,"-content"),(i={},(0,H.Z)(i,"".concat(Te,"-has-header"),Bt),(0,H.Z)(i,"".concat(Te,"-content-disable-margin"),P),i));(0,M.useEffect)(function(){var xe;(xe=e.onPageChange)===null||xe===void 0||xe.call(e,e.location)},[m.pathname,(a=m.pathname)===null||a===void 0?void 0:a.search]);var pi=(0,M.useState)(!1),An=(0,A.Z)(pi,2),hi=An[0],yi=An[1];return le(It,e.title||!1),(0,l.jsx)(mt.Provider,{children:(0,l.jsx)(yn.Z.Provider,{value:(0,g.Z)((0,g.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:At,currentMenu:Pn}),children:e.pure?(0,l.jsx)(he.oK,{autoClearCache:!0,children:s}):(0,l.jsx)("div",{className:vi,children:(0,l.jsxs)(ve.Z,{style:(0,g.Z)({minHeight:"100%"},b),children:[Lt,(0,l.jsxs)("div",{style:Fn,className:fe.getPrefixCls("layout"),children:[Bt,(0,l.jsx)(Oa,(0,g.Z)((0,g.Z)({autoClearCache:!1,isChildrenLayout:zt},li),{},{className:mi,style:f,children:ae?(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,g.Z)((0,g.Z)({logo:(0,l.jsx)(Ba,{})},nn),{},{location:(0,D.Z)()?window.location:void 0});var za=Cn,Oi=null,Ha=za,wi=c(59250),Wa=c(13013),Ti=c(20228),$a=c(11382),Di=c(94233),Ka=c(51890),Ua=c(55035);function Dt(n,e,t,r){if(n.rightRender)return n.rightRender(t,r,n);var i=(0,l.jsx)(pt.Z,{className:"umi-plugin-layout-menu",children:(0,l.jsxs)(pt.Z.Item,{onClick:function(){return n.logout&&(n==null?void 0:n.logout(t))},children:[(0,l.jsx)(Ua.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,x.pD&&(0,l.jsx)(x.pD,{})]})}var Fi=c(57106),bn=c(6129),Ai=c(57663),Mn=c(71577);function Zn(){x.m8.push("/")}var Ga=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)(Ga,{})},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,_a=["children","userConfig","location","route"],qa=function(e){var t,r=e.children,i=e.userConfig,a=i===void 0?{}:i,o=e.location,s=e.route,u=(0,S.Z)(e,_a),d=x.tT&&(0,x.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},m=d.initialState,f=d.loading,v=d.setInitialState,y=(0,M.useMemo)(function(){var p,E=Xt((e==null||(p=e.route)===null||p===void 0?void 0:p.routes)||[],void 0,void 0,!0),R=E.menuData,Y=Jt(o.pathname,R).pop();return Y||{}},[o==null?void 0:o.pathname,e==null||(t=e.route)===null||t===void 0?void 0:t.routes]),b=(0,C.Z)((0,C.Z)((0,C.Z)({itemRender:function(E){return(0,l.jsx)(ie.rU,{to:E.path,children:E.breadcrumbName})}},a),u),ka(y||{})),P=x.md===null||x.md===void 0?void 0:(0,x.md)();return(0,l.jsx)(Ha,(0,C.Z)((0,C.Z)({route:s,location:o,title:(a==null?void 0:a.name)||(a==null?void 0:a.title),navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(E){E.stopPropagation(),E.preventDefault(),x.m8.push("/")},menu:{locale:a.locale},menuDataRender:a.patchMenus?function(p){return a==null?void 0:a.patchMenus(p,d)}:void 0,formatMessage:a==null?void 0:a.formatMessage,logo:Qa,menuItemRender:function(E,R){return E.isUrl?R:E.path&&o.pathname!==E.path?(0,l.jsx)(ie.rU,{to:E.path,target:E.target,children:R}):R},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,postMenuData:x.Bz?function(p){return x.Bz===null||x.Bz===void 0?void 0:(0,x.Bz)(p,P)}:void 0},b),{},{rightContentRender:(b==null?void 0:b.rightContentRender)!==!1&&function(p){var E=Dt==null?void 0:Dt(a,f,m,v);return b.rightContentRender?b.rightContentRender(p,E,{userConfig:a,loading:f,initialState:m,setInitialState:v}):E},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=qa,ti=function(n){var e=(0,M.useState)(null),t=(0,Z.Z)(e,2),r=t[0],i=t[1],a=x.tT&&(0,x.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},o=x.md===null||x.md===void 0?void 0:(0,x.md)();(0,M.useEffect)(function(){var m=x.BA.applyPlugins({key:"layout",type:N.Ac.modify,initialValue:(0,C.Z)((0,C.Z)({},a),{},{traverseModifyRoutes:function(v){return x.Bz===null||x.Bz===void 0?void 0:(0,x.Bz)(v,o)}})})||{};if(m instanceof Promise){m.then(function(f){i(f)});return}i(m)},[a==null?void 0:a.initialState,o]);var s=(0,C.Z)((0,C.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,x.YB)(),d=u.formatMessage;return r?M.createElement(ei,(0,C.Z)({userConfig:s,formatMessage:d},n)):null}},65223:function(ce,re,c){"use strict";c.d(re,{q3:function(){return N},qI:function(){return S},RV:function(){return ie},Rk:function(){return Me},aM:function(){return ve},Ux:function(){return H}});var C=c(22122),Z=c(48526),M=c(98423),x=c(67294),N=x.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),S=x.createContext(null),ie=function(pe){var j=(0,M.Z)(pe,["prefixCls"]);return x.createElement(Z.RV,(0,C.Z)({},j))},Me=x.createContext({prefixCls:""}),ve=x.createContext({}),H=function(pe){var j=pe.children,B=pe.status,T=pe.override,A=(0,x.useContext)(ve),g=(0,x.useMemo)(function(){var l=(0,C.Z)({},A);return T&&delete l.isFormItemInput,B&&(delete l.status,delete l.hasFeedback,delete l.feedbackIcon),l},[B,T,A]);return x.createElement(ve.Provider,{value:g},j)}},19586:function(ce,re,c){"use strict";c.d(re,{Z:function(){return Ye}});var C=c(96156),Z=c(22122),M=c(90484),x=c(94184),N=c.n(x),S=c(67294),ie=c(53124),Me=c(98423),ve=function(h){var O,W,G=h.prefixCls,ee=h.className,q=h.style,K=h.size,L=h.shape,F=N()((O={},(0,C.Z)(O,"".concat(G,"-lg"),K==="large"),(0,C.Z)(O,"".concat(G,"-sm"),K==="small"),O)),ne=N()((W={},(0,C.Z)(W,"".concat(G,"-circle"),L==="circle"),(0,C.Z)(W,"".concat(G,"-square"),L==="square"),(0,C.Z)(W,"".concat(G,"-round"),L==="round"),W)),V=S.useMemo(function(){return typeof K=="number"?{width:K,height:K,lineHeight:"".concat(K,"px")}:{}},[K]);return S.createElement("span",{className:N()(G,F,ne,ee),style:(0,Z.Z)((0,Z.Z)({},V),q)})},H=ve,Ce=function(h){var O=h.prefixCls,W=h.className,G=h.active,ee=h.shape,q=ee===void 0?"circle":ee,K=h.size,L=K===void 0?"default":K,F=S.useContext(ie.E_),ne=F.getPrefixCls,V=ne("skeleton",O),ue=(0,Me.Z)(h,["prefixCls","className"]),Re=N()(V,"".concat(V,"-element"),(0,C.Z)({},"".concat(V,"-active"),G),W);return S.createElement("div",{className:Re},S.createElement(H,(0,Z.Z)({prefixCls:"".concat(V,"-avatar"),shape:q,size:L},ue)))},pe=Ce,j=function(h){var O,W=h.prefixCls,G=h.className,ee=h.active,q=h.block,K=q===void 0?!1:q,L=h.size,F=L===void 0?"default":L,ne=S.useContext(ie.E_),V=ne.getPrefixCls,ue=V("skeleton",W),Re=(0,Me.Z)(h,["prefixCls"]),Qe=N()(ue,"".concat(ue,"-element"),(O={},(0,C.Z)(O,"".concat(ue,"-active"),ee),(0,C.Z)(O,"".concat(ue,"-block"),K),O),G);return S.createElement("div",{className:Qe},S.createElement(H,(0,Z.Z)({prefixCls:"".concat(ue,"-button"),size:F},Re)))},B=j,T=c(93181),A=function(h){var O=h.prefixCls,W=h.className,G=h.style,ee=h.active,q=h.children,K=S.useContext(ie.E_),L=K.getPrefixCls,F=L("skeleton",O),ne=N()(F,"".concat(F,"-element"),(0,C.Z)({},"".concat(F,"-active"),ee),W),V=q!=null?q:S.createElement(T.Z,null);return S.createElement("div",{className:ne},S.createElement("div",{className:N()("".concat(F,"-image"),W),style:G},V))},g=A,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",he=function(h){var O=h.prefixCls,W=h.className,G=h.style,ee=h.active,q=S.useContext(ie.E_),K=q.getPrefixCls,L=K("skeleton",O),F=N()(L,"".concat(L,"-element"),(0,C.Z)({},"".concat(L,"-active"),ee),W);return S.createElement("div",{className:F},S.createElement("div",{className:N()("".concat(L,"-image"),W),style:G},S.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(L,"-image-svg")},S.createElement("path",{d:l,className:"".concat(L,"-image-path")}))))},oe=he,D=function(h){var O,W=h.prefixCls,G=h.className,ee=h.active,q=h.block,K=h.size,L=K===void 0?"default":K,F=S.useContext(ie.E_),ne=F.getPrefixCls,V=ne("skeleton",W),ue=(0,Me.Z)(h,["prefixCls"]),Re=N()(V,"".concat(V,"-element"),(O={},(0,C.Z)(O,"".concat(V,"-active"),ee),(0,C.Z)(O,"".concat(V,"-block"),q),O),G);return S.createElement("div",{className:Re},S.createElement(H,(0,Z.Z)({prefixCls:"".concat(V,"-input"),size:L},ue)))},I=D,le=c(85061),se=function(h){var O=function(F){var ne=h.width,V=h.rows,ue=V===void 0?2:V;if(Array.isArray(ne))return ne[F];if(ue-1===F)return ne},W=h.prefixCls,G=h.className,ee=h.style,q=h.rows,K=(0,le.Z)(Array(q)).map(function(L,F){return S.createElement("li",{key:F,style:{width:O(F)}})});return S.createElement("ul",{className:N()(W,G),style:ee},K)},Q=se,ge=function(h){var O=h.prefixCls,W=h.className,G=h.width,ee=h.style;return S.createElement("h3",{className:N()(O,W),style:(0,Z.Z)({width:G},ee)})},Ie=ge;function De(J){return J&&(0,M.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 Oe(J,h){var O={};return(!J||!h)&&(O.width="61%"),!J&&h?O.rows=3:O.rows=2,O}var ye=function(h){var O=h.prefixCls,W=h.loading,G=h.className,ee=h.style,q=h.children,K=h.avatar,L=K===void 0?!1:K,F=h.title,ne=F===void 0?!0:F,V=h.paragraph,ue=V===void 0?!0:V,Re=h.active,Qe=h.round,st=S.useContext(ie.E_),Ct=st.getPrefixCls,bt=st.direction,w=Ct("skeleton",O);if(W||!("loading"in h)){var k,X=!!L,Be=!!ne,Fe=!!ue,ut;if(X){var Je=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(w,"-avatar")},Xe(Be,Fe)),De(L));ut=S.createElement("div",{className:"".concat(w,"-header")},S.createElement(H,(0,Z.Z)({},Je)))}var ct;if(Be||Fe){var dt;if(Be){var Wt=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(w,"-title")},Le(X,Fe)),De(ne));dt=S.createElement(Ie,(0,Z.Z)({},Wt))}var ft;if(Fe){var Mt=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(w,"-paragraph")},Oe(X,Be)),De(ue));ft=S.createElement(Q,(0,Z.Z)({},Mt))}ct=S.createElement("div",{className:"".concat(w,"-content")},dt,ft)}var Zt=N()(w,(k={},(0,C.Z)(k,"".concat(w,"-with-avatar"),X),(0,C.Z)(k,"".concat(w,"-active"),Re),(0,C.Z)(k,"".concat(w,"-rtl"),bt==="rtl"),(0,C.Z)(k,"".concat(w,"-round"),Qe),k),G);return S.createElement("div",{className:Zt,style:ee},ut,ct)}return typeof q!="undefined"?q:null};ye.Button=B,ye.Avatar=pe,ye.Input=I,ye.Image=oe,ye.Node=g;var lt=ye,Ye=lt},18446:function(ce,re,c){"use strict";var C=c(38663),Z=c.n(C),M=c(18067),x=c.n(M)},21879:function(ce){"use strict";var re=typeof BigInt64Array!="undefined";ce.exports=function c(C,Z){if(C===Z)return!0;if(C&&Z&&typeof C=="object"&&typeof Z=="object"){if(C.constructor!==Z.constructor)return!1;var M,x,N;if(Array.isArray(C)){if(M=C.length,M!=Z.length)return!1;for(x=M;x--!=0;)if(!c(C[x],Z[x]))return!1;return!0}if(C instanceof Map&&Z instanceof Map){if(C.size!==Z.size)return!1;for(x of C.entries())if(!Z.has(x[0]))return!1;for(x of C.entries())if(!c(x[1],Z.get(x[0])))return!1;return!0}if(C instanceof Set&&Z instanceof Set){if(C.size!==Z.size)return!1;for(x of C.entries())if(!Z.has(x[0]))return!1;return!0}if(ArrayBuffer.isView(C)&&ArrayBuffer.isView(Z)){if(M=C.length,M!=Z.length)return!1;for(x=M;x--!=0;)if(C[x]!==Z[x])return!1;return!0}if(C.constructor===RegExp)return C.source===Z.source&&C.flags===Z.flags;if(C.valueOf!==Object.prototype.valueOf)return C.valueOf()===Z.valueOf();if(C.toString!==Object.prototype.toString)return C.toString()===Z.toString();if(N=Object.keys(C),M=N.length,M!==Object.keys(Z).length)return!1;for(x=M;x--!=0;)if(!Object.prototype.hasOwnProperty.call(Z,N[x]))return!1;for(x=M;x--!=0;){var S=N[x];if(!(S==="_owner"&&C.$$typeof)&&!c(C[S],Z[S]))return!1}return!0}return C!==C&&Z!==Z}},97435:function(ce,re){"use strict";function c(C,Z){for(var M=Object.assign({},C),x=0;x<Z.length;x+=1){var N=Z[x];delete M[N]}return M}re.Z=c}}]);
|