包含后厨 团餐 门店分支
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

5 lines
78 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6301],{64335:function(ue,ae,c){"use strict";var p=c(67294),Z=(0,p.createContext)({});ae.Z=Z},16254:function(ue){ue.exports=pe,ue.exports.parse=Z,ue.exports.compile=M,ue.exports.tokensToFunction=y,ue.exports.tokensToRegExp=be;var ae="/",c="./",p=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function Z(E,z){for(var T=[],A=0,g=0,l="",ye=z&&z.delimiter||ae,se=z&&z.delimiters||c,D=!1,L;(L=p.exec(E))!==null;){var ce=L[0],de=L[1],J=L.index;if(l+=E.slice(g,J),g=J+ce.length,de){l+=de[1],D=!0;continue}var me="",Ie=E[g],De=L[2],Xe=L[3],Le=L[4],we=L[5];if(!D&&l.length){var xe=l.length-1;se.indexOf(l[xe])>-1&&(me=l[xe],l=l.slice(0,xe))}l&&(T.push(l),l="",D=!1);var lt=me!==""&&Ie!==void 0&&Ie!==me,Ye=we==="+"||we==="*",k=we==="?"||we==="*",x=me||ye,w=Xe||Le;T.push({name:De||A++,prefix:me,delimiter:x,optional:k,repeat:Ye,partial:lt,pattern:w?b(w):"[^"+P(x)+"]+?"})}return(l||g<E.length)&&T.push(l+E.substr(g)),T}function M(E,z){return y(Z(E,z))}function y(E){for(var z=new Array(E.length),T=0;T<E.length;T++)typeof E[T]=="object"&&(z[T]=new RegExp("^(?:"+E[T].pattern+")$"));return function(A,g){for(var l="",ye=g&&g.encode||encodeURIComponent,se=0;se<E.length;se++){var D=E[se];if(typeof D=="string"){l+=D;continue}var L=A?A[D.name]:void 0,ce;if(Array.isArray(L)){if(!D.repeat)throw new TypeError('Expected "'+D.name+'" to not repeat, but got array');if(L.length===0){if(D.optional)continue;throw new TypeError('Expected "'+D.name+'" to not be empty')}for(var de=0;de<L.length;de++){if(ce=ye(L[de],D),!z[se].test(ce))throw new TypeError('Expected all "'+D.name+'" to match "'+D.pattern+'"');l+=(de===0?D.prefix:D.delimiter)+ce}continue}if(typeof L=="string"||typeof L=="number"||typeof L=="boolean"){if(ce=ye(String(L),D),!z[se].test(ce))throw new TypeError('Expected "'+D.name+'" to match "'+D.pattern+'", but got "'+ce+'"');l+=D.prefix+ce;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 P(E){return E.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function b(E){return E.replace(/([=!:$/()])/g,"\\$1")}function W(E){return E&&E.sensitive?"":"i"}function ee(E,z){if(!z)return E;var T=E.source.match(/\((?!\?)/g);if(T)for(var A=0;A<T.length;A++)z.push({name:A,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return E}function oe(E,z,T){for(var A=[],g=0;g<E.length;g++)A.push(pe(E[g],z,T).source);return new RegExp("(?:"+A.join("|")+")",W(T))}function I(E,z,T){return be(Z(E,T),z,T)}function be(E,z,T){T=T||{};for(var A=T.strict,g=T.start!==!1,l=T.end!==!1,ye=P(T.delimiter||ae),se=T.delimiters||c,D=[].concat(T.endsWith||[]).map(P).concat("$").join("|"),L=g?"^":"",ce=E.length===0,de=0;de<E.length;de++){var J=E[de];if(typeof J=="string")L+=P(J),ce=de===E.length-1&&se.indexOf(J[J.length-1])>-1;else{var me=J.repeat?"(?:"+J.pattern+")(?:"+P(J.delimiter)+"(?:"+J.pattern+"))*":J.pattern;z&&z.push(J),J.optional?J.partial?L+=P(J.prefix)+"("+me+")?":L+="(?:"+P(J.prefix)+"("+me+"))?":L+=P(J.prefix)+"("+me+")"}}return l?(A||(L+="(?:"+ye+")?"),L+=D==="$"?"$":"(?="+D+")"):(A||(L+="(?:"+ye+"(?="+D+"))?"),ce||(L+="(?="+ye+"|"+D+")")),new RegExp(L,W(T))}function pe(E,z,T){return E instanceof RegExp?ee(E,z):Array.isArray(E)?oe(E,z,T):I(E,z,T)}},80430:function(ue){"use strict";var ae=!1,c=function(){};if(ae){var p=function(M,y){var P=arguments.length;y=new Array(P>1?P-1:0);for(var b=1;b<P;b++)y[b-1]=arguments[b];var W=0,ee="Warning: "+M.replace(/%s/g,function(){return y[W++]});typeof console!="undefined"&&console.error(ee);try{throw new Error(ee)}catch(oe){}};c=function(Z,M,y){var P=arguments.length;y=new Array(P>2?P-2:0);for(var b=2;b<P;b++)y[b-2]=arguments[b];if(M===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");Z||p.apply(null,[M].concat(y))}}ue.exports=c},7700:function(){},2828:function(){},17124:function(){},43361:function(){},17212:function(){},18067:function(){},50799:function(ue,ae,c){"use strict";c.r(ae),c.d(ae,{default:function(){return ti}});var p=c(11849),Z=c(2824),M=c(67294),y=c(48971),P=c(79004),b=c(93224),W=c(73727),ee=c(24793),oe=c(97183),I=c(96156),be=c(55507),pe=c(92137),E=c(81253),z=c(84305),T=c(88182),A=c(28481),g=c(28991),l=c(85893),ye=c(78775),se=c(56725),D=c(12044);function L(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 ce=L,de=c(21879),J=c.n(de),me=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Ie(n,e){return!!(n===e||me(n)&&me(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 u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return a&&t===this&&e(u,r)||(i=n.apply(this,u),a=!0,t=this,r=u),i}return o}var Le=Xe;function we(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 u=1,s="",a=t+1;if(n[a]==="?")throw new TypeError('Pattern cannot start with "?" at '+a);for(;a<n.length;){if(n[a]==="\\"){s+=n[a++]+n[a++];continue}if(n[a]===")"){if(u--,u===0){a++;break}}else if(n[a]==="("&&(u++,n[a+1]!=="?"))throw new TypeError("Capturing groups are not allowed at "+a);s+=n[a++]}if(u)throw new TypeError("Unbalanced pattern at "+t);if(!s)throw new TypeError("Missing pattern at "+t);e.push({type:"PATTERN",index:t,value:s}),t=a;continue}e.push({type:"CHAR",index:t,value:n[t++]})}return e.push({type:"END",index:t,value:""}),e}function xe(n,e){e===void 0&&(e={});for(var t=we(n),r=e.prefixes,i=r===void 0?"./":r,a="[^"+w(e.delimiter||"/#?")+"]+?",o=[],u=0,s=0,d="",m=function(H){if(s<t.length&&t[s].type===H)return t[s++].value},f=function(H){var le=m(H);if(le!==void 0)return le;var ge=t[s],K=ge.type,Ze=ge.index;throw new TypeError("Unexpected "+K+" at "+Ze+", expected "+H)},v=function(){for(var H="",le;le=m("CHAR")||m("ESCAPED_CHAR");)H+=le;return H};s<t.length;){var C=m("CHAR"),R=m("NAME"),N=m("PATTERN");if(R||N){var h=C||"";i.indexOf(h)===-1&&(d+=h,h=""),d&&(o.push(d),d=""),o.push({name:R||u++,prefix:h,suffix:"",pattern:N||a,modifier:m("MODIFIER")||""});continue}var S=C||m("ESCAPED_CHAR");if(S){d+=S;continue}d&&(o.push(d),d="");var j=m("OPEN");if(j){var h=v(),Q=m("NAME")||"",G=m("PATTERN")||"",q=v();f("CLOSE"),o.push({name:Q||(G?u++:""),pattern:Q&&!G?a:G,prefix:h,suffix:q,modifier:m("MODIFIER")||""});continue}f("END")}return o}function lt(n,e){return Ye(xe(n,e),e)}function Ye(n,e){e===void 0&&(e={});var t=$(e),r=e.encode,i=r===void 0?function(s){return s}:r,a=e.validate,o=a===void 0?!0:a,u=n.map(function(s){if(typeof s=="object")return new RegExp("^(?:"+s.pattern+")$",t)});return function(s){for(var d="",m=0;m<n.length;m++){var f=n[m];if(typeof f=="string"){d+=f;continue}var v=s?s[f.name]:void 0,C=f.modifier==="?"||f.modifier==="*",R=f.modifier==="*"||f.modifier==="+";if(Array.isArray(v)){if(!R)throw new TypeError('Expected "'+f.name+'" to not repeat, but got an array');if(v.length===0){if(C)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var N=0;N<v.length;N++){var h=i(v[N],f);if(o&&!u[m].test(h))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but got "'+h+'"');d+=f.prefix+h+f.suffix}continue}if(typeof v=="string"||typeof v=="number"){var h=i(String(v),f);if(o&&!u[m].test(h))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but got "'+h+'"');d+=f.prefix+h+f.suffix;continue}if(!C){var S=R?"an array":"a string";throw new TypeError('Expected "'+f.name+'" to be '+S)}}return d}}function k(n,e){var t=[],r=B(n,t,e);return x(r,t,e)}function x(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 u=o[0],s=o.index,d=Object.create(null),m=function(v){if(o[v]===void 0)return"continue";var C=e[v-1];C.modifier==="*"||C.modifier==="+"?d[C.name]=o[v].split(C.prefix+C.suffix).map(function(R){return i(R,C)}):d[C.name]=i(o[v],C)},f=1;f<o.length;f++)m(f);return{path:u,index:s,params:d}}}function w(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function $(n){return n&&n.sensitive?"":"i"}function V(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 ne(n,e,t){var r=n.map(function(i){return B(i,e,t).source});return new RegExp("(?:"+r.join("|")+")",$(t))}function te(n,e,t){return U(xe(n,t),e,t)}function U(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,u=t.end,s=u===void 0?!0:u,d=t.encode,m=d===void 0?function(H){return H}:d,f="["+w(t.endsWith||"")+"]|$",v="["+w(t.delimiter||"/#?")+"]",C=o?"^":"",R=0,N=n;R<N.length;R++){var h=N[R];if(typeof h=="string")C+=w(m(h));else{var S=w(m(h.prefix)),j=w(m(h.suffix));if(h.pattern)if(e&&e.push(h),S||j)if(h.modifier==="+"||h.modifier==="*"){var Q=h.modifier==="*"?"?":"";C+="(?:"+S+"((?:"+h.pattern+")(?:"+j+S+"(?:"+h.pattern+"))*)"+j+")"+Q}else C+="(?:"+S+"("+h.pattern+")"+j+")"+h.modifier;else C+="("+h.pattern+")"+h.modifier;else C+="(?:"+S+j+")"+h.modifier}}if(s)i||(C+=v+"?"),C+=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||(C+="(?:"+v+"(?="+f+"))?"),q||(C+="(?="+v+"|"+f+")")}return new RegExp(C,$(t))}function B(n,e,t){return n instanceof RegExp?V(n,e):Array.isArray(n)?ne(n,e,t):te(n,e,t)}function F(n,e){return e>>>n|e<<32-n}function ie(n,e,t){return n&e^~n&t}function X(n,e,t){return n&e^n&t^e&t}function fe(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 ut(n){return F(17,n)^F(19,n)^n>>>10}function Ct(n,e){return n[e&15]+=ut(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],O,_,Y,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 st(){O=new Array(8),_=new Array(2),Y=new Array(64),_[0]=_[1]=0,O[0]=1779033703,O[1]=3144134277,O[2]=1013904242,O[3]=2773480762,O[4]=1359893119,O[5]=2600822924,O[6]=528734635,O[7]=1541459225}function Je(){var n,e,t,r,i,a,o,u,s,d,m=new Array(16);n=O[0],e=O[1],t=O[2],r=O[3],i=O[4],a=O[5],o=O[6],u=O[7];for(var f=0;f<16;f++)m[f]=Y[(f<<2)+3]|Y[(f<<2)+2]<<8|Y[(f<<2)+1]<<16|Y[f<<2]<<24;for(var v=0;v<64;v++)s=u+Re(i)+ie(i,a,o)+bt[v],v<16?s+=m[v]:s+=Ct(m,v),d=fe(n)+X(n,e,t),u=o,o=a,a=i,i=Fe(r,s),r=t,t=e,e=n,n=Fe(s,d);O[0]+=n,O[1]+=e,O[2]+=t,O[3]+=r,O[4]+=i,O[5]+=a,O[6]+=o,O[7]+=u}function ct(n,e){var t,r,i=0;r=_[0]>>3&63;var a=e&63;for((_[0]+=e<<3)<e<<3&&_[1]++,_[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=r;o<64;o++)Y[o]=n.charCodeAt(i++);Je(),r=0}for(var u=0;u<a;u++)Y[u]=n.charCodeAt(i++)}function dt(){var n=_[0]>>3&63;if(Y[n++]=128,n<=56)for(var e=n;e<56;e++)Y[e]=0;else{for(var t=n;t<64;t++)Y[t]=0;Je();for(var r=0;r<56;r++)Y[r]=0}Y[56]=_[1]>>>24&255,Y[57]=_[1]>>>16&255,Y[58]=_[1]>>>8&255,Y[59]=_[1]&255,Y[60]=_[0]>>>24&255,Y[61]=_[0]>>>16&255,Y[62]=_[0]>>>8&255,Y[63]=_[0]&255,Je()}function Wt(){for(var n=0,e=new Array(32),t=0;t<8;t++)e[n++]=O[t]>>>24&255,e[n++]=O[t]>>>16&255,e[n++]=O[t]>>>8&255,e[n++]=O[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(O[e]>>>t&15);return n}function Mt(n){return st(),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.
  2. 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,u;try{for(t=t.call(n);!(i=(o=t.next()).done)&&(r.push(o.value),!(e&&r.length===e));i=!0);}catch(s){a=!0,u=s}finally{try{!i&&t.return!=null&&t.return()}finally{if(a)throw u}}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.
  3. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,u;return{s:function(){t=t.call(n)},n:function(){var d=t.next();return a=d.done,d},e:function(d){o=!0,u=d},f:function(){try{!a&&t.return!=null&&t.return()}finally{if(o)throw u}}}}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 u=[null];u.push.apply(u,a);var s=Function.bind.apply(i,u),d=new s;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.
  4. 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 re(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 ve="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,u=o===void 0?"":o,s=e.children||e[ve],d=i.name,m=d===void 0?e.name:d,f=i.icon,v=f===void 0?e.icon:f,C=i.hideChildren,R=C===void 0?e.hideChildren:C,N=i.flatMenu,h=N===void 0?e.flatMenu:N,S=a&&Object.keys(a).join(",")!=="redirect"?[re({path:u,menu:i},a)].concat(s||[]):s,j=re({},e);if(m&&(j.name=m),v&&(j.icon=v),S&&S.length){if(R)return delete j[ve],delete j.children,j;var Q=Nt(re(re({},t),{},{data:S}),e);if(h)return Q;j[ve]=Q}return j},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[ve])||je(o.children)||o.path||o.originPath||o.layout?!0:(o.redirect||o.unaccessible,!1):!1}).filter(function(o){var u,s;return(o==null||(u=o.menu)===null||u===void 0?void 0:u.name)||(o==null?void 0:o.flatMenu)||(o==null||(s=o.menu)===null||s===void 0?void 0:s.flatMenu)?!0:o.menu!==!1}).map(function(o){var u=re({},o);return u.unaccessible&&delete u.name,u.path==="*"&&(u.path="."),u.path==="/*"&&(u.path="."),!u.path&&u.originPath&&(u.path=u.originPath),u}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},u=o.children||o[ve],s=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,C=v===void 0?[]:v,R=e.children,N=e.icon,h=e.flatMenu,S=e.indexRoute,j=e.routes,Q=qn(e,Ln),G=new Set([].concat(Ut(C),Ut(o.parentKeys||[])));e.key&&G.add(e.key);var q=re(re(re({},Q),{},{menu:void 0},o),{},{path:s,locale:m,key:o.key||tr(re(re({},o),{},{path:s})),pro_layout_parentKeys:Array.from(G).filter(function(le){return le&&le!=="/"})});if(f?q.name=f:delete q.name,q.menu===void 0&&delete q.menu,je(u)){var H=Nt(re(re({},n),{},{data:u,parentName:m||""}),q);je(H)&&(q[ve]=H,q.children=H)}return rr(q,n)}).flat(1)}var ar=Le(Nt,J()),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[ve])||je(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var r=re({},t),i=r.children||r[ve];if(je(i)&&!r.hideChildrenInMenu&&i.some(function(u){return u&&!!u.name})){var a,o=n(i);if(o.length)return re(re({},r),{},(a={},qe(a,ve,o),qe(a,"children",o),a))}return re(re({},t),{},qe({},ve,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()),u;try{for(o.s();!(u=o.n()).done;){var s=Bn(u.value,2),d=s[0],m=s[1],f=et(d);if(!Pt(d)&&B(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(u){var s=u.children||u[ve];je(s)&&i(s,u);var d=Vt(u.path,o?o.path:"/");t.set(et(d),u)})};return r(e),t},ur=Le(lr,J()),sr=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var r=t.children||t[ve];if(je(r)){var i=n(r);if(i.length)return re(re({},t),{},qe({},ve,i))}var a=re({},t);return delete a[ve],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?sr(a):ir(a),u=ur(a);return{breadcrumb:u,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[ve];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&&B("".concat(a)).test(t)||B("".concat(a),[]).test(t)||B("".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),u=vr(o,e||"/",i);return!u||u.length<1?[]:(r||(u=[u[u.length-1]]),u.map(function(s){var d=a[s]||{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),he=c.n(mr),kt=c(97435),hr=c(21770),_t=c(29405),pr=c(38069),yr=c(80430),xr=c.n(yr),xi=c(7700),Cr=c(83832),Ci=c(57338),br=c(83107),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),ht=c(28682),jr=c(1351),Er=c(76629),Mi=c(18446),Sr=c(19586),pt=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}},wt=Nr;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,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(wt(e)||Or(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),u=t.props,s=u.subMenuItemRender,d=u.prefixCls,m=u.menu,f=u.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}),C=s?s((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:C,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 h;wt(r==null?void 0:r.path)&&window.open(r.path,"_blank"),(h=r.onTitleClick)===null||h===void 0||h.call(r,N)}}},this.getIntlName=function(r){var i=r.name,a=r.locale,o=t.props,u=o.menu,s=o.formatMessage;return a&&(u==null?void 0:u.locale)!==!1?s==null?void 0:s({id:a,defaultMessage:i}):i},this.getMenuItemPath=function(r,i){var a=t.conversionPath(r.path||"/"),o=t.props,u=o.location,s=u===void 0?{pathname:"/"}:u,d=o.isMobile,m=o.onCollapse,f=o.menuItemRender,v=o.iconPrefixes,C=t.getIntlName(r),R=t.props.prefixCls,N=i?null:ln(r.icon,v),h=wt(a),S=(0,l.jsxs)("span",{className:he()("".concat(R,"-menu-item"),(0,I.Z)({},"".concat(R,"-menu-item-link"),h)),children:[N,(0,l.jsx)("span",{className:"".concat(R,"-menu-item-title"),children:C})]});if(f){var j=(0,g.Z)((0,g.Z)({},r),{},{isUrl:h,itemPath:a,isMobile:d,replace:a===s.pathname,onClick:function(){h&&window.open(a,"_blank"),m&&m(!0)},children:void 0});return f(j,S,t.props)}return S},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},un=function(e){var t=e.theme,r=e.mode,i=e.className,a=e.handleOpenChange,o=e.style,u=e.menuData,s=e.menu,d=e.matchMenuKeys,m=e.iconfontUrl,f=e.collapsed,v=e.selectedKeys,C=e.onSelect,R=e.openKeys,N=(0,M.useRef)([]),h=mt.useContainer(),S=h.flatMenuKeys,j=(0,se.Z)(s==null?void 0:s.defaultOpenAll),Q=(0,A.Z)(j,2),G=Q[0],q=Q[1],H=(0,se.Z)(function(){return(s==null?void 0:s.defaultOpenAll)?rn(u)||[]:R===!1?!1:[]},{value:R===!1?void 0:R,onChange:a}),le=(0,A.Z)(H,2),ge=le[0],K=le[1],Ze=(0,se.Z)([],{value:v,onChange:C?function(Ae){C&&Ae&&C(Ae)}:void 0}),Ee=(0,A.Z)(Ze,2),Se=Ee[0],Pe=Ee[1];(0,M.useEffect)(function(){(s==null?void 0:s.defaultOpenAll)||R===!1||S.length||d&&(K(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),!G&&R!==!1&&d.join("-")!==(ge||[]).join("-")){var Ae=d;(s==null?void 0:s.autoClose)===!1&&(Ae=Array.from(new Set([].concat((0,pt.Z)(d),(0,pt.Z)(ge||[]))))),K(Ae)}else(s==null?void 0:s.ignoreFlatMenu)&&G?K(rn(u)):S.length>0&&q(!1)},[d.join("-"),f]);var ze=(0,M.useMemo)(function(){return Fr(ge,e)},[ge&&ge.join(","),e.layout,e.collapsed]),He=(0,M.useState)(function(){return new Dr(e)}),We=(0,A.Z)(He,1),Ne=We[0];if(s==null?void 0:s.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 Oe=he()(i,{"top-nav-menu":r==="horizontal"});Ne.props=e,e.openKeys===!1&&!e.handleOpenChange&&(N.current=d);var Me=e.postMenuData?e.postMenuData(u):u;return Me&&(Me==null?void 0:Me.length)<1?null:(0,M.createElement)(ht.Z,(0,g.Z)((0,g.Z)({},ze),{},{key:"Menu",mode:r,items:Ne.getNavMenuItems(Me,!1),inlineIndent:16,defaultOpenKeys:N.current,theme:t,selectedKeys:Se,style:o,className:Oe,onOpenChange:K},e.menuProps))};un.defaultProps={postMenuData:function(e){return e||[]}};var sn=un,Ar=oe.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 u=cn(r),s=(0,l.jsx)("h1",{children:i!=null?i:"Ant Design Pro"});return o?o(u,e.collapsed?null:s,e):a==="mix"&&t==="menuHeaderRender"?null:(0,l.jsxs)("a",{children:[u,e.collapsed?null:s]})},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,u=e.theme,s=e.siderWidth,d=e.isMobile,m=e.onMenuHeaderClick,f=e.breakpoint,v=f===void 0?"lg":f,C=e.style,R=e.layout,N=e.menuExtraRender,h=N===void 0?!1:N,S=e.collapsedButtonRender,j=S===void 0?dn:S,Q=e.links,G=e.menuContentRender,q=e.prefixCls,H=e.onOpenChange,le=e.headerHeight,ge=e.logoStyle,K="".concat(q,"-sider"),Ze=mt.useContainer(),Ee=Ze.flatMenuKeys,Se=he()("".concat(K),(t={},(0,I.Z)(t,"".concat(K,"-fixed"),i),(0,I.Z)(t,"".concat(K,"-layout-").concat(R),R&&!d),(0,I.Z)(t,"".concat(K,"-light"),u!=="dark"),t)),Pe=Ot(e),ze=h&&h(e),He=G!==!1&&Ee&&(0,M.createElement)(sn,(0,g.Z)((0,g.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:H,style:{width:"100%"},className:"".concat(K,"-menu")})),We=G?G(e,He):He,Ne=(Q||[]).map(function(Oe,Me){return{className:"".concat(K,"-link"),label:Oe,key:Me}});return j&&!d&&Ne.push({className:"".concat(K,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){o&&o(!r)},label:j(r)}),(0,l.jsxs)(l.Fragment,{children:[i&&(0,l.jsx)("div",{style:(0,g.Z)({width:r?48:s,overflow:"hidden",flex:"0 0 ".concat(r?48:s,"px"),maxWidth:r?48:s,minWidth:r?48:s,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},C)}),(0,l.jsxs)(Ar,{collapsible:!0,trigger:null,collapsed:r,breakpoint:v===!1?void 0:v,onCollapse:function(Me){d||o==null||o(Me)},collapsedWidth:48,style:(0,g.Z)({overflow:"hidden",paddingTop:R==="mix"&&!d?le:void 0},C),width:s,theme:u,className:Se,children:[Pe&&(0,l.jsx)("div",{className:he()("".concat(K,"-logo"),(0,I.Z)({},"".concat(K,"-collapsed"),r)),onClick:R!=="mix"?m:void 0,id:"logo",style:ge,children:Pe}),ze&&(0,l.jsx)("div",{className:"".concat(K,"-extra ").concat(!Pe&&"".concat(K,"-extra-no-logo")),children:ze}),(0,l.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:We}),(0,l.jsx)("div",{className:"".concat(K,"-links"),children:(0,l.jsx)(ht.Z,{theme:u,inlineIndent:16,className:"".concat(K,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:Ne})}),a&&(0,l.jsx)("div",{className:he()("".concat(K,"-footer"),(0,I.Z)({},"".concat(K,"-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,u=e.style,s=e.className,d=e.hide,m=e.getContainer,f=e.prefixCls,v=e.matchMenuKeys,C=mt.useContainer(),R=C.setFlatMenuKeys;(0,M.useEffect)(function(){if(!(!r||r.length<1)){var h=Qt(r);R(Object.keys(h))}},[v.join("-")]),(0,M.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var N=(0,kt.Z)(e,["className","style"]);return d?null:t?(0,l.jsx)(br.Z,{visible:!a,placement:"left",className:he()("".concat(f,"-drawer-sider"),s),onClose:function(){return o==null?void 0:o(!0)},style:(0,g.Z)({padding:0,height:"100vh"},u),getContainer:m,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,l.jsx)(fn,(0,g.Z)((0,g.Z)({},N),{},{className:he()("".concat(f,"-sider"),s),collapsed:t?!1:a,splitMenus:!1}))}):(0,l.jsx)(fn,(0,g.Z)((0,g.Z)({className:he()("".concat(f,"-sider"),s)},N),{},{style:u}))},vn=Lr,Br=c(63485),zr=c(16254),Tt=c.n(zr),Hr=function(e,t,r){if(r){var i=(0,pt.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,u=e.formatMessage,s=e.title,d=e.menu,m=d===void 0?{locale:!1}:d,f=t?"":s||"",v=Hr(i,a,o);if(!v)return{title:f,id:"",pageName:f};var C=v.name;return m.locale!==!1&&v.locale&&u&&(C=u({id:v.locale||"",defaultMessage:v.name})),C?t||!s?{title:C,id:v.locale||"",pageName:C}:{title:"".concat(C," - ").concat(s),id:v.locale||"",pageName:C}:{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,E.Z)(e,Gr),a=(0,M.useState)("auto"),o=(0,A.Z)(a,2),u=o[0],s=o[1],d=(0,Kr.Z)(function(){var m=(0,pe.Z)((0,be.Z)().mark(function f(v){return(0,be.Z)().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:s(v);case 1:case"end":return R.stop()}},f)}));return function(f){return m.apply(this,arguments)}}(),160);return(0,l.jsx)("div",{className:"".concat(r,"-right-content"),style:{minWidth:u},children:(0,l.jsx)("div",{style:{paddingRight:8},children:(0,l.jsx)(Ur.default,{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:u}))})})})})},Xr=function(e){var t=(0,M.useRef)(null),r=e.theme,i=e.onMenuHeaderClick,a=e.contentWidth,o=e.rightContentRender,u=e.className,s=e.style,d=e.headerContentRender,m=e.layout,f="".concat(e.prefixCls||"ant-pro","-top-nav-header"),v=Ot((0,g.Z)((0,g.Z)({},e),{},{collapsed:!1}),m==="mix"?"headerTitleRender":void 0),C=he()(f,u,{light:r==="light"}),R=(0,l.jsx)(sn,(0,g.Z)((0,g.Z)({},e),e.menuProps)),N=d?d==null?void 0:d(e,R):R;return(0,l.jsx)("div",{className:C,style:s,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,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,u=o===void 0?dn:o,s=e.rightContentRender,d=e.menuHeaderRender,m=e.onMenuHeaderClick,f=e.className,v=e.style,C=e.layout,R=e.children,N=e.headerTheme,h=N===void 0?"dark":N,S=e.splitMenus,j=e.menuData,Q=e.prefixCls,G=(0,M.useContext)(T.ZP.ConfigContext),q=G.direction,H="".concat(Q,"-global-header"),le=he()(f,H,(0,I.Z)({},"".concat(H,"-layout-").concat(C),C&&h==="dark"));if(C==="mix"&&!t&&S){var ge=(j||[]).map(function(Se){return(0,g.Z)((0,g.Z)({},Se),{},{children:void 0,routes:void 0})}),K=tt(ge);return(0,l.jsx)(mn,(0,g.Z)((0,g.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:K,theme:h}))}var Ze=he()("".concat(H,"-logo"),(0,I.Z)({},"".concat(H,"-logo-rtl"),q==="rtl")),Ee=(0,l.jsx)("span",{className:Ze,children:(0,l.jsx)("a",{children:cn(r)})},"logo");return(0,l.jsxs)("div",{className:le,style:(0,g.Z)({},v),children:[t&&Yr(d,Ee),t&&u&&(0,l.jsx)("span",{className:"".concat(H,"-collapsed-button"),onClick:function(){a&&a(!i)},children:u(i)}),C==="mix"&&!t&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:Ze,onClick:m,children:Ot((0,g.Z)((0,g.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})}),(0,l.jsx)("div",{style:{flex:1},children:R}),s&&s(e)]})},Jr=Qr,Ni=c(2828),hn=oe.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 u=r.props,s=u.isMobile,d=u.onCollapse,m=u.navTheme,f=u.layout,v=u.headerRender,C=u.headerContentRender,R=f==="top",N=tt(r.props.menuData||[]),h=(0,l.jsx)(Jr,(0,g.Z)((0,g.Z)({onCollapse:d},r.props),{},{menuData:N,children:C&&C(r.props,null)}));return R&&!s&&(h=(0,l.jsx)(mn,(0,g.Z)((0,g.Z)({theme:m,mode:"horizontal",onCollapse:d},r.props),{},{menuData:N}))),v&&typeof v=="function"?v(r.props,h):h},r}return(0,qt.Z)(t,[{key:"render",value:function(){var i,a=this.props,o=a.fixedHeader,u=a.layout,s=a.className,d=a.style,m=a.navTheme,f=a.collapsed,v=a.siderWidth,C=a.hasSiderMenu,R=a.isMobile,N=a.prefixCls,h=a.headerHeight,S=o||u==="mix",j=u==="top",Q=S&&C&&!j&&!R,G=he()(s,(i={},(0,I.Z)(i,"".concat(N,"-fixed-header"),S),(0,I.Z)(i,"".concat(N,"-fixed-header-action"),!f),(0,I.Z)(i,"".concat(N,"-top-menu"),j),(0,I.Z)(i,"".concat(N,"-header-").concat(m),m&&u!=="mix"),i)),q=u!=="mix"&&Q?"calc(100% - ".concat(f?48:v,"px)"):"100%",H=S?0:void 0;return(0,l.jsxs)(l.Fragment,{children:[S&&(0,l.jsx)(hn,{style:{height:h,lineHeight:"".concat(h,"px"),background:"transparent"}}),(0,l.jsx)(hn,{style:(0,g.Z)({padding:0,height:h,lineHeight:"".concat(h,"px"),width:q,zIndex:u==="mix"?100:19,right:H},d),className:G,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"},ua=(0,g.Z)({},la),pn={"zh-CN":oa,"zh-TW":ua,"en-US":ea,"it-IT":na,"ko-KR":aa},sa=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=sa();return pn[e]||pn["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},ha=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:""}},pa=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 u=ha(t,o),s=ma(u,r),d=u.hideInBreadcrumb;return s&&!d?{path:o,breadcrumbName:s,component:u.component}:{path:"",breadcrumbName:""}}).filter(function(o){return o&&o.path});return a},xa=function(e){var t=pa(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,u=o===void 0?2:o,s=xa(e),d=i||ga,m=s;return r&&(m=r(m)||[]),(m&&m.length<u||r===!1)&&(m=void 0),{routes:m,itemRender:d}};function ba(n){return(0,pt.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,u=a.breadcrumb;return i?n(i(o),t,r,void 0):{breadcrumb:ba(u),breadcrumbMap:u,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,u=e.ErrorBoundary||Pa.Z;return(0,l.jsx)(ye.oK,{autoClearCache:r,children:e.ErrorBoundary===!1?(0,l.jsx)(oe.Z.Content,{className:a,style:i,children:o}):(0,l.jsx)(u,{children:(0,l.jsx)(oe.Z.Content,{className:a,style:i,children:o})})})},wa=Na,Oa=["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,u=e.splitMenus,s=e.menuRender;if(e.menuRender===!1||e.pure)return null;var d=e.menuData;if(u&&(o!==!1||r==="mix")&&!a){var m=(0,A.Z)(t,1),f=m[0];if(f){var v,C;d=((v=e.menuData)===null||v===void 0||(C=v.find(function(h){return h.key===f}))===null||C===void 0?void 0:C.routes)||[]}else d=[]}var R=tt(d||[]);if(R&&(R==null?void 0:R.length)<1&&u)return null;if(r==="top"&&!a)return(0,l.jsx)(vn,(0,g.Z)((0,g.Z)({matchMenuKeys:t},e),{},{hide:!0}));var N=(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:R}));return s?s(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,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||{},u=o.children,s=o.onCollapse,d=o.location,m=d===void 0?{pathname:"/"}:d,f=o.contentStyle,v=o.route,C=o.defaultCollapsed,R=o.style,N=o.disableContentMargin,h=o.siderWidth,S=h===void 0?208:h,j=o.menu,Q=o.isChildrenLayout,G=o.menuDataRender,q=o.actionRef,H=o.formatMessage,le=o.loading,ge=(0,M.useContext)(T.ZP.ConfigContext),K=(t=e.prefixCls)!==null&&t!==void 0?t:ge.getPrefixCls("pro"),Ze=(0,se.Z)(!1,{value:j==null?void 0:j.loading,onChange:j==null?void 0:j.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(Ce){var Ue=Ce.id,xt=Ce.defaultMessage,Ht=(0,E.Z)(Ce,Oa);if(H)return H((0,g.Z)({id:Ue,defaultMessage:xt},Ht));var Ge=ca();return Ge[Ue]?Ge[Ue]:xt},[H]),Oe=(0,_t.ZP)(function(){return(j==null?void 0:j.params)?[We,j==null?void 0:j.params]:[We,{}]},function(){var Ce=(0,pe.Z)((0,be.Z)().mark(function Ue(xt,Ht){var Ge,In;return(0,be.Z)().wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:return Pe(!0),Ve.next=3,j==null||(Ge=j.request)===null||Ge===void 0?void 0:Ge.call(j,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 Ce.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Me=Oe.data,Ae=Oe.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(Me||(v==null?void 0:v.routes)||[],j,Ne,G)},[Ne,j,G,Me,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;q&&(j==null?void 0:j.request)&&(q.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(Ce){return Ce.key||Ce.path||""})))},[rt]),Pn=rt[rt.length-1]||{},Nn=Sa(Pn),yt=(0,g.Z)((0,g.Z)({},e),Nn),ii=yt.fixSiderbar,wn=yt.navTheme,oi=yt.layout,li=(0,E.Z)(yt,Ta),at=fa(oi),it=(0,pr.ZP)(),$e=(it==="sm"||it==="xs")&&!e.disableMobile,ui=at!=="top"&&!$e,si=(0,hr.Z)(function(){return C!==void 0?C:!!($e||it==="md")},{value:e.collapsed,onChange:s}),On=(0,A.Z)(si,2),ot=On[0],Tn=On[1],Ke=(0,kt.Z)((0,g.Z)((0,g.Z)((0,g.Z)({prefixCls:K},e),{},{siderWidth:S},Nn),{},{formatMessage:Ne,breadcrumb:ai,menu:(0,g.Z)((0,g.Z)({},j),{},{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:wn==="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:wn==="dark"?"dark":"light"}),At),Dn=Fa((0,g.Z)({isMobile:$e,collapsed:ot},Ke)),di=(0,M.useContext)(yn.Z),fi=di.isChildrenLayout,zt=Q!==void 0?Q:fi,Te="".concat(K,"-basicLayout"),vi=he()(e.className,"ant-design-pro",Te,(r={},(0,I.Z)(r,"screen-".concat(it),it),(0,I.Z)(r,"".concat(Te,"-top-menu"),at==="top"),(0,I.Z)(r,"".concat(Te,"-is-children"),zt),(0,I.Z)(r,"".concat(Te,"-fix-siderbar"),ii),(0,I.Z)(r,"".concat(Te,"-").concat(at),at),r)),gi=La(!!ui,ot,S),Fn={position:"relative"};(zt||f&&f.minHeight)&&(Fn.minHeight=0);var mi=he()("".concat(Te,"-content"),(i={},(0,I.Z)(i,"".concat(Te,"-has-header"),Bt),(0,I.Z)(i,"".concat(Te,"-content-disable-margin"),N),i));(0,M.useEffect)(function(){var Ce;(Ce=e.onPageChange)===null||Ce===void 0||Ce.call(e,e.location)},[m.pathname,(a=m.pathname)===null||a===void 0?void 0:a.search]);var hi=(0,M.useState)(!1),An=(0,A.Z)(hi,2),pi=An[0],yi=An[1];return ce(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:pi,setHasFooterToolbar:yi,pageTitleInfo:It,matchMenus:rt,matchMenuKeys:At,currentMenu:Pn}),children:e.pure?(0,l.jsx)(ye.oK,{autoClearCache:!0,children:u}):(0,l.jsx)("div",{className:vi,children:(0,l.jsxs)(oe.Z,{style:(0,g.Z)({minHeight:"100%"},R),children:[Lt,(0,l.jsxs)("div",{style:Fn,className:ge.getPrefixCls("layout"),children:[Bt,(0,l.jsx)(wa,(0,g.Z)((0,g.Z)({autoClearCache:!1,isChildrenLayout:zt},li),{},{className:mi,style:f,children:le?(0,l.jsx)(Cr.Z,{}):u})),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,wi=null,Ha=za,Oi=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)(ht.Z,{className:"umi-plugin-layout-menu",children:(0,l.jsxs)(ht.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,y.pD&&(0,l.jsx)(y.pD,{})]})}var Fi=c(57106),bn=c(6129),Ai=c(57663),Mn=c(71577);function Zn(){y.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,u=e.route,s=(0,b.Z)(e,_a),d=y.tT&&(0,y.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},m=d.initialState,f=d.loading,v=d.setInitialState,C=(0,M.useMemo)(function(){var h,S=Xt((e==null||(h=e.route)===null||h===void 0?void 0:h.routes)||[],void 0,void 0,!0),j=S.menuData,Q=Jt(o.pathname,j).pop();return Q||{}},[o==null?void 0:o.pathname,e==null||(t=e.route)===null||t===void 0?void 0:t.routes]),R=(0,p.Z)((0,p.Z)((0,p.Z)({itemRender:function(S){return(0,l.jsx)(W.rU,{to:S.path,children:S.breadcrumbName})}},a),s),ka(C||{})),N=y.md===null||y.md===void 0?void 0:(0,y.md)();return(0,l.jsx)(Ha,(0,p.Z)((0,p.Z)({route:u,location:o,title:(a==null?void 0:a.name)||(a==null?void 0:a.title),navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(S){S.stopPropagation(),S.preventDefault(),y.m8.push("/")},menu:{locale:a.locale},menuDataRender:a.patchMenus?function(h){return a==null?void 0:a.patchMenus(h,d)}:void 0,formatMessage:a==null?void 0:a.formatMessage,logo:Qa,menuItemRender:function(S,j){return S.isUrl?j:S.path&&o.pathname!==S.path?(0,l.jsx)(W.rU,{to:S.path,target:S.target,children:j}):j},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,postMenuData:y.Bz?function(h){return y.Bz===null||y.Bz===void 0?void 0:(0,y.Bz)(h,N)}:void 0},R),{},{rightContentRender:(R==null?void 0:R.rightContentRender)!==!1&&function(h){var S=Dt==null?void 0:Dt(a,f,m,v);return R.rightContentRender?R.rightContentRender(h,S,{userConfig:a,loading:f,initialState:m,setInitialState:v}):S},children:(0,l.jsx)(Xa,{noFound:a==null?void 0:a.noFound,unAccessible:a==null?void 0:a.unAccessible,currentPathConfig:C,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=y.tT&&(0,y.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},o=y.md===null||y.md===void 0?void 0:(0,y.md)();(0,M.useEffect)(function(){var m=y.BA.applyPlugins({key:"layout",type:P.Ac.modify,initialValue:(0,p.Z)((0,p.Z)({},a),{},{traverseModifyRoutes:function(v){return y.Bz===null||y.Bz===void 0?void 0:(0,y.Bz)(v,o)}})})||{};if(m instanceof Promise){m.then(function(f){i(f)});return}i(m)},[a==null?void 0:a.initialState,o]);var u=(0,p.Z)((0,p.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\u56E2\u9910",pwa:!1,logo:"/logo.svg",iconfontUrl:""}),r||{}),s=(0,y.YB)(),d=s.formatMessage;return r?M.createElement(ei,(0,p.Z)({userConfig:u,formatMessage:d},n)):null}},65223:function(ue,ae,c){"use strict";c.d(ae,{q3:function(){return P},qI:function(){return b},RV:function(){return W},Rk:function(){return ee},aM:function(){return oe},Ux:function(){return I}});var p=c(22122),Z=c(48526),M=c(98423),y=c(67294),P=y.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),b=y.createContext(null),W=function(pe){var E=(0,M.Z)(pe,["prefixCls"]);return y.createElement(Z.FormProvider,(0,p.Z)({},E))},ee=y.createContext({prefixCls:""}),oe=y.createContext({}),I=function(pe){var E=pe.children,z=pe.status,T=pe.override,A=(0,y.useContext)(oe),g=(0,y.useMemo)(function(){var l=(0,p.Z)({},A);return T&&delete l.isFormItemInput,z&&(delete l.status,delete l.hasFeedback,delete l.feedbackIcon),l},[z,T,A]);return y.createElement(oe.Provider,{value:g},E)}},19586:function(ue,ae,c){"use strict";c.d(ae,{Z:function(){return Ye}});var p=c(96156),Z=c(22122),M=c(90484),y=c(94184),P=c.n(y),b=c(67294),W=c(53124),ee=c(98423),oe=function(x){var w,$,V=x.prefixCls,ne=x.className,te=x.style,U=x.size,B=x.shape,F=P()((w={},(0,p.Z)(w,"".concat(V,"-lg"),U==="large"),(0,p.Z)(w,"".concat(V,"-sm"),U==="small"),w)),ie=P()(($={},(0,p.Z)($,"".concat(V,"-circle"),B==="circle"),(0,p.Z)($,"".concat(V,"-square"),B==="square"),(0,p.Z)($,"".concat(V,"-round"),B==="round"),$)),X=b.useMemo(function(){return typeof U=="number"?{width:U,height:U,lineHeight:"".concat(U,"px")}:{}},[U]);return b.createElement("span",{className:P()(V,F,ie,ne),style:(0,Z.Z)((0,Z.Z)({},X),te)})},I=oe,be=function(x){var w=x.prefixCls,$=x.className,V=x.active,ne=x.shape,te=ne===void 0?"circle":ne,U=x.size,B=U===void 0?"default":U,F=b.useContext(W.E_),ie=F.getPrefixCls,X=ie("skeleton",w),fe=(0,ee.Z)(x,["prefixCls","className"]),Re=P()(X,"".concat(X,"-element"),(0,p.Z)({},"".concat(X,"-active"),V),$);return b.createElement("div",{className:Re},b.createElement(I,(0,Z.Z)({prefixCls:"".concat(X,"-avatar"),shape:te,size:B},fe)))},pe=be,E=function(x){var w,$=x.prefixCls,V=x.className,ne=x.active,te=x.block,U=te===void 0?!1:te,B=x.size,F=B===void 0?"default":B,ie=b.useContext(W.E_),X=ie.getPrefixCls,fe=X("skeleton",$),Re=(0,ee.Z)(x,["prefixCls"]),Qe=P()(fe,"".concat(fe,"-element"),(w={},(0,p.Z)(w,"".concat(fe,"-active"),ne),(0,p.Z)(w,"".concat(fe,"-block"),U),w),V);return b.createElement("div",{className:Qe},b.createElement(I,(0,Z.Z)({prefixCls:"".concat(fe,"-button"),size:F},Re)))},z=E,T=c(93181),A=function(x){var w=x.prefixCls,$=x.className,V=x.style,ne=x.active,te=x.children,U=b.useContext(W.E_),B=U.getPrefixCls,F=B("skeleton",w),ie=P()(F,"".concat(F,"-element"),(0,p.Z)({},"".concat(F,"-active"),ne),$),X=te!=null?te:b.createElement(T.Z,null);return b.createElement("div",{className:ie},b.createElement("div",{className:P()("".concat(F,"-image"),$),style:V},X))},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",ye=function(x){var w=x.prefixCls,$=x.className,V=x.style,ne=x.active,te=b.useContext(W.E_),U=te.getPrefixCls,B=U("skeleton",w),F=P()(B,"".concat(B,"-element"),(0,p.Z)({},"".concat(B,"-active"),ne),$);return b.createElement("div",{className:F},b.createElement("div",{className:P()("".concat(B,"-image"),$),style:V},b.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(B,"-image-svg")},b.createElement("path",{d:l,className:"".concat(B,"-image-path")}))))},se=ye,D=function(x){var w,$=x.prefixCls,V=x.className,ne=x.active,te=x.block,U=x.size,B=U===void 0?"default":U,F=b.useContext(W.E_),ie=F.getPrefixCls,X=ie("skeleton",$),fe=(0,ee.Z)(x,["prefixCls"]),Re=P()(X,"".concat(X,"-element"),(w={},(0,p.Z)(w,"".concat(X,"-active"),ne),(0,p.Z)(w,"".concat(X,"-block"),te),w),V);return b.createElement("div",{className:Re},b.createElement(I,(0,Z.Z)({prefixCls:"".concat(X,"-input"),size:B},fe)))},L=D,ce=c(85061),de=function(x){var w=function(F){var ie=x.width,X=x.rows,fe=X===void 0?2:X;if(Array.isArray(ie))return ie[F];if(fe-1===F)return ie},$=x.prefixCls,V=x.className,ne=x.style,te=x.rows,U=(0,ce.Z)(Array(te)).map(function(B,F){return b.createElement("li",{key:F,style:{width:w(F)}})});return b.createElement("ul",{className:P()($,V),style:ne},U)},J=de,me=function(x){var w=x.prefixCls,$=x.className,V=x.width,ne=x.style;return b.createElement("h3",{className:P()(w,$),style:(0,Z.Z)({width:V},ne)})},Ie=me;function De(k){return k&&(0,M.Z)(k)==="object"?k:{}}function Xe(k,x){return k&&!x?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Le(k,x){return!k&&x?{width:"38%"}:k&&x?{width:"50%"}:{}}function we(k,x){var w={};return(!k||!x)&&(w.width="61%"),!k&&x?w.rows=3:w.rows=2,w}var xe=function(x){var w=x.prefixCls,$=x.loading,V=x.className,ne=x.style,te=x.children,U=x.avatar,B=U===void 0?!1:U,F=x.title,ie=F===void 0?!0:F,X=x.paragraph,fe=X===void 0?!0:X,Re=x.active,Qe=x.round,ut=b.useContext(W.E_),Ct=ut.getPrefixCls,bt=ut.direction,O=Ct("skeleton",w);if($||!("loading"in x)){var _,Y=!!B,Be=!!ie,Fe=!!fe,st;if(Y){var Je=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(O,"-avatar")},Xe(Be,Fe)),De(B));st=b.createElement("div",{className:"".concat(O,"-header")},b.createElement(I,(0,Z.Z)({},Je)))}var ct;if(Be||Fe){var dt;if(Be){var Wt=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(O,"-title")},Le(Y,Fe)),De(ie));dt=b.createElement(Ie,(0,Z.Z)({},Wt))}var ft;if(Fe){var Mt=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(O,"-paragraph")},we(Y,Be)),De(fe));ft=b.createElement(J,(0,Z.Z)({},Mt))}ct=b.createElement("div",{className:"".concat(O,"-content")},dt,ft)}var Zt=P()(O,(_={},(0,p.Z)(_,"".concat(O,"-with-avatar"),Y),(0,p.Z)(_,"".concat(O,"-active"),Re),(0,p.Z)(_,"".concat(O,"-rtl"),bt==="rtl"),(0,p.Z)(_,"".concat(O,"-round"),Qe),_),V);return b.createElement("div",{className:Zt,style:ne},st,ct)}return typeof te!="undefined"?te:null};xe.Button=z,xe.Avatar=pe,xe.Input=L,xe.Image=se,xe.Node=g;var lt=xe,Ye=lt},18446:function(ue,ae,c){"use strict";var p=c(38663),Z=c.n(p),M=c(18067),y=c.n(M)},21879:function(ue){"use strict";var ae=typeof BigInt64Array!="undefined";ue.exports=function c(p,Z){if(p===Z)return!0;if(p&&Z&&typeof p=="object"&&typeof Z=="object"){if(p.constructor!==Z.constructor)return!1;var M,y,P;if(Array.isArray(p)){if(M=p.length,M!=Z.length)return!1;for(y=M;y--!=0;)if(!c(p[y],Z[y]))return!1;return!0}if(p instanceof Map&&Z instanceof Map){if(p.size!==Z.size)return!1;for(y of p.entries())if(!Z.has(y[0]))return!1;for(y of p.entries())if(!c(y[1],Z.get(y[0])))return!1;return!0}if(p instanceof Set&&Z instanceof Set){if(p.size!==Z.size)return!1;for(y of p.entries())if(!Z.has(y[0]))return!1;return!0}if(ArrayBuffer.isView(p)&&ArrayBuffer.isView(Z)){if(M=p.length,M!=Z.length)return!1;for(y=M;y--!=0;)if(p[y]!==Z[y])return!1;return!0}if(p.constructor===RegExp)return p.source===Z.source&&p.flags===Z.flags;if(p.valueOf!==Object.prototype.valueOf)return p.valueOf()===Z.valueOf();if(p.toString!==Object.prototype.toString)return p.toString()===Z.toString();if(P=Object.keys(p),M=P.length,M!==Object.keys(Z).length)return!1;for(y=M;y--!=0;)if(!Object.prototype.hasOwnProperty.call(Z,P[y]))return!1;for(y=M;y--!=0;){var b=P[y];if(!(b==="_owner"&&p.$$typeof)&&!c(p[b],Z[b]))return!1}return!0}return p!==p&&Z!==Z}},97435:function(ue,ae){"use strict";function c(p,Z){for(var M=Object.assign({},p),y=0;y<Z.length;y+=1){var P=Z[y];delete M[P]}return M}ae.Z=c},74204:function(ue,ae,c){"use strict";c.d(ae,{Z:function(){return Z},o:function(){return y}});var p;function Z(P){if(typeof document=="undefined")return 0;if(P||p===void 0){var b=document.createElement("div");b.style.width="100%",b.style.height="200px";var W=document.createElement("div"),ee=W.style;ee.position="absolute",ee.top="0",ee.left="0",ee.pointerEvents="none",ee.visibility="hidden",ee.width="200px",ee.height="150px",ee.overflow="hidden",W.appendChild(b),document.body.appendChild(W);var oe=b.offsetWidth;W.style.overflow="scroll";var I=b.offsetWidth;oe===I&&(I=W.clientWidth),document.body.removeChild(W),p=oe-I}return p}function M(P){var b=P.match(/^(.*)px$/),W=Number(b==null?void 0:b[1]);return Number.isNaN(W)?Z():W}function y(P){if(typeof document=="undefined"||!P||!(P instanceof Element))return{width:0,height:0};var b=getComputedStyle(P,"::-webkit-scrollbar"),W=b.width,ee=b.height;return{width:M(W),height:M(ee)}}}}]);