Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

5 řádky
83 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6301],{64335:function(pe,le,c){"use strict";var y=c(67294),Z=(0,y.createContext)({});le.Z=Z},16254:function(pe){pe.exports=ue,pe.exports.parse=Z,pe.exports.compile=R,pe.exports.tokensToFunction=x,pe.exports.tokensToRegExp=xe;var le="/",c="./",y=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function Z(P,$){for(var I=[],H=0,g=0,l="",ye=$&&$.delimiter||le,ce=$&&$.delimiters||c,L=!1,G;(G=y.exec(P))!==null;){var J=G[0],ie=G[1],te=G.index;if(l+=P.slice(g,te),g=te+J.length,ie){l+=ie[1],L=!0;continue}var ve="",Re=P[g],Pe=G[2],He=G[3],ge=G[4],q=G[5];if(!L&&l.length){var F=l.length-1;ce.indexOf(l[F])>-1&&(ve=l[F],l=l.slice(0,F))}l&&(I.push(l),l="",L=!1);var K=ve!==""&&Re!==void 0&&Re!==ve,b=q==="+"||q==="*",E=q==="?"||q==="*",v=ve||ye,N=He||ge;I.push({name:Pe||H++,prefix:ve,delimiter:v,optional:E,repeat:b,partial:K,pattern:N?M(N):"[^"+w(v)+"]+?"})}return(l||g<P.length)&&I.push(l+P.substr(g)),I}function R(P,$){return x(Z(P,$))}function x(P){for(var $=new Array(P.length),I=0;I<P.length;I++)typeof P[I]=="object"&&($[I]=new RegExp("^(?:"+P[I].pattern+")$"));return function(H,g){for(var l="",ye=g&&g.encode||encodeURIComponent,ce=0;ce<P.length;ce++){var L=P[ce];if(typeof L=="string"){l+=L;continue}var G=H?H[L.name]:void 0,J;if(Array.isArray(G)){if(!L.repeat)throw new TypeError('Expected "'+L.name+'" to not repeat, but got array');if(G.length===0){if(L.optional)continue;throw new TypeError('Expected "'+L.name+'" to not be empty')}for(var ie=0;ie<G.length;ie++){if(J=ye(G[ie],L),!$[ce].test(J))throw new TypeError('Expected all "'+L.name+'" to match "'+L.pattern+'"');l+=(ie===0?L.prefix:L.delimiter)+J}continue}if(typeof G=="string"||typeof G=="number"||typeof G=="boolean"){if(J=ye(String(G),L),!$[ce].test(J))throw new TypeError('Expected "'+L.name+'" to match "'+L.pattern+'", but got "'+J+'"');l+=L.prefix+J;continue}if(L.optional){L.partial&&(l+=L.prefix);continue}throw new TypeError('Expected "'+L.name+'" to be '+(L.repeat?"an array":"a string"))}return l}}function w(P){return P.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function M(P){return P.replace(/([=!:$/()])/g,"\\$1")}function k(P){return P&&P.sensitive?"":"i"}function ee(P,$){if(!$)return P;var I=P.source.match(/\((?!\?)/g);if(I)for(var H=0;H<I.length;H++)$.push({name:H,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return P}function fe(P,$,I){for(var H=[],g=0;g<P.length;g++)H.push(ue(P[g],$,I).source);return new RegExp("(?:"+H.join("|")+")",k(I))}function W(P,$,I){return xe(Z(P,I),$,I)}function xe(P,$,I){I=I||{};for(var H=I.strict,g=I.start!==!1,l=I.end!==!1,ye=w(I.delimiter||le),ce=I.delimiters||c,L=[].concat(I.endsWith||[]).map(w).concat("$").join("|"),G=g?"^":"",J=P.length===0,ie=0;ie<P.length;ie++){var te=P[ie];if(typeof te=="string")G+=w(te),J=ie===P.length-1&&ce.indexOf(te[te.length-1])>-1;else{var ve=te.repeat?"(?:"+te.pattern+")(?:"+w(te.delimiter)+"(?:"+te.pattern+"))*":te.pattern;$&&$.push(te),te.optional?te.partial?G+=w(te.prefix)+"("+ve+")?":G+="(?:"+w(te.prefix)+"("+ve+"))?":G+=w(te.prefix)+"("+ve+")"}}return l?(H||(G+="(?:"+ye+")?"),G+=L==="$"?"$":"(?="+L+")"):(H||(G+="(?:"+ye+"(?="+L+"))?"),J||(G+="(?="+ye+"|"+L+")")),new RegExp(G,k(I))}function ue(P,$,I){return P instanceof RegExp?ee(P,$):Array.isArray(P)?fe(P,$,I):W(P,$,I)}},80430:function(pe){"use strict";var le=!1,c=function(){};if(le){var y=function(R,x){var w=arguments.length;x=new Array(w>1?w-1:0);for(var M=1;M<w;M++)x[M-1]=arguments[M];var k=0,ee="Warning: "+R.replace(/%s/g,function(){return x[k++]});typeof console!="undefined"&&console.error(ee);try{throw new Error(ee)}catch(fe){}};c=function(Z,R,x){var w=arguments.length;x=new Array(w>2?w-2:0);for(var M=2;M<w;M++)x[M-2]=arguments[M];if(R===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");Z||y.apply(null,[R].concat(x))}}pe.exports=c},7700:function(){},2828:function(){},17124:function(){},43361:function(){},17212:function(){},18067:function(){},50799:function(pe,le,c){"use strict";c.r(le),c.d(le,{default:function(){return ti}});var y=c(11849),Z=c(2824),R=c(67294),x=c(48971),w=c(79004),M=c(93224),k=c(73727),ee=c(24793),fe=c(97183),W=c(96156),xe=c(55507),ue=c(92137),P=c(81253),$=c(84305),I=c(75901),H=c(28481),g=c(28991),l=c(85893),ye=c(78775),ce=c(56725),L=c(12044);function G(n,e){var t=typeof n.pageName=="string"?n.title:e;(0,R.useEffect)(function(){(0,L.Z)()&&t&&(document.title=t)},[n.title,t])}var J=G,ie=c(21879),te=c.n(ie),ve=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Re(n,e){return!!(n===e||ve(n)&&ve(e))}function Pe(n,e){if(n.length!==e.length)return!1;for(var t=0;t<n.length;t++)if(!Re(n[t],e[t]))return!1;return!0}function He(n,e){e===void 0&&(e=Pe);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 ge=He;function q(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 F(n,e){e===void 0&&(e={});for(var t=q(n),r=e.prefixes,i=r===void 0?"./":r,a="[^"+N(e.delimiter||"/#?")+"]+?",o=[],s=0,u=0,d="",p=function(X){if(u<t.length&&t[u].type===X)return t[u++].value},f=function(X){var he=p(X);if(he!==void 0)return he;var be=t[u],Q=be.type,Se=be.index;throw new TypeError("Unexpected "+Q+" at "+Se+", expected "+X)},m=function(){for(var X="",he;he=p("CHAR")||p("ESCAPED_CHAR");)X+=he;return X};u<t.length;){var C=p("CHAR"),j=p("NAME"),A=p("PATTERN");if(j||A){var h=C||"";i.indexOf(h)===-1&&(d+=h,h=""),d&&(o.push(d),d=""),o.push({name:j||s++,prefix:h,suffix:"",pattern:A||a,modifier:p("MODIFIER")||""});continue}var O=C||p("ESCAPED_CHAR");if(O){d+=O;continue}d&&(o.push(d),d="");var S=p("OPEN");if(S){var h=m(),re=p("NAME")||"",_=p("PATTERN")||"",ae=m();f("CLOSE"),o.push({name:re||(_?s++:""),pattern:re&&!_?a:_,prefix:h,suffix:ae,modifier:p("MODIFIER")||""});continue}f("END")}return o}function K(n,e){return b(F(n,e),e)}function b(n,e){e===void 0&&(e={});var t=T(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="",p=0;p<n.length;p++){var f=n[p];if(typeof f=="string"){d+=f;continue}var m=u?u[f.name]:void 0,C=f.modifier==="?"||f.modifier==="*",j=f.modifier==="*"||f.modifier==="+";if(Array.isArray(m)){if(!j)throw new TypeError('Expected "'+f.name+'" to not repeat, but got an array');if(m.length===0){if(C)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var A=0;A<m.length;A++){var h=i(m[A],f);if(o&&!s[p].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 m=="string"||typeof m=="number"){var h=i(String(m),f);if(o&&!s[p].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 O=j?"an array":"a string";throw new TypeError('Expected "'+f.name+'" to be '+O)}}return d}}function E(n,e){var t=[],r=V(n,t,e);return v(r,t,e)}function v(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),p=function(m){if(o[m]===void 0)return"continue";var C=e[m-1];C.modifier==="*"||C.modifier==="+"?d[C.name]=o[m].split(C.prefix+C.suffix).map(function(j){return i(j,C)}):d[C.name]=i(o[m],C)},f=1;f<o.length;f++)p(f);return{path:s,index:u,params:d}}}function N(n){return n.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function T(n){return n&&n.sensitive?"":"i"}function D(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 U(n,e,t){var r=n.map(function(i){return V(i,e,t).source});return new RegExp("(?:"+r.join("|")+")",T(t))}function ne(n,e,t){return Y(F(n,t),e,t)}function Y(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,p=d===void 0?function(X){return X}:d,f="["+N(t.endsWith||"")+"]|$",m="["+N(t.delimiter||"/#?")+"]",C=o?"^":"",j=0,A=n;j<A.length;j++){var h=A[j];if(typeof h=="string")C+=N(p(h));else{var O=N(p(h.prefix)),S=N(p(h.suffix));if(h.pattern)if(e&&e.push(h),O||S)if(h.modifier==="+"||h.modifier==="*"){var re=h.modifier==="*"?"?":"";C+="(?:"+O+"((?:"+h.pattern+")(?:"+S+O+"(?:"+h.pattern+"))*)"+S+")"+re}else C+="(?:"+O+"("+h.pattern+")"+S+")"+h.modifier;else C+="("+h.pattern+")"+h.modifier;else C+="(?:"+O+S+")"+h.modifier}}if(u)i||(C+=m+"?"),C+=t.endsWith?"(?="+f+")":"$";else{var _=n[n.length-1],ae=typeof _=="string"?m.indexOf(_[_.length-1])>-1:_===void 0;i||(C+="(?:"+m+"(?="+f+"))?"),ae||(C+="(?="+m+"|"+f+")")}return new RegExp(C,T(t))}function V(n,e,t){return n instanceof RegExp?D(n,e):Array.isArray(n)?U(n,e,t):ne(n,e,t)}function B(n,e){return e>>>n|e<<32-n}function me(n,e,t){return n&e^~n&t}function Me(n,e,t){return n&e^n&t^e&t}function Fe(n){return B(2,n)^B(13,n)^B(22,n)}function ht(n){return B(6,n)^B(11,n)^B(25,n)}function yt(n){return B(7,n)^B(18,n)^n>>>3}function je(n){return B(17,n)^B(19,n)^n>>>10}function Ie(n,e){return n[e&15]+=je(n[e+14&15])+n[e+9&15]+yt(n[e+1&15])}var ze=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],z,se,oe,xt="0123456789abcdef";function Qe(n,e){var t=(n&65535)+(e&65535),r=(n>>16)+(e>>16)+(t>>16);return r<<16|t&65535}function st(){z=new Array(8),se=new Array(2),oe=new Array(64),se[0]=se[1]=0,z[0]=1779033703,z[1]=3144134277,z[2]=1013904242,z[3]=2773480762,z[4]=1359893119,z[5]=2600822924,z[6]=528734635,z[7]=1541459225}function Je(){var n,e,t,r,i,a,o,s,u,d,p=new Array(16);n=z[0],e=z[1],t=z[2],r=z[3],i=z[4],a=z[5],o=z[6],s=z[7];for(var f=0;f<16;f++)p[f]=oe[(f<<2)+3]|oe[(f<<2)+2]<<8|oe[(f<<2)+1]<<16|oe[f<<2]<<24;for(var m=0;m<64;m++)u=s+ht(i)+me(i,a,o)+ze[m],m<16?u+=p[m]:u+=Ie(p,m),d=Fe(n)+Me(n,e,t),s=o,o=a,a=i,i=Qe(r,u),r=t,t=e,e=n,n=Qe(u,d);z[0]+=n,z[1]+=e,z[2]+=t,z[3]+=r,z[4]+=i,z[5]+=a,z[6]+=o,z[7]+=s}function ut(n,e){var t,r,i=0;r=se[0]>>3&63;var a=e&63;for((se[0]+=e<<3)<e<<3&&se[1]++,se[1]+=e>>29,t=0;t+63<e;t+=64){for(var o=r;o<64;o++)oe[o]=n.charCodeAt(i++);Je(),r=0}for(var s=0;s<a;s++)oe[s]=n.charCodeAt(i++)}function Ct(){var n=se[0]>>3&63;if(oe[n++]=128,n<=56)for(var e=n;e<56;e++)oe[e]=0;else{for(var t=n;t<64;t++)oe[t]=0;Je();for(var r=0;r<56;r++)oe[r]=0}oe[56]=se[1]>>>24&255,oe[57]=se[1]>>>16&255,oe[58]=se[1]>>>8&255,oe[59]=se[1]&255,oe[60]=se[0]>>>24&255,oe[61]=se[0]>>>16&255,oe[62]=se[0]>>>8&255,oe[63]=se[0]&255,Je()}function Bt(){for(var n=0,e=new Array(32),t=0;t<8;t++)e[n++]=z[t]>>>24&255,e[n++]=z[t]>>>16&255,e[n++]=z[t]>>>8&255,e[n++]=z[t]&255;return e}function An(){for(var n=new String,e=0;e<8;e++)for(var t=28;t>=0;t-=4)n+=xt.charAt(z[e]>>>t&15);return n}function Fn(n){return st(),ut(n,n.length),Ct(),An()}var In=Fn;function bt(n){return bt=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},bt(n)}var Ln=["pro_layout_parentKeys","children","icon","flatMenu","indexRoute","routes"];function Bn(n,e){return zn(n)||Wn(n,e)||Zt(n,e)||Hn()}function Hn(){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 Wn(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 zn(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=Zt(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,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 Ht(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&&Ht(n.prototype,e),t&&Ht(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&&qe(n,e)}function kn(n){var e=Wt();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 Vn(this,i)}}function Vn(n,e){if(e&&(bt(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xn(n)}function Xn(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Mt(n){var e=typeof Map=="function"?new Map:void 0;return Mt=function(r){if(r===null||!Yn(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 ct(r,arguments,_e(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),qe(i,r)},Mt(n)}function ct(n,e,t){return Wt()?ct=Reflect.construct.bind():ct=function(i,a,o){var s=[null];s.push.apply(s,a);var u=Function.bind.apply(i,s),d=new u;return o&&qe(d,o.prototype),d},ct.apply(null,arguments)}function Wt(){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 Yn(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function qe(n,e){return qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},qe(n,e)}function _e(n){return _e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_e(n)}function zt(n){return qn(n)||Jn(n)||Zt(n)||Qn()}function Qn(){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 Zt(n,e){if(!!n){if(typeof n=="string")return Rt(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 Rt(n,e)}}function Jn(n){if(typeof Symbol!="undefined"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function qn(n){if(Array.isArray(n))return Rt(n)}function Rt(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function _n(n,e){if(n==null)return{};var t=er(n,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(i=0;i<a.length;i++)r=a[i],!(e.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,r)||(t[r]=n[r]))}return t}function er(n,e){if(n==null)return{};var t={},r=Object.keys(n),i,a;for(a=0;a<r.length;a++)i=r[a],!(e.indexOf(i)>=0)&&(t[i]=n[i]);return t}function $t(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function de(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?$t(Object(t),!0).forEach(function(r){et(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):$t(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function et(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var Ce="routes";function tt(n){return n.split("?")[0].split("#")[0]}var Et=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(In(JSON.stringify(e)))}catch(r){}return t&&tt(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)},Kt=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"/";return(e||t).startsWith("/")||Et(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[Ce],d=i.name,p=d===void 0?e.name:d,f=i.icon,m=f===void 0?e.icon:f,C=i.hideChildren,j=C===void 0?e.hideChildren:C,A=i.flatMenu,h=A===void 0?e.flatMenu:A,O=a&&Object.keys(a).join(",")!=="redirect"?[de({path:s,menu:i},a)].concat(u||[]):u,S=de({},e);if(p&&(S.name=p),m&&(S.icon=m),O&&O.length){if(j)return delete S[Ce],delete S.children,S;var re=jt(de(de({},t),{},{data:O}),e);if(h)return re;S[Ce]=re}return S},we=function(e){return Array.isArray(e)&&e.length>0};function jt(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?we(o[Ce])||we(o.children)||o.path||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=de({},o);return s.unaccessible&&delete s.name,s.path==="*"&&(s.path="."),s.path==="/*"&&(s.path="."),s}).map(function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"},s=o.children||o[Ce],u=Kt(o.path,e?e.path:"/"),d=o.name,p=nr(o,i||"menu"),f=p!==!1&&a!==!1&&r&&p?r({id:p,defaultMessage:d}):d,m=e.pro_layout_parentKeys,C=m===void 0?[]:m,j=e.children,A=e.icon,h=e.flatMenu,O=e.indexRoute,S=e.routes,re=_n(e,Ln),_=new Set([].concat(zt(C),zt(o.parentKeys||[])));e.key&&_.add(e.key);var ae=de(de(de({},re),{},{menu:void 0},o),{},{path:u,locale:p,key:o.key||tr(de(de({},o),{},{path:u})),pro_layout_parentKeys:Array.from(_).filter(function(he){return he&&he!=="/"})});if(f?ae.name=f:delete ae.name,ae.menu===void 0&&delete ae.menu,we(s)){var X=jt(de(de({},n),{},{data:s,parentName:p||""}),ae);we(X)&&(ae[Ce]=X,ae.children=X)}return rr(ae,n)}).flat(1)}var ar=ge(jt,te()),ir=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.filter(function(t){return t&&(t.name||we(t[Ce])||we(t.children))&&!t.hideInMenu&&!t.redirect}).map(function(t){var r=de({},t),i=r.children||r[Ce];if(we(i)&&!r.hideChildrenInMenu&&i.some(function(s){return s&&!!s.name})){var a,o=n(i);if(o.length)return de(de({},r),{},(a={},et(a,Ce,o),et(a,"children",o),a))}return de(de({},t),{},et({},Ce,void 0))}).filter(function(t){return t})},or=function(n){Gn(t,n);var e=kn(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],p=u[1],f=tt(d);if(!Et(d)&&V(f,[]).test(i)){a=p;break}}}catch(m){o.e(m)}finally{o.f()}}catch(m){a=void 0}return a}}]),t}(Mt(Map)),lr=function(e){var t=new or,r=function i(a,o){a.forEach(function(s){var u=s.children||s[Ce];we(u)&&i(u,s);var d=Kt(s.path,o?o.path:"/");t.set(tt(d),s)})};return r(e),t},sr=ge(lr,te()),ur=function n(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(function(t){var r=t.children||t[Ce];if(we(r)){var i=n(r);if(i.length)return de(de({},t),{},et({},Ce,i))}var a=de({},t);return delete a[Ce],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}},Ut=cr;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 dt(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){dr(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 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[Ce];t[tt(r.path||r.key||"/")]=dt({},r),t[r.key||r.path||"/"]=dt({},r),i&&(t=dt(dt({},t),n(i)))}}),t},kt=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&&!Et(i)){var a=tt(i);try{if(r&&V("".concat(a)).test(t)||V("".concat(a),[]).test(t)||V("".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})},mr=function(e,t,r,i){var a=kt(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:""},p=new Map,f=(d.pro_layout_parentKeys||[]).map(function(m){return p.has(m)?null:(p.set(m,!0),a[m])}).filter(function(m){return m});return d.key&&f.push(d),f}).flat(1))},Vt=mr,gr=c(94184),Ze=c.n(gr),Xt=c(97435),pr=c(21770),Yt=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,R.useState)([]),e=(0,H.Z)(n,2),t=e[0],r=e[1];return{flatMenuKeys:t,setFlatMenuKeys:r}}var Rr=(0,Mr.f)(Zr),ft=Rr,bi=c(30887),vt=c(28682),Er=c(1351),jr=c(76629),Mi=c(71748),Nr=c(19586),mt=c(85061),Qt=c(5991),Jt=c(6610),qt=c(91321),Sr=c(16165),Pr=function(e){if(!e||!e.startsWith("http"))return!1;try{var t=new URL(e);return!!t}catch(r){return!1}},Nt=Pr;function wr(n){return/\w.(png|jpg|jpeg|svg|webp|gif|bmp)$/i.test(n)}var Or=wr,Tr={navTheme:"dark",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,headerHeight:48,iconfontUrl:"",primaryColor:"#1890ff",splitMenus:!1},_t=Tr,en=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},[])},tn={daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function Zi(n){return n&&tn[n]?tn[n]:n}function nt(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:nt(t),routes:nt(t)});delete r.routes,delete r.children}return r}).filter(function(e){return e})}var Ri=c(43361),nn=(0,qt.Z)({scriptUrl:_t.iconfontUrl}),rn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-";if(typeof e=="string"&&e!==""){if(Nt(e)||Or(e))return(0,l.jsx)(Sr.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)(nn,{type:e})}return e},Dr=(0,Qt.Z)(function n(e){var t=this;(0,Jt.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,p=s.menu,f=s.iconPrefixes,m=r.icon?(0,l.jsxs)("span",{className:"".concat(d,"-menu-item"),title:o,children:[!i&&rn(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=u?u((0,g.Z)((0,g.Z)({},r),{},{isUrl:!1}),m,t.props):m;return{type:(p==null?void 0:p.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(A){var h;Nt(r==null?void 0:r.path)&&window.open(r.path,"_blank"),(h=r.onTitleClick)===null||h===void 0||h.call(r,A)}}},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,p=o.onCollapse,f=o.menuItemRender,m=o.iconPrefixes,C=t.getIntlName(r),j=t.props.prefixCls,A=i?null:rn(r.icon,m),h=Nt(a),O=(0,l.jsxs)("span",{className:Ze()("".concat(j,"-menu-item"),(0,W.Z)({},"".concat(j,"-menu-item-link"),h)),children:[A,(0,l.jsx)("span",{className:"".concat(j,"-menu-item-title"),children:C})]});if(f){var S=(0,g.Z)((0,g.Z)({},r),{},{isUrl:h,itemPath:a,isMobile:d,replace:a===u.pathname,onClick:function(){h&&window.open(a,"_blank"),p&&p(!0)},children:void 0});return f(S,O,t.props)}return O},this.conversionPath=function(r){return r&&r.indexOf("http")===0?r:"/".concat(r||"").replace(/\/+/g,"/")},this.props=e}),Ar=function(e,t){var r=t.layout,i=t.collapsed,a={};return e&&!i&&["side","mix"].includes(r||"mix")&&(a={openKeys:e}),a},an=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,p=e.iconfontUrl,f=e.collapsed,m=e.selectedKeys,C=e.onSelect,j=e.openKeys,A=(0,R.useRef)([]),h=ft.useContainer(),O=h.flatMenuKeys,S=(0,ce.Z)(u==null?void 0:u.defaultOpenAll),re=(0,H.Z)(S,2),_=re[0],ae=re[1],X=(0,ce.Z)(function(){return(u==null?void 0:u.defaultOpenAll)?en(s)||[]:j===!1?!1:[]},{value:j===!1?void 0:j,onChange:a}),he=(0,H.Z)(X,2),be=he[0],Q=he[1],Se=(0,ce.Z)([],{value:m,onChange:C?function(We){C&&We&&C(We)}:void 0}),Oe=(0,H.Z)(Se,2),Te=Oe[0],De=Oe[1];(0,R.useEffect)(function(){(u==null?void 0:u.defaultOpenAll)||j===!1||O.length||d&&(Q(d),De(d))},[d.join("-")]),(0,R.useEffect)(function(){p&&(nn=(0,qt.Z)({scriptUrl:p}))},[p]),(0,R.useEffect)(function(){if(d.join("-")!==(Te||[]).join("-")&&De(d),!_&&j!==!1&&d.join("-")!==(be||[]).join("-")){var We=d;(u==null?void 0:u.autoClose)===!1&&(We=Array.from(new Set([].concat((0,mt.Z)(d),(0,mt.Z)(be||[]))))),Q(We)}else(u==null?void 0:u.ignoreFlatMenu)&&_?Q(en(s)):O.length>0&&ae(!1)},[d.join("-"),f]);var $e=(0,R.useMemo)(function(){return Ar(be,e)},[be&&be.join(","),e.layout,e.collapsed]),Ke=(0,R.useState)(function(){return new Dr(e)}),Ue=(0,H.Z)(Ke,1),Ae=Ue[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)(Nr.Z,{active:!0,title:!1,paragraph:{rows:(r==null?void 0:r.includes("inline"))?6:1}})});var Le=Ze()(i,{"top-nav-menu":r==="horizontal"});Ae.props=e,e.openKeys===!1&&!e.handleOpenChange&&(A.current=d);var Ne=e.postMenuData?e.postMenuData(s):s;return Ne&&(Ne==null?void 0:Ne.length)<1?null:(0,R.createElement)(vt.Z,(0,g.Z)((0,g.Z)({},$e),{},{key:"Menu",mode:r,items:Ae.getNavMenuItems(Ne,!1),inlineIndent:16,defaultOpenKeys:A.current,theme:t,selectedKeys:Te,style:o,className:Le,onOpenChange:Q},e.menuProps))};an.defaultProps={postMenuData:function(e){return e||[]}};var on=an,Fr=fe.Z.Sider,ln=function(e){return typeof e=="string"?(0,l.jsx)("img",{src:e,alt:"logo"}):typeof e=="function"?e():e},St=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=ln(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]})},sn=function(e){return e?(0,l.jsx)(Er.Z,{}):(0,l.jsx)(jr.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,p=e.onMenuHeaderClick,f=e.breakpoint,m=f===void 0?"lg":f,C=e.style,j=e.layout,A=e.menuExtraRender,h=A===void 0?!1:A,O=e.collapsedButtonRender,S=O===void 0?sn:O,re=e.links,_=e.menuContentRender,ae=e.prefixCls,X=e.onOpenChange,he=e.headerHeight,be=e.logoStyle,Q="".concat(ae,"-sider"),Se=ft.useContainer(),Oe=Se.flatMenuKeys,Te=Ze()("".concat(Q),(t={},(0,W.Z)(t,"".concat(Q,"-fixed"),i),(0,W.Z)(t,"".concat(Q,"-layout-").concat(j),j&&!d),(0,W.Z)(t,"".concat(Q,"-light"),s!=="dark"),t)),De=St(e),$e=h&&h(e),Ke=_!==!1&&Oe&&(0,R.createElement)(on,(0,g.Z)((0,g.Z)({},e),{},{key:"base-menu",mode:"inline",handleOpenChange:X,style:{width:"100%"},className:"".concat(Q,"-menu")})),Ue=_?_(e,Ke):Ke,Ae=(re||[]).map(function(Le,Ne){return{className:"".concat(Q,"-link"),label:Le,key:Ne}});return S&&!d&&Ae.push({className:"".concat(Q,"-collapsed-button"),title:!1,key:"collapsed",onClick:function(){o&&o(!r)},label:S(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)"},C)}),(0,l.jsxs)(Fr,{collapsible:!0,trigger:null,collapsed:r,breakpoint:m===!1?void 0:m,onCollapse:function(Ne){d||o==null||o(Ne)},collapsedWidth:48,style:(0,g.Z)({overflow:"hidden",paddingTop:j==="mix"&&!d?he:void 0},C),width:u,theme:s,className:Te,children:[De&&(0,l.jsx)("div",{className:Ze()("".concat(Q,"-logo"),(0,W.Z)({},"".concat(Q,"-collapsed"),r)),onClick:j!=="mix"?p:void 0,id:"logo",style:be,children:De}),$e&&(0,l.jsx)("div",{className:"".concat(Q,"-extra ").concat(!De&&"".concat(Q,"-extra-no-logo")),children:$e}),(0,l.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:Ue}),(0,l.jsx)("div",{className:"".concat(Q,"-links"),children:(0,l.jsx)(vt.Z,{theme:s,inlineIndent:16,className:"".concat(Q,"-link-menu"),selectedKeys:[],openKeys:[],mode:"inline",items:Ae})}),a&&(0,l.jsx)("div",{className:Ze()("".concat(Q,"-footer"),(0,W.Z)({},"".concat(Q,"-footer-collapsed"),!r)),children:a(e)})]})]})},un=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,p=e.getContainer,f=e.prefixCls,m=e.matchMenuKeys,C=ft.useContainer(),j=C.setFlatMenuKeys;(0,R.useEffect)(function(){if(!(!r||r.length<1)){var h=kt(r);j(Object.keys(h))}},[m.join("-")]),(0,R.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var A=(0,Xt.Z)(e,["className","style"]);return d?null:t?(0,l.jsx)(br.Z,{visible:!a,placement:"left",className:Ze()("".concat(f,"-drawer-sider"),u),onClose:function(){return o==null?void 0:o(!0)},style:(0,g.Z)({padding:0,height:"100vh"},s),getContainer:p,width:i,bodyStyle:{height:"100vh",padding:0,display:"flex",flexDirection:"row"},children:(0,l.jsx)(un,(0,g.Z)((0,g.Z)({},A),{},{className:Ze()("".concat(f,"-sider"),u),collapsed:t?!1:a,splitMenus:!1}))}):(0,l.jsx)(un,(0,g.Z)((0,g.Z)({className:Ze()("".concat(f,"-sider"),u)},A),{},{style:s}))},cn=Lr,Br=c(63485),Hr=c(16254),Pt=c.n(Hr),Wr=function(e,t,r){if(r){var i=(0,mt.Z)(r.keys()).find(function(o){return Pt()(o).test(e)});if(i)return r.get(i)}if(t){var a=Object.keys(t).find(function(o){return Pt()(o).test(e)});if(a)return t[a]}return{path:""}},dn=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,p=d===void 0?{locale:!1}:d,f=t?"":u||"",m=Wr(i,a,o);if(!m)return{title:f,id:"",pageName:f};var C=m.name;return p.locale!==!1&&m.locale&&s&&(C=s({id:m.locale||"",defaultMessage:m.name})),C?t||!u?{title:C,id:m.locale||"",pageName:C}:{title:"".concat(C," - ").concat(u),id:m.locale||"",pageName:C}:{title:f,id:m.locale||"",pageName:f}},Ei=function(e,t){return dn(e,t).title},ji=null,zr=c(10379),$r=c(54070),Kr=c(10178),Ur=c(48717),Ni=c(17212),Gr=["rightContentRender","prefixCls"],kr=function(e){var t=e.rightContentRender,r=e.prefixCls,i=(0,P.Z)(e,Gr),a=(0,R.useState)("auto"),o=(0,H.Z)(a,2),s=o[0],u=o[1],d=(0,Kr.Z)(function(){var p=(0,ue.Z)((0,xe.Z)().mark(function f(m){return(0,xe.Z)().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:u(m);case 1:case"end":return j.stop()}},f)}));return function(f){return p.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 m=f.width;d.run(m)},children:t&&(0,l.jsx)("div",{className:"".concat(r,"-right-content-resize"),children:t((0,g.Z)((0,g.Z)({},i),{},{rightContentSize:s}))})})})})},Vr=function(e){var t=(0,R.useRef)(null),r=e.theme,i=e.onMenuHeaderClick,a=e.contentWidth,o=e.rightContentRender,s=e.className,u=e.style,d=e.headerContentRender,p=e.layout,f="".concat(e.prefixCls||"ant-pro","-top-nav-header"),m=St((0,g.Z)((0,g.Z)({},e),{},{collapsed:!1}),p==="mix"?"headerTitleRender":void 0),C=Ze()(f,s,{light:r==="light"}),j=(0,l.jsx)(on,(0,g.Z)((0,g.Z)({},e),e.menuProps)),A=d?d==null?void 0:d(e,j):j;return(0,l.jsx)("div",{className:C,style:u,children:(0,l.jsxs)("div",{ref:t,className:"".concat(f,"-main ").concat(a==="Fixed"?"wide":""),children:[m&&(0,l.jsx)("div",{className:"".concat(f,"-main-left"),onClick:i,children:(0,l.jsx)("div",{className:"".concat(f,"-logo"),id:"logo",children:m},"logo")}),(0,l.jsx)("div",{style:{flex:1},className:"".concat(f,"-menu"),children:A}),o&&(0,l.jsx)(kr,(0,g.Z)({rightContentRender:o,prefixCls:f},e))]})})},fn=Vr,Si=c(17124),Xr=function(e,t){return e===!1?null:e?e(t,null):t},Yr=function(e){var t=e.isMobile,r=e.logo,i=e.collapsed,a=e.onCollapse,o=e.collapsedButtonRender,s=o===void 0?sn:o,u=e.rightContentRender,d=e.menuHeaderRender,p=e.onMenuHeaderClick,f=e.className,m=e.style,C=e.layout,j=e.children,A=e.headerTheme,h=A===void 0?"dark":A,O=e.splitMenus,S=e.menuData,re=e.prefixCls,_=(0,R.useContext)(I.ZP.ConfigContext),ae=_.direction,X="".concat(re,"-global-header"),he=Ze()(f,X,(0,W.Z)({},"".concat(X,"-layout-").concat(C),C&&h==="dark"));if(C==="mix"&&!t&&O){var be=(S||[]).map(function(Te){return(0,g.Z)((0,g.Z)({},Te),{},{children:void 0,routes:void 0})}),Q=nt(be);return(0,l.jsx)(fn,(0,g.Z)((0,g.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:Q,theme:h}))}var Se=Ze()("".concat(X,"-logo"),(0,W.Z)({},"".concat(X,"-logo-rtl"),ae==="rtl")),Oe=(0,l.jsx)("span",{className:Se,children:(0,l.jsx)("a",{children:ln(r)})},"logo");return(0,l.jsxs)("div",{className:he,style:(0,g.Z)({},m),children:[t&&Xr(d,Oe),t&&s&&(0,l.jsx)("span",{className:"".concat(X,"-collapsed-button"),onClick:function(){a&&a(!i)},children:s(i)}),C==="mix"&&!t&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:Se,onClick:p,children:St((0,g.Z)((0,g.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})}),(0,l.jsx)("div",{style:{flex:1},children:j}),u&&u(e)]})},Qr=Yr,Pi=c(2828),vn=fe.Z.Header,Jr=function(n){(0,zr.Z)(t,n);var e=(0,$r.Z)(t);function t(){var r;(0,Jt.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,p=s.navTheme,f=s.layout,m=s.headerRender,C=s.headerContentRender,j=f==="top",A=nt(r.props.menuData||[]),h=(0,l.jsx)(Qr,(0,g.Z)((0,g.Z)({onCollapse:d},r.props),{},{menuData:A,children:C&&C(r.props,null)}));return j&&!u&&(h=(0,l.jsx)(fn,(0,g.Z)((0,g.Z)({theme:p,mode:"horizontal",onCollapse:d},r.props),{},{menuData:A}))),m&&typeof m=="function"?m(r.props,h):h},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,p=a.navTheme,f=a.collapsed,m=a.siderWidth,C=a.hasSiderMenu,j=a.isMobile,A=a.prefixCls,h=a.headerHeight,O=o||s==="mix",S=s==="top",re=O&&C&&!S&&!j,_=Ze()(u,(i={},(0,W.Z)(i,"".concat(A,"-fixed-header"),O),(0,W.Z)(i,"".concat(A,"-fixed-header-action"),!f),(0,W.Z)(i,"".concat(A,"-top-menu"),S),(0,W.Z)(i,"".concat(A,"-header-").concat(p),p&&s!=="mix"),i)),ae=s!=="mix"&&re?"calc(100% - ".concat(f?48:m,"px)"):"100%",X=O?0:void 0;return(0,l.jsxs)(l.Fragment,{children:[O&&(0,l.jsx)(vn,{style:{height:h,lineHeight:"".concat(h,"px"),background:"transparent"}}),(0,l.jsx)(vn,{style:(0,g.Z)({padding:0,height:h,lineHeight:"".concat(h,"px"),width:ae,zIndex:s==="mix"?100:19,right:X},d),className:_,children:this.renderContent()})]})}}]),t}(R.Component),qr=Jr,_r={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.daybreak":"Daybreak Blue (default)","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},ea=(0,g.Z)({},_r),ta={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.daybreak":"Blu cielo mattutino (default)","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},na=(0,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),mn={"zh-CN":oa,"zh-TW":sa,"en-US":ea,"it-IT":na,"ko-KR":aa},ua=function(){if(!(0,L.Z)())return"zh-CN";var e=window.localStorage.getItem("umi_locale");return e||window.g_locale||navigator.language},ca=function(){var e=ua();return mn[e]||mn["zh-CN"]},gn=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 ma=function(e){var t=e.breadcrumbName,r=e.path;return(0,l.jsx)("a",{href:r,children:t})},ga=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 Pt()(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=ga(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||ma,p=u;return r&&(p=r(p)||[]),(p&&p.length<s||r===!1)&&(p=void 0),{routes:p,itemRender:d}};function ba(n){return(0,mt.Z)(n).reduce(function(e,t){var r=(0,H.Z)(t,2),i=r[0],a=r[1];return e[i]=a,e},{})}var Ma=function n(e,t,r,i){var a=Ut(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),Ea=c(51812),ja=function(e){var t=(0,R.useState)({}),r=(0,H.Z)(t,2),i=r[0],a=r[1];return(0,R.useEffect)(function(){a((0,Ea.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},Na=ja,Sa=c(78164),Pa=function(e){var t=e.autoClearCache,r=t===void 0?!0:t,i=e.style,a=e.className,o=e.children,s=e.ErrorBoundary||Sa.Z;return(0,l.jsx)(ye.oK,{autoClearCache:r,children:e.ErrorBoundary===!1?(0,l.jsx)(fe.Z.Content,{className:a,style:i,children:o}):(0,l.jsx)(s,{children:(0,l.jsx)(fe.Z.Content,{className:a,style:i,children:o})})})},wa=Pa,Oa=["id","defaultMessage"],Ta=["fixSiderbar","navTheme","layout"],pn=0,Da=function(e,t){return e.headerRender===!1||e.pure?null:(0,l.jsx)(qr,(0,g.Z)({matchMenuKeys:t},e))},Aa=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,g.Z)({},e),(0,l.jsx)(Br.Z,{})):null},Fa=function(e,t){var r=e.layout,i=e.navTheme,a=e.isMobile,o=e.openKeys,s=e.splitMenus,u=e.menuRender;if(e.menuRender===!1||e.pure)return null;var d=e.menuData;if(s&&(o!==!1||r==="mix")&&!a){var p=(0,H.Z)(t,1),f=p[0];if(f){var m,C;d=((m=e.menuData)===null||m===void 0||(C=m.find(function(h){return h.key===f}))===null||C===void 0?void 0:C.routes)||[]}else d=[]}var j=nt(d||[]);if(j&&(j==null?void 0:j.length)<1&&s)return null;if(r==="top"&&!a)return(0,l.jsx)(cn,(0,g.Z)((0,g.Z)({matchMenuKeys:t},e),{},{hide:!0}));var A=(0,l.jsx)(cn,(0,g.Z)((0,g.Z)({matchMenuKeys:t},e),{},{style:i==="realDark"?{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"}:{},menuData:j}));return u?u(e,A):A},Ia=function(e,t){var r=t.pageTitleRender,i=dn(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},hn=function(e){var t,r,i,a,o=e||{},s=o.children,u=o.onCollapse,d=o.location,p=d===void 0?{pathname:"/"}:d,f=o.contentStyle,m=o.route,C=o.defaultCollapsed,j=o.style,A=o.disableContentMargin,h=o.siderWidth,O=h===void 0?208:h,S=o.menu,re=o.isChildrenLayout,_=o.menuDataRender,ae=o.actionRef,X=o.formatMessage,he=o.loading,be=(0,R.useContext)(I.ZP.ConfigContext),Q=(t=e.prefixCls)!==null&&t!==void 0?t:be.getPrefixCls("pro"),Se=(0,ce.Z)(!1,{value:S==null?void 0:S.loading,onChange:S==null?void 0:S.onLoadingChange}),Oe=(0,H.Z)(Se,2),Te=Oe[0],De=Oe[1],$e=(0,R.useState)(function(){return pn+=1,"pro-layout-".concat(pn)}),Ke=(0,H.Z)($e,1),Ue=Ke[0],Ae=(0,R.useCallback)(function(Ee){var Ve=Ee.id,pt=Ee.defaultMessage,Lt=(0,P.Z)(Ee,Oa);if(X)return X((0,g.Z)({id:Ve,defaultMessage:pt},Lt));var Xe=ca();return Xe[Ve]?Xe[Ve]:pt},[X]),Le=(0,Yt.ZP)(function(){return(S==null?void 0:S.params)?[Ue,S==null?void 0:S.params]:[Ue,{}]},function(){var Ee=(0,ue.Z)((0,xe.Z)().mark(function Ve(pt,Lt){var Xe,Dn;return(0,xe.Z)().wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:return De(!0),Ye.next=3,S==null||(Xe=S.request)===null||Xe===void 0?void 0:Xe.call(S,Lt,(m==null?void 0:m.routes)||[]);case 3:return Dn=Ye.sent,De(!1),Ye.abrupt("return",Dn);case 6:case"end":return Ye.stop()}},Ve)}));return function(Ve,pt){return Ee.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),Ne=Le.data,We=Le.mutate,ni=(0,Yt.kY)(),bn=ni.cache;(0,R.useEffect)(function(){return function(){bn instanceof Map&&bn.clear()}},[]);var ri=(0,R.useMemo)(function(){return Za(Ne||(m==null?void 0:m.routes)||[],S,Ae,_)},[Ae,S,_,Ne,m==null?void 0:m.routes]),Ot=ri||{},Mn=Ot.breadcrumb,ai=Mn===void 0?{}:Mn,Zn=Ot.breadcrumbMap,Rn=Ot.menuData,rt=Rn===void 0?[]:Rn;ae&&(S==null?void 0:S.request)&&(ae.current={reload:function(){We()}});var at=(0,R.useMemo)(function(){return Vt(p.pathname||"/",rt||[],!0)},[p.pathname,rt]),Tt=(0,R.useMemo)(function(){return Array.from(new Set(at.map(function(Ee){return Ee.key||Ee.path||""})))},[at]),En=at[at.length-1]||{},jn=Na(En),gt=(0,g.Z)((0,g.Z)({},e),jn),ii=gt.fixSiderbar,Nn=gt.navTheme,oi=gt.layout,li=(0,P.Z)(gt,Ta),it=fa(oi),ot=(0,hr.ZP)(),Ge=(ot==="sm"||ot==="xs")&&!e.disableMobile,si=it!=="top"&&!Ge,ui=(0,pr.Z)(function(){return C!==void 0?C:!!(Ge||ot==="md")},{value:e.collapsed,onChange:u}),Sn=(0,H.Z)(ui,2),lt=Sn[0],Pn=Sn[1],ke=(0,Xt.Z)((0,g.Z)((0,g.Z)((0,g.Z)({prefixCls:Q},e),{},{siderWidth:O},jn),{},{formatMessage:Ae,breadcrumb:ai,menu:(0,g.Z)((0,g.Z)({},S),{},{loading:Te}),layout:it}),["className","style","breadcrumbRender"]),Dt=Ia((0,g.Z)((0,g.Z)({pathname:p.pathname},ke),{},{breadcrumbMap:Zn}),e),ci=Ca((0,g.Z)((0,g.Z)({},ke),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:Zn}),e),At=Fa((0,g.Z)((0,g.Z)({},ke),{},{menuData:rt,onCollapse:Pn,isMobile:Ge,theme:Nn==="dark"?"dark":"light",collapsed:lt}),Tt),Ft=Da((0,g.Z)((0,g.Z)({},ke),{},{hasSiderMenu:!!At,menuData:rt,isMobile:Ge,collapsed:lt,onCollapse:Pn,theme:Nn==="dark"?"dark":"light"}),Tt),wn=Aa((0,g.Z)({isMobile:Ge,collapsed:lt},ke)),di=(0,R.useContext)(gn.Z),fi=di.isChildrenLayout,It=re!==void 0?re:fi,Be="".concat(Q,"-basicLayout"),vi=Ze()(e.className,"ant-design-pro",Be,(r={},(0,W.Z)(r,"screen-".concat(ot),ot),(0,W.Z)(r,"".concat(Be,"-top-menu"),it==="top"),(0,W.Z)(r,"".concat(Be,"-is-children"),It),(0,W.Z)(r,"".concat(Be,"-fix-siderbar"),ii),(0,W.Z)(r,"".concat(Be,"-").concat(it),it),r)),mi=La(!!si,lt,O),On={position:"relative"};(It||f&&f.minHeight)&&(On.minHeight=0);var gi=Ze()("".concat(Be,"-content"),(i={},(0,W.Z)(i,"".concat(Be,"-has-header"),Ft),(0,W.Z)(i,"".concat(Be,"-content-disable-margin"),A),i));(0,R.useEffect)(function(){var Ee;(Ee=e.onPageChange)===null||Ee===void 0||Ee.call(e,e.location)},[p.pathname,(a=p.pathname)===null||a===void 0?void 0:a.search]);var pi=(0,R.useState)(!1),Tn=(0,H.Z)(pi,2),hi=Tn[0],yi=Tn[1];return J(Dt,e.title||!1),(0,l.jsx)(ft.Provider,{children:(0,l.jsx)(gn.Z.Provider,{value:(0,g.Z)((0,g.Z)({},ke),{},{breadcrumb:ci,menuData:rt,isMobile:Ge,collapsed:lt,isChildrenLayout:!0,title:Dt.pageName,hasSiderMenu:!!At,hasHeader:!!Ft,siderWidth:mi,hasFooter:!!wn,hasFooterToolbar:hi,setHasFooterToolbar:yi,pageTitleInfo:Dt,matchMenus:at,matchMenuKeys:Tt,currentMenu:En}),children:e.pure?(0,l.jsx)(ye.oK,{autoClearCache:!0,children:s}):(0,l.jsx)("div",{className:vi,children:(0,l.jsxs)(fe.Z,{style:(0,g.Z)({minHeight:"100%"},j),children:[At,(0,l.jsxs)("div",{style:On,className:be.getPrefixCls("layout"),children:[Ft,(0,l.jsx)(wa,(0,g.Z)((0,g.Z)({autoClearCache:!1,isChildrenLayout:It},li),{},{className:gi,style:f,children:he?(0,l.jsx)(Cr.Z,{}):s})),wn]})]})})})})},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"})]})})})})]})};hn.defaultProps=(0,g.Z)((0,g.Z)({logo:(0,l.jsx)(Ba,{})},_t),{},{location:(0,L.Z)()?window.location:void 0});var Ha=hn,wi=null,Wa=Ha,Oi=c(59250),za=c(13013),Ti=c(20228),$a=c(11382),Di=c(94233),Ka=c(51890),Ua=c(55035);function wt(n,e,t,r){if(n.rightRender)return n.rightRender(t,r,n);var i=(0,l.jsx)(vt.Z,{className:"umi-plugin-layout-menu",children:(0,l.jsxs)(vt.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)(za.Z,{overlay:i,overlayClassName:"umi-plugin-layout-container",children:a}):a,x.pD&&(0,l.jsx)(x.pD,{})]})}var Ai=c(57106),yn=c(6129),Fi=c(57663),xn=c(71577);function Cn(){x.m8.push("/")}var Ga=function(){return(0,l.jsx)(yn.ZP,{status:"404",title:"404",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",extra:(0,l.jsx)(xn.Z,{type:"primary",onClick:Cn,children:"\u8FD4\u56DE\u9996\u9875"})})},ka=function(){return(0,l.jsx)(yn.ZP,{status:"403",title:"403",subTitle:"\u62B1\u6B49\uFF0C\u4F60\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762",extra:(0,l.jsx)(xn.Z,{type:"primary",onClick:Cn,children:"\u8FD4\u56DE\u9996\u9875"})})},Va=function(e){var t=e.children,r=e.currentPathConfig;return r?r.unAccessible||r.unaccessible?e.unAccessible||(0,l.jsx)(ka,{}):t:e.noFound||(0,l.jsx)(Ga,{})},Xa=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"})]})})})})]})},Ya=Xa,Qa=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)},Ja=Qa,qa=["children","userConfig","location","route"],_a=function(e){var t,r=e.children,i=e.userConfig,a=i===void 0?{}:i,o=e.location,s=e.route,u=(0,M.Z)(e,qa),d=x.tT&&(0,x.tT)("@@initialState")||{initialState:void 0,loading:!1,setInitialState:null},p=d.initialState,f=d.loading,m=d.setInitialState,C=(0,R.useMemo)(function(){var h,O=Ut((e==null||(h=e.route)===null||h===void 0?void 0:h.routes)||[],void 0,void 0,!0),S=O.menuData,re=Vt(o.pathname,S).pop();return re||{}},[o==null?void 0:o.pathname,e==null||(t=e.route)===null||t===void 0?void 0:t.routes]),j=(0,y.Z)((0,y.Z)((0,y.Z)({itemRender:function(O){return(0,l.jsx)(k.rU,{to:O.path,children:O.breadcrumbName})}},a),u),Ja(C||{})),A=x.md===null||x.md===void 0?void 0:(0,x.md)();return(0,l.jsx)(Wa,(0,y.Z)((0,y.Z)({route:s,location:o,title:(a==null?void 0:a.name)||(a==null?void 0:a.title),navTheme:"dark",siderWidth:256,onMenuHeaderClick:function(O){O.stopPropagation(),O.preventDefault(),x.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:Ya,menuItemRender:function(O,S){return O.isUrl?S:O.path&&o.pathname!==O.path?(0,l.jsx)(k.rU,{to:O.path,target:O.target,children:S}):S},disableContentMargin:!0,fixSiderbar:!0,fixedHeader:!0,postMenuData:x.Bz?function(h){return x.Bz===null||x.Bz===void 0?void 0:(0,x.Bz)(h,A)}:void 0},j),{},{rightContentRender:(j==null?void 0:j.rightContentRender)!==!1&&function(h){var O=wt==null?void 0:wt(a,f,p,m);return j.rightContentRender?j.rightContentRender(h,O,{userConfig:a,loading:f,initialState:p,setInitialState:m}):O},children:(0,l.jsx)(Va,{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=_a,ti=function(n){var e=(0,R.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,R.useEffect)(function(){var p=x.BA.applyPlugins({key:"layout",type:w.Ac.modify,initialValue:(0,y.Z)((0,y.Z)({},a),{},{traverseModifyRoutes:function(m){return x.Bz===null||x.Bz===void 0?void 0:(0,x.Bz)(m,o)}})})||{};if(p instanceof Promise){p.then(function(f){i(f)});return}i(p)},[a==null?void 0:a.initialState,o]);var s=(0,y.Z)((0,y.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:"\u8FDE\u9501\u7ECF\u8425\u5E73\u53F0",pwa:!1,logo:"/logo.svg",iconfontUrl:""}),r||{}),u=(0,x.YB)(),d=u.formatMessage;return r?R.createElement(ei,(0,y.Z)({userConfig:s,formatMessage:d},n)):null}},65223:function(pe,le,c){"use strict";c.d(le,{q3:function(){return w},qI:function(){return M},RV:function(){return k},Rk:function(){return ee},aM:function(){return fe},Ux:function(){return W}});var y=c(22122),Z=c(48526),R=c(98423),x=c(67294),w=x.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),M=x.createContext(null),k=function(ue){var P=(0,R.Z)(ue,["prefixCls"]);return x.createElement(Z.RV,(0,y.Z)({},P))},ee=x.createContext({prefixCls:""}),fe=x.createContext({}),W=function(ue){var P=ue.children,$=ue.status,I=ue.override,H=(0,x.useContext)(fe),g=(0,x.useMemo)(function(){var l=(0,y.Z)({},H);return I&&delete l.isFormItemInput,$&&(delete l.status,delete l.hasFeedback,delete l.feedbackIcon),l},[$,I,H]);return x.createElement(fe.Provider,{value:g},P)}},19586:function(pe,le,c){"use strict";c.d(le,{Z:function(){return b}});var y=c(96156),Z=c(22122),R=c(90484),x=c(94184),w=c.n(x),M=c(67294),k=c(53124),ee=c(98423),fe=function(v){var N,T,D=v.prefixCls,U=v.className,ne=v.style,Y=v.size,V=v.shape,B=w()((N={},(0,y.Z)(N,"".concat(D,"-lg"),Y==="large"),(0,y.Z)(N,"".concat(D,"-sm"),Y==="small"),N)),me=w()((T={},(0,y.Z)(T,"".concat(D,"-circle"),V==="circle"),(0,y.Z)(T,"".concat(D,"-square"),V==="square"),(0,y.Z)(T,"".concat(D,"-round"),V==="round"),T)),Me=typeof Y=="number"?{width:Y,height:Y,lineHeight:"".concat(Y,"px")}:{};return M.createElement("span",{className:w()(D,B,me,U),style:(0,Z.Z)((0,Z.Z)({},Me),ne)})},W=fe,xe=function(v){var N=v.prefixCls,T=v.className,D=v.active,U=M.useContext(k.E_),ne=U.getPrefixCls,Y=ne("skeleton",N),V=(0,ee.Z)(v,["prefixCls","className"]),B=w()(Y,"".concat(Y,"-element"),(0,y.Z)({},"".concat(Y,"-active"),D),T);return M.createElement("div",{className:B},M.createElement(W,(0,Z.Z)({prefixCls:"".concat(Y,"-avatar")},V)))};xe.defaultProps={size:"default",shape:"circle"};var ue=xe,P=function(v){var N,T=v.prefixCls,D=v.className,U=v.active,ne=v.block,Y=ne===void 0?!1:ne,V=M.useContext(k.E_),B=V.getPrefixCls,me=B("skeleton",T),Me=(0,ee.Z)(v,["prefixCls"]),Fe=w()(me,"".concat(me,"-element"),(N={},(0,y.Z)(N,"".concat(me,"-active"),U),(0,y.Z)(N,"".concat(me,"-block"),Y),N),D);return M.createElement("div",{className:Fe},M.createElement(W,(0,Z.Z)({prefixCls:"".concat(me,"-button")},Me)))};P.defaultProps={size:"default"};var $=P,I=c(93181),H=function(v){var N,T=v.prefixCls,D=v.className,U=v.style,ne=v.active,Y=M.useContext(k.E_),V=Y.getPrefixCls,B=V("skeleton",T),me=w()(B,"".concat(B,"-element"),(0,y.Z)({},"".concat(B,"-active"),ne),D),Me=(N=v.children)!==null&&N!==void 0?N:M.createElement(I.Z,null);return M.createElement("div",{className:me},M.createElement("div",{className:w()("".concat(B,"-image"),D),style:U},Me))},g=H,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(v){var N=v.prefixCls,T=v.className,D=v.style,U=v.active,ne=M.useContext(k.E_),Y=ne.getPrefixCls,V=Y("skeleton",N),B=w()(V,"".concat(V,"-element"),(0,y.Z)({},"".concat(V,"-active"),U),T);return M.createElement("div",{className:B},M.createElement("div",{className:w()("".concat(V,"-image"),T),style:D},M.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(V,"-image-svg")},M.createElement("path",{d:l,className:"".concat(V,"-image-path")}))))},ce=ye,L=function(v){var N,T=v.prefixCls,D=v.className,U=v.active,ne=v.block,Y=M.useContext(k.E_),V=Y.getPrefixCls,B=V("skeleton",T),me=(0,ee.Z)(v,["prefixCls"]),Me=w()(B,"".concat(B,"-element"),(N={},(0,y.Z)(N,"".concat(B,"-active"),U),(0,y.Z)(N,"".concat(B,"-block"),ne),N),D);return M.createElement("div",{className:Me},M.createElement(W,(0,Z.Z)({prefixCls:"".concat(B,"-input")},me)))};L.defaultProps={size:"default"};var G=L,J=c(85061),ie=function(v){var N=function(B){var me=v.width,Me=v.rows,Fe=Me===void 0?2:Me;if(Array.isArray(me))return me[B];if(Fe-1===B)return me},T=v.prefixCls,D=v.className,U=v.style,ne=v.rows,Y=(0,J.Z)(Array(ne)).map(function(V,B){return M.createElement("li",{key:B,style:{width:N(B)}})});return M.createElement("ul",{className:w()(T,D),style:U},Y)},te=ie,ve=function(v){var N=v.prefixCls,T=v.className,D=v.width,U=v.style;return M.createElement("h3",{className:w()(N,T),style:(0,Z.Z)({width:D},U)})},Re=ve;function Pe(E){return E&&(0,R.Z)(E)==="object"?E:{}}function He(E,v){return E&&!v?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function ge(E,v){return!E&&v?{width:"38%"}:E&&v?{width:"50%"}:{}}function q(E,v){var N={};return(!E||!v)&&(N.width="61%"),!E&&v?N.rows=3:N.rows=2,N}var F=function(v){var N=v.prefixCls,T=v.loading,D=v.className,U=v.style,ne=v.children,Y=v.avatar,V=v.title,B=v.paragraph,me=v.active,Me=v.round,Fe=M.useContext(k.E_),ht=Fe.getPrefixCls,yt=Fe.direction,je=ht("skeleton",N);if(T||!("loading"in v)){var Ie,ze=!!Y,z=!!V,se=!!B,oe;if(ze){var xt=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(je,"-avatar")},He(z,se)),Pe(Y));oe=M.createElement("div",{className:"".concat(je,"-header")},M.createElement(W,(0,Z.Z)({},xt)))}var Qe;if(z||se){var st;if(z){var Je=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(je,"-title")},ge(ze,se)),Pe(V));st=M.createElement(Re,(0,Z.Z)({},Je))}var ut;if(se){var Ct=(0,Z.Z)((0,Z.Z)({prefixCls:"".concat(je,"-paragraph")},q(ze,z)),Pe(B));ut=M.createElement(te,(0,Z.Z)({},Ct))}Qe=M.createElement("div",{className:"".concat(je,"-content")},st,ut)}var Bt=w()(je,(Ie={},(0,y.Z)(Ie,"".concat(je,"-with-avatar"),ze),(0,y.Z)(Ie,"".concat(je,"-active"),me),(0,y.Z)(Ie,"".concat(je,"-rtl"),yt==="rtl"),(0,y.Z)(Ie,"".concat(je,"-round"),Me),Ie),D);return M.createElement("div",{className:Bt,style:U},oe,Qe)}return typeof ne!="undefined"?ne:null};F.defaultProps={avatar:!1,title:!0,paragraph:!0},F.Button=$,F.Avatar=ue,F.Input=G,F.Image=ce,F.Node=g;var K=F,b=K},71748:function(pe,le,c){"use strict";var y=c(38663),Z=c.n(y),R=c(18067),x=c.n(R)},21879:function(pe){"use strict";var le=typeof BigInt64Array!="undefined";pe.exports=function c(y,Z){if(y===Z)return!0;if(y&&Z&&typeof y=="object"&&typeof Z=="object"){if(y.constructor!==Z.constructor)return!1;var R,x,w;if(Array.isArray(y)){if(R=y.length,R!=Z.length)return!1;for(x=R;x--!=0;)if(!c(y[x],Z[x]))return!1;return!0}if(y instanceof Map&&Z instanceof Map){if(y.size!==Z.size)return!1;for(x of y.entries())if(!Z.has(x[0]))return!1;for(x of y.entries())if(!c(x[1],Z.get(x[0])))return!1;return!0}if(y instanceof Set&&Z instanceof Set){if(y.size!==Z.size)return!1;for(x of y.entries())if(!Z.has(x[0]))return!1;return!0}if(ArrayBuffer.isView(y)&&ArrayBuffer.isView(Z)){if(R=y.length,R!=Z.length)return!1;for(x=R;x--!=0;)if(y[x]!==Z[x])return!1;return!0}if(y.constructor===RegExp)return y.source===Z.source&&y.flags===Z.flags;if(y.valueOf!==Object.prototype.valueOf)return y.valueOf()===Z.valueOf();if(y.toString!==Object.prototype.toString)return y.toString()===Z.toString();if(w=Object.keys(y),R=w.length,R!==Object.keys(Z).length)return!1;for(x=R;x--!=0;)if(!Object.prototype.hasOwnProperty.call(Z,w[x]))return!1;for(x=R;x--!=0;){var M=w[x];if(!(M==="_owner"&&y.$$typeof)&&!c(y[M],Z[M]))return!1}return!0}return y!==y&&Z!==Z}},97435:function(pe,le){"use strict";function c(y,Z){for(var R=Object.assign({},y),x=0;x<Z.length;x+=1){var w=Z[x];delete R[w]}return R}le.Z=c},2016:function(pe,le,c){"use strict";c.d(le,{Z:function(){return He}});var y=c(6610),Z=c(5991),R=c(10379),x=c(54070),w=c(90484),M=c(67294),k=c(75164),ee=c(59015),fe=c(98924),W=c(74204);function xe(ge){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ge)return{};var F=q.element,K=F===void 0?document.body:F,b={},E=Object.keys(ge);return E.forEach(function(v){b[v]=K.style[v]}),E.forEach(function(v){K.style[v]=ge[v]}),b}var ue=xe;function P(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var $={},I=function(ge){if(!(!P()&&!ge)){var q="ant-scrolling-effect",F=new RegExp("".concat(q),"g"),K=document.body.className;if(ge){if(!F.test(K))return;ue($),$={},document.body.className=K.replace(F,"").trim();return}var b=(0,W.Z)();if(b&&($=ue({position:"relative",width:"calc(100% - ".concat(b,"px)")}),!F.test(K))){var E="".concat(K," ").concat(q);document.body.className=E.trim()}}},H=c(85061),g=0,l=[],ye="ant-scrolling-effect",ce=new RegExp("".concat(ye),"g"),L=new Map,G=(0,Z.Z)(function ge(q){var F=this;(0,y.Z)(this,ge),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var K;return(K=F.options)===null||K===void 0?void 0:K.container},this.reLock=function(K){var b=l.find(function(E){var v=E.target;return v===F.lockTarget});b&&F.unLock(),F.options=K,b&&(b.options=K,F.lock())},this.lock=function(){var K;if(!l.some(function(T){var D=T.target;return D===F.lockTarget})){if(l.some(function(T){var D,U=T.options;return(U==null?void 0:U.container)===((D=F.options)===null||D===void 0?void 0:D.container)})){l=[].concat((0,H.Z)(l),[{target:F.lockTarget,options:F.options}]);return}var b=0,E=((K=F.options)===null||K===void 0?void 0:K.container)||document.body;(E===document.body&&window.innerWidth-document.documentElement.clientWidth>0||E.scrollHeight>E.clientHeight)&&(b=(0,W.Z)());var v=E.className;if(l.filter(function(T){var D,U=T.options;return(U==null?void 0:U.container)===((D=F.options)===null||D===void 0?void 0:D.container)}).length===0&&L.set(E,ue({width:b!==0?"calc(100% - ".concat(b,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:E})),!ce.test(v)){var N="".concat(v," ").concat(ye);E.className=N.trim()}l=[].concat((0,H.Z)(l),[{target:F.lockTarget,options:F.options}])}},this.unLock=function(){var K,b=l.find(function(N){var T=N.target;return T===F.lockTarget});if(l=l.filter(function(N){var T=N.target;return T!==F.lockTarget}),!(!b||l.some(function(N){var T,D=N.options;return(D==null?void 0:D.container)===((T=b.options)===null||T===void 0?void 0:T.container)}))){var E=((K=F.options)===null||K===void 0?void 0:K.container)||document.body,v=E.className;!ce.test(v)||(ue(L.get(E),{element:E}),L.delete(E),E.className=E.className.replace(ce,"").trim())}},this.lockTarget=g++,this.options=q}),J=0,ie=(0,fe.Z)();function te(){return 0}var ve={},Re=function(q){if(!ie)return null;if(q){if(typeof q=="string")return document.querySelectorAll(q)[0];if(typeof q=="function")return q();if((0,w.Z)(q)==="object"&&q instanceof window.HTMLElement)return q}return document.body},Pe=function(ge){(0,R.Z)(F,ge);var q=(0,x.Z)(F);function F(K){var b;return(0,y.Z)(this,F),b=q.call(this,K),b.container=void 0,b.componentRef=M.createRef(),b.rafId=void 0,b.scrollLocker=void 0,b.renderComponent=void 0,b.updateScrollLocker=function(E){var v=E||{},N=v.visible,T=b.props,D=T.getContainer,U=T.visible;U&&U!==N&&ie&&Re(D)!==b.scrollLocker.getContainer()&&b.scrollLocker.reLock({container:Re(D)})},b.updateOpenCount=function(E){var v=E||{},N=v.visible,T=v.getContainer,D=b.props,U=D.visible,ne=D.getContainer;U!==N&&ie&&Re(ne)===document.body&&(U&&!N?J+=1:E&&(J-=1));var Y=typeof ne=="function"&&typeof T=="function";(Y?ne.toString()!==T.toString():ne!==T)&&b.removeCurrentContainer()},b.attachToParent=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(E||b.container&&!b.container.parentNode){var v=Re(b.props.getContainer);return v?(v.appendChild(b.container),!0):!1}return!0},b.getContainer=function(){return ie?(b.container||(b.container=document.createElement("div"),b.attachToParent(!0)),b.setWrapperClassName(),b.container):null},b.setWrapperClassName=function(){var E=b.props.wrapperClassName;b.container&&E&&E!==b.container.className&&(b.container.className=E)},b.removeCurrentContainer=function(){var E,v;(E=b.container)===null||E===void 0||(v=E.parentNode)===null||v===void 0||v.removeChild(b.container)},b.switchScrollingEffect=function(){J===1&&!Object.keys(ve).length?(I(),ve=ue({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"})):J||(ue(ve),ve={},I(!0))},b.scrollLocker=new G({container:Re(K.getContainer)}),b}return(0,Z.Z)(F,[{key:"componentDidMount",value:function(){var b=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=(0,k.Z)(function(){b.forceUpdate()}))}},{key:"componentDidUpdate",value:function(b){this.updateOpenCount(b),this.updateScrollLocker(b),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var b=this.props,E=b.visible,v=b.getContainer;ie&&Re(v)===document.body&&(J=E&&J?J-1:J),this.removeCurrentContainer(),k.Z.cancel(this.rafId)}},{key:"render",value:function(){var b=this.props,E=b.children,v=b.forceRender,N=b.visible,T=null,D={getOpenCount:function(){return J},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(v||N||this.componentRef.current)&&(T=M.createElement(ee.Z,{getContainer:this.getContainer,ref:this.componentRef},E(D))),T}}]),F}(M.Component),He=Pe},74204:function(pe,le,c){"use strict";c.d(le,{Z:function(){return Z},o:function(){return x}});var y;function Z(w){if(typeof document=="undefined")return 0;if(w||y===void 0){var M=document.createElement("div");M.style.width="100%",M.style.height="200px";var k=document.createElement("div"),ee=k.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",k.appendChild(M),document.body.appendChild(k);var fe=M.offsetWidth;k.style.overflow="scroll";var W=M.offsetWidth;fe===W&&(W=k.clientWidth),document.body.removeChild(k),y=fe-W}return y}function R(w){var M=w.match(/^(.*)px$/),k=Number(M==null?void 0:M[1]);return Number.isNaN(k)?Z():k}function x(w){if(typeof document=="undefined"||!w||!(w instanceof Element))return{width:0,height:0};var M=getComputedStyle(w,"::-webkit-scrollbar"),k=M.width,ee=M.height;return{width:R(k),height:R(ee)}}}}]);