szld-libs 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- (function(It,yt){typeof exports=="object"&&typeof module<"u"?yt(exports,require("react"),require("antd"),require("react-router-dom"),require("lodash")):typeof define=="function"&&define.amd?define(["exports","react","antd","react-router-dom","lodash"],yt):(It=typeof globalThis<"u"?globalThis:It||self,yt(It.ReactComponents={},It.React,It.antd,It["react-router-dom"],It.lodash))})(this,function(It,yt,nt,RR,Ds){"use strict";var eN=Object.defineProperty;var tN=(It,yt,nt)=>yt in It?eN(It,yt,{enumerable:!0,configurable:!0,writable:!0,value:nt}):It[yt]=nt;var TR=(It,yt,nt)=>(tN(It,typeof yt!="symbol"?yt+"":yt,nt),nt);function wR(h){const g=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(h){for(const v in h)if(v!=="default"){const b=Object.getOwnPropertyDescriptor(h,v);Object.defineProperty(g,v,b.get?b:{enumerable:!0,get:()=>h[v]})}}return g.default=h,Object.freeze(g)}const yr=wR(yt);function bR(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}var Qp={exports:{}},bf={};var qS;function xR(){if(qS)return bf;qS=1;var h=yt,g=Symbol.for("react.element"),v=Symbol.for("react.fragment"),b=Object.prototype.hasOwnProperty,A=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,B={key:!0,ref:!0,__self:!0,__source:!0};function C(q,F,W){var Se,K={},ae=null,ie=null;W!==void 0&&(ae=""+W),F.key!==void 0&&(ae=""+F.key),F.ref!==void 0&&(ie=F.ref);for(Se in F)b.call(F,Se)&&!B.hasOwnProperty(Se)&&(K[Se]=F[Se]);if(q&&q.defaultProps)for(Se in F=q.defaultProps,F)K[Se]===void 0&&(K[Se]=F[Se]);return{$$typeof:g,type:q,key:ae,ref:ie,props:K,_owner:A.current}}return bf.Fragment=v,bf.jsx=C,bf.jsxs=C,bf}var xf={};var XS;function kR(){return XS||(XS=1,process.env.NODE_ENV!=="production"&&function(){var h=yt,g=Symbol.for("react.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),q=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),de=Symbol.iterator,tt="@@iterator";function it(R){if(R===null||typeof R!="object")return null;var Y=de&&R[de]||R[tt];return typeof Y=="function"?Y:null}var Yt=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Xe(R){{for(var Y=arguments.length,ne=new Array(Y>1?Y-1:0),be=1;be<Y;be++)ne[be-1]=arguments[be];Fe("error",R,ne)}}function Fe(R,Y,ne){{var be=Yt.ReactDebugCurrentFrame,Be=be.getStackAddendum();Be!==""&&(Y+="%s",ne=ne.concat([Be]));var rt=ne.map(function(Pe){return String(Pe)});rt.unshift("Warning: "+Y),Function.prototype.apply.call(console[R],console,rt)}}var ct=!1,Ie=!1,Dt=!1,$e=!1,_n=!1,Yn;Yn=Symbol.for("react.module.reference");function Qt(R){return!!(typeof R=="string"||typeof R=="function"||R===b||R===B||_n||R===A||R===W||R===Se||$e||R===ie||ct||Ie||Dt||typeof R=="object"&&R!==null&&(R.$$typeof===ae||R.$$typeof===K||R.$$typeof===C||R.$$typeof===q||R.$$typeof===F||R.$$typeof===Yn||R.getModuleId!==void 0))}function gt(R,Y,ne){var be=R.displayName;if(be)return be;var Be=Y.displayName||Y.name||"";return Be!==""?ne+"("+Be+")":ne}function On(R){return R.displayName||"Context"}function Ue(R){if(R==null)return null;if(typeof R.tag=="number"&&Xe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof R=="function")return R.displayName||R.name||null;if(typeof R=="string")return R;switch(R){case b:return"Fragment";case v:return"Portal";case B:return"Profiler";case A:return"StrictMode";case W:return"Suspense";case Se:return"SuspenseList"}if(typeof R=="object")switch(R.$$typeof){case q:var Y=R;return On(Y)+".Consumer";case C:var ne=R;return On(ne._context)+".Provider";case F:return gt(R,R.render,"ForwardRef");case K:var be=R.displayName||null;return be!==null?be:Ue(R.type)||"Memo";case ae:{var Be=R,rt=Be._payload,Pe=Be._init;try{return Ue(Pe(rt))}catch{return null}}}return null}var Ke=Object.assign,mn=0,_t,ar,Z,we,oe,lt,ft;function Nn(){}Nn.__reactDisabledLog=!0;function ir(){{if(mn===0){_t=console.log,ar=console.info,Z=console.warn,we=console.error,oe=console.group,lt=console.groupCollapsed,ft=console.groupEnd;var R={configurable:!0,enumerable:!0,value:Nn,writable:!0};Object.defineProperties(console,{info:R,log:R,warn:R,error:R,group:R,groupCollapsed:R,groupEnd:R})}mn++}}function Ba(){{if(mn--,mn===0){var R={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ke({},R,{value:_t}),info:Ke({},R,{value:ar}),warn:Ke({},R,{value:Z}),error:Ke({},R,{value:we}),group:Ke({},R,{value:oe}),groupCollapsed:Ke({},R,{value:lt}),groupEnd:Ke({},R,{value:ft})})}mn<0&&Xe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var on=Yt.ReactCurrentDispatcher,ea;function Qn(R,Y,ne){{if(ea===void 0)try{throw Error()}catch(Be){var be=Be.stack.trim().match(/\n( *(at )?)/);ea=be&&be[1]||""}return`
2
- `+ea+R}}var gr=!1,Pa;{var Sr=typeof WeakMap=="function"?WeakMap:Map;Pa=new Sr}function ta(R,Y){if(!R||gr)return"";{var ne=Pa.get(R);if(ne!==void 0)return ne}var be;gr=!0;var Be=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var rt;rt=on.current,on.current=null,ir();try{if(Y){var Pe=function(){throw Error()};if(Object.defineProperty(Pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Pe,[])}catch(ut){be=ut}Reflect.construct(R,[],Pe)}else{try{Pe.call()}catch(ut){be=ut}R.call(Pe.prototype)}}else{try{throw Error()}catch(ut){be=ut}R()}}catch(ut){if(ut&&be&&typeof ut.stack=="string"){for(var ke=ut.stack.split(`
3
- `),Sn=be.stack.split(`
4
- `),Ut=ke.length-1,At=Sn.length-1;Ut>=1&&At>=0&&ke[Ut]!==Sn[At];)At--;for(;Ut>=1&&At>=0;Ut--,At--)if(ke[Ut]!==Sn[At]){if(Ut!==1||At!==1)do if(Ut--,At--,At<0||ke[Ut]!==Sn[At]){var lr=`
5
- `+ke[Ut].replace(" at new "," at ");return R.displayName&&lr.includes("<anonymous>")&&(lr=lr.replace("<anonymous>",R.displayName)),typeof R=="function"&&Pa.set(R,lr),lr}while(Ut>=1&&At>=0);break}}}finally{gr=!1,on.current=rt,Ba(),Error.prepareStackTrace=Be}var ji=R?R.displayName||R.name:"",Ns=ji?Qn(ji):"";return typeof R=="function"&&Pa.set(R,Ns),Ns}function yn(R,Y,ne){return ta(R,!1)}function Wn(R){var Y=R.prototype;return!!(Y&&Y.isReactComponent)}function Mn(R,Y,ne){if(R==null)return"";if(typeof R=="function")return ta(R,Wn(R));if(typeof R=="string")return Qn(R);switch(R){case W:return Qn("Suspense");case Se:return Qn("SuspenseList")}if(typeof R=="object")switch(R.$$typeof){case F:return yn(R.render);case K:return Mn(R.type,Y,ne);case ae:{var be=R,Be=be._payload,rt=be._init;try{return Mn(rt(Be),Y,ne)}catch{}}}return""}var Gn=Object.prototype.hasOwnProperty,qn={},na=Yt.ReactDebugCurrentFrame;function wa(R){if(R){var Y=R._owner,ne=Mn(R.type,R._source,Y?Y.type:null);na.setExtraStackFrame(ne)}else na.setExtraStackFrame(null)}function ui(R,Y,ne,be,Be){{var rt=Function.call.bind(Gn);for(var Pe in R)if(rt(R,Pe)){var ke=void 0;try{if(typeof R[Pe]!="function"){var Sn=Error((be||"React class")+": "+ne+" type `"+Pe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof R[Pe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Sn.name="Invariant Violation",Sn}ke=R[Pe](Y,Pe,be,ne,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ut){ke=Ut}ke&&!(ke instanceof Error)&&(wa(Be),Xe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",be||"React class",ne,Pe,typeof ke),wa(null)),ke instanceof Error&&!(ke.message in qn)&&(qn[ke.message]=!0,wa(Be),Xe("Failed %s type: %s",ne,ke.message),wa(null))}}}var $a=Array.isArray;function ba(R){return $a(R)}function Ur(R){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,ne=Y&&R[Symbol.toStringTag]||R.constructor.name||"Object";return ne}}function Ia(R){try{return Ar(R),!1}catch{return!0}}function Ar(R){return""+R}function xa(R){if(Ia(R))return Xe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ur(R)),Ar(R)}var en=Yt.ReactCurrentOwner,Fr={key:!0,ref:!0,__self:!0,__source:!0},Ai,ka,te;te={};function Ee(R){if(Gn.call(R,"ref")){var Y=Object.getOwnPropertyDescriptor(R,"ref").get;if(Y&&Y.isReactWarning)return!1}return R.ref!==void 0}function Ye(R){if(Gn.call(R,"key")){var Y=Object.getOwnPropertyDescriptor(R,"key").get;if(Y&&Y.isReactWarning)return!1}return R.key!==void 0}function ht(R,Y){if(typeof R.ref=="string"&&en.current&&Y&&en.current.stateNode!==Y){var ne=Ue(en.current.type);te[ne]||(Xe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Ue(en.current.type),R.ref),te[ne]=!0)}}function jt(R,Y){{var ne=function(){Ai||(Ai=!0,Xe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Y))};ne.isReactWarning=!0,Object.defineProperty(R,"key",{get:ne,configurable:!0})}}function gn(R,Y){{var ne=function(){ka||(ka=!0,Xe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Y))};ne.isReactWarning=!0,Object.defineProperty(R,"ref",{get:ne,configurable:!0})}}var Xt=function(R,Y,ne,be,Be,rt,Pe){var ke={$$typeof:g,type:R,key:Y,ref:ne,props:Pe,_owner:rt};return ke._store={},Object.defineProperty(ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:be}),Object.defineProperty(ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Be}),Object.freeze&&(Object.freeze(ke.props),Object.freeze(ke)),ke};function Cr(R,Y,ne,be,Be){{var rt,Pe={},ke=null,Sn=null;ne!==void 0&&(xa(ne),ke=""+ne),Ye(Y)&&(xa(Y.key),ke=""+Y.key),Ee(Y)&&(Sn=Y.ref,ht(Y,Be));for(rt in Y)Gn.call(Y,rt)&&!Fr.hasOwnProperty(rt)&&(Pe[rt]=Y[rt]);if(R&&R.defaultProps){var Ut=R.defaultProps;for(rt in Ut)Pe[rt]===void 0&&(Pe[rt]=Ut[rt])}if(ke||Sn){var At=typeof R=="function"?R.displayName||R.name||"Unknown":R;ke&&jt(Pe,At),Sn&&gn(Pe,At)}return Xt(R,ke,Sn,Be,be,en.current,Pe)}}var xt=Yt.ReactCurrentOwner,Hr=Yt.ReactDebugCurrentFrame;function Tt(R){if(R){var Y=R._owner,ne=Mn(R.type,R._source,Y?Y.type:null);Hr.setExtraStackFrame(ne)}else Hr.setExtraStackFrame(null)}var kt;kt=!1;function vu(R){return typeof R=="object"&&R!==null&&R.$$typeof===g}function El(){{if(xt.current){var R=Ue(xt.current.type);if(R)return`
1
+ (function(fn,st){typeof exports=="object"&&typeof module<"u"?st(exports,require("react"),require("antd"),require("react-router-dom"),require("lodash"),require("ahooks"),require("react-window")):typeof define=="function"&&define.amd?define(["exports","react","antd","react-router-dom","lodash","ahooks","react-window"],st):(fn=typeof globalThis<"u"?globalThis:fn||self,st(fn.ReactComponents={},fn.React,fn.antd,fn["react-router-dom"],fn.lodash,fn.ahooks,fn["react-window"]))})(this,function(fn,st,ft,sU,Gd,fU,cU){"use strict";var Dne=Object.defineProperty;var Mne=(fn,st,ft)=>st in fn?Dne(fn,st,{enumerable:!0,configurable:!0,writable:!0,value:ft}):fn[st]=ft;var uU=(fn,st,ft)=>(Mne(fn,typeof st!="symbol"?st+"":st,ft),ft);function dU(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const Nt=dU(st);function vU(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var v0={exports:{}},kp={};var iA;function hU(){if(iA)return kp;iA=1;var t=st,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(f,d,h){var p,m={},S=null,_=null;h!==void 0&&(S=""+h),d.key!==void 0&&(S=""+d.key),d.ref!==void 0&&(_=d.ref);for(p in d)r.call(d,p)&&!l.hasOwnProperty(p)&&(m[p]=d[p]);if(f&&f.defaultProps)for(p in d=f.defaultProps,d)m[p]===void 0&&(m[p]=d[p]);return{$$typeof:e,type:f,key:S,ref:_,props:m,_owner:a.current}}return kp.Fragment=n,kp.jsx=u,kp.jsxs=u,kp}var Np={};var aA;function pU(){return aA||(aA=1,process.env.NODE_ENV!=="production"&&function(){var t=st,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),w=Symbol.iterator,E="@@iterator";function b(Y){if(Y===null||typeof Y!="object")return null;var Ce=w&&Y[w]||Y[E];return typeof Ce=="function"?Ce:null}var D=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(Y){{for(var Ce=arguments.length,Me=new Array(Ce>1?Ce-1:0),Ke=1;Ke<Ce;Ke++)Me[Ke-1]=arguments[Ke];O("error",Y,Me)}}function O(Y,Ce,Me){{var Ke=D.ReactDebugCurrentFrame,mt=Ke.getStackAddendum();mt!==""&&(Ce+="%s",Me=Me.concat([mt]));var Bt=Me.map(function(yt){return String(yt)});Bt.unshift("Warning: "+Ce),Function.prototype.apply.call(console[Y],console,Bt)}}var P=!1,I=!1,F=!1,U=!1,H=!1,j;j=Symbol.for("react.module.reference");function X(Y){return!!(typeof Y=="string"||typeof Y=="function"||Y===r||Y===l||H||Y===a||Y===h||Y===p||U||Y===_||P||I||F||typeof Y=="object"&&Y!==null&&(Y.$$typeof===S||Y.$$typeof===m||Y.$$typeof===u||Y.$$typeof===f||Y.$$typeof===d||Y.$$typeof===j||Y.getModuleId!==void 0))}function G(Y,Ce,Me){var Ke=Y.displayName;if(Ke)return Ke;var mt=Ce.displayName||Ce.name||"";return mt!==""?Me+"("+mt+")":Me}function ee(Y){return Y.displayName||"Context"}function J(Y){if(Y==null)return null;if(typeof Y.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Y=="function")return Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case r:return"Fragment";case n:return"Portal";case l:return"Profiler";case a:return"StrictMode";case h:return"Suspense";case p:return"SuspenseList"}if(typeof Y=="object")switch(Y.$$typeof){case f:var Ce=Y;return ee(Ce)+".Consumer";case u:var Me=Y;return ee(Me._context)+".Provider";case d:return G(Y,Y.render,"ForwardRef");case m:var Ke=Y.displayName||null;return Ke!==null?Ke:J(Y.type)||"Memo";case S:{var mt=Y,Bt=mt._payload,yt=mt._init;try{return J(yt(Bt))}catch{return null}}}return null}var ie=Object.assign,ce=0,fe,Pe,ae,ge,pe,Le,Ge;function St(){}St.__reactDisabledLog=!0;function It(){{if(ce===0){fe=console.log,Pe=console.info,ae=console.warn,ge=console.error,pe=console.group,Le=console.groupCollapsed,Ge=console.groupEnd;var Y={configurable:!0,enumerable:!0,value:St,writable:!0};Object.defineProperties(console,{info:Y,log:Y,warn:Y,error:Y,group:Y,groupCollapsed:Y,groupEnd:Y})}ce++}}function Dn(){{if(ce--,ce===0){var Y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ie({},Y,{value:fe}),info:ie({},Y,{value:Pe}),warn:ie({},Y,{value:ae}),error:ie({},Y,{value:ge}),group:ie({},Y,{value:pe}),groupCollapsed:ie({},Y,{value:Le}),groupEnd:ie({},Y,{value:Ge})})}ce<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Xt=D.ReactCurrentDispatcher,Mn;function on(Y,Ce,Me){{if(Mn===void 0)try{throw Error()}catch(mt){var Ke=mt.stack.trim().match(/\n( *(at )?)/);Mn=Ke&&Ke[1]||""}return`
2
+ `+Mn+Y}}var zt=!1,Ft;{var $e=typeof WeakMap=="function"?WeakMap:Map;Ft=new $e}function Se(Y,Ce){if(!Y||zt)return"";{var Me=Ft.get(Y);if(Me!==void 0)return Me}var Ke;zt=!0;var mt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Bt;Bt=Xt.current,Xt.current=null,It();try{if(Ce){var yt=function(){throw Error()};if(Object.defineProperty(yt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(yt,[])}catch($t){Ke=$t}Reflect.construct(Y,[],yt)}else{try{yt.call()}catch($t){Ke=$t}Y.call(yt.prototype)}}else{try{throw Error()}catch($t){Ke=$t}Y()}}catch($t){if($t&&Ke&&typeof $t.stack=="string"){for(var tt=$t.stack.split(`
3
+ `),pr=Ke.stack.split(`
4
+ `),Rn=tt.length-1,An=pr.length-1;Rn>=1&&An>=0&&tt[Rn]!==pr[An];)An--;for(;Rn>=1&&An>=0;Rn--,An--)if(tt[Rn]!==pr[An]){if(Rn!==1||An!==1)do if(Rn--,An--,An<0||tt[Rn]!==pr[An]){var Jr=`
5
+ `+tt[Rn].replace(" at new "," at ");return Y.displayName&&Jr.includes("<anonymous>")&&(Jr=Jr.replace("<anonymous>",Y.displayName)),typeof Y=="function"&&Ft.set(Y,Jr),Jr}while(Rn>=1&&An>=0);break}}}finally{zt=!1,Xt.current=Bt,Dn(),Error.prepareStackTrace=mt}var Pl=Y?Y.displayName||Y.name:"",Uv=Pl?on(Pl):"";return typeof Y=="function"&&Ft.set(Y,Uv),Uv}function Zt(Y,Ce,Me){return Se(Y,!1)}function Et(Y){var Ce=Y.prototype;return!!(Ce&&Ce.isReactComponent)}function Pn(Y,Ce,Me){if(Y==null)return"";if(typeof Y=="function")return Se(Y,Et(Y));if(typeof Y=="string")return on(Y);switch(Y){case h:return on("Suspense");case p:return on("SuspenseList")}if(typeof Y=="object")switch(Y.$$typeof){case d:return Zt(Y.render);case m:return Pn(Y.type,Ce,Me);case S:{var Ke=Y,mt=Ke._payload,Bt=Ke._init;try{return Pn(Bt(mt),Ce,Me)}catch{}}}return""}var ar=Object.prototype.hasOwnProperty,Vr={},ua=D.ReactDebugCurrentFrame;function za(Y){if(Y){var Ce=Y._owner,Me=Pn(Y.type,Y._source,Ce?Ce.type:null);ua.setExtraStackFrame(Me)}else ua.setExtraStackFrame(null)}function Ho(Y,Ce,Me,Ke,mt){{var Bt=Function.call.bind(ar);for(var yt in Y)if(Bt(Y,yt)){var tt=void 0;try{if(typeof Y[yt]!="function"){var pr=Error((Ke||"React class")+": "+Me+" type `"+yt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Y[yt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw pr.name="Invariant Violation",pr}tt=Y[yt](Ce,yt,Ke,Me,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Rn){tt=Rn}tt&&!(tt instanceof Error)&&(za(mt),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ke||"React class",Me,yt,typeof tt),za(null)),tt instanceof Error&&!(tt.message in Vr)&&(Vr[tt.message]=!0,za(mt),A("Failed %s type: %s",Me,tt.message),za(null))}}}var vo=Array.isArray;function Fa(Y){return vo(Y)}function Pi(Y){{var Ce=typeof Symbol=="function"&&Symbol.toStringTag,Me=Ce&&Y[Symbol.toStringTag]||Y.constructor.name||"Object";return Me}}function ho(Y){try{return Ii(Y),!1}catch{return!0}}function Ii(Y){return""+Y}function Ba(Y){if(ho(Y))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Pi(Y)),Ii(Y)}var Zn=D.ReactCurrentOwner,zi={key:!0,ref:!0,__self:!0,__source:!0},Ol,Ua,De;De={};function qe(Y){if(ar.call(Y,"ref")){var Ce=Object.getOwnPropertyDescriptor(Y,"ref").get;if(Ce&&Ce.isReactWarning)return!1}return Y.ref!==void 0}function Ct(Y){if(ar.call(Y,"key")){var Ce=Object.getOwnPropertyDescriptor(Y,"key").get;if(Ce&&Ce.isReactWarning)return!1}return Y.key!==void 0}function en(Y,Ce){if(typeof Y.ref=="string"&&Zn.current&&Ce&&Zn.current.stateNode!==Ce){var Me=J(Zn.current.type);De[Me]||(A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',J(Zn.current.type),Y.ref),De[Me]=!0)}}function In(Y,Ce){{var Me=function(){Ol||(Ol=!0,A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Ce))};Me.isReactWarning=!0,Object.defineProperty(Y,"key",{get:Me,configurable:!0})}}function hr(Y,Ce){{var Me=function(){Ua||(Ua=!0,A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Ce))};Me.isReactWarning=!0,Object.defineProperty(Y,"ref",{get:Me,configurable:!0})}}var Yn=function(Y,Ce,Me,Ke,mt,Bt,yt){var tt={$$typeof:e,type:Y,key:Ce,ref:Me,props:yt,_owner:Bt};return tt._store={},Object.defineProperty(tt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(tt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ke}),Object.defineProperty(tt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:mt}),Object.freeze&&(Object.freeze(tt.props),Object.freeze(tt)),tt};function pi(Y,Ce,Me,Ke,mt){{var Bt,yt={},tt=null,pr=null;Me!==void 0&&(Ba(Me),tt=""+Me),Ct(Ce)&&(Ba(Ce.key),tt=""+Ce.key),qe(Ce)&&(pr=Ce.ref,en(Ce,mt));for(Bt in Ce)ar.call(Ce,Bt)&&!zi.hasOwnProperty(Bt)&&(yt[Bt]=Ce[Bt]);if(Y&&Y.defaultProps){var Rn=Y.defaultProps;for(Bt in Rn)yt[Bt]===void 0&&(yt[Bt]=Rn[Bt])}if(tt||pr){var An=typeof Y=="function"?Y.displayName||Y.name||"Unknown":Y;tt&&In(yt,An),pr&&hr(yt,An)}return Yn(Y,tt,pr,mt,Ke,Zn.current,yt)}}var _n=D.ReactCurrentOwner,Fi=D.ReactDebugCurrentFrame;function vn(Y){if(Y){var Ce=Y._owner,Me=Pn(Y.type,Y._source,Ce?Ce.type:null);Fi.setExtraStackFrame(Me)}else Fi.setExtraStackFrame(null)}var Sn;Sn=!1;function Bs(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===e}function Lu(){{if(_n.current){var Y=J(_n.current.type);if(Y)return`
6
6
 
7
- Check the render method of \``+R+"`."}return""}}function hu(R){{if(R!==void 0){var Y=R.fileName.replace(/^.*[\\\/]/,""),ne=R.lineNumber;return`
7
+ Check the render method of \``+Y+"`."}return""}}function Us(Y){{if(Y!==void 0){var Ce=Y.fileName.replace(/^.*[\\\/]/,""),Me=Y.lineNumber;return`
8
8
 
9
- Check your code at `+Y+":"+ne+"."}return""}}var So={};function Os(R){{var Y=El();if(!Y){var ne=typeof R=="string"?R:R.displayName||R.name;ne&&(Y=`
9
+ Check your code at `+Ce+":"+Me+"."}return""}}var Nc={};function Bv(Y){{var Ce=Lu();if(!Ce){var Me=typeof Y=="string"?Y:Y.displayName||Y.name;Me&&(Ce=`
10
10
 
11
- Check the top-level render call using <`+ne+">.")}return Y}}function Tl(R,Y){{if(!R._store||R._store.validated||R.key!=null)return;R._store.validated=!0;var ne=Os(Y);if(So[ne])return;So[ne]=!0;var be="";R&&R._owner&&R._owner!==xt.current&&(be=" It was passed a child from "+Ue(R._owner.type)+"."),Tt(R),Xe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ne,be),Tt(null)}}function mu(R,Y){{if(typeof R!="object")return;if(ba(R))for(var ne=0;ne<R.length;ne++){var be=R[ne];vu(be)&&Tl(be,Y)}else if(vu(R))R._store&&(R._store.validated=!0);else if(R){var Be=it(R);if(typeof Be=="function"&&Be!==R.entries)for(var rt=Be.call(R),Pe;!(Pe=rt.next()).done;)vu(Pe.value)&&Tl(Pe.value,Y)}}}function Rl(R){{var Y=R.type;if(Y==null||typeof Y=="string")return;var ne;if(typeof Y=="function")ne=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===F||Y.$$typeof===K))ne=Y.propTypes;else return;if(ne){var be=Ue(Y);ui(ne,R.props,"prop",be,R)}else if(Y.PropTypes!==void 0&&!kt){kt=!0;var Be=Ue(Y);Xe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Be||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&Xe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yu(R){{for(var Y=Object.keys(R.props),ne=0;ne<Y.length;ne++){var be=Y[ne];if(be!=="children"&&be!=="key"){Tt(R),Xe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",be),Tt(null);break}}R.ref!==null&&(Tt(R),Xe("Invalid attribute `ref` supplied to `React.Fragment`."),Tt(null))}}function Ya(R,Y,ne,be,Be,rt){{var Pe=Qt(R);if(!Pe){var ke="";(R===void 0||typeof R=="object"&&R!==null&&Object.keys(R).length===0)&&(ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Sn=hu(Be);Sn?ke+=Sn:ke+=El();var Ut;R===null?Ut="null":ba(R)?Ut="array":R!==void 0&&R.$$typeof===g?(Ut="<"+(Ue(R.type)||"Unknown")+" />",ke=" Did you accidentally export a JSX literal instead of a component?"):Ut=typeof R,Xe("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ut,ke)}var At=Cr(R,Y,ne,Be,rt);if(At==null)return At;if(Pe){var lr=Y.children;if(lr!==void 0)if(be)if(ba(lr)){for(var ji=0;ji<lr.length;ji++)mu(lr[ji],R);Object.freeze&&Object.freeze(lr)}else Xe("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else mu(lr,R)}return R===b?yu(At):Rl(At),At}}function Fi(R,Y,ne){return Ya(R,Y,ne,!0)}function jr(R,Y,ne){return Ya(R,Y,ne,!1)}var Da=jr,Hi=Fi;xf.Fragment=b,xf.jsx=Da,xf.jsxs=Hi}()),xf}(function(h){process.env.NODE_ENV==="production"?h.exports=xR():h.exports=kR()})(Qp);const DR=Qp.exports.Fragment,Le=Qp.exports.jsx,In=Qp.exports.jsxs;var _R=yt.createContext({});const KS=_R;function yo(h){return yo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},yo(h)}function OR(h,g){if(yo(h)!=="object"||h===null)return h;var v=h[Symbol.toPrimitive];if(v!==void 0){var b=v.call(h,g||"default");if(yo(b)!=="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(h)}function NR(h){var g=OR(h,"string");return yo(g)==="symbol"?g:String(g)}function Jm(h,g,v){return g=NR(g),g in h?Object.defineProperty(h,g,{value:v,enumerable:!0,configurable:!0,writable:!0}):h[g]=v,h}function ZS(h,g){var v=Object.keys(h);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(h);g&&(b=b.filter(function(A){return Object.getOwnPropertyDescriptor(h,A).enumerable})),v.push.apply(v,b)}return v}function un(h){for(var g=1;g<arguments.length;g++){var v=arguments[g]!=null?arguments[g]:{};g%2?ZS(Object(v),!0).forEach(function(b){Jm(h,b,v[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(v)):ZS(Object(v)).forEach(function(b){Object.defineProperty(h,b,Object.getOwnPropertyDescriptor(v,b))})}return h}function MR(h){if(Array.isArray(h))return h}function LR(h,g){var v=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(v!=null){var b,A,B,C,q=[],F=!0,W=!1;try{if(B=(v=v.call(h)).next,g===0){if(Object(v)!==v)return;F=!1}else for(;!(F=(b=B.call(v)).done)&&(q.push(b.value),q.length!==g);F=!0);}catch(Se){W=!0,A=Se}finally{try{if(!F&&v.return!=null&&(C=v.return(),Object(C)!==C))return}finally{if(W)throw A}}return q}}function JS(h,g){(g==null||g>h.length)&&(g=h.length);for(var v=0,b=new Array(g);v<g;v++)b[v]=h[v];return b}function zR(h,g){if(h){if(typeof h=="string")return JS(h,g);var v=Object.prototype.toString.call(h).slice(8,-1);if(v==="Object"&&h.constructor&&(v=h.constructor.name),v==="Map"||v==="Set")return Array.from(h);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return JS(h,g)}}function UR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function e1(h,g){return MR(h)||LR(h,g)||zR(h,g)||UR()}function AR(h,g){if(h==null)return{};var v={},b=Object.keys(h),A,B;for(B=0;B<b.length;B++)A=b[B],!(g.indexOf(A)>=0)&&(v[A]=h[A]);return v}function t1(h,g){if(h==null)return{};var v=AR(h,g),b,A;if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(h);for(A=0;A<B.length;A++)b=B[A],!(g.indexOf(b)>=0)&&Object.prototype.propertyIsEnumerable.call(h,b)&&(v[b]=h[b])}return v}var n1={exports:{}};(function(h){(function(){var g={}.hasOwnProperty;function v(){for(var b=[],A=0;A<arguments.length;A++){var B=arguments[A];if(B){var C=typeof B;if(C==="string"||C==="number")b.push(B);else if(Array.isArray(B)){if(B.length){var q=v.apply(null,B);q&&b.push(q)}}else if(C==="object"){if(B.toString!==Object.prototype.toString&&!B.toString.toString().includes("[native code]")){b.push(B.toString());continue}for(var F in B)g.call(B,F)&&B[F]&&b.push(F)}}}return b.join(" ")}h.exports?(v.default=v,h.exports=v):window.classNames=v})()})(n1);const kf=n1.exports;function Va(h,g){FR(h)&&(h="100%");var v=HR(h);return h=g===360?h:Math.min(g,Math.max(0,parseFloat(h))),v&&(h=parseInt(String(h*g),10)/100),Math.abs(h-g)<1e-6?1:(g===360?h=(h<0?h%g+g:h%g)/parseFloat(String(g)):h=h%g/parseFloat(String(g)),h)}function FR(h){return typeof h=="string"&&h.indexOf(".")!==-1&&parseFloat(h)===1}function HR(h){return typeof h=="string"&&h.indexOf("%")!==-1}function jR(h){return h=parseFloat(h),(isNaN(h)||h<0||h>1)&&(h=1),h}function Wp(h){return h<=1?"".concat(Number(h)*100,"%"):h}function ey(h){return h.length===1?"0"+h:String(h)}function VR(h,g,v){return{r:Va(h,255)*255,g:Va(g,255)*255,b:Va(v,255)*255}}function ty(h,g,v){return v<0&&(v+=1),v>1&&(v-=1),v<1/6?h+(g-h)*(6*v):v<1/2?g:v<2/3?h+(g-h)*(2/3-v)*6:h}function BR(h,g,v){var b,A,B;if(h=Va(h,360),g=Va(g,100),v=Va(v,100),g===0)A=v,B=v,b=v;else{var C=v<.5?v*(1+g):v+g-v*g,q=2*v-C;b=ty(q,C,h+1/3),A=ty(q,C,h),B=ty(q,C,h-1/3)}return{r:b*255,g:A*255,b:B*255}}function PR(h,g,v){h=Va(h,255),g=Va(g,255),v=Va(v,255);var b=Math.max(h,g,v),A=Math.min(h,g,v),B=0,C=b,q=b-A,F=b===0?0:q/b;if(b===A)B=0;else{switch(b){case h:B=(g-v)/q+(g<v?6:0);break;case g:B=(v-h)/q+2;break;case v:B=(h-g)/q+4;break}B/=6}return{h:B,s:F,v:C}}function $R(h,g,v){h=Va(h,360)*6,g=Va(g,100),v=Va(v,100);var b=Math.floor(h),A=h-b,B=v*(1-g),C=v*(1-A*g),q=v*(1-(1-A)*g),F=b%6,W=[v,C,B,B,q,v][F],Se=[q,v,v,C,B,B][F],K=[B,B,q,v,v,C][F];return{r:W*255,g:Se*255,b:K*255}}function IR(h,g,v,b){var A=[ey(Math.round(h).toString(16)),ey(Math.round(g).toString(16)),ey(Math.round(v).toString(16))];return b&&A[0].startsWith(A[0].charAt(1))&&A[1].startsWith(A[1].charAt(1))&&A[2].startsWith(A[2].charAt(1))?A[0].charAt(0)+A[1].charAt(0)+A[2].charAt(0):A.join("")}function r1(h){return Ra(h)/255}function Ra(h){return parseInt(h,16)}var a1={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Df(h){var g={r:0,g:0,b:0},v=1,b=null,A=null,B=null,C=!1,q=!1;return typeof h=="string"&&(h=WR(h)),typeof h=="object"&&(Cl(h.r)&&Cl(h.g)&&Cl(h.b)?(g=VR(h.r,h.g,h.b),C=!0,q=String(h.r).substr(-1)==="%"?"prgb":"rgb"):Cl(h.h)&&Cl(h.s)&&Cl(h.v)?(b=Wp(h.s),A=Wp(h.v),g=$R(h.h,b,A),C=!0,q="hsv"):Cl(h.h)&&Cl(h.s)&&Cl(h.l)&&(b=Wp(h.s),B=Wp(h.l),g=BR(h.h,b,B),C=!0,q="hsl"),Object.prototype.hasOwnProperty.call(h,"a")&&(v=h.a)),v=jR(v),{ok:C,format:h.format||q,r:Math.min(255,Math.max(g.r,0)),g:Math.min(255,Math.max(g.g,0)),b:Math.min(255,Math.max(g.b,0)),a:v}}var YR="[-\\+]?\\d+%?",QR="[-\\+]?\\d*\\.\\d+%?",pu="(?:".concat(QR,")|(?:").concat(YR,")"),ny="[\\s|\\(]+(".concat(pu,")[,|\\s]+(").concat(pu,")[,|\\s]+(").concat(pu,")\\s*\\)?"),ry="[\\s|\\(]+(".concat(pu,")[,|\\s]+(").concat(pu,")[,|\\s]+(").concat(pu,")[,|\\s]+(").concat(pu,")\\s*\\)?"),li={CSS_UNIT:new RegExp(pu),rgb:new RegExp("rgb"+ny),rgba:new RegExp("rgba"+ry),hsl:new RegExp("hsl"+ny),hsla:new RegExp("hsla"+ry),hsv:new RegExp("hsv"+ny),hsva:new RegExp("hsva"+ry),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function WR(h){if(h=h.trim().toLowerCase(),h.length===0)return!1;var g=!1;if(a1[h])h=a1[h],g=!0;else if(h==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var v=li.rgb.exec(h);return v?{r:v[1],g:v[2],b:v[3]}:(v=li.rgba.exec(h),v?{r:v[1],g:v[2],b:v[3],a:v[4]}:(v=li.hsl.exec(h),v?{h:v[1],s:v[2],l:v[3]}:(v=li.hsla.exec(h),v?{h:v[1],s:v[2],l:v[3],a:v[4]}:(v=li.hsv.exec(h),v?{h:v[1],s:v[2],v:v[3]}:(v=li.hsva.exec(h),v?{h:v[1],s:v[2],v:v[3],a:v[4]}:(v=li.hex8.exec(h),v?{r:Ra(v[1]),g:Ra(v[2]),b:Ra(v[3]),a:r1(v[4]),format:g?"name":"hex8"}:(v=li.hex6.exec(h),v?{r:Ra(v[1]),g:Ra(v[2]),b:Ra(v[3]),format:g?"name":"hex"}:(v=li.hex4.exec(h),v?{r:Ra(v[1]+v[1]),g:Ra(v[2]+v[2]),b:Ra(v[3]+v[3]),a:r1(v[4]+v[4]),format:g?"name":"hex8"}:(v=li.hex3.exec(h),v?{r:Ra(v[1]+v[1]),g:Ra(v[2]+v[2]),b:Ra(v[3]+v[3]),format:g?"name":"hex"}:!1)))))))))}function Cl(h){return Boolean(li.CSS_UNIT.exec(String(h)))}var Gp=2,i1=.16,GR=.05,qR=.05,XR=.15,l1=5,u1=4,KR=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function o1(h){var g=h.r,v=h.g,b=h.b,A=PR(g,v,b);return{h:A.h*360,s:A.s,v:A.v}}function qp(h){var g=h.r,v=h.g,b=h.b;return"#".concat(IR(g,v,b,!1))}function ZR(h,g,v){var b=v/100,A={r:(g.r-h.r)*b+h.r,g:(g.g-h.g)*b+h.g,b:(g.b-h.b)*b+h.b};return A}function s1(h,g,v){var b;return Math.round(h.h)>=60&&Math.round(h.h)<=240?b=v?Math.round(h.h)-Gp*g:Math.round(h.h)+Gp*g:b=v?Math.round(h.h)+Gp*g:Math.round(h.h)-Gp*g,b<0?b+=360:b>=360&&(b-=360),b}function c1(h,g,v){if(h.h===0&&h.s===0)return h.s;var b;return v?b=h.s-i1*g:g===u1?b=h.s+i1:b=h.s+GR*g,b>1&&(b=1),v&&g===l1&&b>.1&&(b=.1),b<.06&&(b=.06),Number(b.toFixed(2))}function f1(h,g,v){var b;return v?b=h.v+qR*g:b=h.v-XR*g,b>1&&(b=1),Number(b.toFixed(2))}function ay(h){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=[],b=Df(h),A=l1;A>0;A-=1){var B=o1(b),C=qp(Df({h:s1(B,A,!0),s:c1(B,A,!0),v:f1(B,A,!0)}));v.push(C)}v.push(qp(b));for(var q=1;q<=u1;q+=1){var F=o1(b),W=qp(Df({h:s1(F,q),s:c1(F,q),v:f1(F,q)}));v.push(W)}return g.theme==="dark"?KR.map(function(Se){var K=Se.index,ae=Se.opacity,ie=qp(ZR(Df(g.backgroundColor||"#141414"),Df(v[K]),ae*100));return ie}):v}var iy={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ly={},uy={};Object.keys(iy).forEach(function(h){ly[h]=ay(iy[h]),ly[h].primary=ly[h][5],uy[h]=ay(iy[h],{theme:"dark",backgroundColor:"#141414"}),uy[h].primary=uy[h][5]});var d1={};function JR(h,g){process.env.NODE_ENV!=="production"&&!h&&console!==void 0&&console.error("Warning: ".concat(g))}function ew(h,g,v){!g&&!d1[v]&&(h(!1,v),d1[v]=!0)}function tw(h,g){ew(JR,h,g)}function nw(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function rw(h,g){if(!h)return!1;if(h.contains)return h.contains(g);for(var v=g;v;){if(v===h)return!0;v=v.parentNode}return!1}var p1="data-rc-order",aw="rc-util-key",oy=new Map;function v1(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=h.mark;return g?g.startsWith("data-")?g:"data-".concat(g):aw}function sy(h){if(h.attachTo)return h.attachTo;var g=document.querySelector("head");return g||document.body}function iw(h){return h==="queue"?"prependQueue":h?"prepend":"append"}function h1(h){return Array.from((oy.get(h)||h).children).filter(function(g){return g.tagName==="STYLE"})}function m1(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!nw())return null;var v=g.csp,b=g.prepend,A=document.createElement("style");A.setAttribute(p1,iw(b)),v!=null&&v.nonce&&(A.nonce=v==null?void 0:v.nonce),A.innerHTML=h;var B=sy(g),C=B.firstChild;if(b){if(b==="queue"){var q=h1(B).filter(function(F){return["prepend","prependQueue"].includes(F.getAttribute(p1))});if(q.length)return B.insertBefore(A,q[q.length-1].nextSibling),A}B.insertBefore(A,C)}else B.appendChild(A);return A}function lw(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=sy(g);return h1(v).find(function(b){return b.getAttribute(v1(g))===h})}function uw(h,g){var v=oy.get(h);if(!v||!rw(document,v)){var b=m1("",g),A=b.parentNode;oy.set(h,A),h.removeChild(b)}}function ow(h,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=sy(v);uw(b,v);var A=lw(g,v);if(A){var B,C;if(!((B=v.csp)===null||B===void 0)&&B.nonce&&A.nonce!==((C=v.csp)===null||C===void 0?void 0:C.nonce)){var q;A.nonce=(q=v.csp)===null||q===void 0?void 0:q.nonce}return A.innerHTML!==h&&(A.innerHTML=h),A}var F=m1(h,v);return F.setAttribute(v1(v),g),F}function sw(h,g){tw(h,"[@ant-design/icons] ".concat(g))}function y1(h){return yo(h)==="object"&&typeof h.name=="string"&&typeof h.theme=="string"&&(yo(h.icon)==="object"||typeof h.icon=="function")}function g1(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(h).reduce(function(g,v){var b=h[v];switch(v){case"class":g.className=b,delete g.class;break;default:g[v]=b}return g},{})}function cy(h,g,v){return v?yt.createElement(h.tag,un(un({key:g},g1(h.attrs)),v),(h.children||[]).map(function(b,A){return cy(b,"".concat(g,"-").concat(h.tag,"-").concat(A))})):yt.createElement(h.tag,un({key:g},g1(h.attrs)),(h.children||[]).map(function(b,A){return cy(b,"".concat(g,"-").concat(h.tag,"-").concat(A))}))}function S1(h){return ay(h)[0]}function C1(h){return h?Array.isArray(h)?h:[h]:[]}var cw=`
11
+ Check the top-level render call using <`+Me+">.")}return Ce}}function Ou(Y,Ce){{if(!Y._store||Y._store.validated||Y.key!=null)return;Y._store.validated=!0;var Me=Bv(Ce);if(Nc[Me])return;Nc[Me]=!0;var Ke="";Y&&Y._owner&&Y._owner!==_n.current&&(Ke=" It was passed a child from "+J(Y._owner.type)+"."),vn(Y),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Me,Ke),vn(null)}}function Vs(Y,Ce){{if(typeof Y!="object")return;if(Fa(Y))for(var Me=0;Me<Y.length;Me++){var Ke=Y[Me];Bs(Ke)&&Ou(Ke,Ce)}else if(Bs(Y))Y._store&&(Y._store.validated=!0);else if(Y){var mt=b(Y);if(typeof mt=="function"&&mt!==Y.entries)for(var Bt=mt.call(Y),yt;!(yt=Bt.next()).done;)Bs(yt.value)&&Ou(yt.value,Ce)}}}function ku(Y){{var Ce=Y.type;if(Ce==null||typeof Ce=="string")return;var Me;if(typeof Ce=="function")Me=Ce.propTypes;else if(typeof Ce=="object"&&(Ce.$$typeof===d||Ce.$$typeof===m))Me=Ce.propTypes;else return;if(Me){var Ke=J(Ce);Ho(Me,Y.props,"prop",Ke,Y)}else if(Ce.PropTypes!==void 0&&!Sn){Sn=!0;var mt=J(Ce);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",mt||"Unknown")}typeof Ce.getDefaultProps=="function"&&!Ce.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hs(Y){{for(var Ce=Object.keys(Y.props),Me=0;Me<Ce.length;Me++){var Ke=Ce[Me];if(Ke!=="children"&&Ke!=="key"){vn(Y),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ke),vn(null);break}}Y.ref!==null&&(vn(Y),A("Invalid attribute `ref` supplied to `React.Fragment`."),vn(null))}}function po(Y,Ce,Me,Ke,mt,Bt){{var yt=X(Y);if(!yt){var tt="";(Y===void 0||typeof Y=="object"&&Y!==null&&Object.keys(Y).length===0)&&(tt+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var pr=Us(mt);pr?tt+=pr:tt+=Lu();var Rn;Y===null?Rn="null":Fa(Y)?Rn="array":Y!==void 0&&Y.$$typeof===e?(Rn="<"+(J(Y.type)||"Unknown")+" />",tt=" Did you accidentally export a JSX literal instead of a component?"):Rn=typeof Y,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Rn,tt)}var An=pi(Y,Ce,Me,mt,Bt);if(An==null)return An;if(yt){var Jr=Ce.children;if(Jr!==void 0)if(Ke)if(Fa(Jr)){for(var Pl=0;Pl<Jr.length;Pl++)Vs(Jr[Pl],Y);Object.freeze&&Object.freeze(Jr)}else A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Vs(Jr,Y)}return Y===r?Hs(An):ku(An),An}}function kl(Y,Ce,Me){return po(Y,Ce,Me,!0)}function Bi(Y,Ce,Me){return po(Y,Ce,Me,!1)}var Va=Bi,Nl=kl;Np.Fragment=r,Np.jsx=Va,Np.jsxs=Nl}()),Np}(function(t){process.env.NODE_ENV==="production"?t.exports=hU():t.exports=pU()})(v0);const oA=v0.exports.Fragment,Ne=v0.exports.jsx,zr=v0.exports.jsxs;var gU=st.createContext({});const lA=gU;function gu(t){return gu=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},gu(t)}function mU(t,e){if(gu(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(gu(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function uA(t){var e=mU(t,"string");return gu(e)==="symbol"?e:String(e)}function Sw(t,e,n){return e=uA(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sA(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function $n(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?sA(Object(n),!0).forEach(function(r){Sw(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function yU(t){if(Array.isArray(t))return t}function _U(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,a,l,u,f=[],d=!0,h=!1;try{if(l=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;d=!1}else for(;!(d=(r=l.call(n)).done)&&(f.push(r.value),f.length!==e);d=!0);}catch(p){h=!0,a=p}finally{try{if(!d&&n.return!=null&&(u=n.return(),Object(u)!==u))return}finally{if(h)throw a}}return f}}function fA(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function SU(t,e){if(t){if(typeof t=="string")return fA(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fA(t,e)}}function CU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cA(t,e){return yU(t)||_U(t,e)||SU(t,e)||CU()}function wU(t,e){if(t==null)return{};var n={},r=Object.keys(t),a,l;for(l=0;l<r.length;l++)a=r[l],!(e.indexOf(a)>=0)&&(n[a]=t[a]);return n}function dA(t,e){if(t==null)return{};var n=wU(t,e),r,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(a=0;a<l.length;a++)r=l[a],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var vA={exports:{}};(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],a=0;a<arguments.length;a++){var l=arguments[a];if(l){var u=typeof l;if(u==="string"||u==="number")r.push(l);else if(Array.isArray(l)){if(l.length){var f=n.apply(null,l);f&&r.push(f)}}else if(u==="object"){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){r.push(l.toString());continue}for(var d in l)e.call(l,d)&&l[d]&&r.push(d)}}}return r.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(vA);const $d=vA.exports;function Ja(t,e){xU(t)&&(t="100%");var n=TU(t);return t=e===360?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:(e===360?t=(t<0?t%e+e:t%e)/parseFloat(String(e)):t=t%e/parseFloat(String(e)),t)}function xU(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function TU(t){return typeof t=="string"&&t.indexOf("%")!==-1}function bU(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function h0(t){return t<=1?"".concat(Number(t)*100,"%"):t}function Cw(t){return t.length===1?"0"+t:String(t)}function EU(t,e,n){return{r:Ja(t,255)*255,g:Ja(e,255)*255,b:Ja(n,255)*255}}function ww(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*(6*n):n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function DU(t,e,n){var r,a,l;if(t=Ja(t,360),e=Ja(e,100),n=Ja(n,100),e===0)a=n,l=n,r=n;else{var u=n<.5?n*(1+e):n+e-n*e,f=2*n-u;r=ww(f,u,t+1/3),a=ww(f,u,t),l=ww(f,u,t-1/3)}return{r:r*255,g:a*255,b:l*255}}function MU(t,e,n){t=Ja(t,255),e=Ja(e,255),n=Ja(n,255);var r=Math.max(t,e,n),a=Math.min(t,e,n),l=0,u=r,f=r-a,d=r===0?0:f/r;if(r===a)l=0;else{switch(r){case t:l=(e-n)/f+(e<n?6:0);break;case e:l=(n-t)/f+2;break;case n:l=(t-e)/f+4;break}l/=6}return{h:l,s:d,v:u}}function RU(t,e,n){t=Ja(t,360)*6,e=Ja(e,100),n=Ja(n,100);var r=Math.floor(t),a=t-r,l=n*(1-e),u=n*(1-a*e),f=n*(1-(1-a)*e),d=r%6,h=[n,u,l,l,f,n][d],p=[f,n,n,u,l,l][d],m=[l,l,f,n,n,u][d];return{r:h*255,g:p*255,b:m*255}}function AU(t,e,n,r){var a=[Cw(Math.round(t).toString(16)),Cw(Math.round(e).toString(16)),Cw(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function hA(t){return Ra(t)/255}function Ra(t){return parseInt(t,16)}var pA={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Pp(t){var e={r:0,g:0,b:0},n=1,r=null,a=null,l=null,u=!1,f=!1;return typeof t=="string"&&(t=kU(t)),typeof t=="object"&&(mu(t.r)&&mu(t.g)&&mu(t.b)?(e=EU(t.r,t.g,t.b),u=!0,f=String(t.r).substr(-1)==="%"?"prgb":"rgb"):mu(t.h)&&mu(t.s)&&mu(t.v)?(r=h0(t.s),a=h0(t.v),e=RU(t.h,r,a),u=!0,f="hsv"):mu(t.h)&&mu(t.s)&&mu(t.l)&&(r=h0(t.s),l=h0(t.l),e=DU(t.h,r,l),u=!0,f="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=bU(n),{ok:u,format:t.format||f,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var LU="[-\\+]?\\d+%?",OU="[-\\+]?\\d*\\.\\d+%?",xs="(?:".concat(OU,")|(?:").concat(LU,")"),xw="[\\s|\\(]+(".concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")\\s*\\)?"),Tw="[\\s|\\(]+(".concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")\\s*\\)?"),Ao={CSS_UNIT:new RegExp(xs),rgb:new RegExp("rgb"+xw),rgba:new RegExp("rgba"+Tw),hsl:new RegExp("hsl"+xw),hsla:new RegExp("hsla"+Tw),hsv:new RegExp("hsv"+xw),hsva:new RegExp("hsva"+Tw),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function kU(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var e=!1;if(pA[t])t=pA[t],e=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ao.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ao.rgba.exec(t),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ao.hsl.exec(t),n?{h:n[1],s:n[2],l:n[3]}:(n=Ao.hsla.exec(t),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ao.hsv.exec(t),n?{h:n[1],s:n[2],v:n[3]}:(n=Ao.hsva.exec(t),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ao.hex8.exec(t),n?{r:Ra(n[1]),g:Ra(n[2]),b:Ra(n[3]),a:hA(n[4]),format:e?"name":"hex8"}:(n=Ao.hex6.exec(t),n?{r:Ra(n[1]),g:Ra(n[2]),b:Ra(n[3]),format:e?"name":"hex"}:(n=Ao.hex4.exec(t),n?{r:Ra(n[1]+n[1]),g:Ra(n[2]+n[2]),b:Ra(n[3]+n[3]),a:hA(n[4]+n[4]),format:e?"name":"hex8"}:(n=Ao.hex3.exec(t),n?{r:Ra(n[1]+n[1]),g:Ra(n[2]+n[2]),b:Ra(n[3]+n[3]),format:e?"name":"hex"}:!1)))))))))}function mu(t){return Boolean(Ao.CSS_UNIT.exec(String(t)))}var p0=2,gA=.16,NU=.05,PU=.05,IU=.15,mA=5,yA=4,zU=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function _A(t){var e=t.r,n=t.g,r=t.b,a=MU(e,n,r);return{h:a.h*360,s:a.s,v:a.v}}function g0(t){var e=t.r,n=t.g,r=t.b;return"#".concat(AU(e,n,r,!1))}function FU(t,e,n){var r=n/100,a={r:(e.r-t.r)*r+t.r,g:(e.g-t.g)*r+t.g,b:(e.b-t.b)*r+t.b};return a}function SA(t,e,n){var r;return Math.round(t.h)>=60&&Math.round(t.h)<=240?r=n?Math.round(t.h)-p0*e:Math.round(t.h)+p0*e:r=n?Math.round(t.h)+p0*e:Math.round(t.h)-p0*e,r<0?r+=360:r>=360&&(r-=360),r}function CA(t,e,n){if(t.h===0&&t.s===0)return t.s;var r;return n?r=t.s-gA*e:e===yA?r=t.s+gA:r=t.s+NU*e,r>1&&(r=1),n&&e===mA&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function wA(t,e,n){var r;return n?r=t.v+PU*e:r=t.v-IU*e,r>1&&(r=1),Number(r.toFixed(2))}function bw(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Pp(t),a=mA;a>0;a-=1){var l=_A(r),u=g0(Pp({h:SA(l,a,!0),s:CA(l,a,!0),v:wA(l,a,!0)}));n.push(u)}n.push(g0(r));for(var f=1;f<=yA;f+=1){var d=_A(r),h=g0(Pp({h:SA(d,f),s:CA(d,f),v:wA(d,f)}));n.push(h)}return e.theme==="dark"?zU.map(function(p){var m=p.index,S=p.opacity,_=g0(FU(Pp(e.backgroundColor||"#141414"),Pp(n[m]),S*100));return _}):n}var Ew={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Dw={},Mw={};Object.keys(Ew).forEach(function(t){Dw[t]=bw(Ew[t]),Dw[t].primary=Dw[t][5],Mw[t]=bw(Ew[t],{theme:"dark",backgroundColor:"#141414"}),Mw[t].primary=Mw[t][5]});var xA={};function Rw(t,e){process.env.NODE_ENV!=="production"&&!t&&console!==void 0&&console.error("Warning: ".concat(e))}function BU(t,e,n){!e&&!xA[n]&&(t(!1,n),xA[n]=!0)}function UU(t,e){BU(Rw,t,e)}function VU(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function HU(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}var TA="data-rc-order",GU="rc-util-key",Aw=new Map;function bA(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.mark;return e?e.startsWith("data-")?e:"data-".concat(e):GU}function Lw(t){if(t.attachTo)return t.attachTo;var e=document.querySelector("head");return e||document.body}function $U(t){return t==="queue"?"prependQueue":t?"prepend":"append"}function EA(t){return Array.from((Aw.get(t)||t).children).filter(function(e){return e.tagName==="STYLE"})}function DA(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!VU())return null;var n=e.csp,r=e.prepend,a=document.createElement("style");a.setAttribute(TA,$U(r)),n!=null&&n.nonce&&(a.nonce=n==null?void 0:n.nonce),a.innerHTML=t;var l=Lw(e),u=l.firstChild;if(r){if(r==="queue"){var f=EA(l).filter(function(d){return["prepend","prependQueue"].includes(d.getAttribute(TA))});if(f.length)return l.insertBefore(a,f[f.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function jU(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Lw(e);return EA(n).find(function(r){return r.getAttribute(bA(e))===t})}function YU(t,e){var n=Aw.get(t);if(!n||!HU(document,n)){var r=DA("",e),a=r.parentNode;Aw.set(t,a),t.removeChild(r)}}function WU(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Lw(n);YU(r,n);var a=jU(e,n);if(a){var l,u;if(!((l=n.csp)===null||l===void 0)&&l.nonce&&a.nonce!==((u=n.csp)===null||u===void 0?void 0:u.nonce)){var f;a.nonce=(f=n.csp)===null||f===void 0?void 0:f.nonce}return a.innerHTML!==t&&(a.innerHTML=t),a}var d=DA(t,n);return d.setAttribute(bA(n),e),d}function XU(t,e){UU(t,"[@ant-design/icons] ".concat(e))}function MA(t){return gu(t)==="object"&&typeof t.name=="string"&&typeof t.theme=="string"&&(gu(t.icon)==="object"||typeof t.icon=="function")}function RA(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(t).reduce(function(e,n){var r=t[n];switch(n){case"class":e.className=r,delete e.class;break;default:e[n]=r}return e},{})}function Ow(t,e,n){return n?st.createElement(t.tag,$n($n({key:e},RA(t.attrs)),n),(t.children||[]).map(function(r,a){return Ow(r,"".concat(e,"-").concat(t.tag,"-").concat(a))})):st.createElement(t.tag,$n({key:e},RA(t.attrs)),(t.children||[]).map(function(r,a){return Ow(r,"".concat(e,"-").concat(t.tag,"-").concat(a))}))}function AA(t){return bw(t)[0]}function LA(t){return t?Array.isArray(t)?t:[t]:[]}var qU=`
13
13
  .anticon {
14
14
  display: inline-block;
15
15
  color: inherit;
@@ -63,93 +63,93 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
63
63
  transform: rotate(360deg);
64
64
  }
65
65
  }
66
- `,fw=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cw,v=yt.useContext(KS),b=v.csp;yt.useEffect(function(){ow(g,"@ant-design-icons",{prepend:!0,csp:b})},[])},dw=["icon","className","onClick","style","primaryColor","secondaryColor"],_f={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function pw(h){var g=h.primaryColor,v=h.secondaryColor;_f.primaryColor=g,_f.secondaryColor=v||S1(g),_f.calculated=!!v}function vw(){return un({},_f)}var Xp=function(g){var v=g.icon,b=g.className,A=g.onClick,B=g.style,C=g.primaryColor,q=g.secondaryColor,F=t1(g,dw),W=_f;if(C&&(W={primaryColor:C,secondaryColor:q||S1(C)}),fw(),sw(y1(v),"icon should be icon definiton, but got ".concat(v)),!y1(v))return null;var Se=v;return Se&&typeof Se.icon=="function"&&(Se=un(un({},Se),{},{icon:Se.icon(W.primaryColor,W.secondaryColor)})),cy(Se.icon,"svg-".concat(Se.name),un({className:b,onClick:A,style:B,"data-icon":Se.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},F))};Xp.displayName="IconReact",Xp.getTwoToneColors=vw,Xp.setTwoToneColors=pw;const fy=Xp;function E1(h){var g=C1(h),v=e1(g,2),b=v[0],A=v[1];return fy.setTwoToneColors({primaryColor:b,secondaryColor:A})}function hw(){var h=fy.getTwoToneColors();return h.calculated?[h.primaryColor,h.secondaryColor]:h.primaryColor}var mw=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];E1("#1890ff");var Kp=yr.forwardRef(function(h,g){var v,b=h.className,A=h.icon,B=h.spin,C=h.rotate,q=h.tabIndex,F=h.onClick,W=h.twoToneColor,Se=t1(h,mw),K=yr.useContext(KS),ae=K.prefixCls,ie=ae===void 0?"anticon":ae,de=K.rootClassName,tt=kf(de,ie,(v={},Jm(v,"".concat(ie,"-").concat(A.name),!!A.name),Jm(v,"".concat(ie,"-spin"),!!B||A.name==="loading"),v),b),it=q;it===void 0&&F&&(it=-1);var Yt=C?{msTransform:"rotate(".concat(C,"deg)"),transform:"rotate(".concat(C,"deg)")}:void 0,Xe=C1(W),Fe=e1(Xe,2),ct=Fe[0],Ie=Fe[1];return yr.createElement("span",un(un({role:"img","aria-label":A.name},Se),{},{ref:g,tabIndex:it,onClick:F,className:tt}),yr.createElement(fy,{icon:A,primaryColor:ct,secondaryColor:Ie,style:Yt}))});Kp.displayName="AntdIcon",Kp.getTwoToneColor=hw,Kp.setTwoToneColor=E1;const _s=Kp;var yw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const gw=yw;var T1=function(g,v){return yr.createElement(_s,un(un({},g),{},{ref:v,icon:gw}))};T1.displayName="ArrowLeftOutlined";const Sw=yr.forwardRef(T1);var Cw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"};const Ew=Cw;var R1=function(g,v){return yr.createElement(_s,un(un({},g),{},{ref:v,icon:Ew}))};R1.displayName="CloseCircleFilled";const Tw=yr.forwardRef(R1);var Rw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const ww=Rw;var w1=function(g,v){return yr.createElement(_s,un(un({},g),{},{ref:v,icon:ww}))};w1.displayName="DownOutlined";const bw=yr.forwardRef(w1);var xw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const kw=xw;var b1=function(g,v){return yr.createElement(_s,un(un({},g),{},{ref:v,icon:kw}))};b1.displayName="PlusOutlined";const Dw=yr.forwardRef(b1);var _w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const Ow=_w;var x1=function(g,v){return yr.createElement(_s,un(un({},g),{},{ref:v,icon:Ow}))};x1.displayName="UpOutlined";const Nw=yr.forwardRef(x1);var Mw={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"};const Lw=Mw;var k1=function(g,v){return yr.createElement(_s,un(un({},g),{},{ref:v,icon:Lw}))};k1.displayName="UploadOutlined";const zw=yr.forwardRef(k1),dy={main:"_main_swzn8_1",title:"_title_swzn8_7",sub:"_sub_swzn8_10"},{Title:Uw,Text:Aw}=nt.Typography,Fw=h=>{const{isBack:g=!0,title:v,extra:b,subTitle:A,className:B}=h,C=RR.useNavigate(),q=()=>{C(-1)};return In("div",{className:kf(dy.main,{className:B}),children:[In(nt.Space,{children:[g&&Le(Sw,{style:{fontSize:24},onClick:q}),In(Uw,{level:2,className:dy.title,children:[v,A&&Le(Aw,{className:dy.sub,children:A})]})]}),b]})};var go=(h=>(h.zip="application/zip",h.png="image/png",h.jpg="image/jpg",h.jpeg="image/jpeg",h.pdf="application/pdf",h.doc="application/msword",h.docx="application/vnd.openxmlformats-officedocument.wordprocessingml.document",h.pptx="application/vnd.openxmlformats-officedocument.presentationml.presentation",h.ppt="application/vnd.ms-powerpoint",h.xlsx="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",h.xls="application/vnd.ms-excel",h.txt="text/plain",h.csv="text/csv",h.svg="image/svg+xml",h))(go||{});const Zp=new Map(Object.entries(go)),Hw=Object.freeze(Object.defineProperty({__proto__:null,FileType:go,FileTypeMap:Zp},Symbol.toStringTag,{value:"Module"})),jw=h=>{if(!Ds.isObject(h))return h;const g=h;return Ds.pick(g,Ds.keys(g).filter(v=>!Ds.isNil(g[v])))},D1=h=>new Promise((g,v)=>{const b=new FileReader;b.readAsDataURL(h),b.onload=()=>g(b.result),b.onerror=A=>v(A)}),_1=h=>{if(h){if(h.startsWith("http")){const g=h.split(".").at(-1);if(g&&Zp.has(g))return Zp.get(g)}if(h.startsWith("data:")&&h.includes("base64")){const g=h.indexOf(";base64"),v=h.slice(0,g).split(":");if(v[1])return v[1]}}},Vw=(h,g)=>{const v=typeof g=="object"?JSON.stringify(g):g;localStorage.setItem(h,v)},Bw=h=>{let v=localStorage.getItem(h);return typeof v=="string"&&(v=py(v)),v||null},Pw=h=>{localStorage.removeItem(h)},$w=(h,g)=>{const v=typeof g=="object"?JSON.stringify(g):g;sessionStorage.setItem(h,v)},Iw=h=>{let v=sessionStorage.getItem(h);return typeof v=="string"&&(v=py(v)),v||null},Yw=h=>{sessionStorage.removeItem(h)},Qw=(h,g)=>{const v=[];for(let b=0;b<g.length;b++)v.findIndex(A=>A[h]===g[b][h])<0&&v.push(g[b]);return v},py=h=>{if(!h)return null;if(typeof h=="object")return h;if(typeof h=="string"){let g={};try{g=JSON.parse(h)}catch(v){console.log(v)}return g}},Ww=Object.freeze(Object.defineProperty({__proto__:null,filterObject:jw,getBase64:D1,getFileType:_1,setLocalStorage:Vw,getLocalStorage:Bw,removeLocalStorage:Pw,setSessionStorage:$w,getSessionStorage:Iw,removeSessionStorage:Yw,arrayDeduplication:Qw,JSONParse:py},Symbol.toStringTag,{value:"Module"}));var O1={exports:{}},Zr={},vy={exports:{}},hy={};var N1;function Gw(){return N1||(N1=1,function(h){function g(Z,we){var oe=Z.length;Z.push(we);e:for(;0<oe;){var lt=oe-1>>>1,ft=Z[lt];if(0<A(ft,we))Z[lt]=we,Z[oe]=ft,oe=lt;else break e}}function v(Z){return Z.length===0?null:Z[0]}function b(Z){if(Z.length===0)return null;var we=Z[0],oe=Z.pop();if(oe!==we){Z[0]=oe;e:for(var lt=0,ft=Z.length,Nn=ft>>>1;lt<Nn;){var ir=2*(lt+1)-1,Ba=Z[ir],on=ir+1,ea=Z[on];if(0>A(Ba,oe))on<ft&&0>A(ea,Ba)?(Z[lt]=ea,Z[on]=oe,lt=on):(Z[lt]=Ba,Z[ir]=oe,lt=ir);else if(on<ft&&0>A(ea,oe))Z[lt]=ea,Z[on]=oe,lt=on;else break e}}return we}function A(Z,we){var oe=Z.sortIndex-we.sortIndex;return oe!==0?oe:Z.id-we.id}if(typeof performance=="object"&&typeof performance.now=="function"){var B=performance;h.unstable_now=function(){return B.now()}}else{var C=Date,q=C.now();h.unstable_now=function(){return C.now()-q}}var F=[],W=[],Se=1,K=null,ae=3,ie=!1,de=!1,tt=!1,it=typeof setTimeout=="function"?setTimeout:null,Yt=typeof clearTimeout=="function"?clearTimeout:null,Xe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Fe(Z){for(var we=v(W);we!==null;){if(we.callback===null)b(W);else if(we.startTime<=Z)b(W),we.sortIndex=we.expirationTime,g(F,we);else break;we=v(W)}}function ct(Z){if(tt=!1,Fe(Z),!de)if(v(F)!==null)de=!0,_t(Ie);else{var we=v(W);we!==null&&ar(ct,we.startTime-Z)}}function Ie(Z,we){de=!1,tt&&(tt=!1,Yt(_n),_n=-1),ie=!0;var oe=ae;try{for(Fe(we),K=v(F);K!==null&&(!(K.expirationTime>we)||Z&&!gt());){var lt=K.callback;if(typeof lt=="function"){K.callback=null,ae=K.priorityLevel;var ft=lt(K.expirationTime<=we);we=h.unstable_now(),typeof ft=="function"?K.callback=ft:K===v(F)&&b(F),Fe(we)}else b(F);K=v(F)}if(K!==null)var Nn=!0;else{var ir=v(W);ir!==null&&ar(ct,ir.startTime-we),Nn=!1}return Nn}finally{K=null,ae=oe,ie=!1}}var Dt=!1,$e=null,_n=-1,Yn=5,Qt=-1;function gt(){return!(h.unstable_now()-Qt<Yn)}function On(){if($e!==null){var Z=h.unstable_now();Qt=Z;var we=!0;try{we=$e(!0,Z)}finally{we?Ue():(Dt=!1,$e=null)}}else Dt=!1}var Ue;if(typeof Xe=="function")Ue=function(){Xe(On)};else if(typeof MessageChannel<"u"){var Ke=new MessageChannel,mn=Ke.port2;Ke.port1.onmessage=On,Ue=function(){mn.postMessage(null)}}else Ue=function(){it(On,0)};function _t(Z){$e=Z,Dt||(Dt=!0,Ue())}function ar(Z,we){_n=it(function(){Z(h.unstable_now())},we)}h.unstable_IdlePriority=5,h.unstable_ImmediatePriority=1,h.unstable_LowPriority=4,h.unstable_NormalPriority=3,h.unstable_Profiling=null,h.unstable_UserBlockingPriority=2,h.unstable_cancelCallback=function(Z){Z.callback=null},h.unstable_continueExecution=function(){de||ie||(de=!0,_t(Ie))},h.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Yn=0<Z?Math.floor(1e3/Z):5},h.unstable_getCurrentPriorityLevel=function(){return ae},h.unstable_getFirstCallbackNode=function(){return v(F)},h.unstable_next=function(Z){switch(ae){case 1:case 2:case 3:var we=3;break;default:we=ae}var oe=ae;ae=we;try{return Z()}finally{ae=oe}},h.unstable_pauseExecution=function(){},h.unstable_requestPaint=function(){},h.unstable_runWithPriority=function(Z,we){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var oe=ae;ae=Z;try{return we()}finally{ae=oe}},h.unstable_scheduleCallback=function(Z,we,oe){var lt=h.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?lt+oe:lt):oe=lt,Z){case 1:var ft=-1;break;case 2:ft=250;break;case 5:ft=1073741823;break;case 4:ft=1e4;break;default:ft=5e3}return ft=oe+ft,Z={id:Se++,callback:we,priorityLevel:Z,startTime:oe,expirationTime:ft,sortIndex:-1},oe>lt?(Z.sortIndex=oe,g(W,Z),v(F)===null&&Z===v(W)&&(tt?(Yt(_n),_n=-1):tt=!0,ar(ct,oe-lt))):(Z.sortIndex=ft,g(F,Z),de||ie||(de=!0,_t(Ie))),Z},h.unstable_shouldYield=gt,h.unstable_wrapCallback=function(Z){var we=ae;return function(){var oe=ae;ae=we;try{return Z.apply(this,arguments)}finally{ae=oe}}}}(hy)),hy}var my={};var M1;function qw(){return M1||(M1=1,function(h){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var g=!1,v=!1,b=5;function A(te,Ee){var Ye=te.length;te.push(Ee),q(te,Ee,Ye)}function B(te){return te.length===0?null:te[0]}function C(te){if(te.length===0)return null;var Ee=te[0],Ye=te.pop();return Ye!==Ee&&(te[0]=Ye,F(te,Ye,0)),Ee}function q(te,Ee,Ye){for(var ht=Ye;ht>0;){var jt=ht-1>>>1,gn=te[jt];if(W(gn,Ee)>0)te[jt]=Ee,te[ht]=gn,ht=jt;else return}}function F(te,Ee,Ye){for(var ht=Ye,jt=te.length,gn=jt>>>1;ht<gn;){var Xt=(ht+1)*2-1,Cr=te[Xt],xt=Xt+1,Hr=te[xt];if(W(Cr,Ee)<0)xt<jt&&W(Hr,Cr)<0?(te[ht]=Hr,te[xt]=Ee,ht=xt):(te[ht]=Cr,te[Xt]=Ee,ht=Xt);else if(xt<jt&&W(Hr,Ee)<0)te[ht]=Hr,te[xt]=Ee,ht=xt;else return}}function W(te,Ee){var Ye=te.sortIndex-Ee.sortIndex;return Ye!==0?Ye:te.id-Ee.id}var Se=1,K=2,ae=3,ie=4,de=5;function tt(te,Ee){}var it=typeof performance=="object"&&typeof performance.now=="function";if(it){var Yt=performance;h.unstable_now=function(){return Yt.now()}}else{var Xe=Date,Fe=Xe.now();h.unstable_now=function(){return Xe.now()-Fe}}var ct=1073741823,Ie=-1,Dt=250,$e=5e3,_n=1e4,Yn=ct,Qt=[],gt=[],On=1,Ue=null,Ke=ae,mn=!1,_t=!1,ar=!1,Z=typeof setTimeout=="function"?setTimeout:null,we=typeof clearTimeout=="function"?clearTimeout:null,oe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function lt(te){for(var Ee=B(gt);Ee!==null;){if(Ee.callback===null)C(gt);else if(Ee.startTime<=te)C(gt),Ee.sortIndex=Ee.expirationTime,A(Qt,Ee);else return;Ee=B(gt)}}function ft(te){if(ar=!1,lt(te),!_t)if(B(Qt)!==null)_t=!0,xa(Nn);else{var Ee=B(gt);Ee!==null&&en(ft,Ee.startTime-te)}}function Nn(te,Ee){_t=!1,ar&&(ar=!1,Fr()),mn=!0;var Ye=Ke;try{var ht;if(!v)return ir(te,Ee)}finally{Ue=null,Ke=Ye,mn=!1}}function ir(te,Ee){var Ye=Ee;for(lt(Ye),Ue=B(Qt);Ue!==null&&!g&&!(Ue.expirationTime>Ye&&(!te||wa()));){var ht=Ue.callback;if(typeof ht=="function"){Ue.callback=null,Ke=Ue.priorityLevel;var jt=Ue.expirationTime<=Ye,gn=ht(jt);Ye=h.unstable_now(),typeof gn=="function"?Ue.callback=gn:Ue===B(Qt)&&C(Qt),lt(Ye)}else C(Qt);Ue=B(Qt)}if(Ue!==null)return!0;var Xt=B(gt);return Xt!==null&&en(ft,Xt.startTime-Ye),!1}function Ba(te,Ee){switch(te){case Se:case K:case ae:case ie:case de:break;default:te=ae}var Ye=Ke;Ke=te;try{return Ee()}finally{Ke=Ye}}function on(te){var Ee;switch(Ke){case Se:case K:case ae:Ee=ae;break;default:Ee=Ke;break}var Ye=Ke;Ke=Ee;try{return te()}finally{Ke=Ye}}function ea(te){var Ee=Ke;return function(){var Ye=Ke;Ke=Ee;try{return te.apply(this,arguments)}finally{Ke=Ye}}}function Qn(te,Ee,Ye){var ht=h.unstable_now(),jt;if(typeof Ye=="object"&&Ye!==null){var gn=Ye.delay;typeof gn=="number"&&gn>0?jt=ht+gn:jt=ht}else jt=ht;var Xt;switch(te){case Se:Xt=Ie;break;case K:Xt=Dt;break;case de:Xt=Yn;break;case ie:Xt=_n;break;case ae:default:Xt=$e;break}var Cr=jt+Xt,xt={id:On++,callback:Ee,priorityLevel:te,startTime:jt,expirationTime:Cr,sortIndex:-1};return jt>ht?(xt.sortIndex=jt,A(gt,xt),B(Qt)===null&&xt===B(gt)&&(ar?Fr():ar=!0,en(ft,jt-ht))):(xt.sortIndex=Cr,A(Qt,xt),!_t&&!mn&&(_t=!0,xa(Nn))),xt}function gr(){}function Pa(){!_t&&!mn&&(_t=!0,xa(Nn))}function Sr(){return B(Qt)}function ta(te){te.callback=null}function yn(){return Ke}var Wn=!1,Mn=null,Gn=-1,qn=b,na=-1;function wa(){var te=h.unstable_now()-na;return!(te<qn)}function ui(){}function $a(te){if(te<0||te>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}te>0?qn=Math.floor(1e3/te):qn=b}var ba=function(){if(Mn!==null){var te=h.unstable_now();na=te;var Ee=!0,Ye=!0;try{Ye=Mn(Ee,te)}finally{Ye?Ur():(Wn=!1,Mn=null)}}else Wn=!1},Ur;if(typeof oe=="function")Ur=function(){oe(ba)};else if(typeof MessageChannel<"u"){var Ia=new MessageChannel,Ar=Ia.port2;Ia.port1.onmessage=ba,Ur=function(){Ar.postMessage(null)}}else Ur=function(){Z(ba,0)};function xa(te){Mn=te,Wn||(Wn=!0,Ur())}function en(te,Ee){Gn=Z(function(){te(h.unstable_now())},Ee)}function Fr(){we(Gn),Gn=-1}var Ai=ui,ka=null;h.unstable_IdlePriority=de,h.unstable_ImmediatePriority=Se,h.unstable_LowPriority=ie,h.unstable_NormalPriority=ae,h.unstable_Profiling=ka,h.unstable_UserBlockingPriority=K,h.unstable_cancelCallback=ta,h.unstable_continueExecution=Pa,h.unstable_forceFrameRate=$a,h.unstable_getCurrentPriorityLevel=yn,h.unstable_getFirstCallbackNode=Sr,h.unstable_next=on,h.unstable_pauseExecution=gr,h.unstable_requestPaint=Ai,h.unstable_runWithPriority=Ba,h.unstable_scheduleCallback=Qn,h.unstable_shouldYield=wa,h.unstable_wrapCallback=ea,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(my)),my}var L1;function z1(){return L1||(L1=1,function(h){process.env.NODE_ENV==="production"?h.exports=Gw():h.exports=qw()}(vy)),vy.exports}var U1;function Xw(){if(U1)return Zr;U1=1;var h=yt,g=z1();function v(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b=new Set,A={};function B(n,r){C(n,r),C(n+"Capture",r)}function C(n,r){for(A[n]=r,n=0;n<r.length;n++)b.add(r[n])}var q=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),F=Object.prototype.hasOwnProperty,W=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Se={},K={};function ae(n){return F.call(K,n)?!0:F.call(Se,n)?!1:W.test(n)?K[n]=!0:(Se[n]=!0,!1)}function ie(n,r,l,o){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return o?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function de(n,r,l,o){if(r===null||typeof r>"u"||ie(n,r,l,o))return!0;if(o)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function tt(n,r,l,o,c,d,y){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=o,this.attributeNamespace=c,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=d,this.removeEmptyString=y}var it={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){it[n]=new tt(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];it[r]=new tt(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){it[n]=new tt(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){it[n]=new tt(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){it[n]=new tt(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){it[n]=new tt(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){it[n]=new tt(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){it[n]=new tt(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){it[n]=new tt(n,5,!1,n.toLowerCase(),null,!1,!1)});var Yt=/[\-:]([a-z])/g;function Xe(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(Yt,Xe);it[r]=new tt(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(Yt,Xe);it[r]=new tt(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(Yt,Xe);it[r]=new tt(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){it[n]=new tt(n,1,!1,n.toLowerCase(),null,!1,!1)}),it.xlinkHref=new tt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){it[n]=new tt(n,1,!1,n.toLowerCase(),null,!0,!0)});function Fe(n,r,l,o){var c=it.hasOwnProperty(r)?it[r]:null;(c!==null?c.type!==0:o||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(de(r,l,c,o)&&(l=null),o||c===null?ae(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):c.mustUseProperty?n[c.propertyName]=l===null?c.type===3?!1:"":l:(r=c.attributeName,o=c.attributeNamespace,l===null?n.removeAttribute(r):(c=c.type,l=c===3||c===4&&l===!0?"":""+l,o?n.setAttributeNS(o,r,l):n.setAttribute(r,l))))}var ct=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ie=Symbol.for("react.element"),Dt=Symbol.for("react.portal"),$e=Symbol.for("react.fragment"),_n=Symbol.for("react.strict_mode"),Yn=Symbol.for("react.profiler"),Qt=Symbol.for("react.provider"),gt=Symbol.for("react.context"),On=Symbol.for("react.forward_ref"),Ue=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),mn=Symbol.for("react.memo"),_t=Symbol.for("react.lazy"),ar=Symbol.for("react.offscreen"),Z=Symbol.iterator;function we(n){return n===null||typeof n!="object"?null:(n=Z&&n[Z]||n["@@iterator"],typeof n=="function"?n:null)}var oe=Object.assign,lt;function ft(n){if(lt===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);lt=r&&r[1]||""}return`
67
- `+lt+n}var Nn=!1;function ir(n,r){if(!n||Nn)return"";Nn=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(U){var o=U}Reflect.construct(n,[],r)}else{try{r.call()}catch(U){o=U}n.call(r.prototype)}else{try{throw Error()}catch(U){o=U}n()}}catch(U){if(U&&o&&typeof U.stack=="string"){for(var c=U.stack.split(`
68
- `),d=o.stack.split(`
69
- `),y=c.length-1,T=d.length-1;1<=y&&0<=T&&c[y]!==d[T];)T--;for(;1<=y&&0<=T;y--,T--)if(c[y]!==d[T]){if(y!==1||T!==1)do if(y--,T--,0>T||c[y]!==d[T]){var w=`
70
- `+c[y].replace(" at new "," at ");return n.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",n.displayName)),w}while(1<=y&&0<=T);break}}}finally{Nn=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?ft(n):""}function Ba(n){switch(n.tag){case 5:return ft(n.type);case 16:return ft("Lazy");case 13:return ft("Suspense");case 19:return ft("SuspenseList");case 0:case 2:case 15:return n=ir(n.type,!1),n;case 11:return n=ir(n.type.render,!1),n;case 1:return n=ir(n.type,!0),n;default:return""}}function on(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case $e:return"Fragment";case Dt:return"Portal";case Yn:return"Profiler";case _n:return"StrictMode";case Ue:return"Suspense";case Ke:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case gt:return(n.displayName||"Context")+".Consumer";case Qt:return(n._context.displayName||"Context")+".Provider";case On:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case mn:return r=n.displayName||null,r!==null?r:on(n.type)||"Memo";case _t:r=n._payload,n=n._init;try{return on(n(r))}catch{}}return null}function ea(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return on(r);case 8:return r===_n?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Qn(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function gr(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Pa(n){var r=gr(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),o=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var c=l.get,d=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return c.call(this)},set:function(y){o=""+y,d.call(this,y)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return o},setValue:function(y){o=""+y},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Sr(n){n._valueTracker||(n._valueTracker=Pa(n))}function ta(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),o="";return n&&(o=gr(n)?n.checked?"true":"false":n.value),n=o,n!==l?(r.setValue(n),!0):!1}function yn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Wn(n,r){var l=r.checked;return oe({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function Mn(n,r){var l=r.defaultValue==null?"":r.defaultValue,o=r.checked!=null?r.checked:r.defaultChecked;l=Qn(r.value!=null?r.value:l),n._wrapperState={initialChecked:o,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Gn(n,r){r=r.checked,r!=null&&Fe(n,"checked",r,!1)}function qn(n,r){Gn(n,r);var l=Qn(r.value),o=r.type;if(l!=null)o==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(o==="submit"||o==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?wa(n,r.type,l):r.hasOwnProperty("defaultValue")&&wa(n,r.type,Qn(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function na(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var o=r.type;if(!(o!=="submit"&&o!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function wa(n,r,l){(r!=="number"||yn(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var ui=Array.isArray;function $a(n,r,l,o){if(n=n.options,r){r={};for(var c=0;c<l.length;c++)r["$"+l[c]]=!0;for(l=0;l<n.length;l++)c=r.hasOwnProperty("$"+n[l].value),n[l].selected!==c&&(n[l].selected=c),c&&o&&(n[l].defaultSelected=!0)}else{for(l=""+Qn(l),r=null,c=0;c<n.length;c++){if(n[c].value===l){n[c].selected=!0,o&&(n[c].defaultSelected=!0);return}r!==null||n[c].disabled||(r=n[c])}r!==null&&(r.selected=!0)}}function ba(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(v(91));return oe({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Ur(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(v(92));if(ui(l)){if(1<l.length)throw Error(v(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:Qn(l)}}function Ia(n,r){var l=Qn(r.value),o=Qn(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),o!=null&&(n.defaultValue=""+o)}function Ar(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function xa(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function en(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?xa(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Fr,Ai=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,o,c){MSApp.execUnsafeLocalFunction(function(){return n(r,l,o,c)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Fr=Fr||document.createElement("div"),Fr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Fr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function ka(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var te={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ee=["Webkit","ms","Moz","O"];Object.keys(te).forEach(function(n){Ee.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),te[r]=te[n]})});function Ye(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||te.hasOwnProperty(n)&&te[n]?(""+r).trim():r+"px"}function ht(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var o=l.indexOf("--")===0,c=Ye(l,r[l],o);l==="float"&&(l="cssFloat"),o?n.setProperty(l,c):n[l]=c}}var jt=oe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function gn(n,r){if(r){if(jt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(v(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(v(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(v(61))}if(r.style!=null&&typeof r.style!="object")throw Error(v(62))}}function Xt(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Cr=null;function xt(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Hr=null,Tt=null,kt=null;function vu(n){if(n=Bo(n)){if(typeof Hr!="function")throw Error(v(280));var r=n.stateNode;r&&(r=Te(r),Hr(n.stateNode,n.type,r))}}function El(n){Tt?kt?kt.push(n):kt=[n]:Tt=n}function hu(){if(Tt){var n=Tt,r=kt;if(kt=Tt=null,vu(n),r)for(n=0;n<r.length;n++)vu(r[n])}}function So(n,r){return n(r)}function Os(){}var Tl=!1;function mu(n,r,l){if(Tl)return n(r,l);Tl=!0;try{return So(n,r,l)}finally{Tl=!1,(Tt!==null||kt!==null)&&(Os(),hu())}}function Rl(n,r){var l=n.stateNode;if(l===null)return null;var o=Te(l);if(o===null)return null;l=o[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(n=n.type,o=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!o;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(v(231,r,typeof l));return l}var yu=!1;if(q)try{var Ya={};Object.defineProperty(Ya,"passive",{get:function(){yu=!0}}),window.addEventListener("test",Ya,Ya),window.removeEventListener("test",Ya,Ya)}catch{yu=!1}function Fi(n,r,l,o,c,d,y,T,w){var U=Array.prototype.slice.call(arguments,3);try{r.apply(l,U)}catch(I){this.onError(I)}}var jr=!1,Da=null,Hi=!1,R=null,Y={onError:function(n){jr=!0,Da=n}};function ne(n,r,l,o,c,d,y,T,w){jr=!1,Da=null,Fi.apply(Y,arguments)}function be(n,r,l,o,c,d,y,T,w){if(ne.apply(this,arguments),jr){if(jr){var U=Da;jr=!1,Da=null}else throw Error(v(198));Hi||(Hi=!0,R=U)}}function Be(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function rt(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function Pe(n){if(Be(n)!==n)throw Error(v(188))}function ke(n){var r=n.alternate;if(!r){if(r=Be(n),r===null)throw Error(v(188));return r!==n?null:n}for(var l=n,o=r;;){var c=l.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){l=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===l)return Pe(c),n;if(d===o)return Pe(c),r;d=d.sibling}throw Error(v(188))}if(l.return!==o.return)l=c,o=d;else{for(var y=!1,T=c.child;T;){if(T===l){y=!0,l=c,o=d;break}if(T===o){y=!0,o=c,l=d;break}T=T.sibling}if(!y){for(T=d.child;T;){if(T===l){y=!0,l=d,o=c;break}if(T===o){y=!0,o=d,l=c;break}T=T.sibling}if(!y)throw Error(v(189))}}if(l.alternate!==o)throw Error(v(190))}if(l.tag!==3)throw Error(v(188));return l.stateNode.current===l?n:r}function Sn(n){return n=ke(n),n!==null?Ut(n):null}function Ut(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=Ut(n);if(r!==null)return r;n=n.sibling}return null}var At=g.unstable_scheduleCallback,lr=g.unstable_cancelCallback,ji=g.unstable_shouldYield,Ns=g.unstable_requestPaint,ut=g.unstable_now,gy=g.unstable_getCurrentPriorityLevel,oi=g.unstable_ImmediatePriority,We=g.unstable_UserBlockingPriority,Vi=g.unstable_NormalPriority,ev=g.unstable_LowPriority,Of=g.unstable_IdlePriority,Co=null,_a=null;function tv(n){if(_a&&typeof _a.onCommitFiberRoot=="function")try{_a.onCommitFiberRoot(Co,n,void 0,(n.current.flags&128)===128)}catch{}}var ra=Math.clz32?Math.clz32:Sy,nv=Math.log,rv=Math.LN2;function Sy(n){return n>>>=0,n===0?32:31-(nv(n)/rv|0)|0}var Ms=64,gu=4194304;function wl(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Oa(n,r){var l=n.pendingLanes;if(l===0)return 0;var o=0,c=n.suspendedLanes,d=n.pingedLanes,y=l&268435455;if(y!==0){var T=y&~c;T!==0?o=wl(T):(d&=y,d!==0&&(o=wl(d)))}else y=l&~c,y!==0?o=wl(y):d!==0&&(o=wl(d));if(o===0)return 0;if(r!==0&&r!==o&&!(r&c)&&(c=o&-o,d=r&-r,c>=d||c===16&&(d&4194240)!==0))return r;if(o&4&&(o|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=o;0<r;)l=31-ra(r),c=1<<l,o|=n[l],r&=~c;return o}function Nf(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ls(n,r){for(var l=n.suspendedLanes,o=n.pingedLanes,c=n.expirationTimes,d=n.pendingLanes;0<d;){var y=31-ra(d),T=1<<y,w=c[y];w===-1?(!(T&l)||T&o)&&(c[y]=Nf(T,r)):w<=r&&(n.expiredLanes|=T),d&=~T}}function Mf(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function zs(){var n=Ms;return Ms<<=1,!(Ms&4194240)&&(Ms=64),n}function Lf(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function bl(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-ra(r),n[r]=l}function Cy(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var o=n.eventTimes;for(n=n.expirationTimes;0<l;){var c=31-ra(l),d=1<<c;r[c]=0,o[c]=-1,n[c]=-1,l&=~d}}function Eo(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var o=31-ra(l),c=1<<o;c&r|n[o]&r&&(n[o]|=r),l&=~c}}var mt=0;function zf(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var av,Us,Rt,iv,Uf,He=!1,To=[],tn=null,aa=null,ia=null,Ro=new Map,sn=new Map,St=[],Ey="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Na(n,r){switch(n){case"focusin":case"focusout":tn=null;break;case"dragenter":case"dragleave":aa=null;break;case"mouseover":case"mouseout":ia=null;break;case"pointerover":case"pointerout":Ro.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":sn.delete(r.pointerId)}}function Xn(n,r,l,o,c,d){return n===null||n.nativeEvent!==d?(n={blockedOn:r,domEventName:l,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},r!==null&&(r=Bo(r),r!==null&&Us(r)),n):(n.eventSystemFlags|=o,r=n.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),n)}function Bi(n,r,l,o,c){switch(r){case"focusin":return tn=Xn(tn,n,r,l,o,c),!0;case"dragenter":return aa=Xn(aa,n,r,l,o,c),!0;case"mouseover":return ia=Xn(ia,n,r,l,o,c),!0;case"pointerover":var d=c.pointerId;return Ro.set(d,Xn(Ro.get(d)||null,n,r,l,o,c)),!0;case"gotpointercapture":return d=c.pointerId,sn.set(d,Xn(sn.get(d)||null,n,r,l,o,c)),!0}return!1}function lv(n){var r=ua(n.target);if(r!==null){var l=Be(r);if(l!==null){if(r=l.tag,r===13){if(r=rt(l),r!==null){n.blockedOn=r,Uf(n.priority,function(){Rt(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Su(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=Hs(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var o=new l.constructor(l.type,l);Cr=o,l.target.dispatchEvent(o),Cr=null}else return r=Bo(l),r!==null&&Us(r),n.blockedOn=l,!1;r.shift()}return!0}function Af(n,r,l){Su(n)&&l.delete(r)}function uv(){He=!1,tn!==null&&Su(tn)&&(tn=null),aa!==null&&Su(aa)&&(aa=null),ia!==null&&Su(ia)&&(ia=null),Ro.forEach(Af),sn.forEach(Af)}function wo(n,r){n.blockedOn===r&&(n.blockedOn=null,He||(He=!0,g.unstable_scheduleCallback(g.unstable_NormalPriority,uv)))}function bo(n){function r(c){return wo(c,n)}if(0<To.length){wo(To[0],n);for(var l=1;l<To.length;l++){var o=To[l];o.blockedOn===n&&(o.blockedOn=null)}}for(tn!==null&&wo(tn,n),aa!==null&&wo(aa,n),ia!==null&&wo(ia,n),Ro.forEach(r),sn.forEach(r),l=0;l<St.length;l++)o=St[l],o.blockedOn===n&&(o.blockedOn=null);for(;0<St.length&&(l=St[0],l.blockedOn===null);)lv(l),l.blockedOn===null&&St.shift()}var Cu=ct.ReactCurrentBatchConfig,xl=!0;function ov(n,r,l,o){var c=mt,d=Cu.transition;Cu.transition=null;try{mt=1,Fs(n,r,l,o)}finally{mt=c,Cu.transition=d}}function As(n,r,l,o){var c=mt,d=Cu.transition;Cu.transition=null;try{mt=4,Fs(n,r,l,o)}finally{mt=c,Cu.transition=d}}function Fs(n,r,l,o){if(xl){var c=Hs(n,r,l,o);if(c===null)Xs(n,r,o,xo,l),Na(n,o);else if(Bi(c,n,r,l,o))o.stopPropagation();else if(Na(n,o),r&4&&-1<Ey.indexOf(n)){for(;c!==null;){var d=Bo(c);if(d!==null&&av(d),d=Hs(n,r,l,o),d===null&&Xs(n,r,o,xo,l),d===c)break;c=d}c!==null&&o.stopPropagation()}else Xs(n,r,o,null,l)}}var xo=null;function Hs(n,r,l,o){if(xo=null,n=xt(o),n=ua(n),n!==null)if(r=Be(n),r===null)n=null;else if(l=r.tag,l===13){if(n=rt(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return xo=n,null}function Ff(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(gy()){case oi:return 1;case We:return 4;case Vi:case ev:return 16;case Of:return 536870912;default:return 16}default:return 16}}var si=null,ko=null,Do=null;function Hf(){if(Do)return Do;var n,r=ko,l=r.length,o,c="value"in si?si.value:si.textContent,d=c.length;for(n=0;n<l&&r[n]===c[n];n++);var y=l-n;for(o=1;o<=y&&r[l-o]===c[d-o];o++);return Do=c.slice(n,1<o?1-o:void 0)}function Eu(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function _o(){return!0}function sv(){return!1}function Vr(n){function r(l,o,c,d,y){this._reactName=l,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var T in n)n.hasOwnProperty(T)&&(l=n[T],this[T]=l?l(d):d[T]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?_o:sv,this.isPropagationStopped=sv,this}return oe(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=_o)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=_o)},persist:function(){},isPersistent:_o}),r}var Pi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},js=Vr(Pi),Tu=oe({},Pi,{view:0,detail:0}),cv=Vr(Tu),Vs,jf,Oo,Cn=oe({},Tu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$f,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Oo&&(Oo&&n.type==="mousemove"?(Vs=n.screenX-Oo.screenX,jf=n.screenY-Oo.screenY):jf=Vs=0,Oo=n),Vs)},movementY:function(n){return"movementY"in n?n.movementY:jf}}),Bs=Vr(Cn),fv=oe({},Cn,{dataTransfer:0}),dv=Vr(fv),Ty=oe({},Tu,{relatedTarget:0}),$i=Vr(Ty),Vf=oe({},Pi,{animationName:0,elapsedTime:0,pseudoElement:0}),pv=Vr(Vf),Ry=oe({},Pi,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),wy=Vr(Ry),by=oe({},Pi,{data:0}),Bf=Vr(by),Pf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mv(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=hv[n])?!!r[n]:!1}function $f(){return mv}var ci=oe({},Tu,{key:function(n){if(n.key){var r=Pf[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=Eu(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?vv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$f,charCode:function(n){return n.type==="keypress"?Eu(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Eu(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),xy=Vr(ci),If=oe({},Cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ps=Vr(If),Yf=oe({},Tu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$f}),ky=Vr(Yf),$s=oe({},Pi,{propertyName:0,elapsedTime:0,pseudoElement:0}),yv=Vr($s),Er=oe({},Cn,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),fi=Vr(Er),nn=[9,13,27,32],Ma=q&&"CompositionEvent"in window,kl=null;q&&"documentMode"in document&&(kl=document.documentMode);var Is=q&&"TextEvent"in window&&!kl,gv=q&&(!Ma||kl&&8<kl&&11>=kl),Ru=String.fromCharCode(32),Sv=!1;function Cv(n,r){switch(n){case"keyup":return nn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ys(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var wu=!1;function Dy(n,r){switch(n){case"compositionend":return Ys(r);case"keypress":return r.which!==32?null:(Sv=!0,Ru);case"textInput":return n=r.data,n===Ru&&Sv?null:n;default:return null}}function _y(n,r){if(wu)return n==="compositionend"||!Ma&&Cv(n,r)?(n=Hf(),Do=ko=si=null,wu=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return gv&&r.locale!=="ko"?null:r.data;default:return null}}var Ev={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Tv(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Ev[n.type]:r==="textarea"}function Rv(n,r,l,o){El(o),r=Ho(r,"onChange"),0<r.length&&(l=new js("onChange","change",null,l,o),n.push({event:l,listeners:r}))}var No=null,bu=null;function xu(n){qs(n,0)}function ku(n){var r=_u(n);if(ta(r))return n}function wv(n,r){if(n==="change")return r}var Qf=!1;if(q){var Wf;if(q){var Gf="oninput"in document;if(!Gf){var bv=document.createElement("div");bv.setAttribute("oninput","return;"),Gf=typeof bv.oninput=="function"}Wf=Gf}else Wf=!1;Qf=Wf&&(!document.documentMode||9<document.documentMode)}function xv(){No&&(No.detachEvent("onpropertychange",kv),bu=No=null)}function kv(n){if(n.propertyName==="value"&&ku(bu)){var r=[];Rv(r,bu,n,xt(n)),mu(xu,r)}}function Oy(n,r,l){n==="focusin"?(xv(),No=r,bu=l,No.attachEvent("onpropertychange",kv)):n==="focusout"&&xv()}function Ny(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return ku(bu)}function My(n,r){if(n==="click")return ku(r)}function Dv(n,r){if(n==="input"||n==="change")return ku(r)}function Ly(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var la=typeof Object.is=="function"?Object.is:Ly;function Mo(n,r){if(la(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),o=Object.keys(r);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var c=l[o];if(!F.call(r,c)||!la(n[c],r[c]))return!1}return!0}function _v(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Ov(n,r){var l=_v(n);n=0;for(var o;l;){if(l.nodeType===3){if(o=n+l.textContent.length,n<=r&&o>=r)return{node:l,offset:r-n};n=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=_v(l)}}function Nv(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Nv(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Qs(){for(var n=window,r=yn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=yn(n.document)}return r}function di(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function Ws(n){var r=Qs(),l=n.focusedElem,o=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&Nv(l.ownerDocument.documentElement,l)){if(o!==null&&di(l)){if(r=o.start,n=o.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var c=l.textContent.length,d=Math.min(o.start,c);o=o.end===void 0?d:Math.min(o.end,c),!n.extend&&d>o&&(c=o,o=d,d=c),c=Ov(l,d);var y=Ov(l,o);c&&y&&(n.rangeCount!==1||n.anchorNode!==c.node||n.anchorOffset!==c.offset||n.focusNode!==y.node||n.focusOffset!==y.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),n.removeAllRanges(),d>o?(n.addRange(r),n.extend(y.node,y.offset)):(r.setEnd(y.node,y.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Mv=q&&"documentMode"in document&&11>=document.documentMode,La=null,qf=null,Lo=null,Xf=!1;function Lv(n,r,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Xf||La==null||La!==yn(o)||(o=La,"selectionStart"in o&&di(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Lo&&Mo(Lo,o)||(Lo=o,o=Ho(qf,"onSelect"),0<o.length&&(r=new js("onSelect","select",null,r,l),n.push({event:r,listeners:o}),r.target=La)))}function Gs(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var Dl={animationend:Gs("Animation","AnimationEnd"),animationiteration:Gs("Animation","AnimationIteration"),animationstart:Gs("Animation","AnimationStart"),transitionend:Gs("Transition","TransitionEnd")},Kf={},Zf={};q&&(Zf=document.createElement("div").style,"AnimationEvent"in window||(delete Dl.animationend.animation,delete Dl.animationiteration.animation,delete Dl.animationstart.animation),"TransitionEvent"in window||delete Dl.transitionend.transition);function En(n){if(Kf[n])return Kf[n];if(!Dl[n])return n;var r=Dl[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in Zf)return Kf[n]=r[l];return n}var Jf=En("animationend"),zv=En("animationiteration"),Uv=En("animationstart"),Av=En("transitionend"),Fv=new Map,Hv="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function pi(n,r){Fv.set(n,r),B(r,[n])}for(var zo=0;zo<Hv.length;zo++){var _l=Hv[zo],zy=_l.toLowerCase(),Uo=_l[0].toUpperCase()+_l.slice(1);pi(zy,"on"+Uo)}pi(Jf,"onAnimationEnd"),pi(zv,"onAnimationIteration"),pi(Uv,"onAnimationStart"),pi("dblclick","onDoubleClick"),pi("focusin","onFocus"),pi("focusout","onBlur"),pi(Av,"onTransitionEnd"),C("onMouseEnter",["mouseout","mouseover"]),C("onMouseLeave",["mouseout","mouseover"]),C("onPointerEnter",["pointerout","pointerover"]),C("onPointerLeave",["pointerout","pointerover"]),B("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),B("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),B("onBeforeInput",["compositionend","keypress","textInput","paste"]),B("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),B("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),B("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ao="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Uy=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ao));function jv(n,r,l){var o=n.type||"unknown-event";n.currentTarget=l,be(o,r,void 0,n),n.currentTarget=null}function qs(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var o=n[l],c=o.event;o=o.listeners;e:{var d=void 0;if(r)for(var y=o.length-1;0<=y;y--){var T=o[y],w=T.instance,U=T.currentTarget;if(T=T.listener,w!==d&&c.isPropagationStopped())break e;jv(c,T,U),d=w}else for(y=0;y<o.length;y++){if(T=o[y],w=T.instance,U=T.currentTarget,T=T.listener,w!==d&&c.isPropagationStopped())break e;jv(c,T,U),d=w}}}if(Hi)throw n=R,Hi=!1,R=null,n}function wt(n,r){var l=r[ld];l===void 0&&(l=r[ld]=new Set);var o=n+"__bubble";l.has(o)||(Vv(r,n,2,!1),l.add(o))}function Ii(n,r,l){var o=0;r&&(o|=4),Vv(l,n,o,r)}var vi="_reactListening"+Math.random().toString(36).slice(2);function Du(n){if(!n[vi]){n[vi]=!0,b.forEach(function(l){l!=="selectionchange"&&(Uy.has(l)||Ii(l,!1,n),Ii(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[vi]||(r[vi]=!0,Ii("selectionchange",!1,r))}}function Vv(n,r,l,o){switch(Ff(r)){case 1:var c=ov;break;case 4:c=As;break;default:c=Fs}l=c.bind(null,r,l,n),c=void 0,!yu||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),o?c!==void 0?n.addEventListener(r,l,{capture:!0,passive:c}):n.addEventListener(r,l,!0):c!==void 0?n.addEventListener(r,l,{passive:c}):n.addEventListener(r,l,!1)}function Xs(n,r,l,o,c){var d=o;if(!(r&1)&&!(r&2)&&o!==null)e:for(;;){if(o===null)return;var y=o.tag;if(y===3||y===4){var T=o.stateNode.containerInfo;if(T===c||T.nodeType===8&&T.parentNode===c)break;if(y===4)for(y=o.return;y!==null;){var w=y.tag;if((w===3||w===4)&&(w=y.stateNode.containerInfo,w===c||w.nodeType===8&&w.parentNode===c))return;y=y.return}for(;T!==null;){if(y=ua(T),y===null)return;if(w=y.tag,w===5||w===6){o=d=y;continue e}T=T.parentNode}}o=o.return}mu(function(){var U=d,I=xt(l),Q=[];e:{var $=Fv.get(n);if($!==void 0){var le=js,pe=n;switch(n){case"keypress":if(Eu(l)===0)break e;case"keydown":case"keyup":le=xy;break;case"focusin":pe="focus",le=$i;break;case"focusout":pe="blur",le=$i;break;case"beforeblur":case"afterblur":le=$i;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":le=Bs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":le=dv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":le=ky;break;case Jf:case zv:case Uv:le=pv;break;case Av:le=yv;break;case"scroll":le=cv;break;case"wheel":le=fi;break;case"copy":case"cut":case"paste":le=wy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":le=Ps}var me=(r&4)!==0,Zt=!me&&n==="scroll",_=me?$!==null?$+"Capture":null:$;me=[];for(var k=U,M;k!==null;){M=k;var X=M.stateNode;if(M.tag===5&&X!==null&&(M=X,_!==null&&(X=Rl(k,_),X!=null&&me.push(Fo(k,X,M)))),Zt)break;k=k.return}0<me.length&&($=new le($,pe,null,l,I),Q.push({event:$,listeners:me}))}}if(!(r&7)){e:{if($=n==="mouseover"||n==="pointerover",le=n==="mouseout"||n==="pointerout",$&&l!==Cr&&(pe=l.relatedTarget||l.fromElement)&&(ua(pe)||pe[hi]))break e;if((le||$)&&($=I.window===I?I:($=I.ownerDocument)?$.defaultView||$.parentWindow:window,le?(pe=l.relatedTarget||l.toElement,le=U,pe=pe?ua(pe):null,pe!==null&&(Zt=Be(pe),pe!==Zt||pe.tag!==5&&pe.tag!==6)&&(pe=null)):(le=null,pe=U),le!==pe)){if(me=Bs,X="onMouseLeave",_="onMouseEnter",k="mouse",(n==="pointerout"||n==="pointerover")&&(me=Ps,X="onPointerLeave",_="onPointerEnter",k="pointer"),Zt=le==null?$:_u(le),M=pe==null?$:_u(pe),$=new me(X,k+"leave",le,l,I),$.target=Zt,$.relatedTarget=M,X=null,ua(I)===U&&(me=new me(_,k+"enter",pe,l,I),me.target=M,me.relatedTarget=Zt,X=me),Zt=X,le&&pe)t:{for(me=le,_=pe,k=0,M=me;M;M=Ol(M))k++;for(M=0,X=_;X;X=Ol(X))M++;for(;0<k-M;)me=Ol(me),k--;for(;0<M-k;)_=Ol(_),M--;for(;k--;){if(me===_||_!==null&&me===_.alternate)break t;me=Ol(me),_=Ol(_)}me=null}else me=null;le!==null&&ed(Q,$,le,me,!1),pe!==null&&Zt!==null&&ed(Q,Zt,pe,me,!0)}}e:{if($=U?_u(U):window,le=$.nodeName&&$.nodeName.toLowerCase(),le==="select"||le==="input"&&$.type==="file")var ye=wv;else if(Tv($))if(Qf)ye=Dv;else{ye=Ny;var ve=Oy}else(le=$.nodeName)&&le.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(ye=My);if(ye&&(ye=ye(n,U))){Rv(Q,ye,l,I);break e}ve&&ve(n,$,U),n==="focusout"&&(ve=$._wrapperState)&&ve.controlled&&$.type==="number"&&wa($,"number",$.value)}switch(ve=U?_u(U):window,n){case"focusin":(Tv(ve)||ve.contentEditable==="true")&&(La=ve,qf=U,Lo=null);break;case"focusout":Lo=qf=La=null;break;case"mousedown":Xf=!0;break;case"contextmenu":case"mouseup":case"dragend":Xf=!1,Lv(Q,l,I);break;case"selectionchange":if(Mv)break;case"keydown":case"keyup":Lv(Q,l,I)}var Ce;if(Ma)e:{switch(n){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else wu?Cv(n,l)&&(Me="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Me="onCompositionStart");Me&&(gv&&l.locale!=="ko"&&(wu||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&wu&&(Ce=Hf()):(si=I,ko="value"in si?si.value:si.textContent,wu=!0)),ve=Ho(U,Me),0<ve.length&&(Me=new Bf(Me,n,null,l,I),Q.push({event:Me,listeners:ve}),Ce?Me.data=Ce:(Ce=Ys(l),Ce!==null&&(Me.data=Ce)))),(Ce=Is?Dy(n,l):_y(n,l))&&(U=Ho(U,"onBeforeInput"),0<U.length&&(I=new Bf("onBeforeInput","beforeinput",null,l,I),Q.push({event:I,listeners:U}),I.data=Ce))}qs(Q,r)})}function Fo(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Ho(n,r){for(var l=r+"Capture",o=[];n!==null;){var c=n,d=c.stateNode;c.tag===5&&d!==null&&(c=d,d=Rl(n,l),d!=null&&o.unshift(Fo(n,d,c)),d=Rl(n,r),d!=null&&o.push(Fo(n,d,c))),n=n.return}return o}function Ol(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function ed(n,r,l,o,c){for(var d=r._reactName,y=[];l!==null&&l!==o;){var T=l,w=T.alternate,U=T.stateNode;if(w!==null&&w===o)break;T.tag===5&&U!==null&&(T=U,c?(w=Rl(l,d),w!=null&&y.unshift(Fo(l,w,T))):c||(w=Rl(l,d),w!=null&&y.push(Fo(l,w,T)))),l=l.return}y.length!==0&&n.push({event:r,listeners:y})}var td=/\r\n?/g,Ay=/\u0000|\uFFFD/g;function nd(n){return(typeof n=="string"?n:""+n).replace(td,`
71
- `).replace(Ay,"")}function Ks(n,r,l){if(r=nd(r),nd(n)!==r&&l)throw Error(v(425))}function Zs(){}var rd=null,Nl=null;function jo(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Ml=typeof setTimeout=="function"?setTimeout:void 0,Bv=typeof clearTimeout=="function"?clearTimeout:void 0,ad=typeof Promise=="function"?Promise:void 0,id=typeof queueMicrotask=="function"?queueMicrotask:typeof ad<"u"?function(n){return ad.resolve(null).then(n).catch(Fy)}:Ml;function Fy(n){setTimeout(function(){throw n})}function Yi(n,r){var l=r,o=0;do{var c=l.nextSibling;if(n.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(o===0){n.removeChild(c),bo(r);return}o--}else l!=="$"&&l!=="$?"&&l!=="$!"||o++;l=c}while(l);bo(r)}function za(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function Vo(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var Qi=Math.random().toString(36).slice(2),Qa="__reactFiber$"+Qi,Ll="__reactProps$"+Qi,hi="__reactContainer$"+Qi,ld="__reactEvents$"+Qi,Hy="__reactListeners$"+Qi,ud="__reactHandles$"+Qi;function ua(n){var r=n[Qa];if(r)return r;for(var l=n.parentNode;l;){if(r=l[hi]||l[Qa]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=Vo(n);n!==null;){if(l=n[Qa])return l;n=Vo(n)}return r}n=l,l=n.parentNode}return null}function Bo(n){return n=n[Qa]||n[hi],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function _u(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(v(33))}function Te(n){return n[Ll]||null}var Wi=[],Ot=-1;function je(n){return{current:n}}function dt(n){0>Ot||(n.current=Wi[Ot],Wi[Ot]=null,Ot--)}function pt(n,r){Ot++,Wi[Ot]=n.current,n.current=r}var Wa={},Ne=je(Wa),Wt=je(!1),Tr=Wa;function oa(n,r){var l=n.type.contextTypes;if(!l)return Wa;var o=n.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===r)return o.__reactInternalMemoizedMaskedChildContext;var c={},d;for(d in l)c[d]=r[d];return o&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=c),c}function Ft(n){return n=n.childContextTypes,n!=null}function sa(){dt(Wt),dt(Ne)}function Gi(n,r,l){if(Ne.current!==Wa)throw Error(v(168));pt(Ne,r),pt(Wt,l)}function Po(n,r,l){var o=n.stateNode;if(r=r.childContextTypes,typeof o.getChildContext!="function")return l;o=o.getChildContext();for(var c in o)if(!(c in r))throw Error(v(108,ea(n)||"Unknown",c));return oe({},l,o)}function Js(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Wa,Tr=Ne.current,pt(Ne,n),pt(Wt,Wt.current),!0}function Pv(n,r,l){var o=n.stateNode;if(!o)throw Error(v(169));l?(n=Po(n,r,Tr),o.__reactInternalMemoizedMergedChildContext=n,dt(Wt),dt(Ne),pt(Ne,n)):dt(Wt),pt(Wt,l)}var Br=null,Tn=!1,$o=!1;function od(n){Br===null?Br=[n]:Br.push(n)}function sd(n){Tn=!0,od(n)}function Rr(){if(!$o&&Br!==null){$o=!0;var n=0,r=mt;try{var l=Br;for(mt=1;n<l.length;n++){var o=l[n];do o=o(!0);while(o!==null)}Br=null,Tn=!1}catch(c){throw Br!==null&&(Br=Br.slice(n+1)),At(oi,Rr),c}finally{mt=r,$o=!1}}return null}var qi=[],wr=0,zl=null,Ou=0,br=[],Kn=0,ca=null,Ln=1,mi="";function Pr(n,r){qi[wr++]=Ou,qi[wr++]=zl,zl=n,Ou=r}function cd(n,r,l){br[Kn++]=Ln,br[Kn++]=mi,br[Kn++]=ca,ca=n;var o=Ln;n=mi;var c=32-ra(o)-1;o&=~(1<<c),l+=1;var d=32-ra(r)+c;if(30<d){var y=c-c%5;d=(o&(1<<y)-1).toString(32),o>>=y,c-=y,Ln=1<<32-ra(r)+c|l<<c|o,mi=d+n}else Ln=1<<d|l<<c|o,mi=n}function ec(n){n.return!==null&&(Pr(n,1),cd(n,1,0))}function fd(n){for(;n===zl;)zl=qi[--wr],qi[wr]=null,Ou=qi[--wr],qi[wr]=null;for(;n===ca;)ca=br[--Kn],br[Kn]=null,mi=br[--Kn],br[Kn]=null,Ln=br[--Kn],br[Kn]=null}var $r=null,xr=null,Nt=!1,fa=null;function dd(n,r){var l=ya(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function $v(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,$r=n,xr=za(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,$r=n,xr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=ca!==null?{id:Ln,overflow:mi}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=ya(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,$r=n,xr=null,!0):!1;default:return!1}}function tc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function nc(n){if(Nt){var r=xr;if(r){var l=r;if(!$v(n,r)){if(tc(n))throw Error(v(418));r=za(l.nextSibling);var o=$r;r&&$v(n,r)?dd(o,l):(n.flags=n.flags&-4097|2,Nt=!1,$r=n)}}else{if(tc(n))throw Error(v(418));n.flags=n.flags&-4097|2,Nt=!1,$r=n}}}function Iv(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;$r=n}function rc(n){if(n!==$r)return!1;if(!Nt)return Iv(n),Nt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!jo(n.type,n.memoizedProps)),r&&(r=xr)){if(tc(n))throw Yv(),Error(v(418));for(;r;)dd(n,r),r=za(r.nextSibling)}if(Iv(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(v(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){xr=za(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}xr=null}}else xr=$r?za(n.stateNode.nextSibling):null;return!0}function Yv(){for(var n=xr;n;)n=za(n.nextSibling)}function Vt(){xr=$r=null,Nt=!1}function pd(n){fa===null?fa=[n]:fa.push(n)}var ac=ct.ReactCurrentBatchConfig;function Ir(n,r){if(n&&n.defaultProps){r=oe({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var Ga=je(null),ic=null,Xi=null,vd=null;function hd(){vd=Xi=ic=null}function Ki(n){var r=Ga.current;dt(Ga),n._currentValue=r}function Rn(n,r,l){for(;n!==null;){var o=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,o!==null&&(o.childLanes|=r)):o!==null&&(o.childLanes&r)!==r&&(o.childLanes|=r),n===l)break;n=n.return}}function J(n,r){ic=n,vd=Xi=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(rn=!0),n.firstContext=null)}function Kt(n){var r=n._currentValue;if(vd!==n)if(n={context:n,memoizedValue:r,next:null},Xi===null){if(ic===null)throw Error(v(308));Xi=n,ic.dependencies={lanes:0,firstContext:n}}else Xi=Xi.next=n;return r}var zn=null;function md(n){zn===null?zn=[n]:zn.push(n)}function Qv(n,r,l,o){var c=r.interleaved;return c===null?(l.next=l,md(r)):(l.next=c.next,c.next=l),r.interleaved=l,yi(n,o)}function yi(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var Zi=!1;function yd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function gi(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Ji(n,r,l){var o=n.updateQueue;if(o===null)return null;if(o=o.shared,Ge&2){var c=o.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),o.pending=r,yi(n,l)}return c=o.interleaved,c===null?(r.next=r,md(o)):(r.next=c.next,c.next=r),o.interleaved=r,yi(n,l)}function lc(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var o=r.lanes;o&=n.pendingLanes,l|=o,r.lanes=l,Eo(n,l)}}function gd(n,r){var l=n.updateQueue,o=n.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var c=null,d=null;if(l=l.firstBaseUpdate,l!==null){do{var y={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};d===null?c=d=y:d=d.next=y,l=l.next}while(l!==null);d===null?c=d=r:d=d.next=r}else c=d=r;l={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,effects:o.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function el(n,r,l,o){var c=n.updateQueue;Zi=!1;var d=c.firstBaseUpdate,y=c.lastBaseUpdate,T=c.shared.pending;if(T!==null){c.shared.pending=null;var w=T,U=w.next;w.next=null,y===null?d=U:y.next=U,y=w;var I=n.alternate;I!==null&&(I=I.updateQueue,T=I.lastBaseUpdate,T!==y&&(T===null?I.firstBaseUpdate=U:T.next=U,I.lastBaseUpdate=w))}if(d!==null){var Q=c.baseState;y=0,I=U=w=null,T=d;do{var $=T.lane,le=T.eventTime;if((o&$)===$){I!==null&&(I=I.next={eventTime:le,lane:0,tag:T.tag,payload:T.payload,callback:T.callback,next:null});e:{var pe=n,me=T;switch($=r,le=l,me.tag){case 1:if(pe=me.payload,typeof pe=="function"){Q=pe.call(le,Q,$);break e}Q=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=me.payload,$=typeof pe=="function"?pe.call(le,Q,$):pe,$==null)break e;Q=oe({},Q,$);break e;case 2:Zi=!0}}T.callback!==null&&T.lane!==0&&(n.flags|=64,$=c.effects,$===null?c.effects=[T]:$.push(T))}else le={eventTime:le,lane:$,tag:T.tag,payload:T.payload,callback:T.callback,next:null},I===null?(U=I=le,w=Q):I=I.next=le,y|=$;if(T=T.next,T===null){if(T=c.shared.pending,T===null)break;$=T,T=$.next,$.next=null,c.lastBaseUpdate=$,c.shared.pending=null}}while(1);if(I===null&&(w=Q),c.baseState=w,c.firstBaseUpdate=U,c.lastBaseUpdate=I,r=c.shared.interleaved,r!==null){c=r;do y|=c.lane,c=c.next;while(c!==r)}else d===null&&(c.shared.lanes=0);Ti|=y,n.lanes=y,n.memoizedState=Q}}function Ul(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var o=n[r],c=o.callback;if(c!==null){if(o.callback=null,o=l,typeof c!="function")throw Error(v(191,c));c.call(o)}}}var Wv=new h.Component().refs;function Sd(n,r,l,o){r=n.memoizedState,l=l(o,r),l=l==null?r:oe({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var uc={isMounted:function(n){return(n=n._reactInternals)?Be(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var o=tr(),c=an(n),d=gi(o,c);d.payload=r,l!=null&&(d.callback=l),r=Ji(n,d,c),r!==null&&(nr(r,n,c,o),lc(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var o=tr(),c=an(n),d=gi(o,c);d.tag=1,d.payload=r,l!=null&&(d.callback=l),r=Ji(n,d,c),r!==null&&(nr(r,n,c,o),lc(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=tr(),o=an(n),c=gi(l,o);c.tag=2,r!=null&&(c.callback=r),r=Ji(n,c,o),r!==null&&(nr(r,n,o,l),lc(r,n,o))}};function Gv(n,r,l,o,c,d,y){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(o,d,y):r.prototype&&r.prototype.isPureReactComponent?!Mo(l,o)||!Mo(c,d):!0}function qv(n,r,l){var o=!1,c=Wa,d=r.contextType;return typeof d=="object"&&d!==null?d=Kt(d):(c=Ft(r)?Tr:Ne.current,o=r.contextTypes,d=(o=o!=null)?oa(n,c):Wa),r=new r(l,d),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=uc,n.stateNode=r,r._reactInternals=n,o&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=c,n.__reactInternalMemoizedMaskedChildContext=d),r}function Xv(n,r,l,o){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,o),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,o),r.state!==n&&uc.enqueueReplaceState(r,r.state,null)}function oc(n,r,l,o){var c=n.stateNode;c.props=l,c.state=n.memoizedState,c.refs=Wv,yd(n);var d=r.contextType;typeof d=="object"&&d!==null?c.context=Kt(d):(d=Ft(r)?Tr:Ne.current,c.context=oa(n,d)),c.state=n.memoizedState,d=r.getDerivedStateFromProps,typeof d=="function"&&(Sd(n,r,d,l),c.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&uc.enqueueReplaceState(c,c.state,null),el(n,l,c,o),c.state=n.memoizedState),typeof c.componentDidMount=="function"&&(n.flags|=4194308)}function Nu(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(v(309));var o=l.stateNode}if(!o)throw Error(v(147,n));var c=o,d=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===d?r.ref:(r=function(y){var T=c.refs;T===Wv&&(T=c.refs={}),y===null?delete T[d]:T[d]=y},r._stringRef=d,r)}if(typeof n!="string")throw Error(v(284));if(!l._owner)throw Error(v(290,n))}return n}function sc(n,r){throw n=Object.prototype.toString.call(r),Error(v(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function Kv(n){var r=n._init;return r(n._payload)}function Zv(n){function r(_,k){if(n){var M=_.deletions;M===null?(_.deletions=[k],_.flags|=16):M.push(k)}}function l(_,k){if(!n)return null;for(;k!==null;)r(_,k),k=k.sibling;return null}function o(_,k){for(_=new Map;k!==null;)k.key!==null?_.set(k.key,k):_.set(k.index,k),k=k.sibling;return _}function c(_,k){return _=ol(_,k),_.index=0,_.sibling=null,_}function d(_,k,M){return _.index=M,n?(M=_.alternate,M!==null?(M=M.index,M<k?(_.flags|=2,k):M):(_.flags|=2,k)):(_.flags|=1048576,k)}function y(_){return n&&_.alternate===null&&(_.flags|=2),_}function T(_,k,M,X){return k===null||k.tag!==6?(k=os(M,_.mode,X),k.return=_,k):(k=c(k,M),k.return=_,k)}function w(_,k,M,X){var ye=M.type;return ye===$e?I(_,k,M.props.children,X,M.key):k!==null&&(k.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===_t&&Kv(ye)===k.type)?(X=c(k,M.props),X.ref=Nu(_,k,M),X.return=_,X):(X=Bc(M.type,M.key,M.props,null,_.mode,X),X.ref=Nu(_,k,M),X.return=_,X)}function U(_,k,M,X){return k===null||k.tag!==4||k.stateNode.containerInfo!==M.containerInfo||k.stateNode.implementation!==M.implementation?(k=eu(M,_.mode,X),k.return=_,k):(k=c(k,M.children||[]),k.return=_,k)}function I(_,k,M,X,ye){return k===null||k.tag!==7?(k=Jl(M,_.mode,X,ye),k.return=_,k):(k=c(k,M),k.return=_,k)}function Q(_,k,M){if(typeof k=="string"&&k!==""||typeof k=="number")return k=os(""+k,_.mode,M),k.return=_,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Ie:return M=Bc(k.type,k.key,k.props,null,_.mode,M),M.ref=Nu(_,null,k),M.return=_,M;case Dt:return k=eu(k,_.mode,M),k.return=_,k;case _t:var X=k._init;return Q(_,X(k._payload),M)}if(ui(k)||we(k))return k=Jl(k,_.mode,M,null),k.return=_,k;sc(_,k)}return null}function $(_,k,M,X){var ye=k!==null?k.key:null;if(typeof M=="string"&&M!==""||typeof M=="number")return ye!==null?null:T(_,k,""+M,X);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Ie:return M.key===ye?w(_,k,M,X):null;case Dt:return M.key===ye?U(_,k,M,X):null;case _t:return ye=M._init,$(_,k,ye(M._payload),X)}if(ui(M)||we(M))return ye!==null?null:I(_,k,M,X,null);sc(_,M)}return null}function le(_,k,M,X,ye){if(typeof X=="string"&&X!==""||typeof X=="number")return _=_.get(M)||null,T(k,_,""+X,ye);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case Ie:return _=_.get(X.key===null?M:X.key)||null,w(k,_,X,ye);case Dt:return _=_.get(X.key===null?M:X.key)||null,U(k,_,X,ye);case _t:var ve=X._init;return le(_,k,M,ve(X._payload),ye)}if(ui(X)||we(X))return _=_.get(M)||null,I(k,_,X,ye,null);sc(k,X)}return null}function pe(_,k,M,X){for(var ye=null,ve=null,Ce=k,Me=k=0,xn=null;Ce!==null&&Me<M.length;Me++){Ce.index>Me?(xn=Ce,Ce=null):xn=Ce.sibling;var at=$(_,Ce,M[Me],X);if(at===null){Ce===null&&(Ce=xn);break}n&&Ce&&at.alternate===null&&r(_,Ce),k=d(at,k,Me),ve===null?ye=at:ve.sibling=at,ve=at,Ce=xn}if(Me===M.length)return l(_,Ce),Nt&&Pr(_,Me),ye;if(Ce===null){for(;Me<M.length;Me++)Ce=Q(_,M[Me],X),Ce!==null&&(k=d(Ce,k,Me),ve===null?ye=Ce:ve.sibling=Ce,ve=Ce);return Nt&&Pr(_,Me),ye}for(Ce=o(_,Ce);Me<M.length;Me++)xn=le(Ce,_,Me,M[Me],X),xn!==null&&(n&&xn.alternate!==null&&Ce.delete(xn.key===null?Me:xn.key),k=d(xn,k,Me),ve===null?ye=xn:ve.sibling=xn,ve=xn);return n&&Ce.forEach(function(sl){return r(_,sl)}),Nt&&Pr(_,Me),ye}function me(_,k,M,X){var ye=we(M);if(typeof ye!="function")throw Error(v(150));if(M=ye.call(M),M==null)throw Error(v(151));for(var ve=ye=null,Ce=k,Me=k=0,xn=null,at=M.next();Ce!==null&&!at.done;Me++,at=M.next()){Ce.index>Me?(xn=Ce,Ce=null):xn=Ce.sibling;var sl=$(_,Ce,at.value,X);if(sl===null){Ce===null&&(Ce=xn);break}n&&Ce&&sl.alternate===null&&r(_,Ce),k=d(sl,k,Me),ve===null?ye=sl:ve.sibling=sl,ve=sl,Ce=xn}if(at.done)return l(_,Ce),Nt&&Pr(_,Me),ye;if(Ce===null){for(;!at.done;Me++,at=M.next())at=Q(_,at.value,X),at!==null&&(k=d(at,k,Me),ve===null?ye=at:ve.sibling=at,ve=at);return Nt&&Pr(_,Me),ye}for(Ce=o(_,Ce);!at.done;Me++,at=M.next())at=le(Ce,_,Me,at.value,X),at!==null&&(n&&at.alternate!==null&&Ce.delete(at.key===null?Me:at.key),k=d(at,k,Me),ve===null?ye=at:ve.sibling=at,ve=at);return n&&Ce.forEach(function(ag){return r(_,ag)}),Nt&&Pr(_,Me),ye}function Zt(_,k,M,X){if(typeof M=="object"&&M!==null&&M.type===$e&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case Ie:e:{for(var ye=M.key,ve=k;ve!==null;){if(ve.key===ye){if(ye=M.type,ye===$e){if(ve.tag===7){l(_,ve.sibling),k=c(ve,M.props.children),k.return=_,_=k;break e}}else if(ve.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===_t&&Kv(ye)===ve.type){l(_,ve.sibling),k=c(ve,M.props),k.ref=Nu(_,ve,M),k.return=_,_=k;break e}l(_,ve);break}else r(_,ve);ve=ve.sibling}M.type===$e?(k=Jl(M.props.children,_.mode,X,M.key),k.return=_,_=k):(X=Bc(M.type,M.key,M.props,null,_.mode,X),X.ref=Nu(_,k,M),X.return=_,_=X)}return y(_);case Dt:e:{for(ve=M.key;k!==null;){if(k.key===ve)if(k.tag===4&&k.stateNode.containerInfo===M.containerInfo&&k.stateNode.implementation===M.implementation){l(_,k.sibling),k=c(k,M.children||[]),k.return=_,_=k;break e}else{l(_,k);break}else r(_,k);k=k.sibling}k=eu(M,_.mode,X),k.return=_,_=k}return y(_);case _t:return ve=M._init,Zt(_,k,ve(M._payload),X)}if(ui(M))return pe(_,k,M,X);if(we(M))return me(_,k,M,X);sc(_,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,k!==null&&k.tag===6?(l(_,k.sibling),k=c(k,M),k.return=_,_=k):(l(_,k),k=os(M,_.mode,X),k.return=_,_=k),y(_)):l(_,k)}return Zt}var Mu=Zv(!0),Jv=Zv(!1),Io={},Ua=je(Io),Yo=je(Io),Lu=je(Io);function Al(n){if(n===Io)throw Error(v(174));return n}function Cd(n,r){switch(pt(Lu,r),pt(Yo,n),pt(Ua,Io),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:en(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=en(r,n)}dt(Ua),pt(Ua,r)}function tl(){dt(Ua),dt(Yo),dt(Lu)}function xe(n){Al(Lu.current);var r=Al(Ua.current),l=en(r,n.type);r!==l&&(pt(Yo,n),pt(Ua,l))}function Qe(n){Yo.current===n&&(dt(Ua),dt(Yo))}var De=je(0);function Bt(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var da=[];function cc(){for(var n=0;n<da.length;n++)da[n]._workInProgressVersionPrimary=null;da.length=0}var fc=ct.ReactCurrentDispatcher,Ed=ct.ReactCurrentBatchConfig,Fl=0,Mt=null,V=null,Ze=null,_e=!1,qa=!1,Yr=0,Hl=0;function Lt(){throw Error(v(321))}function jl(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!la(n[l],r[l]))return!1;return!0}function nl(n,r,l,o,c,d){if(Fl=d,Mt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,fc.current=n===null||n.memoizedState===null?Vy:By,n=l(o,c),qa){d=0;do{if(qa=!1,Yr=0,25<=d)throw Error(v(301));d+=1,Ze=V=null,r.updateQueue=null,fc.current=Rd,n=l(o,c)}while(qa)}if(fc.current=kc,r=V!==null&&V.next!==null,Fl=0,Ze=V=Mt=null,_e=!1,r)throw Error(v(300));return n}function Vl(){var n=Yr!==0;return Yr=0,n}function pa(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ze===null?Mt.memoizedState=Ze=n:Ze=Ze.next=n,Ze}function kr(){if(V===null){var n=Mt.alternate;n=n!==null?n.memoizedState:null}else n=V.next;var r=Ze===null?Mt.memoizedState:Ze.next;if(r!==null)Ze=r,V=n;else{if(n===null)throw Error(v(310));V=n,n={memoizedState:V.memoizedState,baseState:V.baseState,baseQueue:V.baseQueue,queue:V.queue,next:null},Ze===null?Mt.memoizedState=Ze=n:Ze=Ze.next=n}return Ze}function Bl(n,r){return typeof r=="function"?r(n):r}function Qo(n){var r=kr(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var o=V,c=o.baseQueue,d=l.pending;if(d!==null){if(c!==null){var y=c.next;c.next=d.next,d.next=y}o.baseQueue=c=d,l.pending=null}if(c!==null){d=c.next,o=o.baseState;var T=y=null,w=null,U=d;do{var I=U.lane;if((Fl&I)===I)w!==null&&(w=w.next={lane:0,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),o=U.hasEagerState?U.eagerState:n(o,U.action);else{var Q={lane:I,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null};w===null?(T=w=Q,y=o):w=w.next=Q,Mt.lanes|=I,Ti|=I}U=U.next}while(U!==null&&U!==d);w===null?y=o:w.next=T,la(o,r.memoizedState)||(rn=!0),r.memoizedState=o,r.baseState=y,r.baseQueue=w,l.lastRenderedState=o}if(n=l.interleaved,n!==null){c=n;do d=c.lane,Mt.lanes|=d,Ti|=d,c=c.next;while(c!==n)}else c===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function Wo(n){var r=kr(),l=r.queue;if(l===null)throw Error(v(311));l.lastRenderedReducer=n;var o=l.dispatch,c=l.pending,d=r.memoizedState;if(c!==null){l.pending=null;var y=c=c.next;do d=n(d,y.action),y=y.next;while(y!==c);la(d,r.memoizedState)||(rn=!0),r.memoizedState=d,r.baseQueue===null&&(r.baseState=d),l.lastRenderedState=d}return[d,o]}function dc(){}function pc(n,r){var l=Mt,o=kr(),c=r(),d=!la(o.memoizedState,c);if(d&&(o.memoizedState=c,rn=!0),o=o.queue,Go(mc.bind(null,l,o,n),[n]),o.getSnapshot!==r||d||Ze!==null&&Ze.memoizedState.tag&1){if(l.flags|=2048,Pl(9,hc.bind(null,l,o,c,r),void 0,null),Pt===null)throw Error(v(349));Fl&30||vc(l,r,c)}return c}function vc(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=Mt.updateQueue,r===null?(r={lastEffect:null,stores:null},Mt.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function hc(n,r,l,o){r.value=l,r.getSnapshot=o,yc(r)&&gc(n)}function mc(n,r,l){return l(function(){yc(r)&&gc(n)})}function yc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!la(n,l)}catch{return!0}}function gc(n){var r=yi(n,1);r!==null&&nr(r,n,1,-1)}function Sc(n){var r=pa();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Bl,lastRenderedState:n},r.queue=n,n=n.dispatch=xc.bind(null,Mt,n),[r.memoizedState,n]}function Pl(n,r,l,o){return n={tag:n,create:r,destroy:l,deps:o,next:null},r=Mt.updateQueue,r===null?(r={lastEffect:null,stores:null},Mt.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(o=l.next,l.next=n,n.next=o,r.lastEffect=n)),n}function Cc(){return kr().memoizedState}function $l(n,r,l,o){var c=pa();Mt.flags|=n,c.memoizedState=Pl(1|r,l,void 0,o===void 0?null:o)}function Si(n,r,l,o){var c=kr();o=o===void 0?null:o;var d=void 0;if(V!==null){var y=V.memoizedState;if(d=y.destroy,o!==null&&jl(o,y.deps)){c.memoizedState=Pl(r,l,d,o);return}}Mt.flags|=n,c.memoizedState=Pl(1|r,l,d,o)}function Ec(n,r){return $l(8390656,8,n,r)}function Go(n,r){return Si(2048,8,n,r)}function Tc(n,r){return Si(4,2,n,r)}function Rc(n,r){return Si(4,4,n,r)}function Td(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function zu(n,r,l){return l=l!=null?l.concat([n]):null,Si(4,4,Td.bind(null,r,n),l)}function wc(){}function Uu(n,r){var l=kr();r=r===void 0?null:r;var o=l.memoizedState;return o!==null&&r!==null&&jl(r,o[1])?o[0]:(l.memoizedState=[n,r],n)}function rl(n,r){var l=kr();r=r===void 0?null:r;var o=l.memoizedState;return o!==null&&r!==null&&jl(r,o[1])?o[0]:(n=n(),l.memoizedState=[n,r],n)}function Dr(n,r,l){return Fl&21?(la(l,r)||(l=zs(),Mt.lanes|=l,Ti|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,rn=!0),n.memoizedState=l)}function jy(n,r){var l=mt;mt=l!==0&&4>l?l:4,n(!0);var o=Ed.transition;Ed.transition={};try{n(!1),r()}finally{mt=l,Ed.transition=o}}function bt(){return kr().memoizedState}function bc(n,r,l){var o=an(n);if(l={lane:o,action:l,hasEagerState:!1,eagerState:null,next:null},Au(n))qo(r,l);else if(l=Qv(n,r,l,o),l!==null){var c=tr();nr(l,n,o,c),eh(l,r,o)}}function xc(n,r,l){var o=an(n),c={lane:o,action:l,hasEagerState:!1,eagerState:null,next:null};if(Au(n))qo(r,c);else{var d=n.alternate;if(n.lanes===0&&(d===null||d.lanes===0)&&(d=r.lastRenderedReducer,d!==null))try{var y=r.lastRenderedState,T=d(y,l);if(c.hasEagerState=!0,c.eagerState=T,la(T,y)){var w=r.interleaved;w===null?(c.next=c,md(r)):(c.next=w.next,w.next=c),r.interleaved=c;return}}catch{}finally{}l=Qv(n,r,c,o),l!==null&&(c=tr(),nr(l,n,o,c),eh(l,r,o))}}function Au(n){var r=n.alternate;return n===Mt||r!==null&&r===Mt}function qo(n,r){qa=_e=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function eh(n,r,l){if(l&4194240){var o=r.lanes;o&=n.pendingLanes,l|=o,r.lanes=l,Eo(n,l)}}var kc={readContext:Kt,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useInsertionEffect:Lt,useLayoutEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useMutableSource:Lt,useSyncExternalStore:Lt,useId:Lt,unstable_isNewReconciler:!1},Vy={readContext:Kt,useCallback:function(n,r){return pa().memoizedState=[n,r===void 0?null:r],n},useContext:Kt,useEffect:Ec,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,$l(4194308,4,Td.bind(null,r,n),l)},useLayoutEffect:function(n,r){return $l(4194308,4,n,r)},useInsertionEffect:function(n,r){return $l(4,2,n,r)},useMemo:function(n,r){var l=pa();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var o=pa();return r=l!==void 0?l(r):r,o.memoizedState=o.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},o.queue=n,n=n.dispatch=bc.bind(null,Mt,n),[o.memoizedState,n]},useRef:function(n){var r=pa();return n={current:n},r.memoizedState=n},useState:Sc,useDebugValue:wc,useDeferredValue:function(n){return pa().memoizedState=n},useTransition:function(){var n=Sc(!1),r=n[0];return n=jy.bind(null,n[1]),pa().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var o=Mt,c=pa();if(Nt){if(l===void 0)throw Error(v(407));l=l()}else{if(l=r(),Pt===null)throw Error(v(349));Fl&30||vc(o,r,l)}c.memoizedState=l;var d={value:l,getSnapshot:r};return c.queue=d,Ec(mc.bind(null,o,d,n),[n]),o.flags|=2048,Pl(9,hc.bind(null,o,d,l,r),void 0,null),l},useId:function(){var n=pa(),r=Pt.identifierPrefix;if(Nt){var l=mi,o=Ln;l=(o&~(1<<32-ra(o)-1)).toString(32)+l,r=":"+r+"R"+l,l=Yr++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Hl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},By={readContext:Kt,useCallback:Uu,useContext:Kt,useEffect:Go,useImperativeHandle:zu,useInsertionEffect:Tc,useLayoutEffect:Rc,useMemo:rl,useReducer:Qo,useRef:Cc,useState:function(){return Qo(Bl)},useDebugValue:wc,useDeferredValue:function(n){var r=kr();return Dr(r,V.memoizedState,n)},useTransition:function(){var n=Qo(Bl)[0],r=kr().memoizedState;return[n,r]},useMutableSource:dc,useSyncExternalStore:pc,useId:bt,unstable_isNewReconciler:!1},Rd={readContext:Kt,useCallback:Uu,useContext:Kt,useEffect:Go,useImperativeHandle:zu,useInsertionEffect:Tc,useLayoutEffect:Rc,useMemo:rl,useReducer:Wo,useRef:Cc,useState:function(){return Wo(Bl)},useDebugValue:wc,useDeferredValue:function(n){var r=kr();return V===null?r.memoizedState=n:Dr(r,V.memoizedState,n)},useTransition:function(){var n=Wo(Bl)[0],r=kr().memoizedState;return[n,r]},useMutableSource:dc,useSyncExternalStore:pc,useId:bt,unstable_isNewReconciler:!1};function Fu(n,r){try{var l="",o=r;do l+=Ba(o),o=o.return;while(o);var c=l}catch(d){c=`
72
- Error generating stack: `+d.message+`
73
- `+d.stack}return{value:n,source:r,stack:c,digest:null}}function Xo(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function Dc(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var Py=typeof WeakMap=="function"?WeakMap:Map;function th(n,r,l){l=gi(-1,l),l.tag=3,l.payload={element:null};var o=r.value;return l.callback=function(){Uc||(Uc=!0,Gl=o),Dc(n,r)},l}function Ko(n,r,l){l=gi(-1,l),l.tag=3;var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var c=r.value;l.payload=function(){return o(c)},l.callback=function(){Dc(n,r)}}var d=n.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(l.callback=function(){Dc(n,r),typeof o!="function"&&(Za===null?Za=new Set([this]):Za.add(this));var y=r.stack;this.componentDidCatch(r.value,{componentStack:y!==null?y:""})}),l}function nh(n,r,l){var o=n.pingCache;if(o===null){o=n.pingCache=new Py;var c=new Set;o.set(r,c)}else c=o.get(r),c===void 0&&(c=new Set,o.set(r,c));c.has(l)||(c.add(l),n=qy.bind(null,n,r,l),r.then(n,n))}function wd(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function bd(n,r,l,o,c){return n.mode&1?(n.flags|=65536,n.lanes=c,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=gi(-1,1),r.tag=2,Ji(l,r,1))),l.lanes|=1),n)}var $y=ct.ReactCurrentOwner,rn=!1;function fn(n,r,l,o){r.child=n===null?Jv(r,null,l,o):Mu(r,n.child,l,o)}function al(n,r,l,o,c){l=l.render;var d=r.ref;return J(r,c),o=nl(n,r,l,o,d,c),l=Vl(),n!==null&&!rn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,Un(n,r,c)):(Nt&&l&&ec(r),r.flags|=1,fn(n,r,o,c),r.child)}function _c(n,r,l,o,c){if(n===null){var d=l.type;return typeof d=="function"&&!Id(d)&&d.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=d,_r(n,r,d,o,c)):(n=Bc(l.type,null,o,r,r.mode,c),n.ref=r.ref,n.return=r,r.child=n)}if(d=n.child,!(n.lanes&c)){var y=d.memoizedProps;if(l=l.compare,l=l!==null?l:Mo,l(y,o)&&n.ref===r.ref)return Un(n,r,c)}return r.flags|=1,n=ol(d,o),n.ref=r.ref,n.return=r,r.child=n}function _r(n,r,l,o,c){if(n!==null){var d=n.memoizedProps;if(Mo(d,o)&&n.ref===r.ref)if(rn=!1,r.pendingProps=o=d,(n.lanes&c)!==0)n.flags&131072&&(rn=!0);else return r.lanes=n.lanes,Un(n,r,c)}return Hu(n,r,l,o,c)}function Il(n,r,l){var o=r.pendingProps,c=o.children,d=n!==null?n.memoizedState:null;if(o.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},pt(Iu,Qr),Qr|=l;else{if(!(l&1073741824))return n=d!==null?d.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,pt(Iu,Qr),Qr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=d!==null?d.baseLanes:l,pt(Iu,Qr),Qr|=o}else d!==null?(o=d.baseLanes|l,r.memoizedState=null):o=l,pt(Iu,Qr),Qr|=o;return fn(n,r,c,l),r.child}function Ve(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function Hu(n,r,l,o,c){var d=Ft(l)?Tr:Ne.current;return d=oa(r,d),J(r,c),l=nl(n,r,l,o,d,c),o=Vl(),n!==null&&!rn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,Un(n,r,c)):(Nt&&o&&ec(r),r.flags|=1,fn(n,r,l,c),r.child)}function xd(n,r,l,o,c){if(Ft(l)){var d=!0;Js(r)}else d=!1;if(J(r,c),r.stateNode===null)Zn(n,r),qv(r,l,o),oc(r,l,o,c),o=!0;else if(n===null){var y=r.stateNode,T=r.memoizedProps;y.props=T;var w=y.context,U=l.contextType;typeof U=="object"&&U!==null?U=Kt(U):(U=Ft(l)?Tr:Ne.current,U=oa(r,U));var I=l.getDerivedStateFromProps,Q=typeof I=="function"||typeof y.getSnapshotBeforeUpdate=="function";Q||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(T!==o||w!==U)&&Xv(r,y,o,U),Zi=!1;var $=r.memoizedState;y.state=$,el(r,o,y,c),w=r.memoizedState,T!==o||$!==w||Wt.current||Zi?(typeof I=="function"&&(Sd(r,l,I,o),w=r.memoizedState),(T=Zi||Gv(r,l,T,o,$,w,U))?(Q||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(r.flags|=4194308)):(typeof y.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=o,r.memoizedState=w),y.props=o,y.state=w,y.context=U,o=T):(typeof y.componentDidMount=="function"&&(r.flags|=4194308),o=!1)}else{y=r.stateNode,cn(n,r),T=r.memoizedProps,U=r.type===r.elementType?T:Ir(r.type,T),y.props=U,Q=r.pendingProps,$=y.context,w=l.contextType,typeof w=="object"&&w!==null?w=Kt(w):(w=Ft(l)?Tr:Ne.current,w=oa(r,w));var le=l.getDerivedStateFromProps;(I=typeof le=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(T!==Q||$!==w)&&Xv(r,y,o,w),Zi=!1,$=r.memoizedState,y.state=$,el(r,o,y,c);var pe=r.memoizedState;T!==Q||$!==pe||Wt.current||Zi?(typeof le=="function"&&(Sd(r,l,le,o),pe=r.memoizedState),(U=Zi||Gv(r,l,U,o,$,pe,w)||!1)?(I||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(o,pe,w),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(o,pe,w)),typeof y.componentDidUpdate=="function"&&(r.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof y.componentDidUpdate!="function"||T===n.memoizedProps&&$===n.memoizedState||(r.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&$===n.memoizedState||(r.flags|=1024),r.memoizedProps=o,r.memoizedState=pe),y.props=o,y.state=pe,y.context=w,o=U):(typeof y.componentDidUpdate!="function"||T===n.memoizedProps&&$===n.memoizedState||(r.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||T===n.memoizedProps&&$===n.memoizedState||(r.flags|=1024),o=!1)}return rh(n,r,l,o,d,c)}function rh(n,r,l,o,c,d){Ve(n,r);var y=(r.flags&128)!==0;if(!o&&!y)return c&&Pv(r,l,!1),Un(n,r,d);o=r.stateNode,$y.current=r;var T=y&&typeof l.getDerivedStateFromError!="function"?null:o.render();return r.flags|=1,n!==null&&y?(r.child=Mu(r,n.child,null,d),r.child=Mu(r,null,T,d)):fn(n,r,T,d),r.memoizedState=o.state,c&&Pv(r,l,!0),r.child}function ah(n){var r=n.stateNode;r.pendingContext?Gi(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Gi(n,r.context,!1),Cd(n,r.containerInfo)}function Oc(n,r,l,o,c){return Vt(),pd(c),r.flags|=256,fn(n,r,l,o),r.child}var Yl={dehydrated:null,treeContext:null,retryLane:0};function kd(n){return{baseLanes:n,cachePool:null,transitions:null}}function Dd(n,r,l){var o=r.pendingProps,c=De.current,d=!1,y=(r.flags&128)!==0,T;if((T=y)||(T=n!==null&&n.memoizedState===null?!1:(c&2)!==0),T?(d=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(c|=1),pt(De,c&1),n===null)return nc(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(y=o.children,n=o.fallback,d?(o=r.mode,d=r.child,y={mode:"hidden",children:y},!(o&1)&&d!==null?(d.childLanes=0,d.pendingProps=y):d=us(y,o,0,null),n=Jl(n,o,l,null),d.return=r,n.return=r,d.sibling=n,r.child=d,r.child.memoizedState=kd(l),r.memoizedState=Yl,n):_d(r,y));if(c=n.memoizedState,c!==null&&(T=c.dehydrated,T!==null))return Iy(n,r,y,o,T,c,l);if(d){d=o.fallback,y=r.mode,c=n.child,T=c.sibling;var w={mode:"hidden",children:o.children};return!(y&1)&&r.child!==c?(o=r.child,o.childLanes=0,o.pendingProps=w,r.deletions=null):(o=ol(c,w),o.subtreeFlags=c.subtreeFlags&14680064),T!==null?d=ol(T,d):(d=Jl(d,y,l,null),d.flags|=2),d.return=r,o.return=r,o.sibling=d,r.child=o,o=d,d=r.child,y=n.child.memoizedState,y=y===null?kd(l):{baseLanes:y.baseLanes|l,cachePool:null,transitions:y.transitions},d.memoizedState=y,d.childLanes=n.childLanes&~l,r.memoizedState=Yl,o}return d=n.child,n=d.sibling,o=ol(d,{mode:"visible",children:o.children}),!(r.mode&1)&&(o.lanes=l),o.return=r,o.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=o,r.memoizedState=null,o}function _d(n,r){return r=us({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function ju(n,r,l,o){return o!==null&&pd(o),Mu(r,n.child,null,l),n=_d(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Iy(n,r,l,o,c,d,y){if(l)return r.flags&256?(r.flags&=-257,o=Xo(Error(v(422))),ju(n,r,y,o)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(d=o.fallback,c=r.mode,o=us({mode:"visible",children:o.children},c,0,null),d=Jl(d,c,y,null),d.flags|=2,o.return=r,d.return=r,o.sibling=d,r.child=o,r.mode&1&&Mu(r,n.child,null,y),r.child.memoizedState=kd(y),r.memoizedState=Yl,d);if(!(r.mode&1))return ju(n,r,y,null);if(c.data==="$!"){if(o=c.nextSibling&&c.nextSibling.dataset,o)var T=o.dgst;return o=T,d=Error(v(419)),o=Xo(d,o,void 0),ju(n,r,y,o)}if(T=(y&n.childLanes)!==0,rn||T){if(o=Pt,o!==null){switch(y&-y){case 4:c=2;break;case 16:c=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(o.suspendedLanes|y)?0:c,c!==0&&c!==d.retryLane&&(d.retryLane=c,yi(n,c),nr(o,n,c,-1))}return Bd(),o=Xo(Error(v(421))),ju(n,r,y,o)}return c.data==="$?"?(r.flags|=128,r.child=n.child,r=Xy.bind(null,n),c._reactRetry=r,null):(n=d.treeContext,xr=za(c.nextSibling),$r=r,Nt=!0,fa=null,n!==null&&(br[Kn++]=Ln,br[Kn++]=mi,br[Kn++]=ca,Ln=n.id,mi=n.overflow,ca=r),r=_d(r,o.children),r.flags|=4096,r)}function Od(n,r,l){n.lanes|=r;var o=n.alternate;o!==null&&(o.lanes|=r),Rn(n.return,r,l)}function Nc(n,r,l,o,c){var d=n.memoizedState;d===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:c}:(d.isBackwards=r,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=l,d.tailMode=c)}function Nd(n,r,l){var o=r.pendingProps,c=o.revealOrder,d=o.tail;if(fn(n,r,o.children,l),o=De.current,o&2)o=o&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Od(n,l,r);else if(n.tag===19)Od(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}o&=1}if(pt(De,o),!(r.mode&1))r.memoizedState=null;else switch(c){case"forwards":for(l=r.child,c=null;l!==null;)n=l.alternate,n!==null&&Bt(n)===null&&(c=l),l=l.sibling;l=c,l===null?(c=r.child,r.child=null):(c=l.sibling,l.sibling=null),Nc(r,!1,c,l,d);break;case"backwards":for(l=null,c=r.child,r.child=null;c!==null;){if(n=c.alternate,n!==null&&Bt(n)===null){r.child=c;break}n=c.sibling,c.sibling=l,l=c,c=n}Nc(r,!0,l,null,d);break;case"together":Nc(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Zn(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function Un(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),Ti|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(v(153));if(r.child!==null){for(n=r.child,l=ol(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=ol(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Ci(n,r,l){switch(r.tag){case 3:ah(r),Vt();break;case 5:xe(r);break;case 1:Ft(r.type)&&Js(r);break;case 4:Cd(r,r.stateNode.containerInfo);break;case 10:var o=r.type._context,c=r.memoizedProps.value;pt(Ga,o._currentValue),o._currentValue=c;break;case 13:if(o=r.memoizedState,o!==null)return o.dehydrated!==null?(pt(De,De.current&1),r.flags|=128,null):l&r.child.childLanes?Dd(n,r,l):(pt(De,De.current&1),n=Un(n,r,l),n!==null?n.sibling:null);pt(De,De.current&1);break;case 19:if(o=(l&r.childLanes)!==0,n.flags&128){if(o)return Nd(n,r,l);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),pt(De,De.current),o)break;return null;case 22:case 23:return r.lanes=0,Il(n,r,l)}return Un(n,r,l)}var Zo,Ql,va,dn;Zo=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},Ql=function(){},va=function(n,r,l,o){var c=n.memoizedProps;if(c!==o){n=r.stateNode,Al(Ua.current);var d=null;switch(l){case"input":c=Wn(n,c),o=Wn(n,o),d=[];break;case"select":c=oe({},c,{value:void 0}),o=oe({},o,{value:void 0}),d=[];break;case"textarea":c=ba(n,c),o=ba(n,o),d=[];break;default:typeof c.onClick!="function"&&typeof o.onClick=="function"&&(n.onclick=Zs)}gn(l,o);var y;l=null;for(U in c)if(!o.hasOwnProperty(U)&&c.hasOwnProperty(U)&&c[U]!=null)if(U==="style"){var T=c[U];for(y in T)T.hasOwnProperty(y)&&(l||(l={}),l[y]="")}else U!=="dangerouslySetInnerHTML"&&U!=="children"&&U!=="suppressContentEditableWarning"&&U!=="suppressHydrationWarning"&&U!=="autoFocus"&&(A.hasOwnProperty(U)?d||(d=[]):(d=d||[]).push(U,null));for(U in o){var w=o[U];if(T=c!=null?c[U]:void 0,o.hasOwnProperty(U)&&w!==T&&(w!=null||T!=null))if(U==="style")if(T){for(y in T)!T.hasOwnProperty(y)||w&&w.hasOwnProperty(y)||(l||(l={}),l[y]="");for(y in w)w.hasOwnProperty(y)&&T[y]!==w[y]&&(l||(l={}),l[y]=w[y])}else l||(d||(d=[]),d.push(U,l)),l=w;else U==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,T=T?T.__html:void 0,w!=null&&T!==w&&(d=d||[]).push(U,w)):U==="children"?typeof w!="string"&&typeof w!="number"||(d=d||[]).push(U,""+w):U!=="suppressContentEditableWarning"&&U!=="suppressHydrationWarning"&&(A.hasOwnProperty(U)?(w!=null&&U==="onScroll"&&wt("scroll",n),d||T===w||(d=[])):(d=d||[]).push(U,w))}l&&(d=d||[]).push("style",l);var U=d;(r.updateQueue=U)&&(r.flags|=4)}},dn=function(n,r,l,o){l!==o&&(r.flags|=4)};function Jo(n,r){if(!Nt)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:o.sibling=null}}function Jn(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,o=0;if(r)for(var c=n.child;c!==null;)l|=c.lanes|c.childLanes,o|=c.subtreeFlags&14680064,o|=c.flags&14680064,c.return=n,c=c.sibling;else for(c=n.child;c!==null;)l|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=n,c=c.sibling;return n.subtreeFlags|=o,n.childLanes=l,r}function Yy(n,r,l){var o=r.pendingProps;switch(fd(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Jn(r),null;case 1:return Ft(r.type)&&sa(),Jn(r),null;case 3:return o=r.stateNode,tl(),dt(Wt),dt(Ne),cc(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(rc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,fa!==null&&(ls(fa),fa=null))),Ql(n,r),Jn(r),null;case 5:Qe(r);var c=Al(Lu.current);if(l=r.type,n!==null&&r.stateNode!=null)va(n,r,l,o,c),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!o){if(r.stateNode===null)throw Error(v(166));return Jn(r),null}if(n=Al(Ua.current),rc(r)){o=r.stateNode,l=r.type;var d=r.memoizedProps;switch(o[Qa]=r,o[Ll]=d,n=(r.mode&1)!==0,l){case"dialog":wt("cancel",o),wt("close",o);break;case"iframe":case"object":case"embed":wt("load",o);break;case"video":case"audio":for(c=0;c<Ao.length;c++)wt(Ao[c],o);break;case"source":wt("error",o);break;case"img":case"image":case"link":wt("error",o),wt("load",o);break;case"details":wt("toggle",o);break;case"input":Mn(o,d),wt("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!d.multiple},wt("invalid",o);break;case"textarea":Ur(o,d),wt("invalid",o)}gn(l,d),c=null;for(var y in d)if(d.hasOwnProperty(y)){var T=d[y];y==="children"?typeof T=="string"?o.textContent!==T&&(d.suppressHydrationWarning!==!0&&Ks(o.textContent,T,n),c=["children",T]):typeof T=="number"&&o.textContent!==""+T&&(d.suppressHydrationWarning!==!0&&Ks(o.textContent,T,n),c=["children",""+T]):A.hasOwnProperty(y)&&T!=null&&y==="onScroll"&&wt("scroll",o)}switch(l){case"input":Sr(o),na(o,d,!0);break;case"textarea":Sr(o),Ar(o);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(o.onclick=Zs)}o=c,r.updateQueue=o,o!==null&&(r.flags|=4)}else{y=c.nodeType===9?c:c.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=xa(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=y.createElement("div"),n.innerHTML="<script></script>",n=n.removeChild(n.firstChild)):typeof o.is=="string"?n=y.createElement(l,{is:o.is}):(n=y.createElement(l),l==="select"&&(y=n,o.multiple?y.multiple=!0:o.size&&(y.size=o.size))):n=y.createElementNS(n,l),n[Qa]=r,n[Ll]=o,Zo(n,r,!1,!1),r.stateNode=n;e:{switch(y=Xt(l,o),l){case"dialog":wt("cancel",n),wt("close",n),c=o;break;case"iframe":case"object":case"embed":wt("load",n),c=o;break;case"video":case"audio":for(c=0;c<Ao.length;c++)wt(Ao[c],n);c=o;break;case"source":wt("error",n),c=o;break;case"img":case"image":case"link":wt("error",n),wt("load",n),c=o;break;case"details":wt("toggle",n),c=o;break;case"input":Mn(n,o),c=Wn(n,o),wt("invalid",n);break;case"option":c=o;break;case"select":n._wrapperState={wasMultiple:!!o.multiple},c=oe({},o,{value:void 0}),wt("invalid",n);break;case"textarea":Ur(n,o),c=ba(n,o),wt("invalid",n);break;default:c=o}gn(l,c),T=c;for(d in T)if(T.hasOwnProperty(d)){var w=T[d];d==="style"?ht(n,w):d==="dangerouslySetInnerHTML"?(w=w?w.__html:void 0,w!=null&&Ai(n,w)):d==="children"?typeof w=="string"?(l!=="textarea"||w!=="")&&ka(n,w):typeof w=="number"&&ka(n,""+w):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(A.hasOwnProperty(d)?w!=null&&d==="onScroll"&&wt("scroll",n):w!=null&&Fe(n,d,w,y))}switch(l){case"input":Sr(n),na(n,o,!1);break;case"textarea":Sr(n),Ar(n);break;case"option":o.value!=null&&n.setAttribute("value",""+Qn(o.value));break;case"select":n.multiple=!!o.multiple,d=o.value,d!=null?$a(n,!!o.multiple,d,!1):o.defaultValue!=null&&$a(n,!!o.multiple,o.defaultValue,!0);break;default:typeof c.onClick=="function"&&(n.onclick=Zs)}switch(l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Jn(r),null;case 6:if(n&&r.stateNode!=null)dn(n,r,n.memoizedProps,o);else{if(typeof o!="string"&&r.stateNode===null)throw Error(v(166));if(l=Al(Lu.current),Al(Ua.current),rc(r)){if(o=r.stateNode,l=r.memoizedProps,o[Qa]=r,(d=o.nodeValue!==l)&&(n=$r,n!==null))switch(n.tag){case 3:Ks(o.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Ks(o.nodeValue,l,(n.mode&1)!==0)}d&&(r.flags|=4)}else o=(l.nodeType===9?l:l.ownerDocument).createTextNode(o),o[Qa]=r,r.stateNode=o}return Jn(r),null;case 13:if(dt(De),o=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Nt&&xr!==null&&r.mode&1&&!(r.flags&128))Yv(),Vt(),r.flags|=98560,d=!1;else if(d=rc(r),o!==null&&o.dehydrated!==null){if(n===null){if(!d)throw Error(v(318));if(d=r.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(v(317));d[Qa]=r}else Vt(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;Jn(r),d=!1}else fa!==null&&(ls(fa),fa=null),d=!0;if(!d)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(o=o!==null,o!==(n!==null&&n.memoizedState!==null)&&o&&(r.child.flags|=8192,r.mode&1&&(n===null||De.current&1?vn===0&&(vn=3):Bd())),r.updateQueue!==null&&(r.flags|=4),Jn(r),null);case 4:return tl(),Ql(n,r),n===null&&Du(r.stateNode.containerInfo),Jn(r),null;case 10:return Ki(r.type._context),Jn(r),null;case 17:return Ft(r.type)&&sa(),Jn(r),null;case 19:if(dt(De),d=r.memoizedState,d===null)return Jn(r),null;if(o=(r.flags&128)!==0,y=d.rendering,y===null)if(o)Jo(d,!1);else{if(vn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(y=Bt(n),y!==null){for(r.flags|=128,Jo(d,!1),o=y.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),r.subtreeFlags=0,o=l,l=r.child;l!==null;)d=l,n=o,d.flags&=14680066,y=d.alternate,y===null?(d.childLanes=0,d.lanes=n,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=y.childLanes,d.lanes=y.lanes,d.child=y.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=y.memoizedProps,d.memoizedState=y.memoizedState,d.updateQueue=y.updateQueue,d.type=y.type,n=y.dependencies,d.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return pt(De,De.current&1|2),r.child}n=n.sibling}d.tail!==null&&ut()>Qu&&(r.flags|=128,o=!0,Jo(d,!1),r.lanes=4194304)}else{if(!o)if(n=Bt(y),n!==null){if(r.flags|=128,o=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),Jo(d,!0),d.tail===null&&d.tailMode==="hidden"&&!y.alternate&&!Nt)return Jn(r),null}else 2*ut()-d.renderingStartTime>Qu&&l!==1073741824&&(r.flags|=128,o=!0,Jo(d,!1),r.lanes=4194304);d.isBackwards?(y.sibling=r.child,r.child=y):(l=d.last,l!==null?l.sibling=y:r.child=y,d.last=y)}return d.tail!==null?(r=d.tail,d.rendering=r,d.tail=r.sibling,d.renderingStartTime=ut(),r.sibling=null,l=De.current,pt(De,o?l&1|2:l&1),r):(Jn(r),null);case 22:case 23:return Vd(),o=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==o&&(r.flags|=8192),o&&r.mode&1?Qr&1073741824&&(Jn(r),r.subtreeFlags&6&&(r.flags|=8192)):Jn(r),null;case 24:return null;case 25:return null}throw Error(v(156,r.tag))}function Md(n,r){switch(fd(r),r.tag){case 1:return Ft(r.type)&&sa(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return tl(),dt(Wt),dt(Ne),cc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return Qe(r),null;case 13:if(dt(De),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(v(340));Vt()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return dt(De),null;case 4:return tl(),null;case 10:return Ki(r.type._context),null;case 22:case 23:return Vd(),null;case 24:return null;default:return null}}var es=!1,pn=!1,ih=typeof WeakSet=="function"?WeakSet:Set,fe=null;function Vu(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(o){qt(n,r,o)}else l.current=null}function ts(n,r,l){try{l()}catch(o){qt(n,r,o)}}var lh=!1;function uh(n,r){if(rd=xl,n=Qs(),di(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{l.nodeType,d.nodeType}catch{l=null;break e}var y=0,T=-1,w=-1,U=0,I=0,Q=n,$=null;t:for(;;){for(var le;Q!==l||c!==0&&Q.nodeType!==3||(T=y+c),Q!==d||o!==0&&Q.nodeType!==3||(w=y+o),Q.nodeType===3&&(y+=Q.nodeValue.length),(le=Q.firstChild)!==null;)$=Q,Q=le;for(;;){if(Q===n)break t;if($===l&&++U===c&&(T=y),$===d&&++I===o&&(w=y),(le=Q.nextSibling)!==null)break;Q=$,$=Q.parentNode}Q=le}l=T===-1||w===-1?null:{start:T,end:w}}else l=null}l=l||{start:0,end:0}}else l=null;for(Nl={focusedElem:n,selectionRange:l},xl=!1,fe=r;fe!==null;)if(r=fe,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,fe=n;else for(;fe!==null;){r=fe;try{var pe=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(pe!==null){var me=pe.memoizedProps,Zt=pe.memoizedState,_=r.stateNode,k=_.getSnapshotBeforeUpdate(r.elementType===r.type?me:Ir(r.type,me),Zt);_.__reactInternalSnapshotBeforeUpdate=k}break;case 3:var M=r.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(v(163))}}catch(X){qt(r,r.return,X)}if(n=r.sibling,n!==null){n.return=r.return,fe=n;break}fe=r.return}return pe=lh,lh=!1,pe}function ns(n,r,l){var o=r.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var c=o=o.next;do{if((c.tag&n)===n){var d=c.destroy;c.destroy=void 0,d!==void 0&&ts(r,l,d)}c=c.next}while(c!==o)}}function rs(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var o=l.create;l.destroy=o()}l=l.next}while(l!==r)}}function Ld(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function zd(n){var r=n.alternate;r!==null&&(n.alternate=null,zd(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Qa],delete r[Ll],delete r[ld],delete r[Hy],delete r[ud])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function oh(n){return n.tag===5||n.tag===3||n.tag===4}function Mc(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||oh(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Bu(n,r,l){var o=n.tag;if(o===5||o===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=Zs));else if(o!==4&&(n=n.child,n!==null))for(Bu(n,r,l),n=n.sibling;n!==null;)Bu(n,r,l),n=n.sibling}function Xa(n,r,l){var o=n.tag;if(o===5||o===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(o!==4&&(n=n.child,n!==null))for(Xa(n,r,l),n=n.sibling;n!==null;)Xa(n,r,l),n=n.sibling}var Ht=null,wn=!1;function ha(n,r,l){for(l=l.child;l!==null;)Pu(n,r,l),l=l.sibling}function Pu(n,r,l){if(_a&&typeof _a.onCommitFiberUnmount=="function")try{_a.onCommitFiberUnmount(Co,l)}catch{}switch(l.tag){case 5:pn||Vu(l,r);case 6:var o=Ht,c=wn;Ht=null,ha(n,r,l),Ht=o,wn=c,Ht!==null&&(wn?(n=Ht,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):Ht.removeChild(l.stateNode));break;case 18:Ht!==null&&(wn?(n=Ht,l=l.stateNode,n.nodeType===8?Yi(n.parentNode,l):n.nodeType===1&&Yi(n,l),bo(n)):Yi(Ht,l.stateNode));break;case 4:o=Ht,c=wn,Ht=l.stateNode.containerInfo,wn=!0,ha(n,r,l),Ht=o,wn=c;break;case 0:case 11:case 14:case 15:if(!pn&&(o=l.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){c=o=o.next;do{var d=c,y=d.destroy;d=d.tag,y!==void 0&&(d&2||d&4)&&ts(l,r,y),c=c.next}while(c!==o)}ha(n,r,l);break;case 1:if(!pn&&(Vu(l,r),o=l.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=l.memoizedProps,o.state=l.memoizedState,o.componentWillUnmount()}catch(T){qt(l,r,T)}ha(n,r,l);break;case 21:ha(n,r,l);break;case 22:l.mode&1?(pn=(o=pn)||l.memoizedState!==null,ha(n,r,l),pn=o):ha(n,r,l);break;default:ha(n,r,l)}}function Ei(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new ih),r.forEach(function(o){var c=Ky.bind(null,n,o);l.has(o)||(l.add(o),o.then(c,c))})}}function Aa(n,r){var l=r.deletions;if(l!==null)for(var o=0;o<l.length;o++){var c=l[o];try{var d=n,y=r,T=y;e:for(;T!==null;){switch(T.tag){case 5:Ht=T.stateNode,wn=!1;break e;case 3:Ht=T.stateNode.containerInfo,wn=!0;break e;case 4:Ht=T.stateNode.containerInfo,wn=!0;break e}T=T.return}if(Ht===null)throw Error(v(160));Pu(d,y,c),Ht=null,wn=!1;var w=c.alternate;w!==null&&(w.return=null),c.return=null}catch(U){qt(c,r,U)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)sh(r,n),r=r.sibling}function sh(n,r){var l=n.alternate,o=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Aa(r,n),Ka(n),o&4){try{ns(3,n,n.return),rs(3,n)}catch(me){qt(n,n.return,me)}try{ns(5,n,n.return)}catch(me){qt(n,n.return,me)}}break;case 1:Aa(r,n),Ka(n),o&512&&l!==null&&Vu(l,l.return);break;case 5:if(Aa(r,n),Ka(n),o&512&&l!==null&&Vu(l,l.return),n.flags&32){var c=n.stateNode;try{ka(c,"")}catch(me){qt(n,n.return,me)}}if(o&4&&(c=n.stateNode,c!=null)){var d=n.memoizedProps,y=l!==null?l.memoizedProps:d,T=n.type,w=n.updateQueue;if(n.updateQueue=null,w!==null)try{T==="input"&&d.type==="radio"&&d.name!=null&&Gn(c,d),Xt(T,y);var U=Xt(T,d);for(y=0;y<w.length;y+=2){var I=w[y],Q=w[y+1];I==="style"?ht(c,Q):I==="dangerouslySetInnerHTML"?Ai(c,Q):I==="children"?ka(c,Q):Fe(c,I,Q,U)}switch(T){case"input":qn(c,d);break;case"textarea":Ia(c,d);break;case"select":var $=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!d.multiple;var le=d.value;le!=null?$a(c,!!d.multiple,le,!1):$!==!!d.multiple&&(d.defaultValue!=null?$a(c,!!d.multiple,d.defaultValue,!0):$a(c,!!d.multiple,d.multiple?[]:"",!1))}c[Ll]=d}catch(me){qt(n,n.return,me)}}break;case 6:if(Aa(r,n),Ka(n),o&4){if(n.stateNode===null)throw Error(v(162));c=n.stateNode,d=n.memoizedProps;try{c.nodeValue=d}catch(me){qt(n,n.return,me)}}break;case 3:if(Aa(r,n),Ka(n),o&4&&l!==null&&l.memoizedState.isDehydrated)try{bo(r.containerInfo)}catch(me){qt(n,n.return,me)}break;case 4:Aa(r,n),Ka(n);break;case 13:Aa(r,n),Ka(n),c=n.child,c.flags&8192&&(d=c.memoizedState!==null,c.stateNode.isHidden=d,!d||c.alternate!==null&&c.alternate.memoizedState!==null||(Fd=ut())),o&4&&Ei(n);break;case 22:if(I=l!==null&&l.memoizedState!==null,n.mode&1?(pn=(U=pn)||I,Aa(r,n),pn=U):Aa(r,n),Ka(n),o&8192){if(U=n.memoizedState!==null,(n.stateNode.isHidden=U)&&!I&&n.mode&1)for(fe=n,I=n.child;I!==null;){for(Q=fe=I;fe!==null;){switch($=fe,le=$.child,$.tag){case 0:case 11:case 14:case 15:ns(4,$,$.return);break;case 1:Vu($,$.return);var pe=$.stateNode;if(typeof pe.componentWillUnmount=="function"){o=$,l=$.return;try{r=o,pe.props=r.memoizedProps,pe.state=r.memoizedState,pe.componentWillUnmount()}catch(me){qt(o,l,me)}}break;case 5:Vu($,$.return);break;case 22:if($.memoizedState!==null){Ud(Q);continue}}le!==null?(le.return=$,fe=le):Ud(Q)}I=I.sibling}e:for(I=null,Q=n;;){if(Q.tag===5){if(I===null){I=Q;try{c=Q.stateNode,U?(d=c.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(T=Q.stateNode,w=Q.memoizedProps.style,y=w!=null&&w.hasOwnProperty("display")?w.display:null,T.style.display=Ye("display",y))}catch(me){qt(n,n.return,me)}}}else if(Q.tag===6){if(I===null)try{Q.stateNode.nodeValue=U?"":Q.memoizedProps}catch(me){qt(n,n.return,me)}}else if((Q.tag!==22&&Q.tag!==23||Q.memoizedState===null||Q===n)&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===n)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===n)break e;I===Q&&(I=null),Q=Q.return}I===Q&&(I=null),Q.sibling.return=Q.return,Q=Q.sibling}}break;case 19:Aa(r,n),Ka(n),o&4&&Ei(n);break;case 21:break;default:Aa(r,n),Ka(n)}}function Ka(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(oh(l)){var o=l;break e}l=l.return}throw Error(v(160))}switch(o.tag){case 5:var c=o.stateNode;o.flags&32&&(ka(c,""),o.flags&=-33);var d=Mc(n);Xa(n,d,c);break;case 3:case 4:var y=o.stateNode.containerInfo,T=Mc(n);Bu(n,T,y);break;default:throw Error(v(161))}}catch(w){qt(n,n.return,w)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function ch(n,r,l){fe=n,$u(n)}function $u(n,r,l){for(var o=(n.mode&1)!==0;fe!==null;){var c=fe,d=c.child;if(c.tag===22&&o){var y=c.memoizedState!==null||es;if(!y){var T=c.alternate,w=T!==null&&T.memoizedState!==null||pn;T=es;var U=pn;if(es=y,(pn=w)&&!U)for(fe=c;fe!==null;)y=fe,w=y.child,y.tag===22&&y.memoizedState!==null?dh(c):w!==null?(w.return=y,fe=w):dh(c);for(;d!==null;)fe=d,$u(d),d=d.sibling;fe=c,es=T,pn=U}fh(n)}else c.subtreeFlags&8772&&d!==null?(d.return=c,fe=d):fh(n)}}function fh(n){for(;fe!==null;){var r=fe;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:pn||rs(5,r);break;case 1:var o=r.stateNode;if(r.flags&4&&!pn)if(l===null)o.componentDidMount();else{var c=r.elementType===r.type?l.memoizedProps:Ir(r.type,l.memoizedProps);o.componentDidUpdate(c,l.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var d=r.updateQueue;d!==null&&Ul(r,d,o);break;case 3:var y=r.updateQueue;if(y!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}Ul(r,y,l)}break;case 5:var T=r.stateNode;if(l===null&&r.flags&4){l=T;var w=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":w.autoFocus&&l.focus();break;case"img":w.src&&(l.src=w.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var U=r.alternate;if(U!==null){var I=U.memoizedState;if(I!==null){var Q=I.dehydrated;Q!==null&&bo(Q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(v(163))}pn||r.flags&512&&Ld(r)}catch($){qt(r,r.return,$)}}if(r===n){fe=null;break}if(l=r.sibling,l!==null){l.return=r.return,fe=l;break}fe=r.return}}function Ud(n){for(;fe!==null;){var r=fe;if(r===n){fe=null;break}var l=r.sibling;if(l!==null){l.return=r.return,fe=l;break}fe=r.return}}function dh(n){for(;fe!==null;){var r=fe;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{rs(4,r)}catch(w){qt(r,l,w)}break;case 1:var o=r.stateNode;if(typeof o.componentDidMount=="function"){var c=r.return;try{o.componentDidMount()}catch(w){qt(r,c,w)}}var d=r.return;try{Ld(r)}catch(w){qt(r,d,w)}break;case 5:var y=r.return;try{Ld(r)}catch(w){qt(r,y,w)}}}catch(w){qt(r,r.return,w)}if(r===n){fe=null;break}var T=r.sibling;if(T!==null){T.return=r.return,fe=T;break}fe=r.return}}var Lc=Math.ceil,as=ct.ReactCurrentDispatcher,Ad=ct.ReactCurrentOwner,er=ct.ReactCurrentBatchConfig,Ge=0,Pt=null,Gt=null,bn=0,Qr=0,Iu=je(0),vn=0,is=null,Ti=0,zc=0,Yu=0,Wl=null,ur=null,Fd=0,Qu=1/0,Ri=null,Uc=!1,Gl=null,Za=null,il=!1,ll=null,Ac=0,Wu=0,Fc=null,ql=-1,Xl=0;function tr(){return Ge&6?ut():ql!==-1?ql:ql=ut()}function an(n){return n.mode&1?Ge&2&&bn!==0?bn&-bn:ac.transition!==null?(Xl===0&&(Xl=zs()),Xl):(n=mt,n!==0||(n=window.event,n=n===void 0?16:Ff(n.type)),n):1}function nr(n,r,l,o){if(50<Wu)throw Wu=0,Fc=null,Error(v(185));bl(n,l,o),(!(Ge&2)||n!==Pt)&&(n===Pt&&(!(Ge&2)&&(zc|=l),vn===4&&ma(n,bn)),rr(n,o),l===1&&Ge===0&&!(r.mode&1)&&(Qu=ut()+500,Tn&&Rr()))}function rr(n,r){var l=n.callbackNode;Ls(n,r);var o=Oa(n,n===Pt?bn:0);if(o===0)l!==null&&lr(l),n.callbackNode=null,n.callbackPriority=0;else if(r=o&-o,n.callbackPriority!==r){if(l!=null&&lr(l),r===1)n.tag===0?sd(ph.bind(null,n)):od(ph.bind(null,n)),id(function(){!(Ge&6)&&Rr()}),l=null;else{switch(zf(o)){case 1:l=oi;break;case 4:l=We;break;case 16:l=Vi;break;case 536870912:l=Of;break;default:l=Vi}l=$d(l,Gu.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function Gu(n,r){if(ql=-1,Xl=0,Ge&6)throw Error(v(327));var l=n.callbackNode;if(Xu()&&n.callbackNode!==l)return null;var o=Oa(n,n===Pt?bn:0);if(o===0)return null;if(o&30||o&n.expiredLanes||r)r=jc(n,o);else{r=o;var c=Ge;Ge|=2;var d=Hc();(Pt!==n||bn!==r)&&(Ri=null,Qu=ut()+500,Kl(n,r));do try{Wy();break}catch(T){vh(n,T)}while(1);hd(),as.current=d,Ge=c,Gt!==null?r=0:(Pt=null,bn=0,r=vn)}if(r!==0){if(r===2&&(c=Mf(n),c!==0&&(o=c,r=Hd(n,c))),r===1)throw l=is,Kl(n,0),ma(n,o),rr(n,ut()),l;if(r===6)ma(n,o);else{if(c=n.current.alternate,!(o&30)&&!jd(c)&&(r=jc(n,o),r===2&&(d=Mf(n),d!==0&&(o=d,r=Hd(n,d))),r===1))throw l=is,Kl(n,0),ma(n,o),rr(n,ut()),l;switch(n.finishedWork=c,n.finishedLanes=o,r){case 0:case 1:throw Error(v(345));case 2:Zl(n,ur,Ri);break;case 3:if(ma(n,o),(o&130023424)===o&&(r=Fd+500-ut(),10<r)){if(Oa(n,0)!==0)break;if(c=n.suspendedLanes,(c&o)!==o){tr(),n.pingedLanes|=n.suspendedLanes&c;break}n.timeoutHandle=Ml(Zl.bind(null,n,ur,Ri),r);break}Zl(n,ur,Ri);break;case 4:if(ma(n,o),(o&4194240)===o)break;for(r=n.eventTimes,c=-1;0<o;){var y=31-ra(o);d=1<<y,y=r[y],y>c&&(c=y),o&=~d}if(o=c,o=ut()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Lc(o/1960))-o,10<o){n.timeoutHandle=Ml(Zl.bind(null,n,ur,Ri),o);break}Zl(n,ur,Ri);break;case 5:Zl(n,ur,Ri);break;default:throw Error(v(329))}}}return rr(n,ut()),n.callbackNode===l?Gu.bind(null,n):null}function Hd(n,r){var l=Wl;return n.current.memoizedState.isDehydrated&&(Kl(n,r).flags|=256),n=jc(n,r),n!==2&&(r=ur,ur=l,r!==null&&ls(r)),n}function ls(n){ur===null?ur=n:ur.push.apply(ur,n)}function jd(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var o=0;o<l.length;o++){var c=l[o],d=c.getSnapshot;c=c.value;try{if(!la(d(),c))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function ma(n,r){for(r&=~Yu,r&=~zc,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-ra(r),o=1<<l;n[l]=-1,r&=~o}}function ph(n){if(Ge&6)throw Error(v(327));Xu();var r=Oa(n,0);if(!(r&1))return rr(n,ut()),null;var l=jc(n,r);if(n.tag!==0&&l===2){var o=Mf(n);o!==0&&(r=o,l=Hd(n,o))}if(l===1)throw l=is,Kl(n,0),ma(n,r),rr(n,ut()),l;if(l===6)throw Error(v(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,Zl(n,ur,Ri),rr(n,ut()),null}function qu(n,r){var l=Ge;Ge|=1;try{return n(r)}finally{Ge=l,Ge===0&&(Qu=ut()+500,Tn&&Rr())}}function ul(n){ll!==null&&ll.tag===0&&!(Ge&6)&&Xu();var r=Ge;Ge|=1;var l=er.transition,o=mt;try{if(er.transition=null,mt=1,n)return n()}finally{mt=o,er.transition=l,Ge=r,!(Ge&6)&&Rr()}}function Vd(){Qr=Iu.current,dt(Iu)}function Kl(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Bv(l)),Gt!==null)for(l=Gt.return;l!==null;){var o=l;switch(fd(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&sa();break;case 3:tl(),dt(Wt),dt(Ne),cc();break;case 5:Qe(o);break;case 4:tl();break;case 13:dt(De);break;case 19:dt(De);break;case 10:Ki(o.type._context);break;case 22:case 23:Vd()}l=l.return}if(Pt=n,Gt=n=ol(n.current,null),bn=Qr=r,vn=0,is=null,Yu=zc=Ti=0,ur=Wl=null,zn!==null){for(r=0;r<zn.length;r++)if(l=zn[r],o=l.interleaved,o!==null){l.interleaved=null;var c=o.next,d=l.pending;if(d!==null){var y=d.next;d.next=c,o.next=y}l.pending=o}zn=null}return n}function vh(n,r){do{var l=Gt;try{if(hd(),fc.current=kc,_e){for(var o=Mt.memoizedState;o!==null;){var c=o.queue;c!==null&&(c.pending=null),o=o.next}_e=!1}if(Fl=0,Ze=V=Mt=null,qa=!1,Yr=0,Ad.current=null,l===null||l.return===null){vn=1,is=r,Gt=null;break}e:{var d=n,y=l.return,T=l,w=r;if(r=bn,T.flags|=32768,w!==null&&typeof w=="object"&&typeof w.then=="function"){var U=w,I=T,Q=I.tag;if(!(I.mode&1)&&(Q===0||Q===11||Q===15)){var $=I.alternate;$?(I.updateQueue=$.updateQueue,I.memoizedState=$.memoizedState,I.lanes=$.lanes):(I.updateQueue=null,I.memoizedState=null)}var le=wd(y);if(le!==null){le.flags&=-257,bd(le,y,T,d,r),le.mode&1&&nh(d,U,r),r=le,w=U;var pe=r.updateQueue;if(pe===null){var me=new Set;me.add(w),r.updateQueue=me}else pe.add(w);break e}else{if(!(r&1)){nh(d,U,r),Bd();break e}w=Error(v(426))}}else if(Nt&&T.mode&1){var Zt=wd(y);if(Zt!==null){!(Zt.flags&65536)&&(Zt.flags|=256),bd(Zt,y,T,d,r),pd(Fu(w,T));break e}}d=w=Fu(w,T),vn!==4&&(vn=2),Wl===null?Wl=[d]:Wl.push(d),d=y;do{switch(d.tag){case 3:d.flags|=65536,r&=-r,d.lanes|=r;var _=th(d,w,r);gd(d,_);break e;case 1:T=w;var k=d.type,M=d.stateNode;if(!(d.flags&128)&&(typeof k.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(Za===null||!Za.has(M)))){d.flags|=65536,r&=-r,d.lanes|=r;var X=Ko(d,T,r);gd(d,X);break e}}d=d.return}while(d!==null)}Pd(l)}catch(ye){r=ye,Gt===l&&l!==null&&(Gt=l=l.return);continue}break}while(1)}function Hc(){var n=as.current;return as.current=kc,n===null?kc:n}function Bd(){(vn===0||vn===3||vn===2)&&(vn=4),Pt===null||!(Ti&268435455)&&!(zc&268435455)||ma(Pt,bn)}function jc(n,r){var l=Ge;Ge|=2;var o=Hc();(Pt!==n||bn!==r)&&(Ri=null,Kl(n,r));do try{Qy();break}catch(c){vh(n,c)}while(1);if(hd(),Ge=l,as.current=o,Gt!==null)throw Error(v(261));return Pt=null,bn=0,vn}function Qy(){for(;Gt!==null;)hh(Gt)}function Wy(){for(;Gt!==null&&!ji();)hh(Gt)}function hh(n){var r=yh(n.alternate,n,Qr);n.memoizedProps=n.pendingProps,r===null?Pd(n):Gt=r,Ad.current=null}function Pd(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=Md(l,r),l!==null){l.flags&=32767,Gt=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{vn=6,Gt=null;return}}else if(l=Yy(l,r,Qr),l!==null){Gt=l;return}if(r=r.sibling,r!==null){Gt=r;return}Gt=r=n}while(r!==null);vn===0&&(vn=5)}function Zl(n,r,l){var o=mt,c=er.transition;try{er.transition=null,mt=1,Gy(n,r,l,o)}finally{er.transition=c,mt=o}return null}function Gy(n,r,l,o){do Xu();while(ll!==null);if(Ge&6)throw Error(v(327));l=n.finishedWork;var c=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(v(177));n.callbackNode=null,n.callbackPriority=0;var d=l.lanes|l.childLanes;if(Cy(n,d),n===Pt&&(Gt=Pt=null,bn=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||il||(il=!0,$d(Vi,function(){return Xu(),null})),d=(l.flags&15990)!==0,l.subtreeFlags&15990||d){d=er.transition,er.transition=null;var y=mt;mt=1;var T=Ge;Ge|=4,Ad.current=null,uh(n,l),sh(l,n),Ws(Nl),xl=!!rd,Nl=rd=null,n.current=l,ch(l),Ns(),Ge=T,mt=y,er.transition=d}else n.current=l;if(il&&(il=!1,ll=n,Ac=c),d=n.pendingLanes,d===0&&(Za=null),tv(l.stateNode),rr(n,ut()),r!==null)for(o=n.onRecoverableError,l=0;l<r.length;l++)c=r[l],o(c.value,{componentStack:c.stack,digest:c.digest});if(Uc)throw Uc=!1,n=Gl,Gl=null,n;return Ac&1&&n.tag!==0&&Xu(),d=n.pendingLanes,d&1?n===Fc?Wu++:(Wu=0,Fc=n):Wu=0,Rr(),null}function Xu(){if(ll!==null){var n=zf(Ac),r=er.transition,l=mt;try{if(er.transition=null,mt=16>n?16:n,ll===null)var o=!1;else{if(n=ll,ll=null,Ac=0,Ge&6)throw Error(v(331));var c=Ge;for(Ge|=4,fe=n.current;fe!==null;){var d=fe,y=d.child;if(fe.flags&16){var T=d.deletions;if(T!==null){for(var w=0;w<T.length;w++){var U=T[w];for(fe=U;fe!==null;){var I=fe;switch(I.tag){case 0:case 11:case 15:ns(8,I,d)}var Q=I.child;if(Q!==null)Q.return=I,fe=Q;else for(;fe!==null;){I=fe;var $=I.sibling,le=I.return;if(zd(I),I===U){fe=null;break}if($!==null){$.return=le,fe=$;break}fe=le}}}var pe=d.alternate;if(pe!==null){var me=pe.child;if(me!==null){pe.child=null;do{var Zt=me.sibling;me.sibling=null,me=Zt}while(me!==null)}}fe=d}}if(d.subtreeFlags&2064&&y!==null)y.return=d,fe=y;else e:for(;fe!==null;){if(d=fe,d.flags&2048)switch(d.tag){case 0:case 11:case 15:ns(9,d,d.return)}var _=d.sibling;if(_!==null){_.return=d.return,fe=_;break e}fe=d.return}}var k=n.current;for(fe=k;fe!==null;){y=fe;var M=y.child;if(y.subtreeFlags&2064&&M!==null)M.return=y,fe=M;else e:for(y=k;fe!==null;){if(T=fe,T.flags&2048)try{switch(T.tag){case 0:case 11:case 15:rs(9,T)}}catch(ye){qt(T,T.return,ye)}if(T===y){fe=null;break e}var X=T.sibling;if(X!==null){X.return=T.return,fe=X;break e}fe=T.return}}if(Ge=c,Rr(),_a&&typeof _a.onPostCommitFiberRoot=="function")try{_a.onPostCommitFiberRoot(Co,n)}catch{}o=!0}return o}finally{mt=l,er.transition=r}}return!1}function mh(n,r,l){r=Fu(l,r),r=th(n,r,1),n=Ji(n,r,1),r=tr(),n!==null&&(bl(n,1,r),rr(n,r))}function qt(n,r,l){if(n.tag===3)mh(n,n,l);else for(;r!==null;){if(r.tag===3){mh(r,n,l);break}else if(r.tag===1){var o=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Za===null||!Za.has(o))){n=Fu(l,n),n=Ko(r,n,1),r=Ji(r,n,1),n=tr(),r!==null&&(bl(r,1,n),rr(r,n));break}}r=r.return}}function qy(n,r,l){var o=n.pingCache;o!==null&&o.delete(r),r=tr(),n.pingedLanes|=n.suspendedLanes&l,Pt===n&&(bn&l)===l&&(vn===4||vn===3&&(bn&130023424)===bn&&500>ut()-Fd?Kl(n,0):Yu|=l),rr(n,r)}function Vc(n,r){r===0&&(n.mode&1?(r=gu,gu<<=1,!(gu&130023424)&&(gu=4194304)):r=1);var l=tr();n=yi(n,r),n!==null&&(bl(n,r,l),rr(n,l))}function Xy(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Vc(n,l)}function Ky(n,r){var l=0;switch(n.tag){case 13:var o=n.stateNode,c=n.memoizedState;c!==null&&(l=c.retryLane);break;case 19:o=n.stateNode;break;default:throw Error(v(314))}o!==null&&o.delete(r),Vc(n,l)}var yh;yh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||Wt.current)rn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return rn=!1,Ci(n,r,l);rn=!!(n.flags&131072)}else rn=!1,Nt&&r.flags&1048576&&cd(r,Ou,r.index);switch(r.lanes=0,r.tag){case 2:var o=r.type;Zn(n,r),n=r.pendingProps;var c=oa(r,Ne.current);J(r,l),c=nl(null,r,o,n,c,l);var d=Vl();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Ft(o)?(d=!0,Js(r)):d=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,yd(r),c.updater=uc,r.stateNode=c,c._reactInternals=r,oc(r,o,n,l),r=rh(null,r,o,!0,d,l)):(r.tag=0,Nt&&d&&ec(r),fn(null,r,c,l),r=r.child),r;case 16:o=r.elementType;e:{switch(Zn(n,r),n=r.pendingProps,c=o._init,o=c(o._payload),r.type=o,c=r.tag=Jy(o),n=Ir(o,n),c){case 0:r=Hu(null,r,o,n,l);break e;case 1:r=xd(null,r,o,n,l);break e;case 11:r=al(null,r,o,n,l);break e;case 14:r=_c(null,r,o,Ir(o.type,n),l);break e}throw Error(v(306,o,""))}return r;case 0:return o=r.type,c=r.pendingProps,c=r.elementType===o?c:Ir(o,c),Hu(n,r,o,c,l);case 1:return o=r.type,c=r.pendingProps,c=r.elementType===o?c:Ir(o,c),xd(n,r,o,c,l);case 3:e:{if(ah(r),n===null)throw Error(v(387));o=r.pendingProps,d=r.memoizedState,c=d.element,cn(n,r),el(r,o,null,l);var y=r.memoizedState;if(o=y.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},r.updateQueue.baseState=d,r.memoizedState=d,r.flags&256){c=Fu(Error(v(423)),r),r=Oc(n,r,o,l,c);break e}else if(o!==c){c=Fu(Error(v(424)),r),r=Oc(n,r,o,l,c);break e}else for(xr=za(r.stateNode.containerInfo.firstChild),$r=r,Nt=!0,fa=null,l=Jv(r,null,o,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Vt(),o===c){r=Un(n,r,l);break e}fn(n,r,o,l)}r=r.child}return r;case 5:return xe(r),n===null&&nc(r),o=r.type,c=r.pendingProps,d=n!==null?n.memoizedProps:null,y=c.children,jo(o,c)?y=null:d!==null&&jo(o,d)&&(r.flags|=32),Ve(n,r),fn(n,r,y,l),r.child;case 6:return n===null&&nc(r),null;case 13:return Dd(n,r,l);case 4:return Cd(r,r.stateNode.containerInfo),o=r.pendingProps,n===null?r.child=Mu(r,null,o,l):fn(n,r,o,l),r.child;case 11:return o=r.type,c=r.pendingProps,c=r.elementType===o?c:Ir(o,c),al(n,r,o,c,l);case 7:return fn(n,r,r.pendingProps,l),r.child;case 8:return fn(n,r,r.pendingProps.children,l),r.child;case 12:return fn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(o=r.type._context,c=r.pendingProps,d=r.memoizedProps,y=c.value,pt(Ga,o._currentValue),o._currentValue=y,d!==null)if(la(d.value,y)){if(d.children===c.children&&!Wt.current){r=Un(n,r,l);break e}}else for(d=r.child,d!==null&&(d.return=r);d!==null;){var T=d.dependencies;if(T!==null){y=d.child;for(var w=T.firstContext;w!==null;){if(w.context===o){if(d.tag===1){w=gi(-1,l&-l),w.tag=2;var U=d.updateQueue;if(U!==null){U=U.shared;var I=U.pending;I===null?w.next=w:(w.next=I.next,I.next=w),U.pending=w}}d.lanes|=l,w=d.alternate,w!==null&&(w.lanes|=l),Rn(d.return,l,r),T.lanes|=l;break}w=w.next}}else if(d.tag===10)y=d.type===r.type?null:d.child;else if(d.tag===18){if(y=d.return,y===null)throw Error(v(341));y.lanes|=l,T=y.alternate,T!==null&&(T.lanes|=l),Rn(y,l,r),y=d.sibling}else y=d.child;if(y!==null)y.return=d;else for(y=d;y!==null;){if(y===r){y=null;break}if(d=y.sibling,d!==null){d.return=y.return,y=d;break}y=y.return}d=y}fn(n,r,c.children,l),r=r.child}return r;case 9:return c=r.type,o=r.pendingProps.children,J(r,l),c=Kt(c),o=o(c),r.flags|=1,fn(n,r,o,l),r.child;case 14:return o=r.type,c=Ir(o,r.pendingProps),c=Ir(o.type,c),_c(n,r,o,c,l);case 15:return _r(n,r,r.type,r.pendingProps,l);case 17:return o=r.type,c=r.pendingProps,c=r.elementType===o?c:Ir(o,c),Zn(n,r),r.tag=1,Ft(o)?(n=!0,Js(r)):n=!1,J(r,l),qv(r,o,c),oc(r,o,c,l),rh(null,r,o,!0,n,l);case 19:return Nd(n,r,l);case 22:return Il(n,r,l)}throw Error(v(156,r.tag))};function $d(n,r){return At(n,r)}function Zy(n,r,l,o){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ya(n,r,l,o){return new Zy(n,r,l,o)}function Id(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Jy(n){if(typeof n=="function")return Id(n)?1:0;if(n!=null){if(n=n.$$typeof,n===On)return 11;if(n===mn)return 14}return 2}function ol(n,r){var l=n.alternate;return l===null?(l=ya(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function Bc(n,r,l,o,c,d){var y=2;if(o=n,typeof n=="function")Id(n)&&(y=1);else if(typeof n=="string")y=5;else e:switch(n){case $e:return Jl(l.children,c,d,r);case _n:y=8,c|=8;break;case Yn:return n=ya(12,l,r,c|2),n.elementType=Yn,n.lanes=d,n;case Ue:return n=ya(13,l,r,c),n.elementType=Ue,n.lanes=d,n;case Ke:return n=ya(19,l,r,c),n.elementType=Ke,n.lanes=d,n;case ar:return us(l,c,d,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Qt:y=10;break e;case gt:y=9;break e;case On:y=11;break e;case mn:y=14;break e;case _t:y=16,o=null;break e}throw Error(v(130,n==null?n:typeof n,""))}return r=ya(y,l,r,c),r.elementType=n,r.type=o,r.lanes=d,r}function Jl(n,r,l,o){return n=ya(7,n,o,r),n.lanes=l,n}function us(n,r,l,o){return n=ya(22,n,o,r),n.elementType=ar,n.lanes=l,n.stateNode={isHidden:!1},n}function os(n,r,l){return n=ya(6,n,null,r),n.lanes=l,n}function eu(n,r,l){return r=ya(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function eg(n,r,l,o,c){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Lf(0),this.expirationTimes=Lf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lf(0),this.identifierPrefix=o,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Pc(n,r,l,o,c,d,y,T,w){return n=new eg(n,r,l,T,w),r===1?(r=1,d===!0&&(r|=8)):r=0,d=ya(3,null,null,r),n.current=d,d.stateNode=n,d.memoizedState={element:o,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},yd(d),n}function gh(n,r,l){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Dt,key:o==null?null:""+o,children:n,containerInfo:r,implementation:l}}function Yd(n){if(!n)return Wa;n=n._reactInternals;e:{if(Be(n)!==n||n.tag!==1)throw Error(v(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Ft(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(v(171))}if(n.tag===1){var l=n.type;if(Ft(l))return Po(n,l,r)}return r}function Sh(n,r,l,o,c,d,y,T,w){return n=Pc(l,o,!0,n,c,d,y,T,w),n.context=Yd(null),l=n.current,o=tr(),c=an(l),d=gi(o,c),d.callback=r??null,Ji(l,d,c),n.current.lanes=c,bl(n,c,o),rr(n,o),n}function ss(n,r,l,o){var c=r.current,d=tr(),y=an(c);return l=Yd(l),r.context===null?r.context=l:r.pendingContext=l,r=gi(d,y),r.payload={element:n},o=o===void 0?null:o,o!==null&&(r.callback=o),n=Ji(c,r,y),n!==null&&(nr(n,c,y,d),lc(n,c,y)),y}function $c(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Ch(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function Qd(n,r){Ch(n,r),(n=n.alternate)&&Ch(n,r)}function Eh(){return null}var Wd=typeof reportError=="function"?reportError:function(n){console.error(n)};function Ic(n){this._internalRoot=n}wi.prototype.render=Ic.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(v(409));ss(n,r,null,null)},wi.prototype.unmount=Ic.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;ul(function(){ss(null,n,null,null)}),r[hi]=null}};function wi(n){this._internalRoot=n}wi.prototype.unstable_scheduleHydration=function(n){if(n){var r=iv();n={blockedOn:null,target:n,priority:r};for(var l=0;l<St.length&&r!==0&&r<St[l].priority;l++);St.splice(l,0,n),l===0&&lv(n)}};function Gd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Yc(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Th(){}function tg(n,r,l,o,c){if(c){if(typeof o=="function"){var d=o;o=function(){var U=$c(y);d.call(U)}}var y=Sh(r,o,n,0,null,!1,!1,"",Th);return n._reactRootContainer=y,n[hi]=y.current,Du(n.nodeType===8?n.parentNode:n),ul(),y}for(;c=n.lastChild;)n.removeChild(c);if(typeof o=="function"){var T=o;o=function(){var U=$c(w);T.call(U)}}var w=Pc(n,0,!1,null,null,!1,!1,"",Th);return n._reactRootContainer=w,n[hi]=w.current,Du(n.nodeType===8?n.parentNode:n),ul(function(){ss(r,w,l,o)}),w}function Qc(n,r,l,o,c){var d=l._reactRootContainer;if(d){var y=d;if(typeof c=="function"){var T=c;c=function(){var w=$c(y);T.call(w)}}ss(r,y,n,c)}else y=tg(l,r,n,c,o);return $c(y)}av=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=wl(r.pendingLanes);l!==0&&(Eo(r,l|1),rr(r,ut()),!(Ge&6)&&(Qu=ut()+500,Rr()))}break;case 13:ul(function(){var o=yi(n,1);if(o!==null){var c=tr();nr(o,n,1,c)}}),Qd(n,1)}},Us=function(n){if(n.tag===13){var r=yi(n,134217728);if(r!==null){var l=tr();nr(r,n,134217728,l)}Qd(n,134217728)}},Rt=function(n){if(n.tag===13){var r=an(n),l=yi(n,r);if(l!==null){var o=tr();nr(l,n,r,o)}Qd(n,r)}},iv=function(){return mt},Uf=function(n,r){var l=mt;try{return mt=n,r()}finally{mt=l}},Hr=function(n,r,l){switch(r){case"input":if(qn(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var o=l[r];if(o!==n&&o.form===n.form){var c=Te(o);if(!c)throw Error(v(90));ta(o),qn(o,c)}}}break;case"textarea":Ia(n,l);break;case"select":r=l.value,r!=null&&$a(n,!!l.multiple,r,!1)}},So=qu,Os=ul;var ng={usingClientEntryPoint:!1,Events:[Bo,_u,Te,El,hu,qu]},Ku={findFiberByHostInstance:ua,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rg={bundleType:Ku.bundleType,version:Ku.version,rendererPackageName:Ku.rendererPackageName,rendererConfig:Ku.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ct.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Sn(n),n===null?null:n.stateNode},findFiberByHostInstance:Ku.findFiberByHostInstance||Eh,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wc.isDisabled&&Wc.supportsFiber)try{Co=Wc.inject(rg),_a=Wc}catch{}}return Zr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ng,Zr.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Gd(r))throw Error(v(200));return gh(n,r,null,l)},Zr.createRoot=function(n,r){if(!Gd(n))throw Error(v(299));var l=!1,o="",c=Wd;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=Pc(n,1,!1,null,null,l,!1,o,c),n[hi]=r.current,Du(n.nodeType===8?n.parentNode:n),new Ic(r)},Zr.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(v(188)):(n=Object.keys(n).join(","),Error(v(268,n)));return n=Sn(r),n=n===null?null:n.stateNode,n},Zr.flushSync=function(n){return ul(n)},Zr.hydrate=function(n,r,l){if(!Yc(r))throw Error(v(200));return Qc(null,n,r,!0,l)},Zr.hydrateRoot=function(n,r,l){if(!Gd(n))throw Error(v(405));var o=l!=null&&l.hydratedSources||null,c=!1,d="",y=Wd;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onRecoverableError!==void 0&&(y=l.onRecoverableError)),r=Sh(r,null,n,1,l??null,c,!1,d,y),n[hi]=r.current,Du(n),o)for(n=0;n<o.length;n++)l=o[n],c=l._getVersion,c=c(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,c]:r.mutableSourceEagerHydrationData.push(l,c);return new wi(r)},Zr.render=function(n,r,l){if(!Yc(r))throw Error(v(200));return Qc(null,n,r,!1,l)},Zr.unmountComponentAtNode=function(n){if(!Yc(n))throw Error(v(40));return n._reactRootContainer?(ul(function(){Qc(null,null,n,!1,function(){n._reactRootContainer=null,n[hi]=null})}),!0):!1},Zr.unstable_batchedUpdates=qu,Zr.unstable_renderSubtreeIntoContainer=function(n,r,l,o){if(!Yc(l))throw Error(v(200));if(n==null||n._reactInternals===void 0)throw Error(v(38));return Qc(n,r,l,!1,o)},Zr.version="18.2.0-next-9e3b772b8-20220608",Zr}var Jr={};var A1;function Kw(){return A1||(A1=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var h=yt,g=z1(),v=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,b=!1;function A(e){b=e}function B(e){if(!b){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];q("warn",e,a)}}function C(e){if(!b){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];q("error",e,a)}}function q(e,t,a){{var i=v.ReactDebugCurrentFrame,u=i.getStackAddendum();u!==""&&(t+="%s",a=a.concat([u]));var s=a.map(function(f){return String(f)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var F=0,W=1,Se=2,K=3,ae=4,ie=5,de=6,tt=7,it=8,Yt=9,Xe=10,Fe=11,ct=12,Ie=13,Dt=14,$e=15,_n=16,Yn=17,Qt=18,gt=19,On=21,Ue=22,Ke=23,mn=24,_t=25,ar=!0,Z=!1,we=!1,oe=!1,lt=!1,ft=!0,Nn=!1,ir=!1,Ba=!0,on=!0,ea=!0,Qn=new Set,gr={},Pa={};function Sr(e,t){ta(e,t),ta(e+"Capture",t)}function ta(e,t){gr[e]&&C("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),gr[e]=t;{var a=e.toLowerCase();Pa[a]=e,e==="onDoubleClick"&&(Pa.ondblclick=e)}for(var i=0;i<t.length;i++)Qn.add(t[i])}var yn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Wn=Object.prototype.hasOwnProperty;function Mn(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Gn(e){try{return qn(e),!1}catch{return!0}}function qn(e){return""+e}function na(e,t){if(Gn(e))return C("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Mn(e)),qn(e)}function wa(e){if(Gn(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Mn(e)),qn(e)}function ui(e,t){if(Gn(e))return C("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Mn(e)),qn(e)}function $a(e,t){if(Gn(e))return C("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Mn(e)),qn(e)}function ba(e){if(Gn(e))return C("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Mn(e)),qn(e)}function Ur(e){if(Gn(e))return C("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Mn(e)),qn(e)}var Ia=0,Ar=1,xa=2,en=3,Fr=4,Ai=5,ka=6,te=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ee=te+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ye=new RegExp("^["+te+"]["+Ee+"]*$"),ht={},jt={};function gn(e){return Wn.call(jt,e)?!0:Wn.call(ht,e)?!1:Ye.test(e)?(jt[e]=!0,!0):(ht[e]=!0,C("Invalid attribute name: `%s`",e),!1)}function Xt(e,t,a){return t!==null?t.type===Ia:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Cr(e,t,a,i){if(a!==null&&a.type===Ia)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(a!==null)return!a.acceptsBooleans;var u=e.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function xt(e,t,a,i){if(t===null||typeof t>"u"||Cr(e,t,a,i))return!0;if(i)return!1;if(a!==null)switch(a.type){case en:return!t;case Fr:return t===!1;case Ai:return isNaN(t);case ka:return isNaN(t)||t<1}return!1}function Hr(e){return kt.hasOwnProperty(e)?kt[e]:null}function Tt(e,t,a,i,u,s,f){this.acceptsBooleans=t===xa||t===en||t===Fr,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=f}var kt={},vu=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];vu.forEach(function(e){kt[e]=new Tt(e,Ia,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];kt[t]=new Tt(t,Ar,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){kt[e]=new Tt(e,xa,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){kt[e]=new Tt(e,xa,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){kt[e]=new Tt(e,en,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){kt[e]=new Tt(e,en,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){kt[e]=new Tt(e,Fr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){kt[e]=new Tt(e,ka,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){kt[e]=new Tt(e,Ai,!1,e.toLowerCase(),null,!1,!1)});var El=/[\-\:]([a-z])/g,hu=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(El,hu);kt[t]=new Tt(t,Ar,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(El,hu);kt[t]=new Tt(t,Ar,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(El,hu);kt[t]=new Tt(t,Ar,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){kt[e]=new Tt(e,Ar,!1,e.toLowerCase(),null,!1,!1)});var So="xlinkHref";kt[So]=new Tt("xlinkHref",Ar,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){kt[e]=new Tt(e,Ar,!1,e.toLowerCase(),null,!0,!0)});var Os=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Tl=!1;function mu(e){!Tl&&Os.test(e)&&(Tl=!0,C("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Rl(e,t,a,i){if(i.mustUseProperty){var u=i.propertyName;return e[u]}else{na(a,t),i.sanitizeURL&&mu(""+a);var s=i.attributeName,f=null;if(i.type===Fr){if(e.hasAttribute(s)){var p=e.getAttribute(s);return p===""?!0:xt(t,a,i,!1)?p:p===""+a?a:p}}else if(e.hasAttribute(s)){if(xt(t,a,i,!1))return e.getAttribute(s);if(i.type===en)return a;f=e.getAttribute(s)}return xt(t,a,i,!1)?f===null?a:f:f===""+a?a:f}}function yu(e,t,a,i){{if(!gn(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var u=e.getAttribute(t);return na(a,t),u===""+a?a:u}}function Ya(e,t,a,i){var u=Hr(t);if(!Xt(t,u,i)){if(xt(t,a,u,i)&&(a=null),i||u===null){if(gn(t)){var s=t;a===null?e.removeAttribute(s):(na(a,t),e.setAttribute(s,""+a))}return}var f=u.mustUseProperty;if(f){var p=u.propertyName;if(a===null){var m=u.type;e[p]=m===en?!1:""}else e[p]=a;return}var S=u.attributeName,E=u.attributeNamespace;if(a===null)e.removeAttribute(S);else{var D=u.type,x;D===en||D===Fr&&a===!0?x="":(na(a,S),x=""+a,u.sanitizeURL&&mu(x.toString())),E?e.setAttributeNS(E,S,x):e.setAttribute(S,x)}}}var Fi=Symbol.for("react.element"),jr=Symbol.for("react.portal"),Da=Symbol.for("react.fragment"),Hi=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),Y=Symbol.for("react.provider"),ne=Symbol.for("react.context"),be=Symbol.for("react.forward_ref"),Be=Symbol.for("react.suspense"),rt=Symbol.for("react.suspense_list"),Pe=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),Sn=Symbol.for("react.scope"),Ut=Symbol.for("react.debug_trace_mode"),At=Symbol.for("react.offscreen"),lr=Symbol.for("react.legacy_hidden"),ji=Symbol.for("react.cache"),Ns=Symbol.for("react.tracing_marker"),ut=Symbol.iterator,gy="@@iterator";function oi(e){if(e===null||typeof e!="object")return null;var t=ut&&e[ut]||e[gy];return typeof t=="function"?t:null}var We=Object.assign,Vi=0,ev,Of,Co,_a,tv,ra,nv;function rv(){}rv.__reactDisabledLog=!0;function Sy(){{if(Vi===0){ev=console.log,Of=console.info,Co=console.warn,_a=console.error,tv=console.group,ra=console.groupCollapsed,nv=console.groupEnd;var e={configurable:!0,enumerable:!0,value:rv,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Vi++}}function Ms(){{if(Vi--,Vi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:We({},e,{value:ev}),info:We({},e,{value:Of}),warn:We({},e,{value:Co}),error:We({},e,{value:_a}),group:We({},e,{value:tv}),groupCollapsed:We({},e,{value:ra}),groupEnd:We({},e,{value:nv})})}Vi<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var gu=v.ReactCurrentDispatcher,wl;function Oa(e,t,a){{if(wl===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);wl=i&&i[1]||""}return`
74
- `+wl+e}}var Nf=!1,Ls;{var Mf=typeof WeakMap=="function"?WeakMap:Map;Ls=new Mf}function zs(e,t){if(!e||Nf)return"";{var a=Ls.get(e);if(a!==void 0)return a}var i;Nf=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=gu.current,gu.current=null,Sy();try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(z){i=z}Reflect.construct(e,[],f)}else{try{f.call()}catch(z){i=z}e.call(f.prototype)}}else{try{throw Error()}catch(z){i=z}e()}}catch(z){if(z&&i&&typeof z.stack=="string"){for(var p=z.stack.split(`
75
- `),m=i.stack.split(`
76
- `),S=p.length-1,E=m.length-1;S>=1&&E>=0&&p[S]!==m[E];)E--;for(;S>=1&&E>=0;S--,E--)if(p[S]!==m[E]){if(S!==1||E!==1)do if(S--,E--,E<0||p[S]!==m[E]){var D=`
77
- `+p[S].replace(" at new "," at ");return e.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",e.displayName)),typeof e=="function"&&Ls.set(e,D),D}while(S>=1&&E>=0);break}}}finally{Nf=!1,gu.current=s,Ms(),Error.prepareStackTrace=u}var x=e?e.displayName||e.name:"",L=x?Oa(x):"";return typeof e=="function"&&Ls.set(e,L),L}function Lf(e,t,a){return zs(e,!0)}function bl(e,t,a){return zs(e,!1)}function Cy(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Eo(e,t,a){if(e==null)return"";if(typeof e=="function")return zs(e,Cy(e));if(typeof e=="string")return Oa(e);switch(e){case Be:return Oa("Suspense");case rt:return Oa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case be:return bl(e.render);case Pe:return Eo(e.type,t,a);case ke:{var i=e,u=i._payload,s=i._init;try{return Eo(s(u),t,a)}catch{}}}return""}function mt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case ie:return Oa(e.type);case _n:return Oa("Lazy");case Ie:return Oa("Suspense");case gt:return Oa("SuspenseList");case F:case Se:case $e:return bl(e.type);case Fe:return bl(e.type.render);case W:return Lf(e.type);default:return""}}function zf(e){try{var t="",a=e;do t+=mt(a),a=a.return;while(a);return t}catch(i){return`
78
- Error generating stack: `+i.message+`
79
- `+i.stack}}function av(e,t,a){var i=e.displayName;if(i)return i;var u=t.displayName||t.name||"";return u!==""?a+"("+u+")":a}function Us(e){return e.displayName||"Context"}function Rt(e){if(e==null)return null;if(typeof e.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Da:return"Fragment";case jr:return"Portal";case R:return"Profiler";case Hi:return"StrictMode";case Be:return"Suspense";case rt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ne:var t=e;return Us(t)+".Consumer";case Y:var a=e;return Us(a._context)+".Provider";case be:return av(e,e.render,"ForwardRef");case Pe:var i=e.displayName||null;return i!==null?i:Rt(e.type)||"Memo";case ke:{var u=e,s=u._payload,f=u._init;try{return Rt(f(s))}catch{return null}}}return null}function iv(e,t,a){var i=t.displayName||t.name||"";return e.displayName||(i!==""?a+"("+i+")":a)}function Uf(e){return e.displayName||"Context"}function He(e){var t=e.tag,a=e.type;switch(t){case mn:return"Cache";case Yt:var i=a;return Uf(i)+".Consumer";case Xe:var u=a;return Uf(u._context)+".Provider";case Qt:return"DehydratedFragment";case Fe:return iv(a,a.render,"ForwardRef");case tt:return"Fragment";case ie:return a;case ae:return"Portal";case K:return"Root";case de:return"Text";case _n:return Rt(a);case it:return a===Hi?"StrictMode":"Mode";case Ue:return"Offscreen";case ct:return"Profiler";case On:return"Scope";case Ie:return"Suspense";case gt:return"SuspenseList";case _t:return"TracingMarker";case W:case F:case Yn:case Se:case Dt:case $e:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var To=v.ReactDebugCurrentFrame,tn=null,aa=!1;function ia(){{if(tn===null)return null;var e=tn._debugOwner;if(e!==null&&typeof e<"u")return He(e)}return null}function Ro(){return tn===null?"":zf(tn)}function sn(){To.getCurrentStack=null,tn=null,aa=!1}function St(e){To.getCurrentStack=e===null?null:Ro,tn=e,aa=!1}function Ey(){return tn}function Na(e){aa=e}function Xn(e){return""+e}function Bi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ur(e),e;default:return""}}var lv={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Su(e,t){lv[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||C("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||C("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Af(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function uv(e){return e._valueTracker}function wo(e){e._valueTracker=null}function bo(e){var t="";return e&&(Af(e)?t=e.checked?"true":"false":t=e.value),t}function Cu(e){var t=Af(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Ur(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var u=a.get,s=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(p){Ur(p),i=""+p,s.call(this,p)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var f={getValue:function(){return i},setValue:function(p){Ur(p),i=""+p},stopTracking:function(){wo(e),delete e[t]}};return f}}function xl(e){uv(e)||(e._valueTracker=Cu(e))}function ov(e){if(!e)return!1;var t=uv(e);if(!t)return!0;var a=t.getValue(),i=bo(e);return i!==a?(t.setValue(i),!0):!1}function As(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Fs=!1,xo=!1,Hs=!1,Ff=!1;function si(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function ko(e,t){var a=e,i=t.checked,u=We({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??a._wrapperState.initialChecked});return u}function Do(e,t){Su("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!xo&&(C("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ia()||"A component",t.type),xo=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Fs&&(C("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ia()||"A component",t.type),Fs=!0);var a=e,i=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Bi(t.value!=null?t.value:i),controlled:si(t)}}function Hf(e,t){var a=e,i=t.checked;i!=null&&Ya(a,"checked",i,!1)}function Eu(e,t){var a=e;{var i=si(t);!a._wrapperState.controlled&&i&&!Ff&&(C("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Ff=!0),a._wrapperState.controlled&&!i&&!Hs&&(C("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Hs=!0)}Hf(e,t);var u=Bi(t.value),s=t.type;if(u!=null)s==="number"?(u===0&&a.value===""||a.value!=u)&&(a.value=Xn(u)):a.value!==Xn(u)&&(a.value=Xn(u));else if(s==="submit"||s==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?Pi(a,t.type,u):t.hasOwnProperty("defaultValue")&&Pi(a,t.type,Bi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function _o(e,t,a){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type,s=u==="submit"||u==="reset";if(s&&(t.value===void 0||t.value===null))return;var f=Xn(i._wrapperState.initialValue);a||f!==i.value&&(i.value=f),i.defaultValue=f}var p=i.name;p!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,p!==""&&(i.name=p)}function sv(e,t){var a=e;Eu(a,t),Vr(a,t)}function Vr(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var i=e;i.parentNode;)i=i.parentNode;na(a,"name");for(var u=i.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),s=0;s<u.length;s++){var f=u[s];if(!(f===e||f.form!==e.form)){var p=jh(f);if(!p)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");ov(f),Eu(f,p)}}}}function Pi(e,t,a){(t!=="number"||As(e.ownerDocument)!==e)&&(a==null?e.defaultValue=Xn(e._wrapperState.initialValue):e.defaultValue!==Xn(a)&&(e.defaultValue=Xn(a)))}var js=!1,Tu=!1,cv=!1;function Vs(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?h.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||Tu||(Tu=!0,C("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(cv||(cv=!0,C("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!js&&(C("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),js=!0)}function jf(e,t){t.value!=null&&e.setAttribute("value",Xn(Bi(t.value)))}var Oo=Array.isArray;function Cn(e){return Oo(e)}var Bs;Bs=!1;function fv(){var e=ia();return e?`
80
-
81
- Check the render method of \``+e+"`.":""}var dv=["value","defaultValue"];function Ty(e){{Su("select",e);for(var t=0;t<dv.length;t++){var a=dv[t];if(e[a]!=null){var i=Cn(e[a]);e.multiple&&!i?C("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,fv()):!e.multiple&&i&&C("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,fv())}}}}function $i(e,t,a,i){var u=e.options;if(t){for(var s=a,f={},p=0;p<s.length;p++)f["$"+s[p]]=!0;for(var m=0;m<u.length;m++){var S=f.hasOwnProperty("$"+u[m].value);u[m].selected!==S&&(u[m].selected=S),S&&i&&(u[m].defaultSelected=!0)}}else{for(var E=Xn(Bi(a)),D=null,x=0;x<u.length;x++){if(u[x].value===E){u[x].selected=!0,i&&(u[x].defaultSelected=!0);return}D===null&&!u[x].disabled&&(D=u[x])}D!==null&&(D.selected=!0)}}function Vf(e,t){return We({},t,{value:void 0})}function pv(e,t){var a=e;Ty(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Bs&&(C("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Bs=!0)}function Ry(e,t){var a=e;a.multiple=!!t.multiple;var i=t.value;i!=null?$i(a,!!t.multiple,i,!1):t.defaultValue!=null&&$i(a,!!t.multiple,t.defaultValue,!0)}function wy(e,t){var a=e,i=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var u=t.value;u!=null?$i(a,!!t.multiple,u,!1):i!==!!t.multiple&&(t.defaultValue!=null?$i(a,!!t.multiple,t.defaultValue,!0):$i(a,!!t.multiple,t.multiple?[]:"",!1))}function by(e,t){var a=e,i=t.value;i!=null&&$i(a,!!t.multiple,i,!1)}var Bf=!1;function Pf(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=We({},t,{value:void 0,defaultValue:void 0,children:Xn(a._wrapperState.initialValue)});return i}function vv(e,t){var a=e;Su("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Bf&&(C("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",ia()||"A component"),Bf=!0);var i=t.value;if(i==null){var u=t.children,s=t.defaultValue;if(u!=null){C("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Cn(u)){if(u.length>1)throw new Error("<textarea> can only have at most one child.");u=u[0]}s=u}}s==null&&(s=""),i=s}a._wrapperState={initialValue:Bi(i)}}function hv(e,t){var a=e,i=Bi(t.value),u=Bi(t.defaultValue);if(i!=null){var s=Xn(i);s!==a.value&&(a.value=s),t.defaultValue==null&&a.defaultValue!==s&&(a.defaultValue=s)}u!=null&&(a.defaultValue=Xn(u))}function mv(e,t){var a=e,i=a.textContent;i===a._wrapperState.initialValue&&i!==""&&i!==null&&(a.value=i)}function $f(e,t){hv(e,t)}var ci="http://www.w3.org/1999/xhtml",xy="http://www.w3.org/1998/Math/MathML",If="http://www.w3.org/2000/svg";function Ps(e){switch(e){case"svg":return If;case"math":return xy;default:return ci}}function Yf(e,t){return e==null||e===ci?Ps(t):e===If&&t==="foreignObject"?ci:e}var ky=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,a,i,u)})}:e},$s,yv=ky(function(e,t){if(e.namespaceURI===If&&!("innerHTML"in e)){$s=$s||document.createElement("div"),$s.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=$s.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),Er=1,fi=3,nn=8,Ma=9,kl=11,Is=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===fi){a.nodeValue=t;return}}e.textContent=t},gv={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Ru={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Sv(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Cv=["Webkit","ms","Moz","O"];Object.keys(Ru).forEach(function(e){Cv.forEach(function(t){Ru[Sv(t,e)]=Ru[e]})});function Ys(e,t,a){var i=t==null||typeof t=="boolean"||t==="";return i?"":!a&&typeof t=="number"&&t!==0&&!(Ru.hasOwnProperty(e)&&Ru[e])?t+"px":($a(t,e),(""+t).trim())}var wu=/([A-Z])/g,Dy=/^ms-/;function _y(e){return e.replace(wu,"-$1").toLowerCase().replace(Dy,"-ms-")}var Ev=function(){};{var Tv=/^(?:webkit|moz|o)[A-Z]/,Rv=/^-ms-/,No=/-(.)/g,bu=/;\s*$/,xu={},ku={},wv=!1,Qf=!1,Wf=function(e){return e.replace(No,function(t,a){return a.toUpperCase()})},Gf=function(e){xu.hasOwnProperty(e)&&xu[e]||(xu[e]=!0,C("Unsupported style property %s. Did you mean %s?",e,Wf(e.replace(Rv,"ms-"))))},bv=function(e){xu.hasOwnProperty(e)&&xu[e]||(xu[e]=!0,C("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},xv=function(e,t){ku.hasOwnProperty(t)&&ku[t]||(ku[t]=!0,C(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(bu,"")))},kv=function(e,t){wv||(wv=!0,C("`NaN` is an invalid value for the `%s` css style property.",e))},Oy=function(e,t){Qf||(Qf=!0,C("`Infinity` is an invalid value for the `%s` css style property.",e))};Ev=function(e,t){e.indexOf("-")>-1?Gf(e):Tv.test(e)?bv(e):bu.test(t)&&xv(e,t),typeof t=="number"&&(isNaN(t)?kv(e,t):isFinite(t)||Oy(e,t))}}var Ny=Ev;function My(e){{var t="",a="";for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];if(u!=null){var s=i.indexOf("--")===0;t+=a+(s?i:_y(i))+":",t+=Ys(i,u,s),a=";"}}return t||null}}function Dv(e,t){var a=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0;u||Ny(i,t[i]);var s=Ys(i,t[i],u);i==="float"&&(i="cssFloat"),u?a.setProperty(i,s):a[i]=s}}function Ly(e){return e==null||typeof e=="boolean"||e===""}function la(e){var t={};for(var a in e)for(var i=gv[a]||[a],u=0;u<i.length;u++)t[i[u]]=a;return t}function Mo(e,t){{if(!t)return;var a=la(e),i=la(t),u={};for(var s in a){var f=a[s],p=i[s];if(p&&f!==p){var m=f+","+p;if(u[m])continue;u[m]=!0,C("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Ly(e[f])?"Removing":"Updating",f,p)}}}}var _v={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ov=We({menuitem:!0},_v),Nv="__html";function Qs(e,t){if(t){if(Ov[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Nv in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&C("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function di(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ws={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Mv={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},La={},qf=new RegExp("^(aria)-["+Ee+"]*$"),Lo=new RegExp("^(aria)[A-Z]["+Ee+"]*$");function Xf(e,t){{if(Wn.call(La,t)&&La[t])return!0;if(Lo.test(t)){var a="aria-"+t.slice(4).toLowerCase(),i=Mv.hasOwnProperty(a)?a:null;if(i==null)return C("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),La[t]=!0,!0;if(t!==i)return C("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),La[t]=!0,!0}if(qf.test(t)){var u=t.toLowerCase(),s=Mv.hasOwnProperty(u)?u:null;if(s==null)return La[t]=!0,!1;if(t!==s)return C("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),La[t]=!0,!0}}return!0}function Lv(e,t){{var a=[];for(var i in t){var u=Xf(e,i);u||a.push(i)}var s=a.map(function(f){return"`"+f+"`"}).join(", ");a.length===1?C("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e):a.length>1&&C("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e)}}function Gs(e,t){di(e,t)||Lv(e,t)}var Dl=!1;function Kf(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Dl&&(Dl=!0,e==="select"&&t.multiple?C("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):C("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Zf=function(){};{var En={},Jf=/^on./,zv=/^on[^A-Z]/,Uv=new RegExp("^(aria)-["+Ee+"]*$"),Av=new RegExp("^(aria)[A-Z]["+Ee+"]*$");Zf=function(e,t,a,i){if(Wn.call(En,t)&&En[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return C("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),En[t]=!0,!0;if(i!=null){var s=i.registrationNameDependencies,f=i.possibleRegistrationNames;if(s.hasOwnProperty(t))return!0;var p=f.hasOwnProperty(u)?f[u]:null;if(p!=null)return C("Invalid event handler property `%s`. Did you mean `%s`?",t,p),En[t]=!0,!0;if(Jf.test(t))return C("Unknown event handler property `%s`. It will be ignored.",t),En[t]=!0,!0}else if(Jf.test(t))return zv.test(t)&&C("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),En[t]=!0,!0;if(Uv.test(t)||Av.test(t))return!0;if(u==="innerhtml")return C("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),En[t]=!0,!0;if(u==="aria")return C("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),En[t]=!0,!0;if(u==="is"&&a!==null&&a!==void 0&&typeof a!="string")return C("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),En[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return C("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),En[t]=!0,!0;var m=Hr(t),S=m!==null&&m.type===Ia;if(Ws.hasOwnProperty(u)){var E=Ws[u];if(E!==t)return C("Invalid DOM property `%s`. Did you mean `%s`?",t,E),En[t]=!0,!0}else if(!S&&t!==u)return C("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,u),En[t]=!0,!0;return typeof a=="boolean"&&Cr(t,a,m,!1)?(a?C('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):C('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),En[t]=!0,!0):S?!0:Cr(t,a,m,!1)?(En[t]=!0,!1):((a==="false"||a==="true")&&m!==null&&m.type===en&&(C("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),En[t]=!0),!0)}}var Fv=function(e,t,a){{var i=[];for(var u in t){var s=Zf(e,u,t[u],a);s||i.push(u)}var f=i.map(function(p){return"`"+p+"`"}).join(", ");i.length===1?C("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",f,e):i.length>1&&C("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",f,e)}};function Hv(e,t,a){di(e,t)||Fv(e,t,a)}var pi=1,zo=1<<1,_l=1<<2,zy=pi|zo|_l,Uo=null;function Ao(e){Uo!==null&&C("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Uo=e}function Uy(){Uo===null&&C("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Uo=null}function jv(e){return e===Uo}function qs(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===fi?t.parentNode:t}var wt=null,Ii=null,vi=null;function Du(e){var t=eo(e);if(t){if(typeof wt!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var a=t.stateNode;if(a){var i=jh(a);wt(t.stateNode,t.type,i)}}}function Vv(e){wt=e}function Xs(e){Ii?vi?vi.push(e):vi=[e]:Ii=e}function Fo(){return Ii!==null||vi!==null}function Ho(){if(Ii){var e=Ii,t=vi;if(Ii=null,vi=null,Du(e),t)for(var a=0;a<t.length;a++)Du(t[a])}}var Ol=function(e,t){return e(t)},ed=function(){},td=!1;function Ay(){var e=Fo();e&&(ed(),Ho())}function nd(e,t,a){if(td)return e(t,a);td=!0;try{return Ol(e,t,a)}finally{td=!1,Ay()}}function Ks(e,t,a){Ol=e,ed=a}function Zs(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function rd(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&Zs(t));default:return!1}}function Nl(e,t){var a=e.stateNode;if(a===null)return null;var i=jh(a);if(i===null)return null;var u=i[t];if(rd(t,e.type,i))return null;if(u&&typeof u!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}var jo=!1;if(yn)try{var Ml={};Object.defineProperty(Ml,"passive",{get:function(){jo=!0}}),window.addEventListener("test",Ml,Ml),window.removeEventListener("test",Ml,Ml)}catch{jo=!1}function Bv(e,t,a,i,u,s,f,p,m){var S=Array.prototype.slice.call(arguments,3);try{t.apply(a,S)}catch(E){this.onError(E)}}var ad=Bv;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var id=document.createElement("react");ad=function(t,a,i,u,s,f,p,m,S){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var E=document.createEvent("Event"),D=!1,x=!0,L=window.event,z=Object.getOwnPropertyDescriptor(window,"event");function H(){id.removeEventListener(j,Re,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=L)}var se=Array.prototype.slice.call(arguments,3);function Re(){D=!0,H(),a.apply(i,se),x=!1}var ge,et=!1,qe=!1;function O(N){if(ge=N.error,et=!0,ge===null&&N.colno===0&&N.lineno===0&&(qe=!0),N.defaultPrevented&&ge!=null&&typeof ge=="object")try{ge._suppressLogging=!0}catch{}}var j="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",O),id.addEventListener(j,Re,!1),E.initEvent(j,!1,!1),id.dispatchEvent(E),z&&Object.defineProperty(window,"event",z),D&&x&&(et?qe&&(ge=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):ge=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(ge)),window.removeEventListener("error",O),!D)return H(),Bv.apply(this,arguments)}}var Fy=ad,Yi=!1,za=null,Vo=!1,Qi=null,Qa={onError:function(e){Yi=!0,za=e}};function Ll(e,t,a,i,u,s,f,p,m){Yi=!1,za=null,Fy.apply(Qa,arguments)}function hi(e,t,a,i,u,s,f,p,m){if(Ll.apply(this,arguments),Yi){var S=ud();Vo||(Vo=!0,Qi=S)}}function ld(){if(Vo){var e=Qi;throw Vo=!1,Qi=null,e}}function Hy(){return Yi}function ud(){if(Yi){var e=za;return Yi=!1,za=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ua(e){return e._reactInternals}function Bo(e){return e._reactInternals!==void 0}function _u(e,t){e._reactInternals=t}var Te=0,Wi=1,Ot=2,je=4,dt=16,pt=32,Wa=64,Ne=128,Wt=256,Tr=512,oa=1024,Ft=2048,sa=4096,Gi=8192,Po=16384,Js=Ft|je|Wa|Tr|oa|Po,Pv=32767,Br=32768,Tn=65536,$o=131072,od=1048576,sd=2097152,Rr=4194304,qi=8388608,wr=16777216,zl=33554432,Ou=je|oa|0,br=Ot|je|dt|pt|Tr|sa|Gi,Kn=je|Wa|Tr|Gi,ca=Ft|dt,Ln=Rr|qi|sd,mi=v.ReactCurrentOwner;function Pr(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Ot|sa))!==Te&&(a=t.return),i=t.return;while(i)}return t.tag===K?a:null}function cd(e){if(e.tag===Ie){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function ec(e){return e.tag===K?e.stateNode.containerInfo:null}function fd(e){return Pr(e)===e}function $r(e){{var t=mi.current;if(t!==null&&t.tag===W){var a=t,i=a.stateNode;i._warnedAboutRefsInRender||C("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",He(a)||"A component"),i._warnedAboutRefsInRender=!0}}var u=ua(e);return u?Pr(u)===u:!1}function xr(e){if(Pr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Nt(e){var t=e.alternate;if(!t){var a=Pr(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var i=e,u=t;;){var s=i.return;if(s===null)break;var f=s.alternate;if(f===null){var p=s.return;if(p!==null){i=u=p;continue}break}if(s.child===f.child){for(var m=s.child;m;){if(m===i)return xr(s),e;if(m===u)return xr(s),t;m=m.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==u.return)i=s,u=f;else{for(var S=!1,E=s.child;E;){if(E===i){S=!0,i=s,u=f;break}if(E===u){S=!0,u=s,i=f;break}E=E.sibling}if(!S){for(E=f.child;E;){if(E===i){S=!0,i=f,u=s;break}if(E===u){S=!0,u=f,i=s;break}E=E.sibling}if(!S)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(i.alternate!==u)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(i.tag!==K)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function fa(e){var t=Nt(e);return t!==null?dd(t):null}function dd(e){if(e.tag===ie||e.tag===de)return e;for(var t=e.child;t!==null;){var a=dd(t);if(a!==null)return a;t=t.sibling}return null}function $v(e){var t=Nt(e);return t!==null?tc(t):null}function tc(e){if(e.tag===ie||e.tag===de)return e;for(var t=e.child;t!==null;){if(t.tag!==ae){var a=tc(t);if(a!==null)return a}t=t.sibling}return null}var nc=g.unstable_scheduleCallback,Iv=g.unstable_cancelCallback,rc=g.unstable_shouldYield,Yv=g.unstable_requestPaint,Vt=g.unstable_now,pd=g.unstable_getCurrentPriorityLevel,ac=g.unstable_ImmediatePriority,Ir=g.unstable_UserBlockingPriority,Ga=g.unstable_NormalPriority,ic=g.unstable_LowPriority,Xi=g.unstable_IdlePriority,vd=g.unstable_yieldValue,hd=g.unstable_setDisableYieldValue,Ki=null,Rn=null,J=null,Kt=!1,zn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function md(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return C("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Ba&&(e=We({},e,{getLaneLabelMap:Ji,injectProfilingHooks:gi})),Ki=t.inject(e),Rn=t}catch(a){C("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function Qv(e,t){if(Rn&&typeof Rn.onScheduleFiberRoot=="function")try{Rn.onScheduleFiberRoot(Ki,e,t)}catch(a){Kt||(Kt=!0,C("React instrumentation encountered an error: %s",a))}}function yi(e,t){if(Rn&&typeof Rn.onCommitFiberRoot=="function")try{var a=(e.current.flags&Ne)===Ne;if(on){var i;switch(t){case Zn:i=ac;break;case Un:i=Ir;break;case Ci:i=Ga;break;case Zo:i=Xi;break;default:i=Ga;break}Rn.onCommitFiberRoot(Ki,e,i,a)}}catch(u){Kt||(Kt=!0,C("React instrumentation encountered an error: %s",u))}}function Zi(e){if(Rn&&typeof Rn.onPostCommitFiberRoot=="function")try{Rn.onPostCommitFiberRoot(Ki,e)}catch(t){Kt||(Kt=!0,C("React instrumentation encountered an error: %s",t))}}function yd(e){if(Rn&&typeof Rn.onCommitFiberUnmount=="function")try{Rn.onCommitFiberUnmount(Ki,e)}catch(t){Kt||(Kt=!0,C("React instrumentation encountered an error: %s",t))}}function cn(e){if(typeof vd=="function"&&(hd(e),A(e)),Rn&&typeof Rn.setStrictMode=="function")try{Rn.setStrictMode(Ki,e)}catch(t){Kt||(Kt=!0,C("React instrumentation encountered an error: %s",t))}}function gi(e){J=e}function Ji(){{for(var e=new Map,t=1,a=0;a<Mt;a++){var i=jy(t);e.set(t,i),t*=2}return e}}function lc(e){J!==null&&typeof J.markCommitStarted=="function"&&J.markCommitStarted(e)}function gd(){J!==null&&typeof J.markCommitStopped=="function"&&J.markCommitStopped()}function el(e){J!==null&&typeof J.markComponentRenderStarted=="function"&&J.markComponentRenderStarted(e)}function Ul(){J!==null&&typeof J.markComponentRenderStopped=="function"&&J.markComponentRenderStopped()}function Wv(e){J!==null&&typeof J.markComponentPassiveEffectMountStarted=="function"&&J.markComponentPassiveEffectMountStarted(e)}function Sd(){J!==null&&typeof J.markComponentPassiveEffectMountStopped=="function"&&J.markComponentPassiveEffectMountStopped()}function uc(e){J!==null&&typeof J.markComponentPassiveEffectUnmountStarted=="function"&&J.markComponentPassiveEffectUnmountStarted(e)}function Gv(){J!==null&&typeof J.markComponentPassiveEffectUnmountStopped=="function"&&J.markComponentPassiveEffectUnmountStopped()}function qv(e){J!==null&&typeof J.markComponentLayoutEffectMountStarted=="function"&&J.markComponentLayoutEffectMountStarted(e)}function Xv(){J!==null&&typeof J.markComponentLayoutEffectMountStopped=="function"&&J.markComponentLayoutEffectMountStopped()}function oc(e){J!==null&&typeof J.markComponentLayoutEffectUnmountStarted=="function"&&J.markComponentLayoutEffectUnmountStarted(e)}function Nu(){J!==null&&typeof J.markComponentLayoutEffectUnmountStopped=="function"&&J.markComponentLayoutEffectUnmountStopped()}function sc(e,t,a){J!==null&&typeof J.markComponentErrored=="function"&&J.markComponentErrored(e,t,a)}function Kv(e,t,a){J!==null&&typeof J.markComponentSuspended=="function"&&J.markComponentSuspended(e,t,a)}function Zv(e){J!==null&&typeof J.markLayoutEffectsStarted=="function"&&J.markLayoutEffectsStarted(e)}function Mu(){J!==null&&typeof J.markLayoutEffectsStopped=="function"&&J.markLayoutEffectsStopped()}function Jv(e){J!==null&&typeof J.markPassiveEffectsStarted=="function"&&J.markPassiveEffectsStarted(e)}function Io(){J!==null&&typeof J.markPassiveEffectsStopped=="function"&&J.markPassiveEffectsStopped()}function Ua(e){J!==null&&typeof J.markRenderStarted=="function"&&J.markRenderStarted(e)}function Yo(){J!==null&&typeof J.markRenderYielded=="function"&&J.markRenderYielded()}function Lu(){J!==null&&typeof J.markRenderStopped=="function"&&J.markRenderStopped()}function Al(e){J!==null&&typeof J.markRenderScheduled=="function"&&J.markRenderScheduled(e)}function Cd(e,t){J!==null&&typeof J.markForceUpdateScheduled=="function"&&J.markForceUpdateScheduled(e,t)}function tl(e,t){J!==null&&typeof J.markStateUpdateScheduled=="function"&&J.markStateUpdateScheduled(e,t)}var xe=0,Qe=1,De=2,Bt=8,da=16,cc=Math.clz32?Math.clz32:Fl,fc=Math.log,Ed=Math.LN2;function Fl(e){var t=e>>>0;return t===0?32:31-(fc(t)/Ed|0)|0}var Mt=31,V=0,Ze=0,_e=1,qa=2,Yr=4,Hl=8,Lt=16,jl=32,nl=4194240,Vl=64,pa=128,kr=256,Bl=512,Qo=1024,Wo=2048,dc=4096,pc=8192,vc=16384,hc=32768,mc=65536,yc=131072,gc=262144,Sc=524288,Pl=1048576,Cc=2097152,$l=130023424,Si=4194304,Ec=8388608,Go=16777216,Tc=33554432,Rc=67108864,Td=Si,zu=134217728,wc=268435455,Uu=268435456,rl=536870912,Dr=1073741824;function jy(e){{if(e&_e)return"Sync";if(e&qa)return"InputContinuousHydration";if(e&Yr)return"InputContinuous";if(e&Hl)return"DefaultHydration";if(e&Lt)return"Default";if(e&jl)return"TransitionHydration";if(e&nl)return"Transition";if(e&$l)return"Retry";if(e&zu)return"SelectiveHydration";if(e&Uu)return"IdleHydration";if(e&rl)return"Idle";if(e&Dr)return"Offscreen"}}var bt=-1,bc=Vl,xc=Si;function Au(e){switch(rn(e)){case _e:return _e;case qa:return qa;case Yr:return Yr;case Hl:return Hl;case Lt:return Lt;case jl:return jl;case Vl:case pa:case kr:case Bl:case Qo:case Wo:case dc:case pc:case vc:case hc:case mc:case yc:case gc:case Sc:case Pl:case Cc:return e&nl;case Si:case Ec:case Go:case Tc:case Rc:return e&$l;case zu:return zu;case Uu:return Uu;case rl:return rl;case Dr:return Dr;default:return C("Should have found matching lanes. This is a bug in React."),e}}function qo(e,t){var a=e.pendingLanes;if(a===V)return V;var i=V,u=e.suspendedLanes,s=e.pingedLanes,f=a&wc;if(f!==V){var p=f&~u;if(p!==V)i=Au(p);else{var m=f&s;m!==V&&(i=Au(m))}}else{var S=a&~u;S!==V?i=Au(S):s!==V&&(i=Au(s))}if(i===V)return V;if(t!==V&&t!==i&&(t&u)===V){var E=rn(i),D=rn(t);if(E>=D||E===Lt&&(D&nl)!==V)return t}(i&Yr)!==V&&(i|=a&Lt);var x=e.entangledLanes;if(x!==V)for(var L=e.entanglements,z=i&x;z>0;){var H=al(z),se=1<<H;i|=L[H],z&=~se}return i}function eh(e,t){for(var a=e.eventTimes,i=bt;t>0;){var u=al(t),s=1<<u,f=a[u];f>i&&(i=f),t&=~s}return i}function kc(e,t){switch(e){case _e:case qa:case Yr:return t+250;case Hl:case Lt:case jl:case Vl:case pa:case kr:case Bl:case Qo:case Wo:case dc:case pc:case vc:case hc:case mc:case yc:case gc:case Sc:case Pl:case Cc:return t+5e3;case Si:case Ec:case Go:case Tc:case Rc:return bt;case zu:case Uu:case rl:case Dr:return bt;default:return C("Should have found matching lanes. This is a bug in React."),bt}}function Vy(e,t){for(var a=e.pendingLanes,i=e.suspendedLanes,u=e.pingedLanes,s=e.expirationTimes,f=a;f>0;){var p=al(f),m=1<<p,S=s[p];S===bt?((m&i)===V||(m&u)!==V)&&(s[p]=kc(m,t)):S<=t&&(e.expiredLanes|=m),f&=~m}}function By(e){return Au(e.pendingLanes)}function Rd(e){var t=e.pendingLanes&~Dr;return t!==V?t:t&Dr?Dr:V}function Fu(e){return(e&_e)!==V}function Xo(e){return(e&wc)!==V}function Dc(e){return(e&$l)===e}function Py(e){var t=_e|Yr|Lt;return(e&t)===V}function th(e){return(e&nl)===e}function Ko(e,t){var a=qa|Yr|Hl|Lt;return(t&a)!==V}function nh(e,t){return(t&e.expiredLanes)!==V}function wd(e){return(e&nl)!==V}function bd(){var e=bc;return bc<<=1,(bc&nl)===V&&(bc=Vl),e}function $y(){var e=xc;return xc<<=1,(xc&$l)===V&&(xc=Si),e}function rn(e){return e&-e}function fn(e){return rn(e)}function al(e){return 31-cc(e)}function _c(e){return al(e)}function _r(e,t){return(e&t)!==V}function Il(e,t){return(e&t)===t}function Ve(e,t){return e|t}function Hu(e,t){return e&~t}function xd(e,t){return e&t}function rh(e){return e}function ah(e,t){return e!==Ze&&e<t?e:t}function Oc(e){for(var t=[],a=0;a<Mt;a++)t.push(e);return t}function Yl(e,t,a){e.pendingLanes|=t,t!==rl&&(e.suspendedLanes=V,e.pingedLanes=V);var i=e.eventTimes,u=_c(t);i[u]=a}function kd(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,i=t;i>0;){var u=al(i),s=1<<u;a[u]=bt,i&=~s}}function Dd(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function _d(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=V,e.pingedLanes=V,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,u=e.eventTimes,s=e.expirationTimes,f=a;f>0;){var p=al(f),m=1<<p;i[p]=V,u[p]=bt,s[p]=bt,f&=~m}}function ju(e,t){for(var a=e.entangledLanes|=t,i=e.entanglements,u=a;u;){var s=al(u),f=1<<s;f&t|i[s]&t&&(i[s]|=t),u&=~f}}function Iy(e,t){var a=rn(t),i;switch(a){case Yr:i=qa;break;case Lt:i=Hl;break;case Vl:case pa:case kr:case Bl:case Qo:case Wo:case dc:case pc:case vc:case hc:case mc:case yc:case gc:case Sc:case Pl:case Cc:case Si:case Ec:case Go:case Tc:case Rc:i=jl;break;case rl:i=Uu;break;default:i=Ze;break}return(i&(e.suspendedLanes|t))!==Ze?Ze:i}function Od(e,t,a){if(zn)for(var i=e.pendingUpdatersLaneMap;a>0;){var u=_c(a),s=1<<u,f=i[u];f.add(t),a&=~s}}function Nc(e,t){if(zn)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var u=_c(t),s=1<<u,f=a[u];f.size>0&&(f.forEach(function(p){var m=p.alternate;(m===null||!i.has(m))&&i.add(p)}),f.clear()),t&=~s}}function Nd(e,t){return null}var Zn=_e,Un=Yr,Ci=Lt,Zo=rl,Ql=Ze;function va(){return Ql}function dn(e){Ql=e}function Jo(e,t){var a=Ql;try{return Ql=e,t()}finally{Ql=a}}function Jn(e,t){return e!==0&&e<t?e:t}function Yy(e,t){return e===0||e>t?e:t}function Md(e,t){return e!==0&&e<t}function es(e){var t=rn(e);return Md(Zn,t)?Md(Un,t)?Xo(t)?Ci:Zo:Un:Zn}function pn(e){var t=e.current.memoizedState;return t.isDehydrated}var ih;function fe(e){ih=e}function Vu(e){ih(e)}var ts;function lh(e){ts=e}var uh;function ns(e){uh=e}var rs;function Ld(e){rs=e}var zd;function oh(e){zd=e}var Mc=!1,Bu=[],Xa=null,Ht=null,wn=null,ha=new Map,Pu=new Map,Ei=[],Aa=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function sh(e){return Aa.indexOf(e)>-1}function Ka(e,t,a,i,u){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[i]}}function ch(e,t){switch(e){case"focusin":case"focusout":Xa=null;break;case"dragenter":case"dragleave":Ht=null;break;case"mouseover":case"mouseout":wn=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;ha.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;Pu.delete(i);break}}}function $u(e,t,a,i,u,s){if(e===null||e.nativeEvent!==s){var f=Ka(t,a,i,u,s);if(t!==null){var p=eo(t);p!==null&&ts(p)}return f}e.eventSystemFlags|=i;var m=e.targetContainers;return u!==null&&m.indexOf(u)===-1&&m.push(u),e}function fh(e,t,a,i,u){switch(t){case"focusin":{var s=u;return Xa=$u(Xa,e,t,a,i,s),!0}case"dragenter":{var f=u;return Ht=$u(Ht,e,t,a,i,f),!0}case"mouseover":{var p=u;return wn=$u(wn,e,t,a,i,p),!0}case"pointerover":{var m=u,S=m.pointerId;return ha.set(S,$u(ha.get(S)||null,e,t,a,i,m)),!0}case"gotpointercapture":{var E=u,D=E.pointerId;return Pu.set(D,$u(Pu.get(D)||null,e,t,a,i,E)),!0}}return!1}function Ud(e){var t=ds(e.target);if(t!==null){var a=Pr(t);if(a!==null){var i=a.tag;if(i===Ie){var u=cd(a);if(u!==null){e.blockedOn=u,zd(e.priority,function(){uh(a)});return}}else if(i===K){var s=a.stateNode;if(pn(s)){e.blockedOn=ec(a);return}}}}e.blockedOn=null}function dh(e){for(var t=rs(),a={blockedOn:null,target:e,priority:t},i=0;i<Ei.length&&Md(t,Ei[i].priority);i++);Ei.splice(i,0,a),i===0&&Ud(a)}function Lc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],i=Wl(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(i===null){var u=e.nativeEvent,s=new u.constructor(u.type,u);Ao(s),u.target.dispatchEvent(s),Uy()}else{var f=eo(i);return f!==null&&ts(f),e.blockedOn=i,!1}t.shift()}return!0}function as(e,t,a){Lc(e)&&a.delete(t)}function Ad(){Mc=!1,Xa!==null&&Lc(Xa)&&(Xa=null),Ht!==null&&Lc(Ht)&&(Ht=null),wn!==null&&Lc(wn)&&(wn=null),ha.forEach(as),Pu.forEach(as)}function er(e,t){e.blockedOn===t&&(e.blockedOn=null,Mc||(Mc=!0,g.unstable_scheduleCallback(g.unstable_NormalPriority,Ad)))}function Ge(e){if(Bu.length>0){er(Bu[0],e);for(var t=1;t<Bu.length;t++){var a=Bu[t];a.blockedOn===e&&(a.blockedOn=null)}}Xa!==null&&er(Xa,e),Ht!==null&&er(Ht,e),wn!==null&&er(wn,e);var i=function(p){return er(p,e)};ha.forEach(i),Pu.forEach(i);for(var u=0;u<Ei.length;u++){var s=Ei[u];s.blockedOn===e&&(s.blockedOn=null)}for(;Ei.length>0;){var f=Ei[0];if(f.blockedOn!==null)break;Ud(f),f.blockedOn===null&&Ei.shift()}}var Pt=v.ReactCurrentBatchConfig,Gt=!0;function bn(e){Gt=!!e}function Qr(){return Gt}function Iu(e,t,a){var i=ur(t),u;switch(i){case Zn:u=vn;break;case Un:u=is;break;case Ci:default:u=Ti;break}return u.bind(null,t,a,e)}function vn(e,t,a,i){var u=va(),s=Pt.transition;Pt.transition=null;try{dn(Zn),Ti(e,t,a,i)}finally{dn(u),Pt.transition=s}}function is(e,t,a,i){var u=va(),s=Pt.transition;Pt.transition=null;try{dn(Un),Ti(e,t,a,i)}finally{dn(u),Pt.transition=s}}function Ti(e,t,a,i){Gt&&zc(e,t,a,i)}function zc(e,t,a,i){var u=Wl(e,t,a,i);if(u===null){fg(e,t,i,Yu,a),ch(e,i);return}if(fh(u,e,t,a,i)){i.stopPropagation();return}if(ch(e,i),t&_l&&sh(e)){for(;u!==null;){var s=eo(u);s!==null&&Vu(s);var f=Wl(e,t,a,i);if(f===null&&fg(e,t,i,Yu,a),f===u)break;u=f}u!==null&&i.stopPropagation();return}fg(e,t,i,null,a)}var Yu=null;function Wl(e,t,a,i){Yu=null;var u=qs(i),s=ds(u);if(s!==null){var f=Pr(s);if(f===null)s=null;else{var p=f.tag;if(p===Ie){var m=cd(f);if(m!==null)return m;s=null}else if(p===K){var S=f.stateNode;if(pn(S))return ec(f);s=null}else f!==s&&(s=null)}}return Yu=s,null}function ur(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Zn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Un;case"message":{var t=pd();switch(t){case ac:return Zn;case Ir:return Un;case Ga:case ic:return Ci;case Xi:return Zo;default:return Ci}}default:return Ci}}function Fd(e,t,a){return e.addEventListener(t,a,!1),a}function Qu(e,t,a){return e.addEventListener(t,a,!0),a}function Ri(e,t,a,i){return e.addEventListener(t,a,{capture:!0,passive:i}),a}function Uc(e,t,a,i){return e.addEventListener(t,a,{passive:i}),a}var Gl=null,Za=null,il=null;function ll(e){return Gl=e,Za=Fc(),!0}function Ac(){Gl=null,Za=null,il=null}function Wu(){if(il)return il;var e,t=Za,a=t.length,i,u=Fc(),s=u.length;for(e=0;e<a&&t[e]===u[e];e++);var f=a-e;for(i=1;i<=f&&t[a-i]===u[s-i];i++);var p=i>1?1-i:void 0;return il=u.slice(e,p),il}function Fc(){return"value"in Gl?Gl.value:Gl.textContent}function ql(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function Xl(){return!0}function tr(){return!1}function an(e){function t(a,i,u,s,f){this._reactName=a,this._targetInst=u,this.type=i,this.nativeEvent=s,this.target=f,this.currentTarget=null;for(var p in e)if(e.hasOwnProperty(p)){var m=e[p];m?this[p]=m(s):this[p]=s[p]}var S=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return S?this.isDefaultPrevented=Xl:this.isDefaultPrevented=tr,this.isPropagationStopped=tr,this}return We(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Xl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Xl)},persist:function(){},isPersistent:Xl}),t}var nr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rr=an(nr),Gu=We({},nr,{view:0,detail:0}),Hd=an(Gu),ls,jd,ma;function ph(e){e!==ma&&(ma&&e.type==="mousemove"?(ls=e.screenX-ma.screenX,jd=e.screenY-ma.screenY):(ls=0,jd=0),ma=e)}var qu=We({},Gu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(ph(e),ls)},movementY:function(e){return"movementY"in e?e.movementY:jd}}),ul=an(qu),Vd=We({},qu,{dataTransfer:0}),Kl=an(Vd),vh=We({},Gu,{relatedTarget:0}),Hc=an(vh),Bd=We({},nr,{animationName:0,elapsedTime:0,pseudoElement:0}),jc=an(Bd),Qy=We({},nr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wy=an(Qy),hh=We({},nr,{data:0}),Pd=an(hh),Zl=Pd,Gy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function mh(e){if(e.key){var t=Gy[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=ql(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?Xu[e.keyCode]||"Unidentified":""}var qt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qy(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var i=qt[e];return i?!!a[i]:!1}function Vc(e){return qy}var Xy=We({},Gu,{key:mh,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vc,charCode:function(e){return e.type==="keypress"?ql(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ql(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ky=an(Xy),yh=We({},qu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$d=an(yh),Zy=We({},Gu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vc}),ya=an(Zy),Id=We({},nr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Jy=an(Id),ol=We({},qu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Bc=an(ol),Jl=[9,13,27,32],us=229,os=yn&&"CompositionEvent"in window,eu=null;yn&&"documentMode"in document&&(eu=document.documentMode);var eg=yn&&"TextEvent"in window&&!eu,Pc=yn&&(!os||eu&&eu>8&&eu<=11),gh=32,Yd=String.fromCharCode(gh);function Sh(){Sr("onBeforeInput",["compositionend","keypress","textInput","paste"]),Sr("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Sr("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Sr("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var ss=!1;function $c(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Ch(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Qd(e,t){return e==="keydown"&&t.keyCode===us}function Eh(e,t){switch(e){case"keyup":return Jl.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==us;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wd(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Ic(e){return e.locale==="ko"}var wi=!1;function Gd(e,t,a,i,u){var s,f;if(os?s=Ch(t):wi?Eh(t,i)&&(s="onCompositionEnd"):Qd(t,i)&&(s="onCompositionStart"),!s)return null;Pc&&!Ic(i)&&(!wi&&s==="onCompositionStart"?wi=ll(u):s==="onCompositionEnd"&&wi&&(f=Wu()));var p=xh(a,s);if(p.length>0){var m=new Pd(s,t,null,i,u);if(e.push({event:m,listeners:p}),f)m.data=f;else{var S=Wd(i);S!==null&&(m.data=S)}}}function Yc(e,t){switch(e){case"compositionend":return Wd(t);case"keypress":var a=t.which;return a!==gh?null:(ss=!0,Yd);case"textInput":var i=t.data;return i===Yd&&ss?null:i;default:return null}}function Th(e,t){if(wi){if(e==="compositionend"||!os&&Eh(e,t)){var a=Wu();return Ac(),wi=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!$c(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Pc&&!Ic(t)?null:t.data;default:return null}}function tg(e,t,a,i,u){var s;if(eg?s=Yc(t,i):s=Th(t,i),!s)return null;var f=xh(a,"onBeforeInput");if(f.length>0){var p=new Zl("onBeforeInput","beforeinput",null,i,u);e.push({event:p,listeners:f}),p.data=s}}function Qc(e,t,a,i,u,s,f){Gd(e,t,a,i,u),tg(e,t,a,i,u)}var ng={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ku(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ng[e.type]:t==="textarea"}function rg(e){if(!yn)return!1;var t="on"+e,a=t in document;if(!a){var i=document.createElement("div");i.setAttribute(t,"return;"),a=typeof i[t]=="function"}return a}function Wc(){Sr("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,i){Xs(i);var u=xh(t,"onChange");if(u.length>0){var s=new rr("onChange","change",null,a,i);e.push({event:s,listeners:u})}}var r=null,l=null;function o(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function c(e){var t=[];n(t,l,e,qs(e)),nd(d,t)}function d(e){eC(e,0)}function y(e){var t=Jc(e);if(ov(t))return e}function T(e,t){if(e==="change")return t}var w=!1;yn&&(w=rg("input")&&(!document.documentMode||document.documentMode>9));function U(e,t){r=e,l=t,r.attachEvent("onpropertychange",Q)}function I(){r&&(r.detachEvent("onpropertychange",Q),r=null,l=null)}function Q(e){e.propertyName==="value"&&y(l)&&c(e)}function $(e,t,a){e==="focusin"?(I(),U(t,a)):e==="focusout"&&I()}function le(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return y(l)}function pe(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function me(e,t){if(e==="click")return y(t)}function Zt(e,t){if(e==="input"||e==="change")return y(t)}function _(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Pi(e,"number",e.value)}function k(e,t,a,i,u,s,f){var p=a?Jc(a):window,m,S;if(o(p)?m=T:Ku(p)?w?m=Zt:(m=le,S=$):pe(p)&&(m=me),m){var E=m(t,a);if(E){n(e,E,i,u);return}}S&&S(t,p,a),t==="focusout"&&_(p)}function M(){ta("onMouseEnter",["mouseout","mouseover"]),ta("onMouseLeave",["mouseout","mouseover"]),ta("onPointerEnter",["pointerout","pointerover"]),ta("onPointerLeave",["pointerout","pointerover"])}function X(e,t,a,i,u,s,f){var p=t==="mouseover"||t==="pointerover",m=t==="mouseout"||t==="pointerout";if(p&&!jv(i)){var S=i.relatedTarget||i.fromElement;if(S&&(ds(S)||op(S)))return}if(!(!m&&!p)){var E;if(u.window===u)E=u;else{var D=u.ownerDocument;D?E=D.defaultView||D.parentWindow:E=window}var x,L;if(m){var z=i.relatedTarget||i.toElement;if(x=a,L=z?ds(z):null,L!==null){var H=Pr(L);(L!==H||L.tag!==ie&&L.tag!==de)&&(L=null)}}else x=null,L=a;if(x!==L){var se=ul,Re="onMouseLeave",ge="onMouseEnter",et="mouse";(t==="pointerout"||t==="pointerover")&&(se=$d,Re="onPointerLeave",ge="onPointerEnter",et="pointer");var qe=x==null?E:Jc(x),O=L==null?E:Jc(L),j=new se(Re,et+"leave",x,i,u);j.target=qe,j.relatedTarget=O;var N=null,G=ds(u);if(G===a){var ce=new se(ge,et+"enter",L,i,u);ce.target=O,ce.relatedTarget=qe,N=ce}Lb(e,j,N,x,L)}}}function ye(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ve=typeof Object.is=="function"?Object.is:ye;function Ce(e,t){if(ve(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var u=0;u<a.length;u++){var s=a[u];if(!Wn.call(t,s)||!ve(e[s],t[s]))return!1}return!0}function Me(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function at(e,t){for(var a=Me(e),i=0,u=0;a;){if(a.nodeType===fi){if(u=i+a.textContent.length,i<=t&&u>=t)return{node:a,offset:t-i};i=u}a=Me(xn(a))}}function sl(e){var t=e.ownerDocument,a=t&&t.defaultView||window,i=a.getSelection&&a.getSelection();if(!i||i.rangeCount===0)return null;var u=i.anchorNode,s=i.anchorOffset,f=i.focusNode,p=i.focusOffset;try{u.nodeType,f.nodeType}catch{return null}return ag(e,u,s,f,p)}function ag(e,t,a,i,u){var s=0,f=-1,p=-1,m=0,S=0,E=e,D=null;e:for(;;){for(var x=null;E===t&&(a===0||E.nodeType===fi)&&(f=s+a),E===i&&(u===0||E.nodeType===fi)&&(p=s+u),E.nodeType===fi&&(s+=E.nodeValue.length),(x=E.firstChild)!==null;)D=E,E=x;for(;;){if(E===e)break e;if(D===t&&++m===a&&(f=s),D===i&&++S===u&&(p=s),(x=E.nextSibling)!==null)break;E=D,D=E.parentNode}E=x}return f===-1||p===-1?null:{start:f,end:p}}function vb(e,t){var a=e.ownerDocument||document,i=a&&a.defaultView||window;if(i.getSelection){var u=i.getSelection(),s=e.textContent.length,f=Math.min(t.start,s),p=t.end===void 0?f:Math.min(t.end,s);if(!u.extend&&f>p){var m=p;p=f,f=m}var S=at(e,f),E=at(e,p);if(S&&E){if(u.rangeCount===1&&u.anchorNode===S.node&&u.anchorOffset===S.offset&&u.focusNode===E.node&&u.focusOffset===E.offset)return;var D=a.createRange();D.setStart(S.node,S.offset),u.removeAllRanges(),f>p?(u.addRange(D),u.extend(E.node,E.offset)):(D.setEnd(E.node,E.offset),u.addRange(D))}}}function P1(e){return e&&e.nodeType===fi}function $1(e,t){return!e||!t?!1:e===t?!0:P1(e)?!1:P1(t)?$1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function hb(e){return e&&e.ownerDocument&&$1(e.ownerDocument.documentElement,e)}function mb(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function I1(){for(var e=window,t=As();t instanceof e.HTMLIFrameElement;){if(mb(t))e=t.contentWindow;else return t;t=As(e.document)}return t}function ig(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function yb(){var e=I1();return{focusedElem:e,selectionRange:ig(e)?Sb(e):null}}function gb(e){var t=I1(),a=e.focusedElem,i=e.selectionRange;if(t!==a&&hb(a)){i!==null&&ig(a)&&Cb(a,i);for(var u=[],s=a;s=s.parentNode;)s.nodeType===Er&&u.push({element:s,left:s.scrollLeft,top:s.scrollTop});typeof a.focus=="function"&&a.focus();for(var f=0;f<u.length;f++){var p=u[f];p.element.scrollLeft=p.left,p.element.scrollTop=p.top}}}function Sb(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=sl(e),t||{start:0,end:0}}function Cb(e,t){var a=t.start,i=t.end;i===void 0&&(i=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(i,e.value.length)):vb(e,t)}var Eb=yn&&"documentMode"in document&&document.documentMode<=11;function Tb(){Sr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Gc=null,lg=null,qd=null,ug=!1;function Rb(e){if("selectionStart"in e&&ig(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function wb(e){return e.window===e?e.document:e.nodeType===Ma?e:e.ownerDocument}function Y1(e,t,a){var i=wb(a);if(!(ug||Gc==null||Gc!==As(i))){var u=Rb(Gc);if(!qd||!Ce(qd,u)){qd=u;var s=xh(lg,"onSelect");if(s.length>0){var f=new rr("onSelect","select",null,t,a);e.push({event:f,listeners:s}),f.target=Gc}}}}function bb(e,t,a,i,u,s,f){var p=a?Jc(a):window;switch(t){case"focusin":(Ku(p)||p.contentEditable==="true")&&(Gc=p,lg=a,qd=null);break;case"focusout":Gc=null,lg=null,qd=null;break;case"mousedown":ug=!0;break;case"contextmenu":case"mouseup":case"dragend":ug=!1,Y1(e,i,u);break;case"selectionchange":if(Eb)break;case"keydown":case"keyup":Y1(e,i,u)}}function Rh(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var qc={animationend:Rh("Animation","AnimationEnd"),animationiteration:Rh("Animation","AnimationIteration"),animationstart:Rh("Animation","AnimationStart"),transitionend:Rh("Transition","TransitionEnd")},og={},Q1={};yn&&(Q1=document.createElement("div").style,"AnimationEvent"in window||(delete qc.animationend.animation,delete qc.animationiteration.animation,delete qc.animationstart.animation),"TransitionEvent"in window||delete qc.transitionend.transition);function wh(e){if(og[e])return og[e];if(!qc[e])return e;var t=qc[e];for(var a in t)if(t.hasOwnProperty(a)&&a in Q1)return og[e]=t[a];return e}var W1=wh("animationend"),G1=wh("animationiteration"),q1=wh("animationstart"),X1=wh("transitionend"),K1=new Map,Z1=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Zu(e,t){K1.set(e,t),Sr(t,[e])}function xb(){for(var e=0;e<Z1.length;e++){var t=Z1[e],a=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);Zu(a,"on"+i)}Zu(W1,"onAnimationEnd"),Zu(G1,"onAnimationIteration"),Zu(q1,"onAnimationStart"),Zu("dblclick","onDoubleClick"),Zu("focusin","onFocus"),Zu("focusout","onBlur"),Zu(X1,"onTransitionEnd")}function kb(e,t,a,i,u,s,f){var p=K1.get(t);if(p!==void 0){var m=rr,S=t;switch(t){case"keypress":if(ql(i)===0)return;case"keydown":case"keyup":m=Ky;break;case"focusin":S="focus",m=Hc;break;case"focusout":S="blur",m=Hc;break;case"beforeblur":case"afterblur":m=Hc;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=ul;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=Kl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=ya;break;case W1:case G1:case q1:m=jc;break;case X1:m=Jy;break;case"scroll":m=Hd;break;case"wheel":m=Bc;break;case"copy":case"cut":case"paste":m=Wy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=$d;break}var E=(s&_l)!==0;{var D=!E&&t==="scroll",x=Nb(a,p,i.type,E,D);if(x.length>0){var L=new m(p,S,null,i,u);e.push({event:L,listeners:x})}}}}xb(),M(),Wc(),Tb(),Sh();function Db(e,t,a,i,u,s,f){kb(e,t,a,i,u,s);var p=(s&zy)===0;p&&(X(e,t,a,i,u),k(e,t,a,i,u),bb(e,t,a,i,u),Qc(e,t,a,i,u))}var Xd=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],sg=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Xd));function J1(e,t,a){var i=e.type||"unknown-event";e.currentTarget=a,hi(i,t,void 0,e),e.currentTarget=null}function _b(e,t,a){var i;if(a)for(var u=t.length-1;u>=0;u--){var s=t[u],f=s.instance,p=s.currentTarget,m=s.listener;if(f!==i&&e.isPropagationStopped())return;J1(e,m,p),i=f}else for(var S=0;S<t.length;S++){var E=t[S],D=E.instance,x=E.currentTarget,L=E.listener;if(D!==i&&e.isPropagationStopped())return;J1(e,L,x),i=D}}function eC(e,t){for(var a=(t&_l)!==0,i=0;i<e.length;i++){var u=e[i],s=u.event,f=u.listeners;_b(s,f,a)}ld()}function Ob(e,t,a,i,u){var s=qs(a),f=[];Db(f,e,i,a,s,t),eC(f,t)}function $t(e,t){sg.has(e)||C('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,i=lk(t),u=zb(e,a);i.has(u)||(tC(t,e,zo,a),i.add(u))}function cg(e,t,a){sg.has(e)&&!t&&C('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=_l),tC(a,e,i,t)}var bh="_reactListening"+Math.random().toString(36).slice(2);function Kd(e){if(!e[bh]){e[bh]=!0,Qn.forEach(function(a){a!=="selectionchange"&&(sg.has(a)||cg(a,!1,e),cg(a,!0,e))});var t=e.nodeType===Ma?e:e.ownerDocument;t!==null&&(t[bh]||(t[bh]=!0,cg("selectionchange",!1,t)))}}function tC(e,t,a,i,u){var s=Iu(e,t,a),f=void 0;jo&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(f=!0),e=e,i?f!==void 0?Ri(e,t,s,f):Qu(e,t,s):f!==void 0?Uc(e,t,s,f):Fd(e,t,s)}function nC(e,t){return e===t||e.nodeType===nn&&e.parentNode===t}function fg(e,t,a,i,u){var s=i;if(!(t&pi)&&!(t&zo)){var f=u;if(i!==null){var p=i;e:for(;;){if(p===null)return;var m=p.tag;if(m===K||m===ae){var S=p.stateNode.containerInfo;if(nC(S,f))break;if(m===ae)for(var E=p.return;E!==null;){var D=E.tag;if(D===K||D===ae){var x=E.stateNode.containerInfo;if(nC(x,f))return}E=E.return}for(;S!==null;){var L=ds(S);if(L===null)return;var z=L.tag;if(z===ie||z===de){p=s=L;continue e}S=S.parentNode}}p=p.return}}}nd(function(){return Ob(e,t,a,s)})}function Zd(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Nb(e,t,a,i,u,s){for(var f=t!==null?t+"Capture":null,p=i?f:t,m=[],S=e,E=null;S!==null;){var D=S,x=D.stateNode,L=D.tag;if(L===ie&&x!==null&&(E=x,p!==null)){var z=Nl(S,p);z!=null&&m.push(Zd(S,z,E))}if(u)break;S=S.return}return m}function xh(e,t){for(var a=t+"Capture",i=[],u=e;u!==null;){var s=u,f=s.stateNode,p=s.tag;if(p===ie&&f!==null){var m=f,S=Nl(u,a);S!=null&&i.unshift(Zd(u,S,m));var E=Nl(u,t);E!=null&&i.push(Zd(u,E,m))}u=u.return}return i}function Xc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==ie);return e||null}function Mb(e,t){for(var a=e,i=t,u=0,s=a;s;s=Xc(s))u++;for(var f=0,p=i;p;p=Xc(p))f++;for(;u-f>0;)a=Xc(a),u--;for(;f-u>0;)i=Xc(i),f--;for(var m=u;m--;){if(a===i||i!==null&&a===i.alternate)return a;a=Xc(a),i=Xc(i)}return null}function rC(e,t,a,i,u){for(var s=t._reactName,f=[],p=a;p!==null&&p!==i;){var m=p,S=m.alternate,E=m.stateNode,D=m.tag;if(S!==null&&S===i)break;if(D===ie&&E!==null){var x=E;if(u){var L=Nl(p,s);L!=null&&f.unshift(Zd(p,L,x))}else if(!u){var z=Nl(p,s);z!=null&&f.push(Zd(p,z,x))}}p=p.return}f.length!==0&&e.push({event:t,listeners:f})}function Lb(e,t,a,i,u){var s=i&&u?Mb(i,u):null;i!==null&&rC(e,t,i,s,!1),u!==null&&a!==null&&rC(e,a,u,s,!0)}function zb(e,t){return e+"__"+(t?"capture":"bubble")}var ga=!1,Jd="dangerouslySetInnerHTML",kh="suppressContentEditableWarning",Ju="suppressHydrationWarning",aC="autoFocus",cs="children",fs="style",Dh="__html",dg,_h,ep,iC,Oh,lC,uC;dg={dialog:!0,webview:!0},_h=function(e,t){Gs(e,t),Kf(e,t),Hv(e,t,{registrationNameDependencies:gr,possibleRegistrationNames:Pa})},lC=yn&&!document.documentMode,ep=function(e,t,a){if(!ga){var i=Nh(a),u=Nh(t);u!==i&&(ga=!0,C("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(u),JSON.stringify(i)))}},iC=function(e){if(!ga){ga=!0;var t=[];e.forEach(function(a){t.push(a)}),C("Extra attributes from the server: %s",t)}},Oh=function(e,t){t===!1?C("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):C("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},uC=function(e,t){var a=e.namespaceURI===ci?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var Ub=/\r\n?/g,Ab=/\u0000|\uFFFD/g;function Nh(e){ba(e);var t=typeof e=="string"?e:""+e;return t.replace(Ub,`
82
- `).replace(Ab,"")}function Mh(e,t,a,i){var u=Nh(t),s=Nh(e);if(s!==u&&(i&&(ga||(ga=!0,C('Text content did not match. Server: "%s" Client: "%s"',s,u))),a&&ar))throw new Error("Text content does not match server-rendered HTML.")}function oC(e){return e.nodeType===Ma?e:e.ownerDocument}function Fb(){}function Lh(e){e.onclick=Fb}function Hb(e,t,a,i,u){for(var s in i)if(i.hasOwnProperty(s)){var f=i[s];if(s===fs)f&&Object.freeze(f),Dv(t,f);else if(s===Jd){var p=f?f[Dh]:void 0;p!=null&&yv(t,p)}else if(s===cs)if(typeof f=="string"){var m=e!=="textarea"||f!=="";m&&Is(t,f)}else typeof f=="number"&&Is(t,""+f);else s===kh||s===Ju||s===aC||(gr.hasOwnProperty(s)?f!=null&&(typeof f!="function"&&Oh(s,f),s==="onScroll"&&$t("scroll",t)):f!=null&&Ya(t,s,f,u))}}function jb(e,t,a,i){for(var u=0;u<t.length;u+=2){var s=t[u],f=t[u+1];s===fs?Dv(e,f):s===Jd?yv(e,f):s===cs?Is(e,f):Ya(e,s,f,i)}}function Vb(e,t,a,i){var u,s=oC(a),f,p=i;if(p===ci&&(p=Ps(e)),p===ci){if(u=di(e,t),!u&&e!==e.toLowerCase()&&C("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var m=s.createElement("div");m.innerHTML="<script></script>";var S=m.firstChild;f=m.removeChild(S)}else if(typeof t.is=="string")f=s.createElement(e,{is:t.is});else if(f=s.createElement(e),e==="select"){var E=f;t.multiple?E.multiple=!0:t.size&&(E.size=t.size)}}else f=s.createElementNS(p,e);return p===ci&&!u&&Object.prototype.toString.call(f)==="[object HTMLUnknownElement]"&&!Wn.call(dg,e)&&(dg[e]=!0,C("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),f}function Bb(e,t){return oC(t).createTextNode(e)}function Pb(e,t,a,i){var u=di(t,a);_h(t,a);var s;switch(t){case"dialog":$t("cancel",e),$t("close",e),s=a;break;case"iframe":case"object":case"embed":$t("load",e),s=a;break;case"video":case"audio":for(var f=0;f<Xd.length;f++)$t(Xd[f],e);s=a;break;case"source":$t("error",e),s=a;break;case"img":case"image":case"link":$t("error",e),$t("load",e),s=a;break;case"details":$t("toggle",e),s=a;break;case"input":Do(e,a),s=ko(e,a),$t("invalid",e);break;case"option":Vs(e,a),s=a;break;case"select":pv(e,a),s=Vf(e,a),$t("invalid",e);break;case"textarea":vv(e,a),s=Pf(e,a),$t("invalid",e);break;default:s=a}switch(Qs(t,s),Hb(t,e,i,s,u),t){case"input":xl(e),_o(e,a,!1);break;case"textarea":xl(e),mv(e);break;case"option":jf(e,a);break;case"select":Ry(e,a);break;default:typeof s.onClick=="function"&&Lh(e);break}}function $b(e,t,a,i,u){_h(t,i);var s=null,f,p;switch(t){case"input":f=ko(e,a),p=ko(e,i),s=[];break;case"select":f=Vf(e,a),p=Vf(e,i),s=[];break;case"textarea":f=Pf(e,a),p=Pf(e,i),s=[];break;default:f=a,p=i,typeof f.onClick!="function"&&typeof p.onClick=="function"&&Lh(e);break}Qs(t,p);var m,S,E=null;for(m in f)if(!(p.hasOwnProperty(m)||!f.hasOwnProperty(m)||f[m]==null))if(m===fs){var D=f[m];for(S in D)D.hasOwnProperty(S)&&(E||(E={}),E[S]="")}else m===Jd||m===cs||m===kh||m===Ju||m===aC||(gr.hasOwnProperty(m)?s||(s=[]):(s=s||[]).push(m,null));for(m in p){var x=p[m],L=f!=null?f[m]:void 0;if(!(!p.hasOwnProperty(m)||x===L||x==null&&L==null))if(m===fs)if(x&&Object.freeze(x),L){for(S in L)L.hasOwnProperty(S)&&(!x||!x.hasOwnProperty(S))&&(E||(E={}),E[S]="");for(S in x)x.hasOwnProperty(S)&&L[S]!==x[S]&&(E||(E={}),E[S]=x[S])}else E||(s||(s=[]),s.push(m,E)),E=x;else if(m===Jd){var z=x?x[Dh]:void 0,H=L?L[Dh]:void 0;z!=null&&H!==z&&(s=s||[]).push(m,z)}else m===cs?(typeof x=="string"||typeof x=="number")&&(s=s||[]).push(m,""+x):m===kh||m===Ju||(gr.hasOwnProperty(m)?(x!=null&&(typeof x!="function"&&Oh(m,x),m==="onScroll"&&$t("scroll",e)),!s&&L!==x&&(s=[])):(s=s||[]).push(m,x))}return E&&(Mo(E,p[fs]),(s=s||[]).push(fs,E)),s}function Ib(e,t,a,i,u){a==="input"&&u.type==="radio"&&u.name!=null&&Hf(e,u);var s=di(a,i),f=di(a,u);switch(jb(e,t,s,f),a){case"input":Eu(e,u);break;case"textarea":hv(e,u);break;case"select":wy(e,u);break}}function Yb(e){{var t=e.toLowerCase();return Ws.hasOwnProperty(t)&&Ws[t]||null}}function Qb(e,t,a,i,u,s,f){var p,m;switch(p=di(t,a),_h(t,a),t){case"dialog":$t("cancel",e),$t("close",e);break;case"iframe":case"object":case"embed":$t("load",e);break;case"video":case"audio":for(var S=0;S<Xd.length;S++)$t(Xd[S],e);break;case"source":$t("error",e);break;case"img":case"image":case"link":$t("error",e),$t("load",e);break;case"details":$t("toggle",e);break;case"input":Do(e,a),$t("invalid",e);break;case"option":Vs(e,a);break;case"select":pv(e,a),$t("invalid",e);break;case"textarea":vv(e,a),$t("invalid",e);break}Qs(t,a);{m=new Set;for(var E=e.attributes,D=0;D<E.length;D++){var x=E[D].name.toLowerCase();switch(x){case"value":break;case"checked":break;case"selected":break;default:m.add(E[D].name)}}}var L=null;for(var z in a)if(a.hasOwnProperty(z)){var H=a[z];if(z===cs)typeof H=="string"?e.textContent!==H&&(a[Ju]!==!0&&Mh(e.textContent,H,s,f),L=[cs,H]):typeof H=="number"&&e.textContent!==""+H&&(a[Ju]!==!0&&Mh(e.textContent,H,s,f),L=[cs,""+H]);else if(gr.hasOwnProperty(z))H!=null&&(typeof H!="function"&&Oh(z,H),z==="onScroll"&&$t("scroll",e));else if(f&&typeof p=="boolean"){var se=void 0,Re=p&&Nn?null:Hr(z);if(a[Ju]!==!0){if(!(z===kh||z===Ju||z==="value"||z==="checked"||z==="selected")){if(z===Jd){var ge=e.innerHTML,et=H?H[Dh]:void 0;if(et!=null){var qe=uC(e,et);qe!==ge&&ep(z,ge,qe)}}else if(z===fs){if(m.delete(z),lC){var O=My(H);se=e.getAttribute("style"),O!==se&&ep(z,se,O)}}else if(p&&!Nn)m.delete(z.toLowerCase()),se=yu(e,z,H),H!==se&&ep(z,se,H);else if(!Xt(z,Re,p)&&!xt(z,H,Re,p)){var j=!1;if(Re!==null)m.delete(Re.attributeName),se=Rl(e,z,H,Re);else{var N=i;if(N===ci&&(N=Ps(t)),N===ci)m.delete(z.toLowerCase());else{var G=Yb(z);G!==null&&G!==z&&(j=!0,m.delete(G)),m.delete(z)}se=yu(e,z,H)}var ce=Nn;!ce&&H!==se&&!j&&ep(z,se,H)}}}}}switch(f&&m.size>0&&a[Ju]!==!0&&iC(m),t){case"input":xl(e),_o(e,a,!0);break;case"textarea":xl(e),mv(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&Lh(e);break}return L}function Wb(e,t,a){var i=e.nodeValue!==t;return i}function pg(e,t){{if(ga)return;ga=!0,C("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function vg(e,t){{if(ga)return;ga=!0,C('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function hg(e,t,a){{if(ga)return;ga=!0,C("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function mg(e,t){{if(t===""||ga)return;ga=!0,C('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function Gb(e,t,a){switch(t){case"input":sv(e,a);return;case"textarea":$f(e,a);return;case"select":by(e,a);return}}var tp=function(){},np=function(){};{var qb=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],sC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Xb=sC.concat(["button"]),Kb=["dd","dt","li","option","optgroup","p","rp","rt"],cC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};np=function(e,t){var a=We({},e||cC),i={tag:t};return sC.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),Xb.indexOf(t)!==-1&&(a.pTagInButtonScope=null),qb.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),a};var Zb=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Kb.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},Jb=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},fC={};tp=function(e,t,a){a=a||cC;var i=a.current,u=i&&i.tag;t!=null&&(e!=null&&C("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=Zb(e,u)?null:i,f=s?null:Jb(e,a),p=s||f;if(p){var m=p.tag,S=!!s+"|"+e+"|"+m;if(!fC[S]){fC[S]=!0;var E=e,D="";if(e==="#text"?/\S/.test(t)?E="Text nodes":(E="Whitespace text nodes",D=" Make sure you don't have any extra whitespace between tags on each line of your source code."):E="<"+e+">",s){var x="";m==="table"&&e==="tr"&&(x+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),C("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",E,m,D,x)}else C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",E,m)}}}}var zh="suppressHydrationWarning",Uh="$",Ah="/$",rp="$?",ap="$!",ex="style",yg=null,gg=null;function tx(e){var t,a,i=e.nodeType;switch(i){case Ma:case kl:{t=i===Ma?"#document":"#fragment";var u=e.documentElement;a=u?u.namespaceURI:Yf(null,"");break}default:{var s=i===nn?e.parentNode:e,f=s.namespaceURI||null;t=s.tagName,a=Yf(f,t);break}}{var p=t.toLowerCase(),m=np(null,p);return{namespace:a,ancestorInfo:m}}}function nx(e,t,a){{var i=e,u=Yf(i.namespace,t),s=np(i.ancestorInfo,t);return{namespace:u,ancestorInfo:s}}}function wN(e){return e}function rx(e){yg=Qr(),gg=yb();var t=null;return bn(!1),t}function ax(e){gb(gg),bn(yg),yg=null,gg=null}function ix(e,t,a,i,u){var s;{var f=i;if(tp(e,null,f.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var p=""+t.children,m=np(f.ancestorInfo,e);tp(null,p,m)}s=f.namespace}var S=Vb(e,t,a,s);return up(u,S),xg(S,t),S}function lx(e,t){e.appendChild(t)}function ux(e,t,a,i,u){switch(Pb(e,t,a,i),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function ox(e,t,a,i,u,s){{var f=s;if(typeof i.children!=typeof a.children&&(typeof i.children=="string"||typeof i.children=="number")){var p=""+i.children,m=np(f.ancestorInfo,t);tp(null,p,m)}}return $b(e,t,a,i)}function Sg(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function sx(e,t,a,i){{var u=a;tp(null,e,u.ancestorInfo)}var s=Bb(e,t);return up(i,s),s}function cx(){var e=window.event;return e===void 0?Ci:ur(e.type)}var Cg=typeof setTimeout=="function"?setTimeout:void 0,fx=typeof clearTimeout=="function"?clearTimeout:void 0,Eg=-1,dC=typeof Promise=="function"?Promise:void 0,dx=typeof queueMicrotask=="function"?queueMicrotask:typeof dC<"u"?function(e){return dC.resolve(null).then(e).catch(px)}:Cg;function px(e){setTimeout(function(){throw e})}function vx(e,t,a,i){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function hx(e,t,a,i,u,s){Ib(e,t,a,i,u),xg(e,u)}function pC(e){Is(e,"")}function mx(e,t,a){e.nodeValue=a}function yx(e,t){e.appendChild(t)}function gx(e,t){var a;e.nodeType===nn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var i=e._reactRootContainer;i==null&&a.onclick===null&&Lh(a)}function Sx(e,t,a){e.insertBefore(t,a)}function Cx(e,t,a){e.nodeType===nn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function Ex(e,t){e.removeChild(t)}function Tx(e,t){e.nodeType===nn?e.parentNode.removeChild(t):e.removeChild(t)}function Tg(e,t){var a=t,i=0;do{var u=a.nextSibling;if(e.removeChild(a),u&&u.nodeType===nn){var s=u.data;if(s===Ah)if(i===0){e.removeChild(u),Ge(t);return}else i--;else(s===Uh||s===rp||s===ap)&&i++}a=u}while(a);Ge(t)}function Rx(e,t){e.nodeType===nn?Tg(e.parentNode,t):e.nodeType===Er&&Tg(e,t),Ge(e)}function wx(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function bx(e){e.nodeValue=""}function xx(e,t){e=e;var a=t[ex],i=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Ys("display",i)}function kx(e,t){e.nodeValue=t}function Dx(e){e.nodeType===Er?e.textContent="":e.nodeType===Ma&&e.documentElement&&e.removeChild(e.documentElement)}function _x(e,t,a){return e.nodeType!==Er||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Ox(e,t){return t===""||e.nodeType!==fi?null:e}function Nx(e){return e.nodeType!==nn?null:e}function vC(e){return e.data===rp}function Rg(e){return e.data===ap}function Mx(e){var t=e.nextSibling&&e.nextSibling.dataset,a,i,u;return t&&(a=t.dgst,i=t.msg,u=t.stck),{message:i,digest:a,stack:u}}function Lx(e,t){e._reactRetry=t}function Fh(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Er||t===fi)break;if(t===nn){var a=e.data;if(a===Uh||a===ap||a===rp)break;if(a===Ah)return null}}return e}function ip(e){return Fh(e.nextSibling)}function zx(e){return Fh(e.firstChild)}function Ux(e){return Fh(e.firstChild)}function Ax(e){return Fh(e.nextSibling)}function Fx(e,t,a,i,u,s,f){up(s,e),xg(e,a);var p;{var m=u;p=m.namespace}var S=(s.mode&Qe)!==xe;return Qb(e,t,a,p,i,S,f)}function Hx(e,t,a,i){return up(a,e),a.mode&Qe,Wb(e,t)}function jx(e,t){up(t,e)}function Vx(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===nn){var i=t.data;if(i===Ah){if(a===0)return ip(t);a--}else(i===Uh||i===ap||i===rp)&&a++}t=t.nextSibling}return null}function hC(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===nn){var i=t.data;if(i===Uh||i===ap||i===rp){if(a===0)return t;a--}else i===Ah&&a++}t=t.previousSibling}return null}function Bx(e){Ge(e)}function Px(e){Ge(e)}function $x(e){return e!=="head"&&e!=="body"}function Ix(e,t,a,i){var u=!0;Mh(t.nodeValue,a,i,u)}function Yx(e,t,a,i,u,s){if(t[zh]!==!0){var f=!0;Mh(i.nodeValue,u,s,f)}}function Qx(e,t){t.nodeType===Er?pg(e,t):t.nodeType===nn||vg(e,t)}function Wx(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===Er?pg(a,t):t.nodeType===nn||vg(a,t))}}function Gx(e,t,a,i,u){(u||t[zh]!==!0)&&(i.nodeType===Er?pg(a,i):i.nodeType===nn||vg(a,i))}function qx(e,t,a){hg(e,t)}function Xx(e,t){mg(e,t)}function Kx(e,t,a){{var i=e.parentNode;i!==null&&hg(i,t)}}function Zx(e,t){{var a=e.parentNode;a!==null&&mg(a,t)}}function Jx(e,t,a,i,u,s){(s||t[zh]!==!0)&&hg(a,i)}function ek(e,t,a,i,u){(u||t[zh]!==!0)&&mg(a,i)}function tk(e){C("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function nk(e){Kd(e)}var Kc=Math.random().toString(36).slice(2),Zc="__reactFiber$"+Kc,wg="__reactProps$"+Kc,lp="__reactContainer$"+Kc,bg="__reactEvents$"+Kc,rk="__reactListeners$"+Kc,ak="__reactHandles$"+Kc;function ik(e){delete e[Zc],delete e[wg],delete e[bg],delete e[rk],delete e[ak]}function up(e,t){t[Zc]=e}function Hh(e,t){t[lp]=e}function mC(e){e[lp]=null}function op(e){return!!e[lp]}function ds(e){var t=e[Zc];if(t)return t;for(var a=e.parentNode;a;){if(t=a[lp]||a[Zc],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var u=hC(e);u!==null;){var s=u[Zc];if(s)return s;u=hC(u)}return t}e=a,a=e.parentNode}return null}function eo(e){var t=e[Zc]||e[lp];return t&&(t.tag===ie||t.tag===de||t.tag===Ie||t.tag===K)?t:null}function Jc(e){if(e.tag===ie||e.tag===de)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function jh(e){return e[wg]||null}function xg(e,t){e[wg]=t}function lk(e){var t=e[bg];return t===void 0&&(t=e[bg]=new Set),t}var yC={},gC=v.ReactDebugCurrentFrame;function Vh(e){if(e){var t=e._owner,a=Eo(e.type,e._source,t?t.type:null);gC.setExtraStackFrame(a)}else gC.setExtraStackFrame(null)}function bi(e,t,a,i,u){{var s=Function.call.bind(Wn);for(var f in e)if(s(e,f)){var p=void 0;try{if(typeof e[f]!="function"){var m=Error((i||"React class")+": "+a+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}p=e[f](t,f,i,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){p=S}p&&!(p instanceof Error)&&(Vh(u),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",i||"React class",a,f,typeof p),Vh(null)),p instanceof Error&&!(p.message in yC)&&(yC[p.message]=!0,Vh(u),C("Failed %s type: %s",a,p.message),Vh(null))}}}var kg=[],Bh;Bh=[];var tu=-1;function to(e){return{current:e}}function Or(e,t){if(tu<0){C("Unexpected pop.");return}t!==Bh[tu]&&C("Unexpected Fiber popped."),e.current=kg[tu],kg[tu]=null,Bh[tu]=null,tu--}function Nr(e,t,a){tu++,kg[tu]=e.current,Bh[tu]=a,e.current=t}var Dg;Dg={};var Fa={};Object.freeze(Fa);var nu=to(Fa),cl=to(!1),_g=Fa;function ef(e,t,a){return a&&fl(t)?_g:nu.current}function SC(e,t,a){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=a}}function tf(e,t){{var a=e.type,i=a.contextTypes;if(!i)return Fa;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var s={};for(var f in i)s[f]=t[f];{var p=He(e)||"Unknown";bi(i,s,"context",p)}return u&&SC(e,t,s),s}}function Ph(){return cl.current}function fl(e){{var t=e.childContextTypes;return t!=null}}function $h(e){Or(cl,e),Or(nu,e)}function Og(e){Or(cl,e),Or(nu,e)}function CC(e,t,a){{if(nu.current!==Fa)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Nr(nu,t,e),Nr(cl,a,e)}}function EC(e,t,a){{var i=e.stateNode,u=t.childContextTypes;if(typeof i.getChildContext!="function"){{var s=He(e)||"Unknown";Dg[s]||(Dg[s]=!0,C("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",s,s))}return a}var f=i.getChildContext();for(var p in f)if(!(p in u))throw new Error((He(e)||"Unknown")+'.getChildContext(): key "'+p+'" is not defined in childContextTypes.');{var m=He(e)||"Unknown";bi(u,f,"child context",m)}return We({},a,f)}}function Ih(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||Fa;return _g=nu.current,Nr(nu,a,e),Nr(cl,cl.current,e),!0}}function TC(e,t,a){{var i=e.stateNode;if(!i)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var u=EC(e,t,_g);i.__reactInternalMemoizedMergedChildContext=u,Or(cl,e),Or(nu,e),Nr(nu,u,e),Nr(cl,a,e)}else Or(cl,e),Nr(cl,a,e)}}function uk(e){{if(!fd(e)||e.tag!==W)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case K:return t.stateNode.context;case W:{var a=t.type;if(fl(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var no=0,Yh=1,ru=null,Ng=!1,Mg=!1;function RC(e){ru===null?ru=[e]:ru.push(e)}function ok(e){Ng=!0,RC(e)}function wC(){Ng&&ro()}function ro(){if(!Mg&&ru!==null){Mg=!0;var e=0,t=va();try{var a=!0,i=ru;for(dn(Zn);e<i.length;e++){var u=i[e];do u=u(a);while(u!==null)}ru=null,Ng=!1}catch(s){throw ru!==null&&(ru=ru.slice(e+1)),nc(ac,ro),s}finally{dn(t),Mg=!1}}return null}var nf=[],rf=0,Qh=null,Wh=0,Ja=[],ei=0,ps=null,au=1,iu="";function sk(e){return hs(),(e.flags&od)!==Te}function ck(e){return hs(),Wh}function fk(){var e=iu,t=au,a=t&~dk(t);return a.toString(32)+e}function vs(e,t){hs(),nf[rf++]=Wh,nf[rf++]=Qh,Qh=e,Wh=t}function bC(e,t,a){hs(),Ja[ei++]=au,Ja[ei++]=iu,Ja[ei++]=ps,ps=e;var i=au,u=iu,s=Gh(i)-1,f=i&~(1<<s),p=a+1,m=Gh(t)+s;if(m>30){var S=s-s%5,E=(1<<S)-1,D=(f&E).toString(32),x=f>>S,L=s-S,z=Gh(t)+L,H=p<<L,se=H|x,Re=D+u;au=1<<z|se,iu=Re}else{var ge=p<<s,et=ge|f,qe=u;au=1<<m|et,iu=qe}}function Lg(e){hs();var t=e.return;if(t!==null){var a=1,i=0;vs(e,a),bC(e,a,i)}}function Gh(e){return 32-cc(e)}function dk(e){return 1<<Gh(e)-1}function zg(e){for(;e===Qh;)Qh=nf[--rf],nf[rf]=null,Wh=nf[--rf],nf[rf]=null;for(;e===ps;)ps=Ja[--ei],Ja[ei]=null,iu=Ja[--ei],Ja[ei]=null,au=Ja[--ei],Ja[ei]=null}function pk(){return hs(),ps!==null?{id:au,overflow:iu}:null}function vk(e,t){hs(),Ja[ei++]=au,Ja[ei++]=iu,Ja[ei++]=ps,au=t.id,iu=t.overflow,ps=e}function hs(){sr()||C("Expected to be hydrating. This is a bug in React. Please file an issue.")}var or=null,ti=null,xi=!1,ms=!1,ao=null;function hk(){xi&&C("We should not be hydrating here. This is a bug in React. Please file a bug.")}function xC(){ms=!0}function mk(){return ms}function yk(e){var t=e.stateNode.containerInfo;return ti=Ux(t),or=e,xi=!0,ao=null,ms=!1,!0}function gk(e,t,a){return ti=Ax(t),or=e,xi=!0,ao=null,ms=!1,a!==null&&vk(e,a),!0}function kC(e,t){switch(e.tag){case K:{Qx(e.stateNode.containerInfo,t);break}case ie:{var a=(e.mode&Qe)!==xe;Gx(e.type,e.memoizedProps,e.stateNode,t,a);break}case Ie:{var i=e.memoizedState;i.dehydrated!==null&&Wx(i.dehydrated,t);break}}}function DC(e,t){kC(e,t);var a=EO();a.stateNode=t,a.return=e;var i=e.deletions;i===null?(e.deletions=[a],e.flags|=dt):i.push(a)}function Ug(e,t){{if(ms)return;switch(e.tag){case K:{var a=e.stateNode.containerInfo;switch(t.tag){case ie:var i=t.type;t.pendingProps,qx(a,i);break;case de:var u=t.pendingProps;Xx(a,u);break}break}case ie:{var s=e.type,f=e.memoizedProps,p=e.stateNode;switch(t.tag){case ie:{var m=t.type,S=t.pendingProps,E=(e.mode&Qe)!==xe;Jx(s,f,p,m,S,E);break}case de:{var D=t.pendingProps,x=(e.mode&Qe)!==xe;ek(s,f,p,D,x);break}}break}case Ie:{var L=e.memoizedState,z=L.dehydrated;if(z!==null)switch(t.tag){case ie:var H=t.type;t.pendingProps,Kx(z,H);break;case de:var se=t.pendingProps;Zx(z,se);break}break}default:return}}}function _C(e,t){t.flags=t.flags&~sa|Ot,Ug(e,t)}function OC(e,t){switch(e.tag){case ie:{var a=e.type;e.pendingProps;var i=_x(t,a);return i!==null?(e.stateNode=i,or=e,ti=zx(i),!0):!1}case de:{var u=e.pendingProps,s=Ox(t,u);return s!==null?(e.stateNode=s,or=e,ti=null,!0):!1}case Ie:{var f=Nx(t);if(f!==null){var p={dehydrated:f,treeContext:pk(),retryLane:Dr};e.memoizedState=p;var m=TO(f);return m.return=e,e.child=m,or=e,ti=null,!0}return!1}default:return!1}}function Ag(e){return(e.mode&Qe)!==xe&&(e.flags&Ne)===Te}function Fg(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Hg(e){if(xi){var t=ti;if(!t){Ag(e)&&(Ug(or,e),Fg()),_C(or,e),xi=!1,or=e;return}var a=t;if(!OC(e,t)){Ag(e)&&(Ug(or,e),Fg()),t=ip(a);var i=or;if(!t||!OC(e,t)){_C(or,e),xi=!1,or=e;return}DC(i,a)}}}function Sk(e,t,a){var i=e.stateNode,u=!ms,s=Fx(i,e.type,e.memoizedProps,t,a,e,u);return e.updateQueue=s,s!==null}function Ck(e){var t=e.stateNode,a=e.memoizedProps,i=Hx(t,a,e);if(i){var u=or;if(u!==null)switch(u.tag){case K:{var s=u.stateNode.containerInfo,f=(u.mode&Qe)!==xe;Ix(s,t,a,f);break}case ie:{var p=u.type,m=u.memoizedProps,S=u.stateNode,E=(u.mode&Qe)!==xe;Yx(p,m,S,t,a,E);break}}}return i}function Ek(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");jx(a,e)}function Tk(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return Vx(a)}function NC(e){for(var t=e.return;t!==null&&t.tag!==ie&&t.tag!==K&&t.tag!==Ie;)t=t.return;or=t}function qh(e){if(e!==or)return!1;if(!xi)return NC(e),xi=!0,!1;if(e.tag!==K&&(e.tag!==ie||$x(e.type)&&!Sg(e.type,e.memoizedProps))){var t=ti;if(t)if(Ag(e))MC(e),Fg();else for(;t;)DC(e,t),t=ip(t)}return NC(e),e.tag===Ie?ti=Tk(e):ti=or?ip(e.stateNode):null,!0}function Rk(){return xi&&ti!==null}function MC(e){for(var t=ti;t;)kC(e,t),t=ip(t)}function af(){or=null,ti=null,xi=!1,ms=!1}function LC(){ao!==null&&(kT(ao),ao=null)}function sr(){return xi}function jg(e){ao===null?ao=[e]:ao.push(e)}var wk=v.ReactCurrentBatchConfig,bk=null;function xk(){return wk.transition}var ki={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var kk=function(e){for(var t=null,a=e;a!==null;)a.mode&Bt&&(t=a),a=a.return;return t},ys=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},sp=[],cp=[],fp=[],dp=[],pp=[],vp=[],gs=new Set;ki.recordUnsafeLifecycleWarnings=function(e,t){gs.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&sp.push(e),e.mode&Bt&&typeof t.UNSAFE_componentWillMount=="function"&&cp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&fp.push(e),e.mode&Bt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&dp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&pp.push(e),e.mode&Bt&&typeof t.UNSAFE_componentWillUpdate=="function"&&vp.push(e))},ki.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;sp.length>0&&(sp.forEach(function(x){e.add(He(x)||"Component"),gs.add(x.type)}),sp=[]);var t=new Set;cp.length>0&&(cp.forEach(function(x){t.add(He(x)||"Component"),gs.add(x.type)}),cp=[]);var a=new Set;fp.length>0&&(fp.forEach(function(x){a.add(He(x)||"Component"),gs.add(x.type)}),fp=[]);var i=new Set;dp.length>0&&(dp.forEach(function(x){i.add(He(x)||"Component"),gs.add(x.type)}),dp=[]);var u=new Set;pp.length>0&&(pp.forEach(function(x){u.add(He(x)||"Component"),gs.add(x.type)}),pp=[]);var s=new Set;if(vp.length>0&&(vp.forEach(function(x){s.add(He(x)||"Component"),gs.add(x.type)}),vp=[]),t.size>0){var f=ys(t);C(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
66
+ `,QU=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qU,n=st.useContext(lA),r=n.csp;st.useEffect(function(){WU(e,"@ant-design-icons",{prepend:!0,csp:r})},[])},ZU=["icon","className","onClick","style","primaryColor","secondaryColor"],Ip={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function KU(t){var e=t.primaryColor,n=t.secondaryColor;Ip.primaryColor=e,Ip.secondaryColor=n||AA(e),Ip.calculated=!!n}function JU(){return $n({},Ip)}var m0=function(e){var n=e.icon,r=e.className,a=e.onClick,l=e.style,u=e.primaryColor,f=e.secondaryColor,d=dA(e,ZU),h=Ip;if(u&&(h={primaryColor:u,secondaryColor:f||AA(u)}),QU(),XU(MA(n),"icon should be icon definiton, but got ".concat(n)),!MA(n))return null;var p=n;return p&&typeof p.icon=="function"&&(p=$n($n({},p),{},{icon:p.icon(h.primaryColor,h.secondaryColor)})),Ow(p.icon,"svg-".concat(p.name),$n({className:r,onClick:a,style:l,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d))};m0.displayName="IconReact",m0.getTwoToneColors=JU,m0.setTwoToneColors=KU;const kw=m0;function OA(t){var e=LA(t),n=cA(e,2),r=n[0],a=n[1];return kw.setTwoToneColors({primaryColor:r,secondaryColor:a})}function eV(){var t=kw.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor}var tV=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];OA("#1890ff");var y0=Nt.forwardRef(function(t,e){var n,r=t.className,a=t.icon,l=t.spin,u=t.rotate,f=t.tabIndex,d=t.onClick,h=t.twoToneColor,p=dA(t,tV),m=Nt.useContext(lA),S=m.prefixCls,_=S===void 0?"anticon":S,w=m.rootClassName,E=$d(w,_,(n={},Sw(n,"".concat(_,"-").concat(a.name),!!a.name),Sw(n,"".concat(_,"-spin"),!!l||a.name==="loading"),n),r),b=f;b===void 0&&d&&(b=-1);var D=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,A=LA(h),O=cA(A,2),P=O[0],I=O[1];return Nt.createElement("span",$n($n({role:"img","aria-label":a.name},p),{},{ref:e,tabIndex:b,onClick:d,className:E}),Nt.createElement(kw,{icon:a,primaryColor:P,secondaryColor:I,style:D}))});y0.displayName="AntdIcon",y0.getTwoToneColor=eV,y0.setTwoToneColor=OA;const jd=y0;var nV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const rV=nV;var kA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:rV}))};kA.displayName="ArrowLeftOutlined";const iV=Nt.forwardRef(kA);var aV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"};const oV=aV;var NA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:oV}))};NA.displayName="CloseCircleFilled";const lV=Nt.forwardRef(NA);var uV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const sV=uV;var PA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:sV}))};PA.displayName="DownOutlined";const fV=Nt.forwardRef(PA);var cV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const dV=cV;var IA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:dV}))};IA.displayName="PlusOutlined";const vV=Nt.forwardRef(IA);var hV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const pV=hV;var zA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:pV}))};zA.displayName="UpOutlined";const gV=Nt.forwardRef(zA);var mV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"};const yV=mV;var FA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:yV}))};FA.displayName="UploadOutlined";const _V=Nt.forwardRef(FA),Nw={main:"_main_swzn8_1",title:"_title_swzn8_7",sub:"_sub_swzn8_10"},{Title:SV,Text:CV}=ft.Typography,wV=t=>{const{isBack:e=!0,title:n,extra:r,subTitle:a,className:l}=t,u=sU.useNavigate(),f=()=>{u(-1)};return zr("div",{className:$d(Nw.main,{className:l}),children:[zr(ft.Space,{children:[e&&Ne(iV,{style:{fontSize:24},onClick:f}),zr(SV,{level:2,className:Nw.title,children:[n,a&&Ne(CV,{className:Nw.sub,children:a})]})]}),r]})};var Hf=(t=>(t.zip="application/zip",t.png="image/png",t.jpg="image/jpg",t.jpeg="image/jpeg",t.pdf="application/pdf",t.doc="application/msword",t.docx="application/vnd.openxmlformats-officedocument.wordprocessingml.document",t.pptx="application/vnd.openxmlformats-officedocument.presentationml.presentation",t.ppt="application/vnd.ms-powerpoint",t.xlsx="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",t.xls="application/vnd.ms-excel",t.txt="text/plain",t.csv="text/csv",t.svg="image/svg+xml",t))(Hf||{});const _0=new Map(Object.entries(Hf)),xV=Object.freeze(Object.defineProperty({__proto__:null,FileType:Hf,FileTypeMap:_0},Symbol.toStringTag,{value:"Module"})),TV=t=>{if(!Gd.isObject(t))return t;const e=t;return Gd.pick(e,Gd.keys(e).filter(n=>!Gd.isNil(e[n])))},BA=t=>new Promise((e,n)=>{const r=new FileReader;r.readAsDataURL(t),r.onload=()=>e(r.result),r.onerror=a=>n(a)}),UA=t=>{if(t){if(t.startsWith("http")){const e=t.split(".").at(-1);if(e&&_0.has(e))return _0.get(e)}if(t.startsWith("data:")&&t.includes("base64")){const e=t.indexOf(";base64"),n=t.slice(0,e).split(":");if(n[1])return n[1]}}},bV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;localStorage.setItem(t,n)},EV=t=>{let n=localStorage.getItem(t);return typeof n=="string"&&(n=Pw(n)),n||null},DV=t=>{localStorage.removeItem(t)},MV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;sessionStorage.setItem(t,n)},RV=t=>{let n=sessionStorage.getItem(t);return typeof n=="string"&&(n=Pw(n)),n||null},AV=t=>{sessionStorage.removeItem(t)},LV=(t,e)=>{const n=[];for(let r=0;r<e.length;r++)n.findIndex(a=>a[t]===e[r][t])<0&&n.push(e[r]);return n},Pw=t=>{if(!t)return null;if(typeof t=="object")return t;if(typeof t=="string"){let e={};try{e=JSON.parse(t)}catch(n){console.log(n)}return e}},OV=Object.freeze(Object.defineProperty({__proto__:null,filterObject:TV,getBase64:BA,getFileType:UA,setLocalStorage:bV,getLocalStorage:EV,removeLocalStorage:DV,setSessionStorage:MV,getSessionStorage:RV,removeSessionStorage:AV,arrayDeduplication:LV,JSONParse:Pw},Symbol.toStringTag,{value:"Module"}));var VA={exports:{}},Ki={},Iw={exports:{}},zw={};var HA;function kV(){return HA||(HA=1,function(t){function e(ae,ge){var pe=ae.length;ae.push(ge);e:for(;0<pe;){var Le=pe-1>>>1,Ge=ae[Le];if(0<a(Ge,ge))ae[Le]=ge,ae[pe]=Ge,pe=Le;else break e}}function n(ae){return ae.length===0?null:ae[0]}function r(ae){if(ae.length===0)return null;var ge=ae[0],pe=ae.pop();if(pe!==ge){ae[0]=pe;e:for(var Le=0,Ge=ae.length,St=Ge>>>1;Le<St;){var It=2*(Le+1)-1,Dn=ae[It],Xt=It+1,Mn=ae[Xt];if(0>a(Dn,pe))Xt<Ge&&0>a(Mn,Dn)?(ae[Le]=Mn,ae[Xt]=pe,Le=Xt):(ae[Le]=Dn,ae[It]=pe,Le=It);else if(Xt<Ge&&0>a(Mn,pe))ae[Le]=Mn,ae[Xt]=pe,Le=Xt;else break e}}return ge}function a(ae,ge){var pe=ae.sortIndex-ge.sortIndex;return pe!==0?pe:ae.id-ge.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;t.unstable_now=function(){return l.now()}}else{var u=Date,f=u.now();t.unstable_now=function(){return u.now()-f}}var d=[],h=[],p=1,m=null,S=3,_=!1,w=!1,E=!1,b=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,A=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(ae){for(var ge=n(h);ge!==null;){if(ge.callback===null)r(h);else if(ge.startTime<=ae)r(h),ge.sortIndex=ge.expirationTime,e(d,ge);else break;ge=n(h)}}function P(ae){if(E=!1,O(ae),!w)if(n(d)!==null)w=!0,fe(I);else{var ge=n(h);ge!==null&&Pe(P,ge.startTime-ae)}}function I(ae,ge){w=!1,E&&(E=!1,D(H),H=-1),_=!0;var pe=S;try{for(O(ge),m=n(d);m!==null&&(!(m.expirationTime>ge)||ae&&!G());){var Le=m.callback;if(typeof Le=="function"){m.callback=null,S=m.priorityLevel;var Ge=Le(m.expirationTime<=ge);ge=t.unstable_now(),typeof Ge=="function"?m.callback=Ge:m===n(d)&&r(d),O(ge)}else r(d);m=n(d)}if(m!==null)var St=!0;else{var It=n(h);It!==null&&Pe(P,It.startTime-ge),St=!1}return St}finally{m=null,S=pe,_=!1}}var F=!1,U=null,H=-1,j=5,X=-1;function G(){return!(t.unstable_now()-X<j)}function ee(){if(U!==null){var ae=t.unstable_now();X=ae;var ge=!0;try{ge=U(!0,ae)}finally{ge?J():(F=!1,U=null)}}else F=!1}var J;if(typeof A=="function")J=function(){A(ee)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,ce=ie.port2;ie.port1.onmessage=ee,J=function(){ce.postMessage(null)}}else J=function(){b(ee,0)};function fe(ae){U=ae,F||(F=!0,J())}function Pe(ae,ge){H=b(function(){ae(t.unstable_now())},ge)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(ae){ae.callback=null},t.unstable_continueExecution=function(){w||_||(w=!0,fe(I))},t.unstable_forceFrameRate=function(ae){0>ae||125<ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<ae?Math.floor(1e3/ae):5},t.unstable_getCurrentPriorityLevel=function(){return S},t.unstable_getFirstCallbackNode=function(){return n(d)},t.unstable_next=function(ae){switch(S){case 1:case 2:case 3:var ge=3;break;default:ge=S}var pe=S;S=ge;try{return ae()}finally{S=pe}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(ae,ge){switch(ae){case 1:case 2:case 3:case 4:case 5:break;default:ae=3}var pe=S;S=ae;try{return ge()}finally{S=pe}},t.unstable_scheduleCallback=function(ae,ge,pe){var Le=t.unstable_now();switch(typeof pe=="object"&&pe!==null?(pe=pe.delay,pe=typeof pe=="number"&&0<pe?Le+pe:Le):pe=Le,ae){case 1:var Ge=-1;break;case 2:Ge=250;break;case 5:Ge=1073741823;break;case 4:Ge=1e4;break;default:Ge=5e3}return Ge=pe+Ge,ae={id:p++,callback:ge,priorityLevel:ae,startTime:pe,expirationTime:Ge,sortIndex:-1},pe>Le?(ae.sortIndex=pe,e(h,ae),n(d)===null&&ae===n(h)&&(E?(D(H),H=-1):E=!0,Pe(P,pe-Le))):(ae.sortIndex=Ge,e(d,ae),w||_||(w=!0,fe(I))),ae},t.unstable_shouldYield=G,t.unstable_wrapCallback=function(ae){var ge=S;return function(){var pe=S;S=ge;try{return ae.apply(this,arguments)}finally{S=pe}}}}(zw)),zw}var Fw={};var GA;function NV(){return GA||(GA=1,function(t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=!1,n=!1,r=5;function a(De,qe){var Ct=De.length;De.push(qe),f(De,qe,Ct)}function l(De){return De.length===0?null:De[0]}function u(De){if(De.length===0)return null;var qe=De[0],Ct=De.pop();return Ct!==qe&&(De[0]=Ct,d(De,Ct,0)),qe}function f(De,qe,Ct){for(var en=Ct;en>0;){var In=en-1>>>1,hr=De[In];if(h(hr,qe)>0)De[In]=qe,De[en]=hr,en=In;else return}}function d(De,qe,Ct){for(var en=Ct,In=De.length,hr=In>>>1;en<hr;){var Yn=(en+1)*2-1,pi=De[Yn],_n=Yn+1,Fi=De[_n];if(h(pi,qe)<0)_n<In&&h(Fi,pi)<0?(De[en]=Fi,De[_n]=qe,en=_n):(De[en]=pi,De[Yn]=qe,en=Yn);else if(_n<In&&h(Fi,qe)<0)De[en]=Fi,De[_n]=qe,en=_n;else return}}function h(De,qe){var Ct=De.sortIndex-qe.sortIndex;return Ct!==0?Ct:De.id-qe.id}var p=1,m=2,S=3,_=4,w=5;function E(De,qe){}var b=typeof performance=="object"&&typeof performance.now=="function";if(b){var D=performance;t.unstable_now=function(){return D.now()}}else{var A=Date,O=A.now();t.unstable_now=function(){return A.now()-O}}var P=1073741823,I=-1,F=250,U=5e3,H=1e4,j=P,X=[],G=[],ee=1,J=null,ie=S,ce=!1,fe=!1,Pe=!1,ae=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,pe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Le(De){for(var qe=l(G);qe!==null;){if(qe.callback===null)u(G);else if(qe.startTime<=De)u(G),qe.sortIndex=qe.expirationTime,a(X,qe);else return;qe=l(G)}}function Ge(De){if(Pe=!1,Le(De),!fe)if(l(X)!==null)fe=!0,Ba(St);else{var qe=l(G);qe!==null&&Zn(Ge,qe.startTime-De)}}function St(De,qe){fe=!1,Pe&&(Pe=!1,zi()),ce=!0;var Ct=ie;try{var en;if(!n)return It(De,qe)}finally{J=null,ie=Ct,ce=!1}}function It(De,qe){var Ct=qe;for(Le(Ct),J=l(X);J!==null&&!e&&!(J.expirationTime>Ct&&(!De||za()));){var en=J.callback;if(typeof en=="function"){J.callback=null,ie=J.priorityLevel;var In=J.expirationTime<=Ct,hr=en(In);Ct=t.unstable_now(),typeof hr=="function"?J.callback=hr:J===l(X)&&u(X),Le(Ct)}else u(X);J=l(X)}if(J!==null)return!0;var Yn=l(G);return Yn!==null&&Zn(Ge,Yn.startTime-Ct),!1}function Dn(De,qe){switch(De){case p:case m:case S:case _:case w:break;default:De=S}var Ct=ie;ie=De;try{return qe()}finally{ie=Ct}}function Xt(De){var qe;switch(ie){case p:case m:case S:qe=S;break;default:qe=ie;break}var Ct=ie;ie=qe;try{return De()}finally{ie=Ct}}function Mn(De){var qe=ie;return function(){var Ct=ie;ie=qe;try{return De.apply(this,arguments)}finally{ie=Ct}}}function on(De,qe,Ct){var en=t.unstable_now(),In;if(typeof Ct=="object"&&Ct!==null){var hr=Ct.delay;typeof hr=="number"&&hr>0?In=en+hr:In=en}else In=en;var Yn;switch(De){case p:Yn=I;break;case m:Yn=F;break;case w:Yn=j;break;case _:Yn=H;break;case S:default:Yn=U;break}var pi=In+Yn,_n={id:ee++,callback:qe,priorityLevel:De,startTime:In,expirationTime:pi,sortIndex:-1};return In>en?(_n.sortIndex=In,a(G,_n),l(X)===null&&_n===l(G)&&(Pe?zi():Pe=!0,Zn(Ge,In-en))):(_n.sortIndex=pi,a(X,_n),!fe&&!ce&&(fe=!0,Ba(St))),_n}function zt(){}function Ft(){!fe&&!ce&&(fe=!0,Ba(St))}function $e(){return l(X)}function Se(De){De.callback=null}function Zt(){return ie}var Et=!1,Pn=null,ar=-1,Vr=r,ua=-1;function za(){var De=t.unstable_now()-ua;return!(De<Vr)}function Ho(){}function vo(De){if(De<0||De>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}De>0?Vr=Math.floor(1e3/De):Vr=r}var Fa=function(){if(Pn!==null){var De=t.unstable_now();ua=De;var qe=!0,Ct=!0;try{Ct=Pn(qe,De)}finally{Ct?Pi():(Et=!1,Pn=null)}}else Et=!1},Pi;if(typeof pe=="function")Pi=function(){pe(Fa)};else if(typeof MessageChannel<"u"){var ho=new MessageChannel,Ii=ho.port2;ho.port1.onmessage=Fa,Pi=function(){Ii.postMessage(null)}}else Pi=function(){ae(Fa,0)};function Ba(De){Pn=De,Et||(Et=!0,Pi())}function Zn(De,qe){ar=ae(function(){De(t.unstable_now())},qe)}function zi(){ge(ar),ar=-1}var Ol=Ho,Ua=null;t.unstable_IdlePriority=w,t.unstable_ImmediatePriority=p,t.unstable_LowPriority=_,t.unstable_NormalPriority=S,t.unstable_Profiling=Ua,t.unstable_UserBlockingPriority=m,t.unstable_cancelCallback=Se,t.unstable_continueExecution=Ft,t.unstable_forceFrameRate=vo,t.unstable_getCurrentPriorityLevel=Zt,t.unstable_getFirstCallbackNode=$e,t.unstable_next=Xt,t.unstable_pauseExecution=zt,t.unstable_requestPaint=Ol,t.unstable_runWithPriority=Dn,t.unstable_scheduleCallback=on,t.unstable_shouldYield=za,t.unstable_wrapCallback=Mn,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Fw)),Fw}var $A;function jA(){return $A||($A=1,function(t){process.env.NODE_ENV==="production"?t.exports=kV():t.exports=NV()}(Iw)),Iw.exports}var YA;function PV(){if(YA)return Ki;YA=1;var t=st,e=jA();function n(s){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+s,y=1;y<arguments.length;y++)c+="&args[]="+encodeURIComponent(arguments[y]);return"Minified React error #"+s+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,a={};function l(s,c){u(s,c),u(s+"Capture",c)}function u(s,c){for(a[s]=c,s=0;s<c.length;s++)r.add(c[s])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},m={};function S(s){return d.call(m,s)?!0:d.call(p,s)?!1:h.test(s)?m[s]=!0:(p[s]=!0,!1)}function _(s,c,y,x){if(y!==null&&y.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return x?!1:y!==null?!y.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function w(s,c,y,x){if(c===null||typeof c>"u"||_(s,c,y,x))return!0;if(x)return!1;if(y!==null)switch(y.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function E(s,c,y,x,M,L,z){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=x,this.attributeNamespace=M,this.mustUseProperty=y,this.propertyName=s,this.type=c,this.sanitizeURL=L,this.removeEmptyString=z}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){b[s]=new E(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0];b[c]=new E(c,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){b[s]=new E(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){b[s]=new E(s,2,!1,s,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(s){b[s]=new E(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){b[s]=new E(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){b[s]=new E(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){b[s]=new E(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){b[s]=new E(s,5,!1,s.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function A(s){return s[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(s){var c=s.replace(D,A);b[c]=new E(c,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var c=s.replace(D,A);b[c]=new E(c,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(D,A);b[c]=new E(c,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){b[s]=new E(s,1,!1,s.toLowerCase(),null,!1,!1)}),b.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){b[s]=new E(s,1,!1,s.toLowerCase(),null,!0,!0)});function O(s,c,y,x){var M=b.hasOwnProperty(c)?b[c]:null;(M!==null?M.type!==0:x||!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(w(c,y,M,x)&&(y=null),x||M===null?S(c)&&(y===null?s.removeAttribute(c):s.setAttribute(c,""+y)):M.mustUseProperty?s[M.propertyName]=y===null?M.type===3?!1:"":y:(c=M.attributeName,x=M.attributeNamespace,y===null?s.removeAttribute(c):(M=M.type,y=M===3||M===4&&y===!0?"":""+y,x?s.setAttributeNS(x,c,y):s.setAttribute(c,y))))}var P=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=Symbol.for("react.element"),F=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),X=Symbol.for("react.provider"),G=Symbol.for("react.context"),ee=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),Pe=Symbol.for("react.offscreen"),ae=Symbol.iterator;function ge(s){return s===null||typeof s!="object"?null:(s=ae&&s[ae]||s["@@iterator"],typeof s=="function"?s:null)}var pe=Object.assign,Le;function Ge(s){if(Le===void 0)try{throw Error()}catch(y){var c=y.stack.trim().match(/\n( *(at )?)/);Le=c&&c[1]||""}return`
67
+ `+Le+s}var St=!1;function It(s,c){if(!s||St)return"";St=!0;var y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(c)if(c=function(){throw Error()},Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(se){var x=se}Reflect.construct(s,[],c)}else{try{c.call()}catch(se){x=se}s.call(c.prototype)}else{try{throw Error()}catch(se){x=se}s()}}catch(se){if(se&&x&&typeof se.stack=="string"){for(var M=se.stack.split(`
68
+ `),L=x.stack.split(`
69
+ `),z=M.length-1,$=L.length-1;1<=z&&0<=$&&M[z]!==L[$];)$--;for(;1<=z&&0<=$;z--,$--)if(M[z]!==L[$]){if(z!==1||$!==1)do if(z--,$--,0>$||M[z]!==L[$]){var q=`
70
+ `+M[z].replace(" at new "," at ");return s.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",s.displayName)),q}while(1<=z&&0<=$);break}}}finally{St=!1,Error.prepareStackTrace=y}return(s=s?s.displayName||s.name:"")?Ge(s):""}function Dn(s){switch(s.tag){case 5:return Ge(s.type);case 16:return Ge("Lazy");case 13:return Ge("Suspense");case 19:return Ge("SuspenseList");case 0:case 2:case 15:return s=It(s.type,!1),s;case 11:return s=It(s.type.render,!1),s;case 1:return s=It(s.type,!0),s;default:return""}}function Xt(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case U:return"Fragment";case F:return"Portal";case j:return"Profiler";case H:return"StrictMode";case J:return"Suspense";case ie:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case G:return(s.displayName||"Context")+".Consumer";case X:return(s._context.displayName||"Context")+".Provider";case ee:var c=s.render;return s=s.displayName,s||(s=c.displayName||c.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case ce:return c=s.displayName||null,c!==null?c:Xt(s.type)||"Memo";case fe:c=s._payload,s=s._init;try{return Xt(s(c))}catch{}}return null}function Mn(s){var c=s.type;switch(s.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=c.render,s=s.displayName||s.name||"",c.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Xt(c);case 8:return c===H?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function on(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function zt(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Ft(s){var c=zt(s)?"checked":"value",y=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),x=""+s[c];if(!s.hasOwnProperty(c)&&typeof y<"u"&&typeof y.get=="function"&&typeof y.set=="function"){var M=y.get,L=y.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return M.call(this)},set:function(z){x=""+z,L.call(this,z)}}),Object.defineProperty(s,c,{enumerable:y.enumerable}),{getValue:function(){return x},setValue:function(z){x=""+z},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function $e(s){s._valueTracker||(s._valueTracker=Ft(s))}function Se(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var y=c.getValue(),x="";return s&&(x=zt(s)?s.checked?"true":"false":s.value),s=x,s!==y?(c.setValue(s),!0):!1}function Zt(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Et(s,c){var y=c.checked;return pe({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:y??s._wrapperState.initialChecked})}function Pn(s,c){var y=c.defaultValue==null?"":c.defaultValue,x=c.checked!=null?c.checked:c.defaultChecked;y=on(c.value!=null?c.value:y),s._wrapperState={initialChecked:x,initialValue:y,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function ar(s,c){c=c.checked,c!=null&&O(s,"checked",c,!1)}function Vr(s,c){ar(s,c);var y=on(c.value),x=c.type;if(y!=null)x==="number"?(y===0&&s.value===""||s.value!=y)&&(s.value=""+y):s.value!==""+y&&(s.value=""+y);else if(x==="submit"||x==="reset"){s.removeAttribute("value");return}c.hasOwnProperty("value")?za(s,c.type,y):c.hasOwnProperty("defaultValue")&&za(s,c.type,on(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(s.defaultChecked=!!c.defaultChecked)}function ua(s,c,y){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var x=c.type;if(!(x!=="submit"&&x!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+s._wrapperState.initialValue,y||c===s.value||(s.value=c),s.defaultValue=c}y=s.name,y!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,y!==""&&(s.name=y)}function za(s,c,y){(c!=="number"||Zt(s.ownerDocument)!==s)&&(y==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+y&&(s.defaultValue=""+y))}var Ho=Array.isArray;function vo(s,c,y,x){if(s=s.options,c){c={};for(var M=0;M<y.length;M++)c["$"+y[M]]=!0;for(y=0;y<s.length;y++)M=c.hasOwnProperty("$"+s[y].value),s[y].selected!==M&&(s[y].selected=M),M&&x&&(s[y].defaultSelected=!0)}else{for(y=""+on(y),c=null,M=0;M<s.length;M++){if(s[M].value===y){s[M].selected=!0,x&&(s[M].defaultSelected=!0);return}c!==null||s[M].disabled||(c=s[M])}c!==null&&(c.selected=!0)}}function Fa(s,c){if(c.dangerouslySetInnerHTML!=null)throw Error(n(91));return pe({},c,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Pi(s,c){var y=c.value;if(y==null){if(y=c.children,c=c.defaultValue,y!=null){if(c!=null)throw Error(n(92));if(Ho(y)){if(1<y.length)throw Error(n(93));y=y[0]}c=y}c==null&&(c=""),y=c}s._wrapperState={initialValue:on(y)}}function ho(s,c){var y=on(c.value),x=on(c.defaultValue);y!=null&&(y=""+y,y!==s.value&&(s.value=y),c.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)),x!=null&&(s.defaultValue=""+x)}function Ii(s){var c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function Ba(s){switch(s){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Zn(s,c){return s==null||s==="http://www.w3.org/1999/xhtml"?Ba(c):s==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var zi,Ol=function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,y,x,M){MSApp.execUnsafeLocalFunction(function(){return s(c,y,x,M)})}:s}(function(s,c){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=c;else{for(zi=zi||document.createElement("div"),zi.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=zi.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;c.firstChild;)s.appendChild(c.firstChild)}});function Ua(s,c){if(c){var y=s.firstChild;if(y&&y===s.lastChild&&y.nodeType===3){y.nodeValue=c;return}}s.textContent=c}var De={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qe=["Webkit","ms","Moz","O"];Object.keys(De).forEach(function(s){qe.forEach(function(c){c=c+s.charAt(0).toUpperCase()+s.substring(1),De[c]=De[s]})});function Ct(s,c,y){return c==null||typeof c=="boolean"||c===""?"":y||typeof c!="number"||c===0||De.hasOwnProperty(s)&&De[s]?(""+c).trim():c+"px"}function en(s,c){s=s.style;for(var y in c)if(c.hasOwnProperty(y)){var x=y.indexOf("--")===0,M=Ct(y,c[y],x);y==="float"&&(y="cssFloat"),x?s.setProperty(y,M):s[y]=M}}var In=pe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hr(s,c){if(c){if(In[s]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(n(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(n(61))}if(c.style!=null&&typeof c.style!="object")throw Error(n(62))}}function Yn(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pi=null;function _n(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var Fi=null,vn=null,Sn=null;function Bs(s){if(s=nd(s)){if(typeof Fi!="function")throw Error(n(280));var c=s.stateNode;c&&(c=Qe(c),Fi(s.stateNode,s.type,c))}}function Lu(s){vn?Sn?Sn.push(s):Sn=[s]:vn=s}function Us(){if(vn){var s=vn,c=Sn;if(Sn=vn=null,Bs(s),c)for(s=0;s<c.length;s++)Bs(c[s])}}function Nc(s,c){return s(c)}function Bv(){}var Ou=!1;function Vs(s,c,y){if(Ou)return s(c,y);Ou=!0;try{return Nc(s,c,y)}finally{Ou=!1,(vn!==null||Sn!==null)&&(Bv(),Us())}}function ku(s,c){var y=s.stateNode;if(y===null)return null;var x=Qe(y);if(x===null)return null;y=x[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(x=!x.disabled)||(s=s.type,x=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!x;break e;default:s=!1}if(s)return null;if(y&&typeof y!="function")throw Error(n(231,c,typeof y));return y}var Hs=!1;if(f)try{var po={};Object.defineProperty(po,"passive",{get:function(){Hs=!0}}),window.addEventListener("test",po,po),window.removeEventListener("test",po,po)}catch{Hs=!1}function kl(s,c,y,x,M,L,z,$,q){var se=Array.prototype.slice.call(arguments,3);try{c.apply(y,se)}catch(_e){this.onError(_e)}}var Bi=!1,Va=null,Nl=!1,Y=null,Ce={onError:function(s){Bi=!0,Va=s}};function Me(s,c,y,x,M,L,z,$,q){Bi=!1,Va=null,kl.apply(Ce,arguments)}function Ke(s,c,y,x,M,L,z,$,q){if(Me.apply(this,arguments),Bi){if(Bi){var se=Va;Bi=!1,Va=null}else throw Error(n(198));Nl||(Nl=!0,Y=se)}}function mt(s){var c=s,y=s;if(s.alternate)for(;c.return;)c=c.return;else{s=c;do c=s,c.flags&4098&&(y=c.return),s=c.return;while(s)}return c.tag===3?y:null}function Bt(s){if(s.tag===13){var c=s.memoizedState;if(c===null&&(s=s.alternate,s!==null&&(c=s.memoizedState)),c!==null)return c.dehydrated}return null}function yt(s){if(mt(s)!==s)throw Error(n(188))}function tt(s){var c=s.alternate;if(!c){if(c=mt(s),c===null)throw Error(n(188));return c!==s?null:s}for(var y=s,x=c;;){var M=y.return;if(M===null)break;var L=M.alternate;if(L===null){if(x=M.return,x!==null){y=x;continue}break}if(M.child===L.child){for(L=M.child;L;){if(L===y)return yt(M),s;if(L===x)return yt(M),c;L=L.sibling}throw Error(n(188))}if(y.return!==x.return)y=M,x=L;else{for(var z=!1,$=M.child;$;){if($===y){z=!0,y=M,x=L;break}if($===x){z=!0,x=M,y=L;break}$=$.sibling}if(!z){for($=L.child;$;){if($===y){z=!0,y=L,x=M;break}if($===x){z=!0,x=L,y=M;break}$=$.sibling}if(!z)throw Error(n(189))}}if(y.alternate!==x)throw Error(n(190))}if(y.tag!==3)throw Error(n(188));return y.stateNode.current===y?s:c}function pr(s){return s=tt(s),s!==null?Rn(s):null}function Rn(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var c=Rn(s);if(c!==null)return c;s=s.sibling}return null}var An=e.unstable_scheduleCallback,Jr=e.unstable_cancelCallback,Pl=e.unstable_shouldYield,Uv=e.unstable_requestPaint,$t=e.unstable_now,DE=e.unstable_getCurrentPriorityLevel,Go=e.unstable_ImmediatePriority,Dt=e.unstable_UserBlockingPriority,Il=e.unstable_NormalPriority,C1=e.unstable_LowPriority,Zg=e.unstable_IdlePriority,Pc=null,Ha=null;function w1(s){if(Ha&&typeof Ha.onCommitFiberRoot=="function")try{Ha.onCommitFiberRoot(Pc,s,void 0,(s.current.flags&128)===128)}catch{}}var sa=Math.clz32?Math.clz32:ME,x1=Math.log,T1=Math.LN2;function ME(s){return s>>>=0,s===0?32:31-(x1(s)/T1|0)|0}var Vv=64,Gs=4194304;function Nu(s){switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function Ga(s,c){var y=s.pendingLanes;if(y===0)return 0;var x=0,M=s.suspendedLanes,L=s.pingedLanes,z=y&268435455;if(z!==0){var $=z&~M;$!==0?x=Nu($):(L&=z,L!==0&&(x=Nu(L)))}else z=y&~M,z!==0?x=Nu(z):L!==0&&(x=Nu(L));if(x===0)return 0;if(c!==0&&c!==x&&!(c&M)&&(M=x&-x,L=c&-c,M>=L||M===16&&(L&4194240)!==0))return c;if(x&4&&(x|=y&16),c=s.entangledLanes,c!==0)for(s=s.entanglements,c&=x;0<c;)y=31-sa(c),M=1<<y,x|=s[y],c&=~M;return x}function Kg(s,c){switch(s){case 1:case 2:case 4:return c+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Hv(s,c){for(var y=s.suspendedLanes,x=s.pingedLanes,M=s.expirationTimes,L=s.pendingLanes;0<L;){var z=31-sa(L),$=1<<z,q=M[z];q===-1?(!($&y)||$&x)&&(M[z]=Kg($,c)):q<=c&&(s.expiredLanes|=$),L&=~$}}function Jg(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function Gv(){var s=Vv;return Vv<<=1,!(Vv&4194240)&&(Vv=64),s}function em(s){for(var c=[],y=0;31>y;y++)c.push(s);return c}function Pu(s,c,y){s.pendingLanes|=c,c!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,c=31-sa(c),s[c]=y}function RE(s,c){var y=s.pendingLanes&~c;s.pendingLanes=c,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=c,s.mutableReadLanes&=c,s.entangledLanes&=c,c=s.entanglements;var x=s.eventTimes;for(s=s.expirationTimes;0<y;){var M=31-sa(y),L=1<<M;c[M]=0,x[M]=-1,s[M]=-1,y&=~L}}function Ic(s,c){var y=s.entangledLanes|=c;for(s=s.entanglements;y;){var x=31-sa(y),M=1<<x;M&c|s[x]&c&&(s[x]|=c),y&=~M}}var tn=0;function tm(s){return s&=-s,1<s?4<s?s&268435455?16:536870912:4:1}var b1,$v,hn,E1,nm,vt=!1,zc=[],Kn=null,fa=null,ca=null,Fc=new Map,or=new Map,ln=[],AE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function $a(s,c){switch(s){case"focusin":case"focusout":Kn=null;break;case"dragenter":case"dragleave":fa=null;break;case"mouseover":case"mouseout":ca=null;break;case"pointerover":case"pointerout":Fc.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":or.delete(c.pointerId)}}function Hr(s,c,y,x,M,L){return s===null||s.nativeEvent!==L?(s={blockedOn:c,domEventName:y,eventSystemFlags:x,nativeEvent:L,targetContainers:[M]},c!==null&&(c=nd(c),c!==null&&$v(c)),s):(s.eventSystemFlags|=x,c=s.targetContainers,M!==null&&c.indexOf(M)===-1&&c.push(M),s)}function zl(s,c,y,x,M){switch(c){case"focusin":return Kn=Hr(Kn,s,c,y,x,M),!0;case"dragenter":return fa=Hr(fa,s,c,y,x,M),!0;case"mouseover":return ca=Hr(ca,s,c,y,x,M),!0;case"pointerover":var L=M.pointerId;return Fc.set(L,Hr(Fc.get(L)||null,s,c,y,x,M)),!0;case"gotpointercapture":return L=M.pointerId,or.set(L,Hr(or.get(L)||null,s,c,y,x,M)),!0}return!1}function D1(s){var c=va(s.target);if(c!==null){var y=mt(c);if(y!==null){if(c=y.tag,c===13){if(c=Bt(y),c!==null){s.blockedOn=c,nm(s.priority,function(){hn(y)});return}}else if(c===3&&y.stateNode.current.memoizedState.isDehydrated){s.blockedOn=y.tag===3?y.stateNode.containerInfo:null;return}}}s.blockedOn=null}function $s(s){if(s.blockedOn!==null)return!1;for(var c=s.targetContainers;0<c.length;){var y=Wv(s.domEventName,s.eventSystemFlags,c[0],s.nativeEvent);if(y===null){y=s.nativeEvent;var x=new y.constructor(y.type,y);pi=x,y.target.dispatchEvent(x),pi=null}else return c=nd(y),c!==null&&$v(c),s.blockedOn=y,!1;c.shift()}return!0}function rm(s,c,y){$s(s)&&y.delete(c)}function M1(){vt=!1,Kn!==null&&$s(Kn)&&(Kn=null),fa!==null&&$s(fa)&&(fa=null),ca!==null&&$s(ca)&&(ca=null),Fc.forEach(rm),or.forEach(rm)}function Bc(s,c){s.blockedOn===c&&(s.blockedOn=null,vt||(vt=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,M1)))}function Uc(s){function c(M){return Bc(M,s)}if(0<zc.length){Bc(zc[0],s);for(var y=1;y<zc.length;y++){var x=zc[y];x.blockedOn===s&&(x.blockedOn=null)}}for(Kn!==null&&Bc(Kn,s),fa!==null&&Bc(fa,s),ca!==null&&Bc(ca,s),Fc.forEach(c),or.forEach(c),y=0;y<ln.length;y++)x=ln[y],x.blockedOn===s&&(x.blockedOn=null);for(;0<ln.length&&(y=ln[0],y.blockedOn===null);)D1(y),y.blockedOn===null&&ln.shift()}var js=P.ReactCurrentBatchConfig,Iu=!0;function R1(s,c,y,x){var M=tn,L=js.transition;js.transition=null;try{tn=1,Yv(s,c,y,x)}finally{tn=M,js.transition=L}}function jv(s,c,y,x){var M=tn,L=js.transition;js.transition=null;try{tn=4,Yv(s,c,y,x)}finally{tn=M,js.transition=L}}function Yv(s,c,y,x){if(Iu){var M=Wv(s,c,y,x);if(M===null)ah(s,c,x,Vc,y),$a(s,x);else if(zl(M,s,c,y,x))x.stopPropagation();else if($a(s,x),c&4&&-1<AE.indexOf(s)){for(;M!==null;){var L=nd(M);if(L!==null&&b1(L),L=Wv(s,c,y,x),L===null&&ah(s,c,x,Vc,y),L===M)break;M=L}M!==null&&x.stopPropagation()}else ah(s,c,x,null,y)}}var Vc=null;function Wv(s,c,y,x){if(Vc=null,s=_n(x),s=va(s),s!==null)if(c=mt(s),c===null)s=null;else if(y=c.tag,y===13){if(s=Bt(c),s!==null)return s;s=null}else if(y===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;s=null}else c!==s&&(s=null);return Vc=s,null}function im(s){switch(s){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(DE()){case Go:return 1;case Dt:return 4;case Il:case C1:return 16;case Zg:return 536870912;default:return 16}default:return 16}}var $o=null,Hc=null,Gc=null;function am(){if(Gc)return Gc;var s,c=Hc,y=c.length,x,M="value"in $o?$o.value:$o.textContent,L=M.length;for(s=0;s<y&&c[s]===M[s];s++);var z=y-s;for(x=1;x<=z&&c[y-x]===M[L-x];x++);return Gc=M.slice(s,1<x?1-x:void 0)}function Ys(s){var c=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&c===13&&(s=13)):s=c,s===10&&(s=13),32<=s||s===13?s:0}function $c(){return!0}function A1(){return!1}function Ui(s){function c(y,x,M,L,z){this._reactName=y,this._targetInst=M,this.type=x,this.nativeEvent=L,this.target=z,this.currentTarget=null;for(var $ in s)s.hasOwnProperty($)&&(y=s[$],this[$]=y?y(L):L[$]);return this.isDefaultPrevented=(L.defaultPrevented!=null?L.defaultPrevented:L.returnValue===!1)?$c:A1,this.isPropagationStopped=A1,this}return pe(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var y=this.nativeEvent;y&&(y.preventDefault?y.preventDefault():typeof y.returnValue!="unknown"&&(y.returnValue=!1),this.isDefaultPrevented=$c)},stopPropagation:function(){var y=this.nativeEvent;y&&(y.stopPropagation?y.stopPropagation():typeof y.cancelBubble!="unknown"&&(y.cancelBubble=!0),this.isPropagationStopped=$c)},persist:function(){},isPersistent:$c}),c}var Fl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xv=Ui(Fl),Ws=pe({},Fl,{view:0,detail:0}),L1=Ui(Ws),qv,om,jc,gr=pe({},Ws,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fm,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==jc&&(jc&&s.type==="mousemove"?(qv=s.screenX-jc.screenX,om=s.screenY-jc.screenY):om=qv=0,jc=s),qv)},movementY:function(s){return"movementY"in s?s.movementY:om}}),Qv=Ui(gr),O1=pe({},gr,{dataTransfer:0}),k1=Ui(O1),LE=pe({},Ws,{relatedTarget:0}),Bl=Ui(LE),lm=pe({},Fl,{animationName:0,elapsedTime:0,pseudoElement:0}),N1=Ui(lm),OE=pe({},Fl,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),kE=Ui(OE),NE=pe({},Fl,{data:0}),um=Ui(NE),sm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},P1={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},I1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function z1(s){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(s):(s=I1[s])?!!c[s]:!1}function fm(){return z1}var jo=pe({},Ws,{key:function(s){if(s.key){var c=sm[s.key]||s.key;if(c!=="Unidentified")return c}return s.type==="keypress"?(s=Ys(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?P1[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fm,charCode:function(s){return s.type==="keypress"?Ys(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?Ys(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),PE=Ui(jo),cm=pe({},gr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zv=Ui(cm),dm=pe({},Ws,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fm}),IE=Ui(dm),Kv=pe({},Fl,{propertyName:0,elapsedTime:0,pseudoElement:0}),F1=Ui(Kv),gi=pe({},gr,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),Yo=Ui(gi),Jn=[9,13,27,32],ja=f&&"CompositionEvent"in window,zu=null;f&&"documentMode"in document&&(zu=document.documentMode);var Jv=f&&"TextEvent"in window&&!zu,B1=f&&(!ja||zu&&8<zu&&11>=zu),Xs=String.fromCharCode(32),U1=!1;function V1(s,c){switch(s){case"keyup":return Jn.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eh(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var qs=!1;function zE(s,c){switch(s){case"compositionend":return eh(c);case"keypress":return c.which!==32?null:(U1=!0,Xs);case"textInput":return s=c.data,s===Xs&&U1?null:s;default:return null}}function FE(s,c){if(qs)return s==="compositionend"||!ja&&V1(s,c)?(s=am(),Gc=Hc=$o=null,qs=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return B1&&c.locale!=="ko"?null:c.data;default:return null}}var H1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function G1(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c==="input"?!!H1[s.type]:c==="textarea"}function $1(s,c,y,x){Lu(x),c=Jc(c,"onChange"),0<c.length&&(y=new Xv("onChange","change",null,y,x),s.push({event:y,listeners:c}))}var Yc=null,Qs=null;function Zs(s){ih(s,0)}function Ks(s){var c=ef(s);if(Se(c))return s}function j1(s,c){if(s==="change")return c}var vm=!1;if(f){var hm;if(f){var pm="oninput"in document;if(!pm){var Y1=document.createElement("div");Y1.setAttribute("oninput","return;"),pm=typeof Y1.oninput=="function"}hm=pm}else hm=!1;vm=hm&&(!document.documentMode||9<document.documentMode)}function W1(){Yc&&(Yc.detachEvent("onpropertychange",X1),Qs=Yc=null)}function X1(s){if(s.propertyName==="value"&&Ks(Qs)){var c=[];$1(c,Qs,s,_n(s)),Vs(Zs,c)}}function BE(s,c,y){s==="focusin"?(W1(),Yc=c,Qs=y,Yc.attachEvent("onpropertychange",X1)):s==="focusout"&&W1()}function UE(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Ks(Qs)}function VE(s,c){if(s==="click")return Ks(c)}function q1(s,c){if(s==="input"||s==="change")return Ks(c)}function HE(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var da=typeof Object.is=="function"?Object.is:HE;function Wc(s,c){if(da(s,c))return!0;if(typeof s!="object"||s===null||typeof c!="object"||c===null)return!1;var y=Object.keys(s),x=Object.keys(c);if(y.length!==x.length)return!1;for(x=0;x<y.length;x++){var M=y[x];if(!d.call(c,M)||!da(s[M],c[M]))return!1}return!0}function Q1(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function Z1(s,c){var y=Q1(s);s=0;for(var x;y;){if(y.nodeType===3){if(x=s+y.textContent.length,s<=c&&x>=c)return{node:y,offset:c-s};s=x}e:{for(;y;){if(y.nextSibling){y=y.nextSibling;break e}y=y.parentNode}y=void 0}y=Q1(y)}}function K1(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?K1(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function th(){for(var s=window,c=Zt();c instanceof s.HTMLIFrameElement;){try{var y=typeof c.contentWindow.location.href=="string"}catch{y=!1}if(y)s=c.contentWindow;else break;c=Zt(s.document)}return c}function Wo(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}function nh(s){var c=th(),y=s.focusedElem,x=s.selectionRange;if(c!==y&&y&&y.ownerDocument&&K1(y.ownerDocument.documentElement,y)){if(x!==null&&Wo(y)){if(c=x.start,s=x.end,s===void 0&&(s=c),"selectionStart"in y)y.selectionStart=c,y.selectionEnd=Math.min(s,y.value.length);else if(s=(c=y.ownerDocument||document)&&c.defaultView||window,s.getSelection){s=s.getSelection();var M=y.textContent.length,L=Math.min(x.start,M);x=x.end===void 0?L:Math.min(x.end,M),!s.extend&&L>x&&(M=x,x=L,L=M),M=Z1(y,L);var z=Z1(y,x);M&&z&&(s.rangeCount!==1||s.anchorNode!==M.node||s.anchorOffset!==M.offset||s.focusNode!==z.node||s.focusOffset!==z.offset)&&(c=c.createRange(),c.setStart(M.node,M.offset),s.removeAllRanges(),L>x?(s.addRange(c),s.extend(z.node,z.offset)):(c.setEnd(z.node,z.offset),s.addRange(c)))}}for(c=[],s=y;s=s.parentNode;)s.nodeType===1&&c.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<c.length;y++)s=c[y],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var J1=f&&"documentMode"in document&&11>=document.documentMode,Ya=null,gm=null,Xc=null,mm=!1;function eS(s,c,y){var x=y.window===y?y.document:y.nodeType===9?y:y.ownerDocument;mm||Ya==null||Ya!==Zt(x)||(x=Ya,"selectionStart"in x&&Wo(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),Xc&&Wc(Xc,x)||(Xc=x,x=Jc(gm,"onSelect"),0<x.length&&(c=new Xv("onSelect","select",null,c,y),s.push({event:c,listeners:x}),c.target=Ya)))}function rh(s,c){var y={};return y[s.toLowerCase()]=c.toLowerCase(),y["Webkit"+s]="webkit"+c,y["Moz"+s]="moz"+c,y}var Fu={animationend:rh("Animation","AnimationEnd"),animationiteration:rh("Animation","AnimationIteration"),animationstart:rh("Animation","AnimationStart"),transitionend:rh("Transition","TransitionEnd")},ym={},_m={};f&&(_m=document.createElement("div").style,"AnimationEvent"in window||(delete Fu.animationend.animation,delete Fu.animationiteration.animation,delete Fu.animationstart.animation),"TransitionEvent"in window||delete Fu.transitionend.transition);function mr(s){if(ym[s])return ym[s];if(!Fu[s])return s;var c=Fu[s],y;for(y in c)if(c.hasOwnProperty(y)&&y in _m)return ym[s]=c[y];return s}var Sm=mr("animationend"),tS=mr("animationiteration"),nS=mr("animationstart"),rS=mr("transitionend"),iS=new Map,aS="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Xo(s,c){iS.set(s,c),l(c,[s])}for(var qc=0;qc<aS.length;qc++){var Bu=aS[qc],GE=Bu.toLowerCase(),Qc=Bu[0].toUpperCase()+Bu.slice(1);Xo(GE,"on"+Qc)}Xo(Sm,"onAnimationEnd"),Xo(tS,"onAnimationIteration"),Xo(nS,"onAnimationStart"),Xo("dblclick","onDoubleClick"),Xo("focusin","onFocus"),Xo("focusout","onBlur"),Xo(rS,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),$E=new Set("cancel close invalid load scroll toggle".split(" ").concat(Zc));function oS(s,c,y){var x=s.type||"unknown-event";s.currentTarget=y,Ke(x,c,void 0,s),s.currentTarget=null}function ih(s,c){c=(c&4)!==0;for(var y=0;y<s.length;y++){var x=s[y],M=x.event;x=x.listeners;e:{var L=void 0;if(c)for(var z=x.length-1;0<=z;z--){var $=x[z],q=$.instance,se=$.currentTarget;if($=$.listener,q!==L&&M.isPropagationStopped())break e;oS(M,$,se),L=q}else for(z=0;z<x.length;z++){if($=x[z],q=$.instance,se=$.currentTarget,$=$.listener,q!==L&&M.isPropagationStopped())break e;oS(M,$,se),L=q}}}if(Nl)throw s=Y,Nl=!1,Y=null,s}function pn(s,c){var y=c[Dm];y===void 0&&(y=c[Dm]=new Set);var x=s+"__bubble";y.has(x)||(lS(c,s,2,!1),y.add(x))}function Ul(s,c,y){var x=0;c&&(x|=4),lS(y,s,x,c)}var qo="_reactListening"+Math.random().toString(36).slice(2);function Js(s){if(!s[qo]){s[qo]=!0,r.forEach(function(y){y!=="selectionchange"&&($E.has(y)||Ul(y,!1,s),Ul(y,!0,s))});var c=s.nodeType===9?s:s.ownerDocument;c===null||c[qo]||(c[qo]=!0,Ul("selectionchange",!1,c))}}function lS(s,c,y,x){switch(im(c)){case 1:var M=R1;break;case 4:M=jv;break;default:M=Yv}y=M.bind(null,c,y,s),M=void 0,!Hs||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(M=!0),x?M!==void 0?s.addEventListener(c,y,{capture:!0,passive:M}):s.addEventListener(c,y,!0):M!==void 0?s.addEventListener(c,y,{passive:M}):s.addEventListener(c,y,!1)}function ah(s,c,y,x,M){var L=x;if(!(c&1)&&!(c&2)&&x!==null)e:for(;;){if(x===null)return;var z=x.tag;if(z===3||z===4){var $=x.stateNode.containerInfo;if($===M||$.nodeType===8&&$.parentNode===M)break;if(z===4)for(z=x.return;z!==null;){var q=z.tag;if((q===3||q===4)&&(q=z.stateNode.containerInfo,q===M||q.nodeType===8&&q.parentNode===M))return;z=z.return}for(;$!==null;){if(z=va($),z===null)return;if(q=z.tag,q===5||q===6){x=L=z;continue e}$=$.parentNode}}x=x.return}Vs(function(){var se=L,_e=_n(y),we=[];e:{var ye=iS.get(s);if(ye!==void 0){var Oe=Xv,Ue=s;switch(s){case"keypress":if(Ys(y)===0)break e;case"keydown":case"keyup":Oe=PE;break;case"focusin":Ue="focus",Oe=Bl;break;case"focusout":Ue="blur",Oe=Bl;break;case"beforeblur":case"afterblur":Oe=Bl;break;case"click":if(y.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Oe=Qv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=k1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=IE;break;case Sm:case tS:case nS:Oe=N1;break;case rS:Oe=F1;break;case"scroll":Oe=L1;break;case"wheel":Oe=Yo;break;case"copy":case"cut":case"paste":Oe=kE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=Zv}var je=(c&4)!==0,Xn=!je&&s==="scroll",te=je?ye!==null?ye+"Capture":null:ye;je=[];for(var Z=se,oe;Z!==null;){oe=Z;var Te=oe.stateNode;if(oe.tag===5&&Te!==null&&(oe=Te,te!==null&&(Te=ku(Z,te),Te!=null&&je.push(Kc(Z,Te,oe)))),Xn)break;Z=Z.return}0<je.length&&(ye=new Oe(ye,Ue,null,y,_e),we.push({event:ye,listeners:je}))}}if(!(c&7)){e:{if(ye=s==="mouseover"||s==="pointerover",Oe=s==="mouseout"||s==="pointerout",ye&&y!==pi&&(Ue=y.relatedTarget||y.fromElement)&&(va(Ue)||Ue[Qo]))break e;if((Oe||ye)&&(ye=_e.window===_e?_e:(ye=_e.ownerDocument)?ye.defaultView||ye.parentWindow:window,Oe?(Ue=y.relatedTarget||y.toElement,Oe=se,Ue=Ue?va(Ue):null,Ue!==null&&(Xn=mt(Ue),Ue!==Xn||Ue.tag!==5&&Ue.tag!==6)&&(Ue=null)):(Oe=null,Ue=se),Oe!==Ue)){if(je=Qv,Te="onMouseLeave",te="onMouseEnter",Z="mouse",(s==="pointerout"||s==="pointerover")&&(je=Zv,Te="onPointerLeave",te="onPointerEnter",Z="pointer"),Xn=Oe==null?ye:ef(Oe),oe=Ue==null?ye:ef(Ue),ye=new je(Te,Z+"leave",Oe,y,_e),ye.target=Xn,ye.relatedTarget=oe,Te=null,va(_e)===se&&(je=new je(te,Z+"enter",Ue,y,_e),je.target=oe,je.relatedTarget=Xn,Te=je),Xn=Te,Oe&&Ue)t:{for(je=Oe,te=Ue,Z=0,oe=je;oe;oe=Uu(oe))Z++;for(oe=0,Te=te;Te;Te=Uu(Te))oe++;for(;0<Z-oe;)je=Uu(je),Z--;for(;0<oe-Z;)te=Uu(te),oe--;for(;Z--;){if(je===te||te!==null&&je===te.alternate)break t;je=Uu(je),te=Uu(te)}je=null}else je=null;Oe!==null&&Cm(we,ye,Oe,je,!1),Ue!==null&&Xn!==null&&Cm(we,Xn,Ue,je,!0)}}e:{if(ye=se?ef(se):window,Oe=ye.nodeName&&ye.nodeName.toLowerCase(),Oe==="select"||Oe==="input"&&ye.type==="file")var Ye=j1;else if(G1(ye))if(vm)Ye=q1;else{Ye=UE;var Ve=BE}else(Oe=ye.nodeName)&&Oe.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Ye=VE);if(Ye&&(Ye=Ye(s,se))){$1(we,Ye,y,_e);break e}Ve&&Ve(s,ye,se),s==="focusout"&&(Ve=ye._wrapperState)&&Ve.controlled&&ye.type==="number"&&za(ye,"number",ye.value)}switch(Ve=se?ef(se):window,s){case"focusin":(G1(Ve)||Ve.contentEditable==="true")&&(Ya=Ve,gm=se,Xc=null);break;case"focusout":Xc=gm=Ya=null;break;case"mousedown":mm=!0;break;case"contextmenu":case"mouseup":case"dragend":mm=!1,eS(we,y,_e);break;case"selectionchange":if(J1)break;case"keydown":case"keyup":eS(we,y,_e)}var Xe;if(ja)e:{switch(s){case"compositionstart":var ut="onCompositionStart";break e;case"compositionend":ut="onCompositionEnd";break e;case"compositionupdate":ut="onCompositionUpdate";break e}ut=void 0}else qs?V1(s,y)&&(ut="onCompositionEnd"):s==="keydown"&&y.keyCode===229&&(ut="onCompositionStart");ut&&(B1&&y.locale!=="ko"&&(qs||ut!=="onCompositionStart"?ut==="onCompositionEnd"&&qs&&(Xe=am()):($o=_e,Hc="value"in $o?$o.value:$o.textContent,qs=!0)),Ve=Jc(se,ut),0<Ve.length&&(ut=new um(ut,s,null,y,_e),we.push({event:ut,listeners:Ve}),Xe?ut.data=Xe:(Xe=eh(y),Xe!==null&&(ut.data=Xe)))),(Xe=Jv?zE(s,y):FE(s,y))&&(se=Jc(se,"onBeforeInput"),0<se.length&&(_e=new um("onBeforeInput","beforeinput",null,y,_e),we.push({event:_e,listeners:se}),_e.data=Xe))}ih(we,c)})}function Kc(s,c,y){return{instance:s,listener:c,currentTarget:y}}function Jc(s,c){for(var y=c+"Capture",x=[];s!==null;){var M=s,L=M.stateNode;M.tag===5&&L!==null&&(M=L,L=ku(s,y),L!=null&&x.unshift(Kc(s,L,M)),L=ku(s,c),L!=null&&x.push(Kc(s,L,M))),s=s.return}return x}function Uu(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function Cm(s,c,y,x,M){for(var L=c._reactName,z=[];y!==null&&y!==x;){var $=y,q=$.alternate,se=$.stateNode;if(q!==null&&q===x)break;$.tag===5&&se!==null&&($=se,M?(q=ku(y,L),q!=null&&z.unshift(Kc(y,q,$))):M||(q=ku(y,L),q!=null&&z.push(Kc(y,q,$)))),y=y.return}z.length!==0&&s.push({event:c,listeners:z})}var wm=/\r\n?/g,jE=/\u0000|\uFFFD/g;function xm(s){return(typeof s=="string"?s:""+s).replace(wm,`
71
+ `).replace(jE,"")}function oh(s,c,y){if(c=xm(c),xm(s)!==c&&y)throw Error(n(425))}function lh(){}var Tm=null,Vu=null;function ed(s,c){return s==="textarea"||s==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var Hu=typeof setTimeout=="function"?setTimeout:void 0,uS=typeof clearTimeout=="function"?clearTimeout:void 0,bm=typeof Promise=="function"?Promise:void 0,Em=typeof queueMicrotask=="function"?queueMicrotask:typeof bm<"u"?function(s){return bm.resolve(null).then(s).catch(YE)}:Hu;function YE(s){setTimeout(function(){throw s})}function Vl(s,c){var y=c,x=0;do{var M=y.nextSibling;if(s.removeChild(y),M&&M.nodeType===8)if(y=M.data,y==="/$"){if(x===0){s.removeChild(M),Uc(c);return}x--}else y!=="$"&&y!=="$?"&&y!=="$!"||x++;y=M}while(y);Uc(c)}function Wa(s){for(;s!=null;s=s.nextSibling){var c=s.nodeType;if(c===1||c===3)break;if(c===8){if(c=s.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return s}function td(s){s=s.previousSibling;for(var c=0;s;){if(s.nodeType===8){var y=s.data;if(y==="$"||y==="$!"||y==="$?"){if(c===0)return s;c--}else y==="/$"&&c++}s=s.previousSibling}return null}var Hl=Math.random().toString(36).slice(2),go="__reactFiber$"+Hl,Gu="__reactProps$"+Hl,Qo="__reactContainer$"+Hl,Dm="__reactEvents$"+Hl,WE="__reactListeners$"+Hl,Mm="__reactHandles$"+Hl;function va(s){var c=s[go];if(c)return c;for(var y=s.parentNode;y;){if(c=y[Qo]||y[go]){if(y=c.alternate,c.child!==null||y!==null&&y.child!==null)for(s=td(s);s!==null;){if(y=s[go])return y;s=td(s)}return c}s=y,y=s.parentNode}return null}function nd(s){return s=s[go]||s[Qo],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function ef(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function Qe(s){return s[Gu]||null}var Gl=[],Cn=-1;function pt(s){return{current:s}}function qt(s){0>Cn||(s.current=Gl[Cn],Gl[Cn]=null,Cn--)}function Kt(s,c){Cn++,Gl[Cn]=s.current,s.current=c}var mo={},lt=pt(mo),Vn=pt(!1),mi=mo;function ha(s,c){var y=s.type.contextTypes;if(!y)return mo;var x=s.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===c)return x.__reactInternalMemoizedMaskedChildContext;var M={},L;for(L in y)M[L]=c[L];return x&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=c,s.__reactInternalMemoizedMaskedChildContext=M),M}function Ln(s){return s=s.childContextTypes,s!=null}function pa(){qt(Vn),qt(lt)}function $l(s,c,y){if(lt.current!==mo)throw Error(n(168));Kt(lt,c),Kt(Vn,y)}function rd(s,c,y){var x=s.stateNode;if(c=c.childContextTypes,typeof x.getChildContext!="function")return y;x=x.getChildContext();for(var M in x)if(!(M in c))throw Error(n(108,Mn(s)||"Unknown",M));return pe({},y,x)}function uh(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||mo,mi=lt.current,Kt(lt,s),Kt(Vn,Vn.current),!0}function sS(s,c,y){var x=s.stateNode;if(!x)throw Error(n(169));y?(s=rd(s,c,mi),x.__reactInternalMemoizedMergedChildContext=s,qt(Vn),qt(lt),Kt(lt,s)):qt(Vn),Kt(Vn,y)}var Vi=null,yr=!1,id=!1;function Rm(s){Vi===null?Vi=[s]:Vi.push(s)}function Am(s){yr=!0,Rm(s)}function yi(){if(!id&&Vi!==null){id=!0;var s=0,c=tn;try{var y=Vi;for(tn=1;s<y.length;s++){var x=y[s];do x=x(!0);while(x!==null)}Vi=null,yr=!1}catch(M){throw Vi!==null&&(Vi=Vi.slice(s+1)),An(Go,yi),M}finally{tn=c,id=!1}}return null}var jl=[],_i=0,$u=null,tf=0,Si=[],Gr=0,ga=null,Er=1,Zo="";function Hi(s,c){jl[_i++]=tf,jl[_i++]=$u,$u=s,tf=c}function Lm(s,c,y){Si[Gr++]=Er,Si[Gr++]=Zo,Si[Gr++]=ga,ga=s;var x=Er;s=Zo;var M=32-sa(x)-1;x&=~(1<<M),y+=1;var L=32-sa(c)+M;if(30<L){var z=M-M%5;L=(x&(1<<z)-1).toString(32),x>>=z,M-=z,Er=1<<32-sa(c)+M|y<<M|x,Zo=L+s}else Er=1<<L|y<<M|x,Zo=s}function sh(s){s.return!==null&&(Hi(s,1),Lm(s,1,0))}function Om(s){for(;s===$u;)$u=jl[--_i],jl[_i]=null,tf=jl[--_i],jl[_i]=null;for(;s===ga;)ga=Si[--Gr],Si[Gr]=null,Zo=Si[--Gr],Si[Gr]=null,Er=Si[--Gr],Si[Gr]=null}var Gi=null,Ci=null,wn=!1,ma=null;function km(s,c){var y=xa(5,null,null,0);y.elementType="DELETED",y.stateNode=c,y.return=s,c=s.deletions,c===null?(s.deletions=[y],s.flags|=16):c.push(y)}function fS(s,c){switch(s.tag){case 5:var y=s.type;return c=c.nodeType!==1||y.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(s.stateNode=c,Gi=s,Ci=Wa(c.firstChild),!0):!1;case 6:return c=s.pendingProps===""||c.nodeType!==3?null:c,c!==null?(s.stateNode=c,Gi=s,Ci=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(y=ga!==null?{id:Er,overflow:Zo}:null,s.memoizedState={dehydrated:c,treeContext:y,retryLane:1073741824},y=xa(18,null,null,0),y.stateNode=c,y.return=s,s.child=y,Gi=s,Ci=null,!0):!1;default:return!1}}function fh(s){return(s.mode&1)!==0&&(s.flags&128)===0}function ch(s){if(wn){var c=Ci;if(c){var y=c;if(!fS(s,c)){if(fh(s))throw Error(n(418));c=Wa(y.nextSibling);var x=Gi;c&&fS(s,c)?km(x,y):(s.flags=s.flags&-4097|2,wn=!1,Gi=s)}}else{if(fh(s))throw Error(n(418));s.flags=s.flags&-4097|2,wn=!1,Gi=s}}}function cS(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;Gi=s}function dh(s){if(s!==Gi)return!1;if(!wn)return cS(s),wn=!0,!1;var c;if((c=s.tag!==3)&&!(c=s.tag!==5)&&(c=s.type,c=c!=="head"&&c!=="body"&&!ed(s.type,s.memoizedProps)),c&&(c=Ci)){if(fh(s))throw dS(),Error(n(418));for(;c;)km(s,c),c=Wa(c.nextSibling)}if(cS(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(n(317));e:{for(s=s.nextSibling,c=0;s;){if(s.nodeType===8){var y=s.data;if(y==="/$"){if(c===0){Ci=Wa(s.nextSibling);break e}c--}else y!=="$"&&y!=="$!"&&y!=="$?"||c++}s=s.nextSibling}Ci=null}}else Ci=Gi?Wa(s.stateNode.nextSibling):null;return!0}function dS(){for(var s=Ci;s;)s=Wa(s.nextSibling)}function zn(){Ci=Gi=null,wn=!1}function Nm(s){ma===null?ma=[s]:ma.push(s)}var vh=P.ReactCurrentBatchConfig;function $i(s,c){if(s&&s.defaultProps){c=pe({},c),s=s.defaultProps;for(var y in s)c[y]===void 0&&(c[y]=s[y]);return c}return c}var yo=pt(null),hh=null,Yl=null,Pm=null;function Im(){Pm=Yl=hh=null}function Wl(s){var c=yo.current;qt(yo),s._currentValue=c}function _r(s,c,y){for(;s!==null;){var x=s.alternate;if((s.childLanes&c)!==c?(s.childLanes|=c,x!==null&&(x.childLanes|=c)):x!==null&&(x.childLanes&c)!==c&&(x.childLanes|=c),s===y)break;s=s.return}}function be(s,c){hh=s,Pm=Yl=null,s=s.dependencies,s!==null&&s.firstContext!==null&&(s.lanes&c&&(er=!0),s.firstContext=null)}function Wn(s){var c=s._currentValue;if(Pm!==s)if(s={context:s,memoizedValue:c,next:null},Yl===null){if(hh===null)throw Error(n(308));Yl=s,hh.dependencies={lanes:0,firstContext:s}}else Yl=Yl.next=s;return c}var Dr=null;function zm(s){Dr===null?Dr=[s]:Dr.push(s)}function vS(s,c,y,x){var M=c.interleaved;return M===null?(y.next=y,zm(c)):(y.next=M.next,M.next=y),c.interleaved=y,Ko(s,x)}function Ko(s,c){s.lanes|=c;var y=s.alternate;for(y!==null&&(y.lanes|=c),y=s,s=s.return;s!==null;)s.childLanes|=c,y=s.alternate,y!==null&&(y.childLanes|=c),y=s,s=s.return;return y.tag===3?y.stateNode:null}var Xl=!1;function Fm(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lr(s,c){s=s.updateQueue,c.updateQueue===s&&(c.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Jo(s,c){return{eventTime:s,lane:c,tag:0,payload:null,callback:null,next:null}}function ql(s,c,y){var x=s.updateQueue;if(x===null)return null;if(x=x.shared,Mt&2){var M=x.pending;return M===null?c.next=c:(c.next=M.next,M.next=c),x.pending=c,Ko(s,y)}return M=x.interleaved,M===null?(c.next=c,zm(x)):(c.next=M.next,M.next=c),x.interleaved=c,Ko(s,y)}function ph(s,c,y){if(c=c.updateQueue,c!==null&&(c=c.shared,(y&4194240)!==0)){var x=c.lanes;x&=s.pendingLanes,y|=x,c.lanes=y,Ic(s,y)}}function Bm(s,c){var y=s.updateQueue,x=s.alternate;if(x!==null&&(x=x.updateQueue,y===x)){var M=null,L=null;if(y=y.firstBaseUpdate,y!==null){do{var z={eventTime:y.eventTime,lane:y.lane,tag:y.tag,payload:y.payload,callback:y.callback,next:null};L===null?M=L=z:L=L.next=z,y=y.next}while(y!==null);L===null?M=L=c:L=L.next=c}else M=L=c;y={baseState:x.baseState,firstBaseUpdate:M,lastBaseUpdate:L,shared:x.shared,effects:x.effects},s.updateQueue=y;return}s=y.lastBaseUpdate,s===null?y.firstBaseUpdate=c:s.next=c,y.lastBaseUpdate=c}function Ql(s,c,y,x){var M=s.updateQueue;Xl=!1;var L=M.firstBaseUpdate,z=M.lastBaseUpdate,$=M.shared.pending;if($!==null){M.shared.pending=null;var q=$,se=q.next;q.next=null,z===null?L=se:z.next=se,z=q;var _e=s.alternate;_e!==null&&(_e=_e.updateQueue,$=_e.lastBaseUpdate,$!==z&&($===null?_e.firstBaseUpdate=se:$.next=se,_e.lastBaseUpdate=q))}if(L!==null){var we=M.baseState;z=0,_e=se=q=null,$=L;do{var ye=$.lane,Oe=$.eventTime;if((x&ye)===ye){_e!==null&&(_e=_e.next={eventTime:Oe,lane:0,tag:$.tag,payload:$.payload,callback:$.callback,next:null});e:{var Ue=s,je=$;switch(ye=c,Oe=y,je.tag){case 1:if(Ue=je.payload,typeof Ue=="function"){we=Ue.call(Oe,we,ye);break e}we=Ue;break e;case 3:Ue.flags=Ue.flags&-65537|128;case 0:if(Ue=je.payload,ye=typeof Ue=="function"?Ue.call(Oe,we,ye):Ue,ye==null)break e;we=pe({},we,ye);break e;case 2:Xl=!0}}$.callback!==null&&$.lane!==0&&(s.flags|=64,ye=M.effects,ye===null?M.effects=[$]:ye.push($))}else Oe={eventTime:Oe,lane:ye,tag:$.tag,payload:$.payload,callback:$.callback,next:null},_e===null?(se=_e=Oe,q=we):_e=_e.next=Oe,z|=ye;if($=$.next,$===null){if($=M.shared.pending,$===null)break;ye=$,$=ye.next,ye.next=null,M.lastBaseUpdate=ye,M.shared.pending=null}}while(1);if(_e===null&&(q=we),M.baseState=q,M.firstBaseUpdate=se,M.lastBaseUpdate=_e,c=M.shared.interleaved,c!==null){M=c;do z|=M.lane,M=M.next;while(M!==c)}else L===null&&(M.shared.lanes=0);rl|=z,s.lanes=z,s.memoizedState=we}}function ju(s,c,y){if(s=c.effects,c.effects=null,s!==null)for(c=0;c<s.length;c++){var x=s[c],M=x.callback;if(M!==null){if(x.callback=null,x=y,typeof M!="function")throw Error(n(191,M));M.call(x)}}}var hS=new t.Component().refs;function Um(s,c,y,x){c=s.memoizedState,y=y(x,c),y=y==null?c:pe({},c,y),s.memoizedState=y,s.lanes===0&&(s.updateQueue.baseState=y)}var gh={isMounted:function(s){return(s=s._reactInternals)?mt(s)===s:!1},enqueueSetState:function(s,c,y){s=s._reactInternals;var x=Wr(),M=tr(s),L=Jo(x,M);L.payload=c,y!=null&&(L.callback=y),c=ql(s,L,M),c!==null&&(Xr(c,s,M,x),ph(c,s,M))},enqueueReplaceState:function(s,c,y){s=s._reactInternals;var x=Wr(),M=tr(s),L=Jo(x,M);L.tag=1,L.payload=c,y!=null&&(L.callback=y),c=ql(s,L,M),c!==null&&(Xr(c,s,M,x),ph(c,s,M))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var y=Wr(),x=tr(s),M=Jo(y,x);M.tag=2,c!=null&&(M.callback=c),c=ql(s,M,x),c!==null&&(Xr(c,s,x,y),ph(c,s,x))}};function pS(s,c,y,x,M,L,z){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(x,L,z):c.prototype&&c.prototype.isPureReactComponent?!Wc(y,x)||!Wc(M,L):!0}function gS(s,c,y){var x=!1,M=mo,L=c.contextType;return typeof L=="object"&&L!==null?L=Wn(L):(M=Ln(c)?mi:lt.current,x=c.contextTypes,L=(x=x!=null)?ha(s,M):mo),c=new c(y,L),s.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=gh,s.stateNode=c,c._reactInternals=s,x&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=M,s.__reactInternalMemoizedMaskedChildContext=L),c}function mS(s,c,y,x){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(y,x),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(y,x),c.state!==s&&gh.enqueueReplaceState(c,c.state,null)}function mh(s,c,y,x){var M=s.stateNode;M.props=y,M.state=s.memoizedState,M.refs=hS,Fm(s);var L=c.contextType;typeof L=="object"&&L!==null?M.context=Wn(L):(L=Ln(c)?mi:lt.current,M.context=ha(s,L)),M.state=s.memoizedState,L=c.getDerivedStateFromProps,typeof L=="function"&&(Um(s,c,L,y),M.state=s.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof M.getSnapshotBeforeUpdate=="function"||typeof M.UNSAFE_componentWillMount!="function"&&typeof M.componentWillMount!="function"||(c=M.state,typeof M.componentWillMount=="function"&&M.componentWillMount(),typeof M.UNSAFE_componentWillMount=="function"&&M.UNSAFE_componentWillMount(),c!==M.state&&gh.enqueueReplaceState(M,M.state,null),Ql(s,y,M,x),M.state=s.memoizedState),typeof M.componentDidMount=="function"&&(s.flags|=4194308)}function nf(s,c,y){if(s=y.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(y._owner){if(y=y._owner,y){if(y.tag!==1)throw Error(n(309));var x=y.stateNode}if(!x)throw Error(n(147,s));var M=x,L=""+s;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===L?c.ref:(c=function(z){var $=M.refs;$===hS&&($=M.refs={}),z===null?delete $[L]:$[L]=z},c._stringRef=L,c)}if(typeof s!="string")throw Error(n(284));if(!y._owner)throw Error(n(290,s))}return s}function yh(s,c){throw s=Object.prototype.toString.call(c),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":s))}function yS(s){var c=s._init;return c(s._payload)}function _S(s){function c(te,Z){if(s){var oe=te.deletions;oe===null?(te.deletions=[Z],te.flags|=16):oe.push(Z)}}function y(te,Z){if(!s)return null;for(;Z!==null;)c(te,Z),Z=Z.sibling;return null}function x(te,Z){for(te=new Map;Z!==null;)Z.key!==null?te.set(Z.key,Z):te.set(Z.index,Z),Z=Z.sibling;return te}function M(te,Z){return te=iu(te,Z),te.index=0,te.sibling=null,te}function L(te,Z,oe){return te.index=oe,s?(oe=te.alternate,oe!==null?(oe=oe.index,oe<Z?(te.flags|=2,Z):oe):(te.flags|=2,Z)):(te.flags|=1048576,Z)}function z(te){return s&&te.alternate===null&&(te.flags|=2),te}function $(te,Z,oe,Te){return Z===null||Z.tag!==6?(Z=xd(oe,te.mode,Te),Z.return=te,Z):(Z=M(Z,oe),Z.return=te,Z)}function q(te,Z,oe,Te){var Ye=oe.type;return Ye===U?_e(te,Z,oe.props.children,Te,oe.key):Z!==null&&(Z.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===fe&&yS(Ye)===Z.type)?(Te=M(Z,oe.props),Te.ref=nf(te,Z,oe),Te.return=te,Te):(Te=Qh(oe.type,oe.key,oe.props,null,te.mode,Te),Te.ref=nf(te,Z,oe),Te.return=te,Te)}function se(te,Z,oe,Te){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==oe.containerInfo||Z.stateNode.implementation!==oe.implementation?(Z=fs(oe,te.mode,Te),Z.return=te,Z):(Z=M(Z,oe.children||[]),Z.return=te,Z)}function _e(te,Z,oe,Te,Ye){return Z===null||Z.tag!==7?(Z=ss(oe,te.mode,Te,Ye),Z.return=te,Z):(Z=M(Z,oe),Z.return=te,Z)}function we(te,Z,oe){if(typeof Z=="string"&&Z!==""||typeof Z=="number")return Z=xd(""+Z,te.mode,oe),Z.return=te,Z;if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case I:return oe=Qh(Z.type,Z.key,Z.props,null,te.mode,oe),oe.ref=nf(te,null,Z),oe.return=te,oe;case F:return Z=fs(Z,te.mode,oe),Z.return=te,Z;case fe:var Te=Z._init;return we(te,Te(Z._payload),oe)}if(Ho(Z)||ge(Z))return Z=ss(Z,te.mode,oe,null),Z.return=te,Z;yh(te,Z)}return null}function ye(te,Z,oe,Te){var Ye=Z!==null?Z.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return Ye!==null?null:$(te,Z,""+oe,Te);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case I:return oe.key===Ye?q(te,Z,oe,Te):null;case F:return oe.key===Ye?se(te,Z,oe,Te):null;case fe:return Ye=oe._init,ye(te,Z,Ye(oe._payload),Te)}if(Ho(oe)||ge(oe))return Ye!==null?null:_e(te,Z,oe,Te,null);yh(te,oe)}return null}function Oe(te,Z,oe,Te,Ye){if(typeof Te=="string"&&Te!==""||typeof Te=="number")return te=te.get(oe)||null,$(Z,te,""+Te,Ye);if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case I:return te=te.get(Te.key===null?oe:Te.key)||null,q(Z,te,Te,Ye);case F:return te=te.get(Te.key===null?oe:Te.key)||null,se(Z,te,Te,Ye);case fe:var Ve=Te._init;return Oe(te,Z,oe,Ve(Te._payload),Ye)}if(Ho(Te)||ge(Te))return te=te.get(oe)||null,_e(Z,te,Te,Ye,null);yh(Z,Te)}return null}function Ue(te,Z,oe,Te){for(var Ye=null,Ve=null,Xe=Z,ut=Z=0,wr=null;Xe!==null&&ut<oe.length;ut++){Xe.index>ut?(wr=Xe,Xe=null):wr=Xe.sibling;var Ut=ye(te,Xe,oe[ut],Te);if(Ut===null){Xe===null&&(Xe=wr);break}s&&Xe&&Ut.alternate===null&&c(te,Xe),Z=L(Ut,Z,ut),Ve===null?Ye=Ut:Ve.sibling=Ut,Ve=Ut,Xe=wr}if(ut===oe.length)return y(te,Xe),wn&&Hi(te,ut),Ye;if(Xe===null){for(;ut<oe.length;ut++)Xe=we(te,oe[ut],Te),Xe!==null&&(Z=L(Xe,Z,ut),Ve===null?Ye=Xe:Ve.sibling=Xe,Ve=Xe);return wn&&Hi(te,ut),Ye}for(Xe=x(te,Xe);ut<oe.length;ut++)wr=Oe(Xe,te,ut,oe[ut],Te),wr!==null&&(s&&wr.alternate!==null&&Xe.delete(wr.key===null?ut:wr.key),Z=L(wr,Z,ut),Ve===null?Ye=wr:Ve.sibling=wr,Ve=wr);return s&&Xe.forEach(function(au){return c(te,au)}),wn&&Hi(te,ut),Ye}function je(te,Z,oe,Te){var Ye=ge(oe);if(typeof Ye!="function")throw Error(n(150));if(oe=Ye.call(oe),oe==null)throw Error(n(151));for(var Ve=Ye=null,Xe=Z,ut=Z=0,wr=null,Ut=oe.next();Xe!==null&&!Ut.done;ut++,Ut=oe.next()){Xe.index>ut?(wr=Xe,Xe=null):wr=Xe.sibling;var au=ye(te,Xe,Ut.value,Te);if(au===null){Xe===null&&(Xe=wr);break}s&&Xe&&au.alternate===null&&c(te,Xe),Z=L(au,Z,ut),Ve===null?Ye=au:Ve.sibling=au,Ve=au,Xe=wr}if(Ut.done)return y(te,Xe),wn&&Hi(te,ut),Ye;if(Xe===null){for(;!Ut.done;ut++,Ut=oe.next())Ut=we(te,Ut.value,Te),Ut!==null&&(Z=L(Ut,Z,ut),Ve===null?Ye=Ut:Ve.sibling=Ut,Ve=Ut);return wn&&Hi(te,ut),Ye}for(Xe=x(te,Xe);!Ut.done;ut++,Ut=oe.next())Ut=Oe(Xe,te,ut,Ut.value,Te),Ut!==null&&(s&&Ut.alternate!==null&&Xe.delete(Ut.key===null?ut:Ut.key),Z=L(Ut,Z,ut),Ve===null?Ye=Ut:Ve.sibling=Ut,Ve=Ut);return s&&Xe.forEach(function(vD){return c(te,vD)}),wn&&Hi(te,ut),Ye}function Xn(te,Z,oe,Te){if(typeof oe=="object"&&oe!==null&&oe.type===U&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case I:e:{for(var Ye=oe.key,Ve=Z;Ve!==null;){if(Ve.key===Ye){if(Ye=oe.type,Ye===U){if(Ve.tag===7){y(te,Ve.sibling),Z=M(Ve,oe.props.children),Z.return=te,te=Z;break e}}else if(Ve.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===fe&&yS(Ye)===Ve.type){y(te,Ve.sibling),Z=M(Ve,oe.props),Z.ref=nf(te,Ve,oe),Z.return=te,te=Z;break e}y(te,Ve);break}else c(te,Ve);Ve=Ve.sibling}oe.type===U?(Z=ss(oe.props.children,te.mode,Te,oe.key),Z.return=te,te=Z):(Te=Qh(oe.type,oe.key,oe.props,null,te.mode,Te),Te.ref=nf(te,Z,oe),Te.return=te,te=Te)}return z(te);case F:e:{for(Ve=oe.key;Z!==null;){if(Z.key===Ve)if(Z.tag===4&&Z.stateNode.containerInfo===oe.containerInfo&&Z.stateNode.implementation===oe.implementation){y(te,Z.sibling),Z=M(Z,oe.children||[]),Z.return=te,te=Z;break e}else{y(te,Z);break}else c(te,Z);Z=Z.sibling}Z=fs(oe,te.mode,Te),Z.return=te,te=Z}return z(te);case fe:return Ve=oe._init,Xn(te,Z,Ve(oe._payload),Te)}if(Ho(oe))return Ue(te,Z,oe,Te);if(ge(oe))return je(te,Z,oe,Te);yh(te,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?(oe=""+oe,Z!==null&&Z.tag===6?(y(te,Z.sibling),Z=M(Z,oe),Z.return=te,te=Z):(y(te,Z),Z=xd(oe,te.mode,Te),Z.return=te,te=Z),z(te)):y(te,Z)}return Xn}var rf=_S(!0),SS=_S(!1),ad={},Xa=pt(ad),od=pt(ad),af=pt(ad);function Yu(s){if(s===ad)throw Error(n(174));return s}function Vm(s,c){switch(Kt(af,c),Kt(od,s),Kt(Xa,ad),s=c.nodeType,s){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:Zn(null,"");break;default:s=s===8?c.parentNode:c,c=s.namespaceURI||null,s=s.tagName,c=Zn(c,s)}qt(Xa),Kt(Xa,c)}function Zl(){qt(Xa),qt(od),qt(af)}function Je(s){Yu(af.current);var c=Yu(Xa.current),y=Zn(c,s.type);c!==y&&(Kt(od,s),Kt(Xa,y))}function wt(s){od.current===s&&(qt(Xa),qt(od))}var nt=pt(0);function Fn(s){for(var c=s;c!==null;){if(c.tag===13){var y=c.memoizedState;if(y!==null&&(y=y.dehydrated,y===null||y.data==="$?"||y.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if(c.flags&128)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var ya=[];function _h(){for(var s=0;s<ya.length;s++)ya[s]._workInProgressVersionPrimary=null;ya.length=0}var Sh=P.ReactCurrentDispatcher,Hm=P.ReactCurrentBatchConfig,Wu=0,xn=null,he=null,At=null,rt=!1,_o=!1,ji=0,Xu=0;function Tn(){throw Error(n(321))}function qu(s,c){if(c===null)return!1;for(var y=0;y<c.length&&y<s.length;y++)if(!da(s[y],c[y]))return!1;return!0}function Kl(s,c,y,x,M,L){if(Wu=L,xn=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,Sh.current=s===null||s.memoizedState===null?qE:QE,s=y(x,M),_o){L=0;do{if(_o=!1,ji=0,25<=L)throw Error(n(301));L+=1,At=he=null,c.updateQueue=null,Sh.current=$m,s=y(x,M)}while(_o)}if(Sh.current=Ih,c=he!==null&&he.next!==null,Wu=0,At=he=xn=null,rt=!1,c)throw Error(n(300));return s}function Qu(){var s=ji!==0;return ji=0,s}function _a(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return At===null?xn.memoizedState=At=s:At=At.next=s,At}function wi(){if(he===null){var s=xn.alternate;s=s!==null?s.memoizedState:null}else s=he.next;var c=At===null?xn.memoizedState:At.next;if(c!==null)At=c,he=s;else{if(s===null)throw Error(n(310));he=s,s={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},At===null?xn.memoizedState=At=s:At=At.next=s}return At}function Zu(s,c){return typeof c=="function"?c(s):c}function ld(s){var c=wi(),y=c.queue;if(y===null)throw Error(n(311));y.lastRenderedReducer=s;var x=he,M=x.baseQueue,L=y.pending;if(L!==null){if(M!==null){var z=M.next;M.next=L.next,L.next=z}x.baseQueue=M=L,y.pending=null}if(M!==null){L=M.next,x=x.baseState;var $=z=null,q=null,se=L;do{var _e=se.lane;if((Wu&_e)===_e)q!==null&&(q=q.next={lane:0,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null}),x=se.hasEagerState?se.eagerState:s(x,se.action);else{var we={lane:_e,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null};q===null?($=q=we,z=x):q=q.next=we,xn.lanes|=_e,rl|=_e}se=se.next}while(se!==null&&se!==L);q===null?z=x:q.next=$,da(x,c.memoizedState)||(er=!0),c.memoizedState=x,c.baseState=z,c.baseQueue=q,y.lastRenderedState=x}if(s=y.interleaved,s!==null){M=s;do L=M.lane,xn.lanes|=L,rl|=L,M=M.next;while(M!==s)}else M===null&&(y.lanes=0);return[c.memoizedState,y.dispatch]}function ud(s){var c=wi(),y=c.queue;if(y===null)throw Error(n(311));y.lastRenderedReducer=s;var x=y.dispatch,M=y.pending,L=c.memoizedState;if(M!==null){y.pending=null;var z=M=M.next;do L=s(L,z.action),z=z.next;while(z!==M);da(L,c.memoizedState)||(er=!0),c.memoizedState=L,c.baseQueue===null&&(c.baseState=L),y.lastRenderedState=L}return[L,x]}function Ch(){}function wh(s,c){var y=xn,x=wi(),M=c(),L=!da(x.memoizedState,M);if(L&&(x.memoizedState=M,er=!0),x=x.queue,sd(bh.bind(null,y,x,s),[s]),x.getSnapshot!==c||L||At!==null&&At.memoizedState.tag&1){if(y.flags|=2048,Ku(9,Th.bind(null,y,x,M,c),void 0,null),Bn===null)throw Error(n(349));Wu&30||xh(y,c,M)}return M}function xh(s,c,y){s.flags|=16384,s={getSnapshot:c,value:y},c=xn.updateQueue,c===null?(c={lastEffect:null,stores:null},xn.updateQueue=c,c.stores=[s]):(y=c.stores,y===null?c.stores=[s]:y.push(s))}function Th(s,c,y,x){c.value=y,c.getSnapshot=x,Eh(c)&&Dh(s)}function bh(s,c,y){return y(function(){Eh(c)&&Dh(s)})}function Eh(s){var c=s.getSnapshot;s=s.value;try{var y=c();return!da(s,y)}catch{return!0}}function Dh(s){var c=Ko(s,1);c!==null&&Xr(c,s,1,-1)}function Mh(s){var c=_a();return typeof s=="function"&&(s=s()),c.memoizedState=c.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Zu,lastRenderedState:s},c.queue=s,s=s.dispatch=Ph.bind(null,xn,s),[c.memoizedState,s]}function Ku(s,c,y,x){return s={tag:s,create:c,destroy:y,deps:x,next:null},c=xn.updateQueue,c===null?(c={lastEffect:null,stores:null},xn.updateQueue=c,c.lastEffect=s.next=s):(y=c.lastEffect,y===null?c.lastEffect=s.next=s:(x=y.next,y.next=s,s.next=x,c.lastEffect=s)),s}function Rh(){return wi().memoizedState}function Ju(s,c,y,x){var M=_a();xn.flags|=s,M.memoizedState=Ku(1|c,y,void 0,x===void 0?null:x)}function el(s,c,y,x){var M=wi();x=x===void 0?null:x;var L=void 0;if(he!==null){var z=he.memoizedState;if(L=z.destroy,x!==null&&qu(x,z.deps)){M.memoizedState=Ku(c,y,L,x);return}}xn.flags|=s,M.memoizedState=Ku(1|c,y,L,x)}function Ah(s,c){return Ju(8390656,8,s,c)}function sd(s,c){return el(2048,8,s,c)}function Lh(s,c){return el(4,2,s,c)}function Oh(s,c){return el(4,4,s,c)}function Gm(s,c){if(typeof c=="function")return s=s(),c(s),function(){c(null)};if(c!=null)return s=s(),c.current=s,function(){c.current=null}}function of(s,c,y){return y=y!=null?y.concat([s]):null,el(4,4,Gm.bind(null,c,s),y)}function kh(){}function lf(s,c){var y=wi();c=c===void 0?null:c;var x=y.memoizedState;return x!==null&&c!==null&&qu(c,x[1])?x[0]:(y.memoizedState=[s,c],s)}function Jl(s,c){var y=wi();c=c===void 0?null:c;var x=y.memoizedState;return x!==null&&c!==null&&qu(c,x[1])?x[0]:(s=s(),y.memoizedState=[s,c],s)}function xi(s,c,y){return Wu&21?(da(y,c)||(y=Gv(),xn.lanes|=y,rl|=y,s.baseState=!0),c):(s.baseState&&(s.baseState=!1,er=!0),s.memoizedState=y)}function XE(s,c){var y=tn;tn=y!==0&&4>y?y:4,s(!0);var x=Hm.transition;Hm.transition={};try{s(!1),c()}finally{tn=y,Hm.transition=x}}function gn(){return wi().memoizedState}function Nh(s,c,y){var x=tr(s);if(y={lane:x,action:y,hasEagerState:!1,eagerState:null,next:null},uf(s))fd(c,y);else if(y=vS(s,c,y,x),y!==null){var M=Wr();Xr(y,s,x,M),CS(y,c,x)}}function Ph(s,c,y){var x=tr(s),M={lane:x,action:y,hasEagerState:!1,eagerState:null,next:null};if(uf(s))fd(c,M);else{var L=s.alternate;if(s.lanes===0&&(L===null||L.lanes===0)&&(L=c.lastRenderedReducer,L!==null))try{var z=c.lastRenderedState,$=L(z,y);if(M.hasEagerState=!0,M.eagerState=$,da($,z)){var q=c.interleaved;q===null?(M.next=M,zm(c)):(M.next=q.next,q.next=M),c.interleaved=M;return}}catch{}finally{}y=vS(s,c,M,x),y!==null&&(M=Wr(),Xr(y,s,x,M),CS(y,c,x))}}function uf(s){var c=s.alternate;return s===xn||c!==null&&c===xn}function fd(s,c){_o=rt=!0;var y=s.pending;y===null?c.next=c:(c.next=y.next,y.next=c),s.pending=c}function CS(s,c,y){if(y&4194240){var x=c.lanes;x&=s.pendingLanes,y|=x,c.lanes=y,Ic(s,y)}}var Ih={readContext:Wn,useCallback:Tn,useContext:Tn,useEffect:Tn,useImperativeHandle:Tn,useInsertionEffect:Tn,useLayoutEffect:Tn,useMemo:Tn,useReducer:Tn,useRef:Tn,useState:Tn,useDebugValue:Tn,useDeferredValue:Tn,useTransition:Tn,useMutableSource:Tn,useSyncExternalStore:Tn,useId:Tn,unstable_isNewReconciler:!1},qE={readContext:Wn,useCallback:function(s,c){return _a().memoizedState=[s,c===void 0?null:c],s},useContext:Wn,useEffect:Ah,useImperativeHandle:function(s,c,y){return y=y!=null?y.concat([s]):null,Ju(4194308,4,Gm.bind(null,c,s),y)},useLayoutEffect:function(s,c){return Ju(4194308,4,s,c)},useInsertionEffect:function(s,c){return Ju(4,2,s,c)},useMemo:function(s,c){var y=_a();return c=c===void 0?null:c,s=s(),y.memoizedState=[s,c],s},useReducer:function(s,c,y){var x=_a();return c=y!==void 0?y(c):c,x.memoizedState=x.baseState=c,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:c},x.queue=s,s=s.dispatch=Nh.bind(null,xn,s),[x.memoizedState,s]},useRef:function(s){var c=_a();return s={current:s},c.memoizedState=s},useState:Mh,useDebugValue:kh,useDeferredValue:function(s){return _a().memoizedState=s},useTransition:function(){var s=Mh(!1),c=s[0];return s=XE.bind(null,s[1]),_a().memoizedState=s,[c,s]},useMutableSource:function(){},useSyncExternalStore:function(s,c,y){var x=xn,M=_a();if(wn){if(y===void 0)throw Error(n(407));y=y()}else{if(y=c(),Bn===null)throw Error(n(349));Wu&30||xh(x,c,y)}M.memoizedState=y;var L={value:y,getSnapshot:c};return M.queue=L,Ah(bh.bind(null,x,L,s),[s]),x.flags|=2048,Ku(9,Th.bind(null,x,L,y,c),void 0,null),y},useId:function(){var s=_a(),c=Bn.identifierPrefix;if(wn){var y=Zo,x=Er;y=(x&~(1<<32-sa(x)-1)).toString(32)+y,c=":"+c+"R"+y,y=ji++,0<y&&(c+="H"+y.toString(32)),c+=":"}else y=Xu++,c=":"+c+"r"+y.toString(32)+":";return s.memoizedState=c},unstable_isNewReconciler:!1},QE={readContext:Wn,useCallback:lf,useContext:Wn,useEffect:sd,useImperativeHandle:of,useInsertionEffect:Lh,useLayoutEffect:Oh,useMemo:Jl,useReducer:ld,useRef:Rh,useState:function(){return ld(Zu)},useDebugValue:kh,useDeferredValue:function(s){var c=wi();return xi(c,he.memoizedState,s)},useTransition:function(){var s=ld(Zu)[0],c=wi().memoizedState;return[s,c]},useMutableSource:Ch,useSyncExternalStore:wh,useId:gn,unstable_isNewReconciler:!1},$m={readContext:Wn,useCallback:lf,useContext:Wn,useEffect:sd,useImperativeHandle:of,useInsertionEffect:Lh,useLayoutEffect:Oh,useMemo:Jl,useReducer:ud,useRef:Rh,useState:function(){return ud(Zu)},useDebugValue:kh,useDeferredValue:function(s){var c=wi();return he===null?c.memoizedState=s:xi(c,he.memoizedState,s)},useTransition:function(){var s=ud(Zu)[0],c=wi().memoizedState;return[s,c]},useMutableSource:Ch,useSyncExternalStore:wh,useId:gn,unstable_isNewReconciler:!1};function sf(s,c){try{var y="",x=c;do y+=Dn(x),x=x.return;while(x);var M=y}catch(L){M=`
72
+ Error generating stack: `+L.message+`
73
+ `+L.stack}return{value:s,source:c,stack:M,digest:null}}function cd(s,c,y){return{value:s,source:null,stack:y??null,digest:c??null}}function zh(s,c){try{console.error(c.value)}catch(y){setTimeout(function(){throw y})}}var ZE=typeof WeakMap=="function"?WeakMap:Map;function wS(s,c,y){y=Jo(-1,y),y.tag=3,y.payload={element:null};var x=c.value;return y.callback=function(){$h||($h=!0,is=x),zh(s,c)},y}function dd(s,c,y){y=Jo(-1,y),y.tag=3;var x=s.type.getDerivedStateFromError;if(typeof x=="function"){var M=c.value;y.payload=function(){return x(M)},y.callback=function(){zh(s,c)}}var L=s.stateNode;return L!==null&&typeof L.componentDidCatch=="function"&&(y.callback=function(){zh(s,c),typeof x!="function"&&(wo===null?wo=new Set([this]):wo.add(this));var z=c.stack;this.componentDidCatch(c.value,{componentStack:z!==null?z:""})}),y}function xS(s,c,y){var x=s.pingCache;if(x===null){x=s.pingCache=new ZE;var M=new Set;x.set(c,M)}else M=x.get(c),M===void 0&&(M=new Set,x.set(c,M));M.has(y)||(M.add(y),s=iD.bind(null,s,c,y),c.then(s,s))}function jm(s){do{var c;if((c=s.tag===13)&&(c=s.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return s;s=s.return}while(s!==null);return null}function Ym(s,c,y,x,M){return s.mode&1?(s.flags|=65536,s.lanes=M,s):(s===c?s.flags|=65536:(s.flags|=128,y.flags|=131072,y.flags&=-52805,y.tag===1&&(y.alternate===null?y.tag=17:(c=Jo(-1,1),c.tag=2,ql(y,c,1))),y.lanes|=1),s)}var KE=P.ReactCurrentOwner,er=!1;function ur(s,c,y,x){c.child=s===null?SS(c,null,y,x):rf(c,s.child,y,x)}function eu(s,c,y,x,M){y=y.render;var L=c.ref;return be(c,M),x=Kl(s,c,y,x,L,M),y=Qu(),s!==null&&!er?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~M,Mr(s,c,M)):(wn&&y&&sh(c),c.flags|=1,ur(s,c,x,M),c.child)}function Fh(s,c,y,x,M){if(s===null){var L=y.type;return typeof L=="function"&&!cy(L)&&L.defaultProps===void 0&&y.compare===null&&y.defaultProps===void 0?(c.tag=15,c.type=L,Ti(s,c,L,x,M)):(s=Qh(y.type,null,x,c,c.mode,M),s.ref=c.ref,s.return=c,c.child=s)}if(L=s.child,!(s.lanes&M)){var z=L.memoizedProps;if(y=y.compare,y=y!==null?y:Wc,y(z,x)&&s.ref===c.ref)return Mr(s,c,M)}return c.flags|=1,s=iu(L,x),s.ref=c.ref,s.return=c,c.child=s}function Ti(s,c,y,x,M){if(s!==null){var L=s.memoizedProps;if(Wc(L,x)&&s.ref===c.ref)if(er=!1,c.pendingProps=x=L,(s.lanes&M)!==0)s.flags&131072&&(er=!0);else return c.lanes=s.lanes,Mr(s,c,M)}return ff(s,c,y,x,M)}function es(s,c,y){var x=c.pendingProps,M=x.children,L=s!==null?s.memoizedState:null;if(x.mode==="hidden")if(!(c.mode&1))c.memoizedState={baseLanes:0,cachePool:null,transitions:null},Kt(gf,Yi),Yi|=y;else{if(!(y&1073741824))return s=L!==null?L.baseLanes|y:y,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:s,cachePool:null,transitions:null},c.updateQueue=null,Kt(gf,Yi),Yi|=s,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},x=L!==null?L.baseLanes:y,Kt(gf,Yi),Yi|=x}else L!==null?(x=L.baseLanes|y,c.memoizedState=null):x=y,Kt(gf,Yi),Yi|=x;return ur(s,c,M,y),c.child}function gt(s,c){var y=c.ref;(s===null&&y!==null||s!==null&&s.ref!==y)&&(c.flags|=512,c.flags|=2097152)}function ff(s,c,y,x,M){var L=Ln(y)?mi:lt.current;return L=ha(c,L),be(c,M),y=Kl(s,c,y,x,L,M),x=Qu(),s!==null&&!er?(c.updateQueue=s.updateQueue,c.flags&=-2053,s.lanes&=~M,Mr(s,c,M)):(wn&&x&&sh(c),c.flags|=1,ur(s,c,y,M),c.child)}function Wm(s,c,y,x,M){if(Ln(y)){var L=!0;uh(c)}else L=!1;if(be(c,M),c.stateNode===null)$r(s,c),gS(c,y,x),mh(c,y,x,M),x=!0;else if(s===null){var z=c.stateNode,$=c.memoizedProps;z.props=$;var q=z.context,se=y.contextType;typeof se=="object"&&se!==null?se=Wn(se):(se=Ln(y)?mi:lt.current,se=ha(c,se));var _e=y.getDerivedStateFromProps,we=typeof _e=="function"||typeof z.getSnapshotBeforeUpdate=="function";we||typeof z.UNSAFE_componentWillReceiveProps!="function"&&typeof z.componentWillReceiveProps!="function"||($!==x||q!==se)&&mS(c,z,x,se),Xl=!1;var ye=c.memoizedState;z.state=ye,Ql(c,x,z,M),q=c.memoizedState,$!==x||ye!==q||Vn.current||Xl?(typeof _e=="function"&&(Um(c,y,_e,x),q=c.memoizedState),($=Xl||pS(c,y,$,x,ye,q,se))?(we||typeof z.UNSAFE_componentWillMount!="function"&&typeof z.componentWillMount!="function"||(typeof z.componentWillMount=="function"&&z.componentWillMount(),typeof z.UNSAFE_componentWillMount=="function"&&z.UNSAFE_componentWillMount()),typeof z.componentDidMount=="function"&&(c.flags|=4194308)):(typeof z.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=x,c.memoizedState=q),z.props=x,z.state=q,z.context=se,x=$):(typeof z.componentDidMount=="function"&&(c.flags|=4194308),x=!1)}else{z=c.stateNode,lr(s,c),$=c.memoizedProps,se=c.type===c.elementType?$:$i(c.type,$),z.props=se,we=c.pendingProps,ye=z.context,q=y.contextType,typeof q=="object"&&q!==null?q=Wn(q):(q=Ln(y)?mi:lt.current,q=ha(c,q));var Oe=y.getDerivedStateFromProps;(_e=typeof Oe=="function"||typeof z.getSnapshotBeforeUpdate=="function")||typeof z.UNSAFE_componentWillReceiveProps!="function"&&typeof z.componentWillReceiveProps!="function"||($!==we||ye!==q)&&mS(c,z,x,q),Xl=!1,ye=c.memoizedState,z.state=ye,Ql(c,x,z,M);var Ue=c.memoizedState;$!==we||ye!==Ue||Vn.current||Xl?(typeof Oe=="function"&&(Um(c,y,Oe,x),Ue=c.memoizedState),(se=Xl||pS(c,y,se,x,ye,Ue,q)||!1)?(_e||typeof z.UNSAFE_componentWillUpdate!="function"&&typeof z.componentWillUpdate!="function"||(typeof z.componentWillUpdate=="function"&&z.componentWillUpdate(x,Ue,q),typeof z.UNSAFE_componentWillUpdate=="function"&&z.UNSAFE_componentWillUpdate(x,Ue,q)),typeof z.componentDidUpdate=="function"&&(c.flags|=4),typeof z.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof z.componentDidUpdate!="function"||$===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof z.getSnapshotBeforeUpdate!="function"||$===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),c.memoizedProps=x,c.memoizedState=Ue),z.props=x,z.state=Ue,z.context=q,x=se):(typeof z.componentDidUpdate!="function"||$===s.memoizedProps&&ye===s.memoizedState||(c.flags|=4),typeof z.getSnapshotBeforeUpdate!="function"||$===s.memoizedProps&&ye===s.memoizedState||(c.flags|=1024),x=!1)}return TS(s,c,y,x,L,M)}function TS(s,c,y,x,M,L){gt(s,c);var z=(c.flags&128)!==0;if(!x&&!z)return M&&sS(c,y,!1),Mr(s,c,L);x=c.stateNode,KE.current=c;var $=z&&typeof y.getDerivedStateFromError!="function"?null:x.render();return c.flags|=1,s!==null&&z?(c.child=rf(c,s.child,null,L),c.child=rf(c,null,$,L)):ur(s,c,$,L),c.memoizedState=x.state,M&&sS(c,y,!0),c.child}function bS(s){var c=s.stateNode;c.pendingContext?$l(s,c.pendingContext,c.pendingContext!==c.context):c.context&&$l(s,c.context,!1),Vm(s,c.containerInfo)}function Bh(s,c,y,x,M){return zn(),Nm(M),c.flags|=256,ur(s,c,y,x),c.child}var ts={dehydrated:null,treeContext:null,retryLane:0};function Xm(s){return{baseLanes:s,cachePool:null,transitions:null}}function qm(s,c,y){var x=c.pendingProps,M=nt.current,L=!1,z=(c.flags&128)!==0,$;if(($=z)||($=s!==null&&s.memoizedState===null?!1:(M&2)!==0),$?(L=!0,c.flags&=-129):(s===null||s.memoizedState!==null)&&(M|=1),Kt(nt,M&1),s===null)return ch(c),s=c.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?(c.mode&1?s.data==="$!"?c.lanes=8:c.lanes=1073741824:c.lanes=1,null):(z=x.children,s=x.fallback,L?(x=c.mode,L=c.child,z={mode:"hidden",children:z},!(x&1)&&L!==null?(L.childLanes=0,L.pendingProps=z):L=wd(z,x,0,null),s=ss(s,x,y,null),L.return=c,s.return=c,L.sibling=s,c.child=L,c.child.memoizedState=Xm(y),c.memoizedState=ts,s):Qm(c,z));if(M=s.memoizedState,M!==null&&($=M.dehydrated,$!==null))return JE(s,c,z,x,$,M,y);if(L){L=x.fallback,z=c.mode,M=s.child,$=M.sibling;var q={mode:"hidden",children:x.children};return!(z&1)&&c.child!==M?(x=c.child,x.childLanes=0,x.pendingProps=q,c.deletions=null):(x=iu(M,q),x.subtreeFlags=M.subtreeFlags&14680064),$!==null?L=iu($,L):(L=ss(L,z,y,null),L.flags|=2),L.return=c,x.return=c,x.sibling=L,c.child=x,x=L,L=c.child,z=s.child.memoizedState,z=z===null?Xm(y):{baseLanes:z.baseLanes|y,cachePool:null,transitions:z.transitions},L.memoizedState=z,L.childLanes=s.childLanes&~y,c.memoizedState=ts,x}return L=s.child,s=L.sibling,x=iu(L,{mode:"visible",children:x.children}),!(c.mode&1)&&(x.lanes=y),x.return=c,x.sibling=null,s!==null&&(y=c.deletions,y===null?(c.deletions=[s],c.flags|=16):y.push(s)),c.child=x,c.memoizedState=null,x}function Qm(s,c){return c=wd({mode:"visible",children:c},s.mode,0,null),c.return=s,s.child=c}function cf(s,c,y,x){return x!==null&&Nm(x),rf(c,s.child,null,y),s=Qm(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function JE(s,c,y,x,M,L,z){if(y)return c.flags&256?(c.flags&=-257,x=cd(Error(n(422))),cf(s,c,z,x)):c.memoizedState!==null?(c.child=s.child,c.flags|=128,null):(L=x.fallback,M=c.mode,x=wd({mode:"visible",children:x.children},M,0,null),L=ss(L,M,z,null),L.flags|=2,x.return=c,L.return=c,x.sibling=L,c.child=x,c.mode&1&&rf(c,s.child,null,z),c.child.memoizedState=Xm(z),c.memoizedState=ts,L);if(!(c.mode&1))return cf(s,c,z,null);if(M.data==="$!"){if(x=M.nextSibling&&M.nextSibling.dataset,x)var $=x.dgst;return x=$,L=Error(n(419)),x=cd(L,x,void 0),cf(s,c,z,x)}if($=(z&s.childLanes)!==0,er||$){if(x=Bn,x!==null){switch(z&-z){case 4:M=2;break;case 16:M=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:M=32;break;case 536870912:M=268435456;break;default:M=0}M=M&(x.suspendedLanes|z)?0:M,M!==0&&M!==L.retryLane&&(L.retryLane=M,Ko(s,M),Xr(x,s,M,-1))}return uy(),x=cd(Error(n(421))),cf(s,c,z,x)}return M.data==="$?"?(c.flags|=128,c.child=s.child,c=aD.bind(null,s),M._reactRetry=c,null):(s=L.treeContext,Ci=Wa(M.nextSibling),Gi=c,wn=!0,ma=null,s!==null&&(Si[Gr++]=Er,Si[Gr++]=Zo,Si[Gr++]=ga,Er=s.id,Zo=s.overflow,ga=c),c=Qm(c,x.children),c.flags|=4096,c)}function Zm(s,c,y){s.lanes|=c;var x=s.alternate;x!==null&&(x.lanes|=c),_r(s.return,c,y)}function Uh(s,c,y,x,M){var L=s.memoizedState;L===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:x,tail:y,tailMode:M}:(L.isBackwards=c,L.rendering=null,L.renderingStartTime=0,L.last=x,L.tail=y,L.tailMode=M)}function Km(s,c,y){var x=c.pendingProps,M=x.revealOrder,L=x.tail;if(ur(s,c,x.children,y),x=nt.current,x&2)x=x&1|2,c.flags|=128;else{if(s!==null&&s.flags&128)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&Zm(s,y,c);else if(s.tag===19)Zm(s,y,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}x&=1}if(Kt(nt,x),!(c.mode&1))c.memoizedState=null;else switch(M){case"forwards":for(y=c.child,M=null;y!==null;)s=y.alternate,s!==null&&Fn(s)===null&&(M=y),y=y.sibling;y=M,y===null?(M=c.child,c.child=null):(M=y.sibling,y.sibling=null),Uh(c,!1,M,y,L);break;case"backwards":for(y=null,M=c.child,c.child=null;M!==null;){if(s=M.alternate,s!==null&&Fn(s)===null){c.child=M;break}s=M.sibling,M.sibling=y,y=M,M=s}Uh(c,!0,y,null,L);break;case"together":Uh(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function $r(s,c){!(c.mode&1)&&s!==null&&(s.alternate=null,c.alternate=null,c.flags|=2)}function Mr(s,c,y){if(s!==null&&(c.dependencies=s.dependencies),rl|=c.lanes,!(y&c.childLanes))return null;if(s!==null&&c.child!==s.child)throw Error(n(153));if(c.child!==null){for(s=c.child,y=iu(s,s.pendingProps),c.child=y,y.return=c;s.sibling!==null;)s=s.sibling,y=y.sibling=iu(s,s.pendingProps),y.return=c;y.sibling=null}return c.child}function tl(s,c,y){switch(c.tag){case 3:bS(c),zn();break;case 5:Je(c);break;case 1:Ln(c.type)&&uh(c);break;case 4:Vm(c,c.stateNode.containerInfo);break;case 10:var x=c.type._context,M=c.memoizedProps.value;Kt(yo,x._currentValue),x._currentValue=M;break;case 13:if(x=c.memoizedState,x!==null)return x.dehydrated!==null?(Kt(nt,nt.current&1),c.flags|=128,null):y&c.child.childLanes?qm(s,c,y):(Kt(nt,nt.current&1),s=Mr(s,c,y),s!==null?s.sibling:null);Kt(nt,nt.current&1);break;case 19:if(x=(y&c.childLanes)!==0,s.flags&128){if(x)return Km(s,c,y);c.flags|=128}if(M=c.memoizedState,M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),Kt(nt,nt.current),x)break;return null;case 22:case 23:return c.lanes=0,es(s,c,y)}return Mr(s,c,y)}var vd,ns,Sa,sr;vd=function(s,c){for(var y=c.child;y!==null;){if(y.tag===5||y.tag===6)s.appendChild(y.stateNode);else if(y.tag!==4&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===c)break;for(;y.sibling===null;){if(y.return===null||y.return===c)return;y=y.return}y.sibling.return=y.return,y=y.sibling}},ns=function(){},Sa=function(s,c,y,x){var M=s.memoizedProps;if(M!==x){s=c.stateNode,Yu(Xa.current);var L=null;switch(y){case"input":M=Et(s,M),x=Et(s,x),L=[];break;case"select":M=pe({},M,{value:void 0}),x=pe({},x,{value:void 0}),L=[];break;case"textarea":M=Fa(s,M),x=Fa(s,x),L=[];break;default:typeof M.onClick!="function"&&typeof x.onClick=="function"&&(s.onclick=lh)}hr(y,x);var z;y=null;for(se in M)if(!x.hasOwnProperty(se)&&M.hasOwnProperty(se)&&M[se]!=null)if(se==="style"){var $=M[se];for(z in $)$.hasOwnProperty(z)&&(y||(y={}),y[z]="")}else se!=="dangerouslySetInnerHTML"&&se!=="children"&&se!=="suppressContentEditableWarning"&&se!=="suppressHydrationWarning"&&se!=="autoFocus"&&(a.hasOwnProperty(se)?L||(L=[]):(L=L||[]).push(se,null));for(se in x){var q=x[se];if($=M!=null?M[se]:void 0,x.hasOwnProperty(se)&&q!==$&&(q!=null||$!=null))if(se==="style")if($){for(z in $)!$.hasOwnProperty(z)||q&&q.hasOwnProperty(z)||(y||(y={}),y[z]="");for(z in q)q.hasOwnProperty(z)&&$[z]!==q[z]&&(y||(y={}),y[z]=q[z])}else y||(L||(L=[]),L.push(se,y)),y=q;else se==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,$=$?$.__html:void 0,q!=null&&$!==q&&(L=L||[]).push(se,q)):se==="children"?typeof q!="string"&&typeof q!="number"||(L=L||[]).push(se,""+q):se!=="suppressContentEditableWarning"&&se!=="suppressHydrationWarning"&&(a.hasOwnProperty(se)?(q!=null&&se==="onScroll"&&pn("scroll",s),L||$===q||(L=[])):(L=L||[]).push(se,q))}y&&(L=L||[]).push("style",y);var se=L;(c.updateQueue=se)&&(c.flags|=4)}},sr=function(s,c,y,x){y!==x&&(c.flags|=4)};function hd(s,c){if(!wn)switch(s.tailMode){case"hidden":c=s.tail;for(var y=null;c!==null;)c.alternate!==null&&(y=c),c=c.sibling;y===null?s.tail=null:y.sibling=null;break;case"collapsed":y=s.tail;for(var x=null;y!==null;)y.alternate!==null&&(x=y),y=y.sibling;x===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:x.sibling=null}}function jr(s){var c=s.alternate!==null&&s.alternate.child===s.child,y=0,x=0;if(c)for(var M=s.child;M!==null;)y|=M.lanes|M.childLanes,x|=M.subtreeFlags&14680064,x|=M.flags&14680064,M.return=s,M=M.sibling;else for(M=s.child;M!==null;)y|=M.lanes|M.childLanes,x|=M.subtreeFlags,x|=M.flags,M.return=s,M=M.sibling;return s.subtreeFlags|=x,s.childLanes=y,c}function eD(s,c,y){var x=c.pendingProps;switch(Om(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jr(c),null;case 1:return Ln(c.type)&&pa(),jr(c),null;case 3:return x=c.stateNode,Zl(),qt(Vn),qt(lt),_h(),x.pendingContext&&(x.context=x.pendingContext,x.pendingContext=null),(s===null||s.child===null)&&(dh(c)?c.flags|=4:s===null||s.memoizedState.isDehydrated&&!(c.flags&256)||(c.flags|=1024,ma!==null&&(Cd(ma),ma=null))),ns(s,c),jr(c),null;case 5:wt(c);var M=Yu(af.current);if(y=c.type,s!==null&&c.stateNode!=null)Sa(s,c,y,x,M),s.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!x){if(c.stateNode===null)throw Error(n(166));return jr(c),null}if(s=Yu(Xa.current),dh(c)){x=c.stateNode,y=c.type;var L=c.memoizedProps;switch(x[go]=c,x[Gu]=L,s=(c.mode&1)!==0,y){case"dialog":pn("cancel",x),pn("close",x);break;case"iframe":case"object":case"embed":pn("load",x);break;case"video":case"audio":for(M=0;M<Zc.length;M++)pn(Zc[M],x);break;case"source":pn("error",x);break;case"img":case"image":case"link":pn("error",x),pn("load",x);break;case"details":pn("toggle",x);break;case"input":Pn(x,L),pn("invalid",x);break;case"select":x._wrapperState={wasMultiple:!!L.multiple},pn("invalid",x);break;case"textarea":Pi(x,L),pn("invalid",x)}hr(y,L),M=null;for(var z in L)if(L.hasOwnProperty(z)){var $=L[z];z==="children"?typeof $=="string"?x.textContent!==$&&(L.suppressHydrationWarning!==!0&&oh(x.textContent,$,s),M=["children",$]):typeof $=="number"&&x.textContent!==""+$&&(L.suppressHydrationWarning!==!0&&oh(x.textContent,$,s),M=["children",""+$]):a.hasOwnProperty(z)&&$!=null&&z==="onScroll"&&pn("scroll",x)}switch(y){case"input":$e(x),ua(x,L,!0);break;case"textarea":$e(x),Ii(x);break;case"select":case"option":break;default:typeof L.onClick=="function"&&(x.onclick=lh)}x=M,c.updateQueue=x,x!==null&&(c.flags|=4)}else{z=M.nodeType===9?M:M.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=Ba(y)),s==="http://www.w3.org/1999/xhtml"?y==="script"?(s=z.createElement("div"),s.innerHTML="<script></script>",s=s.removeChild(s.firstChild)):typeof x.is=="string"?s=z.createElement(y,{is:x.is}):(s=z.createElement(y),y==="select"&&(z=s,x.multiple?z.multiple=!0:x.size&&(z.size=x.size))):s=z.createElementNS(s,y),s[go]=c,s[Gu]=x,vd(s,c,!1,!1),c.stateNode=s;e:{switch(z=Yn(y,x),y){case"dialog":pn("cancel",s),pn("close",s),M=x;break;case"iframe":case"object":case"embed":pn("load",s),M=x;break;case"video":case"audio":for(M=0;M<Zc.length;M++)pn(Zc[M],s);M=x;break;case"source":pn("error",s),M=x;break;case"img":case"image":case"link":pn("error",s),pn("load",s),M=x;break;case"details":pn("toggle",s),M=x;break;case"input":Pn(s,x),M=Et(s,x),pn("invalid",s);break;case"option":M=x;break;case"select":s._wrapperState={wasMultiple:!!x.multiple},M=pe({},x,{value:void 0}),pn("invalid",s);break;case"textarea":Pi(s,x),M=Fa(s,x),pn("invalid",s);break;default:M=x}hr(y,M),$=M;for(L in $)if($.hasOwnProperty(L)){var q=$[L];L==="style"?en(s,q):L==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,q!=null&&Ol(s,q)):L==="children"?typeof q=="string"?(y!=="textarea"||q!=="")&&Ua(s,q):typeof q=="number"&&Ua(s,""+q):L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&L!=="autoFocus"&&(a.hasOwnProperty(L)?q!=null&&L==="onScroll"&&pn("scroll",s):q!=null&&O(s,L,q,z))}switch(y){case"input":$e(s),ua(s,x,!1);break;case"textarea":$e(s),Ii(s);break;case"option":x.value!=null&&s.setAttribute("value",""+on(x.value));break;case"select":s.multiple=!!x.multiple,L=x.value,L!=null?vo(s,!!x.multiple,L,!1):x.defaultValue!=null&&vo(s,!!x.multiple,x.defaultValue,!0);break;default:typeof M.onClick=="function"&&(s.onclick=lh)}switch(y){case"button":case"input":case"select":case"textarea":x=!!x.autoFocus;break e;case"img":x=!0;break e;default:x=!1}}x&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return jr(c),null;case 6:if(s&&c.stateNode!=null)sr(s,c,s.memoizedProps,x);else{if(typeof x!="string"&&c.stateNode===null)throw Error(n(166));if(y=Yu(af.current),Yu(Xa.current),dh(c)){if(x=c.stateNode,y=c.memoizedProps,x[go]=c,(L=x.nodeValue!==y)&&(s=Gi,s!==null))switch(s.tag){case 3:oh(x.nodeValue,y,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&oh(x.nodeValue,y,(s.mode&1)!==0)}L&&(c.flags|=4)}else x=(y.nodeType===9?y:y.ownerDocument).createTextNode(x),x[go]=c,c.stateNode=x}return jr(c),null;case 13:if(qt(nt),x=c.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(wn&&Ci!==null&&c.mode&1&&!(c.flags&128))dS(),zn(),c.flags|=98560,L=!1;else if(L=dh(c),x!==null&&x.dehydrated!==null){if(s===null){if(!L)throw Error(n(318));if(L=c.memoizedState,L=L!==null?L.dehydrated:null,!L)throw Error(n(317));L[go]=c}else zn(),!(c.flags&128)&&(c.memoizedState=null),c.flags|=4;jr(c),L=!1}else ma!==null&&(Cd(ma),ma=null),L=!0;if(!L)return c.flags&65536?c:null}return c.flags&128?(c.lanes=y,c):(x=x!==null,x!==(s!==null&&s.memoizedState!==null)&&x&&(c.child.flags|=8192,c.mode&1&&(s===null||nt.current&1?cr===0&&(cr=3):uy())),c.updateQueue!==null&&(c.flags|=4),jr(c),null);case 4:return Zl(),ns(s,c),s===null&&Js(c.stateNode.containerInfo),jr(c),null;case 10:return Wl(c.type._context),jr(c),null;case 17:return Ln(c.type)&&pa(),jr(c),null;case 19:if(qt(nt),L=c.memoizedState,L===null)return jr(c),null;if(x=(c.flags&128)!==0,z=L.rendering,z===null)if(x)hd(L,!1);else{if(cr!==0||s!==null&&s.flags&128)for(s=c.child;s!==null;){if(z=Fn(s),z!==null){for(c.flags|=128,hd(L,!1),x=z.updateQueue,x!==null&&(c.updateQueue=x,c.flags|=4),c.subtreeFlags=0,x=y,y=c.child;y!==null;)L=y,s=x,L.flags&=14680066,z=L.alternate,z===null?(L.childLanes=0,L.lanes=s,L.child=null,L.subtreeFlags=0,L.memoizedProps=null,L.memoizedState=null,L.updateQueue=null,L.dependencies=null,L.stateNode=null):(L.childLanes=z.childLanes,L.lanes=z.lanes,L.child=z.child,L.subtreeFlags=0,L.deletions=null,L.memoizedProps=z.memoizedProps,L.memoizedState=z.memoizedState,L.updateQueue=z.updateQueue,L.type=z.type,s=z.dependencies,L.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),y=y.sibling;return Kt(nt,nt.current&1|2),c.child}s=s.sibling}L.tail!==null&&$t()>yf&&(c.flags|=128,x=!0,hd(L,!1),c.lanes=4194304)}else{if(!x)if(s=Fn(z),s!==null){if(c.flags|=128,x=!0,y=s.updateQueue,y!==null&&(c.updateQueue=y,c.flags|=4),hd(L,!0),L.tail===null&&L.tailMode==="hidden"&&!z.alternate&&!wn)return jr(c),null}else 2*$t()-L.renderingStartTime>yf&&y!==1073741824&&(c.flags|=128,x=!0,hd(L,!1),c.lanes=4194304);L.isBackwards?(z.sibling=c.child,c.child=z):(y=L.last,y!==null?y.sibling=z:c.child=z,L.last=z)}return L.tail!==null?(c=L.tail,L.rendering=c,L.tail=c.sibling,L.renderingStartTime=$t(),c.sibling=null,y=nt.current,Kt(nt,x?y&1|2:y&1),c):(jr(c),null);case 22:case 23:return ly(),x=c.memoizedState!==null,s!==null&&s.memoizedState!==null!==x&&(c.flags|=8192),x&&c.mode&1?Yi&1073741824&&(jr(c),c.subtreeFlags&6&&(c.flags|=8192)):jr(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function Jm(s,c){switch(Om(c),c.tag){case 1:return Ln(c.type)&&pa(),s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 3:return Zl(),qt(Vn),qt(lt),_h(),s=c.flags,s&65536&&!(s&128)?(c.flags=s&-65537|128,c):null;case 5:return wt(c),null;case 13:if(qt(nt),s=c.memoizedState,s!==null&&s.dehydrated!==null){if(c.alternate===null)throw Error(n(340));zn()}return s=c.flags,s&65536?(c.flags=s&-65537|128,c):null;case 19:return qt(nt),null;case 4:return Zl(),null;case 10:return Wl(c.type._context),null;case 22:case 23:return ly(),null;case 24:return null;default:return null}}var pd=!1,fr=!1,ES=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function df(s,c){var y=s.ref;if(y!==null)if(typeof y=="function")try{y(null)}catch(x){Gn(s,c,x)}else y.current=null}function gd(s,c,y){try{y()}catch(x){Gn(s,c,x)}}var DS=!1;function MS(s,c){if(Tm=Iu,s=th(),Wo(s)){if("selectionStart"in s)var y={start:s.selectionStart,end:s.selectionEnd};else e:{y=(y=s.ownerDocument)&&y.defaultView||window;var x=y.getSelection&&y.getSelection();if(x&&x.rangeCount!==0){y=x.anchorNode;var M=x.anchorOffset,L=x.focusNode;x=x.focusOffset;try{y.nodeType,L.nodeType}catch{y=null;break e}var z=0,$=-1,q=-1,se=0,_e=0,we=s,ye=null;t:for(;;){for(var Oe;we!==y||M!==0&&we.nodeType!==3||($=z+M),we!==L||x!==0&&we.nodeType!==3||(q=z+x),we.nodeType===3&&(z+=we.nodeValue.length),(Oe=we.firstChild)!==null;)ye=we,we=Oe;for(;;){if(we===s)break t;if(ye===y&&++se===M&&($=z),ye===L&&++_e===x&&(q=z),(Oe=we.nextSibling)!==null)break;we=ye,ye=we.parentNode}we=Oe}y=$===-1||q===-1?null:{start:$,end:q}}else y=null}y=y||{start:0,end:0}}else y=null;for(Vu={focusedElem:s,selectionRange:y},Iu=!1,Fe=c;Fe!==null;)if(c=Fe,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,Fe=s;else for(;Fe!==null;){c=Fe;try{var Ue=c.alternate;if(c.flags&1024)switch(c.tag){case 0:case 11:case 15:break;case 1:if(Ue!==null){var je=Ue.memoizedProps,Xn=Ue.memoizedState,te=c.stateNode,Z=te.getSnapshotBeforeUpdate(c.elementType===c.type?je:$i(c.type,je),Xn);te.__reactInternalSnapshotBeforeUpdate=Z}break;case 3:var oe=c.stateNode.containerInfo;oe.nodeType===1?oe.textContent="":oe.nodeType===9&&oe.documentElement&&oe.removeChild(oe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Te){Gn(c,c.return,Te)}if(s=c.sibling,s!==null){s.return=c.return,Fe=s;break}Fe=c.return}return Ue=DS,DS=!1,Ue}function md(s,c,y){var x=c.updateQueue;if(x=x!==null?x.lastEffect:null,x!==null){var M=x=x.next;do{if((M.tag&s)===s){var L=M.destroy;M.destroy=void 0,L!==void 0&&gd(c,y,L)}M=M.next}while(M!==x)}}function yd(s,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var y=c=c.next;do{if((y.tag&s)===s){var x=y.create;y.destroy=x()}y=y.next}while(y!==c)}}function ey(s){var c=s.ref;if(c!==null){var y=s.stateNode;switch(s.tag){case 5:s=y;break;default:s=y}typeof c=="function"?c(s):c.current=s}}function ty(s){var c=s.alternate;c!==null&&(s.alternate=null,ty(c)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(c=s.stateNode,c!==null&&(delete c[go],delete c[Gu],delete c[Dm],delete c[WE],delete c[Mm])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function RS(s){return s.tag===5||s.tag===3||s.tag===4}function Vh(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||RS(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function vf(s,c,y){var x=s.tag;if(x===5||x===6)s=s.stateNode,c?y.nodeType===8?y.parentNode.insertBefore(s,c):y.insertBefore(s,c):(y.nodeType===8?(c=y.parentNode,c.insertBefore(s,y)):(c=y,c.appendChild(s)),y=y._reactRootContainer,y!=null||c.onclick!==null||(c.onclick=lh));else if(x!==4&&(s=s.child,s!==null))for(vf(s,c,y),s=s.sibling;s!==null;)vf(s,c,y),s=s.sibling}function So(s,c,y){var x=s.tag;if(x===5||x===6)s=s.stateNode,c?y.insertBefore(s,c):y.appendChild(s);else if(x!==4&&(s=s.child,s!==null))for(So(s,c,y),s=s.sibling;s!==null;)So(s,c,y),s=s.sibling}var On=null,Sr=!1;function Ca(s,c,y){for(y=y.child;y!==null;)hf(s,c,y),y=y.sibling}function hf(s,c,y){if(Ha&&typeof Ha.onCommitFiberUnmount=="function")try{Ha.onCommitFiberUnmount(Pc,y)}catch{}switch(y.tag){case 5:fr||df(y,c);case 6:var x=On,M=Sr;On=null,Ca(s,c,y),On=x,Sr=M,On!==null&&(Sr?(s=On,y=y.stateNode,s.nodeType===8?s.parentNode.removeChild(y):s.removeChild(y)):On.removeChild(y.stateNode));break;case 18:On!==null&&(Sr?(s=On,y=y.stateNode,s.nodeType===8?Vl(s.parentNode,y):s.nodeType===1&&Vl(s,y),Uc(s)):Vl(On,y.stateNode));break;case 4:x=On,M=Sr,On=y.stateNode.containerInfo,Sr=!0,Ca(s,c,y),On=x,Sr=M;break;case 0:case 11:case 14:case 15:if(!fr&&(x=y.updateQueue,x!==null&&(x=x.lastEffect,x!==null))){M=x=x.next;do{var L=M,z=L.destroy;L=L.tag,z!==void 0&&(L&2||L&4)&&gd(y,c,z),M=M.next}while(M!==x)}Ca(s,c,y);break;case 1:if(!fr&&(df(y,c),x=y.stateNode,typeof x.componentWillUnmount=="function"))try{x.props=y.memoizedProps,x.state=y.memoizedState,x.componentWillUnmount()}catch($){Gn(y,c,$)}Ca(s,c,y);break;case 21:Ca(s,c,y);break;case 22:y.mode&1?(fr=(x=fr)||y.memoizedState!==null,Ca(s,c,y),fr=x):Ca(s,c,y);break;default:Ca(s,c,y)}}function nl(s){var c=s.updateQueue;if(c!==null){s.updateQueue=null;var y=s.stateNode;y===null&&(y=s.stateNode=new ES),c.forEach(function(x){var M=oD.bind(null,s,x);y.has(x)||(y.add(x),x.then(M,M))})}}function qa(s,c){var y=c.deletions;if(y!==null)for(var x=0;x<y.length;x++){var M=y[x];try{var L=s,z=c,$=z;e:for(;$!==null;){switch($.tag){case 5:On=$.stateNode,Sr=!1;break e;case 3:On=$.stateNode.containerInfo,Sr=!0;break e;case 4:On=$.stateNode.containerInfo,Sr=!0;break e}$=$.return}if(On===null)throw Error(n(160));hf(L,z,M),On=null,Sr=!1;var q=M.alternate;q!==null&&(q.return=null),M.return=null}catch(se){Gn(M,c,se)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)AS(c,s),c=c.sibling}function AS(s,c){var y=s.alternate,x=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(qa(c,s),Co(s),x&4){try{md(3,s,s.return),yd(3,s)}catch(je){Gn(s,s.return,je)}try{md(5,s,s.return)}catch(je){Gn(s,s.return,je)}}break;case 1:qa(c,s),Co(s),x&512&&y!==null&&df(y,y.return);break;case 5:if(qa(c,s),Co(s),x&512&&y!==null&&df(y,y.return),s.flags&32){var M=s.stateNode;try{Ua(M,"")}catch(je){Gn(s,s.return,je)}}if(x&4&&(M=s.stateNode,M!=null)){var L=s.memoizedProps,z=y!==null?y.memoizedProps:L,$=s.type,q=s.updateQueue;if(s.updateQueue=null,q!==null)try{$==="input"&&L.type==="radio"&&L.name!=null&&ar(M,L),Yn($,z);var se=Yn($,L);for(z=0;z<q.length;z+=2){var _e=q[z],we=q[z+1];_e==="style"?en(M,we):_e==="dangerouslySetInnerHTML"?Ol(M,we):_e==="children"?Ua(M,we):O(M,_e,we,se)}switch($){case"input":Vr(M,L);break;case"textarea":ho(M,L);break;case"select":var ye=M._wrapperState.wasMultiple;M._wrapperState.wasMultiple=!!L.multiple;var Oe=L.value;Oe!=null?vo(M,!!L.multiple,Oe,!1):ye!==!!L.multiple&&(L.defaultValue!=null?vo(M,!!L.multiple,L.defaultValue,!0):vo(M,!!L.multiple,L.multiple?[]:"",!1))}M[Gu]=L}catch(je){Gn(s,s.return,je)}}break;case 6:if(qa(c,s),Co(s),x&4){if(s.stateNode===null)throw Error(n(162));M=s.stateNode,L=s.memoizedProps;try{M.nodeValue=L}catch(je){Gn(s,s.return,je)}}break;case 3:if(qa(c,s),Co(s),x&4&&y!==null&&y.memoizedState.isDehydrated)try{Uc(c.containerInfo)}catch(je){Gn(s,s.return,je)}break;case 4:qa(c,s),Co(s);break;case 13:qa(c,s),Co(s),M=s.child,M.flags&8192&&(L=M.memoizedState!==null,M.stateNode.isHidden=L,!L||M.alternate!==null&&M.alternate.memoizedState!==null||(iy=$t())),x&4&&nl(s);break;case 22:if(_e=y!==null&&y.memoizedState!==null,s.mode&1?(fr=(se=fr)||_e,qa(c,s),fr=se):qa(c,s),Co(s),x&8192){if(se=s.memoizedState!==null,(s.stateNode.isHidden=se)&&!_e&&s.mode&1)for(Fe=s,_e=s.child;_e!==null;){for(we=Fe=_e;Fe!==null;){switch(ye=Fe,Oe=ye.child,ye.tag){case 0:case 11:case 14:case 15:md(4,ye,ye.return);break;case 1:df(ye,ye.return);var Ue=ye.stateNode;if(typeof Ue.componentWillUnmount=="function"){x=ye,y=ye.return;try{c=x,Ue.props=c.memoizedProps,Ue.state=c.memoizedState,Ue.componentWillUnmount()}catch(je){Gn(x,y,je)}}break;case 5:df(ye,ye.return);break;case 22:if(ye.memoizedState!==null){ny(we);continue}}Oe!==null?(Oe.return=ye,Fe=Oe):ny(we)}_e=_e.sibling}e:for(_e=null,we=s;;){if(we.tag===5){if(_e===null){_e=we;try{M=we.stateNode,se?(L=M.style,typeof L.setProperty=="function"?L.setProperty("display","none","important"):L.display="none"):($=we.stateNode,q=we.memoizedProps.style,z=q!=null&&q.hasOwnProperty("display")?q.display:null,$.style.display=Ct("display",z))}catch(je){Gn(s,s.return,je)}}}else if(we.tag===6){if(_e===null)try{we.stateNode.nodeValue=se?"":we.memoizedProps}catch(je){Gn(s,s.return,je)}}else if((we.tag!==22&&we.tag!==23||we.memoizedState===null||we===s)&&we.child!==null){we.child.return=we,we=we.child;continue}if(we===s)break e;for(;we.sibling===null;){if(we.return===null||we.return===s)break e;_e===we&&(_e=null),we=we.return}_e===we&&(_e=null),we.sibling.return=we.return,we=we.sibling}}break;case 19:qa(c,s),Co(s),x&4&&nl(s);break;case 21:break;default:qa(c,s),Co(s)}}function Co(s){var c=s.flags;if(c&2){try{e:{for(var y=s.return;y!==null;){if(RS(y)){var x=y;break e}y=y.return}throw Error(n(160))}switch(x.tag){case 5:var M=x.stateNode;x.flags&32&&(Ua(M,""),x.flags&=-33);var L=Vh(s);So(s,L,M);break;case 3:case 4:var z=x.stateNode.containerInfo,$=Vh(s);vf(s,$,z);break;default:throw Error(n(161))}}catch(q){Gn(s,s.return,q)}s.flags&=-3}c&4096&&(s.flags&=-4097)}function LS(s,c,y){Fe=s,pf(s)}function pf(s,c,y){for(var x=(s.mode&1)!==0;Fe!==null;){var M=Fe,L=M.child;if(M.tag===22&&x){var z=M.memoizedState!==null||pd;if(!z){var $=M.alternate,q=$!==null&&$.memoizedState!==null||fr;$=pd;var se=fr;if(pd=z,(fr=q)&&!se)for(Fe=M;Fe!==null;)z=Fe,q=z.child,z.tag===22&&z.memoizedState!==null?kS(M):q!==null?(q.return=z,Fe=q):kS(M);for(;L!==null;)Fe=L,pf(L),L=L.sibling;Fe=M,pd=$,fr=se}OS(s)}else M.subtreeFlags&8772&&L!==null?(L.return=M,Fe=L):OS(s)}}function OS(s){for(;Fe!==null;){var c=Fe;if(c.flags&8772){var y=c.alternate;try{if(c.flags&8772)switch(c.tag){case 0:case 11:case 15:fr||yd(5,c);break;case 1:var x=c.stateNode;if(c.flags&4&&!fr)if(y===null)x.componentDidMount();else{var M=c.elementType===c.type?y.memoizedProps:$i(c.type,y.memoizedProps);x.componentDidUpdate(M,y.memoizedState,x.__reactInternalSnapshotBeforeUpdate)}var L=c.updateQueue;L!==null&&ju(c,L,x);break;case 3:var z=c.updateQueue;if(z!==null){if(y=null,c.child!==null)switch(c.child.tag){case 5:y=c.child.stateNode;break;case 1:y=c.child.stateNode}ju(c,z,y)}break;case 5:var $=c.stateNode;if(y===null&&c.flags&4){y=$;var q=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":q.autoFocus&&y.focus();break;case"img":q.src&&(y.src=q.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var se=c.alternate;if(se!==null){var _e=se.memoizedState;if(_e!==null){var we=_e.dehydrated;we!==null&&Uc(we)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}fr||c.flags&512&&ey(c)}catch(ye){Gn(c,c.return,ye)}}if(c===s){Fe=null;break}if(y=c.sibling,y!==null){y.return=c.return,Fe=y;break}Fe=c.return}}function ny(s){for(;Fe!==null;){var c=Fe;if(c===s){Fe=null;break}var y=c.sibling;if(y!==null){y.return=c.return,Fe=y;break}Fe=c.return}}function kS(s){for(;Fe!==null;){var c=Fe;try{switch(c.tag){case 0:case 11:case 15:var y=c.return;try{yd(4,c)}catch(q){Gn(c,y,q)}break;case 1:var x=c.stateNode;if(typeof x.componentDidMount=="function"){var M=c.return;try{x.componentDidMount()}catch(q){Gn(c,M,q)}}var L=c.return;try{ey(c)}catch(q){Gn(c,L,q)}break;case 5:var z=c.return;try{ey(c)}catch(q){Gn(c,z,q)}}}catch(q){Gn(c,c.return,q)}if(c===s){Fe=null;break}var $=c.sibling;if($!==null){$.return=c.return,Fe=$;break}Fe=c.return}}var Hh=Math.ceil,_d=P.ReactCurrentDispatcher,ry=P.ReactCurrentOwner,Yr=P.ReactCurrentBatchConfig,Mt=0,Bn=null,Hn=null,Cr=0,Yi=0,gf=pt(0),cr=0,Sd=null,rl=0,Gh=0,mf=0,rs=null,ei=null,iy=0,yf=1/0,il=null,$h=!1,is=null,wo=null,tu=!1,nu=null,jh=0,_f=0,Yh=null,as=-1,os=0;function Wr(){return Mt&6?$t():as!==-1?as:as=$t()}function tr(s){return s.mode&1?Mt&2&&Cr!==0?Cr&-Cr:vh.transition!==null?(os===0&&(os=Gv()),os):(s=tn,s!==0||(s=window.event,s=s===void 0?16:im(s.type)),s):1}function Xr(s,c,y,x){if(50<_f)throw _f=0,Yh=null,Error(n(185));Pu(s,y,x),(!(Mt&2)||s!==Bn)&&(s===Bn&&(!(Mt&2)&&(Gh|=y),cr===4&&wa(s,Cr)),qr(s,x),y===1&&Mt===0&&!(c.mode&1)&&(yf=$t()+500,yr&&yi()))}function qr(s,c){var y=s.callbackNode;Hv(s,c);var x=Ga(s,s===Bn?Cr:0);if(x===0)y!==null&&Jr(y),s.callbackNode=null,s.callbackPriority=0;else if(c=x&-x,s.callbackPriority!==c){if(y!=null&&Jr(y),c===1)s.tag===0?Am(NS.bind(null,s)):Rm(NS.bind(null,s)),Em(function(){!(Mt&6)&&yi()}),y=null;else{switch(tm(x)){case 1:y=Go;break;case 4:y=Dt;break;case 16:y=Il;break;case 536870912:y=Zg;break;default:y=Il}y=fy(y,Sf.bind(null,s))}s.callbackPriority=c,s.callbackNode=y}}function Sf(s,c){if(as=-1,os=0,Mt&6)throw Error(n(327));var y=s.callbackNode;if(wf()&&s.callbackNode!==y)return null;var x=Ga(s,s===Bn?Cr:0);if(x===0)return null;if(x&30||x&s.expiredLanes||c)c=Xh(s,x);else{c=x;var M=Mt;Mt|=2;var L=Wh();(Bn!==s||Cr!==c)&&(il=null,yf=$t()+500,ls(s,c));do try{nD();break}catch($){PS(s,$)}while(1);Im(),_d.current=L,Mt=M,Hn!==null?c=0:(Bn=null,Cr=0,c=cr)}if(c!==0){if(c===2&&(M=Jg(s),M!==0&&(x=M,c=ay(s,M))),c===1)throw y=Sd,ls(s,0),wa(s,x),qr(s,$t()),y;if(c===6)wa(s,x);else{if(M=s.current.alternate,!(x&30)&&!oy(M)&&(c=Xh(s,x),c===2&&(L=Jg(s),L!==0&&(x=L,c=ay(s,L))),c===1))throw y=Sd,ls(s,0),wa(s,x),qr(s,$t()),y;switch(s.finishedWork=M,s.finishedLanes=x,c){case 0:case 1:throw Error(n(345));case 2:us(s,ei,il);break;case 3:if(wa(s,x),(x&130023424)===x&&(c=iy+500-$t(),10<c)){if(Ga(s,0)!==0)break;if(M=s.suspendedLanes,(M&x)!==x){Wr(),s.pingedLanes|=s.suspendedLanes&M;break}s.timeoutHandle=Hu(us.bind(null,s,ei,il),c);break}us(s,ei,il);break;case 4:if(wa(s,x),(x&4194240)===x)break;for(c=s.eventTimes,M=-1;0<x;){var z=31-sa(x);L=1<<z,z=c[z],z>M&&(M=z),x&=~L}if(x=M,x=$t()-x,x=(120>x?120:480>x?480:1080>x?1080:1920>x?1920:3e3>x?3e3:4320>x?4320:1960*Hh(x/1960))-x,10<x){s.timeoutHandle=Hu(us.bind(null,s,ei,il),x);break}us(s,ei,il);break;case 5:us(s,ei,il);break;default:throw Error(n(329))}}}return qr(s,$t()),s.callbackNode===y?Sf.bind(null,s):null}function ay(s,c){var y=rs;return s.current.memoizedState.isDehydrated&&(ls(s,c).flags|=256),s=Xh(s,c),s!==2&&(c=ei,ei=y,c!==null&&Cd(c)),s}function Cd(s){ei===null?ei=s:ei.push.apply(ei,s)}function oy(s){for(var c=s;;){if(c.flags&16384){var y=c.updateQueue;if(y!==null&&(y=y.stores,y!==null))for(var x=0;x<y.length;x++){var M=y[x],L=M.getSnapshot;M=M.value;try{if(!da(L(),M))return!1}catch{return!1}}}if(y=c.child,c.subtreeFlags&16384&&y!==null)y.return=c,c=y;else{if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function wa(s,c){for(c&=~mf,c&=~Gh,s.suspendedLanes|=c,s.pingedLanes&=~c,s=s.expirationTimes;0<c;){var y=31-sa(c),x=1<<y;s[y]=-1,c&=~x}}function NS(s){if(Mt&6)throw Error(n(327));wf();var c=Ga(s,0);if(!(c&1))return qr(s,$t()),null;var y=Xh(s,c);if(s.tag!==0&&y===2){var x=Jg(s);x!==0&&(c=x,y=ay(s,x))}if(y===1)throw y=Sd,ls(s,0),wa(s,c),qr(s,$t()),y;if(y===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=c,us(s,ei,il),qr(s,$t()),null}function Cf(s,c){var y=Mt;Mt|=1;try{return s(c)}finally{Mt=y,Mt===0&&(yf=$t()+500,yr&&yi())}}function ru(s){nu!==null&&nu.tag===0&&!(Mt&6)&&wf();var c=Mt;Mt|=1;var y=Yr.transition,x=tn;try{if(Yr.transition=null,tn=1,s)return s()}finally{tn=x,Yr.transition=y,Mt=c,!(Mt&6)&&yi()}}function ly(){Yi=gf.current,qt(gf)}function ls(s,c){s.finishedWork=null,s.finishedLanes=0;var y=s.timeoutHandle;if(y!==-1&&(s.timeoutHandle=-1,uS(y)),Hn!==null)for(y=Hn.return;y!==null;){var x=y;switch(Om(x),x.tag){case 1:x=x.type.childContextTypes,x!=null&&pa();break;case 3:Zl(),qt(Vn),qt(lt),_h();break;case 5:wt(x);break;case 4:Zl();break;case 13:qt(nt);break;case 19:qt(nt);break;case 10:Wl(x.type._context);break;case 22:case 23:ly()}y=y.return}if(Bn=s,Hn=s=iu(s.current,null),Cr=Yi=c,cr=0,Sd=null,mf=Gh=rl=0,ei=rs=null,Dr!==null){for(c=0;c<Dr.length;c++)if(y=Dr[c],x=y.interleaved,x!==null){y.interleaved=null;var M=x.next,L=y.pending;if(L!==null){var z=L.next;L.next=M,x.next=z}y.pending=x}Dr=null}return s}function PS(s,c){do{var y=Hn;try{if(Im(),Sh.current=Ih,rt){for(var x=xn.memoizedState;x!==null;){var M=x.queue;M!==null&&(M.pending=null),x=x.next}rt=!1}if(Wu=0,At=he=xn=null,_o=!1,ji=0,ry.current=null,y===null||y.return===null){cr=1,Sd=c,Hn=null;break}e:{var L=s,z=y.return,$=y,q=c;if(c=Cr,$.flags|=32768,q!==null&&typeof q=="object"&&typeof q.then=="function"){var se=q,_e=$,we=_e.tag;if(!(_e.mode&1)&&(we===0||we===11||we===15)){var ye=_e.alternate;ye?(_e.updateQueue=ye.updateQueue,_e.memoizedState=ye.memoizedState,_e.lanes=ye.lanes):(_e.updateQueue=null,_e.memoizedState=null)}var Oe=jm(z);if(Oe!==null){Oe.flags&=-257,Ym(Oe,z,$,L,c),Oe.mode&1&&xS(L,se,c),c=Oe,q=se;var Ue=c.updateQueue;if(Ue===null){var je=new Set;je.add(q),c.updateQueue=je}else Ue.add(q);break e}else{if(!(c&1)){xS(L,se,c),uy();break e}q=Error(n(426))}}else if(wn&&$.mode&1){var Xn=jm(z);if(Xn!==null){!(Xn.flags&65536)&&(Xn.flags|=256),Ym(Xn,z,$,L,c),Nm(sf(q,$));break e}}L=q=sf(q,$),cr!==4&&(cr=2),rs===null?rs=[L]:rs.push(L),L=z;do{switch(L.tag){case 3:L.flags|=65536,c&=-c,L.lanes|=c;var te=wS(L,q,c);Bm(L,te);break e;case 1:$=q;var Z=L.type,oe=L.stateNode;if(!(L.flags&128)&&(typeof Z.getDerivedStateFromError=="function"||oe!==null&&typeof oe.componentDidCatch=="function"&&(wo===null||!wo.has(oe)))){L.flags|=65536,c&=-c,L.lanes|=c;var Te=dd(L,$,c);Bm(L,Te);break e}}L=L.return}while(L!==null)}sy(y)}catch(Ye){c=Ye,Hn===y&&y!==null&&(Hn=y=y.return);continue}break}while(1)}function Wh(){var s=_d.current;return _d.current=Ih,s===null?Ih:s}function uy(){(cr===0||cr===3||cr===2)&&(cr=4),Bn===null||!(rl&268435455)&&!(Gh&268435455)||wa(Bn,Cr)}function Xh(s,c){var y=Mt;Mt|=2;var x=Wh();(Bn!==s||Cr!==c)&&(il=null,ls(s,c));do try{tD();break}catch(M){PS(s,M)}while(1);if(Im(),Mt=y,_d.current=x,Hn!==null)throw Error(n(261));return Bn=null,Cr=0,cr}function tD(){for(;Hn!==null;)IS(Hn)}function nD(){for(;Hn!==null&&!Pl();)IS(Hn)}function IS(s){var c=FS(s.alternate,s,Yi);s.memoizedProps=s.pendingProps,c===null?sy(s):Hn=c,ry.current=null}function sy(s){var c=s;do{var y=c.alternate;if(s=c.return,c.flags&32768){if(y=Jm(y,c),y!==null){y.flags&=32767,Hn=y;return}if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{cr=6,Hn=null;return}}else if(y=eD(y,c,Yi),y!==null){Hn=y;return}if(c=c.sibling,c!==null){Hn=c;return}Hn=c=s}while(c!==null);cr===0&&(cr=5)}function us(s,c,y){var x=tn,M=Yr.transition;try{Yr.transition=null,tn=1,rD(s,c,y,x)}finally{Yr.transition=M,tn=x}return null}function rD(s,c,y,x){do wf();while(nu!==null);if(Mt&6)throw Error(n(327));y=s.finishedWork;var M=s.finishedLanes;if(y===null)return null;if(s.finishedWork=null,s.finishedLanes=0,y===s.current)throw Error(n(177));s.callbackNode=null,s.callbackPriority=0;var L=y.lanes|y.childLanes;if(RE(s,L),s===Bn&&(Hn=Bn=null,Cr=0),!(y.subtreeFlags&2064)&&!(y.flags&2064)||tu||(tu=!0,fy(Il,function(){return wf(),null})),L=(y.flags&15990)!==0,y.subtreeFlags&15990||L){L=Yr.transition,Yr.transition=null;var z=tn;tn=1;var $=Mt;Mt|=4,ry.current=null,MS(s,y),AS(y,s),nh(Vu),Iu=!!Tm,Vu=Tm=null,s.current=y,LS(y),Uv(),Mt=$,tn=z,Yr.transition=L}else s.current=y;if(tu&&(tu=!1,nu=s,jh=M),L=s.pendingLanes,L===0&&(wo=null),w1(y.stateNode),qr(s,$t()),c!==null)for(x=s.onRecoverableError,y=0;y<c.length;y++)M=c[y],x(M.value,{componentStack:M.stack,digest:M.digest});if($h)throw $h=!1,s=is,is=null,s;return jh&1&&s.tag!==0&&wf(),L=s.pendingLanes,L&1?s===Yh?_f++:(_f=0,Yh=s):_f=0,yi(),null}function wf(){if(nu!==null){var s=tm(jh),c=Yr.transition,y=tn;try{if(Yr.transition=null,tn=16>s?16:s,nu===null)var x=!1;else{if(s=nu,nu=null,jh=0,Mt&6)throw Error(n(331));var M=Mt;for(Mt|=4,Fe=s.current;Fe!==null;){var L=Fe,z=L.child;if(Fe.flags&16){var $=L.deletions;if($!==null){for(var q=0;q<$.length;q++){var se=$[q];for(Fe=se;Fe!==null;){var _e=Fe;switch(_e.tag){case 0:case 11:case 15:md(8,_e,L)}var we=_e.child;if(we!==null)we.return=_e,Fe=we;else for(;Fe!==null;){_e=Fe;var ye=_e.sibling,Oe=_e.return;if(ty(_e),_e===se){Fe=null;break}if(ye!==null){ye.return=Oe,Fe=ye;break}Fe=Oe}}}var Ue=L.alternate;if(Ue!==null){var je=Ue.child;if(je!==null){Ue.child=null;do{var Xn=je.sibling;je.sibling=null,je=Xn}while(je!==null)}}Fe=L}}if(L.subtreeFlags&2064&&z!==null)z.return=L,Fe=z;else e:for(;Fe!==null;){if(L=Fe,L.flags&2048)switch(L.tag){case 0:case 11:case 15:md(9,L,L.return)}var te=L.sibling;if(te!==null){te.return=L.return,Fe=te;break e}Fe=L.return}}var Z=s.current;for(Fe=Z;Fe!==null;){z=Fe;var oe=z.child;if(z.subtreeFlags&2064&&oe!==null)oe.return=z,Fe=oe;else e:for(z=Z;Fe!==null;){if($=Fe,$.flags&2048)try{switch($.tag){case 0:case 11:case 15:yd(9,$)}}catch(Ye){Gn($,$.return,Ye)}if($===z){Fe=null;break e}var Te=$.sibling;if(Te!==null){Te.return=$.return,Fe=Te;break e}Fe=$.return}}if(Mt=M,yi(),Ha&&typeof Ha.onPostCommitFiberRoot=="function")try{Ha.onPostCommitFiberRoot(Pc,s)}catch{}x=!0}return x}finally{tn=y,Yr.transition=c}}return!1}function zS(s,c,y){c=sf(y,c),c=wS(s,c,1),s=ql(s,c,1),c=Wr(),s!==null&&(Pu(s,1,c),qr(s,c))}function Gn(s,c,y){if(s.tag===3)zS(s,s,y);else for(;c!==null;){if(c.tag===3){zS(c,s,y);break}else if(c.tag===1){var x=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&(wo===null||!wo.has(x))){s=sf(y,s),s=dd(c,s,1),c=ql(c,s,1),s=Wr(),c!==null&&(Pu(c,1,s),qr(c,s));break}}c=c.return}}function iD(s,c,y){var x=s.pingCache;x!==null&&x.delete(c),c=Wr(),s.pingedLanes|=s.suspendedLanes&y,Bn===s&&(Cr&y)===y&&(cr===4||cr===3&&(Cr&130023424)===Cr&&500>$t()-iy?ls(s,0):mf|=y),qr(s,c)}function qh(s,c){c===0&&(s.mode&1?(c=Gs,Gs<<=1,!(Gs&130023424)&&(Gs=4194304)):c=1);var y=Wr();s=Ko(s,c),s!==null&&(Pu(s,c,y),qr(s,y))}function aD(s){var c=s.memoizedState,y=0;c!==null&&(y=c.retryLane),qh(s,y)}function oD(s,c){var y=0;switch(s.tag){case 13:var x=s.stateNode,M=s.memoizedState;M!==null&&(y=M.retryLane);break;case 19:x=s.stateNode;break;default:throw Error(n(314))}x!==null&&x.delete(c),qh(s,y)}var FS;FS=function(s,c,y){if(s!==null)if(s.memoizedProps!==c.pendingProps||Vn.current)er=!0;else{if(!(s.lanes&y)&&!(c.flags&128))return er=!1,tl(s,c,y);er=!!(s.flags&131072)}else er=!1,wn&&c.flags&1048576&&Lm(c,tf,c.index);switch(c.lanes=0,c.tag){case 2:var x=c.type;$r(s,c),s=c.pendingProps;var M=ha(c,lt.current);be(c,y),M=Kl(null,c,x,s,M,y);var L=Qu();return c.flags|=1,typeof M=="object"&&M!==null&&typeof M.render=="function"&&M.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,Ln(x)?(L=!0,uh(c)):L=!1,c.memoizedState=M.state!==null&&M.state!==void 0?M.state:null,Fm(c),M.updater=gh,c.stateNode=M,M._reactInternals=c,mh(c,x,s,y),c=TS(null,c,x,!0,L,y)):(c.tag=0,wn&&L&&sh(c),ur(null,c,M,y),c=c.child),c;case 16:x=c.elementType;e:{switch($r(s,c),s=c.pendingProps,M=x._init,x=M(x._payload),c.type=x,M=c.tag=uD(x),s=$i(x,s),M){case 0:c=ff(null,c,x,s,y);break e;case 1:c=Wm(null,c,x,s,y);break e;case 11:c=eu(null,c,x,s,y);break e;case 14:c=Fh(null,c,x,$i(x.type,s),y);break e}throw Error(n(306,x,""))}return c;case 0:return x=c.type,M=c.pendingProps,M=c.elementType===x?M:$i(x,M),ff(s,c,x,M,y);case 1:return x=c.type,M=c.pendingProps,M=c.elementType===x?M:$i(x,M),Wm(s,c,x,M,y);case 3:e:{if(bS(c),s===null)throw Error(n(387));x=c.pendingProps,L=c.memoizedState,M=L.element,lr(s,c),Ql(c,x,null,y);var z=c.memoizedState;if(x=z.element,L.isDehydrated)if(L={element:x,isDehydrated:!1,cache:z.cache,pendingSuspenseBoundaries:z.pendingSuspenseBoundaries,transitions:z.transitions},c.updateQueue.baseState=L,c.memoizedState=L,c.flags&256){M=sf(Error(n(423)),c),c=Bh(s,c,x,y,M);break e}else if(x!==M){M=sf(Error(n(424)),c),c=Bh(s,c,x,y,M);break e}else for(Ci=Wa(c.stateNode.containerInfo.firstChild),Gi=c,wn=!0,ma=null,y=SS(c,null,x,y),c.child=y;y;)y.flags=y.flags&-3|4096,y=y.sibling;else{if(zn(),x===M){c=Mr(s,c,y);break e}ur(s,c,x,y)}c=c.child}return c;case 5:return Je(c),s===null&&ch(c),x=c.type,M=c.pendingProps,L=s!==null?s.memoizedProps:null,z=M.children,ed(x,M)?z=null:L!==null&&ed(x,L)&&(c.flags|=32),gt(s,c),ur(s,c,z,y),c.child;case 6:return s===null&&ch(c),null;case 13:return qm(s,c,y);case 4:return Vm(c,c.stateNode.containerInfo),x=c.pendingProps,s===null?c.child=rf(c,null,x,y):ur(s,c,x,y),c.child;case 11:return x=c.type,M=c.pendingProps,M=c.elementType===x?M:$i(x,M),eu(s,c,x,M,y);case 7:return ur(s,c,c.pendingProps,y),c.child;case 8:return ur(s,c,c.pendingProps.children,y),c.child;case 12:return ur(s,c,c.pendingProps.children,y),c.child;case 10:e:{if(x=c.type._context,M=c.pendingProps,L=c.memoizedProps,z=M.value,Kt(yo,x._currentValue),x._currentValue=z,L!==null)if(da(L.value,z)){if(L.children===M.children&&!Vn.current){c=Mr(s,c,y);break e}}else for(L=c.child,L!==null&&(L.return=c);L!==null;){var $=L.dependencies;if($!==null){z=L.child;for(var q=$.firstContext;q!==null;){if(q.context===x){if(L.tag===1){q=Jo(-1,y&-y),q.tag=2;var se=L.updateQueue;if(se!==null){se=se.shared;var _e=se.pending;_e===null?q.next=q:(q.next=_e.next,_e.next=q),se.pending=q}}L.lanes|=y,q=L.alternate,q!==null&&(q.lanes|=y),_r(L.return,y,c),$.lanes|=y;break}q=q.next}}else if(L.tag===10)z=L.type===c.type?null:L.child;else if(L.tag===18){if(z=L.return,z===null)throw Error(n(341));z.lanes|=y,$=z.alternate,$!==null&&($.lanes|=y),_r(z,y,c),z=L.sibling}else z=L.child;if(z!==null)z.return=L;else for(z=L;z!==null;){if(z===c){z=null;break}if(L=z.sibling,L!==null){L.return=z.return,z=L;break}z=z.return}L=z}ur(s,c,M.children,y),c=c.child}return c;case 9:return M=c.type,x=c.pendingProps.children,be(c,y),M=Wn(M),x=x(M),c.flags|=1,ur(s,c,x,y),c.child;case 14:return x=c.type,M=$i(x,c.pendingProps),M=$i(x.type,M),Fh(s,c,x,M,y);case 15:return Ti(s,c,c.type,c.pendingProps,y);case 17:return x=c.type,M=c.pendingProps,M=c.elementType===x?M:$i(x,M),$r(s,c),c.tag=1,Ln(x)?(s=!0,uh(c)):s=!1,be(c,y),gS(c,x,M),mh(c,x,M,y),TS(null,c,x,!0,s,y);case 19:return Km(s,c,y);case 22:return es(s,c,y)}throw Error(n(156,c.tag))};function fy(s,c){return An(s,c)}function lD(s,c,y,x){this.tag=s,this.key=y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xa(s,c,y,x){return new lD(s,c,y,x)}function cy(s){return s=s.prototype,!(!s||!s.isReactComponent)}function uD(s){if(typeof s=="function")return cy(s)?1:0;if(s!=null){if(s=s.$$typeof,s===ee)return 11;if(s===ce)return 14}return 2}function iu(s,c){var y=s.alternate;return y===null?(y=xa(s.tag,c,s.key,s.mode),y.elementType=s.elementType,y.type=s.type,y.stateNode=s.stateNode,y.alternate=s,s.alternate=y):(y.pendingProps=c,y.type=s.type,y.flags=0,y.subtreeFlags=0,y.deletions=null),y.flags=s.flags&14680064,y.childLanes=s.childLanes,y.lanes=s.lanes,y.child=s.child,y.memoizedProps=s.memoizedProps,y.memoizedState=s.memoizedState,y.updateQueue=s.updateQueue,c=s.dependencies,y.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},y.sibling=s.sibling,y.index=s.index,y.ref=s.ref,y}function Qh(s,c,y,x,M,L){var z=2;if(x=s,typeof s=="function")cy(s)&&(z=1);else if(typeof s=="string")z=5;else e:switch(s){case U:return ss(y.children,M,L,c);case H:z=8,M|=8;break;case j:return s=xa(12,y,c,M|2),s.elementType=j,s.lanes=L,s;case J:return s=xa(13,y,c,M),s.elementType=J,s.lanes=L,s;case ie:return s=xa(19,y,c,M),s.elementType=ie,s.lanes=L,s;case Pe:return wd(y,M,L,c);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case X:z=10;break e;case G:z=9;break e;case ee:z=11;break e;case ce:z=14;break e;case fe:z=16,x=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return c=xa(z,y,c,M),c.elementType=s,c.type=x,c.lanes=L,c}function ss(s,c,y,x){return s=xa(7,s,x,c),s.lanes=y,s}function wd(s,c,y,x){return s=xa(22,s,x,c),s.elementType=Pe,s.lanes=y,s.stateNode={isHidden:!1},s}function xd(s,c,y){return s=xa(6,s,null,c),s.lanes=y,s}function fs(s,c,y){return c=xa(4,s.children!==null?s.children:[],s.key,c),c.lanes=y,c.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},c}function sD(s,c,y,x,M){this.tag=c,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=em(0),this.expirationTimes=em(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=em(0),this.identifierPrefix=x,this.onRecoverableError=M,this.mutableSourceEagerHydrationData=null}function Zh(s,c,y,x,M,L,z,$,q){return s=new sD(s,c,y,$,q),c===1?(c=1,L===!0&&(c|=8)):c=0,L=xa(3,null,null,c),s.current=L,L.stateNode=s,L.memoizedState={element:x,isDehydrated:y,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fm(L),s}function BS(s,c,y){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:F,key:x==null?null:""+x,children:s,containerInfo:c,implementation:y}}function dy(s){if(!s)return mo;s=s._reactInternals;e:{if(mt(s)!==s||s.tag!==1)throw Error(n(170));var c=s;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Ln(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(n(171))}if(s.tag===1){var y=s.type;if(Ln(y))return rd(s,y,c)}return c}function US(s,c,y,x,M,L,z,$,q){return s=Zh(y,x,!0,s,M,L,z,$,q),s.context=dy(null),y=s.current,x=Wr(),M=tr(y),L=Jo(x,M),L.callback=c??null,ql(y,L,M),s.current.lanes=M,Pu(s,M,x),qr(s,x),s}function Td(s,c,y,x){var M=c.current,L=Wr(),z=tr(M);return y=dy(y),c.context===null?c.context=y:c.pendingContext=y,c=Jo(L,z),c.payload={element:s},x=x===void 0?null:x,x!==null&&(c.callback=x),s=ql(M,c,z),s!==null&&(Xr(s,M,z,L),ph(s,M,z)),z}function Kh(s){if(s=s.current,!s.child)return null;switch(s.child.tag){case 5:return s.child.stateNode;default:return s.child.stateNode}}function VS(s,c){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var y=s.retryLane;s.retryLane=y!==0&&y<c?y:c}}function vy(s,c){VS(s,c),(s=s.alternate)&&VS(s,c)}function HS(){return null}var hy=typeof reportError=="function"?reportError:function(s){console.error(s)};function Jh(s){this._internalRoot=s}al.prototype.render=Jh.prototype.render=function(s){var c=this._internalRoot;if(c===null)throw Error(n(409));Td(s,c,null,null)},al.prototype.unmount=Jh.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var c=s.containerInfo;ru(function(){Td(null,s,null,null)}),c[Qo]=null}};function al(s){this._internalRoot=s}al.prototype.unstable_scheduleHydration=function(s){if(s){var c=E1();s={blockedOn:null,target:s,priority:c};for(var y=0;y<ln.length&&c!==0&&c<ln[y].priority;y++);ln.splice(y,0,s),y===0&&D1(s)}};function py(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function ep(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function GS(){}function fD(s,c,y,x,M){if(M){if(typeof x=="function"){var L=x;x=function(){var se=Kh(z);L.call(se)}}var z=US(c,x,s,0,null,!1,!1,"",GS);return s._reactRootContainer=z,s[Qo]=z.current,Js(s.nodeType===8?s.parentNode:s),ru(),z}for(;M=s.lastChild;)s.removeChild(M);if(typeof x=="function"){var $=x;x=function(){var se=Kh(q);$.call(se)}}var q=Zh(s,0,!1,null,null,!1,!1,"",GS);return s._reactRootContainer=q,s[Qo]=q.current,Js(s.nodeType===8?s.parentNode:s),ru(function(){Td(c,q,y,x)}),q}function tp(s,c,y,x,M){var L=y._reactRootContainer;if(L){var z=L;if(typeof M=="function"){var $=M;M=function(){var q=Kh(z);$.call(q)}}Td(c,z,s,M)}else z=fD(y,c,s,M,x);return Kh(z)}b1=function(s){switch(s.tag){case 3:var c=s.stateNode;if(c.current.memoizedState.isDehydrated){var y=Nu(c.pendingLanes);y!==0&&(Ic(c,y|1),qr(c,$t()),!(Mt&6)&&(yf=$t()+500,yi()))}break;case 13:ru(function(){var x=Ko(s,1);if(x!==null){var M=Wr();Xr(x,s,1,M)}}),vy(s,1)}},$v=function(s){if(s.tag===13){var c=Ko(s,134217728);if(c!==null){var y=Wr();Xr(c,s,134217728,y)}vy(s,134217728)}},hn=function(s){if(s.tag===13){var c=tr(s),y=Ko(s,c);if(y!==null){var x=Wr();Xr(y,s,c,x)}vy(s,c)}},E1=function(){return tn},nm=function(s,c){var y=tn;try{return tn=s,c()}finally{tn=y}},Fi=function(s,c,y){switch(c){case"input":if(Vr(s,y),c=y.name,y.type==="radio"&&c!=null){for(y=s;y.parentNode;)y=y.parentNode;for(y=y.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<y.length;c++){var x=y[c];if(x!==s&&x.form===s.form){var M=Qe(x);if(!M)throw Error(n(90));Se(x),Vr(x,M)}}}break;case"textarea":ho(s,y);break;case"select":c=y.value,c!=null&&vo(s,!!y.multiple,c,!1)}},Nc=Cf,Bv=ru;var cD={usingClientEntryPoint:!1,Events:[nd,ef,Qe,Lu,Us,Cf]},xf={findFiberByHostInstance:va,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},dD={bundleType:xf.bundleType,version:xf.version,rendererPackageName:xf.rendererPackageName,rendererConfig:xf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:P.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=pr(s),s===null?null:s.stateNode},findFiberByHostInstance:xf.findFiberByHostInstance||HS,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var np=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!np.isDisabled&&np.supportsFiber)try{Pc=np.inject(dD),Ha=np}catch{}}return Ki.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cD,Ki.createPortal=function(s,c){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!py(c))throw Error(n(200));return BS(s,c,null,y)},Ki.createRoot=function(s,c){if(!py(s))throw Error(n(299));var y=!1,x="",M=hy;return c!=null&&(c.unstable_strictMode===!0&&(y=!0),c.identifierPrefix!==void 0&&(x=c.identifierPrefix),c.onRecoverableError!==void 0&&(M=c.onRecoverableError)),c=Zh(s,1,!1,null,null,y,!1,x,M),s[Qo]=c.current,Js(s.nodeType===8?s.parentNode:s),new Jh(c)},Ki.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var c=s._reactInternals;if(c===void 0)throw typeof s.render=="function"?Error(n(188)):(s=Object.keys(s).join(","),Error(n(268,s)));return s=pr(c),s=s===null?null:s.stateNode,s},Ki.flushSync=function(s){return ru(s)},Ki.hydrate=function(s,c,y){if(!ep(c))throw Error(n(200));return tp(null,s,c,!0,y)},Ki.hydrateRoot=function(s,c,y){if(!py(s))throw Error(n(405));var x=y!=null&&y.hydratedSources||null,M=!1,L="",z=hy;if(y!=null&&(y.unstable_strictMode===!0&&(M=!0),y.identifierPrefix!==void 0&&(L=y.identifierPrefix),y.onRecoverableError!==void 0&&(z=y.onRecoverableError)),c=US(c,null,s,1,y??null,M,!1,L,z),s[Qo]=c.current,Js(s),x)for(s=0;s<x.length;s++)y=x[s],M=y._getVersion,M=M(y._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[y,M]:c.mutableSourceEagerHydrationData.push(y,M);return new al(c)},Ki.render=function(s,c,y){if(!ep(c))throw Error(n(200));return tp(null,s,c,!1,y)},Ki.unmountComponentAtNode=function(s){if(!ep(s))throw Error(n(40));return s._reactRootContainer?(ru(function(){tp(null,null,s,!1,function(){s._reactRootContainer=null,s[Qo]=null})}),!0):!1},Ki.unstable_batchedUpdates=Cf,Ki.unstable_renderSubtreeIntoContainer=function(s,c,y,x){if(!ep(y))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return tp(s,c,y,!1,x)},Ki.version="18.2.0-next-9e3b772b8-20220608",Ki}var Ji={};var WA;function IV(){return WA||(WA=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=st,e=jA(),n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=!1;function a(i){r=i}function l(i){if(!r){for(var o=arguments.length,v=new Array(o>1?o-1:0),g=1;g<o;g++)v[g-1]=arguments[g];f("warn",i,v)}}function u(i){if(!r){for(var o=arguments.length,v=new Array(o>1?o-1:0),g=1;g<o;g++)v[g-1]=arguments[g];f("error",i,v)}}function f(i,o,v){{var g=n.ReactDebugCurrentFrame,C=g.getStackAddendum();C!==""&&(o+="%s",v=v.concat([C]));var T=v.map(function(R){return String(R)});T.unshift("Warning: "+o),Function.prototype.apply.call(console[i],console,T)}}var d=0,h=1,p=2,m=3,S=4,_=5,w=6,E=7,b=8,D=9,A=10,O=11,P=12,I=13,F=14,U=15,H=16,j=17,X=18,G=19,ee=21,J=22,ie=23,ce=24,fe=25,Pe=!0,ae=!1,ge=!1,pe=!1,Le=!1,Ge=!0,St=!1,It=!1,Dn=!0,Xt=!0,Mn=!0,on=new Set,zt={},Ft={};function $e(i,o){Se(i,o),Se(i+"Capture",o)}function Se(i,o){zt[i]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",i),zt[i]=o;{var v=i.toLowerCase();Ft[v]=i,i==="onDoubleClick"&&(Ft.ondblclick=i)}for(var g=0;g<o.length;g++)on.add(o[g])}var Zt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Et=Object.prototype.hasOwnProperty;function Pn(i){{var o=typeof Symbol=="function"&&Symbol.toStringTag,v=o&&i[Symbol.toStringTag]||i.constructor.name||"Object";return v}}function ar(i){try{return Vr(i),!1}catch{return!0}}function Vr(i){return""+i}function ua(i,o){if(ar(i))return u("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Pn(i)),Vr(i)}function za(i){if(ar(i))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Pn(i)),Vr(i)}function Ho(i,o){if(ar(i))return u("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Pn(i)),Vr(i)}function vo(i,o){if(ar(i))return u("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,Pn(i)),Vr(i)}function Fa(i){if(ar(i))return u("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Pn(i)),Vr(i)}function Pi(i){if(ar(i))return u("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Pn(i)),Vr(i)}var ho=0,Ii=1,Ba=2,Zn=3,zi=4,Ol=5,Ua=6,De=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",qe=De+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ct=new RegExp("^["+De+"]["+qe+"]*$"),en={},In={};function hr(i){return Et.call(In,i)?!0:Et.call(en,i)?!1:Ct.test(i)?(In[i]=!0,!0):(en[i]=!0,u("Invalid attribute name: `%s`",i),!1)}function Yn(i,o,v){return o!==null?o.type===ho:v?!1:i.length>2&&(i[0]==="o"||i[0]==="O")&&(i[1]==="n"||i[1]==="N")}function pi(i,o,v,g){if(v!==null&&v.type===ho)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(g)return!1;if(v!==null)return!v.acceptsBooleans;var C=i.toLowerCase().slice(0,5);return C!=="data-"&&C!=="aria-"}default:return!1}}function _n(i,o,v,g){if(o===null||typeof o>"u"||pi(i,o,v,g))return!0;if(g)return!1;if(v!==null)switch(v.type){case Zn:return!o;case zi:return o===!1;case Ol:return isNaN(o);case Ua:return isNaN(o)||o<1}return!1}function Fi(i){return Sn.hasOwnProperty(i)?Sn[i]:null}function vn(i,o,v,g,C,T,R){this.acceptsBooleans=o===Ba||o===Zn||o===zi,this.attributeName=g,this.attributeNamespace=C,this.mustUseProperty=v,this.propertyName=i,this.type=o,this.sanitizeURL=T,this.removeEmptyString=R}var Sn={},Bs=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Bs.forEach(function(i){Sn[i]=new vn(i,ho,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var o=i[0],v=i[1];Sn[o]=new vn(o,Ii,!1,v,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){Sn[i]=new vn(i,Ba,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){Sn[i]=new vn(i,Ba,!1,i,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(i){Sn[i]=new vn(i,Zn,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){Sn[i]=new vn(i,Zn,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){Sn[i]=new vn(i,zi,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){Sn[i]=new vn(i,Ua,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){Sn[i]=new vn(i,Ol,!1,i.toLowerCase(),null,!1,!1)});var Lu=/[\-\:]([a-z])/g,Us=function(i){return i[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(i){var o=i.replace(Lu,Us);Sn[o]=new vn(o,Ii,!1,i,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(i){var o=i.replace(Lu,Us);Sn[o]=new vn(o,Ii,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var o=i.replace(Lu,Us);Sn[o]=new vn(o,Ii,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){Sn[i]=new vn(i,Ii,!1,i.toLowerCase(),null,!1,!1)});var Nc="xlinkHref";Sn[Nc]=new vn("xlinkHref",Ii,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){Sn[i]=new vn(i,Ii,!1,i.toLowerCase(),null,!0,!0)});var Bv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Ou=!1;function Vs(i){!Ou&&Bv.test(i)&&(Ou=!0,u("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(i)))}function ku(i,o,v,g){if(g.mustUseProperty){var C=g.propertyName;return i[C]}else{ua(v,o),g.sanitizeURL&&Vs(""+v);var T=g.attributeName,R=null;if(g.type===zi){if(i.hasAttribute(T)){var k=i.getAttribute(T);return k===""?!0:_n(o,v,g,!1)?k:k===""+v?v:k}}else if(i.hasAttribute(T)){if(_n(o,v,g,!1))return i.getAttribute(T);if(g.type===Zn)return v;R=i.getAttribute(T)}return _n(o,v,g,!1)?R===null?v:R:R===""+v?v:R}}function Hs(i,o,v,g){{if(!hr(o))return;if(!i.hasAttribute(o))return v===void 0?void 0:null;var C=i.getAttribute(o);return ua(v,o),C===""+v?v:C}}function po(i,o,v,g){var C=Fi(o);if(!Yn(o,C,g)){if(_n(o,v,C,g)&&(v=null),g||C===null){if(hr(o)){var T=o;v===null?i.removeAttribute(T):(ua(v,o),i.setAttribute(T,""+v))}return}var R=C.mustUseProperty;if(R){var k=C.propertyName;if(v===null){var N=C.type;i[k]=N===Zn?!1:""}else i[k]=v;return}var B=C.attributeName,V=C.attributeNamespace;if(v===null)i.removeAttribute(B);else{var K=C.type,Q;K===Zn||K===zi&&v===!0?Q="":(ua(v,B),Q=""+v,C.sanitizeURL&&Vs(Q.toString())),V?i.setAttributeNS(V,B,Q):i.setAttribute(B,Q)}}}var kl=Symbol.for("react.element"),Bi=Symbol.for("react.portal"),Va=Symbol.for("react.fragment"),Nl=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),Ce=Symbol.for("react.provider"),Me=Symbol.for("react.context"),Ke=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),Bt=Symbol.for("react.suspense_list"),yt=Symbol.for("react.memo"),tt=Symbol.for("react.lazy"),pr=Symbol.for("react.scope"),Rn=Symbol.for("react.debug_trace_mode"),An=Symbol.for("react.offscreen"),Jr=Symbol.for("react.legacy_hidden"),Pl=Symbol.for("react.cache"),Uv=Symbol.for("react.tracing_marker"),$t=Symbol.iterator,DE="@@iterator";function Go(i){if(i===null||typeof i!="object")return null;var o=$t&&i[$t]||i[DE];return typeof o=="function"?o:null}var Dt=Object.assign,Il=0,C1,Zg,Pc,Ha,w1,sa,x1;function T1(){}T1.__reactDisabledLog=!0;function ME(){{if(Il===0){C1=console.log,Zg=console.info,Pc=console.warn,Ha=console.error,w1=console.group,sa=console.groupCollapsed,x1=console.groupEnd;var i={configurable:!0,enumerable:!0,value:T1,writable:!0};Object.defineProperties(console,{info:i,log:i,warn:i,error:i,group:i,groupCollapsed:i,groupEnd:i})}Il++}}function Vv(){{if(Il--,Il===0){var i={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Dt({},i,{value:C1}),info:Dt({},i,{value:Zg}),warn:Dt({},i,{value:Pc}),error:Dt({},i,{value:Ha}),group:Dt({},i,{value:w1}),groupCollapsed:Dt({},i,{value:sa}),groupEnd:Dt({},i,{value:x1})})}Il<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Gs=n.ReactCurrentDispatcher,Nu;function Ga(i,o,v){{if(Nu===void 0)try{throw Error()}catch(C){var g=C.stack.trim().match(/\n( *(at )?)/);Nu=g&&g[1]||""}return`
74
+ `+Nu+i}}var Kg=!1,Hv;{var Jg=typeof WeakMap=="function"?WeakMap:Map;Hv=new Jg}function Gv(i,o){if(!i||Kg)return"";{var v=Hv.get(i);if(v!==void 0)return v}var g;Kg=!0;var C=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var T;T=Gs.current,Gs.current=null,ME();try{if(o){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(ue){g=ue}Reflect.construct(i,[],R)}else{try{R.call()}catch(ue){g=ue}i.call(R.prototype)}}else{try{throw Error()}catch(ue){g=ue}i()}}catch(ue){if(ue&&g&&typeof ue.stack=="string"){for(var k=ue.stack.split(`
75
+ `),N=g.stack.split(`
76
+ `),B=k.length-1,V=N.length-1;B>=1&&V>=0&&k[B]!==N[V];)V--;for(;B>=1&&V>=0;B--,V--)if(k[B]!==N[V]){if(B!==1||V!==1)do if(B--,V--,V<0||k[B]!==N[V]){var K=`
77
+ `+k[B].replace(" at new "," at ");return i.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",i.displayName)),typeof i=="function"&&Hv.set(i,K),K}while(B>=1&&V>=0);break}}}finally{Kg=!1,Gs.current=T,Vv(),Error.prepareStackTrace=C}var Q=i?i.displayName||i.name:"",le=Q?Ga(Q):"";return typeof i=="function"&&Hv.set(i,le),le}function em(i,o,v){return Gv(i,!0)}function Pu(i,o,v){return Gv(i,!1)}function RE(i){var o=i.prototype;return!!(o&&o.isReactComponent)}function Ic(i,o,v){if(i==null)return"";if(typeof i=="function")return Gv(i,RE(i));if(typeof i=="string")return Ga(i);switch(i){case mt:return Ga("Suspense");case Bt:return Ga("SuspenseList")}if(typeof i=="object")switch(i.$$typeof){case Ke:return Pu(i.render);case yt:return Ic(i.type,o,v);case tt:{var g=i,C=g._payload,T=g._init;try{return Ic(T(C),o,v)}catch{}}}return""}function tn(i){switch(i._debugOwner&&i._debugOwner.type,i._debugSource,i.tag){case _:return Ga(i.type);case H:return Ga("Lazy");case I:return Ga("Suspense");case G:return Ga("SuspenseList");case d:case p:case U:return Pu(i.type);case O:return Pu(i.type.render);case h:return em(i.type);default:return""}}function tm(i){try{var o="",v=i;do o+=tn(v),v=v.return;while(v);return o}catch(g){return`
78
+ Error generating stack: `+g.message+`
79
+ `+g.stack}}function b1(i,o,v){var g=i.displayName;if(g)return g;var C=o.displayName||o.name||"";return C!==""?v+"("+C+")":v}function $v(i){return i.displayName||"Context"}function hn(i){if(i==null)return null;if(typeof i.tag=="number"&&u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case Va:return"Fragment";case Bi:return"Portal";case Y:return"Profiler";case Nl:return"StrictMode";case mt:return"Suspense";case Bt:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case Me:var o=i;return $v(o)+".Consumer";case Ce:var v=i;return $v(v._context)+".Provider";case Ke:return b1(i,i.render,"ForwardRef");case yt:var g=i.displayName||null;return g!==null?g:hn(i.type)||"Memo";case tt:{var C=i,T=C._payload,R=C._init;try{return hn(R(T))}catch{return null}}}return null}function E1(i,o,v){var g=o.displayName||o.name||"";return i.displayName||(g!==""?v+"("+g+")":v)}function nm(i){return i.displayName||"Context"}function vt(i){var o=i.tag,v=i.type;switch(o){case ce:return"Cache";case D:var g=v;return nm(g)+".Consumer";case A:var C=v;return nm(C._context)+".Provider";case X:return"DehydratedFragment";case O:return E1(v,v.render,"ForwardRef");case E:return"Fragment";case _:return v;case S:return"Portal";case m:return"Root";case w:return"Text";case H:return hn(v);case b:return v===Nl?"StrictMode":"Mode";case J:return"Offscreen";case P:return"Profiler";case ee:return"Scope";case I:return"Suspense";case G:return"SuspenseList";case fe:return"TracingMarker";case h:case d:case j:case p:case F:case U:if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;break}return null}var zc=n.ReactDebugCurrentFrame,Kn=null,fa=!1;function ca(){{if(Kn===null)return null;var i=Kn._debugOwner;if(i!==null&&typeof i<"u")return vt(i)}return null}function Fc(){return Kn===null?"":tm(Kn)}function or(){zc.getCurrentStack=null,Kn=null,fa=!1}function ln(i){zc.getCurrentStack=i===null?null:Fc,Kn=i,fa=!1}function AE(){return Kn}function $a(i){fa=i}function Hr(i){return""+i}function zl(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return Pi(i),i;default:return""}}var D1={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function $s(i,o){D1[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||u("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||u("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function rm(i){var o=i.type,v=i.nodeName;return v&&v.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function M1(i){return i._valueTracker}function Bc(i){i._valueTracker=null}function Uc(i){var o="";return i&&(rm(i)?o=i.checked?"true":"false":o=i.value),o}function js(i){var o=rm(i)?"checked":"value",v=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);Pi(i[o]);var g=""+i[o];if(!(i.hasOwnProperty(o)||typeof v>"u"||typeof v.get!="function"||typeof v.set!="function")){var C=v.get,T=v.set;Object.defineProperty(i,o,{configurable:!0,get:function(){return C.call(this)},set:function(k){Pi(k),g=""+k,T.call(this,k)}}),Object.defineProperty(i,o,{enumerable:v.enumerable});var R={getValue:function(){return g},setValue:function(k){Pi(k),g=""+k},stopTracking:function(){Bc(i),delete i[o]}};return R}}function Iu(i){M1(i)||(i._valueTracker=js(i))}function R1(i){if(!i)return!1;var o=M1(i);if(!o)return!0;var v=o.getValue(),g=Uc(i);return g!==v?(o.setValue(g),!0):!1}function jv(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var Yv=!1,Vc=!1,Wv=!1,im=!1;function $o(i){var o=i.type==="checkbox"||i.type==="radio";return o?i.checked!=null:i.value!=null}function Hc(i,o){var v=i,g=o.checked,C=Dt({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:g??v._wrapperState.initialChecked});return C}function Gc(i,o){$s("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!Vc&&(u("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ca()||"A component",o.type),Vc=!0),o.value!==void 0&&o.defaultValue!==void 0&&!Yv&&(u("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",ca()||"A component",o.type),Yv=!0);var v=i,g=o.defaultValue==null?"":o.defaultValue;v._wrapperState={initialChecked:o.checked!=null?o.checked:o.defaultChecked,initialValue:zl(o.value!=null?o.value:g),controlled:$o(o)}}function am(i,o){var v=i,g=o.checked;g!=null&&po(v,"checked",g,!1)}function Ys(i,o){var v=i;{var g=$o(o);!v._wrapperState.controlled&&g&&!im&&(u("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),im=!0),v._wrapperState.controlled&&!g&&!Wv&&(u("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Wv=!0)}am(i,o);var C=zl(o.value),T=o.type;if(C!=null)T==="number"?(C===0&&v.value===""||v.value!=C)&&(v.value=Hr(C)):v.value!==Hr(C)&&(v.value=Hr(C));else if(T==="submit"||T==="reset"){v.removeAttribute("value");return}o.hasOwnProperty("value")?Fl(v,o.type,C):o.hasOwnProperty("defaultValue")&&Fl(v,o.type,zl(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(v.defaultChecked=!!o.defaultChecked)}function $c(i,o,v){var g=i;if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var C=o.type,T=C==="submit"||C==="reset";if(T&&(o.value===void 0||o.value===null))return;var R=Hr(g._wrapperState.initialValue);v||R!==g.value&&(g.value=R),g.defaultValue=R}var k=g.name;k!==""&&(g.name=""),g.defaultChecked=!g.defaultChecked,g.defaultChecked=!!g._wrapperState.initialChecked,k!==""&&(g.name=k)}function A1(i,o){var v=i;Ys(v,o),Ui(v,o)}function Ui(i,o){var v=o.name;if(o.type==="radio"&&v!=null){for(var g=i;g.parentNode;)g=g.parentNode;ua(v,"name");for(var C=g.querySelectorAll("input[name="+JSON.stringify(""+v)+'][type="radio"]'),T=0;T<C.length;T++){var R=C[T];if(!(R===i||R.form!==i.form)){var k=oC(R);if(!k)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");R1(R),Ys(R,k)}}}}function Fl(i,o,v){(o!=="number"||jv(i.ownerDocument)!==i)&&(v==null?i.defaultValue=Hr(i._wrapperState.initialValue):i.defaultValue!==Hr(v)&&(i.defaultValue=Hr(v)))}var Xv=!1,Ws=!1,L1=!1;function qv(i,o){o.value==null&&(typeof o.children=="object"&&o.children!==null?t.Children.forEach(o.children,function(v){v!=null&&(typeof v=="string"||typeof v=="number"||Ws||(Ws=!0,u("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):o.dangerouslySetInnerHTML!=null&&(L1||(L1=!0,u("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),o.selected!=null&&!Xv&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Xv=!0)}function om(i,o){o.value!=null&&i.setAttribute("value",Hr(zl(o.value)))}var jc=Array.isArray;function gr(i){return jc(i)}var Qv;Qv=!1;function O1(){var i=ca();return i?`
80
+
81
+ Check the render method of \``+i+"`.":""}var k1=["value","defaultValue"];function LE(i){{$s("select",i);for(var o=0;o<k1.length;o++){var v=k1[o];if(i[v]!=null){var g=gr(i[v]);i.multiple&&!g?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",v,O1()):!i.multiple&&g&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",v,O1())}}}}function Bl(i,o,v,g){var C=i.options;if(o){for(var T=v,R={},k=0;k<T.length;k++)R["$"+T[k]]=!0;for(var N=0;N<C.length;N++){var B=R.hasOwnProperty("$"+C[N].value);C[N].selected!==B&&(C[N].selected=B),B&&g&&(C[N].defaultSelected=!0)}}else{for(var V=Hr(zl(v)),K=null,Q=0;Q<C.length;Q++){if(C[Q].value===V){C[Q].selected=!0,g&&(C[Q].defaultSelected=!0);return}K===null&&!C[Q].disabled&&(K=C[Q])}K!==null&&(K.selected=!0)}}function lm(i,o){return Dt({},o,{value:void 0})}function N1(i,o){var v=i;LE(o),v._wrapperState={wasMultiple:!!o.multiple},o.value!==void 0&&o.defaultValue!==void 0&&!Qv&&(u("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Qv=!0)}function OE(i,o){var v=i;v.multiple=!!o.multiple;var g=o.value;g!=null?Bl(v,!!o.multiple,g,!1):o.defaultValue!=null&&Bl(v,!!o.multiple,o.defaultValue,!0)}function kE(i,o){var v=i,g=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!o.multiple;var C=o.value;C!=null?Bl(v,!!o.multiple,C,!1):g!==!!o.multiple&&(o.defaultValue!=null?Bl(v,!!o.multiple,o.defaultValue,!0):Bl(v,!!o.multiple,o.multiple?[]:"",!1))}function NE(i,o){var v=i,g=o.value;g!=null&&Bl(v,!!o.multiple,g,!1)}var um=!1;function sm(i,o){var v=i;if(o.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var g=Dt({},o,{value:void 0,defaultValue:void 0,children:Hr(v._wrapperState.initialValue)});return g}function P1(i,o){var v=i;$s("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!um&&(u("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",ca()||"A component"),um=!0);var g=o.value;if(g==null){var C=o.children,T=o.defaultValue;if(C!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(T!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(gr(C)){if(C.length>1)throw new Error("<textarea> can only have at most one child.");C=C[0]}T=C}}T==null&&(T=""),g=T}v._wrapperState={initialValue:zl(g)}}function I1(i,o){var v=i,g=zl(o.value),C=zl(o.defaultValue);if(g!=null){var T=Hr(g);T!==v.value&&(v.value=T),o.defaultValue==null&&v.defaultValue!==T&&(v.defaultValue=T)}C!=null&&(v.defaultValue=Hr(C))}function z1(i,o){var v=i,g=v.textContent;g===v._wrapperState.initialValue&&g!==""&&g!==null&&(v.value=g)}function fm(i,o){I1(i,o)}var jo="http://www.w3.org/1999/xhtml",PE="http://www.w3.org/1998/Math/MathML",cm="http://www.w3.org/2000/svg";function Zv(i){switch(i){case"svg":return cm;case"math":return PE;default:return jo}}function dm(i,o){return i==null||i===jo?Zv(o):i===cm&&o==="foreignObject"?jo:i}var IE=function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,v,g,C){MSApp.execUnsafeLocalFunction(function(){return i(o,v,g,C)})}:i},Kv,F1=IE(function(i,o){if(i.namespaceURI===cm&&!("innerHTML"in i)){Kv=Kv||document.createElement("div"),Kv.innerHTML="<svg>"+o.valueOf().toString()+"</svg>";for(var v=Kv.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;v.firstChild;)i.appendChild(v.firstChild);return}i.innerHTML=o}),gi=1,Yo=3,Jn=8,ja=9,zu=11,Jv=function(i,o){if(o){var v=i.firstChild;if(v&&v===i.lastChild&&v.nodeType===Yo){v.nodeValue=o;return}}i.textContent=o},B1={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Xs={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function U1(i,o){return i+o.charAt(0).toUpperCase()+o.substring(1)}var V1=["Webkit","ms","Moz","O"];Object.keys(Xs).forEach(function(i){V1.forEach(function(o){Xs[U1(o,i)]=Xs[i]})});function eh(i,o,v){var g=o==null||typeof o=="boolean"||o==="";return g?"":!v&&typeof o=="number"&&o!==0&&!(Xs.hasOwnProperty(i)&&Xs[i])?o+"px":(vo(o,i),(""+o).trim())}var qs=/([A-Z])/g,zE=/^ms-/;function FE(i){return i.replace(qs,"-$1").toLowerCase().replace(zE,"-ms-")}var H1=function(){};{var G1=/^(?:webkit|moz|o)[A-Z]/,$1=/^-ms-/,Yc=/-(.)/g,Qs=/;\s*$/,Zs={},Ks={},j1=!1,vm=!1,hm=function(i){return i.replace(Yc,function(o,v){return v.toUpperCase()})},pm=function(i){Zs.hasOwnProperty(i)&&Zs[i]||(Zs[i]=!0,u("Unsupported style property %s. Did you mean %s?",i,hm(i.replace($1,"ms-"))))},Y1=function(i){Zs.hasOwnProperty(i)&&Zs[i]||(Zs[i]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",i,i.charAt(0).toUpperCase()+i.slice(1)))},W1=function(i,o){Ks.hasOwnProperty(o)&&Ks[o]||(Ks[o]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,i,o.replace(Qs,"")))},X1=function(i,o){j1||(j1=!0,u("`NaN` is an invalid value for the `%s` css style property.",i))},BE=function(i,o){vm||(vm=!0,u("`Infinity` is an invalid value for the `%s` css style property.",i))};H1=function(i,o){i.indexOf("-")>-1?pm(i):G1.test(i)?Y1(i):Qs.test(o)&&W1(i,o),typeof o=="number"&&(isNaN(o)?X1(i,o):isFinite(o)||BE(i,o))}}var UE=H1;function VE(i){{var o="",v="";for(var g in i)if(i.hasOwnProperty(g)){var C=i[g];if(C!=null){var T=g.indexOf("--")===0;o+=v+(T?g:FE(g))+":",o+=eh(g,C,T),v=";"}}return o||null}}function q1(i,o){var v=i.style;for(var g in o)if(o.hasOwnProperty(g)){var C=g.indexOf("--")===0;C||UE(g,o[g]);var T=eh(g,o[g],C);g==="float"&&(g="cssFloat"),C?v.setProperty(g,T):v[g]=T}}function HE(i){return i==null||typeof i=="boolean"||i===""}function da(i){var o={};for(var v in i)for(var g=B1[v]||[v],C=0;C<g.length;C++)o[g[C]]=v;return o}function Wc(i,o){{if(!o)return;var v=da(i),g=da(o),C={};for(var T in v){var R=v[T],k=g[T];if(k&&R!==k){var N=R+","+k;if(C[N])continue;C[N]=!0,u("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",HE(i[R])?"Removing":"Updating",R,k)}}}}var Q1={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Z1=Dt({menuitem:!0},Q1),K1="__html";function th(i,o){if(o){if(Z1[i]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw new Error(i+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o.dangerouslySetInnerHTML!="object"||!(K1 in o.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!o.suppressContentEditableWarning&&o.contentEditable&&o.children!=null&&u("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),o.style!=null&&typeof o.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Wo(i,o){if(i.indexOf("-")===-1)return typeof o.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var nh={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},J1={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Ya={},gm=new RegExp("^(aria)-["+qe+"]*$"),Xc=new RegExp("^(aria)[A-Z]["+qe+"]*$");function mm(i,o){{if(Et.call(Ya,o)&&Ya[o])return!0;if(Xc.test(o)){var v="aria-"+o.slice(4).toLowerCase(),g=J1.hasOwnProperty(v)?v:null;if(g==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),Ya[o]=!0,!0;if(o!==g)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,g),Ya[o]=!0,!0}if(gm.test(o)){var C=o.toLowerCase(),T=J1.hasOwnProperty(C)?C:null;if(T==null)return Ya[o]=!0,!1;if(o!==T)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,T),Ya[o]=!0,!0}}return!0}function eS(i,o){{var v=[];for(var g in o){var C=mm(i,g);C||v.push(g)}var T=v.map(function(R){return"`"+R+"`"}).join(", ");v.length===1?u("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",T,i):v.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",T,i)}}function rh(i,o){Wo(i,o)||eS(i,o)}var Fu=!1;function ym(i,o){{if(i!=="input"&&i!=="textarea"&&i!=="select")return;o!=null&&o.value===null&&!Fu&&(Fu=!0,i==="select"&&o.multiple?u("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",i):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",i))}}var _m=function(){};{var mr={},Sm=/^on./,tS=/^on[^A-Z]/,nS=new RegExp("^(aria)-["+qe+"]*$"),rS=new RegExp("^(aria)[A-Z]["+qe+"]*$");_m=function(i,o,v,g){if(Et.call(mr,o)&&mr[o])return!0;var C=o.toLowerCase();if(C==="onfocusin"||C==="onfocusout")return u("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),mr[o]=!0,!0;if(g!=null){var T=g.registrationNameDependencies,R=g.possibleRegistrationNames;if(T.hasOwnProperty(o))return!0;var k=R.hasOwnProperty(C)?R[C]:null;if(k!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",o,k),mr[o]=!0,!0;if(Sm.test(o))return u("Unknown event handler property `%s`. It will be ignored.",o),mr[o]=!0,!0}else if(Sm.test(o))return tS.test(o)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),mr[o]=!0,!0;if(nS.test(o)||rS.test(o))return!0;if(C==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),mr[o]=!0,!0;if(C==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),mr[o]=!0,!0;if(C==="is"&&v!==null&&v!==void 0&&typeof v!="string")return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof v),mr[o]=!0,!0;if(typeof v=="number"&&isNaN(v))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),mr[o]=!0,!0;var N=Fi(o),B=N!==null&&N.type===ho;if(nh.hasOwnProperty(C)){var V=nh[C];if(V!==o)return u("Invalid DOM property `%s`. Did you mean `%s`?",o,V),mr[o]=!0,!0}else if(!B&&o!==C)return u("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,C),mr[o]=!0,!0;return typeof v=="boolean"&&pi(o,v,N,!1)?(v?u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',v,o,o,v,o):u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',v,o,o,v,o,o,o),mr[o]=!0,!0):B?!0:pi(o,v,N,!1)?(mr[o]=!0,!1):((v==="false"||v==="true")&&N!==null&&N.type===Zn&&(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",v,o,v==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,v),mr[o]=!0),!0)}}var iS=function(i,o,v){{var g=[];for(var C in o){var T=_m(i,C,o[C],v);T||g.push(C)}var R=g.map(function(k){return"`"+k+"`"}).join(", ");g.length===1?u("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",R,i):g.length>1&&u("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",R,i)}};function aS(i,o,v){Wo(i,o)||iS(i,o,v)}var Xo=1,qc=1<<1,Bu=1<<2,GE=Xo|qc|Bu,Qc=null;function Zc(i){Qc!==null&&u("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Qc=i}function $E(){Qc===null&&u("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Qc=null}function oS(i){return i===Qc}function ih(i){var o=i.target||i.srcElement||window;return o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===Yo?o.parentNode:o}var pn=null,Ul=null,qo=null;function Js(i){var o=Ef(i);if(o){if(typeof pn!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var v=o.stateNode;if(v){var g=oC(v);pn(o.stateNode,o.type,g)}}}function lS(i){pn=i}function ah(i){Ul?qo?qo.push(i):qo=[i]:Ul=i}function Kc(){return Ul!==null||qo!==null}function Jc(){if(Ul){var i=Ul,o=qo;if(Ul=null,qo=null,Js(i),o)for(var v=0;v<o.length;v++)Js(o[v])}}var Uu=function(i,o){return i(o)},Cm=function(){},wm=!1;function jE(){var i=Kc();i&&(Cm(),Jc())}function xm(i,o,v){if(wm)return i(o,v);wm=!0;try{return Uu(i,o,v)}finally{wm=!1,jE()}}function oh(i,o,v){Uu=i,Cm=v}function lh(i){return i==="button"||i==="input"||i==="select"||i==="textarea"}function Tm(i,o,v){switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(v.disabled&&lh(o));default:return!1}}function Vu(i,o){var v=i.stateNode;if(v===null)return null;var g=oC(v);if(g===null)return null;var C=g[o];if(Tm(o,i.type,g))return null;if(C&&typeof C!="function")throw new Error("Expected `"+o+"` listener to be a function, instead got a value of `"+typeof C+"` type.");return C}var ed=!1;if(Zt)try{var Hu={};Object.defineProperty(Hu,"passive",{get:function(){ed=!0}}),window.addEventListener("test",Hu,Hu),window.removeEventListener("test",Hu,Hu)}catch{ed=!1}function uS(i,o,v,g,C,T,R,k,N){var B=Array.prototype.slice.call(arguments,3);try{o.apply(v,B)}catch(V){this.onError(V)}}var bm=uS;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Em=document.createElement("react");bm=function(o,v,g,C,T,R,k,N,B){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var V=document.createEvent("Event"),K=!1,Q=!0,le=window.event,ue=Object.getOwnPropertyDescriptor(window,"event");function de(){Em.removeEventListener(ve,Ze,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=le)}var Ie=Array.prototype.slice.call(arguments,3);function Ze(){K=!0,de(),v.apply(g,Ie),Q=!1}var We,Ot=!1,Rt=!1;function ne(re){if(We=re.error,Ot=!0,We===null&&re.colno===0&&re.lineno===0&&(Rt=!0),re.defaultPrevented&&We!=null&&typeof We=="object")try{We._suppressLogging=!0}catch{}}var ve="react-"+(o||"invokeguardedcallback");if(window.addEventListener("error",ne),Em.addEventListener(ve,Ze,!1),V.initEvent(ve,!1,!1),Em.dispatchEvent(V),ue&&Object.defineProperty(window,"event",ue),K&&Q&&(Ot?Rt&&(We=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):We=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(We)),window.removeEventListener("error",ne),!K)return de(),uS.apply(this,arguments)}}var YE=bm,Vl=!1,Wa=null,td=!1,Hl=null,go={onError:function(i){Vl=!0,Wa=i}};function Gu(i,o,v,g,C,T,R,k,N){Vl=!1,Wa=null,YE.apply(go,arguments)}function Qo(i,o,v,g,C,T,R,k,N){if(Gu.apply(this,arguments),Vl){var B=Mm();td||(td=!0,Hl=B)}}function Dm(){if(td){var i=Hl;throw td=!1,Hl=null,i}}function WE(){return Vl}function Mm(){if(Vl){var i=Wa;return Vl=!1,Wa=null,i}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function va(i){return i._reactInternals}function nd(i){return i._reactInternals!==void 0}function ef(i,o){i._reactInternals=o}var Qe=0,Gl=1,Cn=2,pt=4,qt=16,Kt=32,mo=64,lt=128,Vn=256,mi=512,ha=1024,Ln=2048,pa=4096,$l=8192,rd=16384,uh=Ln|pt|mo|mi|ha|rd,sS=32767,Vi=32768,yr=65536,id=131072,Rm=1048576,Am=2097152,yi=4194304,jl=8388608,_i=16777216,$u=33554432,tf=pt|ha|0,Si=Cn|pt|qt|Kt|mi|pa|$l,Gr=pt|mo|mi|$l,ga=Ln|qt,Er=yi|jl|Am,Zo=n.ReactCurrentOwner;function Hi(i){var o=i,v=i;if(i.alternate)for(;o.return;)o=o.return;else{var g=o;do o=g,(o.flags&(Cn|pa))!==Qe&&(v=o.return),g=o.return;while(g)}return o.tag===m?v:null}function Lm(i){if(i.tag===I){var o=i.memoizedState;if(o===null){var v=i.alternate;v!==null&&(o=v.memoizedState)}if(o!==null)return o.dehydrated}return null}function sh(i){return i.tag===m?i.stateNode.containerInfo:null}function Om(i){return Hi(i)===i}function Gi(i){{var o=Zo.current;if(o!==null&&o.tag===h){var v=o,g=v.stateNode;g._warnedAboutRefsInRender||u("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",vt(v)||"A component"),g._warnedAboutRefsInRender=!0}}var C=va(i);return C?Hi(C)===C:!1}function Ci(i){if(Hi(i)!==i)throw new Error("Unable to find node on an unmounted component.")}function wn(i){var o=i.alternate;if(!o){var v=Hi(i);if(v===null)throw new Error("Unable to find node on an unmounted component.");return v!==i?null:i}for(var g=i,C=o;;){var T=g.return;if(T===null)break;var R=T.alternate;if(R===null){var k=T.return;if(k!==null){g=C=k;continue}break}if(T.child===R.child){for(var N=T.child;N;){if(N===g)return Ci(T),i;if(N===C)return Ci(T),o;N=N.sibling}throw new Error("Unable to find node on an unmounted component.")}if(g.return!==C.return)g=T,C=R;else{for(var B=!1,V=T.child;V;){if(V===g){B=!0,g=T,C=R;break}if(V===C){B=!0,C=T,g=R;break}V=V.sibling}if(!B){for(V=R.child;V;){if(V===g){B=!0,g=R,C=T;break}if(V===C){B=!0,C=R,g=T;break}V=V.sibling}if(!B)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(g.alternate!==C)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(g.tag!==m)throw new Error("Unable to find node on an unmounted component.");return g.stateNode.current===g?i:o}function ma(i){var o=wn(i);return o!==null?km(o):null}function km(i){if(i.tag===_||i.tag===w)return i;for(var o=i.child;o!==null;){var v=km(o);if(v!==null)return v;o=o.sibling}return null}function fS(i){var o=wn(i);return o!==null?fh(o):null}function fh(i){if(i.tag===_||i.tag===w)return i;for(var o=i.child;o!==null;){if(o.tag!==S){var v=fh(o);if(v!==null)return v}o=o.sibling}return null}var ch=e.unstable_scheduleCallback,cS=e.unstable_cancelCallback,dh=e.unstable_shouldYield,dS=e.unstable_requestPaint,zn=e.unstable_now,Nm=e.unstable_getCurrentPriorityLevel,vh=e.unstable_ImmediatePriority,$i=e.unstable_UserBlockingPriority,yo=e.unstable_NormalPriority,hh=e.unstable_LowPriority,Yl=e.unstable_IdlePriority,Pm=e.unstable_yieldValue,Im=e.unstable_setDisableYieldValue,Wl=null,_r=null,be=null,Wn=!1,Dr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function zm(i){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var o=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(o.isDisabled)return!0;if(!o.supportsFiber)return u("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Dn&&(i=Dt({},i,{getLaneLabelMap:ql,injectProfilingHooks:Jo})),Wl=o.inject(i),_r=o}catch(v){u("React instrumentation encountered an error: %s.",v)}return!!o.checkDCE}function vS(i,o){if(_r&&typeof _r.onScheduleFiberRoot=="function")try{_r.onScheduleFiberRoot(Wl,i,o)}catch(v){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",v))}}function Ko(i,o){if(_r&&typeof _r.onCommitFiberRoot=="function")try{var v=(i.current.flags&lt)===lt;if(Xt){var g;switch(o){case $r:g=vh;break;case Mr:g=$i;break;case tl:g=yo;break;case vd:g=Yl;break;default:g=yo;break}_r.onCommitFiberRoot(Wl,i,g,v)}}catch(C){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",C))}}function Xl(i){if(_r&&typeof _r.onPostCommitFiberRoot=="function")try{_r.onPostCommitFiberRoot(Wl,i)}catch(o){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",o))}}function Fm(i){if(_r&&typeof _r.onCommitFiberUnmount=="function")try{_r.onCommitFiberUnmount(Wl,i)}catch(o){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",o))}}function lr(i){if(typeof Pm=="function"&&(Im(i),a(i)),_r&&typeof _r.setStrictMode=="function")try{_r.setStrictMode(Wl,i)}catch(o){Wn||(Wn=!0,u("React instrumentation encountered an error: %s",o))}}function Jo(i){be=i}function ql(){{for(var i=new Map,o=1,v=0;v<xn;v++){var g=XE(o);i.set(o,g),o*=2}return i}}function ph(i){be!==null&&typeof be.markCommitStarted=="function"&&be.markCommitStarted(i)}function Bm(){be!==null&&typeof be.markCommitStopped=="function"&&be.markCommitStopped()}function Ql(i){be!==null&&typeof be.markComponentRenderStarted=="function"&&be.markComponentRenderStarted(i)}function ju(){be!==null&&typeof be.markComponentRenderStopped=="function"&&be.markComponentRenderStopped()}function hS(i){be!==null&&typeof be.markComponentPassiveEffectMountStarted=="function"&&be.markComponentPassiveEffectMountStarted(i)}function Um(){be!==null&&typeof be.markComponentPassiveEffectMountStopped=="function"&&be.markComponentPassiveEffectMountStopped()}function gh(i){be!==null&&typeof be.markComponentPassiveEffectUnmountStarted=="function"&&be.markComponentPassiveEffectUnmountStarted(i)}function pS(){be!==null&&typeof be.markComponentPassiveEffectUnmountStopped=="function"&&be.markComponentPassiveEffectUnmountStopped()}function gS(i){be!==null&&typeof be.markComponentLayoutEffectMountStarted=="function"&&be.markComponentLayoutEffectMountStarted(i)}function mS(){be!==null&&typeof be.markComponentLayoutEffectMountStopped=="function"&&be.markComponentLayoutEffectMountStopped()}function mh(i){be!==null&&typeof be.markComponentLayoutEffectUnmountStarted=="function"&&be.markComponentLayoutEffectUnmountStarted(i)}function nf(){be!==null&&typeof be.markComponentLayoutEffectUnmountStopped=="function"&&be.markComponentLayoutEffectUnmountStopped()}function yh(i,o,v){be!==null&&typeof be.markComponentErrored=="function"&&be.markComponentErrored(i,o,v)}function yS(i,o,v){be!==null&&typeof be.markComponentSuspended=="function"&&be.markComponentSuspended(i,o,v)}function _S(i){be!==null&&typeof be.markLayoutEffectsStarted=="function"&&be.markLayoutEffectsStarted(i)}function rf(){be!==null&&typeof be.markLayoutEffectsStopped=="function"&&be.markLayoutEffectsStopped()}function SS(i){be!==null&&typeof be.markPassiveEffectsStarted=="function"&&be.markPassiveEffectsStarted(i)}function ad(){be!==null&&typeof be.markPassiveEffectsStopped=="function"&&be.markPassiveEffectsStopped()}function Xa(i){be!==null&&typeof be.markRenderStarted=="function"&&be.markRenderStarted(i)}function od(){be!==null&&typeof be.markRenderYielded=="function"&&be.markRenderYielded()}function af(){be!==null&&typeof be.markRenderStopped=="function"&&be.markRenderStopped()}function Yu(i){be!==null&&typeof be.markRenderScheduled=="function"&&be.markRenderScheduled(i)}function Vm(i,o){be!==null&&typeof be.markForceUpdateScheduled=="function"&&be.markForceUpdateScheduled(i,o)}function Zl(i,o){be!==null&&typeof be.markStateUpdateScheduled=="function"&&be.markStateUpdateScheduled(i,o)}var Je=0,wt=1,nt=2,Fn=8,ya=16,_h=Math.clz32?Math.clz32:Wu,Sh=Math.log,Hm=Math.LN2;function Wu(i){var o=i>>>0;return o===0?32:31-(Sh(o)/Hm|0)|0}var xn=31,he=0,At=0,rt=1,_o=2,ji=4,Xu=8,Tn=16,qu=32,Kl=4194240,Qu=64,_a=128,wi=256,Zu=512,ld=1024,ud=2048,Ch=4096,wh=8192,xh=16384,Th=32768,bh=65536,Eh=131072,Dh=262144,Mh=524288,Ku=1048576,Rh=2097152,Ju=130023424,el=4194304,Ah=8388608,sd=16777216,Lh=33554432,Oh=67108864,Gm=el,of=134217728,kh=268435455,lf=268435456,Jl=536870912,xi=1073741824;function XE(i){{if(i&rt)return"Sync";if(i&_o)return"InputContinuousHydration";if(i&ji)return"InputContinuous";if(i&Xu)return"DefaultHydration";if(i&Tn)return"Default";if(i&qu)return"TransitionHydration";if(i&Kl)return"Transition";if(i&Ju)return"Retry";if(i&of)return"SelectiveHydration";if(i&lf)return"IdleHydration";if(i&Jl)return"Idle";if(i&xi)return"Offscreen"}}var gn=-1,Nh=Qu,Ph=el;function uf(i){switch(er(i)){case rt:return rt;case _o:return _o;case ji:return ji;case Xu:return Xu;case Tn:return Tn;case qu:return qu;case Qu:case _a:case wi:case Zu:case ld:case ud:case Ch:case wh:case xh:case Th:case bh:case Eh:case Dh:case Mh:case Ku:case Rh:return i&Kl;case el:case Ah:case sd:case Lh:case Oh:return i&Ju;case of:return of;case lf:return lf;case Jl:return Jl;case xi:return xi;default:return u("Should have found matching lanes. This is a bug in React."),i}}function fd(i,o){var v=i.pendingLanes;if(v===he)return he;var g=he,C=i.suspendedLanes,T=i.pingedLanes,R=v&kh;if(R!==he){var k=R&~C;if(k!==he)g=uf(k);else{var N=R&T;N!==he&&(g=uf(N))}}else{var B=v&~C;B!==he?g=uf(B):T!==he&&(g=uf(T))}if(g===he)return he;if(o!==he&&o!==g&&(o&C)===he){var V=er(g),K=er(o);if(V>=K||V===Tn&&(K&Kl)!==he)return o}(g&ji)!==he&&(g|=v&Tn);var Q=i.entangledLanes;if(Q!==he)for(var le=i.entanglements,ue=g&Q;ue>0;){var de=eu(ue),Ie=1<<de;g|=le[de],ue&=~Ie}return g}function CS(i,o){for(var v=i.eventTimes,g=gn;o>0;){var C=eu(o),T=1<<C,R=v[C];R>g&&(g=R),o&=~T}return g}function Ih(i,o){switch(i){case rt:case _o:case ji:return o+250;case Xu:case Tn:case qu:case Qu:case _a:case wi:case Zu:case ld:case ud:case Ch:case wh:case xh:case Th:case bh:case Eh:case Dh:case Mh:case Ku:case Rh:return o+5e3;case el:case Ah:case sd:case Lh:case Oh:return gn;case of:case lf:case Jl:case xi:return gn;default:return u("Should have found matching lanes. This is a bug in React."),gn}}function qE(i,o){for(var v=i.pendingLanes,g=i.suspendedLanes,C=i.pingedLanes,T=i.expirationTimes,R=v;R>0;){var k=eu(R),N=1<<k,B=T[k];B===gn?((N&g)===he||(N&C)!==he)&&(T[k]=Ih(N,o)):B<=o&&(i.expiredLanes|=N),R&=~N}}function QE(i){return uf(i.pendingLanes)}function $m(i){var o=i.pendingLanes&~xi;return o!==he?o:o&xi?xi:he}function sf(i){return(i&rt)!==he}function cd(i){return(i&kh)!==he}function zh(i){return(i&Ju)===i}function ZE(i){var o=rt|ji|Tn;return(i&o)===he}function wS(i){return(i&Kl)===i}function dd(i,o){var v=_o|ji|Xu|Tn;return(o&v)!==he}function xS(i,o){return(o&i.expiredLanes)!==he}function jm(i){return(i&Kl)!==he}function Ym(){var i=Nh;return Nh<<=1,(Nh&Kl)===he&&(Nh=Qu),i}function KE(){var i=Ph;return Ph<<=1,(Ph&Ju)===he&&(Ph=el),i}function er(i){return i&-i}function ur(i){return er(i)}function eu(i){return 31-_h(i)}function Fh(i){return eu(i)}function Ti(i,o){return(i&o)!==he}function es(i,o){return(i&o)===o}function gt(i,o){return i|o}function ff(i,o){return i&~o}function Wm(i,o){return i&o}function TS(i){return i}function bS(i,o){return i!==At&&i<o?i:o}function Bh(i){for(var o=[],v=0;v<xn;v++)o.push(i);return o}function ts(i,o,v){i.pendingLanes|=o,o!==Jl&&(i.suspendedLanes=he,i.pingedLanes=he);var g=i.eventTimes,C=Fh(o);g[C]=v}function Xm(i,o){i.suspendedLanes|=o,i.pingedLanes&=~o;for(var v=i.expirationTimes,g=o;g>0;){var C=eu(g),T=1<<C;v[C]=gn,g&=~T}}function qm(i,o,v){i.pingedLanes|=i.suspendedLanes&o}function Qm(i,o){var v=i.pendingLanes&~o;i.pendingLanes=o,i.suspendedLanes=he,i.pingedLanes=he,i.expiredLanes&=o,i.mutableReadLanes&=o,i.entangledLanes&=o;for(var g=i.entanglements,C=i.eventTimes,T=i.expirationTimes,R=v;R>0;){var k=eu(R),N=1<<k;g[k]=he,C[k]=gn,T[k]=gn,R&=~N}}function cf(i,o){for(var v=i.entangledLanes|=o,g=i.entanglements,C=v;C;){var T=eu(C),R=1<<T;R&o|g[T]&o&&(g[T]|=o),C&=~R}}function JE(i,o){var v=er(o),g;switch(v){case ji:g=_o;break;case Tn:g=Xu;break;case Qu:case _a:case wi:case Zu:case ld:case ud:case Ch:case wh:case xh:case Th:case bh:case Eh:case Dh:case Mh:case Ku:case Rh:case el:case Ah:case sd:case Lh:case Oh:g=qu;break;case Jl:g=lf;break;default:g=At;break}return(g&(i.suspendedLanes|o))!==At?At:g}function Zm(i,o,v){if(Dr)for(var g=i.pendingUpdatersLaneMap;v>0;){var C=Fh(v),T=1<<C,R=g[C];R.add(o),v&=~T}}function Uh(i,o){if(Dr)for(var v=i.pendingUpdatersLaneMap,g=i.memoizedUpdaters;o>0;){var C=Fh(o),T=1<<C,R=v[C];R.size>0&&(R.forEach(function(k){var N=k.alternate;(N===null||!g.has(N))&&g.add(k)}),R.clear()),o&=~T}}function Km(i,o){return null}var $r=rt,Mr=ji,tl=Tn,vd=Jl,ns=At;function Sa(){return ns}function sr(i){ns=i}function hd(i,o){var v=ns;try{return ns=i,o()}finally{ns=v}}function jr(i,o){return i!==0&&i<o?i:o}function eD(i,o){return i===0||i>o?i:o}function Jm(i,o){return i!==0&&i<o}function pd(i){var o=er(i);return Jm($r,o)?Jm(Mr,o)?cd(o)?tl:vd:Mr:$r}function fr(i){var o=i.current.memoizedState;return o.isDehydrated}var ES;function Fe(i){ES=i}function df(i){ES(i)}var gd;function DS(i){gd=i}var MS;function md(i){MS=i}var yd;function ey(i){yd=i}var ty;function RS(i){ty=i}var Vh=!1,vf=[],So=null,On=null,Sr=null,Ca=new Map,hf=new Map,nl=[],qa=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function AS(i){return qa.indexOf(i)>-1}function Co(i,o,v,g,C){return{blockedOn:i,domEventName:o,eventSystemFlags:v,nativeEvent:C,targetContainers:[g]}}function LS(i,o){switch(i){case"focusin":case"focusout":So=null;break;case"dragenter":case"dragleave":On=null;break;case"mouseover":case"mouseout":Sr=null;break;case"pointerover":case"pointerout":{var v=o.pointerId;Ca.delete(v);break}case"gotpointercapture":case"lostpointercapture":{var g=o.pointerId;hf.delete(g);break}}}function pf(i,o,v,g,C,T){if(i===null||i.nativeEvent!==T){var R=Co(o,v,g,C,T);if(o!==null){var k=Ef(o);k!==null&&gd(k)}return R}i.eventSystemFlags|=g;var N=i.targetContainers;return C!==null&&N.indexOf(C)===-1&&N.push(C),i}function OS(i,o,v,g,C){switch(o){case"focusin":{var T=C;return So=pf(So,i,o,v,g,T),!0}case"dragenter":{var R=C;return On=pf(On,i,o,v,g,R),!0}case"mouseover":{var k=C;return Sr=pf(Sr,i,o,v,g,k),!0}case"pointerover":{var N=C,B=N.pointerId;return Ca.set(B,pf(Ca.get(B)||null,i,o,v,g,N)),!0}case"gotpointercapture":{var V=C,K=V.pointerId;return hf.set(K,pf(hf.get(K)||null,i,o,v,g,V)),!0}}return!1}function ny(i){var o=Dd(i.target);if(o!==null){var v=Hi(o);if(v!==null){var g=v.tag;if(g===I){var C=Lm(v);if(C!==null){i.blockedOn=C,ty(i.priority,function(){MS(v)});return}}else if(g===m){var T=v.stateNode;if(fr(T)){i.blockedOn=sh(v);return}}}}i.blockedOn=null}function kS(i){for(var o=yd(),v={blockedOn:null,target:i,priority:o},g=0;g<nl.length&&Jm(o,nl[g].priority);g++);nl.splice(g,0,v),g===0&&ny(v)}function Hh(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;o.length>0;){var v=o[0],g=rs(i.domEventName,i.eventSystemFlags,v,i.nativeEvent);if(g===null){var C=i.nativeEvent,T=new C.constructor(C.type,C);Zc(T),C.target.dispatchEvent(T),$E()}else{var R=Ef(g);return R!==null&&gd(R),i.blockedOn=g,!1}o.shift()}return!0}function _d(i,o,v){Hh(i)&&v.delete(o)}function ry(){Vh=!1,So!==null&&Hh(So)&&(So=null),On!==null&&Hh(On)&&(On=null),Sr!==null&&Hh(Sr)&&(Sr=null),Ca.forEach(_d),hf.forEach(_d)}function Yr(i,o){i.blockedOn===o&&(i.blockedOn=null,Vh||(Vh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,ry)))}function Mt(i){if(vf.length>0){Yr(vf[0],i);for(var o=1;o<vf.length;o++){var v=vf[o];v.blockedOn===i&&(v.blockedOn=null)}}So!==null&&Yr(So,i),On!==null&&Yr(On,i),Sr!==null&&Yr(Sr,i);var g=function(k){return Yr(k,i)};Ca.forEach(g),hf.forEach(g);for(var C=0;C<nl.length;C++){var T=nl[C];T.blockedOn===i&&(T.blockedOn=null)}for(;nl.length>0;){var R=nl[0];if(R.blockedOn!==null)break;ny(R),R.blockedOn===null&&nl.shift()}}var Bn=n.ReactCurrentBatchConfig,Hn=!0;function Cr(i){Hn=!!i}function Yi(){return Hn}function gf(i,o,v){var g=ei(o),C;switch(g){case $r:C=cr;break;case Mr:C=Sd;break;case tl:default:C=rl;break}return C.bind(null,o,v,i)}function cr(i,o,v,g){var C=Sa(),T=Bn.transition;Bn.transition=null;try{sr($r),rl(i,o,v,g)}finally{sr(C),Bn.transition=T}}function Sd(i,o,v,g){var C=Sa(),T=Bn.transition;Bn.transition=null;try{sr(Mr),rl(i,o,v,g)}finally{sr(C),Bn.transition=T}}function rl(i,o,v,g){Hn&&Gh(i,o,v,g)}function Gh(i,o,v,g){var C=rs(i,o,v,g);if(C===null){SD(i,o,g,mf,v),LS(i,g);return}if(OS(C,i,o,v,g)){g.stopPropagation();return}if(LS(i,g),o&Bu&&AS(i)){for(;C!==null;){var T=Ef(C);T!==null&&df(T);var R=rs(i,o,v,g);if(R===null&&SD(i,o,g,mf,v),R===C)break;C=R}C!==null&&g.stopPropagation();return}SD(i,o,g,null,v)}var mf=null;function rs(i,o,v,g){mf=null;var C=ih(g),T=Dd(C);if(T!==null){var R=Hi(T);if(R===null)T=null;else{var k=R.tag;if(k===I){var N=Lm(R);if(N!==null)return N;T=null}else if(k===m){var B=R.stateNode;if(fr(B))return sh(R);T=null}else R!==T&&(T=null)}}return mf=T,null}function ei(i){switch(i){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return $r;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Mr;case"message":{var o=Nm();switch(o){case vh:return $r;case $i:return Mr;case yo:case hh:return tl;case Yl:return vd;default:return tl}}default:return tl}}function iy(i,o,v){return i.addEventListener(o,v,!1),v}function yf(i,o,v){return i.addEventListener(o,v,!0),v}function il(i,o,v,g){return i.addEventListener(o,v,{capture:!0,passive:g}),v}function $h(i,o,v,g){return i.addEventListener(o,v,{passive:g}),v}var is=null,wo=null,tu=null;function nu(i){return is=i,wo=Yh(),!0}function jh(){is=null,wo=null,tu=null}function _f(){if(tu)return tu;var i,o=wo,v=o.length,g,C=Yh(),T=C.length;for(i=0;i<v&&o[i]===C[i];i++);var R=v-i;for(g=1;g<=R&&o[v-g]===C[T-g];g++);var k=g>1?1-g:void 0;return tu=C.slice(i,k),tu}function Yh(){return"value"in is?is.value:is.textContent}function as(i){var o,v=i.keyCode;return"charCode"in i?(o=i.charCode,o===0&&v===13&&(o=13)):o=v,o===10&&(o=13),o>=32||o===13?o:0}function os(){return!0}function Wr(){return!1}function tr(i){function o(v,g,C,T,R){this._reactName=v,this._targetInst=C,this.type=g,this.nativeEvent=T,this.target=R,this.currentTarget=null;for(var k in i)if(i.hasOwnProperty(k)){var N=i[k];N?this[k]=N(T):this[k]=T[k]}var B=T.defaultPrevented!=null?T.defaultPrevented:T.returnValue===!1;return B?this.isDefaultPrevented=os:this.isDefaultPrevented=Wr,this.isPropagationStopped=Wr,this}return Dt(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=os)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=os)},persist:function(){},isPersistent:os}),o}var Xr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qr=tr(Xr),Sf=Dt({},Xr,{view:0,detail:0}),ay=tr(Sf),Cd,oy,wa;function NS(i){i!==wa&&(wa&&i.type==="mousemove"?(Cd=i.screenX-wa.screenX,oy=i.screenY-wa.screenY):(Cd=0,oy=0),wa=i)}var Cf=Dt({},Sf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qh,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(NS(i),Cd)},movementY:function(i){return"movementY"in i?i.movementY:oy}}),ru=tr(Cf),ly=Dt({},Cf,{dataTransfer:0}),ls=tr(ly),PS=Dt({},Sf,{relatedTarget:0}),Wh=tr(PS),uy=Dt({},Xr,{animationName:0,elapsedTime:0,pseudoElement:0}),Xh=tr(uy),tD=Dt({},Xr,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),nD=tr(tD),IS=Dt({},Xr,{data:0}),sy=tr(IS),us=sy,rD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wf={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function zS(i){if(i.key){var o=rD[i.key]||i.key;if(o!=="Unidentified")return o}if(i.type==="keypress"){var v=as(i);return v===13?"Enter":String.fromCharCode(v)}return i.type==="keydown"||i.type==="keyup"?wf[i.keyCode]||"Unidentified":""}var Gn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function iD(i){var o=this,v=o.nativeEvent;if(v.getModifierState)return v.getModifierState(i);var g=Gn[i];return g?!!v[g]:!1}function qh(i){return iD}var aD=Dt({},Sf,{key:zS,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qh,charCode:function(i){return i.type==="keypress"?as(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?as(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),oD=tr(aD),FS=Dt({},Cf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fy=tr(FS),lD=Dt({},Sf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qh}),xa=tr(lD),cy=Dt({},Xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),uD=tr(cy),iu=Dt({},Cf,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Qh=tr(iu),ss=[9,13,27,32],wd=229,xd=Zt&&"CompositionEvent"in window,fs=null;Zt&&"documentMode"in document&&(fs=document.documentMode);var sD=Zt&&"TextEvent"in window&&!fs,Zh=Zt&&(!xd||fs&&fs>8&&fs<=11),BS=32,dy=String.fromCharCode(BS);function US(){$e("onBeforeInput",["compositionend","keypress","textInput","paste"]),$e("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),$e("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),$e("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Td=!1;function Kh(i){return(i.ctrlKey||i.altKey||i.metaKey)&&!(i.ctrlKey&&i.altKey)}function VS(i){switch(i){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function vy(i,o){return i==="keydown"&&o.keyCode===wd}function HS(i,o){switch(i){case"keyup":return ss.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==wd;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hy(i){var o=i.detail;return typeof o=="object"&&"data"in o?o.data:null}function Jh(i){return i.locale==="ko"}var al=!1;function py(i,o,v,g,C){var T,R;if(xd?T=VS(o):al?HS(o,g)&&(T="onCompositionEnd"):vy(o,g)&&(T="onCompositionStart"),!T)return null;Zh&&!Jh(g)&&(!al&&T==="onCompositionStart"?al=nu(C):T==="onCompositionEnd"&&al&&(R=_f()));var k=WS(v,T);if(k.length>0){var N=new sy(T,o,null,g,C);if(i.push({event:N,listeners:k}),R)N.data=R;else{var B=hy(g);B!==null&&(N.data=B)}}}function ep(i,o){switch(i){case"compositionend":return hy(o);case"keypress":var v=o.which;return v!==BS?null:(Td=!0,dy);case"textInput":var g=o.data;return g===dy&&Td?null:g;default:return null}}function GS(i,o){if(al){if(i==="compositionend"||!xd&&HS(i,o)){var v=_f();return jh(),al=!1,v}return null}switch(i){case"paste":return null;case"keypress":if(!Kh(o)){if(o.char&&o.char.length>1)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Zh&&!Jh(o)?null:o.data;default:return null}}function fD(i,o,v,g,C){var T;if(sD?T=ep(o,g):T=GS(o,g),!T)return null;var R=WS(v,"onBeforeInput");if(R.length>0){var k=new us("onBeforeInput","beforeinput",null,g,C);i.push({event:k,listeners:R}),k.data=T}}function tp(i,o,v,g,C,T,R){py(i,o,v,g,C),fD(i,o,v,g,C)}var cD={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function xf(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!cD[i.type]:o==="textarea"}function dD(i){if(!Zt)return!1;var o="on"+i,v=o in document;if(!v){var g=document.createElement("div");g.setAttribute(o,"return;"),v=typeof g[o]=="function"}return v}function np(){$e("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function s(i,o,v,g){ah(g);var C=WS(o,"onChange");if(C.length>0){var T=new qr("onChange","change",null,v,g);i.push({event:T,listeners:C})}}var c=null,y=null;function x(i){var o=i.nodeName&&i.nodeName.toLowerCase();return o==="select"||o==="input"&&i.type==="file"}function M(i){var o=[];s(o,y,i,ih(i)),xm(L,o)}function L(i){UF(i,0)}function z(i){var o=up(i);if(R1(o))return i}function $(i,o){if(i==="change")return o}var q=!1;Zt&&(q=dD("input")&&(!document.documentMode||document.documentMode>9));function se(i,o){c=i,y=o,c.attachEvent("onpropertychange",we)}function _e(){c&&(c.detachEvent("onpropertychange",we),c=null,y=null)}function we(i){i.propertyName==="value"&&z(y)&&M(i)}function ye(i,o,v){i==="focusin"?(_e(),se(o,v)):i==="focusout"&&_e()}function Oe(i,o){if(i==="selectionchange"||i==="keyup"||i==="keydown")return z(y)}function Ue(i){var o=i.nodeName;return o&&o.toLowerCase()==="input"&&(i.type==="checkbox"||i.type==="radio")}function je(i,o){if(i==="click")return z(o)}function Xn(i,o){if(i==="input"||i==="change")return z(o)}function te(i){var o=i._wrapperState;!o||!o.controlled||i.type!=="number"||Fl(i,"number",i.value)}function Z(i,o,v,g,C,T,R){var k=v?up(v):window,N,B;if(x(k)?N=$:xf(k)?q?N=Xn:(N=Oe,B=ye):Ue(k)&&(N=je),N){var V=N(o,v);if(V){s(i,V,g,C);return}}B&&B(o,k,v),o==="focusout"&&te(k)}function oe(){Se("onMouseEnter",["mouseout","mouseover"]),Se("onMouseLeave",["mouseout","mouseover"]),Se("onPointerEnter",["pointerout","pointerover"]),Se("onPointerLeave",["pointerout","pointerover"])}function Te(i,o,v,g,C,T,R){var k=o==="mouseover"||o==="pointerover",N=o==="mouseout"||o==="pointerout";if(k&&!oS(g)){var B=g.relatedTarget||g.fromElement;if(B&&(Dd(B)||Ry(B)))return}if(!(!N&&!k)){var V;if(C.window===C)V=C;else{var K=C.ownerDocument;K?V=K.defaultView||K.parentWindow:V=window}var Q,le;if(N){var ue=g.relatedTarget||g.toElement;if(Q=v,le=ue?Dd(ue):null,le!==null){var de=Hi(le);(le!==de||le.tag!==_&&le.tag!==w)&&(le=null)}}else Q=null,le=v;if(Q!==le){var Ie=ru,Ze="onMouseLeave",We="onMouseEnter",Ot="mouse";(o==="pointerout"||o==="pointerover")&&(Ie=fy,Ze="onPointerLeave",We="onPointerEnter",Ot="pointer");var Rt=Q==null?V:up(Q),ne=le==null?V:up(le),ve=new Ie(Ze,Ot+"leave",Q,g,C);ve.target=Rt,ve.relatedTarget=ne;var re=null,xe=Dd(C);if(xe===v){var ze=new Ie(We,Ot+"enter",le,g,C);ze.target=ne,ze.relatedTarget=Rt,re=ze}oZ(i,ve,re,Q,le)}}}function Ye(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var Ve=typeof Object.is=="function"?Object.is:Ye;function Xe(i,o){if(Ve(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var v=Object.keys(i),g=Object.keys(o);if(v.length!==g.length)return!1;for(var C=0;C<v.length;C++){var T=v[C];if(!Et.call(o,T)||!Ve(i[T],o[T]))return!1}return!0}function ut(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function wr(i){for(;i;){if(i.nextSibling)return i.nextSibling;i=i.parentNode}}function Ut(i,o){for(var v=ut(i),g=0,C=0;v;){if(v.nodeType===Yo){if(C=g+v.textContent.length,g<=o&&C>=o)return{node:v,offset:o-g};g=C}v=ut(wr(v))}}function au(i){var o=i.ownerDocument,v=o&&o.defaultView||window,g=v.getSelection&&v.getSelection();if(!g||g.rangeCount===0)return null;var C=g.anchorNode,T=g.anchorOffset,R=g.focusNode,k=g.focusOffset;try{C.nodeType,R.nodeType}catch{return null}return vD(i,C,T,R,k)}function vD(i,o,v,g,C){var T=0,R=-1,k=-1,N=0,B=0,V=i,K=null;e:for(;;){for(var Q=null;V===o&&(v===0||V.nodeType===Yo)&&(R=T+v),V===g&&(C===0||V.nodeType===Yo)&&(k=T+C),V.nodeType===Yo&&(T+=V.nodeValue.length),(Q=V.firstChild)!==null;)K=V,V=Q;for(;;){if(V===i)break e;if(K===o&&++N===v&&(R=T),K===g&&++B===C&&(k=T),(Q=V.nextSibling)!==null)break;V=K,K=V.parentNode}V=Q}return R===-1||k===-1?null:{start:R,end:k}}function VQ(i,o){var v=i.ownerDocument||document,g=v&&v.defaultView||window;if(g.getSelection){var C=g.getSelection(),T=i.textContent.length,R=Math.min(o.start,T),k=o.end===void 0?R:Math.min(o.end,T);if(!C.extend&&R>k){var N=k;k=R,R=N}var B=Ut(i,R),V=Ut(i,k);if(B&&V){if(C.rangeCount===1&&C.anchorNode===B.node&&C.anchorOffset===B.offset&&C.focusNode===V.node&&C.focusOffset===V.offset)return;var K=v.createRange();K.setStart(B.node,B.offset),C.removeAllRanges(),R>k?(C.addRange(K),C.extend(V.node,V.offset)):(K.setEnd(V.node,V.offset),C.addRange(K))}}}function MF(i){return i&&i.nodeType===Yo}function RF(i,o){return!i||!o?!1:i===o?!0:MF(i)?!1:MF(o)?RF(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1}function HQ(i){return i&&i.ownerDocument&&RF(i.ownerDocument.documentElement,i)}function GQ(i){try{return typeof i.contentWindow.location.href=="string"}catch{return!1}}function AF(){for(var i=window,o=jv();o instanceof i.HTMLIFrameElement;){if(GQ(o))i=o.contentWindow;else return o;o=jv(i.document)}return o}function hD(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}function $Q(){var i=AF();return{focusedElem:i,selectionRange:hD(i)?YQ(i):null}}function jQ(i){var o=AF(),v=i.focusedElem,g=i.selectionRange;if(o!==v&&HQ(v)){g!==null&&hD(v)&&WQ(v,g);for(var C=[],T=v;T=T.parentNode;)T.nodeType===gi&&C.push({element:T,left:T.scrollLeft,top:T.scrollTop});typeof v.focus=="function"&&v.focus();for(var R=0;R<C.length;R++){var k=C[R];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}}function YQ(i){var o;return"selectionStart"in i?o={start:i.selectionStart,end:i.selectionEnd}:o=au(i),o||{start:0,end:0}}function WQ(i,o){var v=o.start,g=o.end;g===void 0&&(g=v),"selectionStart"in i?(i.selectionStart=v,i.selectionEnd=Math.min(g,i.value.length)):VQ(i,o)}var XQ=Zt&&"documentMode"in document&&document.documentMode<=11;function qQ(){$e("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var rp=null,pD=null,gy=null,gD=!1;function QQ(i){if("selectionStart"in i&&hD(i))return{start:i.selectionStart,end:i.selectionEnd};var o=i.ownerDocument&&i.ownerDocument.defaultView||window,v=o.getSelection();return{anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}}function ZQ(i){return i.window===i?i.document:i.nodeType===ja?i:i.ownerDocument}function LF(i,o,v){var g=ZQ(v);if(!(gD||rp==null||rp!==jv(g))){var C=QQ(rp);if(!gy||!Xe(gy,C)){gy=C;var T=WS(pD,"onSelect");if(T.length>0){var R=new qr("onSelect","select",null,o,v);i.push({event:R,listeners:T}),R.target=rp}}}}function KQ(i,o,v,g,C,T,R){var k=v?up(v):window;switch(o){case"focusin":(xf(k)||k.contentEditable==="true")&&(rp=k,pD=v,gy=null);break;case"focusout":rp=null,pD=null,gy=null;break;case"mousedown":gD=!0;break;case"contextmenu":case"mouseup":case"dragend":gD=!1,LF(i,g,C);break;case"selectionchange":if(XQ)break;case"keydown":case"keyup":LF(i,g,C)}}function $S(i,o){var v={};return v[i.toLowerCase()]=o.toLowerCase(),v["Webkit"+i]="webkit"+o,v["Moz"+i]="moz"+o,v}var ip={animationend:$S("Animation","AnimationEnd"),animationiteration:$S("Animation","AnimationIteration"),animationstart:$S("Animation","AnimationStart"),transitionend:$S("Transition","TransitionEnd")},mD={},OF={};Zt&&(OF=document.createElement("div").style,"AnimationEvent"in window||(delete ip.animationend.animation,delete ip.animationiteration.animation,delete ip.animationstart.animation),"TransitionEvent"in window||delete ip.transitionend.transition);function jS(i){if(mD[i])return mD[i];if(!ip[i])return i;var o=ip[i];for(var v in o)if(o.hasOwnProperty(v)&&v in OF)return mD[i]=o[v];return i}var kF=jS("animationend"),NF=jS("animationiteration"),PF=jS("animationstart"),IF=jS("transitionend"),zF=new Map,FF=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function Tf(i,o){zF.set(i,o),$e(o,[i])}function JQ(){for(var i=0;i<FF.length;i++){var o=FF[i],v=o.toLowerCase(),g=o[0].toUpperCase()+o.slice(1);Tf(v,"on"+g)}Tf(kF,"onAnimationEnd"),Tf(NF,"onAnimationIteration"),Tf(PF,"onAnimationStart"),Tf("dblclick","onDoubleClick"),Tf("focusin","onFocus"),Tf("focusout","onBlur"),Tf(IF,"onTransitionEnd")}function eZ(i,o,v,g,C,T,R){var k=zF.get(o);if(k!==void 0){var N=qr,B=o;switch(o){case"keypress":if(as(g)===0)return;case"keydown":case"keyup":N=oD;break;case"focusin":B="focus",N=Wh;break;case"focusout":B="blur",N=Wh;break;case"beforeblur":case"afterblur":N=Wh;break;case"click":if(g.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=ru;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=ls;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=xa;break;case kF:case NF:case PF:N=Xh;break;case IF:N=uD;break;case"scroll":N=ay;break;case"wheel":N=Qh;break;case"copy":case"cut":case"paste":N=nD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=fy;break}var V=(T&Bu)!==0;{var K=!V&&o==="scroll",Q=iZ(v,k,g.type,V,K);if(Q.length>0){var le=new N(k,B,null,g,C);i.push({event:le,listeners:Q})}}}}JQ(),oe(),np(),qQ(),US();function tZ(i,o,v,g,C,T,R){eZ(i,o,v,g,C,T);var k=(T&GE)===0;k&&(Te(i,o,v,g,C),Z(i,o,v,g,C),KQ(i,o,v,g,C),tp(i,o,v,g,C))}var my=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],yD=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(my));function BF(i,o,v){var g=i.type||"unknown-event";i.currentTarget=v,Qo(g,o,void 0,i),i.currentTarget=null}function nZ(i,o,v){var g;if(v)for(var C=o.length-1;C>=0;C--){var T=o[C],R=T.instance,k=T.currentTarget,N=T.listener;if(R!==g&&i.isPropagationStopped())return;BF(i,N,k),g=R}else for(var B=0;B<o.length;B++){var V=o[B],K=V.instance,Q=V.currentTarget,le=V.listener;if(K!==g&&i.isPropagationStopped())return;BF(i,le,Q),g=K}}function UF(i,o){for(var v=(o&Bu)!==0,g=0;g<i.length;g++){var C=i[g],T=C.event,R=C.listeners;nZ(T,R,v)}Dm()}function rZ(i,o,v,g,C){var T=ih(v),R=[];tZ(R,i,g,v,T,o),UF(R,o)}function Un(i,o){yD.has(i)||u('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',i);var v=!1,g=kK(o),C=lZ(i,v);g.has(C)||(VF(o,i,qc,v),g.add(C))}function _D(i,o,v){yD.has(i)&&!o&&u('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',i);var g=0;o&&(g|=Bu),VF(v,i,g,o)}var YS="_reactListening"+Math.random().toString(36).slice(2);function yy(i){if(!i[YS]){i[YS]=!0,on.forEach(function(v){v!=="selectionchange"&&(yD.has(v)||_D(v,!1,i),_D(v,!0,i))});var o=i.nodeType===ja?i:i.ownerDocument;o!==null&&(o[YS]||(o[YS]=!0,_D("selectionchange",!1,o)))}}function VF(i,o,v,g,C){var T=gf(i,o,v),R=void 0;ed&&(o==="touchstart"||o==="touchmove"||o==="wheel")&&(R=!0),i=i,g?R!==void 0?il(i,o,T,R):yf(i,o,T):R!==void 0?$h(i,o,T,R):iy(i,o,T)}function HF(i,o){return i===o||i.nodeType===Jn&&i.parentNode===o}function SD(i,o,v,g,C){var T=g;if(!(o&Xo)&&!(o&qc)){var R=C;if(g!==null){var k=g;e:for(;;){if(k===null)return;var N=k.tag;if(N===m||N===S){var B=k.stateNode.containerInfo;if(HF(B,R))break;if(N===S)for(var V=k.return;V!==null;){var K=V.tag;if(K===m||K===S){var Q=V.stateNode.containerInfo;if(HF(Q,R))return}V=V.return}for(;B!==null;){var le=Dd(B);if(le===null)return;var ue=le.tag;if(ue===_||ue===w){k=T=le;continue e}B=B.parentNode}}k=k.return}}}xm(function(){return rZ(i,o,v,T)})}function _y(i,o,v){return{instance:i,listener:o,currentTarget:v}}function iZ(i,o,v,g,C,T){for(var R=o!==null?o+"Capture":null,k=g?R:o,N=[],B=i,V=null;B!==null;){var K=B,Q=K.stateNode,le=K.tag;if(le===_&&Q!==null&&(V=Q,k!==null)){var ue=Vu(B,k);ue!=null&&N.push(_y(B,ue,V))}if(C)break;B=B.return}return N}function WS(i,o){for(var v=o+"Capture",g=[],C=i;C!==null;){var T=C,R=T.stateNode,k=T.tag;if(k===_&&R!==null){var N=R,B=Vu(C,v);B!=null&&g.unshift(_y(C,B,N));var V=Vu(C,o);V!=null&&g.push(_y(C,V,N))}C=C.return}return g}function ap(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==_);return i||null}function aZ(i,o){for(var v=i,g=o,C=0,T=v;T;T=ap(T))C++;for(var R=0,k=g;k;k=ap(k))R++;for(;C-R>0;)v=ap(v),C--;for(;R-C>0;)g=ap(g),R--;for(var N=C;N--;){if(v===g||g!==null&&v===g.alternate)return v;v=ap(v),g=ap(g)}return null}function GF(i,o,v,g,C){for(var T=o._reactName,R=[],k=v;k!==null&&k!==g;){var N=k,B=N.alternate,V=N.stateNode,K=N.tag;if(B!==null&&B===g)break;if(K===_&&V!==null){var Q=V;if(C){var le=Vu(k,T);le!=null&&R.unshift(_y(k,le,Q))}else if(!C){var ue=Vu(k,T);ue!=null&&R.push(_y(k,ue,Q))}}k=k.return}R.length!==0&&i.push({event:o,listeners:R})}function oZ(i,o,v,g,C){var T=g&&C?aZ(g,C):null;g!==null&&GF(i,o,g,T,!1),C!==null&&v!==null&&GF(i,v,C,T,!0)}function lZ(i,o){return i+"__"+(o?"capture":"bubble")}var Ta=!1,Sy="dangerouslySetInnerHTML",XS="suppressContentEditableWarning",bf="suppressHydrationWarning",$F="autoFocus",bd="children",Ed="style",qS="__html",CD,QS,Cy,jF,ZS,YF,WF;CD={dialog:!0,webview:!0},QS=function(i,o){rh(i,o),ym(i,o),aS(i,o,{registrationNameDependencies:zt,possibleRegistrationNames:Ft})},YF=Zt&&!document.documentMode,Cy=function(i,o,v){if(!Ta){var g=KS(v),C=KS(o);C!==g&&(Ta=!0,u("Prop `%s` did not match. Server: %s Client: %s",i,JSON.stringify(C),JSON.stringify(g)))}},jF=function(i){if(!Ta){Ta=!0;var o=[];i.forEach(function(v){o.push(v)}),u("Extra attributes from the server: %s",o)}},ZS=function(i,o){o===!1?u("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",i,i,i):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",i,typeof o)},WF=function(i,o){var v=i.namespaceURI===jo?i.ownerDocument.createElement(i.tagName):i.ownerDocument.createElementNS(i.namespaceURI,i.tagName);return v.innerHTML=o,v.innerHTML};var uZ=/\r\n?/g,sZ=/\u0000|\uFFFD/g;function KS(i){Fa(i);var o=typeof i=="string"?i:""+i;return o.replace(uZ,`
82
+ `).replace(sZ,"")}function JS(i,o,v,g){var C=KS(o),T=KS(i);if(T!==C&&(g&&(Ta||(Ta=!0,u('Text content did not match. Server: "%s" Client: "%s"',T,C))),v&&Pe))throw new Error("Text content does not match server-rendered HTML.")}function XF(i){return i.nodeType===ja?i:i.ownerDocument}function fZ(){}function eC(i){i.onclick=fZ}function cZ(i,o,v,g,C){for(var T in g)if(g.hasOwnProperty(T)){var R=g[T];if(T===Ed)R&&Object.freeze(R),q1(o,R);else if(T===Sy){var k=R?R[qS]:void 0;k!=null&&F1(o,k)}else if(T===bd)if(typeof R=="string"){var N=i!=="textarea"||R!=="";N&&Jv(o,R)}else typeof R=="number"&&Jv(o,""+R);else T===XS||T===bf||T===$F||(zt.hasOwnProperty(T)?R!=null&&(typeof R!="function"&&ZS(T,R),T==="onScroll"&&Un("scroll",o)):R!=null&&po(o,T,R,C))}}function dZ(i,o,v,g){for(var C=0;C<o.length;C+=2){var T=o[C],R=o[C+1];T===Ed?q1(i,R):T===Sy?F1(i,R):T===bd?Jv(i,R):po(i,T,R,g)}}function vZ(i,o,v,g){var C,T=XF(v),R,k=g;if(k===jo&&(k=Zv(i)),k===jo){if(C=Wo(i,o),!C&&i!==i.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",i),i==="script"){var N=T.createElement("div");N.innerHTML="<script></script>";var B=N.firstChild;R=N.removeChild(B)}else if(typeof o.is=="string")R=T.createElement(i,{is:o.is});else if(R=T.createElement(i),i==="select"){var V=R;o.multiple?V.multiple=!0:o.size&&(V.size=o.size)}}else R=T.createElementNS(k,i);return k===jo&&!C&&Object.prototype.toString.call(R)==="[object HTMLUnknownElement]"&&!Et.call(CD,i)&&(CD[i]=!0,u("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",i)),R}function hZ(i,o){return XF(o).createTextNode(i)}function pZ(i,o,v,g){var C=Wo(o,v);QS(o,v);var T;switch(o){case"dialog":Un("cancel",i),Un("close",i),T=v;break;case"iframe":case"object":case"embed":Un("load",i),T=v;break;case"video":case"audio":for(var R=0;R<my.length;R++)Un(my[R],i);T=v;break;case"source":Un("error",i),T=v;break;case"img":case"image":case"link":Un("error",i),Un("load",i),T=v;break;case"details":Un("toggle",i),T=v;break;case"input":Gc(i,v),T=Hc(i,v),Un("invalid",i);break;case"option":qv(i,v),T=v;break;case"select":N1(i,v),T=lm(i,v),Un("invalid",i);break;case"textarea":P1(i,v),T=sm(i,v),Un("invalid",i);break;default:T=v}switch(th(o,T),cZ(o,i,g,T,C),o){case"input":Iu(i),$c(i,v,!1);break;case"textarea":Iu(i),z1(i);break;case"option":om(i,v);break;case"select":OE(i,v);break;default:typeof T.onClick=="function"&&eC(i);break}}function gZ(i,o,v,g,C){QS(o,g);var T=null,R,k;switch(o){case"input":R=Hc(i,v),k=Hc(i,g),T=[];break;case"select":R=lm(i,v),k=lm(i,g),T=[];break;case"textarea":R=sm(i,v),k=sm(i,g),T=[];break;default:R=v,k=g,typeof R.onClick!="function"&&typeof k.onClick=="function"&&eC(i);break}th(o,k);var N,B,V=null;for(N in R)if(!(k.hasOwnProperty(N)||!R.hasOwnProperty(N)||R[N]==null))if(N===Ed){var K=R[N];for(B in K)K.hasOwnProperty(B)&&(V||(V={}),V[B]="")}else N===Sy||N===bd||N===XS||N===bf||N===$F||(zt.hasOwnProperty(N)?T||(T=[]):(T=T||[]).push(N,null));for(N in k){var Q=k[N],le=R!=null?R[N]:void 0;if(!(!k.hasOwnProperty(N)||Q===le||Q==null&&le==null))if(N===Ed)if(Q&&Object.freeze(Q),le){for(B in le)le.hasOwnProperty(B)&&(!Q||!Q.hasOwnProperty(B))&&(V||(V={}),V[B]="");for(B in Q)Q.hasOwnProperty(B)&&le[B]!==Q[B]&&(V||(V={}),V[B]=Q[B])}else V||(T||(T=[]),T.push(N,V)),V=Q;else if(N===Sy){var ue=Q?Q[qS]:void 0,de=le?le[qS]:void 0;ue!=null&&de!==ue&&(T=T||[]).push(N,ue)}else N===bd?(typeof Q=="string"||typeof Q=="number")&&(T=T||[]).push(N,""+Q):N===XS||N===bf||(zt.hasOwnProperty(N)?(Q!=null&&(typeof Q!="function"&&ZS(N,Q),N==="onScroll"&&Un("scroll",i)),!T&&le!==Q&&(T=[])):(T=T||[]).push(N,Q))}return V&&(Wc(V,k[Ed]),(T=T||[]).push(Ed,V)),T}function mZ(i,o,v,g,C){v==="input"&&C.type==="radio"&&C.name!=null&&am(i,C);var T=Wo(v,g),R=Wo(v,C);switch(dZ(i,o,T,R),v){case"input":Ys(i,C);break;case"textarea":I1(i,C);break;case"select":kE(i,C);break}}function yZ(i){{var o=i.toLowerCase();return nh.hasOwnProperty(o)&&nh[o]||null}}function _Z(i,o,v,g,C,T,R){var k,N;switch(k=Wo(o,v),QS(o,v),o){case"dialog":Un("cancel",i),Un("close",i);break;case"iframe":case"object":case"embed":Un("load",i);break;case"video":case"audio":for(var B=0;B<my.length;B++)Un(my[B],i);break;case"source":Un("error",i);break;case"img":case"image":case"link":Un("error",i),Un("load",i);break;case"details":Un("toggle",i);break;case"input":Gc(i,v),Un("invalid",i);break;case"option":qv(i,v);break;case"select":N1(i,v),Un("invalid",i);break;case"textarea":P1(i,v),Un("invalid",i);break}th(o,v);{N=new Set;for(var V=i.attributes,K=0;K<V.length;K++){var Q=V[K].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:N.add(V[K].name)}}}var le=null;for(var ue in v)if(v.hasOwnProperty(ue)){var de=v[ue];if(ue===bd)typeof de=="string"?i.textContent!==de&&(v[bf]!==!0&&JS(i.textContent,de,T,R),le=[bd,de]):typeof de=="number"&&i.textContent!==""+de&&(v[bf]!==!0&&JS(i.textContent,de,T,R),le=[bd,""+de]);else if(zt.hasOwnProperty(ue))de!=null&&(typeof de!="function"&&ZS(ue,de),ue==="onScroll"&&Un("scroll",i));else if(R&&typeof k=="boolean"){var Ie=void 0,Ze=k&&St?null:Fi(ue);if(v[bf]!==!0){if(!(ue===XS||ue===bf||ue==="value"||ue==="checked"||ue==="selected")){if(ue===Sy){var We=i.innerHTML,Ot=de?de[qS]:void 0;if(Ot!=null){var Rt=WF(i,Ot);Rt!==We&&Cy(ue,We,Rt)}}else if(ue===Ed){if(N.delete(ue),YF){var ne=VE(de);Ie=i.getAttribute("style"),ne!==Ie&&Cy(ue,Ie,ne)}}else if(k&&!St)N.delete(ue.toLowerCase()),Ie=Hs(i,ue,de),de!==Ie&&Cy(ue,Ie,de);else if(!Yn(ue,Ze,k)&&!_n(ue,de,Ze,k)){var ve=!1;if(Ze!==null)N.delete(Ze.attributeName),Ie=ku(i,ue,de,Ze);else{var re=g;if(re===jo&&(re=Zv(o)),re===jo)N.delete(ue.toLowerCase());else{var xe=yZ(ue);xe!==null&&xe!==ue&&(ve=!0,N.delete(xe)),N.delete(ue)}Ie=Hs(i,ue,de)}var ze=St;!ze&&de!==Ie&&!ve&&Cy(ue,Ie,de)}}}}}switch(R&&N.size>0&&v[bf]!==!0&&jF(N),o){case"input":Iu(i),$c(i,v,!0);break;case"textarea":Iu(i),z1(i);break;case"select":case"option":break;default:typeof v.onClick=="function"&&eC(i);break}return le}function SZ(i,o,v){var g=i.nodeValue!==o;return g}function wD(i,o){{if(Ta)return;Ta=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",o.nodeName.toLowerCase(),i.nodeName.toLowerCase())}}function xD(i,o){{if(Ta)return;Ta=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',o.nodeValue,i.nodeName.toLowerCase())}}function TD(i,o,v){{if(Ta)return;Ta=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",o,i.nodeName.toLowerCase())}}function bD(i,o){{if(o===""||Ta)return;Ta=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',o,i.nodeName.toLowerCase())}}function CZ(i,o,v){switch(o){case"input":A1(i,v);return;case"textarea":fm(i,v);return;case"select":NE(i,v);return}}var wy=function(){},xy=function(){};{var wZ=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],qF=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],xZ=qF.concat(["button"]),TZ=["dd","dt","li","option","optgroup","p","rp","rt"],QF={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};xy=function(i,o){var v=Dt({},i||QF),g={tag:o};return qF.indexOf(o)!==-1&&(v.aTagInScope=null,v.buttonTagInScope=null,v.nobrTagInScope=null),xZ.indexOf(o)!==-1&&(v.pTagInButtonScope=null),wZ.indexOf(o)!==-1&&o!=="address"&&o!=="div"&&o!=="p"&&(v.listItemTagAutoclosing=null,v.dlItemTagAutoclosing=null),v.current=g,o==="form"&&(v.formTag=g),o==="a"&&(v.aTagInScope=g),o==="button"&&(v.buttonTagInScope=g),o==="nobr"&&(v.nobrTagInScope=g),o==="p"&&(v.pTagInButtonScope=g),o==="li"&&(v.listItemTagAutoclosing=g),(o==="dd"||o==="dt")&&(v.dlItemTagAutoclosing=g),v};var bZ=function(i,o){switch(o){case"select":return i==="option"||i==="optgroup"||i==="#text";case"optgroup":return i==="option"||i==="#text";case"option":return i==="#text";case"tr":return i==="th"||i==="td"||i==="style"||i==="script"||i==="template";case"tbody":case"thead":case"tfoot":return i==="tr"||i==="style"||i==="script"||i==="template";case"colgroup":return i==="col"||i==="template";case"table":return i==="caption"||i==="colgroup"||i==="tbody"||i==="tfoot"||i==="thead"||i==="style"||i==="script"||i==="template";case"head":return i==="base"||i==="basefont"||i==="bgsound"||i==="link"||i==="meta"||i==="title"||i==="noscript"||i==="noframes"||i==="style"||i==="script"||i==="template";case"html":return i==="head"||i==="body"||i==="frameset";case"frameset":return i==="frame";case"#document":return i==="html"}switch(i){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o!=="h1"&&o!=="h2"&&o!=="h3"&&o!=="h4"&&o!=="h5"&&o!=="h6";case"rp":case"rt":return TZ.indexOf(o)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return o==null}return!0},EZ=function(i,o){switch(i){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o.pTagInButtonScope;case"form":return o.formTag||o.pTagInButtonScope;case"li":return o.listItemTagAutoclosing;case"dd":case"dt":return o.dlItemTagAutoclosing;case"button":return o.buttonTagInScope;case"a":return o.aTagInScope;case"nobr":return o.nobrTagInScope}return null},ZF={};wy=function(i,o,v){v=v||QF;var g=v.current,C=g&&g.tag;o!=null&&(i!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),i="#text");var T=bZ(i,C)?null:g,R=T?null:EZ(i,v),k=T||R;if(k){var N=k.tag,B=!!T+"|"+i+"|"+N;if(!ZF[B]){ZF[B]=!0;var V=i,K="";if(i==="#text"?/\S/.test(o)?V="Text nodes":(V="Whitespace text nodes",K=" Make sure you don't have any extra whitespace between tags on each line of your source code."):V="<"+i+">",T){var Q="";N==="table"&&i==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",V,N,K,Q)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",V,N)}}}}var tC="suppressHydrationWarning",nC="$",rC="/$",Ty="$?",by="$!",DZ="style",ED=null,DD=null;function MZ(i){var o,v,g=i.nodeType;switch(g){case ja:case zu:{o=g===ja?"#document":"#fragment";var C=i.documentElement;v=C?C.namespaceURI:dm(null,"");break}default:{var T=g===Jn?i.parentNode:i,R=T.namespaceURI||null;o=T.tagName,v=dm(R,o);break}}{var k=o.toLowerCase(),N=xy(null,k);return{namespace:v,ancestorInfo:N}}}function RZ(i,o,v){{var g=i,C=dm(g.namespace,o),T=xy(g.ancestorInfo,o);return{namespace:C,ancestorInfo:T}}}function rre(i){return i}function AZ(i){ED=Yi(),DD=$Q();var o=null;return Cr(!1),o}function LZ(i){jQ(DD),Cr(ED),ED=null,DD=null}function OZ(i,o,v,g,C){var T;{var R=g;if(wy(i,null,R.ancestorInfo),typeof o.children=="string"||typeof o.children=="number"){var k=""+o.children,N=xy(R.ancestorInfo,i);wy(null,k,N)}T=R.namespace}var B=vZ(i,o,v,T);return My(C,B),PD(B,o),B}function kZ(i,o){i.appendChild(o)}function NZ(i,o,v,g,C){switch(pZ(i,o,v,g),o){case"button":case"input":case"select":case"textarea":return!!v.autoFocus;case"img":return!0;default:return!1}}function PZ(i,o,v,g,C,T){{var R=T;if(typeof g.children!=typeof v.children&&(typeof g.children=="string"||typeof g.children=="number")){var k=""+g.children,N=xy(R.ancestorInfo,o);wy(null,k,N)}}return gZ(i,o,v,g)}function MD(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}function IZ(i,o,v,g){{var C=v;wy(null,i,C.ancestorInfo)}var T=hZ(i,o);return My(g,T),T}function zZ(){var i=window.event;return i===void 0?tl:ei(i.type)}var RD=typeof setTimeout=="function"?setTimeout:void 0,FZ=typeof clearTimeout=="function"?clearTimeout:void 0,AD=-1,KF=typeof Promise=="function"?Promise:void 0,BZ=typeof queueMicrotask=="function"?queueMicrotask:typeof KF<"u"?function(i){return KF.resolve(null).then(i).catch(UZ)}:RD;function UZ(i){setTimeout(function(){throw i})}function VZ(i,o,v,g){switch(o){case"button":case"input":case"select":case"textarea":v.autoFocus&&i.focus();return;case"img":{v.src&&(i.src=v.src);return}}}function HZ(i,o,v,g,C,T){mZ(i,o,v,g,C),PD(i,C)}function JF(i){Jv(i,"")}function GZ(i,o,v){i.nodeValue=v}function $Z(i,o){i.appendChild(o)}function jZ(i,o){var v;i.nodeType===Jn?(v=i.parentNode,v.insertBefore(o,i)):(v=i,v.appendChild(o));var g=i._reactRootContainer;g==null&&v.onclick===null&&eC(v)}function YZ(i,o,v){i.insertBefore(o,v)}function WZ(i,o,v){i.nodeType===Jn?i.parentNode.insertBefore(o,v):i.insertBefore(o,v)}function XZ(i,o){i.removeChild(o)}function qZ(i,o){i.nodeType===Jn?i.parentNode.removeChild(o):i.removeChild(o)}function LD(i,o){var v=o,g=0;do{var C=v.nextSibling;if(i.removeChild(v),C&&C.nodeType===Jn){var T=C.data;if(T===rC)if(g===0){i.removeChild(C),Mt(o);return}else g--;else(T===nC||T===Ty||T===by)&&g++}v=C}while(v);Mt(o)}function QZ(i,o){i.nodeType===Jn?LD(i.parentNode,o):i.nodeType===gi&&LD(i,o),Mt(i)}function ZZ(i){i=i;var o=i.style;typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"}function KZ(i){i.nodeValue=""}function JZ(i,o){i=i;var v=o[DZ],g=v!=null&&v.hasOwnProperty("display")?v.display:null;i.style.display=eh("display",g)}function eK(i,o){i.nodeValue=o}function tK(i){i.nodeType===gi?i.textContent="":i.nodeType===ja&&i.documentElement&&i.removeChild(i.documentElement)}function nK(i,o,v){return i.nodeType!==gi||o.toLowerCase()!==i.nodeName.toLowerCase()?null:i}function rK(i,o){return o===""||i.nodeType!==Yo?null:i}function iK(i){return i.nodeType!==Jn?null:i}function e5(i){return i.data===Ty}function OD(i){return i.data===by}function aK(i){var o=i.nextSibling&&i.nextSibling.dataset,v,g,C;return o&&(v=o.dgst,g=o.msg,C=o.stck),{message:g,digest:v,stack:C}}function oK(i,o){i._reactRetry=o}function iC(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===gi||o===Yo)break;if(o===Jn){var v=i.data;if(v===nC||v===by||v===Ty)break;if(v===rC)return null}}return i}function Ey(i){return iC(i.nextSibling)}function lK(i){return iC(i.firstChild)}function uK(i){return iC(i.firstChild)}function sK(i){return iC(i.nextSibling)}function fK(i,o,v,g,C,T,R){My(T,i),PD(i,v);var k;{var N=C;k=N.namespace}var B=(T.mode&wt)!==Je;return _Z(i,o,v,k,g,B,R)}function cK(i,o,v,g){return My(v,i),v.mode&wt,SZ(i,o)}function dK(i,o){My(o,i)}function vK(i){for(var o=i.nextSibling,v=0;o;){if(o.nodeType===Jn){var g=o.data;if(g===rC){if(v===0)return Ey(o);v--}else(g===nC||g===by||g===Ty)&&v++}o=o.nextSibling}return null}function t5(i){for(var o=i.previousSibling,v=0;o;){if(o.nodeType===Jn){var g=o.data;if(g===nC||g===by||g===Ty){if(v===0)return o;v--}else g===rC&&v++}o=o.previousSibling}return null}function hK(i){Mt(i)}function pK(i){Mt(i)}function gK(i){return i!=="head"&&i!=="body"}function mK(i,o,v,g){var C=!0;JS(o.nodeValue,v,g,C)}function yK(i,o,v,g,C,T){if(o[tC]!==!0){var R=!0;JS(g.nodeValue,C,T,R)}}function _K(i,o){o.nodeType===gi?wD(i,o):o.nodeType===Jn||xD(i,o)}function SK(i,o){{var v=i.parentNode;v!==null&&(o.nodeType===gi?wD(v,o):o.nodeType===Jn||xD(v,o))}}function CK(i,o,v,g,C){(C||o[tC]!==!0)&&(g.nodeType===gi?wD(v,g):g.nodeType===Jn||xD(v,g))}function wK(i,o,v){TD(i,o)}function xK(i,o){bD(i,o)}function TK(i,o,v){{var g=i.parentNode;g!==null&&TD(g,o)}}function bK(i,o){{var v=i.parentNode;v!==null&&bD(v,o)}}function EK(i,o,v,g,C,T){(T||o[tC]!==!0)&&TD(v,g)}function DK(i,o,v,g,C){(C||o[tC]!==!0)&&bD(v,g)}function MK(i){u("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",i.nodeName.toLowerCase())}function RK(i){yy(i)}var op=Math.random().toString(36).slice(2),lp="__reactFiber$"+op,kD="__reactProps$"+op,Dy="__reactContainer$"+op,ND="__reactEvents$"+op,AK="__reactListeners$"+op,LK="__reactHandles$"+op;function OK(i){delete i[lp],delete i[kD],delete i[ND],delete i[AK],delete i[LK]}function My(i,o){o[lp]=i}function aC(i,o){o[Dy]=i}function n5(i){i[Dy]=null}function Ry(i){return!!i[Dy]}function Dd(i){var o=i[lp];if(o)return o;for(var v=i.parentNode;v;){if(o=v[Dy]||v[lp],o){var g=o.alternate;if(o.child!==null||g!==null&&g.child!==null)for(var C=t5(i);C!==null;){var T=C[lp];if(T)return T;C=t5(C)}return o}i=v,v=i.parentNode}return null}function Ef(i){var o=i[lp]||i[Dy];return o&&(o.tag===_||o.tag===w||o.tag===I||o.tag===m)?o:null}function up(i){if(i.tag===_||i.tag===w)return i.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function oC(i){return i[kD]||null}function PD(i,o){i[kD]=o}function kK(i){var o=i[ND];return o===void 0&&(o=i[ND]=new Set),o}var r5={},i5=n.ReactDebugCurrentFrame;function lC(i){if(i){var o=i._owner,v=Ic(i.type,i._source,o?o.type:null);i5.setExtraStackFrame(v)}else i5.setExtraStackFrame(null)}function ol(i,o,v,g,C){{var T=Function.call.bind(Et);for(var R in i)if(T(i,R)){var k=void 0;try{if(typeof i[R]!="function"){var N=Error((g||"React class")+": "+v+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw N.name="Invariant Violation",N}k=i[R](o,R,g,v,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){k=B}k&&!(k instanceof Error)&&(lC(C),u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",g||"React class",v,R,typeof k),lC(null)),k instanceof Error&&!(k.message in r5)&&(r5[k.message]=!0,lC(C),u("Failed %s type: %s",v,k.message),lC(null))}}}var ID=[],uC;uC=[];var cs=-1;function Df(i){return{current:i}}function bi(i,o){if(cs<0){u("Unexpected pop.");return}o!==uC[cs]&&u("Unexpected Fiber popped."),i.current=ID[cs],ID[cs]=null,uC[cs]=null,cs--}function Ei(i,o,v){cs++,ID[cs]=i.current,uC[cs]=v,i.current=o}var zD;zD={};var Qa={};Object.freeze(Qa);var ds=Df(Qa),ou=Df(!1),FD=Qa;function sp(i,o,v){return v&&lu(o)?FD:ds.current}function a5(i,o,v){{var g=i.stateNode;g.__reactInternalMemoizedUnmaskedChildContext=o,g.__reactInternalMemoizedMaskedChildContext=v}}function fp(i,o){{var v=i.type,g=v.contextTypes;if(!g)return Qa;var C=i.stateNode;if(C&&C.__reactInternalMemoizedUnmaskedChildContext===o)return C.__reactInternalMemoizedMaskedChildContext;var T={};for(var R in g)T[R]=o[R];{var k=vt(i)||"Unknown";ol(g,T,"context",k)}return C&&a5(i,o,T),T}}function sC(){return ou.current}function lu(i){{var o=i.childContextTypes;return o!=null}}function fC(i){bi(ou,i),bi(ds,i)}function BD(i){bi(ou,i),bi(ds,i)}function o5(i,o,v){{if(ds.current!==Qa)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ei(ds,o,i),Ei(ou,v,i)}}function l5(i,o,v){{var g=i.stateNode,C=o.childContextTypes;if(typeof g.getChildContext!="function"){{var T=vt(i)||"Unknown";zD[T]||(zD[T]=!0,u("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",T,T))}return v}var R=g.getChildContext();for(var k in R)if(!(k in C))throw new Error((vt(i)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');{var N=vt(i)||"Unknown";ol(C,R,"child context",N)}return Dt({},v,R)}}function cC(i){{var o=i.stateNode,v=o&&o.__reactInternalMemoizedMergedChildContext||Qa;return FD=ds.current,Ei(ds,v,i),Ei(ou,ou.current,i),!0}}function u5(i,o,v){{var g=i.stateNode;if(!g)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(v){var C=l5(i,o,FD);g.__reactInternalMemoizedMergedChildContext=C,bi(ou,i),bi(ds,i),Ei(ds,C,i),Ei(ou,v,i)}else bi(ou,i),Ei(ou,v,i)}}function NK(i){{if(!Om(i)||i.tag!==h)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var o=i;do{switch(o.tag){case m:return o.stateNode.context;case h:{var v=o.type;if(lu(v))return o.stateNode.__reactInternalMemoizedMergedChildContext;break}}o=o.return}while(o!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Mf=0,dC=1,vs=null,UD=!1,VD=!1;function s5(i){vs===null?vs=[i]:vs.push(i)}function PK(i){UD=!0,s5(i)}function f5(){UD&&Rf()}function Rf(){if(!VD&&vs!==null){VD=!0;var i=0,o=Sa();try{var v=!0,g=vs;for(sr($r);i<g.length;i++){var C=g[i];do C=C(v);while(C!==null)}vs=null,UD=!1}catch(T){throw vs!==null&&(vs=vs.slice(i+1)),ch(vh,Rf),T}finally{sr(o),VD=!1}}return null}var cp=[],dp=0,vC=null,hC=0,xo=[],To=0,Md=null,hs=1,ps="";function IK(i){return Ad(),(i.flags&Rm)!==Qe}function zK(i){return Ad(),hC}function FK(){var i=ps,o=hs,v=o&~BK(o);return v.toString(32)+i}function Rd(i,o){Ad(),cp[dp++]=hC,cp[dp++]=vC,vC=i,hC=o}function c5(i,o,v){Ad(),xo[To++]=hs,xo[To++]=ps,xo[To++]=Md,Md=i;var g=hs,C=ps,T=pC(g)-1,R=g&~(1<<T),k=v+1,N=pC(o)+T;if(N>30){var B=T-T%5,V=(1<<B)-1,K=(R&V).toString(32),Q=R>>B,le=T-B,ue=pC(o)+le,de=k<<le,Ie=de|Q,Ze=K+C;hs=1<<ue|Ie,ps=Ze}else{var We=k<<T,Ot=We|R,Rt=C;hs=1<<N|Ot,ps=Rt}}function HD(i){Ad();var o=i.return;if(o!==null){var v=1,g=0;Rd(i,v),c5(i,v,g)}}function pC(i){return 32-_h(i)}function BK(i){return 1<<pC(i)-1}function GD(i){for(;i===vC;)vC=cp[--dp],cp[dp]=null,hC=cp[--dp],cp[dp]=null;for(;i===Md;)Md=xo[--To],xo[To]=null,ps=xo[--To],xo[To]=null,hs=xo[--To],xo[To]=null}function UK(){return Ad(),Md!==null?{id:hs,overflow:ps}:null}function VK(i,o){Ad(),xo[To++]=hs,xo[To++]=ps,xo[To++]=Md,hs=o.id,ps=o.overflow,Md=i}function Ad(){ni()||u("Expected to be hydrating. This is a bug in React. Please file an issue.")}var ti=null,bo=null,ll=!1,Ld=!1,Af=null;function HK(){ll&&u("We should not be hydrating here. This is a bug in React. Please file a bug.")}function d5(){Ld=!0}function GK(){return Ld}function $K(i){var o=i.stateNode.containerInfo;return bo=uK(o),ti=i,ll=!0,Af=null,Ld=!1,!0}function jK(i,o,v){return bo=sK(o),ti=i,ll=!0,Af=null,Ld=!1,v!==null&&VK(i,v),!0}function v5(i,o){switch(i.tag){case m:{_K(i.stateNode.containerInfo,o);break}case _:{var v=(i.mode&wt)!==Je;CK(i.type,i.memoizedProps,i.stateNode,o,v);break}case I:{var g=i.memoizedState;g.dehydrated!==null&&SK(g.dehydrated,o);break}}}function h5(i,o){v5(i,o);var v=Xte();v.stateNode=o,v.return=i;var g=i.deletions;g===null?(i.deletions=[v],i.flags|=qt):g.push(v)}function $D(i,o){{if(Ld)return;switch(i.tag){case m:{var v=i.stateNode.containerInfo;switch(o.tag){case _:var g=o.type;o.pendingProps,wK(v,g);break;case w:var C=o.pendingProps;xK(v,C);break}break}case _:{var T=i.type,R=i.memoizedProps,k=i.stateNode;switch(o.tag){case _:{var N=o.type,B=o.pendingProps,V=(i.mode&wt)!==Je;EK(T,R,k,N,B,V);break}case w:{var K=o.pendingProps,Q=(i.mode&wt)!==Je;DK(T,R,k,K,Q);break}}break}case I:{var le=i.memoizedState,ue=le.dehydrated;if(ue!==null)switch(o.tag){case _:var de=o.type;o.pendingProps,TK(ue,de);break;case w:var Ie=o.pendingProps;bK(ue,Ie);break}break}default:return}}}function p5(i,o){o.flags=o.flags&~pa|Cn,$D(i,o)}function g5(i,o){switch(i.tag){case _:{var v=i.type;i.pendingProps;var g=nK(o,v);return g!==null?(i.stateNode=g,ti=i,bo=lK(g),!0):!1}case w:{var C=i.pendingProps,T=rK(o,C);return T!==null?(i.stateNode=T,ti=i,bo=null,!0):!1}case I:{var R=iK(o);if(R!==null){var k={dehydrated:R,treeContext:UK(),retryLane:xi};i.memoizedState=k;var N=qte(R);return N.return=i,i.child=N,ti=i,bo=null,!0}return!1}default:return!1}}function jD(i){return(i.mode&wt)!==Je&&(i.flags&lt)===Qe}function YD(i){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function WD(i){if(ll){var o=bo;if(!o){jD(i)&&($D(ti,i),YD()),p5(ti,i),ll=!1,ti=i;return}var v=o;if(!g5(i,o)){jD(i)&&($D(ti,i),YD()),o=Ey(v);var g=ti;if(!o||!g5(i,o)){p5(ti,i),ll=!1,ti=i;return}h5(g,v)}}}function YK(i,o,v){var g=i.stateNode,C=!Ld,T=fK(g,i.type,i.memoizedProps,o,v,i,C);return i.updateQueue=T,T!==null}function WK(i){var o=i.stateNode,v=i.memoizedProps,g=cK(o,v,i);if(g){var C=ti;if(C!==null)switch(C.tag){case m:{var T=C.stateNode.containerInfo,R=(C.mode&wt)!==Je;mK(T,o,v,R);break}case _:{var k=C.type,N=C.memoizedProps,B=C.stateNode,V=(C.mode&wt)!==Je;yK(k,N,B,o,v,V);break}}}return g}function XK(i){var o=i.memoizedState,v=o!==null?o.dehydrated:null;if(!v)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");dK(v,i)}function qK(i){var o=i.memoizedState,v=o!==null?o.dehydrated:null;if(!v)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return vK(v)}function m5(i){for(var o=i.return;o!==null&&o.tag!==_&&o.tag!==m&&o.tag!==I;)o=o.return;ti=o}function gC(i){if(i!==ti)return!1;if(!ll)return m5(i),ll=!0,!1;if(i.tag!==m&&(i.tag!==_||gK(i.type)&&!MD(i.type,i.memoizedProps))){var o=bo;if(o)if(jD(i))y5(i),YD();else for(;o;)h5(i,o),o=Ey(o)}return m5(i),i.tag===I?bo=qK(i):bo=ti?Ey(i.stateNode):null,!0}function QK(){return ll&&bo!==null}function y5(i){for(var o=bo;o;)v5(i,o),o=Ey(o)}function vp(){ti=null,bo=null,ll=!1,Ld=!1}function _5(){Af!==null&&(v3(Af),Af=null)}function ni(){return ll}function XD(i){Af===null?Af=[i]:Af.push(i)}var ZK=n.ReactCurrentBatchConfig,KK=null;function JK(){return ZK.transition}var ul={recordUnsafeLifecycleWarnings:function(i,o){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(i,o){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var eJ=function(i){for(var o=null,v=i;v!==null;)v.mode&Fn&&(o=v),v=v.return;return o},Od=function(i){var o=[];return i.forEach(function(v){o.push(v)}),o.sort().join(", ")},Ay=[],Ly=[],Oy=[],ky=[],Ny=[],Py=[],kd=new Set;ul.recordUnsafeLifecycleWarnings=function(i,o){kd.has(i.type)||(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0&&Ay.push(i),i.mode&Fn&&typeof o.UNSAFE_componentWillMount=="function"&&Ly.push(i),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Oy.push(i),i.mode&Fn&&typeof o.UNSAFE_componentWillReceiveProps=="function"&&ky.push(i),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ny.push(i),i.mode&Fn&&typeof o.UNSAFE_componentWillUpdate=="function"&&Py.push(i))},ul.flushPendingUnsafeLifecycleWarnings=function(){var i=new Set;Ay.length>0&&(Ay.forEach(function(Q){i.add(vt(Q)||"Component"),kd.add(Q.type)}),Ay=[]);var o=new Set;Ly.length>0&&(Ly.forEach(function(Q){o.add(vt(Q)||"Component"),kd.add(Q.type)}),Ly=[]);var v=new Set;Oy.length>0&&(Oy.forEach(function(Q){v.add(vt(Q)||"Component"),kd.add(Q.type)}),Oy=[]);var g=new Set;ky.length>0&&(ky.forEach(function(Q){g.add(vt(Q)||"Component"),kd.add(Q.type)}),ky=[]);var C=new Set;Ny.length>0&&(Ny.forEach(function(Q){C.add(vt(Q)||"Component"),kd.add(Q.type)}),Ny=[]);var T=new Set;if(Py.length>0&&(Py.forEach(function(Q){T.add(vt(Q)||"Component"),kd.add(Q.type)}),Py=[]),o.size>0){var R=Od(o);u(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
83
83
 
84
84
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
85
85
 
86
- Please update the following components: %s`,f)}if(i.size>0){var p=ys(i);C(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
86
+ Please update the following components: %s`,R)}if(g.size>0){var k=Od(g);u(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
87
87
 
88
88
  * Move data fetching code or side effects to componentDidUpdate.
89
89
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
90
90
 
91
- Please update the following components: %s`,p)}if(s.size>0){var m=ys(s);C(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
91
+ Please update the following components: %s`,k)}if(T.size>0){var N=Od(T);u(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
92
92
 
93
93
  * Move data fetching code or side effects to componentDidUpdate.
94
94
 
95
- Please update the following components: %s`,m)}if(e.size>0){var S=ys(e);B(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
95
+ Please update the following components: %s`,N)}if(i.size>0){var B=Od(i);l(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
96
96
 
97
97
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
98
98
  * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
99
99
 
100
- Please update the following components: %s`,S)}if(a.size>0){var E=ys(a);B(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
100
+ Please update the following components: %s`,B)}if(v.size>0){var V=Od(v);l(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
101
101
 
102
102
  * Move data fetching code or side effects to componentDidUpdate.
103
103
  * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
104
104
  * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
105
105
 
106
- Please update the following components: %s`,E)}if(u.size>0){var D=ys(u);B(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
106
+ Please update the following components: %s`,V)}if(C.size>0){var K=Od(C);l(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
107
107
 
108
108
  * Move data fetching code or side effects to componentDidUpdate.
109
109
  * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
110
110
 
111
- Please update the following components: %s`,D)}};var Xh=new Map,zC=new Set;ki.recordLegacyContextWarning=function(e,t){var a=kk(e);if(a===null){C("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!zC.has(e.type)){var i=Xh.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Xh.set(a,i)),i.push(e))}},ki.flushLegacyContextWarning=function(){Xh.forEach(function(e,t){if(e.length!==0){var a=e[0],i=new Set;e.forEach(function(s){i.add(He(s)||"Component"),zC.add(s.type)});var u=ys(i);try{St(a),C(`Legacy context API has been detected within a strict-mode tree.
111
+ Please update the following components: %s`,K)}};var mC=new Map,S5=new Set;ul.recordLegacyContextWarning=function(i,o){var v=eJ(i);if(v===null){u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!S5.has(i.type)){var g=mC.get(v);(i.type.contextTypes!=null||i.type.childContextTypes!=null||o!==null&&typeof o.getChildContext=="function")&&(g===void 0&&(g=[],mC.set(v,g)),g.push(i))}},ul.flushLegacyContextWarning=function(){mC.forEach(function(i,o){if(i.length!==0){var v=i[0],g=new Set;i.forEach(function(T){g.add(vt(T)||"Component"),S5.add(T.type)});var C=Od(g);try{ln(v),u(`Legacy context API has been detected within a strict-mode tree.
112
112
 
113
113
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
114
114
 
115
115
  Please update the following components: %s
116
116
 
117
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,u)}finally{sn()}}})},ki.discardPendingWarnings=function(){sp=[],cp=[],fp=[],dp=[],pp=[],vp=[],Xh=new Map}}function Di(e,t){if(e&&e.defaultProps){var a=We({},t),i=e.defaultProps;for(var u in i)a[u]===void 0&&(a[u]=i[u]);return a}return t}var Vg=to(null),Bg;Bg={};var Kh=null,lf=null,Pg=null,Zh=!1;function Jh(){Kh=null,lf=null,Pg=null,Zh=!1}function UC(){Zh=!0}function AC(){Zh=!1}function FC(e,t,a){Nr(Vg,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Bg&&C("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Bg}function $g(e,t){var a=Vg.current;Or(Vg,t),e._currentValue=a}function Ig(e,t,a){for(var i=e;i!==null;){var u=i.alternate;if(Il(i.childLanes,t)?u!==null&&!Il(u.childLanes,t)&&(u.childLanes=Ve(u.childLanes,t)):(i.childLanes=Ve(i.childLanes,t),u!==null&&(u.childLanes=Ve(u.childLanes,t))),i===a)break;i=i.return}i!==a&&C("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Dk(e,t,a){_k(e,t,a)}function _k(e,t,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=void 0,s=i.dependencies;if(s!==null){u=i.child;for(var f=s.firstContext;f!==null;){if(f.context===t){if(i.tag===W){var p=fn(a),m=lu(bt,p);m.tag=tm;var S=i.updateQueue;if(S!==null){var E=S.shared,D=E.pending;D===null?m.next=m:(m.next=D.next,D.next=m),E.pending=m}}i.lanes=Ve(i.lanes,a);var x=i.alternate;x!==null&&(x.lanes=Ve(x.lanes,a)),Ig(i.return,a,e),s.lanes=Ve(s.lanes,a);break}f=f.next}}else if(i.tag===Xe)u=i.type===e.type?null:i.child;else if(i.tag===Qt){var L=i.return;if(L===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");L.lanes=Ve(L.lanes,a);var z=L.alternate;z!==null&&(z.lanes=Ve(z.lanes,a)),Ig(L,a,e),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===e){u=null;break}var H=u.sibling;if(H!==null){H.return=u.return,u=H;break}u=u.return}i=u}}function uf(e,t){Kh=e,lf=null,Pg=null;var a=e.dependencies;if(a!==null){var i=a.firstContext;i!==null&&(_r(a.lanes,t)&&Dp(),a.firstContext=null)}}function kn(e){Zh&&C("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Pg!==e){var a={context:e,memoizedValue:t,next:null};if(lf===null){if(Kh===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");lf=a,Kh.dependencies={lanes:V,firstContext:a}}else lf=lf.next=a}return t}var Ss=null;function Yg(e){Ss===null?Ss=[e]:Ss.push(e)}function Ok(){if(Ss!==null){for(var e=0;e<Ss.length;e++){var t=Ss[e],a=t.interleaved;if(a!==null){t.interleaved=null;var i=a.next,u=t.pending;if(u!==null){var s=u.next;u.next=i,a.next=s}t.pending=a}}Ss=null}}function HC(e,t,a,i){var u=t.interleaved;return u===null?(a.next=a,Yg(t)):(a.next=u.next,u.next=a),t.interleaved=a,em(e,i)}function Nk(e,t,a,i){var u=t.interleaved;u===null?(a.next=a,Yg(t)):(a.next=u.next,u.next=a),t.interleaved=a}function Mk(e,t,a,i){var u=t.interleaved;return u===null?(a.next=a,Yg(t)):(a.next=u.next,u.next=a),t.interleaved=a,em(e,i)}function Sa(e,t){return em(e,t)}var Lk=em;function em(e,t){e.lanes=Ve(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=Ve(a.lanes,t)),a===null&&(e.flags&(Ot|sa))!==Te&&jT(e);for(var i=e,u=e.return;u!==null;)u.childLanes=Ve(u.childLanes,t),a=u.alternate,a!==null?a.childLanes=Ve(a.childLanes,t):(u.flags&(Ot|sa))!==Te&&jT(e),i=u,u=u.return;if(i.tag===K){var s=i.stateNode;return s}else return null}var jC=0,VC=1,tm=2,Qg=3,nm=!1,Wg,rm;Wg=!1,rm=null;function Gg(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:V},effects:null};e.updateQueue=t}function BC(e,t){var a=t.updateQueue,i=e.updateQueue;if(a===i){var u={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=u}}function lu(e,t){var a={eventTime:e,lane:t,tag:jC,payload:null,callback:null,next:null};return a}function io(e,t,a){var i=e.updateQueue;if(i===null)return null;var u=i.shared;if(rm===u&&!Wg&&(C("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Wg=!0),L_()){var s=u.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),u.pending=t,Lk(e,a)}else return Mk(e,u,t,a)}function am(e,t,a){var i=t.updateQueue;if(i!==null){var u=i.shared;if(wd(a)){var s=u.lanes;s=xd(s,e.pendingLanes);var f=Ve(s,a);u.lanes=f,ju(e,f)}}}function qg(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null){var u=i.updateQueue;if(a===u){var s=null,f=null,p=a.firstBaseUpdate;if(p!==null){var m=p;do{var S={eventTime:m.eventTime,lane:m.lane,tag:m.tag,payload:m.payload,callback:m.callback,next:null};f===null?s=f=S:(f.next=S,f=S),m=m.next}while(m!==null);f===null?s=f=t:(f.next=t,f=t)}else s=f=t;a={baseState:u.baseState,firstBaseUpdate:s,lastBaseUpdate:f,shared:u.shared,effects:u.effects},e.updateQueue=a;return}}var E=a.lastBaseUpdate;E===null?a.firstBaseUpdate=t:E.next=t,a.lastBaseUpdate=t}function zk(e,t,a,i,u,s){switch(a.tag){case VC:{var f=a.payload;if(typeof f=="function"){UC();var p=f.call(s,i,u);{if(e.mode&Bt){cn(!0);try{f.call(s,i,u)}finally{cn(!1)}}AC()}return p}return f}case Qg:e.flags=e.flags&~Tn|Ne;case jC:{var m=a.payload,S;if(typeof m=="function"){UC(),S=m.call(s,i,u);{if(e.mode&Bt){cn(!0);try{m.call(s,i,u)}finally{cn(!1)}}AC()}}else S=m;return S==null?i:We({},i,S)}case tm:return nm=!0,i}return i}function im(e,t,a,i){var u=e.updateQueue;nm=!1,rm=u.shared;var s=u.firstBaseUpdate,f=u.lastBaseUpdate,p=u.shared.pending;if(p!==null){u.shared.pending=null;var m=p,S=m.next;m.next=null,f===null?s=S:f.next=S,f=m;var E=e.alternate;if(E!==null){var D=E.updateQueue,x=D.lastBaseUpdate;x!==f&&(x===null?D.firstBaseUpdate=S:x.next=S,D.lastBaseUpdate=m)}}if(s!==null){var L=u.baseState,z=V,H=null,se=null,Re=null,ge=s;do{var et=ge.lane,qe=ge.eventTime;if(Il(i,et)){if(Re!==null){var j={eventTime:qe,lane:Ze,tag:ge.tag,payload:ge.payload,callback:ge.callback,next:null};Re=Re.next=j}L=zk(e,u,ge,L,t,a);var N=ge.callback;if(N!==null&&ge.lane!==Ze){e.flags|=Wa;var G=u.effects;G===null?u.effects=[ge]:G.push(ge)}}else{var O={eventTime:qe,lane:et,tag:ge.tag,payload:ge.payload,callback:ge.callback,next:null};Re===null?(se=Re=O,H=L):Re=Re.next=O,z=Ve(z,et)}if(ge=ge.next,ge===null){if(p=u.shared.pending,p===null)break;var ce=p,re=ce.next;ce.next=null,ge=re,u.lastBaseUpdate=ce,u.shared.pending=null}}while(!0);Re===null&&(H=L),u.baseState=H,u.firstBaseUpdate=se,u.lastBaseUpdate=Re;var Oe=u.shared.interleaved;if(Oe!==null){var Ae=Oe;do z=Ve(z,Ae.lane),Ae=Ae.next;while(Ae!==Oe)}else s===null&&(u.shared.lanes=V);Vp(z),e.lanes=z,e.memoizedState=L}rm=null}function Uk(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function PC(){nm=!1}function lm(){return nm}function $C(e,t,a){var i=t.effects;if(t.effects=null,i!==null)for(var u=0;u<i.length;u++){var s=i[u],f=s.callback;f!==null&&(s.callback=null,Uk(f,a))}}var Xg={},IC=new h.Component().refs,Kg,Zg,Jg,e0,t0,YC,um,n0,r0,a0;{Kg=new Set,Zg=new Set,Jg=new Set,e0=new Set,n0=new Set,t0=new Set,r0=new Set,a0=new Set;var QC=new Set;um=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;QC.has(a)||(QC.add(a),C("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},YC=function(e,t){if(t===void 0){var a=Rt(e)||"Component";t0.has(a)||(t0.add(a),C("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(Xg,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Xg)}function i0(e,t,a,i){var u=e.memoizedState,s=a(i,u);{if(e.mode&Bt){cn(!0);try{s=a(i,u)}finally{cn(!1)}}YC(t,s)}var f=s==null?u:We({},u,s);if(e.memoizedState=f,e.lanes===V){var p=e.updateQueue;p.baseState=f}}var l0={isMounted:$r,enqueueSetState:function(e,t,a){var i=ua(e),u=qr(),s=vo(i),f=lu(u,s);f.payload=t,a!=null&&(um(a,"setState"),f.callback=a);var p=io(i,f,s);p!==null&&($n(p,i,s,u),am(p,i,s)),tl(i,s)},enqueueReplaceState:function(e,t,a){var i=ua(e),u=qr(),s=vo(i),f=lu(u,s);f.tag=VC,f.payload=t,a!=null&&(um(a,"replaceState"),f.callback=a);var p=io(i,f,s);p!==null&&($n(p,i,s,u),am(p,i,s)),tl(i,s)},enqueueForceUpdate:function(e,t){var a=ua(e),i=qr(),u=vo(a),s=lu(i,u);s.tag=tm,t!=null&&(um(t,"forceUpdate"),s.callback=t);var f=io(a,s,u);f!==null&&($n(f,a,u,i),am(f,a,u)),Cd(a,u)}};function WC(e,t,a,i,u,s,f){var p=e.stateNode;if(typeof p.shouldComponentUpdate=="function"){var m=p.shouldComponentUpdate(i,s,f);{if(e.mode&Bt){cn(!0);try{m=p.shouldComponentUpdate(i,s,f)}finally{cn(!1)}}m===void 0&&C("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Rt(t)||"Component")}return m}return t.prototype&&t.prototype.isPureReactComponent?!Ce(a,i)||!Ce(u,s):!0}function Ak(e,t,a){var i=e.stateNode;{var u=Rt(t)||"Component",s=i.render;s||(t.prototype&&typeof t.prototype.render=="function"?C("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):C("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&C("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",u),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&C("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",u),i.propTypes&&C("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),i.contextType&&C("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),i.contextTypes&&C("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),t.contextType&&t.contextTypes&&!r0.has(t)&&(r0.add(t),C("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof i.componentShouldUpdate=="function"&&C("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",u),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate<"u"&&C("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Rt(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&C("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.componentDidReceiveProps=="function"&&C("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",u),typeof i.componentWillRecieveProps=="function"&&C("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps=="function"&&C("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var f=i.props!==a;i.props!==void 0&&f&&C("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),i.defaultProps&&C("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",u,u),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!Jg.has(t)&&(Jg.add(t),C("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Rt(t))),typeof i.getDerivedStateFromProps=="function"&&C("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.getDerivedStateFromError=="function"&&C("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getSnapshotBeforeUpdate=="function"&&C("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var p=i.state;p&&(typeof p!="object"||Cn(p))&&C("%s.state: must be set to an object or null",u),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&C("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function GC(e,t){t.updater=l0,e.stateNode=t,_u(t,e),t._reactInternalInstance=Xg}function qC(e,t,a){var i=!1,u=Fa,s=Fa,f=t.contextType;if("contextType"in t){var p=f===null||f!==void 0&&f.$$typeof===ne&&f._context===void 0;if(!p&&!a0.has(t)){a0.add(t);var m="";f===void 0?m=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof f!="object"?m=" However, it is set to a "+typeof f+".":f.$$typeof===Y?m=" Did you accidentally pass the Context.Provider instead?":f._context!==void 0?m=" Did you accidentally pass the Context.Consumer instead?":m=" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",C("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Rt(t)||"Component",m)}}if(typeof f=="object"&&f!==null)s=kn(f);else{u=ef(e,t,!0);var S=t.contextTypes;i=S!=null,s=i?tf(e,u):Fa}var E=new t(a,s);if(e.mode&Bt){cn(!0);try{E=new t(a,s)}finally{cn(!1)}}var D=e.memoizedState=E.state!==null&&E.state!==void 0?E.state:null;GC(e,E);{if(typeof t.getDerivedStateFromProps=="function"&&D===null){var x=Rt(t)||"Component";Zg.has(x)||(Zg.add(x),C("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",x,E.state===null?"null":"undefined",x))}if(typeof t.getDerivedStateFromProps=="function"||typeof E.getSnapshotBeforeUpdate=="function"){var L=null,z=null,H=null;if(typeof E.componentWillMount=="function"&&E.componentWillMount.__suppressDeprecationWarning!==!0?L="componentWillMount":typeof E.UNSAFE_componentWillMount=="function"&&(L="UNSAFE_componentWillMount"),typeof E.componentWillReceiveProps=="function"&&E.componentWillReceiveProps.__suppressDeprecationWarning!==!0?z="componentWillReceiveProps":typeof E.UNSAFE_componentWillReceiveProps=="function"&&(z="UNSAFE_componentWillReceiveProps"),typeof E.componentWillUpdate=="function"&&E.componentWillUpdate.__suppressDeprecationWarning!==!0?H="componentWillUpdate":typeof E.UNSAFE_componentWillUpdate=="function"&&(H="UNSAFE_componentWillUpdate"),L!==null||z!==null||H!==null){var se=Rt(t)||"Component",Re=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";e0.has(se)||(e0.add(se),C(`Unsafe legacy lifecycles will not be called for components using new component APIs.
117
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,C)}finally{or()}}})},ul.discardPendingWarnings=function(){Ay=[],Ly=[],Oy=[],ky=[],Ny=[],Py=[],mC=new Map}}function sl(i,o){if(i&&i.defaultProps){var v=Dt({},o),g=i.defaultProps;for(var C in g)v[C]===void 0&&(v[C]=g[C]);return v}return o}var qD=Df(null),QD;QD={};var yC=null,hp=null,ZD=null,_C=!1;function SC(){yC=null,hp=null,ZD=null,_C=!1}function C5(){_C=!0}function w5(){_C=!1}function x5(i,o,v){Ei(qD,o._currentValue,i),o._currentValue=v,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==QD&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=QD}function KD(i,o){var v=qD.current;bi(qD,o),i._currentValue=v}function JD(i,o,v){for(var g=i;g!==null;){var C=g.alternate;if(es(g.childLanes,o)?C!==null&&!es(C.childLanes,o)&&(C.childLanes=gt(C.childLanes,o)):(g.childLanes=gt(g.childLanes,o),C!==null&&(C.childLanes=gt(C.childLanes,o))),g===v)break;g=g.return}g!==v&&u("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function tJ(i,o,v){nJ(i,o,v)}function nJ(i,o,v){var g=i.child;for(g!==null&&(g.return=i);g!==null;){var C=void 0,T=g.dependencies;if(T!==null){C=g.child;for(var R=T.firstContext;R!==null;){if(R.context===o){if(g.tag===h){var k=ur(v),N=gs(gn,k);N.tag=wC;var B=g.updateQueue;if(B!==null){var V=B.shared,K=V.pending;K===null?N.next=N:(N.next=K.next,K.next=N),V.pending=N}}g.lanes=gt(g.lanes,v);var Q=g.alternate;Q!==null&&(Q.lanes=gt(Q.lanes,v)),JD(g.return,v,i),T.lanes=gt(T.lanes,v);break}R=R.next}}else if(g.tag===A)C=g.type===i.type?null:g.child;else if(g.tag===X){var le=g.return;if(le===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");le.lanes=gt(le.lanes,v);var ue=le.alternate;ue!==null&&(ue.lanes=gt(ue.lanes,v)),JD(le,v,i),C=g.sibling}else C=g.child;if(C!==null)C.return=g;else for(C=g;C!==null;){if(C===i){C=null;break}var de=C.sibling;if(de!==null){de.return=C.return,C=de;break}C=C.return}g=C}}function pp(i,o){yC=i,hp=null,ZD=null;var v=i.dependencies;if(v!==null){var g=v.firstContext;g!==null&&(Ti(v.lanes,o)&&qy(),v.firstContext=null)}}function xr(i){_C&&u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var o=i._currentValue;if(ZD!==i){var v={context:i,memoizedValue:o,next:null};if(hp===null){if(yC===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");hp=v,yC.dependencies={lanes:he,firstContext:v}}else hp=hp.next=v}return o}var Nd=null;function eM(i){Nd===null?Nd=[i]:Nd.push(i)}function rJ(){if(Nd!==null){for(var i=0;i<Nd.length;i++){var o=Nd[i],v=o.interleaved;if(v!==null){o.interleaved=null;var g=v.next,C=o.pending;if(C!==null){var T=C.next;C.next=g,v.next=T}o.pending=v}}Nd=null}}function T5(i,o,v,g){var C=o.interleaved;return C===null?(v.next=v,eM(o)):(v.next=C.next,C.next=v),o.interleaved=v,CC(i,g)}function iJ(i,o,v,g){var C=o.interleaved;C===null?(v.next=v,eM(o)):(v.next=C.next,C.next=v),o.interleaved=v}function aJ(i,o,v,g){var C=o.interleaved;return C===null?(v.next=v,eM(o)):(v.next=C.next,C.next=v),o.interleaved=v,CC(i,g)}function ba(i,o){return CC(i,o)}var oJ=CC;function CC(i,o){i.lanes=gt(i.lanes,o);var v=i.alternate;v!==null&&(v.lanes=gt(v.lanes,o)),v===null&&(i.flags&(Cn|pa))!==Qe&&b3(i);for(var g=i,C=i.return;C!==null;)C.childLanes=gt(C.childLanes,o),v=C.alternate,v!==null?v.childLanes=gt(v.childLanes,o):(C.flags&(Cn|pa))!==Qe&&b3(i),g=C,C=C.return;if(g.tag===m){var T=g.stateNode;return T}else return null}var b5=0,E5=1,wC=2,tM=3,xC=!1,nM,TC;nM=!1,TC=null;function rM(i){var o={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:he},effects:null};i.updateQueue=o}function D5(i,o){var v=o.updateQueue,g=i.updateQueue;if(v===g){var C={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects};o.updateQueue=C}}function gs(i,o){var v={eventTime:i,lane:o,tag:b5,payload:null,callback:null,next:null};return v}function Lf(i,o,v){var g=i.updateQueue;if(g===null)return null;var C=g.shared;if(TC===C&&!nM&&(u("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),nM=!0),ote()){var T=C.pending;return T===null?o.next=o:(o.next=T.next,T.next=o),C.pending=o,oJ(i,v)}else return aJ(i,C,o,v)}function bC(i,o,v){var g=o.updateQueue;if(g!==null){var C=g.shared;if(jm(v)){var T=C.lanes;T=Wm(T,i.pendingLanes);var R=gt(T,v);C.lanes=R,cf(i,R)}}}function iM(i,o){var v=i.updateQueue,g=i.alternate;if(g!==null){var C=g.updateQueue;if(v===C){var T=null,R=null,k=v.firstBaseUpdate;if(k!==null){var N=k;do{var B={eventTime:N.eventTime,lane:N.lane,tag:N.tag,payload:N.payload,callback:N.callback,next:null};R===null?T=R=B:(R.next=B,R=B),N=N.next}while(N!==null);R===null?T=R=o:(R.next=o,R=o)}else T=R=o;v={baseState:C.baseState,firstBaseUpdate:T,lastBaseUpdate:R,shared:C.shared,effects:C.effects},i.updateQueue=v;return}}var V=v.lastBaseUpdate;V===null?v.firstBaseUpdate=o:V.next=o,v.lastBaseUpdate=o}function lJ(i,o,v,g,C,T){switch(v.tag){case E5:{var R=v.payload;if(typeof R=="function"){C5();var k=R.call(T,g,C);{if(i.mode&Fn){lr(!0);try{R.call(T,g,C)}finally{lr(!1)}}w5()}return k}return R}case tM:i.flags=i.flags&~yr|lt;case b5:{var N=v.payload,B;if(typeof N=="function"){C5(),B=N.call(T,g,C);{if(i.mode&Fn){lr(!0);try{N.call(T,g,C)}finally{lr(!1)}}w5()}}else B=N;return B==null?g:Dt({},g,B)}case wC:return xC=!0,g}return g}function EC(i,o,v,g){var C=i.updateQueue;xC=!1,TC=C.shared;var T=C.firstBaseUpdate,R=C.lastBaseUpdate,k=C.shared.pending;if(k!==null){C.shared.pending=null;var N=k,B=N.next;N.next=null,R===null?T=B:R.next=B,R=N;var V=i.alternate;if(V!==null){var K=V.updateQueue,Q=K.lastBaseUpdate;Q!==R&&(Q===null?K.firstBaseUpdate=B:Q.next=B,K.lastBaseUpdate=N)}}if(T!==null){var le=C.baseState,ue=he,de=null,Ie=null,Ze=null,We=T;do{var Ot=We.lane,Rt=We.eventTime;if(es(g,Ot)){if(Ze!==null){var ve={eventTime:Rt,lane:At,tag:We.tag,payload:We.payload,callback:We.callback,next:null};Ze=Ze.next=ve}le=lJ(i,C,We,le,o,v);var re=We.callback;if(re!==null&&We.lane!==At){i.flags|=mo;var xe=C.effects;xe===null?C.effects=[We]:xe.push(We)}}else{var ne={eventTime:Rt,lane:Ot,tag:We.tag,payload:We.payload,callback:We.callback,next:null};Ze===null?(Ie=Ze=ne,de=le):Ze=Ze.next=ne,ue=gt(ue,Ot)}if(We=We.next,We===null){if(k=C.shared.pending,k===null)break;var ze=k,Ae=ze.next;ze.next=null,We=Ae,C.lastBaseUpdate=ze,C.shared.pending=null}}while(!0);Ze===null&&(de=le),C.baseState=de,C.firstBaseUpdate=Ie,C.lastBaseUpdate=Ze;var at=C.shared.interleaved;if(at!==null){var dt=at;do ue=gt(ue,dt.lane),dt=dt.next;while(dt!==at)}else T===null&&(C.shared.lanes=he);l0(ue),i.lanes=ue,i.memoizedState=le}TC=null}function uJ(i,o){if(typeof i!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+i));i.call(o)}function M5(){xC=!1}function DC(){return xC}function R5(i,o,v){var g=o.effects;if(o.effects=null,g!==null)for(var C=0;C<g.length;C++){var T=g[C],R=T.callback;R!==null&&(T.callback=null,uJ(R,v))}}var aM={},A5=new t.Component().refs,oM,lM,uM,sM,fM,L5,MC,cM,dM,vM;{oM=new Set,lM=new Set,uM=new Set,sM=new Set,cM=new Set,fM=new Set,dM=new Set,vM=new Set;var O5=new Set;MC=function(i,o){if(!(i===null||typeof i=="function")){var v=o+"_"+i;O5.has(v)||(O5.add(v),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i))}},L5=function(i,o){if(o===void 0){var v=hn(i)||"Component";fM.has(v)||(fM.add(v),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",v))}},Object.defineProperty(aM,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(aM)}function hM(i,o,v,g){var C=i.memoizedState,T=v(g,C);{if(i.mode&Fn){lr(!0);try{T=v(g,C)}finally{lr(!1)}}L5(o,T)}var R=T==null?C:Dt({},C,T);if(i.memoizedState=R,i.lanes===he){var k=i.updateQueue;k.baseState=R}}var pM={isMounted:Gi,enqueueSetState:function(i,o,v){var g=va(i),C=qi(),T=Bf(g),R=gs(C,T);R.payload=o,v!=null&&(MC(v,"setState"),R.callback=v);var k=Lf(g,R,T);k!==null&&(Ir(k,g,T,C),bC(k,g,T)),Zl(g,T)},enqueueReplaceState:function(i,o,v){var g=va(i),C=qi(),T=Bf(g),R=gs(C,T);R.tag=E5,R.payload=o,v!=null&&(MC(v,"replaceState"),R.callback=v);var k=Lf(g,R,T);k!==null&&(Ir(k,g,T,C),bC(k,g,T)),Zl(g,T)},enqueueForceUpdate:function(i,o){var v=va(i),g=qi(),C=Bf(v),T=gs(g,C);T.tag=wC,o!=null&&(MC(o,"forceUpdate"),T.callback=o);var R=Lf(v,T,C);R!==null&&(Ir(R,v,C,g),bC(R,v,C)),Vm(v,C)}};function k5(i,o,v,g,C,T,R){var k=i.stateNode;if(typeof k.shouldComponentUpdate=="function"){var N=k.shouldComponentUpdate(g,T,R);{if(i.mode&Fn){lr(!0);try{N=k.shouldComponentUpdate(g,T,R)}finally{lr(!1)}}N===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",hn(o)||"Component")}return N}return o.prototype&&o.prototype.isPureReactComponent?!Xe(v,g)||!Xe(C,T):!0}function sJ(i,o,v){var g=i.stateNode;{var C=hn(o)||"Component",T=g.render;T||(o.prototype&&typeof o.prototype.render=="function"?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",C):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",C)),g.getInitialState&&!g.getInitialState.isReactClassApproved&&!g.state&&u("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",C),g.getDefaultProps&&!g.getDefaultProps.isReactClassApproved&&u("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",C),g.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",C),g.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",C),g.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",C),o.contextType&&o.contextTypes&&!dM.has(o)&&(dM.add(o),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",C)),typeof g.componentShouldUpdate=="function"&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",C),o.prototype&&o.prototype.isPureReactComponent&&typeof g.shouldComponentUpdate<"u"&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",hn(o)||"A pure component"),typeof g.componentDidUnmount=="function"&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",C),typeof g.componentDidReceiveProps=="function"&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",C),typeof g.componentWillRecieveProps=="function"&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",C),typeof g.UNSAFE_componentWillRecieveProps=="function"&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",C);var R=g.props!==v;g.props!==void 0&&R&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",C,C),g.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",C,C),typeof g.getSnapshotBeforeUpdate=="function"&&typeof g.componentDidUpdate!="function"&&!uM.has(o)&&(uM.add(o),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",hn(o))),typeof g.getDerivedStateFromProps=="function"&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",C),typeof g.getDerivedStateFromError=="function"&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",C),typeof o.getSnapshotBeforeUpdate=="function"&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",C);var k=g.state;k&&(typeof k!="object"||gr(k))&&u("%s.state: must be set to an object or null",C),typeof g.getChildContext=="function"&&typeof o.childContextTypes!="object"&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",C)}}function N5(i,o){o.updater=pM,i.stateNode=o,ef(o,i),o._reactInternalInstance=aM}function P5(i,o,v){var g=!1,C=Qa,T=Qa,R=o.contextType;if("contextType"in o){var k=R===null||R!==void 0&&R.$$typeof===Me&&R._context===void 0;if(!k&&!vM.has(o)){vM.add(o);var N="";R===void 0?N=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof R!="object"?N=" However, it is set to a "+typeof R+".":R.$$typeof===Ce?N=" Did you accidentally pass the Context.Provider instead?":R._context!==void 0?N=" Did you accidentally pass the Context.Consumer instead?":N=" However, it is set to an object with keys {"+Object.keys(R).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",hn(o)||"Component",N)}}if(typeof R=="object"&&R!==null)T=xr(R);else{C=sp(i,o,!0);var B=o.contextTypes;g=B!=null,T=g?fp(i,C):Qa}var V=new o(v,T);if(i.mode&Fn){lr(!0);try{V=new o(v,T)}finally{lr(!1)}}var K=i.memoizedState=V.state!==null&&V.state!==void 0?V.state:null;N5(i,V);{if(typeof o.getDerivedStateFromProps=="function"&&K===null){var Q=hn(o)||"Component";lM.has(Q)||(lM.add(Q),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Q,V.state===null?"null":"undefined",Q))}if(typeof o.getDerivedStateFromProps=="function"||typeof V.getSnapshotBeforeUpdate=="function"){var le=null,ue=null,de=null;if(typeof V.componentWillMount=="function"&&V.componentWillMount.__suppressDeprecationWarning!==!0?le="componentWillMount":typeof V.UNSAFE_componentWillMount=="function"&&(le="UNSAFE_componentWillMount"),typeof V.componentWillReceiveProps=="function"&&V.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ue="componentWillReceiveProps":typeof V.UNSAFE_componentWillReceiveProps=="function"&&(ue="UNSAFE_componentWillReceiveProps"),typeof V.componentWillUpdate=="function"&&V.componentWillUpdate.__suppressDeprecationWarning!==!0?de="componentWillUpdate":typeof V.UNSAFE_componentWillUpdate=="function"&&(de="UNSAFE_componentWillUpdate"),le!==null||ue!==null||de!==null){var Ie=hn(o)||"Component",Ze=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";sM.has(Ie)||(sM.add(Ie),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
118
118
 
119
119
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
120
120
 
121
121
  The above lifecycles should be removed. Learn more about this warning here:
122
- https://reactjs.org/link/unsafe-component-lifecycles`,se,Re,L!==null?`
123
- `+L:"",z!==null?`
124
- `+z:"",H!==null?`
125
- `+H:""))}}}return i&&SC(e,u,s),E}function Fk(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(C("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",He(e)||"Component"),l0.enqueueReplaceState(t,t.state,null))}function XC(e,t,a,i){var u=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==u){{var s=He(e)||"Component";Kg.has(s)||(Kg.add(s),C("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s))}l0.enqueueReplaceState(t,t.state,null)}}function u0(e,t,a,i){Ak(e,t,a);var u=e.stateNode;u.props=a,u.state=e.memoizedState,u.refs=IC,Gg(e);var s=t.contextType;if(typeof s=="object"&&s!==null)u.context=kn(s);else{var f=ef(e,t,!0);u.context=tf(e,f)}{if(u.state===a){var p=Rt(t)||"Component";n0.has(p)||(n0.add(p),C("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",p))}e.mode&Bt&&ki.recordLegacyContextWarning(e,u),ki.recordUnsafeLifecycleWarnings(e,u)}u.state=e.memoizedState;var m=t.getDerivedStateFromProps;if(typeof m=="function"&&(i0(e,t,m,a),u.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(Fk(e,u),im(e,a,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"){var S=je;S|=Rr,(e.mode&da)!==xe&&(S|=wr),e.flags|=S}}function Hk(e,t,a,i){var u=e.stateNode,s=e.memoizedProps;u.props=s;var f=u.context,p=t.contextType,m=Fa;if(typeof p=="object"&&p!==null)m=kn(p);else{var S=ef(e,t,!0);m=tf(e,S)}var E=t.getDerivedStateFromProps,D=typeof E=="function"||typeof u.getSnapshotBeforeUpdate=="function";!D&&(typeof u.UNSAFE_componentWillReceiveProps=="function"||typeof u.componentWillReceiveProps=="function")&&(s!==a||f!==m)&&XC(e,u,a,m),PC();var x=e.memoizedState,L=u.state=x;if(im(e,a,u,i),L=e.memoizedState,s===a&&x===L&&!Ph()&&!lm()){if(typeof u.componentDidMount=="function"){var z=je;z|=Rr,(e.mode&da)!==xe&&(z|=wr),e.flags|=z}return!1}typeof E=="function"&&(i0(e,t,E,a),L=e.memoizedState);var H=lm()||WC(e,t,s,a,x,L,m);if(H){if(!D&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"){var se=je;se|=Rr,(e.mode&da)!==xe&&(se|=wr),e.flags|=se}}else{if(typeof u.componentDidMount=="function"){var Re=je;Re|=Rr,(e.mode&da)!==xe&&(Re|=wr),e.flags|=Re}e.memoizedProps=a,e.memoizedState=L}return u.props=a,u.state=L,u.context=m,H}function jk(e,t,a,i,u){var s=t.stateNode;BC(e,t);var f=t.memoizedProps,p=t.type===t.elementType?f:Di(t.type,f);s.props=p;var m=t.pendingProps,S=s.context,E=a.contextType,D=Fa;if(typeof E=="object"&&E!==null)D=kn(E);else{var x=ef(t,a,!0);D=tf(t,x)}var L=a.getDerivedStateFromProps,z=typeof L=="function"||typeof s.getSnapshotBeforeUpdate=="function";!z&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(f!==m||S!==D)&&XC(t,s,i,D),PC();var H=t.memoizedState,se=s.state=H;if(im(t,i,s,u),se=t.memoizedState,f===m&&H===se&&!Ph()&&!lm()&&!we)return typeof s.componentDidUpdate=="function"&&(f!==e.memoizedProps||H!==e.memoizedState)&&(t.flags|=je),typeof s.getSnapshotBeforeUpdate=="function"&&(f!==e.memoizedProps||H!==e.memoizedState)&&(t.flags|=oa),!1;typeof L=="function"&&(i0(t,a,L,i),se=t.memoizedState);var Re=lm()||WC(t,a,p,i,H,se,D)||we;return Re?(!z&&(typeof s.UNSAFE_componentWillUpdate=="function"||typeof s.componentWillUpdate=="function")&&(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,se,D),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,se,D)),typeof s.componentDidUpdate=="function"&&(t.flags|=je),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=oa)):(typeof s.componentDidUpdate=="function"&&(f!==e.memoizedProps||H!==e.memoizedState)&&(t.flags|=je),typeof s.getSnapshotBeforeUpdate=="function"&&(f!==e.memoizedProps||H!==e.memoizedState)&&(t.flags|=oa),t.memoizedProps=i,t.memoizedState=se),s.props=i,s.state=se,s.context=D,Re}var o0,s0,c0,f0,d0,KC=function(e,t){};o0=!1,s0=!1,c0={},f0={},d0={},KC=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=He(t)||"Component";f0[a]||(f0[a]=!0,C('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function hp(e,t,a){var i=a.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&Bt||ir)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)){var u=He(e)||"Component";c0[u]||(C('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',i),c0[u]=!0)}if(a._owner){var s=a._owner,f;if(s){var p=s;if(p.tag!==W)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");f=p.stateNode}if(!f)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var m=f;ui(i,"ref");var S=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===S)return t.ref;var E=function(D){var x=m.refs;x===IC&&(x=m.refs={}),D===null?delete x[S]:x[S]=D};return E._stringRef=S,E}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
122
+ https://reactjs.org/link/unsafe-component-lifecycles`,Ie,Ze,le!==null?`
123
+ `+le:"",ue!==null?`
124
+ `+ue:"",de!==null?`
125
+ `+de:""))}}}return g&&a5(i,C,T),V}function fJ(i,o){var v=o.state;typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),v!==o.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",vt(i)||"Component"),pM.enqueueReplaceState(o,o.state,null))}function I5(i,o,v,g){var C=o.state;if(typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(v,g),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(v,g),o.state!==C){{var T=vt(i)||"Component";oM.has(T)||(oM.add(T),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",T))}pM.enqueueReplaceState(o,o.state,null)}}function gM(i,o,v,g){sJ(i,o,v);var C=i.stateNode;C.props=v,C.state=i.memoizedState,C.refs=A5,rM(i);var T=o.contextType;if(typeof T=="object"&&T!==null)C.context=xr(T);else{var R=sp(i,o,!0);C.context=fp(i,R)}{if(C.state===v){var k=hn(o)||"Component";cM.has(k)||(cM.add(k),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",k))}i.mode&Fn&&ul.recordLegacyContextWarning(i,C),ul.recordUnsafeLifecycleWarnings(i,C)}C.state=i.memoizedState;var N=o.getDerivedStateFromProps;if(typeof N=="function"&&(hM(i,o,N,v),C.state=i.memoizedState),typeof o.getDerivedStateFromProps!="function"&&typeof C.getSnapshotBeforeUpdate!="function"&&(typeof C.UNSAFE_componentWillMount=="function"||typeof C.componentWillMount=="function")&&(fJ(i,C),EC(i,v,C,g),C.state=i.memoizedState),typeof C.componentDidMount=="function"){var B=pt;B|=yi,(i.mode&ya)!==Je&&(B|=_i),i.flags|=B}}function cJ(i,o,v,g){var C=i.stateNode,T=i.memoizedProps;C.props=T;var R=C.context,k=o.contextType,N=Qa;if(typeof k=="object"&&k!==null)N=xr(k);else{var B=sp(i,o,!0);N=fp(i,B)}var V=o.getDerivedStateFromProps,K=typeof V=="function"||typeof C.getSnapshotBeforeUpdate=="function";!K&&(typeof C.UNSAFE_componentWillReceiveProps=="function"||typeof C.componentWillReceiveProps=="function")&&(T!==v||R!==N)&&I5(i,C,v,N),M5();var Q=i.memoizedState,le=C.state=Q;if(EC(i,v,C,g),le=i.memoizedState,T===v&&Q===le&&!sC()&&!DC()){if(typeof C.componentDidMount=="function"){var ue=pt;ue|=yi,(i.mode&ya)!==Je&&(ue|=_i),i.flags|=ue}return!1}typeof V=="function"&&(hM(i,o,V,v),le=i.memoizedState);var de=DC()||k5(i,o,T,v,Q,le,N);if(de){if(!K&&(typeof C.UNSAFE_componentWillMount=="function"||typeof C.componentWillMount=="function")&&(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"){var Ie=pt;Ie|=yi,(i.mode&ya)!==Je&&(Ie|=_i),i.flags|=Ie}}else{if(typeof C.componentDidMount=="function"){var Ze=pt;Ze|=yi,(i.mode&ya)!==Je&&(Ze|=_i),i.flags|=Ze}i.memoizedProps=v,i.memoizedState=le}return C.props=v,C.state=le,C.context=N,de}function dJ(i,o,v,g,C){var T=o.stateNode;D5(i,o);var R=o.memoizedProps,k=o.type===o.elementType?R:sl(o.type,R);T.props=k;var N=o.pendingProps,B=T.context,V=v.contextType,K=Qa;if(typeof V=="object"&&V!==null)K=xr(V);else{var Q=sp(o,v,!0);K=fp(o,Q)}var le=v.getDerivedStateFromProps,ue=typeof le=="function"||typeof T.getSnapshotBeforeUpdate=="function";!ue&&(typeof T.UNSAFE_componentWillReceiveProps=="function"||typeof T.componentWillReceiveProps=="function")&&(R!==N||B!==K)&&I5(o,T,g,K),M5();var de=o.memoizedState,Ie=T.state=de;if(EC(o,g,T,C),Ie=o.memoizedState,R===N&&de===Ie&&!sC()&&!DC()&&!ge)return typeof T.componentDidUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=pt),typeof T.getSnapshotBeforeUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=ha),!1;typeof le=="function"&&(hM(o,v,le,g),Ie=o.memoizedState);var Ze=DC()||k5(o,v,k,g,de,Ie,K)||ge;return Ze?(!ue&&(typeof T.UNSAFE_componentWillUpdate=="function"||typeof T.componentWillUpdate=="function")&&(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(g,Ie,K),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(g,Ie,K)),typeof T.componentDidUpdate=="function"&&(o.flags|=pt),typeof T.getSnapshotBeforeUpdate=="function"&&(o.flags|=ha)):(typeof T.componentDidUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=pt),typeof T.getSnapshotBeforeUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=ha),o.memoizedProps=g,o.memoizedState=Ie),T.props=g,T.state=Ie,T.context=K,Ze}var mM,yM,_M,SM,CM,z5=function(i,o){};mM=!1,yM=!1,_M={},SM={},CM={},z5=function(i,o){if(!(i===null||typeof i!="object")&&!(!i._store||i._store.validated||i.key!=null)){if(typeof i._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");i._store.validated=!0;var v=vt(o)||"Component";SM[v]||(SM[v]=!0,u('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Iy(i,o,v){var g=v.ref;if(g!==null&&typeof g!="function"&&typeof g!="object"){if((i.mode&Fn||It)&&!(v._owner&&v._self&&v._owner.stateNode!==v._self)){var C=vt(i)||"Component";_M[C]||(u('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',g),_M[C]=!0)}if(v._owner){var T=v._owner,R;if(T){var k=T;if(k.tag!==h)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");R=k.stateNode}if(!R)throw new Error("Missing owner for string ref "+g+". This error is likely caused by a bug in React. Please file an issue.");var N=R;Ho(g,"ref");var B=""+g;if(o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===B)return o.ref;var V=function(K){var Q=N.refs;Q===A5&&(Q=N.refs={}),K===null?delete Q[B]:Q[B]=K};return V._stringRef=B,V}else{if(typeof g!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!v._owner)throw new Error("Element ref was specified as a string ("+g+`) but no owner was set. This could happen for one of the following reasons:
126
126
  1. You may be adding a ref to a function component
127
127
  2. You may be adding a ref to a component that was not created inside a component's render method
128
128
  3. You have multiple copies of React loaded
129
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function om(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function sm(e){{var t=He(e)||"Component";if(d0[t])return;d0[t]=!0,C("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function ZC(e){var t=e._payload,a=e._init;return a(t)}function JC(e){function t(O,j){if(e){var N=O.deletions;N===null?(O.deletions=[j],O.flags|=dt):N.push(j)}}function a(O,j){if(!e)return null;for(var N=j;N!==null;)t(O,N),N=N.sibling;return null}function i(O,j){for(var N=new Map,G=j;G!==null;)G.key!==null?N.set(G.key,G):N.set(G.index,G),G=G.sibling;return N}function u(O,j){var N=ks(O,j);return N.index=0,N.sibling=null,N}function s(O,j,N){if(O.index=N,!e)return O.flags|=od,j;var G=O.alternate;if(G!==null){var ce=G.index;return ce<j?(O.flags|=Ot,j):ce}else return O.flags|=Ot,j}function f(O){return e&&O.alternate===null&&(O.flags|=Ot),O}function p(O,j,N,G){if(j===null||j.tag!==de){var ce=jS(N,O.mode,G);return ce.return=O,ce}else{var re=u(j,N);return re.return=O,re}}function m(O,j,N,G){var ce=N.type;if(ce===Da)return E(O,j,N.props.children,G,N.key);if(j!==null&&(j.elementType===ce||$T(j,N)||typeof ce=="object"&&ce!==null&&ce.$$typeof===ke&&ZC(ce)===j.type)){var re=u(j,N.props);return re.ref=hp(O,j,N),re.return=O,re._debugSource=N._source,re._debugOwner=N._owner,re}var Oe=HS(N,O.mode,G);return Oe.ref=hp(O,j,N),Oe.return=O,Oe}function S(O,j,N,G){if(j===null||j.tag!==ae||j.stateNode.containerInfo!==N.containerInfo||j.stateNode.implementation!==N.implementation){var ce=VS(N,O.mode,G);return ce.return=O,ce}else{var re=u(j,N.children||[]);return re.return=O,re}}function E(O,j,N,G,ce){if(j===null||j.tag!==tt){var re=mo(N,O.mode,G,ce);return re.return=O,re}else{var Oe=u(j,N);return Oe.return=O,Oe}}function D(O,j,N){if(typeof j=="string"&&j!==""||typeof j=="number"){var G=jS(""+j,O.mode,N);return G.return=O,G}if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Fi:{var ce=HS(j,O.mode,N);return ce.ref=hp(O,null,j),ce.return=O,ce}case jr:{var re=VS(j,O.mode,N);return re.return=O,re}case ke:{var Oe=j._payload,Ae=j._init;return D(O,Ae(Oe),N)}}if(Cn(j)||oi(j)){var Et=mo(j,O.mode,N,null);return Et.return=O,Et}om(O,j)}return typeof j=="function"&&sm(O),null}function x(O,j,N,G){var ce=j!==null?j.key:null;if(typeof N=="string"&&N!==""||typeof N=="number")return ce!==null?null:p(O,j,""+N,G);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Fi:return N.key===ce?m(O,j,N,G):null;case jr:return N.key===ce?S(O,j,N,G):null;case ke:{var re=N._payload,Oe=N._init;return x(O,j,Oe(re),G)}}if(Cn(N)||oi(N))return ce!==null?null:E(O,j,N,G,null);om(O,N)}return typeof N=="function"&&sm(O),null}function L(O,j,N,G,ce){if(typeof G=="string"&&G!==""||typeof G=="number"){var re=O.get(N)||null;return p(j,re,""+G,ce)}if(typeof G=="object"&&G!==null){switch(G.$$typeof){case Fi:{var Oe=O.get(G.key===null?N:G.key)||null;return m(j,Oe,G,ce)}case jr:{var Ae=O.get(G.key===null?N:G.key)||null;return S(j,Ae,G,ce)}case ke:var Et=G._payload,ot=G._init;return L(O,j,N,ot(Et),ce)}if(Cn(G)||oi(G)){var hn=O.get(N)||null;return E(j,hn,G,ce,null)}om(j,G)}return typeof G=="function"&&sm(j),null}function z(O,j,N){{if(typeof O!="object"||O===null)return j;switch(O.$$typeof){case Fi:case jr:KC(O,N);var G=O.key;if(typeof G!="string")break;if(j===null){j=new Set,j.add(G);break}if(!j.has(G)){j.add(G);break}C("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",G);break;case ke:var ce=O._payload,re=O._init;z(re(ce),j,N);break}}return j}function H(O,j,N,G){for(var ce=null,re=0;re<N.length;re++){var Oe=N[re];ce=z(Oe,ce,O)}for(var Ae=null,Et=null,ot=j,hn=0,st=0,ln=null;ot!==null&&st<N.length;st++){ot.index>st?(ln=ot,ot=null):ln=ot.sibling;var Lr=x(O,ot,N[st],G);if(Lr===null){ot===null&&(ot=ln);break}e&&ot&&Lr.alternate===null&&t(O,ot),hn=s(Lr,hn,st),Et===null?Ae=Lr:Et.sibling=Lr,Et=Lr,ot=ln}if(st===N.length){if(a(O,ot),sr()){var mr=st;vs(O,mr)}return Ae}if(ot===null){for(;st<N.length;st++){var ja=D(O,N[st],G);ja!==null&&(hn=s(ja,hn,st),Et===null?Ae=ja:Et.sibling=ja,Et=ja)}if(sr()){var Xr=st;vs(O,Xr)}return Ae}for(var Kr=i(O,ot);st<N.length;st++){var zr=L(Kr,O,st,N[st],G);zr!==null&&(e&&zr.alternate!==null&&Kr.delete(zr.key===null?st:zr.key),hn=s(zr,hn,st),Et===null?Ae=zr:Et.sibling=zr,Et=zr)}if(e&&Kr.forEach(function(wf){return t(O,wf)}),sr()){var du=st;vs(O,du)}return Ae}function se(O,j,N,G){var ce=oi(N);if(typeof ce!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&N[Symbol.toStringTag]==="Generator"&&(s0||C("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),s0=!0),N.entries===ce&&(o0||C("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),o0=!0);var re=ce.call(N);if(re)for(var Oe=null,Ae=re.next();!Ae.done;Ae=re.next()){var Et=Ae.value;Oe=z(Et,Oe,O)}}var ot=ce.call(N);if(ot==null)throw new Error("An iterable object provided no iterator.");for(var hn=null,st=null,ln=j,Lr=0,mr=0,ja=null,Xr=ot.next();ln!==null&&!Xr.done;mr++,Xr=ot.next()){ln.index>mr?(ja=ln,ln=null):ja=ln.sibling;var Kr=x(O,ln,Xr.value,G);if(Kr===null){ln===null&&(ln=ja);break}e&&ln&&Kr.alternate===null&&t(O,ln),Lr=s(Kr,Lr,mr),st===null?hn=Kr:st.sibling=Kr,st=Kr,ln=ja}if(Xr.done){if(a(O,ln),sr()){var zr=mr;vs(O,zr)}return hn}if(ln===null){for(;!Xr.done;mr++,Xr=ot.next()){var du=D(O,Xr.value,G);du!==null&&(Lr=s(du,Lr,mr),st===null?hn=du:st.sibling=du,st=du)}if(sr()){var wf=mr;vs(O,wf)}return hn}for(var Yp=i(O,ln);!Xr.done;mr++,Xr=ot.next()){var Sl=L(Yp,O,mr,Xr.value,G);Sl!==null&&(e&&Sl.alternate!==null&&Yp.delete(Sl.key===null?mr:Sl.key),Lr=s(Sl,Lr,mr),st===null?hn=Sl:st.sibling=Sl,st=Sl)}if(e&&Yp.forEach(function(JO){return t(O,JO)}),sr()){var ZO=mr;vs(O,ZO)}return hn}function Re(O,j,N,G){if(j!==null&&j.tag===de){a(O,j.sibling);var ce=u(j,N);return ce.return=O,ce}a(O,j);var re=jS(N,O.mode,G);return re.return=O,re}function ge(O,j,N,G){for(var ce=N.key,re=j;re!==null;){if(re.key===ce){var Oe=N.type;if(Oe===Da){if(re.tag===tt){a(O,re.sibling);var Ae=u(re,N.props.children);return Ae.return=O,Ae._debugSource=N._source,Ae._debugOwner=N._owner,Ae}}else if(re.elementType===Oe||$T(re,N)||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===ke&&ZC(Oe)===re.type){a(O,re.sibling);var Et=u(re,N.props);return Et.ref=hp(O,re,N),Et.return=O,Et._debugSource=N._source,Et._debugOwner=N._owner,Et}a(O,re);break}else t(O,re);re=re.sibling}if(N.type===Da){var ot=mo(N.props.children,O.mode,G,N.key);return ot.return=O,ot}else{var hn=HS(N,O.mode,G);return hn.ref=hp(O,j,N),hn.return=O,hn}}function et(O,j,N,G){for(var ce=N.key,re=j;re!==null;){if(re.key===ce)if(re.tag===ae&&re.stateNode.containerInfo===N.containerInfo&&re.stateNode.implementation===N.implementation){a(O,re.sibling);var Oe=u(re,N.children||[]);return Oe.return=O,Oe}else{a(O,re);break}else t(O,re);re=re.sibling}var Ae=VS(N,O.mode,G);return Ae.return=O,Ae}function qe(O,j,N,G){var ce=typeof N=="object"&&N!==null&&N.type===Da&&N.key===null;if(ce&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case Fi:return f(ge(O,j,N,G));case jr:return f(et(O,j,N,G));case ke:var re=N._payload,Oe=N._init;return qe(O,j,Oe(re),G)}if(Cn(N))return H(O,j,N,G);if(oi(N))return se(O,j,N,G);om(O,N)}return typeof N=="string"&&N!==""||typeof N=="number"?f(Re(O,j,""+N,G)):(typeof N=="function"&&sm(O),a(O,j))}return qe}var of=JC(!0),eE=JC(!1);function Vk(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,i=ks(a,a.pendingProps);for(t.child=i,i.return=t;a.sibling!==null;)a=a.sibling,i=i.sibling=ks(a,a.pendingProps),i.return=t;i.sibling=null}}function Bk(e,t){for(var a=e.child;a!==null;)mO(a,t),a=a.sibling}var mp={},lo=to(mp),yp=to(mp),cm=to(mp);function fm(e){if(e===mp)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function tE(){var e=fm(cm.current);return e}function p0(e,t){Nr(cm,t,e),Nr(yp,e,e),Nr(lo,mp,e);var a=tx(t);Or(lo,e),Nr(lo,a,e)}function sf(e){Or(lo,e),Or(yp,e),Or(cm,e)}function v0(){var e=fm(lo.current);return e}function nE(e){fm(cm.current);var t=fm(lo.current),a=nx(t,e.type);t!==a&&(Nr(yp,e,e),Nr(lo,a,e))}function h0(e){yp.current===e&&(Or(lo,e),Or(yp,e))}var Pk=0,rE=1,aE=1,gp=2,_i=to(Pk);function m0(e,t){return(e&t)!==0}function cf(e){return e&rE}function y0(e,t){return e&rE|t}function $k(e,t){return e|t}function uo(e,t){Nr(_i,t,e)}function ff(e){Or(_i,e)}function Ik(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function dm(e){for(var t=e;t!==null;){if(t.tag===Ie){var a=t.memoizedState;if(a!==null){var i=a.dehydrated;if(i===null||vC(i)||Rg(i))return t}}else if(t.tag===gt&&t.memoizedProps.revealOrder!==void 0){var u=(t.flags&Ne)!==Te;if(u)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ca=0,An=1,dl=2,Fn=4,cr=8,g0=[];function S0(){for(var e=0;e<g0.length;e++){var t=g0[e];t._workInProgressVersionPrimary=null}g0.length=0}function Yk(e,t){var a=t._getVersion,i=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var ue=v.ReactCurrentDispatcher,Sp=v.ReactCurrentBatchConfig,C0,df;C0=new Set;var Cs=V,Ct=null,Hn=null,jn=null,pm=!1,Cp=!1,Ep=0,Qk=0,Wk=25,P=null,ni=null,oo=-1,E0=!1;function vt(){{var e=P;ni===null?ni=[e]:ni.push(e)}}function ee(){{var e=P;ni!==null&&(oo++,ni[oo]!==e&&Gk(e))}}function pf(e){e!=null&&!Cn(e)&&C("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",P,typeof e)}function Gk(e){{var t=He(Ct);if(!C0.has(t)&&(C0.add(t),ni!==null)){for(var a="",i=30,u=0;u<=oo;u++){for(var s=ni[u],f=u===oo?e:s,p=u+1+". "+s;p.length<i;)p+=" ";p+=f+`
130
- `,a+=p}C(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
129
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return g}function RC(i,o){var v=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(v==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":v)+"). If you meant to render a collection of children, use an array instead.")}function AC(i){{var o=vt(i)||"Component";if(CM[o])return;CM[o]=!0,u("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function F5(i){var o=i._payload,v=i._init;return v(o)}function B5(i){function o(ne,ve){if(i){var re=ne.deletions;re===null?(ne.deletions=[ve],ne.flags|=qt):re.push(ve)}}function v(ne,ve){if(!i)return null;for(var re=ve;re!==null;)o(ne,re),re=re.sibling;return null}function g(ne,ve){for(var re=new Map,xe=ve;xe!==null;)xe.key!==null?re.set(xe.key,xe):re.set(xe.index,xe),xe=xe.sibling;return re}function C(ne,ve){var re=Hd(ne,ve);return re.index=0,re.sibling=null,re}function T(ne,ve,re){if(ne.index=re,!i)return ne.flags|=Rm,ve;var xe=ne.alternate;if(xe!==null){var ze=xe.index;return ze<ve?(ne.flags|=Cn,ve):ze}else return ne.flags|=Cn,ve}function R(ne){return i&&ne.alternate===null&&(ne.flags|=Cn),ne}function k(ne,ve,re,xe){if(ve===null||ve.tag!==w){var ze=XR(re,ne.mode,xe);return ze.return=ne,ze}else{var Ae=C(ve,re);return Ae.return=ne,Ae}}function N(ne,ve,re,xe){var ze=re.type;if(ze===Va)return V(ne,ve,re.props.children,xe,re.key);if(ve!==null&&(ve.elementType===ze||R3(ve,re)||typeof ze=="object"&&ze!==null&&ze.$$typeof===tt&&F5(ze)===ve.type)){var Ae=C(ve,re.props);return Ae.ref=Iy(ne,ve,re),Ae.return=ne,Ae._debugSource=re._source,Ae._debugOwner=re._owner,Ae}var at=WR(re,ne.mode,xe);return at.ref=Iy(ne,ve,re),at.return=ne,at}function B(ne,ve,re,xe){if(ve===null||ve.tag!==S||ve.stateNode.containerInfo!==re.containerInfo||ve.stateNode.implementation!==re.implementation){var ze=qR(re,ne.mode,xe);return ze.return=ne,ze}else{var Ae=C(ve,re.children||[]);return Ae.return=ne,Ae}}function V(ne,ve,re,xe,ze){if(ve===null||ve.tag!==E){var Ae=Vf(re,ne.mode,xe,ze);return Ae.return=ne,Ae}else{var at=C(ve,re);return at.return=ne,at}}function K(ne,ve,re){if(typeof ve=="string"&&ve!==""||typeof ve=="number"){var xe=XR(""+ve,ne.mode,re);return xe.return=ne,xe}if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case kl:{var ze=WR(ve,ne.mode,re);return ze.ref=Iy(ne,null,ve),ze.return=ne,ze}case Bi:{var Ae=qR(ve,ne.mode,re);return Ae.return=ne,Ae}case tt:{var at=ve._payload,dt=ve._init;return K(ne,dt(at),re)}}if(gr(ve)||Go(ve)){var sn=Vf(ve,ne.mode,re,null);return sn.return=ne,sn}RC(ne,ve)}return typeof ve=="function"&&AC(ne),null}function Q(ne,ve,re,xe){var ze=ve!==null?ve.key:null;if(typeof re=="string"&&re!==""||typeof re=="number")return ze!==null?null:k(ne,ve,""+re,xe);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case kl:return re.key===ze?N(ne,ve,re,xe):null;case Bi:return re.key===ze?B(ne,ve,re,xe):null;case tt:{var Ae=re._payload,at=re._init;return Q(ne,ve,at(Ae),xe)}}if(gr(re)||Go(re))return ze!==null?null:V(ne,ve,re,xe,null);RC(ne,re)}return typeof re=="function"&&AC(ne),null}function le(ne,ve,re,xe,ze){if(typeof xe=="string"&&xe!==""||typeof xe=="number"){var Ae=ne.get(re)||null;return k(ve,Ae,""+xe,ze)}if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case kl:{var at=ne.get(xe.key===null?re:xe.key)||null;return N(ve,at,xe,ze)}case Bi:{var dt=ne.get(xe.key===null?re:xe.key)||null;return B(ve,dt,xe,ze)}case tt:var sn=xe._payload,jt=xe._init;return le(ne,ve,re,jt(sn),ze)}if(gr(xe)||Go(xe)){var dr=ne.get(re)||null;return V(ve,dr,xe,ze,null)}RC(ve,xe)}return typeof xe=="function"&&AC(ve),null}function ue(ne,ve,re){{if(typeof ne!="object"||ne===null)return ve;switch(ne.$$typeof){case kl:case Bi:z5(ne,re);var xe=ne.key;if(typeof xe!="string")break;if(ve===null){ve=new Set,ve.add(xe);break}if(!ve.has(xe)){ve.add(xe);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",xe);break;case tt:var ze=ne._payload,Ae=ne._init;ue(Ae(ze),ve,re);break}}return ve}function de(ne,ve,re,xe){for(var ze=null,Ae=0;Ae<re.length;Ae++){var at=re[Ae];ze=ue(at,ze,ne)}for(var dt=null,sn=null,jt=ve,dr=0,Yt=0,nr=null;jt!==null&&Yt<re.length;Yt++){jt.index>Yt?(nr=jt,jt=null):nr=jt.sibling;var Mi=Q(ne,jt,re[Yt],xe);if(Mi===null){jt===null&&(jt=nr);break}i&&jt&&Mi.alternate===null&&o(ne,jt),dr=T(Mi,dr,Yt),sn===null?dt=Mi:sn.sibling=Mi,sn=Mi,jt=nr}if(Yt===re.length){if(v(ne,jt),ni()){var si=Yt;Rd(ne,si)}return dt}if(jt===null){for(;Yt<re.length;Yt++){var Ka=K(ne,re[Yt],xe);Ka!==null&&(dr=T(Ka,dr,Yt),sn===null?dt=Ka:sn.sibling=Ka,sn=Ka)}if(ni()){var Qi=Yt;Rd(ne,Qi)}return dt}for(var Zi=g(ne,jt);Yt<re.length;Yt++){var Ri=le(Zi,ne,Yt,re[Yt],xe);Ri!==null&&(i&&Ri.alternate!==null&&Zi.delete(Ri.key===null?Yt:Ri.key),dr=T(Ri,dr,Yt),sn===null?dt=Ri:sn.sibling=Ri,sn=Ri)}if(i&&Zi.forEach(function(Op){return o(ne,Op)}),ni()){var ws=Yt;Rd(ne,ws)}return dt}function Ie(ne,ve,re,xe){var ze=Go(re);if(typeof ze!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&re[Symbol.toStringTag]==="Generator"&&(yM||u("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),yM=!0),re.entries===ze&&(mM||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mM=!0);var Ae=ze.call(re);if(Ae)for(var at=null,dt=Ae.next();!dt.done;dt=Ae.next()){var sn=dt.value;at=ue(sn,at,ne)}}var jt=ze.call(re);if(jt==null)throw new Error("An iterable object provided no iterator.");for(var dr=null,Yt=null,nr=ve,Mi=0,si=0,Ka=null,Qi=jt.next();nr!==null&&!Qi.done;si++,Qi=jt.next()){nr.index>si?(Ka=nr,nr=null):Ka=nr.sibling;var Zi=Q(ne,nr,Qi.value,xe);if(Zi===null){nr===null&&(nr=Ka);break}i&&nr&&Zi.alternate===null&&o(ne,nr),Mi=T(Zi,Mi,si),Yt===null?dr=Zi:Yt.sibling=Zi,Yt=Zi,nr=Ka}if(Qi.done){if(v(ne,nr),ni()){var Ri=si;Rd(ne,Ri)}return dr}if(nr===null){for(;!Qi.done;si++,Qi=jt.next()){var ws=K(ne,Qi.value,xe);ws!==null&&(Mi=T(ws,Mi,si),Yt===null?dr=ws:Yt.sibling=ws,Yt=ws)}if(ni()){var Op=si;Rd(ne,Op)}return dr}for(var d0=g(ne,nr);!Qi.done;si++,Qi=jt.next()){var pu=le(d0,ne,si,Qi.value,xe);pu!==null&&(i&&pu.alternate!==null&&d0.delete(pu.key===null?si:pu.key),Mi=T(pu,Mi,si),Yt===null?dr=pu:Yt.sibling=pu,Yt=pu)}if(i&&d0.forEach(function(Ene){return o(ne,Ene)}),ni()){var bne=si;Rd(ne,bne)}return dr}function Ze(ne,ve,re,xe){if(ve!==null&&ve.tag===w){v(ne,ve.sibling);var ze=C(ve,re);return ze.return=ne,ze}v(ne,ve);var Ae=XR(re,ne.mode,xe);return Ae.return=ne,Ae}function We(ne,ve,re,xe){for(var ze=re.key,Ae=ve;Ae!==null;){if(Ae.key===ze){var at=re.type;if(at===Va){if(Ae.tag===E){v(ne,Ae.sibling);var dt=C(Ae,re.props.children);return dt.return=ne,dt._debugSource=re._source,dt._debugOwner=re._owner,dt}}else if(Ae.elementType===at||R3(Ae,re)||typeof at=="object"&&at!==null&&at.$$typeof===tt&&F5(at)===Ae.type){v(ne,Ae.sibling);var sn=C(Ae,re.props);return sn.ref=Iy(ne,Ae,re),sn.return=ne,sn._debugSource=re._source,sn._debugOwner=re._owner,sn}v(ne,Ae);break}else o(ne,Ae);Ae=Ae.sibling}if(re.type===Va){var jt=Vf(re.props.children,ne.mode,xe,re.key);return jt.return=ne,jt}else{var dr=WR(re,ne.mode,xe);return dr.ref=Iy(ne,ve,re),dr.return=ne,dr}}function Ot(ne,ve,re,xe){for(var ze=re.key,Ae=ve;Ae!==null;){if(Ae.key===ze)if(Ae.tag===S&&Ae.stateNode.containerInfo===re.containerInfo&&Ae.stateNode.implementation===re.implementation){v(ne,Ae.sibling);var at=C(Ae,re.children||[]);return at.return=ne,at}else{v(ne,Ae);break}else o(ne,Ae);Ae=Ae.sibling}var dt=qR(re,ne.mode,xe);return dt.return=ne,dt}function Rt(ne,ve,re,xe){var ze=typeof re=="object"&&re!==null&&re.type===Va&&re.key===null;if(ze&&(re=re.props.children),typeof re=="object"&&re!==null){switch(re.$$typeof){case kl:return R(We(ne,ve,re,xe));case Bi:return R(Ot(ne,ve,re,xe));case tt:var Ae=re._payload,at=re._init;return Rt(ne,ve,at(Ae),xe)}if(gr(re))return de(ne,ve,re,xe);if(Go(re))return Ie(ne,ve,re,xe);RC(ne,re)}return typeof re=="string"&&re!==""||typeof re=="number"?R(Ze(ne,ve,""+re,xe)):(typeof re=="function"&&AC(ne),v(ne,ve))}return Rt}var gp=B5(!0),U5=B5(!1);function vJ(i,o){if(i!==null&&o.child!==i.child)throw new Error("Resuming work not yet implemented.");if(o.child!==null){var v=o.child,g=Hd(v,v.pendingProps);for(o.child=g,g.return=o;v.sibling!==null;)v=v.sibling,g=g.sibling=Hd(v,v.pendingProps),g.return=o;g.sibling=null}}function hJ(i,o){for(var v=i.child;v!==null;)Gte(v,o),v=v.sibling}var zy={},Of=Df(zy),Fy=Df(zy),LC=Df(zy);function OC(i){if(i===zy)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return i}function V5(){var i=OC(LC.current);return i}function wM(i,o){Ei(LC,o,i),Ei(Fy,i,i),Ei(Of,zy,i);var v=MZ(o);bi(Of,i),Ei(Of,v,i)}function mp(i){bi(Of,i),bi(Fy,i),bi(LC,i)}function xM(){var i=OC(Of.current);return i}function H5(i){OC(LC.current);var o=OC(Of.current),v=RZ(o,i.type);o!==v&&(Ei(Fy,i,i),Ei(Of,v,i))}function TM(i){Fy.current===i&&(bi(Of,i),bi(Fy,i))}var pJ=0,G5=1,$5=1,By=2,fl=Df(pJ);function bM(i,o){return(i&o)!==0}function yp(i){return i&G5}function EM(i,o){return i&G5|o}function gJ(i,o){return i|o}function kf(i,o){Ei(fl,o,i)}function _p(i){bi(fl,i)}function mJ(i,o){var v=i.memoizedState;return v!==null?v.dehydrated!==null:(i.memoizedProps,!0)}function kC(i){for(var o=i;o!==null;){if(o.tag===I){var v=o.memoizedState;if(v!==null){var g=v.dehydrated;if(g===null||e5(g)||OD(g))return o}}else if(o.tag===G&&o.memoizedProps.revealOrder!==void 0){var C=(o.flags&lt)!==Qe;if(C)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)return null;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Ea=0,Rr=1,uu=2,Ar=4,ri=8,DM=[];function MM(){for(var i=0;i<DM.length;i++){var o=DM[i];o._workInProgressVersionPrimary=null}DM.length=0}function yJ(i,o){var v=o._getVersion,g=v(o._source);i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[o,g]:i.mutableSourceEagerHydrationData.push(o,g)}var ke=n.ReactCurrentDispatcher,Uy=n.ReactCurrentBatchConfig,RM,Sp;RM=new Set;var Pd=he,un=null,Lr=null,Or=null,NC=!1,Vy=!1,Hy=0,_J=0,SJ=25,me=null,Eo=null,Nf=-1,AM=!1;function Jt(){{var i=me;Eo===null?Eo=[i]:Eo.push(i)}}function Ee(){{var i=me;Eo!==null&&(Nf++,Eo[Nf]!==i&&CJ(i))}}function Cp(i){i!=null&&!gr(i)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",me,typeof i)}function CJ(i){{var o=vt(un);if(!RM.has(o)&&(RM.add(o),Eo!==null)){for(var v="",g=30,C=0;C<=Nf;C++){for(var T=Eo[C],R=C===Nf?i:T,k=C+1+". "+T;k.length<g;)k+=" ";k+=R+`
130
+ `,v+=k}u(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
131
131
 
132
132
  Previous render Next render
133
133
  ------------------------------------------------------
134
134
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
135
- `,t,a)}}}function Mr(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
135
+ `,o,v)}}}function Di(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
136
136
  1. You might have mismatching versions of React and the renderer (such as React DOM)
137
137
  2. You might be breaking the Rules of Hooks
138
138
  3. You might have more than one copy of React in the same app
139
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function T0(e,t){if(E0)return!1;if(t===null)return C("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",P),!1;e.length!==t.length&&C(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
139
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function LM(i,o){if(AM)return!1;if(o===null)return u("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",me),!1;i.length!==o.length&&u(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
140
140
 
141
141
  Previous: %s
142
- Incoming: %s`,P,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!ve(e[a],t[a]))return!1;return!0}function vf(e,t,a,i,u,s){Cs=s,Ct=t,ni=e!==null?e._debugHookTypes:null,oo=-1,E0=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=V,e!==null&&e.memoizedState!==null?ue.current=xE:ni!==null?ue.current=bE:ue.current=wE;var f=a(i,u);if(Cp){var p=0;do{if(Cp=!1,Ep=0,p>=Wk)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");p+=1,E0=!1,Hn=null,jn=null,t.updateQueue=null,oo=-1,ue.current=kE,f=a(i,u)}while(Cp)}ue.current=xm,t._debugHookTypes=ni;var m=Hn!==null&&Hn.next!==null;if(Cs=V,Ct=null,Hn=null,jn=null,P=null,ni=null,oo=-1,e!==null&&(e.flags&Ln)!==(t.flags&Ln)&&(e.mode&Qe)!==xe&&C("Internal React error: Expected static flag was missing. Please notify the React team."),pm=!1,m)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return f}function hf(){var e=Ep!==0;return Ep=0,e}function iE(e,t,a){t.updateQueue=e.updateQueue,(t.mode&da)!==xe?t.flags&=~(zl|wr|Ft|je):t.flags&=~(Ft|je),e.lanes=Hu(e.lanes,a)}function lE(){if(ue.current=xm,pm){for(var e=Ct.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}pm=!1}Cs=V,Ct=null,Hn=null,jn=null,ni=null,oo=-1,P=null,SE=!1,Cp=!1,Ep=0}function pl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return jn===null?Ct.memoizedState=jn=e:jn=jn.next=e,jn}function ri(){var e;if(Hn===null){var t=Ct.alternate;t!==null?e=t.memoizedState:e=null}else e=Hn.next;var a;if(jn===null?a=Ct.memoizedState:a=jn.next,a!==null)jn=a,a=jn.next,Hn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Hn=e;var i={memoizedState:Hn.memoizedState,baseState:Hn.baseState,baseQueue:Hn.baseQueue,queue:Hn.queue,next:null};jn===null?Ct.memoizedState=jn=i:jn=jn.next=i}return jn}function uE(){return{lastEffect:null,stores:null}}function R0(e,t){return typeof t=="function"?t(e):t}function w0(e,t,a){var i=pl(),u;a!==void 0?u=a(t):u=t,i.memoizedState=i.baseState=u;var s={pending:null,interleaved:null,lanes:V,dispatch:null,lastRenderedReducer:e,lastRenderedState:u};i.queue=s;var f=s.dispatch=Zk.bind(null,Ct,s);return[i.memoizedState,f]}function b0(e,t,a){var i=ri(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var s=Hn,f=s.baseQueue,p=u.pending;if(p!==null){if(f!==null){var m=f.next,S=p.next;f.next=S,p.next=m}s.baseQueue!==f&&C("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),s.baseQueue=f=p,u.pending=null}if(f!==null){var E=f.next,D=s.baseState,x=null,L=null,z=null,H=E;do{var se=H.lane;if(Il(Cs,se)){if(z!==null){var ge={lane:Ze,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null};z=z.next=ge}if(H.hasEagerState)D=H.eagerState;else{var et=H.action;D=e(D,et)}}else{var Re={lane:se,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null};z===null?(L=z=Re,x=D):z=z.next=Re,Ct.lanes=Ve(Ct.lanes,se),Vp(se)}H=H.next}while(H!==null&&H!==E);z===null?x=D:z.next=L,ve(D,i.memoizedState)||Dp(),i.memoizedState=D,i.baseState=x,i.baseQueue=z,u.lastRenderedState=D}var qe=u.interleaved;if(qe!==null){var O=qe;do{var j=O.lane;Ct.lanes=Ve(Ct.lanes,j),Vp(j),O=O.next}while(O!==qe)}else f===null&&(u.lanes=V);var N=u.dispatch;return[i.memoizedState,N]}function x0(e,t,a){var i=ri(),u=i.queue;if(u===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");u.lastRenderedReducer=e;var s=u.dispatch,f=u.pending,p=i.memoizedState;if(f!==null){u.pending=null;var m=f.next,S=m;do{var E=S.action;p=e(p,E),S=S.next}while(S!==m);ve(p,i.memoizedState)||Dp(),i.memoizedState=p,i.baseQueue===null&&(i.baseState=p),u.lastRenderedState=p}return[p,s]}function bN(e,t,a){}function xN(e,t,a){}function k0(e,t,a){var i=Ct,u=pl(),s,f=sr();if(f){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=a(),df||s!==a()&&(C("The result of getServerSnapshot should be cached to avoid an infinite loop"),df=!0)}else{if(s=t(),!df){var p=t();ve(s,p)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),df=!0)}var m=Im();if(m===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ko(m,Cs)||oE(i,t,s)}u.memoizedState=s;var S={value:s,getSnapshot:t};return u.queue=S,gm(cE.bind(null,i,S,e),[e]),i.flags|=Ft,Tp(An|cr,sE.bind(null,i,S,s,t),void 0,null),s}function vm(e,t,a){var i=Ct,u=ri(),s=t();if(!df){var f=t();ve(s,f)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),df=!0)}var p=u.memoizedState,m=!ve(p,s);m&&(u.memoizedState=s,Dp());var S=u.queue;if(wp(cE.bind(null,i,S,e),[e]),S.getSnapshot!==t||m||jn!==null&&jn.memoizedState.tag&An){i.flags|=Ft,Tp(An|cr,sE.bind(null,i,S,s,t),void 0,null);var E=Im();if(E===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ko(E,Cs)||oE(i,t,s)}return s}function oE(e,t,a){e.flags|=Po;var i={getSnapshot:t,value:a},u=Ct.updateQueue;if(u===null)u=uE(),Ct.updateQueue=u,u.stores=[i];else{var s=u.stores;s===null?u.stores=[i]:s.push(i)}}function sE(e,t,a,i){t.value=a,t.getSnapshot=i,fE(t)&&dE(e)}function cE(e,t,a){var i=function(){fE(t)&&dE(e)};return a(i)}function fE(e){var t=e.getSnapshot,a=e.value;try{var i=t();return!ve(a,i)}catch{return!0}}function dE(e){var t=Sa(e,_e);t!==null&&$n(t,e,_e,bt)}function hm(e){var t=pl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:V,dispatch:null,lastRenderedReducer:R0,lastRenderedState:e};t.queue=a;var i=a.dispatch=Jk.bind(null,Ct,a);return[t.memoizedState,i]}function D0(e){return b0(R0)}function _0(e){return x0(R0)}function Tp(e,t,a,i){var u={tag:e,create:t,destroy:a,deps:i,next:null},s=Ct.updateQueue;if(s===null)s=uE(),Ct.updateQueue=s,s.lastEffect=u.next=u;else{var f=s.lastEffect;if(f===null)s.lastEffect=u.next=u;else{var p=f.next;f.next=u,u.next=p,s.lastEffect=u}}return u}function O0(e){var t=pl();{var a={current:e};return t.memoizedState=a,a}}function mm(e){var t=ri();return t.memoizedState}function Rp(e,t,a,i){var u=pl(),s=i===void 0?null:i;Ct.flags|=e,u.memoizedState=Tp(An|t,a,void 0,s)}function ym(e,t,a,i){var u=ri(),s=i===void 0?null:i,f=void 0;if(Hn!==null){var p=Hn.memoizedState;if(f=p.destroy,s!==null){var m=p.deps;if(T0(s,m)){u.memoizedState=Tp(t,a,f,s);return}}}Ct.flags|=e,u.memoizedState=Tp(An|t,a,f,s)}function gm(e,t){return(Ct.mode&da)!==xe?Rp(zl|Ft|qi,cr,e,t):Rp(Ft|qi,cr,e,t)}function wp(e,t){return ym(Ft,cr,e,t)}function N0(e,t){return Rp(je,dl,e,t)}function Sm(e,t){return ym(je,dl,e,t)}function M0(e,t){var a=je;return a|=Rr,(Ct.mode&da)!==xe&&(a|=wr),Rp(a,Fn,e,t)}function Cm(e,t){return ym(je,Fn,e,t)}function pE(e,t){if(typeof t=="function"){var a=t,i=e();return a(i),function(){a(null)}}else if(t!=null){var u=t;u.hasOwnProperty("current")||C("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(u).join(", ")+"}");var s=e();return u.current=s,function(){u.current=null}}}function L0(e,t,a){typeof t!="function"&&C("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null,u=je;return u|=Rr,(Ct.mode&da)!==xe&&(u|=wr),Rp(u,Fn,pE.bind(null,t,e),i)}function Em(e,t,a){typeof t!="function"&&C("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null;return ym(je,Fn,pE.bind(null,t,e),i)}function qk(e,t){}var Tm=qk;function z0(e,t){var a=pl(),i=t===void 0?null:t;return a.memoizedState=[e,i],e}function Rm(e,t){var a=ri(),i=t===void 0?null:t,u=a.memoizedState;if(u!==null&&i!==null){var s=u[1];if(T0(i,s))return u[0]}return a.memoizedState=[e,i],e}function U0(e,t){var a=pl(),i=t===void 0?null:t,u=e();return a.memoizedState=[u,i],u}function wm(e,t){var a=ri(),i=t===void 0?null:t,u=a.memoizedState;if(u!==null&&i!==null){var s=u[1];if(T0(i,s))return u[0]}var f=e();return a.memoizedState=[f,i],f}function A0(e){var t=pl();return t.memoizedState=e,e}function vE(e){var t=ri(),a=Hn,i=a.memoizedState;return mE(t,i,e)}function hE(e){var t=ri();if(Hn===null)return t.memoizedState=e,e;var a=Hn.memoizedState;return mE(t,a,e)}function mE(e,t,a){var i=!Py(Cs);if(i){if(!ve(a,t)){var u=bd();Ct.lanes=Ve(Ct.lanes,u),Vp(u),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Dp()),e.memoizedState=a,a}function Xk(e,t,a){var i=va();dn(Jn(i,Un)),e(!0);var u=Sp.transition;Sp.transition={};var s=Sp.transition;Sp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(dn(i),Sp.transition=u,u===null&&s._updatedFibers){var f=s._updatedFibers.size;f>10&&B("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),s._updatedFibers.clear()}}}function F0(){var e=hm(!1),t=e[0],a=e[1],i=Xk.bind(null,a),u=pl();return u.memoizedState=i,[t,i]}function yE(){var e=D0(),t=e[0],a=ri(),i=a.memoizedState;return[t,i]}function gE(){var e=_0(),t=e[0],a=ri(),i=a.memoizedState;return[t,i]}var SE=!1;function Kk(){return SE}function H0(){var e=pl(),t=Im(),a=t.identifierPrefix,i;if(sr()){var u=fk();i=":"+a+"R"+u;var s=Ep++;s>0&&(i+="H"+s.toString(32)),i+=":"}else{var f=Qk++;i=":"+a+"r"+f.toString(32)+":"}return e.memoizedState=i,i}function bm(){var e=ri(),t=e.memoizedState;return t}function Zk(e,t,a){typeof arguments[3]=="function"&&C("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=vo(e),u={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(CE(e))EE(t,u);else{var s=HC(e,t,u,i);if(s!==null){var f=qr();$n(s,e,i,f),TE(s,t,i)}}RE(e,i)}function Jk(e,t,a){typeof arguments[3]=="function"&&C("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var i=vo(e),u={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(CE(e))EE(t,u);else{var s=e.alternate;if(e.lanes===V&&(s===null||s.lanes===V)){var f=t.lastRenderedReducer;if(f!==null){var p;p=ue.current,ue.current=Oi;try{var m=t.lastRenderedState,S=f(m,a);if(u.hasEagerState=!0,u.eagerState=S,ve(S,m)){Nk(e,t,u,i);return}}catch{}finally{ue.current=p}}}var E=HC(e,t,u,i);if(E!==null){var D=qr();$n(E,e,i,D),TE(E,t,i)}}RE(e,i)}function CE(e){var t=e.alternate;return e===Ct||t!==null&&t===Ct}function EE(e,t){Cp=pm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function TE(e,t,a){if(wd(a)){var i=t.lanes;i=xd(i,e.pendingLanes);var u=Ve(i,a);t.lanes=u,ju(e,u)}}function RE(e,t,a){tl(e,t)}var xm={readContext:kn,useCallback:Mr,useContext:Mr,useEffect:Mr,useImperativeHandle:Mr,useInsertionEffect:Mr,useLayoutEffect:Mr,useMemo:Mr,useReducer:Mr,useRef:Mr,useState:Mr,useDebugValue:Mr,useDeferredValue:Mr,useTransition:Mr,useMutableSource:Mr,useSyncExternalStore:Mr,useId:Mr,unstable_isNewReconciler:Z},wE=null,bE=null,xE=null,kE=null,vl=null,Oi=null,km=null;{var j0=function(){C("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},ze=function(){C("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};wE={readContext:function(e){return kn(e)},useCallback:function(e,t){return P="useCallback",vt(),pf(t),z0(e,t)},useContext:function(e){return P="useContext",vt(),kn(e)},useEffect:function(e,t){return P="useEffect",vt(),pf(t),gm(e,t)},useImperativeHandle:function(e,t,a){return P="useImperativeHandle",vt(),pf(a),L0(e,t,a)},useInsertionEffect:function(e,t){return P="useInsertionEffect",vt(),pf(t),N0(e,t)},useLayoutEffect:function(e,t){return P="useLayoutEffect",vt(),pf(t),M0(e,t)},useMemo:function(e,t){P="useMemo",vt(),pf(t);var a=ue.current;ue.current=vl;try{return U0(e,t)}finally{ue.current=a}},useReducer:function(e,t,a){P="useReducer",vt();var i=ue.current;ue.current=vl;try{return w0(e,t,a)}finally{ue.current=i}},useRef:function(e){return P="useRef",vt(),O0(e)},useState:function(e){P="useState",vt();var t=ue.current;ue.current=vl;try{return hm(e)}finally{ue.current=t}},useDebugValue:function(e,t){return P="useDebugValue",vt(),void 0},useDeferredValue:function(e){return P="useDeferredValue",vt(),A0(e)},useTransition:function(){return P="useTransition",vt(),F0()},useMutableSource:function(e,t,a){return P="useMutableSource",vt(),void 0},useSyncExternalStore:function(e,t,a){return P="useSyncExternalStore",vt(),k0(e,t,a)},useId:function(){return P="useId",vt(),H0()},unstable_isNewReconciler:Z},bE={readContext:function(e){return kn(e)},useCallback:function(e,t){return P="useCallback",ee(),z0(e,t)},useContext:function(e){return P="useContext",ee(),kn(e)},useEffect:function(e,t){return P="useEffect",ee(),gm(e,t)},useImperativeHandle:function(e,t,a){return P="useImperativeHandle",ee(),L0(e,t,a)},useInsertionEffect:function(e,t){return P="useInsertionEffect",ee(),N0(e,t)},useLayoutEffect:function(e,t){return P="useLayoutEffect",ee(),M0(e,t)},useMemo:function(e,t){P="useMemo",ee();var a=ue.current;ue.current=vl;try{return U0(e,t)}finally{ue.current=a}},useReducer:function(e,t,a){P="useReducer",ee();var i=ue.current;ue.current=vl;try{return w0(e,t,a)}finally{ue.current=i}},useRef:function(e){return P="useRef",ee(),O0(e)},useState:function(e){P="useState",ee();var t=ue.current;ue.current=vl;try{return hm(e)}finally{ue.current=t}},useDebugValue:function(e,t){return P="useDebugValue",ee(),void 0},useDeferredValue:function(e){return P="useDeferredValue",ee(),A0(e)},useTransition:function(){return P="useTransition",ee(),F0()},useMutableSource:function(e,t,a){return P="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,a){return P="useSyncExternalStore",ee(),k0(e,t,a)},useId:function(){return P="useId",ee(),H0()},unstable_isNewReconciler:Z},xE={readContext:function(e){return kn(e)},useCallback:function(e,t){return P="useCallback",ee(),Rm(e,t)},useContext:function(e){return P="useContext",ee(),kn(e)},useEffect:function(e,t){return P="useEffect",ee(),wp(e,t)},useImperativeHandle:function(e,t,a){return P="useImperativeHandle",ee(),Em(e,t,a)},useInsertionEffect:function(e,t){return P="useInsertionEffect",ee(),Sm(e,t)},useLayoutEffect:function(e,t){return P="useLayoutEffect",ee(),Cm(e,t)},useMemo:function(e,t){P="useMemo",ee();var a=ue.current;ue.current=Oi;try{return wm(e,t)}finally{ue.current=a}},useReducer:function(e,t,a){P="useReducer",ee();var i=ue.current;ue.current=Oi;try{return b0(e,t,a)}finally{ue.current=i}},useRef:function(e){return P="useRef",ee(),mm()},useState:function(e){P="useState",ee();var t=ue.current;ue.current=Oi;try{return D0(e)}finally{ue.current=t}},useDebugValue:function(e,t){return P="useDebugValue",ee(),Tm()},useDeferredValue:function(e){return P="useDeferredValue",ee(),vE(e)},useTransition:function(){return P="useTransition",ee(),yE()},useMutableSource:function(e,t,a){return P="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,a){return P="useSyncExternalStore",ee(),vm(e,t)},useId:function(){return P="useId",ee(),bm()},unstable_isNewReconciler:Z},kE={readContext:function(e){return kn(e)},useCallback:function(e,t){return P="useCallback",ee(),Rm(e,t)},useContext:function(e){return P="useContext",ee(),kn(e)},useEffect:function(e,t){return P="useEffect",ee(),wp(e,t)},useImperativeHandle:function(e,t,a){return P="useImperativeHandle",ee(),Em(e,t,a)},useInsertionEffect:function(e,t){return P="useInsertionEffect",ee(),Sm(e,t)},useLayoutEffect:function(e,t){return P="useLayoutEffect",ee(),Cm(e,t)},useMemo:function(e,t){P="useMemo",ee();var a=ue.current;ue.current=km;try{return wm(e,t)}finally{ue.current=a}},useReducer:function(e,t,a){P="useReducer",ee();var i=ue.current;ue.current=km;try{return x0(e,t,a)}finally{ue.current=i}},useRef:function(e){return P="useRef",ee(),mm()},useState:function(e){P="useState",ee();var t=ue.current;ue.current=km;try{return _0(e)}finally{ue.current=t}},useDebugValue:function(e,t){return P="useDebugValue",ee(),Tm()},useDeferredValue:function(e){return P="useDeferredValue",ee(),hE(e)},useTransition:function(){return P="useTransition",ee(),gE()},useMutableSource:function(e,t,a){return P="useMutableSource",ee(),void 0},useSyncExternalStore:function(e,t,a){return P="useSyncExternalStore",ee(),vm(e,t)},useId:function(){return P="useId",ee(),bm()},unstable_isNewReconciler:Z},vl={readContext:function(e){return j0(),kn(e)},useCallback:function(e,t){return P="useCallback",ze(),vt(),z0(e,t)},useContext:function(e){return P="useContext",ze(),vt(),kn(e)},useEffect:function(e,t){return P="useEffect",ze(),vt(),gm(e,t)},useImperativeHandle:function(e,t,a){return P="useImperativeHandle",ze(),vt(),L0(e,t,a)},useInsertionEffect:function(e,t){return P="useInsertionEffect",ze(),vt(),N0(e,t)},useLayoutEffect:function(e,t){return P="useLayoutEffect",ze(),vt(),M0(e,t)},useMemo:function(e,t){P="useMemo",ze(),vt();var a=ue.current;ue.current=vl;try{return U0(e,t)}finally{ue.current=a}},useReducer:function(e,t,a){P="useReducer",ze(),vt();var i=ue.current;ue.current=vl;try{return w0(e,t,a)}finally{ue.current=i}},useRef:function(e){return P="useRef",ze(),vt(),O0(e)},useState:function(e){P="useState",ze(),vt();var t=ue.current;ue.current=vl;try{return hm(e)}finally{ue.current=t}},useDebugValue:function(e,t){return P="useDebugValue",ze(),vt(),void 0},useDeferredValue:function(e){return P="useDeferredValue",ze(),vt(),A0(e)},useTransition:function(){return P="useTransition",ze(),vt(),F0()},useMutableSource:function(e,t,a){return P="useMutableSource",ze(),vt(),void 0},useSyncExternalStore:function(e,t,a){return P="useSyncExternalStore",ze(),vt(),k0(e,t,a)},useId:function(){return P="useId",ze(),vt(),H0()},unstable_isNewReconciler:Z},Oi={readContext:function(e){return j0(),kn(e)},useCallback:function(e,t){return P="useCallback",ze(),ee(),Rm(e,t)},useContext:function(e){return P="useContext",ze(),ee(),kn(e)},useEffect:function(e,t){return P="useEffect",ze(),ee(),wp(e,t)},useImperativeHandle:function(e,t,a){return P="useImperativeHandle",ze(),ee(),Em(e,t,a)},useInsertionEffect:function(e,t){return P="useInsertionEffect",ze(),ee(),Sm(e,t)},useLayoutEffect:function(e,t){return P="useLayoutEffect",ze(),ee(),Cm(e,t)},useMemo:function(e,t){P="useMemo",ze(),ee();var a=ue.current;ue.current=Oi;try{return wm(e,t)}finally{ue.current=a}},useReducer:function(e,t,a){P="useReducer",ze(),ee();var i=ue.current;ue.current=Oi;try{return b0(e,t,a)}finally{ue.current=i}},useRef:function(e){return P="useRef",ze(),ee(),mm()},useState:function(e){P="useState",ze(),ee();var t=ue.current;ue.current=Oi;try{return D0(e)}finally{ue.current=t}},useDebugValue:function(e,t){return P="useDebugValue",ze(),ee(),Tm()},useDeferredValue:function(e){return P="useDeferredValue",ze(),ee(),vE(e)},useTransition:function(){return P="useTransition",ze(),ee(),yE()},useMutableSource:function(e,t,a){return P="useMutableSource",ze(),ee(),void 0},useSyncExternalStore:function(e,t,a){return P="useSyncExternalStore",ze(),ee(),vm(e,t)},useId:function(){return P="useId",ze(),ee(),bm()},unstable_isNewReconciler:Z},km={readContext:function(e){return j0(),kn(e)},useCallback:function(e,t){return P="useCallback",ze(),ee(),Rm(e,t)},useContext:function(e){return P="useContext",ze(),ee(),kn(e)},useEffect:function(e,t){return P="useEffect",ze(),ee(),wp(e,t)},useImperativeHandle:function(e,t,a){return P="useImperativeHandle",ze(),ee(),Em(e,t,a)},useInsertionEffect:function(e,t){return P="useInsertionEffect",ze(),ee(),Sm(e,t)},useLayoutEffect:function(e,t){return P="useLayoutEffect",ze(),ee(),Cm(e,t)},useMemo:function(e,t){P="useMemo",ze(),ee();var a=ue.current;ue.current=Oi;try{return wm(e,t)}finally{ue.current=a}},useReducer:function(e,t,a){P="useReducer",ze(),ee();var i=ue.current;ue.current=Oi;try{return x0(e,t,a)}finally{ue.current=i}},useRef:function(e){return P="useRef",ze(),ee(),mm()},useState:function(e){P="useState",ze(),ee();var t=ue.current;ue.current=Oi;try{return _0(e)}finally{ue.current=t}},useDebugValue:function(e,t){return P="useDebugValue",ze(),ee(),Tm()},useDeferredValue:function(e){return P="useDeferredValue",ze(),ee(),hE(e)},useTransition:function(){return P="useTransition",ze(),ee(),gE()},useMutableSource:function(e,t,a){return P="useMutableSource",ze(),ee(),void 0},useSyncExternalStore:function(e,t,a){return P="useSyncExternalStore",ze(),ee(),vm(e,t)},useId:function(){return P="useId",ze(),ee(),bm()},unstable_isNewReconciler:Z}}var so=g.unstable_now,DE=0,Dm=-1,bp=-1,_m=-1,V0=!1,Om=!1;function _E(){return V0}function eD(){Om=!0}function tD(){V0=!1,Om=!1}function nD(){V0=Om,Om=!1}function OE(){return DE}function NE(){DE=so()}function B0(e){bp=so(),e.actualStartTime<0&&(e.actualStartTime=so())}function ME(e){bp=-1}function Nm(e,t){if(bp>=0){var a=so()-bp;e.actualDuration+=a,t&&(e.selfBaseDuration=a),bp=-1}}function hl(e){if(Dm>=0){var t=so()-Dm;Dm=-1;for(var a=e.return;a!==null;){switch(a.tag){case K:var i=a.stateNode;i.effectDuration+=t;return;case ct:var u=a.stateNode;u.effectDuration+=t;return}a=a.return}}}function P0(e){if(_m>=0){var t=so()-_m;_m=-1;for(var a=e.return;a!==null;){switch(a.tag){case K:var i=a.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case ct:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return}a=a.return}}}function ml(){Dm=so()}function $0(){_m=so()}function I0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Es(e,t){return{value:e,source:t,stack:zf(t),digest:null}}function Y0(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function rD(e,t){return!0}function Q0(e,t){try{var a=rD(e,t);if(a===!1)return;var i=t.value,u=t.source,s=t.stack,f=s!==null?s:"";if(i!=null&&i._suppressLogging){if(e.tag===W)return;console.error(i)}var p=u?He(u):null,m=p?"The above error occurred in the <"+p+"> component:":"The above error occurred in one of your React components:",S;if(e.tag===K)S=`Consider adding an error boundary to your tree to customize error handling behavior.
143
- Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var E=He(e)||"Anonymous";S="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+E+".")}var D=m+`
144
- `+f+`
142
+ Incoming: %s`,me,"["+o.join(", ")+"]","["+i.join(", ")+"]");for(var v=0;v<o.length&&v<i.length;v++)if(!Ve(i[v],o[v]))return!1;return!0}function wp(i,o,v,g,C,T){Pd=T,un=o,Eo=i!==null?i._debugHookTypes:null,Nf=-1,AM=i!==null&&i.type!==o.type,o.memoizedState=null,o.updateQueue=null,o.lanes=he,i!==null&&i.memoizedState!==null?ke.current=dB:Eo!==null?ke.current=cB:ke.current=fB;var R=v(g,C);if(Vy){var k=0;do{if(Vy=!1,Hy=0,k>=SJ)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");k+=1,AM=!1,Lr=null,Or=null,o.updateQueue=null,Nf=-1,ke.current=vB,R=v(g,C)}while(Vy)}ke.current=WC,o._debugHookTypes=Eo;var N=Lr!==null&&Lr.next!==null;if(Pd=he,un=null,Lr=null,Or=null,me=null,Eo=null,Nf=-1,i!==null&&(i.flags&Er)!==(o.flags&Er)&&(i.mode&wt)!==Je&&u("Internal React error: Expected static flag was missing. Please notify the React team."),NC=!1,N)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return R}function xp(){var i=Hy!==0;return Hy=0,i}function j5(i,o,v){o.updateQueue=i.updateQueue,(o.mode&ya)!==Je?o.flags&=~($u|_i|Ln|pt):o.flags&=~(Ln|pt),i.lanes=ff(i.lanes,v)}function Y5(){if(ke.current=WC,NC){for(var i=un.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}NC=!1}Pd=he,un=null,Lr=null,Or=null,Eo=null,Nf=-1,me=null,aB=!1,Vy=!1,Hy=0}function su(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Or===null?un.memoizedState=Or=i:Or=Or.next=i,Or}function Do(){var i;if(Lr===null){var o=un.alternate;o!==null?i=o.memoizedState:i=null}else i=Lr.next;var v;if(Or===null?v=un.memoizedState:v=Or.next,v!==null)Or=v,v=Or.next,Lr=i;else{if(i===null)throw new Error("Rendered more hooks than during the previous render.");Lr=i;var g={memoizedState:Lr.memoizedState,baseState:Lr.baseState,baseQueue:Lr.baseQueue,queue:Lr.queue,next:null};Or===null?un.memoizedState=Or=g:Or=Or.next=g}return Or}function W5(){return{lastEffect:null,stores:null}}function OM(i,o){return typeof o=="function"?o(i):o}function kM(i,o,v){var g=su(),C;v!==void 0?C=v(o):C=o,g.memoizedState=g.baseState=C;var T={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:i,lastRenderedState:C};g.queue=T;var R=T.dispatch=bJ.bind(null,un,T);return[g.memoizedState,R]}function NM(i,o,v){var g=Do(),C=g.queue;if(C===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");C.lastRenderedReducer=i;var T=Lr,R=T.baseQueue,k=C.pending;if(k!==null){if(R!==null){var N=R.next,B=k.next;R.next=B,k.next=N}T.baseQueue!==R&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),T.baseQueue=R=k,C.pending=null}if(R!==null){var V=R.next,K=T.baseState,Q=null,le=null,ue=null,de=V;do{var Ie=de.lane;if(es(Pd,Ie)){if(ue!==null){var We={lane:At,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null};ue=ue.next=We}if(de.hasEagerState)K=de.eagerState;else{var Ot=de.action;K=i(K,Ot)}}else{var Ze={lane:Ie,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null};ue===null?(le=ue=Ze,Q=K):ue=ue.next=Ze,un.lanes=gt(un.lanes,Ie),l0(Ie)}de=de.next}while(de!==null&&de!==V);ue===null?Q=K:ue.next=le,Ve(K,g.memoizedState)||qy(),g.memoizedState=K,g.baseState=Q,g.baseQueue=ue,C.lastRenderedState=K}var Rt=C.interleaved;if(Rt!==null){var ne=Rt;do{var ve=ne.lane;un.lanes=gt(un.lanes,ve),l0(ve),ne=ne.next}while(ne!==Rt)}else R===null&&(C.lanes=he);var re=C.dispatch;return[g.memoizedState,re]}function PM(i,o,v){var g=Do(),C=g.queue;if(C===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");C.lastRenderedReducer=i;var T=C.dispatch,R=C.pending,k=g.memoizedState;if(R!==null){C.pending=null;var N=R.next,B=N;do{var V=B.action;k=i(k,V),B=B.next}while(B!==N);Ve(k,g.memoizedState)||qy(),g.memoizedState=k,g.baseQueue===null&&(g.baseState=k),C.lastRenderedState=k}return[k,T]}function ire(i,o,v){}function are(i,o,v){}function IM(i,o,v){var g=un,C=su(),T,R=ni();if(R){if(v===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");T=v(),Sp||T!==v()&&(u("The result of getServerSnapshot should be cached to avoid an infinite loop"),Sp=!0)}else{if(T=o(),!Sp){var k=o();Ve(T,k)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),Sp=!0)}var N=cw();if(N===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");dd(N,Pd)||X5(g,o,T)}C.memoizedState=T;var B={value:T,getSnapshot:o};return C.queue=B,BC(Q5.bind(null,g,B,i),[i]),g.flags|=Ln,Gy(Rr|ri,q5.bind(null,g,B,T,o),void 0,null),T}function PC(i,o,v){var g=un,C=Do(),T=o();if(!Sp){var R=o();Ve(T,R)||(u("The result of getSnapshot should be cached to avoid an infinite loop"),Sp=!0)}var k=C.memoizedState,N=!Ve(k,T);N&&(C.memoizedState=T,qy());var B=C.queue;if(jy(Q5.bind(null,g,B,i),[i]),B.getSnapshot!==o||N||Or!==null&&Or.memoizedState.tag&Rr){g.flags|=Ln,Gy(Rr|ri,q5.bind(null,g,B,T,o),void 0,null);var V=cw();if(V===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");dd(V,Pd)||X5(g,o,T)}return T}function X5(i,o,v){i.flags|=rd;var g={getSnapshot:o,value:v},C=un.updateQueue;if(C===null)C=W5(),un.updateQueue=C,C.stores=[g];else{var T=C.stores;T===null?C.stores=[g]:T.push(g)}}function q5(i,o,v,g){o.value=v,o.getSnapshot=g,Z5(o)&&K5(i)}function Q5(i,o,v){var g=function(){Z5(o)&&K5(i)};return v(g)}function Z5(i){var o=i.getSnapshot,v=i.value;try{var g=o();return!Ve(v,g)}catch{return!0}}function K5(i){var o=ba(i,rt);o!==null&&Ir(o,i,rt,gn)}function IC(i){var o=su();typeof i=="function"&&(i=i()),o.memoizedState=o.baseState=i;var v={pending:null,interleaved:null,lanes:he,dispatch:null,lastRenderedReducer:OM,lastRenderedState:i};o.queue=v;var g=v.dispatch=EJ.bind(null,un,v);return[o.memoizedState,g]}function zM(i){return NM(OM)}function FM(i){return PM(OM)}function Gy(i,o,v,g){var C={tag:i,create:o,destroy:v,deps:g,next:null},T=un.updateQueue;if(T===null)T=W5(),un.updateQueue=T,T.lastEffect=C.next=C;else{var R=T.lastEffect;if(R===null)T.lastEffect=C.next=C;else{var k=R.next;R.next=C,C.next=k,T.lastEffect=C}}return C}function BM(i){var o=su();{var v={current:i};return o.memoizedState=v,v}}function zC(i){var o=Do();return o.memoizedState}function $y(i,o,v,g){var C=su(),T=g===void 0?null:g;un.flags|=i,C.memoizedState=Gy(Rr|o,v,void 0,T)}function FC(i,o,v,g){var C=Do(),T=g===void 0?null:g,R=void 0;if(Lr!==null){var k=Lr.memoizedState;if(R=k.destroy,T!==null){var N=k.deps;if(LM(T,N)){C.memoizedState=Gy(o,v,R,T);return}}}un.flags|=i,C.memoizedState=Gy(Rr|o,v,R,T)}function BC(i,o){return(un.mode&ya)!==Je?$y($u|Ln|jl,ri,i,o):$y(Ln|jl,ri,i,o)}function jy(i,o){return FC(Ln,ri,i,o)}function UM(i,o){return $y(pt,uu,i,o)}function UC(i,o){return FC(pt,uu,i,o)}function VM(i,o){var v=pt;return v|=yi,(un.mode&ya)!==Je&&(v|=_i),$y(v,Ar,i,o)}function VC(i,o){return FC(pt,Ar,i,o)}function J5(i,o){if(typeof o=="function"){var v=o,g=i();return v(g),function(){v(null)}}else if(o!=null){var C=o;C.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(C).join(", ")+"}");var T=i();return C.current=T,function(){C.current=null}}}function HM(i,o,v){typeof o!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null");var g=v!=null?v.concat([i]):null,C=pt;return C|=yi,(un.mode&ya)!==Je&&(C|=_i),$y(C,Ar,J5.bind(null,o,i),g)}function HC(i,o,v){typeof o!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null");var g=v!=null?v.concat([i]):null;return FC(pt,Ar,J5.bind(null,o,i),g)}function wJ(i,o){}var GC=wJ;function GM(i,o){var v=su(),g=o===void 0?null:o;return v.memoizedState=[i,g],i}function $C(i,o){var v=Do(),g=o===void 0?null:o,C=v.memoizedState;if(C!==null&&g!==null){var T=C[1];if(LM(g,T))return C[0]}return v.memoizedState=[i,g],i}function $M(i,o){var v=su(),g=o===void 0?null:o,C=i();return v.memoizedState=[C,g],C}function jC(i,o){var v=Do(),g=o===void 0?null:o,C=v.memoizedState;if(C!==null&&g!==null){var T=C[1];if(LM(g,T))return C[0]}var R=i();return v.memoizedState=[R,g],R}function jM(i){var o=su();return o.memoizedState=i,i}function eB(i){var o=Do(),v=Lr,g=v.memoizedState;return nB(o,g,i)}function tB(i){var o=Do();if(Lr===null)return o.memoizedState=i,i;var v=Lr.memoizedState;return nB(o,v,i)}function nB(i,o,v){var g=!ZE(Pd);if(g){if(!Ve(v,o)){var C=Ym();un.lanes=gt(un.lanes,C),l0(C),i.baseState=!0}return o}else return i.baseState&&(i.baseState=!1,qy()),i.memoizedState=v,v}function xJ(i,o,v){var g=Sa();sr(jr(g,Mr)),i(!0);var C=Uy.transition;Uy.transition={};var T=Uy.transition;Uy.transition._updatedFibers=new Set;try{i(!1),o()}finally{if(sr(g),Uy.transition=C,C===null&&T._updatedFibers){var R=T._updatedFibers.size;R>10&&l("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),T._updatedFibers.clear()}}}function YM(){var i=IC(!1),o=i[0],v=i[1],g=xJ.bind(null,v),C=su();return C.memoizedState=g,[o,g]}function rB(){var i=zM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}function iB(){var i=FM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}var aB=!1;function TJ(){return aB}function WM(){var i=su(),o=cw(),v=o.identifierPrefix,g;if(ni()){var C=FK();g=":"+v+"R"+C;var T=Hy++;T>0&&(g+="H"+T.toString(32)),g+=":"}else{var R=_J++;g=":"+v+"r"+R.toString(32)+":"}return i.memoizedState=g,g}function YC(){var i=Do(),o=i.memoizedState;return o}function bJ(i,o,v){typeof arguments[3]=="function"&&u("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var g=Bf(i),C={lane:g,action:v,hasEagerState:!1,eagerState:null,next:null};if(oB(i))lB(o,C);else{var T=T5(i,o,C,g);if(T!==null){var R=qi();Ir(T,i,g,R),uB(T,o,g)}}sB(i,g)}function EJ(i,o,v){typeof arguments[3]=="function"&&u("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var g=Bf(i),C={lane:g,action:v,hasEagerState:!1,eagerState:null,next:null};if(oB(i))lB(o,C);else{var T=i.alternate;if(i.lanes===he&&(T===null||T.lanes===he)){var R=o.lastRenderedReducer;if(R!==null){var k;k=ke.current,ke.current=cl;try{var N=o.lastRenderedState,B=R(N,v);if(C.hasEagerState=!0,C.eagerState=B,Ve(B,N)){iJ(i,o,C,g);return}}catch{}finally{ke.current=k}}}var V=T5(i,o,C,g);if(V!==null){var K=qi();Ir(V,i,g,K),uB(V,o,g)}}sB(i,g)}function oB(i){var o=i.alternate;return i===un||o!==null&&o===un}function lB(i,o){Vy=NC=!0;var v=i.pending;v===null?o.next=o:(o.next=v.next,v.next=o),i.pending=o}function uB(i,o,v){if(jm(v)){var g=o.lanes;g=Wm(g,i.pendingLanes);var C=gt(g,v);o.lanes=C,cf(i,C)}}function sB(i,o,v){Zl(i,o)}var WC={readContext:xr,useCallback:Di,useContext:Di,useEffect:Di,useImperativeHandle:Di,useInsertionEffect:Di,useLayoutEffect:Di,useMemo:Di,useReducer:Di,useRef:Di,useState:Di,useDebugValue:Di,useDeferredValue:Di,useTransition:Di,useMutableSource:Di,useSyncExternalStore:Di,useId:Di,unstable_isNewReconciler:ae},fB=null,cB=null,dB=null,vB=null,fu=null,cl=null,XC=null;{var XM=function(){u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},ct=function(){u("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};fB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Jt(),Cp(o),GM(i,o)},useContext:function(i){return me="useContext",Jt(),xr(i)},useEffect:function(i,o){return me="useEffect",Jt(),Cp(o),BC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",Jt(),Cp(v),HM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Jt(),Cp(o),UM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Jt(),Cp(o),VM(i,o)},useMemo:function(i,o){me="useMemo",Jt(),Cp(o);var v=ke.current;ke.current=fu;try{return $M(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Jt();var g=ke.current;ke.current=fu;try{return kM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Jt(),BM(i)},useState:function(i){me="useState",Jt();var o=ke.current;ke.current=fu;try{return IC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Jt(),void 0},useDeferredValue:function(i){return me="useDeferredValue",Jt(),jM(i)},useTransition:function(){return me="useTransition",Jt(),YM()},useMutableSource:function(i,o,v){return me="useMutableSource",Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Jt(),IM(i,o,v)},useId:function(){return me="useId",Jt(),WM()},unstable_isNewReconciler:ae},cB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Ee(),GM(i,o)},useContext:function(i){return me="useContext",Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",Ee(),BC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",Ee(),HM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Ee(),UM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Ee(),VM(i,o)},useMemo:function(i,o){me="useMemo",Ee();var v=ke.current;ke.current=fu;try{return $M(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Ee();var g=ke.current;ke.current=fu;try{return kM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Ee(),BM(i)},useState:function(i){me="useState",Ee();var o=ke.current;ke.current=fu;try{return IC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Ee(),void 0},useDeferredValue:function(i){return me="useDeferredValue",Ee(),jM(i)},useTransition:function(){return me="useTransition",Ee(),YM()},useMutableSource:function(i,o,v){return me="useMutableSource",Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Ee(),IM(i,o,v)},useId:function(){return me="useId",Ee(),WM()},unstable_isNewReconciler:ae},dB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Ee(),$C(i,o)},useContext:function(i){return me="useContext",Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",Ee(),HC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Ee(),UC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Ee(),VC(i,o)},useMemo:function(i,o){me="useMemo",Ee();var v=ke.current;ke.current=cl;try{return jC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Ee();var g=ke.current;ke.current=cl;try{return NM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Ee(),zC()},useState:function(i){me="useState",Ee();var o=ke.current;ke.current=cl;try{return zM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",Ee(),eB(i)},useTransition:function(){return me="useTransition",Ee(),rB()},useMutableSource:function(i,o,v){return me="useMutableSource",Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Ee(),PC(i,o)},useId:function(){return me="useId",Ee(),YC()},unstable_isNewReconciler:ae},vB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Ee(),$C(i,o)},useContext:function(i){return me="useContext",Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",Ee(),HC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Ee(),UC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Ee(),VC(i,o)},useMemo:function(i,o){me="useMemo",Ee();var v=ke.current;ke.current=XC;try{return jC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Ee();var g=ke.current;ke.current=XC;try{return PM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Ee(),zC()},useState:function(i){me="useState",Ee();var o=ke.current;ke.current=XC;try{return FM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",Ee(),tB(i)},useTransition:function(){return me="useTransition",Ee(),iB()},useMutableSource:function(i,o,v){return me="useMutableSource",Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Ee(),PC(i,o)},useId:function(){return me="useId",Ee(),YC()},unstable_isNewReconciler:ae},fu={readContext:function(i){return XM(),xr(i)},useCallback:function(i,o){return me="useCallback",ct(),Jt(),GM(i,o)},useContext:function(i){return me="useContext",ct(),Jt(),xr(i)},useEffect:function(i,o){return me="useEffect",ct(),Jt(),BC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",ct(),Jt(),HM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",ct(),Jt(),UM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",ct(),Jt(),VM(i,o)},useMemo:function(i,o){me="useMemo",ct(),Jt();var v=ke.current;ke.current=fu;try{return $M(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",ct(),Jt();var g=ke.current;ke.current=fu;try{return kM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",ct(),Jt(),BM(i)},useState:function(i){me="useState",ct(),Jt();var o=ke.current;ke.current=fu;try{return IC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",ct(),Jt(),void 0},useDeferredValue:function(i){return me="useDeferredValue",ct(),Jt(),jM(i)},useTransition:function(){return me="useTransition",ct(),Jt(),YM()},useMutableSource:function(i,o,v){return me="useMutableSource",ct(),Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",ct(),Jt(),IM(i,o,v)},useId:function(){return me="useId",ct(),Jt(),WM()},unstable_isNewReconciler:ae},cl={readContext:function(i){return XM(),xr(i)},useCallback:function(i,o){return me="useCallback",ct(),Ee(),$C(i,o)},useContext:function(i){return me="useContext",ct(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",ct(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",ct(),Ee(),HC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",ct(),Ee(),UC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",ct(),Ee(),VC(i,o)},useMemo:function(i,o){me="useMemo",ct(),Ee();var v=ke.current;ke.current=cl;try{return jC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",ct(),Ee();var g=ke.current;ke.current=cl;try{return NM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",ct(),Ee(),zC()},useState:function(i){me="useState",ct(),Ee();var o=ke.current;ke.current=cl;try{return zM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",ct(),Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",ct(),Ee(),eB(i)},useTransition:function(){return me="useTransition",ct(),Ee(),rB()},useMutableSource:function(i,o,v){return me="useMutableSource",ct(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",ct(),Ee(),PC(i,o)},useId:function(){return me="useId",ct(),Ee(),YC()},unstable_isNewReconciler:ae},XC={readContext:function(i){return XM(),xr(i)},useCallback:function(i,o){return me="useCallback",ct(),Ee(),$C(i,o)},useContext:function(i){return me="useContext",ct(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",ct(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",ct(),Ee(),HC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",ct(),Ee(),UC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",ct(),Ee(),VC(i,o)},useMemo:function(i,o){me="useMemo",ct(),Ee();var v=ke.current;ke.current=cl;try{return jC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",ct(),Ee();var g=ke.current;ke.current=cl;try{return PM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",ct(),Ee(),zC()},useState:function(i){me="useState",ct(),Ee();var o=ke.current;ke.current=cl;try{return FM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",ct(),Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",ct(),Ee(),tB(i)},useTransition:function(){return me="useTransition",ct(),Ee(),iB()},useMutableSource:function(i,o,v){return me="useMutableSource",ct(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",ct(),Ee(),PC(i,o)},useId:function(){return me="useId",ct(),Ee(),YC()},unstable_isNewReconciler:ae}}var Pf=e.unstable_now,hB=0,qC=-1,Yy=-1,QC=-1,qM=!1,ZC=!1;function pB(){return qM}function DJ(){ZC=!0}function MJ(){qM=!1,ZC=!1}function RJ(){qM=ZC,ZC=!1}function gB(){return hB}function mB(){hB=Pf()}function QM(i){Yy=Pf(),i.actualStartTime<0&&(i.actualStartTime=Pf())}function yB(i){Yy=-1}function KC(i,o){if(Yy>=0){var v=Pf()-Yy;i.actualDuration+=v,o&&(i.selfBaseDuration=v),Yy=-1}}function cu(i){if(qC>=0){var o=Pf()-qC;qC=-1;for(var v=i.return;v!==null;){switch(v.tag){case m:var g=v.stateNode;g.effectDuration+=o;return;case P:var C=v.stateNode;C.effectDuration+=o;return}v=v.return}}}function ZM(i){if(QC>=0){var o=Pf()-QC;QC=-1;for(var v=i.return;v!==null;){switch(v.tag){case m:var g=v.stateNode;g!==null&&(g.passiveEffectDuration+=o);return;case P:var C=v.stateNode;C!==null&&(C.passiveEffectDuration+=o);return}v=v.return}}}function du(){qC=Pf()}function KM(){QC=Pf()}function JM(i){for(var o=i.child;o;)i.actualDuration+=o.actualDuration,o=o.sibling}function Id(i,o){return{value:i,source:o,stack:tm(o),digest:null}}function eR(i,o,v){return{value:i,source:null,stack:v??null,digest:o??null}}function AJ(i,o){return!0}function tR(i,o){try{var v=AJ(i,o);if(v===!1)return;var g=o.value,C=o.source,T=o.stack,R=T!==null?T:"";if(g!=null&&g._suppressLogging){if(i.tag===h)return;console.error(g)}var k=C?vt(C):null,N=k?"The above error occurred in the <"+k+"> component:":"The above error occurred in one of your React components:",B;if(i.tag===m)B=`Consider adding an error boundary to your tree to customize error handling behavior.
143
+ Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var V=vt(i)||"Anonymous";B="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+V+".")}var K=N+`
144
+ `+R+`
145
145
 
146
- `+(""+S);console.error(D)}catch(x){setTimeout(function(){throw x})}}var aD=typeof WeakMap=="function"?WeakMap:Map;function LE(e,t,a){var i=lu(bt,a);i.tag=Qg,i.payload={element:null};var u=t.value;return i.callback=function(){X_(u),Q0(e,t)},i}function W0(e,t,a){var i=lu(bt,a);i.tag=Qg;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var s=t.value;i.payload=function(){return u(s)},i.callback=function(){IT(e),Q0(e,t)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(i.callback=function(){IT(e),Q0(e,t),typeof u!="function"&&G_(this);var m=t.value,S=t.stack;this.componentDidCatch(m,{componentStack:S!==null?S:""}),typeof u!="function"&&(_r(e.lanes,_e)||C("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",He(e)||"Unknown"))}),i}function zE(e,t,a){var i=e.pingCache,u;if(i===null?(i=e.pingCache=new aD,u=new Set,i.set(t,u)):(u=i.get(t),u===void 0&&(u=new Set,i.set(t,u))),!u.has(a)){u.add(a);var s=K_.bind(null,e,t,a);zn&&Bp(e,a),t.then(s,s)}}function iD(e,t,a,i){var u=e.updateQueue;if(u===null){var s=new Set;s.add(a),e.updateQueue=s}else u.add(a)}function lD(e,t){var a=e.tag;if((e.mode&Qe)===xe&&(a===F||a===Fe||a===$e)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function UE(e){var t=e;do{if(t.tag===Ie&&Ik(t))return t;t=t.return}while(t!==null);return null}function AE(e,t,a,i,u){if((e.mode&Qe)===xe){if(e===t)e.flags|=Tn;else{if(e.flags|=Ne,a.flags|=$o,a.flags&=~(Js|Br),a.tag===W){var s=a.alternate;if(s===null)a.tag=Yn;else{var f=lu(bt,_e);f.tag=tm,io(a,f,_e)}}a.lanes=Ve(a.lanes,_e)}return e}return e.flags|=Tn,e.lanes=u,e}function uD(e,t,a,i,u){if(a.flags|=Br,zn&&Bp(e,u),i!==null&&typeof i=="object"&&typeof i.then=="function"){var s=i;lD(a),sr()&&a.mode&Qe&&xC();var f=UE(t);if(f!==null){f.flags&=~Wt,AE(f,t,a,e,u),f.mode&Qe&&zE(e,s,u),iD(f,e,s);return}else{if(!Fu(u)){zE(e,s,u),xS();return}var p=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");i=p}}else if(sr()&&a.mode&Qe){xC();var m=UE(t);if(m!==null){(m.flags&Tn)===Te&&(m.flags|=Wt),AE(m,t,a,e,u),jg(Es(i,a));return}}i=Es(i,a),V_(i);var S=t;do{switch(S.tag){case K:{var E=i;S.flags|=Tn;var D=fn(u);S.lanes=Ve(S.lanes,D);var x=LE(S,E,D);qg(S,x);return}case W:var L=i,z=S.type,H=S.stateNode;if((S.flags&Ne)===Te&&(typeof z.getDerivedStateFromError=="function"||H!==null&&typeof H.componentDidCatch=="function"&&!UT(H))){S.flags|=Tn;var se=fn(u);S.lanes=Ve(S.lanes,se);var Re=W0(S,L,se);qg(S,Re);return}break}S=S.return}while(S!==null)}function oD(){return null}var xp=v.ReactCurrentOwner,Ni=!1,G0,kp,q0,X0,K0,Ts,Z0,Mm;G0={},kp={},q0={},X0={},K0={},Ts=!1,Z0={},Mm={};function Wr(e,t,a,i){e===null?t.child=eE(t,null,a,i):t.child=of(t,e.child,a,i)}function sD(e,t,a,i){t.child=of(t,e.child,null,i),t.child=of(t,null,a,i)}function FE(e,t,a,i,u){if(t.type!==t.elementType){var s=a.propTypes;s&&bi(s,i,"prop",Rt(a))}var f=a.render,p=t.ref,m,S;uf(t,u),el(t);{if(xp.current=t,Na(!0),m=vf(e,t,f,i,p,u),S=hf(),t.mode&Bt){cn(!0);try{m=vf(e,t,f,i,p,u),S=hf()}finally{cn(!1)}}Na(!1)}return Ul(),e!==null&&!Ni?(iE(e,t,u),uu(e,t,u)):(sr()&&S&&Lg(t),t.flags|=Wi,Wr(e,t,m,u),t.child)}function HE(e,t,a,i,u){if(e===null){var s=a.type;if(vO(s)&&a.compare===null&&a.defaultProps===void 0){var f=s;return f=Rf(s),t.tag=$e,t.type=f,tS(t,s),jE(e,t,f,i,u)}{var p=s.propTypes;p&&bi(p,i,"prop",Rt(s))}var m=FS(a.type,null,i,t,t.mode,u);return m.ref=t.ref,m.return=t,t.child=m,m}{var S=a.type,E=S.propTypes;E&&bi(E,i,"prop",Rt(S))}var D=e.child,x=uS(e,u);if(!x){var L=D.memoizedProps,z=a.compare;if(z=z!==null?z:Ce,z(L,i)&&e.ref===t.ref)return uu(e,t,u)}t.flags|=Wi;var H=ks(D,i);return H.ref=t.ref,H.return=t,t.child=H,H}function jE(e,t,a,i,u){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===ke){var f=s,p=f._payload,m=f._init;try{s=m(p)}catch{s=null}var S=s&&s.propTypes;S&&bi(S,i,"prop",Rt(s))}}if(e!==null){var E=e.memoizedProps;if(Ce(E,i)&&e.ref===t.ref&&t.type===e.type)if(Ni=!1,t.pendingProps=i=E,uS(e,u))(e.flags&$o)!==Te&&(Ni=!0);else return t.lanes=e.lanes,uu(e,t,u)}return J0(e,t,a,i,u)}function VE(e,t,a){var i=t.pendingProps,u=i.children,s=e!==null?e.memoizedState:null;if(i.mode==="hidden"||oe)if((t.mode&Qe)===xe){var f={baseLanes:V,cachePool:null,transitions:null};t.memoizedState=f,Ym(t,a)}else if(_r(a,Dr)){var D={baseLanes:V,cachePool:null,transitions:null};t.memoizedState=D;var x=s!==null?s.baseLanes:a;Ym(t,x)}else{var p=null,m;if(s!==null){var S=s.baseLanes;m=Ve(S,a)}else m=a;t.lanes=t.childLanes=Dr;var E={baseLanes:m,cachePool:p,transitions:null};return t.memoizedState=E,t.updateQueue=null,Ym(t,m),null}else{var L;s!==null?(L=Ve(s.baseLanes,a),t.memoizedState=null):L=a,Ym(t,L)}return Wr(e,t,u,a),t.child}function cD(e,t,a){var i=t.pendingProps;return Wr(e,t,i,a),t.child}function fD(e,t,a){var i=t.pendingProps.children;return Wr(e,t,i,a),t.child}function dD(e,t,a){{t.flags|=je;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var u=t.pendingProps,s=u.children;return Wr(e,t,s,a),t.child}function BE(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=Tr,t.flags|=sd)}function J0(e,t,a,i,u){if(t.type!==t.elementType){var s=a.propTypes;s&&bi(s,i,"prop",Rt(a))}var f;{var p=ef(t,a,!0);f=tf(t,p)}var m,S;uf(t,u),el(t);{if(xp.current=t,Na(!0),m=vf(e,t,a,i,f,u),S=hf(),t.mode&Bt){cn(!0);try{m=vf(e,t,a,i,f,u),S=hf()}finally{cn(!1)}}Na(!1)}return Ul(),e!==null&&!Ni?(iE(e,t,u),uu(e,t,u)):(sr()&&S&&Lg(t),t.flags|=Wi,Wr(e,t,m,u),t.child)}function PE(e,t,a,i,u){{switch(_O(t)){case!1:{var s=t.stateNode,f=t.type,p=new f(t.memoizedProps,s.context),m=p.state;s.updater.enqueueSetState(s,m,null);break}case!0:{t.flags|=Ne,t.flags|=Tn;var S=new Error("Simulated error coming from DevTools"),E=fn(u);t.lanes=Ve(t.lanes,E);var D=W0(t,Es(S,t),E);qg(t,D);break}}if(t.type!==t.elementType){var x=a.propTypes;x&&bi(x,i,"prop",Rt(a))}}var L;fl(a)?(L=!0,Ih(t)):L=!1,uf(t,u);var z=t.stateNode,H;z===null?(zm(e,t),qC(t,a,i),u0(t,a,i,u),H=!0):e===null?H=Hk(t,a,i,u):H=jk(e,t,a,i,u);var se=eS(e,t,a,H,L,u);{var Re=t.stateNode;H&&Re.props!==i&&(Ts||C("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",He(t)||"a component"),Ts=!0)}return se}function eS(e,t,a,i,u,s){BE(e,t);var f=(t.flags&Ne)!==Te;if(!i&&!f)return u&&TC(t,a,!1),uu(e,t,s);var p=t.stateNode;xp.current=t;var m;if(f&&typeof a.getDerivedStateFromError!="function")m=null,ME();else{el(t);{if(Na(!0),m=p.render(),t.mode&Bt){cn(!0);try{p.render()}finally{cn(!1)}}Na(!1)}Ul()}return t.flags|=Wi,e!==null&&f?sD(e,t,m,s):Wr(e,t,m,s),t.memoizedState=p.state,u&&TC(t,a,!0),t.child}function $E(e){var t=e.stateNode;t.pendingContext?CC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&CC(e,t.context,!1),p0(e,t.containerInfo)}function pD(e,t,a){if($E(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,u=t.memoizedState,s=u.element;BC(e,t),im(t,i,null,a);var f=t.memoizedState;t.stateNode;var p=f.element;if(u.isDehydrated){var m={element:p,isDehydrated:!1,cache:f.cache,pendingSuspenseBoundaries:f.pendingSuspenseBoundaries,transitions:f.transitions},S=t.updateQueue;if(S.baseState=m,t.memoizedState=m,t.flags&Wt){var E=Es(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return IE(e,t,p,a,E)}else if(p!==s){var D=Es(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return IE(e,t,p,a,D)}else{yk(t);var x=eE(t,null,p,a);t.child=x;for(var L=x;L;)L.flags=L.flags&~Ot|sa,L=L.sibling}}else{if(af(),p===s)return uu(e,t,a);Wr(e,t,p,a)}return t.child}function IE(e,t,a,i,u){return af(),jg(u),t.flags|=Wt,Wr(e,t,a,i),t.child}function vD(e,t,a){nE(t),e===null&&Hg(t);var i=t.type,u=t.pendingProps,s=e!==null?e.memoizedProps:null,f=u.children,p=Sg(i,u);return p?f=null:s!==null&&Sg(i,s)&&(t.flags|=pt),BE(e,t),Wr(e,t,f,a),t.child}function hD(e,t){return e===null&&Hg(t),null}function mD(e,t,a,i){zm(e,t);var u=t.pendingProps,s=a,f=s._payload,p=s._init,m=p(f);t.type=m;var S=t.tag=hO(m),E=Di(m,u),D;switch(S){case F:return tS(t,m),t.type=m=Rf(m),D=J0(null,t,m,E,i),D;case W:return t.type=m=NS(m),D=PE(null,t,m,E,i),D;case Fe:return t.type=m=MS(m),D=FE(null,t,m,E,i),D;case Dt:{if(t.type!==t.elementType){var x=m.propTypes;x&&bi(x,E,"prop",Rt(m))}return D=HE(null,t,m,Di(m.type,E),i),D}}var L="";throw m!==null&&typeof m=="object"&&m.$$typeof===ke&&(L=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+m+". "+("Lazy element type must resolve to a class or function."+L))}function yD(e,t,a,i,u){zm(e,t),t.tag=W;var s;return fl(a)?(s=!0,Ih(t)):s=!1,uf(t,u),qC(t,a,i),u0(t,a,i,u),eS(null,t,a,!0,s,u)}function gD(e,t,a,i){zm(e,t);var u=t.pendingProps,s;{var f=ef(t,a,!1);s=tf(t,f)}uf(t,i);var p,m;el(t);{if(a.prototype&&typeof a.prototype.render=="function"){var S=Rt(a)||"Unknown";G0[S]||(C("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",S,S),G0[S]=!0)}t.mode&Bt&&ki.recordLegacyContextWarning(t,null),Na(!0),xp.current=t,p=vf(null,t,a,u,s,i),m=hf(),Na(!1)}if(Ul(),t.flags|=Wi,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0){var E=Rt(a)||"Unknown";kp[E]||(C("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",E,E,E),kp[E]=!0)}if(typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0){{var D=Rt(a)||"Unknown";kp[D]||(C("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",D,D,D),kp[D]=!0)}t.tag=W,t.memoizedState=null,t.updateQueue=null;var x=!1;return fl(a)?(x=!0,Ih(t)):x=!1,t.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Gg(t),GC(t,p),u0(t,a,u,i),eS(null,t,a,!0,x,i)}else{if(t.tag=F,t.mode&Bt){cn(!0);try{p=vf(null,t,a,u,s,i),m=hf()}finally{cn(!1)}}return sr()&&m&&Lg(t),Wr(null,t,p,i),tS(t,a),t.child}}function tS(e,t){{if(t&&t.childContextTypes&&C("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",i=ia();i&&(a+=`
146
+ `+(""+B);console.error(K)}catch(Q){setTimeout(function(){throw Q})}}var LJ=typeof WeakMap=="function"?WeakMap:Map;function _B(i,o,v){var g=gs(gn,v);g.tag=tM,g.payload={element:null};var C=o.value;return g.callback=function(){xte(C),tR(i,o)},g}function nR(i,o,v){var g=gs(gn,v);g.tag=tM;var C=i.type.getDerivedStateFromError;if(typeof C=="function"){var T=o.value;g.payload=function(){return C(T)},g.callback=function(){A3(i),tR(i,o)}}var R=i.stateNode;return R!==null&&typeof R.componentDidCatch=="function"&&(g.callback=function(){A3(i),tR(i,o),typeof C!="function"&&Cte(this);var N=o.value,B=o.stack;this.componentDidCatch(N,{componentStack:B!==null?B:""}),typeof C!="function"&&(Ti(i.lanes,rt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",vt(i)||"Unknown"))}),g}function SB(i,o,v){var g=i.pingCache,C;if(g===null?(g=i.pingCache=new LJ,C=new Set,g.set(o,C)):(C=g.get(o),C===void 0&&(C=new Set,g.set(o,C))),!C.has(v)){C.add(v);var T=Tte.bind(null,i,o,v);Dr&&u0(i,v),o.then(T,T)}}function OJ(i,o,v,g){var C=i.updateQueue;if(C===null){var T=new Set;T.add(v),i.updateQueue=T}else C.add(v)}function kJ(i,o){var v=i.tag;if((i.mode&wt)===Je&&(v===d||v===O||v===U)){var g=i.alternate;g?(i.updateQueue=g.updateQueue,i.memoizedState=g.memoizedState,i.lanes=g.lanes):(i.updateQueue=null,i.memoizedState=null)}}function CB(i){var o=i;do{if(o.tag===I&&mJ(o))return o;o=o.return}while(o!==null);return null}function wB(i,o,v,g,C){if((i.mode&wt)===Je){if(i===o)i.flags|=yr;else{if(i.flags|=lt,v.flags|=id,v.flags&=~(uh|Vi),v.tag===h){var T=v.alternate;if(T===null)v.tag=j;else{var R=gs(gn,rt);R.tag=wC,Lf(v,R,rt)}}v.lanes=gt(v.lanes,rt)}return i}return i.flags|=yr,i.lanes=C,i}function NJ(i,o,v,g,C){if(v.flags|=Vi,Dr&&u0(i,C),g!==null&&typeof g=="object"&&typeof g.then=="function"){var T=g;kJ(v),ni()&&v.mode&wt&&d5();var R=CB(o);if(R!==null){R.flags&=~Vn,wB(R,o,v,i,C),R.mode&wt&&SB(i,T,C),OJ(R,i,T);return}else{if(!sf(C)){SB(i,T,C),PR();return}var k=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");g=k}}else if(ni()&&v.mode&wt){d5();var N=CB(o);if(N!==null){(N.flags&yr)===Qe&&(N.flags|=Vn),wB(N,o,v,i,C),XD(Id(g,v));return}}g=Id(g,v),vte(g);var B=o;do{switch(B.tag){case m:{var V=g;B.flags|=yr;var K=ur(C);B.lanes=gt(B.lanes,K);var Q=_B(B,V,K);iM(B,Q);return}case h:var le=g,ue=B.type,de=B.stateNode;if((B.flags&lt)===Qe&&(typeof ue.getDerivedStateFromError=="function"||de!==null&&typeof de.componentDidCatch=="function"&&!C3(de))){B.flags|=yr;var Ie=ur(C);B.lanes=gt(B.lanes,Ie);var Ze=nR(B,le,Ie);iM(B,Ze);return}break}B=B.return}while(B!==null)}function PJ(){return null}var Wy=n.ReactCurrentOwner,dl=!1,rR,Xy,iR,aR,oR,zd,lR,JC;rR={},Xy={},iR={},aR={},oR={},zd=!1,lR={},JC={};function Wi(i,o,v,g){i===null?o.child=U5(o,null,v,g):o.child=gp(o,i.child,v,g)}function IJ(i,o,v,g){o.child=gp(o,i.child,null,g),o.child=gp(o,null,v,g)}function xB(i,o,v,g,C){if(o.type!==o.elementType){var T=v.propTypes;T&&ol(T,g,"prop",hn(v))}var R=v.render,k=o.ref,N,B;pp(o,C),Ql(o);{if(Wy.current=o,$a(!0),N=wp(i,o,R,g,k,C),B=xp(),o.mode&Fn){lr(!0);try{N=wp(i,o,R,g,k,C),B=xp()}finally{lr(!1)}}$a(!1)}return ju(),i!==null&&!dl?(j5(i,o,C),ms(i,o,C)):(ni()&&B&&HD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function TB(i,o,v,g,C){if(i===null){var T=v.type;if(Vte(T)&&v.compare===null&&v.defaultProps===void 0){var R=T;return R=Lp(T),o.tag=U,o.type=R,fR(o,T),bB(i,o,R,g,C)}{var k=T.propTypes;k&&ol(k,g,"prop",hn(T))}var N=YR(v.type,null,g,o,o.mode,C);return N.ref=o.ref,N.return=o,o.child=N,N}{var B=v.type,V=B.propTypes;V&&ol(V,g,"prop",hn(B))}var K=i.child,Q=gR(i,C);if(!Q){var le=K.memoizedProps,ue=v.compare;if(ue=ue!==null?ue:Xe,ue(le,g)&&i.ref===o.ref)return ms(i,o,C)}o.flags|=Gl;var de=Hd(K,g);return de.ref=o.ref,de.return=o,o.child=de,de}function bB(i,o,v,g,C){if(o.type!==o.elementType){var T=o.elementType;if(T.$$typeof===tt){var R=T,k=R._payload,N=R._init;try{T=N(k)}catch{T=null}var B=T&&T.propTypes;B&&ol(B,g,"prop",hn(T))}}if(i!==null){var V=i.memoizedProps;if(Xe(V,g)&&i.ref===o.ref&&o.type===i.type)if(dl=!1,o.pendingProps=g=V,gR(i,C))(i.flags&id)!==Qe&&(dl=!0);else return o.lanes=i.lanes,ms(i,o,C)}return uR(i,o,v,g,C)}function EB(i,o,v){var g=o.pendingProps,C=g.children,T=i!==null?i.memoizedState:null;if(g.mode==="hidden"||pe)if((o.mode&wt)===Je){var R={baseLanes:he,cachePool:null,transitions:null};o.memoizedState=R,dw(o,v)}else if(Ti(v,xi)){var K={baseLanes:he,cachePool:null,transitions:null};o.memoizedState=K;var Q=T!==null?T.baseLanes:v;dw(o,Q)}else{var k=null,N;if(T!==null){var B=T.baseLanes;N=gt(B,v)}else N=v;o.lanes=o.childLanes=xi;var V={baseLanes:N,cachePool:k,transitions:null};return o.memoizedState=V,o.updateQueue=null,dw(o,N),null}else{var le;T!==null?(le=gt(T.baseLanes,v),o.memoizedState=null):le=v,dw(o,le)}return Wi(i,o,C,v),o.child}function zJ(i,o,v){var g=o.pendingProps;return Wi(i,o,g,v),o.child}function FJ(i,o,v){var g=o.pendingProps.children;return Wi(i,o,g,v),o.child}function BJ(i,o,v){{o.flags|=pt;{var g=o.stateNode;g.effectDuration=0,g.passiveEffectDuration=0}}var C=o.pendingProps,T=C.children;return Wi(i,o,T,v),o.child}function DB(i,o){var v=o.ref;(i===null&&v!==null||i!==null&&i.ref!==v)&&(o.flags|=mi,o.flags|=Am)}function uR(i,o,v,g,C){if(o.type!==o.elementType){var T=v.propTypes;T&&ol(T,g,"prop",hn(v))}var R;{var k=sp(o,v,!0);R=fp(o,k)}var N,B;pp(o,C),Ql(o);{if(Wy.current=o,$a(!0),N=wp(i,o,v,g,R,C),B=xp(),o.mode&Fn){lr(!0);try{N=wp(i,o,v,g,R,C),B=xp()}finally{lr(!1)}}$a(!1)}return ju(),i!==null&&!dl?(j5(i,o,C),ms(i,o,C)):(ni()&&B&&HD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function MB(i,o,v,g,C){{switch(nne(o)){case!1:{var T=o.stateNode,R=o.type,k=new R(o.memoizedProps,T.context),N=k.state;T.updater.enqueueSetState(T,N,null);break}case!0:{o.flags|=lt,o.flags|=yr;var B=new Error("Simulated error coming from DevTools"),V=ur(C);o.lanes=gt(o.lanes,V);var K=nR(o,Id(B,o),V);iM(o,K);break}}if(o.type!==o.elementType){var Q=v.propTypes;Q&&ol(Q,g,"prop",hn(v))}}var le;lu(v)?(le=!0,cC(o)):le=!1,pp(o,C);var ue=o.stateNode,de;ue===null?(tw(i,o),P5(o,v,g),gM(o,v,g,C),de=!0):i===null?de=cJ(o,v,g,C):de=dJ(i,o,v,g,C);var Ie=sR(i,o,v,de,le,C);{var Ze=o.stateNode;de&&Ze.props!==g&&(zd||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",vt(o)||"a component"),zd=!0)}return Ie}function sR(i,o,v,g,C,T){DB(i,o);var R=(o.flags&lt)!==Qe;if(!g&&!R)return C&&u5(o,v,!1),ms(i,o,T);var k=o.stateNode;Wy.current=o;var N;if(R&&typeof v.getDerivedStateFromError!="function")N=null,yB();else{Ql(o);{if($a(!0),N=k.render(),o.mode&Fn){lr(!0);try{k.render()}finally{lr(!1)}}$a(!1)}ju()}return o.flags|=Gl,i!==null&&R?IJ(i,o,N,T):Wi(i,o,N,T),o.memoizedState=k.state,C&&u5(o,v,!0),o.child}function RB(i){var o=i.stateNode;o.pendingContext?o5(i,o.pendingContext,o.pendingContext!==o.context):o.context&&o5(i,o.context,!1),wM(i,o.containerInfo)}function UJ(i,o,v){if(RB(o),i===null)throw new Error("Should have a current fiber. This is a bug in React.");var g=o.pendingProps,C=o.memoizedState,T=C.element;D5(i,o),EC(o,g,null,v);var R=o.memoizedState;o.stateNode;var k=R.element;if(C.isDehydrated){var N={element:k,isDehydrated:!1,cache:R.cache,pendingSuspenseBoundaries:R.pendingSuspenseBoundaries,transitions:R.transitions},B=o.updateQueue;if(B.baseState=N,o.memoizedState=N,o.flags&Vn){var V=Id(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),o);return AB(i,o,k,v,V)}else if(k!==T){var K=Id(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),o);return AB(i,o,k,v,K)}else{$K(o);var Q=U5(o,null,k,v);o.child=Q;for(var le=Q;le;)le.flags=le.flags&~Cn|pa,le=le.sibling}}else{if(vp(),k===T)return ms(i,o,v);Wi(i,o,k,v)}return o.child}function AB(i,o,v,g,C){return vp(),XD(C),o.flags|=Vn,Wi(i,o,v,g),o.child}function VJ(i,o,v){H5(o),i===null&&WD(o);var g=o.type,C=o.pendingProps,T=i!==null?i.memoizedProps:null,R=C.children,k=MD(g,C);return k?R=null:T!==null&&MD(g,T)&&(o.flags|=Kt),DB(i,o),Wi(i,o,R,v),o.child}function HJ(i,o){return i===null&&WD(o),null}function GJ(i,o,v,g){tw(i,o);var C=o.pendingProps,T=v,R=T._payload,k=T._init,N=k(R);o.type=N;var B=o.tag=Hte(N),V=sl(N,C),K;switch(B){case d:return fR(o,N),o.type=N=Lp(N),K=uR(null,o,N,V,g),K;case h:return o.type=N=UR(N),K=MB(null,o,N,V,g),K;case O:return o.type=N=VR(N),K=xB(null,o,N,V,g),K;case F:{if(o.type!==o.elementType){var Q=N.propTypes;Q&&ol(Q,V,"prop",hn(N))}return K=TB(null,o,N,sl(N.type,V),g),K}}var le="";throw N!==null&&typeof N=="object"&&N.$$typeof===tt&&(le=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+N+". "+("Lazy element type must resolve to a class or function."+le))}function $J(i,o,v,g,C){tw(i,o),o.tag=h;var T;return lu(v)?(T=!0,cC(o)):T=!1,pp(o,C),P5(o,v,g),gM(o,v,g,C),sR(null,o,v,!0,T,C)}function jJ(i,o,v,g){tw(i,o);var C=o.pendingProps,T;{var R=sp(o,v,!1);T=fp(o,R)}pp(o,g);var k,N;Ql(o);{if(v.prototype&&typeof v.prototype.render=="function"){var B=hn(v)||"Unknown";rR[B]||(u("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),rR[B]=!0)}o.mode&Fn&&ul.recordLegacyContextWarning(o,null),$a(!0),Wy.current=o,k=wp(null,o,v,C,T,g),N=xp(),$a(!1)}if(ju(),o.flags|=Gl,typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){var V=hn(v)||"Unknown";Xy[V]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",V,V,V),Xy[V]=!0)}if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){{var K=hn(v)||"Unknown";Xy[K]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",K,K,K),Xy[K]=!0)}o.tag=h,o.memoizedState=null,o.updateQueue=null;var Q=!1;return lu(v)?(Q=!0,cC(o)):Q=!1,o.memoizedState=k.state!==null&&k.state!==void 0?k.state:null,rM(o),N5(o,k),gM(o,v,C,g),sR(null,o,v,!0,Q,g)}else{if(o.tag=d,o.mode&Fn){lr(!0);try{k=wp(null,o,v,C,T,g),N=xp()}finally{lr(!1)}}return ni()&&N&&HD(o),Wi(null,o,k,g),fR(o,v),o.child}}function fR(i,o){{if(o&&o.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",o.displayName||o.name||"Component"),i.ref!==null){var v="",g=ca();g&&(v+=`
147
147
 
148
- Check the render method of \``+i+"`.");var u=i||"",s=e._debugSource;s&&(u=s.fileName+":"+s.lineNumber),K0[u]||(K0[u]=!0,C("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(typeof t.getDerivedStateFromProps=="function"){var f=Rt(t)||"Unknown";X0[f]||(C("%s: Function components do not support getDerivedStateFromProps.",f),X0[f]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var p=Rt(t)||"Unknown";q0[p]||(C("%s: Function components do not support contextType.",p),q0[p]=!0)}}}var nS={dehydrated:null,treeContext:null,retryLane:Ze};function rS(e){return{baseLanes:e,cachePool:oD(),transitions:null}}function SD(e,t){var a=null;return{baseLanes:Ve(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function CD(e,t,a,i){if(t!==null){var u=t.memoizedState;if(u===null)return!1}return m0(e,gp)}function ED(e,t){return Hu(e.childLanes,t)}function YE(e,t,a){var i=t.pendingProps;OO(t)&&(t.flags|=Ne);var u=_i.current,s=!1,f=(t.flags&Ne)!==Te;if(f||CD(u,e)?(s=!0,t.flags&=~Ne):(e===null||e.memoizedState!==null)&&(u=$k(u,aE)),u=cf(u),uo(t,u),e===null){Hg(t);var p=t.memoizedState;if(p!==null){var m=p.dehydrated;if(m!==null)return xD(t,m)}var S=i.children,E=i.fallback;if(s){var D=TD(t,S,E,a),x=t.child;return x.memoizedState=rS(a),t.memoizedState=nS,D}else return aS(t,S)}else{var L=e.memoizedState;if(L!==null){var z=L.dehydrated;if(z!==null)return kD(e,t,f,i,z,L,a)}if(s){var H=i.fallback,se=i.children,Re=wD(e,t,se,H,a),ge=t.child,et=e.child.memoizedState;return ge.memoizedState=et===null?rS(a):SD(et,a),ge.childLanes=ED(e,a),t.memoizedState=nS,Re}else{var qe=i.children,O=RD(e,t,qe,a);return t.memoizedState=null,O}}}function aS(e,t,a){var i=e.mode,u={mode:"visible",children:t},s=iS(u,i);return s.return=e,e.child=s,s}function TD(e,t,a,i){var u=e.mode,s=e.child,f={mode:"hidden",children:t},p,m;return(u&Qe)===xe&&s!==null?(p=s,p.childLanes=V,p.pendingProps=f,e.mode&De&&(p.actualDuration=0,p.actualStartTime=-1,p.selfBaseDuration=0,p.treeBaseDuration=0),m=mo(a,u,i,null)):(p=iS(f,u),m=mo(a,u,i,null)),p.return=e,m.return=e,p.sibling=m,e.child=p,m}function iS(e,t,a){return QT(e,t,V,null)}function QE(e,t){return ks(e,t)}function RD(e,t,a,i){var u=e.child,s=u.sibling,f=QE(u,{mode:"visible",children:a});if((t.mode&Qe)===xe&&(f.lanes=i),f.return=t,f.sibling=null,s!==null){var p=t.deletions;p===null?(t.deletions=[s],t.flags|=dt):p.push(s)}return t.child=f,f}function wD(e,t,a,i,u){var s=t.mode,f=e.child,p=f.sibling,m={mode:"hidden",children:a},S;if((s&Qe)===xe&&t.child!==f){var E=t.child;S=E,S.childLanes=V,S.pendingProps=m,t.mode&De&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=f.selfBaseDuration,S.treeBaseDuration=f.treeBaseDuration),t.deletions=null}else S=QE(f,m),S.subtreeFlags=f.subtreeFlags&Ln;var D;return p!==null?D=ks(p,i):(D=mo(i,s,u,null),D.flags|=Ot),D.return=t,S.return=t,S.sibling=D,t.child=S,D}function Lm(e,t,a,i){i!==null&&jg(i),of(t,e.child,null,a);var u=t.pendingProps,s=u.children,f=aS(t,s);return f.flags|=Ot,t.memoizedState=null,f}function bD(e,t,a,i,u){var s=t.mode,f={mode:"visible",children:a},p=iS(f,s),m=mo(i,s,u,null);return m.flags|=Ot,p.return=t,m.return=t,p.sibling=m,t.child=p,(t.mode&Qe)!==xe&&of(t,e.child,null,u),m}function xD(e,t,a){return(e.mode&Qe)===xe?(C("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=_e):Rg(t)?e.lanes=Hl:e.lanes=Dr,null}function kD(e,t,a,i,u,s,f){if(a)if(t.flags&Wt){t.flags&=~Wt;var O=Y0(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Lm(e,t,f,O)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ne,null;var j=i.children,N=i.fallback,G=bD(e,t,j,N,f),ce=t.child;return ce.memoizedState=rS(f),t.memoizedState=nS,G}else{if(hk(),(t.mode&Qe)===xe)return Lm(e,t,f,null);if(Rg(u)){var p,m,S;{var E=Mx(u);p=E.digest,m=E.message,S=E.stack}var D;m?D=new Error(m):D=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var x=Y0(D,p,S);return Lm(e,t,f,x)}var L=_r(f,e.childLanes);if(Ni||L){var z=Im();if(z!==null){var H=Iy(z,f);if(H!==Ze&&H!==s.retryLane){s.retryLane=H;var se=bt;Sa(e,H),$n(z,e,H,se)}}xS();var Re=Y0(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Lm(e,t,f,Re)}else if(vC(u)){t.flags|=Ne,t.child=e.child;var ge=Z_.bind(null,e);return Lx(u,ge),null}else{gk(t,u,s.treeContext);var et=i.children,qe=aS(t,et);return qe.flags|=sa,qe}}}function WE(e,t,a){e.lanes=Ve(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=Ve(i.lanes,t)),Ig(e.return,t,a)}function DD(e,t,a){for(var i=t;i!==null;){if(i.tag===Ie){var u=i.memoizedState;u!==null&&WE(i,a,e)}else if(i.tag===gt)WE(i,a,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function _D(e){for(var t=e,a=null;t!==null;){var i=t.alternate;i!==null&&dm(i)===null&&(a=t),t=t.sibling}return a}function OD(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Z0[e])if(Z0[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{C('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{C('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:C('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else C('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function ND(e,t){e!==void 0&&!Mm[e]&&(e!=="collapsed"&&e!=="hidden"?(Mm[e]=!0,C('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Mm[e]=!0,C('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function GE(e,t){{var a=Cn(e),i=!a&&typeof oi(e)=="function";if(a||i){var u=a?"array":"iterable";return C("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,t,u),!1}}return!0}function MD(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Cn(e)){for(var a=0;a<e.length;a++)if(!GE(e[a],a))return}else{var i=oi(e);if(typeof i=="function"){var u=i.call(e);if(u)for(var s=u.next(),f=0;!s.done;s=u.next()){if(!GE(s.value,f))return;f++}}else C('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function lS(e,t,a,i,u){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:u}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=a,s.tailMode=u)}function qE(e,t,a){var i=t.pendingProps,u=i.revealOrder,s=i.tail,f=i.children;OD(u),ND(s,u),MD(f,u),Wr(e,t,f,a);var p=_i.current,m=m0(p,gp);if(m)p=y0(p,gp),t.flags|=Ne;else{var S=e!==null&&(e.flags&Ne)!==Te;S&&DD(t,t.child,a),p=cf(p)}if(uo(t,p),(t.mode&Qe)===xe)t.memoizedState=null;else switch(u){case"forwards":{var E=_D(t.child),D;E===null?(D=t.child,t.child=null):(D=E.sibling,E.sibling=null),lS(t,!1,D,E,s);break}case"backwards":{var x=null,L=t.child;for(t.child=null;L!==null;){var z=L.alternate;if(z!==null&&dm(z)===null){t.child=L;break}var H=L.sibling;L.sibling=x,x=L,L=H}lS(t,!0,x,null,s);break}case"together":{lS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function LD(e,t,a){p0(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=of(t,null,i,a):Wr(e,t,i,a),t.child}var XE=!1;function zD(e,t,a){var i=t.type,u=i._context,s=t.pendingProps,f=t.memoizedProps,p=s.value;{"value"in s||XE||(XE=!0,C("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var m=t.type.propTypes;m&&bi(m,s,"prop","Context.Provider")}if(FC(t,u,p),f!==null){var S=f.value;if(ve(S,p)){if(f.children===s.children&&!Ph())return uu(e,t,a)}else Dk(t,u,a)}var E=s.children;return Wr(e,t,E,a),t.child}var KE=!1;function UD(e,t,a){var i=t.type;i._context===void 0?i!==i.Consumer&&(KE||(KE=!0,C("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var u=t.pendingProps,s=u.children;typeof s!="function"&&C("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),uf(t,a);var f=kn(i);el(t);var p;return xp.current=t,Na(!0),p=s(f),Na(!1),Ul(),t.flags|=Wi,Wr(e,t,p,a),t.child}function Dp(){Ni=!0}function zm(e,t){(t.mode&Qe)===xe&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ot)}function uu(e,t,a){return e!==null&&(t.dependencies=e.dependencies),ME(),Vp(t.lanes),_r(a,t.childLanes)?(Vk(e,t),t.child):null}function AD(e,t,a){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===i.child)i.child=a;else{var u=i.child;if(u===null)throw new Error("Expected parent to have a child.");for(;u.sibling!==t;)if(u=u.sibling,u===null)throw new Error("Expected to find the previous sibling.");u.sibling=a}var s=i.deletions;return s===null?(i.deletions=[e],i.flags|=dt):s.push(e),a.flags|=Ot,a}}function uS(e,t){var a=e.lanes;return!!_r(a,t)}function FD(e,t,a){switch(t.tag){case K:$E(t),t.stateNode,af();break;case ie:nE(t);break;case W:{var i=t.type;fl(i)&&Ih(t);break}case ae:p0(t,t.stateNode.containerInfo);break;case Xe:{var u=t.memoizedProps.value,s=t.type._context;FC(t,s,u);break}case ct:{var f=_r(a,t.childLanes);f&&(t.flags|=je);{var p=t.stateNode;p.effectDuration=0,p.passiveEffectDuration=0}}break;case Ie:{var m=t.memoizedState;if(m!==null){if(m.dehydrated!==null)return uo(t,cf(_i.current)),t.flags|=Ne,null;var S=t.child,E=S.childLanes;if(_r(a,E))return YE(e,t,a);uo(t,cf(_i.current));var D=uu(e,t,a);return D!==null?D.sibling:null}else uo(t,cf(_i.current));break}case gt:{var x=(e.flags&Ne)!==Te,L=_r(a,t.childLanes);if(x){if(L)return qE(e,t,a);t.flags|=Ne}var z=t.memoizedState;if(z!==null&&(z.rendering=null,z.tail=null,z.lastEffect=null),uo(t,_i.current),L)break;return null}case Ue:case Ke:return t.lanes=V,VE(e,t,a)}return uu(e,t,a)}function ZE(e,t,a){if(t._debugNeedsRemount&&e!==null)return AD(e,t,FS(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,u=t.pendingProps;if(i!==u||Ph()||t.type!==e.type)Ni=!0;else{var s=uS(e,a);if(!s&&(t.flags&Ne)===Te)return Ni=!1,FD(e,t,a);(e.flags&$o)!==Te?Ni=!0:Ni=!1}}else if(Ni=!1,sr()&&sk(t)){var f=t.index,p=ck();bC(t,p,f)}switch(t.lanes=V,t.tag){case Se:return gD(e,t,t.type,a);case _n:{var m=t.elementType;return mD(e,t,m,a)}case F:{var S=t.type,E=t.pendingProps,D=t.elementType===S?E:Di(S,E);return J0(e,t,S,D,a)}case W:{var x=t.type,L=t.pendingProps,z=t.elementType===x?L:Di(x,L);return PE(e,t,x,z,a)}case K:return pD(e,t,a);case ie:return vD(e,t,a);case de:return hD(e,t);case Ie:return YE(e,t,a);case ae:return LD(e,t,a);case Fe:{var H=t.type,se=t.pendingProps,Re=t.elementType===H?se:Di(H,se);return FE(e,t,H,Re,a)}case tt:return cD(e,t,a);case it:return fD(e,t,a);case ct:return dD(e,t,a);case Xe:return zD(e,t,a);case Yt:return UD(e,t,a);case Dt:{var ge=t.type,et=t.pendingProps,qe=Di(ge,et);if(t.type!==t.elementType){var O=ge.propTypes;O&&bi(O,qe,"prop",Rt(ge))}return qe=Di(ge.type,qe),HE(e,t,ge,qe,a)}case $e:return jE(e,t,t.type,t.pendingProps,a);case Yn:{var j=t.type,N=t.pendingProps,G=t.elementType===j?N:Di(j,N);return yD(e,t,j,G,a)}case gt:return qE(e,t,a);case On:break;case Ue:return VE(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function mf(e){e.flags|=je}function JE(e){e.flags|=Tr,e.flags|=sd}var eT,oS,tT,nT;eT=function(e,t,a,i){for(var u=t.child;u!==null;){if(u.tag===ie||u.tag===de)lx(e,u.stateNode);else if(u.tag!==ae){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===t)return;for(;u.sibling===null;){if(u.return===null||u.return===t)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},oS=function(e,t){},tT=function(e,t,a,i,u){var s=e.memoizedProps;if(s!==i){var f=t.stateNode,p=v0(),m=ox(f,a,s,i,u,p);t.updateQueue=m,m&&mf(t)}},nT=function(e,t,a,i){a!==i&&mf(t)};function _p(e,t){if(!sr())switch(e.tailMode){case"hidden":{for(var a=e.tail,i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var u=e.tail,s=null;u!==null;)u.alternate!==null&&(s=u),u=u.sibling;s===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:s.sibling=null;break}}}function fr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=V,i=Te;if(t){if((e.mode&De)!==xe){for(var m=e.selfBaseDuration,S=e.child;S!==null;)a=Ve(a,Ve(S.lanes,S.childLanes)),i|=S.subtreeFlags&Ln,i|=S.flags&Ln,m+=S.treeBaseDuration,S=S.sibling;e.treeBaseDuration=m}else for(var E=e.child;E!==null;)a=Ve(a,Ve(E.lanes,E.childLanes)),i|=E.subtreeFlags&Ln,i|=E.flags&Ln,E.return=e,E=E.sibling;e.subtreeFlags|=i}else{if((e.mode&De)!==xe){for(var u=e.actualDuration,s=e.selfBaseDuration,f=e.child;f!==null;)a=Ve(a,Ve(f.lanes,f.childLanes)),i|=f.subtreeFlags,i|=f.flags,u+=f.actualDuration,s+=f.treeBaseDuration,f=f.sibling;e.actualDuration=u,e.treeBaseDuration=s}else for(var p=e.child;p!==null;)a=Ve(a,Ve(p.lanes,p.childLanes)),i|=p.subtreeFlags,i|=p.flags,p.return=e,p=p.sibling;e.subtreeFlags|=i}return e.childLanes=a,t}function HD(e,t,a){if(Rk()&&(t.mode&Qe)!==xe&&(t.flags&Ne)===Te)return MC(t),af(),t.flags|=Wt|Br|Tn,!1;var i=qh(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Ek(t),fr(t),(t.mode&De)!==xe){var u=a!==null;if(u){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(af(),(t.flags&Ne)===Te&&(t.memoizedState=null),t.flags|=je,fr(t),(t.mode&De)!==xe){var f=a!==null;if(f){var p=t.child;p!==null&&(t.treeBaseDuration-=p.treeBaseDuration)}}return!1}else return LC(),!0}function rT(e,t,a){var i=t.pendingProps;switch(zg(t),t.tag){case Se:case _n:case $e:case F:case Fe:case tt:case it:case ct:case Yt:case Dt:return fr(t),null;case W:{var u=t.type;return fl(u)&&$h(t),fr(t),null}case K:{var s=t.stateNode;if(sf(t),Og(t),S0(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var f=qh(t);if(f)mf(t);else if(e!==null){var p=e.memoizedState;(!p.isDehydrated||(t.flags&Wt)!==Te)&&(t.flags|=oa,LC())}}return oS(e,t),fr(t),null}case ie:{h0(t);var m=tE(),S=t.type;if(e!==null&&t.stateNode!=null)tT(e,t,S,i,m),e.ref!==t.ref&&JE(t);else{if(!i){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return fr(t),null}var E=v0(),D=qh(t);if(D)Sk(t,m,E)&&mf(t);else{var x=ix(S,i,m,E,t);eT(x,t,!1,!1),t.stateNode=x,ux(x,S,i,m)&&mf(t)}t.ref!==null&&JE(t)}return fr(t),null}case de:{var L=i;if(e&&t.stateNode!=null){var z=e.memoizedProps;nT(e,t,z,L)}else{if(typeof L!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var H=tE(),se=v0(),Re=qh(t);Re?Ck(t)&&mf(t):t.stateNode=sx(L,H,se,t)}return fr(t),null}case Ie:{ff(t);var ge=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var et=HD(e,t,ge);if(!et)return t.flags&Tn?t:null}if((t.flags&Ne)!==Te)return t.lanes=a,(t.mode&De)!==xe&&I0(t),t;var qe=ge!==null,O=e!==null&&e.memoizedState!==null;if(qe!==O&&qe){var j=t.child;if(j.flags|=Gi,(t.mode&Qe)!==xe){var N=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!lt);N||m0(_i.current,aE)?j_():xS()}}var G=t.updateQueue;if(G!==null&&(t.flags|=je),fr(t),(t.mode&De)!==xe&&qe){var ce=t.child;ce!==null&&(t.treeBaseDuration-=ce.treeBaseDuration)}return null}case ae:return sf(t),oS(e,t),e===null&&nk(t.stateNode.containerInfo),fr(t),null;case Xe:var re=t.type._context;return $g(re,t),fr(t),null;case Yn:{var Oe=t.type;return fl(Oe)&&$h(t),fr(t),null}case gt:{ff(t);var Ae=t.memoizedState;if(Ae===null)return fr(t),null;var Et=(t.flags&Ne)!==Te,ot=Ae.rendering;if(ot===null)if(Et)_p(Ae,!1);else{var hn=B_()&&(e===null||(e.flags&Ne)===Te);if(!hn)for(var st=t.child;st!==null;){var ln=dm(st);if(ln!==null){Et=!0,t.flags|=Ne,_p(Ae,!1);var Lr=ln.updateQueue;return Lr!==null&&(t.updateQueue=Lr,t.flags|=je),t.subtreeFlags=Te,Bk(t,a),uo(t,y0(_i.current,gp)),t.child}st=st.sibling}Ae.tail!==null&&Vt()>wT()&&(t.flags|=Ne,Et=!0,_p(Ae,!1),t.lanes=Td)}else{if(!Et){var mr=dm(ot);if(mr!==null){t.flags|=Ne,Et=!0;var ja=mr.updateQueue;if(ja!==null&&(t.updateQueue=ja,t.flags|=je),_p(Ae,!0),Ae.tail===null&&Ae.tailMode==="hidden"&&!ot.alternate&&!sr())return fr(t),null}else Vt()*2-Ae.renderingStartTime>wT()&&a!==Dr&&(t.flags|=Ne,Et=!0,_p(Ae,!1),t.lanes=Td)}if(Ae.isBackwards)ot.sibling=t.child,t.child=ot;else{var Xr=Ae.last;Xr!==null?Xr.sibling=ot:t.child=ot,Ae.last=ot}}if(Ae.tail!==null){var Kr=Ae.tail;Ae.rendering=Kr,Ae.tail=Kr.sibling,Ae.renderingStartTime=Vt(),Kr.sibling=null;var zr=_i.current;return Et?zr=y0(zr,gp):zr=cf(zr),uo(t,zr),Kr}return fr(t),null}case On:break;case Ue:case Ke:{bS(t);var du=t.memoizedState,wf=du!==null;if(e!==null){var Yp=e.memoizedState,Sl=Yp!==null;Sl!==wf&&!oe&&(t.flags|=Gi)}return!wf||(t.mode&Qe)===xe?fr(t):_r(gl,Dr)&&(fr(t),t.subtreeFlags&(Ot|je)&&(t.flags|=Gi)),null}case mn:return null;case _t:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function jD(e,t,a){switch(zg(t),t.tag){case W:{var i=t.type;fl(i)&&$h(t);var u=t.flags;return u&Tn?(t.flags=u&~Tn|Ne,(t.mode&De)!==xe&&I0(t),t):null}case K:{t.stateNode,sf(t),Og(t),S0();var s=t.flags;return(s&Tn)!==Te&&(s&Ne)===Te?(t.flags=s&~Tn|Ne,t):null}case ie:return h0(t),null;case Ie:{ff(t);var f=t.memoizedState;if(f!==null&&f.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");af()}var p=t.flags;return p&Tn?(t.flags=p&~Tn|Ne,(t.mode&De)!==xe&&I0(t),t):null}case gt:return ff(t),null;case ae:return sf(t),null;case Xe:var m=t.type._context;return $g(m,t),null;case Ue:case Ke:return bS(t),null;case mn:return null;default:return null}}function aT(e,t,a){switch(zg(t),t.tag){case W:{var i=t.type.childContextTypes;i!=null&&$h(t);break}case K:{t.stateNode,sf(t),Og(t),S0();break}case ie:{h0(t);break}case ae:sf(t);break;case Ie:ff(t);break;case gt:ff(t);break;case Xe:var u=t.type._context;$g(u,t);break;case Ue:case Ke:bS(t);break}}var iT=null;iT=new Set;var Um=!1,dr=!1,VD=typeof WeakSet=="function"?WeakSet:Set,he=null,yf=null,gf=null;function BD(e){Ll(null,function(){throw e}),ud()}var PD=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&De)try{ml(),t.componentWillUnmount()}finally{hl(e)}else t.componentWillUnmount()};function lT(e,t){try{co(Fn,e)}catch(a){zt(e,t,a)}}function sS(e,t,a){try{PD(e,a)}catch(i){zt(e,t,i)}}function $D(e,t,a){try{a.componentDidMount()}catch(i){zt(e,t,i)}}function uT(e,t){try{sT(e)}catch(a){zt(e,t,a)}}function Sf(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var i;try{if(on&&ea&&e.mode&De)try{ml(),i=a(null)}finally{hl(e)}else i=a(null)}catch(u){zt(e,t,u)}typeof i=="function"&&C("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",He(e))}else a.current=null}function Am(e,t,a){try{a()}catch(i){zt(e,t,i)}}var oT=!1;function ID(e,t){rx(e.containerInfo),he=t,YD();var a=oT;return oT=!1,a}function YD(){for(;he!==null;){var e=he,t=e.child;(e.subtreeFlags&Ou)!==Te&&t!==null?(t.return=e,he=t):QD()}}function QD(){for(;he!==null;){var e=he;St(e);try{WD(e)}catch(a){zt(e,e.return,a)}sn();var t=e.sibling;if(t!==null){t.return=e.return,he=t;return}he=e.return}}function WD(e){var t=e.alternate,a=e.flags;if((a&oa)!==Te){switch(St(e),e.tag){case F:case Fe:case $e:break;case W:{if(t!==null){var i=t.memoizedProps,u=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!Ts&&(s.props!==e.memoizedProps&&C("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",He(e)||"instance"),s.state!==e.memoizedState&&C("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",He(e)||"instance"));var f=s.getSnapshotBeforeUpdate(e.elementType===e.type?i:Di(e.type,i),u);{var p=iT;f===void 0&&!p.has(e.type)&&(p.add(e.type),C("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",He(e)))}s.__reactInternalSnapshotBeforeUpdate=f}break}case K:{{var m=e.stateNode;Dx(m.containerInfo)}break}case ie:case de:case ae:case Yn:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}sn()}}function Mi(e,t,a){var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var s=u.next,f=s;do{if((f.tag&e)===e){var p=f.destroy;f.destroy=void 0,p!==void 0&&((e&cr)!==Ca?uc(t):(e&Fn)!==Ca&&oc(t),(e&dl)!==Ca&&Pp(!0),Am(t,a,p),(e&dl)!==Ca&&Pp(!1),(e&cr)!==Ca?Gv():(e&Fn)!==Ca&&Nu())}f=f.next}while(f!==s)}}function co(e,t){var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var u=i.next,s=u;do{if((s.tag&e)===e){(e&cr)!==Ca?Wv(t):(e&Fn)!==Ca&&qv(t);var f=s.create;(e&dl)!==Ca&&Pp(!0),s.destroy=f(),(e&dl)!==Ca&&Pp(!1),(e&cr)!==Ca?Sd():(e&Fn)!==Ca&&Xv();{var p=s.destroy;if(p!==void 0&&typeof p!="function"){var m=void 0;(s.tag&Fn)!==Te?m="useLayoutEffect":(s.tag&dl)!==Te?m="useInsertionEffect":m="useEffect";var S=void 0;p===null?S=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof p.then=="function"?S=`
148
+ Check the render method of \``+g+"`.");var C=g||"",T=i._debugSource;T&&(C=T.fileName+":"+T.lineNumber),oR[C]||(oR[C]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",v))}if(typeof o.getDerivedStateFromProps=="function"){var R=hn(o)||"Unknown";aR[R]||(u("%s: Function components do not support getDerivedStateFromProps.",R),aR[R]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var k=hn(o)||"Unknown";iR[k]||(u("%s: Function components do not support contextType.",k),iR[k]=!0)}}}var cR={dehydrated:null,treeContext:null,retryLane:At};function dR(i){return{baseLanes:i,cachePool:PJ(),transitions:null}}function YJ(i,o){var v=null;return{baseLanes:gt(i.baseLanes,o),cachePool:v,transitions:i.transitions}}function WJ(i,o,v,g){if(o!==null){var C=o.memoizedState;if(C===null)return!1}return bM(i,By)}function XJ(i,o){return ff(i.childLanes,o)}function LB(i,o,v){var g=o.pendingProps;rne(o)&&(o.flags|=lt);var C=fl.current,T=!1,R=(o.flags&lt)!==Qe;if(R||WJ(C,i)?(T=!0,o.flags&=~lt):(i===null||i.memoizedState!==null)&&(C=gJ(C,$5)),C=yp(C),kf(o,C),i===null){WD(o);var k=o.memoizedState;if(k!==null){var N=k.dehydrated;if(N!==null)return JJ(o,N)}var B=g.children,V=g.fallback;if(T){var K=qJ(o,B,V,v),Q=o.child;return Q.memoizedState=dR(v),o.memoizedState=cR,K}else return vR(o,B)}else{var le=i.memoizedState;if(le!==null){var ue=le.dehydrated;if(ue!==null)return eee(i,o,R,g,ue,le,v)}if(T){var de=g.fallback,Ie=g.children,Ze=ZJ(i,o,Ie,de,v),We=o.child,Ot=i.child.memoizedState;return We.memoizedState=Ot===null?dR(v):YJ(Ot,v),We.childLanes=XJ(i,v),o.memoizedState=cR,Ze}else{var Rt=g.children,ne=QJ(i,o,Rt,v);return o.memoizedState=null,ne}}}function vR(i,o,v){var g=i.mode,C={mode:"visible",children:o},T=hR(C,g);return T.return=i,i.child=T,T}function qJ(i,o,v,g){var C=i.mode,T=i.child,R={mode:"hidden",children:o},k,N;return(C&wt)===Je&&T!==null?(k=T,k.childLanes=he,k.pendingProps=R,i.mode&nt&&(k.actualDuration=0,k.actualStartTime=-1,k.selfBaseDuration=0,k.treeBaseDuration=0),N=Vf(v,C,g,null)):(k=hR(R,C),N=Vf(v,C,g,null)),k.return=i,N.return=i,k.sibling=N,i.child=k,N}function hR(i,o,v){return O3(i,o,he,null)}function OB(i,o){return Hd(i,o)}function QJ(i,o,v,g){var C=i.child,T=C.sibling,R=OB(C,{mode:"visible",children:v});if((o.mode&wt)===Je&&(R.lanes=g),R.return=o,R.sibling=null,T!==null){var k=o.deletions;k===null?(o.deletions=[T],o.flags|=qt):k.push(T)}return o.child=R,R}function ZJ(i,o,v,g,C){var T=o.mode,R=i.child,k=R.sibling,N={mode:"hidden",children:v},B;if((T&wt)===Je&&o.child!==R){var V=o.child;B=V,B.childLanes=he,B.pendingProps=N,o.mode&nt&&(B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=R.selfBaseDuration,B.treeBaseDuration=R.treeBaseDuration),o.deletions=null}else B=OB(R,N),B.subtreeFlags=R.subtreeFlags&Er;var K;return k!==null?K=Hd(k,g):(K=Vf(g,T,C,null),K.flags|=Cn),K.return=o,B.return=o,B.sibling=K,o.child=B,K}function ew(i,o,v,g){g!==null&&XD(g),gp(o,i.child,null,v);var C=o.pendingProps,T=C.children,R=vR(o,T);return R.flags|=Cn,o.memoizedState=null,R}function KJ(i,o,v,g,C){var T=o.mode,R={mode:"visible",children:v},k=hR(R,T),N=Vf(g,T,C,null);return N.flags|=Cn,k.return=o,N.return=o,k.sibling=N,o.child=k,(o.mode&wt)!==Je&&gp(o,i.child,null,C),N}function JJ(i,o,v){return(i.mode&wt)===Je?(u("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),i.lanes=rt):OD(o)?i.lanes=Xu:i.lanes=xi,null}function eee(i,o,v,g,C,T,R){if(v)if(o.flags&Vn){o.flags&=~Vn;var ne=eR(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ew(i,o,R,ne)}else{if(o.memoizedState!==null)return o.child=i.child,o.flags|=lt,null;var ve=g.children,re=g.fallback,xe=KJ(i,o,ve,re,R),ze=o.child;return ze.memoizedState=dR(R),o.memoizedState=cR,xe}else{if(HK(),(o.mode&wt)===Je)return ew(i,o,R,null);if(OD(C)){var k,N,B;{var V=aK(C);k=V.digest,N=V.message,B=V.stack}var K;N?K=new Error(N):K=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=eR(K,k,B);return ew(i,o,R,Q)}var le=Ti(R,i.childLanes);if(dl||le){var ue=cw();if(ue!==null){var de=JE(ue,R);if(de!==At&&de!==T.retryLane){T.retryLane=de;var Ie=gn;ba(i,de),Ir(ue,i,de,Ie)}}PR();var Ze=eR(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return ew(i,o,R,Ze)}else if(e5(C)){o.flags|=lt,o.child=i.child;var We=bte.bind(null,i);return oK(C,We),null}else{jK(o,C,T.treeContext);var Ot=g.children,Rt=vR(o,Ot);return Rt.flags|=pa,Rt}}}function kB(i,o,v){i.lanes=gt(i.lanes,o);var g=i.alternate;g!==null&&(g.lanes=gt(g.lanes,o)),JD(i.return,o,v)}function tee(i,o,v){for(var g=o;g!==null;){if(g.tag===I){var C=g.memoizedState;C!==null&&kB(g,v,i)}else if(g.tag===G)kB(g,v,i);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===i)return;for(;g.sibling===null;){if(g.return===null||g.return===i)return;g=g.return}g.sibling.return=g.return,g=g.sibling}}function nee(i){for(var o=i,v=null;o!==null;){var g=o.alternate;g!==null&&kC(g)===null&&(v=o),o=o.sibling}return v}function ree(i){if(i!==void 0&&i!=="forwards"&&i!=="backwards"&&i!=="together"&&!lR[i])if(lR[i]=!0,typeof i=="string")switch(i.toLowerCase()){case"together":case"forwards":case"backwards":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',i,i.toLowerCase());break}case"forward":case"backward":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',i,i.toLowerCase());break}default:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i);break}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',i)}function iee(i,o){i!==void 0&&!JC[i]&&(i!=="collapsed"&&i!=="hidden"?(JC[i]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',i)):o!=="forwards"&&o!=="backwards"&&(JC[i]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)))}function NB(i,o){{var v=gr(i),g=!v&&typeof Go(i)=="function";if(v||g){var C=v?"array":"iterable";return u("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",C,o,C),!1}}return!0}function aee(i,o){if((o==="forwards"||o==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(gr(i)){for(var v=0;v<i.length;v++)if(!NB(i[v],v))return}else{var g=Go(i);if(typeof g=="function"){var C=g.call(i);if(C)for(var T=C.next(),R=0;!T.done;T=C.next()){if(!NB(T.value,R))return;R++}}else u('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o)}}function pR(i,o,v,g,C){var T=i.memoizedState;T===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:g,tail:v,tailMode:C}:(T.isBackwards=o,T.rendering=null,T.renderingStartTime=0,T.last=g,T.tail=v,T.tailMode=C)}function PB(i,o,v){var g=o.pendingProps,C=g.revealOrder,T=g.tail,R=g.children;ree(C),iee(T,C),aee(R,C),Wi(i,o,R,v);var k=fl.current,N=bM(k,By);if(N)k=EM(k,By),o.flags|=lt;else{var B=i!==null&&(i.flags&lt)!==Qe;B&&tee(o,o.child,v),k=yp(k)}if(kf(o,k),(o.mode&wt)===Je)o.memoizedState=null;else switch(C){case"forwards":{var V=nee(o.child),K;V===null?(K=o.child,o.child=null):(K=V.sibling,V.sibling=null),pR(o,!1,K,V,T);break}case"backwards":{var Q=null,le=o.child;for(o.child=null;le!==null;){var ue=le.alternate;if(ue!==null&&kC(ue)===null){o.child=le;break}var de=le.sibling;le.sibling=Q,Q=le,le=de}pR(o,!0,Q,null,T);break}case"together":{pR(o,!1,null,null,void 0);break}default:o.memoizedState=null}return o.child}function oee(i,o,v){wM(o,o.stateNode.containerInfo);var g=o.pendingProps;return i===null?o.child=gp(o,null,g,v):Wi(i,o,g,v),o.child}var IB=!1;function lee(i,o,v){var g=o.type,C=g._context,T=o.pendingProps,R=o.memoizedProps,k=T.value;{"value"in T||IB||(IB=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var N=o.type.propTypes;N&&ol(N,T,"prop","Context.Provider")}if(x5(o,C,k),R!==null){var B=R.value;if(Ve(B,k)){if(R.children===T.children&&!sC())return ms(i,o,v)}else tJ(o,C,v)}var V=T.children;return Wi(i,o,V,v),o.child}var zB=!1;function uee(i,o,v){var g=o.type;g._context===void 0?g!==g.Consumer&&(zB||(zB=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):g=g._context;var C=o.pendingProps,T=C.children;typeof T!="function"&&u("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),pp(o,v);var R=xr(g);Ql(o);var k;return Wy.current=o,$a(!0),k=T(R),$a(!1),ju(),o.flags|=Gl,Wi(i,o,k,v),o.child}function qy(){dl=!0}function tw(i,o){(o.mode&wt)===Je&&i!==null&&(i.alternate=null,o.alternate=null,o.flags|=Cn)}function ms(i,o,v){return i!==null&&(o.dependencies=i.dependencies),yB(),l0(o.lanes),Ti(v,o.childLanes)?(vJ(i,o),o.child):null}function see(i,o,v){{var g=o.return;if(g===null)throw new Error("Cannot swap the root fiber.");if(i.alternate=null,o.alternate=null,v.index=o.index,v.sibling=o.sibling,v.return=o.return,v.ref=o.ref,o===g.child)g.child=v;else{var C=g.child;if(C===null)throw new Error("Expected parent to have a child.");for(;C.sibling!==o;)if(C=C.sibling,C===null)throw new Error("Expected to find the previous sibling.");C.sibling=v}var T=g.deletions;return T===null?(g.deletions=[i],g.flags|=qt):T.push(i),v.flags|=Cn,v}}function gR(i,o){var v=i.lanes;return!!Ti(v,o)}function fee(i,o,v){switch(o.tag){case m:RB(o),o.stateNode,vp();break;case _:H5(o);break;case h:{var g=o.type;lu(g)&&cC(o);break}case S:wM(o,o.stateNode.containerInfo);break;case A:{var C=o.memoizedProps.value,T=o.type._context;x5(o,T,C);break}case P:{var R=Ti(v,o.childLanes);R&&(o.flags|=pt);{var k=o.stateNode;k.effectDuration=0,k.passiveEffectDuration=0}}break;case I:{var N=o.memoizedState;if(N!==null){if(N.dehydrated!==null)return kf(o,yp(fl.current)),o.flags|=lt,null;var B=o.child,V=B.childLanes;if(Ti(v,V))return LB(i,o,v);kf(o,yp(fl.current));var K=ms(i,o,v);return K!==null?K.sibling:null}else kf(o,yp(fl.current));break}case G:{var Q=(i.flags&lt)!==Qe,le=Ti(v,o.childLanes);if(Q){if(le)return PB(i,o,v);o.flags|=lt}var ue=o.memoizedState;if(ue!==null&&(ue.rendering=null,ue.tail=null,ue.lastEffect=null),kf(o,fl.current),le)break;return null}case J:case ie:return o.lanes=he,EB(i,o,v)}return ms(i,o,v)}function FB(i,o,v){if(o._debugNeedsRemount&&i!==null)return see(i,o,YR(o.type,o.key,o.pendingProps,o._debugOwner||null,o.mode,o.lanes));if(i!==null){var g=i.memoizedProps,C=o.pendingProps;if(g!==C||sC()||o.type!==i.type)dl=!0;else{var T=gR(i,v);if(!T&&(o.flags&lt)===Qe)return dl=!1,fee(i,o,v);(i.flags&id)!==Qe?dl=!0:dl=!1}}else if(dl=!1,ni()&&IK(o)){var R=o.index,k=zK();c5(o,k,R)}switch(o.lanes=he,o.tag){case p:return jJ(i,o,o.type,v);case H:{var N=o.elementType;return GJ(i,o,N,v)}case d:{var B=o.type,V=o.pendingProps,K=o.elementType===B?V:sl(B,V);return uR(i,o,B,K,v)}case h:{var Q=o.type,le=o.pendingProps,ue=o.elementType===Q?le:sl(Q,le);return MB(i,o,Q,ue,v)}case m:return UJ(i,o,v);case _:return VJ(i,o,v);case w:return HJ(i,o);case I:return LB(i,o,v);case S:return oee(i,o,v);case O:{var de=o.type,Ie=o.pendingProps,Ze=o.elementType===de?Ie:sl(de,Ie);return xB(i,o,de,Ze,v)}case E:return zJ(i,o,v);case b:return FJ(i,o,v);case P:return BJ(i,o,v);case A:return lee(i,o,v);case D:return uee(i,o,v);case F:{var We=o.type,Ot=o.pendingProps,Rt=sl(We,Ot);if(o.type!==o.elementType){var ne=We.propTypes;ne&&ol(ne,Rt,"prop",hn(We))}return Rt=sl(We.type,Rt),TB(i,o,We,Rt,v)}case U:return bB(i,o,o.type,o.pendingProps,v);case j:{var ve=o.type,re=o.pendingProps,xe=o.elementType===ve?re:sl(ve,re);return $J(i,o,ve,xe,v)}case G:return PB(i,o,v);case ee:break;case J:return EB(i,o,v)}throw new Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Tp(i){i.flags|=pt}function BB(i){i.flags|=mi,i.flags|=Am}var UB,mR,VB,HB;UB=function(i,o,v,g){for(var C=o.child;C!==null;){if(C.tag===_||C.tag===w)kZ(i,C.stateNode);else if(C.tag!==S){if(C.child!==null){C.child.return=C,C=C.child;continue}}if(C===o)return;for(;C.sibling===null;){if(C.return===null||C.return===o)return;C=C.return}C.sibling.return=C.return,C=C.sibling}},mR=function(i,o){},VB=function(i,o,v,g,C){var T=i.memoizedProps;if(T!==g){var R=o.stateNode,k=xM(),N=PZ(R,v,T,g,C,k);o.updateQueue=N,N&&Tp(o)}},HB=function(i,o,v,g){v!==g&&Tp(o)};function Qy(i,o){if(!ni())switch(i.tailMode){case"hidden":{for(var v=i.tail,g=null;v!==null;)v.alternate!==null&&(g=v),v=v.sibling;g===null?i.tail=null:g.sibling=null;break}case"collapsed":{for(var C=i.tail,T=null;C!==null;)C.alternate!==null&&(T=C),C=C.sibling;T===null?!o&&i.tail!==null?i.tail.sibling=null:i.tail=null:T.sibling=null;break}}}function ii(i){var o=i.alternate!==null&&i.alternate.child===i.child,v=he,g=Qe;if(o){if((i.mode&nt)!==Je){for(var N=i.selfBaseDuration,B=i.child;B!==null;)v=gt(v,gt(B.lanes,B.childLanes)),g|=B.subtreeFlags&Er,g|=B.flags&Er,N+=B.treeBaseDuration,B=B.sibling;i.treeBaseDuration=N}else for(var V=i.child;V!==null;)v=gt(v,gt(V.lanes,V.childLanes)),g|=V.subtreeFlags&Er,g|=V.flags&Er,V.return=i,V=V.sibling;i.subtreeFlags|=g}else{if((i.mode&nt)!==Je){for(var C=i.actualDuration,T=i.selfBaseDuration,R=i.child;R!==null;)v=gt(v,gt(R.lanes,R.childLanes)),g|=R.subtreeFlags,g|=R.flags,C+=R.actualDuration,T+=R.treeBaseDuration,R=R.sibling;i.actualDuration=C,i.treeBaseDuration=T}else for(var k=i.child;k!==null;)v=gt(v,gt(k.lanes,k.childLanes)),g|=k.subtreeFlags,g|=k.flags,k.return=i,k=k.sibling;i.subtreeFlags|=g}return i.childLanes=v,o}function cee(i,o,v){if(QK()&&(o.mode&wt)!==Je&&(o.flags&lt)===Qe)return y5(o),vp(),o.flags|=Vn|Vi|yr,!1;var g=gC(o);if(v!==null&&v.dehydrated!==null)if(i===null){if(!g)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(XK(o),ii(o),(o.mode&nt)!==Je){var C=v!==null;if(C){var T=o.child;T!==null&&(o.treeBaseDuration-=T.treeBaseDuration)}}return!1}else{if(vp(),(o.flags&lt)===Qe&&(o.memoizedState=null),o.flags|=pt,ii(o),(o.mode&nt)!==Je){var R=v!==null;if(R){var k=o.child;k!==null&&(o.treeBaseDuration-=k.treeBaseDuration)}}return!1}else return _5(),!0}function GB(i,o,v){var g=o.pendingProps;switch(GD(o),o.tag){case p:case H:case U:case d:case O:case E:case b:case P:case D:case F:return ii(o),null;case h:{var C=o.type;return lu(C)&&fC(o),ii(o),null}case m:{var T=o.stateNode;if(mp(o),BD(o),MM(),T.pendingContext&&(T.context=T.pendingContext,T.pendingContext=null),i===null||i.child===null){var R=gC(o);if(R)Tp(o);else if(i!==null){var k=i.memoizedState;(!k.isDehydrated||(o.flags&Vn)!==Qe)&&(o.flags|=ha,_5())}}return mR(i,o),ii(o),null}case _:{TM(o);var N=V5(),B=o.type;if(i!==null&&o.stateNode!=null)VB(i,o,B,g,N),i.ref!==o.ref&&BB(o);else{if(!g){if(o.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ii(o),null}var V=xM(),K=gC(o);if(K)YK(o,N,V)&&Tp(o);else{var Q=OZ(B,g,N,V,o);UB(Q,o,!1,!1),o.stateNode=Q,NZ(Q,B,g,N)&&Tp(o)}o.ref!==null&&BB(o)}return ii(o),null}case w:{var le=g;if(i&&o.stateNode!=null){var ue=i.memoizedProps;HB(i,o,ue,le)}else{if(typeof le!="string"&&o.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var de=V5(),Ie=xM(),Ze=gC(o);Ze?WK(o)&&Tp(o):o.stateNode=IZ(le,de,Ie,o)}return ii(o),null}case I:{_p(o);var We=o.memoizedState;if(i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){var Ot=cee(i,o,We);if(!Ot)return o.flags&yr?o:null}if((o.flags&lt)!==Qe)return o.lanes=v,(o.mode&nt)!==Je&&JM(o),o;var Rt=We!==null,ne=i!==null&&i.memoizedState!==null;if(Rt!==ne&&Rt){var ve=o.child;if(ve.flags|=$l,(o.mode&wt)!==Je){var re=i===null&&(o.memoizedProps.unstable_avoidThisFallback!==!0||!Le);re||bM(fl.current,$5)?dte():PR()}}var xe=o.updateQueue;if(xe!==null&&(o.flags|=pt),ii(o),(o.mode&nt)!==Je&&Rt){var ze=o.child;ze!==null&&(o.treeBaseDuration-=ze.treeBaseDuration)}return null}case S:return mp(o),mR(i,o),i===null&&RK(o.stateNode.containerInfo),ii(o),null;case A:var Ae=o.type._context;return KD(Ae,o),ii(o),null;case j:{var at=o.type;return lu(at)&&fC(o),ii(o),null}case G:{_p(o);var dt=o.memoizedState;if(dt===null)return ii(o),null;var sn=(o.flags&lt)!==Qe,jt=dt.rendering;if(jt===null)if(sn)Qy(dt,!1);else{var dr=hte()&&(i===null||(i.flags&lt)===Qe);if(!dr)for(var Yt=o.child;Yt!==null;){var nr=kC(Yt);if(nr!==null){sn=!0,o.flags|=lt,Qy(dt,!1);var Mi=nr.updateQueue;return Mi!==null&&(o.updateQueue=Mi,o.flags|=pt),o.subtreeFlags=Qe,hJ(o,v),kf(o,EM(fl.current,By)),o.child}Yt=Yt.sibling}dt.tail!==null&&zn()>f3()&&(o.flags|=lt,sn=!0,Qy(dt,!1),o.lanes=Gm)}else{if(!sn){var si=kC(jt);if(si!==null){o.flags|=lt,sn=!0;var Ka=si.updateQueue;if(Ka!==null&&(o.updateQueue=Ka,o.flags|=pt),Qy(dt,!0),dt.tail===null&&dt.tailMode==="hidden"&&!jt.alternate&&!ni())return ii(o),null}else zn()*2-dt.renderingStartTime>f3()&&v!==xi&&(o.flags|=lt,sn=!0,Qy(dt,!1),o.lanes=Gm)}if(dt.isBackwards)jt.sibling=o.child,o.child=jt;else{var Qi=dt.last;Qi!==null?Qi.sibling=jt:o.child=jt,dt.last=jt}}if(dt.tail!==null){var Zi=dt.tail;dt.rendering=Zi,dt.tail=Zi.sibling,dt.renderingStartTime=zn(),Zi.sibling=null;var Ri=fl.current;return sn?Ri=EM(Ri,By):Ri=yp(Ri),kf(o,Ri),Zi}return ii(o),null}case ee:break;case J:case ie:{NR(o);var ws=o.memoizedState,Op=ws!==null;if(i!==null){var d0=i.memoizedState,pu=d0!==null;pu!==Op&&!pe&&(o.flags|=$l)}return!Op||(o.mode&wt)===Je?ii(o):Ti(hu,xi)&&(ii(o),o.subtreeFlags&(Cn|pt)&&(o.flags|=$l)),null}case ce:return null;case fe:return null}throw new Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function dee(i,o,v){switch(GD(o),o.tag){case h:{var g=o.type;lu(g)&&fC(o);var C=o.flags;return C&yr?(o.flags=C&~yr|lt,(o.mode&nt)!==Je&&JM(o),o):null}case m:{o.stateNode,mp(o),BD(o),MM();var T=o.flags;return(T&yr)!==Qe&&(T&lt)===Qe?(o.flags=T&~yr|lt,o):null}case _:return TM(o),null;case I:{_p(o);var R=o.memoizedState;if(R!==null&&R.dehydrated!==null){if(o.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vp()}var k=o.flags;return k&yr?(o.flags=k&~yr|lt,(o.mode&nt)!==Je&&JM(o),o):null}case G:return _p(o),null;case S:return mp(o),null;case A:var N=o.type._context;return KD(N,o),null;case J:case ie:return NR(o),null;case ce:return null;default:return null}}function $B(i,o,v){switch(GD(o),o.tag){case h:{var g=o.type.childContextTypes;g!=null&&fC(o);break}case m:{o.stateNode,mp(o),BD(o),MM();break}case _:{TM(o);break}case S:mp(o);break;case I:_p(o);break;case G:_p(o);break;case A:var C=o.type._context;KD(C,o);break;case J:case ie:NR(o);break}}var jB=null;jB=new Set;var nw=!1,ai=!1,vee=typeof WeakSet=="function"?WeakSet:Set,He=null,bp=null,Ep=null;function hee(i){Gu(null,function(){throw i}),Mm()}var pee=function(i,o){if(o.props=i.memoizedProps,o.state=i.memoizedState,i.mode&nt)try{du(),o.componentWillUnmount()}finally{cu(i)}else o.componentWillUnmount()};function YB(i,o){try{If(Ar,i)}catch(v){bn(i,o,v)}}function yR(i,o,v){try{pee(i,v)}catch(g){bn(i,o,g)}}function gee(i,o,v){try{v.componentDidMount()}catch(g){bn(i,o,g)}}function WB(i,o){try{qB(i)}catch(v){bn(i,o,v)}}function Dp(i,o){var v=i.ref;if(v!==null)if(typeof v=="function"){var g;try{if(Xt&&Mn&&i.mode&nt)try{du(),g=v(null)}finally{cu(i)}else g=v(null)}catch(C){bn(i,o,C)}typeof g=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",vt(i))}else v.current=null}function rw(i,o,v){try{v()}catch(g){bn(i,o,g)}}var XB=!1;function mee(i,o){AZ(i.containerInfo),He=o,yee();var v=XB;return XB=!1,v}function yee(){for(;He!==null;){var i=He,o=i.child;(i.subtreeFlags&tf)!==Qe&&o!==null?(o.return=i,He=o):_ee()}}function _ee(){for(;He!==null;){var i=He;ln(i);try{See(i)}catch(v){bn(i,i.return,v)}or();var o=i.sibling;if(o!==null){o.return=i.return,He=o;return}He=i.return}}function See(i){var o=i.alternate,v=i.flags;if((v&ha)!==Qe){switch(ln(i),i.tag){case d:case O:case U:break;case h:{if(o!==null){var g=o.memoizedProps,C=o.memoizedState,T=i.stateNode;i.type===i.elementType&&!zd&&(T.props!==i.memoizedProps&&u("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",vt(i)||"instance"),T.state!==i.memoizedState&&u("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",vt(i)||"instance"));var R=T.getSnapshotBeforeUpdate(i.elementType===i.type?g:sl(i.type,g),C);{var k=jB;R===void 0&&!k.has(i.type)&&(k.add(i.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",vt(i)))}T.__reactInternalSnapshotBeforeUpdate=R}break}case m:{{var N=i.stateNode;tK(N.containerInfo)}break}case _:case w:case S:case j:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}or()}}function vl(i,o,v){var g=o.updateQueue,C=g!==null?g.lastEffect:null;if(C!==null){var T=C.next,R=T;do{if((R.tag&i)===i){var k=R.destroy;R.destroy=void 0,k!==void 0&&((i&ri)!==Ea?gh(o):(i&Ar)!==Ea&&mh(o),(i&uu)!==Ea&&s0(!0),rw(o,v,k),(i&uu)!==Ea&&s0(!1),(i&ri)!==Ea?pS():(i&Ar)!==Ea&&nf())}R=R.next}while(R!==T)}}function If(i,o){var v=o.updateQueue,g=v!==null?v.lastEffect:null;if(g!==null){var C=g.next,T=C;do{if((T.tag&i)===i){(i&ri)!==Ea?hS(o):(i&Ar)!==Ea&&gS(o);var R=T.create;(i&uu)!==Ea&&s0(!0),T.destroy=R(),(i&uu)!==Ea&&s0(!1),(i&ri)!==Ea?Um():(i&Ar)!==Ea&&mS();{var k=T.destroy;if(k!==void 0&&typeof k!="function"){var N=void 0;(T.tag&Ar)!==Qe?N="useLayoutEffect":(T.tag&uu)!==Qe?N="useInsertionEffect":N="useEffect";var B=void 0;k===null?B=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof k.then=="function"?B=`
149
149
 
150
- It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
150
+ It looks like you wrote `+N+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
151
151
 
152
- `+m+`(() => {
152
+ `+N+`(() => {
153
153
  async function fetchData() {
154
154
  // You can await here
155
155
  const response = await MyAPI.getData(someId);
@@ -158,11 +158,11 @@ It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, w
158
158
  fetchData();
159
159
  }, [someId]); // Or [] if effect doesn't need props or state
160
160
 
161
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:S=" You returned: "+p,C("%s must not return anything besides a function, which is used for clean-up.%s",m,S)}}}s=s.next}while(s!==u)}}function GD(e,t){if((t.flags&je)!==Te)switch(t.tag){case ct:{var a=t.stateNode.passiveEffectDuration,i=t.memoizedProps,u=i.id,s=i.onPostCommit,f=OE(),p=t.alternate===null?"mount":"update";_E()&&(p="nested-update"),typeof s=="function"&&s(u,p,a,f);var m=t.return;e:for(;m!==null;){switch(m.tag){case K:var S=m.stateNode;S.passiveEffectDuration+=a;break e;case ct:var E=m.stateNode;E.passiveEffectDuration+=a;break e}m=m.return}break}}}function qD(e,t,a,i){if((a.flags&Kn)!==Te)switch(a.tag){case F:case Fe:case $e:{if(!dr)if(a.mode&De)try{ml(),co(Fn|An,a)}finally{hl(a)}else co(Fn|An,a);break}case W:{var u=a.stateNode;if(a.flags&je&&!dr)if(t===null)if(a.type===a.elementType&&!Ts&&(u.props!==a.memoizedProps&&C("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",He(a)||"instance"),u.state!==a.memoizedState&&C("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",He(a)||"instance")),a.mode&De)try{ml(),u.componentDidMount()}finally{hl(a)}else u.componentDidMount();else{var s=a.elementType===a.type?t.memoizedProps:Di(a.type,t.memoizedProps),f=t.memoizedState;if(a.type===a.elementType&&!Ts&&(u.props!==a.memoizedProps&&C("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",He(a)||"instance"),u.state!==a.memoizedState&&C("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",He(a)||"instance")),a.mode&De)try{ml(),u.componentDidUpdate(s,f,u.__reactInternalSnapshotBeforeUpdate)}finally{hl(a)}else u.componentDidUpdate(s,f,u.__reactInternalSnapshotBeforeUpdate)}var p=a.updateQueue;p!==null&&(a.type===a.elementType&&!Ts&&(u.props!==a.memoizedProps&&C("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",He(a)||"instance"),u.state!==a.memoizedState&&C("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",He(a)||"instance")),$C(a,p,u));break}case K:{var m=a.updateQueue;if(m!==null){var S=null;if(a.child!==null)switch(a.child.tag){case ie:S=a.child.stateNode;break;case W:S=a.child.stateNode;break}$C(a,m,S)}break}case ie:{var E=a.stateNode;if(t===null&&a.flags&je){var D=a.type,x=a.memoizedProps;vx(E,D,x)}break}case de:break;case ae:break;case ct:{{var L=a.memoizedProps,z=L.onCommit,H=L.onRender,se=a.stateNode.effectDuration,Re=OE(),ge=t===null?"mount":"update";_E()&&(ge="nested-update"),typeof H=="function"&&H(a.memoizedProps.id,ge,a.actualDuration,a.treeBaseDuration,a.actualStartTime,Re);{typeof z=="function"&&z(a.memoizedProps.id,ge,se,Re),Q_(a);var et=a.return;e:for(;et!==null;){switch(et.tag){case K:var qe=et.stateNode;qe.effectDuration+=se;break e;case ct:var O=et.stateNode;O.effectDuration+=se;break e}et=et.return}}}break}case Ie:{r_(e,a);break}case gt:case Yn:case On:case Ue:case Ke:case _t:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}dr||a.flags&Tr&&sT(a)}function XD(e){switch(e.tag){case F:case Fe:case $e:{if(e.mode&De)try{ml(),lT(e,e.return)}finally{hl(e)}else lT(e,e.return);break}case W:{var t=e.stateNode;typeof t.componentDidMount=="function"&&$D(e,e.return,t),uT(e,e.return);break}case ie:{uT(e,e.return);break}}}function KD(e,t){for(var a=null,i=e;;){if(i.tag===ie){if(a===null){a=i;try{var u=i.stateNode;t?wx(u):xx(i.stateNode,i.memoizedProps)}catch(f){zt(e,e.return,f)}}}else if(i.tag===de){if(a===null)try{var s=i.stateNode;t?bx(s):kx(s,i.memoizedProps)}catch(f){zt(e,e.return,f)}}else if(!((i.tag===Ue||i.tag===Ke)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}}function sT(e){var t=e.ref;if(t!==null){var a=e.stateNode,i;switch(e.tag){case ie:i=a;break;default:i=a}if(typeof t=="function"){var u;if(e.mode&De)try{ml(),u=t(i)}finally{hl(e)}else u=t(i);typeof u=="function"&&C("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",He(e))}else t.hasOwnProperty("current")||C("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",He(e)),t.current=i}}function ZD(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function cT(e){var t=e.alternate;t!==null&&(e.alternate=null,cT(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===ie){var a=e.stateNode;a!==null&&ik(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function JD(e){for(var t=e.return;t!==null;){if(fT(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function fT(e){return e.tag===ie||e.tag===K||e.tag===ae}function dT(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||fT(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==ie&&t.tag!==de&&t.tag!==Qt;){if(t.flags&Ot||t.child===null||t.tag===ae)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ot))return t.stateNode}}function e_(e){var t=JD(e);switch(t.tag){case ie:{var a=t.stateNode;t.flags&pt&&(pC(a),t.flags&=~pt);var i=dT(e);fS(e,i,a);break}case K:case ae:{var u=t.stateNode.containerInfo,s=dT(e);cS(e,s,u);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function cS(e,t,a){var i=e.tag,u=i===ie||i===de;if(u){var s=e.stateNode;t?Cx(a,s,t):gx(a,s)}else if(i!==ae){var f=e.child;if(f!==null){cS(f,t,a);for(var p=f.sibling;p!==null;)cS(p,t,a),p=p.sibling}}}function fS(e,t,a){var i=e.tag,u=i===ie||i===de;if(u){var s=e.stateNode;t?Sx(a,s,t):yx(a,s)}else if(i!==ae){var f=e.child;if(f!==null){fS(f,t,a);for(var p=f.sibling;p!==null;)fS(p,t,a),p=p.sibling}}}var pr=null,Li=!1;function t_(e,t,a){{var i=t;e:for(;i!==null;){switch(i.tag){case ie:{pr=i.stateNode,Li=!1;break e}case K:{pr=i.stateNode.containerInfo,Li=!0;break e}case ae:{pr=i.stateNode.containerInfo,Li=!0;break e}}i=i.return}if(pr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");pT(e,t,a),pr=null,Li=!1}ZD(a)}function fo(e,t,a){for(var i=a.child;i!==null;)pT(e,t,i),i=i.sibling}function pT(e,t,a){switch(yd(a),a.tag){case ie:dr||Sf(a,t);case de:{{var i=pr,u=Li;pr=null,fo(e,t,a),pr=i,Li=u,pr!==null&&(Li?Tx(pr,a.stateNode):Ex(pr,a.stateNode))}return}case Qt:{pr!==null&&(Li?Rx(pr,a.stateNode):Tg(pr,a.stateNode));return}case ae:{{var s=pr,f=Li;pr=a.stateNode.containerInfo,Li=!0,fo(e,t,a),pr=s,Li=f}return}case F:case Fe:case Dt:case $e:{if(!dr){var p=a.updateQueue;if(p!==null){var m=p.lastEffect;if(m!==null){var S=m.next,E=S;do{var D=E,x=D.destroy,L=D.tag;x!==void 0&&((L&dl)!==Ca?Am(a,t,x):(L&Fn)!==Ca&&(oc(a),a.mode&De?(ml(),Am(a,t,x),hl(a)):Am(a,t,x),Nu())),E=E.next}while(E!==S)}}}fo(e,t,a);return}case W:{if(!dr){Sf(a,t);var z=a.stateNode;typeof z.componentWillUnmount=="function"&&sS(a,t,z)}fo(e,t,a);return}case On:{fo(e,t,a);return}case Ue:{if(a.mode&Qe){var H=dr;dr=H||a.memoizedState!==null,fo(e,t,a),dr=H}else fo(e,t,a);break}default:{fo(e,t,a);return}}}function n_(e){e.memoizedState}function r_(e,t){var a=t.memoizedState;if(a===null){var i=t.alternate;if(i!==null){var u=i.memoizedState;if(u!==null){var s=u.dehydrated;s!==null&&Px(s)}}}}function vT(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new VD),t.forEach(function(i){var u=J_.bind(null,e,i);if(!a.has(i)){if(a.add(i),zn)if(yf!==null&&gf!==null)Bp(gf,yf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(u,u)}})}}function a_(e,t,a){yf=a,gf=e,St(t),hT(t,e),St(t),yf=null,gf=null}function zi(e,t,a){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var s=i[u];try{t_(e,t,s)}catch(m){zt(s,t,m)}}var f=Ey();if(t.subtreeFlags&br)for(var p=t.child;p!==null;)St(p),hT(p,e),p=p.sibling;St(f)}function hT(e,t,a){var i=e.alternate,u=e.flags;switch(e.tag){case F:case Fe:case Dt:case $e:{if(zi(t,e),yl(e),u&je){try{Mi(dl|An,e,e.return),co(dl|An,e)}catch(Oe){zt(e,e.return,Oe)}if(e.mode&De){try{ml(),Mi(Fn|An,e,e.return)}catch(Oe){zt(e,e.return,Oe)}hl(e)}else try{Mi(Fn|An,e,e.return)}catch(Oe){zt(e,e.return,Oe)}}return}case W:{zi(t,e),yl(e),u&Tr&&i!==null&&Sf(i,i.return);return}case ie:{zi(t,e),yl(e),u&Tr&&i!==null&&Sf(i,i.return);{if(e.flags&pt){var s=e.stateNode;try{pC(s)}catch(Oe){zt(e,e.return,Oe)}}if(u&je){var f=e.stateNode;if(f!=null){var p=e.memoizedProps,m=i!==null?i.memoizedProps:p,S=e.type,E=e.updateQueue;if(e.updateQueue=null,E!==null)try{hx(f,E,S,m,p,e)}catch(Oe){zt(e,e.return,Oe)}}}}return}case de:{if(zi(t,e),yl(e),u&je){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var D=e.stateNode,x=e.memoizedProps,L=i!==null?i.memoizedProps:x;try{mx(D,L,x)}catch(Oe){zt(e,e.return,Oe)}}return}case K:{if(zi(t,e),yl(e),u&je&&i!==null){var z=i.memoizedState;if(z.isDehydrated)try{Bx(t.containerInfo)}catch(Oe){zt(e,e.return,Oe)}}return}case ae:{zi(t,e),yl(e);return}case Ie:{zi(t,e),yl(e);var H=e.child;if(H.flags&Gi){var se=H.stateNode,Re=H.memoizedState,ge=Re!==null;if(se.isHidden=ge,ge){var et=H.alternate!==null&&H.alternate.memoizedState!==null;et||H_()}}if(u&je){try{n_(e)}catch(Oe){zt(e,e.return,Oe)}vT(e)}return}case Ue:{var qe=i!==null&&i.memoizedState!==null;if(e.mode&Qe){var O=dr;dr=O||qe,zi(t,e),dr=O}else zi(t,e);if(yl(e),u&Gi){var j=e.stateNode,N=e.memoizedState,G=N!==null,ce=e;if(j.isHidden=G,G&&!qe&&(ce.mode&Qe)!==xe){he=ce;for(var re=ce.child;re!==null;)he=re,l_(re),re=re.sibling}KD(ce,G)}return}case gt:{zi(t,e),yl(e),u&je&&vT(e);return}case On:return;default:{zi(t,e),yl(e);return}}}function yl(e){var t=e.flags;if(t&Ot){try{e_(e)}catch(a){zt(e,e.return,a)}e.flags&=~Ot}t&sa&&(e.flags&=~sa)}function i_(e,t,a){yf=a,gf=t,he=e,mT(e,t,a),yf=null,gf=null}function mT(e,t,a){for(var i=(e.mode&Qe)!==xe;he!==null;){var u=he,s=u.child;if(u.tag===Ue&&i){var f=u.memoizedState!==null,p=f||Um;if(p){dS(e,t,a);continue}else{var m=u.alternate,S=m!==null&&m.memoizedState!==null,E=S||dr,D=Um,x=dr;Um=p,dr=E,dr&&!x&&(he=u,u_(u));for(var L=s;L!==null;)he=L,mT(L,t,a),L=L.sibling;he=u,Um=D,dr=x,dS(e,t,a);continue}}(u.subtreeFlags&Kn)!==Te&&s!==null?(s.return=u,he=s):dS(e,t,a)}}function dS(e,t,a){for(;he!==null;){var i=he;if((i.flags&Kn)!==Te){var u=i.alternate;St(i);try{qD(t,u,i,a)}catch(f){zt(i,i.return,f)}sn()}if(i===e){he=null;return}var s=i.sibling;if(s!==null){s.return=i.return,he=s;return}he=i.return}}function l_(e){for(;he!==null;){var t=he,a=t.child;switch(t.tag){case F:case Fe:case Dt:case $e:{if(t.mode&De)try{ml(),Mi(Fn,t,t.return)}finally{hl(t)}else Mi(Fn,t,t.return);break}case W:{Sf(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&sS(t,t.return,i);break}case ie:{Sf(t,t.return);break}case Ue:{var u=t.memoizedState!==null;if(u){yT(e);continue}break}}a!==null?(a.return=t,he=a):yT(e)}}function yT(e){for(;he!==null;){var t=he;if(t===e){he=null;return}var a=t.sibling;if(a!==null){a.return=t.return,he=a;return}he=t.return}}function u_(e){for(;he!==null;){var t=he,a=t.child;if(t.tag===Ue){var i=t.memoizedState!==null;if(i){gT(e);continue}}a!==null?(a.return=t,he=a):gT(e)}}function gT(e){for(;he!==null;){var t=he;St(t);try{XD(t)}catch(i){zt(t,t.return,i)}if(sn(),t===e){he=null;return}var a=t.sibling;if(a!==null){a.return=t.return,he=a;return}he=t.return}}function o_(e,t,a,i){he=t,s_(t,e,a,i)}function s_(e,t,a,i){for(;he!==null;){var u=he,s=u.child;(u.subtreeFlags&ca)!==Te&&s!==null?(s.return=u,he=s):c_(e,t,a,i)}}function c_(e,t,a,i){for(;he!==null;){var u=he;if((u.flags&Ft)!==Te){St(u);try{f_(t,u,a,i)}catch(f){zt(u,u.return,f)}sn()}if(u===e){he=null;return}var s=u.sibling;if(s!==null){s.return=u.return,he=s;return}he=u.return}}function f_(e,t,a,i){switch(t.tag){case F:case Fe:case $e:{if(t.mode&De){$0();try{co(cr|An,t)}finally{P0(t)}}else co(cr|An,t);break}}}function d_(e){he=e,p_()}function p_(){for(;he!==null;){var e=he,t=e.child;if((he.flags&dt)!==Te){var a=e.deletions;if(a!==null){for(var i=0;i<a.length;i++){var u=a[i];he=u,m_(u,e)}{var s=e.alternate;if(s!==null){var f=s.child;if(f!==null){s.child=null;do{var p=f.sibling;f.sibling=null,f=p}while(f!==null)}}}he=e}}(e.subtreeFlags&ca)!==Te&&t!==null?(t.return=e,he=t):v_()}}function v_(){for(;he!==null;){var e=he;(e.flags&Ft)!==Te&&(St(e),h_(e),sn());var t=e.sibling;if(t!==null){t.return=e.return,he=t;return}he=e.return}}function h_(e){switch(e.tag){case F:case Fe:case $e:{e.mode&De?($0(),Mi(cr|An,e,e.return),P0(e)):Mi(cr|An,e,e.return);break}}}function m_(e,t){for(;he!==null;){var a=he;St(a),g_(a,t),sn();var i=a.child;i!==null?(i.return=a,he=i):y_(e)}}function y_(e){for(;he!==null;){var t=he,a=t.sibling,i=t.return;if(cT(t),t===e){he=null;return}if(a!==null){a.return=i,he=a;return}he=i}}function g_(e,t){switch(e.tag){case F:case Fe:case $e:{e.mode&De?($0(),Mi(cr,e,t),P0(e)):Mi(cr,e,t);break}}}function S_(e){switch(e.tag){case F:case Fe:case $e:{try{co(Fn|An,e)}catch(a){zt(e,e.return,a)}break}case W:{var t=e.stateNode;try{t.componentDidMount()}catch(a){zt(e,e.return,a)}break}}}function C_(e){switch(e.tag){case F:case Fe:case $e:{try{co(cr|An,e)}catch(t){zt(e,e.return,t)}break}}}function E_(e){switch(e.tag){case F:case Fe:case $e:{try{Mi(Fn|An,e,e.return)}catch(a){zt(e,e.return,a)}break}case W:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&sS(e,e.return,t);break}}}function T_(e){switch(e.tag){case F:case Fe:case $e:try{Mi(cr|An,e,e.return)}catch(t){zt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Op=Symbol.for;Op("selector.component"),Op("selector.has_pseudo_class"),Op("selector.role"),Op("selector.test_id"),Op("selector.text")}var R_=[];function w_(){R_.forEach(function(e){return e()})}var b_=v.ReactCurrentActQueue;function x_(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function ST(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&b_.current!==null&&C("The current testing environment is not configured to support act(...)"),e}}var k_=Math.ceil,pS=v.ReactCurrentDispatcher,vS=v.ReactCurrentOwner,vr=v.ReactCurrentBatchConfig,Ui=v.ReactCurrentActQueue,Vn=0,CT=1,hr=2,ai=4,ou=0,Np=1,Rs=2,Fm=3,Mp=4,ET=5,hS=6,Je=Vn,Gr=null,Jt=null,Bn=V,gl=V,mS=to(V),Pn=ou,Lp=null,Hm=V,zp=V,jm=V,Up=null,Ea=null,yS=0,TT=500,RT=1/0,D_=500,su=null;function Ap(){RT=Vt()+D_}function wT(){return RT}var Vm=!1,gS=null,Cf=null,ws=!1,po=null,Fp=V,SS=[],CS=null,__=50,Hp=0,ES=null,TS=!1,Bm=!1,O_=50,Ef=0,Pm=null,jp=bt,$m=V,bT=!1;function Im(){return Gr}function qr(){return(Je&(hr|ai))!==Vn?Vt():(jp!==bt||(jp=Vt()),jp)}function vo(e){var t=e.mode;if((t&Qe)===xe)return _e;if((Je&hr)!==Vn&&Bn!==V)return fn(Bn);var a=xk()!==bk;if(a){if(vr.transition!==null){var i=vr.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return $m===Ze&&($m=bd()),$m}var u=va();if(u!==Ze)return u;var s=cx();return s}function N_(e){var t=e.mode;return(t&Qe)===xe?_e:$y()}function $n(e,t,a,i){tO(),bT&&C("useInsertionEffect must not schedule updates."),TS&&(Bm=!0),Yl(e,a,i),(Je&hr)!==V&&e===Gr?aO(t):(zn&&Od(e,t,a),iO(t),e===Gr&&((Je&hr)===Vn&&(zp=Ve(zp,a)),Pn===Mp&&ho(e,Bn)),Ta(e,i),a===_e&&Je===Vn&&(t.mode&Qe)===xe&&!Ui.isBatchingLegacy&&(Ap(),wC()))}function M_(e,t,a){var i=e.current;i.lanes=t,Yl(e,t,a),Ta(e,a)}function L_(e){return(Je&hr)!==Vn}function Ta(e,t){var a=e.callbackNode;Vy(e,t);var i=qo(e,e===Gr?Bn:V);if(i===V){a!==null&&BT(a),e.callbackNode=null,e.callbackPriority=Ze;return}var u=rn(i),s=e.callbackPriority;if(s===u&&!(Ui.current!==null&&a!==_S)){a==null&&s!==_e&&C("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&BT(a);var f;if(u===_e)e.tag===no?(Ui.isBatchingLegacy!==null&&(Ui.didScheduleLegacyUpdate=!0),ok(DT.bind(null,e))):RC(DT.bind(null,e)),Ui.current!==null?Ui.current.push(ro):dx(function(){(Je&(hr|ai))===Vn&&ro()}),f=null;else{var p;switch(es(i)){case Zn:p=ac;break;case Un:p=Ir;break;case Ci:p=Ga;break;case Zo:p=Xi;break;default:p=Ga;break}f=OS(p,xT.bind(null,e))}e.callbackPriority=u,e.callbackNode=f}function xT(e,t){if(tD(),jp=bt,$m=V,(Je&(hr|ai))!==Vn)throw new Error("Should not already be working.");var a=e.callbackNode,i=fu();if(i&&e.callbackNode!==a)return null;var u=qo(e,e===Gr?Bn:V);if(u===V)return null;var s=!Ko(e,u)&&!nh(e,u)&&!t,f=s?$_(e,u):Qm(e,u);if(f!==ou){if(f===Rs){var p=Rd(e);p!==V&&(u=p,f=RS(e,p))}if(f===Np){var m=Lp;throw bs(e,V),ho(e,u),Ta(e,Vt()),m}if(f===hS)ho(e,u);else{var S=!Ko(e,u),E=e.current.alternate;if(S&&!U_(E)){if(f=Qm(e,u),f===Rs){var D=Rd(e);D!==V&&(u=D,f=RS(e,D))}if(f===Np){var x=Lp;throw bs(e,V),ho(e,u),Ta(e,Vt()),x}}e.finishedWork=E,e.finishedLanes=u,z_(e,f,u)}}return Ta(e,Vt()),e.callbackNode===a?xT.bind(null,e):null}function RS(e,t){var a=Up;if(pn(e)){var i=bs(e,t);i.flags|=Wt,tk(e.containerInfo)}var u=Qm(e,t);if(u!==Rs){var s=Ea;Ea=a,s!==null&&kT(s)}return u}function kT(e){Ea===null?Ea=e:Ea.push.apply(Ea,e)}function z_(e,t,a){switch(t){case ou:case Np:throw new Error("Root did not complete. This is a bug in React.");case Rs:{xs(e,Ea,su);break}case Fm:{if(ho(e,a),Dc(a)&&!PT()){var i=yS+TT-Vt();if(i>10){var u=qo(e,V);if(u!==V)break;var s=e.suspendedLanes;if(!Il(s,a)){qr(),Dd(e,s);break}e.timeoutHandle=Cg(xs.bind(null,e,Ea,su),i);break}}xs(e,Ea,su);break}case Mp:{if(ho(e,a),th(a))break;if(!PT()){var f=eh(e,a),p=f,m=Vt()-p,S=eO(m)-m;if(S>10){e.timeoutHandle=Cg(xs.bind(null,e,Ea,su),S);break}}xs(e,Ea,su);break}case ET:{xs(e,Ea,su);break}default:throw new Error("Unknown root exit status.")}}function U_(e){for(var t=e;;){if(t.flags&Po){var a=t.updateQueue;if(a!==null){var i=a.stores;if(i!==null)for(var u=0;u<i.length;u++){var s=i[u],f=s.getSnapshot,p=s.value;try{if(!ve(f(),p))return!1}catch{return!1}}}}var m=t.child;if(t.subtreeFlags&Po&&m!==null){m.return=t,t=m;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function ho(e,t){t=Hu(t,jm),t=Hu(t,zp),kd(e,t)}function DT(e){if(nD(),(Je&(hr|ai))!==Vn)throw new Error("Should not already be working.");fu();var t=qo(e,V);if(!_r(t,_e))return Ta(e,Vt()),null;var a=Qm(e,t);if(e.tag!==no&&a===Rs){var i=Rd(e);i!==V&&(t=i,a=RS(e,i))}if(a===Np){var u=Lp;throw bs(e,V),ho(e,t),Ta(e,Vt()),u}if(a===hS)throw new Error("Root did not complete. This is a bug in React.");var s=e.current.alternate;return e.finishedWork=s,e.finishedLanes=t,xs(e,Ea,su),Ta(e,Vt()),null}function A_(e,t){t!==V&&(ju(e,Ve(t,_e)),Ta(e,Vt()),(Je&(hr|ai))===Vn&&(Ap(),ro()))}function wS(e,t){var a=Je;Je|=CT;try{return e(t)}finally{Je=a,Je===Vn&&!Ui.isBatchingLegacy&&(Ap(),wC())}}function F_(e,t,a,i,u){var s=va(),f=vr.transition;try{return vr.transition=null,dn(Zn),e(t,a,i,u)}finally{dn(s),vr.transition=f,Je===Vn&&Ap()}}function cu(e){po!==null&&po.tag===no&&(Je&(hr|ai))===Vn&&fu();var t=Je;Je|=CT;var a=vr.transition,i=va();try{return vr.transition=null,dn(Zn),e?e():void 0}finally{dn(i),vr.transition=a,Je=t,(Je&(hr|ai))===Vn&&ro()}}function _T(){return(Je&(hr|ai))!==Vn}function Ym(e,t){Nr(mS,gl,e),gl=Ve(gl,t)}function bS(e){gl=mS.current,Or(mS,e)}function bs(e,t){e.finishedWork=null,e.finishedLanes=V;var a=e.timeoutHandle;if(a!==Eg&&(e.timeoutHandle=Eg,fx(a)),Jt!==null)for(var i=Jt.return;i!==null;){var u=i.alternate;aT(u,i),i=i.return}Gr=e;var s=ks(e.current,null);return Jt=s,Bn=gl=t,Pn=ou,Lp=null,Hm=V,zp=V,jm=V,Up=null,Ea=null,Ok(),ki.discardPendingWarnings(),s}function OT(e,t){do{var a=Jt;try{if(Jh(),lE(),sn(),vS.current=null,a===null||a.return===null){Pn=Np,Lp=t,Jt=null;return}if(on&&a.mode&De&&Nm(a,!0),Ba)if(Ul(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;Kv(a,i,Bn)}else sc(a,t,Bn);uD(e,a.return,a,t,Bn),zT(a)}catch(u){t=u,Jt===a&&a!==null?(a=a.return,Jt=a):a=Jt;continue}return}while(!0)}function NT(){var e=pS.current;return pS.current=xm,e===null?xm:e}function MT(e){pS.current=e}function H_(){yS=Vt()}function Vp(e){Hm=Ve(e,Hm)}function j_(){Pn===ou&&(Pn=Fm)}function xS(){(Pn===ou||Pn===Fm||Pn===Rs)&&(Pn=Mp),Gr!==null&&(Xo(Hm)||Xo(zp))&&ho(Gr,Bn)}function V_(e){Pn!==Mp&&(Pn=Rs),Up===null?Up=[e]:Up.push(e)}function B_(){return Pn===ou}function Qm(e,t){var a=Je;Je|=hr;var i=NT();if(Gr!==e||Bn!==t){if(zn){var u=e.memoizedUpdaters;u.size>0&&(Bp(e,Bn),u.clear()),Nc(e,t)}su=Nd(),bs(e,t)}Ua(t);do try{P_();break}catch(s){OT(e,s)}while(!0);if(Jh(),Je=a,MT(i),Jt!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Lu(),Gr=null,Bn=V,Pn}function P_(){for(;Jt!==null;)LT(Jt)}function $_(e,t){var a=Je;Je|=hr;var i=NT();if(Gr!==e||Bn!==t){if(zn){var u=e.memoizedUpdaters;u.size>0&&(Bp(e,Bn),u.clear()),Nc(e,t)}su=Nd(),Ap(),bs(e,t)}Ua(t);do try{I_();break}catch(s){OT(e,s)}while(!0);return Jh(),MT(i),Je=a,Jt!==null?(Yo(),ou):(Lu(),Gr=null,Bn=V,Pn)}function I_(){for(;Jt!==null&&!rc();)LT(Jt)}function LT(e){var t=e.alternate;St(e);var a;(e.mode&De)!==xe?(B0(e),a=kS(t,e,gl),Nm(e,!0)):a=kS(t,e,gl),sn(),e.memoizedProps=e.pendingProps,a===null?zT(e):Jt=a,vS.current=null}function zT(e){var t=e;do{var a=t.alternate,i=t.return;if((t.flags&Br)===Te){St(t);var u=void 0;if((t.mode&De)===xe?u=rT(a,t,gl):(B0(t),u=rT(a,t,gl),Nm(t,!1)),sn(),u!==null){Jt=u;return}}else{var s=jD(a,t);if(s!==null){s.flags&=Pv,Jt=s;return}if((t.mode&De)!==xe){Nm(t,!1);for(var f=t.actualDuration,p=t.child;p!==null;)f+=p.actualDuration,p=p.sibling;t.actualDuration=f}if(i!==null)i.flags|=Br,i.subtreeFlags=Te,i.deletions=null;else{Pn=hS,Jt=null;return}}var m=t.sibling;if(m!==null){Jt=m;return}t=i,Jt=t}while(t!==null);Pn===ou&&(Pn=ET)}function xs(e,t,a){var i=va(),u=vr.transition;try{vr.transition=null,dn(Zn),Y_(e,t,a,i)}finally{vr.transition=u,dn(i)}return null}function Y_(e,t,a,i){do fu();while(po!==null);if(nO(),(Je&(hr|ai))!==Vn)throw new Error("Should not already be working.");var u=e.finishedWork,s=e.finishedLanes;if(lc(s),u===null)return gd(),null;if(s===V&&C("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=V,u===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=Ze;var f=Ve(u.lanes,u.childLanes);_d(e,f),e===Gr&&(Gr=null,Jt=null,Bn=V),((u.subtreeFlags&ca)!==Te||(u.flags&ca)!==Te)&&(ws||(ws=!0,CS=a,OS(Ga,function(){return fu(),null})));var p=(u.subtreeFlags&(Ou|br|Kn|ca))!==Te,m=(u.flags&(Ou|br|Kn|ca))!==Te;if(p||m){var S=vr.transition;vr.transition=null;var E=va();dn(Zn);var D=Je;Je|=ai,vS.current=null,ID(e,u),NE(),a_(e,u,s),ax(e.containerInfo),e.current=u,Zv(s),i_(u,e,s),Mu(),Yv(),Je=D,dn(E),vr.transition=S}else e.current=u,NE();var x=ws;if(ws?(ws=!1,po=e,Fp=s):(Ef=0,Pm=null),f=e.pendingLanes,f===V&&(Cf=null),x||HT(e.current,!1),yi(u.stateNode,i),zn&&e.memoizedUpdaters.clear(),w_(),Ta(e,Vt()),t!==null)for(var L=e.onRecoverableError,z=0;z<t.length;z++){var H=t[z],se=H.stack,Re=H.digest;L(H.value,{componentStack:se,digest:Re})}if(Vm){Vm=!1;var ge=gS;throw gS=null,ge}return _r(Fp,_e)&&e.tag!==no&&fu(),f=e.pendingLanes,_r(f,_e)?(eD(),e===ES?Hp++:(Hp=0,ES=e)):Hp=0,ro(),gd(),null}function fu(){if(po!==null){var e=es(Fp),t=Yy(Ci,e),a=vr.transition,i=va();try{return vr.transition=null,dn(t),W_()}finally{dn(i),vr.transition=a}}return!1}function Q_(e){SS.push(e),ws||(ws=!0,OS(Ga,function(){return fu(),null}))}function W_(){if(po===null)return!1;var e=CS;CS=null;var t=po,a=Fp;if(po=null,Fp=V,(Je&(hr|ai))!==Vn)throw new Error("Cannot flush passive effects while already rendering.");TS=!0,Bm=!1,Jv(a);var i=Je;Je|=ai,d_(t.current),o_(t,t.current,a,e);{var u=SS;SS=[];for(var s=0;s<u.length;s++){var f=u[s];GD(t,f)}}Io(),HT(t.current,!0),Je=i,ro(),Bm?t===Pm?Ef++:(Ef=0,Pm=t):Ef=0,TS=!1,Bm=!1,Zi(t);{var p=t.current.stateNode;p.effectDuration=0,p.passiveEffectDuration=0}return!0}function UT(e){return Cf!==null&&Cf.has(e)}function G_(e){Cf===null?Cf=new Set([e]):Cf.add(e)}function q_(e){Vm||(Vm=!0,gS=e)}var X_=q_;function AT(e,t,a){var i=Es(a,t),u=LE(e,i,_e),s=io(e,u,_e),f=qr();s!==null&&(Yl(s,_e,f),Ta(s,f))}function zt(e,t,a){if(BD(a),Pp(!1),e.tag===K){AT(e,e,a);return}var i=null;for(i=t;i!==null;){if(i.tag===K){AT(i,e,a);return}else if(i.tag===W){var u=i.type,s=i.stateNode;if(typeof u.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!UT(s)){var f=Es(a,e),p=W0(i,f,_e),m=io(i,p,_e),S=qr();m!==null&&(Yl(m,_e,S),Ta(m,S));return}}i=i.return}C(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
161
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:B=" You returned: "+k,u("%s must not return anything besides a function, which is used for clean-up.%s",N,B)}}}T=T.next}while(T!==C)}}function Cee(i,o){if((o.flags&pt)!==Qe)switch(o.tag){case P:{var v=o.stateNode.passiveEffectDuration,g=o.memoizedProps,C=g.id,T=g.onPostCommit,R=gB(),k=o.alternate===null?"mount":"update";pB()&&(k="nested-update"),typeof T=="function"&&T(C,k,v,R);var N=o.return;e:for(;N!==null;){switch(N.tag){case m:var B=N.stateNode;B.passiveEffectDuration+=v;break e;case P:var V=N.stateNode;V.passiveEffectDuration+=v;break e}N=N.return}break}}}function wee(i,o,v,g){if((v.flags&Gr)!==Qe)switch(v.tag){case d:case O:case U:{if(!ai)if(v.mode&nt)try{du(),If(Ar|Rr,v)}finally{cu(v)}else If(Ar|Rr,v);break}case h:{var C=v.stateNode;if(v.flags&pt&&!ai)if(o===null)if(v.type===v.elementType&&!zd&&(C.props!==v.memoizedProps&&u("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",vt(v)||"instance"),C.state!==v.memoizedState&&u("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",vt(v)||"instance")),v.mode&nt)try{du(),C.componentDidMount()}finally{cu(v)}else C.componentDidMount();else{var T=v.elementType===v.type?o.memoizedProps:sl(v.type,o.memoizedProps),R=o.memoizedState;if(v.type===v.elementType&&!zd&&(C.props!==v.memoizedProps&&u("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",vt(v)||"instance"),C.state!==v.memoizedState&&u("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",vt(v)||"instance")),v.mode&nt)try{du(),C.componentDidUpdate(T,R,C.__reactInternalSnapshotBeforeUpdate)}finally{cu(v)}else C.componentDidUpdate(T,R,C.__reactInternalSnapshotBeforeUpdate)}var k=v.updateQueue;k!==null&&(v.type===v.elementType&&!zd&&(C.props!==v.memoizedProps&&u("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",vt(v)||"instance"),C.state!==v.memoizedState&&u("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",vt(v)||"instance")),R5(v,k,C));break}case m:{var N=v.updateQueue;if(N!==null){var B=null;if(v.child!==null)switch(v.child.tag){case _:B=v.child.stateNode;break;case h:B=v.child.stateNode;break}R5(v,N,B)}break}case _:{var V=v.stateNode;if(o===null&&v.flags&pt){var K=v.type,Q=v.memoizedProps;VZ(V,K,Q)}break}case w:break;case S:break;case P:{{var le=v.memoizedProps,ue=le.onCommit,de=le.onRender,Ie=v.stateNode.effectDuration,Ze=gB(),We=o===null?"mount":"update";pB()&&(We="nested-update"),typeof de=="function"&&de(v.memoizedProps.id,We,v.actualDuration,v.treeBaseDuration,v.actualStartTime,Ze);{typeof ue=="function"&&ue(v.memoizedProps.id,We,Ie,Ze),_te(v);var Ot=v.return;e:for(;Ot!==null;){switch(Ot.tag){case m:var Rt=Ot.stateNode;Rt.effectDuration+=Ie;break e;case P:var ne=Ot.stateNode;ne.effectDuration+=Ie;break e}Ot=Ot.return}}}break}case I:{Aee(i,v);break}case G:case j:case ee:case J:case ie:case fe:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}ai||v.flags&mi&&qB(v)}function xee(i){switch(i.tag){case d:case O:case U:{if(i.mode&nt)try{du(),YB(i,i.return)}finally{cu(i)}else YB(i,i.return);break}case h:{var o=i.stateNode;typeof o.componentDidMount=="function"&&gee(i,i.return,o),WB(i,i.return);break}case _:{WB(i,i.return);break}}}function Tee(i,o){for(var v=null,g=i;;){if(g.tag===_){if(v===null){v=g;try{var C=g.stateNode;o?ZZ(C):JZ(g.stateNode,g.memoizedProps)}catch(R){bn(i,i.return,R)}}}else if(g.tag===w){if(v===null)try{var T=g.stateNode;o?KZ(T):eK(T,g.memoizedProps)}catch(R){bn(i,i.return,R)}}else if(!((g.tag===J||g.tag===ie)&&g.memoizedState!==null&&g!==i)){if(g.child!==null){g.child.return=g,g=g.child;continue}}if(g===i)return;for(;g.sibling===null;){if(g.return===null||g.return===i)return;v===g&&(v=null),g=g.return}v===g&&(v=null),g.sibling.return=g.return,g=g.sibling}}function qB(i){var o=i.ref;if(o!==null){var v=i.stateNode,g;switch(i.tag){case _:g=v;break;default:g=v}if(typeof o=="function"){var C;if(i.mode&nt)try{du(),C=o(g)}finally{cu(i)}else C=o(g);typeof C=="function"&&u("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",vt(i))}else o.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",vt(i)),o.current=g}}function bee(i){var o=i.alternate;o!==null&&(o.return=null),i.return=null}function QB(i){var o=i.alternate;o!==null&&(i.alternate=null,QB(o));{if(i.child=null,i.deletions=null,i.sibling=null,i.tag===_){var v=i.stateNode;v!==null&&OK(v)}i.stateNode=null,i._debugOwner=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}}function Eee(i){for(var o=i.return;o!==null;){if(ZB(o))return o;o=o.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function ZB(i){return i.tag===_||i.tag===m||i.tag===S}function KB(i){var o=i;e:for(;;){for(;o.sibling===null;){if(o.return===null||ZB(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==_&&o.tag!==w&&o.tag!==X;){if(o.flags&Cn||o.child===null||o.tag===S)continue e;o.child.return=o,o=o.child}if(!(o.flags&Cn))return o.stateNode}}function Dee(i){var o=Eee(i);switch(o.tag){case _:{var v=o.stateNode;o.flags&Kt&&(JF(v),o.flags&=~Kt);var g=KB(i);SR(i,g,v);break}case m:case S:{var C=o.stateNode.containerInfo,T=KB(i);_R(i,T,C);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function _R(i,o,v){var g=i.tag,C=g===_||g===w;if(C){var T=i.stateNode;o?WZ(v,T,o):jZ(v,T)}else if(g!==S){var R=i.child;if(R!==null){_R(R,o,v);for(var k=R.sibling;k!==null;)_R(k,o,v),k=k.sibling}}}function SR(i,o,v){var g=i.tag,C=g===_||g===w;if(C){var T=i.stateNode;o?YZ(v,T,o):$Z(v,T)}else if(g!==S){var R=i.child;if(R!==null){SR(R,o,v);for(var k=R.sibling;k!==null;)SR(k,o,v),k=k.sibling}}}var oi=null,hl=!1;function Mee(i,o,v){{var g=o;e:for(;g!==null;){switch(g.tag){case _:{oi=g.stateNode,hl=!1;break e}case m:{oi=g.stateNode.containerInfo,hl=!0;break e}case S:{oi=g.stateNode.containerInfo,hl=!0;break e}}g=g.return}if(oi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");JB(i,o,v),oi=null,hl=!1}bee(v)}function zf(i,o,v){for(var g=v.child;g!==null;)JB(i,o,g),g=g.sibling}function JB(i,o,v){switch(Fm(v),v.tag){case _:ai||Dp(v,o);case w:{{var g=oi,C=hl;oi=null,zf(i,o,v),oi=g,hl=C,oi!==null&&(hl?qZ(oi,v.stateNode):XZ(oi,v.stateNode))}return}case X:{oi!==null&&(hl?QZ(oi,v.stateNode):LD(oi,v.stateNode));return}case S:{{var T=oi,R=hl;oi=v.stateNode.containerInfo,hl=!0,zf(i,o,v),oi=T,hl=R}return}case d:case O:case F:case U:{if(!ai){var k=v.updateQueue;if(k!==null){var N=k.lastEffect;if(N!==null){var B=N.next,V=B;do{var K=V,Q=K.destroy,le=K.tag;Q!==void 0&&((le&uu)!==Ea?rw(v,o,Q):(le&Ar)!==Ea&&(mh(v),v.mode&nt?(du(),rw(v,o,Q),cu(v)):rw(v,o,Q),nf())),V=V.next}while(V!==B)}}}zf(i,o,v);return}case h:{if(!ai){Dp(v,o);var ue=v.stateNode;typeof ue.componentWillUnmount=="function"&&yR(v,o,ue)}zf(i,o,v);return}case ee:{zf(i,o,v);return}case J:{if(v.mode&wt){var de=ai;ai=de||v.memoizedState!==null,zf(i,o,v),ai=de}else zf(i,o,v);break}default:{zf(i,o,v);return}}}function Ree(i){i.memoizedState}function Aee(i,o){var v=o.memoizedState;if(v===null){var g=o.alternate;if(g!==null){var C=g.memoizedState;if(C!==null){var T=C.dehydrated;T!==null&&pK(T)}}}}function e3(i){var o=i.updateQueue;if(o!==null){i.updateQueue=null;var v=i.stateNode;v===null&&(v=i.stateNode=new vee),o.forEach(function(g){var C=Ete.bind(null,i,g);if(!v.has(g)){if(v.add(g),Dr)if(bp!==null&&Ep!==null)u0(Ep,bp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");g.then(C,C)}})}}function Lee(i,o,v){bp=v,Ep=i,ln(o),t3(o,i),ln(o),bp=null,Ep=null}function pl(i,o,v){var g=o.deletions;if(g!==null)for(var C=0;C<g.length;C++){var T=g[C];try{Mee(i,o,T)}catch(N){bn(T,o,N)}}var R=AE();if(o.subtreeFlags&Si)for(var k=o.child;k!==null;)ln(k),t3(k,i),k=k.sibling;ln(R)}function t3(i,o,v){var g=i.alternate,C=i.flags;switch(i.tag){case d:case O:case F:case U:{if(pl(o,i),vu(i),C&pt){try{vl(uu|Rr,i,i.return),If(uu|Rr,i)}catch(at){bn(i,i.return,at)}if(i.mode&nt){try{du(),vl(Ar|Rr,i,i.return)}catch(at){bn(i,i.return,at)}cu(i)}else try{vl(Ar|Rr,i,i.return)}catch(at){bn(i,i.return,at)}}return}case h:{pl(o,i),vu(i),C&mi&&g!==null&&Dp(g,g.return);return}case _:{pl(o,i),vu(i),C&mi&&g!==null&&Dp(g,g.return);{if(i.flags&Kt){var T=i.stateNode;try{JF(T)}catch(at){bn(i,i.return,at)}}if(C&pt){var R=i.stateNode;if(R!=null){var k=i.memoizedProps,N=g!==null?g.memoizedProps:k,B=i.type,V=i.updateQueue;if(i.updateQueue=null,V!==null)try{HZ(R,V,B,N,k,i)}catch(at){bn(i,i.return,at)}}}}return}case w:{if(pl(o,i),vu(i),C&pt){if(i.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var K=i.stateNode,Q=i.memoizedProps,le=g!==null?g.memoizedProps:Q;try{GZ(K,le,Q)}catch(at){bn(i,i.return,at)}}return}case m:{if(pl(o,i),vu(i),C&pt&&g!==null){var ue=g.memoizedState;if(ue.isDehydrated)try{hK(o.containerInfo)}catch(at){bn(i,i.return,at)}}return}case S:{pl(o,i),vu(i);return}case I:{pl(o,i),vu(i);var de=i.child;if(de.flags&$l){var Ie=de.stateNode,Ze=de.memoizedState,We=Ze!==null;if(Ie.isHidden=We,We){var Ot=de.alternate!==null&&de.alternate.memoizedState!==null;Ot||cte()}}if(C&pt){try{Ree(i)}catch(at){bn(i,i.return,at)}e3(i)}return}case J:{var Rt=g!==null&&g.memoizedState!==null;if(i.mode&wt){var ne=ai;ai=ne||Rt,pl(o,i),ai=ne}else pl(o,i);if(vu(i),C&$l){var ve=i.stateNode,re=i.memoizedState,xe=re!==null,ze=i;if(ve.isHidden=xe,xe&&!Rt&&(ze.mode&wt)!==Je){He=ze;for(var Ae=ze.child;Ae!==null;)He=Ae,kee(Ae),Ae=Ae.sibling}Tee(ze,xe)}return}case G:{pl(o,i),vu(i),C&pt&&e3(i);return}case ee:return;default:{pl(o,i),vu(i);return}}}function vu(i){var o=i.flags;if(o&Cn){try{Dee(i)}catch(v){bn(i,i.return,v)}i.flags&=~Cn}o&pa&&(i.flags&=~pa)}function Oee(i,o,v){bp=v,Ep=o,He=i,n3(i,o,v),bp=null,Ep=null}function n3(i,o,v){for(var g=(i.mode&wt)!==Je;He!==null;){var C=He,T=C.child;if(C.tag===J&&g){var R=C.memoizedState!==null,k=R||nw;if(k){CR(i,o,v);continue}else{var N=C.alternate,B=N!==null&&N.memoizedState!==null,V=B||ai,K=nw,Q=ai;nw=k,ai=V,ai&&!Q&&(He=C,Nee(C));for(var le=T;le!==null;)He=le,n3(le,o,v),le=le.sibling;He=C,nw=K,ai=Q,CR(i,o,v);continue}}(C.subtreeFlags&Gr)!==Qe&&T!==null?(T.return=C,He=T):CR(i,o,v)}}function CR(i,o,v){for(;He!==null;){var g=He;if((g.flags&Gr)!==Qe){var C=g.alternate;ln(g);try{wee(o,C,g,v)}catch(R){bn(g,g.return,R)}or()}if(g===i){He=null;return}var T=g.sibling;if(T!==null){T.return=g.return,He=T;return}He=g.return}}function kee(i){for(;He!==null;){var o=He,v=o.child;switch(o.tag){case d:case O:case F:case U:{if(o.mode&nt)try{du(),vl(Ar,o,o.return)}finally{cu(o)}else vl(Ar,o,o.return);break}case h:{Dp(o,o.return);var g=o.stateNode;typeof g.componentWillUnmount=="function"&&yR(o,o.return,g);break}case _:{Dp(o,o.return);break}case J:{var C=o.memoizedState!==null;if(C){r3(i);continue}break}}v!==null?(v.return=o,He=v):r3(i)}}function r3(i){for(;He!==null;){var o=He;if(o===i){He=null;return}var v=o.sibling;if(v!==null){v.return=o.return,He=v;return}He=o.return}}function Nee(i){for(;He!==null;){var o=He,v=o.child;if(o.tag===J){var g=o.memoizedState!==null;if(g){i3(i);continue}}v!==null?(v.return=o,He=v):i3(i)}}function i3(i){for(;He!==null;){var o=He;ln(o);try{xee(o)}catch(g){bn(o,o.return,g)}if(or(),o===i){He=null;return}var v=o.sibling;if(v!==null){v.return=o.return,He=v;return}He=o.return}}function Pee(i,o,v,g){He=o,Iee(o,i,v,g)}function Iee(i,o,v,g){for(;He!==null;){var C=He,T=C.child;(C.subtreeFlags&ga)!==Qe&&T!==null?(T.return=C,He=T):zee(i,o,v,g)}}function zee(i,o,v,g){for(;He!==null;){var C=He;if((C.flags&Ln)!==Qe){ln(C);try{Fee(o,C,v,g)}catch(R){bn(C,C.return,R)}or()}if(C===i){He=null;return}var T=C.sibling;if(T!==null){T.return=C.return,He=T;return}He=C.return}}function Fee(i,o,v,g){switch(o.tag){case d:case O:case U:{if(o.mode&nt){KM();try{If(ri|Rr,o)}finally{ZM(o)}}else If(ri|Rr,o);break}}}function Bee(i){He=i,Uee()}function Uee(){for(;He!==null;){var i=He,o=i.child;if((He.flags&qt)!==Qe){var v=i.deletions;if(v!==null){for(var g=0;g<v.length;g++){var C=v[g];He=C,Gee(C,i)}{var T=i.alternate;if(T!==null){var R=T.child;if(R!==null){T.child=null;do{var k=R.sibling;R.sibling=null,R=k}while(R!==null)}}}He=i}}(i.subtreeFlags&ga)!==Qe&&o!==null?(o.return=i,He=o):Vee()}}function Vee(){for(;He!==null;){var i=He;(i.flags&Ln)!==Qe&&(ln(i),Hee(i),or());var o=i.sibling;if(o!==null){o.return=i.return,He=o;return}He=i.return}}function Hee(i){switch(i.tag){case d:case O:case U:{i.mode&nt?(KM(),vl(ri|Rr,i,i.return),ZM(i)):vl(ri|Rr,i,i.return);break}}}function Gee(i,o){for(;He!==null;){var v=He;ln(v),jee(v,o),or();var g=v.child;g!==null?(g.return=v,He=g):$ee(i)}}function $ee(i){for(;He!==null;){var o=He,v=o.sibling,g=o.return;if(QB(o),o===i){He=null;return}if(v!==null){v.return=g,He=v;return}He=g}}function jee(i,o){switch(i.tag){case d:case O:case U:{i.mode&nt?(KM(),vl(ri,i,o),ZM(i)):vl(ri,i,o);break}}}function Yee(i){switch(i.tag){case d:case O:case U:{try{If(Ar|Rr,i)}catch(v){bn(i,i.return,v)}break}case h:{var o=i.stateNode;try{o.componentDidMount()}catch(v){bn(i,i.return,v)}break}}}function Wee(i){switch(i.tag){case d:case O:case U:{try{If(ri|Rr,i)}catch(o){bn(i,i.return,o)}break}}}function Xee(i){switch(i.tag){case d:case O:case U:{try{vl(Ar|Rr,i,i.return)}catch(v){bn(i,i.return,v)}break}case h:{var o=i.stateNode;typeof o.componentWillUnmount=="function"&&yR(i,i.return,o);break}}}function qee(i){switch(i.tag){case d:case O:case U:try{vl(ri|Rr,i,i.return)}catch(o){bn(i,i.return,o)}}}if(typeof Symbol=="function"&&Symbol.for){var Zy=Symbol.for;Zy("selector.component"),Zy("selector.has_pseudo_class"),Zy("selector.role"),Zy("selector.test_id"),Zy("selector.text")}var Qee=[];function Zee(){Qee.forEach(function(i){return i()})}var Kee=n.ReactCurrentActQueue;function Jee(i){{var o=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,v=typeof jest<"u";return v&&o!==!1}}function a3(){{var i=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!i&&Kee.current!==null&&u("The current testing environment is not configured to support act(...)"),i}}var ete=Math.ceil,wR=n.ReactCurrentDispatcher,xR=n.ReactCurrentOwner,li=n.ReactCurrentBatchConfig,gl=n.ReactCurrentActQueue,kr=0,o3=1,ui=2,Mo=4,ys=0,Ky=1,Fd=2,iw=3,Jy=4,l3=5,TR=6,Lt=kr,Xi=null,qn=null,Nr=he,hu=he,bR=Df(he),Pr=ys,e0=null,aw=he,t0=he,ow=he,n0=null,Da=null,ER=0,u3=500,s3=1/0,tte=500,_s=null;function r0(){s3=zn()+tte}function f3(){return s3}var lw=!1,DR=null,Mp=null,Bd=!1,Ff=null,i0=he,MR=[],RR=null,nte=50,a0=0,AR=null,LR=!1,uw=!1,rte=50,Rp=0,sw=null,o0=gn,fw=he,c3=!1;function cw(){return Xi}function qi(){return(Lt&(ui|Mo))!==kr?zn():(o0!==gn||(o0=zn()),o0)}function Bf(i){var o=i.mode;if((o&wt)===Je)return rt;if((Lt&ui)!==kr&&Nr!==he)return ur(Nr);var v=JK()!==KK;if(v){if(li.transition!==null){var g=li.transition;g._updatedFibers||(g._updatedFibers=new Set),g._updatedFibers.add(i)}return fw===At&&(fw=Ym()),fw}var C=Sa();if(C!==At)return C;var T=zZ();return T}function ite(i){var o=i.mode;return(o&wt)===Je?rt:KE()}function Ir(i,o,v,g){Mte(),c3&&u("useInsertionEffect must not schedule updates."),LR&&(uw=!0),ts(i,v,g),(Lt&ui)!==he&&i===Xi?Lte(o):(Dr&&Zm(i,o,v),Ote(o),i===Xi&&((Lt&ui)===kr&&(t0=gt(t0,v)),Pr===Jy&&Uf(i,Nr)),Ma(i,g),v===rt&&Lt===kr&&(o.mode&wt)===Je&&!gl.isBatchingLegacy&&(r0(),f5()))}function ate(i,o,v){var g=i.current;g.lanes=o,ts(i,o,v),Ma(i,v)}function ote(i){return(Lt&ui)!==kr}function Ma(i,o){var v=i.callbackNode;qE(i,o);var g=fd(i,i===Xi?Nr:he);if(g===he){v!==null&&D3(v),i.callbackNode=null,i.callbackPriority=At;return}var C=er(g),T=i.callbackPriority;if(T===C&&!(gl.current!==null&&v!==FR)){v==null&&T!==rt&&u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}v!=null&&D3(v);var R;if(C===rt)i.tag===Mf?(gl.isBatchingLegacy!==null&&(gl.didScheduleLegacyUpdate=!0),PK(h3.bind(null,i))):s5(h3.bind(null,i)),gl.current!==null?gl.current.push(Rf):BZ(function(){(Lt&(ui|Mo))===kr&&Rf()}),R=null;else{var k;switch(pd(g)){case $r:k=vh;break;case Mr:k=$i;break;case tl:k=yo;break;case vd:k=Yl;break;default:k=yo;break}R=BR(k,d3.bind(null,i))}i.callbackPriority=C,i.callbackNode=R}function d3(i,o){if(MJ(),o0=gn,fw=he,(Lt&(ui|Mo))!==kr)throw new Error("Should not already be working.");var v=i.callbackNode,g=Cs();if(g&&i.callbackNode!==v)return null;var C=fd(i,i===Xi?Nr:he);if(C===he)return null;var T=!dd(i,C)&&!xS(i,C)&&!o,R=T?gte(i,C):vw(i,C);if(R!==ys){if(R===Fd){var k=$m(i);k!==he&&(C=k,R=OR(i,k))}if(R===Ky){var N=e0;throw Ud(i,he),Uf(i,C),Ma(i,zn()),N}if(R===TR)Uf(i,C);else{var B=!dd(i,C),V=i.current.alternate;if(B&&!ute(V)){if(R=vw(i,C),R===Fd){var K=$m(i);K!==he&&(C=K,R=OR(i,K))}if(R===Ky){var Q=e0;throw Ud(i,he),Uf(i,C),Ma(i,zn()),Q}}i.finishedWork=V,i.finishedLanes=C,lte(i,R,C)}}return Ma(i,zn()),i.callbackNode===v?d3.bind(null,i):null}function OR(i,o){var v=n0;if(fr(i)){var g=Ud(i,o);g.flags|=Vn,MK(i.containerInfo)}var C=vw(i,o);if(C!==Fd){var T=Da;Da=v,T!==null&&v3(T)}return C}function v3(i){Da===null?Da=i:Da.push.apply(Da,i)}function lte(i,o,v){switch(o){case ys:case Ky:throw new Error("Root did not complete. This is a bug in React.");case Fd:{Vd(i,Da,_s);break}case iw:{if(Uf(i,v),zh(v)&&!M3()){var g=ER+u3-zn();if(g>10){var C=fd(i,he);if(C!==he)break;var T=i.suspendedLanes;if(!es(T,v)){qi(),qm(i,T);break}i.timeoutHandle=RD(Vd.bind(null,i,Da,_s),g);break}}Vd(i,Da,_s);break}case Jy:{if(Uf(i,v),wS(v))break;if(!M3()){var R=CS(i,v),k=R,N=zn()-k,B=Dte(N)-N;if(B>10){i.timeoutHandle=RD(Vd.bind(null,i,Da,_s),B);break}}Vd(i,Da,_s);break}case l3:{Vd(i,Da,_s);break}default:throw new Error("Unknown root exit status.")}}function ute(i){for(var o=i;;){if(o.flags&rd){var v=o.updateQueue;if(v!==null){var g=v.stores;if(g!==null)for(var C=0;C<g.length;C++){var T=g[C],R=T.getSnapshot,k=T.value;try{if(!Ve(R(),k))return!1}catch{return!1}}}}var N=o.child;if(o.subtreeFlags&rd&&N!==null){N.return=o,o=N;continue}if(o===i)return!0;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}return!0}function Uf(i,o){o=ff(o,ow),o=ff(o,t0),Xm(i,o)}function h3(i){if(RJ(),(Lt&(ui|Mo))!==kr)throw new Error("Should not already be working.");Cs();var o=fd(i,he);if(!Ti(o,rt))return Ma(i,zn()),null;var v=vw(i,o);if(i.tag!==Mf&&v===Fd){var g=$m(i);g!==he&&(o=g,v=OR(i,g))}if(v===Ky){var C=e0;throw Ud(i,he),Uf(i,o),Ma(i,zn()),C}if(v===TR)throw new Error("Root did not complete. This is a bug in React.");var T=i.current.alternate;return i.finishedWork=T,i.finishedLanes=o,Vd(i,Da,_s),Ma(i,zn()),null}function ste(i,o){o!==he&&(cf(i,gt(o,rt)),Ma(i,zn()),(Lt&(ui|Mo))===kr&&(r0(),Rf()))}function kR(i,o){var v=Lt;Lt|=o3;try{return i(o)}finally{Lt=v,Lt===kr&&!gl.isBatchingLegacy&&(r0(),f5())}}function fte(i,o,v,g,C){var T=Sa(),R=li.transition;try{return li.transition=null,sr($r),i(o,v,g,C)}finally{sr(T),li.transition=R,Lt===kr&&r0()}}function Ss(i){Ff!==null&&Ff.tag===Mf&&(Lt&(ui|Mo))===kr&&Cs();var o=Lt;Lt|=o3;var v=li.transition,g=Sa();try{return li.transition=null,sr($r),i?i():void 0}finally{sr(g),li.transition=v,Lt=o,(Lt&(ui|Mo))===kr&&Rf()}}function p3(){return(Lt&(ui|Mo))!==kr}function dw(i,o){Ei(bR,hu,i),hu=gt(hu,o)}function NR(i){hu=bR.current,bi(bR,i)}function Ud(i,o){i.finishedWork=null,i.finishedLanes=he;var v=i.timeoutHandle;if(v!==AD&&(i.timeoutHandle=AD,FZ(v)),qn!==null)for(var g=qn.return;g!==null;){var C=g.alternate;$B(C,g),g=g.return}Xi=i;var T=Hd(i.current,null);return qn=T,Nr=hu=o,Pr=ys,e0=null,aw=he,t0=he,ow=he,n0=null,Da=null,rJ(),ul.discardPendingWarnings(),T}function g3(i,o){do{var v=qn;try{if(SC(),Y5(),or(),xR.current=null,v===null||v.return===null){Pr=Ky,e0=o,qn=null;return}if(Xt&&v.mode&nt&&KC(v,!0),Dn)if(ju(),o!==null&&typeof o=="object"&&typeof o.then=="function"){var g=o;yS(v,g,Nr)}else yh(v,o,Nr);NJ(i,v.return,v,o,Nr),S3(v)}catch(C){o=C,qn===v&&v!==null?(v=v.return,qn=v):v=qn;continue}return}while(!0)}function m3(){var i=wR.current;return wR.current=WC,i===null?WC:i}function y3(i){wR.current=i}function cte(){ER=zn()}function l0(i){aw=gt(i,aw)}function dte(){Pr===ys&&(Pr=iw)}function PR(){(Pr===ys||Pr===iw||Pr===Fd)&&(Pr=Jy),Xi!==null&&(cd(aw)||cd(t0))&&Uf(Xi,Nr)}function vte(i){Pr!==Jy&&(Pr=Fd),n0===null?n0=[i]:n0.push(i)}function hte(){return Pr===ys}function vw(i,o){var v=Lt;Lt|=ui;var g=m3();if(Xi!==i||Nr!==o){if(Dr){var C=i.memoizedUpdaters;C.size>0&&(u0(i,Nr),C.clear()),Uh(i,o)}_s=Km(),Ud(i,o)}Xa(o);do try{pte();break}catch(T){g3(i,T)}while(!0);if(SC(),Lt=v,y3(g),qn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return af(),Xi=null,Nr=he,Pr}function pte(){for(;qn!==null;)_3(qn)}function gte(i,o){var v=Lt;Lt|=ui;var g=m3();if(Xi!==i||Nr!==o){if(Dr){var C=i.memoizedUpdaters;C.size>0&&(u0(i,Nr),C.clear()),Uh(i,o)}_s=Km(),r0(),Ud(i,o)}Xa(o);do try{mte();break}catch(T){g3(i,T)}while(!0);return SC(),y3(g),Lt=v,qn!==null?(od(),ys):(af(),Xi=null,Nr=he,Pr)}function mte(){for(;qn!==null&&!dh();)_3(qn)}function _3(i){var o=i.alternate;ln(i);var v;(i.mode&nt)!==Je?(QM(i),v=IR(o,i,hu),KC(i,!0)):v=IR(o,i,hu),or(),i.memoizedProps=i.pendingProps,v===null?S3(i):qn=v,xR.current=null}function S3(i){var o=i;do{var v=o.alternate,g=o.return;if((o.flags&Vi)===Qe){ln(o);var C=void 0;if((o.mode&nt)===Je?C=GB(v,o,hu):(QM(o),C=GB(v,o,hu),KC(o,!1)),or(),C!==null){qn=C;return}}else{var T=dee(v,o);if(T!==null){T.flags&=sS,qn=T;return}if((o.mode&nt)!==Je){KC(o,!1);for(var R=o.actualDuration,k=o.child;k!==null;)R+=k.actualDuration,k=k.sibling;o.actualDuration=R}if(g!==null)g.flags|=Vi,g.subtreeFlags=Qe,g.deletions=null;else{Pr=TR,qn=null;return}}var N=o.sibling;if(N!==null){qn=N;return}o=g,qn=o}while(o!==null);Pr===ys&&(Pr=l3)}function Vd(i,o,v){var g=Sa(),C=li.transition;try{li.transition=null,sr($r),yte(i,o,v,g)}finally{li.transition=C,sr(g)}return null}function yte(i,o,v,g){do Cs();while(Ff!==null);if(Rte(),(Lt&(ui|Mo))!==kr)throw new Error("Should not already be working.");var C=i.finishedWork,T=i.finishedLanes;if(ph(T),C===null)return Bm(),null;if(T===he&&u("root.finishedLanes should not be empty during a commit. This is a bug in React."),i.finishedWork=null,i.finishedLanes=he,C===i.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");i.callbackNode=null,i.callbackPriority=At;var R=gt(C.lanes,C.childLanes);Qm(i,R),i===Xi&&(Xi=null,qn=null,Nr=he),((C.subtreeFlags&ga)!==Qe||(C.flags&ga)!==Qe)&&(Bd||(Bd=!0,RR=v,BR(yo,function(){return Cs(),null})));var k=(C.subtreeFlags&(tf|Si|Gr|ga))!==Qe,N=(C.flags&(tf|Si|Gr|ga))!==Qe;if(k||N){var B=li.transition;li.transition=null;var V=Sa();sr($r);var K=Lt;Lt|=Mo,xR.current=null,mee(i,C),mB(),Lee(i,C,T),LZ(i.containerInfo),i.current=C,_S(T),Oee(C,i,T),rf(),dS(),Lt=K,sr(V),li.transition=B}else i.current=C,mB();var Q=Bd;if(Bd?(Bd=!1,Ff=i,i0=T):(Rp=0,sw=null),R=i.pendingLanes,R===he&&(Mp=null),Q||T3(i.current,!1),Ko(C.stateNode,g),Dr&&i.memoizedUpdaters.clear(),Zee(),Ma(i,zn()),o!==null)for(var le=i.onRecoverableError,ue=0;ue<o.length;ue++){var de=o[ue],Ie=de.stack,Ze=de.digest;le(de.value,{componentStack:Ie,digest:Ze})}if(lw){lw=!1;var We=DR;throw DR=null,We}return Ti(i0,rt)&&i.tag!==Mf&&Cs(),R=i.pendingLanes,Ti(R,rt)?(DJ(),i===AR?a0++:(a0=0,AR=i)):a0=0,Rf(),Bm(),null}function Cs(){if(Ff!==null){var i=pd(i0),o=eD(tl,i),v=li.transition,g=Sa();try{return li.transition=null,sr(o),Ste()}finally{sr(g),li.transition=v}}return!1}function _te(i){MR.push(i),Bd||(Bd=!0,BR(yo,function(){return Cs(),null}))}function Ste(){if(Ff===null)return!1;var i=RR;RR=null;var o=Ff,v=i0;if(Ff=null,i0=he,(Lt&(ui|Mo))!==kr)throw new Error("Cannot flush passive effects while already rendering.");LR=!0,uw=!1,SS(v);var g=Lt;Lt|=Mo,Bee(o.current),Pee(o,o.current,v,i);{var C=MR;MR=[];for(var T=0;T<C.length;T++){var R=C[T];Cee(o,R)}}ad(),T3(o.current,!0),Lt=g,Rf(),uw?o===sw?Rp++:(Rp=0,sw=o):Rp=0,LR=!1,uw=!1,Xl(o);{var k=o.current.stateNode;k.effectDuration=0,k.passiveEffectDuration=0}return!0}function C3(i){return Mp!==null&&Mp.has(i)}function Cte(i){Mp===null?Mp=new Set([i]):Mp.add(i)}function wte(i){lw||(lw=!0,DR=i)}var xte=wte;function w3(i,o,v){var g=Id(v,o),C=_B(i,g,rt),T=Lf(i,C,rt),R=qi();T!==null&&(ts(T,rt,R),Ma(T,R))}function bn(i,o,v){if(hee(v),s0(!1),i.tag===m){w3(i,i,v);return}var g=null;for(g=o;g!==null;){if(g.tag===m){w3(g,i,v);return}else if(g.tag===h){var C=g.type,T=g.stateNode;if(typeof C.getDerivedStateFromError=="function"||typeof T.componentDidCatch=="function"&&!C3(T)){var R=Id(v,i),k=nR(g,R,rt),N=Lf(g,k,rt),B=qi();N!==null&&(ts(N,rt,B),Ma(N,B));return}}g=g.return}u(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
162
162
 
163
163
  Error message:
164
164
 
165
- %s`,a)}function K_(e,t,a){var i=e.pingCache;i!==null&&i.delete(t);var u=qr();Dd(e,a),lO(e),Gr===e&&Il(Bn,a)&&(Pn===Mp||Pn===Fm&&Dc(Bn)&&Vt()-yS<TT?bs(e,V):jm=Ve(jm,a)),Ta(e,u)}function FT(e,t){t===Ze&&(t=N_(e));var a=qr(),i=Sa(e,t);i!==null&&(Yl(i,t,a),Ta(i,a))}function Z_(e){var t=e.memoizedState,a=Ze;t!==null&&(a=t.retryLane),FT(e,a)}function J_(e,t){var a=Ze,i;switch(e.tag){case Ie:i=e.stateNode;var u=e.memoizedState;u!==null&&(a=u.retryLane);break;case gt:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),FT(e,a)}function eO(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:k_(e/1960)*1960}function tO(){if(Hp>__)throw Hp=0,ES=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Ef>O_&&(Ef=0,Pm=null,C("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function nO(){ki.flushLegacyContextWarning(),ki.flushPendingUnsafeLifecycleWarnings()}function HT(e,t){St(e),Wm(e,wr,E_),t&&Wm(e,zl,T_),Wm(e,wr,S_),t&&Wm(e,zl,C_),sn()}function Wm(e,t,a){for(var i=e,u=null;i!==null;){var s=i.subtreeFlags&t;i!==u&&i.child!==null&&s!==Te?i=i.child:((i.flags&t)!==Te&&a(i),i.sibling!==null?i=i.sibling:i=u=i.return)}}var Gm=null;function jT(e){{if((Je&hr)!==Vn||!(e.mode&Qe))return;var t=e.tag;if(t!==Se&&t!==K&&t!==W&&t!==F&&t!==Fe&&t!==Dt&&t!==$e)return;var a=He(e)||"ReactComponent";if(Gm!==null){if(Gm.has(a))return;Gm.add(a)}else Gm=new Set([a]);var i=tn;try{St(e),C("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{i?St(e):sn()}}}var kS;{var rO=null;kS=function(e,t,a){var i=WT(rO,t);try{return ZE(e,t,a)}catch(s){if(mk()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(Jh(),lE(),aT(e,t),WT(t,i),t.mode&De&&B0(t),Ll(null,ZE,null,e,t,a),Hy()){var u=ud();typeof u=="object"&&u!==null&&u._suppressLogging&&typeof s=="object"&&s!==null&&!s._suppressLogging&&(s._suppressLogging=!0)}throw s}}}var VT=!1,DS;DS=new Set;function aO(e){if(aa&&!Kk())switch(e.tag){case F:case Fe:case $e:{var t=Jt&&He(Jt)||"Unknown",a=t;if(!DS.has(a)){DS.add(a);var i=He(e)||"Unknown";C("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",i,t,t)}break}case W:{VT||(C("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),VT=!0);break}}}function Bp(e,t){if(zn){var a=e.memoizedUpdaters;a.forEach(function(i){Od(e,i,t)})}}var _S={};function OS(e,t){{var a=Ui.current;return a!==null?(a.push(t),_S):nc(e,t)}}function BT(e){if(e!==_S)return Iv(e)}function PT(){return Ui.current!==null}function iO(e){{if(e.mode&Qe){if(!ST())return}else if(!x_()||Je!==Vn||e.tag!==F&&e.tag!==Fe&&e.tag!==$e)return;if(Ui.current===null){var t=tn;try{St(e),C(`An update to %s inside a test was not wrapped in act(...).
165
+ %s`,v)}function Tte(i,o,v){var g=i.pingCache;g!==null&&g.delete(o);var C=qi();qm(i,v),kte(i),Xi===i&&es(Nr,v)&&(Pr===Jy||Pr===iw&&zh(Nr)&&zn()-ER<u3?Ud(i,he):ow=gt(ow,v)),Ma(i,C)}function x3(i,o){o===At&&(o=ite(i));var v=qi(),g=ba(i,o);g!==null&&(ts(g,o,v),Ma(g,v))}function bte(i){var o=i.memoizedState,v=At;o!==null&&(v=o.retryLane),x3(i,v)}function Ete(i,o){var v=At,g;switch(i.tag){case I:g=i.stateNode;var C=i.memoizedState;C!==null&&(v=C.retryLane);break;case G:g=i.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}g!==null&&g.delete(o),x3(i,v)}function Dte(i){return i<120?120:i<480?480:i<1080?1080:i<1920?1920:i<3e3?3e3:i<4320?4320:ete(i/1960)*1960}function Mte(){if(a0>nte)throw a0=0,AR=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Rp>rte&&(Rp=0,sw=null,u("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function Rte(){ul.flushLegacyContextWarning(),ul.flushPendingUnsafeLifecycleWarnings()}function T3(i,o){ln(i),hw(i,_i,Xee),o&&hw(i,$u,qee),hw(i,_i,Yee),o&&hw(i,$u,Wee),or()}function hw(i,o,v){for(var g=i,C=null;g!==null;){var T=g.subtreeFlags&o;g!==C&&g.child!==null&&T!==Qe?g=g.child:((g.flags&o)!==Qe&&v(g),g.sibling!==null?g=g.sibling:g=C=g.return)}}var pw=null;function b3(i){{if((Lt&ui)!==kr||!(i.mode&wt))return;var o=i.tag;if(o!==p&&o!==m&&o!==h&&o!==d&&o!==O&&o!==F&&o!==U)return;var v=vt(i)||"ReactComponent";if(pw!==null){if(pw.has(v))return;pw.add(v)}else pw=new Set([v]);var g=Kn;try{ln(i),u("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{g?ln(i):or()}}}var IR;{var Ate=null;IR=function(i,o,v){var g=k3(Ate,o);try{return FB(i,o,v)}catch(T){if(GK()||T!==null&&typeof T=="object"&&typeof T.then=="function")throw T;if(SC(),Y5(),$B(i,o),k3(o,g),o.mode&nt&&QM(o),Gu(null,FB,null,i,o,v),WE()){var C=Mm();typeof C=="object"&&C!==null&&C._suppressLogging&&typeof T=="object"&&T!==null&&!T._suppressLogging&&(T._suppressLogging=!0)}throw T}}}var E3=!1,zR;zR=new Set;function Lte(i){if(fa&&!TJ())switch(i.tag){case d:case O:case U:{var o=qn&&vt(qn)||"Unknown",v=o;if(!zR.has(v)){zR.add(v);var g=vt(i)||"Unknown";u("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",g,o,o)}break}case h:{E3||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),E3=!0);break}}}function u0(i,o){if(Dr){var v=i.memoizedUpdaters;v.forEach(function(g){Zm(i,g,o)})}}var FR={};function BR(i,o){{var v=gl.current;return v!==null?(v.push(o),FR):ch(i,o)}}function D3(i){if(i!==FR)return cS(i)}function M3(){return gl.current!==null}function Ote(i){{if(i.mode&wt){if(!a3())return}else if(!Jee()||Lt!==kr||i.tag!==d&&i.tag!==O&&i.tag!==U)return;if(gl.current===null){var o=Kn;try{ln(i),u(`An update to %s inside a test was not wrapped in act(...).
166
166
 
167
167
  When testing, code that causes React state updates should be wrapped into act(...):
168
168
 
@@ -171,7 +171,7 @@ act(() => {
171
171
  });
172
172
  /* assert on the output */
173
173
 
174
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,He(e))}finally{t?St(e):sn()}}}}function lO(e){e.tag!==no&&ST()&&Ui.current===null&&C(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
174
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,vt(i))}finally{o?ln(i):or()}}}}function kte(i){i.tag!==Mf&&a3()&&gl.current===null&&u(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
175
175
 
176
176
  When testing, code that resolves suspended data should be wrapped into act(...):
177
177
 
@@ -180,12 +180,41 @@ act(() => {
180
180
  });
181
181
  /* assert on the output */
182
182
 
183
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Pp(e){bT=e}var ii=null,Tf=null,uO=function(e){ii=e};function Rf(e){{if(ii===null)return e;var t=ii(e);return t===void 0?e:t.current}}function NS(e){return Rf(e)}function MS(e){{if(ii===null)return e;var t=ii(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=Rf(e.render);if(e.render!==a){var i={$$typeof:be,render:a};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function $T(e,t){{if(ii===null)return!1;var a=e.elementType,i=t.type,u=!1,s=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case W:{typeof i=="function"&&(u=!0);break}case F:{(typeof i=="function"||s===ke)&&(u=!0);break}case Fe:{(s===be||s===ke)&&(u=!0);break}case Dt:case $e:{(s===Pe||s===ke)&&(u=!0);break}default:return!1}if(u){var f=ii(a);if(f!==void 0&&f===ii(i))return!0}return!1}}function IT(e){{if(ii===null||typeof WeakSet!="function")return;Tf===null&&(Tf=new WeakSet),Tf.add(e)}}var oO=function(e,t){{if(ii===null)return;var a=t.staleFamilies,i=t.updatedFamilies;fu(),cu(function(){LS(e.current,i,a)})}},sO=function(e,t){{if(e.context!==Fa)return;fu(),cu(function(){$p(t,e,null,null)})}};function LS(e,t,a){{var i=e.alternate,u=e.child,s=e.sibling,f=e.tag,p=e.type,m=null;switch(f){case F:case $e:case W:m=p;break;case Fe:m=p.render;break}if(ii===null)throw new Error("Expected resolveFamily to be set during hot reload.");var S=!1,E=!1;if(m!==null){var D=ii(m);D!==void 0&&(a.has(D)?E=!0:t.has(D)&&(f===W?E=!0:S=!0))}if(Tf!==null&&(Tf.has(e)||i!==null&&Tf.has(i))&&(E=!0),E&&(e._debugNeedsRemount=!0),E||S){var x=Sa(e,_e);x!==null&&$n(x,e,_e,bt)}u!==null&&!E&&LS(u,t,a),s!==null&&LS(s,t,a)}}var cO=function(e,t){{var a=new Set,i=new Set(t.map(function(u){return u.current}));return zS(e.current,i,a),a}};function zS(e,t,a){{var i=e.child,u=e.sibling,s=e.tag,f=e.type,p=null;switch(s){case F:case $e:case W:p=f;break;case Fe:p=f.render;break}var m=!1;p!==null&&t.has(p)&&(m=!0),m?fO(e,a):i!==null&&zS(i,t,a),u!==null&&zS(u,t,a)}}function fO(e,t){{var a=dO(e,t);if(a)return;for(var i=e;;){switch(i.tag){case ie:t.add(i.stateNode);return;case ae:t.add(i.stateNode.containerInfo);return;case K:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function dO(e,t){for(var a=e,i=!1;;){if(a.tag===ie)i=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return i;for(;a.sibling===null;){if(a.return===null||a.return===e)return i;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var US;{US=!1;try{var YT=Object.preventExtensions({})}catch{US=!0}}function pO(e,t,a,i){this.tag=e,this.key=a,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=i,this.flags=Te,this.subtreeFlags=Te,this.deletions=null,this.lanes=V,this.childLanes=V,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!US&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Ha=function(e,t,a,i){return new pO(e,t,a,i)};function AS(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function vO(e){return typeof e=="function"&&!AS(e)&&e.defaultProps===void 0}function hO(e){if(typeof e=="function")return AS(e)?W:F;if(e!=null){var t=e.$$typeof;if(t===be)return Fe;if(t===Pe)return Dt}return Se}function ks(e,t){var a=e.alternate;a===null?(a=Ha(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=Te,a.subtreeFlags=Te,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&Ln,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var i=e.dependencies;switch(a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case Se:case F:case $e:a.type=Rf(e.type);break;case W:a.type=NS(e.type);break;case Fe:a.type=MS(e.type);break}return a}function mO(e,t){e.flags&=Ln|Ot;var a=e.alternate;if(a===null)e.childLanes=V,e.lanes=t,e.child=null,e.subtreeFlags=Te,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=Te,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var i=a.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function yO(e,t,a){var i;return e===Yh?(i=Qe,t===!0&&(i|=Bt,i|=da)):i=xe,zn&&(i|=De),Ha(K,null,null,i)}function FS(e,t,a,i,u,s){var f=Se,p=e;if(typeof e=="function")AS(e)?(f=W,p=NS(p)):p=Rf(p);else if(typeof e=="string")f=ie;else{e:switch(e){case Da:return mo(a.children,u,s,t);case Hi:f=it,u|=Bt,(u&Qe)!==xe&&(u|=da);break;case R:return gO(a,u,s,t);case Be:return SO(a,u,s,t);case rt:return CO(a,u,s,t);case At:return QT(a,u,s,t);case lr:case Sn:case ji:case Ns:case Ut:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Y:f=Xe;break e;case ne:f=Yt;break e;case be:f=Fe,p=MS(p);break e;case Pe:f=Dt;break e;case ke:f=_n,p=null;break e}var m="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var S=i?He(i):null;S&&(m+=`
183
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function s0(i){c3=i}var Ro=null,Ap=null,Nte=function(i){Ro=i};function Lp(i){{if(Ro===null)return i;var o=Ro(i);return o===void 0?i:o.current}}function UR(i){return Lp(i)}function VR(i){{if(Ro===null)return i;var o=Ro(i);if(o===void 0){if(i!=null&&typeof i.render=="function"){var v=Lp(i.render);if(i.render!==v){var g={$$typeof:Ke,render:v};return i.displayName!==void 0&&(g.displayName=i.displayName),g}}return i}return o.current}}function R3(i,o){{if(Ro===null)return!1;var v=i.elementType,g=o.type,C=!1,T=typeof g=="object"&&g!==null?g.$$typeof:null;switch(i.tag){case h:{typeof g=="function"&&(C=!0);break}case d:{(typeof g=="function"||T===tt)&&(C=!0);break}case O:{(T===Ke||T===tt)&&(C=!0);break}case F:case U:{(T===yt||T===tt)&&(C=!0);break}default:return!1}if(C){var R=Ro(v);if(R!==void 0&&R===Ro(g))return!0}return!1}}function A3(i){{if(Ro===null||typeof WeakSet!="function")return;Ap===null&&(Ap=new WeakSet),Ap.add(i)}}var Pte=function(i,o){{if(Ro===null)return;var v=o.staleFamilies,g=o.updatedFamilies;Cs(),Ss(function(){HR(i.current,g,v)})}},Ite=function(i,o){{if(i.context!==Qa)return;Cs(),Ss(function(){f0(o,i,null,null)})}};function HR(i,o,v){{var g=i.alternate,C=i.child,T=i.sibling,R=i.tag,k=i.type,N=null;switch(R){case d:case U:case h:N=k;break;case O:N=k.render;break}if(Ro===null)throw new Error("Expected resolveFamily to be set during hot reload.");var B=!1,V=!1;if(N!==null){var K=Ro(N);K!==void 0&&(v.has(K)?V=!0:o.has(K)&&(R===h?V=!0:B=!0))}if(Ap!==null&&(Ap.has(i)||g!==null&&Ap.has(g))&&(V=!0),V&&(i._debugNeedsRemount=!0),V||B){var Q=ba(i,rt);Q!==null&&Ir(Q,i,rt,gn)}C!==null&&!V&&HR(C,o,v),T!==null&&HR(T,o,v)}}var zte=function(i,o){{var v=new Set,g=new Set(o.map(function(C){return C.current}));return GR(i.current,g,v),v}};function GR(i,o,v){{var g=i.child,C=i.sibling,T=i.tag,R=i.type,k=null;switch(T){case d:case U:case h:k=R;break;case O:k=R.render;break}var N=!1;k!==null&&o.has(k)&&(N=!0),N?Fte(i,v):g!==null&&GR(g,o,v),C!==null&&GR(C,o,v)}}function Fte(i,o){{var v=Bte(i,o);if(v)return;for(var g=i;;){switch(g.tag){case _:o.add(g.stateNode);return;case S:o.add(g.stateNode.containerInfo);return;case m:o.add(g.stateNode.containerInfo);return}if(g.return===null)throw new Error("Expected to reach root first.");g=g.return}}}function Bte(i,o){for(var v=i,g=!1;;){if(v.tag===_)g=!0,o.add(v.stateNode);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===i)return g;for(;v.sibling===null;){if(v.return===null||v.return===i)return g;v=v.return}v.sibling.return=v.return,v=v.sibling}return!1}var $R;{$R=!1;try{var L3=Object.preventExtensions({})}catch{$R=!0}}function Ute(i,o,v,g){this.tag=i,this.key=v,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=o,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=g,this.flags=Qe,this.subtreeFlags=Qe,this.deletions=null,this.lanes=he,this.childLanes=he,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!$R&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Za=function(i,o,v,g){return new Ute(i,o,v,g)};function jR(i){var o=i.prototype;return!!(o&&o.isReactComponent)}function Vte(i){return typeof i=="function"&&!jR(i)&&i.defaultProps===void 0}function Hte(i){if(typeof i=="function")return jR(i)?h:d;if(i!=null){var o=i.$$typeof;if(o===Ke)return O;if(o===yt)return F}return p}function Hd(i,o){var v=i.alternate;v===null?(v=Za(i.tag,o,i.key,i.mode),v.elementType=i.elementType,v.type=i.type,v.stateNode=i.stateNode,v._debugSource=i._debugSource,v._debugOwner=i._debugOwner,v._debugHookTypes=i._debugHookTypes,v.alternate=i,i.alternate=v):(v.pendingProps=o,v.type=i.type,v.flags=Qe,v.subtreeFlags=Qe,v.deletions=null,v.actualDuration=0,v.actualStartTime=-1),v.flags=i.flags&Er,v.childLanes=i.childLanes,v.lanes=i.lanes,v.child=i.child,v.memoizedProps=i.memoizedProps,v.memoizedState=i.memoizedState,v.updateQueue=i.updateQueue;var g=i.dependencies;switch(v.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext},v.sibling=i.sibling,v.index=i.index,v.ref=i.ref,v.selfBaseDuration=i.selfBaseDuration,v.treeBaseDuration=i.treeBaseDuration,v._debugNeedsRemount=i._debugNeedsRemount,v.tag){case p:case d:case U:v.type=Lp(i.type);break;case h:v.type=UR(i.type);break;case O:v.type=VR(i.type);break}return v}function Gte(i,o){i.flags&=Er|Cn;var v=i.alternate;if(v===null)i.childLanes=he,i.lanes=o,i.child=null,i.subtreeFlags=Qe,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null,i.selfBaseDuration=0,i.treeBaseDuration=0;else{i.childLanes=v.childLanes,i.lanes=v.lanes,i.child=v.child,i.subtreeFlags=Qe,i.deletions=null,i.memoizedProps=v.memoizedProps,i.memoizedState=v.memoizedState,i.updateQueue=v.updateQueue,i.type=v.type;var g=v.dependencies;i.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext},i.selfBaseDuration=v.selfBaseDuration,i.treeBaseDuration=v.treeBaseDuration}return i}function $te(i,o,v){var g;return i===dC?(g=wt,o===!0&&(g|=Fn,g|=ya)):g=Je,Dr&&(g|=nt),Za(m,null,null,g)}function YR(i,o,v,g,C,T){var R=p,k=i;if(typeof i=="function")jR(i)?(R=h,k=UR(k)):k=Lp(k);else if(typeof i=="string")R=_;else{e:switch(i){case Va:return Vf(v.children,C,T,o);case Nl:R=b,C|=Fn,(C&wt)!==Je&&(C|=ya);break;case Y:return jte(v,C,T,o);case mt:return Yte(v,C,T,o);case Bt:return Wte(v,C,T,o);case An:return O3(v,C,T,o);case Jr:case pr:case Pl:case Uv:case Rn:default:{if(typeof i=="object"&&i!==null)switch(i.$$typeof){case Ce:R=A;break e;case Me:R=D;break e;case Ke:R=O,k=VR(k);break e;case yt:R=F;break e;case tt:R=H,k=null;break e}var N="";{(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var B=g?vt(g):null;B&&(N+=`
184
184
 
185
- Check the render method of \``+S+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+m))}}}var E=Ha(f,a,t,u);return E.elementType=e,E.type=p,E.lanes=s,E._debugOwner=i,E}function HS(e,t,a){var i=null;i=e._owner;var u=e.type,s=e.key,f=e.props,p=FS(u,s,f,i,t,a);return p._debugSource=e._source,p._debugOwner=e._owner,p}function mo(e,t,a,i){var u=Ha(tt,e,i,t);return u.lanes=a,u}function gO(e,t,a,i){typeof e.id!="string"&&C('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var u=Ha(ct,e,i,t|De);return u.elementType=R,u.lanes=a,u.stateNode={effectDuration:0,passiveEffectDuration:0},u}function SO(e,t,a,i){var u=Ha(Ie,e,i,t);return u.elementType=Be,u.lanes=a,u}function CO(e,t,a,i){var u=Ha(gt,e,i,t);return u.elementType=rt,u.lanes=a,u}function QT(e,t,a,i){var u=Ha(Ue,e,i,t);u.elementType=At,u.lanes=a;var s={isHidden:!1};return u.stateNode=s,u}function jS(e,t,a){var i=Ha(de,e,null,t);return i.lanes=a,i}function EO(){var e=Ha(ie,null,null,xe);return e.elementType="DELETED",e}function TO(e){var t=Ha(Qt,null,null,xe);return t.stateNode=e,t}function VS(e,t,a){var i=e.children!==null?e.children:[],u=Ha(ae,i,e.key,t);return u.lanes=a,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}function WT(e,t){return e===null&&(e=Ha(Se,null,null,xe)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function RO(e,t,a,i,u){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Eg,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Ze,this.eventTimes=Oc(V),this.expirationTimes=Oc(bt),this.pendingLanes=V,this.suspendedLanes=V,this.pingedLanes=V,this.expiredLanes=V,this.mutableReadLanes=V,this.finishedLanes=V,this.entangledLanes=V,this.entanglements=Oc(V),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var s=this.pendingUpdatersLaneMap=[],f=0;f<Mt;f++)s.push(new Set)}switch(t){case Yh:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case no:this._debugRootType=a?"hydrate()":"render()";break}}function GT(e,t,a,i,u,s,f,p,m,S){var E=new RO(e,t,a,p,m),D=yO(t,s);E.current=D,D.stateNode=E;{var x={element:i,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};D.memoizedState=x}return Gg(D),E}var BS="18.2.0";function wO(e,t,a){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return wa(i),{$$typeof:jr,key:i==null?null:""+i,children:e,containerInfo:t,implementation:a}}var PS,$S;PS=!1,$S={};function qT(e){if(!e)return Fa;var t=ua(e),a=uk(t);if(t.tag===W){var i=t.type;if(fl(i))return EC(t,i,a)}return a}function bO(e,t){{var a=ua(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var u=fa(a);if(u===null)return null;if(u.mode&Bt){var s=He(a)||"Component";if(!$S[s]){$S[s]=!0;var f=tn;try{St(u),a.mode&Bt?C("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,s):C("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,s)}finally{f?St(f):sn()}}}return u.stateNode}}function XT(e,t,a,i,u,s,f,p){var m=!1,S=null;return GT(e,t,m,S,a,i,u,s,f)}function KT(e,t,a,i,u,s,f,p,m,S){var E=!0,D=GT(a,i,E,e,u,s,f,p,m);D.context=qT(null);var x=D.current,L=qr(),z=vo(x),H=lu(L,z);return H.callback=t??null,io(x,H,z),M_(D,z,L),D}function $p(e,t,a,i){Qv(t,e);var u=t.current,s=qr(),f=vo(u);Al(f);var p=qT(a);t.context===null?t.context=p:t.pendingContext=p,aa&&tn!==null&&!PS&&(PS=!0,C(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
185
+ Check the render method of \``+B+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(i==null?i:typeof i)+"."+N))}}}var V=Za(R,v,o,C);return V.elementType=i,V.type=k,V.lanes=T,V._debugOwner=g,V}function WR(i,o,v){var g=null;g=i._owner;var C=i.type,T=i.key,R=i.props,k=YR(C,T,R,g,o,v);return k._debugSource=i._source,k._debugOwner=i._owner,k}function Vf(i,o,v,g){var C=Za(E,i,g,o);return C.lanes=v,C}function jte(i,o,v,g){typeof i.id!="string"&&u('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof i.id);var C=Za(P,i,g,o|nt);return C.elementType=Y,C.lanes=v,C.stateNode={effectDuration:0,passiveEffectDuration:0},C}function Yte(i,o,v,g){var C=Za(I,i,g,o);return C.elementType=mt,C.lanes=v,C}function Wte(i,o,v,g){var C=Za(G,i,g,o);return C.elementType=Bt,C.lanes=v,C}function O3(i,o,v,g){var C=Za(J,i,g,o);C.elementType=An,C.lanes=v;var T={isHidden:!1};return C.stateNode=T,C}function XR(i,o,v){var g=Za(w,i,null,o);return g.lanes=v,g}function Xte(){var i=Za(_,null,null,Je);return i.elementType="DELETED",i}function qte(i){var o=Za(X,null,null,Je);return o.stateNode=i,o}function qR(i,o,v){var g=i.children!==null?i.children:[],C=Za(S,g,i.key,o);return C.lanes=v,C.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},C}function k3(i,o){return i===null&&(i=Za(p,null,null,Je)),i.tag=o.tag,i.key=o.key,i.elementType=o.elementType,i.type=o.type,i.stateNode=o.stateNode,i.return=o.return,i.child=o.child,i.sibling=o.sibling,i.index=o.index,i.ref=o.ref,i.pendingProps=o.pendingProps,i.memoizedProps=o.memoizedProps,i.updateQueue=o.updateQueue,i.memoizedState=o.memoizedState,i.dependencies=o.dependencies,i.mode=o.mode,i.flags=o.flags,i.subtreeFlags=o.subtreeFlags,i.deletions=o.deletions,i.lanes=o.lanes,i.childLanes=o.childLanes,i.alternate=o.alternate,i.actualDuration=o.actualDuration,i.actualStartTime=o.actualStartTime,i.selfBaseDuration=o.selfBaseDuration,i.treeBaseDuration=o.treeBaseDuration,i._debugSource=o._debugSource,i._debugOwner=o._debugOwner,i._debugNeedsRemount=o._debugNeedsRemount,i._debugHookTypes=o._debugHookTypes,i}function Qte(i,o,v,g,C){this.tag=o,this.containerInfo=i,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=AD,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=At,this.eventTimes=Bh(he),this.expirationTimes=Bh(gn),this.pendingLanes=he,this.suspendedLanes=he,this.pingedLanes=he,this.expiredLanes=he,this.mutableReadLanes=he,this.finishedLanes=he,this.entangledLanes=he,this.entanglements=Bh(he),this.identifierPrefix=g,this.onRecoverableError=C,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var T=this.pendingUpdatersLaneMap=[],R=0;R<xn;R++)T.push(new Set)}switch(o){case dC:this._debugRootType=v?"hydrateRoot()":"createRoot()";break;case Mf:this._debugRootType=v?"hydrate()":"render()";break}}function N3(i,o,v,g,C,T,R,k,N,B){var V=new Qte(i,o,v,k,N),K=$te(o,T);V.current=K,K.stateNode=V;{var Q={element:g,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null};K.memoizedState=Q}return rM(K),V}var QR="18.2.0";function Zte(i,o,v){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return za(g),{$$typeof:Bi,key:g==null?null:""+g,children:i,containerInfo:o,implementation:v}}var ZR,KR;ZR=!1,KR={};function P3(i){if(!i)return Qa;var o=va(i),v=NK(o);if(o.tag===h){var g=o.type;if(lu(g))return l5(o,g,v)}return v}function Kte(i,o){{var v=va(i);if(v===void 0){if(typeof i.render=="function")throw new Error("Unable to find node on an unmounted component.");var g=Object.keys(i).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+g)}var C=ma(v);if(C===null)return null;if(C.mode&Fn){var T=vt(v)||"Component";if(!KR[T]){KR[T]=!0;var R=Kn;try{ln(C),v.mode&Fn?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",o,o,T):u("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",o,o,T)}finally{R?ln(R):or()}}}return C.stateNode}}function I3(i,o,v,g,C,T,R,k){var N=!1,B=null;return N3(i,o,N,B,v,g,C,T,R)}function z3(i,o,v,g,C,T,R,k,N,B){var V=!0,K=N3(v,g,V,i,C,T,R,k,N);K.context=P3(null);var Q=K.current,le=qi(),ue=Bf(Q),de=gs(le,ue);return de.callback=o??null,Lf(Q,de,ue),ate(K,ue,le),K}function f0(i,o,v,g){vS(o,i);var C=o.current,T=qi(),R=Bf(C);Yu(R);var k=P3(v);o.context===null?o.context=k:o.pendingContext=k,fa&&Kn!==null&&!ZR&&(ZR=!0,u(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
186
186
 
187
- Check the render method of %s.`,He(tn)||"Unknown"));var m=lu(s,f);m.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&C("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),m.callback=i);var S=io(u,m,f);return S!==null&&($n(S,u,f,s),am(S,u,f)),f}function qm(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case ie:return t.child.stateNode;default:return t.child.stateNode}}function xO(e){switch(e.tag){case K:{var t=e.stateNode;if(pn(t)){var a=By(t);A_(t,a)}break}case Ie:{cu(function(){var u=Sa(e,_e);if(u!==null){var s=qr();$n(u,e,_e,s)}});var i=_e;IS(e,i);break}}}function ZT(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=ah(a.retryLane,t))}function IS(e,t){ZT(e,t);var a=e.alternate;a&&ZT(a,t)}function kO(e){if(e.tag===Ie){var t=zu,a=Sa(e,t);if(a!==null){var i=qr();$n(a,e,t,i)}IS(e,t)}}function DO(e){if(e.tag===Ie){var t=vo(e),a=Sa(e,t);if(a!==null){var i=qr();$n(a,e,t,i)}IS(e,t)}}function JT(e){var t=$v(e);return t===null?null:t.stateNode}var eR=function(e){return null};function _O(e){return eR(e)}var tR=function(e){return!1};function OO(e){return tR(e)}var nR=null,rR=null,aR=null,iR=null,lR=null,uR=null,oR=null,sR=null,cR=null;{var fR=function(e,t,a){var i=t[a],u=Cn(e)?e.slice():We({},e);return a+1===t.length?(Cn(u)?u.splice(i,1):delete u[i],u):(u[i]=fR(e[i],t,a+1),u)},dR=function(e,t){return fR(e,t,0)},pR=function(e,t,a,i){var u=t[i],s=Cn(e)?e.slice():We({},e);if(i+1===t.length){var f=a[i];s[f]=s[u],Cn(s)?s.splice(u,1):delete s[u]}else s[u]=pR(e[u],t,a,i+1);return s},vR=function(e,t,a){if(t.length!==a.length){B("copyWithRename() expects paths of the same length");return}else for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){B("copyWithRename() expects paths to be the same except for the deepest key");return}return pR(e,t,a,0)},hR=function(e,t,a,i){if(a>=t.length)return i;var u=t[a],s=Cn(e)?e.slice():We({},e);return s[u]=hR(e[u],t,a+1,i),s},mR=function(e,t,a){return hR(e,t,0,a)},YS=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};nR=function(e,t,a,i){var u=YS(e,t);if(u!==null){var s=mR(u.memoizedState,a,i);u.memoizedState=s,u.baseState=s,e.memoizedProps=We({},e.memoizedProps);var f=Sa(e,_e);f!==null&&$n(f,e,_e,bt)}},rR=function(e,t,a){var i=YS(e,t);if(i!==null){var u=dR(i.memoizedState,a);i.memoizedState=u,i.baseState=u,e.memoizedProps=We({},e.memoizedProps);var s=Sa(e,_e);s!==null&&$n(s,e,_e,bt)}},aR=function(e,t,a,i){var u=YS(e,t);if(u!==null){var s=vR(u.memoizedState,a,i);u.memoizedState=s,u.baseState=s,e.memoizedProps=We({},e.memoizedProps);var f=Sa(e,_e);f!==null&&$n(f,e,_e,bt)}},iR=function(e,t,a){e.pendingProps=mR(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Sa(e,_e);i!==null&&$n(i,e,_e,bt)},lR=function(e,t){e.pendingProps=dR(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Sa(e,_e);a!==null&&$n(a,e,_e,bt)},uR=function(e,t,a){e.pendingProps=vR(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Sa(e,_e);i!==null&&$n(i,e,_e,bt)},oR=function(e){var t=Sa(e,_e);t!==null&&$n(t,e,_e,bt)},sR=function(e){eR=e},cR=function(e){tR=e}}function NO(e){var t=fa(e);return t===null?null:t.stateNode}function MO(e){return null}function LO(){return tn}function zO(e){var t=e.findFiberByHostInstance,a=v.ReactCurrentDispatcher;return md({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:nR,overrideHookStateDeletePath:rR,overrideHookStateRenamePath:aR,overrideProps:iR,overridePropsDeletePath:lR,overridePropsRenamePath:uR,setErrorHandler:sR,setSuspenseHandler:cR,scheduleUpdate:oR,currentDispatcherRef:a,findHostInstanceByFiber:NO,findFiberByHostInstance:t||MO,findHostInstancesForRefresh:cO,scheduleRefresh:oO,scheduleRoot:sO,setRefreshHandler:uO,getCurrentFiber:LO,reconcilerVersion:BS})}var yR=typeof reportError=="function"?reportError:function(e){console.error(e)};function QS(e){this._internalRoot=e}Xm.prototype.render=QS.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?C("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Km(arguments[1])?C("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&C("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==nn){var i=JT(t.current);i&&i.parentNode!==a&&C("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}$p(e,t,null,null)},Xm.prototype.unmount=QS.prototype.unmount=function(){typeof arguments[0]=="function"&&C("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_T()&&C("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),cu(function(){$p(null,e,null,null)}),mC(t)}};function UO(e,t){if(!Km(e))throw new Error("createRoot(...): Target container is not a DOM element.");gR(e);var a=!1,i=!1,u="",s=yR;t!=null&&(t.hydrate?B("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Fi&&C(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
187
+ Check the render method of %s.`,vt(Kn)||"Unknown"));var N=gs(T,R);N.payload={element:i},g=g===void 0?null:g,g!==null&&(typeof g!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",g),N.callback=g);var B=Lf(C,N,R);return B!==null&&(Ir(B,C,R,T),bC(B,C,R)),R}function gw(i){var o=i.current;if(!o.child)return null;switch(o.child.tag){case _:return o.child.stateNode;default:return o.child.stateNode}}function Jte(i){switch(i.tag){case m:{var o=i.stateNode;if(fr(o)){var v=QE(o);ste(o,v)}break}case I:{Ss(function(){var C=ba(i,rt);if(C!==null){var T=qi();Ir(C,i,rt,T)}});var g=rt;JR(i,g);break}}}function F3(i,o){var v=i.memoizedState;v!==null&&v.dehydrated!==null&&(v.retryLane=bS(v.retryLane,o))}function JR(i,o){F3(i,o);var v=i.alternate;v&&F3(v,o)}function ene(i){if(i.tag===I){var o=of,v=ba(i,o);if(v!==null){var g=qi();Ir(v,i,o,g)}JR(i,o)}}function tne(i){if(i.tag===I){var o=Bf(i),v=ba(i,o);if(v!==null){var g=qi();Ir(v,i,o,g)}JR(i,o)}}function B3(i){var o=fS(i);return o===null?null:o.stateNode}var U3=function(i){return null};function nne(i){return U3(i)}var V3=function(i){return!1};function rne(i){return V3(i)}var H3=null,G3=null,$3=null,j3=null,Y3=null,W3=null,X3=null,q3=null,Q3=null;{var Z3=function(i,o,v){var g=o[v],C=gr(i)?i.slice():Dt({},i);return v+1===o.length?(gr(C)?C.splice(g,1):delete C[g],C):(C[g]=Z3(i[g],o,v+1),C)},K3=function(i,o){return Z3(i,o,0)},J3=function(i,o,v,g){var C=o[g],T=gr(i)?i.slice():Dt({},i);if(g+1===o.length){var R=v[g];T[R]=T[C],gr(T)?T.splice(C,1):delete T[C]}else T[C]=J3(i[C],o,v,g+1);return T},eU=function(i,o,v){if(o.length!==v.length){l("copyWithRename() expects paths of the same length");return}else for(var g=0;g<v.length-1;g++)if(o[g]!==v[g]){l("copyWithRename() expects paths to be the same except for the deepest key");return}return J3(i,o,v,0)},tU=function(i,o,v,g){if(v>=o.length)return g;var C=o[v],T=gr(i)?i.slice():Dt({},i);return T[C]=tU(i[C],o,v+1,g),T},nU=function(i,o,v){return tU(i,o,0,v)},eA=function(i,o){for(var v=i.memoizedState;v!==null&&o>0;)v=v.next,o--;return v};H3=function(i,o,v,g){var C=eA(i,o);if(C!==null){var T=nU(C.memoizedState,v,g);C.memoizedState=T,C.baseState=T,i.memoizedProps=Dt({},i.memoizedProps);var R=ba(i,rt);R!==null&&Ir(R,i,rt,gn)}},G3=function(i,o,v){var g=eA(i,o);if(g!==null){var C=K3(g.memoizedState,v);g.memoizedState=C,g.baseState=C,i.memoizedProps=Dt({},i.memoizedProps);var T=ba(i,rt);T!==null&&Ir(T,i,rt,gn)}},$3=function(i,o,v,g){var C=eA(i,o);if(C!==null){var T=eU(C.memoizedState,v,g);C.memoizedState=T,C.baseState=T,i.memoizedProps=Dt({},i.memoizedProps);var R=ba(i,rt);R!==null&&Ir(R,i,rt,gn)}},j3=function(i,o,v){i.pendingProps=nU(i.memoizedProps,o,v),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var g=ba(i,rt);g!==null&&Ir(g,i,rt,gn)},Y3=function(i,o){i.pendingProps=K3(i.memoizedProps,o),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var v=ba(i,rt);v!==null&&Ir(v,i,rt,gn)},W3=function(i,o,v){i.pendingProps=eU(i.memoizedProps,o,v),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var g=ba(i,rt);g!==null&&Ir(g,i,rt,gn)},X3=function(i){var o=ba(i,rt);o!==null&&Ir(o,i,rt,gn)},q3=function(i){U3=i},Q3=function(i){V3=i}}function ine(i){var o=ma(i);return o===null?null:o.stateNode}function ane(i){return null}function one(){return Kn}function lne(i){var o=i.findFiberByHostInstance,v=n.ReactCurrentDispatcher;return zm({bundleType:i.bundleType,version:i.version,rendererPackageName:i.rendererPackageName,rendererConfig:i.rendererConfig,overrideHookState:H3,overrideHookStateDeletePath:G3,overrideHookStateRenamePath:$3,overrideProps:j3,overridePropsDeletePath:Y3,overridePropsRenamePath:W3,setErrorHandler:q3,setSuspenseHandler:Q3,scheduleUpdate:X3,currentDispatcherRef:v,findHostInstanceByFiber:ine,findFiberByHostInstance:o||ane,findHostInstancesForRefresh:zte,scheduleRefresh:Pte,scheduleRoot:Ite,setRefreshHandler:Nte,getCurrentFiber:one,reconcilerVersion:QR})}var rU=typeof reportError=="function"?reportError:function(i){console.error(i)};function tA(i){this._internalRoot=i}mw.prototype.render=tA.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):yw(arguments[1])?u("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&u("You passed a second argument to root.render(...) but it only accepts one argument.");var v=o.containerInfo;if(v.nodeType!==Jn){var g=B3(o.current);g&&g.parentNode!==v&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}f0(i,o,null,null)},mw.prototype.unmount=tA.prototype.unmount=function(){typeof arguments[0]=="function"&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;p3()&&u("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Ss(function(){f0(null,i,null,null)}),n5(o)}};function une(i,o){if(!yw(i))throw new Error("createRoot(...): Target container is not a DOM element.");iU(i);var v=!1,g=!1,C="",T=rU;o!=null&&(o.hydrate?l("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof o=="object"&&o!==null&&o.$$typeof===kl&&u(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
188
188
 
189
189
  let root = createRoot(domContainer);
190
- root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var f=XT(e,Yh,null,a,i,u,s);Hh(f.current,e);var p=e.nodeType===nn?e.parentNode:e;return Kd(p),new QS(f)}function Xm(e){this._internalRoot=e}function AO(e){e&&dh(e)}Xm.prototype.unstable_scheduleHydration=AO;function FO(e,t,a){if(!Km(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");gR(e),t===void 0&&C("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=a??null,u=a!=null&&a.hydratedSources||null,s=!1,f=!1,p="",m=yR;a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(p=a.identifierPrefix),a.onRecoverableError!==void 0&&(m=a.onRecoverableError));var S=KT(t,null,e,Yh,i,s,f,p,m);if(Hh(S.current,e),Kd(e),u)for(var E=0;E<u.length;E++){var D=u[E];Yk(S,D)}return new Xm(S)}function Km(e){return!!(e&&(e.nodeType===Er||e.nodeType===Ma||e.nodeType===kl||!ft))}function Ip(e){return!!(e&&(e.nodeType===Er||e.nodeType===Ma||e.nodeType===kl||e.nodeType===nn&&e.nodeValue===" react-mount-point-unstable "))}function gR(e){e.nodeType===Er&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&C("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),op(e)&&(e._reactRootContainer?C("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):C("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var HO=v.ReactCurrentOwner,SR;SR=function(e){if(e._reactRootContainer&&e.nodeType!==nn){var t=JT(e._reactRootContainer.current);t&&t.parentNode!==e&&C("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,i=WS(e),u=!!(i&&eo(i));u&&!a&&C("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Er&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&C("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function WS(e){return e?e.nodeType===Ma?e.documentElement:e.firstChild:null}function CR(){}function jO(e,t,a,i,u){if(u){if(typeof i=="function"){var s=i;i=function(){var x=qm(f);s.call(x)}}var f=KT(t,i,e,no,null,!1,!1,"",CR);e._reactRootContainer=f,Hh(f.current,e);var p=e.nodeType===nn?e.parentNode:e;return Kd(p),cu(),f}else{for(var m;m=e.lastChild;)e.removeChild(m);if(typeof i=="function"){var S=i;i=function(){var x=qm(E);S.call(x)}}var E=XT(e,no,null,!1,!1,"",CR);e._reactRootContainer=E,Hh(E.current,e);var D=e.nodeType===nn?e.parentNode:e;return Kd(D),cu(function(){$p(t,E,a,i)}),E}}function VO(e,t){e!==null&&typeof e!="function"&&C("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Zm(e,t,a,i,u){SR(a),VO(u===void 0?null:u,"render");var s=a._reactRootContainer,f;if(!s)f=jO(a,t,e,u,i);else{if(f=s,typeof u=="function"){var p=u;u=function(){var m=qm(f);p.call(m)}}$p(t,f,e,u)}return qm(f)}function BO(e){{var t=HO.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||C("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Rt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Er?e:bO(e,"findDOMNode")}function PO(e,t,a){if(C("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Ip(t))throw new Error("Target container is not a DOM element.");{var i=op(t)&&t._reactRootContainer===void 0;i&&C("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Zm(null,e,t,!0,a)}function $O(e,t,a){if(C("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Ip(t))throw new Error("Target container is not a DOM element.");{var i=op(t)&&t._reactRootContainer===void 0;i&&C("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Zm(null,e,t,!1,a)}function IO(e,t,a,i){if(C("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Ip(a))throw new Error("Target container is not a DOM element.");if(e==null||!Bo(e))throw new Error("parentComponent must be a valid React Component");return Zm(e,t,a,!1,i)}function YO(e){if(!Ip(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=op(e)&&e._reactRootContainer===void 0;t&&C("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=WS(e),i=a&&!eo(a);i&&C("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return cu(function(){Zm(null,null,e,!1,function(){e._reactRootContainer=null,mC(e)})}),!0}else{{var u=WS(e),s=!!(u&&eo(u)),f=e.nodeType===Er&&Ip(e.parentNode)&&!!e.parentNode._reactRootContainer;s&&C("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",f?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}fe(xO),lh(kO),ns(DO),Ld(va),oh(Jo),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&C("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Vv(Gb),Ks(wS,F_,cu);function QO(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Km(t))throw new Error("Target container is not a DOM element.");return wO(e,t,null,a)}function WO(e,t,a,i){return IO(e,t,a,i)}var GS={usingClientEntryPoint:!1,Events:[eo,Jc,jh,Xs,Ho,wS]};function GO(e,t){return GS.usingClientEntryPoint||C('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),UO(e,t)}function qO(e,t,a){return GS.usingClientEntryPoint||C('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),FO(e,t,a)}function XO(e){return _T()&&C("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),cu(e)}var KO=zO({findFiberByHostInstance:ds,bundleType:1,version:BS,rendererPackageName:"react-dom"});if(!KO&&yn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var ER=window.location.protocol;/^(https?|file):$/.test(ER)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(ER==="file:"?`
191
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Jr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=GS,Jr.createPortal=QO,Jr.createRoot=GO,Jr.findDOMNode=BO,Jr.flushSync=XO,Jr.hydrate=PO,Jr.hydrateRoot=qO,Jr.render=$O,Jr.unmountComponentAtNode=YO,Jr.unstable_batchedUpdates=wS,Jr.unstable_renderSubtreeIntoContainer=WO,Jr.version=BS,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Jr}(function(h){function g(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(g)}catch(v){console.error(v)}}}process.env.NODE_ENV==="production"?(g(),h.exports=Xw()):h.exports=Kw()})(O1);const Zw=bR(O1.exports),F1=[go.jpeg,go.jpg,go.png],H1=h=>{const{maxCount:g=1,listType:v="picture-card",fileList:b=[],maxSize:A=2,accept:B=F1.join(",")}=h,[C,q]=yt.useState(!1),[F,W]=yt.useState(""),Se=()=>v!=="text"?In("div",{children:[Le(Dw,{}),Le("div",{style:{marginTop:8},children:"上传"})]}):Le(nt.Button,{icon:Le(zw,{}),children:"上传"}),K=de=>{const tt=B.split(",");if(!tt.includes(de.type)){const Yt=tt.map(Xe=>{var Fe;return(Fe=Ds.find(Array.from(Zp),ct=>ct[1]===Xe))==null?void 0:Fe[0]});return nt.message.error(`只允许上传 ${Yt.join(", ")} 文件`),nt.Upload.LIST_IGNORE}return de.size/1024/1024<A?!0:(nt.message.error(`文件必须小于${A}MB`),nt.Upload.LIST_IGNORE)},ae=de=>{h.onChange&&h.onChange(de)},ie=async de=>{if(de.type||(de.type=_1(de.name||de.url)),de.type===go.pdf)return nt.Modal.info({title:"PDF",width:"60%",content:Le("iframe",{title:"PDF预览",src:de.url||de.response.url,frameBorder:"0",style:{width:"100%",height:"70vh"}}),okText:"关闭"});F1.includes(de.type)&&(!de.url&&!de.thumbUrl&&!de.preview&&(de.preview=await D1(de.originFileObj)),W(de.url||de.thumbUrl||de.preview),q(!0))};return In(DR,{children:[Le(nt.Upload,{...h,onPreview:ie,beforeUpload:K,onChange:ae,listType:v,children:b.length>=g?null:Se()}),Le(Jw,{visible:C,src:F,onVisibleChange:()=>{q(!1),W("")}})]})},Jw=h=>{const{visible:g,src:v,onVisibleChange:b}=h;return Zw.createPortal(Le(nt.Image,{style:{display:"none"},src:v,preview:{visible:g,src:v,onVisibleChange:b}}),document.body)},Jp={fieldModal:"_fieldModal_1comf_1",content:"_content_1comf_22",suffix:"_suffix_1comf_25",placeholder:"_placeholder_1comf_36"},eb={labelCol:{span:4},wrapperCol:{span:20}},tb=h=>{switch(h){case"upload":return"fileList";case"switch":return"checked";default:return"value"}},j1=h=>{const{items:g,rowProps:v,formProps:b,readonly:A=!1,hiddenTitle:B=!1}=h,C=(F,W)=>{var Se,K;if(W.btnType==="submit"){(Se=b==null?void 0:b.form)==null||Se.validateFields().then(ae=>{W.onClick&&W.onClick(ae)});return}if(W.btnType==="reset"){(K=b==null?void 0:b.form)==null||K.resetFields(),W.onClick&&W.onClick(F);return}W.btnType==="cancel"&&W.onClick&&W.onClick(F)},q=F=>Array.isArray(F)?F:F&&F.fileList;return Le(nt.Form,{layout:"horizontal",form:b==null?void 0:b.form,...eb,...b||{},children:Le(nt.Row,{gutter:16,...v,children:g.filter(F=>!F.hidden).map(F=>{var W,Se;return Le(nt.Col,{...F.colProps||{span:24},children:Le(nt.Form.Item,{...F.valueType==="upload"?{getValueFromEvent:q}:{},label:B?"":F.title,name:F.valueType==="btns"?void 0:F.dataIndex,...F.formItemProps,children:F.readonly?Le("div",{children:F.value||((W=b==null?void 0:b.initialValues)==null?void 0:W[F.dataIndex])}):F.readonly===void 0&&A?Le("div",{children:F.value||((Se=b==null?void 0:b.initialValues)==null?void 0:Se[F.dataIndex])}):Le(nb,{onChange:K=>{var ae;return(ae=F==null?void 0:F.onChange)==null?void 0:ae.call(F,K)},valueType:F.valueType,onBtnClick:C,valueProps:F.valueProps})})},F.dataIndex)})})})},nb=h=>{const{valueType:g,valueProps:v,value:b,onChange:A,onBtnClick:B}=h,C=yt.useMemo(()=>{let q=Le(nt.Input,{placeholder:"请输入",...v,allowClear:!0});switch(g){case"modal":q=Le(rb,{...v});break;case"checkbox":q=Le(nt.Checkbox.Group,{...v});break;case"select":q=Le(nt.Select,{placeholder:"请选择",...v,allowClear:!0});break;case"inputNumber":q=Le(nt.InputNumber,{style:{width:"100%"},placeholder:"请输入",...v});break;case"textarea":q=Le(nt.Input.TextArea,{placeholder:"请输入",...v,allowClear:!0});break;case"radio":q=Le(nt.Radio.Group,{...v});break;case"switch":q=Le(nt.Switch,{...v});break;case"datePicker":q=Le(nt.DatePicker,{style:{width:"100%"},...v,allowClear:!0});break;case"rangePicker":q=Le(nt.DatePicker.RangePicker,{style:{width:"100%"},...v,allowClear:!0});break;case"timePicker":q=Le(nt.TimePicker,{style:{width:"100%"},...v,allowClear:!0});break;case"cascader":q=Le(nt.Cascader,{...v,allowClear:!0});break;case"upload":q=Le(H1,{...v});break;case"btns":q=Le(nt.Space,{children:v==null?void 0:v.map(F=>yt.createElement(nt.Button,{type:F.btnType==="submit"?"primary":"default",...Ds.omit(F,["btnType"]),key:F.btnType,onClick:W=>{B==null||B(W,F)}},F.title))});break}return q},[g,v,A,b]);return yt.cloneElement(C,{[tb(g||"input")]:b,onChange:A})},rb=h=>{const{placeholder:g,labelKey:v,onToggle:b,value:A,onClear:B}=h;return In("div",{className:Jp.fieldModal,children:[Le("div",{className:Jp.content,onClick:()=>b(!0),children:A?Le("span",{children:A[v]}):Le("span",{className:Jp.placeholder,children:g})}),Le("span",{className:Jp.suffix,onClick:B,children:A&&Le(Tw,{})})]})},V1={main:"_main_1xnte_1",search:"_search_1xnte_4"};function ab(h){const{tableProps:g,searchProps:v}=h;return In("div",{className:V1.main,children:[v&&Le(j1,{hiddenTitle:!0,...v,items:v.items}),Le(nt.Table,{...g,className:kf(V1.table,g==null?void 0:g.className),pagination:{hideOnSinglePage:!0,showPrevNextJumpers:!0,showQuickJumper:!0,showSizeChanger:!0,showTotal:b=>`共 ${b} 条`,...g==null?void 0:g.pagination}})]})}const Dn={main:"_main_17ruh_1",item:"_item_17ruh_5",tail:"_tail_17ruh_10",node:"_node_17ruh_29",content:"_content_17ruh_40",collpase:"_collpase_17ruh_45",btn:"_btn_17ruh_57",title:"_title_17ruh_65",dateWrapper:"_dateWrapper_17ruh_71",remark:"_remark_17ruh_78",itemActive:"_itemActive_17ruh_89",itemDone:"_itemDone_17ruh_102",itemUnDo:"_itemUnDo_17ruh_108"},ib=h=>{const{data:g,current:v}=h,[b,A]=yt.useState(!1),B=yt.useMemo(()=>!v||g.length===0?0:g.findIndex(W=>W.PNId===v),[v,g]),C=yt.useMemo(()=>B>1?b?0:B-1:0,[B,b]),q=()=>{A(!0)};return In("ul",{className:Dn.main,children:[B>1&&!b&&In("li",{className:kf(Dn.item,Dn.itemDone),children:[Le("div",{className:Dn.tail}),Le("div",{className:Dn.node}),Le("div",{className:Dn.content,children:In("div",{className:Dn.collpase,children:[In("div",{children:["已收起",Le("span",{children:B-1}),"个节点"]}),In("a",{className:Dn.btn,onClick:q,children:["展开节点",Le(bw,{})]})]})})]}),g.slice(C).map((F,W)=>In("li",{className:kf(Dn.item,B===W+C?Dn.itemActive:B>W+C?Dn.itemDone:Dn.itemUnDo),children:[Le("div",{className:Dn.tail}),Le("div",{className:Dn.node}),In("div",{className:Dn.content,children:[Le("div",{className:Dn.title,children:F.PNName}),In("div",{className:Dn.dateWrapper,children:[F.PlanFinishDate&&In("span",{children:["预计完成时间: ",F.PlanFinishDate]}),F.UpdateTime&&In("span",{style:{color:"#333",fontWeight:"bold"},children:["实际完成时间: ",F.UpdateTime]}),b&&B-1===W&&In("a",{className:Dn.btn,onClick:()=>A(!1),children:["收起节点 ",Le(Nw,{})]})]}),F.Remark&&Le("div",{className:Dn.remark,children:F.Remark})]})]},F.PNId))]})},lb=h=>((()=>{nt.Modal.info({icon:null,title:"流程节点",width:700,content:Le(ib,{...h}),closable:!0,footer:null,maskClosable:!0})})(),null),ub=(h,g)=>{const v=new URL(h),b=new URL(g);return v.protocol===b.protocol&&v.host===b.host&&v.port===b.port},ob=h=>{const g=new URL(h).href.split("/");return g[g.length-1]},sb=h=>{var v;return(v=h.headers.get("content-disposition"))==null?void 0:v.split(";")[1].split("=")[1]},cb=(h,g)=>{const v=g||ob(h);if(ub(h,window.location.href)){yy(h,v);return}let b=g;fetch(h,{method:"get"}).then(A=>(b||(b=sb(A)),A.blob())).then(A=>{B1(A,b||v)}).catch(()=>{yy(h,"")})},B1=(h,g)=>{let v=window.URL.createObjectURL(h);const b=window.navigator;if(b.msSaveOrOpenBlob){b.msSaveOrOpenBlob(h,g);return}yy(v,g),window.URL.revokeObjectURL(v)},yy=(h,g)=>{let v=document.createElement("a");v.style.display="none",v.href=h,v.target="_blank",v.download=g,document.body.appendChild(v),v.click(),document.body.removeChild(v)},fb=Object.freeze(Object.defineProperty({__proto__:null,downloadUrl:cb,downloadBlob:B1},Symbol.toStringTag,{value:"Module"}));class db{constructor(g){TR(this,"options",{id:"",canvasId:"verifyCanvas",width:100,height:30,type:"blend",code:""});this.options=g}GVerify(){this.options.numArr="0,1,2,3,4,5,6,7,8,9".split(","),this.options.letterArr=this.getAllLetter(),this._init(),this.refresh()}_init(){const g=document.getElementById(this.options.id),v=document.createElement("canvas");v.id=this.options.canvasId,v.width=Number(this.options.width),v.height=Number(this.options.height),v.style.cursor="pointer",v.innerHTML="您的浏览器版本不支持canvas",g&&g.appendChild(v),v.onclick=()=>{this.refresh()}}refresh(){this.options.code="";const g=document.getElementById(this.options.canvasId);let v,b=[];if(g.getContext)v=g.getContext("2d");else return;v.textBaseline="middle",v.fillStyle=this.randomColor(180,240),v.fillRect(0,0,this.options.width,this.options.height),this.options.type=="blend"?b=this.options.numArr.concat(this.options.letterArr):this.options.type=="number"?b=this.options.numArr:b=this.options.letterArr;for(let A=1;A<=4;A++){const B=b[this.randomNum(0,b.length)];this.options.code+=B,v.font="20px SimHei",v.fillStyle=this.randomColor(50,160),v.shadowBlur=this.randomNum(-3,3),v.shadowColor="rgba(0, 0, 0, 0.3)";const C=Number(this.options.width)/5*A,q=Number(this.options.height)/2,F=this.randomNum(-30,30);v.translate(C,q),v.rotate(F*Math.PI/180),v.fillText(B,0,0),v.rotate(-F*Math.PI/180),v.translate(-C,-q)}for(let A=0;A<2;A++)v.strokeStyle=this.randomColor(40,180),v.beginPath(),v.moveTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height)/2)),v.lineTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height))),v.stroke();for(let A=0;A<Number(this.options.width)/10;A++)v.fillStyle=this.randomColor(0,255),v.beginPath(),v.arc(this.randomNum(0,this.options.width),this.randomNum(0,this.options.height),1,0,2*Math.PI),v.fill()}validate(g){const v=g.toLowerCase(),b=this.options.code.toLowerCase();return v==b}getAllLetter(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}randomNum(g,v){return Math.floor(Math.random()*(v-g)+g)}randomColor(g,v){const b=this.randomNum(g,v),A=this.randomNum(g,v),B=this.randomNum(g,v);return"rgb("+b+","+A+","+B+")"}}const pb=Object.freeze(Object.defineProperty({__proto__:null,getGVerify:db},Symbol.toStringTag,{value:"Module"}));It.BackHeader=Fw,It.CreateForm=j1,It.SearchTable=ab,It.UploadFile=H1,It.download=fb,It.fileType=Hw,It.showWorkFlow=lb,It.utils=Ww,It.verfyCode=pb,Object.defineProperty(It,Symbol.toStringTag,{value:"Module"})});
190
+ root.render(<App />);`),o.unstable_strictMode===!0&&(v=!0),o.identifierPrefix!==void 0&&(C=o.identifierPrefix),o.onRecoverableError!==void 0&&(T=o.onRecoverableError),o.transitionCallbacks!==void 0&&o.transitionCallbacks);var R=I3(i,dC,null,v,g,C,T);aC(R.current,i);var k=i.nodeType===Jn?i.parentNode:i;return yy(k),new tA(R)}function mw(i){this._internalRoot=i}function sne(i){i&&kS(i)}mw.prototype.unstable_scheduleHydration=sne;function fne(i,o,v){if(!yw(i))throw new Error("hydrateRoot(...): Target container is not a DOM element.");iU(i),o===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var g=v??null,C=v!=null&&v.hydratedSources||null,T=!1,R=!1,k="",N=rU;v!=null&&(v.unstable_strictMode===!0&&(T=!0),v.identifierPrefix!==void 0&&(k=v.identifierPrefix),v.onRecoverableError!==void 0&&(N=v.onRecoverableError));var B=z3(o,null,i,dC,g,T,R,k,N);if(aC(B.current,i),yy(i),C)for(var V=0;V<C.length;V++){var K=C[V];yJ(B,K)}return new mw(B)}function yw(i){return!!(i&&(i.nodeType===gi||i.nodeType===ja||i.nodeType===zu||!Ge))}function c0(i){return!!(i&&(i.nodeType===gi||i.nodeType===ja||i.nodeType===zu||i.nodeType===Jn&&i.nodeValue===" react-mount-point-unstable "))}function iU(i){i.nodeType===gi&&i.tagName&&i.tagName.toUpperCase()==="BODY"&&u("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Ry(i)&&(i._reactRootContainer?u("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):u("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var cne=n.ReactCurrentOwner,aU;aU=function(i){if(i._reactRootContainer&&i.nodeType!==Jn){var o=B3(i._reactRootContainer.current);o&&o.parentNode!==i&&u("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var v=!!i._reactRootContainer,g=nA(i),C=!!(g&&Ef(g));C&&!v&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),i.nodeType===gi&&i.tagName&&i.tagName.toUpperCase()==="BODY"&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function nA(i){return i?i.nodeType===ja?i.documentElement:i.firstChild:null}function oU(){}function dne(i,o,v,g,C){if(C){if(typeof g=="function"){var T=g;g=function(){var Q=gw(R);T.call(Q)}}var R=z3(o,g,i,Mf,null,!1,!1,"",oU);i._reactRootContainer=R,aC(R.current,i);var k=i.nodeType===Jn?i.parentNode:i;return yy(k),Ss(),R}else{for(var N;N=i.lastChild;)i.removeChild(N);if(typeof g=="function"){var B=g;g=function(){var Q=gw(V);B.call(Q)}}var V=I3(i,Mf,null,!1,!1,"",oU);i._reactRootContainer=V,aC(V.current,i);var K=i.nodeType===Jn?i.parentNode:i;return yy(K),Ss(function(){f0(o,V,v,g)}),V}}function vne(i,o){i!==null&&typeof i!="function"&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i)}function _w(i,o,v,g,C){aU(v),vne(C===void 0?null:C,"render");var T=v._reactRootContainer,R;if(!T)R=dne(v,o,i,C,g);else{if(R=T,typeof C=="function"){var k=C;C=function(){var N=gw(R);k.call(N)}}f0(o,R,i,C)}return gw(R)}function hne(i){{var o=cne.current;if(o!==null&&o.stateNode!==null){var v=o.stateNode._warnedAboutRefsInRender;v||u("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",hn(o.type)||"A component"),o.stateNode._warnedAboutRefsInRender=!0}}return i==null?null:i.nodeType===gi?i:Kte(i,"findDOMNode")}function pne(i,o,v){if(u("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!c0(o))throw new Error("Target container is not a DOM element.");{var g=Ry(o)&&o._reactRootContainer===void 0;g&&u("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return _w(null,i,o,!0,v)}function gne(i,o,v){if(u("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!c0(o))throw new Error("Target container is not a DOM element.");{var g=Ry(o)&&o._reactRootContainer===void 0;g&&u("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return _w(null,i,o,!1,v)}function mne(i,o,v,g){if(u("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!c0(v))throw new Error("Target container is not a DOM element.");if(i==null||!nd(i))throw new Error("parentComponent must be a valid React Component");return _w(i,o,v,!1,g)}function yne(i){if(!c0(i))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var o=Ry(i)&&i._reactRootContainer===void 0;o&&u("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(i._reactRootContainer){{var v=nA(i),g=v&&!Ef(v);g&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Ss(function(){_w(null,null,i,!1,function(){i._reactRootContainer=null,n5(i)})}),!0}else{{var C=nA(i),T=!!(C&&Ef(C)),R=i.nodeType===gi&&c0(i.parentNode)&&!!i.parentNode._reactRootContainer;T&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",R?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Fe(Jte),DS(ene),md(tne),ey(Sa),RS(hd),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&u("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),lS(CZ),oh(kR,fte,Ss);function _ne(i,o){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!yw(o))throw new Error("Target container is not a DOM element.");return Zte(i,o,null,v)}function Sne(i,o,v,g){return mne(i,o,v,g)}var rA={usingClientEntryPoint:!1,Events:[Ef,up,oC,ah,Jc,kR]};function Cne(i,o){return rA.usingClientEntryPoint||u('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),une(i,o)}function wne(i,o,v){return rA.usingClientEntryPoint||u('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),fne(i,o,v)}function xne(i){return p3()&&u("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Ss(i)}var Tne=lne({findFiberByHostInstance:Dd,bundleType:1,version:QR,rendererPackageName:"react-dom"});if(!Tne&&Zt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var lU=window.location.protocol;/^(https?|file):$/.test(lU)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(lU==="file:"?`
191
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ji.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rA,Ji.createPortal=_ne,Ji.createRoot=Cne,Ji.findDOMNode=hne,Ji.flushSync=xne,Ji.hydrate=pne,Ji.hydrateRoot=wne,Ji.render=gne,Ji.unmountComponentAtNode=yne,Ji.unstable_batchedUpdates=kR,Ji.unstable_renderSubtreeIntoContainer=Sne,Ji.version=QR,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ji}(function(t){function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}}process.env.NODE_ENV==="production"?(e(),t.exports=PV()):t.exports=IV()})(VA);const XA=vU(VA.exports),qA=[Hf.jpeg,Hf.jpg,Hf.png],QA=t=>{const{maxCount:e=1,listType:n="picture-card",fileList:r=[],maxSize:a=2,accept:l=qA.join(",")}=t,[u,f]=st.useState(!1),[d,h]=st.useState(""),p=()=>n!=="text"?zr("div",{children:[Ne(vV,{}),Ne("div",{style:{marginTop:8},children:"上传"})]}):Ne(ft.Button,{icon:Ne(_V,{}),children:"上传"}),m=w=>{const E=l.split(",");if(!E.includes(w.type)){const D=E.map(A=>{var O;return(O=Gd.find(Array.from(_0),P=>P[1]===A))==null?void 0:O[0]});return ft.message.error(`只允许上传 ${D.join(", ")} 文件`),ft.Upload.LIST_IGNORE}return w.size/1024/1024<a?!0:(ft.message.error(`文件必须小于${a}MB`),ft.Upload.LIST_IGNORE)},S=w=>{t.onChange&&t.onChange(w)},_=async w=>{if(w.type||(w.type=UA(w.name||w.url)),w.type===Hf.pdf)return ft.Modal.info({title:"PDF",width:"60%",content:Ne("iframe",{title:"PDF预览",src:w.url||w.response.url,frameBorder:"0",style:{width:"100%",height:"70vh"}}),okText:"关闭"});qA.includes(w.type)&&(!w.url&&!w.thumbUrl&&!w.preview&&(w.preview=await BA(w.originFileObj)),h(w.url||w.thumbUrl||w.preview),f(!0))};return zr(oA,{children:[Ne(ft.Upload,{...t,onPreview:_,beforeUpload:m,onChange:S,listType:n,children:r.length>=e?null:p()}),Ne(zV,{visible:u,src:d,onVisibleChange:()=>{f(!1),h("")}})]})},zV=t=>{const{visible:e,src:n,onVisibleChange:r}=t;return XA.createPortal(Ne(ft.Image,{style:{display:"none"},src:n,preview:{visible:e,src:n,onVisibleChange:r}}),document.body)},S0={fieldModal:"_fieldModal_1comf_1",content:"_content_1comf_22",suffix:"_suffix_1comf_25",placeholder:"_placeholder_1comf_36"},FV={labelCol:{span:4},wrapperCol:{span:20}},BV=t=>{switch(t){case"upload":return"fileList";case"switch":return"checked";default:return"value"}},ZA=t=>{const{items:e,rowProps:n,formProps:r,readonly:a=!1,hiddenTitle:l=!1}=t,u=(d,h)=>{var p,m;if(h.btnType==="submit"){(p=r==null?void 0:r.form)==null||p.validateFields().then(S=>{h.onClick&&h.onClick(S)});return}if(h.btnType==="reset"){(m=r==null?void 0:r.form)==null||m.resetFields(),h.onClick&&h.onClick(d);return}h.btnType==="cancel"&&h.onClick&&h.onClick(d)},f=d=>Array.isArray(d)?d:d&&d.fileList;return Ne(ft.Form,{layout:"horizontal",form:r==null?void 0:r.form,...FV,...r||{},children:Ne(ft.Row,{gutter:16,...n,children:e.filter(d=>!d.hidden).map(d=>{var h,p;return Ne(ft.Col,{...d.colProps||{span:24},children:Ne(ft.Form.Item,{...d.valueType==="upload"?{getValueFromEvent:f}:{},label:l?"":d.title,name:d.valueType==="btns"?void 0:d.dataIndex,...d.formItemProps,children:d.readonly?Ne("div",{children:d.value||((h=r==null?void 0:r.initialValues)==null?void 0:h[d.dataIndex])}):d.readonly===void 0&&a?Ne("div",{children:d.value||((p=r==null?void 0:r.initialValues)==null?void 0:p[d.dataIndex])}):Ne(UV,{onChange:m=>{var S;return(S=d==null?void 0:d.onChange)==null?void 0:S.call(d,m)},valueType:d.valueType,onBtnClick:u,valueProps:d.valueProps})})},d.dataIndex)})})})},UV=t=>{const{valueType:e,valueProps:n,value:r,onChange:a,onBtnClick:l}=t,u=st.useMemo(()=>{let f=Ne(ft.Input,{placeholder:"请输入",...n,allowClear:!0});switch(e){case"modal":f=Ne(VV,{...n});break;case"checkbox":f=Ne(ft.Checkbox.Group,{...n});break;case"select":f=Ne(ft.Select,{placeholder:"请选择",...n,allowClear:!0});break;case"inputNumber":f=Ne(ft.InputNumber,{style:{width:"100%"},placeholder:"请输入",...n});break;case"textarea":f=Ne(ft.Input.TextArea,{placeholder:"请输入",...n,allowClear:!0});break;case"radio":f=Ne(ft.Radio.Group,{...n});break;case"switch":f=Ne(ft.Switch,{...n});break;case"datePicker":f=Ne(ft.DatePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"rangePicker":f=Ne(ft.DatePicker.RangePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"timePicker":f=Ne(ft.TimePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"cascader":f=Ne(ft.Cascader,{...n,allowClear:!0});break;case"upload":f=Ne(QA,{...n});break;case"btns":f=Ne(ft.Space,{children:n==null?void 0:n.map(d=>st.createElement(ft.Button,{type:d.btnType==="submit"?"primary":"default",...Gd.omit(d,["btnType"]),key:d.btnType,onClick:h=>{l==null||l(h,d)}},d.title))});break}return f},[e,n,a,r]);return st.cloneElement(u,{[BV(e||"input")]:r,onChange:a})},VV=t=>{const{placeholder:e,labelKey:n,onToggle:r,value:a,onClear:l}=t;return zr("div",{className:S0.fieldModal,children:[Ne("div",{className:S0.content,onClick:()=>r(!0),children:a?Ne("span",{children:a[n]}):Ne("span",{className:S0.placeholder,children:e})}),Ne("span",{className:S0.suffix,onClick:l,children:a&&Ne(lV,{})})]})},KA={main:"_main_1xnte_1",search:"_search_1xnte_4"};function HV(t){const{tableProps:e,searchProps:n}=t;return zr("div",{className:KA.main,children:[n&&Ne(ZA,{hiddenTitle:!0,...n,items:n.items}),Ne(ft.Table,{...e,className:$d(KA.table,e==null?void 0:e.className),pagination:{hideOnSinglePage:!0,showPrevNextJumpers:!0,showQuickJumper:!0,showSizeChanger:!0,showTotal:r=>`共 ${r} 条`,...e==null?void 0:e.pagination}})]})}var Bw=function(t,e){return Bw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},Bw(t,e)};function Pt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Bw(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var GV=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),$V=function(){function t(){this.browser=new GV,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return t}(),Gf=new $V;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Gf.wxa=!0,Gf.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Gf.worker=!0:typeof navigator>"u"?(Gf.node=!0,Gf.svgSupported=!0):jV(navigator.userAgent,Gf);function jV(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),a=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),l=t.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]),a&&(n.ie=!0,n.version=a[1]),l&&(n.edge=!0,n.version=l[1],n.newEdge=+l[1].split(".")[0]>18),u&&(n.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported=typeof document<"u";var f=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in f||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in f)&&!("OTransition"in f),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}const Tt=Gf;var Uw=12,YV="sans-serif",$f=Uw+"px "+YV,WV=20,XV=100,qV="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function QV(t){var e={};if(typeof JSON>"u")return e;for(var n=0;n<t.length;n++){var r=String.fromCharCode(n+32),a=(t.charCodeAt(n)-WV)/XV;e[r]=a}return e}var ZV=QV(qV),jf={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var t,e;return function(n,r){if(!t){var a=jf.createCanvas();t=a&&a.getContext("2d")}if(t)return e!==r&&(e=t.font=r||$f),t.measureText(n);n=n||"",r=r||$f;var l=/(\d+)px/.exec(r),u=l&&+l[1]||Uw,f=0;if(r.indexOf("mono")>=0)f=u*n.length;else for(var d=0;d<n.length;d++){var h=ZV[n[d]];f+=h==null?u:h*u}return{width:f}}}(),loadImage:function(t,e,n){var r=new Image;return r.onload=e,r.onerror=n,r.src=t,r}},JA=Wd(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),eL=Wd(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),Yd=Object.prototype.toString,C0=Array.prototype,KV=C0.forEach,JV=C0.filter,Vw=C0.slice,eH=C0.map,tL=function(){}.constructor,w0=tL?tL.prototype:null,Hw="__proto__",tH=2311;function nL(){return tH++}function Yf(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];typeof console<"u"&&console.error.apply(console,t)}function Qt(t){if(t==null||typeof t!="object")return t;var e=t,n=Yd.call(t);if(n==="[object Array]"){if(!Bp(t)){e=[];for(var r=0,a=t.length;r<a;r++)e[r]=Qt(t[r])}}else if(eL[n]){if(!Bp(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var r=0,a=t.length;r<a;r++)e[r]=t[r]}}}else if(!JA[n]&&!Bp(t)&&!zp(t)){e={};for(var u in t)t.hasOwnProperty(u)&&u!==Hw&&(e[u]=Qt(t[u]))}return e}function cn(t,e,n){if(!it(e)||!it(t))return n?Qt(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==Hw){var a=t[r],l=e[r];it(l)&&it(a)&&!Be(l)&&!Be(a)&&!zp(l)&&!zp(a)&&!rL(l)&&!rL(a)&&!Bp(l)&&!Bp(a)?cn(a,l,n):(n||!(r in t))&&(t[r]=Qt(e[r]))}return t}function Re(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==Hw&&(t[n]=e[n]);return t}function Vt(t,e,n){for(var r=kn(e),a=0;a<r.length;a++){var l=r[a];(n?e[l]!=null:t[l]==null)&&(t[l]=e[l])}return t}jf.createCanvas;function dn(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return-1}function nH(t,e){var n=t.prototype;function r(){}r.prototype=e.prototype,t.prototype=new r;for(var a in n)n.hasOwnProperty(a)&&(t.prototype[a]=n[a]);t.prototype.constructor=t,t.superClass=e}function ml(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),a=0;a<r.length;a++){var l=r[a];l!=="constructor"&&(n?e[l]!=null:t[l]==null)&&(t[l]=e[l])}else Vt(t,e,n)}function Ai(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function W(t,e,n){if(t&&e)if(t.forEach&&t.forEach===KV)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,a=t.length;r<a;r++)e.call(n,t[r],r,t);else for(var l in t)t.hasOwnProperty(l)&&e.call(n,t[l],l,t)}function ot(t,e,n){if(!t)return[];if(!e)return Gw(t);if(t.map&&t.map===eH)return t.map(e,n);for(var r=[],a=0,l=t.length;a<l;a++)r.push(e.call(n,t[a],a,t));return r}function Wd(t,e,n,r){if(t&&e){for(var a=0,l=t.length;a<l;a++)n=e.call(r,n,t[a],a,t);return n}}function Tr(t,e,n){if(!t)return[];if(!e)return Gw(t);if(t.filter&&t.filter===JV)return t.filter(e,n);for(var r=[],a=0,l=t.length;a<l;a++)e.call(n,t[a],a,t)&&r.push(t[a]);return r}function kn(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function rH(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(Vw.call(arguments)))}}var Qn=w0&&_t(w0.bind)?w0.call.bind(w0.bind):rH;function Aa(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(Vw.call(arguments)))}}function Be(t){return Array.isArray?Array.isArray(t):Yd.call(t)==="[object Array]"}function _t(t){return typeof t=="function"}function et(t){return typeof t=="string"}function x0(t){return Yd.call(t)==="[object String]"}function Nn(t){return typeof t=="number"}function it(t){var e=typeof t;return e==="function"||!!t&&e==="object"}function rL(t){return!!JA[Yd.call(t)]}function ea(t){return!!eL[Yd.call(t)]}function zp(t){return typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.ownerDocument=="object"}function T0(t){return t.colorStops!=null}function iH(t){return t.image!=null}function iL(t){return Yd.call(t)==="[object RegExp]"}function Fp(t){return t!==t}function Wf(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t.length;n<r;n++)if(t[n]!=null)return t[n]}function kt(t,e){return t??e}function Xd(t,e,n){return t??e??n}function Gw(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Vw.apply(t,e)}function aL(t){if(typeof t=="number")return[t,t,t,t];var e=t.length;return e===2?[t[0],t[1],t[0],t[1]]:e===3?[t[0],t[1],t[2],t[1]]:t}function bt(t,e){if(!t)throw new Error(e)}function yl(t){return t==null?null:typeof t.trim=="function"?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var oL="__ec_primitive__";function b0(t){t[oL]=!0}function Bp(t){return t[oL]}var aH=function(){function t(){this.data={}}return t.prototype.delete=function(e){var n=this.has(e);return n&&delete this.data[e],n},t.prototype.has=function(e){return this.data.hasOwnProperty(e)},t.prototype.get=function(e){return this.data[e]},t.prototype.set=function(e,n){return this.data[e]=n,this},t.prototype.keys=function(){return kn(this.data)},t.prototype.forEach=function(e){var n=this.data;for(var r in n)n.hasOwnProperty(r)&&e(n[r],r)},t}(),lL=typeof Map=="function";function oH(){return lL?new Map:new aH}var lH=function(){function t(e){var n=Be(e);this.data=oH();var r=this;e instanceof t?e.each(a):e&&W(e,a);function a(l,u){n?r.set(l,u):r.set(u,l)}}return t.prototype.hasKey=function(e){return this.data.has(e)},t.prototype.get=function(e){return this.data.get(e)},t.prototype.set=function(e,n){return this.data.set(e,n),n},t.prototype.each=function(e,n){this.data.forEach(function(r,a){e.call(n,r,a)})},t.prototype.keys=function(){var e=this.data.keys();return lL?Array.from(e):e},t.prototype.removeKey=function(e){this.data.delete(e)},t}();function xt(t){return new lH(t)}function uH(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];for(var a=t.length,r=0;r<e.length;r++)n[r+a]=e[r];return n}function E0(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&Re(n,e),n}function uL(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function yu(t,e){return t.hasOwnProperty(e)}function ta(){}var sH=180/Math.PI;var $w=function(t,e){return $w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},$w(t,e)};function mn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");$w(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function qd(t,e){return t==null&&(t=0),e==null&&(e=0),[t,e]}function fH(t){return[t[0],t[1]]}function sL(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function cH(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function dH(t){return Math.sqrt(vH(t))}function vH(t){return t[0]*t[0]+t[1]*t[1]}function jw(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function hH(t,e){var n=dH(e);return n===0?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Yw(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Ww=Yw;function pH(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Qd=pH;function D0(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function eo(t,e,n){var r=e[0],a=e[1];return t[0]=n[0]*r+n[2]*a+n[4],t[1]=n[1]*r+n[3]*a+n[5],t}function Zd(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Kd(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Jd=function(){function t(e,n){this.target=e,this.topTarget=n&&n.topTarget}return t}(),gH=function(){function t(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(e){for(var n=e.target;n&&!n.draggable;)n=n.parent||n.__hostTarget;n&&(this._draggingTarget=n,n.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Jd(n,e),"dragstart",e.event))},t.prototype._drag=function(e){var n=this._draggingTarget;if(n){var r=e.offsetX,a=e.offsetY,l=r-this._x,u=a-this._y;this._x=r,this._y=a,n.drift(l,u,e),this.handler.dispatchToElement(new Jd(n,e),"drag",e.event);var f=this.handler.findHover(r,a,n).target,d=this._dropTarget;this._dropTarget=f,n!==f&&(d&&f!==d&&this.handler.dispatchToElement(new Jd(d,e),"dragleave",e.event),f&&f!==d&&this.handler.dispatchToElement(new Jd(f,e),"dragenter",e.event))}},t.prototype._dragEnd=function(e){var n=this._draggingTarget;n&&(n.dragging=!1),this.handler.dispatchToElement(new Jd(n,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Jd(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},t}();const mH=gH;var yH=function(){function t(e){e&&(this._$eventProcessor=e)}return t.prototype.on=function(e,n,r,a){this._$handlers||(this._$handlers={});var l=this._$handlers;if(typeof n=="function"&&(a=r,r=n,n=null),!r||!e)return this;var u=this._$eventProcessor;n!=null&&u&&u.normalizeQuery&&(n=u.normalizeQuery(n)),l[e]||(l[e]=[]);for(var f=0;f<l[e].length;f++)if(l[e][f].h===r)return this;var d={h:r,query:n,ctx:a||this,callAtLast:r.zrEventfulCallAtLast},h=l[e].length-1,p=l[e][h];return p&&p.callAtLast?l[e].splice(h,0,d):l[e].push(d),this},t.prototype.isSilent=function(e){var n=this._$handlers;return!n||!n[e]||!n[e].length},t.prototype.off=function(e,n){var r=this._$handlers;if(!r)return this;if(!e)return this._$handlers={},this;if(n){if(r[e]){for(var a=[],l=0,u=r[e].length;l<u;l++)r[e][l].h!==n&&a.push(r[e][l]);r[e]=a}r[e]&&r[e].length===0&&delete r[e]}else delete r[e];return this},t.prototype.trigger=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var a=this._$handlers[e],l=this._$eventProcessor;if(a)for(var u=n.length,f=a.length,d=0;d<f;d++){var h=a[d];if(!(l&&l.filter&&h.query!=null&&!l.filter(e,h.query)))switch(u){case 0:h.h.call(h.ctx);break;case 1:h.h.call(h.ctx,n[0]);break;case 2:h.h.call(h.ctx,n[0],n[1]);break;default:h.h.apply(h.ctx,n);break}}return l&&l.afterTrigger&&l.afterTrigger(e),this},t.prototype.triggerWithContext=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var a=this._$handlers[e],l=this._$eventProcessor;if(a)for(var u=n.length,f=n[u-1],d=a.length,h=0;h<d;h++){var p=a[h];if(!(l&&l.filter&&p.query!=null&&!l.filter(e,p.query)))switch(u){case 0:p.h.call(f);break;case 1:p.h.call(f,n[0]);break;case 2:p.h.call(f,n[0],n[1]);break;default:p.h.apply(f,n.slice(1,u-1));break}}return l&&l.afterTrigger&&l.afterTrigger(e),this},t}();const _l=yH;var _H=Math.log(2);function Xw(t,e,n,r,a,l){var u=r+"-"+a,f=t.length;if(l.hasOwnProperty(u))return l[u];if(e===1){var d=Math.round(Math.log((1<<f)-1&~a)/_H);return t[n][d]}for(var h=r|1<<n,p=n+1;r&1<<p;)p++;for(var m=0,S=0,_=0;S<f;S++){var w=1<<S;w&a||(m+=(_%2?-1:1)*t[n][S]*Xw(t,e-1,p,h,a|w,l),_++)}return l[u]=m,m}function fL(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},a=Xw(n,8,0,0,0,r);if(a!==0){for(var l=[],u=0;u<8;u++)for(var f=0;f<8;f++)l[f]==null&&(l[f]=0),l[f]+=((u+f)%2?-1:1)*Xw(n,7,u===0?1:0,1<<u,1<<f,r)/a*e[u];return function(d,h,p){var m=h*l[6]+p*l[7]+1;d[0]=(h*l[0]+p*l[1]+l[2])/m,d[1]=(h*l[3]+p*l[4]+l[5])/m}}}var cL="___zrEVENTSAVED",qw=[];function SH(t,e,n,r,a){return Qw(qw,e,r,a,!0)&&Qw(t,n,qw[0],qw[1])}function Qw(t,e,n,r,a){if(e.getBoundingClientRect&&Tt.domSupported&&!dL(e)){var l=e[cL]||(e[cL]={}),u=CH(e,l),f=wH(u,l,a);if(f)return f(t,n,r),!0}return!1}function CH(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],a=["top","bottom"],l=0;l<4;l++){var u=document.createElement("div"),f=u.style,d=l%2,h=(l>>1)%2;f.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[d]+":0",a[h]+":0",r[1-d]+":auto",a[1-h]+":auto",""].join("!important;"),t.appendChild(u),n.push(u)}return n}function wH(t,e,n){for(var r=n?"invTrans":"trans",a=e[r],l=e.srcCoords,u=[],f=[],d=!0,h=0;h<4;h++){var p=t[h].getBoundingClientRect(),m=2*h,S=p.left,_=p.top;u.push(S,_),d=d&&l&&S===l[m]&&_===l[m+1],f.push(t[h].offsetLeft,t[h].offsetTop)}return d&&a?a:(e.srcCoords=u,e[r]=n?fL(f,u):fL(u,f))}function dL(t){return t.nodeName.toUpperCase()==="CANVAS"}var xH=/([&<>"'])/g,TH={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function to(t){return t==null?"":(t+"").replace(xH,function(e,n){return TH[n]})}var bH=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Zw=[],EH=Tt.browser.firefox&&+Tt.browser.version.split(".")[0]<39;function Kw(t,e,n,r){return n=n||{},r?vL(t,e,n):EH&&e.layerX!=null&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):e.offsetX!=null?(n.zrX=e.offsetX,n.zrY=e.offsetY):vL(t,e,n),n}function vL(t,e,n){if(Tt.domSupported&&t.getBoundingClientRect){var r=e.clientX,a=e.clientY;if(dL(t)){var l=t.getBoundingClientRect();n.zrX=r-l.left,n.zrY=a-l.top;return}else if(Qw(Zw,t,r,a)){n.zrX=Zw[0],n.zrY=Zw[1];return}}n.zrX=n.zrY=0}function Jw(t){return t||window.event}function no(t,e,n){if(e=Jw(e),e.zrX!=null)return e;var r=e.type,a=r&&r.indexOf("touch")>=0;if(a){var u=r!=="touchend"?e.targetTouches[0]:e.changedTouches[0];u&&Kw(t,u,e,n)}else{Kw(t,e,e,n);var l=DH(e);e.zrDelta=l?l/120:-(e.detail||0)/3}var f=e.button;return e.which==null&&f!==void 0&&bH.test(e.type)&&(e.which=f&1?1:f&2?3:f&4?2:0),e}function DH(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;if(n==null||r==null)return e;var a=Math.abs(r!==0?r:n),l=r>0?-1:r<0?1:n>0?-1:1;return 3*a*l}function MH(t,e,n,r){t.addEventListener(e,n,r)}function RH(t,e,n,r){t.removeEventListener(e,n,r)}var hL=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},AH=function(){function t(){this._track=[]}return t.prototype.recognize=function(e,n,r){return this._doTrack(e,n,r),this._recognize(e)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(e,n,r){var a=e.touches;if(a){for(var l={points:[],touches:[],target:n,event:e},u=0,f=a.length;u<f;u++){var d=a[u],h=Kw(r,d,{});l.points.push([h.zrX,h.zrY]),l.touches.push(d)}this._track.push(l)}},t.prototype._recognize=function(e){for(var n in ex)if(ex.hasOwnProperty(n)){var r=ex[n](this._track,e);if(r)return r}},t}();function pL(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function LH(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var ex={pinch:function(t,e){var n=t.length;if(n){var r=(t[n-1]||{}).points,a=(t[n-2]||{}).points||r;if(a&&a.length>1&&r&&r.length>1){var l=pL(r)/pL(a);!isFinite(l)&&(l=1),e.pinchScale=l;var u=LH(r);return e.pinchX=u[0],e.pinchY=u[1],{type:"pinch",target:t[0].target,event:e}}}}};function Up(){return[1,0,0,1,0,0]}function tx(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function OH(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ev(t,e,n){var r=e[0]*n[0]+e[2]*n[1],a=e[1]*n[0]+e[3]*n[1],l=e[0]*n[2]+e[2]*n[3],u=e[1]*n[2]+e[3]*n[3],f=e[0]*n[4]+e[2]*n[5]+e[4],d=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=a,t[2]=l,t[3]=u,t[4]=f,t[5]=d,t}function nx(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function rx(t,e,n){var r=e[0],a=e[2],l=e[4],u=e[1],f=e[3],d=e[5],h=Math.sin(n),p=Math.cos(n);return t[0]=r*p+u*h,t[1]=-r*h+u*p,t[2]=a*p+f*h,t[3]=-a*h+p*f,t[4]=p*l+h*d,t[5]=p*d-h*l,t}function kH(t,e,n){var r=n[0],a=n[1];return t[0]=e[0]*r,t[1]=e[1]*a,t[2]=e[2]*r,t[3]=e[3]*a,t[4]=e[4]*r,t[5]=e[5]*a,t}function M0(t,e){var n=e[0],r=e[2],a=e[4],l=e[1],u=e[3],f=e[5],d=n*u-l*r;return d?(d=1/d,t[0]=u*d,t[1]=-l*d,t[2]=-r*d,t[3]=n*d,t[4]=(r*f-u*a)*d,t[5]=(l*a-n*f)*d,t):null}var NH=function(){function t(e,n){this.x=e||0,this.y=n||0}return t.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(e,n){return this.x=e,this.y=n,this},t.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},t.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},t.prototype.scale=function(e){this.x*=e,this.y*=e},t.prototype.scaleAndAdd=function(e,n){this.x+=e.x*n,this.y+=e.y*n},t.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},t.prototype.dot=function(e){return this.x*e.x+this.y*e.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},t.prototype.distance=function(e){var n=this.x-e.x,r=this.y-e.y;return Math.sqrt(n*n+r*r)},t.prototype.distanceSquare=function(e){var n=this.x-e.x,r=this.y-e.y;return n*n+r*r},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(e){if(e){var n=this.x,r=this.y;return this.x=e[0]*n+e[2]*r+e[4],this.y=e[1]*n+e[3]*r+e[5],this}},t.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},t.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},t.set=function(e,n,r){e.x=n,e.y=r},t.copy=function(e,n){e.x=n.x,e.y=n.y},t.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},t.lenSquare=function(e){return e.x*e.x+e.y*e.y},t.dot=function(e,n){return e.x*n.x+e.y*n.y},t.add=function(e,n,r){e.x=n.x+r.x,e.y=n.y+r.y},t.sub=function(e,n,r){e.x=n.x-r.x,e.y=n.y-r.y},t.scale=function(e,n,r){e.x=n.x*r,e.y=n.y*r},t.scaleAndAdd=function(e,n,r,a){e.x=n.x+r.x*a,e.y=n.y+r.y*a},t.lerp=function(e,n,r,a){var l=1-a;e.x=l*n.x+a*r.x,e.y=l*n.y+a*r.y},t}();const ht=NH;var R0=Math.min,A0=Math.max,Xf=new ht,qf=new ht,Qf=new ht,Zf=new ht,Vp=new ht,Hp=new ht,PH=function(){function t(e,n,r,a){r<0&&(e=e+r,r=-r),a<0&&(n=n+a,a=-a),this.x=e,this.y=n,this.width=r,this.height=a}return t.prototype.union=function(e){var n=R0(e.x,this.x),r=R0(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=A0(e.x+e.width,this.x+this.width)-n:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=A0(e.y+e.height,this.y+this.height)-r:this.height=e.height,this.x=n,this.y=r},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(e){var n=this,r=e.width/n.width,a=e.height/n.height,l=Up();return nx(l,l,[-n.x,-n.y]),kH(l,l,[r,a]),nx(l,l,[e.x,e.y]),l},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this,a=r.x,l=r.x+r.width,u=r.y,f=r.y+r.height,d=e.x,h=e.x+e.width,p=e.y,m=e.y+e.height,S=!(l<d||h<a||f<p||m<u);if(n){var _=1/0,w=0,E=Math.abs(l-d),b=Math.abs(h-a),D=Math.abs(f-p),A=Math.abs(m-u),O=Math.min(E,b),P=Math.min(D,A);l<d||h<a?O>w&&(w=O,E<b?ht.set(Hp,-E,0):ht.set(Hp,b,0)):O<_&&(_=O,E<b?ht.set(Vp,E,0):ht.set(Vp,-b,0)),f<p||m<u?P>w&&(w=P,D<A?ht.set(Hp,0,-D):ht.set(Hp,0,A)):O<_&&(_=O,D<A?ht.set(Vp,0,D):ht.set(Vp,0,-A))}return n&&ht.copy(n,S?Vp:Hp),S},t.prototype.contain=function(e,n){var r=this;return e>=r.x&&e<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return this.width===0||this.height===0},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(e,n){e.x=n.x,e.y=n.y,e.width=n.width,e.height=n.height},t.applyTransform=function(e,n,r){if(!r){e!==n&&t.copy(e,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var a=r[0],l=r[3],u=r[4],f=r[5];e.x=n.x*a+u,e.y=n.y*l+f,e.width=n.width*a,e.height=n.height*l,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}Xf.x=Qf.x=n.x,Xf.y=Zf.y=n.y,qf.x=Zf.x=n.x+n.width,qf.y=Qf.y=n.y+n.height,Xf.transform(r),Zf.transform(r),qf.transform(r),Qf.transform(r),e.x=R0(Xf.x,qf.x,Qf.x,Zf.x),e.y=R0(Xf.y,qf.y,Qf.y,Zf.y);var d=A0(Xf.x,qf.x,Qf.x,Zf.x),h=A0(Xf.y,qf.y,Qf.y,Zf.y);e.width=d-e.x,e.height=h-e.y},t}();const Wt=PH;var gL="silent";function IH(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:zH}}function zH(){hL(this.event)}var FH=function(t){mn(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.handler=null,n}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(_l),Gp=function(){function t(e,n){this.x=e,this.y=n}return t}(),BH=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ix=new Wt(0,0,0,0),mL=function(t){mn(e,t);function e(n,r,a,l,u){var f=t.call(this)||this;return f._hovered=new Gp(0,0),f.storage=n,f.painter=r,f.painterRoot=l,f._pointerSize=u,a=a||new FH,f.proxy=null,f.setHandlerProxy(a),f._draggingMgr=new mH(f),f}return e.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(W(BH,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},e.prototype.mousemove=function(n){var r=n.zrX,a=n.zrY,l=_L(this,r,a),u=this._hovered,f=u.target;f&&!f.__zr&&(u=this.findHover(u.x,u.y),f=u.target);var d=this._hovered=l?new Gp(r,a):this.findHover(r,a),h=d.target,p=this.proxy;p.setCursor&&p.setCursor(h?h.cursor:"default"),f&&h!==f&&this.dispatchToElement(u,"mouseout",n),this.dispatchToElement(d,"mousemove",n),h&&h!==f&&this.dispatchToElement(d,"mouseover",n)},e.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},e.prototype.resize=function(){this._hovered=new Gp(0,0)},e.prototype.dispatch=function(n,r){var a=this[n];a&&a.call(this,r)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},e.prototype.dispatchToElement=function(n,r,a){n=n||{};var l=n.target;if(!(l&&l.silent)){for(var u="on"+r,f=IH(r,n,a);l&&(l[u]&&(f.cancelBubble=!!l[u].call(l,f)),l.trigger(r,f),l=l.__hostTarget?l.__hostTarget:l.parent,!f.cancelBubble););f.cancelBubble||(this.trigger(r,f),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(d){typeof d[u]=="function"&&d[u].call(d,f),d.trigger&&d.trigger(r,f)}))}},e.prototype.findHover=function(n,r,a){var l=this.storage.getDisplayList(),u=new Gp(n,r);if(yL(l,u,n,r,a),this._pointerSize&&!u.target){for(var f=[],d=this._pointerSize,h=d/2,p=new Wt(n-h,r-h,d,d),m=l.length-1;m>=0;m--){var S=l[m];S!==a&&!S.ignore&&!S.ignoreCoarsePointer&&(!S.parent||!S.parent.ignoreCoarsePointer)&&(ix.copy(S.getBoundingRect()),S.transform&&ix.applyTransform(S.transform),ix.intersect(p)&&f.push(S))}if(f.length)for(var _=4,w=Math.PI/12,E=Math.PI*2,b=0;b<h;b+=_)for(var D=0;D<E;D+=w){var A=n+b*Math.cos(D),O=r+b*Math.sin(D);if(yL(f,u,A,O,a),u.target)return u}}return u},e.prototype.processGesture=function(n,r){this._gestureMgr||(this._gestureMgr=new AH);var a=this._gestureMgr;r==="start"&&a.clear();var l=a.recognize(n,this.findHover(n.zrX,n.zrY,null).target,this.proxy.dom);if(r==="end"&&a.clear(),l){var u=l.type;n.gestureEvent=u;var f=new Gp;f.target=l.target,this.dispatchToElement(f,u,l.event)}},e}(_l);W(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){mL.prototype[t]=function(e){var n=e.zrX,r=e.zrY,a=_L(this,n,r),l,u;if((t!=="mouseup"||!a)&&(l=this.findHover(n,r),u=l.target),t==="mousedown")this._downEl=u,this._downPoint=[e.zrX,e.zrY],this._upEl=u;else if(t==="mouseup")this._upEl=u;else if(t==="click"){if(this._downEl!==this._upEl||!this._downPoint||Ww(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(l,t,e)}});function UH(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r=t,a=void 0,l=!1;r;){if(r.ignoreClip&&(l=!0),!l){var u=r.getClipPath();if(u&&!u.contain(e,n))return!1;r.silent&&(a=!0)}var f=r.__hostTarget;r=f||r.parent}return a?gL:!0}return!1}function yL(t,e,n,r,a){for(var l=t.length-1;l>=0;l--){var u=t[l],f=void 0;if(u!==a&&!u.ignore&&(f=UH(u,n,r))&&(!e.topTarget&&(e.topTarget=u),f!==gL)){e.target=u;break}}}function _L(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}const VH=mL;var SL=32,$p=7;function HH(t){for(var e=0;t>=SL;)e|=t&1,t>>=1;return t+e}function CL(t,e,n,r){var a=e+1;if(a===n)return 1;if(r(t[a++],t[e])<0){for(;a<n&&r(t[a],t[a-1])<0;)a++;GH(t,e,a)}else for(;a<n&&r(t[a],t[a-1])>=0;)a++;return a-e}function GH(t,e,n){for(n--;e<n;){var r=t[e];t[e++]=t[n],t[n--]=r}}function wL(t,e,n,r,a){for(r===e&&r++;r<n;r++){for(var l=t[r],u=e,f=r,d;u<f;)d=u+f>>>1,a(l,t[d])<0?f=d:u=d+1;var h=r-u;switch(h){case 3:t[u+3]=t[u+2];case 2:t[u+2]=t[u+1];case 1:t[u+1]=t[u];break;default:for(;h>0;)t[u+h]=t[u+h-1],h--}t[u]=l}}function ax(t,e,n,r,a,l){var u=0,f=0,d=1;if(l(t,e[n+a])>0){for(f=r-a;d<f&&l(t,e[n+a+d])>0;)u=d,d=(d<<1)+1,d<=0&&(d=f);d>f&&(d=f),u+=a,d+=a}else{for(f=a+1;d<f&&l(t,e[n+a-d])<=0;)u=d,d=(d<<1)+1,d<=0&&(d=f);d>f&&(d=f);var h=u;u=a-d,d=a-h}for(u++;u<d;){var p=u+(d-u>>>1);l(t,e[n+p])>0?u=p+1:d=p}return d}function ox(t,e,n,r,a,l){var u=0,f=0,d=1;if(l(t,e[n+a])<0){for(f=a+1;d<f&&l(t,e[n+a-d])<0;)u=d,d=(d<<1)+1,d<=0&&(d=f);d>f&&(d=f);var h=u;u=a-d,d=a-h}else{for(f=r-a;d<f&&l(t,e[n+a+d])>=0;)u=d,d=(d<<1)+1,d<=0&&(d=f);d>f&&(d=f),u+=a,d+=a}for(u++;u<d;){var p=u+(d-u>>>1);l(t,e[n+p])<0?d=p:u=p+1}return d}function $H(t,e){var n=$p,r,a,l=0;t.length;var u=[];r=[],a=[];function f(_,w){r[l]=_,a[l]=w,l+=1}function d(){for(;l>1;){var _=l-2;if(_>=1&&a[_-1]<=a[_]+a[_+1]||_>=2&&a[_-2]<=a[_]+a[_-1])a[_-1]<a[_+1]&&_--;else if(a[_]>a[_+1])break;p(_)}}function h(){for(;l>1;){var _=l-2;_>0&&a[_-1]<a[_+1]&&_--,p(_)}}function p(_){var w=r[_],E=a[_],b=r[_+1],D=a[_+1];a[_]=E+D,_===l-3&&(r[_+1]=r[_+2],a[_+1]=a[_+2]),l--;var A=ox(t[b],t,w,E,0,e);w+=A,E-=A,E!==0&&(D=ax(t[w+E-1],t,b,D,D-1,e),D!==0&&(E<=D?m(w,E,b,D):S(w,E,b,D)))}function m(_,w,E,b){var D=0;for(D=0;D<w;D++)u[D]=t[_+D];var A=0,O=E,P=_;if(t[P++]=t[O++],--b===0){for(D=0;D<w;D++)t[P+D]=u[A+D];return}if(w===1){for(D=0;D<b;D++)t[P+D]=t[O+D];t[P+b]=u[A];return}for(var I=n,F,U,H;;){F=0,U=0,H=!1;do if(e(t[O],u[A])<0){if(t[P++]=t[O++],U++,F=0,--b===0){H=!0;break}}else if(t[P++]=u[A++],F++,U=0,--w===1){H=!0;break}while((F|U)<I);if(H)break;do{if(F=ox(t[O],u,A,w,0,e),F!==0){for(D=0;D<F;D++)t[P+D]=u[A+D];if(P+=F,A+=F,w-=F,w<=1){H=!0;break}}if(t[P++]=t[O++],--b===0){H=!0;break}if(U=ax(u[A],t,O,b,0,e),U!==0){for(D=0;D<U;D++)t[P+D]=t[O+D];if(P+=U,O+=U,b-=U,b===0){H=!0;break}}if(t[P++]=u[A++],--w===1){H=!0;break}I--}while(F>=$p||U>=$p);if(H)break;I<0&&(I=0),I+=2}if(n=I,n<1&&(n=1),w===1){for(D=0;D<b;D++)t[P+D]=t[O+D];t[P+b]=u[A]}else{if(w===0)throw new Error;for(D=0;D<w;D++)t[P+D]=u[A+D]}}function S(_,w,E,b){var D=0;for(D=0;D<b;D++)u[D]=t[E+D];var A=_+w-1,O=b-1,P=E+b-1,I=0,F=0;if(t[P--]=t[A--],--w===0){for(I=P-(b-1),D=0;D<b;D++)t[I+D]=u[D];return}if(b===1){for(P-=w,A-=w,F=P+1,I=A+1,D=w-1;D>=0;D--)t[F+D]=t[I+D];t[P]=u[O];return}for(var U=n;;){var H=0,j=0,X=!1;do if(e(u[O],t[A])<0){if(t[P--]=t[A--],H++,j=0,--w===0){X=!0;break}}else if(t[P--]=u[O--],j++,H=0,--b===1){X=!0;break}while((H|j)<U);if(X)break;do{if(H=w-ox(u[O],t,_,w,w-1,e),H!==0){for(P-=H,A-=H,w-=H,F=P+1,I=A+1,D=H-1;D>=0;D--)t[F+D]=t[I+D];if(w===0){X=!0;break}}if(t[P--]=u[O--],--b===1){X=!0;break}if(j=b-ax(t[A],u,0,b,b-1,e),j!==0){for(P-=j,O-=j,b-=j,F=P+1,I=O+1,D=0;D<j;D++)t[F+D]=u[I+D];if(b<=1){X=!0;break}}if(t[P--]=t[A--],--w===0){X=!0;break}U--}while(H>=$p||j>=$p);if(X)break;U<0&&(U=0),U+=2}if(n=U,n<1&&(n=1),b===1){for(P-=w,A-=w,F=P+1,I=A+1,D=w-1;D>=0;D--)t[F+D]=t[I+D];t[P]=u[O]}else{if(b===0)throw new Error;for(I=P-(b-1),D=0;D<b;D++)t[I+D]=u[D]}}return{mergeRuns:d,forceMergeRuns:h,pushRun:f}}function L0(t,e,n,r){n||(n=0),r||(r=t.length);var a=r-n;if(!(a<2)){var l=0;if(a<SL){l=CL(t,n,r,e),wL(t,n,r,n+l,e);return}var u=$H(t,e),f=HH(a);do{if(l=CL(t,n,r,e),l<f){var d=a;d>f&&(d=f),wL(t,n,n+d,n+l,e),l=d}u.pushRun(n,l),u.mergeRuns(),a-=l,n+=l}while(a!==0);u.forceMergeRuns()}}var La=1,jp=2,tv=4,xL=!1;function lx(){xL||(xL=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function TL(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var jH=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=TL}return t.prototype.traverse=function(e,n){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(e,n)},t.prototype.getDisplayList=function(e,n){n=n||!1;var r=this._displayList;return(e||!r.length)&&this.updateDisplayList(n),r},t.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var n=this._roots,r=this._displayList,a=0,l=n.length;a<l;a++)this._updateAndAddDisplayable(n[a],null,e);r.length=this._displayListLen,L0(r,TL)},t.prototype._updateAndAddDisplayable=function(e,n,r){if(!(e.ignore&&!r)){e.beforeUpdate(),e.update(),e.afterUpdate();var a=e.getClipPath();if(e.ignoreClip)n=null;else if(a){n?n=n.slice():n=[];for(var l=a,u=e;l;)l.parent=u,l.updateTransform(),n.push(l),u=l,l=l.getClipPath()}if(e.childrenRef){for(var f=e.childrenRef(),d=0;d<f.length;d++){var h=f[d];e.__dirty&&(h.__dirty|=La),this._updateAndAddDisplayable(h,n,r)}e.__dirty=0}else{var p=e;n&&n.length?p.__clipPaths=n:p.__clipPaths&&p.__clipPaths.length>0&&(p.__clipPaths=[]),isNaN(p.z)&&(lx(),p.z=0),isNaN(p.z2)&&(lx(),p.z2=0),isNaN(p.zlevel)&&(lx(),p.zlevel=0),this._displayList[this._displayListLen++]=p}var m=e.getDecalElement&&e.getDecalElement();m&&this._updateAndAddDisplayable(m,n,r);var S=e.getTextGuideLine();S&&this._updateAndAddDisplayable(S,n,r);var _=e.getTextContent();_&&this._updateAndAddDisplayable(_,n,r)}},t.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},t.prototype.delRoot=function(e){if(e instanceof Array){for(var n=0,r=e.length;n<r;n++)this.delRoot(e[n]);return}var a=dn(this._roots,e);a>=0&&this._roots.splice(a,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();const YH=jH;var bL;bL=Tt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};const ux=bL;var O0={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return t===0?0:Math.pow(1024,t-1)},exponentialOut:function(t){return t===1?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return t===0?0:t===1?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,r=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)))},elasticOut:function(t){var e,n=.1,r=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/r)+1)},elasticInOut:function(t){var e,n=.1,r=.4;return t===0?0:t===1?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)):n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?.5*(t*t*((e+1)*t-e)):.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-O0.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?O0.bounceIn(t*2)*.5:O0.bounceOut(t*2-1)*.5+.5}};const EL=O0;var k0=Math.pow,Ts=Math.sqrt,N0=1e-8,DL=1e-4,ML=Ts(3),P0=1/3,Sl=qd(),ro=qd(),nv=qd();function bs(t){return t>-N0&&t<N0}function RL(t){return t>N0||t<-N0}function Qr(t,e,n,r,a){var l=1-a;return l*l*(l*t+3*a*e)+a*a*(a*r+3*l*n)}function AL(t,e,n,r,a){var l=1-a;return 3*(((e-t)*l+2*(n-e)*a)*l+(r-n)*a*a)}function LL(t,e,n,r,a,l){var u=r+3*(e-n)-t,f=3*(n-e*2+t),d=3*(e-t),h=t-a,p=f*f-3*u*d,m=f*d-9*u*h,S=d*d-3*f*h,_=0;if(bs(p)&&bs(m))if(bs(f))l[0]=0;else{var w=-d/f;w>=0&&w<=1&&(l[_++]=w)}else{var E=m*m-4*p*S;if(bs(E)){var b=m/p,w=-f/u+b,D=-b/2;w>=0&&w<=1&&(l[_++]=w),D>=0&&D<=1&&(l[_++]=D)}else if(E>0){var A=Ts(E),O=p*f+1.5*u*(-m+A),P=p*f+1.5*u*(-m-A);O<0?O=-k0(-O,P0):O=k0(O,P0),P<0?P=-k0(-P,P0):P=k0(P,P0);var w=(-f-(O+P))/(3*u);w>=0&&w<=1&&(l[_++]=w)}else{var I=(2*p*f-3*u*m)/(2*Ts(p*p*p)),F=Math.acos(I)/3,U=Ts(p),H=Math.cos(F),w=(-f-2*U*H)/(3*u),D=(-f+U*(H+ML*Math.sin(F)))/(3*u),j=(-f+U*(H-ML*Math.sin(F)))/(3*u);w>=0&&w<=1&&(l[_++]=w),D>=0&&D<=1&&(l[_++]=D),j>=0&&j<=1&&(l[_++]=j)}}return _}function OL(t,e,n,r,a){var l=6*n-12*e+6*t,u=9*e+3*r-3*t-9*n,f=3*e-3*t,d=0;if(bs(u)){if(RL(l)){var h=-f/l;h>=0&&h<=1&&(a[d++]=h)}}else{var p=l*l-4*u*f;if(bs(p))a[0]=-l/(2*u);else if(p>0){var m=Ts(p),h=(-l+m)/(2*u),S=(-l-m)/(2*u);h>=0&&h<=1&&(a[d++]=h),S>=0&&S<=1&&(a[d++]=S)}}return d}function Es(t,e,n,r,a,l){var u=(e-t)*a+t,f=(n-e)*a+e,d=(r-n)*a+n,h=(f-u)*a+u,p=(d-f)*a+f,m=(p-h)*a+h;l[0]=t,l[1]=u,l[2]=h,l[3]=m,l[4]=m,l[5]=p,l[6]=d,l[7]=r}function kL(t,e,n,r,a,l,u,f,d,h,p){var m,S=.005,_=1/0,w,E,b,D;Sl[0]=d,Sl[1]=h;for(var A=0;A<1;A+=.05)ro[0]=Qr(t,n,a,u,A),ro[1]=Qr(e,r,l,f,A),b=Qd(Sl,ro),b<_&&(m=A,_=b);_=1/0;for(var O=0;O<32&&!(S<DL);O++)w=m-S,E=m+S,ro[0]=Qr(t,n,a,u,w),ro[1]=Qr(e,r,l,f,w),b=Qd(ro,Sl),w>=0&&b<_?(m=w,_=b):(nv[0]=Qr(t,n,a,u,E),nv[1]=Qr(e,r,l,f,E),D=Qd(nv,Sl),E<=1&&D<_?(m=E,_=D):S*=.5);return p&&(p[0]=Qr(t,n,a,u,m),p[1]=Qr(e,r,l,f,m)),Ts(_)}function WH(t,e,n,r,a,l,u,f,d){for(var h=t,p=e,m=0,S=1/d,_=1;_<=d;_++){var w=_*S,E=Qr(t,n,a,u,w),b=Qr(e,r,l,f,w),D=E-h,A=b-p;m+=Math.sqrt(D*D+A*A),h=E,p=b}return m}function fi(t,e,n,r){var a=1-r;return a*(a*t+2*r*e)+r*r*n}function NL(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function XH(t,e,n,r,a){var l=t-2*e+n,u=2*(e-t),f=t-r,d=0;if(bs(l)){if(RL(u)){var h=-f/u;h>=0&&h<=1&&(a[d++]=h)}}else{var p=u*u-4*l*f;if(bs(p)){var h=-u/(2*l);h>=0&&h<=1&&(a[d++]=h)}else if(p>0){var m=Ts(p),h=(-u+m)/(2*l),S=(-u-m)/(2*l);h>=0&&h<=1&&(a[d++]=h),S>=0&&S<=1&&(a[d++]=S)}}return d}function PL(t,e,n){var r=t+n-2*e;return r===0?.5:(t-e)/r}function I0(t,e,n,r,a){var l=(e-t)*r+t,u=(n-e)*r+e,f=(u-l)*r+l;a[0]=t,a[1]=l,a[2]=f,a[3]=f,a[4]=u,a[5]=n}function IL(t,e,n,r,a,l,u,f,d){var h,p=.005,m=1/0;Sl[0]=u,Sl[1]=f;for(var S=0;S<1;S+=.05){ro[0]=fi(t,n,a,S),ro[1]=fi(e,r,l,S);var _=Qd(Sl,ro);_<m&&(h=S,m=_)}m=1/0;for(var w=0;w<32&&!(p<DL);w++){var E=h-p,b=h+p;ro[0]=fi(t,n,a,E),ro[1]=fi(e,r,l,E);var _=Qd(ro,Sl);if(E>=0&&_<m)h=E,m=_;else{nv[0]=fi(t,n,a,b),nv[1]=fi(e,r,l,b);var D=Qd(nv,Sl);b<=1&&D<m?(h=b,m=D):p*=.5}}return d&&(d[0]=fi(t,n,a,h),d[1]=fi(e,r,l,h)),Ts(m)}function qH(t,e,n,r,a,l,u){for(var f=t,d=e,h=0,p=1/u,m=1;m<=u;m++){var S=m*p,_=fi(t,n,a,S),w=fi(e,r,l,S),E=_-f,b=w-d;h+=Math.sqrt(E*E+b*b),f=_,d=w}return h}var QH=/cubic-bezier\(([0-9,\.e ]+)\)/;function zL(t){var e=t&&QH.exec(t);if(e){var n=e[1].split(","),r=+yl(n[0]),a=+yl(n[1]),l=+yl(n[2]),u=+yl(n[3]);if(isNaN(r+a+l+u))return;var f=[];return function(d){return d<=0?0:d>=1?1:LL(0,r,l,1,d,f)&&Qr(0,a,u,1,f[0])}}}var ZH=function(){function t(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||ta,this.ondestroy=e.ondestroy||ta,this.onrestart=e.onrestart||ta,e.easing&&this.setEasing(e.easing)}return t.prototype.step=function(e,n){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,a=e-this._startTime-this._pausedTime,l=a/r;l<0&&(l=0),l=Math.min(l,1);var u=this.easingFunc,f=u?u(l):l;if(this.onframe(f),l===1)if(this.loop){var d=a%r;this._startTime=e-d,this._pausedTime=0,this.onrestart()}else return!0;return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(e){this.easing=e,this.easingFunc=_t(e)?e:EL[e]||zL(e)},t}();const KH=ZH;var FL=function(){function t(e){this.value=e}return t}(),JH=function(){function t(){this._len=0}return t.prototype.insert=function(e){var n=new FL(e);return this.insertEntry(n),n},t.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},t.prototype.remove=function(e){var n=e.prev,r=e.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,e.next=e.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),e4=function(){function t(e){this._list=new JH,this._maxSize=10,this._map={},this._maxSize=e}return t.prototype.put=function(e,n){var r=this._list,a=this._map,l=null;if(a[e]==null){var u=r.len(),f=this._lastRemovedEntry;if(u>=this._maxSize&&u>0){var d=r.head;r.remove(d),delete a[d.key],l=d.value,this._lastRemovedEntry=d}f?f.value=n:f=new FL(n),f.key=e,r.insertEntry(f),a[e]=f}return l},t.prototype.get=function(e){var n=this._map[e],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();const Yp=e4;var BL={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Wp(t){return t=Math.round(t),t<0?0:t>255?255:t}function UL(t){return t<0?0:t>1?1:t}function sx(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?Wp(parseFloat(e)/100*255):Wp(parseInt(e,10))}function Xp(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?UL(parseFloat(e)/100):UL(parseFloat(e))}function fx(t,e,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?t+(e-t)*n*6:n*2<1?e:n*3<2?t+(e-t)*(2/3-n)*6:t}function io(t,e,n,r,a){return t[0]=e,t[1]=n,t[2]=r,t[3]=a,t}function cx(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var VL=new Yp(20),z0=null;function rv(t,e){z0&&cx(z0,e),z0=VL.put(t,z0||e.slice())}function iv(t,e){if(t){e=e||[];var n=VL.get(t);if(n)return cx(e,n);t=t+"";var r=t.replace(/ /g,"").toLowerCase();if(r in BL)return cx(e,BL[r]),rv(t,e),e;var a=r.length;if(r.charAt(0)==="#"){if(a===4||a===5){var l=parseInt(r.slice(1,4),16);if(!(l>=0&&l<=4095)){io(e,0,0,0,1);return}return io(e,(l&3840)>>4|(l&3840)>>8,l&240|(l&240)>>4,l&15|(l&15)<<4,a===5?parseInt(r.slice(4),16)/15:1),rv(t,e),e}else if(a===7||a===9){var l=parseInt(r.slice(1,7),16);if(!(l>=0&&l<=16777215)){io(e,0,0,0,1);return}return io(e,(l&16711680)>>16,(l&65280)>>8,l&255,a===9?parseInt(r.slice(7),16)/255:1),rv(t,e),e}return}var u=r.indexOf("("),f=r.indexOf(")");if(u!==-1&&f+1===a){var d=r.substr(0,u),h=r.substr(u+1,f-(u+1)).split(","),p=1;switch(d){case"rgba":if(h.length!==4)return h.length===3?io(e,+h[0],+h[1],+h[2],1):io(e,0,0,0,1);p=Xp(h.pop());case"rgb":if(h.length>=3)return io(e,sx(h[0]),sx(h[1]),sx(h[2]),h.length===3?p:Xp(h[3])),rv(t,e),e;io(e,0,0,0,1);return;case"hsla":if(h.length!==4){io(e,0,0,0,1);return}return h[3]=Xp(h[3]),HL(h,e),rv(t,e),e;case"hsl":if(h.length!==3){io(e,0,0,0,1);return}return HL(h,e),rv(t,e),e;default:return}}io(e,0,0,0,1)}}function HL(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=Xp(t[1]),a=Xp(t[2]),l=a<=.5?a*(r+1):a+r-a*r,u=a*2-l;return e=e||[],io(e,Wp(fx(u,l,n+1/3)*255),Wp(fx(u,l,n)*255),Wp(fx(u,l,n-1/3)*255),1),t.length===4&&(e[3]=t[3]),e}function GL(t,e){var n=iv(t);if(n){for(var r=0;r<3;r++)e<0?n[r]=n[r]*(1-e)|0:n[r]=(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return $L(n,n.length===4?"rgba":"rgb")}}function $L(t,e){if(!(!t||!t.length)){var n=t[0]+","+t[1]+","+t[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(n+=","+t[3]),e+"("+n+")"}}function F0(t,e){var n=iv(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function t4(t){return t.type==="linear"}function n4(t){return t.type==="radial"}(function(){return Tt.hasGlobalWindow&&_t(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:typeof Buffer<"u"?function(t){return Buffer.from(t).toString("base64")}:function(t){return process.env.NODE_ENV!=="production"&&Yf("Base64 isn't natively supported in the current environment."),null}})();var dx=Array.prototype.slice;function _u(t,e,n){return(e-t)*n+t}function vx(t,e,n,r){for(var a=e.length,l=0;l<a;l++)t[l]=_u(e[l],n[l],r);return t}function r4(t,e,n,r){for(var a=e.length,l=a&&e[0].length,u=0;u<a;u++){t[u]||(t[u]=[]);for(var f=0;f<l;f++)t[u][f]=_u(e[u][f],n[u][f],r)}return t}function B0(t,e,n,r){for(var a=e.length,l=0;l<a;l++)t[l]=e[l]+n[l]*r;return t}function jL(t,e,n,r){for(var a=e.length,l=a&&e[0].length,u=0;u<a;u++){t[u]||(t[u]=[]);for(var f=0;f<l;f++)t[u][f]=e[u][f]+n[u][f]*r}return t}function i4(t,e){for(var n=t.length,r=e.length,a=n>r?e:t,l=Math.min(n,r),u=a[l-1]||{color:[0,0,0,0],offset:0},f=l;f<Math.max(n,r);f++)a.push({offset:u.offset,color:u.color.slice()})}function a4(t,e,n){var r=t,a=e;if(!(!r.push||!a.push)){var l=r.length,u=a.length;if(l!==u){var f=l>u;if(f)r.length=u;else for(var d=l;d<u;d++)r.push(n===1?a[d]:dx.call(a[d]))}for(var h=r[0]&&r[0].length,d=0;d<r.length;d++)if(n===1)isNaN(r[d])&&(r[d]=a[d]);else for(var p=0;p<h;p++)isNaN(r[d][p])&&(r[d][p]=a[d][p])}}function U0(t){if(Ai(t)){var e=t.length;if(Ai(t[0])){for(var n=[],r=0;r<e;r++)n.push(dx.call(t[r]));return n}return dx.call(t)}return t}function V0(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=t[3]==null?1:t[3],"rgba("+t.join(",")+")"}function o4(t){return Ai(t&&t[0])?2:1}var H0=0,G0=1,YL=2,qp=3,hx=4,px=5,WL=6;function XL(t){return t===hx||t===px}function $0(t){return t===G0||t===YL}var Qp=[0,0,0,0],l4=function(){function t(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(e,n,r){this._needsSort=!0;var a=this.keyframes,l=a.length,u=!1,f=WL,d=n;if(Ai(n)){var h=o4(n);f=h,(h===1&&!Nn(n[0])||h===2&&!Nn(n[0][0]))&&(u=!0)}else if(Nn(n)&&!Fp(n))f=H0;else if(et(n))if(!isNaN(+n))f=H0;else{var p=iv(n);p&&(d=p,f=qp)}else if(T0(n)){var m=Re({},d);m.colorStops=ot(n.colorStops,function(_){return{offset:_.offset,color:iv(_.color)}}),t4(n)?f=hx:n4(n)&&(f=px),d=m}l===0?this.valType=f:(f!==this.valType||f===WL)&&(u=!0),this.discrete=this.discrete||u;var S={time:e,value:d,rawValue:n,percent:0};return r&&(S.easing=r,S.easingFunc=_t(r)?r:EL[r]||zL(r)),a.push(S),S},t.prototype.prepare=function(e,n){var r=this.keyframes;this._needsSort&&r.sort(function(E,b){return E.time-b.time});for(var a=this.valType,l=r.length,u=r[l-1],f=this.discrete,d=$0(a),h=XL(a),p=0;p<l;p++){var m=r[p],S=m.value,_=u.value;m.percent=m.time/e,f||(d&&p!==l-1?a4(S,_,a):h&&i4(S.colorStops,_.colorStops))}if(!f&&a!==px&&n&&this.needsAnimate()&&n.needsAnimate()&&a===n.valType&&!n._finished){this._additiveTrack=n;for(var w=r[0].value,p=0;p<l;p++)a===H0?r[p].additiveValue=r[p].value-w:a===qp?r[p].additiveValue=B0([],r[p].value,w,-1):$0(a)&&(r[p].additiveValue=a===G0?B0([],r[p].value,w,-1):jL([],r[p].value,w,-1))}},t.prototype.step=function(e,n){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,a=r?"additiveValue":"value",l=this.valType,u=this.keyframes,f=u.length,d=this.propName,h=l===qp,p,m=this._lastFr,S=Math.min,_,w;if(f===1)_=w=u[0];else{if(n<0)p=0;else if(n<this._lastFrP){var E=S(m+1,f-1);for(p=E;p>=0&&!(u[p].percent<=n);p--);p=S(p,f-2)}else{for(p=m;p<f&&!(u[p].percent>n);p++);p=S(p-1,f-2)}w=u[p+1],_=u[p]}if(_&&w){this._lastFr=p,this._lastFrP=n;var b=w.percent-_.percent,D=b===0?1:S((n-_.percent)/b,1);w.easingFunc&&(D=w.easingFunc(D));var A=r?this._additiveValue:h?Qp:e[d];if(($0(l)||h)&&!A&&(A=this._additiveValue=[]),this.discrete)e[d]=D<1?_.rawValue:w.rawValue;else if($0(l))l===G0?vx(A,_[a],w[a],D):r4(A,_[a],w[a],D);else if(XL(l)){var O=_[a],P=w[a],I=l===hx;e[d]={type:I?"linear":"radial",x:_u(O.x,P.x,D),y:_u(O.y,P.y,D),colorStops:ot(O.colorStops,function(U,H){var j=P.colorStops[H];return{offset:_u(U.offset,j.offset,D),color:V0(vx([],U.color,j.color,D))}}),global:P.global},I?(e[d].x2=_u(O.x2,P.x2,D),e[d].y2=_u(O.y2,P.y2,D)):e[d].r=_u(O.r,P.r,D)}else if(h)vx(A,_[a],w[a],D),r||(e[d]=V0(A));else{var F=_u(_[a],w[a],D);r?this._additiveValue=F:e[d]=F}r&&this._addToTarget(e)}}},t.prototype._addToTarget=function(e){var n=this.valType,r=this.propName,a=this._additiveValue;n===H0?e[r]=e[r]+a:n===qp?(iv(e[r],Qp),B0(Qp,Qp,a,1),e[r]=V0(Qp)):n===G0?B0(e[r],e[r],a,1):n===YL&&jL(e[r],e[r],a,1)},t}(),u4=function(){function t(e,n,r,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=n,n&&a){Yf("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=r}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(e){this._target=e},t.prototype.when=function(e,n,r){return this.whenWithKeys(e,n,kn(n),r)},t.prototype.whenWithKeys=function(e,n,r,a){for(var l=this._tracks,u=0;u<r.length;u++){var f=r[u],d=l[f];if(!d){d=l[f]=new l4(f);var h=void 0,p=this._getAdditiveTrack(f);if(p){var m=p.keyframes,S=m[m.length-1];h=S&&S.value,p.valType===qp&&h&&(h=V0(h))}else h=this._target[f];if(h==null)continue;e>0&&d.addKeyframe(0,U0(h),a),this._trackKeys.push(f)}d.addKeyframe(e,U0(n[f]),a)}return this._maxTime=Math.max(this._maxTime,e),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var n=e.length,r=0;r<n;r++)e[r].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,n=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,n)for(var r=0;r<n.length;r++)n[r].call(this)},t.prototype._setTracksFinished=function(){for(var e=this._tracks,n=this._trackKeys,r=0;r<n.length;r++)e[n[r]].setFinished()},t.prototype._getAdditiveTrack=function(e){var n,r=this._additiveAnimators;if(r)for(var a=0;a<r.length;a++){var l=r[a].getTrack(e);l&&(n=l)}return n},t.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var n=this,r=[],a=this._maxTime||0,l=0;l<this._trackKeys.length;l++){var u=this._trackKeys[l],f=this._tracks[u],d=this._getAdditiveTrack(u),h=f.keyframes,p=h.length;if(f.prepare(a,d),f.needsAnimate())if(!this._allowDiscrete&&f.discrete){var m=h[p-1];m&&(n._target[f.propName]=m.rawValue),f.setFinished()}else r.push(f)}if(r.length||this._force){var S=new KH({life:a,loop:this._loop,delay:this._delay||0,onframe:function(_){n._started=2;var w=n._additiveAnimators;if(w){for(var E=!1,b=0;b<w.length;b++)if(w[b]._clip){E=!0;break}E||(n._additiveAnimators=null)}for(var b=0;b<r.length;b++)r[b].step(n._target,_);var D=n._onframeCbs;if(D)for(var b=0;b<D.length;b++)D[b](n._target,_)},ondestroy:function(){n._doneCallback()}});this._clip=S,this.animation&&this.animation.addClip(S),e&&S.setEasing(e)}else this._doneCallback();return this}},t.prototype.stop=function(e){if(this._clip){var n=this._clip;e&&n.onframe(1),this._abortedCallback()}},t.prototype.delay=function(e){return this._delay=e,this},t.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},t.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},t.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(e){return this._tracks[e]},t.prototype.getTracks=function(){var e=this;return ot(this._trackKeys,function(n){return e._tracks[n]})},t.prototype.stopTracks=function(e,n){if(!e.length||!this._clip)return!0;for(var r=this._tracks,a=this._trackKeys,l=0;l<e.length;l++){var u=r[e[l]];u&&!u.isFinished()&&(n?u.step(this._target,1):this._started===1&&u.step(this._target,0),u.setFinished())}for(var f=!0,l=0;l<a.length;l++)if(!r[a[l]].isFinished()){f=!1;break}return f&&this._abortedCallback(),f},t.prototype.saveTo=function(e,n,r){if(e){n=n||this._trackKeys;for(var a=0;a<n.length;a++){var l=n[a],u=this._tracks[l];if(!(!u||u.isFinished())){var f=u.keyframes,d=f[r?0:f.length-1];d&&(e[l]=U0(d.rawValue))}}}},t.prototype.__changeFinalValue=function(e,n){n=n||kn(e);for(var r=0;r<n.length;r++){var a=n[r],l=this._tracks[a];if(l){var u=l.keyframes;if(u.length>1){var f=u.pop();l.addKeyframe(f.time,e[a]),l.prepare(this._maxTime,l.getAdditiveTrack())}}}},t}();const gx=u4;function av(){return new Date().getTime()}var s4=function(t){mn(e,t);function e(n){var r=t.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return e.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},e.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},e.prototype.removeClip=function(n){if(n.animation){var r=n.prev,a=n.next;r?r.next=a:this._head=a,a?a.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},e.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},e.prototype.update=function(n){for(var r=av()-this._pausedTime,a=r-this._time,l=this._head;l;){var u=l.next,f=l.step(r,a);f&&(l.ondestroy(),this.removeClip(l)),l=u}this._time=r,n||(this.trigger("frame",a),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(ux(r),!n._paused&&n.update())}ux(r)},e.prototype.start=function(){this._running||(this._time=av(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=av(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=av()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(n,r){r=r||{},this.start();var a=new gx(n,r.loop);return this.addAnimator(a),a},e}(_l);const f4=s4;var c4=300,mx=Tt.domSupported,yx=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=ot(t,function(a){var l=a.replace("mouse","pointer");return n.hasOwnProperty(l)?l:a});return{mouse:t,touch:e,pointer:r}}(),qL={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},QL=!1;function _x(t){var e=t.pointerType;return e==="pen"||e==="touch"}function d4(t){t.touching=!0,t.touchTimer!=null&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}function Sx(t){t&&(t.zrByTouch=!0)}function v4(t,e){return no(t.dom,new h4(t,e),!0)}function ZL(t,e){for(var n=e,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}var h4=function(){function t(e,n){this.stopPropagation=ta,this.stopImmediatePropagation=ta,this.preventDefault=ta,this.type=n.type,this.target=this.currentTarget=e.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return t}(),Lo={mousedown:function(t){t=no(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=no(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=no(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=no(this.dom,t);var e=t.toElement||t.relatedTarget;ZL(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){QL=!0,t=no(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){QL||(t=no(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=no(this.dom,t),Sx(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Lo.mousemove.call(this,t),Lo.mousedown.call(this,t)},touchmove:function(t){t=no(this.dom,t),Sx(t),this.handler.processGesture(t,"change"),Lo.mousemove.call(this,t)},touchend:function(t){t=no(this.dom,t),Sx(t),this.handler.processGesture(t,"end"),Lo.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<c4&&Lo.click.call(this,t)},pointerdown:function(t){Lo.mousedown.call(this,t)},pointermove:function(t){_x(t)||Lo.mousemove.call(this,t)},pointerup:function(t){Lo.mouseup.call(this,t)},pointerout:function(t){_x(t)||Lo.mouseout.call(this,t)}};W(["click","dblclick","contextmenu"],function(t){Lo[t]=function(e){e=no(this.dom,e),this.trigger(t,e)}});var Cx={pointermove:function(t){_x(t)||Cx.mousemove.call(this,t)},pointerup:function(t){Cx.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function p4(t,e){var n=e.domHandlers;Tt.pointerEventsSupported?W(yx.pointer,function(r){j0(e,r,function(a){n[r].call(t,a)})}):(Tt.touchEventsSupported&&W(yx.touch,function(r){j0(e,r,function(a){n[r].call(t,a),d4(e)})}),W(yx.mouse,function(r){j0(e,r,function(a){a=Jw(a),e.touching||n[r].call(t,a)})}))}function g4(t,e){Tt.pointerEventsSupported?W(qL.pointer,n):Tt.touchEventsSupported||W(qL.mouse,n);function n(r){function a(l){l=Jw(l),ZL(t,l.target)||(l=v4(t,l),e.domHandlers[r].call(t,l))}j0(e,r,a,{capture:!0})}}function j0(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,MH(t.domTarget,e,n,r)}function xx(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&RH(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var KL=function(){function t(e,n){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=n}return t}(),m4=function(t){mn(e,t);function e(n,r){var a=t.call(this)||this;return a.__pointerCapturing=!1,a.dom=n,a.painterRoot=r,a._localHandlerScope=new KL(n,Lo),mx&&(a._globalHandlerScope=new KL(document,Cx)),p4(a,a._localHandlerScope),a}return e.prototype.dispose=function(){xx(this._localHandlerScope),mx&&xx(this._globalHandlerScope)},e.prototype.setCursor=function(n){this.dom.style&&(this.dom.style.cursor=n||"default")},e.prototype.__togglePointerCapture=function(n){if(this.__mayPointerCapture=null,mx&&+this.__pointerCapturing^+n){this.__pointerCapturing=n;var r=this._globalHandlerScope;n?g4(this,r):xx(r)}},e}(_l);const y4=m4;var JL=1;Tt.hasGlobalWindow&&(JL=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Y0=JL,Tx=.4,bx="#333",Ex="#ccc",_4="#eee",eO=tx,tO=5e-5;function Kf(t){return t>tO||t<-tO}var Jf=[],ov=[],Dx=Up(),Mx=Math.abs,S4=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},t.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},t.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},t.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},t.prototype.needLocalTransform=function(){return Kf(this.rotation)||Kf(this.x)||Kf(this.y)||Kf(this.scaleX-1)||Kf(this.scaleY-1)||Kf(this.skewX)||Kf(this.skewY)},t.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||e)){r&&eO(r);return}r=r||Up(),n?this.getLocalTransform(r):eO(r),e&&(n?ev(r,e,r):OH(r,e)),this.transform=r,this._resolveGlobalScaleRatio(r)},t.prototype._resolveGlobalScaleRatio=function(e){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(Jf);var r=Jf[0]<0?-1:1,a=Jf[1]<0?-1:1,l=((Jf[0]-r)*n+r)/Jf[0]||0,u=((Jf[1]-a)*n+a)/Jf[1]||0;e[0]*=l,e[1]*=l,e[2]*=u,e[3]*=u}this.invTransform=this.invTransform||Up(),M0(this.invTransform,e)},t.prototype.getComputedTransform=function(){for(var e=this,n=[];e;)n.push(e),e=e.parent;for(;e=n.pop();)e.updateTransform();return this.transform},t.prototype.setLocalTransform=function(e){if(e){var n=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],a=Math.atan2(e[1],e[0]),l=Math.PI/2+a-Math.atan2(e[3],e[2]);r=Math.sqrt(r)*Math.cos(l),n=Math.sqrt(n),this.skewX=l,this.skewY=0,this.rotation=-a,this.x=+e[4],this.y=+e[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,n=this.transform;e&&e.transform&&(ev(ov,e.invTransform,n),n=ov);var r=this.originX,a=this.originY;(r||a)&&(Dx[4]=r,Dx[5]=a,ev(ov,n,Dx),ov[4]-=r,ov[5]-=a,n=ov),this.setLocalTransform(n)}},t.prototype.getGlobalScale=function(e){var n=this.transform;return e=e||[],n?(e[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),e[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(e[0]=-e[0]),n[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},t.prototype.transformCoordToLocal=function(e,n){var r=[e,n],a=this.invTransform;return a&&eo(r,r,a),r},t.prototype.transformCoordToGlobal=function(e,n){var r=[e,n],a=this.transform;return a&&eo(r,r,a),r},t.prototype.getLineScale=function(){var e=this.transform;return e&&Mx(e[0]-1)>1e-10&&Mx(e[3]-1)>1e-10?Math.sqrt(Mx(e[0]*e[3]-e[2]*e[1])):1},t.prototype.copyTransform=function(e){C4(this,e)},t.getLocalTransform=function(e,n){n=n||[];var r=e.originX||0,a=e.originY||0,l=e.scaleX,u=e.scaleY,f=e.anchorX,d=e.anchorY,h=e.rotation||0,p=e.x,m=e.y,S=e.skewX?Math.tan(e.skewX):0,_=e.skewY?Math.tan(-e.skewY):0;if(r||a||f||d){var w=r+f,E=a+d;n[4]=-w*l-S*E*u,n[5]=-E*u-_*w*l}else n[4]=n[5]=0;return n[0]=l,n[3]=u,n[1]=_*l,n[2]=S*u,h&&rx(n,n,h),n[4]+=r+p,n[5]+=a+m,n},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),Zp=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function C4(t,e){for(var n=0;n<Zp.length;n++){var r=Zp[n];t[r]=e[r]}}const Kp=S4;var nO={};function Oa(t,e){e=e||$f;var n=nO[e];n||(n=nO[e]=new Yp(500));var r=n.get(t);return r==null&&(r=jf.measureText(t,e).width,n.put(t,r)),r}function rO(t,e,n,r){var a=Oa(t,e),l=Ax(e),u=Jp(0,a,n),f=lv(0,l,r),d=new Wt(u,f,a,l);return d}function Rx(t,e,n,r){var a=((t||"")+"").split(`
192
+ `),l=a.length;if(l===1)return rO(a[0],e,n,r);for(var u=new Wt(0,0,0,0),f=0;f<a.length;f++){var d=rO(a[f],e,n,r);f===0?u.copy(d):u.union(d)}return u}function Jp(t,e,n){return n==="right"?t-=e:n==="center"&&(t-=e/2),t}function lv(t,e,n){return n==="middle"?t-=e/2:n==="bottom"&&(t-=e),t}function Ax(t){return Oa("国",t)}function ec(t,e){return typeof t=="string"?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function W0(t,e,n){var r=e.position||"inside",a=e.distance!=null?e.distance:5,l=n.height,u=n.width,f=l/2,d=n.x,h=n.y,p="left",m="top";if(r instanceof Array)d+=ec(r[0],n.width),h+=ec(r[1],n.height),p=null,m=null;else switch(r){case"left":d-=a,h+=f,p="right",m="middle";break;case"right":d+=a+u,h+=f,m="middle";break;case"top":d+=u/2,h-=a,p="center",m="bottom";break;case"bottom":d+=u/2,h+=l+a,p="center";break;case"inside":d+=u/2,h+=f,p="center",m="middle";break;case"insideLeft":d+=a,h+=f,m="middle";break;case"insideRight":d+=u-a,h+=f,p="right",m="middle";break;case"insideTop":d+=u/2,h+=a,p="center";break;case"insideBottom":d+=u/2,h+=l-a,p="center",m="bottom";break;case"insideTopLeft":d+=a,h+=a;break;case"insideTopRight":d+=u-a,h+=a,p="right";break;case"insideBottomLeft":d+=a,h+=l-a,m="bottom";break;case"insideBottomRight":d+=u-a,h+=l-a,p="right",m="bottom";break}return t=t||{},t.x=d,t.y=h,t.align=p,t.verticalAlign=m,t}var Lx="__zr_normal__",Ox=Zp.concat(["ignore"]),w4=Wd(Zp,function(t,e){return t[e]=!0,t},{ignore:!1}),uv={},x4=new Wt(0,0,0,0),kx=function(){function t(e){this.id=nL(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return t.prototype._init=function(e){this.attr(e)},t.prototype.drift=function(e,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":e=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=e,a[5]+=n,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(e){var n=this._textContent;if(n&&(!n.ignore||e)){this.textConfig||(this.textConfig={});var r=this.textConfig,a=r.local,l=n.innerTransformable,u=void 0,f=void 0,d=!1;l.parent=a?this:null;var h=!1;if(l.copyTransform(n),r.position!=null){var p=x4;r.layoutRect?p.copy(r.layoutRect):p.copy(this.getBoundingRect()),a||p.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(uv,r,p):W0(uv,r,p),l.x=uv.x,l.y=uv.y,u=uv.align,f=uv.verticalAlign;var m=r.origin;if(m&&r.rotation!=null){var S=void 0,_=void 0;m==="center"?(S=p.width*.5,_=p.height*.5):(S=ec(m[0],p.width),_=ec(m[1],p.height)),h=!0,l.originX=-l.x+S+(a?0:p.x),l.originY=-l.y+_+(a?0:p.y)}}r.rotation!=null&&(l.rotation=r.rotation);var w=r.offset;w&&(l.x+=w[0],l.y+=w[1],h||(l.originX=-w[0],l.originY=-w[1]));var E=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,b=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),D=void 0,A=void 0,O=void 0;E&&this.canBeInsideText()?(D=r.insideFill,A=r.insideStroke,(D==null||D==="auto")&&(D=this.getInsideTextFill()),(A==null||A==="auto")&&(A=this.getInsideTextStroke(D),O=!0)):(D=r.outsideFill,A=r.outsideStroke,(D==null||D==="auto")&&(D=this.getOutsideFill()),(A==null||A==="auto")&&(A=this.getOutsideStroke(D),O=!0)),D=D||"#000",(D!==b.fill||A!==b.stroke||O!==b.autoStroke||u!==b.align||f!==b.verticalAlign)&&(d=!0,b.fill=D,b.stroke=A,b.autoStroke=O,b.align=u,b.verticalAlign=f,n.setDefaultTextStyle(b)),n.__dirty|=La,d&&n.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(e){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ex:bx},t.prototype.getOutsideStroke=function(e){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&iv(n);r||(r=[255,255,255,1]);for(var a=r[3],l=this.__zr.isDarkMode(),u=0;u<3;u++)r[u]=r[u]*a+(l?0:255)*(1-a);return r[3]=1,$L(r,"rgba")},t.prototype.traverse=function(e,n){},t.prototype.attrKV=function(e,n){e==="textConfig"?this.setTextConfig(n):e==="textContent"?this.setTextContent(n):e==="clipPath"?this.setClipPath(n):e==="extra"?(this.extra=this.extra||{},Re(this.extra,n)):this[e]=n},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(e,n){if(typeof e=="string")this.attrKV(e,n);else if(it(e))for(var r=e,a=kn(r),l=0;l<a.length;l++){var u=a[l];this.attrKV(u,e[u])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var n=this._normalState,r=0;r<this.animators.length;r++){var a=this.animators[r],l=a.__fromStateTransition;if(!(a.getLoop()||l&&l!==Lx)){var u=a.targetName,f=u?n[u]:n;a.saveTo(f)}}},t.prototype._innerSaveToNormal=function(e){var n=this._normalState;n||(n=this._normalState={}),e.textConfig&&!n.textConfig&&(n.textConfig=this.textConfig),this._savePrimaryToNormal(e,n,Ox)},t.prototype._savePrimaryToNormal=function(e,n,r){for(var a=0;a<r.length;a++){var l=r[a];e[l]!=null&&!(l in n)&&(n[l]=this[l])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(e){return this.states[e]},t.prototype.ensureState=function(e){var n=this.states;return n[e]||(n[e]={}),n[e]},t.prototype.clearStates=function(e){this.useState(Lx,!1,e)},t.prototype.useState=function(e,n,r,a){var l=e===Lx,u=this.hasState();if(!(!u&&l)){var f=this.currentStates,d=this.stateTransition;if(!(dn(f,e)>=0&&(n||f.length===1))){var h;if(this.stateProxy&&!l&&(h=this.stateProxy(e)),h||(h=this.states&&this.states[e]),!h&&!l){Yf("State "+e+" not exists.");return}l||this.saveCurrentToNormalState(h);var p=!!(h&&h.hoverLayer||a);p&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,h,this._normalState,n,!r&&!this.__inHover&&d&&d.duration>0,d);var m=this._textContent,S=this._textGuide;return m&&m.useState(e,n,r,p),S&&S.useState(e,n,r,p),l?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~La),h}}},t.prototype.useStates=function(e,n,r){if(!e.length)this.clearStates();else{var a=[],l=this.currentStates,u=e.length,f=u===l.length;if(f){for(var d=0;d<u;d++)if(e[d]!==l[d]){f=!1;break}}if(f)return;for(var d=0;d<u;d++){var h=e[d],p=void 0;this.stateProxy&&(p=this.stateProxy(h,e)),p||(p=this.states[h]),p&&a.push(p)}var m=a[u-1],S=!!(m&&m.hoverLayer||r);S&&this._toggleHoverLayerFlag(!0);var _=this._mergeStates(a),w=this.stateTransition;this.saveCurrentToNormalState(_),this._applyStateObj(e.join(","),_,this._normalState,!1,!n&&!this.__inHover&&w&&w.duration>0,w);var E=this._textContent,b=this._textGuide;E&&E.useStates(e,n,S),b&&b.useStates(e,n,S),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!S&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~La)}},t.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var n=this.animators[e];n.targetName&&n.changeTarget(this[n.targetName])}},t.prototype.removeState=function(e){var n=dn(this.currentStates,e);if(n>=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},t.prototype.replaceState=function(e,n,r){var a=this.currentStates.slice(),l=dn(a,e),u=dn(a,n)>=0;l>=0?u?a.splice(l,1):a[l]=n:r&&!u&&a.push(n),this.useStates(a)},t.prototype.toggleState=function(e,n){n?this.useState(e,!0):this.removeState(e)},t.prototype._mergeStates=function(e){for(var n={},r,a=0;a<e.length;a++){var l=e[a];Re(n,l),l.textConfig&&(r=r||{},Re(r,l.textConfig))}return r&&(n.textConfig=r),n},t.prototype._applyStateObj=function(e,n,r,a,l,u){var f=!(n&&a);n&&n.textConfig?(this.textConfig=Re({},a?this.textConfig:r.textConfig),Re(this.textConfig,n.textConfig)):f&&r.textConfig&&(this.textConfig=r.textConfig);for(var d={},h=!1,p=0;p<Ox.length;p++){var m=Ox[p],S=l&&w4[m];n&&n[m]!=null?S?(h=!0,d[m]=n[m]):this[m]=n[m]:f&&r[m]!=null&&(S?(h=!0,d[m]=r[m]):this[m]=r[m])}if(!l)for(var p=0;p<this.animators.length;p++){var _=this.animators[p],w=_.targetName;_.getLoop()||_.__changeFinalValue(w?(n||r)[w]:n||r)}h&&this._transitionState(e,d,u)},t.prototype._attachComponent=function(e){if(e.__zr&&!e.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(e===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var n=this.__zr;n&&e.addSelfToZr(n),e.__zr=n,e.__hostTarget=this},t.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},t.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(e){var n=this._textContent;if(n!==e){if(n&&n!==e&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&e.__zr&&!e.__hostTarget)throw new Error("Text element has been added to zrender.");e.innerTransformable=new Kp,this._attachComponent(e),this._textContent=e,this.markRedraw()}},t.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Re(this.textConfig,e),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=La;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var n=this._textContent,r=this._textGuide;n&&(n.__inHover=e),r&&(r.__inHover=e)},t.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var n=this.animators;if(n)for(var r=0;r<n.length;r++)e.animation.addAnimator(n[r]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var n=this.animators;if(n)for(var r=0;r<n.length;r++)e.animation.removeAnimator(n[r]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},t.prototype.animate=function(e,n,r){var a=e?this[e]:this;if(process.env.NODE_ENV!=="production"&&!a){Yf('Property "'+e+'" is not existed in element '+this.id);return}var l=new gx(a,n,r);return e&&(l.targetName=e),this.addAnimator(l,e),l},t.prototype.addAnimator=function(e,n){var r=this.__zr,a=this;e.during(function(){a.updateDuringAnimation(n)}).done(function(){var l=a.animators,u=dn(l,e);u>=0&&l.splice(u,1)}),this.animators.push(e),r&&r.animation.addAnimator(e),r&&r.wakeUp()},t.prototype.updateDuringAnimation=function(e){this.markRedraw()},t.prototype.stopAnimation=function(e,n){for(var r=this.animators,a=r.length,l=[],u=0;u<a;u++){var f=r[u];!e||e===f.scope?f.stop(n):l.push(f)}return this.animators=l,this},t.prototype.animateTo=function(e,n,r){Nx(this,e,n,r)},t.prototype.animateFrom=function(e,n,r){Nx(this,e,n,r,!0)},t.prototype._transitionState=function(e,n,r,a){for(var l=Nx(this,n,r,a),u=0;u<l.length;u++)l[u].__fromStateTransition=e},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=La;var n={};function r(l,u,f){n[l+u+f]||(console.warn("DEPRECATED: '"+l+"' has been deprecated. use '"+u+"', '"+f+"' instead"),n[l+u+f]=!0)}function a(l,u,f,d){Object.defineProperty(e,l,{get:function(){if(process.env.NODE_ENV!=="production"&&r(l,f,d),!this[u]){var p=this[u]=[];h(this,p)}return this[u]},set:function(p){process.env.NODE_ENV!=="production"&&r(l,f,d),this[f]=p[0],this[d]=p[1],this[u]=p,h(this,p)}});function h(p,m){Object.defineProperty(m,0,{get:function(){return p[f]},set:function(S){p[f]=S}}),Object.defineProperty(m,1,{get:function(){return p[d]},set:function(S){p[d]=S}})}}Object.defineProperty&&(a("position","_legacyPos","x","y"),a("scale","_legacyScale","scaleX","scaleY"),a("origin","_legacyOrigin","originX","originY"))}(),t}();ml(kx,_l),ml(kx,Kp);function Nx(t,e,n,r,a){n=n||{};var l=[];iO(t,"",t,e,n,r,l,a);var u=l.length,f=!1,d=n.done,h=n.aborted,p=function(){f=!0,u--,u<=0&&(f?d&&d():h&&h())},m=function(){u--,u<=0&&(f?d&&d():h&&h())};u||d&&d(),l.length>0&&n.during&&l[0].during(function(w,E){n.during(E)});for(var S=0;S<l.length;S++){var _=l[S];p&&_.done(p),m&&_.aborted(m),n.force&&_.duration(n.duration),_.start(n.easing)}return l}function Px(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}function T4(t){return Ai(t[0])}function b4(t,e,n){if(Ai(e[n]))if(Ai(t[n])||(t[n]=[]),ea(e[n])){var r=e[n].length;t[n].length!==r&&(t[n]=new e[n].constructor(r),Px(t[n],e[n],r))}else{var a=e[n],l=t[n],u=a.length;if(T4(a))for(var f=a[0].length,d=0;d<u;d++)l[d]?Px(l[d],a[d],f):l[d]=Array.prototype.slice.call(a[d]);else Px(l,a,u);l.length=a.length}else t[n]=e[n]}function E4(t,e){return t===e||Ai(t)&&Ai(e)&&D4(t,e)}function D4(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function iO(t,e,n,r,a,l,u,f){for(var d=kn(r),h=a.duration,p=a.delay,m=a.additive,S=a.setToFinal,_=!it(l),w=t.animators,E=[],b=0;b<d.length;b++){var D=d[b],A=r[D];if(A!=null&&n[D]!=null&&(_||l[D]))if(it(A)&&!Ai(A)&&!T0(A)){if(e){f||(n[D]=A,t.updateDuringAnimation(e));continue}iO(t,D,n[D],A,a,l&&l[D],u,f)}else E.push(D);else f||(n[D]=A,t.updateDuringAnimation(e),E.push(D))}var O=E.length;if(!m&&O)for(var P=0;P<w.length;P++){var I=w[P];if(I.targetName===e){var F=I.stopTracks(E);if(F){var U=dn(w,I);w.splice(U,1)}}}if(a.force||(E=Tr(E,function(G){return!E4(r[G],n[G])}),O=E.length),O>0||a.force&&!u.length){var H=void 0,j=void 0,X=void 0;if(f){j={},S&&(H={});for(var P=0;P<O;P++){var D=E[P];j[D]=n[D],S?H[D]=r[D]:n[D]=r[D]}}else if(S){X={};for(var P=0;P<O;P++){var D=E[P];X[D]=U0(n[D]),b4(n,r,D)}}var I=new gx(n,!1,!1,m?Tr(w,function(ee){return ee.targetName===e}):null);I.targetName=e,a.scope&&(I.scope=a.scope),S&&H&&I.whenWithKeys(0,H,E),X&&I.whenWithKeys(0,X,E),I.whenWithKeys(h??500,f?j:r,E).delay(p||0),t.addAnimator(I,e),u.push(I)}}const aO=kx;var oO=function(t){mn(e,t);function e(n){var r=t.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(n),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(n){return this._children[n]},e.prototype.childOfName=function(n){for(var r=this._children,a=0;a<r.length;a++)if(r[a].name===n)return r[a]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(n){if(n&&(n!==this&&n.parent!==this&&(this._children.push(n),this._doAdd(n)),process.env.NODE_ENV!=="production"&&n.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(n,r){if(n&&n!==this&&n.parent!==this&&r&&r.parent===this){var a=this._children,l=a.indexOf(r);l>=0&&(a.splice(l,0,n),this._doAdd(n))}return this},e.prototype.replace=function(n,r){var a=dn(this._children,n);return a>=0&&this.replaceAt(r,a),this},e.prototype.replaceAt=function(n,r){var a=this._children,l=a[r];if(n&&n!==this&&n.parent!==this&&n!==l){a[r]=n,l.parent=null;var u=this.__zr;u&&l.removeSelfFromZr(u),this._doAdd(n)}return this},e.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},e.prototype.remove=function(n){var r=this.__zr,a=this._children,l=dn(a,n);return l<0?this:(a.splice(l,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},e.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,a=0;a<n.length;a++){var l=n[a];r&&l.removeSelfFromZr(r),l.parent=null}return n.length=0,this},e.prototype.eachChild=function(n,r){for(var a=this._children,l=0;l<a.length;l++){var u=a[l];n.call(r,u,l)}return this},e.prototype.traverse=function(n,r){for(var a=0;a<this._children.length;a++){var l=this._children[a],u=n.call(r,l);l.isGroup&&!u&&l.traverse(n,r)}return this},e.prototype.addSelfToZr=function(n){t.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++){var a=this._children[r];a.addSelfToZr(n)}},e.prototype.removeSelfFromZr=function(n){t.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++){var a=this._children[r];a.removeSelfFromZr(n)}},e.prototype.getBoundingRect=function(n){for(var r=new Wt(0,0,0,0),a=n||this._children,l=[],u=null,f=0;f<a.length;f++){var d=a[f];if(!(d.ignore||d.invisible)){var h=d.getBoundingRect(),p=d.getLocalTransform(l);p?(Wt.applyTransform(r,h,p),u=u||r.clone(),u.union(r)):(u=u||h.clone(),u.union(h))}}return u||r},e}(aO);oO.prototype.type="group";const Cl=oO;var eg={},lO={};function M4(t){delete lO[t]}function R4(t){if(!t)return!1;if(typeof t=="string")return F0(t,1)<Tx;if(t.colorStops){for(var e=t.colorStops,n=0,r=e.length,a=0;a<r;a++)n+=F0(e[a].color,1);return n/=r,n<Tx}return!1}var A4=function(){function t(e,n,r){var a=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=n,this.id=e;var l=new YH,u=r.renderer||"canvas";if(eg[u]||(u=kn(eg)[0]),process.env.NODE_ENV!=="production"&&!eg[u])throw new Error("Renderer '"+u+"' is not imported. Please import it first.");r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var f=new eg[u](n,l,r,e),d=r.ssr||f.ssrOnly;this.storage=l,this.painter=f;var h=!Tt.node&&!Tt.worker&&!d?new y4(f.getViewportRoot(),f.root):null,p=r.useCoarsePointer,m=p==null||p==="auto"?Tt.touchEventsSupported:!!p,S=44,_;m&&(_=kt(r.pointerSize,S)),this.handler=new VH(l,f,h,f.root,_),this.animation=new f4({stage:{update:d?null:function(){return a._flush(!0)}}}),d||this.animation.start()}return t.prototype.add=function(e){e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},t.prototype.remove=function(e){e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(e,n){this.painter.configLayer&&this.painter.configLayer(e,n),this.refresh()},t.prototype.setBackgroundColor=function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=R4(e)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(e){this._darkMode=e},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(e){e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(e){var n,r=av();this._needsRefresh&&(n=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(n=!0,this.refreshHoverImmediately());var a=av();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},t.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},t.prototype.findHover=function(e,n){return this.handler.findHover(e,n)},t.prototype.on=function(e,n,r){return this.handler.on(e,n,r),this},t.prototype.off=function(e,n){this.handler.off(e,n)},t.prototype.trigger=function(e,n){this.handler.trigger(e,n)},t.prototype.clear=function(){for(var e=this.storage.getRoots(),n=0;n<e.length;n++)e[n]instanceof Cl&&e[n].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,M4(this.id)},t}();function uO(t,e){var n=new A4(nL(),t,e);return lO[n.id]=n,n}function L4(t,e){eg[t]=e}var sO=1e-4,fO=20;function O4(t){return t.replace(/^\s+|\s+$/g,"")}function cO(t,e,n,r){var a=e[0],l=e[1],u=n[0],f=n[1],d=l-a,h=f-u;if(d===0)return h===0?u:(u+f)/2;if(r)if(d>0){if(t<=a)return u;if(t>=l)return f}else{if(t>=a)return u;if(t<=l)return f}else{if(t===a)return u;if(t===l)return f}return(t-a)/d*h+u}function Zr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return et(t)?O4(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):t==null?NaN:+t}function vr(t,e,n){return e==null&&(e=10),e=Math.min(Math.max(0,e),fO),t=(+t).toFixed(e),n?t:+t}function Su(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n}return Ix(t)}function Ix(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,a=n>0?n:e.length,l=e.indexOf("."),u=l<0?0:a-1-l;return Math.max(0,u-r)}function k4(t,e){var n=Math.log,r=Math.LN10,a=Math.floor(n(t[1]-t[0])/r),l=Math.round(n(Math.abs(e[1]-e[0]))/r),u=Math.min(Math.max(-a+l,0),20);return isFinite(u)?u:20}function N4(t,e){var n=Math.max(Su(t),Su(e)),r=t+e;return n>fO?r:vr(r,n)}function dO(t){var e=Math.PI*2;return(t%e+e)%e}function X0(t){return t>-sO&&t<sO}var P4=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Cu(t){if(t instanceof Date)return t;if(et(t)){var e=P4.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(t==null)return new Date(NaN);return new Date(Math.round(t))}function I4(t){return Math.pow(10,q0(t))}function q0(t){if(t===0)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function vO(t,e){var n=q0(t),r=Math.pow(10,n),a=t/r,l;return e?a<1.5?l=1:a<2.5?l=2:a<4?l=3:a<7?l=5:l=10:a<1?l=1:a<2?l=2:a<3?l=3:a<5?l=5:l=10,t=l*r,n>=-20?+t.toFixed(n<0?-n:0):t}function Ds(t){var e=parseFloat(t);return e==t&&(e!==0||!et(t)||t.indexOf("x")<=0)?e:NaN}function hO(t){return!isNaN(Ds(t))}function pO(){return Math.round(Math.random()*9)}function gO(t,e){return e===0?t:gO(e,t%e)}function mO(t,e){return t==null?e:e==null?t:t*e/gO(t,e)}var z4="[ECharts] ",yO={},F4=typeof console<"u"&&console.warn&&console.log;function Q0(t,e,n){if(F4){if(n){if(yO[e])return;yO[e]=!0}console[t](z4+e)}}function B4(t,e){Q0("log",t,e)}function Fr(t,e){Q0("warn",t,e)}function ci(t,e){Q0("error",t,e)}function wl(t){process.env.NODE_ENV!=="production"&&Q0("warn","DEPRECATED: "+t,!0)}function Br(t,e,n){process.env.NODE_ENV!=="production"&&wl((n?"["+n+"]":"")+(t+" is deprecated, use "+e+" instead."))}function na(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n="";if(process.env.NODE_ENV!=="production"){var r=function(a){return a===void 0?"undefined":a===1/0?"Infinity":a===-1/0?"-Infinity":Fp(a)?"NaN":a instanceof Date?"Date("+a.toISOString()+")":_t(a)?"function () { ... }":iL(a)?a+"":null};n=ot(t,function(a){if(et(a))return a;var l=r(a);if(l!=null)return l;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(a,function(u,f){var d=r(f);return d??f})}catch{return"?"}else return"?"}).join(" ")}return n}function Ht(t){throw new Error(t)}function _O(t,e,n){return(e-t)*n+t}var SO="series\0",U4="\0_ec_\0";function rr(t){return t instanceof Array?t:t==null?[]:[t]}function CO(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,a=n.length;r<a;r++){var l=n[r];!t.emphasis[e].hasOwnProperty(l)&&t[e].hasOwnProperty(l)&&(t.emphasis[e][l]=t[e][l])}}}var wO=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function tg(t){return it(t)&&!Be(t)&&!(t instanceof Date)?t.value:t}function V4(t){return it(t)&&!(t instanceof Array)}function H4(t,e,n){var r=n==="normalMerge",a=n==="replaceMerge",l=n==="replaceAll";t=t||[],e=(e||[]).slice();var u=xt();W(e,function(d,h){if(!it(d)){e[h]=null;return}process.env.NODE_ENV!=="production"&&(d.id!=null&&!bO(d.id)&&TO(d.id),d.name!=null&&!bO(d.name)&&TO(d.name))});var f=G4(t,u,n);return(r||a)&&$4(f,t,u,e),r&&j4(f,e),r||a?Y4(f,e,a):l&&W4(f,e),X4(f),f}function G4(t,e,n){var r=[];if(n==="replaceAll")return r;for(var a=0;a<t.length;a++){var l=t[a];l&&l.id!=null&&e.set(l.id,a),r.push({existing:n==="replaceMerge"||sv(l)?null:l,newOption:null,keyInfo:null,brandNew:null})}return r}function $4(t,e,n,r){W(r,function(a,l){if(!(!a||a.id==null)){var u=ng(a.id),f=n.get(u);if(f!=null){var d=t[f];bt(!d.newOption,'Duplicated option on id "'+u+'".'),d.newOption=a,d.existing=e[f],r[l]=null}}})}function j4(t,e){W(e,function(n,r){if(!(!n||n.name==null))for(var a=0;a<t.length;a++){var l=t[a].existing;if(!t[a].newOption&&l&&(l.id==null||n.id==null)&&!sv(n)&&!sv(l)&&xO("name",l,n)){t[a].newOption=n,e[r]=null;return}}})}function Y4(t,e,n){W(e,function(r){if(r){for(var a,l=0;(a=t[l])&&(a.newOption||sv(a.existing)||a.existing&&r.id!=null&&!xO("id",r,a.existing));)l++;a?(a.newOption=r,a.brandNew=n):t.push({newOption:r,brandNew:n,existing:null,keyInfo:null}),l++}})}function W4(t,e){W(e,function(n){t.push({newOption:n,brandNew:!0,existing:null,keyInfo:null})})}function X4(t){var e=xt();W(t,function(n){var r=n.existing;r&&e.set(r.id,n)}),W(t,function(n){var r=n.newOption;bt(!r||r.id==null||!e.get(r.id)||e.get(r.id)===n,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&e.set(r.id,n),!n.keyInfo&&(n.keyInfo={})}),W(t,function(n,r){var a=n.existing,l=n.newOption,u=n.keyInfo;if(it(l)){if(u.name=l.name!=null?ng(l.name):a?a.name:SO+r,a)u.id=ng(a.id);else if(l.id!=null)u.id=ng(l.id);else{var f=0;do u.id="\0"+u.name+"\0"+f++;while(e.get(u.id))}e.set(u.id,n)}})}function xO(t,e,n){var r=xl(e[t],null),a=xl(n[t],null);return r!=null&&a!=null&&r===a}function ng(t){if(process.env.NODE_ENV!=="production"&&t==null)throw new Error;return xl(t,"")}function xl(t,e){return t==null?e:et(t)?t:Nn(t)||x0(t)?t+"":e}function TO(t){process.env.NODE_ENV!=="production"&&Fr("`"+t+"` is invalid id or name. Must be a string or number.")}function bO(t){return x0(t)||hO(t)}function EO(t){var e=t.name;return!!(e&&e.indexOf(SO))}function sv(t){return t&&t.id!=null&&ng(t.id).indexOf(U4)===0}function q4(t,e,n){W(t,function(r){var a=r.newOption;it(a)&&(r.keyInfo.mainType=e,r.keyInfo.subType=Q4(e,a,r.existing,n))})}function Q4(t,e,n,r){var a=e.type?e.type:n?n.subType:r.determineSubType(t,e);return a}function rg(t,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return Be(e.dataIndex)?ot(e.dataIndex,function(n){return t.indexOfRawIndex(n)}):t.indexOfRawIndex(e.dataIndex);if(e.name!=null)return Be(e.name)?ot(e.name,function(n){return t.indexOfName(n)}):t.indexOfName(e.name)}function jn(){var t="__ec_inner_"+Z4++;return function(e){return e[t]||(e[t]={})}}var Z4=pO();function zx(t,e,n){var r=Fx(e,n),a=r.mainTypeSpecified,l=r.queryOptionMap,u=r.others,f=u,d=n?n.defaultMainType:null;return!a&&d&&l.set(d,{}),l.each(function(h,p){var m=ig(t,p,h,{useDefault:d===p,enableAll:n&&n.enableAll!=null?n.enableAll:!0,enableNone:n&&n.enableNone!=null?n.enableNone:!0});f[p+"Models"]=m.models,f[p+"Model"]=m.models[0]}),f}function Fx(t,e){var n;if(et(t)){var r={};r[t+"Index"]=0,n=r}else n=t;var a=xt(),l={},u=!1;return W(n,function(f,d){if(d==="dataIndex"||d==="dataIndexInside"){l[d]=f;return}var h=d.match(/^(\w+)(Index|Id|Name)$/)||[],p=h[1],m=(h[2]||"").toLowerCase();if(!(!p||!m||e&&e.includeMainTypes&&dn(e.includeMainTypes,p)<0)){u=u||!!p;var S=a.get(p)||a.set(p,{});S[m]=f}}),{mainTypeSpecified:u,queryOptionMap:a,others:l}}var Oo={useDefault:!0,enableAll:!1,enableNone:!1};function ig(t,e,n,r){r=r||Oo;var a=n.index,l=n.id,u=n.name,f={models:null,specified:a!=null||l!=null||u!=null};if(!f.specified){var d=void 0;return f.models=r.useDefault&&(d=t.getComponent(e))?[d]:[],f}return a==="none"||a===!1?(bt(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),f.models=[],f):(a==="all"&&(bt(r.enableAll,'`"all"` is not a valid value on index option.'),a=l=u=null),f.models=t.queryComponents({mainType:e,index:a,id:l,name:u}),f)}function DO(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function K4(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function J4(t){return t==="auto"?Tt.domSupported?"html":"richText":t||"html"}function e6(t,e,n,r,a){var l=e==null||e==="auto";if(r==null)return r;if(Nn(r)){var u=_O(n||0,r,a);return vr(u,l?Math.max(Su(n||0),Su(r)):e)}else{if(et(r))return a<1?n:r;for(var f=[],d=n,h=r,p=Math.max(d?d.length:0,h.length),m=0;m<p;++m){var S=t.getDimensionInfo(m);if(S&&S.type==="ordinal")f[m]=(a<1&&d?d:h)[m];else{var _=d&&d[m]?d[m]:0,w=h[m],u=_O(_,w,a);f[m]=vr(u,l?Math.max(Su(_),Su(w)):e)}}return f}}var t6=".",tc="___EC__COMPONENT__CONTAINER___",MO="___EC__EXTENDED_CLASS___";function Tl(t){var e={main:"",sub:""};if(t){var n=t.split(t6);e.main=n[0]||"",e.sub=n[1]||""}return e}function n6(t){bt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function r6(t){return!!(t&&t[MO])}function Bx(t,e){t.$constructor=t,t.extend=function(n){process.env.NODE_ENV!=="production"&&W(e,function(l){n[l]||console.warn("Method `"+l+"` should be implemented"+(n.type?" in "+n.type:"")+".")});var r=this,a;return i6(r)?a=function(l){Pt(u,l);function u(){return l.apply(this,arguments)||this}return u}(r):(a=function(){(n.$constructor||r).apply(this,arguments)},nH(a,this)),Re(a.prototype,n),a[MO]=!0,a.extend=this.extend,a.superCall=l6,a.superApply=u6,a.superClass=r,a}}function i6(t){return _t(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function RO(t,e){t.extend=e.extend}var a6=Math.round(Math.random()*10);function o6(t){var e=["__\0is_clz",a6++].join("_");t.prototype[e]=!0,process.env.NODE_ENV!=="production"&&bt(!t.isInstance,'The method "is" can not be defined.'),t.isInstance=function(n){return!!(n&&n[e])}}function l6(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,n)}function u6(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Z0(t){var e={};t.registerClass=function(r){var a=r.type||r.prototype.type;if(a){n6(a),r.prototype.type=a;var l=Tl(a);if(!l.sub)process.env.NODE_ENV!=="production"&&e[l.main]&&console.warn(l.main+" exists."),e[l.main]=r;else if(l.sub!==tc){var u=n(l);u[l.sub]=r}}return r},t.getClass=function(r,a,l){var u=e[r];if(u&&u[tc]&&(u=a?u[a]:null),l&&!u)throw new Error(a?"Component "+r+"."+(a||"")+" is used but not imported.":r+".type should be specified.");return u},t.getClassesByMainType=function(r){var a=Tl(r),l=[],u=e[a.main];return u&&u[tc]?W(u,function(f,d){d!==tc&&l.push(f)}):l.push(u),l},t.hasClass=function(r){var a=Tl(r);return!!e[a.main]},t.getAllClassMainTypes=function(){var r=[];return W(e,function(a,l){r.push(l)}),r},t.hasSubTypes=function(r){var a=Tl(r),l=e[a.main];return l&&l[tc]};function n(r){var a=e[r.main];return(!a||!a[tc])&&(a=e[r.main]={},a[tc]=!0),a}}function ag(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(r,a,l){for(var u={},f=0;f<t.length;f++){var d=t[f][1];if(!(a&&dn(a,d)>=0||l&&dn(l,d)<0)){var h=r.getShallow(d,e);h!=null&&(u[t[f][0]]=h)}}return u}}var s6=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],f6=ag(s6),c6=function(){function t(){}return t.prototype.getAreaStyle=function(e,n){return f6(this,e,n)},t}(),Ux=new Yp(50);function d6(t){if(typeof t=="string"){var e=Ux.get(t);return e&&e.image}else return t}function AO(t,e,n,r,a){if(t)if(typeof t=="string"){if(e&&e.__zrImageSrc===t||!n)return e;var l=Ux.get(t),u={hostEl:n,cb:r,cbPayload:a};return l?(e=l.image,!K0(e)&&l.pending.push(u)):(e=jf.loadImage(t,LO,LO),e.__zrImageSrc=t,Ux.put(t,e.__cachedImgObj={image:e,pending:[u]})),e}else return t;else return e}function LO(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function K0(t){return t&&t.width&&t.height}var Vx=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function v6(t,e,n,r,a){if(!e)return"";var l=(t+"").split(`
193
+ `);a=OO(e,n,r,a);for(var u=0,f=l.length;u<f;u++)l[u]=kO(l[u],a);return l.join(`
194
+ `)}function OO(t,e,n,r){r=r||{};var a=Re({},r);a.font=e,n=kt(n,"..."),a.maxIterations=kt(r.maxIterations,2);var l=a.minChar=kt(r.minChar,0);a.cnCharWidth=Oa("国",e);var u=a.ascCharWidth=Oa("a",e);a.placeholder=kt(r.placeholder,"");for(var f=t=Math.max(0,t-1),d=0;d<l&&f>=u;d++)f-=u;var h=Oa(n,e);return h>f&&(n="",h=0),f=t-h,a.ellipsis=n,a.ellipsisWidth=h,a.contentWidth=f,a.containerWidth=t,a}function kO(t,e){var n=e.containerWidth,r=e.font,a=e.contentWidth;if(!n)return"";var l=Oa(t,r);if(l<=n)return t;for(var u=0;;u++){if(l<=a||u>=e.maxIterations){t+=e.ellipsis;break}var f=u===0?h6(t,a,e.ascCharWidth,e.cnCharWidth):l>0?Math.floor(t.length*a/l):0;t=t.substr(0,f),l=Oa(t,r)}return t===""&&(t=e.placeholder),t}function h6(t,e,n,r){for(var a=0,l=0,u=t.length;l<u&&a<e;l++){var f=t.charCodeAt(l);a+=0<=f&&f<=127?n:r}return l}function p6(t,e){t!=null&&(t+="");var n=e.overflow,r=e.padding,a=e.font,l=n==="truncate",u=Ax(a),f=kt(e.lineHeight,u),d=!!e.backgroundColor,h=e.lineOverflow==="truncate",p=e.width,m;p!=null&&(n==="break"||n==="breakAll")?m=t?PO(t,e.font,p,n==="breakAll",0).lines:[]:m=t?t.split(`
195
+ `):[];var S=m.length*f,_=kt(e.height,S);if(S>_&&h){var w=Math.floor(_/f);m=m.slice(0,w)}if(t&&l&&p!=null)for(var E=OO(p,a,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),b=0;b<m.length;b++)m[b]=kO(m[b],E);for(var D=_,A=0,b=0;b<m.length;b++)A=Math.max(Oa(m[b],a),A);p==null&&(p=A);var O=A;return r&&(D+=r[0]+r[2],O+=r[1]+r[3],p+=r[1]+r[3]),d&&(O=p),{lines:m,height:_,outerWidth:O,outerHeight:D,lineHeight:f,calculatedLineHeight:u,contentWidth:A,contentHeight:S,width:p}}var g6=function(){function t(){}return t}(),NO=function(){function t(e){this.tokens=[],e&&(this.tokens=e)}return t}(),m6=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function y6(t,e){var n=new m6;if(t!=null&&(t+=""),!t)return n;for(var r=e.width,a=e.height,l=e.overflow,u=(l==="break"||l==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:l==="breakAll"}:null,f=Vx.lastIndex=0,d;(d=Vx.exec(t))!=null;){var h=d.index;h>f&&Hx(n,t.substring(f,h),e,u),Hx(n,d[2],e,u,d[1]),f=Vx.lastIndex}f<t.length&&Hx(n,t.substring(f,t.length),e,u);var p=[],m=0,S=0,_=e.padding,w=l==="truncate",E=e.lineOverflow==="truncate";function b(ae,ge,pe){ae.width=ge,ae.lineHeight=pe,m+=pe,S=Math.max(S,ge)}e:for(var D=0;D<n.lines.length;D++){for(var A=n.lines[D],O=0,P=0,I=0;I<A.tokens.length;I++){var F=A.tokens[I],U=F.styleName&&e.rich[F.styleName]||{},H=F.textPadding=U.padding,j=H?H[1]+H[3]:0,X=F.font=U.font||e.font;F.contentHeight=Ax(X);var G=kt(U.height,F.contentHeight);if(F.innerHeight=G,H&&(G+=H[0]+H[2]),F.height=G,F.lineHeight=Xd(U.lineHeight,e.lineHeight,G),F.align=U&&U.align||e.align,F.verticalAlign=U&&U.verticalAlign||"middle",E&&a!=null&&m+F.lineHeight>a){I>0?(A.tokens=A.tokens.slice(0,I),b(A,P,O),n.lines=n.lines.slice(0,D+1)):n.lines=n.lines.slice(0,D);break e}var ee=U.width,J=ee==null||ee==="auto";if(typeof ee=="string"&&ee.charAt(ee.length-1)==="%")F.percentWidth=ee,p.push(F),F.contentWidth=Oa(F.text,X);else{if(J){var ie=U.backgroundColor,ce=ie&&ie.image;ce&&(ce=d6(ce),K0(ce)&&(F.width=Math.max(F.width,ce.width*G/ce.height)))}var fe=w&&r!=null?r-P:null;fe!=null&&fe<F.width?!J||fe<j?(F.text="",F.width=F.contentWidth=0):(F.text=v6(F.text,fe-j,X,e.ellipsis,{minChar:e.truncateMinChar}),F.width=F.contentWidth=Oa(F.text,X)):F.contentWidth=Oa(F.text,X)}F.width+=j,P+=F.width,U&&(O=Math.max(O,F.lineHeight))}b(A,P,O)}n.outerWidth=n.width=kt(r,S),n.outerHeight=n.height=kt(a,m),n.contentHeight=m,n.contentWidth=S,_&&(n.outerWidth+=_[1]+_[3],n.outerHeight+=_[0]+_[2]);for(var D=0;D<p.length;D++){var F=p[D],Pe=F.percentWidth;F.width=parseInt(Pe,10)/100*n.width}return n}function Hx(t,e,n,r,a){var l=e==="",u=a&&n.rich[a]||{},f=t.lines,d=u.font||n.font,h=!1,p,m;if(r){var S=u.padding,_=S?S[1]+S[3]:0;if(u.width!=null&&u.width!=="auto"){var w=ec(u.width,r.width)+_;f.length>0&&w+r.accumWidth>r.width&&(p=e.split(`
196
+ `),h=!0),r.accumWidth=w}else{var E=PO(e,d,r.width,r.breakAll,r.accumWidth);r.accumWidth=E.accumWidth+_,m=E.linesWidths,p=E.lines}}else p=e.split(`
197
+ `);for(var b=0;b<p.length;b++){var D=p[b],A=new g6;if(A.styleName=a,A.text=D,A.isLineHolder=!D&&!l,typeof u.width=="number"?A.width=u.width:A.width=m?m[b]:Oa(D,d),!b&&!h){var O=(f[f.length-1]||(f[0]=new NO)).tokens,P=O.length;P===1&&O[0].isLineHolder?O[0]=A:(D||!P||l)&&O.push(A)}else f.push(new NO([A]))}}function _6(t){var e=t.charCodeAt(0);return e>=33&&e<=383}var S6=Wd(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function C6(t){return _6(t)?!!S6[t]:!0}function PO(t,e,n,r,a){for(var l=[],u=[],f="",d="",h=0,p=0,m=0;m<t.length;m++){var S=t.charAt(m);if(S===`
198
+ `){d&&(f+=d,p+=h),l.push(f),u.push(p),f="",d="",h=0,p=0;continue}var _=Oa(S,e),w=r?!1:!C6(S);if(l.length?p+_>n:a+p+_>n){p?(f||d)&&(w?(f||(f=d,d="",h=0,p=h),l.push(f),u.push(p-h),d+=S,h+=_,f="",p=h):(d&&(f+=d,d="",h=0),l.push(f),u.push(p),f=S,p=_)):w?(l.push(d),u.push(h),d=S,h=_):(l.push(S),u.push(_));continue}p+=_,w?(d+=S,h+=_):(d&&(f+=d,d="",h=0),f+=S)}return!l.length&&!f&&(f=t,d="",h=0),d&&(f+=d),f&&(l.push(f),u.push(p)),l.length===1&&(p+=a),{accumWidth:p,lines:l,linesWidths:u}}var Gx="__zr_style_"+Math.round(Math.random()*10),nc={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},J0={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};nc[Gx]=!0;var IO=["z","z2","invisible"],w6=["invisible"],x6=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype._init=function(n){for(var r=kn(n),a=0;a<r.length;a++){var l=r[a];l==="style"?this.useStyle(n[l]):t.prototype.attrKV.call(this,l,n[l])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(n,r,a,l){var u=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&T6(this,n,r)||u&&!u[0]&&!u[3])return!1;if(a&&this.__clipPaths){for(var f=0;f<this.__clipPaths.length;++f)if(this.__clipPaths[f].isZeroArea())return!1}if(l&&this.parent)for(var d=this.parent;d;){if(d.ignore)return!1;d=d.parent}return!0},e.prototype.contain=function(n,r){return this.rectContain(n,r)},e.prototype.traverse=function(n,r){n.call(r,this)},e.prototype.rectContain=function(n,r){var a=this.transformCoordToLocal(n,r),l=this.getBoundingRect();return l.contain(a[0],a[1])},e.prototype.getPaintRect=function(){var n=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,a=this.getBoundingRect(),l=this.style,u=l.shadowBlur||0,f=l.shadowOffsetX||0,d=l.shadowOffsetY||0;n=this._paintRect||(this._paintRect=new Wt(0,0,0,0)),r?Wt.applyTransform(n,a,r):n.copy(a),(u||f||d)&&(n.width+=u*2+Math.abs(f),n.height+=u*2+Math.abs(d),n.x=Math.min(n.x,n.x+f-u),n.y=Math.min(n.y,n.y+d-u));var h=this.dirtyRectTolerance;n.isZero()||(n.x=Math.floor(n.x-h),n.y=Math.floor(n.y-h),n.width=Math.ceil(n.width+1+h*2),n.height=Math.ceil(n.height+1+h*2))}return n},e.prototype.setPrevPaintRect=function(n){n?(this._prevPaintRect=this._prevPaintRect||new Wt(0,0,0,0),this._prevPaintRect.copy(n)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(n){return this.animate("style",n)},e.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(n,r){n!=="style"?t.prototype.attrKV.call(this,n,r):this.style?this.setStyle(r):this.useStyle(r)},e.prototype.setStyle=function(n,r){return typeof n=="string"?this.style[n]=r:Re(this.style,n),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(n){n||this.markRedraw(),this.__dirty|=jp,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&jp)},e.prototype.styleUpdated=function(){this.__dirty&=~jp},e.prototype.createStyle=function(n){return E0(nc,n)},e.prototype.useStyle=function(n){n[Gx]||(n=this.createStyle(n)),this.__inHover?this.__hoverStyle=n:this.style=n,this.dirtyStyle()},e.prototype.isStyleObject=function(n){return n[Gx]},e.prototype._innerSaveToNormal=function(n){t.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(n,r,IO)},e.prototype._applyStateObj=function(n,r,a,l,u,f){t.prototype._applyStateObj.call(this,n,r,a,l,u,f);var d=!(r&&l),h;if(r&&r.style?u?l?h=r.style:(h=this._mergeStyle(this.createStyle(),a.style),this._mergeStyle(h,r.style)):(h=this._mergeStyle(this.createStyle(),l?this.style:a.style),this._mergeStyle(h,r.style)):d&&(h=a.style),h)if(u){var p=this.style;if(this.style=this.createStyle(d?{}:p),d)for(var m=kn(p),S=0;S<m.length;S++){var _=m[S];_ in h&&(h[_]=h[_],this.style[_]=p[_])}for(var w=kn(h),S=0;S<w.length;S++){var _=w[S];this.style[_]=this.style[_]}this._transitionState(n,{style:h},f,this.getAnimationStyleProps())}else this.useStyle(h);for(var E=this.__inHover?w6:IO,S=0;S<E.length;S++){var _=E[S];r&&r[_]!=null?this[_]=r[_]:d&&a[_]!=null&&(this[_]=a[_])}},e.prototype._mergeStates=function(n){for(var r=t.prototype._mergeStates.call(this,n),a,l=0;l<n.length;l++){var u=n[l];u.style&&(a=a||{},this._mergeStyle(a,u.style))}return a&&(r.style=a),r},e.prototype._mergeStyle=function(n,r){return Re(n,r),n},e.prototype.getAnimationStyleProps=function(){return J0},e.initDefaultProps=function(){var n=e.prototype;n.type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,n.__dirty=La|jp}(),e}(aO),$x=new Wt(0,0,0,0),jx=new Wt(0,0,0,0);function T6(t,e,n){return $x.copy(t.getBoundingRect()),t.transform&&$x.applyTransform(t.transform),jx.width=e,jx.height=n,!$x.intersect(jx)}const fv=x6;var ra=Math.min,ia=Math.max,Yx=Math.sin,Wx=Math.cos,rc=Math.PI*2,e_=qd(),t_=qd(),n_=qd();function zO(t,e,n){if(t.length!==0){for(var r=t[0],a=r[0],l=r[0],u=r[1],f=r[1],d=1;d<t.length;d++)r=t[d],a=ra(a,r[0]),l=ia(l,r[0]),u=ra(u,r[1]),f=ia(f,r[1]);e[0]=a,e[1]=u,n[0]=l,n[1]=f}}function FO(t,e,n,r,a,l){a[0]=ra(t,n),a[1]=ra(e,r),l[0]=ia(t,n),l[1]=ia(e,r)}var BO=[],UO=[];function b6(t,e,n,r,a,l,u,f,d,h){var p=OL,m=Qr,S=p(t,n,a,u,BO);d[0]=1/0,d[1]=1/0,h[0]=-1/0,h[1]=-1/0;for(var _=0;_<S;_++){var w=m(t,n,a,u,BO[_]);d[0]=ra(w,d[0]),h[0]=ia(w,h[0])}S=p(e,r,l,f,UO);for(var _=0;_<S;_++){var E=m(e,r,l,f,UO[_]);d[1]=ra(E,d[1]),h[1]=ia(E,h[1])}d[0]=ra(t,d[0]),h[0]=ia(t,h[0]),d[0]=ra(u,d[0]),h[0]=ia(u,h[0]),d[1]=ra(e,d[1]),h[1]=ia(e,h[1]),d[1]=ra(f,d[1]),h[1]=ia(f,h[1])}function E6(t,e,n,r,a,l,u,f){var d=PL,h=fi,p=ia(ra(d(t,n,a),1),0),m=ia(ra(d(e,r,l),1),0),S=h(t,n,a,p),_=h(e,r,l,m);u[0]=ra(t,a,S),u[1]=ra(e,l,_),f[0]=ia(t,a,S),f[1]=ia(e,l,_)}function D6(t,e,n,r,a,l,u,f,d){var h=Zd,p=Kd,m=Math.abs(a-l);if(m%rc<1e-4&&m>1e-4){f[0]=t-n,f[1]=e-r,d[0]=t+n,d[1]=e+r;return}if(e_[0]=Wx(a)*n+t,e_[1]=Yx(a)*r+e,t_[0]=Wx(l)*n+t,t_[1]=Yx(l)*r+e,h(f,e_,t_),p(d,e_,t_),a=a%rc,a<0&&(a=a+rc),l=l%rc,l<0&&(l=l+rc),a>l&&!u?l+=rc:a<l&&u&&(a+=rc),u){var S=l;l=a,a=S}for(var _=0;_<l;_+=Math.PI/2)_>a&&(n_[0]=Wx(_)*n+t,n_[1]=Yx(_)*r+e,h(f,n_,f),p(d,n_,d))}var nn={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ic=[],ac=[],bl=[],Ms=[],El=[],Dl=[],Xx=Math.min,qx=Math.max,oc=Math.cos,lc=Math.sin,wu=Math.abs,Qx=Math.PI,Rs=Qx*2,Zx=typeof Float32Array<"u",og=[];function Kx(t){var e=Math.round(t/Qx*1e8)/1e8;return e%2*Qx}function M6(t,e){var n=Kx(t[0]);n<0&&(n+=Rs);var r=n-t[0],a=t[1];a+=r,!e&&a-n>=Rs?a=n+Rs:e&&n-a>=Rs?a=n-Rs:!e&&n>a?a=n+(Rs-Kx(n-a)):e&&n<a&&(a=n-(Rs-Kx(a-n))),t[0]=n,t[1]=a}var R6=function(){function t(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(e,n,r){r=r||0,r>0&&(this._ux=wu(r/Y0/e)||0,this._uy=wu(r/Y0/n)||0)},t.prototype.setDPR=function(e){this.dpr=e},t.prototype.setContext=function(e){this._ctx=e},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(e,n){return this._drawPendingPt(),this.addData(nn.M,e,n),this._ctx&&this._ctx.moveTo(e,n),this._x0=e,this._y0=n,this._xi=e,this._yi=n,this},t.prototype.lineTo=function(e,n){var r=wu(e-this._xi),a=wu(n-this._yi),l=r>this._ux||a>this._uy;if(this.addData(nn.L,e,n),this._ctx&&l&&this._ctx.lineTo(e,n),l)this._xi=e,this._yi=n,this._pendingPtDist=0;else{var u=r*r+a*a;u>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=n,this._pendingPtDist=u)}return this},t.prototype.bezierCurveTo=function(e,n,r,a,l,u){return this._drawPendingPt(),this.addData(nn.C,e,n,r,a,l,u),this._ctx&&this._ctx.bezierCurveTo(e,n,r,a,l,u),this._xi=l,this._yi=u,this},t.prototype.quadraticCurveTo=function(e,n,r,a){return this._drawPendingPt(),this.addData(nn.Q,e,n,r,a),this._ctx&&this._ctx.quadraticCurveTo(e,n,r,a),this._xi=r,this._yi=a,this},t.prototype.arc=function(e,n,r,a,l,u){this._drawPendingPt(),og[0]=a,og[1]=l,M6(og,u),a=og[0],l=og[1];var f=l-a;return this.addData(nn.A,e,n,r,r,a,f,0,u?0:1),this._ctx&&this._ctx.arc(e,n,r,a,l,u),this._xi=oc(l)*r+e,this._yi=lc(l)*r+n,this},t.prototype.arcTo=function(e,n,r,a,l){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,n,r,a,l),this},t.prototype.rect=function(e,n,r,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,n,r,a),this.addData(nn.R,e,n,r,a),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(nn.Z);var e=this._ctx,n=this._x0,r=this._y0;return e&&e.closePath(),this._xi=n,this._yi=r,this},t.prototype.fill=function(e){e&&e.fill(),this.toStatic()},t.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(e){var n=e.length;!(this.data&&this.data.length===n)&&Zx&&(this.data=new Float32Array(n));for(var r=0;r<n;r++)this.data[r]=e[r];this._len=n},t.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var n=e.length,r=0,a=this._len,l=0;l<n;l++)r+=e[l].len();Zx&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+r));for(var l=0;l<n;l++)for(var u=e[l].data,f=0;f<u.length;f++)this.data[a++]=u[f];this._len=a},t.prototype.addData=function(e,n,r,a,l,u,f,d,h){if(this._saveData){var p=this.data;this._len+arguments.length>p.length&&(this._expandData(),p=this.data);for(var m=0;m<arguments.length;m++)p[this._len++]=arguments[m]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],n=0;n<this._len;n++)e[n]=this.data[n];this.data=e}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,Zx&&this._len>11&&(this.data=new Float32Array(e)))}},t.prototype.getBoundingRect=function(){bl[0]=bl[1]=El[0]=El[1]=Number.MAX_VALUE,Ms[0]=Ms[1]=Dl[0]=Dl[1]=-Number.MAX_VALUE;var e=this.data,n=0,r=0,a=0,l=0,u;for(u=0;u<this._len;){var f=e[u++],d=u===1;switch(d&&(n=e[u],r=e[u+1],a=n,l=r),f){case nn.M:n=a=e[u++],r=l=e[u++],El[0]=a,El[1]=l,Dl[0]=a,Dl[1]=l;break;case nn.L:FO(n,r,e[u],e[u+1],El,Dl),n=e[u++],r=e[u++];break;case nn.C:b6(n,r,e[u++],e[u++],e[u++],e[u++],e[u],e[u+1],El,Dl),n=e[u++],r=e[u++];break;case nn.Q:E6(n,r,e[u++],e[u++],e[u],e[u+1],El,Dl),n=e[u++],r=e[u++];break;case nn.A:var h=e[u++],p=e[u++],m=e[u++],S=e[u++],_=e[u++],w=e[u++]+_;u+=1;var E=!e[u++];d&&(a=oc(_)*m+h,l=lc(_)*S+p),D6(h,p,m,S,_,w,E,El,Dl),n=oc(w)*m+h,r=lc(w)*S+p;break;case nn.R:a=n=e[u++],l=r=e[u++];var b=e[u++],D=e[u++];FO(a,l,a+b,l+D,El,Dl);break;case nn.Z:n=a,r=l;break}Zd(bl,bl,El),Kd(Ms,Ms,Dl)}return u===0&&(bl[0]=bl[1]=Ms[0]=Ms[1]=0),new Wt(bl[0],bl[1],Ms[0]-bl[0],Ms[1]-bl[1])},t.prototype._calculateLength=function(){var e=this.data,n=this._len,r=this._ux,a=this._uy,l=0,u=0,f=0,d=0;this._pathSegLen||(this._pathSegLen=[]);for(var h=this._pathSegLen,p=0,m=0,S=0;S<n;){var _=e[S++],w=S===1;w&&(l=e[S],u=e[S+1],f=l,d=u);var E=-1;switch(_){case nn.M:l=f=e[S++],u=d=e[S++];break;case nn.L:{var b=e[S++],D=e[S++],A=b-l,O=D-u;(wu(A)>r||wu(O)>a||S===n-1)&&(E=Math.sqrt(A*A+O*O),l=b,u=D);break}case nn.C:{var P=e[S++],I=e[S++],b=e[S++],D=e[S++],F=e[S++],U=e[S++];E=WH(l,u,P,I,b,D,F,U,10),l=F,u=U;break}case nn.Q:{var P=e[S++],I=e[S++],b=e[S++],D=e[S++];E=qH(l,u,P,I,b,D,10),l=b,u=D;break}case nn.A:var H=e[S++],j=e[S++],X=e[S++],G=e[S++],ee=e[S++],J=e[S++],ie=J+ee;S+=1,e[S++],w&&(f=oc(ee)*X+H,d=lc(ee)*G+j),E=qx(X,G)*Xx(Rs,Math.abs(J)),l=oc(ie)*X+H,u=lc(ie)*G+j;break;case nn.R:{f=l=e[S++],d=u=e[S++];var ce=e[S++],fe=e[S++];E=ce*2+fe*2;break}case nn.Z:{var A=f-l,O=d-u;E=Math.sqrt(A*A+O*O),l=f,u=d;break}}E>=0&&(h[m++]=E,p+=E)}return this._pathLen=p,p},t.prototype.rebuildPath=function(e,n){var r=this.data,a=this._ux,l=this._uy,u=this._len,f,d,h,p,m,S,_=n<1,w,E,b=0,D=0,A,O=0,P,I;if(_&&(this._pathSegLen||this._calculateLength(),w=this._pathSegLen,E=this._pathLen,A=n*E,!A))return;e:for(var F=0;F<u;){var U=r[F++],H=F===1;switch(H&&(h=r[F],p=r[F+1],f=h,d=p),U!==nn.L&&O>0&&(e.lineTo(P,I),O=0),U){case nn.M:f=h=r[F++],d=p=r[F++],e.moveTo(h,p);break;case nn.L:{m=r[F++],S=r[F++];var j=wu(m-h),X=wu(S-p);if(j>a||X>l){if(_){var G=w[D++];if(b+G>A){var ee=(A-b)/G;e.lineTo(h*(1-ee)+m*ee,p*(1-ee)+S*ee);break e}b+=G}e.lineTo(m,S),h=m,p=S,O=0}else{var J=j*j+X*X;J>O&&(P=m,I=S,O=J)}break}case nn.C:{var ie=r[F++],ce=r[F++],fe=r[F++],Pe=r[F++],ae=r[F++],ge=r[F++];if(_){var G=w[D++];if(b+G>A){var ee=(A-b)/G;Es(h,ie,fe,ae,ee,ic),Es(p,ce,Pe,ge,ee,ac),e.bezierCurveTo(ic[1],ac[1],ic[2],ac[2],ic[3],ac[3]);break e}b+=G}e.bezierCurveTo(ie,ce,fe,Pe,ae,ge),h=ae,p=ge;break}case nn.Q:{var ie=r[F++],ce=r[F++],fe=r[F++],Pe=r[F++];if(_){var G=w[D++];if(b+G>A){var ee=(A-b)/G;I0(h,ie,fe,ee,ic),I0(p,ce,Pe,ee,ac),e.quadraticCurveTo(ic[1],ac[1],ic[2],ac[2]);break e}b+=G}e.quadraticCurveTo(ie,ce,fe,Pe),h=fe,p=Pe;break}case nn.A:var pe=r[F++],Le=r[F++],Ge=r[F++],St=r[F++],It=r[F++],Dn=r[F++],Xt=r[F++],Mn=!r[F++],on=Ge>St?Ge:St,zt=wu(Ge-St)>.001,Ft=It+Dn,$e=!1;if(_){var G=w[D++];b+G>A&&(Ft=It+Dn*(A-b)/G,$e=!0),b+=G}if(zt&&e.ellipse?e.ellipse(pe,Le,Ge,St,Xt,It,Ft,Mn):e.arc(pe,Le,on,It,Ft,Mn),$e)break e;H&&(f=oc(It)*Ge+pe,d=lc(It)*St+Le),h=oc(Ft)*Ge+pe,p=lc(Ft)*St+Le;break;case nn.R:f=h=r[F],d=p=r[F+1],m=r[F++],S=r[F++];var Se=r[F++],Zt=r[F++];if(_){var G=w[D++];if(b+G>A){var Et=A-b;e.moveTo(m,S),e.lineTo(m+Xx(Et,Se),S),Et-=Se,Et>0&&e.lineTo(m+Se,S+Xx(Et,Zt)),Et-=Zt,Et>0&&e.lineTo(m+qx(Se-Et,0),S+Zt),Et-=Se,Et>0&&e.lineTo(m,S+qx(Zt-Et,0));break e}b+=G}e.rect(m,S,Se,Zt);break;case nn.Z:if(_){var G=w[D++];if(b+G>A){var ee=(A-b)/G;e.lineTo(h*(1-ee)+f*ee,p*(1-ee)+d*ee);break e}b+=G}e.closePath(),h=f,p=d}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=nn,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();const As=R6;function cv(t,e,n,r,a,l,u){if(a===0)return!1;var f=a,d=0,h=t;if(u>e+f&&u>r+f||u<e-f&&u<r-f||l>t+f&&l>n+f||l<t-f&&l<n-f)return!1;if(t!==n)d=(e-r)/(t-n),h=(t*r-n*e)/(t-n);else return Math.abs(l-t)<=f/2;var p=d*l-u+h,m=p*p/(d*d+1);return m<=f/2*f/2}function A6(t,e,n,r,a,l,u,f,d,h,p){if(d===0)return!1;var m=d;if(p>e+m&&p>r+m&&p>l+m&&p>f+m||p<e-m&&p<r-m&&p<l-m&&p<f-m||h>t+m&&h>n+m&&h>a+m&&h>u+m||h<t-m&&h<n-m&&h<a-m&&h<u-m)return!1;var S=kL(t,e,n,r,a,l,u,f,h,p,null);return S<=m/2}function L6(t,e,n,r,a,l,u,f,d){if(u===0)return!1;var h=u;if(d>e+h&&d>r+h&&d>l+h||d<e-h&&d<r-h&&d<l-h||f>t+h&&f>n+h&&f>a+h||f<t-h&&f<n-h&&f<a-h)return!1;var p=IL(t,e,n,r,a,l,f,d,null);return p<=h/2}var VO=Math.PI*2;function Ls(t){return t%=VO,t<0&&(t+=VO),t}var lg=Math.PI*2;function O6(t,e,n,r,a,l,u,f,d){if(u===0)return!1;var h=u;f-=t,d-=e;var p=Math.sqrt(f*f+d*d);if(p-h>n||p+h<n)return!1;if(Math.abs(r-a)%lg<1e-4)return!0;if(l){var m=r;r=Ls(a),a=Ls(m)}else r=Ls(r),a=Ls(a);r>a&&(a+=lg);var S=Math.atan2(d,f);return S<0&&(S+=lg),S>=r&&S<=a||S+lg>=r&&S+lg<=a}function uc(t,e,n,r,a,l){if(l>e&&l>r||l<e&&l<r||r===e)return 0;var u=(l-e)/(r-e),f=r<e?1:-1;(u===1||u===0)&&(f=r<e?.5:-.5);var d=u*(n-t)+t;return d===a?1/0:d>a?f:0}var Os=As.CMD,sc=Math.PI*2,k6=1e-4;function N6(t,e){return Math.abs(t-e)<k6}var Li=[-1,-1,-1],ao=[-1,-1];function P6(){var t=ao[0];ao[0]=ao[1],ao[1]=t}function I6(t,e,n,r,a,l,u,f,d,h){if(h>e&&h>r&&h>l&&h>f||h<e&&h<r&&h<l&&h<f)return 0;var p=LL(e,r,l,f,h,Li);if(p===0)return 0;for(var m=0,S=-1,_=void 0,w=void 0,E=0;E<p;E++){var b=Li[E],D=b===0||b===1?.5:1,A=Qr(t,n,a,u,b);A<d||(S<0&&(S=OL(e,r,l,f,ao),ao[1]<ao[0]&&S>1&&P6(),_=Qr(e,r,l,f,ao[0]),S>1&&(w=Qr(e,r,l,f,ao[1]))),S===2?b<ao[0]?m+=_<e?D:-D:b<ao[1]?m+=w<_?D:-D:m+=f<w?D:-D:b<ao[0]?m+=_<e?D:-D:m+=f<_?D:-D)}return m}function z6(t,e,n,r,a,l,u,f){if(f>e&&f>r&&f>l||f<e&&f<r&&f<l)return 0;var d=XH(e,r,l,f,Li);if(d===0)return 0;var h=PL(e,r,l);if(h>=0&&h<=1){for(var p=0,m=fi(e,r,l,h),S=0;S<d;S++){var _=Li[S]===0||Li[S]===1?.5:1,w=fi(t,n,a,Li[S]);w<u||(Li[S]<h?p+=m<e?_:-_:p+=l<m?_:-_)}return p}else{var _=Li[0]===0||Li[0]===1?.5:1,w=fi(t,n,a,Li[0]);return w<u?0:l<e?_:-_}}function F6(t,e,n,r,a,l,u,f){if(f-=e,f>n||f<-n)return 0;var d=Math.sqrt(n*n-f*f);Li[0]=-d,Li[1]=d;var h=Math.abs(r-a);if(h<1e-4)return 0;if(h>=sc-1e-4){r=0,a=sc;var p=l?1:-1;return u>=Li[0]+t&&u<=Li[1]+t?p:0}if(r>a){var m=r;r=a,a=m}r<0&&(r+=sc,a+=sc);for(var S=0,_=0;_<2;_++){var w=Li[_];if(w+t>u){var E=Math.atan2(f,w),p=l?1:-1;E<0&&(E=sc+E),(E>=r&&E<=a||E+sc>=r&&E+sc<=a)&&(E>Math.PI/2&&E<Math.PI*1.5&&(p=-p),S+=p)}}return S}function HO(t,e,n,r,a){for(var l=t.data,u=t.len(),f=0,d=0,h=0,p=0,m=0,S,_,w=0;w<u;){var E=l[w++],b=w===1;switch(E===Os.M&&w>1&&(n||(f+=uc(d,h,p,m,r,a))),b&&(d=l[w],h=l[w+1],p=d,m=h),E){case Os.M:p=l[w++],m=l[w++],d=p,h=m;break;case Os.L:if(n){if(cv(d,h,l[w],l[w+1],e,r,a))return!0}else f+=uc(d,h,l[w],l[w+1],r,a)||0;d=l[w++],h=l[w++];break;case Os.C:if(n){if(A6(d,h,l[w++],l[w++],l[w++],l[w++],l[w],l[w+1],e,r,a))return!0}else f+=I6(d,h,l[w++],l[w++],l[w++],l[w++],l[w],l[w+1],r,a)||0;d=l[w++],h=l[w++];break;case Os.Q:if(n){if(L6(d,h,l[w++],l[w++],l[w],l[w+1],e,r,a))return!0}else f+=z6(d,h,l[w++],l[w++],l[w],l[w+1],r,a)||0;d=l[w++],h=l[w++];break;case Os.A:var D=l[w++],A=l[w++],O=l[w++],P=l[w++],I=l[w++],F=l[w++];w+=1;var U=!!(1-l[w++]);S=Math.cos(I)*O+D,_=Math.sin(I)*P+A,b?(p=S,m=_):f+=uc(d,h,S,_,r,a);var H=(r-D)*P/O+D;if(n){if(O6(D,A,P,I,I+F,U,e,H,a))return!0}else f+=F6(D,A,P,I,I+F,U,H,a);d=Math.cos(I+F)*O+D,h=Math.sin(I+F)*P+A;break;case Os.R:p=d=l[w++],m=h=l[w++];var j=l[w++],X=l[w++];if(S=p+j,_=m+X,n){if(cv(p,m,S,m,e,r,a)||cv(S,m,S,_,e,r,a)||cv(S,_,p,_,e,r,a)||cv(p,_,p,m,e,r,a))return!0}else f+=uc(S,m,S,_,r,a),f+=uc(p,_,p,m,r,a);break;case Os.Z:if(n){if(cv(d,h,p,m,e,r,a))return!0}else f+=uc(d,h,p,m,r,a);d=p,h=m;break}}return!n&&!N6(h,m)&&(f+=uc(d,h,p,m,r,a)||0),f!==0}function B6(t,e,n){return HO(t,0,!1,e,n)}function U6(t,e,n,r){return HO(t,e,!0,n,r)}var GO=Vt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},nc),V6={style:Vt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},J0.style)},Jx=Zp.concat(["invisible","culling","z","z2","zlevel","parent"]),H6=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.update=function(){var n=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var a=this._decalEl=this._decalEl||new e;a.buildPath===e.prototype.buildPath&&(a.buildPath=function(d){n.buildPath(d,n.shape)}),a.silent=!0;var l=a.style;for(var u in r)l[u]!==r[u]&&(l[u]=r[u]);l.fill=r.fill?r.decal:null,l.decal=null,l.shadowColor=null,r.strokeFirst&&(l.stroke=null);for(var f=0;f<Jx.length;++f)a[Jx[f]]=this[Jx[f]];a.__dirty|=La}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(n){var r=kn(n);this.shape=this.getDefaultShape();var a=this.getDefaultStyle();a&&this.useStyle(a);for(var l=0;l<r.length;l++){var u=r[l],f=n[u];u==="style"?this.style?Re(this.style,f):this.useStyle(f):u==="shape"?Re(this.shape,f):t.prototype.attrKV.call(this,u,f)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var n=this.style.fill;if(n!=="none"){if(et(n)){var r=F0(n,0);return r>.5?bx:r>.2?_4:Ex}else if(n)return Ex}return bx},e.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(et(r)){var a=this.__zr,l=!!(a&&a.isDarkMode()),u=F0(n,0)<Tx;if(l===u)return r}},e.prototype.buildPath=function(n,r,a){},e.prototype.pathUpdated=function(){this.__dirty&=~tv},e.prototype.getUpdatedPathProxy=function(n){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,n),this.path},e.prototype.createPathProxy=function(){this.path=new As(!1)},e.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return!(r==null||r==="none"||!(n.lineWidth>0))},e.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},e.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,a=!n;if(a){var l=!1;this.path||(l=!0,this.createPathProxy());var u=this.path;(l||this.__dirty&tv)&&(u.beginPath(),this.buildPath(u,this.shape,!1),this.pathUpdated()),n=u.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var f=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||a){f.copy(n);var d=r.strokeNoScale?this.getLineScale():1,h=r.lineWidth;if(!this.hasFill()){var p=this.strokeContainThreshold;h=Math.max(h,p??4)}d>1e-10&&(f.width+=h/d,f.height+=h/d,f.x-=h/d/2,f.y-=h/d/2)}return f}return n},e.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),l=this.getBoundingRect(),u=this.style;if(n=a[0],r=a[1],l.contain(n,r)){var f=this.path;if(this.hasStroke()){var d=u.lineWidth,h=u.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(this.hasFill()||(d=Math.max(d,this.strokeContainThreshold)),U6(f,d/h,n,r)))return!0}if(this.hasFill())return B6(f,n,r)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=tv,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(n){return this.animate("shape",n)},e.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):t.prototype.attrKV.call(this,n,r)},e.prototype.setShape=function(n,r){var a=this.shape;return a||(a=this.shape={}),typeof n=="string"?a[n]=r:Re(a,n),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&tv)},e.prototype.createStyle=function(n){return E0(GO,n)},e.prototype._innerSaveToNormal=function(n){t.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=Re({},this.shape))},e.prototype._applyStateObj=function(n,r,a,l,u,f){t.prototype._applyStateObj.call(this,n,r,a,l,u,f);var d=!(r&&l),h;if(r&&r.shape?u?l?h=r.shape:(h=Re({},a.shape),Re(h,r.shape)):(h=Re({},l?this.shape:a.shape),Re(h,r.shape)):d&&(h=a.shape),h)if(u){this.shape=Re({},this.shape);for(var p={},m=kn(h),S=0;S<m.length;S++){var _=m[S];typeof h[_]=="object"?this.shape[_]=h[_]:p[_]=h[_]}this._transitionState(n,{shape:p},f)}else this.shape=h,this.dirtyShape()},e.prototype._mergeStates=function(n){for(var r=t.prototype._mergeStates.call(this,n),a,l=0;l<n.length;l++){var u=n[l];u.shape&&(a=a||{},this._mergeStyle(a,u.shape))}return a&&(r.shape=a),r},e.prototype.getAnimationStyleProps=function(){return V6},e.prototype.isZeroArea=function(){return!1},e.extend=function(n){var r=function(l){mn(u,l);function u(f){var d=l.call(this,f)||this;return n.init&&n.init.call(d,f),d}return u.prototype.getDefaultStyle=function(){return Qt(n.style)},u.prototype.getDefaultShape=function(){return Qt(n.shape)},u}(e);for(var a in n)typeof n[a]=="function"&&(r.prototype[a]=n[a]);return r},e.initDefaultProps=function(){var n=e.prototype;n.type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,n.__dirty=La|jp|tv}(),e}(fv);const Gt=H6;var G6=Vt({strokeFirst:!0,font:$f,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},GO),$O=function(t){mn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return r!=null&&r!=="none"&&n.lineWidth>0},e.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},e.prototype.createStyle=function(n){return E0(G6,n)},e.prototype.setBoundingRect=function(n){this._rect=n},e.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var a=Rx(r,n.font,n.textAlign,n.textBaseline);if(a.x+=n.x||0,a.y+=n.y||0,this.hasStroke()){var l=n.lineWidth;a.x-=l/2,a.y-=l/2,a.width+=l,a.height+=l}this._rect=a}return this._rect},e.initDefaultProps=function(){var n=e.prototype;n.dirtyRectTolerance=10}(),e}(fv);$O.prototype.type="tspan";const eT=$O;var $6=Vt({x:0,y:0},nc),j6={style:Vt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},J0.style)};function Y6(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var jO=function(t){mn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.createStyle=function(n){return E0($6,n)},e.prototype._getSize=function(n){var r=this.style,a=r[n];if(a!=null)return a;var l=Y6(r.image)?r.image:this.__image;if(!l)return 0;var u=n==="width"?"height":"width",f=r[u];return f==null?l[n]:l[n]/l[u]*f},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return j6},e.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new Wt(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},e}(fv);jO.prototype.type="image";const dv=jO;function W6(t,e){var n=e.x,r=e.y,a=e.width,l=e.height,u=e.r,f,d,h,p;a<0&&(n=n+a,a=-a),l<0&&(r=r+l,l=-l),typeof u=="number"?f=d=h=p=u:u instanceof Array?u.length===1?f=d=h=p=u[0]:u.length===2?(f=h=u[0],d=p=u[1]):u.length===3?(f=u[0],d=p=u[1],h=u[2]):(f=u[0],d=u[1],h=u[2],p=u[3]):f=d=h=p=0;var m;f+d>a&&(m=f+d,f*=a/m,d*=a/m),h+p>a&&(m=h+p,h*=a/m,p*=a/m),d+h>l&&(m=d+h,d*=l/m,h*=l/m),f+p>l&&(m=f+p,f*=l/m,p*=l/m),t.moveTo(n+f,r),t.lineTo(n+a-d,r),d!==0&&t.arc(n+a-d,r+d,d,-Math.PI/2,0),t.lineTo(n+a,r+l-h),h!==0&&t.arc(n+a-h,r+l-h,h,0,Math.PI/2),t.lineTo(n+p,r+l),p!==0&&t.arc(n+p,r+l-p,p,Math.PI/2,Math.PI),t.lineTo(n,r+f),f!==0&&t.arc(n+f,r+f,f,Math.PI,Math.PI*1.5)}var vv=Math.round;function YO(t,e,n){if(e){var r=e.x1,a=e.x2,l=e.y1,u=e.y2;t.x1=r,t.x2=a,t.y1=l,t.y2=u;var f=n&&n.lineWidth;return f&&(vv(r*2)===vv(a*2)&&(t.x1=t.x2=fc(r,f,!0)),vv(l*2)===vv(u*2)&&(t.y1=t.y2=fc(l,f,!0))),t}}function WO(t,e,n){if(e){var r=e.x,a=e.y,l=e.width,u=e.height;t.x=r,t.y=a,t.width=l,t.height=u;var f=n&&n.lineWidth;return f&&(t.x=fc(r,f,!0),t.y=fc(a,f,!0),t.width=Math.max(fc(r+l,f,!1)-t.x,l===0?0:1),t.height=Math.max(fc(a+u,f,!1)-t.y,u===0?0:1)),t}}function fc(t,e,n){if(!e)return t;var r=vv(t*2);return(r+vv(e))%2===0?r/2:(r+(n?1:-1))/2}var X6=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),q6={},XO=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new X6},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=WO(q6,r,this.style);a=d.x,l=d.y,u=d.width,f=d.height,d.r=r.r,r=d}else a=r.x,l=r.y,u=r.width,f=r.height;r.r?W6(n,r):n.rect(a,l,u,f)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Gt);XO.prototype.type="rect";const Kr=XO;var qO={fill:"#000"},QO=2,Q6={style:Vt({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},J0.style)},ZO=function(t){mn(e,t);function e(n){var r=t.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=qO,r.attr(n),r}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n<this._children.length;n++){var r=this._children[n];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},e.prototype.updateTransform=function(){var n=this.innerTransformable;n?(n.updateTransform(),n.transform&&(this.transform=n.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(n){var r=this.innerTransformable;return r?r.getLocalTransform(n):t.prototype.getLocalTransform.call(this,n)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,t8(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(n){t.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=n},e.prototype.removeSelfFromZr=function(n){t.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var n=new Wt(0,0,0,0),r=this._children,a=[],l=null,u=0;u<r.length;u++){var f=r[u],d=f.getBoundingRect(),h=f.getLocalTransform(a);h?(n.copy(d),n.applyTransform(h),l=l||n.clone(),l.union(n)):(l=l||d.clone(),l.union(d))}this._rect=l||n}return this._rect},e.prototype.setDefaultTextStyle=function(n){this._defaultStyle=n||qO},e.prototype.setTextContent=function(n){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(n,r){if(!r)return n;var a=r.rich,l=n.rich||a&&{};return Re(n,r),a&&l?(this._mergeRich(l,a),n.rich=l):l&&(n.rich=l),n},e.prototype._mergeRich=function(n,r){for(var a=kn(r),l=0;l<a.length;l++){var u=a[l];n[u]=n[u]||{},Re(n[u],r[u])}},e.prototype.getAnimationStyleProps=function(){return Q6},e.prototype._getOrCreateChild=function(n){var r=this._children[this._childCursor];return(!r||!(r instanceof n))&&(r=new n),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},e.prototype._updatePlainTexts=function(){var n=this.style,r=n.font||$f,a=n.padding,l=i2(n),u=p6(l,n),f=tT(n),d=!!n.backgroundColor,h=u.outerHeight,p=u.outerWidth,m=u.contentWidth,S=u.lines,_=u.lineHeight,w=this._defaultStyle,E=n.x||0,b=n.y||0,D=n.align||w.align||"left",A=n.verticalAlign||w.verticalAlign||"top",O=E,P=lv(b,u.contentHeight,A);if(f||a){var I=Jp(E,p,D),F=lv(b,h,A);f&&this._renderBackground(n,n,I,F,p,h)}P+=_/2,a&&(O=r2(E,D,a),A==="top"?P+=a[0]:A==="bottom"&&(P-=a[2]));for(var U=0,H=!1,j=n2("fill"in n?n.fill:(H=!0,w.fill)),X=t2("stroke"in n?n.stroke:!d&&(!w.autoStroke||H)?(U=QO,w.stroke):null),G=n.textShadowBlur>0,ee=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),J=u.calculatedLineHeight,ie=0;ie<S.length;ie++){var ce=this._getOrCreateChild(eT),fe=ce.createStyle();ce.useStyle(fe),fe.text=S[ie],fe.x=O,fe.y=P,D&&(fe.textAlign=D),fe.textBaseline="middle",fe.opacity=n.opacity,fe.strokeFirst=!0,G&&(fe.shadowBlur=n.textShadowBlur||0,fe.shadowColor=n.textShadowColor||"transparent",fe.shadowOffsetX=n.textShadowOffsetX||0,fe.shadowOffsetY=n.textShadowOffsetY||0),fe.stroke=X,fe.fill=j,X&&(fe.lineWidth=n.lineWidth||U,fe.lineDash=n.lineDash,fe.lineDashOffset=n.lineDashOffset||0),fe.font=r,JO(fe,n),P+=_,ee&&ce.setBoundingRect(new Wt(Jp(fe.x,n.width,fe.textAlign),lv(fe.y,J,fe.textBaseline),m,J))}},e.prototype._updateRichTexts=function(){var n=this.style,r=i2(n),a=y6(r,n),l=a.width,u=a.outerWidth,f=a.outerHeight,d=n.padding,h=n.x||0,p=n.y||0,m=this._defaultStyle,S=n.align||m.align,_=n.verticalAlign||m.verticalAlign,w=Jp(h,u,S),E=lv(p,f,_),b=w,D=E;d&&(b+=d[3],D+=d[0]);var A=b+l;tT(n)&&this._renderBackground(n,n,w,E,u,f);for(var O=!!n.backgroundColor,P=0;P<a.lines.length;P++){for(var I=a.lines[P],F=I.tokens,U=F.length,H=I.lineHeight,j=I.width,X=0,G=b,ee=A,J=U-1,ie=void 0;X<U&&(ie=F[X],!ie.align||ie.align==="left");)this._placeToken(ie,n,H,D,G,"left",O),j-=ie.width,G+=ie.width,X++;for(;J>=0&&(ie=F[J],ie.align==="right");)this._placeToken(ie,n,H,D,ee,"right",O),j-=ie.width,ee-=ie.width,J--;for(G+=(l-(G-b)-(A-ee)-j)/2;X<=J;)ie=F[X],this._placeToken(ie,n,H,D,G+ie.width/2,"center",O),G+=ie.width,X++;D+=H}},e.prototype._placeToken=function(n,r,a,l,u,f,d){var h=r.rich[n.styleName]||{};h.text=n.text;var p=n.verticalAlign,m=l+a/2;p==="top"?m=l+n.height/2:p==="bottom"&&(m=l+a-n.height/2);var S=!n.isLineHolder&&tT(h);S&&this._renderBackground(h,r,f==="right"?u-n.width:f==="center"?u-n.width/2:u,m-n.height/2,n.width,n.height);var _=!!h.backgroundColor,w=n.textPadding;w&&(u=r2(u,f,w),m-=n.height/2-w[0]-n.innerHeight/2);var E=this._getOrCreateChild(eT),b=E.createStyle();E.useStyle(b);var D=this._defaultStyle,A=!1,O=0,P=n2("fill"in h?h.fill:"fill"in r?r.fill:(A=!0,D.fill)),I=t2("stroke"in h?h.stroke:"stroke"in r?r.stroke:!_&&!d&&(!D.autoStroke||A)?(O=QO,D.stroke):null),F=h.textShadowBlur>0||r.textShadowBlur>0;b.text=n.text,b.x=u,b.y=m,F&&(b.shadowBlur=h.textShadowBlur||r.textShadowBlur||0,b.shadowColor=h.textShadowColor||r.textShadowColor||"transparent",b.shadowOffsetX=h.textShadowOffsetX||r.textShadowOffsetX||0,b.shadowOffsetY=h.textShadowOffsetY||r.textShadowOffsetY||0),b.textAlign=f,b.textBaseline="middle",b.font=n.font||$f,b.opacity=Xd(h.opacity,r.opacity,1),JO(b,h),I&&(b.lineWidth=Xd(h.lineWidth,r.lineWidth,O),b.lineDash=kt(h.lineDash,r.lineDash),b.lineDashOffset=r.lineDashOffset||0,b.stroke=I),P&&(b.fill=P);var U=n.contentWidth,H=n.contentHeight;E.setBoundingRect(new Wt(Jp(b.x,U,b.textAlign),lv(b.y,H,b.textBaseline),U,H))},e.prototype._renderBackground=function(n,r,a,l,u,f){var d=n.backgroundColor,h=n.borderWidth,p=n.borderColor,m=d&&d.image,S=d&&!m,_=n.borderRadius,w=this,E,b;if(S||n.lineHeight||h&&p){E=this._getOrCreateChild(Kr),E.useStyle(E.createStyle()),E.style.fill=null;var D=E.shape;D.x=a,D.y=l,D.width=u,D.height=f,D.r=_,E.dirtyShape()}if(S){var A=E.style;A.fill=d||null,A.fillOpacity=kt(n.fillOpacity,1)}else if(m){b=this._getOrCreateChild(dv),b.onload=function(){w.dirtyStyle()};var O=b.style;O.image=d.image,O.x=a,O.y=l,O.width=u,O.height=f}if(h&&p){var A=E.style;A.lineWidth=h,A.stroke=p,A.strokeOpacity=kt(n.strokeOpacity,1),A.lineDash=n.borderDash,A.lineDashOffset=n.borderDashOffset||0,E.strokeContainThreshold=0,E.hasFill()&&E.hasStroke()&&(A.strokeFirst=!0,A.lineWidth*=2)}var P=(E||b).style;P.shadowBlur=n.shadowBlur||0,P.shadowColor=n.shadowColor||"transparent",P.shadowOffsetX=n.shadowOffsetX||0,P.shadowOffsetY=n.shadowOffsetY||0,P.opacity=Xd(n.opacity,r.opacity,1)},e.makeFont=function(n){var r="";return e8(n)&&(r=[n.fontStyle,n.fontWeight,J6(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&yl(r)||n.textFont||n.font},e}(fv),Z6={left:!0,right:1,center:1},K6={top:1,bottom:1,middle:1},KO=["fontStyle","fontWeight","fontSize","fontFamily"];function J6(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?Uw+"px":t+"px"}function JO(t,e){for(var n=0;n<KO.length;n++){var r=KO[n],a=e[r];a!=null&&(t[r]=a)}}function e8(t){return t.fontSize!=null||t.fontFamily||t.fontWeight}function t8(t){return e2(t),W(t.rich,e2),t}function e2(t){if(t){t.font=ZO.makeFont(t);var e=t.align;e==="middle"&&(e="center"),t.align=e==null||Z6[e]?e:"left";var n=t.verticalAlign;n==="center"&&(n="middle"),t.verticalAlign=n==null||K6[n]?n:"top";var r=t.padding;r&&(t.padding=aL(t.padding))}}function t2(t,e){return t==null||e<=0||t==="transparent"||t==="none"?null:t.image||t.colorStops?"#000":t}function n2(t){return t==null||t==="none"?null:t.image||t.colorStops?"#000":t}function r2(t,e,n){return e==="right"?t-n[1]:e==="center"?t+n[3]/2-n[1]/2:t+n[3]}function i2(t){var e=t.text;return e!=null&&(e+=""),e}function tT(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const ko=ZO;var yn=jn(),n8=function(t,e,n,r){if(r){var a=yn(r);a.dataIndex=n,a.dataType=e,a.seriesIndex=t,r.type==="group"&&r.traverse(function(l){var u=yn(l);u.seriesIndex=t,u.dataIndex=n,u.dataType=e})}},a2=1,o2={},l2=jn(),nT=jn(),u2=0,rT=1,iT=2,Ml=["emphasis","blur","select"],r_=["normal","emphasis","blur","select"],r8=10,i8=9,cc="highlight",i_="downplay",ug="select",a_="unselect",sg="toggleSelect";function hv(t){return t!=null&&t!=="none"}var s2=new Yp(100);function f2(t){if(et(t)){var e=s2.get(t);return e||(e=GL(t,-.1),s2.put(t,e)),e}else if(T0(t)){var n=Re({},t);return n.colorStops=ot(t.colorStops,function(r){return{offset:r.offset,color:GL(r.color,-.1)}}),n}return t}function o_(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function c2(t){o_(t,"emphasis",iT)}function d2(t){t.hoverState===iT&&o_(t,"normal",u2)}function aT(t){o_(t,"blur",rT)}function v2(t){t.hoverState===rT&&o_(t,"normal",u2)}function a8(t){t.selected=!0}function o8(t){t.selected=!1}function h2(t,e,n){e(t,n)}function xu(t,e,n){h2(t,e,n),t.isGroup&&t.traverse(function(r){h2(r,e,n)})}function l8(t,e,n,r){for(var a=t.style,l={},u=0;u<e.length;u++){var f=e[u],d=a[f];l[f]=d??(r&&r[f])}for(var u=0;u<t.animators.length;u++){var h=t.animators[u];h.__fromStateTransition&&h.__fromStateTransition.indexOf(n)<0&&h.targetName==="style"&&h.saveTo(l,e)}return l}function u8(t,e,n,r){var a=n&&dn(n,"select")>=0,l=!1;if(t instanceof Gt){var u=l2(t),f=a&&u.selectFill||u.normalFill,d=a&&u.selectStroke||u.normalStroke;if(hv(f)||hv(d)){r=r||{};var h=r.style||{};h.fill==="inherit"?(l=!0,r=Re({},r),h=Re({},h),h.fill=f):!hv(h.fill)&&hv(f)?(l=!0,r=Re({},r),h=Re({},h),h.fill=f2(f)):!hv(h.stroke)&&hv(d)&&(l||(r=Re({},r),h=Re({},h)),h.stroke=f2(d)),r.style=h}}if(r&&r.z2==null){l||(r=Re({},r));var p=t.z2EmphasisLift;r.z2=t.z2+(p??r8)}return r}function s8(t,e,n){if(n&&n.z2==null){n=Re({},n);var r=t.z2SelectLift;n.z2=t.z2+(r??i8)}return n}function f8(t,e,n){var r=dn(t.currentStates,e)>=0,a=t.style.opacity,l=r?null:l8(t,["opacity"],e,{opacity:1});n=n||{};var u=n.style||{};return u.opacity==null&&(n=Re({},n),u=Re({opacity:r?a:l.opacity*.1},u),n.style=u),n}function oT(t,e){var n=this.states[t];if(this.style){if(t==="emphasis")return u8(this,t,e,n);if(t==="blur")return f8(this,t,n);if(t==="select")return s8(this,t,n)}return n}function c8(t){t.stateProxy=oT;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=oT),n&&(n.stateProxy=oT)}function p2(t,e){!S2(t,e)&&!t.__highByOuter&&xu(t,c2)}function g2(t,e){!S2(t,e)&&!t.__highByOuter&&xu(t,d2)}function lT(t,e){t.__highByOuter|=1<<(e||0),xu(t,c2)}function uT(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&xu(t,d2)}function d8(t){xu(t,aT)}function m2(t){xu(t,v2)}function y2(t){xu(t,a8)}function _2(t){xu(t,o8)}function S2(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function C2(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(a,l){var u=nT(l),f=a==="series",d=f?t.getViewOfSeriesModel(l):t.getViewOfComponentModel(l);!f&&r.push(d),u.isBlured&&(d.group.traverse(function(h){v2(h)}),f&&n.push(l)),u.isBlured=!1}),W(r,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(n,!1,e)})}function sT(t,e,n,r){var a=r.getModel();n=n||"coordinateSystem";function l(h,p){for(var m=0;m<p.length;m++){var S=h.getItemGraphicEl(p[m]);S&&m2(S)}}if(t!=null&&!(!e||e==="none")){var u=a.getSeriesByIndex(t),f=u.coordinateSystem;f&&f.master&&(f=f.master);var d=[];a.eachSeries(function(h){var p=u===h,m=h.coordinateSystem;m&&m.master&&(m=m.master);var S=m&&f?m===f:p;if(!(n==="series"&&!p||n==="coordinateSystem"&&!S||e==="series"&&p)){var _=r.getViewOfSeriesModel(h);if(_.group.traverse(function(b){aT(b)}),Ai(e))l(h.getData(),e);else if(it(e))for(var w=kn(e),E=0;E<w.length;E++)l(h.getData(w[E]),e[w[E]]);d.push(h),nT(h).isBlured=!0}}),a.eachComponent(function(h,p){if(h!=="series"){var m=r.getViewOfComponentModel(p);m&&m.toggleBlurSeries&&m.toggleBlurSeries(d,!0,a)}})}}function fT(t,e,n){if(!(t==null||e==null)){var r=n.getModel().getComponent(t,e);if(r){nT(r).isBlured=!0;var a=n.getViewOfComponentModel(r);!a||!a.focusBlurEnabled||a.group.traverse(function(l){aT(l)})}}}function v8(t,e,n){var r=t.seriesIndex,a=t.getData(e.dataType);if(!a){process.env.NODE_ENV!=="production"&&ci("Unknown dataType "+e.dataType);return}var l=rg(a,e);l=(Be(l)?l[0]:l)||0;var u=a.getItemGraphicEl(l);if(!u)for(var f=a.count(),d=0;!u&&d<f;)u=a.getItemGraphicEl(d++);if(u){var h=yn(u);sT(r,h.focus,h.blurScope,n)}else{var p=t.get(["emphasis","focus"]),m=t.get(["emphasis","blurScope"]);p!=null&&sT(r,p,m,n)}}function cT(t,e,n,r){var a={focusSelf:!1,dispatchers:null};if(t==null||t==="series"||e==null||n==null)return a;var l=r.getModel().getComponent(t,e);if(!l)return a;var u=r.getViewOfComponentModel(l);if(!u||!u.findHighDownDispatchers)return a;for(var f=u.findHighDownDispatchers(n),d,h=0;h<f.length;h++)if(process.env.NODE_ENV!=="production"&&!pv(f[h])&&ci("param should be highDownDispatcher"),yn(f[h]).focus==="self"){d=!0;break}return{focusSelf:d,dispatchers:f}}function h8(t,e,n){process.env.NODE_ENV!=="production"&&!pv(t)&&ci("param should be highDownDispatcher");var r=yn(t),a=cT(r.componentMainType,r.componentIndex,r.componentHighDownName,n),l=a.dispatchers,u=a.focusSelf;l?(u&&fT(r.componentMainType,r.componentIndex,n),W(l,function(f){return p2(f,e)})):(sT(r.seriesIndex,r.focus,r.blurScope,n),r.focus==="self"&&fT(r.componentMainType,r.componentIndex,n),p2(t,e))}function p8(t,e,n){process.env.NODE_ENV!=="production"&&!pv(t)&&ci("param should be highDownDispatcher"),C2(n);var r=yn(t),a=cT(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;a?W(a,function(l){return g2(l,e)}):g2(t,e)}function g8(t,e,n){if(dT(e)){var r=e.dataType,a=t.getData(r),l=rg(a,e);Be(l)||(l=[l]),t[e.type===sg?"toggleSelect":e.type===ug?"select":"unselect"](l,r)}}function w2(t){var e=t.getAllData();W(e,function(n){var r=n.data,a=n.type;r.eachItemGraphicEl(function(l,u){t.isSelected(u,a)?y2(l):_2(l)})})}function m8(t){var e=[];return t.eachSeries(function(n){var r=n.getAllData();W(r,function(a){a.data;var l=a.type,u=n.getSelectedDataIndices();if(u.length>0){var f={dataIndex:u,seriesIndex:n.seriesIndex};l!=null&&(f.dataType=l),e.push(f)}})}),e}function y8(t,e,n){T2(t,!0),xu(t,c8),C8(t,e,n)}function _8(t){T2(t,!1)}function S8(t,e,n,r){r?_8(t):y8(t,e,n)}function C8(t,e,n){var r=yn(t);e!=null?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}var x2=["emphasis","blur","select"],w8={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function x8(t,e,n,r){n=n||"itemStyle";for(var a=0;a<x2.length;a++){var l=x2[a],u=e.getModel([l,n]),f=t.ensureState(l);f.style=r?r(u):u[w8[n]]()}}function T2(t,e){var n=e===!1,r=t;t.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function pv(t){return!!(t&&t.__highDownDispatcher)}function T8(t){var e=o2[t];return e==null&&a2<=32&&(e=o2[t]=a2++),e}function dT(t){var e=t.type;return e===ug||e===a_||e===sg}function b2(t){var e=t.type;return e===cc||e===i_}function b8(t){var e=l2(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}var gv=As.CMD,E8=[[],[],[]],E2=Math.sqrt,D8=Math.atan2;function D2(t,e){if(e){var n=t.data,r=t.len(),a,l,u,f,d,h,p=gv.M,m=gv.C,S=gv.L,_=gv.R,w=gv.A,E=gv.Q;for(u=0,f=0;u<r;){switch(a=n[u++],f=u,l=0,a){case p:l=1;break;case S:l=1;break;case m:l=3;break;case E:l=2;break;case w:var b=e[4],D=e[5],A=E2(e[0]*e[0]+e[1]*e[1]),O=E2(e[2]*e[2]+e[3]*e[3]),P=D8(-e[1]/O,e[0]/A);n[u]*=A,n[u++]+=b,n[u]*=O,n[u++]+=D,n[u++]*=A,n[u++]*=O,n[u++]+=P,n[u++]+=P,u+=2,f=u;break;case _:h[0]=n[u++],h[1]=n[u++],eo(h,h,e),n[f++]=h[0],n[f++]=h[1],h[0]+=n[u++],h[1]+=n[u++],eo(h,h,e),n[f++]=h[0],n[f++]=h[1]}for(d=0;d<l;d++){var I=E8[d];I[0]=n[u++],I[1]=n[u++],eo(I,I,e),n[f++]=I[0],n[f++]=I[1]}}t.increaseVersion()}}var vT=Math.sqrt,l_=Math.sin,u_=Math.cos,fg=Math.PI;function M2(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function hT(t,e){return(t[0]*e[0]+t[1]*e[1])/(M2(t)*M2(e))}function R2(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(hT(t,e))}function A2(t,e,n,r,a,l,u,f,d,h,p){var m=d*(fg/180),S=u_(m)*(t-n)/2+l_(m)*(e-r)/2,_=-1*l_(m)*(t-n)/2+u_(m)*(e-r)/2,w=S*S/(u*u)+_*_/(f*f);w>1&&(u*=vT(w),f*=vT(w));var E=(a===l?-1:1)*vT((u*u*(f*f)-u*u*(_*_)-f*f*(S*S))/(u*u*(_*_)+f*f*(S*S)))||0,b=E*u*_/f,D=E*-f*S/u,A=(t+n)/2+u_(m)*b-l_(m)*D,O=(e+r)/2+l_(m)*b+u_(m)*D,P=R2([1,0],[(S-b)/u,(_-D)/f]),I=[(S-b)/u,(_-D)/f],F=[(-1*S-b)/u,(-1*_-D)/f],U=R2(I,F);if(hT(I,F)<=-1&&(U=fg),hT(I,F)>=1&&(U=0),U<0){var H=Math.round(U/fg*1e6)/1e6;U=fg*2+H%2*fg}p.addData(h,A,O,u,f,P,U,m,l)}var M8=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,R8=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function A8(t){var e=new As;if(!t)return e;var n=0,r=0,a=n,l=r,u,f=As.CMD,d=t.match(M8);if(!d)return e;for(var h=0;h<d.length;h++){for(var p=d[h],m=p.charAt(0),S=void 0,_=p.match(R8)||[],w=_.length,E=0;E<w;E++)_[E]=parseFloat(_[E]);for(var b=0;b<w;){var D=void 0,A=void 0,O=void 0,P=void 0,I=void 0,F=void 0,U=void 0,H=n,j=r,X=void 0,G=void 0;switch(m){case"l":n+=_[b++],r+=_[b++],S=f.L,e.addData(S,n,r);break;case"L":n=_[b++],r=_[b++],S=f.L,e.addData(S,n,r);break;case"m":n+=_[b++],r+=_[b++],S=f.M,e.addData(S,n,r),a=n,l=r,m="l";break;case"M":n=_[b++],r=_[b++],S=f.M,e.addData(S,n,r),a=n,l=r,m="L";break;case"h":n+=_[b++],S=f.L,e.addData(S,n,r);break;case"H":n=_[b++],S=f.L,e.addData(S,n,r);break;case"v":r+=_[b++],S=f.L,e.addData(S,n,r);break;case"V":r=_[b++],S=f.L,e.addData(S,n,r);break;case"C":S=f.C,e.addData(S,_[b++],_[b++],_[b++],_[b++],_[b++],_[b++]),n=_[b-2],r=_[b-1];break;case"c":S=f.C,e.addData(S,_[b++]+n,_[b++]+r,_[b++]+n,_[b++]+r,_[b++]+n,_[b++]+r),n+=_[b-2],r+=_[b-1];break;case"S":D=n,A=r,X=e.len(),G=e.data,u===f.C&&(D+=n-G[X-4],A+=r-G[X-3]),S=f.C,H=_[b++],j=_[b++],n=_[b++],r=_[b++],e.addData(S,D,A,H,j,n,r);break;case"s":D=n,A=r,X=e.len(),G=e.data,u===f.C&&(D+=n-G[X-4],A+=r-G[X-3]),S=f.C,H=n+_[b++],j=r+_[b++],n+=_[b++],r+=_[b++],e.addData(S,D,A,H,j,n,r);break;case"Q":H=_[b++],j=_[b++],n=_[b++],r=_[b++],S=f.Q,e.addData(S,H,j,n,r);break;case"q":H=_[b++]+n,j=_[b++]+r,n+=_[b++],r+=_[b++],S=f.Q,e.addData(S,H,j,n,r);break;case"T":D=n,A=r,X=e.len(),G=e.data,u===f.Q&&(D+=n-G[X-4],A+=r-G[X-3]),n=_[b++],r=_[b++],S=f.Q,e.addData(S,D,A,n,r);break;case"t":D=n,A=r,X=e.len(),G=e.data,u===f.Q&&(D+=n-G[X-4],A+=r-G[X-3]),n+=_[b++],r+=_[b++],S=f.Q,e.addData(S,D,A,n,r);break;case"A":O=_[b++],P=_[b++],I=_[b++],F=_[b++],U=_[b++],H=n,j=r,n=_[b++],r=_[b++],S=f.A,A2(H,j,n,r,F,U,O,P,I,S,e);break;case"a":O=_[b++],P=_[b++],I=_[b++],F=_[b++],U=_[b++],H=n,j=r,n+=_[b++],r+=_[b++],S=f.A,A2(H,j,n,r,F,U,O,P,I,S,e);break}}(m==="z"||m==="Z")&&(S=f.Z,e.addData(S),n=a,r=l),u=S}return e.toStatic(),e}var L2=function(t){mn(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.applyTransform=function(n){},e}(Gt);function O2(t){return t.setData!=null}function k2(t,e){var n=A8(t),r=Re({},e);return r.buildPath=function(a){if(O2(a)){a.setData(n.data);var l=a.getContext();l&&a.rebuildPath(l,1)}else{var l=a;n.rebuildPath(l,1)}},r.applyTransform=function(a){D2(n,a),this.dirtyShape()},r}function L8(t,e){return new L2(k2(t,e))}function O8(t,e){var n=k2(t,e),r=function(a){mn(l,a);function l(u){var f=a.call(this,u)||this;return f.applyTransform=n.applyTransform,f.buildPath=n.buildPath,f}return l}(L2);return r}function k8(t,e){for(var n=[],r=t.length,a=0;a<r;a++){var l=t[a];n.push(l.getUpdatedPathProxy(!0))}var u=new Gt(e);return u.createPathProxy(),u.buildPath=function(f){if(O2(f)){f.appendPath(n);var d=f.getContext();d&&f.rebuildPath(d,1)}},u}function pT(t,e){e=e||{};var n=new Gt;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?D2(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var N8=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),N2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new N8},e.prototype.buildPath=function(n,r){n.moveTo(r.cx+r.r,r.cy),n.arc(r.cx,r.cy,r.r,0,Math.PI*2)},e}(Gt);N2.prototype.type="circle";const gT=N2;var P8=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),P2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new P8},e.prototype.buildPath=function(n,r){var a=.5522848,l=r.cx,u=r.cy,f=r.rx,d=r.ry,h=f*a,p=d*a;n.moveTo(l-f,u),n.bezierCurveTo(l-f,u-p,l-h,u-d,l,u-d),n.bezierCurveTo(l+h,u-d,l+f,u-p,l+f,u),n.bezierCurveTo(l+f,u+p,l+h,u+d,l,u+d),n.bezierCurveTo(l-h,u+d,l-f,u+p,l-f,u),n.closePath()},e}(Gt);P2.prototype.type="ellipse";const I2=P2;var z2=Math.PI,mT=z2*2,dc=Math.sin,mv=Math.cos,I8=Math.acos,di=Math.atan2,F2=Math.abs,cg=Math.sqrt,dg=Math.max,Rl=Math.min,No=1e-4;function z8(t,e,n,r,a,l,u,f){var d=n-t,h=r-e,p=u-a,m=f-l,S=m*d-p*h;if(!(S*S<No))return S=(p*(e-l)-m*(t-a))/S,[t+S*d,e+S*h]}function s_(t,e,n,r,a,l,u){var f=t-n,d=e-r,h=(u?l:-l)/cg(f*f+d*d),p=h*d,m=-h*f,S=t+p,_=e+m,w=n+p,E=r+m,b=(S+w)/2,D=(_+E)/2,A=w-S,O=E-_,P=A*A+O*O,I=a-l,F=S*E-w*_,U=(O<0?-1:1)*cg(dg(0,I*I*P-F*F)),H=(F*O-A*U)/P,j=(-F*A-O*U)/P,X=(F*O+A*U)/P,G=(-F*A+O*U)/P,ee=H-b,J=j-D,ie=X-b,ce=G-D;return ee*ee+J*J>ie*ie+ce*ce&&(H=X,j=G),{cx:H,cy:j,x0:-p,y0:-m,x1:H*(a/I-1),y1:j*(a/I-1)}}function F8(t){var e;if(Be(t)){var n=t.length;if(!n)return t;n===1?e=[t[0],t[0],0,0]:n===2?e=[t[0],t[0],t[1],t[1]]:n===3?e=t.concat(t[2]):e=t}else e=[t,t,t,t];return e}function B8(t,e){var n,r=dg(e.r,0),a=dg(e.r0||0,0),l=r>0,u=a>0;if(!(!l&&!u)){if(l||(r=a,a=0),a>r){var f=r;r=a,a=f}var d=e.startAngle,h=e.endAngle;if(!(isNaN(d)||isNaN(h))){var p=e.cx,m=e.cy,S=!!e.clockwise,_=F2(h-d),w=_>mT&&_%mT;if(w>No&&(_=w),!(r>No))t.moveTo(p,m);else if(_>mT-No)t.moveTo(p+r*mv(d),m+r*dc(d)),t.arc(p,m,r,d,h,!S),a>No&&(t.moveTo(p+a*mv(h),m+a*dc(h)),t.arc(p,m,a,h,d,S));else{var E=void 0,b=void 0,D=void 0,A=void 0,O=void 0,P=void 0,I=void 0,F=void 0,U=void 0,H=void 0,j=void 0,X=void 0,G=void 0,ee=void 0,J=void 0,ie=void 0,ce=r*mv(d),fe=r*dc(d),Pe=a*mv(h),ae=a*dc(h),ge=_>No;if(ge){var pe=e.cornerRadius;pe&&(n=F8(pe),E=n[0],b=n[1],D=n[2],A=n[3]);var Le=F2(r-a)/2;if(O=Rl(Le,D),P=Rl(Le,A),I=Rl(Le,E),F=Rl(Le,b),j=U=dg(O,P),X=H=dg(I,F),(U>No||H>No)&&(G=r*mv(h),ee=r*dc(h),J=a*mv(d),ie=a*dc(d),_<z2)){var Ge=z8(ce,fe,J,ie,G,ee,Pe,ae);if(Ge){var St=ce-Ge[0],It=fe-Ge[1],Dn=G-Ge[0],Xt=ee-Ge[1],Mn=1/dc(I8((St*Dn+It*Xt)/(cg(St*St+It*It)*cg(Dn*Dn+Xt*Xt)))/2),on=cg(Ge[0]*Ge[0]+Ge[1]*Ge[1]);j=Rl(U,(r-on)/(Mn+1)),X=Rl(H,(a-on)/(Mn-1))}}}if(!ge)t.moveTo(p+ce,m+fe);else if(j>No){var zt=Rl(D,j),Ft=Rl(A,j),$e=s_(J,ie,ce,fe,r,zt,S),Se=s_(G,ee,Pe,ae,r,Ft,S);t.moveTo(p+$e.cx+$e.x0,m+$e.cy+$e.y0),j<U&&zt===Ft?t.arc(p+$e.cx,m+$e.cy,j,di($e.y0,$e.x0),di(Se.y0,Se.x0),!S):(zt>0&&t.arc(p+$e.cx,m+$e.cy,zt,di($e.y0,$e.x0),di($e.y1,$e.x1),!S),t.arc(p,m,r,di($e.cy+$e.y1,$e.cx+$e.x1),di(Se.cy+Se.y1,Se.cx+Se.x1),!S),Ft>0&&t.arc(p+Se.cx,m+Se.cy,Ft,di(Se.y1,Se.x1),di(Se.y0,Se.x0),!S))}else t.moveTo(p+ce,m+fe),t.arc(p,m,r,d,h,!S);if(!(a>No)||!ge)t.lineTo(p+Pe,m+ae);else if(X>No){var zt=Rl(E,X),Ft=Rl(b,X),$e=s_(Pe,ae,G,ee,a,-Ft,S),Se=s_(ce,fe,J,ie,a,-zt,S);t.lineTo(p+$e.cx+$e.x0,m+$e.cy+$e.y0),X<H&&zt===Ft?t.arc(p+$e.cx,m+$e.cy,X,di($e.y0,$e.x0),di(Se.y0,Se.x0),!S):(Ft>0&&t.arc(p+$e.cx,m+$e.cy,Ft,di($e.y0,$e.x0),di($e.y1,$e.x1),!S),t.arc(p,m,a,di($e.cy+$e.y1,$e.cx+$e.x1),di(Se.cy+Se.y1,Se.cx+Se.x1),S),zt>0&&t.arc(p+Se.cx,m+Se.cy,zt,di(Se.y1,Se.x1),di(Se.y0,Se.x0),!S))}else t.lineTo(p+Pe,m+ae),t.arc(p,m,a,h,d,S)}t.closePath()}}}var U8=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return t}(),B2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new U8},e.prototype.buildPath=function(n,r){B8(n,r)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Gt);B2.prototype.type="sector";const vc=B2;var V8=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),U2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new V8},e.prototype.buildPath=function(n,r){var a=r.cx,l=r.cy,u=Math.PI*2;n.moveTo(a+r.r,l),n.arc(a,l,r.r,0,u,!1),n.moveTo(a+r.r0,l),n.arc(a,l,r.r0,0,u,!0)},e}(Gt);U2.prototype.type="ring";const V2=U2;function H8(t,e,n,r){var a=[],l=[],u=[],f=[],d,h,p,m;if(r){p=[1/0,1/0],m=[-1/0,-1/0];for(var S=0,_=t.length;S<_;S++)Zd(p,p,t[S]),Kd(m,m,t[S]);Zd(p,p,r[0]),Kd(m,m,r[1])}for(var S=0,_=t.length;S<_;S++){var w=t[S];if(n)d=t[S?S-1:_-1],h=t[(S+1)%_];else if(S===0||S===_-1){a.push(fH(t[S]));continue}else d=t[S-1],h=t[S+1];cH(l,h,d),jw(l,l,e);var E=Yw(w,d),b=Yw(w,h),D=E+b;D!==0&&(E/=D,b/=D),jw(u,l,-E),jw(f,l,b);var A=sL([],w,u),O=sL([],w,f);r&&(Kd(A,A,p),Zd(A,A,m),Kd(O,O,p),Zd(O,O,m)),a.push(A),a.push(O)}return n&&a.push(a.shift()),a}function H2(t,e,n){var r=e.smooth,a=e.points;if(a&&a.length>=2){if(r){var l=H8(a,r,n,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var u=a.length,f=0;f<(n?u:u-1);f++){var d=l[f*2],h=l[f*2+1],p=a[(f+1)%u];t.bezierCurveTo(d[0],d[1],h[0],h[1],p[0],p[1])}}else{t.moveTo(a[0][0],a[0][1]);for(var f=1,m=a.length;f<m;f++)t.lineTo(a[f][0],a[f][1])}n&&t.closePath()}}var G8=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),G2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new G8},e.prototype.buildPath=function(n,r){H2(n,r,!0)},e}(Gt);G2.prototype.type="polygon";const yT=G2;var $8=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),$2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new $8},e.prototype.buildPath=function(n,r){H2(n,r,!1)},e}(Gt);$2.prototype.type="polyline";const _T=$2;var j8={},Y8=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),j2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Y8},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=YO(j8,r,this.style);a=d.x1,l=d.y1,u=d.x2,f=d.y2}else a=r.x1,l=r.y1,u=r.x2,f=r.y2;var h=r.percent;h!==0&&(n.moveTo(a,l),h<1&&(u=a*(1-h)+u*h,f=l*(1-h)+f*h),n.lineTo(u,f))},e.prototype.pointAt=function(n){var r=this.shape;return[r.x1*(1-n)+r.x2*n,r.y1*(1-n)+r.y2*n]},e}(Gt);j2.prototype.type="line";const hc=j2;var aa=[],W8=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function Y2(t,e,n){var r=t.cpx2,a=t.cpy2;return r!=null||a!=null?[(n?AL:Qr)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?AL:Qr)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?NL:fi)(t.x1,t.cpx1,t.x2,e),(n?NL:fi)(t.y1,t.cpy1,t.y2,e)]}var W2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new W8},e.prototype.buildPath=function(n,r){var a=r.x1,l=r.y1,u=r.x2,f=r.y2,d=r.cpx1,h=r.cpy1,p=r.cpx2,m=r.cpy2,S=r.percent;S!==0&&(n.moveTo(a,l),p==null||m==null?(S<1&&(I0(a,d,u,S,aa),d=aa[1],u=aa[2],I0(l,h,f,S,aa),h=aa[1],f=aa[2]),n.quadraticCurveTo(d,h,u,f)):(S<1&&(Es(a,d,p,u,S,aa),d=aa[1],p=aa[2],u=aa[3],Es(l,h,m,f,S,aa),h=aa[1],m=aa[2],f=aa[3]),n.bezierCurveTo(d,h,p,m,u,f)))},e.prototype.pointAt=function(n){return Y2(this.shape,n,!1)},e.prototype.tangentAt=function(n){var r=Y2(this.shape,n,!0);return hH(r,r)},e}(Gt);W2.prototype.type="bezier-curve";const X2=W2;var X8=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),q2=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new X8},e.prototype.buildPath=function(n,r){var a=r.cx,l=r.cy,u=Math.max(r.r,0),f=r.startAngle,d=r.endAngle,h=r.clockwise,p=Math.cos(f),m=Math.sin(f);n.moveTo(p*u+a,m*u+l),n.arc(a,l,u,f,d,!h)},e}(Gt);q2.prototype.type="arc";const ST=q2;var q8=function(t){mn(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="compound",n}return e.prototype._updatePathDirty=function(){for(var n=this.shape.paths,r=this.shapeChanged(),a=0;a<n.length;a++)r=r||n[a].shapeChanged();r&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var n=this.shape.paths||[],r=this.getGlobalScale(),a=0;a<n.length;a++)n[a].path||n[a].createPathProxy(),n[a].path.setScale(r[0],r[1],n[a].segmentIgnoreThreshold)},e.prototype.buildPath=function(n,r){for(var a=r.paths||[],l=0;l<a.length;l++)a[l].buildPath(n,a[l].shape,!0)},e.prototype.afterBrush=function(){for(var n=this.shape.paths||[],r=0;r<n.length;r++)n[r].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Gt.prototype.getBoundingRect.call(this)},e}(Gt);const Q8=q8;var Z8=function(){function t(e){this.colorStops=e||[]}return t.prototype.addColorStop=function(e,n){this.colorStops.push({offset:e,color:n})},t}();const Q2=Z8;var K8=function(t){mn(e,t);function e(n,r,a,l,u,f){var d=t.call(this,u)||this;return d.x=n??0,d.y=r??0,d.x2=a??1,d.y2=l??0,d.type="linear",d.global=f||!1,d}return e}(Q2);const J8=K8;var eG=function(t){mn(e,t);function e(n,r,a,l,u){var f=t.call(this,l)||this;return f.x=n??.5,f.y=r??.5,f.r=a??.5,f.type="radial",f.global=u||!1,f}return e}(Q2);const tG=eG;var pc=[0,0],gc=[0,0],f_=new ht,c_=new ht,nG=function(){function t(e,n){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new ht;for(var r=0;r<2;r++)this._axes[r]=new ht;e&&this.fromBoundingRect(e,n)}return t.prototype.fromBoundingRect=function(e,n){var r=this._corners,a=this._axes,l=e.x,u=e.y,f=l+e.width,d=u+e.height;if(r[0].set(l,u),r[1].set(f,u),r[2].set(f,d),r[3].set(l,d),n)for(var h=0;h<4;h++)r[h].transform(n);ht.sub(a[0],r[1],r[0]),ht.sub(a[1],r[3],r[0]),a[0].normalize(),a[1].normalize();for(var h=0;h<2;h++)this._origin[h]=a[h].dot(r[0])},t.prototype.intersect=function(e,n){var r=!0,a=!n;return f_.set(1/0,1/0),c_.set(0,0),!this._intersectCheckOneSide(this,e,f_,c_,a,1)&&(r=!1,a)||!this._intersectCheckOneSide(e,this,f_,c_,a,-1)&&(r=!1,a)||a||ht.copy(n,r?f_:c_),r},t.prototype._intersectCheckOneSide=function(e,n,r,a,l,u){for(var f=!0,d=0;d<2;d++){var h=this._axes[d];if(this._getProjMinMaxOnAxis(d,e._corners,pc),this._getProjMinMaxOnAxis(d,n._corners,gc),pc[1]<gc[0]||pc[0]>gc[1]){if(f=!1,l)return f;var p=Math.abs(gc[0]-pc[1]),m=Math.abs(pc[0]-gc[1]);Math.min(p,m)>a.len()&&(p<m?ht.scale(a,h,-p*u):ht.scale(a,h,m*u))}else if(r){var p=Math.abs(gc[0]-pc[1]),m=Math.abs(pc[0]-gc[1]);Math.min(p,m)<r.len()&&(p<m?ht.scale(r,h,p*u):ht.scale(r,h,-m*u))}}return f},t.prototype._getProjMinMaxOnAxis=function(e,n,r){for(var a=this._axes[e],l=this._origin,u=n[0].dot(a)+l[e],f=u,d=u,h=1;h<n.length;h++){var p=n[h].dot(a)+l[e];f=Math.min(p,f),d=Math.max(p,d)}r[0]=f,r[1]=d},t}();const d_=nG;var rG=[],iG=function(t){mn(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.notClear=!0,n.incremental=!0,n._displayables=[],n._temporaryDisplayables=[],n._cursor=0,n}return e.prototype.traverse=function(n,r){n.call(r,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(n,r){r?this._temporaryDisplayables.push(n):this._displayables.push(n),this.markRedraw()},e.prototype.addDisplayables=function(n,r){r=r||!1;for(var a=0;a<n.length;a++)this.addDisplayable(n[a],r)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(n){for(var r=this._cursor;r<this._displayables.length;r++)n&&n(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)n&&n(this._temporaryDisplayables[r])},e.prototype.update=function(){this.updateTransform();for(var n=this._cursor;n<this._displayables.length;n++){var r=this._displayables[n];r.parent=this,r.update(),r.parent=null}for(var n=0;n<this._temporaryDisplayables.length;n++){var r=this._temporaryDisplayables[n];r.parent=this,r.update(),r.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var n=new Wt(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var a=this._displayables[r],l=a.getBoundingRect().clone();a.needLocalTransform()&&l.applyTransform(a.getLocalTransform(rG)),n.union(l)}this._rect=n}return this._rect},e.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),l=this.getBoundingRect();if(l.contain(a[0],a[1]))for(var u=0;u<this._displayables.length;u++){var f=this._displayables[u];if(f.contain(n,r))return!0}return!1},e}(fv);const aG=iG;var Z2=jn();function v_(t,e,n,r,a){var l;if(e&&e.ecModel){var u=e.ecModel.getUpdatePayload();l=u&&u.animation}var f=e&&e.isAnimationEnabled(),d=t==="update";if(f){var h=void 0,p=void 0,m=void 0;r?(h=kt(r.duration,200),p=kt(r.easing,"cubicOut"),m=0):(h=e.getShallow(d?"animationDurationUpdate":"animationDuration"),p=e.getShallow(d?"animationEasingUpdate":"animationEasing"),m=e.getShallow(d?"animationDelayUpdate":"animationDelay")),l&&(l.duration!=null&&(h=l.duration),l.easing!=null&&(p=l.easing),l.delay!=null&&(m=l.delay)),_t(m)&&(m=m(n,a)),_t(h)&&(h=h(n));var S={duration:h||0,delay:m,easing:p};return S}else return null}function CT(t,e,n,r,a,l,u){var f=!1,d;_t(a)?(u=l,l=a,a=null):it(a)&&(l=a.cb,u=a.during,f=a.isFrom,d=a.removeOpt,a=a.dataIndex);var h=t==="leave";h||e.stopAnimation("leave");var p=v_(t,r,a,h?d||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var m=p.duration,S=p.delay,_=p.easing,w={duration:m,delay:S||0,easing:_,done:l,force:!!l||!!u,setToFinal:!h,scope:t,during:u};f?e.animateFrom(n,w):e.animateTo(n,w)}else e.stopAnimation(),!f&&e.attr(n),u&&u(1),l&&l()}function Po(t,e,n,r,a,l){CT("update",t,e,n,r,a,l)}function Io(t,e,n,r,a,l){CT("enter",t,e,n,r,a,l)}function yv(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var n=t.animators[e];if(n.scope==="leave")return!0}return!1}function K2(t,e,n,r,a,l){yv(t)||CT("leave",t,e,n,r,a,l)}function J2(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),K2(t,{style:{opacity:0}},e,n,r)}function wT(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(a){a.isGroup||J2(a,e,n,r)}):J2(t,e,n,r)}function oG(t){Z2(t).oldStyle=t.style}function lG(t){return Z2(t).oldStyle}var h_=Math.max,p_=Math.min,xT={};function uG(t){return Gt.extend(t)}var sG=O8;function fG(t,e){return sG(t,e)}function zo(t,e){xT[t]=e}function cG(t){if(xT.hasOwnProperty(t))return xT[t]}function TT(t,e,n,r){var a=L8(t,e);return n&&(r==="center"&&(n=tk(n,a.getBoundingRect())),nk(a,n)),a}function ek(t,e,n){var r=new dv({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(a){if(n==="center"){var l={width:a.width,height:a.height};r.setStyle(tk(e,l))}}});return r}function tk(t,e){var n=e.width/e.height,r=t.height*n,a;r<=t.width?a=t.height:(r=t.width,a=r/n);var l=t.x+t.width/2,u=t.y+t.height/2;return{x:l-r/2,y:u-a/2,width:r,height:a}}var dG=k8;function nk(t,e){if(t.applyTransform){var n=t.getBoundingRect(),r=n.calculateTransform(e);t.applyTransform(r)}}function vg(t,e){return YO(t,t,{lineWidth:e}),t}function vG(t){return WO(t.shape,t.shape,t.style),t}var hG=fc;function pG(t,e){for(var n=tx([]);t&&t!==e;)ev(n,t.getLocalTransform(),n),t=t.parent;return n}function bT(t,e,n){return e&&!Ai(e)&&(e=Kp.getLocalTransform(e)),n&&(e=M0([],e)),eo([],t,e)}function gG(t,e,n){var r=e[4]===0||e[5]===0||e[0]===0?1:Math.abs(2*e[4]/e[0]),a=e[4]===0||e[5]===0||e[2]===0?1:Math.abs(2*e[4]/e[2]),l=[t==="left"?-r:t==="right"?r:0,t==="top"?-a:t==="bottom"?a:0];return l=bT(l,e,n),Math.abs(l[0])>Math.abs(l[1])?l[0]>0?"right":"left":l[1]>0?"bottom":"top"}function rk(t){return!t.isGroup}function mG(t){return t.shape!=null}function ik(t,e,n){if(!t||!e)return;function r(u){var f={};return u.traverse(function(d){rk(d)&&d.anid&&(f[d.anid]=d)}),f}function a(u){var f={x:u.x,y:u.y,rotation:u.rotation};return mG(u)&&(f.shape=Re({},u.shape)),f}var l=r(t);e.traverse(function(u){if(rk(u)&&u.anid){var f=l[u.anid];if(f){var d=a(u);u.attr(a(f)),Po(u,d,n,yn(u).dataIndex)}}})}function yG(t,e){return ot(t,function(n){var r=n[0];r=h_(r,e.x),r=p_(r,e.x+e.width);var a=n[1];return a=h_(a,e.y),a=p_(a,e.y+e.height),[r,a]})}function _G(t,e){var n=h_(t.x,e.x),r=p_(t.x+t.width,e.x+e.width),a=h_(t.y,e.y),l=p_(t.y+t.height,e.y+e.height);if(r>=n&&l>=a)return{x:n,y:a,width:r-n,height:l-a}}function ak(t,e,n){var r=Re({rectHover:!0},e),a=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(a.image=t.slice(8),Vt(a,n),new dv(r)):TT(t.replace("path://",""),r,n,"center")}function SG(t,e,n,r,a){for(var l=0,u=a[a.length-1];l<a.length;l++){var f=a[l];if(ok(t,e,n,r,f[0],f[1],u[0],u[1]))return!0;u=f}}function ok(t,e,n,r,a,l,u,f){var d=n-t,h=r-e,p=u-a,m=f-l,S=ET(p,m,d,h);if(CG(S))return!1;var _=t-a,w=e-l,E=ET(_,w,d,h)/S;if(E<0||E>1)return!1;var b=ET(_,w,p,m)/S;return!(b<0||b>1)}function ET(t,e,n,r){return t*r-n*e}function CG(t){return t<=1e-6&&t>=-1e-6}function lk(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,a=et(e)?{formatter:e}:e,l=n.mainType,u=n.componentIndex,f={componentType:l,name:r,$vars:["name"]};f[l+"Index"]=u;var d=t.formatterParamsExtra;d&&W(kn(d),function(p){yu(f,p)||(f[p]=d[p],f.$vars.push(p))});var h=yn(t.el);h.componentMainType=l,h.componentIndex=u,h.tooltipConfig={name:r,option:Vt({content:r,formatterParams:f},a)}}function uk(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function DT(t,e){if(t)if(Be(t))for(var n=0;n<t.length;n++)uk(t[n],e);else uk(t,e)}zo("circle",gT),zo("ellipse",I2),zo("sector",vc),zo("ring",V2),zo("polygon",yT),zo("polyline",_T),zo("rect",Kr),zo("line",hc),zo("bezierCurve",X2),zo("arc",ST);const wG=Object.freeze(Object.defineProperty({__proto__:null,updateProps:Po,initProps:Io,removeElement:K2,removeElementWithFadeOut:wT,isElementRemoved:yv,extendShape:uG,extendPath:fG,registerShape:zo,getShapeClass:cG,makePath:TT,makeImage:ek,mergePath:dG,resizePath:nk,subPixelOptimizeLine:vg,subPixelOptimizeRect:vG,subPixelOptimize:hG,getTransform:pG,applyTransform:bT,transformDirection:gG,groupTransition:ik,clipPointsByRect:yG,clipRectByRect:_G,createIcon:ak,linePolygonIntersect:SG,lineLineIntersect:ok,setTooltipConfig:lk,traverseElements:DT,Group:Cl,Image:dv,Text:ko,Circle:gT,Ellipse:I2,Sector:vc,Ring:V2,Polygon:yT,Polyline:_T,Rect:Kr,Line:hc,BezierCurve:X2,Arc:ST,IncrementalDisplayable:aG,CompoundPath:Q8,LinearGradient:J8,RadialGradient:tG,BoundingRect:Wt,OrientedBoundingRect:d_,Point:ht,Path:Gt},Symbol.toStringTag,{value:"Module"}));var g_={};function sk(t,e){for(var n=0;n<Ml.length;n++){var r=Ml[n],a=e[r],l=t.ensureState(r);l.style=l.style||{},l.style.text=a}var u=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(u,!0)}function MT(t,e,n){var r=t.labelFetcher,a=t.labelDataIndex,l=t.labelDimIndex,u=e.normal,f;r&&(f=r.getFormattedLabel(a,"normal",null,l,u&&u.get("formatter"),n!=null?{interpolatedValue:n}:null)),f==null&&(f=_t(t.defaultText)?t.defaultText(a,t,n):t.defaultText);for(var d={normal:f},h=0;h<Ml.length;h++){var p=Ml[h],m=e[p];d[p]=kt(r?r.getFormattedLabel(a,p,null,l,m&&m.get("formatter")):null,f)}return d}function xG(t,e,n,r){n=n||g_;for(var a=t instanceof ko,l=!1,u=0;u<r_.length;u++){var f=e[r_[u]];if(f&&f.getShallow("show")){l=!0;break}}var d=a?t:t.getTextContent();if(l){a||(d||(d=new ko,t.setTextContent(d)),t.stateProxy&&(d.stateProxy=t.stateProxy));var h=MT(n,e),p=e.normal,m=!!p.getShallow("show"),S=mc(p,r&&r.normal,n,!1,!a);S.text=h.normal,a||t.setTextConfig(fk(p,n,!1));for(var u=0;u<Ml.length;u++){var _=Ml[u],f=e[_];if(f){var w=d.ensureState(_),E=!!kt(f.getShallow("show"),m);if(E!==m&&(w.ignore=!E),w.style=mc(f,r&&r[_],n,!0,!a),w.style.text=h[_],!a){var b=t.ensureState(_);b.textConfig=fk(f,n,!0)}}}d.silent=!!p.getShallow("silent"),d.style.x!=null&&(S.x=d.style.x),d.style.y!=null&&(S.y=d.style.y),d.ignore=!m,d.useStyle(S),d.dirty(),n.enableTextSetter&&(hg(d).setLabelText=function(D){var A=MT(n,e,D);sk(d,A)})}else d&&(d.ignore=!0);t.dirty()}function TG(t,e){e=e||"label";for(var n={normal:t.getModel(e)},r=0;r<Ml.length;r++){var a=Ml[r];n[a]=t.getModel([a,e])}return n}function mc(t,e,n,r,a){var l={};return bG(l,t,n,r,a),e&&Re(l,e),l}function fk(t,e,n){e=e||{};var r={},a,l=t.getShallow("rotate"),u=kt(t.getShallow("distance"),n?null:5),f=t.getShallow("offset");return a=t.getShallow("position")||(n?null:"inside"),a==="outside"&&(a=e.defaultOutsidePosition||"top"),a!=null&&(r.position=a),f!=null&&(r.offset=f),l!=null&&(l*=Math.PI/180,r.rotation=l),u!=null&&(r.distance=u),r.outsideFill=t.get("color")==="inherit"?e.inheritColor||null:"auto",r}function bG(t,e,n,r,a){n=n||g_;var l=e.ecModel,u=l&&l.option.textStyle,f=EG(e),d;if(f){d={};for(var h in f)if(f.hasOwnProperty(h)){var p=e.getModel(["rich",h]);hk(d[h]={},p,u,n,r,a,!1,!0)}}d&&(t.rich=d);var m=e.get("overflow");m&&(t.overflow=m);var S=e.get("minMargin");S!=null&&(t.margin=S),hk(t,e,u,n,r,a,!0,!1)}function EG(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||g_).rich;if(n){e=e||{};for(var r=kn(n),a=0;a<r.length;a++){var l=r[a];e[l]=1}}t=t.parentModel}return e}var ck=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],dk=["align","lineHeight","width","height","tag","verticalAlign"],vk=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function hk(t,e,n,r,a,l,u,f){n=!a&&n||g_;var d=r&&r.inheritColor,h=e.getShallow("color"),p=e.getShallow("textBorderColor"),m=kt(e.getShallow("opacity"),n.opacity);(h==="inherit"||h==="auto")&&(process.env.NODE_ENV!=="production"&&h==="auto"&&Br("color: 'auto'","color: 'inherit'"),d?h=d:h=null),(p==="inherit"||p==="auto")&&(process.env.NODE_ENV!=="production"&&p==="auto"&&Br("color: 'auto'","color: 'inherit'"),d?p=d:p=null),l||(h=h||n.color,p=p||n.textBorderColor),h!=null&&(t.fill=h),p!=null&&(t.stroke=p);var S=kt(e.getShallow("textBorderWidth"),n.textBorderWidth);S!=null&&(t.lineWidth=S);var _=kt(e.getShallow("textBorderType"),n.textBorderType);_!=null&&(t.lineDash=_);var w=kt(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);w!=null&&(t.lineDashOffset=w),!a&&m==null&&!f&&(m=r&&r.defaultOpacity),m!=null&&(t.opacity=m),!a&&!l&&t.fill==null&&r.inheritColor&&(t.fill=r.inheritColor);for(var E=0;E<ck.length;E++){var b=ck[E],D=kt(e.getShallow(b),n[b]);D!=null&&(t[b]=D)}for(var E=0;E<dk.length;E++){var b=dk[E],D=e.getShallow(b);D!=null&&(t[b]=D)}if(t.verticalAlign==null){var A=e.getShallow("baseline");A!=null&&(t.verticalAlign=A)}if(!u||!r.disableBox){for(var E=0;E<vk.length;E++){var b=vk[E],D=e.getShallow(b);D!=null&&(t[b]=D)}var O=e.getShallow("borderType");O!=null&&(t.borderDash=O),(t.backgroundColor==="auto"||t.backgroundColor==="inherit")&&d&&(process.env.NODE_ENV!=="production"&&t.backgroundColor==="auto"&&Br("backgroundColor: 'auto'","backgroundColor: 'inherit'"),t.backgroundColor=d),(t.borderColor==="auto"||t.borderColor==="inherit")&&d&&(process.env.NODE_ENV!=="production"&&t.borderColor==="auto"&&Br("borderColor: 'auto'","borderColor: 'inherit'"),t.borderColor=d)}}function DG(t,e){var n=e&&e.getModel("textStyle");return yl([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var hg=jn();function MG(t,e,n,r){if(t){var a=hg(t);a.prevValue=a.value,a.value=n;var l=e.normal;a.valueAnimation=l.get("valueAnimation"),a.valueAnimation&&(a.precision=l.get("precision"),a.defaultInterpolatedText=r,a.statesModels=e)}}function RG(t,e,n,r,a){var l=hg(t);if(!l.valueAnimation||l.prevValue===l.value)return;var u=l.defaultInterpolatedText,f=kt(l.interpolatedValue,l.prevValue),d=l.value;function h(p){var m=e6(n,l.precision,f,d,p);l.interpolatedValue=p===1?null:m;var S=MT({labelDataIndex:e,labelFetcher:a,defaultText:u?u(m):m+""},l.statesModels,m);sk(t,S)}t.percent=0,(l.prevValue==null?Io:Po)(t,{percent:1},r,e,null,h)}var AG=["textStyle","color"],RT=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],AT=new ko,LG=function(){function t(){}return t.prototype.getTextColor=function(e){var n=this.ecModel;return this.getShallow("color")||(!e&&n?n.get(AG):null)},t.prototype.getFont=function(){return DG({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(e){for(var n={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<RT.length;r++)n[RT[r]]=this.getShallow(RT[r]);return AT.useStyle(n),AT.update(),AT.getBoundingRect()},t}();const OG=LG;var pk=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],kG=ag(pk),NG=function(){function t(){}return t.prototype.getLineStyle=function(e){return kG(this,e)},t}(),gk=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],PG=ag(gk),IG=function(){function t(){}return t.prototype.getItemStyle=function(e,n){return PG(this,e,n)},t}(),yc=function(){function t(e,n,r){this.parentModel=n,this.ecModel=r,this.option=e}return t.prototype.init=function(e,n,r){},t.prototype.mergeOption=function(e,n){cn(this.option,e,!0)},t.prototype.get=function(e,n){return e==null?this.option:this._doGet(this.parsePath(e),!n&&this.parentModel)},t.prototype.getShallow=function(e,n){var r=this.option,a=r==null?r:r[e];if(a==null&&!n){var l=this.parentModel;l&&(a=l.getShallow(e))}return a},t.prototype.getModel=function(e,n){var r=e!=null,a=r?this.parsePath(e):null,l=r?this._doGet(a):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(a)),new t(l,n,this.ecModel)},t.prototype.isEmpty=function(){return this.option==null},t.prototype.restoreData=function(){},t.prototype.clone=function(){var e=this.constructor;return new e(Qt(this.option))},t.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},t.prototype.resolveParentPath=function(e){return e},t.prototype.isAnimationEnabled=function(){if(!Tt.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(e,n){var r=this.option;if(!e)return r;for(var a=0;a<e.length&&!(e[a]&&(r=r&&typeof r=="object"?r[e[a]]:null,r==null));a++);return r==null&&n&&(r=n._doGet(this.resolveParentPath(e),n.parentModel)),r},t}();Bx(yc),o6(yc),ml(yc,NG),ml(yc,IG),ml(yc,c6),ml(yc,OG);const Oi=yc;var zG=Math.round(Math.random()*10);function m_(t){return[t||"",zG++].join("_")}function FG(t){var e={};t.registerSubTypeDefaulter=function(n,r){var a=Tl(n);e[a.main]=r},t.determineSubType=function(n,r){var a=r.type;if(!a){var l=Tl(n).main;t.hasSubTypes(n)&&e[l]&&(a=e[l](r))}return a}}function BG(t,e){t.topologicalTravel=function(l,u,f,d){if(!l.length)return;var h=n(u),p=h.graph,m=h.noEntryList,S={};for(W(l,function(A){S[A]=!0});m.length;){var _=m.pop(),w=p[_],E=!!S[_];E&&(f.call(d,_,w.originalDeps.slice()),delete S[_]),W(w.successor,E?D:b)}W(S,function(){var A="";throw process.env.NODE_ENV!=="production"&&(A=na("Circular dependency may exists: ",S,l,u)),new Error(A)});function b(A){p[A].entryCount--,p[A].entryCount===0&&m.push(A)}function D(A){S[A]=!0,b(A)}};function n(l){var u={},f=[];return W(l,function(d){var h=r(u,d),p=h.originalDeps=e(d),m=a(p,l);h.entryCount=m.length,h.entryCount===0&&f.push(d),W(m,function(S){dn(h.predecessor,S)<0&&h.predecessor.push(S);var _=r(u,S);dn(_.successor,S)<0&&_.successor.push(d)})}),{graph:u,noEntryList:f}}function r(l,u){return l[u]||(l[u]={predecessor:[],successor:[]}),l[u]}function a(l,u){var f=[];return W(l,function(d){dn(u,d)>=0&&f.push(d)}),f}}function UG(t,e){return cn(cn({},t,!0),e,!0)}const VG={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},HG={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var y_="ZH",LT="EN",pg=LT,__={},OT={},mk=Tt.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(y_)>-1?y_:pg}():pg;function yk(t,e){t=t.toUpperCase(),OT[t]=new Oi(e),__[t]=e}function GG(t){if(et(t)){var e=__[t.toUpperCase()]||{};return t===y_||t===LT?Qt(e):cn(Qt(e),Qt(__[pg]),!1)}else return cn(Qt(t),Qt(__[pg]),!1)}function $G(t){return OT[t]}function jG(){return OT[pg]}yk(LT,VG),yk(y_,HG);var kT=1e3,NT=kT*60,gg=NT*60,oo=gg*24,_k=oo*365,mg={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},S_="{yyyy}-{MM}-{dd}",Sk={year:"{yyyy}",month:"{yyyy}-{MM}",day:S_,hour:S_+" "+mg.hour,minute:S_+" "+mg.minute,second:S_+" "+mg.second,millisecond:mg.none},PT=["year","month","day","hour","minute","second","millisecond"],Ck=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function _c(t,e){return t+="","0000".substr(0,e-t.length)+t}function _v(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function YG(t){return t===_v(t)}function WG(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function C_(t,e,n,r){var a=Cu(t),l=a[IT(n)](),u=a[Sv(n)]()+1,f=Math.floor((u-1)/3)+1,d=a[w_(n)](),h=a["get"+(n?"UTC":"")+"Day"](),p=a[yg(n)](),m=(p-1)%12+1,S=a[x_(n)](),_=a[T_(n)](),w=a[b_(n)](),E=r instanceof Oi?r:$G(r||mk)||jG(),b=E.getModel("time"),D=b.get("month"),A=b.get("monthAbbr"),O=b.get("dayOfWeek"),P=b.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,l%100+"").replace(/{Q}/g,f+"").replace(/{MMMM}/g,D[u-1]).replace(/{MMM}/g,A[u-1]).replace(/{MM}/g,_c(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,_c(d,2)).replace(/{d}/g,d+"").replace(/{eeee}/g,O[h]).replace(/{ee}/g,P[h]).replace(/{e}/g,h+"").replace(/{HH}/g,_c(p,2)).replace(/{H}/g,p+"").replace(/{hh}/g,_c(m+"",2)).replace(/{h}/g,m+"").replace(/{mm}/g,_c(S,2)).replace(/{m}/g,S+"").replace(/{ss}/g,_c(_,2)).replace(/{s}/g,_+"").replace(/{SSS}/g,_c(w,3)).replace(/{S}/g,w+"")}function XG(t,e,n,r,a){var l=null;if(et(n))l=n;else if(_t(n))l=n(t.value,e,{level:t.level});else{var u=Re({},mg);if(t.level>0)for(var f=0;f<PT.length;++f)u[PT[f]]="{primary|"+u[PT[f]]+"}";var d=n?n.inherit===!1?n:Vt(n,u):u,h=wk(t.value,a);if(d[h])l=d[h];else if(d.inherit){for(var p=Ck.indexOf(h),f=p-1;f>=0;--f)if(d[h]){l=d[h];break}l=l||u.none}if(Be(l)){var m=t.level==null?0:t.level>=0?t.level:l.length+t.level;m=Math.min(m,l.length-1),l=l[m]}}return C_(new Date(t.value),l,a,r)}function wk(t,e){var n=Cu(t),r=n[Sv(e)]()+1,a=n[w_(e)](),l=n[yg(e)](),u=n[x_(e)](),f=n[T_(e)](),d=n[b_(e)](),h=d===0,p=h&&f===0,m=p&&u===0,S=m&&l===0,_=S&&a===1,w=_&&r===1;return w?"year":_?"month":S?"day":m?"hour":p?"minute":h?"second":"millisecond"}function xk(t,e,n){var r=Nn(t)?Cu(t):t;switch(e=e||wk(t,n),e){case"year":return r[IT(n)]();case"half-year":return r[Sv(n)]()>=6?1:0;case"quarter":return Math.floor((r[Sv(n)]()+1)/4);case"month":return r[Sv(n)]();case"day":return r[w_(n)]();case"half-day":return r[yg(n)]()/24;case"hour":return r[yg(n)]();case"minute":return r[x_(n)]();case"second":return r[T_(n)]();case"millisecond":return r[b_(n)]()}}function IT(t){return t?"getUTCFullYear":"getFullYear"}function Sv(t){return t?"getUTCMonth":"getMonth"}function w_(t){return t?"getUTCDate":"getDate"}function yg(t){return t?"getUTCHours":"getHours"}function x_(t){return t?"getUTCMinutes":"getMinutes"}function T_(t){return t?"getUTCSeconds":"getSeconds"}function b_(t){return t?"getUTCMilliseconds":"getMilliseconds"}function qG(t){return t?"setUTCFullYear":"setFullYear"}function Tk(t){return t?"setUTCMonth":"setMonth"}function bk(t){return t?"setUTCDate":"setDate"}function Ek(t){return t?"setUTCHours":"setHours"}function Dk(t){return t?"setUTCMinutes":"setMinutes"}function Mk(t){return t?"setUTCSeconds":"setSeconds"}function Rk(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Ak(t){if(!hO(t))return et(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Lk(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var zT=aL;function FT(t,e,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(p){return p&&yl(p)?p:"-"}function l(p){return!!(p!=null&&!isNaN(p)&&isFinite(p))}var u=e==="time",f=t instanceof Date;if(u||f){var d=u?Cu(t):t;if(isNaN(+d)){if(f)return"-"}else return C_(d,r,n)}if(e==="ordinal")return x0(t)?a(t):Nn(t)&&l(t)?t+"":"-";var h=Ds(t);return l(h)?Ak(h):x0(t)?a(t):typeof t=="boolean"?t+"":"-"}var Ok=["a","b","c","d","e","f","g"],BT=function(t,e){return"{"+t+(e??"")+"}"};function kk(t,e,n){Be(e)||(e=[e]);var r=e.length;if(!r)return"";for(var a=e[0].$vars||[],l=0;l<a.length;l++){var u=Ok[l];t=t.replace(BT(u),BT(u,0))}for(var f=0;f<r;f++)for(var d=0;d<a.length;d++){var h=e[f][a[d]];t=t.replace(BT(Ok[d],f),n?to(h):h)}return t}function QG(t,e){var n=et(t)?{color:t,extraCssText:e}:t||{},r=n.color,a=n.type;e=n.extraCssText;var l=n.renderMode||"html";if(!r)return"";if(l==="html")return a==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+to(r)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+to(r)+";"+(e||"")+'"></span>';var u=n.markerId||"markerX";return{renderMode:l,content:"{"+u+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function _g(t,e){return e=e||"transparent",et(t)?t:it(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Nk(t,e){if(e==="_blank"||e==="blank"){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var E_=W,ZG=["left","right","top","bottom","width","height"],D_=[["width","left","right"],["height","top","bottom"]];function Pk(t,e,n,r,a){var l=0,u=0;r==null&&(r=1/0),a==null&&(a=1/0);var f=0;e.eachChild(function(d,h){var p=d.getBoundingRect(),m=e.childAt(h+1),S=m&&m.getBoundingRect(),_,w;if(t==="horizontal"){var E=p.width+(S?-S.x+p.x:0);_=l+E,_>r||d.newline?(l=0,_=E,u+=f+n,f=p.height):f=Math.max(f,p.height)}else{var b=p.height+(S?-S.y+p.y:0);w=u+b,w>a||d.newline?(l+=f+n,u=0,w=b,f=p.width):f=Math.max(f,p.width)}d.newline||(d.x=l,d.y=u,d.markRedraw(),t==="horizontal"?l=_+n:u=w+n)})}Aa(Pk,"vertical"),Aa(Pk,"horizontal");function UT(t,e,n){n=zT(n||0);var r=e.width,a=e.height,l=Zr(t.left,r),u=Zr(t.top,a),f=Zr(t.right,r),d=Zr(t.bottom,a),h=Zr(t.width,r),p=Zr(t.height,a),m=n[2]+n[0],S=n[1]+n[3],_=t.aspect;switch(isNaN(h)&&(h=r-f-S-l),isNaN(p)&&(p=a-d-m-u),_!=null&&(isNaN(h)&&isNaN(p)&&(_>r/a?h=r*.8:p=a*.8),isNaN(h)&&(h=_*p),isNaN(p)&&(p=h/_)),isNaN(l)&&(l=r-f-h-S),isNaN(u)&&(u=a-d-p-m),t.left||t.right){case"center":l=r/2-h/2-n[3];break;case"right":l=r-h-S;break}switch(t.top||t.bottom){case"middle":case"center":u=a/2-p/2-n[0];break;case"bottom":u=a-p-m;break}l=l||0,u=u||0,isNaN(h)&&(h=r-S-l-(f||0)),isNaN(p)&&(p=a-m-u-(d||0));var w=new Wt(l+n[3],u+n[0],h,p);return w.margin=n,w}function Sg(t){var e=t.layoutMode||t.constructor.layoutMode;return it(e)?e:e?{type:e}:null}function Cg(t,e,n){var r=n&&n.ignoreSize;!Be(r)&&(r=[r,r]);var a=u(D_[0],0),l=u(D_[1],1);h(D_[0],t,a),h(D_[1],t,l);function u(p,m){var S={},_=0,w={},E=0,b=2;if(E_(p,function(O){w[O]=t[O]}),E_(p,function(O){f(e,O)&&(S[O]=w[O]=e[O]),d(S,O)&&_++,d(w,O)&&E++}),r[m])return d(e,p[1])?w[p[2]]=null:d(e,p[2])&&(w[p[1]]=null),w;if(E===b||!_)return w;if(_>=b)return S;for(var D=0;D<p.length;D++){var A=p[D];if(!f(S,A)&&f(t,A)){S[A]=t[A];break}}return S}function f(p,m){return p.hasOwnProperty(m)}function d(p,m){return p[m]!=null&&p[m]!=="auto"}function h(p,m,S){E_(p,function(_){m[_]=S[_]})}}function VT(t){return KG({},t)}function KG(t,e){return e&&t&&E_(ZG,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var JG=jn(),Cv=function(t){Pt(e,t);function e(n,r,a){var l=t.call(this,n,r,a)||this;return l.uid=m_("ec_cpt_model"),l}return e.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a)},e.prototype.mergeDefaultAndTheme=function(n,r){var a=Sg(this),l=a?VT(n):{},u=r.getTheme();cn(n,u.get(this.mainType)),cn(n,this.getDefaultOption()),a&&Cg(n,l,a)},e.prototype.mergeOption=function(n,r){cn(this.option,n,!0);var a=Sg(this);a&&Cg(this.option,n,a)},e.prototype.optionUpdated=function(n,r){},e.prototype.getDefaultOption=function(){var n=this.constructor;if(!r6(n))return n.defaultOption;var r=JG(this);if(!r.defaultOption){for(var a=[],l=n;l;){var u=l.prototype.defaultOption;u&&a.push(u),l=l.superClass}for(var f={},d=a.length-1;d>=0;d--)f=cn(f,a[d],!0);r.defaultOption=f}return r.defaultOption},e.prototype.getReferringComponents=function(n,r){var a=n+"Index",l=n+"Id";return ig(this.ecModel,n,{index:this.get(a,!0),id:this.get(l,!0)},r)},e.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(n){this.option.zlevel=n},e.protoInitialize=function(){var n=e.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),e}(Oi);RO(Cv,Oi),Z0(Cv),FG(Cv),BG(Cv,e$);function e$(t){var e=[];return W(Cv.getClassesByMainType(t),function(n){e=e.concat(n.dependencies||n.prototype.dependencies||[])}),e=ot(e,function(n){return Tl(n).main}),t!=="dataset"&&dn(e,"dataset")<=0&&e.unshift("dataset"),e}const En=Cv;var Ik="";typeof navigator<"u"&&(Ik=navigator.platform||"");var wv="rgba(0, 0, 0, 0.2)";const t$={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:wv,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:wv,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:wv,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:wv,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:wv,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:wv,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Ik.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var HT=xt(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),lo="original",ki="arrayRows",Fo="objectRows",Tu="keyedColumns",bu="typedArray",zk="unknown",Al="column",xv="row",ka={Must:1,Might:2,Not:3},Fk=jn();function n$(t){Fk(t).datasetMap=xt()}function r$(t,e,n){var r={},a=Bk(e);if(!a||!t)return r;var l=[],u=[],f=e.ecModel,d=Fk(f).datasetMap,h=a.uid+"_"+n.seriesLayoutBy,p,m;t=t.slice(),W(t,function(E,b){var D=it(E)?E:t[b]={name:E};D.type==="ordinal"&&p==null&&(p=b,m=w(D)),r[D.name]=[]});var S=d.get(h)||d.set(h,{categoryWayDim:m,valueWayDim:0});W(t,function(E,b){var D=E.name,A=w(E);if(p==null){var O=S.valueWayDim;_(r[D],O,A),_(u,O,A),S.valueWayDim+=A}else if(p===b)_(r[D],0,A),_(l,0,A);else{var O=S.categoryWayDim;_(r[D],O,A),_(u,O,A),S.categoryWayDim+=A}});function _(E,b,D){for(var A=0;A<D;A++)E.push(b+A)}function w(E){var b=E.dimsDef;return b?b.length:1}return l.length&&(r.itemName=l),u.length&&(r.seriesName=u),r}function Bk(t){var e=t.get("data",!0);if(!e)return ig(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},Oo).models[0]}function i$(t){return!t.get("transform",!0)&&!t.get("fromTransformResult",!0)?[]:ig(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},Oo).models}function Uk(t,e){return a$(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function a$(t,e,n,r,a,l){var u,f=5;if(ea(t))return ka.Not;var d,h;if(r){var p=r[l];it(p)?(d=p.name,h=p.type):et(p)&&(d=p)}if(h!=null)return h==="ordinal"?ka.Must:ka.Not;if(e===ki){var m=t;if(n===xv){for(var S=m[l],_=0;_<(S||[]).length&&_<f;_++)if((u=P(S[a+_]))!=null)return u}else for(var _=0;_<m.length&&_<f;_++){var w=m[a+_];if(w&&(u=P(w[l]))!=null)return u}}else if(e===Fo){var E=t;if(!d)return ka.Not;for(var _=0;_<E.length&&_<f;_++){var b=E[_];if(b&&(u=P(b[d]))!=null)return u}}else if(e===Tu){var D=t;if(!d)return ka.Not;var S=D[d];if(!S||ea(S))return ka.Not;for(var _=0;_<S.length&&_<f;_++)if((u=P(S[_]))!=null)return u}else if(e===lo)for(var A=t,_=0;_<A.length&&_<f;_++){var b=A[_],O=tg(b);if(!Be(O))return ka.Not;if((u=P(O[l]))!=null)return u}function P(I){var F=et(I);if(I!=null&&isFinite(I)&&I!=="")return F?ka.Might:ka.Not;if(F&&I!=="-")return ka.Must}return ka.Not}var o$=xt();function l$(t,e,n){var r=o$.get(e);if(!r)return n;var a=r(t);if(!a)return n;if(process.env.NODE_ENV!=="production")for(var l=0;l<a.length;l++)bt(sv(a[l]));return n.concat(a)}var Vk=jn();jn();var GT=function(){function t(){}return t.prototype.getColorFromPalette=function(e,n,r){var a=rr(this.get("color",!0)),l=this.get("colorLayer",!0);return s$(this,Vk,a,l,e,n,r)},t.prototype.clearColorPalette=function(){f$(this,Vk)},t}();function u$(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r].length>e)return t[r];return t[n-1]}function s$(t,e,n,r,a,l,u){l=l||t;var f=e(l),d=f.paletteIdx||0,h=f.paletteNameMap=f.paletteNameMap||{};if(h.hasOwnProperty(a))return h[a];var p=u==null||!r?n:u$(r,u);if(p=p||n,!(!p||!p.length)){var m=p[d];return a&&(h[a]=m),f.paletteIdx=(d+1)%p.length,m}}function f$(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var M_,wg,Hk,$T="\0_ec_inner",Gk=1,c$={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},d$={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},R_={};function v$(t){W(t,function(e,n){if(!En.hasClass(n)){var r=c$[n];r&&!R_[r]&&(ci("Component "+n+` is used but not imported.
199
+ import { `+r+` } from 'echarts/components';
200
+ echarts.use([`+r+"]);"),R_[r]=!0)}})}var $k=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(n,r,a,l,u,f){l=l||{},this.option=null,this._theme=new Oi(l),this._locale=new Oi(u),this._optionManager=f},e.prototype.setOption=function(n,r,a){process.env.NODE_ENV!=="production"&&(bt(n!=null,"option is null/undefined"),bt(n[$T]!==Gk,"please use chart.getOption()"));var l=Wk(r);this._optionManager.setOption(n,a,l),this._resetOption(null,l)},e.prototype.resetOption=function(n,r){return this._resetOption(n,Wk(r))},e.prototype._resetOption=function(n,r){var a=!1,l=this._optionManager;if(!n||n==="recreate"){var u=l.mountOption(n==="recreate");process.env.NODE_ENV!=="production"&&v$(u),!this.option||n==="recreate"?Hk(this,u):(this.restoreData(),this._mergeOption(u,r)),a=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var f=l.getTimelineOption(this);f&&(a=!0,this._mergeOption(f,r))}if(!n||n==="recreate"||n==="media"){var d=l.getMediaOption(this);d.length&&W(d,function(h){a=!0,this._mergeOption(h,r)},this)}return a},e.prototype.mergeOption=function(n){this._mergeOption(n,null)},e.prototype._mergeOption=function(n,r){var a=this.option,l=this._componentsMap,u=this._componentsCount,f=[],d=xt(),h=r&&r.replaceMergeMainTypeMap;n$(this),W(n,function(m,S){m!=null&&(En.hasClass(S)?S&&(f.push(S),d.set(S,!0)):a[S]=a[S]==null?Qt(m):cn(a[S],m,!0))}),h&&h.each(function(m,S){En.hasClass(S)&&!d.get(S)&&(f.push(S),d.set(S,!0))}),En.topologicalTravel(f,En.getAllClassMainTypes(),p,this);function p(m){var S=l$(this,m,rr(n[m])),_=l.get(m),w=_?h&&h.get(m)?"replaceMerge":"normalMerge":"replaceAll",E=H4(_,S,w);q4(E,m,En),a[m]=null,l.set(m,null),u.set(m,0);var b=[],D=[],A=0,O,P;W(E,function(I,F){var U=I.existing,H=I.newOption;if(!H)U&&(U.mergeOption({},this),U.optionUpdated({},!1));else{var j=m==="series",X=En.getClass(m,I.keyInfo.subType,!j);if(!X){if(process.env.NODE_ENV!=="production"){var G=I.keyInfo.subType,ee=d$[G];R_[G]||(R_[G]=!0,ci(ee?"Series "+G+` is used but not imported.
201
+ import { `+ee+` } from 'echarts/charts';
202
+ echarts.use([`+ee+"]);":"Unknown series "+G))}return}if(m==="tooltip"){if(O){process.env.NODE_ENV!=="production"&&(P||(Fr("Currently only one tooltip component is allowed."),P=!0));return}O=!0}if(U&&U.constructor===X)U.name=I.keyInfo.name,U.mergeOption(H,this),U.optionUpdated(H,!1);else{var J=Re({componentIndex:F},I.keyInfo);U=new X(H,this,this,J),Re(U,J),I.brandNew&&(U.__requireNewView=!0),U.init(H,this,this),U.optionUpdated(null,!0)}}U?(b.push(U.option),D.push(U),A++):(b.push(void 0),D.push(void 0))},this),a[m]=b,l.set(m,D),u.set(m,A),m==="series"&&M_(this)}this._seriesIndices||M_(this)},e.prototype.getOption=function(){var n=Qt(this.option);return W(n,function(r,a){if(En.hasClass(a)){for(var l=rr(r),u=l.length,f=!1,d=u-1;d>=0;d--)l[d]&&!sv(l[d])?f=!0:(l[d]=null,!f&&u--);l.length=u,n[a]=l}}),delete n[$T],n},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(n){this._payload=n},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(n,r){var a=this._componentsMap.get(n);if(a){var l=a[r||0];if(l)return l;if(r==null){for(var u=0;u<a.length;u++)if(a[u])return a[u]}}},e.prototype.queryComponents=function(n){var r=n.mainType;if(!r)return[];var a=n.index,l=n.id,u=n.name,f=this._componentsMap.get(r);if(!f||!f.length)return[];var d;return a!=null?(d=[],W(rr(a),function(h){f[h]&&d.push(f[h])})):l!=null?d=jk("id",l,f):u!=null?d=jk("name",u,f):d=Tr(f,function(h){return!!h}),Yk(d,n)},e.prototype.findComponents=function(n){var r=n.query,a=n.mainType,l=f(r),u=l?this.queryComponents(l):Tr(this._componentsMap.get(a),function(h){return!!h});return d(Yk(u,n));function f(h){var p=a+"Index",m=a+"Id",S=a+"Name";return h&&(h[p]!=null||h[m]!=null||h[S]!=null)?{mainType:a,index:h[p],id:h[m],name:h[S]}:null}function d(h){return n.filter?Tr(h,n.filter):h}},e.prototype.eachComponent=function(n,r,a){var l=this._componentsMap;if(_t(n)){var u=r,f=n;l.each(function(m,S){for(var _=0;m&&_<m.length;_++){var w=m[_];w&&f.call(u,S,w,w.componentIndex)}})}else for(var d=et(n)?l.get(n):it(n)?this.findComponents(n):null,h=0;d&&h<d.length;h++){var p=d[h];p&&r.call(a,p,p.componentIndex)}},e.prototype.getSeriesByName=function(n){var r=xl(n,null);return Tr(this._componentsMap.get("series"),function(a){return!!a&&r!=null&&a.name===r})},e.prototype.getSeriesByIndex=function(n){return this._componentsMap.get("series")[n]},e.prototype.getSeriesByType=function(n){return Tr(this._componentsMap.get("series"),function(r){return!!r&&r.subType===n})},e.prototype.getSeries=function(){return Tr(this._componentsMap.get("series"),function(n){return!!n})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(n,r){wg(this),W(this._seriesIndices,function(a){var l=this._componentsMap.get("series")[a];n.call(r,l,a)},this)},e.prototype.eachRawSeries=function(n,r){W(this._componentsMap.get("series"),function(a){a&&n.call(r,a,a.componentIndex)})},e.prototype.eachSeriesByType=function(n,r,a){wg(this),W(this._seriesIndices,function(l){var u=this._componentsMap.get("series")[l];u.subType===n&&r.call(a,u,l)},this)},e.prototype.eachRawSeriesByType=function(n,r,a){return W(this.getSeriesByType(n),r,a)},e.prototype.isSeriesFiltered=function(n){return wg(this),this._seriesIndicesMap.get(n.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(n,r){wg(this);var a=[];W(this._seriesIndices,function(l){var u=this._componentsMap.get("series")[l];n.call(r,u,l)&&a.push(l)},this),this._seriesIndices=a,this._seriesIndicesMap=xt(a)},e.prototype.restoreData=function(n){M_(this);var r=this._componentsMap,a=[];r.each(function(l,u){En.hasClass(u)&&a.push(u)}),En.topologicalTravel(a,En.getAllClassMainTypes(),function(l){W(r.get(l),function(u){u&&(l!=="series"||!h$(u,n))&&u.restoreData()})})},e.internalField=function(){M_=function(n){var r=n._seriesIndices=[];W(n._componentsMap.get("series"),function(a){a&&r.push(a.componentIndex)}),n._seriesIndicesMap=xt(r)},wg=function(n){if(process.env.NODE_ENV!=="production"&&!n._seriesIndices)throw new Error("Option should contains series.")},Hk=function(n,r){n.option={},n.option[$T]=Gk,n._componentsMap=xt({series:[]}),n._componentsCount=xt();var a=r.aria;it(a)&&a.enabled==null&&(a.enabled=!0),p$(r,n._theme.option),cn(r,t$,!1),n._mergeOption(r,null)}}(),e}(Oi);function h$(t,e){if(e){var n=e.seriesIndex,r=e.seriesId,a=e.seriesName;return n!=null&&t.componentIndex!==n||r!=null&&t.id!==r||a!=null&&t.name!==a}}function p$(t,e){var n=t.color&&!t.colorLayer;W(e,function(r,a){a==="colorLayer"&&n||En.hasClass(a)||(typeof r=="object"?t[a]=t[a]?cn(t[a],r,!1):Qt(r):t[a]==null&&(t[a]=r))})}function jk(t,e,n){if(Be(e)){var r=xt();return W(e,function(l){if(l!=null){var u=xl(l,null);u!=null&&r.set(l,!0)}}),Tr(n,function(l){return l&&r.get(l[t])})}else{var a=xl(e,null);return Tr(n,function(l){return l&&a!=null&&l[t]===a})}}function Yk(t,e){return e.hasOwnProperty("subType")?Tr(t,function(n){return n&&n.subType===e.subType}):t}function Wk(t){var e=xt();return t&&W(rr(t.replaceMerge),function(n){process.env.NODE_ENV!=="production"&&bt(En.hasClass(n),'"'+n+'" is not valid component main type in "replaceMerge"'),e.set(n,!0)}),{replaceMergeMainTypeMap:e}}ml($k,GT);const Xk=$k;var g$=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],m$=function(){function t(e){W(g$,function(n){this[n]=Qn(e[n],e)},this)}return t}();const qk=m$;var jT={},y$=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(e,n){var r=[];W(jT,function(a,l){var u=a.create(e,n);r=r.concat(u||[])}),this._coordinateSystems=r},t.prototype.update=function(e,n){W(this._coordinateSystems,function(r){r.update&&r.update(e,n)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(e,n){jT[e]=n},t.get=function(e){return jT[e]},t}();const YT=y$;var _$=/^(min|max)?(.+)$/,S$=function(){function t(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return t.prototype.setOption=function(e,n,r){e&&(W(rr(e.series),function(u){u&&u.data&&ea(u.data)&&b0(u.data)}),W(rr(e.dataset),function(u){u&&u.source&&ea(u.source)&&b0(u.source)})),e=Qt(e);var a=this._optionBackup,l=C$(e,n,!a);this._newBaseOption=l.baseOption,a?(l.timelineOptions.length&&(a.timelineOptions=l.timelineOptions),l.mediaList.length&&(a.mediaList=l.mediaList),l.mediaDefault&&(a.mediaDefault=l.mediaDefault)):this._optionBackup=l},t.prototype.mountOption=function(e){var n=this._optionBackup;return this._timelineOptions=n.timelineOptions,this._mediaList=n.mediaList,this._mediaDefault=n.mediaDefault,this._currentMediaIndices=[],Qt(e?n.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(e){var n,r=this._timelineOptions;if(r.length){var a=e.getComponent("timeline");a&&(n=Qt(r[a.getCurrentIndex()]))}return n},t.prototype.getMediaOption=function(e){var n=this._api.getWidth(),r=this._api.getHeight(),a=this._mediaList,l=this._mediaDefault,u=[],f=[];if(!a.length&&!l)return f;for(var d=0,h=a.length;d<h;d++)w$(a[d].query,n,r)&&u.push(d);return!u.length&&l&&(u=[-1]),u.length&&!T$(u,this._currentMediaIndices)&&(f=ot(u,function(p){return Qt(p===-1?l.option:a[p].option)})),this._currentMediaIndices=u,f},t}();function C$(t,e,n){var r=[],a,l,u=t.baseOption,f=t.timeline,d=t.options,h=t.media,p=!!t.media,m=!!(d||f||u&&u.timeline);u?(l=u,l.timeline||(l.timeline=f)):((m||p)&&(t.options=t.media=null),l=t),p&&(Be(h)?W(h,function(_){process.env.NODE_ENV!=="production"&&_&&!_.option&&it(_.query)&&it(_.query.option)&&ci("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),_&&_.option&&(_.query?r.push(_):a||(a=_))}):process.env.NODE_ENV!=="production"&&ci("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),S(l),W(d,function(_){return S(_)}),W(r,function(_){return S(_.option)});function S(_){W(e,function(w){w(_,n)})}return{baseOption:l,timelineOptions:d||[],mediaDefault:a,mediaList:r}}function w$(t,e,n){var r={width:e,height:n,aspectratio:e/n},a=!0;return W(t,function(l,u){var f=u.match(_$);if(!(!f||!f[1]||!f[2])){var d=f[1],h=f[2].toLowerCase();x$(r[h],l,d)||(a=!1)}}),a}function x$(t,e,n){return n==="min"?t>=e:n==="max"?t<=e:t===e}function T$(t,e){return t.join(",")===e.join(",")}const b$=S$;var uo=W,xg=it,Qk=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function WT(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=Qk.length;n<r;n++){var a=Qk[n],l=e.normal,u=e.emphasis;l&&l[a]&&(process.env.NODE_ENV!=="production"&&Br("itemStyle.normal."+a,a),t[a]=t[a]||{},t[a].normal?cn(t[a].normal,l[a]):t[a].normal=l[a],l[a]=null),u&&u[a]&&(process.env.NODE_ENV!=="production"&&Br("itemStyle.emphasis."+a,"emphasis."+a),t[a]=t[a]||{},t[a].emphasis?cn(t[a].emphasis,u[a]):t[a].emphasis=u[a],u[a]=null)}}function vi(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,a=t[e].emphasis;r&&(process.env.NODE_ENV!=="production"&&wl("'normal' hierarchy in "+e+" has been removed since 4.0. All style properties are configured in "+e+" directly now."),n?(t[e].normal=t[e].emphasis=null,Vt(t[e],r)):t[e]=r),a&&(process.env.NODE_ENV!=="production"&&wl(e+".emphasis has been changed to emphasis."+e+" since 4.0"),t.emphasis=t.emphasis||{},t.emphasis[e]=a,a.focus&&(t.emphasis.focus=a.focus),a.blurScope&&(t.emphasis.blurScope=a.blurScope))}}function Tg(t){vi(t,"itemStyle"),vi(t,"lineStyle"),vi(t,"areaStyle"),vi(t,"label"),vi(t,"labelLine"),vi(t,"upperLabel"),vi(t,"edgeLabel")}function ir(t,e){var n=xg(t)&&t[e],r=xg(n)&&n.textStyle;if(r){process.env.NODE_ENV!=="production"&&wl("textStyle hierarchy in "+e+" has been removed since 4.0. All textStyle properties are configured in "+e+" directly now.");for(var a=0,l=wO.length;a<l;a++){var u=wO[a];r.hasOwnProperty(u)&&(n[u]=r[u])}}}function so(t){t&&(Tg(t),ir(t,"label"),t.emphasis&&ir(t.emphasis,"label"))}function E$(t){if(xg(t)){WT(t),Tg(t),ir(t,"label"),ir(t,"upperLabel"),ir(t,"edgeLabel"),t.emphasis&&(ir(t.emphasis,"label"),ir(t.emphasis,"upperLabel"),ir(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(WT(e),so(e));var n=t.markLine;n&&(WT(n),so(n));var r=t.markArea;r&&so(r);var a=t.data;if(t.type==="graph"){a=a||t.nodes;var l=t.links||t.edges;if(l&&!ea(l))for(var u=0;u<l.length;u++)so(l[u]);W(t.categories,function(h){Tg(h)})}if(a&&!ea(a))for(var u=0;u<a.length;u++)so(a[u]);if(e=t.markPoint,e&&e.data)for(var f=e.data,u=0;u<f.length;u++)so(f[u]);if(n=t.markLine,n&&n.data)for(var d=n.data,u=0;u<d.length;u++)Be(d[u])?(so(d[u][0]),so(d[u][1])):so(d[u]);t.type==="gauge"?(ir(t,"axisLabel"),ir(t,"title"),ir(t,"detail")):t.type==="treemap"?(vi(t.breadcrumb,"itemStyle"),W(t.levels,function(h){Tg(h)})):t.type==="tree"&&Tg(t.leaves)}}function Eu(t){return Be(t)?t:t?[t]:[]}function Zk(t){return(Be(t)?t[0]:t)||{}}function D$(t,e){uo(Eu(t.series),function(r){xg(r)&&E$(r)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),uo(n,function(r){uo(Eu(t[r]),function(a){a&&(ir(a,"axisLabel"),ir(a.axisPointer,"label"))})}),uo(Eu(t.parallel),function(r){var a=r&&r.parallelAxisDefault;ir(a,"axisLabel"),ir(a&&a.axisPointer,"label")}),uo(Eu(t.calendar),function(r){vi(r,"itemStyle"),ir(r,"dayLabel"),ir(r,"monthLabel"),ir(r,"yearLabel")}),uo(Eu(t.radar),function(r){ir(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name,process.env.NODE_ENV!=="production"&&wl("name property in radar component has been changed to axisName")),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap,process.env.NODE_ENV!=="production"&&wl("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&uo(r.indicator,function(a){a.text&&Br("text","name","radar.indicator")})}),uo(Eu(t.geo),function(r){xg(r)&&(so(r),uo(Eu(r.regions),function(a){so(a)}))}),uo(Eu(t.timeline),function(r){so(r),vi(r,"label"),vi(r,"itemStyle"),vi(r,"controlStyle",!0);var a=r.data;Be(a)&&W(a,function(l){it(l)&&(vi(l,"label"),vi(l,"itemStyle"))})}),uo(Eu(t.toolbox),function(r){vi(r,"iconStyle"),uo(r.feature,function(a){vi(a,"iconStyle")})}),ir(Zk(t.axisPointer),"label"),ir(Zk(t.tooltip).axisPointer,"label")}function M$(t,e){for(var n=e.split(","),r=t,a=0;a<n.length&&(r=r&&r[n[a]],r!=null);a++);return r}function R$(t,e,n,r){for(var a=e.split(","),l=t,u,f=0;f<a.length-1;f++)u=a[f],l[u]==null&&(l[u]={}),l=l[u];(r||l[a[f]]==null)&&(l[a[f]]=n)}function Kk(t){t&&W(A$,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var A$=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],L$=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],XT=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function bg(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<XT.length;n++){var r=XT[n][1],a=XT[n][0];e[r]!=null&&(e[a]=e[r],process.env.NODE_ENV!=="production"&&Br(r,a))}}function Jk(t){t&&t.alignTo==="edge"&&t.margin!=null&&t.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&Br("label.margin","label.edgeDistance","pie"),t.edgeDistance=t.margin)}function eN(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay,process.env.NODE_ENV!=="production"&&Br("downplay","blur","sunburst"))}function O$(t){t&&t.focusNodeAdjacency!=null&&(t.emphasis=t.emphasis||{},t.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&Br("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),t.emphasis.focus="adjacency"))}function tN(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&tN(t[n].children,e)}function nN(t,e){D$(t,e),t.series=rr(t.series),W(t.series,function(n){if(it(n)){var r=n.type;if(r==="line")n.clipOverflow!=null&&(n.clip=n.clipOverflow,process.env.NODE_ENV!=="production"&&Br("clipOverflow","clip","line"));else if(r==="pie"||r==="gauge"){n.clockWise!=null&&(n.clockwise=n.clockWise,process.env.NODE_ENV!=="production"&&Br("clockWise","clockwise")),Jk(n.label);var a=n.data;if(a&&!ea(a))for(var l=0;l<a.length;l++)Jk(a[l]);n.hoverOffset!=null&&(n.emphasis=n.emphasis||{},(n.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&Br("hoverOffset","emphasis.scaleSize"),n.emphasis.scaleSize=n.hoverOffset))}else if(r==="gauge"){var u=M$(n,"pointer.color");u!=null&&R$(n,"itemStyle.color",u)}else if(r==="bar"){bg(n),bg(n.backgroundStyle),bg(n.emphasis);var a=n.data;if(a&&!ea(a))for(var l=0;l<a.length;l++)typeof a[l]=="object"&&(bg(a[l]),bg(a[l]&&a[l].emphasis))}else if(r==="sunburst"){var f=n.highlightPolicy;f&&(n.emphasis=n.emphasis||{},n.emphasis.focus||(n.emphasis.focus=f,process.env.NODE_ENV!=="production"&&Br("highlightPolicy","emphasis.focus","sunburst"))),eN(n),tN(n.data,eN)}else r==="graph"||r==="sankey"?O$(n):r==="map"&&(n.mapType&&!n.map&&(process.env.NODE_ENV!=="production"&&Br("mapType","map","map"),n.map=n.mapType),n.mapLocation&&(process.env.NODE_ENV!=="production"&&wl("`mapLocation` is not used anymore."),Vt(n,n.mapLocation)));n.hoverAnimation!=null&&(n.emphasis=n.emphasis||{},n.emphasis&&n.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&Br("hoverAnimation","emphasis.scale"),n.emphasis.scale=n.hoverAnimation)),Kk(n)}}),t.dataRange&&(t.visualMap=t.dataRange),W(L$,function(n){var r=t[n];r&&(Be(r)||(r=[r]),W(r,function(a){Kk(a)}))})}function k$(t){var e=xt();t.eachSeries(function(n){var r=n.get("stack");if(r){var a=e.get(r)||e.set(r,[]),l=n.getData(),u={stackResultDimension:l.getCalculationInfo("stackResultDimension"),stackedOverDimension:l.getCalculationInfo("stackedOverDimension"),stackedDimension:l.getCalculationInfo("stackedDimension"),stackedByDimension:l.getCalculationInfo("stackedByDimension"),isStackedByIndex:l.getCalculationInfo("isStackedByIndex"),data:l,seriesModel:n};if(!u.stackedDimension||!(u.isStackedByIndex||u.stackedByDimension))return;a.length&&l.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(u)}}),e.each(N$)}function N$(t){W(t,function(e,n){var r=[],a=[NaN,NaN],l=[e.stackResultDimension,e.stackedOverDimension],u=e.data,f=e.isStackedByIndex,d=e.seriesModel.get("stackStrategy")||"samesign";u.modify(l,function(h,p,m){var S=u.get(e.stackedDimension,m);if(isNaN(S))return a;var _,w;f?w=u.getRawIndex(m):_=u.get(e.stackedByDimension,m);for(var E=NaN,b=n-1;b>=0;b--){var D=t[b];if(f||(w=D.data.rawIndexOf(D.stackedByDimension,_)),w>=0){var A=D.data.getByRawIndex(D.stackResultDimension,w);if(d==="all"||d==="positive"&&A>0||d==="negative"&&A<0||d==="samesign"&&S>=0&&A>0||d==="samesign"&&S<=0&&A<0){S=N4(S,A),E=A;break}}}return r[0]=S,r[1]=E,r})})}var A_=function(){function t(e){this.data=e.data||(e.sourceFormat===Tu?{}:[]),this.sourceFormat=e.sourceFormat||zk,this.seriesLayoutBy=e.seriesLayoutBy||Al,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var n=this.dimensionsDefine=e.dimensionsDefine;if(n)for(var r=0;r<n.length;r++){var a=n[r];a.type==null&&Uk(this,r)===ka.Must&&(a.type="ordinal")}}return t}();function qT(t){return t instanceof A_}function QT(t,e,n){n=n||rN(t);var r=e.seriesLayoutBy,a=I$(t,n,r,e.sourceHeader,e.dimensions),l=new A_({data:t,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:a.dimensionsDefine,startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount,metaRawOption:Qt(e)});return l}function ZT(t){return new A_({data:t,sourceFormat:ea(t)?bu:lo})}function P$(t){return new A_({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:Qt(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function rN(t){var e=zk;if(ea(t))e=bu;else if(Be(t)){t.length===0&&(e=ki);for(var n=0,r=t.length;n<r;n++){var a=t[n];if(a!=null){if(Be(a)){e=ki;break}else if(it(a)){e=Fo;break}}}}else if(it(t)){for(var l in t)if(yu(t,l)&&Ai(t[l])){e=Tu;break}}return e}function I$(t,e,n,r,a){var l,u;if(!t)return{dimensionsDefine:iN(a),startIndex:u,dimensionsDetectedCount:l};if(e===ki){var f=t;r==="auto"||r==null?aN(function(h){h!=null&&h!=="-"&&(et(h)?u==null&&(u=1):u=0)},n,f,10):u=Nn(r)?r:r?1:0,!a&&u===1&&(a=[],aN(function(h,p){a[p]=h!=null?h+"":""},n,f,1/0)),l=a?a.length:n===xv?f.length:f[0]?f[0].length:null}else if(e===Fo)a||(a=z$(t));else if(e===Tu)a||(a=[],W(t,function(h,p){a.push(p)}));else if(e===lo){var d=tg(t[0]);l=Be(d)&&d.length||1}else e===bu&&process.env.NODE_ENV!=="production"&&bt(!!a,"dimensions must be given if data is TypedArray.");return{startIndex:u,dimensionsDefine:iN(a),dimensionsDetectedCount:l}}function z$(t){for(var e=0,n;e<t.length&&!(n=t[e++]););if(n){var r=[];return W(n,function(a,l){r.push(l)}),r}}function iN(t){if(t){var e=xt();return ot(t,function(n,r){n=it(n)?n:{name:n};var a={name:n.name,displayName:n.displayName,type:n.type};if(a.name==null)return a;a.name+="",a.displayName==null&&(a.displayName=a.name);var l=e.get(a.name);return l?a.name+="-"+l.count++:e.set(a.name,{count:1}),a})}}function aN(t,e,n,r){if(e===xv)for(var a=0;a<n.length&&a<r;a++)t(n[a]?n[a][0]:null,a);else for(var l=n[0]||[],a=0;a<l.length&&a<r;a++)t(l[a],a)}function oN(t){var e=t.sourceFormat;return e===Fo||e===Tu}var Sc,Cc,wc,lN,uN,sN=function(){function t(e,n){var r=qT(e)?e:ZT(e);this._source=r;var a=this._data=r.data;if(r.sourceFormat===bu){if(process.env.NODE_ENV!=="production"&&n==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=n,this._data=a}uN(this,a,r)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(e,n){},t.prototype.appendData=function(e){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var e;uN=function(u,f,d){var h=d.sourceFormat,p=d.seriesLayoutBy,m=d.startIndex,S=d.dimensionsDefine,_=lN[JT(h,p)];if(process.env.NODE_ENV!=="production"&&bt(_,"Invalide sourceFormat: "+h),Re(u,_),h===bu)u.getItem=n,u.count=a,u.fillStorage=r;else{var w=cN(h,p);u.getItem=Qn(w,null,f,m,S);var E=vN(h,p);u.count=Qn(E,null,f,m,S)}};var n=function(u,f){u=u-this._offset,f=f||[];for(var d=this._data,h=this._dimSize,p=h*u,m=0;m<h;m++)f[m]=d[p+m];return f},r=function(u,f,d,h){for(var p=this._data,m=this._dimSize,S=0;S<m;S++){for(var _=h[S],w=_[0]==null?1/0:_[0],E=_[1]==null?-1/0:_[1],b=f-u,D=d[S],A=0;A<b;A++){var O=p[A*m+S];D[u+A]=O,O<w&&(w=O),O>E&&(E=O)}_[0]=w,_[1]=E}},a=function(){return this._data?this._data.length/this._dimSize:0};lN=(e={},e[ki+"_"+Al]={pure:!0,appendData:l},e[ki+"_"+xv]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[Fo]={pure:!0,appendData:l},e[Tu]={pure:!0,appendData:function(u){var f=this._data;W(u,function(d,h){for(var p=f[h]||(f[h]=[]),m=0;m<(d||[]).length;m++)p.push(d[m])})}},e[lo]={appendData:l},e[bu]={persistent:!1,pure:!0,appendData:function(u){process.env.NODE_ENV!=="production"&&bt(ea(u),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=u},clean:function(){this._offset+=this.count(),this._data=null}},e);function l(u){for(var f=0;f<u.length;f++)this._data.push(u[f])}}(),t}(),fN=function(t,e,n,r){return t[r]},F$=(Sc={},Sc[ki+"_"+Al]=function(t,e,n,r){return t[r+e]},Sc[ki+"_"+xv]=function(t,e,n,r,a){r+=e;for(var l=a||[],u=t,f=0;f<u.length;f++){var d=u[f];l[f]=d?d[r]:null}return l},Sc[Fo]=fN,Sc[Tu]=function(t,e,n,r,a){for(var l=a||[],u=0;u<n.length;u++){var f=n[u].name;if(process.env.NODE_ENV!=="production"&&f==null)throw new Error;var d=t[f];l[u]=d?d[r]:null}return l},Sc[lo]=fN,Sc);function cN(t,e){var n=F$[JT(t,e)];return process.env.NODE_ENV!=="production"&&bt(n,'Do not support get item on "'+t+'", "'+e+'".'),n}var dN=function(t,e,n){return t.length},B$=(Cc={},Cc[ki+"_"+Al]=function(t,e,n){return Math.max(0,t.length-e)},Cc[ki+"_"+xv]=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},Cc[Fo]=dN,Cc[Tu]=function(t,e,n){var r=n[0].name;if(process.env.NODE_ENV!=="production"&&r==null)throw new Error;var a=t[r];return a?a.length:0},Cc[lo]=dN,Cc);function vN(t,e){var n=B$[JT(t,e)];return process.env.NODE_ENV!=="production"&&bt(n,'Do not support count on "'+t+'", "'+e+'".'),n}var KT=function(t,e,n){return t[e]},U$=(wc={},wc[ki]=KT,wc[Fo]=function(t,e,n){return t[n]},wc[Tu]=KT,wc[lo]=function(t,e,n){var r=tg(t);return r instanceof Array?r[e]:r},wc[bu]=KT,wc);function hN(t){var e=U$[t];return process.env.NODE_ENV!=="production"&&bt(e,'Do not support get value on "'+t+'".'),e}function JT(t,e){return t===ki?t+"_"+e:t}function Tv(t,e,n){if(t){var r=t.getRawDataItem(e);if(r!=null){var a=t.getStore(),l=a.getSource().sourceFormat;if(n!=null){var u=t.getDimensionIndex(n),f=a.getDimensionProperty(u);return hN(l)(r,u,f)}else{var d=r;return l===lo&&(d=tg(r)),d}}}}var V$=/\{@(.+?)\}/g,H$=function(){function t(){}return t.prototype.getDataParams=function(e,n){var r=this.getData(n),a=this.getRawValue(e,n),l=r.getRawIndex(e),u=r.getName(e),f=r.getRawDataItem(e),d=r.getItemVisual(e,"style"),h=d&&d[r.getItemVisual(e,"drawType")||"fill"],p=d&&d.stroke,m=this.mainType,S=m==="series",_=r.userOutput&&r.userOutput.get();return{componentType:m,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:S?this.subType:null,seriesIndex:this.seriesIndex,seriesId:S?this.id:null,seriesName:S?this.name:null,name:u,dataIndex:l,data:f,dataType:n,value:a,color:h,borderColor:p,dimensionNames:_?_.fullDimensions:null,encode:_?_.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(e,n,r,a,l,u){n=n||"normal";var f=this.getData(r),d=this.getDataParams(e,r);if(u&&(d.value=u.interpolatedValue),a!=null&&Be(d.value)&&(d.value=d.value[a]),!l){var h=f.getItemModel(e);l=h.get(n==="normal"?["label","formatter"]:[n,"label","formatter"])}if(_t(l))return d.status=n,d.dimensionIndex=a,l(d);if(et(l)){var p=kk(l,d);return p.replace(V$,function(m,S){var _=S.length,w=S;w.charAt(0)==="["&&w.charAt(_-1)==="]"&&(w=+w.slice(1,_-1),process.env.NODE_ENV!=="production"&&isNaN(w)&&ci("Invalide label formatter: @"+S+", only support @[0], @[1], @[2], ..."));var E=Tv(f,e,w);if(u&&Be(u.interpolatedValue)){var b=f.getDimensionIndex(w);b>=0&&(E=u.interpolatedValue[b])}return E!=null?E+"":""})}},t.prototype.getRawValue=function(e,n){return Tv(this.getData(n),e)},t.prototype.formatTooltip=function(e,n,r){},t}();function pN(t){var e,n;return it(t)?t.type?n=t:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+na(t)):e=t,{text:e,frag:n}}function Eg(t){return new G$(t)}var G$=function(){function t(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return t.prototype.perform=function(e){var n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var l;this._plan&&!r&&(l=this._plan(this.context));var u=p(this._modBy),f=this._modDataCount||0,d=p(e&&e.modBy),h=e&&e.modDataCount||0;(u!==d||f!==h)&&(l="reset");function p(A){return!(A>=1)&&(A=1),A}var m;(this._dirty||l==="reset")&&(this._dirty=!1,m=this._doReset(r)),this._modBy=d,this._modDataCount=h;var S=e&&e.step;if(n?(process.env.NODE_ENV!=="production"&&bt(n._outputDueEnd!=null),this._dueEnd=n._outputDueEnd):(process.env.NODE_ENV!=="production"&&bt(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var _=this._dueIndex,w=Math.min(S!=null?this._dueIndex+S:1/0,this._dueEnd);if(!r&&(m||_<w)){var E=this._progress;if(Be(E))for(var b=0;b<E.length;b++)this._doProgress(E[b],_,w,d,h);else this._doProgress(E,_,w,d,h)}this._dueIndex=w;var D=this._settedOutputEnd!=null?this._settedOutputEnd:w;process.env.NODE_ENV!=="production"&&bt(D>=this._outputDueEnd),this._outputDueEnd=D}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(e,n,r,a,l){gN.reset(n,r,a,l),this._callingProgress=e,this._callingProgress({start:n,end:r,count:r-n,next:gN.next},this.context)},t.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var n,r;!e&&this._reset&&(n=this._reset(this.context),n&&n.progress&&(r=n.forceFirstProgress,n=n.progress),Be(n)&&!n.length&&(n=null)),this._progress=n,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.dirty(),r},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(e){process.env.NODE_ENV!=="production"&&bt(e&&!e._disposed&&e!==this),(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t}(),gN=function(){var t,e,n,r,a,l={reset:function(d,h,p,m){e=d,t=h,n=p,r=m,a=Math.ceil(r/n),l.next=n>1&&r>0?f:u}};return l;function u(){return e<t?e++:null}function f(){var d=e%a*n+Math.ceil(e/a),h=e>=t?null:d<r?d:e;return e++,h}}();function L_(t,e){var n=e&&e.type;return n==="ordinal"?t:(n==="time"&&!Nn(t)&&t!=null&&t!=="-"&&(t=+Cu(t)),t==null||t===""?NaN:+t)}var $$=xt({number:function(t){return parseFloat(t)},time:function(t){return+Cu(t)},trim:function(t){return et(t)?yl(t):t}});function mN(t){return $$.get(t)}var yN={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},j$=function(){function t(e,n){if(!Nn(n)){var r="";process.env.NODE_ENV!=="production"&&(r='rvalue of "<", ">", "<=", ">=" can only be number in filter.'),Ht(r)}this._opFn=yN[e],this._rvalFloat=Ds(n)}return t.prototype.evaluate=function(e){return Nn(e)?this._opFn(e,this._rvalFloat):this._opFn(Ds(e),this._rvalFloat)},t}(),_N=function(){function t(e,n){var r=e==="desc";this._resultLT=r?1:-1,n==null&&(n=r?"min":"max"),this._incomparable=n==="min"?-1/0:1/0}return t.prototype.evaluate=function(e,n){var r=Nn(e)?e:Ds(e),a=Nn(n)?n:Ds(n),l=isNaN(r),u=isNaN(a);if(l&&(r=this._incomparable),u&&(a=this._incomparable),l&&u){var f=et(e),d=et(n);f&&(r=d?e:0),d&&(a=f?n:0)}return r<a?this._resultLT:r>a?-this._resultLT:0},t}(),Y$=function(){function t(e,n){this._rval=n,this._isEQ=e,this._rvalTypeof=typeof n,this._rvalFloat=Ds(n)}return t.prototype.evaluate=function(e){var n=e===this._rval;if(!n){var r=typeof e;r!==this._rvalTypeof&&(r==="number"||this._rvalTypeof==="number")&&(n=Ds(e)===this._rvalFloat)}return this._isEQ?n:!n},t}();function W$(t,e){return t==="eq"||t==="ne"?new Y$(t==="eq",e):yu(yN,t)?new j$(t,e):null}var X$=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(e){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(e){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(e,n){},t.prototype.retrieveValueFromItem=function(e,n){},t.prototype.convertValue=function(e,n){return L_(e,n)},t}();function q$(t,e){var n=new X$,r=t.data,a=n.sourceFormat=t.sourceFormat,l=t.startIndex,u="";t.seriesLayoutBy!==Al&&(process.env.NODE_ENV!=="production"&&(u='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Ht(u));var f=[],d={},h=t.dimensionsDefine;if(h)W(h,function(E,b){var D=E.name,A={index:b,name:D,displayName:E.displayName};if(f.push(A),D!=null){var O="";yu(d,D)&&(process.env.NODE_ENV!=="production"&&(O='dimension name "'+D+'" duplicated.'),Ht(O)),d[D]=A}});else for(var p=0;p<t.dimensionsDetectedCount;p++)f.push({index:p});var m=cN(a,Al);e.__isBuiltIn&&(n.getRawDataItem=function(E){return m(r,l,f,E)},n.getRawData=Qn(Q$,null,t)),n.cloneRawData=Qn(Z$,null,t);var S=vN(a,Al);n.count=Qn(S,null,r,l,f);var _=hN(a);n.retrieveValue=function(E,b){var D=m(r,l,f,E);return w(D,b)};var w=n.retrieveValueFromItem=function(E,b){if(E!=null){var D=f[b];if(D)return _(E,b,D.name)}};return n.getDimensionInfo=Qn(K$,null,f,d),n.cloneAllDimensionInfo=Qn(J$,null,f),n}function Q$(t){var e=t.sourceFormat;if(!eb(e)){var n="";process.env.NODE_ENV!=="production"&&(n="`getRawData` is not supported in source format "+e),Ht(n)}return t.data}function Z$(t){var e=t.sourceFormat,n=t.data;if(!eb(e)){var r="";process.env.NODE_ENV!=="production"&&(r="`cloneRawData` is not supported in source format "+e),Ht(r)}if(e===ki){for(var a=[],l=0,u=n.length;l<u;l++)a.push(n[l].slice());return a}else if(e===Fo){for(var a=[],l=0,u=n.length;l<u;l++)a.push(Re({},n[l]));return a}}function K$(t,e,n){if(n!=null){if(Nn(n)||!isNaN(n)&&!yu(e,n))return t[n];if(yu(e,n))return e[n]}}function J$(t){return Qt(t)}var SN=xt();function e9(t){t=Qt(t);var e=t.type,n="";e||(process.env.NODE_ENV!=="production"&&(n="Must have a `type` when `registerTransform`."),Ht(n));var r=e.split(":");r.length!==2&&(process.env.NODE_ENV!=="production"&&(n='Name must include namespace like "ns:regression".'),Ht(n));var a=!1;r[0]==="echarts"&&(e=r[1],a=!0),t.__isBuiltIn=a,SN.set(e,t)}function t9(t,e,n){var r=rr(t),a=r.length,l="";a||(process.env.NODE_ENV!=="production"&&(l="If `transform` declared, it should at least contain one transform."),Ht(l));for(var u=0,f=a;u<f;u++){var d=r[u];e=n9(d,e,n,a===1?null:u),u!==f-1&&(e.length=Math.max(e.length,1))}return e}function n9(t,e,n,r){var a="";e.length||(process.env.NODE_ENV!=="production"&&(a="Must have at least one upstream dataset."),Ht(a)),it(t)||(process.env.NODE_ENV!=="production"&&(a="transform declaration must be an object rather than "+typeof t+"."),Ht(a));var l=t.type,u=SN.get(l);u||(process.env.NODE_ENV!=="production"&&(a='Can not find transform on type "'+l+'".'),Ht(a));var f=ot(e,function(p){return q$(p,u)}),d=rr(u.transform({upstream:f[0],upstreamList:f,config:Qt(t.config)}));if(process.env.NODE_ENV!=="production"&&t.print){var h=ot(d,function(p){var m=r!=null?" === pipe index: "+r:"";return["=== dataset index: "+n.datasetIndex+m+" ===","- transform result data:",na(p.data),"- transform result dimensions:",na(p.dimensions)].join(`
203
+ `)}).join(`
204
+ `);B4(h)}return ot(d,function(p,m){var S="";it(p)||(process.env.NODE_ENV!=="production"&&(S="A transform should not return some empty results."),Ht(S)),p.data||(process.env.NODE_ENV!=="production"&&(S="Transform result data should be not be null or undefined"),Ht(S));var _=rN(p.data);eb(_)||(process.env.NODE_ENV!=="production"&&(S="Transform result data should be array rows or object rows."),Ht(S));var w,E=e[0];if(E&&m===0&&!p.dimensions){var b=E.startIndex;b&&(p.data=E.data.slice(0,b).concat(p.data)),w={seriesLayoutBy:Al,sourceHeader:b,dimensions:E.metaRawOption.dimensions}}else w={seriesLayoutBy:Al,sourceHeader:0,dimensions:p.dimensions};return QT(p.data,w,null)})}function eb(t){return t===ki||t===Fo}var O_="undefined",r9=typeof Uint32Array===O_?Array:Uint32Array,i9=typeof Uint16Array===O_?Array:Uint16Array,CN=typeof Int32Array===O_?Array:Int32Array,wN=typeof Float64Array===O_?Array:Float64Array,xN={float:wN,int:CN,ordinal:Array,number:Array,time:wN},tb;function Dg(t){return t>65535?r9:i9}function bv(){return[1/0,-1/0]}function a9(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function TN(t,e,n,r,a){var l=xN[n||"float"];if(a){var u=t[e],f=u&&u.length;if(f!==r){for(var d=new l(r),h=0;h<f;h++)d[h]=u[h];t[e]=d}}else t[e]=new l(r)}var o9=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=xt()}return t.prototype.initData=function(e,n,r){process.env.NODE_ENV!=="production"&&bt(_t(e.getItem)&&_t(e.count),"Invalid data provider."),this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=e.getSource(),l=this.defaultDimValueGetter=tb[a.sourceFormat];this._dimValueGetter=r||l,this._rawExtent=[];var u=oN(a);this._dimensions=ot(n,function(f){return process.env.NODE_ENV!=="production"&&u&&bt(f.property!=null),{type:f.type,property:f.property}}),this._initDataFromProvider(0,e.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(e,n){var r=this._calcDimNameToIdx,a=this._dimensions,l=r.get(e);if(l!=null){if(a[l].type===n)return l}else l=a.length;return a[l]={type:n},r.set(e,l),this._chunks[l]=new xN[n||"float"](this._rawCount),this._rawExtent[l]=bv(),l},t.prototype.collectOrdinalMeta=function(e,n){var r=this._chunks[e],a=this._dimensions[e],l=this._rawExtent,u=a.ordinalOffset||0,f=r.length;u===0&&(l[e]=bv());for(var d=l[e],h=u;h<f;h++){var p=r[h]=n.parseAndCollect(r[h]);isNaN(p)||(d[0]=Math.min(p,d[0]),d[1]=Math.max(p,d[1]))}a.ordinalMeta=n,a.ordinalOffset=f,a.type="ordinal"},t.prototype.getOrdinalMeta=function(e){var n=this._dimensions[e],r=n.ordinalMeta;return r},t.prototype.getDimensionProperty=function(e){var n=this._dimensions[e];return n&&n.property},t.prototype.appendData=function(e){process.env.NODE_ENV!=="production"&&bt(!this._indices,"appendData can only be called on raw data.");var n=this._provider,r=this.count();n.appendData(e);var a=n.count();return n.persistent||(a+=r),r<a&&this._initDataFromProvider(r,a,!0),[r,a]},t.prototype.appendValues=function(e,n){for(var r=this._chunks,a=this._dimensions,l=a.length,u=this._rawExtent,f=this.count(),d=f+Math.max(e.length,n||0),h=0;h<l;h++){var p=a[h];TN(r,h,p.type,d,!0)}for(var m=[],S=f;S<d;S++)for(var _=S-f,w=0;w<l;w++){var p=a[w],E=tb.arrayRows.call(this,e[_]||m,p.property,_,w);r[w][S]=E;var b=u[w];E<b[0]&&(b[0]=E),E>b[1]&&(b[1]=E)}return this._rawCount=this._count=d,{start:f,end:d}},t.prototype._initDataFromProvider=function(e,n,r){for(var a=this._provider,l=this._chunks,u=this._dimensions,f=u.length,d=this._rawExtent,h=ot(u,function(A){return A.property}),p=0;p<f;p++){var m=u[p];d[p]||(d[p]=bv()),TN(l,p,m.type,n,r)}if(a.fillStorage)a.fillStorage(e,n,l,d);else for(var S=[],_=e;_<n;_++){S=a.getItem(_,S);for(var w=0;w<f;w++){var E=l[w],b=this._dimValueGetter(S,h[w],_,w);E[_]=b;var D=d[w];b<D[0]&&(D[0]=b),b>D[1]&&(D[1]=b)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=n,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(e,n){if(!(n>=0&&n<this._count))return NaN;var r=this._chunks[e];return r?r[this.getRawIndex(n)]:NaN},t.prototype.getValues=function(e,n){var r=[],a=[];if(n==null){n=e,e=[];for(var l=0;l<this._dimensions.length;l++)a.push(l)}else a=e;for(var l=0,u=a.length;l<u;l++)r.push(this.get(a[l],n));return r},t.prototype.getByRawIndex=function(e,n){if(!(n>=0&&n<this._rawCount))return NaN;var r=this._chunks[e];return r?r[n]:NaN},t.prototype.getSum=function(e){var n=this._chunks[e],r=0;if(n)for(var a=0,l=this.count();a<l;a++){var u=this.get(e,a);isNaN(u)||(r+=u)}return r},t.prototype.getMedian=function(e){var n=[];this.each([e],function(l){isNaN(l)||n.push(l)});var r=n.sort(function(l,u){return l-u}),a=this.count();return a===0?0:a%2===1?r[(a-1)/2]:(r[a/2]+r[a/2-1])/2},t.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var n=this._indices,r=n[e];if(r!=null&&r<this._count&&r===e)return e;for(var a=0,l=this._count-1;a<=l;){var u=(a+l)/2|0;if(n[u]<e)a=u+1;else if(n[u]>e)l=u-1;else return u}return-1},t.prototype.indicesOfNearest=function(e,n,r){var a=this._chunks,l=a[e],u=[];if(!l)return u;r==null&&(r=1/0);for(var f=1/0,d=-1,h=0,p=0,m=this.count();p<m;p++){var S=this.getRawIndex(p),_=n-l[S],w=Math.abs(_);w<=r&&((w<f||w===f&&_>=0&&d<0)&&(f=w,d=_,h=0),_===d&&(u[h++]=p))}return u.length=h,u},t.prototype.getIndices=function(){var e,n=this._indices;if(n){var r=n.constructor,a=this._count;if(r===Array){e=new r(a);for(var l=0;l<a;l++)e[l]=n[l]}else e=new r(n.buffer,0,a)}else{var r=Dg(this._rawCount);e=new r(this.count());for(var l=0;l<e.length;l++)e[l]=l}return e},t.prototype.filter=function(e,n){if(!this._count)return this;for(var r=this.clone(),a=r.count(),l=Dg(r._rawCount),u=new l(a),f=[],d=e.length,h=0,p=e[0],m=r._chunks,S=0;S<a;S++){var _=void 0,w=r.getRawIndex(S);if(d===0)_=n(S);else if(d===1){var E=m[p][w];_=n(E,S)}else{for(var b=0;b<d;b++)f[b]=m[e[b]][w];f[b]=S,_=n.apply(null,f)}_&&(u[h++]=w)}return h<a&&(r._indices=u),r._count=h,r._extent=[],r._updateGetRawIdx(),r},t.prototype.selectRange=function(e){var n=this.clone(),r=n._count;if(!r)return this;var a=kn(e),l=a.length;if(!l)return this;var u=n.count(),f=Dg(n._rawCount),d=new f(u),h=0,p=a[0],m=e[p][0],S=e[p][1],_=n._chunks,w=!1;if(!n._indices){var E=0;if(l===1){for(var b=_[a[0]],D=0;D<r;D++){var A=b[D];(A>=m&&A<=S||isNaN(A))&&(d[h++]=E),E++}w=!0}else if(l===2){for(var b=_[a[0]],O=_[a[1]],P=e[a[1]][0],I=e[a[1]][1],D=0;D<r;D++){var A=b[D],F=O[D];(A>=m&&A<=S||isNaN(A))&&(F>=P&&F<=I||isNaN(F))&&(d[h++]=E),E++}w=!0}}if(!w)if(l===1)for(var D=0;D<u;D++){var U=n.getRawIndex(D),A=_[a[0]][U];(A>=m&&A<=S||isNaN(A))&&(d[h++]=U)}else for(var D=0;D<u;D++){for(var H=!0,U=n.getRawIndex(D),j=0;j<l;j++){var X=a[j],A=_[X][U];(A<e[X][0]||A>e[X][1])&&(H=!1)}H&&(d[h++]=n.getRawIndex(D))}return h<u&&(n._indices=d),n._count=h,n._extent=[],n._updateGetRawIdx(),n},t.prototype.map=function(e,n){var r=this.clone(e);return this._updateDims(r,e,n),r},t.prototype.modify=function(e,n){this._updateDims(this,e,n)},t.prototype._updateDims=function(e,n,r){for(var a=e._chunks,l=[],u=n.length,f=e.count(),d=[],h=e._rawExtent,p=0;p<n.length;p++)h[n[p]]=bv();for(var m=0;m<f;m++){for(var S=e.getRawIndex(m),_=0;_<u;_++)d[_]=a[n[_]][S];d[u]=m;var w=r&&r.apply(null,d);if(w!=null){typeof w!="object"&&(l[0]=w,w=l);for(var p=0;p<w.length;p++){var E=n[p],b=w[p],D=h[E],A=a[E];A&&(A[S]=b),b<D[0]&&(D[0]=b),b>D[1]&&(D[1]=b)}}}},t.prototype.lttbDownSample=function(e,n){var r=this.clone([e],!0),a=r._chunks,l=a[e],u=this.count(),f=0,d=Math.floor(1/n),h=this.getRawIndex(0),p,m,S,_=new(Dg(this._rawCount))(Math.min((Math.ceil(u/d)+2)*2,u));_[f++]=h;for(var w=1;w<u-1;w+=d){for(var E=Math.min(w+d,u-1),b=Math.min(w+d*2,u),D=(b+E)/2,A=0,O=E;O<b;O++){var P=this.getRawIndex(O),I=l[P];isNaN(I)||(A+=I)}A/=b-E;var F=w,U=Math.min(w+d,u),H=w-1,j=l[h];p=-1,S=F;for(var X=-1,G=0,O=F;O<U;O++){var P=this.getRawIndex(O),I=l[P];if(isNaN(I)){G++,X<0&&(X=P);continue}m=Math.abs((H-D)*(I-j)-(H-O)*(A-j)),m>p&&(p=m,S=P)}G>0&&G<U-F&&(_[f++]=Math.min(X,S),S=Math.max(X,S)),_[f++]=S,h=S}return _[f++]=this.getRawIndex(u-1),r._count=f,r._indices=_,r.getRawIndex=this._getRawIdx,r},t.prototype.downSample=function(e,n,r,a){for(var l=this.clone([e],!0),u=l._chunks,f=[],d=Math.floor(1/n),h=u[e],p=this.count(),m=l._rawExtent[e]=bv(),S=new(Dg(this._rawCount))(Math.ceil(p/d)),_=0,w=0;w<p;w+=d){d>p-w&&(d=p-w,f.length=d);for(var E=0;E<d;E++){var b=this.getRawIndex(w+E);f[E]=h[b]}var D=r(f),A=this.getRawIndex(Math.min(w+a(f,D)||0,p-1));h[A]=D,D<m[0]&&(m[0]=D),D>m[1]&&(m[1]=D),S[_++]=A}return l._count=_,l._indices=S,l._updateGetRawIdx(),l},t.prototype.each=function(e,n){if(this._count)for(var r=e.length,a=this._chunks,l=0,u=this.count();l<u;l++){var f=this.getRawIndex(l);switch(r){case 0:n(l);break;case 1:n(a[e[0]][f],l);break;case 2:n(a[e[0]][f],a[e[1]][f],l);break;default:for(var d=0,h=[];d<r;d++)h[d]=a[e[d]][f];h[d]=l,n.apply(null,h)}}},t.prototype.getDataExtent=function(e){var n=this._chunks[e],r=bv();if(!n)return r;var a=this.count(),l=!this._indices,u;if(l)return this._rawExtent[e].slice();if(u=this._extent[e],u)return u.slice();u=r;for(var f=u[0],d=u[1],h=0;h<a;h++){var p=this.getRawIndex(h),m=n[p];m<f&&(f=m),m>d&&(d=m)}return u=[f,d],this._extent[e]=u,u},t.prototype.getRawDataItem=function(e){var n=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],a=this._chunks,l=0;l<a.length;l++)r.push(a[l][n]);return r},t.prototype.clone=function(e,n){var r=new t,a=this._chunks,l=e&&Wd(e,function(f,d){return f[d]=!0,f},{});if(l)for(var u=0;u<a.length;u++)r._chunks[u]=l[u]?a9(a[u]):a[u];else r._chunks=a;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},t.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Qt(this._extent),e._rawExtent=Qt(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,n=void 0;if(e===Array){var r=this._indices.length;n=new e(r);for(var a=0;a<r;a++)n[a]=this._indices[a]}else n=new e(this._indices);return n}return null},t.prototype._getRawIdxIdentity=function(e){return e},t.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function e(n,r,a,l){return L_(n[l],this._dimensions[l])}tb={arrayRows:e,objectRows:function(n,r,a,l){return L_(n[r],this._dimensions[l])},keyedColumns:e,original:function(n,r,a,l){var u=n&&(n.value==null?n:n.value);return L_(u instanceof Array?u[l]:u,this._dimensions[l])},typedArray:function(n,r,a,l){return n[l]}}}(),t}();const nb=o9;var bN=function(){function t(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(e,n){this._sourceList=e,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,a,l;if(Mg(e)){var u=e,f=void 0,d=void 0,h=void 0;if(r){var p=n[0];p.prepareSource(),h=p.getSource(),f=h.data,d=h.sourceFormat,l=[p._getVersionSign()]}else f=u.get("data",!0),d=ea(f)?bu:lo,l=[];var m=this._getSourceMetaRawOption()||{},S=h&&h.metaRawOption||{},_=kt(m.seriesLayoutBy,S.seriesLayoutBy)||null,w=kt(m.sourceHeader,S.sourceHeader),E=kt(m.dimensions,S.dimensions),b=_!==S.seriesLayoutBy||!!w!=!!S.sourceHeader||E;a=b?[QT(f,{seriesLayoutBy:_,sourceHeader:w,dimensions:E},d)]:[]}else{var D=e;if(r){var A=this._applyTransform(n);a=A.sourceList,l=A.upstreamSignList}else{var O=D.get("source",!0);a=[QT(O,this._getSourceMetaRawOption(),null)],l=[]}}process.env.NODE_ENV!=="production"&&bt(a&&l),this._setLocalSource(a,l)},t.prototype._applyTransform=function(e){var n=this._sourceHost,r=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&bt(a!=null||r!=null),a!=null){var l="";e.length!==1&&(process.env.NODE_ENV!=="production"&&(l="When using `fromTransformResult`, there should be only one upstream dataset"),DN(l))}var u,f=[],d=[];return W(e,function(h){h.prepareSource();var p=h.getSource(a||0),m="";a!=null&&!p&&(process.env.NODE_ENV!=="production"&&(m="Can not retrieve result by `fromTransformResult`: "+a),DN(m)),f.push(p),d.push(h._getVersionSign())}),r?u=t9(r,f,{datasetIndex:n.componentIndex}):a!=null&&(u=[P$(f[0])]),{sourceList:u,upstreamSignList:d}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),n=0;n<e.length;n++){var r=e[n];if(r._isDirty()||this._upstreamSignList[n]!==r._getVersionSign())return!0}},t.prototype.getSource=function(e){e=e||0;var n=this._sourceList[e];if(!n){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(e)}return n},t.prototype.getSharedDataStore=function(e){process.env.NODE_ENV!=="production"&&bt(Mg(this._sourceHost),"Can only call getDataStore on series source manager.");var n=e.makeStoreSchema();return this._innerGetDataStore(n.dimensions,e.source,n.hash)},t.prototype._innerGetDataStore=function(e,n,r){var a=0,l=this._storeList,u=l[a];u||(u=l[a]={});var f=u[r];if(!f){var d=this._getUpstreamSourceManagers()[0];Mg(this._sourceHost)&&d?f=d._innerGetDataStore(e,n,r):(f=new nb,f.initData(new sN(n,e.length),e)),u[r]=f}return f},t.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(Mg(e)){var n=Bk(e);return n?[n.getSourceManager()]:[]}else return ot(i$(e),function(r){return r.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,n,r,a;if(Mg(e))n=e.get("seriesLayoutBy",!0),r=e.get("sourceHeader",!0),a=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var l=e;n=l.get("seriesLayoutBy",!0),r=l.get("sourceHeader",!0),a=l.get("dimensions",!0)}return{seriesLayoutBy:n,sourceHeader:r,dimensions:a}},t}();function EN(t){var e=t.option.transform;e&&b0(t.option.transform)}function Mg(t){return t.mainType==="series"}function DN(t){throw new Error(t)}var MN="line-height:1";function RN(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,a=t.fontWeight||"400",l=t.color||"#464646",u=t.fontSize||14,f=t.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+to(r+"")+"px;color:"+to(n)+";font-weight:"+to(a+""),valueStyle:"font-size:"+to(u+"")+"px;color:"+to(l)+";font-weight:"+to(f+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:a},valueStyle:{fontSize:u,fill:l,fontWeight:f}}}var l9=[0,10,20,30],u9=["",`
205
+ `,`
206
+
207
+ `,`
208
+
209
+
210
+ `];function Rg(t,e){return e.type=t,e}function rb(t){return t.type==="section"}function AN(t){return rb(t)?s9:f9}function LN(t){if(rb(t)){var e=0,n=t.blocks.length,r=n>1||n>0&&!t.noHeader;return W(t.blocks,function(a){var l=LN(a);l>=e&&(e=l+ +(r&&(!l||rb(a)&&!a.noHeader)))}),e}return 0}function s9(t,e,n,r){var a=e.noHeader,l=c9(LN(e)),u=[],f=e.blocks||[];bt(!f||Be(f)),f=f||[];var d=t.orderMode;if(e.sortBlocks&&d){f=f.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(yu(h,d)){var p=new _N(h[d],null);f.sort(function(w,E){return p.evaluate(w.sortParam,E.sortParam)})}else d==="seriesDesc"&&f.reverse()}W(f,function(w,E){var b=e.valueFormatter,D=AN(w)(b?Re(Re({},t),{valueFormatter:b}):t,w,E>0?l.html:0,r);D!=null&&u.push(D)});var m=t.renderMode==="richText"?u.join(l.richText):ib(u.join(""),a?n:l.html);if(a)return m;var S=FT(e.header,"ordinal",t.useUTC),_=RN(r,t.renderMode).nameStyle;return t.renderMode==="richText"?kN(t,S,_)+l.richText+m:ib('<div style="'+_+";"+MN+';">'+to(S)+"</div>"+m,n)}function f9(t,e,n,r){var a=t.renderMode,l=e.noName,u=e.noValue,f=!e.markerType,d=e.name,h=t.useUTC,p=e.valueFormatter||t.valueFormatter||function(P){return P=Be(P)?P:[P],ot(P,function(I,F){return FT(I,Be(_)?_[F]:_,h)})};if(!(l&&u)){var m=f?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),S=l?"":FT(d,"ordinal",h),_=e.valueType,w=u?[]:p(e.value),E=!f||!l,b=!f&&l,D=RN(r,a),A=D.nameStyle,O=D.valueStyle;return a==="richText"?(f?"":m)+(l?"":kN(t,S,A))+(u?"":h9(t,w,E,b,O)):ib((f?"":m)+(l?"":d9(S,!f,A))+(u?"":v9(w,E,b,O)),n)}}function ON(t,e,n,r,a,l){if(t){var u=AN(t),f={useUTC:a,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter};return u(f,t,0,l)}}function c9(t){return{html:l9[t],richText:u9[t]}}function ib(t,e){var n='<div style="clear:both"></div>',r="margin: "+e+"px 0 0";return'<div style="'+r+";"+MN+';">'+t+n+"</div>"}function d9(t,e,n){var r=e?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+to(t)+"</span>"}function v9(t,e,n,r){var a=n?"10px":"20px",l=e?"float:right;margin-left:"+a:"";return t=Be(t)?t:[t],'<span style="'+l+";"+r+'">'+ot(t,function(u){return to(u)}).join("&nbsp;&nbsp;")+"</span>"}function kN(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function h9(t,e,n,r,a){var l=[a],u=r?10:20;return n&&l.push({padding:[0,0,0,u],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Be(e)?e.join(" "):e,l)}function p9(t,e){var n=t.getData().getItemVisual(e,"style"),r=n[t.visualDrawType];return _g(r)}function NN(t,e){var n=t.get("padding");return n??(e==="richText"?[8,10]:10)}var ab=function(){function t(){this.richTextStyles={},this._nextStyleNameId=pO()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(e,n,r){var a=r==="richText"?this._generateStyleName():null,l=QG({color:n,type:e,renderMode:r,markerId:a});return et(l)?l:(process.env.NODE_ENV!=="production"&&bt(a),this.richTextStyles[a]=l.style,l.content)},t.prototype.wrapRichTextStyle=function(e,n){var r={};Be(n)?W(n,function(l){return Re(r,l)}):Re(r,n);var a=this._generateStyleName();return this.richTextStyles[a]=r,"{"+a+"|"+e+"}"},t}();function g9(t){var e=t.series,n=t.dataIndex,r=t.multipleSeries,a=e.getData(),l=a.mapDimensionsAll("defaultedTooltip"),u=l.length,f=e.getRawValue(n),d=Be(f),h=p9(e,n),p,m,S,_;if(u>1||d&&!u){var w=m9(f,e,n,l,h);p=w.inlineValues,m=w.inlineValueTypes,S=w.blocks,_=w.inlineValues[0]}else if(u){var E=a.getDimensionInfo(l[0]);_=p=Tv(a,n,l[0]),m=E.type}else _=p=d?f[0]:f;var b=EO(e),D=b&&e.name||"",A=a.getName(n),O=r?D:A;return Rg("section",{header:D,noHeader:r||!b,sortParam:_,blocks:[Rg("nameValue",{markerType:"item",markerColor:h,name:O,noName:!yl(O),value:p,valueType:m})].concat(S||[])})}function m9(t,e,n,r,a){var l=e.getData(),u=Wd(t,function(m,S,_){var w=l.getDimensionInfo(_);return m=m||w&&w.tooltip!==!1&&w.displayName!=null},!1),f=[],d=[],h=[];r.length?W(r,function(m){p(Tv(l,n,m),m)}):W(t,p);function p(m,S){var _=l.getDimensionInfo(S);!_||_.otherDims.tooltip===!1||(u?h.push(Rg("nameValue",{markerType:"subItem",markerColor:a,name:_.displayName,value:m,valueType:_.type})):(f.push(m),d.push(_.type)))}return{inlineValues:f,inlineValueTypes:d,blocks:h}}var ks=jn();function k_(t,e){return t.getName(e)||t.getId(e)}var N_="__universalTransitionEnabled",P_=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return e.prototype.init=function(n,r,a){this.seriesIndex=this.componentIndex,this.dataTask=Eg({count:_9,reset:S9}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,a);var l=ks(this).sourceManager=new bN(this);l.prepareSource();var u=this.getInitialData(n,a);IN(u,this),this.dataTask.context.data=u,process.env.NODE_ENV!=="production"&&bt(u,"getInitialData returned invalid data."),ks(this).dataBeforeProcessed=u,PN(this),this._initSelectedMapFromData(u)},e.prototype.mergeDefaultAndTheme=function(n,r){var a=Sg(this),l=a?VT(n):{},u=this.subType;En.hasClass(u)&&(u+="Series"),cn(n,r.getTheme().get(this.subType)),cn(n,this.getDefaultOption()),CO(n,"label",["show"]),this.fillDataTextStyle(n.data),a&&Cg(n,l,a)},e.prototype.mergeOption=function(n,r){n=cn(this.option,n,!0),this.fillDataTextStyle(n.data);var a=Sg(this);a&&Cg(this.option,n,a);var l=ks(this).sourceManager;l.dirty(),l.prepareSource();var u=this.getInitialData(n,r);IN(u,this),this.dataTask.dirty(),this.dataTask.context.data=u,ks(this).dataBeforeProcessed=u,PN(this),this._initSelectedMapFromData(u)},e.prototype.fillDataTextStyle=function(n){if(n&&!ea(n))for(var r=["show"],a=0;a<n.length;a++)n[a]&&n[a].label&&CO(n[a],"label",r)},e.prototype.getInitialData=function(n,r){},e.prototype.appendData=function(n){var r=this.getRawData();r.appendData(n.data)},e.prototype.getData=function(n){var r=ob(this);if(r){var a=r.context.data;return n==null?a:a.getLinkedData(n)}else return ks(this).data},e.prototype.getAllData=function(){var n=this.getData();return n&&n.getLinkedDataAll?n.getLinkedDataAll():[{data:n}]},e.prototype.setData=function(n){var r=ob(this);if(r){var a=r.context;a.outputData=n,r!==this.dataTask&&(a.data=n)}ks(this).data=n},e.prototype.getEncode=function(){var n=this.get("encode",!0);if(n)return xt(n)},e.prototype.getSourceManager=function(){return ks(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return ks(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var n=this.get("colorBy");return n||"series"},e.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},e.prototype.getBaseAxis=function(){var n=this.coordinateSystem;return n&&n.getBaseAxis&&n.getBaseAxis()},e.prototype.formatTooltip=function(n,r,a){return g9({series:this,dataIndex:n,multipleSeries:r})},e.prototype.isAnimationEnabled=function(){var n=this.ecModel;if(Tt.node&&!(n&&n.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(n,r,a){var l=this.ecModel,u=GT.prototype.getColorFromPalette.call(this,n,r,a);return u||(u=l.getColorFromPalette(n,r,a)),u},e.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},e.prototype.unselect=function(n,r){var a=this.option.selectedMap;if(a){var l=this.option.selectedMode,u=this.getData(r);if(l==="series"||a==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var f=0;f<n.length;f++){var d=n[f],h=k_(u,d);a[h]=!1,this._selectedDataIndicesMap[h]=-1}}},e.prototype.toggleSelect=function(n,r){for(var a=[],l=0;l<n.length;l++)a[0]=n[l],this.isSelected(n[l],r)?this.unselect(a,r):this.select(a,r)},e.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var n=this._selectedDataIndicesMap,r=kn(n),a=[],l=0;l<r.length;l++){var u=n[r[l]];u>=0&&a.push(u)}return a},e.prototype.isSelected=function(n,r){var a=this.option.selectedMap;if(!a)return!1;var l=this.getData(r);return(a==="all"||a[k_(l,n)])&&!l.getItemModel(n).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[N_])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},e.prototype._innerSelect=function(n,r){var a,l,u=this.option,f=u.selectedMode,d=r.length;if(!(!f||!d)){if(f==="series")u.selectedMap="all";else if(f==="multiple"){it(u.selectedMap)||(u.selectedMap={});for(var h=u.selectedMap,p=0;p<d;p++){var m=r[p],S=k_(n,m);h[S]=!0,this._selectedDataIndicesMap[S]=n.getRawIndex(m)}}else if(f==="single"||f===!0){var _=r[d-1],S=k_(n,_);u.selectedMap=(a={},a[S]=!0,a),this._selectedDataIndicesMap=(l={},l[S]=n.getRawIndex(_),l)}}},e.prototype._initSelectedMapFromData=function(n){if(!this.option.selectedMap){var r=[];n.hasItemOption&&n.each(function(a){var l=n.getRawDataItem(a);l&&l.selected&&r.push(a)}),r.length>0&&this._innerSelect(n,r)}},e.registerClass=function(n){return En.registerClass(n)},e.protoInitialize=function(){var n=e.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),e}(En);ml(P_,H$),ml(P_,GT),RO(P_,En);function PN(t){var e=t.name;EO(t)||(t.name=y9(t)||e)}function y9(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return W(n,function(a){var l=e.getDimensionInfo(a);l.displayName&&r.push(l.displayName)}),r.join(" ")}function _9(t){return t.model.getRawData().count()}function S9(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),C9}function C9(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function IN(t,e){W(uH(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,Aa(w9,e))})}function w9(t,e){var n=ob(t);return n&&n.setOutputEnd((e||this).count()),e}function ob(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var a=r.agentStubMap;a&&(r=a.get(t.uid))}return r}}const Ev=P_;var lb=function(){function t(){this.group=new Cl,this.uid=m_("viewComponent")}return t.prototype.init=function(e,n){},t.prototype.render=function(e,n,r,a){},t.prototype.dispose=function(e,n){},t.prototype.updateView=function(e,n,r,a){},t.prototype.updateLayout=function(e,n,r,a){},t.prototype.updateVisual=function(e,n,r,a){},t.prototype.toggleBlurSeries=function(e,n,r){},t.prototype.eachRendered=function(e){var n=this.group;n&&n.traverse(e)},t}();Bx(lb),Z0(lb);const Du=lb;function zN(){var t=jn();return function(e){var n=t(e),r=e.pipelineContext,a=!!n.large,l=!!n.progressiveRender,u=n.large=!!(r&&r.large),f=n.progressiveRender=!!(r&&r.progressiveRender);return(a!==u||l!==f)&&"reset"}}var FN=jn(),x9=zN(),ub=function(){function t(){this.group=new Cl,this.uid=m_("viewChart"),this.renderTask=Eg({plan:T9,reset:b9}),this.renderTask.context={view:this}}return t.prototype.init=function(e,n){},t.prototype.render=function(e,n,r,a){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},t.prototype.highlight=function(e,n,r,a){var l=e.getData(a&&a.dataType);if(!l){process.env.NODE_ENV!=="production"&&ci("Unknown dataType "+a.dataType);return}UN(l,a,"emphasis")},t.prototype.downplay=function(e,n,r,a){var l=e.getData(a&&a.dataType);if(!l){process.env.NODE_ENV!=="production"&&ci("Unknown dataType "+a.dataType);return}UN(l,a,"normal")},t.prototype.remove=function(e,n){this.group.removeAll()},t.prototype.dispose=function(e,n){},t.prototype.updateView=function(e,n,r,a){this.render(e,n,r,a)},t.prototype.updateLayout=function(e,n,r,a){this.render(e,n,r,a)},t.prototype.updateVisual=function(e,n,r,a){this.render(e,n,r,a)},t.prototype.eachRendered=function(e){DT(this.group,e)},t.markUpdateMethod=function(e,n){FN(e).updateMethod=n},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function BN(t,e,n){t&&pv(t)&&(e==="emphasis"?lT:uT)(t,n)}function UN(t,e,n){var r=rg(t,e),a=e&&e.highlightKey!=null?T8(e.highlightKey):null;r!=null?W(rr(r),function(l){BN(t.getItemGraphicEl(l),n,a)}):t.eachItemGraphicEl(function(l){BN(l,n,a)})}Bx(ub,["dispose"]),Z0(ub);function T9(t){return x9(t.model)}function b9(t){var e=t.model,n=t.ecModel,r=t.api,a=t.payload,l=e.pipelineContext.progressiveRender,u=t.view,f=a&&FN(a).updateMethod,d=l?"incrementalPrepareRender":f&&u[f]?f:"render";return d!=="render"&&u[d](e,n,r,a),E9[d]}var E9={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};const Dv=ub;var I_="\0__throttleOriginMethod",VN="\0__throttleRate",HN="\0__throttleType";function sb(t,e,n){var r,a=0,l=0,u=null,f,d,h,p;e=e||0;function m(){l=new Date().getTime(),u=null,t.apply(d,h||[])}var S=function(){for(var _=[],w=0;w<arguments.length;w++)_[w]=arguments[w];r=new Date().getTime(),d=this,h=_;var E=p||e,b=p||n;p=null,f=r-(b?a:l)-E,clearTimeout(u),b?u=setTimeout(m,E):f>=0?m():u=setTimeout(m,-f),a=r};return S.clear=function(){u&&(clearTimeout(u),u=null)},S.debounceNextCall=function(_){p=_},S}function GN(t,e,n,r){var a=t[e];if(a){var l=a[I_]||a,u=a[HN],f=a[VN];if(f!==n||u!==r){if(n==null||!r)return t[e]=l;a=t[e]=sb(l,n,r==="debounce"),a[I_]=l,a[HN]=r,a[VN]=n}return a}}function fb(t,e){var n=t[e];n&&n[I_]&&(n.clear&&n.clear(),t[e]=n[I_])}var $N=jn(),jN={itemStyle:ag(gk,!0),lineStyle:ag(pk,!0)},D9={lineStyle:"stroke",itemStyle:"fill"};function YN(t,e){var n=t.visualStyleMapper||jN[e];return n||(console.warn("Unknown style type '"+e+"'."),jN.itemStyle)}function WN(t,e){var n=t.visualDrawType||D9[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var M9={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",a=t.getModel(r),l=YN(t,r),u=l(a),f=a.getShallow("decal");f&&(n.setVisual("decal",f),f.dirty=!0);var d=WN(t,r),h=u[d],p=_t(h)?h:null,m=u.fill==="auto"||u.stroke==="auto";if(!u[d]||p||m){var S=t.getColorFromPalette(t.name,null,e.getSeriesCount());u[d]||(u[d]=S,n.setVisual("colorFromPalette",!0)),u.fill=u.fill==="auto"||_t(u.fill)?S:u.fill,u.stroke=u.stroke==="auto"||_t(u.stroke)?S:u.stroke}if(n.setVisual("style",u),n.setVisual("drawType",d),!e.isSeriesFiltered(t)&&p)return n.setVisual("colorFromPalette",!1),{dataEach:function(_,w){var E=t.getDataParams(w),b=Re({},u);b[d]=p(E),_.setItemVisual(w,"style",b)}}}},Ag=new Oi,R9={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",a=YN(t,r),l=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(u,f){var d=u.getRawDataItem(f);if(d&&d[r]){Ag.option=d[r];var h=a(Ag),p=u.ensureUniqueItemVisual(f,"style");Re(p,h),Ag.option.decal&&(u.setItemVisual(f,"decal",Ag.option.decal),Ag.option.decal.dirty=!0),l in h&&u.setItemVisual(f,"colorFromPalette",!1)}}:null}}}},A9={performRawSeries:!0,overallReset:function(t){var e=xt();t.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var a=n.type+"-"+r,l=e.get(a);l||(l={},e.set(a,l)),$N(n).scope=l}}),t.eachSeries(function(n){if(!(n.isColorBySeries()||t.isSeriesFiltered(n))){var r=n.getRawData(),a={},l=n.getData(),u=$N(n).scope,f=n.visualStyleAccessPath||"itemStyle",d=WN(n,f);l.each(function(h){var p=l.getRawIndex(h);a[p]=h}),r.each(function(h){var p=a[h],m=l.getItemVisual(p,"colorFromPalette");if(m){var S=l.ensureUniqueItemVisual(p,"style"),_=r.getName(h)||h+"",w=r.count();S[d]=n.getColorFromPalette(_,u,w)}})}})}},z_=Math.PI;function L9(t,e){e=e||{},Vt(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Cl,r=new Kr({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var a=new ko({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),l=new Kr({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});n.add(l);var u;return e.showSpinner&&(u=new ST({shape:{startAngle:-z_/2,endAngle:-z_/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),u.animateShape(!0).when(1e3,{endAngle:z_*3/2}).start("circularInOut"),u.animateShape(!0).when(1e3,{startAngle:z_*3/2}).delay(300).start("circularInOut"),n.add(u)),n.resize=function(){var f=a.getBoundingRect().width,d=e.showSpinner?e.spinnerRadius:0,h=(t.getWidth()-d*2-(e.showSpinner&&f?10:0)-f)/2-(e.showSpinner&&f?0:5+f/2)+(e.showSpinner?0:f/2)+(f?0:d),p=t.getHeight()/2;e.showSpinner&&u.setShape({cx:h,cy:p}),l.setShape({x:h-d,y:p-d,width:d*2,height:d*2}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var O9=function(){function t(e,n,r,a){this._stageTaskMap=xt(),this.ecInstance=e,this.api=n,r=this._dataProcessorHandlers=r.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=r.concat(a)}return t.prototype.restoreData=function(e,n){e.restoreData(n),this._stageTaskMap.each(function(r){var a=r.overallTask;a&&a.dirty()})},t.prototype.getPerformArgs=function(e,n){if(e.__pipeline){var r=this._pipelineMap.get(e.__pipeline.id),a=r.context,l=!n&&r.progressiveEnabled&&(!a||a.progressiveRender)&&e.__idxInPipeline>r.blockIndex,u=l?r.step:null,f=a&&a.modDataCount,d=f!=null?Math.ceil(f/u):null;return{step:u,modBy:d,modDataCount:f}}},t.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},t.prototype.updateStreamModes=function(e,n){var r=this._pipelineMap.get(e.uid),a=e.getData(),l=a.count(),u=r.progressiveEnabled&&n.incrementalPrepareRender&&l>=r.threshold,f=e.get("large")&&l>=e.get("largeThreshold"),d=e.get("progressiveChunkMode")==="mod"?l:null;e.pipelineContext=r.context={progressiveRender:u,modDataCount:d,large:f}},t.prototype.restorePipelines=function(e){var n=this,r=n._pipelineMap=xt();e.eachSeries(function(a){var l=a.getProgressive(),u=a.uid;r.set(u,{id:u,head:null,tail:null,threshold:a.getProgressiveThreshold(),progressiveEnabled:l&&!(a.preventIncremental&&a.preventIncremental()),blockIndex:-1,step:Math.round(l||700),count:0}),n._pipe(a,a.dataTask)})},t.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,n=this.api.getModel(),r=this.api;W(this._allHandlers,function(a){var l=e.get(a.uid)||e.set(a.uid,{}),u="";process.env.NODE_ENV!=="production"&&(u='"reset" and "overallReset" must not be both specified.'),bt(!(a.reset&&a.overallReset),u),a.reset&&this._createSeriesStageTask(a,l,n,r),a.overallReset&&this._createOverallStageTask(a,l,n,r)},this)},t.prototype.prepareView=function(e,n,r,a){var l=e.renderTask,u=l.context;u.model=n,u.ecModel=r,u.api=a,l.__block=!e.incrementalPrepareRender,this._pipe(n,l)},t.prototype.performDataProcessorTasks=function(e,n){this._performStageTasks(this._dataProcessorHandlers,e,n,{block:!0})},t.prototype.performVisualTasks=function(e,n,r){this._performStageTasks(this._visualHandlers,e,n,r)},t.prototype._performStageTasks=function(e,n,r,a){a=a||{};var l=!1,u=this;W(e,function(d,h){if(!(a.visualType&&a.visualType!==d.visualType)){var p=u._stageTaskMap.get(d.uid),m=p.seriesTaskMap,S=p.overallTask;if(S){var _,w=S.agentStubMap;w.each(function(b){f(a,b)&&(b.dirty(),_=!0)}),_&&S.dirty(),u.updatePayload(S,r);var E=u.getPerformArgs(S,a.block);w.each(function(b){b.perform(E)}),S.perform(E)&&(l=!0)}else m&&m.each(function(b,D){f(a,b)&&b.dirty();var A=u.getPerformArgs(b,a.block);A.skip=!d.performRawSeries&&n.isSeriesFiltered(b.context.model),u.updatePayload(b,r),b.perform(A)&&(l=!0)})}});function f(d,h){return d.setDirty&&(!d.dirtyMap||d.dirtyMap.get(h.__pipeline.id))}this.unfinished=l||this.unfinished},t.prototype.performSeriesTasks=function(e){var n;e.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(e){var n=e.tail;do{if(n.__block){e.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},t.prototype.updatePayload=function(e,n){n!=="remain"&&(e.context.payload=n)},t.prototype._createSeriesStageTask=function(e,n,r,a){var l=this,u=n.seriesTaskMap,f=n.seriesTaskMap=xt(),d=e.seriesType,h=e.getTargetSeries;e.createOnAllSeries?r.eachRawSeries(p):d?r.eachRawSeriesByType(d,p):h&&h(r,a).each(p);function p(m){var S=m.uid,_=f.set(S,u&&u.get(S)||Eg({plan:z9,reset:F9,count:U9}));_.context={model:m,ecModel:r,api:a,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:l},l._pipe(m,_)}},t.prototype._createOverallStageTask=function(e,n,r,a){var l=this,u=n.overallTask=n.overallTask||Eg({reset:k9});u.context={ecModel:r,api:a,overallReset:e.overallReset,scheduler:l};var f=u.agentStubMap,d=u.agentStubMap=xt(),h=e.seriesType,p=e.getTargetSeries,m=!0,S=!1,_="";process.env.NODE_ENV!=="production"&&(_='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),bt(!e.createOnAllSeries,_),h?r.eachRawSeriesByType(h,w):p?p(r,a).each(w):(m=!1,W(r.getSeries(),w));function w(E){var b=E.uid,D=d.set(b,f&&f.get(b)||(S=!0,Eg({reset:N9,onDirty:I9})));D.context={model:E,overallProgress:m},D.agent=u,D.__block=m,l._pipe(E,D)}S&&u.dirty()},t.prototype._pipe=function(e,n){var r=e.uid,a=this._pipelineMap.get(r);!a.head&&(a.head=n),a.tail&&a.tail.pipe(n),a.tail=n,n.__idxInPipeline=a.count++,n.__pipeline=a},t.wrapStageHandler=function(e,n){return _t(e)&&(e={overallReset:e,seriesType:V9(e)}),e.uid=m_("stageHandler"),n&&(e.visualType=n),e},t}();function k9(t){t.overallReset(t.ecModel,t.api,t.payload)}function N9(t){return t.overallProgress&&P9}function P9(){this.agent.dirty(),this.getDownstream().dirty()}function I9(){this.agent&&this.agent.dirty()}function z9(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function F9(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=rr(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?ot(e,function(n,r){return XN(r)}):B9}var B9=XN(0);function XN(t){return function(e,n){var r=n.data,a=n.resetDefines[t];if(a&&a.dataEach)for(var l=e.start;l<e.end;l++)a.dataEach(r,l);else a&&a.progress&&a.progress(e,r)}}function U9(t){return t.data.count()}function V9(t){F_=null;try{t(Lg,qN)}catch{}return F_}var Lg={},qN={},F_;QN(Lg,Xk),QN(qN,qk),Lg.eachSeriesByType=Lg.eachRawSeriesByType=function(t){F_=t},Lg.eachComponent=function(t){t.mainType==="series"&&t.subType&&(F_=t.subType)};function QN(t,e){for(var n in e.prototype)t[n]=ta}const ZN=O9;var KN=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const H9={color:KN,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],KN]};var Ni="#B9B8CE",JN="#100C2A",B_=function(){return{axisLine:{lineStyle:{color:Ni}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},eP=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],tP={darkMode:!0,color:eP,backgroundColor:JN,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Ni}},textStyle:{color:Ni},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Ni}},dataZoom:{borderColor:"#71708A",textStyle:{color:Ni},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Ni}},timeline:{lineStyle:{color:Ni},label:{color:Ni},controlStyle:{color:Ni,borderColor:Ni}},calendar:{itemStyle:{color:JN},dayLabel:{color:Ni},monthLabel:{color:Ni},yearLabel:{color:Ni}},timeAxis:B_(),logAxis:B_(),valueAxis:B_(),categoryAxis:B_(),line:{symbol:"circle"},graph:{color:eP},gauge:{title:{color:Ni},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Ni},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};tP.categoryAxis.splitLine.show=!1;const G9=tP;var $9=function(){function t(){}return t.prototype.normalizeQuery=function(e){var n={},r={},a={};if(et(e)){var l=Tl(e);n.mainType=l.main||null,n.subType=l.sub||null}else{var u=["Index","Name","Id"],f={name:1,dataIndex:1,dataType:1};W(e,function(d,h){for(var p=!1,m=0;m<u.length;m++){var S=u[m],_=h.lastIndexOf(S);if(_>0&&_===h.length-S.length){var w=h.slice(0,_);w!=="data"&&(n.mainType=w,n[S.toLowerCase()]=d,p=!0)}}f.hasOwnProperty(h)&&(r[h]=d,p=!0),p||(a[h]=d)})}return{cptQuery:n,dataQuery:r,otherQuery:a}},t.prototype.filter=function(e,n){var r=this.eventInfo;if(!r)return!0;var a=r.targetEl,l=r.packedEvent,u=r.model,f=r.view;if(!u||!f)return!0;var d=n.cptQuery,h=n.dataQuery;return p(d,u,"mainType")&&p(d,u,"subType")&&p(d,u,"index","componentIndex")&&p(d,u,"name")&&p(d,u,"id")&&p(h,l,"name")&&p(h,l,"dataIndex")&&p(h,l,"dataType")&&(!f.filterForExposedEvent||f.filterForExposedEvent(e,n.otherQuery,a,l));function p(m,S,_,w){return m[_]==null||S[w||_]===m[_]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),cb=["symbol","symbolSize","symbolRotate","symbolOffset"],nP=cb.concat(["symbolKeepAspect"]),j9={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var r={},a={},l=!1,u=0;u<cb.length;u++){var f=cb[u],d=t.get(f);_t(d)?(l=!0,a[f]=d):r[f]=d}if(r.symbol=r.symbol||t.defaultSymbol,n.setVisual(Re({legendIcon:t.legendIcon||r.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},r)),e.isSeriesFiltered(t))return;var h=kn(a);function p(m,S){for(var _=t.getRawValue(S),w=t.getDataParams(S),E=0;E<h.length;E++){var b=h[E];m.setItemVisual(S,b,a[b](_,w))}}return{dataEach:l?p:null}}},Y9={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.hasSymbolVisual||e.isSeriesFiltered(t))return;var n=t.getData();function r(a,l){for(var u=a.getItemModel(l),f=0;f<nP.length;f++){var d=nP[f],h=u.getShallow(d,!0);h!=null&&a.setItemVisual(l,d,h)}}return{dataEach:n.hasItemOption?r:null}}};function W9(t,e,n){switch(n){case"color":var r=t.getItemVisual(e,"style");return r[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+n)}}function X9(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function Mv(t,e,n,r,a){var l=t+e;n.isSilent(l)||(process.env.NODE_ENV!=="production"&&wl("event "+l+" is deprecated."),r.eachComponent({mainType:"series",subType:"pie"},function(u){for(var f=u.seriesIndex,d=u.option.selectedMap,h=a.selected,p=0;p<h.length;p++)if(h[p].seriesIndex===f){var m=u.getData(),S=rg(m,a.fromActionPayload);n.trigger(l,{type:l,seriesId:u.id,name:Be(S)?m.getName(S[0]):m.getName(S),selected:et(d)?d:Re({},d)})}}))}function q9(t,e,n){t.on("selectchanged",function(r){var a=n.getModel();r.isFromClick?(Mv("map","selectchanged",e,a,r),Mv("pie","selectchanged",e,a,r)):r.fromAction==="select"?(Mv("map","selected",e,a,r),Mv("pie","selected",e,a,r)):r.fromAction==="unselect"&&(Mv("map","unselected",e,a,r),Mv("pie","unselected",e,a,r))})}function Og(t,e,n){for(var r;t&&!(e(t)&&(r=t,n));)t=t.__hostTarget||t.parent;return r}var Q9=Math.round(Math.random()*9),Z9=typeof Object.defineProperty=="function",K9=function(){function t(){this._id="__ec_inner_"+Q9++}return t.prototype.get=function(e){return this._guard(e)[this._id]},t.prototype.set=function(e,n){var r=this._guard(e);return Z9?Object.defineProperty(r,this._id,{value:n,enumerable:!1,configurable:!0}):r[this._id]=n,this},t.prototype.delete=function(e){return this.has(e)?(delete this._guard(e)[this._id],!0):!1},t.prototype.has=function(e){return!!this._guard(e)[this._id]},t.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},t}();const J9=K9;var e7=Gt.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,a=e.width/2,l=e.height/2;t.moveTo(n,r-l),t.lineTo(n+a,r+l),t.lineTo(n-a,r+l),t.closePath()}}),t7=Gt.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,a=e.width/2,l=e.height/2;t.moveTo(n,r-l),t.lineTo(n+a,r),t.lineTo(n,r+l),t.lineTo(n-a,r),t.closePath()}}),n7=Gt.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,a=e.width/5*3,l=Math.max(a,e.height),u=a/2,f=u*u/(l-u),d=r-l+u+f,h=Math.asin(f/u),p=Math.cos(h)*u,m=Math.sin(h),S=Math.cos(h),_=u*.6,w=u*.7;t.moveTo(n-p,d+f),t.arc(n,d,u,Math.PI-h,Math.PI*2+h),t.bezierCurveTo(n+p-m*_,d+f+S*_,n,r-w,n,r),t.bezierCurveTo(n,r-w,n-p+m*_,d+f+S*_,n-p,d+f),t.closePath()}}),r7=Gt.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,a=e.x,l=e.y,u=r/3*2;t.moveTo(a,l),t.lineTo(a+u,l+n),t.lineTo(a,l+n/4*3),t.lineTo(a-u,l+n),t.lineTo(a,l),t.closePath()}}),i7={line:hc,rect:Kr,roundRect:Kr,square:Kr,circle:gT,diamond:t7,pin:n7,arrow:r7,triangle:e7},a7={line:function(t,e,n,r,a){a.x1=t,a.y1=e+r/2,a.x2=t+n,a.y2=e+r/2},rect:function(t,e,n,r,a){a.x=t,a.y=e,a.width=n,a.height=r},roundRect:function(t,e,n,r,a){a.x=t,a.y=e,a.width=n,a.height=r,a.r=Math.min(n,r)/4},square:function(t,e,n,r,a){var l=Math.min(n,r);a.x=t,a.y=e,a.width=l,a.height=l},circle:function(t,e,n,r,a){a.cx=t+n/2,a.cy=e+r/2,a.r=Math.min(n,r)/2},diamond:function(t,e,n,r,a){a.cx=t+n/2,a.cy=e+r/2,a.width=n,a.height=r},pin:function(t,e,n,r,a){a.x=t+n/2,a.y=e+r/2,a.width=n,a.height=r},arrow:function(t,e,n,r,a){a.x=t+n/2,a.y=e+r/2,a.width=n,a.height=r},triangle:function(t,e,n,r,a){a.cx=t+n/2,a.cy=e+r/2,a.width=n,a.height=r}},db={};W(i7,function(t,e){db[e]=new t});var o7=Gt.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=W0(t,e,n),a=this.shape;return a&&a.symbolType==="pin"&&e.position==="inside"&&(r.y=n.y+n.height*.4),r},buildPath:function(t,e,n){var r=e.symbolType;if(r!=="none"){var a=db[r];a||(r="rect",a=db[r]),a7[r](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,n)}}});function l7(t,e){if(this.type!=="image"){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):this.shape.symbolType==="line"?n.stroke=t:n.fill=t,this.markRedraw()}}function rP(t,e,n,r,a,l,u){var f=t.indexOf("empty")===0;f&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var d;return t.indexOf("image://")===0?d=ek(t.slice(8),new Wt(e,n,r,a),u?"center":"cover"):t.indexOf("path://")===0?d=TT(t.slice(7),{},new Wt(e,n,r,a),u?"center":"cover"):d=new o7({shape:{symbolType:t,x:e,y:n,width:r,height:a}}),d.__isEmptyBrush=f,d.setColor=l7,l&&d.setColor(l),d}function u7(t,e){if(t!=null)return Be(t)||(t=[t,t]),[Zr(t[0],e[0])||0,Zr(kt(t[1],t[0]),e[1])||0]}function xc(t){return isFinite(t)}function s7(t,e,n){var r=e.x==null?0:e.x,a=e.x2==null?1:e.x2,l=e.y==null?0:e.y,u=e.y2==null?0:e.y2;e.global||(r=r*n.width+n.x,a=a*n.width+n.x,l=l*n.height+n.y,u=u*n.height+n.y),r=xc(r)?r:0,a=xc(a)?a:1,l=xc(l)?l:0,u=xc(u)?u:0;var f=t.createLinearGradient(r,l,a,u);return f}function f7(t,e,n){var r=n.width,a=n.height,l=Math.min(r,a),u=e.x==null?.5:e.x,f=e.y==null?.5:e.y,d=e.r==null?.5:e.r;e.global||(u=u*r+n.x,f=f*a+n.y,d=d*l),u=xc(u)?u:.5,f=xc(f)?f:.5,d=d>=0&&xc(d)?d:.5;var h=t.createRadialGradient(u,f,0,u,f,d);return h}function vb(t,e,n){for(var r=e.type==="radial"?f7(t,e,n):s7(t,e,n),a=e.colorStops,l=0;l<a.length;l++)r.addColorStop(a[l].offset,a[l].color);return r}function c7(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function U_(t){return parseInt(t,10)}function V_(t,e,n){var r=["width","height"][e],a=["clientWidth","clientHeight"][e],l=["paddingLeft","paddingTop"][e],u=["paddingRight","paddingBottom"][e];if(n[r]!=null&&n[r]!=="auto")return parseFloat(n[r]);var f=document.defaultView.getComputedStyle(t);return(t[a]||U_(f[r])||U_(t.style[r]))-(U_(f[l])||0)-(U_(f[u])||0)|0}function d7(t,e){return!t||t==="solid"||!(e>0)?null:t==="dashed"?[4*e,2*e]:t==="dotted"?[e]:Nn(t)?[t]:Be(t)?t:null}function iP(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&d7(e.lineDash,e.lineWidth),r=e.lineDashOffset;if(n){var a=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&a!==1&&(n=ot(n,function(l){return l/a}),r/=a)}return[n,r]}var v7=new As(!0);function H_(t){var e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))}function aP(t){return typeof t=="string"&&t!=="none"}function G_(t){var e=t.fill;return e!=null&&e!=="none"}function oP(t,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function lP(t,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function hb(t,e,n){var r=AO(e.image,e.__image,n);if(K0(r)){var a=t.createPattern(r,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&a&&a.setTransform){var l=new DOMMatrix;l.translateSelf(e.x||0,e.y||0),l.rotateSelf(0,0,(e.rotation||0)*sH),l.scaleSelf(e.scaleX||1,e.scaleY||1),a.setTransform(l)}return a}}function h7(t,e,n,r){var a,l=H_(n),u=G_(n),f=n.strokePercent,d=f<1,h=!e.path;(!e.silent||d)&&h&&e.createPathProxy();var p=e.path||v7,m=e.__dirty;if(!r){var S=n.fill,_=n.stroke,w=u&&!!S.colorStops,E=l&&!!_.colorStops,b=u&&!!S.image,D=l&&!!_.image,A=void 0,O=void 0,P=void 0,I=void 0,F=void 0;(w||E)&&(F=e.getBoundingRect()),w&&(A=m?vb(t,S,F):e.__canvasFillGradient,e.__canvasFillGradient=A),E&&(O=m?vb(t,_,F):e.__canvasStrokeGradient,e.__canvasStrokeGradient=O),b&&(P=m||!e.__canvasFillPattern?hb(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=P),D&&(I=m||!e.__canvasStrokePattern?hb(t,_,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),w?t.fillStyle=A:b&&(P?t.fillStyle=P:u=!1),E?t.strokeStyle=O:D&&(I?t.strokeStyle=I:l=!1)}var U=e.getGlobalScale();p.setScale(U[0],U[1],e.segmentIgnoreThreshold);var H,j;t.setLineDash&&n.lineDash&&(a=iP(e),H=a[0],j=a[1]);var X=!0;(h||m&tv)&&(p.setDPR(t.dpr),d?p.setContext(null):(p.setContext(t),X=!1),p.reset(),e.buildPath(p,e.shape,r),p.toStatic(),e.pathUpdated()),X&&p.rebuildPath(t,d?f:1),H&&(t.setLineDash(H),t.lineDashOffset=j),r||(n.strokeFirst?(l&&lP(t,n),u&&oP(t,n)):(u&&oP(t,n),l&&lP(t,n))),H&&t.setLineDash([])}function p7(t,e,n){var r=e.__image=AO(n.image,e.__image,e,e.onload);if(!(!r||!K0(r))){var a=n.x||0,l=n.y||0,u=e.getWidth(),f=e.getHeight(),d=r.width/r.height;if(u==null&&f!=null?u=f*d:f==null&&u!=null?f=u/d:u==null&&f==null&&(u=r.width,f=r.height),n.sWidth&&n.sHeight){var h=n.sx||0,p=n.sy||0;t.drawImage(r,h,p,n.sWidth,n.sHeight,a,l,u,f)}else if(n.sx&&n.sy){var h=n.sx,p=n.sy,m=u-h,S=f-p;t.drawImage(r,h,p,m,S,a,l,u,f)}else t.drawImage(r,a,l,u,f)}}function g7(t,e,n){var r,a=n.text;if(a!=null&&(a+=""),a){t.font=n.font||$f,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var l=void 0,u=void 0;t.setLineDash&&n.lineDash&&(r=iP(e),l=r[0],u=r[1]),l&&(t.setLineDash(l),t.lineDashOffset=u),n.strokeFirst?(H_(n)&&t.strokeText(a,n.x,n.y),G_(n)&&t.fillText(a,n.x,n.y)):(G_(n)&&t.fillText(a,n.x,n.y),H_(n)&&t.strokeText(a,n.x,n.y)),l&&t.setLineDash([])}}var uP=["shadowBlur","shadowOffsetX","shadowOffsetY"],sP=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function fP(t,e,n,r,a){var l=!1;if(!r&&(n=n||{},e===n))return!1;if(r||e.opacity!==n.opacity){oa(t,a),l=!0;var u=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(u)?nc.opacity:u}(r||e.blend!==n.blend)&&(l||(oa(t,a),l=!0),t.globalCompositeOperation=e.blend||nc.blend);for(var f=0;f<uP.length;f++){var d=uP[f];(r||e[d]!==n[d])&&(l||(oa(t,a),l=!0),t[d]=t.dpr*(e[d]||0))}return(r||e.shadowColor!==n.shadowColor)&&(l||(oa(t,a),l=!0),t.shadowColor=e.shadowColor||nc.shadowColor),l}function cP(t,e,n,r,a){var l=kg(e,a.inHover),u=r?null:n&&kg(n,a.inHover)||{};if(l===u)return!1;var f=fP(t,l,u,r,a);if((r||l.fill!==u.fill)&&(f||(oa(t,a),f=!0),aP(l.fill)&&(t.fillStyle=l.fill)),(r||l.stroke!==u.stroke)&&(f||(oa(t,a),f=!0),aP(l.stroke)&&(t.strokeStyle=l.stroke)),(r||l.opacity!==u.opacity)&&(f||(oa(t,a),f=!0),t.globalAlpha=l.opacity==null?1:l.opacity),e.hasStroke()){var d=l.lineWidth,h=d/(l.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==h&&(f||(oa(t,a),f=!0),t.lineWidth=h)}for(var p=0;p<sP.length;p++){var m=sP[p],S=m[0];(r||l[S]!==u[S])&&(f||(oa(t,a),f=!0),t[S]=l[S]||m[1])}return f}function m7(t,e,n,r,a){return fP(t,kg(e,a.inHover),n&&kg(n,a.inHover),r,a)}function dP(t,e){var n=e.transform,r=t.dpr||1;n?t.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):t.setTransform(r,0,0,r,0,0)}function y7(t,e,n){for(var r=!1,a=0;a<t.length;a++){var l=t[a];r=r||l.isZeroArea(),dP(e,l),e.beginPath(),l.buildPath(e,l.shape),e.clip()}n.allClipped=r}function _7(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var vP=1,hP=2,pP=3,gP=4;function S7(t){var e=G_(t),n=H_(t);return!(t.lineDash||!(+e^+n)||e&&typeof t.fill!="string"||n&&typeof t.stroke!="string"||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function oa(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function kg(t,e){return e&&t.__hoverStyle||t.style}function mP(t,e){Tc(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Tc(t,e,n,r){var a=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~La,e.__isRendered=!1;return}var l=e.__clipPaths,u=n.prevElClipPaths,f=!1,d=!1;if((!u||c7(l,u))&&(u&&u.length&&(oa(t,n),t.restore(),d=f=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),l&&l.length&&(oa(t,n),t.save(),y7(l,t,n),f=!0),n.prevElClipPaths=l),n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var h=n.prevEl;h||(d=f=!0);var p=e instanceof Gt&&e.autoBatch&&S7(e.style);f||_7(a,h.transform)?(oa(t,n),dP(t,e)):p||oa(t,n);var m=kg(e,n.inHover);e instanceof Gt?(n.lastDrawType!==vP&&(d=!0,n.lastDrawType=vP),cP(t,e,h,d,n),(!p||!n.batchFill&&!n.batchStroke)&&t.beginPath(),h7(t,e,m,p),p&&(n.batchFill=m.fill||"",n.batchStroke=m.stroke||"")):e instanceof eT?(n.lastDrawType!==pP&&(d=!0,n.lastDrawType=pP),cP(t,e,h,d,n),g7(t,e,m)):e instanceof dv?(n.lastDrawType!==hP&&(d=!0,n.lastDrawType=hP),m7(t,e,h,d,n),p7(t,e,m)):e.getTemporalDisplayables&&(n.lastDrawType!==gP&&(d=!0,n.lastDrawType=gP),C7(t,e,n)),p&&r&&oa(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}function C7(t,e,n){var r=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var l={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover},u,f;for(u=e.getCursor(),f=r.length;u<f;u++){var d=r[u];d.beforeBrush&&d.beforeBrush(),d.innerBeforeBrush(),Tc(t,d,l,u===f-1),d.innerAfterBrush(),d.afterBrush&&d.afterBrush(),l.prevEl=d}for(var h=0,p=a.length;h<p;h++){var d=a[h];d.beforeBrush&&d.beforeBrush(),d.innerBeforeBrush(),Tc(t,d,l,h===p-1),d.innerAfterBrush(),d.afterBrush&&d.afterBrush(),l.prevEl=d}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var pb=new J9,yP=new Yp(100),_P=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function SP(t,e){if(t==="none")return null;var n=e.getDevicePixelRatio(),r=e.getZr(),a=r.painter.type==="svg";t.dirty&&pb.delete(t);var l=pb.get(t);if(l)return l;var u=Vt(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});u.backgroundColor==="none"&&(u.backgroundColor=null);var f={repeat:"repeat"};return d(f),f.rotation=u.rotation,f.scaleX=f.scaleY=a?1:1/n,pb.set(t,f),t.dirty=!1,f;function d(h){for(var p=[n],m=!0,S=0;S<_P.length;++S){var _=u[_P[S]];if(_!=null&&!Be(_)&&!et(_)&&!Nn(_)&&typeof _!="boolean"){m=!1;break}p.push(_)}var w;if(m){w=p.join(",")+(a?"-svg":"");var E=yP.get(w);E&&(a?h.svgElement=E:h.image=E)}var b=wP(u.dashArrayX),D=w7(u.dashArrayY),A=CP(u.symbol),O=x7(b),P=xP(D),I=!a&&jf.createCanvas(),F=a&&{tag:"g",attrs:{},key:"dcl",children:[]},U=j(),H;I&&(I.width=U.width*n,I.height=U.height*n,H=I.getContext("2d")),X(),m&&yP.put(w,I||F),h.image=I,h.svgElement=F,h.svgWidth=U.width,h.svgHeight=U.height;function j(){for(var G=1,ee=0,J=O.length;ee<J;++ee)G=mO(G,O[ee]);for(var ie=1,ee=0,J=A.length;ee<J;++ee)ie=mO(ie,A[ee].length);G*=ie;var ce=P*O.length*A.length;if(process.env.NODE_ENV!=="production"){var fe=function(Pe){console.warn("Calculated decal size is greater than "+Pe+" due to decal option settings so "+Pe+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+Pe+" to be larger to avoid incontinuity.")};G>u.maxTileWidth&&fe("maxTileWidth"),ce>u.maxTileHeight&&fe("maxTileHeight")}return{width:Math.max(1,Math.min(G,u.maxTileWidth)),height:Math.max(1,Math.min(ce,u.maxTileHeight))}}function X(){H&&(H.clearRect(0,0,I.width,I.height),u.backgroundColor&&(H.fillStyle=u.backgroundColor,H.fillRect(0,0,I.width,I.height)));for(var G=0,ee=0;ee<D.length;++ee)G+=D[ee];if(G<=0)return;for(var J=-P,ie=0,ce=0,fe=0;J<U.height;){if(ie%2===0){for(var Pe=ce/2%A.length,ae=0,ge=0,pe=0;ae<U.width*2;){for(var Le=0,ee=0;ee<b[fe].length;++ee)Le+=b[fe][ee];if(Le<=0)break;if(ge%2===0){var Ge=(1-u.symbolSize)*.5,St=ae+b[fe][ge]*Ge,It=J+D[ie]*Ge,Dn=b[fe][ge]*u.symbolSize,Xt=D[ie]*u.symbolSize,Mn=pe/2%A[Pe].length;on(St,It,Dn,Xt,A[Pe][Mn])}ae+=b[fe][ge],++pe,++ge,ge===b[fe].length&&(ge=0)}++fe,fe===b.length&&(fe=0)}J+=D[ie],++ce,++ie,ie===D.length&&(ie=0)}function on(zt,Ft,$e,Se,Zt){var Et=a?1:n,Pn=rP(Zt,zt*Et,Ft*Et,$e*Et,Se*Et,u.color,u.symbolKeepAspect);if(a){var ar=r.painter.renderOneToVNode(Pn);ar&&F.children.push(ar)}else mP(H,Pn)}}}}function CP(t){if(!t||t.length===0)return[["rect"]];if(et(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!et(t[n])){e=!1;break}if(e)return CP([t]);for(var r=[],n=0;n<t.length;++n)et(t[n])?r.push([t[n]]):r.push(t[n]);return r}function wP(t){if(!t||t.length===0)return[[0,0]];if(Nn(t)){var e=Math.ceil(t);return[[e,e]]}for(var n=!0,r=0;r<t.length;++r)if(!Nn(t[r])){n=!1;break}if(n)return wP([t]);for(var a=[],r=0;r<t.length;++r)if(Nn(t[r])){var e=Math.ceil(t[r]);a.push([e,e])}else{var e=ot(t[r],function(f){return Math.ceil(f)});e.length%2===1?a.push(e.concat(e)):a.push(e)}return a}function w7(t){if(!t||typeof t=="object"&&t.length===0)return[0,0];if(Nn(t)){var e=Math.ceil(t);return[e,e]}var n=ot(t,function(r){return Math.ceil(r)});return t.length%2?n.concat(n):n}function x7(t){return ot(t,function(e){return xP(e)})}function xP(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2===1?e*2:e}function T7(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each(function(u){var f=r.getItemVisual(u,"decal");if(f){var d=r.ensureUniqueItemVisual(u,"style");d.decal=SP(f,e)}});var a=r.getVisual("decal");if(a){var l=r.getVisual("style");l.decal=SP(a,e)}}})}var b7=new _l;const Bo=b7;var $_={};function E7(t,e){process.env.NODE_ENV!=="production"&&$_[t]&&ci("Already has an implementation of "+t+"."),$_[t]=e}function D7(t){return process.env.NODE_ENV!=="production"&&($_[t]||ci("Implementation of "+t+" doesn't exists.")),$_[t]}var M7=1,R7=800,A7=900,L7=1e3,O7=2e3,k7=5e3,TP=1e3,N7=1100,gb=2e3,bP=3e3,P7=4e3,j_=4500,I7=4600,z7=5e3,F7=6e3,EP=7e3,B7={PROCESSOR:{FILTER:L7,SERIES_FILTER:R7,STATISTIC:k7},VISUAL:{LAYOUT:TP,PROGRESSIVE_LAYOUT:N7,GLOBAL:gb,CHART:bP,POST_CHART_LAYOUT:I7,COMPONENT:P7,BRUSH:z7,CHART_ITEM:j_,ARIA:F7,DECAL:EP}},hi="__flagInMainProcess",la="__pendingUpdate",mb="__needsUpdateStatus",DP=/^[a-zA-Z0-9_]+$/,yb="__connectUpdateStatus",MP=0,U7=1,V7=2;function RP(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this.isDisposed()){Na(this.id);return}return LP(this,t,e)}}function AP(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return LP(this,t,e)}}function LP(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),_l.prototype[e].apply(t,n)}var OP=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(_l),kP=OP.prototype;kP.on=AP("on"),kP.off=AP("off");var Rv,_b,Y_,Ns,Sb,Cb,wb,Ng,Pg,NP,PP,xb,IP,W_,zP,FP,fo,BP,UP=function(t){Pt(e,t);function e(n,r,a){var l=t.call(this,new $9)||this;l._chartsViews=[],l._chartsMap={},l._componentsViews=[],l._componentsMap={},l._pendingActions=[],a=a||{},et(r)&&(r=VP[r]),l._dom=n;var u="canvas",f="auto",d=!1;if(process.env.NODE_ENV!=="production"){var h=Tt.hasGlobalWindow?window:global;u=h.__ECHARTS__DEFAULT__RENDERER__||u,f=kt(h.__ECHARTS__DEFAULT__COARSE_POINTER,f);var p=h.__ECHARTS__DEFAULT__USE_DIRTY_RECT__;d=p??d}var m=l._zr=uO(n,{renderer:a.renderer||u,devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,ssr:a.ssr,useDirtyRect:kt(a.useDirtyRect,d),useCoarsePointer:kt(a.useCoarsePointer,f),pointerSize:a.pointerSize});l._ssr=a.ssr,l._throttledZrFlush=sb(Qn(m.flush,m),17),r=Qt(r),r&&nN(r,!0),l._theme=r,l._locale=GG(a.locale||mk),l._coordSysMgr=new YT;var S=l._api=zP(l);function _(w,E){return w.__prio-E.__prio}return L0(q_,_),L0(bb,_),l._scheduler=new ZN(l,S,bb,q_),l._messageCenter=new OP,l._initEvents(),l.resize=Qn(l.resize,l),m.animation.on("frame",l._onframe,l),NP(m,l),PP(m,l),b0(l),l}return e.prototype._onframe=function(){if(!this._disposed){BP(this);var n=this._scheduler;if(this[la]){var r=this[la].silent;this[hi]=!0;try{Rv(this),Ns.update.call(this,null,this[la].updateParams)}catch(d){throw this[hi]=!1,this[la]=null,d}this._zr.flush(),this[hi]=!1,this[la]=null,Ng.call(this,r),Pg.call(this,r)}else if(n.unfinished){var a=M7,l=this._model,u=this._api;n.unfinished=!1;do{var f=+new Date;n.performSeriesTasks(l),n.performDataProcessorTasks(l),Cb(this,l),n.performVisualTasks(l),W_(this,this._model,u,"remain",{}),a-=+new Date-f}while(a>0&&n.unfinished);n.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(n,r,a){if(this[hi]){process.env.NODE_ENV!=="production"&&ci("`setOption` should not be called during main process.");return}if(this._disposed){Na(this.id);return}var l,u,f;if(it(r)&&(a=r.lazyUpdate,l=r.silent,u=r.replaceMerge,f=r.transition,r=r.notMerge),this[hi]=!0,!this._model||r){var d=new b$(this._api),h=this._theme,p=this._model=new Xk;p.scheduler=this._scheduler,p.ssr=this._ssr,p.init(null,null,null,h,this._locale,d)}this._model.setOption(n,{replaceMerge:u},Eb);var m={seriesTransition:f,optionChanged:!0};if(a)this[la]={silent:l,updateParams:m},this[hi]=!1,this.getZr().wakeUp();else{try{Rv(this),Ns.update.call(this,null,m)}catch(S){throw this[la]=null,this[hi]=!1,S}this._ssr||this._zr.flush(),this[la]=null,this[hi]=!1,Ng.call(this,l),Pg.call(this,l)}},e.prototype.setTheme=function(){wl("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Tt.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(n){return process.env.NODE_ENV!=="production"&&Br("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(n)},e.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="canvas")throw new Error("renderToCanvas can only be used in the canvas renderer.");return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;if(process.env.NODE_ENV!=="production"&&r.type!=="svg")throw new Error("renderToSVGString can only be used in the svg renderer.");return r.renderToString({useViewBox:n.useViewBox})},e.prototype.getSvgDataURL=function(){if(Tt.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return W(r,function(a){a.stopAnimation(null,!0)}),n.painter.toDataURL()}},e.prototype.getDataURL=function(n){if(this._disposed){Na(this.id);return}n=n||{};var r=n.excludeComponents,a=this._model,l=[],u=this;W(r,function(d){a.eachComponent({mainType:d},function(h){var p=u._componentsMap[h.__viewId];p.group.ignore||(l.push(p),p.group.ignore=!0)})});var f=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return W(l,function(d){d.group.ignore=!1}),f},e.prototype.getConnectedDataURL=function(n){if(this._disposed){Na(this.id);return}var r=n.type==="svg",a=this.group,l=Math.min,u=Math.max,f=1/0;if(HP[a]){var d=f,h=f,p=-f,m=-f,S=[],_=n&&n.pixelRatio||this.getDevicePixelRatio();W(zg,function(O,P){if(O.group===a){var I=r?O.getZr().painter.getSvgDom().innerHTML:O.renderToCanvas(Qt(n)),F=O.getDom().getBoundingClientRect();d=l(F.left,d),h=l(F.top,h),p=u(F.right,p),m=u(F.bottom,m),S.push({dom:I,left:F.left,top:F.top})}}),d*=_,h*=_,p*=_,m*=_;var w=p-d,E=m-h,b=jf.createCanvas(),D=uO(b,{renderer:r?"svg":"canvas"});if(D.resize({width:w,height:E}),r){var A="";return W(S,function(O){var P=O.left-d,I=O.top-h;A+='<g transform="translate('+P+","+I+')">'+O.dom+"</g>"}),D.painter.getSvgRoot().innerHTML=A,n.connectedBackgroundColor&&D.painter.setBackgroundColor(n.connectedBackgroundColor),D.refreshImmediately(),D.painter.toDataURL()}else return n.connectedBackgroundColor&&D.add(new Kr({shape:{x:0,y:0,width:w,height:E},style:{fill:n.connectedBackgroundColor}})),W(S,function(O){var P=new dv({style:{x:O.left*_-d,y:O.top*_-h,image:O.dom}});D.add(P)}),D.refreshImmediately(),b.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},e.prototype.convertToPixel=function(n,r){return Sb(this,"convertToPixel",n,r)},e.prototype.convertFromPixel=function(n,r){return Sb(this,"convertFromPixel",n,r)},e.prototype.containPixel=function(n,r){if(this._disposed){Na(this.id);return}var a=this._model,l,u=zx(a,n);return W(u,function(f,d){d.indexOf("Models")>=0&&W(f,function(h){var p=h.coordinateSystem;if(p&&p.containPoint)l=l||!!p.containPoint(r);else if(d==="seriesModels"){var m=this._chartsMap[h.__viewId];m&&m.containPoint?l=l||m.containPoint(r,h):process.env.NODE_ENV!=="production"&&Fr(d+": "+(m?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&Fr(d+": containPoint is not supported")},this)},this),!!l},e.prototype.getVisual=function(n,r){var a=this._model,l=zx(a,n,{defaultMainType:"series"}),u=l.seriesModel;process.env.NODE_ENV!=="production"&&(u||Fr("There is no specified series model"));var f=u.getData(),d=l.hasOwnProperty("dataIndexInside")?l.dataIndexInside:l.hasOwnProperty("dataIndex")?f.indexOfRawIndex(l.dataIndex):null;return d!=null?W9(f,d,r):X9(f,r)},e.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},e.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},e.prototype._initEvents=function(){var n=this;W(H7,function(r){var a=function(l){var u=n.getModel(),f=l.target,d,h=r==="globalout";if(h?d={}:f&&Og(f,function(w){var E=yn(w);if(E&&E.dataIndex!=null){var b=E.dataModel||u.getSeriesByIndex(E.seriesIndex);return d=b&&b.getDataParams(E.dataIndex,E.dataType)||{},!0}else if(E.eventData)return d=Re({},E.eventData),!0},!0),d){var p=d.componentType,m=d.componentIndex;(p==="markLine"||p==="markPoint"||p==="markArea")&&(p="series",m=d.seriesIndex);var S=p&&m!=null&&u.getComponent(p,m),_=S&&n[S.mainType==="series"?"_chartsMap":"_componentsMap"][S.__viewId];process.env.NODE_ENV!=="production"&&!h&&!(S&&_)&&Fr("model or view can not be found by params"),d.event=l,d.type=r,n._$eventProcessor.eventInfo={targetEl:f,packedEvent:d,model:S,view:_},n.trigger(r,d)}};a.zrEventfulCallAtLast=!0,n._zr.on(r,a,n)}),W(Ig,function(r,a){n._messageCenter.on(a,function(l){this.trigger(a,l)},n)}),W(["selectchanged"],function(r){n._messageCenter.on(r,function(a){this.trigger(r,a)},n)}),q9(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){Na(this.id);return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){Na(this.id);return}this._disposed=!0;var n=this.getDom();n&&DO(this.getDom(),Mb,"");var r=this,a=r._api,l=r._model;W(r._componentsViews,function(u){u.dispose(l,a)}),W(r._chartsViews,function(u){u.dispose(l,a)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete zg[r.id]},e.prototype.resize=function(n){if(this[hi]){process.env.NODE_ENV!=="production"&&ci("`resize` should not be called during main process.");return}if(this._disposed){Na(this.id);return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var a=r.resetOption("media"),l=n&&n.silent;this[la]&&(l==null&&(l=this[la].silent),a=!0,this[la]=null),this[hi]=!0;try{a&&Rv(this),Ns.update.call(this,{type:"resize",animation:Re({duration:0},n&&n.animation)})}catch(u){throw this[hi]=!1,u}this[hi]=!1,Ng.call(this,l),Pg.call(this,l)}},e.prototype.showLoading=function(n,r){if(this._disposed){Na(this.id);return}if(it(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!Db[n]){process.env.NODE_ENV!=="production"&&Fr("Loading effects "+n+" not exists.");return}var a=Db[n](this._api,r),l=this._zr;this._loadingFX=a,l.add(a)},e.prototype.hideLoading=function(){if(this._disposed){Na(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(n){var r=Re({},n);return r.type=Ig[n.type],r},e.prototype.dispatchAction=function(n,r){if(this._disposed){Na(this.id);return}if(it(r)||(r={silent:!!r}),!!X_[n.type]&&this._model){if(this[hi]){this._pendingActions.push(n);return}var a=r.silent;wb.call(this,n,a);var l=r.flush;l?this._zr.flush():l!==!1&&Tt.browser.weChat&&this._throttledZrFlush(),Ng.call(this,a),Pg.call(this,a)}},e.prototype.updateLabelLayout=function(){Bo.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(n){if(this._disposed){Na(this.id);return}var r=n.seriesIndex,a=this.getModel(),l=a.getSeriesByIndex(r);process.env.NODE_ENV!=="production"&&bt(n.data&&l),l.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){Rv=function(m){var S=m._scheduler;S.restorePipelines(m._model),S.prepareStageTasks(),_b(m,!0),_b(m,!1),S.plan()},_b=function(m,S){for(var _=m._model,w=m._scheduler,E=S?m._componentsViews:m._chartsViews,b=S?m._componentsMap:m._chartsMap,D=m._zr,A=m._api,O=0;O<E.length;O++)E[O].__alive=!1;S?_.eachComponent(function(F,U){F!=="series"&&P(U)}):_.eachSeries(P);function P(F){var U=F.__requireNewView;F.__requireNewView=!1;var H="_ec_"+F.id+"_"+F.type,j=!U&&b[H];if(!j){var X=Tl(F.type),G=S?Du.getClass(X.main,X.sub):Dv.getClass(X.sub);process.env.NODE_ENV!=="production"&&bt(G,X.sub+" does not exist."),j=new G,j.init(_,A),b[H]=j,E.push(j),D.add(j.group)}F.__viewId=j.__id=H,j.__alive=!0,j.__model=F,j.group.__ecComponentInfo={mainType:F.mainType,index:F.componentIndex},!S&&w.prepareView(j,F,_,A)}for(var O=0;O<E.length;){var I=E[O];I.__alive?O++:(!S&&I.renderTask.dispose(),D.remove(I.group),I.dispose(_,A),E.splice(O,1),b[I.__id]===I&&delete b[I.__id],I.__id=I.group.__ecComponentInfo=null)}},Y_=function(m,S,_,w,E){var b=m._model;if(b.setUpdatePayload(_),!w){W([].concat(m._componentsViews).concat(m._chartsViews),I);return}var D={};D[w+"Id"]=_[w+"Id"],D[w+"Index"]=_[w+"Index"],D[w+"Name"]=_[w+"Name"];var A={mainType:w,query:D};E&&(A.subType=E);var O=_.excludeSeriesId,P;O!=null&&(P=xt(),W(rr(O),function(F){var U=xl(F,null);U!=null&&P.set(U,!0)})),b&&b.eachComponent(A,function(F){var U=P&&P.get(F.id)!=null;if(!U)if(b2(_))if(F instanceof Ev)_.type===cc&&!_.notBlur&&!F.get(["emphasis","disabled"])&&v8(F,_,m._api);else{var H=cT(F.mainType,F.componentIndex,_.name,m._api),j=H.focusSelf,X=H.dispatchers;_.type===cc&&j&&!_.notBlur&&fT(F.mainType,F.componentIndex,m._api),X&&W(X,function(G){_.type===cc?lT(G):uT(G)})}else dT(_)&&F instanceof Ev&&(g8(F,_,m._api),w2(F),fo(m))},m),b&&b.eachComponent(A,function(F){var U=P&&P.get(F.id)!=null;U||I(m[w==="series"?"_chartsMap":"_componentsMap"][F.__viewId])},m);function I(F){F&&F.__alive&&F[S]&&F[S](F.__model,b,m._api,_)}},Ns={prepareAndUpdate:function(m){Rv(this),Ns.update.call(this,m,{optionChanged:m.newOption!=null})},update:function(m,S){var _=this._model,w=this._api,E=this._zr,b=this._coordSysMgr,D=this._scheduler;if(_){_.setUpdatePayload(m),D.restoreData(_,m),D.performSeriesTasks(_),b.create(_,w),D.performDataProcessorTasks(_,m),Cb(this,_),b.update(_,w),n(_),D.performVisualTasks(_,m),xb(this,_,w,m,S);var A=_.get("backgroundColor")||"transparent",O=_.get("darkMode");E.setBackgroundColor(A),O!=null&&O!=="auto"&&E.setDarkMode(O),Bo.trigger("afterupdate",_,w)}},updateTransform:function(m){var S=this,_=this._model,w=this._api;if(_){_.setUpdatePayload(m);var E=[];_.eachComponent(function(D,A){if(D!=="series"){var O=S.getViewOfComponentModel(A);if(O&&O.__alive)if(O.updateTransform){var P=O.updateTransform(A,_,w,m);P&&P.update&&E.push(O)}else E.push(O)}});var b=xt();_.eachSeries(function(D){var A=S._chartsMap[D.__viewId];if(A.updateTransform){var O=A.updateTransform(D,_,w,m);O&&O.update&&b.set(D.uid,1)}else b.set(D.uid,1)}),n(_),this._scheduler.performVisualTasks(_,m,{setDirty:!0,dirtyMap:b}),W_(this,_,w,m,{},b),Bo.trigger("afterupdate",_,w)}},updateView:function(m){var S=this._model;S&&(S.setUpdatePayload(m),Dv.markUpdateMethod(m,"updateView"),n(S),this._scheduler.performVisualTasks(S,m,{setDirty:!0}),xb(this,S,this._api,m,{}),Bo.trigger("afterupdate",S,this._api))},updateVisual:function(m){var S=this,_=this._model;_&&(_.setUpdatePayload(m),_.eachSeries(function(w){w.getData().clearAllVisual()}),Dv.markUpdateMethod(m,"updateVisual"),n(_),this._scheduler.performVisualTasks(_,m,{visualType:"visual",setDirty:!0}),_.eachComponent(function(w,E){if(w!=="series"){var b=S.getViewOfComponentModel(E);b&&b.__alive&&b.updateVisual(E,_,S._api,m)}}),_.eachSeries(function(w){var E=S._chartsMap[w.__viewId];E.updateVisual(w,_,S._api,m)}),Bo.trigger("afterupdate",_,this._api))},updateLayout:function(m){Ns.update.call(this,m)}},Sb=function(m,S,_,w){if(m._disposed){Na(m.id);return}for(var E=m._model,b=m._coordSysMgr.getCoordinateSystems(),D,A=zx(E,_),O=0;O<b.length;O++){var P=b[O];if(P[S]&&(D=P[S](E,A,w))!=null)return D}process.env.NODE_ENV!=="production"&&Fr("No coordinate system that supports "+S+" found by the given finder.")},Cb=function(m,S){var _=m._chartsMap,w=m._scheduler;S.eachSeries(function(E){w.updateStreamModes(E,_[E.__viewId])})},wb=function(m,S){var _=this,w=this.getModel(),E=m.type,b=m.escapeConnect,D=X_[E],A=D.actionInfo,O=(A.update||"update").split(":"),P=O.pop(),I=O[0]!=null&&Tl(O[0]);this[hi]=!0;var F=[m],U=!1;m.batch&&(U=!0,F=ot(m.batch,function(ie){return ie=Vt(Re({},ie),m),ie.batch=null,ie}));var H=[],j,X=dT(m),G=b2(m);if(G&&C2(this._api),W(F,function(ie){if(j=D.action(ie,_._model,_._api),j=j||Re({},ie),j.type=A.event||j.type,H.push(j),G){var ce=Fx(m),fe=ce.queryOptionMap,Pe=ce.mainTypeSpecified,ae=Pe?fe.keys()[0]:"series";Y_(_,P,ie,ae),fo(_)}else X?(Y_(_,P,ie,"series"),fo(_)):I&&Y_(_,P,ie,I.main,I.sub)}),P!=="none"&&!G&&!X&&!I)try{this[la]?(Rv(this),Ns.update.call(this,m),this[la]=null):Ns[P].call(this,m)}catch(ie){throw this[hi]=!1,ie}if(U?j={type:A.event||E,escapeConnect:b,batch:H}:j=H[0],this[hi]=!1,!S){var ee=this._messageCenter;if(ee.trigger(j.type,j),X){var J={type:"selectchanged",escapeConnect:b,selected:m8(w),isFromClick:m.isFromClick||!1,fromAction:m.type,fromActionPayload:m};ee.trigger(J.type,J)}}},Ng=function(m){for(var S=this._pendingActions;S.length;){var _=S.shift();wb.call(this,_,m)}},Pg=function(m){!m&&this.trigger("updated")},NP=function(m,S){m.on("rendered",function(_){S.trigger("rendered",_),m.animation.isFinished()&&!S[la]&&!S._scheduler.unfinished&&!S._pendingActions.length&&S.trigger("finished")})},PP=function(m,S){m.on("mouseover",function(_){var w=_.target,E=Og(w,pv);E&&(h8(E,_,S._api),fo(S))}).on("mouseout",function(_){var w=_.target,E=Og(w,pv);E&&(p8(E,_,S._api),fo(S))}).on("click",function(_){var w=_.target,E=Og(w,function(A){return yn(A).dataIndex!=null},!0);if(E){var b=E.selected?"unselect":"select",D=yn(E);S._api.dispatchAction({type:b,dataType:D.dataType,dataIndexInside:D.dataIndex,seriesIndex:D.seriesIndex,isFromClick:!0})}})};function n(m){m.clearColorPalette(),m.eachSeries(function(S){S.clearColorPalette()})}function r(m){var S=[],_=[],w=!1;if(m.eachComponent(function(A,O){var P=O.get("zlevel")||0,I=O.get("z")||0,F=O.getZLevelKey();w=w||!!F,(A==="series"?_:S).push({zlevel:P,z:I,idx:O.componentIndex,type:A,key:F})}),w){var E=S.concat(_),b,D;L0(E,function(A,O){return A.zlevel===O.zlevel?A.z-O.z:A.zlevel-O.zlevel}),W(E,function(A){var O=m.getComponent(A.type,A.idx),P=A.zlevel,I=A.key;b!=null&&(P=Math.max(b,P)),I?(P===b&&I!==D&&P++,D=I):D&&(P===b&&P++,D=""),b=P,O.setZLevel(P)})}}xb=function(m,S,_,w,E){r(S),IP(m,S,_,w,E),W(m._chartsViews,function(b){b.__alive=!1}),W_(m,S,_,w,E),W(m._chartsViews,function(b){b.__alive||b.remove(S,_)})},IP=function(m,S,_,w,E,b){W(b||m._componentsViews,function(D){var A=D.__model;h(A,D),D.render(A,S,_,w),f(A,D),p(A,D)})},W_=function(m,S,_,w,E,b){var D=m._scheduler;E=Re(E||{},{updatedSeries:S.getSeries()}),Bo.trigger("series:beforeupdate",S,_,E);var A=!1;S.eachSeries(function(O){var P=m._chartsMap[O.__viewId];P.__alive=!0;var I=P.renderTask;D.updatePayload(I,w),h(O,P),b&&b.get(O.uid)&&I.dirty(),I.perform(D.getPerformArgs(I))&&(A=!0),P.group.silent=!!O.get("silent"),u(O,P),w2(O)}),D.unfinished=A||D.unfinished,Bo.trigger("series:layoutlabels",S,_,E),Bo.trigger("series:transition",S,_,E),S.eachSeries(function(O){var P=m._chartsMap[O.__viewId];f(O,P),p(O,P)}),l(m,S),Bo.trigger("series:afterupdate",S,_,E)},fo=function(m){m[mb]=!0,m.getZr().wakeUp()},BP=function(m){m[mb]&&(m.getZr().storage.traverse(function(S){yv(S)||a(S)}),m[mb]=!1)};function a(m){for(var S=[],_=m.currentStates,w=0;w<_.length;w++){var E=_[w];E==="emphasis"||E==="blur"||E==="select"||S.push(E)}m.selected&&m.states.select&&S.push("select"),m.hoverState===iT&&m.states.emphasis?S.push("emphasis"):m.hoverState===rT&&m.states.blur&&S.push("blur"),m.useStates(S)}function l(m,S){var _=m._zr,w=_.storage,E=0;w.traverse(function(b){b.isGroup||E++}),E>S.get("hoverLayerThreshold")&&!Tt.node&&!Tt.worker&&S.eachSeries(function(b){if(!b.preventUsingHoverLayer){var D=m._chartsMap[b.__viewId];D.__alive&&D.eachRendered(function(A){A.states.emphasis&&(A.states.emphasis.hoverLayer=!0)})}})}function u(m,S){var _=m.get("blendMode")||null;S.eachRendered(function(w){w.isGroup||(w.style.blend=_)})}function f(m,S){if(!m.preventAutoZ){var _=m.get("z")||0,w=m.get("zlevel")||0;S.eachRendered(function(E){return d(E,_,w,-1/0),!0})}}function d(m,S,_,w){var E=m.getTextContent(),b=m.getTextGuideLine(),D=m.isGroup;if(D)for(var A=m.childrenRef(),O=0;O<A.length;O++)w=Math.max(d(A[O],S,_,w),w);else m.z=S,m.zlevel=_,w=Math.max(m.z2,w);if(E&&(E.z=S,E.zlevel=_,isFinite(w)&&(E.z2=w+2)),b){var P=m.textGuideLineConfig;b.z=S,b.zlevel=_,isFinite(w)&&(b.z2=w+(P&&P.showAbove?1:-1))}return w}function h(m,S){S.eachRendered(function(_){if(!yv(_)){var w=_.getTextContent(),E=_.getTextGuideLine();_.stateTransition&&(_.stateTransition=null),w&&w.stateTransition&&(w.stateTransition=null),E&&E.stateTransition&&(E.stateTransition=null),_.hasState()?(_.prevStates=_.currentStates,_.clearStates()):_.prevStates&&(_.prevStates=null)}})}function p(m,S){var _=m.getModel("stateAnimation"),w=m.isAnimationEnabled(),E=_.get("duration"),b=E>0?{duration:E,delay:_.get("delay"),easing:_.get("easing")}:null;S.eachRendered(function(D){if(D.states&&D.states.emphasis){if(yv(D))return;if(D instanceof Gt&&b8(D),D.__dirty){var A=D.prevStates;A&&D.useStates(A)}if(w){D.stateTransition=b;var O=D.getTextContent(),P=D.getTextGuideLine();O&&(O.stateTransition=b),P&&(P.stateTransition=b)}D.__dirty&&a(D)}})}zP=function(m){return new(function(S){Pt(_,S);function _(){return S!==null&&S.apply(this,arguments)||this}return _.prototype.getCoordinateSystems=function(){return m._coordSysMgr.getCoordinateSystems()},_.prototype.getComponentByElement=function(w){for(;w;){var E=w.__ecComponentInfo;if(E!=null)return m._model.getComponent(E.mainType,E.index);w=w.parent}},_.prototype.enterEmphasis=function(w,E){lT(w,E),fo(m)},_.prototype.leaveEmphasis=function(w,E){uT(w,E),fo(m)},_.prototype.enterBlur=function(w){d8(w),fo(m)},_.prototype.leaveBlur=function(w){m2(w),fo(m)},_.prototype.enterSelect=function(w){y2(w),fo(m)},_.prototype.leaveSelect=function(w){_2(w),fo(m)},_.prototype.getModel=function(){return m.getModel()},_.prototype.getViewOfComponentModel=function(w){return m.getViewOfComponentModel(w)},_.prototype.getViewOfSeriesModel=function(w){return m.getViewOfSeriesModel(w)},_}(qk))(m)},FP=function(m){function S(_,w){for(var E=0;E<_.length;E++){var b=_[E];b[yb]=w}}W(Ig,function(_,w){m._messageCenter.on(w,function(E){if(HP[m.group]&&m[yb]!==MP){if(E&&E.escapeConnect)return;var b=m.makeActionFromEvent(E),D=[];W(zg,function(A){A!==m&&A.group===m.group&&D.push(A)}),S(D,MP),W(D,function(A){A[yb]!==U7&&A.dispatchAction(b)}),S(D,V7)}})})}}(),e}(_l),Tb=UP.prototype;Tb.on=RP("on"),Tb.off=RP("off"),Tb.one=function(t,e,n){var r=this;wl("ECharts#one is deprecated.");function a(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];e&&e.apply&&e.apply(this,l),r.off(t,a)}this.on.call(this,t,a,n)};var H7=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Na(t){process.env.NODE_ENV!=="production"&&Fr("Instance "+t+" has been disposed")}var X_={},Ig={},bb=[],Eb=[],q_=[],VP={},Db={},zg={},HP={},G7=+new Date-0,Mb="_echarts_instance_";function $7(t,e,n){var r=!(n&&n.ssr);if(r){if(process.env.NODE_ENV!=="production"&&!t)throw new Error("Initialize failed: invalid dom.");var a=j7(t);if(a)return process.env.NODE_ENV!=="production"&&Fr("There is a chart instance already initialized on the dom."),a;process.env.NODE_ENV!=="production"&&zp(t)&&t.nodeName.toUpperCase()!=="CANVAS"&&(!t.clientWidth&&(!n||n.width==null)||!t.clientHeight&&(!n||n.height==null))&&Fr("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var l=new UP(t,e,n);return l.id="ec_"+G7++,zg[l.id]=l,r&&DO(t,Mb,l.id),FP(l),Bo.trigger("afterinit",l),l}function j7(t){return zg[K4(t,Mb)]}function GP(t,e){VP[t]=e}function $P(t){dn(Eb,t)<0&&Eb.push(t)}function jP(t,e){Ab(bb,t,e,O7)}function Y7(t){Rb("afterinit",t)}function W7(t){Rb("afterupdate",t)}function Rb(t,e){Bo.on(t,e)}function Av(t,e,n){_t(e)&&(n=e,e="");var r=it(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),e=t.event,!Ig[e]&&(bt(DP.test(r)&&DP.test(e)),X_[r]||(X_[r]={action:n,actionInfo:t}),Ig[e]=r)}function X7(t,e){YT.register(t,e)}function q7(t,e){Ab(q_,t,e,TP,"layout")}function bc(t,e){Ab(q_,t,e,bP,"visual")}var YP=[];function Ab(t,e,n,r,a){if((_t(e)||it(e))&&(n=e,e=r),process.env.NODE_ENV!=="production"){if(isNaN(e)||e==null)throw new Error("Illegal priority");W(t,function(u){bt(u.__raw!==n)})}if(!(dn(YP,n)>=0)){YP.push(n);var l=ZN.wrapStageHandler(n,a);l.__prio=e,l.__raw=n,t.push(l)}}function WP(t,e){Db[t]=e}function Q7(t,e,n){var r=D7("registerMap");r&&r(t,e,n)}var Z7=e9;bc(gb,M9),bc(j_,R9),bc(j_,A9),bc(gb,j9),bc(j_,Y9),bc(EP,T7),$P(nN),jP(A7,k$),WP("default",L9),Av({type:cc,event:cc,update:cc},ta),Av({type:i_,event:i_,update:i_},ta),Av({type:ug,event:ug,update:ug},ta),Av({type:a_,event:a_,update:a_},ta),Av({type:sg,event:sg,update:sg},ta),GP("light",H9),GP("dark",G9);function Fg(t){return t==null?0:t.length||1}function XP(t){return t}var K7=function(){function t(e,n,r,a,l,u){this._old=e,this._new=n,this._oldKeyGetter=r||XP,this._newKeyGetter=a||XP,this.context=l,this._diffModeMultiple=u==="multiple"}return t.prototype.add=function(e){return this._add=e,this},t.prototype.update=function(e){return this._update=e,this},t.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},t.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},t.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},t.prototype.remove=function(e){return this._remove=e,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var e=this._old,n=this._new,r={},a=new Array(e.length),l=new Array(n.length);this._initIndexMap(e,null,a,"_oldKeyGetter"),this._initIndexMap(n,r,l,"_newKeyGetter");for(var u=0;u<e.length;u++){var f=a[u],d=r[f],h=Fg(d);if(h>1){var p=d.shift();d.length===1&&(r[f]=d[0]),this._update&&this._update(p,u)}else h===1?(r[f]=null,this._update&&this._update(d,u)):this._remove&&this._remove(u)}this._performRestAdd(l,r)},t.prototype._executeMultiple=function(){var e=this._old,n=this._new,r={},a={},l=[],u=[];this._initIndexMap(e,r,l,"_oldKeyGetter"),this._initIndexMap(n,a,u,"_newKeyGetter");for(var f=0;f<l.length;f++){var d=l[f],h=r[d],p=a[d],m=Fg(h),S=Fg(p);if(m>1&&S===1)this._updateManyToOne&&this._updateManyToOne(p,h),a[d]=null;else if(m===1&&S>1)this._updateOneToMany&&this._updateOneToMany(p,h),a[d]=null;else if(m===1&&S===1)this._update&&this._update(p,h),a[d]=null;else if(m>1&&S>1)this._updateManyToMany&&this._updateManyToMany(p,h),a[d]=null;else if(m>1)for(var _=0;_<m;_++)this._remove&&this._remove(h[_]);else this._remove&&this._remove(h)}this._performRestAdd(u,a)},t.prototype._performRestAdd=function(e,n){for(var r=0;r<e.length;r++){var a=e[r],l=n[a],u=Fg(l);if(u>1)for(var f=0;f<u;f++)this._add&&this._add(l[f]);else u===1&&this._add&&this._add(l);n[a]=null}},t.prototype._initIndexMap=function(e,n,r,a){for(var l=this._diffModeMultiple,u=0;u<e.length;u++){var f="_ec_"+this[a](e[u],u);if(l||(r[u]=f),!!n){var d=n[f],h=Fg(d);h===0?(n[f]=u,l&&r.push(f)):h===1?n[f]=[d,u]:d.push(u)}}},t}();const Lb=K7;var J7=function(){function t(e,n){this._encode=e,this._schema=n}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function ej(t,e){var n={},r=n.encode={},a=xt(),l=[],u=[],f={};W(t.dimensions,function(S){var _=t.getDimensionInfo(S),w=_.coordDim;if(w){process.env.NODE_ENV!=="production"&&bt(HT.get(w)==null);var E=_.coordDimIndex;Ob(r,w)[E]=S,_.isExtraCoord||(a.set(w,1),nj(_.type)&&(l[0]=S),Ob(f,w)[E]=t.getDimensionIndex(_.name)),_.defaultTooltip&&u.push(S)}HT.each(function(b,D){var A=Ob(r,D),O=_.otherDims[D];O!=null&&O!==!1&&(A[O]=_.name)})});var d=[],h={};a.each(function(S,_){var w=r[_];h[_]=w[0],d=d.concat(w)}),n.dataDimsOnCoord=d,n.dataDimIndicesOnCoord=ot(d,function(S){return t.getDimensionInfo(S).storeDimIndex}),n.encodeFirstDimNotExtra=h;var p=r.label;p&&p.length&&(l=p.slice());var m=r.tooltip;return m&&m.length?u=m.slice():u.length||(u=l.slice()),r.defaultedLabel=l,r.defaultedTooltip=u,n.userOutput=new J7(f,e),n}function Ob(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function tj(t){return t==="category"?"ordinal":t==="time"?"time":"float"}function nj(t){return!(t==="ordinal"||t==="time")}var rj=function(){function t(e){this.otherDims={},e!=null&&Re(this,e)}return t}();const Q_=rj;var ij=jn(),aj={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},qP=function(){function t(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=KP(this.source)))},t.prototype.getSourceDimensionIndex=function(e){return kt(this._dimNameMap.get(e),-1)},t.prototype.getSourceDimension=function(e){var n=this.source.dimensionsDefine;if(n)return n[e]},t.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,n=oN(this.source),r=!JP(e),a="",l=[],u=0,f=0;u<e;u++){var d=void 0,h=void 0,p=void 0,m=this.dimensions[f];if(m&&m.storeDimIndex===u)d=n?m.name:null,h=m.type,p=m.ordinalMeta,f++;else{var S=this.getSourceDimension(u);S&&(d=n?S.name:null,h=S.type)}l.push({property:d,type:h,ordinalMeta:p}),n&&d!=null&&(!m||!m.isCalculationCoord)&&(a+=r?d.replace(/\`/g,"`1").replace(/\$/g,"`2"):d),a+="$",a+=aj[h]||"f",p&&(a+=p.uid),a+="$"}var _=this.source,w=[_.seriesLayoutBy,_.startIndex,a].join("$$");return{dimensions:l,hash:w}},t.prototype.makeOutputDimensionNames=function(){for(var e=[],n=0,r=0;n<this._fullDimCount;n++){var a=void 0,l=this.dimensions[r];if(l&&l.storeDimIndex===n)l.isCalculationCoord||(a=l.name),r++;else{var u=this.getSourceDimension(n);u&&(a=u.name)}e.push(a)}return e},t.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function QP(t){return t instanceof qP}function ZP(t){for(var e=xt(),n=0;n<(t||[]).length;n++){var r=t[n],a=it(r)?r.name:r;a!=null&&e.get(a)==null&&e.set(a,n)}return e}function KP(t){var e=ij(t);return e.dimNameMap||(e.dimNameMap=ZP(t.dimensionsDefine))}function JP(t){return t>30}var Bg=it,Ps=ot,oj=typeof Int32Array>"u"?Array:Int32Array,lj="e\0\0",eI=-1,uj=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],sj=["_approximateExtent"],tI,Z_,Ug,Lv,kb,K_,Nb,fj=function(){function t(e,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r,a=!1;QP(e)?(r=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(a=!0,r=e),r=r||["x","y"];for(var l={},u=[],f={},d=!1,h={},p=0;p<r.length;p++){var m=r[p],S=et(m)?new Q_({name:m}):m instanceof Q_?m:new Q_(m),_=S.name;S.type=S.type||"float",S.coordDim||(S.coordDim=_,S.coordDimIndex=0);var w=S.otherDims=S.otherDims||{};u.push(_),l[_]=S,h[_]!=null&&(d=!0),S.createInvertedIndices&&(f[_]=[]),w.itemName===0&&(this._nameDimIdx=p),w.itemId===0&&(this._idDimIdx=p),process.env.NODE_ENV!=="production"&&bt(a||S.storeDimIndex>=0),a&&(S.storeDimIndex=p)}if(this.dimensions=u,this._dimInfos=l,this._initGetDimensionInfo(d),this.hostModel=n,this._invertedIndicesMap=f,this._dimOmitted){var E=this._dimIdxToName=xt();W(u,function(b){E.set(l[b].storeDimIndex,b)})}}return t.prototype.getDimension=function(e){var n=this._recognizeDimIndex(e);if(n==null)return e;if(n=e,!this._dimOmitted)return this.dimensions[n];var r=this._dimIdxToName.get(n);if(r!=null)return r;var a=this._schema.getSourceDimension(n);if(a)return a.name},t.prototype.getDimensionIndex=function(e){var n=this._recognizeDimIndex(e);if(n!=null)return n;if(e==null)return-1;var r=this._getDimInfo(e);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},t.prototype._recognizeDimIndex=function(e){if(Nn(e)||e!=null&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},t.prototype._getStoreDimIndex=function(e){var n=this.getDimensionIndex(e);if(process.env.NODE_ENV!=="production"&&n==null)throw new Error("Unknown dimension "+e);return n},t.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},t.prototype._initGetDimensionInfo=function(e){var n=this._dimInfos;this._getDimInfo=e?function(r){return n.hasOwnProperty(r)?n[r]:void 0}:function(r){return n[r]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(e,n){var r=this._dimSummary;if(n==null)return r.encodeFirstDimNotExtra[e];var a=r.encode[e];return a?a[n]:null},t.prototype.mapDimensionsAll=function(e){var n=this._dimSummary,r=n.encode[e];return(r||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(e,n,r){var a=this,l;if(e instanceof nb&&(l=e),!l){var u=this.dimensions,f=qT(e)||Ai(e)?new sN(e,u.length):e;l=new nb;var d=Ps(u,function(h){return{type:a._dimInfos[h].type,property:h}});l.initData(f,d,r)}this._store=l,this._nameList=(n||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,l.count()),this._dimSummary=ej(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(e){var n=this._store.appendData(e);this._doInit(n[0],n[1])},t.prototype.appendValues=function(e,n){var r=this._store.appendValues(e,n.length),a=r.start,l=r.end,u=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),n)for(var f=a;f<l;f++){var d=f-a;this._nameList[f]=n[d],u&&Nb(this,f)}},t.prototype._updateOrdinalMeta=function(){for(var e=this._store,n=this.dimensions,r=0;r<n.length;r++){var a=this._dimInfos[n[r]];a.ordinalMeta&&e.collectOrdinalMeta(a.storeDimIndex,a.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return this._idDimIdx==null&&e.getSource().sourceFormat!==bu&&!e.fillStorage},t.prototype._doInit=function(e,n){if(!(e>=n)){var r=this._store,a=r.getProvider();this._updateOrdinalMeta();var l=this._nameList,u=this._idList,f=a.getSource().sourceFormat,d=f===lo;if(d&&!a.pure)for(var h=[],p=e;p<n;p++){var m=a.getItem(p,h);if(!this.hasItemOption&&V4(m)&&(this.hasItemOption=!0),m){var S=m.name;l[p]==null&&S!=null&&(l[p]=xl(S,null));var _=m.id;u[p]==null&&_!=null&&(u[p]=xl(_,null))}}if(this._shouldMakeIdFromName())for(var p=e;p<n;p++)Nb(this,p);tI(this)}},t.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},t.prototype.setApproximateExtent=function(e,n){n=this.getDimension(n),this._approximateExtent[n]=e.slice()},t.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},t.prototype.setCalculationInfo=function(e,n){Bg(e)?Re(this._calculationInfo,e):this._calculationInfo[e]=n},t.prototype.getName=function(e){var n=this.getRawIndex(e),r=this._nameList[n];return r==null&&this._nameDimIdx!=null&&(r=Ug(this,this._nameDimIdx,n)),r==null&&(r=""),r},t.prototype._getCategory=function(e,n){var r=this._store.get(e,n),a=this._store.getOrdinalMeta(e);return a?a.categories[r]:r},t.prototype.getId=function(e){return Z_(this,this.getRawIndex(e))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(e,n){var r=this._store,a=this._dimInfos[e];if(a)return r.get(a.storeDimIndex,n)},t.prototype.getByRawIndex=function(e,n){var r=this._store,a=this._dimInfos[e];if(a)return r.getByRawIndex(a.storeDimIndex,n)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},t.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},t.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},t.prototype.getValues=function(e,n){var r=this,a=this._store;return Be(e)?a.getValues(Ps(e,function(l){return r._getStoreDimIndex(l)}),n):a.getValues(e)},t.prototype.hasValue=function(e){for(var n=this._dimSummary.dataDimIndicesOnCoord,r=0,a=n.length;r<a;r++)if(isNaN(this._store.get(n[r],e)))return!1;return!0},t.prototype.indexOfName=function(e){for(var n=0,r=this._store.count();n<r;n++)if(this.getName(n)===e)return n;return-1},t.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},t.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},t.prototype.rawIndexOf=function(e,n){var r=e&&this._invertedIndicesMap[e];if(process.env.NODE_ENV!=="production"&&!r)throw new Error("Do not supported yet");var a=r[n];return a==null||isNaN(a)?eI:a},t.prototype.indicesOfNearest=function(e,n,r){return this._store.indicesOfNearest(this._getStoreDimIndex(e),n,r)},t.prototype.each=function(e,n,r){_t(e)&&(r=n,n=e,e=[]);var a=r||this,l=Ps(Lv(e),this._getStoreDimIndex,this);this._store.each(l,a?Qn(n,a):n)},t.prototype.filterSelf=function(e,n,r){_t(e)&&(r=n,n=e,e=[]);var a=r||this,l=Ps(Lv(e),this._getStoreDimIndex,this);return this._store=this._store.filter(l,a?Qn(n,a):n),this},t.prototype.selectRange=function(e){var n=this,r={},a=kn(e);return W(a,function(l){var u=n._getStoreDimIndex(l);r[u]=e[l]}),this._store=this._store.selectRange(r),this},t.prototype.mapArray=function(e,n,r){_t(e)&&(r=n,n=e,e=[]),r=r||this;var a=[];return this.each(e,function(){a.push(n&&n.apply(this,arguments))},r),a},t.prototype.map=function(e,n,r,a){var l=r||a||this,u=Ps(Lv(e),this._getStoreDimIndex,this),f=K_(this);return f._store=this._store.map(u,l?Qn(n,l):n),f},t.prototype.modify=function(e,n,r,a){var l=this,u=r||a||this;process.env.NODE_ENV!=="production"&&W(Lv(e),function(d){var h=l.getDimensionInfo(d);h.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var f=Ps(Lv(e),this._getStoreDimIndex,this);this._store.modify(f,u?Qn(n,u):n)},t.prototype.downSample=function(e,n,r,a){var l=K_(this);return l._store=this._store.downSample(this._getStoreDimIndex(e),n,r,a),l},t.prototype.lttbDownSample=function(e,n){var r=K_(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(e),n),r},t.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},t.prototype.getItemModel=function(e){var n=this.hostModel,r=this.getRawDataItem(e);return new Oi(r,n,n&&n.ecModel)},t.prototype.diff=function(e){var n=this;return new Lb(e?e.getStore().getIndices():[],this.getStore().getIndices(),function(r){return Z_(e,r)},function(r){return Z_(n,r)})},t.prototype.getVisual=function(e){var n=this._visual;return n&&n[e]},t.prototype.setVisual=function(e,n){this._visual=this._visual||{},Bg(e)?Re(this._visual,e):this._visual[e]=n},t.prototype.getItemVisual=function(e,n){var r=this._itemVisuals[e],a=r&&r[n];return a??this.getVisual(n)},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(e,n){var r=this._itemVisuals,a=r[e];a||(a=r[e]={});var l=a[n];return l==null&&(l=this.getVisual(n),Be(l)?l=l.slice():Bg(l)&&(l=Re({},l)),a[n]=l),l},t.prototype.setItemVisual=function(e,n,r){var a=this._itemVisuals[e]||{};this._itemVisuals[e]=a,Bg(n)?Re(a,n):a[n]=r},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(e,n){Bg(e)?Re(this._layout,e):this._layout[e]=n},t.prototype.getLayout=function(e){return this._layout[e]},t.prototype.getItemLayout=function(e){return this._itemLayouts[e]},t.prototype.setItemLayout=function(e,n,r){this._itemLayouts[e]=r?Re(this._itemLayouts[e]||{},n):n},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(e,n){var r=this.hostModel&&this.hostModel.seriesIndex;n8(r,this.dataType,e,n),this._graphicEls[e]=n},t.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},t.prototype.eachItemGraphicEl=function(e,n){W(this._graphicEls,function(r,a){r&&e&&e.call(n,r,a)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Ps(this.dimensions,this._getDimInfo,this),this.hostModel)),kb(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(e,n){var r=this[e];_t(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var a=r.apply(this,arguments);return n.apply(this,[a].concat(Gw(arguments)))})},t.internalField=function(){tI=function(e){var n=e._invertedIndicesMap;W(n,function(r,a){var l=e._dimInfos[a],u=l.ordinalMeta,f=e._store;if(u){r=n[a]=new oj(u.categories.length);for(var d=0;d<r.length;d++)r[d]=eI;for(var d=0;d<f.count();d++)r[f.get(l.storeDimIndex,d)]=d}})},Ug=function(e,n,r){return xl(e._getCategory(n,r),null)},Z_=function(e,n){var r=e._idList[n];return r==null&&e._idDimIdx!=null&&(r=Ug(e,e._idDimIdx,n)),r==null&&(r=lj+n),r},Lv=function(e){return Be(e)||(e=e!=null?[e]:[]),e},K_=function(e){var n=new t(e._schema?e._schema:Ps(e.dimensions,e._getDimInfo,e),e.hostModel);return kb(n,e),n},kb=function(e,n){W(uj.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(e[r]=n[r])}),e.__wrappedMethods=n.__wrappedMethods,W(sj,function(r){e[r]=Qt(n[r])}),e._calculationInfo=Re({},n._calculationInfo)},Nb=function(e,n){var r=e._nameList,a=e._idList,l=e._nameDimIdx,u=e._idDimIdx,f=r[n],d=a[n];if(f==null&&l!=null&&(r[n]=f=Ug(e,l,n)),d==null&&u!=null&&(a[n]=d=Ug(e,u,n)),d==null&&f!=null){var h=e._nameRepeatCount,p=h[f]=(h[f]||0)+1;d=f,p>1&&(d+="__ec__"+p),a[n]=d}}}(),t}();const cj=fj;function dj(t,e){qT(t)||(t=ZT(t)),e=e||{};var n=e.coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],a=xt(),l=[],u=hj(t,n,r,e.dimensionsCount),f=e.canOmitUnusedDimensions&&JP(u),d=r===t.dimensionsDefine,h=d?KP(t):ZP(r),p=e.encodeDefine;!p&&e.encodeDefaulter&&(p=e.encodeDefaulter(t,u));for(var m=xt(p),S=new CN(u),_=0;_<S.length;_++)S[_]=-1;function w(j){var X=S[j];if(X<0){var G=r[j],ee=it(G)?G:{name:G},J=new Q_,ie=ee.name;ie!=null&&h.get(ie)!=null&&(J.name=J.displayName=ie),ee.type!=null&&(J.type=ee.type),ee.displayName!=null&&(J.displayName=ee.displayName);var ce=l.length;return S[j]=ce,J.storeDimIndex=j,l.push(J),J}return l[X]}if(!f)for(var _=0;_<u;_++)w(_);m.each(function(j,X){var G=rr(j).slice();if(G.length===1&&!et(G[0])&&G[0]<0){m.set(X,!1);return}var ee=m.set(X,[]);W(G,function(J,ie){var ce=et(J)?h.get(J):J;ce!=null&&ce<u&&(ee[ie]=ce,b(w(ce),X,ie))})});var E=0;W(n,function(j){var X,G,ee,J;if(et(j))X=j,J={};else{J=j,X=J.name;var ie=J.ordinalMeta;J.ordinalMeta=null,J=Re({},J),J.ordinalMeta=ie,G=J.dimsDef,ee=J.otherDims,J.name=J.coordDim=J.coordDimIndex=J.dimsDef=J.otherDims=null}var ce=m.get(X);if(ce!==!1){if(ce=rr(ce),!ce.length)for(var fe=0;fe<(G&&G.length||1);fe++){for(;E<u&&w(E).coordDim!=null;)E++;E<u&&ce.push(E++)}W(ce,function(Pe,ae){var ge=w(Pe);if(d&&J.type!=null&&(ge.type=J.type),b(Vt(ge,J),X,ae),ge.name==null&&G){var pe=G[ae];!it(pe)&&(pe={name:pe}),ge.name=ge.displayName=pe.name,ge.defaultTooltip=pe.defaultTooltip}ee&&Vt(ge.otherDims,ee)})}});function b(j,X,G){HT.get(X)!=null?j.otherDims[X]=G:(j.coordDim=X,j.coordDimIndex=G,a.set(X,!0))}var D=e.generateCoord,A=e.generateCoordCount,O=A!=null;A=D?A||1:0;var P=D||"value";function I(j){j.name==null&&(j.name=j.coordDim)}if(f)W(l,function(j){I(j)}),l.sort(function(j,X){return j.storeDimIndex-X.storeDimIndex});else for(var F=0;F<u;F++){var U=w(F),H=U.coordDim;H==null&&(U.coordDim=pj(P,a,O),U.coordDimIndex=0,(!D||A<=0)&&(U.isExtraCoord=!0),A--),I(U),U.type==null&&(Uk(t,F)===ka.Must||U.isExtraCoord&&(U.otherDims.itemName!=null||U.otherDims.seriesName!=null))&&(U.type="ordinal")}return vj(l),new qP({source:t,dimensions:l,fullDimensionCount:u,dimensionOmitted:f})}function vj(t){for(var e=xt(),n=0;n<t.length;n++){var r=t[n],a=r.name,l=e.get(a)||0;l>0&&(r.name=a+(l-1)),l++,e.set(a,l)}}function hj(t,e,n,r){var a=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return W(e,function(l){var u;it(l)&&(u=l.dimsDef)&&(a=Math.max(a,u.length))}),a}function pj(t,e,n){if(n||e.hasKey(t)){for(var r=0;e.hasKey(t+r);)r++;t+=r}return e.set(t,!0),t}var gj=function(){function t(e){this.coordSysDims=[],this.axisMap=xt(),this.categoryAxisMap=xt(),this.coordSysName=e}return t}();function mj(t){var e=t.get("coordinateSystem"),n=new gj(e),r=yj[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var yj={cartesian2d:function(t,e,n,r){var a=t.getReferringComponents("xAxis",Oo).models[0],l=t.getReferringComponents("yAxis",Oo).models[0];if(process.env.NODE_ENV!=="production"){if(!a)throw new Error('xAxis "'+Wf(t.get("xAxisIndex"),t.get("xAxisId"),0)+'" not found');if(!l)throw new Error('yAxis "'+Wf(t.get("xAxisIndex"),t.get("yAxisId"),0)+'" not found')}e.coordSysDims=["x","y"],n.set("x",a),n.set("y",l),Ov(a)&&(r.set("x",a),e.firstCategoryDimIndex=0),Ov(l)&&(r.set("y",l),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var a=t.getReferringComponents("singleAxis",Oo).models[0];if(process.env.NODE_ENV!=="production"&&!a)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],n.set("single",a),Ov(a)&&(r.set("single",a),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var a=t.getReferringComponents("polar",Oo).models[0],l=a.findAxisModel("radiusAxis"),u=a.findAxisModel("angleAxis");if(process.env.NODE_ENV!=="production"){if(!u)throw new Error("angleAxis option not found");if(!l)throw new Error("radiusAxis option not found")}e.coordSysDims=["radius","angle"],n.set("radius",l),n.set("angle",u),Ov(l)&&(r.set("radius",l),e.firstCategoryDimIndex=0),Ov(u)&&(r.set("angle",u),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var a=t.ecModel,l=a.getComponent("parallel",t.get("parallelIndex")),u=e.coordSysDims=l.dimensions.slice();W(l.parallelAxisIndex,function(f,d){var h=a.getComponent("parallelAxis",f),p=u[d];n.set(p,h),Ov(h)&&(r.set(p,h),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=d))})}};function Ov(t){return t.get("type")==="category"}function _j(t,e,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,l,u,f;Sj(e)?l=e:(u=e.schema,l=u.dimensions,f=e.store);var d=!!(t&&t.get("stack")),h,p,m,S;if(W(l,function(A,O){et(A)&&(l[O]=A={name:A}),d&&!A.isExtraCoord&&(!r&&!h&&A.ordinalMeta&&(h=A),!p&&A.type!=="ordinal"&&A.type!=="time"&&(!a||a===A.coordDim)&&(p=A))}),p&&!r&&!h&&(r=!0),p){m="__\0ecstackresult_"+t.id,S="__\0ecstackedover_"+t.id,h&&(h.createInvertedIndices=!0);var _=p.coordDim,w=p.type,E=0;W(l,function(A){A.coordDim===_&&E++});var b={name:m,coordDim:_,coordDimIndex:E,type:w,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:l.length},D={name:S,coordDim:S,coordDimIndex:E+1,type:w,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:l.length+1};u?(f&&(b.storeDimIndex=f.ensureCalculationDimension(S,w),D.storeDimIndex=f.ensureCalculationDimension(m,w)),u.appendCalculationDimension(b),u.appendCalculationDimension(D)):(l.push(b),l.push(D))}return{stackedDimension:p&&p.name,stackedByDimension:h&&h.name,isStackedByIndex:r,stackedOverDimension:S,stackResultDimension:m}}function Sj(t){return!QP(t.schema)}function nI(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Cj(t,e){return nI(t,e)?t.getCalculationInfo("stackResultDimension"):e}function wj(t,e){var n=t.get("coordinateSystem"),r=YT.get(n),a;return e&&e.coordSysDims&&(a=ot(e.coordSysDims,function(l){var u={name:l},f=e.axisMap.get(l);if(f){var d=f.get("type");u.type=tj(d)}return u})),a||(a=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),a}function xj(t,e,n){var r,a;return n&&W(t,function(l,u){var f=l.coordDim,d=n.categoryAxisMap.get(f);d&&(r==null&&(r=u),l.ordinalMeta=d.getOrdinalMeta(),e&&(l.createInvertedIndices=!0)),l.otherDims.itemName!=null&&(a=!0)}),!a&&r!=null&&(t[r].otherDims.itemName=0),r}function rI(t,e,n){n=n||{};var r=e.getSourceManager(),a,l=!1;t?(l=!0,a=ZT(t)):(a=r.getSource(),l=a.sourceFormat===lo);var u=mj(e),f=wj(e,u),d=n.useEncodeDefaulter,h=_t(d)?d:d?Aa(r$,f,e):null,p={coordDimensions:f,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:h,canOmitUnusedDimensions:!l},m=dj(a,p),S=xj(m.dimensions,n.createInvertedIndices,u),_=l?null:r.getSharedDataStore(m),w=_j(e,{schema:m,store:_}),E=new cj(m,e);E.setCalculationInfo(w);var b=S!=null&&Tj(a)?function(D,A,O,P){return P===S?O:this.defaultDimValueGetter(D,A,O,P)}:null;return E.hasItemOption=!1,E.initData(l?a:_,null,b),E}function Tj(t){if(t.sourceFormat===lo){var e=bj(t.data||[]);return!Be(tg(e))}}function bj(t){for(var e=0;e<t.length&&t[e]==null;)e++;return t[e]}var iI=function(){function t(e){this._setting=e||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(e){return this._setting[e]},t.prototype.unionExtent=function(e){var n=this._extent;e[0]<n[0]&&(n[0]=e[0]),e[1]>n[1]&&(n[1]=e[1])},t.prototype.unionExtentFromData=function(e,n){this.unionExtent(e.getApproximateExtent(n))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(e,n){var r=this._extent;isNaN(e)||(r[0]=e),isNaN(n)||(r[1]=n)},t.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(e){this._isBlank=e},t}();Z0(iI);const Mu=iI;var Ej=0,Dj=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++Ej}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&ot(r,Mj);return new t({categories:a,needCollect:!a,deduplication:n.dedplication!==!1})},t.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},t.prototype.parseAndCollect=function(e){var n,r=this._needCollect;if(!et(e)&&!r)return e;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=e,n;var a=this._getOrCreateMap();return n=a.get(e),n==null&&(r?(n=this.categories.length,this.categories[n]=e,a.set(e,n)):n=NaN),n},t.prototype._getOrCreateMap=function(){return this._map||(this._map=xt(this.categories))},t}();function Mj(t){return it(t)&&t.value!=null?t.value:t+""}const Pb=Dj;function Rj(t){var e=Math.pow(10,q0(Math.abs(t))),n=Math.abs(t/e);return n===0||n===1||n===2||n===3||n===5}function Ib(t){return t.type==="interval"||t.type==="log"}function Aj(t,e,n,r){var a={},l=t[1]-t[0],u=a.interval=vO(l/e,!0);n!=null&&u<n&&(u=a.interval=n),r!=null&&u>r&&(u=a.interval=r);var f=a.intervalPrecision=aI(u),d=a.niceTickExtent=[vr(Math.ceil(t[0]/u)*u,f),vr(Math.floor(t[1]/u)*u,f)];return Lj(d,t),a}function zb(t){var e=Math.pow(10,q0(t)),n=t/e;return n?n===2?n=3:n===3?n=5:n*=2:n=1,vr(n*e)}function aI(t){return Su(t)+2}function oI(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Lj(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),oI(t,0,e),oI(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function J_(t,e){return t>=e[0]&&t<=e[1]}function e1(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function t1(t,e){return t*(e[1]-e[0])+e[0]}var lI=function(t){Pt(e,t);function e(n){var r=t.call(this,n)||this;r.type="ordinal";var a=r.getSetting("ordinalMeta");return a||(a=new Pb({})),Be(a)&&(a=new Pb({categories:ot(a,function(l){return it(l)?l.value:l})})),r._ordinalMeta=a,r._extent=r.getSetting("extent")||[0,a.categories.length-1],r}return e.prototype.parse=function(n){return n==null?NaN:et(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},e.prototype.contain=function(n){return n=this.parse(n),J_(n,this._extent)&&this._ordinalMeta.categories[n]!=null},e.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),e1(n,this._extent)},e.prototype.scale=function(n){return n=Math.round(t1(n,this._extent)),this.getRawOrdinalNumber(n)},e.prototype.getTicks=function(){for(var n=[],r=this._extent,a=r[0];a<=r[1];)n.push({value:a}),a++;return n},e.prototype.getMinorTicks=function(n){},e.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,a=this._ordinalNumbersByTick=[],l=this._ticksByOrdinalNumber=[],u=0,f=this._ordinalMeta.categories.length,d=Math.min(f,r.length);u<d;++u){var h=r[u];a[u]=h,l[h]=u}for(var p=0;u<f;++u){for(;l[p]!=null;)p++;a.push(p),l[p]=u}},e.prototype._getTickNumber=function(n){var r=this._ticksByOrdinalNumber;return r&&n>=0&&n<r.length?r[n]:n},e.prototype.getRawOrdinalNumber=function(n){var r=this._ordinalNumbersByTick;return r&&n>=0&&n<r.length?r[n]:n},e.prototype.getLabel=function(n){if(!this.isBlank()){var r=this.getRawOrdinalNumber(n.value),a=this._ordinalMeta.categories[r];return a==null?"":a+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},e.prototype.isInExtentRange=function(n){return n=this._getTickNumber(n),this._extent[0]<=n&&this._extent[1]>=n},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Mu);Mu.registerClass(lI);const uI=lI;var Ec=vr,sI=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return e.prototype.parse=function(n){return n},e.prototype.contain=function(n){return J_(n,this._extent)},e.prototype.normalize=function(n){return e1(n,this._extent)},e.prototype.scale=function(n){return t1(n,this._extent)},e.prototype.setExtent=function(n,r){var a=this._extent;isNaN(n)||(a[0]=parseFloat(n)),isNaN(r)||(a[1]=parseFloat(r))},e.prototype.unionExtent=function(n){var r=this._extent;n[0]<r[0]&&(r[0]=n[0]),n[1]>r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=aI(n)},e.prototype.getTicks=function(n){var r=this._interval,a=this._extent,l=this._niceExtent,u=this._intervalPrecision,f=[];if(!r)return f;var d=1e4;a[0]<l[0]&&(n?f.push({value:Ec(l[0]-r,u)}):f.push({value:a[0]}));for(var h=l[0];h<=l[1]&&(f.push({value:h}),h=Ec(h+r,u),h!==f[f.length-1].value);)if(f.length>d)return[];var p=f.length?f[f.length-1].value:l[1];return a[1]>p&&(n?f.push({value:Ec(p+r,u)}):f.push({value:a[1]})),f},e.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),a=[],l=this.getExtent(),u=1;u<r.length;u++){for(var f=r[u],d=r[u-1],h=0,p=[],m=f.value-d.value,S=m/n;h<n-1;){var _=Ec(d.value+(h+1)*S);_>l[0]&&_<l[1]&&p.push(_),h++}a.push(p)}return a},e.prototype.getLabel=function(n,r){if(n==null)return"";var a=r&&r.precision;a==null?a=Su(n.value)||0:a==="auto"&&(a=this._intervalPrecision);var l=Ec(n.value,a,!0);return Ak(l)},e.prototype.calcNiceTicks=function(n,r,a){n=n||5;var l=this._extent,u=l[1]-l[0];if(isFinite(u)){u<0&&(u=-u,l.reverse());var f=Aj(l,n,r,a);this._intervalPrecision=f.intervalPrecision,this._interval=f.interval,this._niceExtent=f.niceTickExtent}},e.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var a=Math.abs(r[0]);n.fixMax||(r[1]+=a/2),r[0]-=a/2}else r[1]=1;var l=r[1]-r[0];isFinite(l)||(r[0]=0,r[1]=1),this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval);var u=this._interval;n.fixMin||(r[0]=Ec(Math.floor(r[0]/u)*u)),n.fixMax||(r[1]=Ec(Math.ceil(r[1]/u)*u))},e.prototype.setNiceExtent=function(n,r){this._niceExtent=[n,r]},e.type="interval",e}(Mu);Mu.registerClass(sI);const Vg=sI;var fI=typeof Float32Array<"u",Oj=fI?Float32Array:Array;function Fb(t){return Be(t)?fI?new Float32Array(t):t:new Oj(t)}var kj="__ec_stack_";function Bb(t){return t.get("stack")||kj+t.seriesIndex}function Ub(t){return t.dim+t.index}function cI(t,e){var n=[];return e.eachSeriesByType(t,function(r){vI(r)&&n.push(r)}),n}function Nj(t){var e={};W(t,function(d){var h=d.coordinateSystem,p=h.getBaseAxis();if(!(p.type!=="time"&&p.type!=="value"))for(var m=d.getData(),S=p.dim+"_"+p.index,_=m.getDimensionIndex(m.mapDimension(p.dim)),w=m.getStore(),E=0,b=w.count();E<b;++E){var D=w.get(_,E);e[S]?e[S].push(D):e[S]=[D]}});var n={};for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];if(a){a.sort(function(d,h){return d-h});for(var l=null,u=1;u<a.length;++u){var f=a[u]-a[u-1];f>0&&(l=l===null?f:Math.min(l,f))}n[r]=l}}return n}function dI(t){var e=Nj(t),n=[];return W(t,function(r){var a=r.coordinateSystem,l=a.getBaseAxis(),u=l.getExtent(),f;if(l.type==="category")f=l.getBandWidth();else if(l.type==="value"||l.type==="time"){var d=l.dim+"_"+l.index,h=e[d],p=Math.abs(u[1]-u[0]),m=l.scale.getExtent(),S=Math.abs(m[1]-m[0]);f=h?p/S*h:p}else{var _=r.getData();f=Math.abs(u[1]-u[0])/_.count()}var w=Zr(r.get("barWidth"),f),E=Zr(r.get("barMaxWidth"),f),b=Zr(r.get("barMinWidth")||(hI(r)?.5:1),f),D=r.get("barGap"),A=r.get("barCategoryGap");n.push({bandWidth:f,barWidth:w,barMaxWidth:E,barMinWidth:b,barGap:D,barCategoryGap:A,axisKey:Ub(l),stackId:Bb(r)})}),Pj(n)}function Pj(t){var e={};W(t,function(r,a){var l=r.axisKey,u=r.bandWidth,f=e[l]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},d=f.stacks;e[l]=f;var h=r.stackId;d[h]||f.autoWidthCount++,d[h]=d[h]||{width:0,maxWidth:0};var p=r.barWidth;p&&!d[h].width&&(d[h].width=p,p=Math.min(f.remainedWidth,p),f.remainedWidth-=p);var m=r.barMaxWidth;m&&(d[h].maxWidth=m);var S=r.barMinWidth;S&&(d[h].minWidth=S);var _=r.barGap;_!=null&&(f.gap=_);var w=r.barCategoryGap;w!=null&&(f.categoryGap=w)});var n={};return W(e,function(r,a){n[a]={};var l=r.stacks,u=r.bandWidth,f=r.categoryGap;if(f==null){var d=kn(l).length;f=Math.max(35-d*4,15)+"%"}var h=Zr(f,u),p=Zr(r.gap,1),m=r.remainedWidth,S=r.autoWidthCount,_=(m-h)/(S+(S-1)*p);_=Math.max(_,0),W(l,function(D){var A=D.maxWidth,O=D.minWidth;if(D.width){var P=D.width;A&&(P=Math.min(P,A)),O&&(P=Math.max(P,O)),D.width=P,m-=P+p*P,S--}else{var P=_;A&&A<P&&(P=Math.min(A,m)),O&&O>P&&(P=O),P!==_&&(D.width=P,m-=P+p*P,S--)}}),_=(m-h)/(S+(S-1)*p),_=Math.max(_,0);var w=0,E;W(l,function(D,A){D.width||(D.width=_),E=D,w+=D.width*(1+p)}),E&&(w-=E.width*p);var b=-w/2;W(l,function(D,A){n[a][A]=n[a][A]||{bandWidth:u,offset:b,width:D.width},b+=D.width*(1+p)})}),n}function Ij(t,e,n){if(t&&e){var r=t[Ub(e)];return r!=null&&n!=null?r[Bb(n)]:r}}function zj(t,e){var n=cI(t,e),r=dI(n);W(n,function(a){var l=a.getData(),u=a.coordinateSystem,f=u.getBaseAxis(),d=Bb(a),h=r[Ub(f)][d],p=h.offset,m=h.width;l.setLayout({bandWidth:h.bandWidth,offset:p,size:m})})}function Fj(t){return{seriesType:t,plan:zN(),reset:function(e){if(vI(e)){var n=e.getData(),r=e.coordinateSystem,a=r.getBaseAxis(),l=r.getOtherAxis(a),u=n.getDimensionIndex(n.mapDimension(l.dim)),f=n.getDimensionIndex(n.mapDimension(a.dim)),d=e.get("showBackground",!0),h=n.mapDimension(l.dim),p=n.getCalculationInfo("stackResultDimension"),m=nI(n,h)&&!!n.getCalculationInfo("stackedOnSeries"),S=l.isHorizontal(),_=Bj(a,l),w=hI(e),E=e.get("barMinHeight")||0,b=p&&n.getDimensionIndex(p),D=n.getLayout("size"),A=n.getLayout("offset");return{progress:function(O,P){for(var I=O.count,F=w&&Fb(I*3),U=w&&d&&Fb(I*3),H=w&&Fb(I),j=r.master.getRect(),X=S?j.width:j.height,G,ee=P.getStore(),J=0;(G=O.next())!=null;){var ie=ee.get(m?b:u,G),ce=ee.get(f,G),fe=_,Pe=void 0;m&&(Pe=+ie-ee.get(u,G));var ae=void 0,ge=void 0,pe=void 0,Le=void 0;if(S){var Ge=r.dataToPoint([ie,ce]);if(m){var St=r.dataToPoint([Pe,ce]);fe=St[0]}ae=fe,ge=Ge[1]+A,pe=Ge[0]-fe,Le=D,Math.abs(pe)<E&&(pe=(pe<0?-1:1)*E)}else{var Ge=r.dataToPoint([ce,ie]);if(m){var St=r.dataToPoint([ce,Pe]);fe=St[1]}ae=Ge[0]+A,ge=fe,pe=D,Le=Ge[1]-fe,Math.abs(Le)<E&&(Le=(Le<=0?-1:1)*E)}w?(F[J]=ae,F[J+1]=ge,F[J+2]=S?pe:Le,U&&(U[J]=S?j.x:ae,U[J+1]=S?ge:j.y,U[J+2]=X),H[G]=G):P.setItemLayout(G,{x:ae,y:ge,width:pe,height:Le}),J+=3}w&&P.setLayout({largePoints:F,largeDataIndices:H,largeBackgroundPoints:U,valueAxisHorizontal:S})}}}}}}function vI(t){return t.coordinateSystem&&t.coordinateSystem.type==="cartesian2d"}function hI(t){return t.pipelineContext&&t.pipelineContext.large}function Bj(t,e){return e.toGlobalCoord(e.dataToCoord(e.type==="log"?1:0))}var Uj=function(t,e,n,r){for(;n<r;){var a=n+r>>>1;t[a][1]<e?n=a+1:r=a}return n},pI=function(t){Pt(e,t);function e(n){var r=t.call(this,n)||this;return r.type="time",r}return e.prototype.getLabel=function(n){var r=this.getSetting("useUTC");return C_(n.value,Sk[WG(_v(this._minLevelUnit))]||Sk.second,r,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(n,r,a){var l=this.getSetting("useUTC"),u=this.getSetting("locale");return XG(n,r,a,u,l)},e.prototype.getTicks=function(){var n=this._interval,r=this._extent,a=[];if(!n)return a;a.push({value:r[0],level:0});var l=this.getSetting("useUTC"),u=Wj(this._minLevelUnit,this._approxInterval,l,r);return a=a.concat(u),a.push({value:r[1],level:0}),a},e.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1]&&(r[0]-=oo,r[1]+=oo),r[1]===-1/0&&r[0]===1/0){var a=new Date;r[1]=+new Date(a.getFullYear(),a.getMonth(),a.getDate()),r[0]=r[1]-oo}this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval)},e.prototype.calcNiceTicks=function(n,r,a){n=n||10;var l=this._extent,u=l[1]-l[0];this._approxInterval=u/n,r!=null&&this._approxInterval<r&&(this._approxInterval=r),a!=null&&this._approxInterval>a&&(this._approxInterval=a);var f=n1.length,d=Math.min(Uj(n1,this._approxInterval,0,f),f-1);this._interval=n1[d][1],this._minLevelUnit=n1[Math.max(d-1,0)][0]},e.prototype.parse=function(n){return Nn(n)?n:+Cu(n)},e.prototype.contain=function(n){return J_(this.parse(n),this._extent)},e.prototype.normalize=function(n){return e1(this.parse(n),this._extent)},e.prototype.scale=function(n){return t1(n,this._extent)},e.type="time",e}(Vg),n1=[["second",kT],["minute",NT],["hour",gg],["quarter-day",gg*6],["half-day",gg*12],["day",oo*1.2],["half-week",oo*3.5],["week",oo*7],["month",oo*31],["quarter",oo*95],["half-year",_k/2],["year",_k]];function Vj(t,e,n,r){var a=Cu(e),l=Cu(n),u=function(w){return xk(a,w,r)===xk(l,w,r)},f=function(){return u("year")},d=function(){return f()&&u("month")},h=function(){return d()&&u("day")},p=function(){return h()&&u("hour")},m=function(){return p()&&u("minute")},S=function(){return m()&&u("second")},_=function(){return S()&&u("millisecond")};switch(t){case"year":return f();case"month":return d();case"day":return h();case"hour":return p();case"minute":return m();case"second":return S();case"millisecond":return _()}}function Hj(t,e){return t/=oo,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Gj(t){var e=30*oo;return t/=e,t>6?6:t>3?3:t>2?2:1}function $j(t){return t/=gg,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function gI(t,e){return t/=e?NT:kT,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function jj(t){return vO(t,!0)}function Yj(t,e,n){var r=new Date(t);switch(_v(e)){case"year":case"month":r[Tk(n)](0);case"day":r[bk(n)](1);case"hour":r[Ek(n)](0);case"minute":r[Dk(n)](0);case"second":r[Mk(n)](0),r[Rk(n)](0)}return r.getTime()}function Wj(t,e,n,r){var a=1e4,l=Ck,u=0;function f(X,G,ee,J,ie,ce,fe){for(var Pe=new Date(G),ae=G,ge=Pe[J]();ae<ee&&ae<=r[1];)fe.push({value:ae}),ge+=X,Pe[ie](ge),ae=Pe.getTime();fe.push({value:ae,notAdd:!0})}function d(X,G,ee){var J=[],ie=!G.length;if(!Vj(_v(X),r[0],r[1],n)){ie&&(G=[{value:Yj(new Date(r[0]),X,n)},{value:r[1]}]);for(var ce=0;ce<G.length-1;ce++){var fe=G[ce].value,Pe=G[ce+1].value;if(fe!==Pe){var ae=void 0,ge=void 0,pe=void 0,Le=!1;switch(X){case"year":ae=Math.max(1,Math.round(e/oo/365)),ge=IT(n),pe=qG(n);break;case"half-year":case"quarter":case"month":ae=Gj(e),ge=Sv(n),pe=Tk(n);break;case"week":case"half-week":case"day":ae=Hj(e),ge=w_(n),pe=bk(n),Le=!0;break;case"half-day":case"quarter-day":case"hour":ae=$j(e),ge=yg(n),pe=Ek(n);break;case"minute":ae=gI(e,!0),ge=x_(n),pe=Dk(n);break;case"second":ae=gI(e,!1),ge=T_(n),pe=Mk(n);break;case"millisecond":ae=jj(e),ge=b_(n),pe=Rk(n);break}f(ae,fe,Pe,ge,pe,Le,J),X==="year"&&ee.length>1&&ce===0&&ee.unshift({value:ee[0].value-ae})}}for(var ce=0;ce<J.length;ce++)ee.push(J[ce]);return J}}for(var h=[],p=[],m=0,S=0,_=0;_<l.length&&u++<a;++_){var w=_v(l[_]);if(YG(l[_])){d(l[_],h[h.length-1]||[],p);var E=l[_+1]?_v(l[_+1]):null;if(w!==E){if(p.length){S=m,p.sort(function(X,G){return X.value-G.value});for(var b=[],D=0;D<p.length;++D){var A=p[D].value;(D===0||p[D-1].value!==A)&&(b.push(p[D]),A>=r[0]&&A<=r[1]&&m++)}var O=(r[1]-r[0])/e;if(m>O*1.5&&S>O/1.5||(h.push(b),m>O||t===l[_]))break}p=[]}}}process.env.NODE_ENV!=="production"&&u>=a&&Fr("Exceed safe limit.");for(var P=Tr(ot(h,function(X){return Tr(X,function(G){return G.value>=r[0]&&G.value<=r[1]&&!G.notAdd})}),function(X){return X.length>0}),I=[],F=P.length-1,_=0;_<P.length;++_)for(var U=P[_],H=0;H<U.length;++H)I.push({value:U[H].value,level:F-_});I.sort(function(X,G){return X.value-G.value});for(var j=[],_=0;_<I.length;++_)(_===0||I[_].value!==I[_-1].value)&&j.push(I[_]);return j}Mu.registerClass(pI);const Xj=pI;var mI=Mu.prototype,Hg=Vg.prototype,qj=vr,Qj=Math.floor,Zj=Math.ceil,r1=Math.pow,Uo=Math.log,Vb=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="log",n.base=10,n._originalScale=new Vg,n._interval=0,n}return e.prototype.getTicks=function(n){var r=this._originalScale,a=this._extent,l=r.getExtent(),u=Hg.getTicks.call(this,n);return ot(u,function(f){var d=f.value,h=vr(r1(this.base,d));return h=d===a[0]&&this._fixMin?i1(h,l[0]):h,h=d===a[1]&&this._fixMax?i1(h,l[1]):h,{value:h}},this)},e.prototype.setExtent=function(n,r){var a=Uo(this.base);n=Uo(Math.max(0,n))/a,r=Uo(Math.max(0,r))/a,Hg.setExtent.call(this,n,r)},e.prototype.getExtent=function(){var n=this.base,r=mI.getExtent.call(this);r[0]=r1(n,r[0]),r[1]=r1(n,r[1]);var a=this._originalScale,l=a.getExtent();return this._fixMin&&(r[0]=i1(r[0],l[0])),this._fixMax&&(r[1]=i1(r[1],l[1])),r},e.prototype.unionExtent=function(n){this._originalScale.unionExtent(n);var r=this.base;n[0]=Uo(n[0])/Uo(r),n[1]=Uo(n[1])/Uo(r),mI.unionExtent.call(this,n)},e.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},e.prototype.calcNiceTicks=function(n){n=n||10;var r=this._extent,a=r[1]-r[0];if(!(a===1/0||a<=0)){var l=I4(a),u=n/a*l;for(u<=.5&&(l*=10);!isNaN(l)&&Math.abs(l)<1&&Math.abs(l)>0;)l*=10;var f=[vr(Zj(r[0]/l)*l),vr(Qj(r[1]/l)*l)];this._interval=l,this._niceExtent=f}},e.prototype.calcNiceExtent=function(n){Hg.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},e.prototype.parse=function(n){return n},e.prototype.contain=function(n){return n=Uo(n)/Uo(this.base),J_(n,this._extent)},e.prototype.normalize=function(n){return n=Uo(n)/Uo(this.base),e1(n,this._extent)},e.prototype.scale=function(n){return n=t1(n,this._extent),r1(this.base,n)},e.type="log",e}(Mu),yI=Vb.prototype;yI.getMinorTicks=Hg.getMinorTicks,yI.getLabel=Hg.getLabel;function i1(t,e){return qj(t,Su(e))}Mu.registerClass(Vb);const Kj=Vb;var Jj=function(){function t(e,n,r){this._prepareParams(e,n,r)}return t.prototype._prepareParams=function(e,n,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var a=this._isOrdinal=e.type==="ordinal";this._needCrossZero=e.type==="interval"&&n.getNeedCrossZero&&n.getNeedCrossZero();var l=this._modelMinRaw=n.get("min",!0);_t(l)?this._modelMinNum=a1(e,l({min:r[0],max:r[1]})):l!=="dataMin"&&(this._modelMinNum=a1(e,l));var u=this._modelMaxRaw=n.get("max",!0);if(_t(u)?this._modelMaxNum=a1(e,u({min:r[0],max:r[1]})):u!=="dataMax"&&(this._modelMaxNum=a1(e,u)),a)this._axisDataLen=n.getCategories().length;else{var f=n.get("boundaryGap"),d=Be(f)?f:[f||0,f||0];typeof d[0]=="boolean"||typeof d[1]=="boolean"?(process.env.NODE_ENV!=="production"&&console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),this._boundaryGapInner=[0,0]):this._boundaryGapInner=[ec(d[0],1),ec(d[1],1)]}},t.prototype.calculate=function(){var e=this._isOrdinal,n=this._dataMin,r=this._dataMax,a=this._axisDataLen,l=this._boundaryGapInner,u=e?null:r-n||Math.abs(n),f=this._modelMinRaw==="dataMin"?n:this._modelMinNum,d=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,h=f!=null,p=d!=null;f==null&&(f=e?a?0:NaN:n-l[0]*u),d==null&&(d=e?a?a-1:NaN:r+l[1]*u),(f==null||!isFinite(f))&&(f=NaN),(d==null||!isFinite(d))&&(d=NaN);var m=Fp(f)||Fp(d)||e&&!a;this._needCrossZero&&(f>0&&d>0&&!h&&(f=0),f<0&&d<0&&!p&&(d=0));var S=this._determinedMin,_=this._determinedMax;return S!=null&&(f=S,h=!0),_!=null&&(d=_,p=!0),{min:f,max:d,minFixed:h,maxFixed:p,isBlank:m}},t.prototype.modifyDataMinMax=function(e,n){process.env.NODE_ENV!=="production"&&bt(!this.frozen),this[tY[e]]=n},t.prototype.setDeterminedMinMax=function(e,n){var r=eY[e];process.env.NODE_ENV!=="production"&&bt(!this.frozen&&this[r]==null),this[r]=n},t.prototype.freeze=function(){this.frozen=!0},t}(),eY={min:"_determinedMin",max:"_determinedMax"},tY={min:"_dataMin",max:"_dataMax"};function nY(t,e,n){var r=t.rawExtentInfo;return r||(r=new Jj(t,e,n),t.rawExtentInfo=r,r)}function a1(t,e){return e==null?null:Fp(e)?NaN:t.parse(e)}function _I(t,e){var n=t.type,r=nY(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var a=r.min,l=r.max,u=e.ecModel;if(u&&n==="time"){var f=cI("bar",u),d=!1;if(W(f,function(m){d=d||m.getBaseAxis()===e.axis}),d){var h=dI(f),p=rY(a,l,e,h);a=p.min,l=p.max}}return{extent:[a,l],fixMin:r.minFixed,fixMax:r.maxFixed}}function rY(t,e,n,r){var a=n.axis.getExtent(),l=a[1]-a[0],u=Ij(r,n.axis);if(u===void 0)return{min:t,max:e};var f=1/0;W(u,function(_){f=Math.min(_.offset,f)});var d=-1/0;W(u,function(_){d=Math.max(_.offset+_.width,d)}),f=Math.abs(f),d=Math.abs(d);var h=f+d,p=e-t,m=1-(f+d)/l,S=p/m-p;return e+=S*(d/h),t-=S*(f/h),{min:t,max:e}}function SI(t,e){var n=e,r=_I(t,n),a=r.extent,l=n.get("splitNumber");t instanceof Kj&&(t.base=n.get("logBase"));var u=t.type,f=n.get("interval"),d=u==="interval"||u==="time";t.setExtent(a[0],a[1]),t.calcNiceExtent({splitNumber:l,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:d?n.get("minInterval"):null,maxInterval:d?n.get("maxInterval"):null}),f!=null&&t.setInterval&&t.setInterval(f)}function iY(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new uI({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new Xj({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Mu.getClass(e)||Vg)}}function aY(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)}function Gg(t){var e=t.getLabelModel().get("formatter"),n=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(r){return function(a,l){return t.scale.getFormattedLabel(a,l,r)}}(e):et(e)?function(r){return function(a){var l=t.scale.getLabel(a),u=r.replace("{value}",l??"");return u}}(e):_t(e)?function(r){return function(a,l){return n!=null&&(l=a.value-n),r(Hb(t,a),l,a.level!=null?{level:a.level}:null)}}(e):function(r){return t.scale.getLabel(r)}}function Hb(t,e){return t.type==="category"?t.scale.getLabel(e):e.value}function oY(t){var e=t.model,n=t.scale;if(!(!e.get(["axisLabel","show"])||n.isBlank())){var r,a,l=n.getExtent();n instanceof uI?a=n.count():(r=n.getTicks(),a=r.length);var u=t.getLabelModel(),f=Gg(t),d,h=1;a>40&&(h=Math.ceil(a/40));for(var p=0;p<a;p+=h){var m=r?r[p]:{value:l[0]+p},S=f(m,p),_=u.getTextRect(S),w=lY(_,u.get("rotate")||0);d?d.union(w):d=w}return d}}function lY(t,e){var n=e*Math.PI/180,r=t.width,a=t.height,l=r*Math.abs(Math.cos(n))+Math.abs(a*Math.sin(n)),u=r*Math.abs(Math.sin(n))+Math.abs(a*Math.cos(n)),f=new Wt(t.x,t.y,l,u);return f}function Gb(t){var e=t.get("interval");return e??"auto"}function CI(t){return t.type==="category"&&Gb(t.getLabelModel())===0}function uY(t,e){var n={};return W(t.mapDimensionsAll(e),function(r){n[Cj(t,r)]=!0}),kn(n)}var sY=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},t.prototype.getCoordSysModel=function(){},t}(),wI=[],fY={registerPreprocessor:$P,registerProcessor:jP,registerPostInit:Y7,registerPostUpdate:W7,registerUpdateLifecycle:Rb,registerAction:Av,registerCoordinateSystem:X7,registerLayout:q7,registerVisual:bc,registerTransform:Z7,registerLoading:WP,registerMap:Q7,registerImpl:E7,PRIORITY:B7,ComponentModel:En,ComponentView:Du,SeriesModel:Ev,ChartView:Dv,registerComponentModel:function(t){En.registerClass(t)},registerComponentView:function(t){Du.registerClass(t)},registerSeriesModel:function(t){Ev.registerClass(t)},registerChartView:function(t){Dv.registerClass(t)},registerSubTypeDefaulter:function(t,e){En.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){L4(t,e)}};function $g(t){if(Be(t)){W(t,function(e){$g(e)});return}dn(wI,t)>=0||(wI.push(t),_t(t)&&(t={install:t}),t.install(fY))}var jg=jn();function cY(t){return t.type==="category"?vY(t):pY(t)}function dY(t,e){return t.type==="category"?hY(t,e):{ticks:ot(t.scale.getTicks(),function(n){return n.value})}}function vY(t){var e=t.getLabelModel(),n=xI(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function xI(t,e){var n=TI(t,"labels"),r=Gb(e),a=bI(n,r);if(a)return a;var l,u;return _t(r)?l=MI(t,r):(u=r==="auto"?gY(t):r,l=DI(t,u)),EI(n,r,{labels:l,labelCategoryInterval:u})}function hY(t,e){var n=TI(t,"ticks"),r=Gb(e),a=bI(n,r);if(a)return a;var l,u;if((!e.get("show")||t.scale.isBlank())&&(l=[]),_t(r))l=MI(t,r,!0);else if(r==="auto"){var f=xI(t,t.getLabelModel());u=f.labelCategoryInterval,l=ot(f.labels,function(d){return d.tickValue})}else u=r,l=DI(t,u,!0);return EI(n,r,{ticks:l,tickCategoryInterval:u})}function pY(t){var e=t.scale.getTicks(),n=Gg(t);return{labels:ot(e,function(r,a){return{level:r.level,formattedLabel:n(r,a),rawLabel:t.scale.getLabel(r),tickValue:r.value}})}}function TI(t,e){return jg(t)[e]||(jg(t)[e]=[])}function bI(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function EI(t,e,n){return t.push({key:e,value:n}),n}function gY(t){var e=jg(t).autoInterval;return e??(jg(t).autoInterval=t.calculateCategoryInterval())}function mY(t){var e=yY(t),n=Gg(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,a=t.scale,l=a.getExtent(),u=a.count();if(l[1]-l[0]<1)return 0;var f=1;u>40&&(f=Math.max(1,Math.floor(u/40)));for(var d=l[0],h=t.dataToCoord(d+1)-t.dataToCoord(d),p=Math.abs(h*Math.cos(r)),m=Math.abs(h*Math.sin(r)),S=0,_=0;d<=l[1];d+=f){var w=0,E=0,b=Rx(n({value:d}),e.font,"center","top");w=b.width*1.3,E=b.height*1.3,S=Math.max(S,w,7),_=Math.max(_,E,7)}var D=S/p,A=_/m;isNaN(D)&&(D=1/0),isNaN(A)&&(A=1/0);var O=Math.max(0,Math.floor(Math.min(D,A))),P=jg(t.model),I=t.getExtent(),F=P.lastAutoInterval,U=P.lastTickCount;return F!=null&&U!=null&&Math.abs(F-O)<=1&&Math.abs(U-u)<=1&&F>O&&P.axisExtent0===I[0]&&P.axisExtent1===I[1]?O=F:(P.lastTickCount=u,P.lastAutoInterval=O,P.axisExtent0=I[0],P.axisExtent1=I[1]),O}function yY(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function DI(t,e,n){var r=Gg(t),a=t.scale,l=a.getExtent(),u=t.getLabelModel(),f=[],d=Math.max((e||0)+1,1),h=l[0],p=a.count();h!==0&&d>1&&p/d>2&&(h=Math.round(Math.ceil(h/d)*d));var m=CI(t),S=u.get("showMinLabel")||m,_=u.get("showMaxLabel")||m;S&&h!==l[0]&&E(l[0]);for(var w=h;w<=l[1];w+=d)E(w);_&&w-d!==l[1]&&E(l[1]);function E(b){var D={value:b};f.push(n?b:{formattedLabel:r(D),rawLabel:a.getLabel(D),tickValue:b})}return f}function MI(t,e,n){var r=t.scale,a=Gg(t),l=[];return W(r.getTicks(),function(u){var f=r.getLabel(u),d=u.value;e(u.value,f)&&l.push(n?d:{formattedLabel:a(u),rawLabel:f,tickValue:d})}),l}var RI=[0,1],_Y=function(){function t(e,n,r){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=n,this._extent=r||[0,0]}return t.prototype.contain=function(e){var n=this._extent,r=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);return e>=r&&e<=a},t.prototype.containData=function(e){return this.scale.contain(e)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(e){return k4(e||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(e,n){var r=this._extent;r[0]=e,r[1]=n},t.prototype.dataToCoord=function(e,n){var r=this._extent,a=this.scale;return e=a.normalize(e),this.onBand&&a.type==="ordinal"&&(r=r.slice(),AI(r,a.count())),cO(e,RI,r,n)},t.prototype.coordToData=function(e,n){var r=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(r=r.slice(),AI(r,a.count()));var l=cO(e,r,RI,n);return this.scale.scale(l)},t.prototype.pointToData=function(e,n){},t.prototype.getTicksCoords=function(e){e=e||{};var n=e.tickModel||this.getTickModel(),r=dY(this,n),a=r.ticks,l=ot(a,function(f){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(f):f),tickValue:f}},this),u=n.get("alignWithLabel");return SY(this,l,u,e.clamp),l},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),n=e.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),a=ot(r,function(l){return ot(l,function(u){return{coord:this.dataToCoord(u),tickValue:u}},this)},this);return a},t.prototype.getViewLabels=function(){return cY(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var e=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var a=Math.abs(e[1]-e[0]);return Math.abs(a)/r},t.prototype.calculateCategoryInterval=function(){return mY(this)},t}();function AI(t,e){var n=t[1]-t[0],r=e,a=n/r/2;t[0]+=a,t[1]-=a}function SY(t,e,n,r){var a=e.length;if(!t.onBand||n||!a)return;var l=t.getExtent(),u,f;if(a===1)e[0].coord=l[0],u=e[1]={coord:l[0]};else{var d=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/d;W(e,function(_){_.coord-=h/2});var p=t.scale.getExtent();f=1+p[1]-e[a-1].tickValue,u={coord:e[a-1].coord+h*f},e.push(u)}var m=l[0]>l[1];S(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift()),r&&S(l[0],e[0].coord)&&e.unshift({coord:l[0]}),S(l[1],u.coord)&&(r?u.coord=l[1]:e.pop()),r&&S(u.coord,l[1])&&e.push({coord:l[1]});function S(_,w){return _=vr(_),w=vr(w),m?_>w:_<w}}const CY=_Y;var Yg=Math.PI*2,Dc=As.CMD,wY=["top","right","bottom","left"];function xY(t,e,n,r,a){var l=n.width,u=n.height;switch(t){case"top":r.set(n.x+l/2,n.y-e),a.set(0,-1);break;case"bottom":r.set(n.x+l/2,n.y+u+e),a.set(0,1);break;case"left":r.set(n.x-e,n.y+u/2),a.set(-1,0);break;case"right":r.set(n.x+l+e,n.y+u/2),a.set(1,0);break}}function TY(t,e,n,r,a,l,u,f,d){u-=t,f-=e;var h=Math.sqrt(u*u+f*f);u/=h,f/=h;var p=u*n+t,m=f*n+e;if(Math.abs(r-a)%Yg<1e-4)return d[0]=p,d[1]=m,h-n;if(l){var S=r;r=Ls(a),a=Ls(S)}else r=Ls(r),a=Ls(a);r>a&&(a+=Yg);var _=Math.atan2(f,u);if(_<0&&(_+=Yg),_>=r&&_<=a||_+Yg>=r&&_+Yg<=a)return d[0]=p,d[1]=m,h-n;var w=n*Math.cos(r)+t,E=n*Math.sin(r)+e,b=n*Math.cos(a)+t,D=n*Math.sin(a)+e,A=(w-u)*(w-u)+(E-f)*(E-f),O=(b-u)*(b-u)+(D-f)*(D-f);return A<O?(d[0]=w,d[1]=E,Math.sqrt(A)):(d[0]=b,d[1]=D,Math.sqrt(O))}function $b(t,e,n,r,a,l,u,f){var d=a-t,h=l-e,p=n-t,m=r-e,S=Math.sqrt(p*p+m*m);p/=S,m/=S;var _=d*p+h*m,w=_/S;f&&(w=Math.min(Math.max(w,0),1)),w*=S;var E=u[0]=t+w*p,b=u[1]=e+w*m;return Math.sqrt((E-a)*(E-a)+(b-l)*(b-l))}function LI(t,e,n,r,a,l,u){n<0&&(t=t+n,n=-n),r<0&&(e=e+r,r=-r);var f=t+n,d=e+r,h=u[0]=Math.min(Math.max(a,t),f),p=u[1]=Math.min(Math.max(l,e),d);return Math.sqrt((h-a)*(h-a)+(p-l)*(p-l))}var Vo=[];function bY(t,e,n){var r=LI(e.x,e.y,e.width,e.height,t.x,t.y,Vo);return n.set(Vo[0],Vo[1]),r}function EY(t,e,n){for(var r=0,a=0,l=0,u=0,f,d,h=1/0,p=e.data,m=t.x,S=t.y,_=0;_<p.length;){var w=p[_++];_===1&&(r=p[_],a=p[_+1],l=r,u=a);var E=h;switch(w){case Dc.M:l=p[_++],u=p[_++],r=l,a=u;break;case Dc.L:E=$b(r,a,p[_],p[_+1],m,S,Vo,!0),r=p[_++],a=p[_++];break;case Dc.C:E=kL(r,a,p[_++],p[_++],p[_++],p[_++],p[_],p[_+1],m,S,Vo),r=p[_++],a=p[_++];break;case Dc.Q:E=IL(r,a,p[_++],p[_++],p[_],p[_+1],m,S,Vo),r=p[_++],a=p[_++];break;case Dc.A:var b=p[_++],D=p[_++],A=p[_++],O=p[_++],P=p[_++],I=p[_++];_+=1;var F=!!(1-p[_++]);f=Math.cos(P)*A+b,d=Math.sin(P)*O+D,_<=1&&(l=f,u=d);var U=(m-b)*O/A+b;E=TY(b,D,O,P,P+I,F,U,S,Vo),r=Math.cos(P+I)*A+b,a=Math.sin(P+I)*O+D;break;case Dc.R:l=r=p[_++],u=a=p[_++];var H=p[_++],j=p[_++];E=LI(l,u,H,j,m,S,Vo);break;case Dc.Z:E=$b(r,a,l,u,m,S,Vo,!0),r=l,a=u;break}E<h&&(h=E,n.set(Vo[0],Vo[1]))}return h}var Mc=new ht,Ur=new ht,Pa=new ht,kv=new ht,Wg=new ht;function OI(t,e){if(t){var n=t.getTextGuideLine(),r=t.getTextContent();if(r&&n){var a=t.textGuideLineConfig||{},l=[[0,0],[0,0],[0,0]],u=a.candidates||wY,f=r.getBoundingRect().clone();f.applyTransform(r.getComputedTransform());var d=1/0,h=a.anchor,p=t.getComputedTransform(),m=p&&M0([],p),S=e.get("length2")||0;h&&Pa.copy(h);for(var _=0;_<u.length;_++){var w=u[_];xY(w,0,f,Mc,kv),ht.scaleAndAdd(Ur,Mc,kv,S),Ur.transform(m);var E=t.getBoundingRect(),b=h?h.distance(Ur):t instanceof Gt?EY(Ur,t.path,Pa):bY(Ur,E,Pa);b<d&&(d=b,Ur.transform(p),Pa.transform(p),Pa.toArray(l[0]),Ur.toArray(l[1]),Mc.toArray(l[2]))}DY(l,e.get("minTurnAngle")),n.setShape({points:l})}}}var kI=[],Rc=new ht;function DY(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Mc.fromArray(t[0]),Ur.fromArray(t[1]),Pa.fromArray(t[2]),ht.sub(kv,Mc,Ur),ht.sub(Wg,Pa,Ur);var n=kv.len(),r=Wg.len();if(!(n<.001||r<.001)){kv.scale(1/n),Wg.scale(1/r);var a=kv.dot(Wg),l=Math.cos(e);if(l<a){var u=$b(Ur.x,Ur.y,Pa.x,Pa.y,Mc.x,Mc.y,kI,!1);Rc.fromArray(kI),Rc.scaleAndAdd(Wg,u/Math.tan(Math.PI-e));var f=Pa.x!==Ur.x?(Rc.x-Ur.x)/(Pa.x-Ur.x):(Rc.y-Ur.y)/(Pa.y-Ur.y);if(isNaN(f))return;f<0?ht.copy(Rc,Ur):f>1&&ht.copy(Rc,Pa),Rc.toArray(t[1])}}}}function NI(t,e,n,r){var a=n==="normal",l=a?t:t.ensureState(n);l.ignore=e;var u=r.get("smooth");u&&u===!0&&(u=.3),l.shape=l.shape||{},u>0&&(l.shape.smooth=u);var f=r.getModel("lineStyle").getLineStyle();a?t.useStyle(f):l.style=f}function MY(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var a=Ww(r[0],r[1]),l=Ww(r[1],r[2]);if(!a||!l){t.lineTo(r[1][0],r[1][1]),t.lineTo(r[2][0],r[2][1]);return}var u=Math.min(a,l)*n,f=D0([],r[1],r[0],u/a),d=D0([],r[1],r[2],u/l),h=D0([],f,d,.5);t.bezierCurveTo(f[0],f[1],f[0],f[1],h[0],h[1]),t.bezierCurveTo(d[0],d[1],d[0],d[1],r[2][0],r[2][1])}else for(var p=1;p<r.length;p++)t.lineTo(r[p][0],r[p][1])}function RY(t,e,n){var r=t.getTextGuideLine(),a=t.getTextContent();if(!a){r&&t.removeTextGuideLine();return}for(var l=e.normal,u=l.get("show"),f=a.ignore,d=0;d<r_.length;d++){var h=r_[d],p=e[h],m=h==="normal";if(p){var S=p.get("show"),_=m?f:kt(a.states[h]&&a.states[h].ignore,f);if(_||!kt(S,u)){var w=m?r:r&&r.states[h];w&&(w.ignore=!0);continue}r||(r=new _T,t.setTextGuideLine(r),!m&&(f||!u)&&NI(r,!0,"normal",e.normal),t.stateProxy&&(r.stateProxy=t.stateProxy)),NI(r,!1,h,p)}}if(r){Vt(r.style,n),r.style.fill=null;var E=l.get("showAbove"),b=t.textGuideLineConfig=t.textGuideLineConfig||{};b.showAbove=E||!1,r.buildPath=MY}}function AY(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},r=0;r<Ml.length;r++){var a=Ml[r];n[a]=t.getModel([a,e])}return n}function PI(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var a=r.label,l=a.getComputedTransform(),u=a.getBoundingRect(),f=!l||l[1]<1e-5&&l[2]<1e-5,d=a.style.margin||0,h=u.clone();h.applyTransform(l),h.x-=d/2,h.y-=d/2,h.width+=d,h.height+=d;var p=f?new d_(u,l):null;e.push({label:a,labelLine:r.labelLine,rect:h,localRect:u,obb:p,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:f,transform:l})}}return e}function II(t,e,n,r,a,l){var u=t.length;if(u<2)return;t.sort(function(H,j){return H.rect[e]-j.rect[e]});for(var f=0,d,h=!1,p=0,m=0;m<u;m++){var S=t[m],_=S.rect;d=_[e]-f,d<0&&(_[e]-=d,S.label[e]-=d,h=!0);var w=Math.max(-d,0);p+=w,f=_[e]+_[n]}p>0&&l&&I(-p/u,0,u);var E=t[0],b=t[u-1],D,A;O(),D<0&&F(-D,.8),A<0&&F(A,.8),O(),P(D,A,1),P(A,D,-1),O(),D<0&&U(-D),A<0&&U(A);function O(){D=E.rect[e]-r,A=a-b.rect[e]-b.rect[n]}function P(H,j,X){if(H<0){var G=Math.min(j,-H);if(G>0){I(G*X,0,u);var ee=G+H;ee<0&&F(-ee*X,1)}else F(-H*X,1)}}function I(H,j,X){H!==0&&(h=!0);for(var G=j;G<X;G++){var ee=t[G],J=ee.rect;J[e]+=H,ee.label[e]+=H}}function F(H,j){for(var X=[],G=0,ee=1;ee<u;ee++){var J=t[ee-1].rect,ie=Math.max(t[ee].rect[e]-J[e]-J[n],0);X.push(ie),G+=ie}if(G){var ce=Math.min(Math.abs(H)/G,j);if(H>0)for(var ee=0;ee<u-1;ee++){var fe=X[ee]*ce;I(fe,0,ee+1)}else for(var ee=u-1;ee>0;ee--){var fe=X[ee-1]*ce;I(-fe,ee,u)}}}function U(H){var j=H<0?-1:1;H=Math.abs(H);for(var X=Math.ceil(H/(u-1)),G=0;G<u-1;G++)if(j>0?I(X,0,G+1):I(-X,u-G-1,u),H-=X,H<=0)return}return h}function LY(t,e,n,r){return II(t,"x","width",e,n,r)}function OY(t,e,n,r){return II(t,"y","height",e,n,r)}function zI(t){var e=[];t.sort(function(E,b){return b.priority-E.priority});var n=new Wt(0,0,0,0);function r(E){if(!E.ignore){var b=E.ensureState("emphasis");b.ignore==null&&(b.ignore=!1)}E.ignore=!0}for(var a=0;a<t.length;a++){var l=t[a],u=l.axisAligned,f=l.localRect,d=l.transform,h=l.label,p=l.labelLine;n.copy(l.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var m=l.obb,S=!1,_=0;_<e.length;_++){var w=e[_];if(n.intersect(w.rect)){if(u&&w.axisAligned){S=!0;break}if(w.obb||(w.obb=new d_(w.localRect,w.transform)),m||(m=new d_(f,d)),m.intersect(w.obb)){S=!0;break}}}S?(r(h),p&&r(p)):(h.attr("ignore",l.defaultAttr.ignore),p&&p.attr("ignore",l.defaultAttr.labelGuideIgnore),e.push(l))}}function kY(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function NY(t,e){var n=t.label,r=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:kY(r&&r.shape.points)}}var FI=["align","verticalAlign","width","height","fontSize"],Ia=new Kp,jb=jn(),PY=jn();function o1(t,e,n){for(var r=0;r<n.length;r++){var a=n[r];e[a]!=null&&(t[a]=e[a])}}var l1=["x","y","rotation"],IY=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(e,n,r,a,l){var u=a.style,f=a.__hostTarget,d=f.textConfig||{},h=a.getComputedTransform(),p=a.getBoundingRect().plain();Wt.applyTransform(p,p,h),h?Ia.setLocalTransform(h):(Ia.x=Ia.y=Ia.rotation=Ia.originX=Ia.originY=0,Ia.scaleX=Ia.scaleY=1);var m=a.__hostTarget,S;if(m){S=m.getBoundingRect().plain();var _=m.getComputedTransform();Wt.applyTransform(S,S,_)}var w=S&&m.getTextGuideLine();this._labelList.push({label:a,labelLine:w,seriesModel:r,dataIndex:e,dataType:n,layoutOption:l,computedLayoutOption:null,rect:p,hostRect:S,priority:S?S.width*S.height:0,defaultAttr:{ignore:a.ignore,labelGuideIgnore:w&&w.ignore,x:Ia.x,y:Ia.y,scaleX:Ia.scaleX,scaleY:Ia.scaleY,rotation:Ia.rotation,style:{x:u.x,y:u.y,align:u.align,verticalAlign:u.verticalAlign,width:u.width,height:u.height,fontSize:u.fontSize},cursor:a.cursor,attachedPos:d.position,attachedRot:d.rotation}})},t.prototype.addLabelsOfSeries=function(e){var n=this;this._chartViewList.push(e);var r=e.__model,a=r.get("labelLayout");(_t(a)||kn(a).length)&&e.group.traverse(function(l){if(l.ignore)return!0;var u=l.getTextContent(),f=yn(l);u&&!u.disableLabelLayout&&n._addLabel(f.dataIndex,f.dataType,r,u,a)})},t.prototype.updateLayoutConfig=function(e){var n=e.getWidth(),r=e.getHeight();function a(O,P){return function(){OI(O,P)}}for(var l=0;l<this._labelList.length;l++){var u=this._labelList[l],f=u.label,d=f.__hostTarget,h=u.defaultAttr,p=void 0;_t(u.layoutOption)?p=u.layoutOption(NY(u,d)):p=u.layoutOption,p=p||{},u.computedLayoutOption=p;var m=Math.PI/180;d&&d.setTextConfig({local:!1,position:p.x!=null||p.y!=null?null:h.attachedPos,rotation:p.rotate!=null?p.rotate*m:h.attachedRot,offset:[p.dx||0,p.dy||0]});var S=!1;if(p.x!=null?(f.x=Zr(p.x,n),f.setStyle("x",0),S=!0):(f.x=h.x,f.setStyle("x",h.style.x)),p.y!=null?(f.y=Zr(p.y,r),f.setStyle("y",0),S=!0):(f.y=h.y,f.setStyle("y",h.style.y)),p.labelLinePoints){var _=d.getTextGuideLine();_&&(_.setShape({points:p.labelLinePoints}),S=!1)}var w=jb(f);w.needsUpdateLabelLine=S,f.rotation=p.rotate!=null?p.rotate*m:h.rotation,f.scaleX=h.scaleX,f.scaleY=h.scaleY;for(var E=0;E<FI.length;E++){var b=FI[E];f.setStyle(b,p[b]!=null?p[b]:h.style[b])}if(p.draggable){if(f.draggable=!0,f.cursor="move",d){var D=u.seriesModel;if(u.dataIndex!=null){var A=u.seriesModel.getData(u.dataType);D=A.getItemModel(u.dataIndex)}f.on("drag",a(d,D.getModel("labelLine")))}}else f.off("drag"),f.cursor=h.cursor}},t.prototype.layout=function(e){var n=e.getWidth(),r=e.getHeight(),a=PI(this._labelList),l=Tr(a,function(d){return d.layoutOption.moveOverlap==="shiftX"}),u=Tr(a,function(d){return d.layoutOption.moveOverlap==="shiftY"});LY(l,0,n),OY(u,0,r);var f=Tr(a,function(d){return d.layoutOption.hideOverlap});zI(f)},t.prototype.processLabelsOverall=function(){var e=this;W(this._chartViewList,function(n){var r=n.__model,a=n.ignoreLabelLineUpdate,l=r.isAnimationEnabled();n.group.traverse(function(u){if(u.ignore&&!u.forceLabelAnimation)return!0;var f=!a,d=u.getTextContent();!f&&d&&(f=jb(d).needsUpdateLabelLine),f&&e._updateLabelLine(u,r),l&&e._animateLabels(u,r)})})},t.prototype._updateLabelLine=function(e,n){var r=e.getTextContent(),a=yn(e),l=a.dataIndex;if(r&&l!=null){var u=n.getData(a.dataType),f=u.getItemModel(l),d={},h=u.getItemVisual(l,"style"),p=u.getVisual("drawType");d.stroke=h[p];var m=f.getModel("labelLine");RY(e,AY(f),d),OI(e,m)}},t.prototype._animateLabels=function(e,n){var r=e.getTextContent(),a=e.getTextGuideLine();if(r&&(e.forceLabelAnimation||!r.ignore&&!r.invisible&&!e.disableLabelAnimation&&!yv(e))){var l=jb(r),u=l.oldLayout,f=yn(e),d=f.dataIndex,h={x:r.x,y:r.y,rotation:r.rotation},p=n.getData(f.dataType);if(u){r.attr(u);var S=e.prevStates;S&&(dn(S,"select")>=0&&r.attr(l.oldLayoutSelect),dn(S,"emphasis")>=0&&r.attr(l.oldLayoutEmphasis)),Po(r,h,n,d)}else if(r.attr(h),!hg(r).valueAnimation){var m=kt(r.style.opacity,1);r.style.opacity=0,Io(r,{style:{opacity:m}},n,d)}if(l.oldLayout=h,r.states.select){var _=l.oldLayoutSelect={};o1(_,h,l1),o1(_,r.states.select,l1)}if(r.states.emphasis){var w=l.oldLayoutEmphasis={};o1(w,h,l1),o1(w,r.states.emphasis,l1)}RG(r,d,p,n,n)}if(a&&!a.ignore&&!a.invisible){var l=PY(a),u=l.oldLayout,E={points:a.shape.points};u?(a.attr({shape:u}),Po(a,{shape:E},n)):(a.setShape(E),a.style.strokePercent=0,Io(a,{style:{strokePercent:1}},n)),l.oldLayout=E}},t}();const zY=IY;var Yb=jn();function FY(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,n,r){var a=Yb(n).labelManager;a||(a=Yb(n).labelManager=new zY),a.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(e,n,r){var a=Yb(n).labelManager;r.updatedSeries.forEach(function(l){a.addLabelsOfSeries(n.getViewOfSeriesModel(l))}),a.updateLayoutConfig(n),a.layout(n),a.processLabelsOverall()})}function BY(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var a=Tv(t,e,n[0]);return a!=null?a+"":null}else if(r){for(var l=[],u=0;u<n.length;u++)l.push(Tv(t,e,n[u]));return l.join(" ")}}function UY(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Be(e))return e+"";for(var r=[],a=0;a<n.length;a++){var l=t.getDimensionIndex(n[a]);l>=0&&r.push(e[l])}return r.join(" ")}function VY(t,e,n,r,a){var l=t.getArea(),u=l.x,f=l.y,d=l.width,h=l.height,p=n.get(["lineStyle","width"])||2;u-=p/2,f-=p/2,d+=p,h+=p,u=Math.floor(u),d=Math.round(d);var m=new Kr({shape:{x:u,y:f,width:d,height:h}});if(e){var S=t.getBaseAxis(),_=S.isHorizontal(),w=S.inverse;_?(w&&(m.shape.x+=d),m.shape.width=0):(w||(m.shape.y+=h),m.shape.height=0);var E=_t(a)?function(b){a(b,m)}:null;Io(m,{shape:{width:d,height:h,x:u,y:f}},n,null,r,E)}return m}function HY(t,e,n){var r=t.getArea(),a=vr(r.r0,1),l=vr(r.r,1),u=new vc({shape:{cx:vr(t.cx,1),cy:vr(t.cy,1),r0:a,r:l,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(e){var f=t.getBaseAxis().dim==="angle";f?u.shape.endAngle=r.startAngle:u.shape.r=a,Io(u,{shape:{endAngle:r.endAngle,r:l}},n)}return u}function GY(t,e,n,r,a){if(t){if(t.type==="polar")return HY(t,e,n);if(t.type==="cartesian2d")return VY(t,e,n,r,a)}else return null;return null}function BI(t,e){return t.type===e}var $Y={average:function(t){for(var e=0,n=0,r=0;r<t.length;r++)isNaN(t[r])||(e+=t[r],n++);return n===0?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},jY=function(t){return Math.round(t.length/2)};function YY(t){return{seriesType:t,reset:function(e,n,r){var a=e.getData(),l=e.get("sampling"),u=e.coordinateSystem,f=a.count();if(f>10&&u.type==="cartesian2d"&&l){var d=u.getBaseAxis(),h=u.getOtherAxis(d),p=d.getExtent(),m=r.getDevicePixelRatio(),S=Math.abs(p[1]-p[0])*(m||1),_=Math.round(f/S);if(isFinite(_)&&_>1){l==="lttb"&&e.setData(a.lttbDownSample(a.mapDimension(h.dim),1/_));var w=void 0;et(l)?w=$Y[l]:_t(l)&&(w=l),w&&e.setData(a.downSample(a.mapDimension(h.dim),1/_,w,jY))}}}}}var UI=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.getInitialData=function(n,r){return rI(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(n,r,a){var l=this.coordinateSystem;if(l&&l.clampData){var u=l.dataToPoint(l.clampData(n));if(a)W(l.getAxes(),function(m,S){if(m.type==="category"){var _=m.getTicksCoords(),w=l.clampData(n)[S];r&&(r[S]==="x1"||r[S]==="y1")&&(w+=1),w>_.length-1&&(w=_.length-1),w<0&&(w=0),_[w]&&(u[S]=m.toGlobalCoord(_[w].coord))}});else{var f=this.getData(),d=f.getLayout("offset"),h=f.getLayout("size"),p=l.getBaseAxis().isHorizontal()?0:1;u[p]+=d+h/2}return u}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Ev);Ev.registerClass(UI);const VI=UI;var WY=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.getInitialData=function(){return rI(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},e.prototype.brushSelector=function(n,r,a){return a.rect(r.getItemLayout(n))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=UG(VI.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(VI);const XY=WY;var qY=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),QY=function(t){Pt(e,t);function e(n){var r=t.call(this,n)||this;return r.type="sausage",r}return e.prototype.getDefaultShape=function(){return new qY},e.prototype.buildPath=function(n,r){var a=r.cx,l=r.cy,u=Math.max(r.r0||0,0),f=Math.max(r.r,0),d=(f-u)*.5,h=u+d,p=r.startAngle,m=r.endAngle,S=r.clockwise,_=Math.PI*2,w=S?m-p<_:p-m<_;w||(p=m-(S?_:-_));var E=Math.cos(p),b=Math.sin(p),D=Math.cos(m),A=Math.sin(m);w?(n.moveTo(E*u+a,b*u+l),n.arc(E*h+a,b*h+l,d,-Math.PI+p,p,!S)):n.moveTo(E*f+a,b*f+l),n.arc(a,l,f,p,m,!S),n.arc(D*h+a,A*h+l,d,m-Math.PI*2,m-Math.PI,!S),u!==0&&n.arc(a,l,u,m,p,S)},e}(Gt);const HI=QY;function ZY(t,e){e=e||{};var n=e.isRoundCap;return function(r,a,l){var u=a.position;if(!u||u instanceof Array)return W0(r,a,l);var f=t(u),d=a.distance!=null?a.distance:5,h=this.shape,p=h.cx,m=h.cy,S=h.r,_=h.r0,w=(S+_)/2,E=h.startAngle,b=h.endAngle,D=(E+b)/2,A=n?Math.abs(S-_)/2:0,O=Math.cos,P=Math.sin,I=p+S*O(E),F=m+S*P(E),U="left",H="top";switch(f){case"startArc":I=p+(_-d)*O(D),F=m+(_-d)*P(D),U="center",H="top";break;case"insideStartArc":I=p+(_+d)*O(D),F=m+(_+d)*P(D),U="center",H="bottom";break;case"startAngle":I=p+w*O(E)+u1(E,d+A,!1),F=m+w*P(E)+s1(E,d+A,!1),U="right",H="middle";break;case"insideStartAngle":I=p+w*O(E)+u1(E,-d+A,!1),F=m+w*P(E)+s1(E,-d+A,!1),U="left",H="middle";break;case"middle":I=p+w*O(D),F=m+w*P(D),U="center",H="middle";break;case"endArc":I=p+(S+d)*O(D),F=m+(S+d)*P(D),U="center",H="bottom";break;case"insideEndArc":I=p+(S-d)*O(D),F=m+(S-d)*P(D),U="center",H="top";break;case"endAngle":I=p+w*O(b)+u1(b,d+A,!0),F=m+w*P(b)+s1(b,d+A,!0),U="left",H="middle";break;case"insideEndAngle":I=p+w*O(b)+u1(b,-d+A,!0),F=m+w*P(b)+s1(b,-d+A,!0),U="right",H="middle";break;default:return W0(r,a,l)}return r=r||{},r.x=I,r.y=F,r.align=U,r.verticalAlign=H,r}}function KY(t,e,n,r){if(Nn(r)){t.setTextConfig({rotation:r});return}else if(Be(e)){t.setTextConfig({rotation:0});return}var a=t.shape,l=a.clockwise?a.startAngle:a.endAngle,u=a.clockwise?a.endAngle:a.startAngle,f=(l+u)/2,d,h=n(e);switch(h){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":d=f;break;case"startAngle":case"insideStartAngle":d=l;break;case"endAngle":case"insideEndAngle":d=u;break;default:t.setTextConfig({rotation:0});return}var p=Math.PI*1.5-d;h==="middle"&&p>Math.PI/2&&p<Math.PI*1.5&&(p-=Math.PI),t.setTextConfig({rotation:p})}function u1(t,e,n){return e*Math.sin(t)*(n?-1:1)}function s1(t,e,n){return e*Math.cos(t)*(n?1:-1)}var Wb=Math.max,Xb=Math.min;function JY(t,e){var n=t.getArea&&t.getArea();if(BI(t,"cartesian2d")){var r=t.getBaseAxis();if(r.type!=="category"||!r.onBand){var a=e.getLayout("bandWidth");r.isHorizontal()?(n.x-=a,n.width+=a*2):(n.y-=a,n.height+=a*2)}}return n}var eW=function(t){Pt(e,t);function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return e.prototype.render=function(n,r,a,l){this._model=n,this._removeOnRenderedListener(a),this._updateDrawMode(n);var u=n.get("coordinateSystem");u==="cartesian2d"||u==="polar"?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(n,r,a):this._renderNormal(n,r,a,l)):process.env.NODE_ENV!=="production"&&Fr("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(n){this._clear(),this._updateDrawMode(n),this._updateLargeClip(n)},e.prototype.incrementalRender=function(n,r){this._progressiveEls=[],this._incrementalRenderLarge(n,r)},e.prototype.eachRendered=function(n){DT(this._progressiveEls||this.group,n)},e.prototype._updateDrawMode=function(n){var r=n.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},e.prototype._renderNormal=function(n,r,a,l){var u=this.group,f=n.getData(),d=this._data,h=n.coordinateSystem,p=h.getBaseAxis(),m;h.type==="cartesian2d"?m=p.isHorizontal():h.type==="polar"&&(m=p.dim==="angle");var S=n.isAnimationEnabled()?n:null,_=tW(n,h);_&&this._enableRealtimeSort(_,f,a);var w=n.get("clip",!0)||_,E=JY(h,f);u.removeClipPath();var b=n.get("roundCap",!0),D=n.get("showBackground",!0),A=n.getModel("backgroundStyle"),O=A.get("borderRadius")||0,P=[],I=this._backgroundEls,F=l&&l.isInitSort,U=l&&l.type==="changeAxisOrder";function H(G){var ee=f1[h.type](f,G),J=uW(h,m,ee);return J.useStyle(A.getItemStyle()),h.type==="cartesian2d"&&J.setShape("r",O),P[G]=J,J}f.diff(d).add(function(G){var ee=f.getItemModel(G),J=f1[h.type](f,G,ee);if(D&&H(G),!(!f.hasValue(G)||!WI[h.type](J))){var ie=!1;w&&(ie=GI[h.type](E,J));var ce=$I[h.type](n,f,G,J,m,S,p.model,!1,b);_&&(ce.forceLabelAnimation=!0),qI(ce,f,G,ee,J,n,m,h.type==="polar"),F?ce.attr({shape:J}):_?jI(_,S,ce,J,G,m,!1,!1):Io(ce,{shape:J},n,G),f.setItemGraphicEl(G,ce),u.add(ce),ce.ignore=ie}}).update(function(G,ee){var J=f.getItemModel(G),ie=f1[h.type](f,G,J);if(D){var ce=void 0;I.length===0?ce=H(ee):(ce=I[ee],ce.useStyle(A.getItemStyle()),h.type==="cartesian2d"&&ce.setShape("r",O),P[G]=ce);var fe=f1[h.type](f,G),Pe=JI(m,fe,h);Po(ce,{shape:Pe},S,G)}var ae=d.getItemGraphicEl(ee);if(!f.hasValue(G)||!WI[h.type](ie)){u.remove(ae);return}var ge=!1;if(w&&(ge=GI[h.type](E,ie),ge&&u.remove(ae)),ae?oG(ae):ae=$I[h.type](n,f,G,ie,m,S,p.model,!!ae,b),_&&(ae.forceLabelAnimation=!0),U){var pe=ae.getTextContent();if(pe){var Le=hg(pe);Le.prevValue!=null&&(Le.prevValue=Le.value)}}else qI(ae,f,G,J,ie,n,m,h.type==="polar");F?ae.attr({shape:ie}):_?jI(_,S,ae,ie,G,m,!0,U):Po(ae,{shape:ie},n,G,null),f.setItemGraphicEl(G,ae),ae.ignore=ge,u.add(ae)}).remove(function(G){var ee=d.getItemGraphicEl(G);ee&&wT(ee,n,G)}).execute();var j=this._backgroundGroup||(this._backgroundGroup=new Cl);j.removeAll();for(var X=0;X<P.length;++X)j.add(P[X]);u.add(j),this._backgroundEls=P,this._data=f},e.prototype._renderLarge=function(n,r,a){this._clear(),ZI(n,this.group),this._updateLargeClip(n)},e.prototype._incrementalRenderLarge=function(n,r){this._removeBackground(),ZI(r,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(n){var r=n.get("clip",!0)&&GY(n.coordinateSystem,!1,n),a=this.group;r?a.setClipPath(r):a.removeClipPath()},e.prototype._enableRealtimeSort=function(n,r,a){var l=this;if(r.count()){var u=n.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,n,a),this._isFirstFrame=!1;else{var f=function(d){var h=r.getItemGraphicEl(d),p=h&&h.shape;return p&&Math.abs(u.isHorizontal()?p.height:p.width)||0};this._onRendered=function(){l._updateSortWithinSameData(r,f,u,a)},a.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(n,r,a){var l=[];return n.each(n.mapDimension(r.dim),function(u,f){var d=a(f);d=d??NaN,l.push({dataIndex:f,mappedValue:d,ordinalNumber:u})}),l.sort(function(u,f){return f.mappedValue-u.mappedValue}),{ordinalNumbers:ot(l,function(u){return u.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(n,r,a){for(var l=a.scale,u=n.mapDimension(a.dim),f=Number.MAX_VALUE,d=0,h=l.getOrdinalMeta().categories.length;d<h;++d){var p=n.rawIndexOf(u,l.getRawOrdinalNumber(d)),m=p<0?Number.MIN_VALUE:r(n.indexOfRawIndex(p));if(m>f)return!0;f=m}return!1},e.prototype._isOrderDifferentInView=function(n,r){for(var a=r.scale,l=a.getExtent(),u=Math.max(0,l[0]),f=Math.min(l[1],a.getOrdinalMeta().categories.length-1);u<=f;++u)if(n.ordinalNumbers[u]!==a.getRawOrdinalNumber(u))return!0},e.prototype._updateSortWithinSameData=function(n,r,a,l){if(this._isOrderChangedWithinSameData(n,r,a)){var u=this._dataSort(n,a,r);this._isOrderDifferentInView(u,a)&&(this._removeOnRenderedListener(l),l.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",axisId:a.index,sortInfo:u}))}},e.prototype._dispatchInitSort=function(n,r,a){var l=r.baseAxis,u=this._dataSort(n,l,function(f){return n.get(n.mapDimension(r.otherAxis.dim),f)});a.dispatchAction({type:"changeAxisOrder",componentType:l.dim+"Axis",isInitSort:!0,axisId:l.index,sortInfo:u})},e.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},e.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},e.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(n){var r=this.group,a=this._data;n&&n.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(l){wT(l,n,yn(l).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Dv),GI={cartesian2d:function(t,e){var n=e.width<0?-1:1,r=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var a=t.x+t.width,l=t.y+t.height,u=Wb(e.x,t.x),f=Xb(e.x+e.width,a),d=Wb(e.y,t.y),h=Xb(e.y+e.height,l),p=f<u,m=h<d;return e.x=p&&u>a?f:u,e.y=m&&d>l?h:d,e.width=p?0:f-u,e.height=m?0:h-d,n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),p||m},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}var a=Xb(e.r,t.r),l=Wb(e.r0,t.r0);e.r=a,e.r0=l;var u=a-l<0;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}return u}},$I={cartesian2d:function(t,e,n,r,a,l,u,f,d){var h=new Kr({shape:Re({},r),z2:1});if(h.__dataIndex=n,h.name="item",l){var p=h.shape,m=a?"height":"width";p[m]=0}return h},polar:function(t,e,n,r,a,l,u,f,d){var h=!a&&d?HI:vc,p=new h({shape:r,z2:1});p.name="item";var m=XI(a);if(p.calculateTextPosition=ZY(m,{isRoundCap:h===HI}),l){var S=p.shape,_=a?"r":"endAngle",w={};S[_]=a?0:r.startAngle,w[_]=r[_],(f?Po:Io)(p,{shape:w},l)}return p}};function tW(t,e){var n=t.get("realtimeSort",!0),r=e.getBaseAxis();if(process.env.NODE_ENV!=="production"&&n&&(r.type!=="category"&&Fr("`realtimeSort` will not work because this bar series is not based on a category axis."),e.type!=="cartesian2d"&&Fr("`realtimeSort` will not work because this bar series is not on cartesian2d.")),n&&r.type==="category"&&e.type==="cartesian2d")return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function jI(t,e,n,r,a,l,u,f){var d,h;l?(h={x:r.x,width:r.width},d={y:r.y,height:r.height}):(h={y:r.y,height:r.height},d={x:r.x,width:r.width}),f||(u?Po:Io)(n,{shape:d},e,a,null);var p=e?t.baseAxis.model:null;(u?Po:Io)(n,{shape:h},p,a)}function YI(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var nW=["x","y","width","height"],rW=["cx","cy","r","startAngle","endAngle"],WI={cartesian2d:function(t){return!YI(t,nW)},polar:function(t){return!YI(t,rW)}},f1={cartesian2d:function(t,e,n){var r=t.getItemLayout(e),a=n?aW(n,r):0,l=r.width>0?1:-1,u=r.height>0?1:-1;return{x:r.x+l*a/2,y:r.y+u*a/2,width:r.width-l*a,height:r.height-u*a}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function iW(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function XI(t){return function(e){var n=e?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(t)}function qI(t,e,n,r,a,l,u,f){var d=e.getItemVisual(n,"style");f||t.setShape("r",r.get(["itemStyle","borderRadius"])||0),t.useStyle(d);var h=r.getShallow("cursor");h&&t.attr("cursor",h);var p=f?u?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":u?a.height>=0?"bottom":"top":a.width>=0?"right":"left",m=TG(r);xG(t,m,{labelFetcher:l,labelDataIndex:n,defaultText:BY(l.getData(),n),inheritColor:d.fill,defaultOpacity:d.opacity,defaultOutsidePosition:p});var S=t.getTextContent();if(f&&S){var _=r.get(["label","position"]);t.textConfig.inside=_==="middle"?!0:null,KY(t,_==="outside"?p:_,XI(u),r.get(["label","rotate"]))}MG(S,m,l.getRawValue(n),function(E){return UY(e,E)});var w=r.getModel(["emphasis"]);S8(t,w.get("focus"),w.get("blurScope"),w.get("disabled")),x8(t,r),iW(a)&&(t.style.fill="none",t.style.stroke="none",W(t.states,function(E){E.style&&(E.style.fill=E.style.stroke="none")}))}function aW(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=t.get(["itemStyle","borderWidth"])||0,a=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),l=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,a,l)}var oW=function(){function t(){}return t}(),QI=function(t){Pt(e,t);function e(n){var r=t.call(this,n)||this;return r.type="largeBar",r}return e.prototype.getDefaultShape=function(){return new oW},e.prototype.buildPath=function(n,r){for(var a=r.points,l=this.baseDimIdx,u=1-this.baseDimIdx,f=[],d=[],h=this.barWidth,p=0;p<a.length;p+=3)d[l]=h,d[u]=a[p+2],f[l]=a[p+l],f[u]=a[p+u],n.rect(f[0],f[1],d[0],d[1])},e}(Gt);function ZI(t,e,n,r){var a=t.getData(),l=a.getLayout("valueAxisHorizontal")?1:0,u=a.getLayout("largeDataIndices"),f=a.getLayout("size"),d=t.getModel("backgroundStyle"),h=a.getLayout("largeBackgroundPoints");if(h){var p=new QI({shape:{points:h},incremental:!!r,silent:!0,z2:0});p.baseDimIdx=l,p.largeDataIndices=u,p.barWidth=f,p.useStyle(d.getItemStyle()),e.add(p),n&&n.push(p)}var m=new QI({shape:{points:a.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});m.baseDimIdx=l,m.largeDataIndices=u,m.barWidth=f,e.add(m),m.useStyle(a.getVisual("style")),yn(m).seriesIndex=t.seriesIndex,t.get("silent")||(m.on("mousedown",KI),m.on("mousemove",KI)),n&&n.push(m)}var KI=sb(function(t){var e=this,n=lW(e,t.offsetX,t.offsetY);yn(e).dataIndex=n>=0?n:null},30,!1);function lW(t,e,n){for(var r=t.baseDimIdx,a=1-r,l=t.shape.points,u=t.largeDataIndices,f=[],d=[],h=t.barWidth,p=0,m=l.length/3;p<m;p++){var S=p*3;if(d[r]=h,d[a]=l[S+2],f[r]=l[S+r],f[a]=l[S+a],d[a]<0&&(f[a]+=d[a],d[a]=-d[a]),e>=f[0]&&e<=f[0]+d[0]&&n>=f[1]&&n<=f[1]+d[1])return u[p]}return-1}function JI(t,e,n){if(BI(n,"cartesian2d")){var r=e,a=n.getArea();return{x:t?r.x:a.x,y:t?a.y:r.y,width:t?r.width:a.width,height:t?a.height:r.height}}else{var a=n.getArea(),l=e;return{cx:a.cx,cy:a.cy,r0:t?a.r0:l.r0,r:t?a.r:l.r,startAngle:t?l.startAngle:0,endAngle:t?l.endAngle:Math.PI*2}}}function uW(t,e,n){var r=t.type==="polar"?vc:Kr;return new r({shape:JI(e,n,t),silent:!0,z2:0})}const sW=eW;function fW(t){t.registerChartView(sW),t.registerSeriesModel(XY),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Aa(zj,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Fj("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,YY("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,n){var r=e.componentType||"series";n.eachComponent({mainType:r,query:e},function(a){e.sortInfo&&a.axis.setCategorySortInfo(e.sortInfo)})})}var cW=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(En);const dW=cW;var qb=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Oo).models[0]},e.type="cartesian2dAxis",e}(En);ml(qb,sY);var ez={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},vW=cn({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},ez),Qb=cn({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},ez),hW=cn({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Qb),pW=Vt({logBase:10},Qb);const gW={category:vW,value:Qb,time:hW,log:pW};var mW={value:1,category:1,time:1,log:1};function tz(t,e,n,r){W(mW,function(a,l){var u=cn(cn({},gW[l],!0),r,!0),f=function(d){Pt(h,d);function h(){var p=d!==null&&d.apply(this,arguments)||this;return p.type=e+"Axis."+l,p}return h.prototype.mergeDefaultAndTheme=function(p,m){var S=Sg(this),_=S?VT(p):{},w=m.getTheme();cn(p,w.get(l+"Axis")),cn(p,this.getDefaultOption()),p.type=nz(p),S&&Cg(p,_,S)},h.prototype.optionUpdated=function(){var p=this.option;p.type==="category"&&(this.__ordinalMeta=Pb.createByAxisModel(this))},h.prototype.getCategories=function(p){var m=this.option;if(m.type==="category")return p?m.data:this.__ordinalMeta.categories},h.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},h.type=e+"Axis."+l,h.defaultOption=u,h}(n);t.registerComponentModel(f)}),t.registerSubTypeDefaulter(e+"Axis",nz)}function nz(t){return t.type||(t.data?"category":"value")}var yW=function(){function t(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return t.prototype.getAxis=function(e){return this._axes[e]},t.prototype.getAxes=function(){return ot(this._dimList,function(e){return this._axes[e]},this)},t.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),Tr(this.getAxes(),function(n){return n.scale.type===e})},t.prototype.addAxis=function(e){var n=e.dim;this._axes[n]=e,this._dimList.push(n)},t}();const _W=yW;var Zb=["x","y"];function rz(t){return t.type==="interval"||t.type==="time"}var SW=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=Zb,n}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!rz(n)||!rz(r))){var a=n.getExtent(),l=r.getExtent(),u=this.dataToPoint([a[0],l[0]]),f=this.dataToPoint([a[1],l[1]]),d=a[1]-a[0],h=l[1]-l[0];if(!(!d||!h)){var p=(f[0]-u[0])/d,m=(f[1]-u[1])/h,S=u[0]-a[0]*p,_=u[1]-l[0]*m,w=this._transform=[p,0,0,m,S,_];this._invTransform=M0([],w)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(n){var r=this.getAxis("x"),a=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&a.contain(a.toLocalCoord(n[1]))},e.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},e.prototype.containZone=function(n,r){var a=this.dataToPoint(n),l=this.dataToPoint(r),u=this.getArea(),f=new Wt(a[0],a[1],l[0]-a[0],l[1]-a[1]);return u.intersect(f)},e.prototype.dataToPoint=function(n,r,a){a=a||[];var l=n[0],u=n[1];if(this._transform&&l!=null&&isFinite(l)&&u!=null&&isFinite(u))return eo(a,n,this._transform);var f=this.getAxis("x"),d=this.getAxis("y");return a[0]=f.toGlobalCoord(f.dataToCoord(l,r)),a[1]=d.toGlobalCoord(d.dataToCoord(u,r)),a},e.prototype.clampData=function(n,r){var a=this.getAxis("x").scale,l=this.getAxis("y").scale,u=a.getExtent(),f=l.getExtent(),d=a.parse(n[0]),h=l.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(u[0],u[1]),d),Math.max(u[0],u[1])),r[1]=Math.min(Math.max(Math.min(f[0],f[1]),h),Math.max(f[0],f[1])),r},e.prototype.pointToData=function(n,r){var a=[];if(this._invTransform)return eo(a,n,this._invTransform);var l=this.getAxis("x"),u=this.getAxis("y");return a[0]=l.coordToData(l.toLocalCoord(n[0]),r),a[1]=u.coordToData(u.toLocalCoord(n[1]),r),a},e.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},e.prototype.getArea=function(){var n=this.getAxis("x").getGlobalExtent(),r=this.getAxis("y").getGlobalExtent(),a=Math.min(n[0],n[1]),l=Math.min(r[0],r[1]),u=Math.max(n[0],n[1])-a,f=Math.max(r[0],r[1])-l;return new Wt(a,l,u,f)},e}(_W),CW=function(t){Pt(e,t);function e(n,r,a,l,u){var f=t.call(this,n,r,a)||this;return f.index=0,f.type=l||"value",f.position=u||"bottom",f}return e.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},e.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},e.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},e.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},e}(CY);const wW=CW;function Kb(t,e,n){n=n||{};var r=t.coordinateSystem,a=e.axis,l={},u=a.getAxesOnZeroOf()[0],f=a.position,d=u?"onZero":f,h=a.dim,p=r.getRect(),m=[p.x,p.x+p.width,p.y,p.y+p.height],S={left:0,right:1,top:0,bottom:1,onZero:2},_=e.get("offset")||0,w=h==="x"?[m[2]-_,m[3]+_]:[m[0]-_,m[1]+_];if(u){var E=u.toGlobalCoord(u.dataToCoord(0));w[S.onZero]=Math.max(Math.min(E,w[1]),w[0])}l.position=[h==="y"?w[S[d]]:m[0],h==="x"?w[S[d]]:m[3]],l.rotation=Math.PI/2*(h==="x"?0:1);var b={top:-1,bottom:1,left:-1,right:1};l.labelDirection=l.tickDirection=l.nameDirection=b[f],l.labelOffset=u?w[S[f]]-w[S.onZero]:0,e.get(["axisTick","inside"])&&(l.tickDirection=-l.tickDirection),Wf(n.labelInside,e.get(["axisLabel","inside"]))&&(l.labelDirection=-l.labelDirection);var D=e.get(["axisLabel","rotate"]);return l.labelRotate=d==="top"?-D:D,l.z2=1,l}function iz(t){return t.get("coordinateSystem")==="cartesian2d"}function az(t){var e={xAxisModel:null,yAxisModel:null};return W(e,function(n,r){var a=r.replace(/Model$/,""),l=t.getReferringComponents(a,Oo).models[0];if(process.env.NODE_ENV!=="production"&&!l)throw new Error(a+' "'+Xd(t.get(a+"Index"),t.get(a+"Id"),0)+'" not found');e[r]=l}),e}var Jb=Math.log;function xW(t,e,n){var r=Vg.prototype,a=r.getTicks.call(n),l=r.getTicks.call(n,!0),u=a.length-1,f=r.getInterval.call(n),d=_I(t,e),h=d.extent,p=d.fixMin,m=d.fixMax;if(t.type==="log"){var S=Jb(t.base);h=[Jb(h[0])/S,Jb(h[1])/S]}t.setExtent(h[0],h[1]),t.calcNiceExtent({splitNumber:u,fixMin:p,fixMax:m});var _=r.getExtent.call(t);p&&(h[0]=_[0]),m&&(h[1]=_[1]);var w=r.getInterval.call(t),E=h[0],b=h[1];if(p&&m)w=(b-E)/u;else if(p)for(b=h[0]+w*u;b<h[1]&&isFinite(b)&&isFinite(h[1]);)w=zb(w),b=h[0]+w*u;else if(m)for(E=h[1]-w*u;E>h[0]&&isFinite(E)&&isFinite(h[0]);)w=zb(w),E=h[1]-w*u;else{var D=t.getTicks().length-1;D>u&&(w=zb(w));var A=w*u;b=Math.ceil(h[1]/w)*w,E=vr(b-A),E<0&&h[0]>=0?(E=0,b=vr(A)):b>0&&h[1]<=0&&(b=0,E=-vr(A))}var O=(a[0].value-l[0].value)/f,P=(a[u].value-l[u].value)/f;if(r.setExtent.call(t,E+w*O,b+w*P),r.setInterval.call(t,w),(O||P)&&r.setNiceExtent.call(t,E+w,b-w),process.env.NODE_ENV!=="production"){var I=r.getTicks.call(t);I[1]&&(!Rj(w)||Ix(I[1].value)>Ix(w))&&Fr("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+" and alignTicks: true")}}var TW=function(){function t(e,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Zb,this._initCartesian(e,n,r),this.model=e}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(e,n){var r=this._axesMap;this._updateScale(e,this.model);function a(u){var f,d=kn(u),h=d.length;if(h){for(var p=[],m=h-1;m>=0;m--){var S=+d[m],_=u[S],w=_.model,E=_.scale;Ib(E)&&w.get("alignTicks")&&w.get("interval")==null?p.push(_):(SI(E,w),Ib(E)&&(f=_))}p.length&&(f||(f=p.pop(),SI(f.scale,f.model)),W(p,function(b){xW(b.scale,b.model,f.scale)}))}}a(r.x),a(r.y);var l={};W(r.x,function(u){oz(r,"y",u,l)}),W(r.y,function(u){oz(r,"x",u,l)}),this.resize(this.model,n)},t.prototype.resize=function(e,n,r){var a=e.getBoxLayoutParams(),l=!r&&e.get("containLabel"),u=UT(a,{width:n.getWidth(),height:n.getHeight()});this._rect=u;var f=this._axesList;d(),l&&(W(f,function(h){if(!h.model.get(["axisLabel","inside"])){var p=oY(h);if(p){var m=h.isHorizontal()?"height":"width",S=h.model.get(["axisLabel","margin"]);u[m]-=p[m]+S,h.position==="top"?u.y+=p.height+S:h.position==="left"&&(u.x+=p.width+S)}}}),d()),W(this._coordsList,function(h){h.calcAffineTransform()});function d(){W(f,function(h){var p=h.isHorizontal(),m=p?[0,u.width]:[0,u.height],S=h.inverse?1:0;h.setExtent(m[S],m[1-S]),bW(h,p?u.x:u.y)})}},t.prototype.getAxis=function(e,n){var r=this._axesMap[e];if(r!=null)return r[n||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(e,n){if(e!=null&&n!=null){var r="x"+e+"y"+n;return this._coordsMap[r]}it(e)&&(n=e.yAxisIndex,e=e.xAxisIndex);for(var a=0,l=this._coordsList;a<l.length;a++)if(l[a].getAxis("x").index===e||l[a].getAxis("y").index===n)return l[a]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(e,n,r){var a=this._findConvertTarget(n);return a.cartesian?a.cartesian.dataToPoint(r):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(r)):null},t.prototype.convertFromPixel=function(e,n,r){var a=this._findConvertTarget(n);return a.cartesian?a.cartesian.pointToData(r):a.axis?a.axis.coordToData(a.axis.toLocalCoord(r)):null},t.prototype._findConvertTarget=function(e){var n=e.seriesModel,r=e.xAxisModel||n&&n.getReferringComponents("xAxis",Oo).models[0],a=e.yAxisModel||n&&n.getReferringComponents("yAxis",Oo).models[0],l=e.gridModel,u=this._coordsList,f,d;if(n)f=n.coordinateSystem,dn(u,f)<0&&(f=null);else if(r&&a)f=this.getCartesian(r.componentIndex,a.componentIndex);else if(r)d=this.getAxis("x",r.componentIndex);else if(a)d=this.getAxis("y",a.componentIndex);else if(l){var h=l.coordinateSystem;h===this&&(f=this._coordsList[0])}return{cartesian:f,axis:d}},t.prototype.containPoint=function(e){var n=this._coordsList[0];if(n)return n.containPoint(e)},t.prototype._initCartesian=function(e,n,r){var a=this,l=this,u={left:!1,right:!1,top:!1,bottom:!1},f={x:{},y:{}},d={x:0,y:0};if(n.eachComponent("xAxis",h("x"),this),n.eachComponent("yAxis",h("y"),this),!d.x||!d.y){this._axesMap={},this._axesList=[];return}this._axesMap=f,W(f.x,function(p,m){W(f.y,function(S,_){var w="x"+m+"y"+_,E=new SW(w);E.master=a,E.model=e,a._coordsMap[w]=E,a._coordsList.push(E),E.addAxis(p),E.addAxis(S)})});function h(p){return function(m,S){if(eE(m,e)){var _=m.get("position");p==="x"?_!=="top"&&_!=="bottom"&&(_=u.bottom?"top":"bottom"):_!=="left"&&_!=="right"&&(_=u.left?"right":"left"),u[_]=!0;var w=new wW(p,iY(m),[0,0],m.get("type"),_),E=w.type==="category";w.onBand=E&&m.get("boundaryGap"),w.inverse=m.get("inverse"),m.axis=w,w.model=m,w.grid=l,w.index=S,l._axesList.push(w),f[p][S]=w,d[p]++}}}},t.prototype._updateScale=function(e,n){W(this._axesList,function(a){if(a.scale.setExtent(1/0,-1/0),a.type==="category"){var l=a.model.get("categorySortInfo");a.scale.setSortInfo(l)}}),e.eachSeries(function(a){if(iz(a)){var l=az(a),u=l.xAxisModel,f=l.yAxisModel;if(!eE(u,n)||!eE(f,n))return;var d=this.getCartesian(u.componentIndex,f.componentIndex),h=a.getData(),p=d.getAxis("x"),m=d.getAxis("y");r(h,p),r(h,m)}},this);function r(a,l){W(uY(a,l.dim),function(u){l.scale.unionExtentFromData(a,u)})}},t.prototype.getTooltipAxes=function(e){var n=[],r=[];return W(this.getCartesians(),function(a){var l=e!=null&&e!=="auto"?a.getAxis(e):a.getBaseAxis(),u=a.getOtherAxis(l);dn(n,l)<0&&n.push(l),dn(r,u)<0&&r.push(u)}),{baseAxes:n,otherAxes:r}},t.create=function(e,n){var r=[];return e.eachComponent("grid",function(a,l){var u=new t(a,e,n);u.name="grid_"+l,u.resize(a,n,!0),a.coordinateSystem=u,r.push(u)}),e.eachSeries(function(a){if(iz(a)){var l=az(a),u=l.xAxisModel,f=l.yAxisModel,d=u.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!d)throw new Error('Grid "'+Xd(u.get("gridIndex"),u.get("gridId"),0)+'" not found');if(u.getCoordSysModel()!==f.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var h=d.coordinateSystem;a.coordinateSystem=h.getCartesian(u.componentIndex,f.componentIndex)}}),r},t.dimensions=Zb,t}();function eE(t,e){return t.getCoordSysModel()===e}function oz(t,e,n,r){n.getAxesOnZeroOf=function(){return l?[l]:[]};var a=t[e],l,u=n.model,f=u.get(["axisLine","onZero"]),d=u.get(["axisLine","onZeroAxisIndex"]);if(!f)return;if(d!=null)lz(a[d])&&(l=a[d]);else for(var h in a)if(a.hasOwnProperty(h)&&lz(a[h])&&!r[p(a[h])]){l=a[h];break}l&&(r[p(l)]=!0);function p(m){return m.dim+"_"+m.index}}function lz(t){return t&&t.type!=="category"&&t.type!=="time"&&aY(t)}function bW(t,e){var n=t.getExtent(),r=n[0]+n[1];t.toGlobalCoord=t.dim==="x"?function(a){return a+e}:function(a){return r-a+e},t.toLocalCoord=t.dim==="x"?function(a){return a-e}:function(a){return r-a+e}}const EW=TW;var Is=Math.PI,Ac=function(){function t(e,n){this.group=new Cl,this.opt=n,this.axisModel=e,Vt(n,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new Cl({x:n.position[0],y:n.position[1],rotation:n.rotation});r.updateTransform(),this._transformGroup=r}return t.prototype.hasBuilder=function(e){return!!uz[e]},t.prototype.add=function(e){uz[e](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(e,n,r){var a=dO(n-e),l,u;return X0(a)?(u=r>0?"top":"bottom",l="center"):X0(a-Is)?(u=r>0?"bottom":"top",l="center"):(u="middle",a>0&&a<Is?l=r>0?"right":"left":l=r>0?"left":"right"),{rotation:a,textAlign:l,textVerticalAlign:u}},t.makeAxisEventDataBase=function(e){var n={componentType:e.mainType,componentIndex:e.componentIndex};return n[e.mainType+"Index"]=e.componentIndex,n},t.isLabelSilent=function(e){var n=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||n&&n.show)},t}(),uz={axisLine:function(t,e,n,r){var a=e.get(["axisLine","show"]);if(a==="auto"&&t.handleAutoShown&&(a=t.handleAutoShown("axisLine")),!!a){var l=e.axis.getExtent(),u=r.transform,f=[l[0],0],d=[l[1],0],h=f[0]>d[0];u&&(eo(f,f,u),eo(d,d,u));var p=Re({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),m=new hc({shape:{x1:f[0],y1:f[1],x2:d[0],y2:d[1]},style:p,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});vg(m.shape,m.style.lineWidth),m.anid="line",n.add(m);var S=e.get(["axisLine","symbol"]);if(S!=null){var _=e.get(["axisLine","symbolSize"]);et(S)&&(S=[S,S]),(et(_)||Nn(_))&&(_=[_,_]);var w=u7(e.get(["axisLine","symbolOffset"])||0,_),E=_[0],b=_[1];W([{rotate:t.rotation+Math.PI/2,offset:w[0],r:0},{rotate:t.rotation-Math.PI/2,offset:w[1],r:Math.sqrt((f[0]-d[0])*(f[0]-d[0])+(f[1]-d[1])*(f[1]-d[1]))}],function(D,A){if(S[A]!=="none"&&S[A]!=null){var O=rP(S[A],-E/2,-b/2,E,b,p.stroke,!0),P=D.r+D.offset,I=h?d:f;O.attr({rotation:D.rotate,x:I[0]+P*Math.cos(t.rotation),y:I[1]-P*Math.sin(t.rotation),silent:!0,z2:11}),n.add(O)}})}}},axisTickLabel:function(t,e,n,r){var a=RW(n,r,e,t),l=LW(n,r,e,t);if(MW(e,l,a),AW(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var u=PI(ot(l,function(f){return{label:f,priority:f.z2,defaultAttr:{ignore:f.ignore}}}));zI(u)}},axisName:function(t,e,n,r){var a=Wf(t.axisName,e.get("name"));if(a){var l=e.get("nameLocation"),u=t.nameDirection,f=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,h=e.axis.getExtent(),p=h[0]>h[1]?-1:1,m=[l==="start"?h[0]-p*d:l==="end"?h[1]+p*d:(h[0]+h[1])/2,fz(l)?t.labelOffset+u*d:0],S,_=e.get("nameRotate");_!=null&&(_=_*Is/180);var w;fz(l)?S=Ac.innerTextLayout(t.rotation,_??t.rotation,u):(S=DW(t.rotation,l,_||0,h),w=t.axisNameAvailableWidth,w!=null&&(w=Math.abs(w/Math.sin(S.rotation)),!isFinite(w)&&(w=null)));var E=f.getFont(),b=e.get("nameTruncate",!0)||{},D=b.ellipsis,A=Wf(t.nameTruncateMaxWidth,b.maxWidth,w),O=new ko({x:m[0],y:m[1],rotation:S.rotation,silent:Ac.isLabelSilent(e),style:mc(f,{text:a,font:E,overflow:"truncate",width:A,ellipsis:D,fill:f.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:f.get("align")||S.textAlign,verticalAlign:f.get("verticalAlign")||S.textVerticalAlign}),z2:1});if(lk({el:O,componentModel:e,itemName:a}),O.__fullText=a,O.anid="name",e.get("triggerEvent")){var P=Ac.makeAxisEventDataBase(e);P.targetType="axisName",P.name=a,yn(O).eventData=P}r.add(O),O.updateTransform(),n.add(O),O.decomposeTransform()}}};function DW(t,e,n,r){var a=dO(n-t),l,u,f=r[0]>r[1],d=e==="start"&&!f||e!=="start"&&f;return X0(a-Is/2)?(u=d?"bottom":"top",l="center"):X0(a-Is*1.5)?(u=d?"top":"bottom",l="center"):(u="middle",a<Is*1.5&&a>Is/2?l=d?"left":"right":l=d?"right":"left"),{rotation:a,textAlign:l,textVerticalAlign:u}}function MW(t,e,n){if(!CI(t.axis)){var r=t.get(["axisLabel","showMinLabel"]),a=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var l=e[0],u=e[1],f=e[e.length-1],d=e[e.length-2],h=n[0],p=n[1],m=n[n.length-1],S=n[n.length-2];r===!1?(co(l),co(h)):sz(l,u)&&(r?(co(u),co(p)):(co(l),co(h))),a===!1?(co(f),co(m)):sz(d,f)&&(a?(co(d),co(S)):(co(f),co(m)))}}function co(t){t&&(t.ignore=!0)}function sz(t,e){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(!(!n||!r)){var a=tx([]);return rx(a,a,-t.rotation),n.applyTransform(ev([],a,t.getLocalTransform())),r.applyTransform(ev([],a,e.getLocalTransform())),n.intersect(r)}}function fz(t){return t==="middle"||t==="center"}function cz(t,e,n,r,a){for(var l=[],u=[],f=[],d=0;d<t.length;d++){var h=t[d].coord;u[0]=h,u[1]=0,f[0]=h,f[1]=n,e&&(eo(u,u,e),eo(f,f,e));var p=new hc({shape:{x1:u[0],y1:u[1],x2:f[0],y2:f[1]},style:r,z2:2,autoBatch:!0,silent:!0});vg(p.shape,p.style.lineWidth),p.anid=a+"_"+t[d].tickValue,l.push(p)}return l}function RW(t,e,n,r){var a=n.axis,l=n.getModel("axisTick"),u=l.get("show");if(u==="auto"&&r.handleAutoShown&&(u=r.handleAutoShown("axisTick")),!(!u||a.scale.isBlank())){for(var f=l.getModel("lineStyle"),d=r.tickDirection*l.get("length"),h=a.getTicksCoords(),p=cz(h,e.transform,d,Vt(f.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),m=0;m<p.length;m++)t.add(p[m]);return p}}function AW(t,e,n,r){var a=n.axis,l=n.getModel("minorTick");if(!(!l.get("show")||a.scale.isBlank())){var u=a.getMinorTicksCoords();if(u.length)for(var f=l.getModel("lineStyle"),d=r*l.get("length"),h=Vt(f.getLineStyle(),Vt(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),p=0;p<u.length;p++)for(var m=cz(u[p],e.transform,d,h,"minorticks_"+p),S=0;S<m.length;S++)t.add(m[S])}}function LW(t,e,n,r){var a=n.axis,l=Wf(r.axisLabelShow,n.get(["axisLabel","show"]));if(!(!l||a.scale.isBlank())){var u=n.getModel("axisLabel"),f=u.get("margin"),d=a.getViewLabels(),h=(Wf(r.labelRotate,u.get("rotate"))||0)*Is/180,p=Ac.innerTextLayout(r.rotation,h,r.labelDirection),m=n.getCategories&&n.getCategories(!0),S=[],_=Ac.isLabelSilent(n),w=n.get("triggerEvent");return W(d,function(E,b){var D=a.scale.type==="ordinal"?a.scale.getRawOrdinalNumber(E.tickValue):E.tickValue,A=E.formattedLabel,O=E.rawLabel,P=u;if(m&&m[D]){var I=m[D];it(I)&&I.textStyle&&(P=new Oi(I.textStyle,u,n.ecModel))}var F=P.getTextColor()||n.get(["axisLine","lineStyle","color"]),U=a.dataToCoord(D),H=new ko({x:U,y:r.labelOffset+r.labelDirection*f,rotation:p.rotation,silent:_,z2:10+(E.level||0),style:mc(P,{text:A,align:P.getShallow("align",!0)||p.textAlign,verticalAlign:P.getShallow("verticalAlign",!0)||P.getShallow("baseline",!0)||p.textVerticalAlign,fill:_t(F)?F(a.type==="category"?O:a.type==="value"?D+"":D,b):F})});if(H.anid="label_"+D,w){var j=Ac.makeAxisEventDataBase(n);j.targetType="axisLabel",j.value=O,j.tickIndex=b,a.type==="category"&&(j.dataIndex=D),yn(H).eventData=j}e.add(H),H.updateTransform(),S.push(H),t.add(H),H.decomposeTransform()}),S}}const dz=Ac;function OW(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return kW(n,t,e),n.seriesInvolved&&PW(n,t),n}function kW(t,e,n){var r=e.getComponent("tooltip"),a=e.getComponent("axisPointer"),l=a.get("link",!0)||[],u=[];W(n.getCoordinateSystems(),function(f){if(!f.axisPointerEnabled)return;var d=Xg(f.model),h=t.coordSysAxesInfo[d]={};t.coordSysMap[d]=f;var p=f.model,m=p.getModel("tooltip",r);if(W(f.getAxes(),Aa(E,!1,null)),f.getTooltipAxes&&r&&m.get("show")){var S=m.get("trigger")==="axis",_=m.get(["axisPointer","type"])==="cross",w=f.getTooltipAxes(m.get(["axisPointer","axis"]));(S||_)&&W(w.baseAxes,Aa(E,_?"cross":!0,S)),_&&W(w.otherAxes,Aa(E,"cross",!1))}function E(b,D,A){var O=A.model.getModel("axisPointer",a),P=O.get("show");if(!(!P||P==="auto"&&!b&&!rE(O))){D==null&&(D=O.get("triggerTooltip")),O=b?NW(A,m,a,e,b,D):O;var I=O.get("snap"),F=Xg(A.model),U=D||I||A.type==="category",H=t.axesInfo[F]={key:F,axis:A,coordSys:f,axisPointerModel:O,triggerTooltip:D,involveSeries:U,snap:I,useHandle:rE(O),seriesModels:[],linkGroup:null};h[F]=H,t.seriesInvolved=t.seriesInvolved||U;var j=IW(l,A);if(j!=null){var X=u[j]||(u[j]={axesInfo:{}});X.axesInfo[F]=H,X.mapper=l[j].mapper,H.linkGroup=X}}}})}function NW(t,e,n,r,a,l){var u=e.getModel("axisPointer"),f=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],d={};W(f,function(S){d[S]=Qt(u.get(S))}),d.snap=t.type!=="category"&&!!l,u.get("type")==="cross"&&(d.type="line");var h=d.label||(d.label={});if(h.show==null&&(h.show=!1),a==="cross"){var p=u.get(["label","show"]);if(h.show=p??!0,!l){var m=d.lineStyle=u.get("crossStyle");m&&Vt(h,m.textStyle)}}return t.model.getModel("axisPointer",new Oi(d,n,r))}function PW(t,e){e.eachSeries(function(n){var r=n.coordinateSystem,a=n.get(["tooltip","trigger"],!0),l=n.get(["tooltip","show"],!0);!r||a==="none"||a===!1||a==="item"||l===!1||n.get(["axisPointer","show"],!0)===!1||W(t.coordSysAxesInfo[Xg(r.model)],function(u){var f=u.axis;r.getAxis(f.dim)===f&&(u.seriesModels.push(n),u.seriesDataCount==null&&(u.seriesDataCount=0),u.seriesDataCount+=n.getData().count())})})}function IW(t,e){for(var n=e.model,r=e.dim,a=0;a<t.length;a++){var l=t[a]||{};if(tE(l[r+"AxisId"],n.id)||tE(l[r+"AxisIndex"],n.componentIndex)||tE(l[r+"AxisName"],n.name))return a}}function tE(t,e){return t==="all"||Be(t)&&dn(t,e)>=0||t===e}function zW(t){var e=nE(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,a=n.option,l=n.get("status"),u=n.get("value");u!=null&&(u=r.parse(u));var f=rE(n);l==null&&(a.status=f?"show":"hide");var d=r.getExtent().slice();d[0]>d[1]&&d.reverse(),(u==null||u>d[1])&&(u=d[1]),u<d[0]&&(u=d[0]),a.value=u,f&&(a.status=e.axis.scale.isBlank()?"hide":"show")}}function nE(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Xg(t)]}function FW(t){var e=nE(t);return e&&e.axisPointerModel}function rE(t){return!!t.get(["handle","show"])}function Xg(t){return t.type+"||"+t.id}var iE={},BW=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.render=function(n,r,a,l){this.axisPointerClass&&zW(n),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(n,a,!0)},e.prototype.updateAxisPointer=function(n,r,a,l){this._doUpdateAxisPointerClass(n,a,!1)},e.prototype.remove=function(n,r){var a=this._axisPointer;a&&a.remove(r)},e.prototype.dispose=function(n,r){this._disposeAxisPointer(r),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(n,r,a){var l=e.getAxisPointerClass(this.axisPointerClass);if(l){var u=FW(n);u?(this._axisPointer||(this._axisPointer=new l)).render(n,u,r,a):this._disposeAxisPointer(r)}},e.prototype._disposeAxisPointer=function(n){this._axisPointer&&this._axisPointer.dispose(n),this._axisPointer=null},e.registerAxisPointerClass=function(n,r){if(process.env.NODE_ENV!=="production"&&iE[n])throw new Error("axisPointer "+n+" exists");iE[n]=r},e.getAxisPointerClass=function(n){return n&&iE[n]},e.type="axis",e}(Du);const vz=BW;var aE=jn();function UW(t,e,n,r){var a=n.axis;if(!a.scale.isBlank()){var l=n.getModel("splitArea"),u=l.getModel("areaStyle"),f=u.get("color"),d=r.coordinateSystem.getRect(),h=a.getTicksCoords({tickModel:l,clamp:!0});if(h.length){var p=f.length,m=aE(t).splitAreaColors,S=xt(),_=0;if(m)for(var w=0;w<h.length;w++){var E=m.get(h[w].tickValue);if(E!=null){_=(E+(p-1)*w)%p;break}}var b=a.toGlobalCoord(h[0].coord),D=u.getAreaStyle();f=Be(f)?f:[f];for(var w=1;w<h.length;w++){var A=a.toGlobalCoord(h[w].coord),O=void 0,P=void 0,I=void 0,F=void 0;a.isHorizontal()?(O=b,P=d.y,I=A-O,F=d.height,b=O+I):(O=d.x,P=b,I=d.width,F=A-P,b=P+F);var U=h[w-1].tickValue;U!=null&&S.set(U,_),e.add(new Kr({anid:U!=null?"area_"+U:null,shape:{x:O,y:P,width:I,height:F},style:Vt({fill:f[_]},D),autoBatch:!0,silent:!0})),_=(_+1)%p}aE(t).splitAreaColors=S}}}function VW(t){aE(t).splitAreaColors=null}var HW=["axisLine","axisTickLabel","axisName"],GW=["splitArea","splitLine","minorSplitLine"],hz=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return e.prototype.render=function(n,r,a,l){this.group.removeAll();var u=this._axisGroup;if(this._axisGroup=new Cl,this.group.add(this._axisGroup),!!n.get("show")){var f=n.getCoordSysModel(),d=Kb(f,n),h=new dz(n,Re({handleAutoShown:function(m){for(var S=f.coordinateSystem.getCartesians(),_=0;_<S.length;_++)if(Ib(S[_].getOtherAxis(n.axis).scale))return!0;return!1}},d));W(HW,h.add,h),this._axisGroup.add(h.getGroup()),W(GW,function(m){n.get([m,"show"])&&$W[m](this,this._axisGroup,n,f)},this);var p=l&&l.type==="changeAxisOrder"&&l.isInitSort;p||ik(u,this._axisGroup,n),t.prototype.render.call(this,n,r,a,l)}},e.prototype.remove=function(){VW(this)},e.type="cartesianAxis",e}(vz),$W={splitLine:function(t,e,n,r){var a=n.axis;if(!a.scale.isBlank()){var l=n.getModel("splitLine"),u=l.getModel("lineStyle"),f=u.get("color");f=Be(f)?f:[f];for(var d=r.coordinateSystem.getRect(),h=a.isHorizontal(),p=0,m=a.getTicksCoords({tickModel:l}),S=[],_=[],w=u.getLineStyle(),E=0;E<m.length;E++){var b=a.toGlobalCoord(m[E].coord);h?(S[0]=b,S[1]=d.y,_[0]=b,_[1]=d.y+d.height):(S[0]=d.x,S[1]=b,_[0]=d.x+d.width,_[1]=b);var D=p++%f.length,A=m[E].tickValue,O=new hc({anid:A!=null?"line_"+m[E].tickValue:null,autoBatch:!0,shape:{x1:S[0],y1:S[1],x2:_[0],y2:_[1]},style:Vt({stroke:f[D]},w),silent:!0});vg(O.shape,w.lineWidth),e.add(O)}}},minorSplitLine:function(t,e,n,r){var a=n.axis,l=n.getModel("minorSplitLine"),u=l.getModel("lineStyle"),f=r.coordinateSystem.getRect(),d=a.isHorizontal(),h=a.getMinorTicksCoords();if(h.length)for(var p=[],m=[],S=u.getLineStyle(),_=0;_<h.length;_++)for(var w=0;w<h[_].length;w++){var E=a.toGlobalCoord(h[_][w].coord);d?(p[0]=E,p[1]=f.y,m[0]=E,m[1]=f.y+f.height):(p[0]=f.x,p[1]=E,m[0]=f.x+f.width,m[1]=E);var b=new hc({anid:"minor_line_"+h[_][w].tickValue,autoBatch:!0,shape:{x1:p[0],y1:p[1],x2:m[0],y2:m[1]},style:S,silent:!0});vg(b.shape,S.lineWidth),e.add(b)}},splitArea:function(t,e,n,r){UW(t,e,n,r)}},pz=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.type="xAxis",e}(hz),jW=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=pz.type,n}return e.type="yAxis",e}(hz),YW=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="grid",n}return e.prototype.render=function(n,r){this.group.removeAll(),n.get("show")&&this.group.add(new Kr({shape:n.coordinateSystem.getRect(),style:Vt({fill:n.get("backgroundColor")},n.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Du),gz={offset:0};function WW(t){t.registerComponentView(YW),t.registerComponentModel(dW),t.registerCoordinateSystem("cartesian2d",EW),tz(t,"x",qb,gz),tz(t,"y",qb,gz),t.registerComponentView(pz),t.registerComponentView(jW),t.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var Lc=jn(),mz=Qt,oE=Qn,XW=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(e,n,r,a){var l=n.get("value"),u=n.get("status");if(this._axisModel=e,this._axisPointerModel=n,this._api=r,!(!a&&this._lastValue===l&&this._lastStatus===u)){this._lastValue=l,this._lastStatus=u;var f=this._group,d=this._handle;if(!u||u==="hide"){f&&f.hide(),d&&d.hide();return}f&&f.show(),d&&d.show();var h={};this.makeElOption(h,l,e,n,r);var p=h.graphicKey;p!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=p;var m=this._moveAnimation=this.determineAnimation(e,n);if(!f)f=this._group=new Cl,this.createPointerEl(f,h,e,n),this.createLabelEl(f,h,e,n),r.getZr().add(f);else{var S=Aa(yz,n,m);this.updatePointerEl(f,h,S),this.updateLabelEl(f,h,S,n)}Cz(f,n,!0),this._renderHandle(l)}},t.prototype.remove=function(e){this.clear(e)},t.prototype.dispose=function(e){this.clear(e)},t.prototype.determineAnimation=function(e,n){var r=n.get("animation"),a=e.axis,l=a.type==="category",u=n.get("snap");if(!u&&!l)return!1;if(r==="auto"||r==null){var f=this.animationThreshold;if(l&&a.getBandWidth()>f)return!0;if(u){var d=nE(e).seriesDataCount,h=a.getExtent();return Math.abs(h[0]-h[1])/d>f}return!1}return r===!0},t.prototype.makeElOption=function(e,n,r,a,l){},t.prototype.createPointerEl=function(e,n,r,a){var l=n.pointer;if(l){var u=Lc(e).pointerEl=new wG[l.type](mz(n.pointer));e.add(u)}},t.prototype.createLabelEl=function(e,n,r,a){if(n.label){var l=Lc(e).labelEl=new ko(mz(n.label));e.add(l),Sz(l,a)}},t.prototype.updatePointerEl=function(e,n,r){var a=Lc(e).pointerEl;a&&n.pointer&&(a.setStyle(n.pointer.style),r(a,{shape:n.pointer.shape}))},t.prototype.updateLabelEl=function(e,n,r,a){var l=Lc(e).labelEl;l&&(l.setStyle(n.label.style),r(l,{x:n.label.x,y:n.label.y}),Sz(l,a))},t.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,l=n.getModel("handle"),u=n.get("status");if(!l.get("show")||!u||u==="hide"){a&&r.remove(a),this._handle=null;return}var f;this._handle||(f=!0,a=this._handle=ak(l.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(h){hL(h.event)},onmousedown:oE(this._onHandleDragMove,this,0,0),drift:oE(this._onHandleDragMove,this),ondragend:oE(this._onHandleDragEnd,this)}),r.add(a)),Cz(a,n,!1),a.setStyle(l.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=l.get("size");Be(d)||(d=[d,d]),a.scaleX=d[0]/2,a.scaleY=d[1]/2,GN(this,"_doDispatchAxisPointer",l.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,f)}},t.prototype._moveHandleToValue=function(e,n){yz(this._axisPointerModel,!n&&this._moveAnimation,this._handle,lE(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(e,n){var r=this._handle;if(r){this._dragging=!0;var a=this.updateHandleTransform(lE(r),[e,n],this._axisModel,this._axisPointerModel);this._payloadInfo=a,r.stopAnimation(),r.attr(lE(a)),Lc(r).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var n=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var n=e.getZr(),r=this._group,a=this._handle;n&&r&&(this._lastGraphicKey=null,r&&n.remove(r),a&&n.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),fb(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(e,n,r){return r=r||0,{x:e[r],y:e[1-r],width:n[r],height:n[1-r]}},t}();function yz(t,e,n,r){_z(Lc(n).lastProp,r)||(Lc(n).lastProp=r,e?Po(n,r,t):(n.stopAnimation(),n.attr(r)))}function _z(t,e){if(it(t)&&it(e)){var n=!0;return W(e,function(r,a){n=n&&_z(t[a],r)}),!!n}else return t===e}function Sz(t,e){t[e.get(["label","show"])?"show":"hide"]()}function lE(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function Cz(t,e,n){var r=e.get("z"),a=e.get("zlevel");t&&t.traverse(function(l){l.type!=="group"&&(r!=null&&(l.z=r),a!=null&&(l.zlevel=a),l.silent=n)})}const qW=XW;function QW(t){var e=t.get("type"),n=t.getModel(e+"Style"),r;return e==="line"?(r=n.getLineStyle(),r.fill=null):e==="shadow"&&(r=n.getAreaStyle(),r.stroke=null),r}function ZW(t,e,n,r,a){var l=n.get("value"),u=wz(l,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),f=n.getModel("label"),d=zT(f.get("padding")||0),h=f.getFont(),p=Rx(u,h),m=a.position,S=p.width+d[1]+d[3],_=p.height+d[0]+d[2],w=a.align;w==="right"&&(m[0]-=S),w==="center"&&(m[0]-=S/2);var E=a.verticalAlign;E==="bottom"&&(m[1]-=_),E==="middle"&&(m[1]-=_/2),KW(m,S,_,r);var b=f.get("backgroundColor");(!b||b==="auto")&&(b=e.get(["axisLine","lineStyle","color"])),t.label={x:m[0],y:m[1],style:mc(f,{text:u,font:h,fill:f.getTextColor(),padding:d,backgroundColor:b}),z2:10}}function KW(t,e,n,r){var a=r.getWidth(),l=r.getHeight();t[0]=Math.min(t[0]+e,a)-e,t[1]=Math.min(t[1]+n,l)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function wz(t,e,n,r,a){t=e.scale.parse(t);var l=e.scale.getLabel({value:t},{precision:a.precision}),u=a.formatter;if(u){var f={value:Hb(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};W(r,function(d){var h=n.getSeriesByIndex(d.seriesIndex),p=d.dataIndexInside,m=h&&h.getDataParams(p);m&&f.seriesData.push(m)}),et(u)?l=u.replace("{value}",l):_t(u)&&(l=u(f))}return l}function xz(t,e,n){var r=Up();return rx(r,r,n.rotation),nx(r,r,n.position),bT([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function JW(t,e,n,r,a,l){var u=dz.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),ZW(e,r,a,l,{position:xz(r.axis,t,n),align:u.textAlign,verticalAlign:u.textVerticalAlign})}function eX(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function tX(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}var nX=function(t){Pt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.makeElOption=function(n,r,a,l,u){var f=a.axis,d=f.grid,h=l.get("type"),p=Tz(d,f).getOtherAxis(f).getGlobalExtent(),m=f.toGlobalCoord(f.dataToCoord(r,!0));if(h&&h!=="none"){var S=QW(l),_=rX[h](f,m,p);_.style=S,n.graphicKey=_.type,n.pointer=_}var w=Kb(d.model,a);JW(r,n,w,a,l,u)},e.prototype.getHandleTransform=function(n,r,a){var l=Kb(r.axis.grid.model,r,{labelInside:!1});l.labelMargin=a.get(["handle","margin"]);var u=xz(r.axis,n,l);return{x:u[0],y:u[1],rotation:l.rotation+(l.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(n,r,a,l){var u=a.axis,f=u.grid,d=u.getGlobalExtent(!0),h=Tz(f,u).getOtherAxis(u).getGlobalExtent(),p=u.dim==="x"?0:1,m=[n.x,n.y];m[p]+=r[p],m[p]=Math.min(d[1],m[p]),m[p]=Math.max(d[0],m[p]);var S=(h[1]+h[0])/2,_=[S,S];_[p]=m[p];var w=[{verticalAlign:"middle"},{align:"center"}];return{x:m[0],y:m[1],rotation:n.rotation,cursorPoint:_,tooltipOption:w[p]}},e}(qW);function Tz(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var rX={line:function(t,e,n){var r=eX([e,n[0]],[e,n[1]],bz(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:tX([e-r/2,n[0]],[r,a],bz(t))}}};function bz(t){return t.dim==="x"?0:1}const iX=nX;var aX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(En);const oX=aX;var Ru=jn(),lX=W;function Ez(t,e,n){if(!Tt.node){var r=e.getZr();Ru(r).records||(Ru(r).records={}),uX(r,e);var a=Ru(r).records[t]||(Ru(r).records[t]={});a.handler=n}}function uX(t,e){if(Ru(t).initialized)return;Ru(t).initialized=!0,n("click",Aa(Dz,"click")),n("mousemove",Aa(Dz,"mousemove")),n("globalout",fX);function n(r,a){t.on(r,function(l){var u=cX(e);lX(Ru(t).records,function(f){f&&a(f,l,u.dispatchAction)}),sX(u.pendings,e)})}}function sX(t,e){var n=t.showTip.length,r=t.hideTip.length,a;n?a=t.showTip[n-1]:r&&(a=t.hideTip[r-1]),a&&(a.dispatchAction=null,e.dispatchAction(a))}function fX(t,e,n){t.handler("leave",null,n)}function Dz(t,e,n,r){e.handler(t,n,r)}function cX(t){var e={showTip:[],hideTip:[]},n=function(r){var a=e[r.type];a?a.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}function uE(t,e){if(!Tt.node){var n=e.getZr(),r=(Ru(n).records||{})[t];r&&(Ru(n).records[t]=null)}}var dX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.render=function(n,r,a){var l=r.getComponent("tooltip"),u=n.get("triggerOn")||l&&l.get("triggerOn")||"mousemove|click";Ez("axisPointer",a,function(f,d,h){u!=="none"&&(f==="leave"||u.indexOf(f)>=0)&&h({type:"updateAxisPointer",currTrigger:f,x:d&&d.offsetX,y:d&&d.offsetY})})},e.prototype.remove=function(n,r){uE("axisPointer",r)},e.prototype.dispose=function(n,r){uE("axisPointer",r)},e.type="axisPointer",e}(Du);const vX=dX;function Mz(t,e){var n=[],r=t.seriesIndex,a;if(r==null||!(a=e.getSeriesByIndex(r)))return{point:[]};var l=a.getData(),u=rg(l,t);if(u==null||u<0||Be(u))return{point:[]};var f=l.getItemGraphicEl(u),d=a.coordinateSystem;if(a.getTooltipPosition)n=a.getTooltipPosition(u)||[];else if(d&&d.dataToPoint)if(t.isStacked){var h=d.getBaseAxis(),p=d.getOtherAxis(h),m=p.dim,S=h.dim,_=m==="x"||m==="radius"?1:0,w=l.mapDimension(S),E=[];E[_]=l.get(w,u),E[1-_]=l.get(l.getCalculationInfo("stackResultDimension"),u),n=d.dataToPoint(E)||[]}else n=d.dataToPoint(l.getValues(ot(d.dimensions,function(D){return l.mapDimension(D)}),u))||[];else if(f){var b=f.getBoundingRect().clone();b.applyTransform(f.transform),n=[b.x+b.width/2,b.y+b.height/2]}return{point:n,el:f}}var Rz=jn();function hX(t,e,n){var r=t.currTrigger,a=[t.x,t.y],l=t,u=t.dispatchAction||Qn(n.dispatchAction,n),f=e.getComponent("axisPointer").coordSysAxesInfo;if(f){c1(a)&&(a=Mz({seriesIndex:l.seriesIndex,dataIndex:l.dataIndex},e).point);var d=c1(a),h=l.axesInfo,p=f.axesInfo,m=r==="leave"||c1(a),S={},_={},w={list:[],map:{}},E={showPointer:Aa(gX,_),showTooltip:Aa(mX,w)};W(f.coordSysMap,function(D,A){var O=d||D.containPoint(a);W(f.coordSysAxesInfo[A],function(P,I){var F=P.axis,U=CX(h,P);if(!m&&O&&(!h||U)){var H=U&&U.value;H==null&&!d&&(H=F.pointToData(a)),H!=null&&Az(P,H,E,!1,S)}})});var b={};return W(p,function(D,A){var O=D.linkGroup;O&&!_[A]&&W(O.axesInfo,function(P,I){var F=_[I];if(P!==D&&F){var U=F.value;O.mapper&&(U=D.axis.scale.parse(O.mapper(U,Lz(P),Lz(D)))),b[D.key]=U}})}),W(b,function(D,A){Az(p[A],D,E,!0,S)}),yX(_,p,S),_X(w,a,t,u),SX(p,u,n),S}}function Az(t,e,n,r,a){var l=t.axis;if(!(l.scale.isBlank()||!l.containData(e))){if(!t.involveSeries){n.showPointer(t,e);return}var u=pX(e,t),f=u.payloadBatch,d=u.snapToValue;f[0]&&a.seriesIndex==null&&Re(a,f[0]),!r&&t.snap&&l.containData(d)&&d!=null&&(e=d),n.showPointer(t,e,f),n.showTooltip(t,u,d)}}function pX(t,e){var n=e.axis,r=n.dim,a=t,l=[],u=Number.MAX_VALUE,f=-1;return W(e.seriesModels,function(d,h){var p=d.getData().mapDimensionsAll(r),m,S;if(d.getAxisTooltipData){var _=d.getAxisTooltipData(p,t,n);S=_.dataIndices,m=_.nestestValue}else{if(S=d.getData().indicesOfNearest(p[0],t,n.type==="category"?.5:null),!S.length)return;m=d.getData().get(p[0],S[0])}if(!(m==null||!isFinite(m))){var w=t-m,E=Math.abs(w);E<=u&&((E<u||w>=0&&f<0)&&(u=E,f=w,a=m,l.length=0),W(S,function(b){l.push({seriesIndex:d.seriesIndex,dataIndexInside:b,dataIndex:d.getData().getRawIndex(b)})}))}}),{payloadBatch:l,snapToValue:a}}function gX(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function mX(t,e,n,r){var a=n.payloadBatch,l=e.axis,u=l.model,f=e.axisPointerModel;if(!(!e.triggerTooltip||!a.length)){var d=e.coordSys.model,h=Xg(d),p=t.map[h];p||(p=t.map[h]={coordSysId:d.id,coordSysIndex:d.componentIndex,coordSysType:d.type,coordSysMainType:d.mainType,dataByAxis:[]},t.list.push(p)),p.dataByAxis.push({axisDim:l.dim,axisIndex:u.componentIndex,axisType:u.type,axisId:u.id,value:r,valueLabelOpt:{precision:f.get(["label","precision"]),formatter:f.get(["label","formatter"])},seriesDataIndices:a.slice()})}}function yX(t,e,n){var r=n.axesInfo=[];W(e,function(a,l){var u=a.axisPointerModel.option,f=t[l];f?(!a.useHandle&&(u.status="show"),u.value=f.value,u.seriesDataIndices=(f.payloadBatch||[]).slice()):!a.useHandle&&(u.status="hide"),u.status==="show"&&r.push({axisDim:a.axis.dim,axisIndex:a.axis.model.componentIndex,value:u.value})})}function _X(t,e,n,r){if(c1(e)||!t.list.length){r({type:"hideTip"});return}var a=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:t.list})}function SX(t,e,n){var r=n.getZr(),a="axisPointerLastHighlights",l=Rz(r)[a]||{},u=Rz(r)[a]={};W(t,function(h,p){var m=h.axisPointerModel.option;m.status==="show"&&W(m.seriesDataIndices,function(S){var _=S.seriesIndex+" | "+S.dataIndex;u[_]=S})});var f=[],d=[];W(l,function(h,p){!u[p]&&d.push(h)}),W(u,function(h,p){!l[p]&&f.push(h)}),d.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:d}),f.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:f})}function CX(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function Lz(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function c1(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function Oz(t){vz.registerAxisPointerClass("CartesianAxisPointer",iX),t.registerComponentModel(oX),t.registerComponentView(vX),t.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var n=e.axisPointer.link;n&&!Be(n)&&(e.axisPointer.link=[n])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(e,n){e.getComponent("axisPointer").coordSysAxesInfo=OW(e,n)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},hX)}function wX(t){$g(WW),$g(Oz)}var xX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(En);const TX=xX;function kz(t){var e=t.get("confine");return e!=null?!!e:t.get("renderMode")==="richText"}function Nz(t){if(Tt.domSupported){for(var e=document.documentElement.style,n=0,r=t.length;n<r;n++)if(t[n]in e)return t[n]}}var Pz=Nz(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),bX=Nz(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function Iz(t,e){if(!t)return e;e=Lk(e,!0);var n=t.indexOf(e);return t=n===-1?e:"-"+t.slice(0,n)+"-"+e,t.toLowerCase()}function EX(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var DX=Iz(bX,"transition"),sE=Iz(Pz,"transform"),MX="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Tt.transform3dSupported?"will-change:transform;":"");function RX(t){return t=t==="left"?"right":t==="right"?"left":t==="top"?"bottom":"top",t}function AX(t,e,n){if(!et(n)||n==="inside")return"";var r=t.get("backgroundColor"),a=t.get("borderWidth");e=_g(e);var l=RX(n),u=Math.max(Math.round(a)*1.5,6),f="",d=sE+":",h;dn(["left","right"],l)>-1?(f+="top:50%",d+="translateY(-50%) rotate("+(h=l==="left"?-225:-45)+"deg)"):(f+="left:50%",d+="translateX(-50%) rotate("+(h=l==="top"?225:45)+"deg)");var p=h*Math.PI/180,m=u+a,S=m*Math.abs(Math.cos(p))+m*Math.abs(Math.sin(p)),_=Math.round(((S-Math.SQRT2*a)/2+Math.SQRT2*a-(S-m)/2)*100)/100;f+=";"+l+":-"+_+"px";var w=e+" solid "+a+"px;",E=["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",f+";"+d+";","border-bottom:"+w,"border-right:"+w,"background-color:"+r+";"];return'<div style="'+E.join("")+'"></div>'}function LX(t,e){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+t/2+"s "+n,a="opacity"+r+",visibility"+r;return e||(r=" "+t+"s "+n,a+=Tt.transformSupported?","+sE+r:",left"+r+",top"+r),DX+":"+a}function zz(t,e,n){var r=t.toFixed(0)+"px",a=e.toFixed(0)+"px";if(!Tt.transformSupported)return n?"top:"+a+";left:"+r+";":[["top",a],["left",r]];var l=Tt.transform3dSupported,u="translate"+(l?"3d":"")+"("+r+","+a+(l?",0":"")+")";return n?"top:0;left:0;"+sE+":"+u+";":[["top",0],["left",0],[Pz,u]]}function OX(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(n*3/2)+"px");var a=t.get("textShadowColor"),l=t.get("textShadowBlur")||0,u=t.get("textShadowOffsetX")||0,f=t.get("textShadowOffsetY")||0;return a&&l&&e.push("text-shadow:"+u+"px "+f+"px "+l+"px "+a),W(["decoration","align"],function(d){var h=t.get(d);h&&e.push("text-"+d+":"+h)}),e.join(";")}function kX(t,e,n){var r=[],a=t.get("transitionDuration"),l=t.get("backgroundColor"),u=t.get("shadowBlur"),f=t.get("shadowColor"),d=t.get("shadowOffsetX"),h=t.get("shadowOffsetY"),p=t.getModel("textStyle"),m=NN(t,"html"),S=d+"px "+h+"px "+u+"px "+f;return r.push("box-shadow:"+S),e&&a&&r.push(LX(a,n)),l&&r.push("background-color:"+l),W(["width","color","radius"],function(_){var w="border-"+_,E=Lk(w),b=t.get(E);b!=null&&r.push(w+":"+b+(_==="color"?"":"px"))}),r.push(OX(p)),m!=null&&r.push("padding:"+zT(m).join("px ")+"px"),r.join(";")+";"}function Fz(t,e,n,r,a){var l=e&&e.painter;if(n){var u=l&&l.getViewportRoot();u&&SH(t,u,document.body,r,a)}else{t[0]=r,t[1]=a;var f=l&&l.getViewportRootOffset();f&&(t[0]+=f.offsetLeft,t[1]+=f.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var NX=function(){function t(e,n,r){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,Tt.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var l=this._zr=n.getZr(),u=this._appendToBody=r&&r.appendToBody;Fz(this._styleCoord,l,u,n.getWidth()/2,n.getHeight()/2),u?document.body.appendChild(a):e.appendChild(a),this._container=e;var f=this;a.onmouseenter=function(){f._enterable&&(clearTimeout(f._hideTimeout),f._show=!0),f._inContent=!0},a.onmousemove=function(d){if(d=d||window.event,!f._enterable){var h=l.handler,p=l.painter.getViewportRoot();no(p,d,!0),h.dispatch("mousemove",d)}},a.onmouseleave=function(){f._inContent=!1,f._enterable&&f._show&&f.hideLater(f._hideDelay)}}return t.prototype.update=function(e){var n=this._container,r=EX(n,"position"),a=n.style;a.position!=="absolute"&&r!=="absolute"&&(a.position="relative");var l=e.get("alwaysShowContent");l&&this._moveIfResized(),this.el.className=e.get("className")||""},t.prototype.show=function(e,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,a=r.style,l=this._styleCoord;r.innerHTML?a.cssText=MX+kX(e,!this._firstShow,this._longHide)+zz(l[0],l[1],!0)+("border-color:"+_g(n)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(e,n,r,a,l){var u=this.el;if(e==null){u.innerHTML="";return}var f="";if(et(l)&&r.get("trigger")==="item"&&!kz(r)&&(f=AX(r,a,l)),et(e))u.innerHTML=e+f;else if(e){u.innerHTML="",Be(e)||(e=[e]);for(var d=0;d<e.length;d++)zp(e[d])&&e[d].parentNode!==u&&u.appendChild(e[d]);if(f&&u.childNodes.length){var h=document.createElement("div");h.innerHTML=f,u.appendChild(h)}}},t.prototype.setEnterable=function(e){this._enterable=e},t.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},t.prototype.moveTo=function(e,n){var r=this._styleCoord;if(Fz(r,this._zr,this._appendToBody,e,n),r[0]!=null&&r[1]!=null){var a=this.el.style,l=zz(r[0],r[1]);W(l,function(u){a[u[0]]=u[1]})}},t.prototype._moveIfResized=function(){var e=this._styleCoord[2],n=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),n*this._zr.getHeight())},t.prototype.hide=function(){var e=this,n=this.el.style;n.visibility="hidden",n.opacity="0",Tt.transform3dSupported&&(n.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return e._longHide=!0},500)},t.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Qn(this.hide,this),e)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}();const PX=NX;var IX=function(){function t(e){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=e.getZr(),Uz(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return t.prototype.update=function(e){var n=e.get("alwaysShowContent");n&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(e,n,r,a,l){var u=this;it(e)&&Ht(process.env.NODE_ENV!=="production"?"Passing DOM nodes as content is not supported in richText tooltip!":""),this.el&&this._zr.remove(this.el);var f=r.getModel("textStyle");this.el=new ko({style:{rich:n.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:a,textShadowColor:f.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:NN(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),W(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(h){u.el.style[h]=r.get(h)}),W(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(h){u.el.style[h]=f.get(h)||0}),this._zr.add(this.el);var d=this;this.el.on("mouseover",function(){d._enterable&&(clearTimeout(d._hideTimeout),d._show=!0),d._inContent=!0}),this.el.on("mouseout",function(){d._enterable&&d._show&&d.hideLater(d._hideDelay),d._inContent=!1})},t.prototype.setEnterable=function(e){this._enterable=e},t.prototype.getSize=function(){var e=this.el,n=this.el.getBoundingRect(),r=Bz(e.style);return[n.width+r.left+r.right,n.height+r.top+r.bottom]},t.prototype.moveTo=function(e,n){var r=this.el;if(r){var a=this._styleCoord;Uz(a,this._zr,e,n),e=a[0],n=a[1];var l=r.style,u=zs(l.borderWidth||0),f=Bz(l);r.x=e+u+f.left,r.y=n+u+f.top,r.markRedraw()}},t.prototype._moveIfResized=function(){var e=this._styleCoord[2],n=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),n*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Qn(this.hide,this),e)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function zs(t){return Math.max(0,t)}function Bz(t){var e=zs(t.shadowBlur||0),n=zs(t.shadowOffsetX||0),r=zs(t.shadowOffsetY||0);return{left:zs(e-n),right:zs(e+n),top:zs(e-r),bottom:zs(e+r)}}function Uz(t,e,n,r){t[0]=n,t[1]=r,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}const zX=IX;var FX=new Kr({shape:{x:-1,y:-1,width:2,height:2}}),BX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.init=function(n,r){if(!(Tt.node||!r.getDom())){var a=n.getComponent("tooltip"),l=this._renderMode=J4(a.get("renderMode"));this._tooltipContent=l==="richText"?new zX(r):new PX(r.getDom(),r,{appendToBody:a.get("appendToBody",!0)})}},e.prototype.render=function(n,r,a){if(!(Tt.node||!a.getDom())){this.group.removeAll(),this._tooltipModel=n,this._ecModel=r,this._api=a,this._alwaysShowContent=n.get("alwaysShowContent");var l=this._tooltipContent;l.update(n),l.setEnterable(n.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&n.get("transitionDuration")?GN(this,"_updatePosition",50,"fixRate"):fb(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var n=this._tooltipModel,r=n.get("triggerOn");Ez("itemTooltip",this._api,Qn(function(a,l,u){r!=="none"&&(r.indexOf(a)>=0?this._tryShow(l,u):a==="leave"&&this._hide(u))},this))},e.prototype._keepShow=function(){var n=this._tooltipModel,r=this._ecModel,a=this._api,l=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&l!=="none"&&l!=="click"){var u=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!a.isDisposed()&&u.manuallyShowTip(n,r,a,{x:u._lastX,y:u._lastY,dataByCoordSys:u._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(n,r,a,l){if(!(l.from===this.uid||Tt.node||!a.getDom())){var u=Vz(l,a);this._ticket="";var f=l.dataByCoordSys,d=GX(l,r,a);if(d){var h=d.el.getBoundingRect().clone();h.applyTransform(d.el.transform),this._tryShow({offsetX:h.x+h.width/2,offsetY:h.y+h.height/2,target:d.el,position:l.position,positionDefault:"bottom"},u)}else if(l.tooltip&&l.x!=null&&l.y!=null){var p=FX;p.x=l.x,p.y=l.y,p.update(),yn(p).tooltipConfig={name:null,option:l.tooltip},this._tryShow({offsetX:l.x,offsetY:l.y,target:p},u)}else if(f)this._tryShow({offsetX:l.x,offsetY:l.y,position:l.position,dataByCoordSys:f,tooltipOption:l.tooltipOption},u);else if(l.seriesIndex!=null){if(this._manuallyAxisShowTip(n,r,a,l))return;var m=Mz(l,r),S=m.point[0],_=m.point[1];S!=null&&_!=null&&this._tryShow({offsetX:S,offsetY:_,target:m.el,position:l.position,positionDefault:"bottom"},u)}else l.x!=null&&l.y!=null&&(a.dispatchAction({type:"updateAxisPointer",x:l.x,y:l.y}),this._tryShow({offsetX:l.x,offsetY:l.y,position:l.position,target:a.getZr().findHover(l.x,l.y).target},u))}},e.prototype.manuallyHideTip=function(n,r,a,l){var u=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&u.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,l.from!==this.uid&&this._hide(Vz(l,a))},e.prototype._manuallyAxisShowTip=function(n,r,a,l){var u=l.seriesIndex,f=l.dataIndex,d=r.getComponent("axisPointer").coordSysAxesInfo;if(!(u==null||f==null||d==null)){var h=r.getSeriesByIndex(u);if(h){var p=h.getData(),m=qg([p.getItemModel(f),h,(h.coordinateSystem||{}).model],this._tooltipModel);if(m.get("trigger")==="axis")return a.dispatchAction({type:"updateAxisPointer",seriesIndex:u,dataIndex:f,position:l.position}),!0}}},e.prototype._tryShow=function(n,r){var a=n.target,l=this._tooltipModel;if(l){this._lastX=n.offsetX,this._lastY=n.offsetY;var u=n.dataByCoordSys;if(u&&u.length)this._showAxisTooltip(u,n);else if(a){this._lastDataByCoordSys=null;var f,d;Og(a,function(h){if(yn(h).dataIndex!=null)return f=h,!0;if(yn(h).tooltipConfig!=null)return d=h,!0},!0),f?this._showSeriesItemTooltip(n,f,r):d?this._showComponentItemTooltip(n,d,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},e.prototype._showOrMove=function(n,r){var a=n.get("showDelay");r=Qn(r,this),clearTimeout(this._showTimout),a>0?this._showTimout=setTimeout(r,a):r()},e.prototype._showAxisTooltip=function(n,r){var a=this._ecModel,l=this._tooltipModel,u=[r.offsetX,r.offsetY],f=qg([r.tooltipOption],l),d=this._renderMode,h=[],p=Rg("section",{blocks:[],noHeader:!0}),m=[],S=new ab;W(n,function(A){W(A.dataByAxis,function(O){var P=a.getComponent(O.axisDim+"Axis",O.axisIndex),I=O.value;if(!(!P||I==null)){var F=wz(I,P.axis,a,O.seriesDataIndices,O.valueLabelOpt),U=Rg("section",{header:F,noHeader:!yl(F),sortBlocks:!0,blocks:[]});p.blocks.push(U),W(O.seriesDataIndices,function(H){var j=a.getSeriesByIndex(H.seriesIndex),X=H.dataIndexInside,G=j.getDataParams(X);if(!(G.dataIndex<0)){G.axisDim=O.axisDim,G.axisIndex=O.axisIndex,G.axisType=O.axisType,G.axisId=O.axisId,G.axisValue=Hb(P.axis,{value:I}),G.axisValueLabel=F,G.marker=S.makeTooltipMarker("item",_g(G.color),d);var ee=pN(j.formatTooltip(X,!0,null)),J=ee.frag;if(J){var ie=qg([j],l).get("valueFormatter");U.blocks.push(ie?Re({valueFormatter:ie},J):J)}ee.text&&m.push(ee.text),h.push(G)}})}})}),p.blocks.reverse(),m.reverse();var _=r.position,w=f.get("order"),E=ON(p,S,d,w,a.get("useUTC"),f.get("textStyle"));E&&m.unshift(E);var b=d==="richText"?`
211
+
212
+ `:"<br/>",D=m.join(b);this._showOrMove(f,function(){this._updateContentNotChangedOnAxis(n,h)?this._updatePosition(f,_,u[0],u[1],this._tooltipContent,h):this._showTooltipContent(f,D,h,Math.random()+"",u[0],u[1],_,null,S)})},e.prototype._showSeriesItemTooltip=function(n,r,a){var l=this._ecModel,u=yn(r),f=u.seriesIndex,d=l.getSeriesByIndex(f),h=u.dataModel||d,p=u.dataIndex,m=u.dataType,S=h.getData(m),_=this._renderMode,w=n.positionDefault,E=qg([S.getItemModel(p),h,d&&(d.coordinateSystem||{}).model],this._tooltipModel,w?{position:w}:null),b=E.get("trigger");if(!(b!=null&&b!=="item")){var D=h.getDataParams(p,m),A=new ab;D.marker=A.makeTooltipMarker("item",_g(D.color),_);var O=pN(h.formatTooltip(p,!1,m)),P=E.get("order"),I=E.get("valueFormatter"),F=O.frag,U=F?ON(I?Re({valueFormatter:I},F):F,A,_,P,l.get("useUTC"),E.get("textStyle")):O.text,H="item_"+h.name+"_"+p;this._showOrMove(E,function(){this._showTooltipContent(E,U,D,H,n.offsetX,n.offsetY,n.position,n.target,A)}),a({type:"showTip",dataIndexInside:p,dataIndex:S.getRawIndex(p),seriesIndex:f,from:this.uid})}},e.prototype._showComponentItemTooltip=function(n,r,a){var l=yn(r),u=l.tooltipConfig,f=u.option||{};if(et(f)){var d=f;f={content:d,formatter:d}}var h=[f],p=this._ecModel.getComponent(l.componentMainType,l.componentIndex);p&&h.push(p),h.push({formatter:f.content});var m=n.positionDefault,S=qg(h,this._tooltipModel,m?{position:m}:null),_=S.get("content"),w=Math.random()+"",E=new ab;this._showOrMove(S,function(){var b=Qt(S.get("formatterParams")||{});this._showTooltipContent(S,_,b,w,n.offsetX,n.offsetY,n.position,r,E)}),a({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(n,r,a,l,u,f,d,h,p){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var m=this._tooltipContent;m.setEnterable(n.get("enterable"));var S=n.get("formatter");d=d||n.get("position");var _=r,w=this._getNearestPoint([u,f],a,n.get("trigger"),n.get("borderColor")),E=w.color;if(S)if(et(S)){var b=n.ecModel.get("useUTC"),D=Be(a)?a[0]:a,A=D&&D.axisType&&D.axisType.indexOf("time")>=0;_=S,A&&(_=C_(D.axisValue,_,b)),_=kk(_,a,!0)}else if(_t(S)){var O=Qn(function(P,I){P===this._ticket&&(m.setContent(I,p,n,E,d),this._updatePosition(n,d,u,f,m,a,h))},this);this._ticket=l,_=S(a,l,O)}else _=S;m.setContent(_,p,n,E,d),m.show(n,E),this._updatePosition(n,d,u,f,m,a,h)}},e.prototype._getNearestPoint=function(n,r,a,l){if(a==="axis"||Be(r))return{color:l||(this._renderMode==="html"?"#fff":"none")};if(!Be(r))return{color:l||r.color||r.borderColor}},e.prototype._updatePosition=function(n,r,a,l,u,f,d){var h=this._api.getWidth(),p=this._api.getHeight();r=r||n.get("position");var m=u.getSize(),S=n.get("align"),_=n.get("verticalAlign"),w=d&&d.getBoundingRect().clone();if(d&&w.applyTransform(d.transform),_t(r)&&(r=r([a,l],f,u.el,w,{viewSize:[h,p],contentSize:m.slice()})),Be(r))a=Zr(r[0],h),l=Zr(r[1],p);else if(it(r)){var E=r;E.width=m[0],E.height=m[1];var b=UT(E,{width:h,height:p});a=b.x,l=b.y,S=null,_=null}else if(et(r)&&d){var D=HX(r,w,m,n.get("borderWidth"));a=D[0],l=D[1]}else{var D=UX(a,l,u,h,p,S?null:20,_?null:20);a=D[0],l=D[1]}if(S&&(a-=Hz(S)?m[0]/2:S==="right"?m[0]:0),_&&(l-=Hz(_)?m[1]/2:_==="bottom"?m[1]:0),kz(n)){var D=VX(a,l,u,h,p);a=D[0],l=D[1]}u.moveTo(a,l)},e.prototype._updateContentNotChangedOnAxis=function(n,r){var a=this._lastDataByCoordSys,l=this._cbParamsList,u=!!a&&a.length===n.length;return u&&W(a,function(f,d){var h=f.dataByAxis||[],p=n[d]||{},m=p.dataByAxis||[];u=u&&h.length===m.length,u&&W(h,function(S,_){var w=m[_]||{},E=S.seriesDataIndices||[],b=w.seriesDataIndices||[];u=u&&S.value===w.value&&S.axisType===w.axisType&&S.axisId===w.axisId&&E.length===b.length,u&&W(E,function(D,A){var O=b[A];u=u&&D.seriesIndex===O.seriesIndex&&D.dataIndex===O.dataIndex}),l&&W(S.seriesDataIndices,function(D){var A=D.seriesIndex,O=r[A],P=l[A];O&&P&&P.data!==O.data&&(u=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!u},e.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},e.prototype.dispose=function(n,r){Tt.node||!r.getDom()||(fb(this,"_updatePosition"),this._tooltipContent.dispose(),uE("itemTooltip",r))},e.type="tooltip",e}(Du);function qg(t,e,n){var r=e.ecModel,a;n?(a=new Oi(n,r,r),a=new Oi(e.option,a,r)):a=e;for(var l=t.length-1;l>=0;l--){var u=t[l];u&&(u instanceof Oi&&(u=u.get("tooltip",!0)),et(u)&&(u={formatter:u}),u&&(a=new Oi(u,a,r)))}return a}function Vz(t,e){return t.dispatchAction||Qn(e.dispatchAction,e)}function UX(t,e,n,r,a,l,u){var f=n.getSize(),d=f[0],h=f[1];return l!=null&&(t+d+l+2>r?t-=d+l:t+=l),u!=null&&(e+h+u>a?e-=h+u:e+=u),[t,e]}function VX(t,e,n,r,a){var l=n.getSize(),u=l[0],f=l[1];return t=Math.min(t+u,r)-u,e=Math.min(e+f,a)-f,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function HX(t,e,n,r){var a=n[0],l=n[1],u=Math.ceil(Math.SQRT2*r)+8,f=0,d=0,h=e.width,p=e.height;switch(t){case"inside":f=e.x+h/2-a/2,d=e.y+p/2-l/2;break;case"top":f=e.x+h/2-a/2,d=e.y-l-u;break;case"bottom":f=e.x+h/2-a/2,d=e.y+p+u;break;case"left":f=e.x-a-u,d=e.y+p/2-l/2;break;case"right":f=e.x+h+u,d=e.y+p/2-l/2}return[f,d]}function Hz(t){return t==="center"||t==="middle"}function GX(t,e,n){var r=Fx(t).queryOptionMap,a=r.keys()[0];if(!(!a||a==="series")){var l=ig(e,a,r.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),u=l.models[0];if(u){var f=n.getViewOfComponentModel(u),d;if(f.group.traverse(function(h){var p=yn(h).tooltipConfig;if(p&&p.name===t.name)return d=h,!0}),d)return{componentMainType:a,componentIndex:u.componentIndex,el:d}}}}const $X=BX;function jX(t){$g(Oz),t.registerComponentModel(TX),t.registerComponentView($X),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},ta),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},ta)}var YX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(En),WX=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type=e.type,n}return e.prototype.render=function(n,r,a){if(this.group.removeAll(),!!n.get("show")){var l=this.group,u=n.getModel("textStyle"),f=n.getModel("subtextStyle"),d=n.get("textAlign"),h=kt(n.get("textBaseline"),n.get("textVerticalAlign")),p=new ko({style:mc(u,{text:n.get("text"),fill:u.getTextColor()},{disableBox:!0}),z2:10}),m=p.getBoundingRect(),S=n.get("subtext"),_=new ko({style:mc(f,{text:S,fill:f.getTextColor(),y:m.height+n.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),w=n.get("link"),E=n.get("sublink"),b=n.get("triggerEvent",!0);p.silent=!w&&!b,_.silent=!E&&!b,w&&p.on("click",function(){Nk(w,"_"+n.get("target"))}),E&&_.on("click",function(){Nk(E,"_"+n.get("subtarget"))}),yn(p).eventData=yn(_).eventData=b?{componentType:"title",componentIndex:n.componentIndex}:null,l.add(p),S&&l.add(_);var D=l.getBoundingRect(),A=n.getBoxLayoutParams();A.width=D.width,A.height=D.height;var O=UT(A,{width:a.getWidth(),height:a.getHeight()},n.get("padding"));d||(d=n.get("left")||n.get("right"),d==="middle"&&(d="center"),d==="right"?O.x+=O.width:d==="center"&&(O.x+=O.width/2)),h||(h=n.get("top")||n.get("bottom"),h==="center"&&(h="middle"),h==="bottom"?O.y+=O.height:h==="middle"&&(O.y+=O.height/2),h=h||"top"),l.x=O.x,l.y=O.y,l.markRedraw();var P={align:d,verticalAlign:h};p.setStyle(P),_.setStyle(P),D=l.getBoundingRect();var I=O.margin,F=n.getItemStyle(["color","opacity"]);F.fill=n.get("backgroundColor");var U=new Kr({shape:{x:D.x-I[3],y:D.y-I[0],width:D.width+I[1]+I[3],height:D.height+I[0]+I[2],r:n.get("borderRadius")},style:F,subPixelOptimize:!0,silent:!0});l.add(U)}},e.type="title",e}(Du);function XX(t){t.registerComponentModel(YX),t.registerComponentView(WX)}var Gz={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},qX=function(){function t(e){var n=this._condVal=et(e)?new RegExp(e):iL(e)?e:null;if(n==null){var r="";process.env.NODE_ENV!=="production"&&(r=na("Illegal regexp",e,"in")),Ht(r)}}return t.prototype.evaluate=function(e){var n=typeof e;return et(n)?this._condVal.test(e):Nn(n)?this._condVal.test(e+""):!1},t}(),QX=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),ZX=function(){function t(){}return t.prototype.evaluate=function(){for(var e=this.children,n=0;n<e.length;n++)if(!e[n].evaluate())return!1;return!0},t}(),KX=function(){function t(){}return t.prototype.evaluate=function(){for(var e=this.children,n=0;n<e.length;n++)if(e[n].evaluate())return!0;return!1},t}(),JX=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),eq=function(){function t(){}return t.prototype.evaluate=function(){for(var e=!!this.valueParser,n=this.getValue,r=n(this.valueGetterParam),a=e?this.valueParser(r):null,l=0;l<this.subCondList.length;l++)if(!this.subCondList[l].evaluate(e?a:r))return!1;return!0},t}();function fE(t,e){if(t===!0||t===!1){var n=new QX;return n.value=t,n}var r="";return jz(t)||(process.env.NODE_ENV!=="production"&&(r=na("Illegal config. Expect a plain object but actually",t)),Ht(r)),t.and?$z("and",t,e):t.or?$z("or",t,e):t.not?tq(t,e):nq(t,e)}function $z(t,e,n){var r=e[t],a="";process.env.NODE_ENV!=="production"&&(a=na('"and"/"or" condition should only be `'+t+": [...]` and must not be empty array.","Illegal condition:",e)),Be(r)||Ht(a),r.length||Ht(a);var l=t==="and"?new ZX:new KX;return l.children=ot(r,function(u){return fE(u,n)}),l.children.length||Ht(a),l}function tq(t,e){var n=t.not,r="";process.env.NODE_ENV!=="production"&&(r=na('"not" condition should only be `not: {}`.',"Illegal condition:",t)),jz(n)||Ht(r);var a=new JX;return a.child=fE(n,e),a.child||Ht(r),a}function nq(t,e){for(var n="",r=e.prepareGetValue(t),a=[],l=kn(t),u=t.parser,f=u?mN(u):null,d=0;d<l.length;d++){var h=l[d];if(!(h==="parser"||e.valueGetterAttrMap.get(h))){var p=yu(Gz,h)?Gz[h]:h,m=t[h],S=f?f(m):m,_=W$(p,S)||p==="reg"&&new qX(S);_||(process.env.NODE_ENV!=="production"&&(n=na('Illegal relational operation: "'+h+'" in condition:',t)),Ht(n)),a.push(_)}}a.length||(process.env.NODE_ENV!=="production"&&(n=na("Relational condition must have at least one operator.","Illegal condition:",t)),Ht(n));var w=new eq;return w.valueGetterParam=r,w.valueParser=f,w.getValue=e.getValue,w.subCondList=a,w}function jz(t){return it(t)&&!Ai(t)}var rq=function(){function t(e,n){this._cond=fE(e,n)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function iq(t,e){return new rq(t,e)}var aq={type:"echarts:filter",transform:function(t){for(var e=t.upstream,n,r=iq(t.config,{valueGetterAttrMap:xt({dimension:!0}),prepareGetValue:function(f){var d="",h=f.dimension;yu(f,"dimension")||(process.env.NODE_ENV!=="production"&&(d=na('Relation condition must has prop "dimension" specified.',"Illegal condition:",f)),Ht(d));var p=e.getDimensionInfo(h);return p||(process.env.NODE_ENV!=="production"&&(d=na("Can not find dimension info via: "+h+`.
213
+ `,"Existing dimensions: ",e.cloneAllDimensionInfo(),`.
214
+ `,"Illegal condition:",f,`.
215
+ `)),Ht(d)),{dimIdx:p.index}},getValue:function(f){return e.retrieveValueFromItem(n,f.dimIdx)}}),a=[],l=0,u=e.count();l<u;l++)n=e.getRawDataItem(l),r.evaluate()&&a.push(n);return{data:a}}},cE="";process.env.NODE_ENV!=="production"&&(cE=["Valid config is like:",'{ dimension: "age", order: "asc" }','or [{ dimension: "age", order: "asc"], { dimension: "date", order: "desc" }]'].join(" "));var oq={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,r="",a=rr(n);a.length||(process.env.NODE_ENV!=="production"&&(r="Empty `config` in sort transform."),Ht(r));var l=[];W(a,function(p){var m=p.dimension,S=p.order,_=p.parser,w=p.incomparable;if(m==null&&(process.env.NODE_ENV!=="production"&&(r='Sort transform config must has "dimension" specified.'+cE),Ht(r)),S!=="asc"&&S!=="desc"&&(process.env.NODE_ENV!=="production"&&(r='Sort transform config must has "order" specified.'+cE),Ht(r)),w&&w!=="min"&&w!=="max"){var E="";process.env.NODE_ENV!=="production"&&(E='incomparable must be "min" or "max" rather than "'+w+'".'),Ht(E)}if(S!=="asc"&&S!=="desc"){var b="";process.env.NODE_ENV!=="production"&&(b='order must be "asc" or "desc" rather than "'+S+'".'),Ht(b)}var D=e.getDimensionInfo(m);D||(process.env.NODE_ENV!=="production"&&(r=na("Can not find dimension info via: "+m+`.
216
+ `,"Existing dimensions: ",e.cloneAllDimensionInfo(),`.
217
+ `,"Illegal config:",p,`.
218
+ `)),Ht(r));var A=_?mN(_):null;_&&!A&&(process.env.NODE_ENV!=="production"&&(r=na("Invalid parser name "+_+`.
219
+ `,"Illegal config:",p,`.
220
+ `)),Ht(r)),l.push({dimIdx:D.index,parser:A,comparator:new _N(S,w)})});var u=e.sourceFormat;u!==ki&&u!==Fo&&(process.env.NODE_ENV!=="production"&&(r='sourceFormat "'+u+'" is not supported yet'),Ht(r));for(var f=[],d=0,h=e.count();d<h;d++)f.push(e.getRawDataItem(d));return f.sort(function(p,m){for(var S=0;S<l.length;S++){var _=l[S],w=e.retrieveValueFromItem(p,_.dimIdx),E=e.retrieveValueFromItem(m,_.dimIdx);_.parser&&(w=_.parser(w),E=_.parser(E));var b=_.comparator.evaluate(w,E);if(b!==0)return b}return 0}),{data:f}}};function lq(t){t.registerTransform(aq),t.registerTransform(oq)}var uq=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="dataset",n}return e.prototype.init=function(n,r,a){t.prototype.init.call(this,n,r,a),this._sourceManager=new bN(this),EN(this)},e.prototype.mergeOption=function(n,r){t.prototype.mergeOption.call(this,n,r),EN(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:Al},e}(En),sq=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="dataset",n}return e.type="dataset",e}(Du);function fq(t){t.registerComponentModel(uq),t.registerComponentView(sq)}var Ll=As.CMD;function Nv(t,e){return Math.abs(t-e)<1e-5}function dE(t){var e=t.data,n=t.len(),r=[],a,l=0,u=0,f=0,d=0;function h(J,ie){a&&a.length>2&&r.push(a),a=[J,ie]}function p(J,ie,ce,fe){Nv(J,ce)&&Nv(ie,fe)||a.push(J,ie,ce,fe,ce,fe)}function m(J,ie,ce,fe,Pe,ae){var ge=Math.abs(ie-J),pe=Math.tan(ge/4)*4/3,Le=ie<J?-1:1,Ge=Math.cos(J),St=Math.sin(J),It=Math.cos(ie),Dn=Math.sin(ie),Xt=Ge*Pe+ce,Mn=St*ae+fe,on=It*Pe+ce,zt=Dn*ae+fe,Ft=Pe*pe*Le,$e=ae*pe*Le;a.push(Xt-Ft*St,Mn+$e*Ge,on+Ft*Dn,zt-$e*It,on,zt)}for(var S,_,w,E,b=0;b<n;){var D=e[b++],A=b===1;switch(A&&(l=e[b],u=e[b+1],f=l,d=u,(D===Ll.L||D===Ll.C||D===Ll.Q)&&(a=[f,d])),D){case Ll.M:l=f=e[b++],u=d=e[b++],h(f,d);break;case Ll.L:S=e[b++],_=e[b++],p(l,u,S,_),l=S,u=_;break;case Ll.C:a.push(e[b++],e[b++],e[b++],e[b++],l=e[b++],u=e[b++]);break;case Ll.Q:S=e[b++],_=e[b++],w=e[b++],E=e[b++],a.push(l+2/3*(S-l),u+2/3*(_-u),w+2/3*(S-w),E+2/3*(_-E),w,E),l=w,u=E;break;case Ll.A:var O=e[b++],P=e[b++],I=e[b++],F=e[b++],U=e[b++],H=e[b++]+U;b+=1;var j=!e[b++];S=Math.cos(U)*I+O,_=Math.sin(U)*F+P,A?(f=S,d=_,h(f,d)):p(l,u,S,_),l=Math.cos(H)*I+O,u=Math.sin(H)*F+P;for(var X=(j?-1:1)*Math.PI/2,G=U;j?G>H:G<H;G+=X){var ee=j?Math.max(G+X,H):Math.min(G+X,H);m(G,ee,O,P,I,F)}break;case Ll.R:f=l=e[b++],d=u=e[b++],S=f+e[b++],_=d+e[b++],h(S,d),p(S,d,S,_),p(S,_,f,_),p(f,_,f,d),p(f,d,S,d);break;case Ll.Z:a&&p(l,u,f,d),l=f,u=d;break}}return a&&a.length>2&&r.push(a),r}function vE(t,e,n,r,a,l,u,f,d,h){if(Nv(t,n)&&Nv(e,r)&&Nv(a,u)&&Nv(l,f)){d.push(u,f);return}var p=2/h,m=p*p,S=u-t,_=f-e,w=Math.sqrt(S*S+_*_);S/=w,_/=w;var E=n-t,b=r-e,D=a-u,A=l-f,O=E*E+b*b,P=D*D+A*A;if(O<m&&P<m){d.push(u,f);return}var I=S*E+_*b,F=-S*D-_*A,U=O-I*I,H=P-F*F;if(U<m&&I>=0&&H<m&&F>=0){d.push(u,f);return}var j=[],X=[];Es(t,n,a,u,.5,j),Es(e,r,l,f,.5,X),vE(j[0],X[0],j[1],X[1],j[2],X[2],j[3],X[3],d,h),vE(j[4],X[4],j[5],X[5],j[6],X[6],j[7],X[7],d,h)}function cq(t,e){var n=dE(t),r=[];e=e||1;for(var a=0;a<n.length;a++){var l=n[a],u=[],f=l[0],d=l[1];u.push(f,d);for(var h=2;h<l.length;){var p=l[h++],m=l[h++],S=l[h++],_=l[h++],w=l[h++],E=l[h++];vE(f,d,p,m,S,_,w,E,u,e),f=w,d=E}r.push(u)}return r}function Yz(t,e,n){var r=t[e],a=t[1-e],l=Math.abs(r/a),u=Math.ceil(Math.sqrt(l*n)),f=Math.floor(n/u);f===0&&(f=1,u=n);for(var d=[],h=0;h<u;h++)d.push(f);var p=u*f,m=n-p;if(m>0)for(var h=0;h<m;h++)d[h%u]+=1;return d}function Wz(t,e,n){for(var r=t.r0,a=t.r,l=t.startAngle,u=t.endAngle,f=Math.abs(u-l),d=f*a,h=a-r,p=d>Math.abs(h),m=Yz([d,h],p?0:1,e),S=(p?f:h)/m.length,_=0;_<m.length;_++)for(var w=(p?h:f)/m[_],E=0;E<m[_];E++){var b={};p?(b.startAngle=l+S*_,b.endAngle=l+S*(_+1),b.r0=r+w*E,b.r=r+w*(E+1)):(b.startAngle=l+w*E,b.endAngle=l+w*(E+1),b.r0=r+S*_,b.r=r+S*(_+1)),b.clockwise=t.clockwise,b.cx=t.cx,b.cy=t.cy,n.push(b)}}function dq(t,e,n){for(var r=t.width,a=t.height,l=r>a,u=Yz([r,a],l?0:1,e),f=l?"width":"height",d=l?"height":"width",h=l?"x":"y",p=l?"y":"x",m=t[f]/u.length,S=0;S<u.length;S++)for(var _=t[d]/u[S],w=0;w<u[S];w++){var E={};E[h]=S*m,E[p]=w*_,E[f]=m,E[d]=_,E.x+=t.x,E.y+=t.y,n.push(E)}}function Xz(t,e,n,r){return t*r-n*e}function vq(t,e,n,r,a,l,u,f){var d=n-t,h=r-e,p=u-a,m=f-l,S=Xz(p,m,d,h);if(Math.abs(S)<1e-6)return null;var _=t-a,w=e-l,E=Xz(_,w,p,m)/S;return E<0||E>1?null:new ht(E*d+t,E*h+e)}function hq(t,e,n){var r=new ht;ht.sub(r,n,e),r.normalize();var a=new ht;ht.sub(a,t,e);var l=a.dot(r);return l}function Pv(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function pq(t,e,n){for(var r=t.length,a=[],l=0;l<r;l++){var u=t[l],f=t[(l+1)%r],d=vq(u[0],u[1],f[0],f[1],e.x,e.y,n.x,n.y);d&&a.push({projPt:hq(d,e,n),pt:d,idx:l})}if(a.length<2)return[{points:t},{points:t}];a.sort(function(b,D){return b.projPt-D.projPt});var h=a[0],p=a[a.length-1];if(p.idx<h.idx){var m=h;h=p,p=m}for(var S=[h.pt.x,h.pt.y],_=[p.pt.x,p.pt.y],w=[S],E=[_],l=h.idx+1;l<=p.idx;l++)Pv(w,t[l].slice());Pv(w,_),Pv(w,S);for(var l=p.idx+1;l<=h.idx+r;l++)Pv(E,t[l%r].slice());return Pv(E,S),Pv(E,_),[{points:w},{points:E}]}function qz(t){var e=t.points,n=[],r=[];zO(e,n,r);var a=new Wt(n[0],n[1],r[0]-n[0],r[1]-n[1]),l=a.width,u=a.height,f=a.x,d=a.y,h=new ht,p=new ht;return l>u?(h.x=p.x=f+l/2,h.y=d,p.y=d+u):(h.y=p.y=d+u/2,h.x=f,p.x=f+l),pq(e,h,p)}function d1(t,e,n,r){if(n===1)r.push(e);else{var a=Math.floor(n/2),l=t(e);d1(t,l[0],a,r),d1(t,l[1],n-a,r)}return r}function gq(t,e){for(var n=[],r=0;r<e;r++)n.push(pT(t));return n}function mq(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function yq(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}function _q(t,e){var n=[],r=t.shape,a;switch(t.type){case"rect":dq(r,e,n),a=Kr;break;case"sector":Wz(r,e,n),a=vc;break;case"circle":Wz({r0:0,r:r.r,startAngle:0,endAngle:Math.PI*2,cx:r.cx,cy:r.cy},e,n),a=vc;break;default:var l=t.getComputedTransform(),u=l?Math.sqrt(Math.max(l[0]*l[0]+l[1]*l[1],l[2]*l[2]+l[3]*l[3])):1,f=ot(cq(t.getUpdatedPathProxy(),u),function(D){return yq(D)}),d=f.length;if(d===0)d1(qz,{points:f[0]},e,n);else if(d===e)for(var h=0;h<d;h++)n.push({points:f[h]});else{var p=0,m=ot(f,function(D){var A=[],O=[];zO(D,A,O);var P=(O[1]-A[1])*(O[0]-A[0]);return p+=P,{poly:D,area:P}});m.sort(function(D,A){return A.area-D.area});for(var S=e,h=0;h<d;h++){var _=m[h];if(S<=0)break;var w=h===d-1?S:Math.ceil(_.area/p*e);w<0||(d1(qz,{points:_.poly},w,n),S-=w)}}a=yT;break}if(!a)return gq(t,e);for(var E=[],h=0;h<n.length;h++){var b=new a;b.setShape(n[h]),mq(t,b),E.push(b)}return E}function Sq(t,e){var n=t.length,r=e.length;if(n===r)return[t,e];for(var a=[],l=[],u=n<r?t:e,f=Math.min(n,r),d=Math.abs(r-n)/6,h=(f-2)/6,p=Math.ceil(d/h)+1,m=[u[0],u[1]],S=d,_=2;_<f;){var w=u[_-2],E=u[_-1],b=u[_++],D=u[_++],A=u[_++],O=u[_++],P=u[_++],I=u[_++];if(S<=0){m.push(b,D,A,O,P,I);continue}for(var F=Math.min(S,p-1)+1,U=1;U<=F;U++){var H=U/F;Es(w,b,A,P,H,a),Es(E,D,O,I,H,l),w=a[3],E=l[3],m.push(a[1],l[1],a[2],l[2],w,E),b=a[5],D=l[5],A=a[6],O=l[6]}S-=F-1}return u===t?[m,e]:[t,m]}function Qz(t,e){for(var n=t.length,r=t[n-2],a=t[n-1],l=[],u=0;u<e.length;)l[u++]=r,l[u++]=a;return l}function Cq(t,e){for(var n,r,a,l=[],u=[],f=0;f<Math.max(t.length,e.length);f++){var d=t[f],h=e[f],p=void 0,m=void 0;d?h?(n=Sq(d,h),p=n[0],m=n[1],r=p,a=m):(m=Qz(a||d,d),p=d):(p=Qz(r||h,h),m=h),l.push(p),u.push(m)}return[l,u]}function Zz(t){for(var e=0,n=0,r=0,a=t.length,l=0,u=a-2;l<a;u=l,l+=2){var f=t[u],d=t[u+1],h=t[l],p=t[l+1],m=f*p-h*d;e+=m,n+=(f+h)*m,r+=(d+p)*m}return e===0?[t[0]||0,t[1]||0]:[n/e/3,r/e/3,e]}function wq(t,e,n,r){for(var a=(t.length-2)/6,l=1/0,u=0,f=t.length,d=f-2,h=0;h<a;h++){for(var p=h*6,m=0,S=0;S<f;S+=2){var _=S===0?p:(p+S-2)%d+2,w=t[_]-n[0],E=t[_+1]-n[1],b=e[S]-r[0],D=e[S+1]-r[1],A=b-w,O=D-E;m+=A*A+O*O}m<l&&(l=m,u=h)}return u}function xq(t){for(var e=[],n=t.length,r=0;r<n;r+=2)e[r]=t[n-r-2],e[r+1]=t[n-r-1];return e}function Tq(t,e,n,r){for(var a=[],l,u=0;u<t.length;u++){var f=t[u],d=e[u],h=Zz(f),p=Zz(d);l==null&&(l=h[2]<0!=p[2]<0);var m=[],S=[],_=0,w=1/0,E=[],b=f.length;l&&(f=xq(f));for(var D=wq(f,d,h,p)*6,A=b-2,O=0;O<A;O+=2){var P=(D+O)%A+2;m[O+2]=f[P]-h[0],m[O+3]=f[P+1]-h[1]}if(m[0]=f[D]-h[0],m[1]=f[D+1]-h[1],n>0)for(var I=r/n,F=-r/2;F<=r/2;F+=I){for(var U=Math.sin(F),H=Math.cos(F),j=0,O=0;O<f.length;O+=2){var X=m[O],G=m[O+1],ee=d[O]-p[0],J=d[O+1]-p[1],ie=ee*H-J*U,ce=ee*U+J*H;E[O]=ie,E[O+1]=ce;var fe=ie-X,Pe=ce-G;j+=fe*fe+Pe*Pe}if(j<w){w=j,_=F;for(var ae=0;ae<E.length;ae++)S[ae]=E[ae]}}else for(var ge=0;ge<b;ge+=2)S[ge]=d[ge]-p[0],S[ge+1]=d[ge+1]-p[1];a.push({from:m,to:S,fromCp:h,toCp:p,rotation:-_})}return a}function v1(t){return t.__isCombineMorphing}var Kz="__mOriginal_";function h1(t,e,n){var r=Kz+e,a=t[r]||t[e];t[r]||(t[r]=t[e]);var l=n.replace,u=n.after,f=n.before;t[e]=function(){var d=arguments,h;return f&&f.apply(this,d),l?h=l.apply(this,d):h=a.apply(this,d),u&&u.apply(this,d),h}}function Qg(t,e){var n=Kz+e;t[n]&&(t[e]=t[n],t[n]=null)}function Jz(t,e){for(var n=0;n<t.length;n++)for(var r=t[n],a=0;a<r.length;){var l=r[a],u=r[a+1];r[a++]=e[0]*l+e[2]*u+e[4],r[a++]=e[1]*l+e[3]*u+e[5]}}function eF(t,e){var n=t.getUpdatedPathProxy(),r=e.getUpdatedPathProxy(),a=Cq(dE(n),dE(r)),l=a[0],u=a[1],f=t.getComputedTransform(),d=e.getComputedTransform();function h(){this.transform=null}f&&Jz(l,f),d&&Jz(u,d),h1(e,"updateTransform",{replace:h}),e.transform=null;var p=Tq(l,u,10,Math.PI),m=[];h1(e,"buildPath",{replace:function(S){for(var _=e.__morphT,w=1-_,E=[],b=0;b<p.length;b++){var D=p[b],A=D.from,O=D.to,P=D.rotation*_,I=D.fromCp,F=D.toCp,U=Math.sin(P),H=Math.cos(P);D0(E,I,F,_);for(var j=0;j<A.length;j+=2){var X=A[j],G=A[j+1],ee=O[j],J=O[j+1],ie=X*w+ee*_,ce=G*w+J*_;m[j]=ie*H-ce*U+E[0],m[j+1]=ie*U+ce*H+E[1]}var fe=m[0],Pe=m[1];S.moveTo(fe,Pe);for(var j=2;j<A.length;){var ee=m[j++],J=m[j++],ae=m[j++],ge=m[j++],pe=m[j++],Le=m[j++];fe===ee&&Pe===J&&ae===pe&&ge===Le?S.lineTo(pe,Le):S.bezierCurveTo(ee,J,ae,ge,pe,Le),fe=pe,Pe=Le}}}})}function hE(t,e,n){if(!t||!e)return e;var r=n.done,a=n.during;eF(t,e),e.__morphT=0;function l(){Qg(e,"buildPath"),Qg(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape()}return e.animateTo({__morphT:1},Vt({during:function(u){e.dirtyShape(),a&&a(u)},done:function(){l(),r&&r()}},n)),e}function bq(t,e,n,r,a,l){var u=16;t=a===n?0:Math.round(32767*(t-n)/(a-n)),e=l===r?0:Math.round(32767*(e-r)/(l-r));for(var f=0,d,h=(1<<u)/2;h>0;h/=2){var p=0,m=0;(t&h)>0&&(p=1),(e&h)>0&&(m=1),f+=h*h*(3*p^m),m===0&&(p===1&&(t=h-1-t,e=h-1-e),d=t,t=e,e=d)}return f}function p1(t){var e=1/0,n=1/0,r=-1/0,a=-1/0,l=ot(t,function(f){var d=f.getBoundingRect(),h=f.getComputedTransform(),p=d.x+d.width/2+(h?h[4]:0),m=d.y+d.height/2+(h?h[5]:0);return e=Math.min(p,e),n=Math.min(m,n),r=Math.max(p,r),a=Math.max(m,a),[p,m]}),u=ot(l,function(f,d){return{cp:f,z:bq(f[0],f[1],e,n,r,a),path:t[d]}});return u.sort(function(f,d){return f.z-d.z}).map(function(f){return f.path})}function tF(t){return _q(t.path,t.count)}function pE(){return{fromIndividuals:[],toIndividuals:[],count:0}}function Eq(t,e,n){var r=[];function a(I){for(var F=0;F<I.length;F++){var U=I[F];v1(U)?a(U.childrenRef()):U instanceof Gt&&r.push(U)}}a(t);var l=r.length;if(!l)return pE();var u=n.dividePath||tF,f=u({path:e,count:l});if(f.length!==l)return console.error("Invalid morphing: unmatched splitted path"),pE();r=p1(r),f=p1(f);for(var d=n.done,h=n.during,p=n.individualDelay,m=new Kp,S=0;S<l;S++){var _=r[S],w=f[S];w.parent=e,w.copyTransform(m),p||eF(_,w)}e.__isCombineMorphing=!0,e.childrenRef=function(){return f};function E(I){for(var F=0;F<f.length;F++)f[F].addSelfToZr(I)}h1(e,"addSelfToZr",{after:function(I){E(I)}}),h1(e,"removeSelfFromZr",{after:function(I){for(var F=0;F<f.length;F++)f[F].removeSelfFromZr(I)}});function b(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,Qg(e,"addSelfToZr"),Qg(e,"removeSelfFromZr")}var D=f.length;if(p)for(var A=D,O=function(){A--,A===0&&(b(),d&&d())},S=0;S<D;S++){var P=p?Vt({delay:(n.delay||0)+p(S,D,r[S],f[S]),done:O},n):n;hE(r[S],f[S],P)}else e.__morphT=0,e.animateTo({__morphT:1},Vt({during:function(I){for(var F=0;F<D;F++){var U=f[F];U.__morphT=e.__morphT,U.dirtyShape()}h&&h(I)},done:function(){b();for(var I=0;I<t.length;I++)Qg(t[I],"updateTransform");d&&d()}},n));return e.__zr&&E(e.__zr),{fromIndividuals:r,toIndividuals:f,count:D}}function Dq(t,e,n){var r=e.length,a=[],l=n.dividePath||tF;function u(_){for(var w=0;w<_.length;w++){var E=_[w];v1(E)?u(E.childrenRef()):E instanceof Gt&&a.push(E)}}if(v1(t)){u(t.childrenRef());var f=a.length;if(f<r)for(var d=0,h=f;h<r;h++)a.push(pT(a[d++%f]));a.length=r}else{a=l({path:t,count:r});for(var p=t.getComputedTransform(),h=0;h<a.length;h++)a[h].setLocalTransform(p);if(a.length!==r)return console.error("Invalid morphing: unmatched splitted path"),pE()}a=p1(a),e=p1(e);for(var m=n.individualDelay,h=0;h<r;h++){var S=m?Vt({delay:(n.delay||0)+m(h,r,a[h],e[h])},n):n;hE(a[h],e[h],S)}return{fromIndividuals:a,toIndividuals:e,count:e.length}}function nF(t){return Be(t[0])}function rF(t,e){for(var n=[],r=t.length,a=0;a<r;a++)n.push({one:t[a],many:[]});for(var a=0;a<e.length;a++){var l=e[a].length,u=void 0;for(u=0;u<l;u++)n[u%r].many.push(e[a][u])}for(var f=0,a=r-1;a>=0;a--)if(!n[a].many.length){var d=n[f].many;if(d.length<=1)if(f)f=0;else return n;var l=d.length,h=Math.ceil(l/2);n[a].many=d.slice(h,l),n[f].many=d.slice(0,h),f++}return n}var Mq={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),r=0;r<t.count;r++){var a=pT(t.path);a.setStyle("opacity",n),e.push(a)}return e},split:null};function gE(t,e,n,r,a,l){if(!t.length||!e.length)return;var u=v_("update",r,a);if(!(u&&u.duration>0))return;var f=r.getModel("universalTransition").get("delay"),d=Object.assign({setToFinal:!0},u),h,p;nF(t)&&(h=t,p=e),nF(e)&&(h=e,p=t);function m(D,A,O,P,I){var F=D.many,U=D.one;if(F.length===1&&!I){var H=A?F[0]:U,j=A?U:F[0];if(v1(H))m({many:[H],one:j},!0,O,P,!0);else{var X=f?Vt({delay:f(O,P)},d):d;hE(H,j,X),l(H,j,H,j,X)}}else for(var G=Vt({dividePath:Mq[n],individualDelay:f&&function(Pe,ae,ge,pe){return f(Pe+O,P)}},d),ee=A?Eq(F,U,G):Dq(U,F,G),J=ee.fromIndividuals,ie=ee.toIndividuals,ce=J.length,fe=0;fe<ce;fe++){var X=f?Vt({delay:f(fe,ce)},d):d;l(J[fe],ie[fe],A?F[fe]:D.one,A?D.one:F[fe],X)}}for(var S=h?h===t:t.length>e.length,_=h?rF(p,h):rF(S?e:t,[S?t:e]),w=0,E=0;E<_.length;E++)w+=_[E].many.length;for(var b=0,E=0;E<_.length;E++)m(_[E],S,b,w),b+=_[E].many.length}function Oc(t){if(!t)return[];if(Be(t)){for(var e=[],n=0;n<t.length;n++)e.push(Oc(t[n]));return e}var r=[];return t.traverse(function(a){a instanceof Gt&&!a.disableMorphing&&!a.invisible&&!a.ignore&&r.push(a)}),r}var iF=1e4,Rq=jn();function Aq(t){for(var e=t.dimensions,n=0;n<e.length;n++){var r=t.getDimensionInfo(e[n]);if(r&&r.otherDims.itemGroupId===0)return e[n]}}function aF(t){var e=[];return W(t,function(n){var r=n.data;if(r.count()>iF){process.env.NODE_ENV!=="production"&&Fr("Universal transition is disabled on large data > 10k.");return}for(var a=r.getIndices(),l=Aq(r),u=0;u<a.length;u++)e.push({dataGroupId:n.dataGroupId,data:r,dim:n.dim||l,divide:n.divide,dataIndex:u})}),e}function mE(t,e,n){t.traverse(function(r){r instanceof Gt&&Io(r,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})})}function yE(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function Iv(t){t.stopAnimation(),t.isGroup&&t.traverse(function(e){e.stopAnimation()})}function Lq(t,e,n){var r=v_("update",n,e);r&&t.traverse(function(a){if(a instanceof fv){var l=lG(a);l&&a.animateFrom({style:l},r)}})}function Oq(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++){var a=t[r],l=e[r];if(a.data.getId(a.dataIndex)!==l.data.getId(l.dataIndex))return!1}return!0}function oF(t,e,n){var r=aF(t),a=aF(e);function l(D,A,O,P,I){(O||D)&&A.animateFrom({style:O&&O!==D?Re(Re({},O.style),D.style):D.style},I)}function u(D){for(var A=0;A<D.length;A++)if(D[A].dim)return D[A].dim}var f=u(r),d=u(a),h=!1;function p(D,A){return function(O){var P=O.data,I=O.dataIndex;if(A)return P.getId(I);var F=O.dataGroupId,U=D?f||d:d||f,H=U&&P.getDimensionInfo(U),j=H&&H.ordinalMeta;if(H){var X=P.get(H.name,I);return j&&j.categories[X]||X+""}var G=P.getRawDataItem(I);return G&&G.groupId?G.groupId+"":F||P.getId(I)}}var m=Oq(r,a),S={};if(!m)for(var _=0;_<a.length;_++){var w=a[_],E=w.data.getItemGraphicEl(w.dataIndex);E&&(S[E.id]=!0)}function b(D,A){var O=r[A],P=a[D],I=P.data.hostModel,F=O.data.getItemGraphicEl(O.dataIndex),U=P.data.getItemGraphicEl(P.dataIndex);if(F===U){U&&Lq(U,P.dataIndex,I);return}F&&S[F.id]||U&&(Iv(U),F?(Iv(F),yE(F),h=!0,gE(Oc(F),Oc(U),P.divide,I,D,l)):mE(U,I,D))}new Lb(r,a,p(!0,m),p(!1,m),null,"multiple").update(b).updateManyToOne(function(D,A){var O=a[D],P=O.data,I=P.hostModel,F=P.getItemGraphicEl(O.dataIndex),U=Tr(ot(A,function(H){return r[H].data.getItemGraphicEl(r[H].dataIndex)}),function(H){return H&&H!==F&&!S[H.id]});F&&(Iv(F),U.length?(W(U,function(H){Iv(H),yE(H)}),h=!0,gE(Oc(U),Oc(F),O.divide,I,D,l)):mE(F,I,O.dataIndex))}).updateOneToMany(function(D,A){var O=r[A],P=O.data.getItemGraphicEl(O.dataIndex);if(!(P&&S[P.id])){var I=Tr(ot(D,function(U){return a[U].data.getItemGraphicEl(a[U].dataIndex)}),function(U){return U&&U!==P}),F=a[D[0]].data.hostModel;I.length&&(W(I,function(U){return Iv(U)}),P?(Iv(P),yE(P),h=!0,gE(Oc(P),Oc(I),O.divide,F,D[0],l)):W(I,function(U){return mE(U,F,D[0])}))}}).updateManyToMany(function(D,A){new Lb(A,D,function(O){return r[O].data.getId(r[O].dataIndex)},function(O){return a[O].data.getId(a[O].dataIndex)}).update(function(O,P){b(D[O],A[P])}).execute()}).execute(),h&&W(e,function(D){var A=D.data,O=A.hostModel,P=O&&n.getViewOfSeriesModel(O),I=v_("update",O,0);P&&O.isAnimationEnabled()&&I&&I.duration>0&&P.group.traverse(function(F){F instanceof Gt&&!F.animators.length&&F.animateFrom({style:{opacity:0}},I)})})}function lF(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function uF(t){return Be(t)?t.sort().join(","):t}function Fs(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function kq(t,e){var n=xt(),r=xt(),a=xt();W(t.oldSeries,function(u,f){var d=t.oldDataGroupIds[f],h=t.oldData[f],p=lF(u),m=uF(p);r.set(m,{dataGroupId:d,data:h}),Be(p)&&W(p,function(S){a.set(S,{key:m,dataGroupId:d,data:h})})});function l(u){n.get(u)&&Fr("Duplicated seriesKey in universalTransition "+u)}return W(e.updatedSeries,function(u){if(u.isUniversalTransitionEnabled()&&u.isAnimationEnabled()){var f=u.get("dataGroupId"),d=u.getData(),h=lF(u),p=uF(h),m=r.get(p);if(m)process.env.NODE_ENV!=="production"&&l(p),n.set(p,{oldSeries:[{dataGroupId:m.dataGroupId,divide:Fs(m.data),data:m.data}],newSeries:[{dataGroupId:f,divide:Fs(d),data:d}]});else if(Be(h)){process.env.NODE_ENV!=="production"&&l(p);var S=[];W(h,function(E){var b=r.get(E);b.data&&S.push({dataGroupId:b.dataGroupId,divide:Fs(b.data),data:b.data})}),S.length&&n.set(p,{oldSeries:S,newSeries:[{dataGroupId:f,data:d,divide:Fs(d)}]})}else{var _=a.get(h);if(_){var w=n.get(_.key);w||(w={oldSeries:[{dataGroupId:_.dataGroupId,data:_.data,divide:Fs(_.data)}],newSeries:[]},n.set(_.key,w)),w.newSeries.push({dataGroupId:f,data:d,divide:Fs(d)})}}}}),n}function sF(t,e){for(var n=0;n<t.length;n++){var r=e.seriesIndex!=null&&e.seriesIndex===t[n].seriesIndex||e.seriesId!=null&&e.seriesId===t[n].id;if(r)return n}}function Nq(t,e,n,r){var a=[],l=[];W(rr(t.from),function(u){var f=sF(e.oldSeries,u);f>=0&&a.push({dataGroupId:e.oldDataGroupIds[f],data:e.oldData[f],divide:Fs(e.oldData[f]),dim:u.dimension})}),W(rr(t.to),function(u){var f=sF(n.updatedSeries,u);if(f>=0){var d=n.updatedSeries[f].getData();l.push({dataGroupId:e.oldDataGroupIds[f],data:d,divide:Fs(d),dim:u.dimension})}}),a.length>0&&l.length>0&&oF(a,l,r)}function Pq(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,n,r){W(rr(r.seriesTransition),function(a){W(rr(a.to),function(l){for(var u=r.updatedSeries,f=0;f<u.length;f++)(l.seriesIndex!=null&&l.seriesIndex===u[f].seriesIndex||l.seriesId!=null&&l.seriesId===u[f].id)&&(u[f][N_]=!0)})})}),t.registerUpdateLifecycle("series:transition",function(e,n,r){var a=Rq(n);if(a.oldSeries&&r.updatedSeries&&r.optionChanged){var l=r.seriesTransition;if(l)W(rr(l),function(_){Nq(_,a,r,n)});else{var u=kq(a,r);W(u.keys(),function(_){var w=u.get(_);oF(w.oldSeries,w.newSeries,n)})}W(r.updatedSeries,function(_){_[N_]&&(_[N_]=!1)})}for(var f=e.getSeries(),d=a.oldSeries=[],h=a.oldDataGroupIds=[],p=a.oldData=[],m=0;m<f.length;m++){var S=f[m].getData();S.count()<iF&&(d.push(f[m]),h.push(f[m].get("dataGroupId")),p.push(S))}})}function fF(t,e,n){var r=jf.createCanvas(),a=e.getWidth(),l=e.getHeight(),u=r.style;return u&&(u.position="absolute",u.left="0",u.top="0",u.width=a+"px",u.height=l+"px",r.setAttribute("data-zr-dom-id",t)),r.width=a*n,r.height=l*n,r}var Iq=function(t){mn(e,t);function e(n,r,a){var l=t.call(this)||this;l.motionBlur=!1,l.lastFrameAlpha=.7,l.dpr=1,l.virtual=!1,l.config={},l.incremental=!1,l.zlevel=0,l.maxRepaintRectCount=5,l.__dirty=!0,l.__firstTimePaint=!0,l.__used=!1,l.__drawIndex=0,l.__startIndex=0,l.__endIndex=0,l.__prevStartIndex=null,l.__prevEndIndex=null;var u;a=a||Y0,typeof n=="string"?u=fF(n,r,a):it(n)&&(u=n,n=u.id),l.id=n,l.dom=u;var f=u.style;return f&&(uL(u),u.onselectstart=function(){return!1},f.padding="0",f.margin="0",f.borderWidth="0"),l.painter=r,l.dpr=a,l}return e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var n=this.dpr;this.domBack=fF("back-"+this.id,this.painter,n),this.ctxBack=this.domBack.getContext("2d"),n!==1&&this.ctxBack.scale(n,n)},e.prototype.createRepaintRects=function(n,r,a,l){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var u=[],f=this.maxRepaintRectCount,d=!1,h=new Wt(0,0,0,0);function p(A){if(!(!A.isFinite()||A.isZero()))if(u.length===0){var O=new Wt(0,0,0,0);O.copy(A),u.push(O)}else{for(var P=!1,I=1/0,F=0,U=0;U<u.length;++U){var H=u[U];if(H.intersect(A)){var j=new Wt(0,0,0,0);j.copy(H),j.union(A),u[U]=j,P=!0;break}else if(d){h.copy(A),h.union(H);var X=A.width*A.height,G=H.width*H.height,ee=h.width*h.height,J=ee-X-G;J<I&&(I=J,F=U)}}if(d&&(u[F].union(A),P=!0),!P){var O=new Wt(0,0,0,0);O.copy(A),u.push(O)}d||(d=u.length>=f)}}for(var m=this.__startIndex;m<this.__endIndex;++m){var S=n[m];if(S){var _=S.shouldBePainted(a,l,!0,!0),w=S.__isRendered&&(S.__dirty&La||!_)?S.getPrevPaintRect():null;w&&p(w);var E=_&&(S.__dirty&La||!S.__isRendered)?S.getPaintRect():null;E&&p(E)}}for(var m=this.__prevStartIndex;m<this.__prevEndIndex;++m){var S=r[m],_=S.shouldBePainted(a,l,!0,!0);if(S&&(!_||!S.__zr)&&S.__isRendered){var w=S.getPrevPaintRect();w&&p(w)}}var b;do{b=!1;for(var m=0;m<u.length;){if(u[m].isZero()){u.splice(m,1);continue}for(var D=m+1;D<u.length;)u[m].intersect(u[D])?(b=!0,u[m].union(u[D]),u.splice(D,1)):D++;m++}}while(b);return this._paintRects=u,u},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(n,r){var a=this.dpr,l=this.dom,u=l.style,f=this.domBack;u&&(u.width=n+"px",u.height=r+"px"),l.width=n*a,l.height=r*a,f&&(f.width=n*a,f.height=r*a,a!==1&&this.ctxBack.scale(a,a))},e.prototype.clear=function(n,r,a){var l=this.dom,u=this.ctx,f=l.width,d=l.height;r=r||this.clearColor;var h=this.motionBlur&&!n,p=this.lastFrameAlpha,m=this.dpr,S=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(l,0,0,f/m,d/m));var _=this.domBack;function w(E,b,D,A){if(u.clearRect(E,b,D,A),r&&r!=="transparent"){var O=void 0;if(T0(r)){var P=r.global||r.__width===D&&r.__height===A;O=P&&r.__canvasGradient||vb(u,r,{x:0,y:0,width:D,height:A}),r.__canvasGradient=O,r.__width=D,r.__height=A}else iH(r)&&(r.scaleX=r.scaleX||m,r.scaleY=r.scaleY||m,O=hb(u,r,{dirty:function(){S.setUnpainted(),S.__painter.refresh()}}));u.save(),u.fillStyle=O||r,u.fillRect(E,b,D,A),u.restore()}h&&(u.save(),u.globalAlpha=p,u.drawImage(_,E,b,D,A),u.restore())}!a||h?w(0,0,f,d):a.length&&W(a,function(E){w(E.x*m,E.y*m,E.width*m,E.height*m)})},e}(_l);const _E=Iq;var cF=1e5,kc=314159,g1=.01,zq=.001;function Fq(t){return t?t.__builtin__?!0:!(typeof t.resize!="function"||typeof t.refresh!="function"):!1}function Bq(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var Uq=function(){function t(e,n,r,a){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var l=!e.nodeName||e.nodeName.toUpperCase()==="CANVAS";this._opts=r=Re({},r||{}),this.dpr=r.devicePixelRatio||Y0,this._singleCanvas=l,this.root=e;var u=e.style;u&&(uL(e),e.innerHTML=""),this.storage=n;var f=this._zlevelList;this._prevDisplayList=[];var d=this._layers;if(l){var p=e,m=p.width,S=p.height;r.width!=null&&(m=r.width),r.height!=null&&(S=r.height),this.dpr=r.devicePixelRatio||1,p.width=m*this.dpr,p.height=S*this.dpr,this._width=m,this._height=S;var _=new _E(p,this,this.dpr);_.__builtin__=!0,_.initContext(),d[kc]=_,_.zlevel=kc,f.push(kc),this._domRoot=e}else{this._width=V_(e,0,r),this._height=V_(e,1,r);var h=this._domRoot=Bq(this._width,this._height);e.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},t.prototype.refresh=function(e){var n=this.storage.getDisplayList(!0),r=this._prevDisplayList,a=this._zlevelList;this._redrawId=Math.random(),this._paintList(n,r,e,this._redrawId);for(var l=0;l<a.length;l++){var u=a[l],f=this._layers[u];if(!f.__builtin__&&f.refresh){var d=l===0?this._backgroundColor:null;f.refresh(d)}}return this._opts.useDirtyRect&&(this._prevDisplayList=n.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(e){var n=e.length,r=this._hoverlayer;if(r&&r.clear(),!!n){for(var a={inHover:!0,viewWidth:this._width,viewHeight:this._height},l,u=0;u<n;u++){var f=e[u];f.__inHover&&(r||(r=this._hoverlayer=this.getLayer(cF)),l||(l=r.ctx,l.save()),Tc(l,f,a,u===n-1))}l&&l.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(cF)},t.prototype.paintOne=function(e,n){mP(e,n)},t.prototype._paintList=function(e,n,r,a){if(this._redrawId===a){r=r||!1,this._updateLayerStatus(e);var l=this._doPaintList(e,n,r),u=l.finished,f=l.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),f&&this._paintHoverList(e),u)this.eachLayer(function(h){h.afterBrush&&h.afterBrush()});else{var d=this;ux(function(){d._paintList(e,n,r,a)})}}},t.prototype._compositeManually=function(){var e=this.getLayer(kc).ctx,n=this._domRoot.width,r=this._domRoot.height;e.clearRect(0,0,n,r),this.eachBuiltinLayer(function(a){a.virtual&&e.drawImage(a.dom,0,0,n,r)})},t.prototype._doPaintList=function(e,n,r){for(var a=this,l=[],u=this._opts.useDirtyRect,f=0;f<this._zlevelList.length;f++){var d=this._zlevelList[f],h=this._layers[d];h.__builtin__&&h!==this._hoverlayer&&(h.__dirty||r)&&l.push(h)}for(var p=!0,m=!1,S=function(E){var b=l[E],D=b.ctx,A=u&&b.createRepaintRects(e,n,_._width,_._height),O=r?b.__startIndex:b.__drawIndex,P=!r&&b.incremental&&Date.now,I=P&&Date.now(),F=b.zlevel===_._zlevelList[0]?_._backgroundColor:null;if(b.__startIndex===b.__endIndex)b.clear(!1,F,A);else if(O===b.__startIndex){var U=e[O];(!U.incremental||!U.notClear||r)&&b.clear(!1,F,A)}O===-1&&(console.error("For some unknown reason. drawIndex is -1"),O=b.__startIndex);var H,j=function(J){var ie={inHover:!1,allClipped:!1,prevEl:null,viewWidth:a._width,viewHeight:a._height};for(H=O;H<b.__endIndex;H++){var ce=e[H];if(ce.__inHover&&(m=!0),a._doPaintEl(ce,b,u,J,ie,H===b.__endIndex-1),P){var fe=Date.now()-I;if(fe>15)break}}ie.prevElClipPaths&&D.restore()};if(A)if(A.length===0)H=b.__endIndex;else for(var X=_.dpr,G=0;G<A.length;++G){var ee=A[G];D.save(),D.beginPath(),D.rect(ee.x*X,ee.y*X,ee.width*X,ee.height*X),D.clip(),j(ee),D.restore()}else D.save(),j(),D.restore();b.__drawIndex=H,b.__drawIndex<b.__endIndex&&(p=!1)},_=this,w=0;w<l.length;w++)S(w);return Tt.wxa&&W(this._layers,function(E){E&&E.ctx&&E.ctx.draw&&E.ctx.draw()}),{finished:p,needsRefreshHover:m}},t.prototype._doPaintEl=function(e,n,r,a,l,u){var f=n.ctx;if(r){var d=e.getPaintRect();(!a||d&&d.intersect(a))&&(Tc(f,e,l,u),e.setPrevPaintRect(d))}else Tc(f,e,l,u)},t.prototype.getLayer=function(e,n){this._singleCanvas&&!this._needsManuallyCompositing&&(e=kc);var r=this._layers[e];return r||(r=new _E("zr_"+e,this,this.dpr),r.zlevel=e,r.__builtin__=!0,this._layerConfig[e]?cn(r,this._layerConfig[e],!0):this._layerConfig[e-g1]&&cn(r,this._layerConfig[e-g1],!0),n&&(r.virtual=n),this.insertLayer(e,r),r.initContext()),r},t.prototype.insertLayer=function(e,n){var r=this._layers,a=this._zlevelList,l=a.length,u=this._domRoot,f=null,d=-1;if(r[e]){process.env.NODE_ENV!=="production"&&Yf("ZLevel "+e+" has been used already");return}if(!Fq(n)){process.env.NODE_ENV!=="production"&&Yf("Layer of zlevel "+e+" is not valid");return}if(l>0&&e>a[0]){for(d=0;d<l-1&&!(a[d]<e&&a[d+1]>e);d++);f=r[a[d]]}if(a.splice(d+1,0,e),r[e]=n,!n.virtual)if(f){var h=f.dom;h.nextSibling?u.insertBefore(n.dom,h.nextSibling):u.appendChild(n.dom)}else u.firstChild?u.insertBefore(n.dom,u.firstChild):u.appendChild(n.dom);n.__painter=this},t.prototype.eachLayer=function(e,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var l=r[a];e.call(n,this._layers[l],l)}},t.prototype.eachBuiltinLayer=function(e,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var l=r[a],u=this._layers[l];u.__builtin__&&e.call(n,u,l)}},t.prototype.eachOtherLayer=function(e,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var l=r[a],u=this._layers[l];u.__builtin__||e.call(n,u,l)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(e){this.eachBuiltinLayer(function(m,S){m.__dirty=m.__used=!1});function n(m){l&&(l.__endIndex!==m&&(l.__dirty=!0),l.__endIndex=m)}if(this._singleCanvas)for(var r=1;r<e.length;r++){var a=e[r];if(a.zlevel!==e[r-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var l=null,u=0,f,d;for(d=0;d<e.length;d++){var a=e[d],h=a.zlevel,p=void 0;f!==h&&(f=h,u=0),a.incremental?(p=this.getLayer(h+zq,this._needsManuallyCompositing),p.incremental=!0,u=1):p=this.getLayer(h+(u>0?g1:0),this._needsManuallyCompositing),p.__builtin__||Yf("ZLevel "+h+" has been used by unkown layer "+p.id),p!==l&&(p.__used=!0,p.__startIndex!==d&&(p.__dirty=!0),p.__startIndex=d,p.incremental?p.__drawIndex=-1:p.__drawIndex=d,n(d),l=p),a.__dirty&La&&!a.__inHover&&(p.__dirty=!0,p.incremental&&p.__drawIndex<0&&(p.__drawIndex=d))}n(d),this.eachBuiltinLayer(function(m,S){!m.__used&&m.getElementCount()>0&&(m.__dirty=!0,m.__startIndex=m.__endIndex=m.__drawIndex=0),m.__dirty&&m.__drawIndex<0&&(m.__drawIndex=m.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(e){e.clear()},t.prototype.setBackgroundColor=function(e){this._backgroundColor=e,W(this._layers,function(n){n.setUnpainted()})},t.prototype.configLayer=function(e,n){if(n){var r=this._layerConfig;r[e]?cn(r[e],n,!0):r[e]=n;for(var a=0;a<this._zlevelList.length;a++){var l=this._zlevelList[a];if(l===e||l===e+g1){var u=this._layers[l];cn(u,r[e],!0)}}}},t.prototype.delLayer=function(e){var n=this._layers,r=this._zlevelList,a=n[e];a&&(a.dom.parentNode.removeChild(a.dom),delete n[e],r.splice(dn(r,e),1))},t.prototype.resize=function(e,n){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var a=this._opts,l=this.root;if(e!=null&&(a.width=e),n!=null&&(a.height=n),e=V_(l,0,a),n=V_(l,1,a),r.style.display="",this._width!==e||n!==this._height){r.style.width=e+"px",r.style.height=n+"px";for(var u in this._layers)this._layers.hasOwnProperty(u)&&this._layers[u].resize(e,n);this.refresh(!0)}this._width=e,this._height=n}else{if(e==null||n==null)return;this._width=e,this._height=n,this.getLayer(kc).resize(e,n)}return this},t.prototype.clearLayer=function(e){var n=this._layers[e];n&&n.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[kc].dom;var n=new _E("image",this,e.pixelRatio||this.dpr);n.initContext(),n.clear(!1,e.backgroundColor||this._backgroundColor);var r=n.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var a=n.dom.width,l=n.dom.height;this.eachLayer(function(m){m.__builtin__?r.drawImage(m.dom,0,0,a,l):m.renderToCanvas&&(r.save(),m.renderToCanvas(r),r.restore())})}else for(var u={inHover:!1,viewWidth:this._width,viewHeight:this._height},f=this.storage.getDisplayList(!0),d=0,h=f.length;d<h;d++){var p=f[d];Tc(r,p,u,d===h-1)}return n.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();const Vq=Uq;function Hq(t){t.registerPainter("canvas",Vq)}const Gq={main:"_main_5reof_1"};$g([XX,jX,wX,fq,lq,fW,FY,Pq,Hq]);const $q=t=>{const e=st.useRef(null),n=st.useRef(null),r=st.useRef(null);st.useEffect(()=>(e.current&&n.current&&(r.current=new ResizeObserver(u=>{for(const f of u)f.target===e.current&&l()}),r.current.observe(e.current)),()=>{var u;e.current&&((u=r.current)==null||u.unobserve(e.current)),r.current=null}),[e.current,n.current]),st.useEffect(()=>{e.current&&!n.current&&(n.current=$7(e.current))},[e.current]),st.useEffect(()=>{n.current&&e.current&&n.current.setOption(t.option)},[n.current]);const a=()=>{n.current&&n.current.resize()},{run:l}=fU.useDebounceFn(a,{wait:300});return Ne("div",{ref:e,className:Gq.main})},dF={editableCellValueWrap:"_editableCellValueWrap_1hw6h_1"},vF=st.createContext(null),jq=({index:t,...e})=>{const[n]=ft.Form.useForm();return Ne(ft.Form,{form:n,component:!1,children:Ne(vF.Provider,{value:n,children:Ne("tr",{...e})})})};function Yq(t){const{title:e,editable:n,children:r,dataIndex:a,record:l,rules:u,handleSave:f,type:d="input",selectProps:h,inputProps:p,textareaProps:m,...S}=t,[_,w]=st.useState(!1),E=st.useRef(null),b=st.useContext(vF);st.useEffect(()=>{_&&E.current.focus()},[_]);const D=()=>{w(!_),b.setFieldsValue({[a]:l[a]})},A=async()=>{try{const I=await b.validateFields();D(),f({...l,...I})}catch(I){console.log("Save failed:",I)}},O=()=>{switch(d){case"input":return Ne(ft.Input,{ref:E,onPressEnter:A,onBlur:A,...p});case"select":return Ne(ft.Select,{ref:E,onBlur:A,...h});case"textarea":return Ne(ft.Input.TextArea,{autoSize:!0,ref:E,onBlur:A,...m});default:return Ne(ft.Input,{ref:E,onPressEnter:A,onBlur:A,...p})}};let P=r;return n&&(P=_?Ne(ft.Form.Item,{style:{margin:0},name:a,rules:u,children:O()}):Ne("div",{className:dF.editableCellValueWrap,style:{paddingRight:24},onClick:D,children:r})),Ne("td",{children:P})}function Wq(t){const{columns:e,handleSave:n,...r}=t,a={body:{row:jq,cell:Yq}},l=e==null?void 0:e.map(u=>u.editable?{...u,onCell:f=>({...u,record:f,handleSave:n})}:u);return console.log("loading",r.loading),Ne(ft.Table,{...r,components:a,rowClassName:()=>dF.editableRow,columns:l,pagination:!1})}function SE(){return SE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},SE.apply(this,arguments)}var CE={exports:{}},rn={};var hF;function Xq(){if(hF)return rn;hF=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,r=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,S=t?Symbol.for("react.suspense_list"):60120,_=t?Symbol.for("react.memo"):60115,w=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,A=t?Symbol.for("react.scope"):60119;function O(I){if(typeof I=="object"&&I!==null){var F=I.$$typeof;switch(F){case e:switch(I=I.type,I){case d:case h:case r:case l:case a:case m:return I;default:switch(I=I&&I.$$typeof,I){case f:case p:case w:case _:case u:return I;default:return F}}case n:return F}}}function P(I){return O(I)===h}return rn.AsyncMode=d,rn.ConcurrentMode=h,rn.ContextConsumer=f,rn.ContextProvider=u,rn.Element=e,rn.ForwardRef=p,rn.Fragment=r,rn.Lazy=w,rn.Memo=_,rn.Portal=n,rn.Profiler=l,rn.StrictMode=a,rn.Suspense=m,rn.isAsyncMode=function(I){return P(I)||O(I)===d},rn.isConcurrentMode=P,rn.isContextConsumer=function(I){return O(I)===f},rn.isContextProvider=function(I){return O(I)===u},rn.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===e},rn.isForwardRef=function(I){return O(I)===p},rn.isFragment=function(I){return O(I)===r},rn.isLazy=function(I){return O(I)===w},rn.isMemo=function(I){return O(I)===_},rn.isPortal=function(I){return O(I)===n},rn.isProfiler=function(I){return O(I)===l},rn.isStrictMode=function(I){return O(I)===a},rn.isSuspense=function(I){return O(I)===m},rn.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===r||I===h||I===l||I===a||I===m||I===S||typeof I=="object"&&I!==null&&(I.$$typeof===w||I.$$typeof===_||I.$$typeof===u||I.$$typeof===f||I.$$typeof===p||I.$$typeof===b||I.$$typeof===D||I.$$typeof===A||I.$$typeof===E)},rn.typeOf=O,rn}var an={};var pF;function qq(){return pF||(pF=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,r=t?Symbol.for("react.fragment"):60107,a=t?Symbol.for("react.strict_mode"):60108,l=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,f=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,S=t?Symbol.for("react.suspense_list"):60120,_=t?Symbol.for("react.memo"):60115,w=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,A=t?Symbol.for("react.scope"):60119;function O(Se){return typeof Se=="string"||typeof Se=="function"||Se===r||Se===h||Se===l||Se===a||Se===m||Se===S||typeof Se=="object"&&Se!==null&&(Se.$$typeof===w||Se.$$typeof===_||Se.$$typeof===u||Se.$$typeof===f||Se.$$typeof===p||Se.$$typeof===b||Se.$$typeof===D||Se.$$typeof===A||Se.$$typeof===E)}function P(Se){if(typeof Se=="object"&&Se!==null){var Zt=Se.$$typeof;switch(Zt){case e:var Et=Se.type;switch(Et){case d:case h:case r:case l:case a:case m:return Et;default:var Pn=Et&&Et.$$typeof;switch(Pn){case f:case p:case w:case _:case u:return Pn;default:return Zt}}case n:return Zt}}}var I=d,F=h,U=f,H=u,j=e,X=p,G=r,ee=w,J=_,ie=n,ce=l,fe=a,Pe=m,ae=!1;function ge(Se){return ae||(ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),pe(Se)||P(Se)===d}function pe(Se){return P(Se)===h}function Le(Se){return P(Se)===f}function Ge(Se){return P(Se)===u}function St(Se){return typeof Se=="object"&&Se!==null&&Se.$$typeof===e}function It(Se){return P(Se)===p}function Dn(Se){return P(Se)===r}function Xt(Se){return P(Se)===w}function Mn(Se){return P(Se)===_}function on(Se){return P(Se)===n}function zt(Se){return P(Se)===l}function Ft(Se){return P(Se)===a}function $e(Se){return P(Se)===m}an.AsyncMode=I,an.ConcurrentMode=F,an.ContextConsumer=U,an.ContextProvider=H,an.Element=j,an.ForwardRef=X,an.Fragment=G,an.Lazy=ee,an.Memo=J,an.Portal=ie,an.Profiler=ce,an.StrictMode=fe,an.Suspense=Pe,an.isAsyncMode=ge,an.isConcurrentMode=pe,an.isContextConsumer=Le,an.isContextProvider=Ge,an.isElement=St,an.isForwardRef=It,an.isFragment=Dn,an.isLazy=Xt,an.isMemo=Mn,an.isPortal=on,an.isProfiler=zt,an.isStrictMode=Ft,an.isSuspense=$e,an.isValidElementType=O,an.typeOf=P}()),an}(function(t){process.env.NODE_ENV==="production"?t.exports=Xq():t.exports=qq()})(CE);function wE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return st.Children.forEach(t,function(r){r==null&&!e.keepEmpty||(Array.isArray(r)?n=n.concat(wE(r)):CE.exports.isFragment(r)&&r.props?n=n.concat(wE(r.props.children,e)):n.push(r))}),n}function Qq(t,e){typeof t=="function"?t(e):gu(t)==="object"&&t&&"current"in t&&(t.current=e)}function Zq(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.filter(function(a){return a});return r.length<=1?r[0]:function(a){e.forEach(function(l){Qq(l,a)})}}function Kq(t){var e,n,r=CE.exports.isMemo(t)?t.type.type:t.type;return!(typeof r=="function"&&!(!((e=r.prototype)===null||e===void 0)&&e.render)||typeof t=="function"&&!(!((n=t.prototype)===null||n===void 0)&&n.render))}function gF(t){return t instanceof HTMLElement?t:XA.findDOMNode(t)}var mF=function(){if(typeof Map<"u")return Map;function t(e,n){var r=-1;return e.some(function(a,l){return a[0]===n?(r=l,!0):!1}),r}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(n){var r=t(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},e.prototype.set=function(n,r){var a=t(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},e.prototype.delete=function(n){var r=this.__entries__,a=t(r,n);~a&&r.splice(a,1)},e.prototype.has=function(n){return!!~t(this.__entries__,n)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,l=this.__entries__;a<l.length;a++){var u=l[a];n.call(r,u[1],u[0])}},e}()}(),xE=typeof window<"u"&&typeof document<"u"&&window.document===document,m1=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Jq=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(m1):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)}}(),eQ=2;function tQ(t,e){var n=!1,r=!1,a=0;function l(){n&&(n=!1,t()),r&&f()}function u(){Jq(l)}function f(){var d=Date.now();if(n){if(d-a<eQ)return;r=!0}else n=!0,r=!1,setTimeout(u,e);a=d}return f}var nQ=20,rQ=["top","right","bottom","left","width","height","size","weight"],iQ=typeof MutationObserver<"u",aQ=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=tQ(this.refresh.bind(this),nQ)}return t.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},t.prototype.removeObserver=function(e){var n=this.observers_,r=n.indexOf(e);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},t.prototype.updateObservers_=function(){var e=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return e.forEach(function(n){return n.broadcastActive()}),e.length>0},t.prototype.connect_=function(){!xE||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),iQ?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!xE||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var n=e.propertyName,r=n===void 0?"":n,a=rQ.some(function(l){return!!~r.indexOf(l)});a&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),yF=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var a=r[n];Object.defineProperty(t,a,{value:e[a],enumerable:!1,writable:!1,configurable:!0})}return t},zv=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||m1},_F=_1(0,0,0,0);function y1(t){return parseFloat(t)||0}function SF(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(r,a){var l=t["border-"+a+"-width"];return r+y1(l)},0)}function oQ(t){for(var e=["top","right","bottom","left"],n={},r=0,a=e;r<a.length;r++){var l=a[r],u=t["padding-"+l];n[l]=y1(u)}return n}function lQ(t){var e=t.getBBox();return _1(0,0,e.width,e.height)}function uQ(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return _F;var r=zv(t).getComputedStyle(t),a=oQ(r),l=a.left+a.right,u=a.top+a.bottom,f=y1(r.width),d=y1(r.height);if(r.boxSizing==="border-box"&&(Math.round(f+l)!==e&&(f-=SF(r,"left","right")+l),Math.round(d+u)!==n&&(d-=SF(r,"top","bottom")+u)),!fQ(t)){var h=Math.round(f+l)-e,p=Math.round(d+u)-n;Math.abs(h)!==1&&(f-=h),Math.abs(p)!==1&&(d-=p)}return _1(a.left,a.top,f,d)}var sQ=function(){return typeof SVGGraphicsElement<"u"?function(t){return t instanceof zv(t).SVGGraphicsElement}:function(t){return t instanceof zv(t).SVGElement&&typeof t.getBBox=="function"}}();function fQ(t){return t===zv(t).document.documentElement}function cQ(t){return xE?sQ(t)?lQ(t):uQ(t):_F}function dQ(t){var e=t.x,n=t.y,r=t.width,a=t.height,l=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,u=Object.create(l.prototype);return yF(u,{x:e,y:n,width:r,height:a,top:n,right:e+r,bottom:a+n,left:e}),u}function _1(t,e,n,r){return{x:t,y:e,width:n,height:r}}var vQ=function(){function t(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_1(0,0,0,0),this.target=e}return t.prototype.isActive=function(){var e=cQ(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},t}(),hQ=function(){function t(e,n){var r=dQ(n);yF(this,{target:e,contentRect:r})}return t}(),pQ=function(){function t(e,n,r){if(this.activeObservations_=[],this.observations_=new mF,typeof e!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=n,this.callbackCtx_=r}return t.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof zv(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)||(n.set(e,new vQ(e)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(e instanceof zv(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(e)&&(n.delete(e),n.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&e.activeObservations_.push(n)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new hQ(r.target,r.broadcastRect())});this.callback_.call(e,n,e),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),CF=typeof WeakMap<"u"?new WeakMap:new mF,wF=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=aQ.getInstance(),r=new pQ(e,n,this);CF.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach(function(t){wF.prototype[t]=function(){var e;return(e=CF.get(this))[t].apply(e,arguments)}});var gQ=function(){return typeof m1.ResizeObserver<"u"?m1.ResizeObserver:wF}(),Au=new Map;function xF(t){t.forEach(function(e){var n,r=e.target;(n=Au.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var TF=new gQ(xF);process.env.NODE_ENV,process.env.NODE_ENV;function mQ(t,e){Au.has(t)||(Au.set(t,new Set),TF.observe(t)),Au.get(t).add(e)}function yQ(t,e){Au.has(t)&&(Au.get(t).delete(e),Au.get(t).size||(TF.unobserve(t),Au.delete(t)))}function _Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bF(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,uA(r.key),r)}}function SQ(t,e,n){return e&&bF(t.prototype,e),n&&bF(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function TE(t,e){return TE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},TE(t,e)}function CQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&TE(t,e)}function S1(t){return S1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},S1(t)}function wQ(){if(typeof Reflect>"u"||!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{return!1}}function xQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TQ(t,e){if(e&&(gu(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return xQ(t)}function bQ(t){var e=wQ();return function(){var r=S1(t),a;if(e){var l=S1(this).constructor;a=Reflect.construct(r,arguments,l)}else a=r.apply(this,arguments);return TQ(this,a)}}var EQ=function(t){CQ(n,t);var e=bQ(n);function n(){return _Q(this,n),e.apply(this,arguments)}return SQ(n,[{key:"render",value:function(){return this.props.children}}]),n}(Nt.Component),bE=Nt.createContext(null);function DQ(t){var e=t.children,n=t.onBatchResize,r=Nt.useRef(0),a=Nt.useRef([]),l=Nt.useContext(bE),u=Nt.useCallback(function(f,d,h){r.current+=1;var p=r.current;a.current.push({size:f,element:d,data:h}),Promise.resolve().then(function(){p===r.current&&(n==null||n(a.current),a.current=[])}),l==null||l(f,d,h)},[n,l]);return Nt.createElement(bE.Provider,{value:u},e)}function MQ(t){var e=t.children,n=t.disabled,r=Nt.useRef(null),a=Nt.useRef(null),l=Nt.useContext(bE),u=typeof e=="function",f=u?e(r):e,d=Nt.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!u&&Nt.isValidElement(f)&&Kq(f),p=h?f.ref:null,m=Nt.useMemo(function(){return Zq(p,r)},[p,r]),S=Nt.useRef(t);S.current=t;var _=Nt.useCallback(function(w){var E=S.current,b=E.onResize,D=E.data,A=w.getBoundingClientRect(),O=A.width,P=A.height,I=w.offsetWidth,F=w.offsetHeight,U=Math.floor(O),H=Math.floor(P);if(d.current.width!==U||d.current.height!==H||d.current.offsetWidth!==I||d.current.offsetHeight!==F){var j={width:U,height:H,offsetWidth:I,offsetHeight:F};d.current=j;var X=I===Math.round(O)?O:I,G=F===Math.round(P)?P:F,ee=$n($n({},j),{},{offsetWidth:X,offsetHeight:G});l==null||l(ee,w,D),b&&Promise.resolve().then(function(){b(ee,w)})}},[]);return Nt.useEffect(function(){var w=gF(r.current)||gF(a.current);return w&&!n&&mQ(w,_),function(){return yQ(w,_)}},[r.current,n]),Nt.createElement(EQ,{ref:a},h?Nt.cloneElement(f,{ref:m}):f)}var RQ="rc-observer-key";function EF(t){var e=t.children,n=typeof e=="function"?[e]:wE(e);return process.env.NODE_ENV!=="production"&&(n.length>1?Rw(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):n.length===0&&Rw(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),n.map(function(r,a){var l=(r==null?void 0:r.key)||"".concat(RQ,"-").concat(a);return Nt.createElement(MQ,SE({},t,{key:l}),r)})}EF.Collection=DQ;const Fv={grid:"_grid_9vys0_1",cell:"_cell_9vys0_1",editBox:"_editBox_9vys0_7",editForm:"_editForm_9vys0_16"};function AQ(t){const{columns:e,scroll:n,handleSave:r}=t,[a,l]=st.useState(0),u=e.filter(({width:S})=>!S).length,f=e.map(S=>S.width?S:{...S,width:Math.floor(a/u)}),d=st.useRef(),[h]=st.useState(()=>{const S={};return Object.defineProperty(S,"scrollLeft",{get:()=>{var _,w;return d.current?(w=(_=d.current)==null?void 0:_.state)==null?void 0:w.scrollLeft:null},set:_=>{d.current&&d.current.scrollTo({scrollLeft:_})}}),S}),p=()=>{var S;(S=d.current)==null||S.resetAfterIndices({columnIndex:0,shouldForceUpdate:!0})};st.useEffect(()=>p,[a]);const m=(S,{scrollbarSize:_,ref:w,onScroll:E})=>{w.current=h;const b=S.length*54;return Ne(cU.VariableSizeGrid,{ref:d,className:Fv.grid,columnCount:f.length,columnWidth:D=>{const{width:A}=f[D];return b>n.y&&D===f.length-1?A-_-1:A},height:n.y,rowCount:S.length,rowHeight:()=>54,width:a,onScroll:({scrollLeft:D})=>{E({scrollLeft:D})},children:({columnIndex:D,rowIndex:A,style:O})=>Ne("div",{className:$d(Fv.cell,{[Fv.cellLast]:D===f.length-1}),style:O,children:Ne(LQ,{data:S[A],handleSave:r,column:f[D]})})})};return Ne(EF,{onResize:({width:S})=>{l(S)},children:Ne(ft.Table,{...t,className:Fv.table,columns:f,pagination:!1,components:{body:m}})})}function LQ(t){const{column:e,data:n,handleSave:r}=t,[a,l]=st.useState(!1),u=st.useRef(null),[f]=ft.Form.useForm();st.useEffect(()=>{a&&u.current.focus()},[a]);const d=async()=>{try{const m=await f.validateFields();h(),r({...n,...m})}catch(m){console.log("Save failed:",m)}},h=()=>{l(!a),e.dataIndex&&f.setFieldsValue({[e.dataIndex]:n[e.dataIndex]})};let p=n[e.dataIndex];return e.editable&&(p=a?Ne(ft.Form,{form:f,className:Fv.editForm,children:Ne(ft.Form.Item,{style:{margin:0},name:e.dataIndex,rules:e.rules,children:Ne(ft.Input,{ref:u,onPressEnter:d,onBlur:d,...e.inputProps})})}):Ne("div",{className:Fv.editBox,onClick:h,children:n[e.dataIndex]})),Ne(oA,{children:p})}const br={main:"_main_17ruh_1",item:"_item_17ruh_5",tail:"_tail_17ruh_10",node:"_node_17ruh_29",content:"_content_17ruh_40",collpase:"_collpase_17ruh_45",btn:"_btn_17ruh_57",title:"_title_17ruh_65",dateWrapper:"_dateWrapper_17ruh_71",remark:"_remark_17ruh_78",itemActive:"_itemActive_17ruh_89",itemDone:"_itemDone_17ruh_102",itemUnDo:"_itemUnDo_17ruh_108"},OQ=t=>{const{data:e,current:n}=t,[r,a]=st.useState(!1),l=st.useMemo(()=>!n||e.length===0?0:e.findIndex(h=>h.PNId===n),[n,e]),u=st.useMemo(()=>l>1?r?0:l-1:0,[l,r]),f=()=>{a(!0)};return zr("ul",{className:br.main,children:[l>1&&!r&&zr("li",{className:$d(br.item,br.itemDone),children:[Ne("div",{className:br.tail}),Ne("div",{className:br.node}),Ne("div",{className:br.content,children:zr("div",{className:br.collpase,children:[zr("div",{children:["已收起",Ne("span",{children:l-1}),"个节点"]}),zr("a",{className:br.btn,onClick:f,children:["展开节点",Ne(fV,{})]})]})})]}),e.slice(u).map((d,h)=>zr("li",{className:$d(br.item,l===h+u?br.itemActive:l>h+u?br.itemDone:br.itemUnDo),children:[Ne("div",{className:br.tail}),Ne("div",{className:br.node}),zr("div",{className:br.content,children:[Ne("div",{className:br.title,children:d.PNName}),zr("div",{className:br.dateWrapper,children:[d.PlanFinishDate&&zr("span",{children:["预计完成时间: ",d.PlanFinishDate]}),d.UpdateTime&&zr("span",{style:{color:"#333",fontWeight:"bold"},children:["实际完成时间: ",d.UpdateTime]}),r&&l-1===h&&zr("a",{className:br.btn,onClick:()=>a(!1),children:["收起节点 ",Ne(gV,{})]})]}),d.Remark&&Ne("div",{className:br.remark,children:d.Remark})]})]},d.PNId))]})},kQ=t=>((()=>{ft.Modal.info({icon:null,title:"流程节点",width:700,content:Ne(OQ,{...t}),closable:!0,footer:null,maskClosable:!0})})(),null),NQ=(t,e)=>{const n=new URL(t),r=new URL(e);return n.protocol===r.protocol&&n.host===r.host&&n.port===r.port},PQ=t=>{const e=new URL(t).href.split("/");return e[e.length-1]},IQ=t=>{var n;return(n=t.headers.get("content-disposition"))==null?void 0:n.split(";")[1].split("=")[1]},zQ=(t,e)=>{const n=e||PQ(t);if(NQ(t,window.location.href)){EE(t,n);return}let r=e;fetch(t,{method:"get"}).then(a=>(r||(r=IQ(a)),a.blob())).then(a=>{DF(a,r||n)}).catch(()=>{EE(t,"")})},DF=(t,e)=>{let n=window.URL.createObjectURL(t);const r=window.navigator;if(r.msSaveOrOpenBlob){r.msSaveOrOpenBlob(t,e);return}EE(n,e),window.URL.revokeObjectURL(n)},EE=(t,e)=>{let n=document.createElement("a");n.style.display="none",n.href=t,n.target="_blank",n.download=e,document.body.appendChild(n),n.click(),document.body.removeChild(n)},FQ=Object.freeze(Object.defineProperty({__proto__:null,downloadUrl:zQ,downloadBlob:DF},Symbol.toStringTag,{value:"Module"}));class BQ{constructor(e){uU(this,"options",{id:"",canvasId:"verifyCanvas",width:100,height:30,type:"blend",code:""});this.options=e}GVerify(){this.options.numArr="0,1,2,3,4,5,6,7,8,9".split(","),this.options.letterArr=this.getAllLetter(),this._init(),this.refresh()}_init(){const e=document.getElementById(this.options.id),n=document.createElement("canvas");n.id=this.options.canvasId,n.width=Number(this.options.width),n.height=Number(this.options.height),n.style.cursor="pointer",n.innerHTML="您的浏览器版本不支持canvas",e&&e.appendChild(n),n.onclick=()=>{this.refresh()}}refresh(){this.options.code="";const e=document.getElementById(this.options.canvasId);let n,r=[];if(e.getContext)n=e.getContext("2d");else return;n.textBaseline="middle",n.fillStyle=this.randomColor(180,240),n.fillRect(0,0,this.options.width,this.options.height),this.options.type=="blend"?r=this.options.numArr.concat(this.options.letterArr):this.options.type=="number"?r=this.options.numArr:r=this.options.letterArr;for(let a=1;a<=4;a++){const l=r[this.randomNum(0,r.length)];this.options.code+=l,n.font="20px SimHei",n.fillStyle=this.randomColor(50,160),n.shadowBlur=this.randomNum(-3,3),n.shadowColor="rgba(0, 0, 0, 0.3)";const u=Number(this.options.width)/5*a,f=Number(this.options.height)/2,d=this.randomNum(-30,30);n.translate(u,f),n.rotate(d*Math.PI/180),n.fillText(l,0,0),n.rotate(-d*Math.PI/180),n.translate(-u,-f)}for(let a=0;a<2;a++)n.strokeStyle=this.randomColor(40,180),n.beginPath(),n.moveTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height)/2)),n.lineTo(this.randomNum(0,Number(this.options.width)/2),this.randomNum(0,Number(this.options.height))),n.stroke();for(let a=0;a<Number(this.options.width)/10;a++)n.fillStyle=this.randomColor(0,255),n.beginPath(),n.arc(this.randomNum(0,this.options.width),this.randomNum(0,this.options.height),1,0,2*Math.PI),n.fill()}validate(e){const n=e.toLowerCase(),r=this.options.code.toLowerCase();return n==r}getAllLetter(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}randomNum(e,n){return Math.floor(Math.random()*(n-e)+e)}randomColor(e,n){const r=this.randomNum(e,n),a=this.randomNum(e,n),l=this.randomNum(e,n);return"rgb("+r+","+a+","+l+")"}}const UQ=Object.freeze(Object.defineProperty({__proto__:null,getGVerify:BQ},Symbol.toStringTag,{value:"Module"}));fn.BackHeader=wV,fn.CreateForm=ZA,fn.Echarts=$q,fn.EditTable=Wq,fn.SearchTable=HV,fn.UploadFile=QA,fn.VirtualTable=AQ,fn.download=FQ,fn.fileType=xV,fn.showWorkFlow=kQ,fn.utils=OV,fn.verfyCode=UQ,Object.defineProperty(fn,Symbol.toStringTag,{value:"Module"})});