szld-libs 0.0.10 → 0.0.12

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,4 +1,4 @@
1
- (function(fn,ft){typeof exports=="object"&&typeof module<"u"?ft(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"],ft):(fn=typeof globalThis<"u"?globalThis:fn||self,ft(fn.ReactComponents={},fn.React,fn.antd,fn["react-router-dom"],fn.lodash,fn.ahooks,fn["react-window"]))})(this,function(fn,ft,gt,uU,Gd,sU,fU){"use strict";var Dne=Object.defineProperty;var Mne=(fn,ft,gt)=>ft in fn?Dne(fn,ft,{enumerable:!0,configurable:!0,writable:!0,value:gt}):fn[ft]=gt;var lU=(fn,ft,gt)=>(Mne(fn,typeof ft!="symbol"?ft+"":ft,gt),gt);function cU(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=cU(ft);function dU(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var v0={exports:{}},kp={};var aA;function vU(){if(aA)return kp;aA=1;var t=ft,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 oA;function hU(){return oA||(oA=1,process.env.NODE_ENV!=="production"&&function(){var t=ft,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,Ne,ae,ge,pe,Le,Ge;function St(){}St.__reactDisabledLog=!0;function It(){{if(ce===0){fe=console.log,Ne=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:Ne}),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`
1
+ (function(fn,ft){typeof exports=="object"&&typeof module<"u"?ft(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"],ft):(fn=typeof globalThis<"u"?globalThis:fn||self,ft(fn.ReactComponents={},fn.React,fn.antd,fn["react-router-dom"],fn.lodash,fn.ahooks,fn["react-window"]))})(this,function(fn,ft,vt,uU,Gd,sU,fU){"use strict";var Dne=Object.defineProperty;var Mne=(fn,ft,vt)=>ft in fn?Dne(fn,ft,{enumerable:!0,configurable:!0,writable:!0,value:vt}):fn[ft]=vt;var lU=(fn,ft,vt)=>(Mne(fn,typeof ft!="symbol"?ft+"":ft,vt),vt);function cU(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=cU(ft);function dU(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var v0={exports:{}},kp={};var aA;function vU(){if(aA)return kp;aA=1;var t=ft,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 oA;function hU(){return oA||(oA=1,process.env.NODE_ENV!=="production"&&function(){var t=ft,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,Ne,ae,ge,pe,Le,Ge;function St(){}St.__reactDisabledLog=!0;function It(){{if(ce===0){fe=console.log,Ne=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:Ne}),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
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
3
  `),pr=Ke.stack.split(`
4
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=`
@@ -8,7 +8,7 @@ Check the render method of \``+Y+"`."}return""}}function Us(Y){{if(Y!==void 0){v
8
8
 
9
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 <`+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=vU():t.exports=hU()})(v0);const Sw=v0.exports.Fragment,Fe=v0.exports.jsx,zr=v0.exports.jsxs;var pU=ft.createContext({});const lA=pU;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 gU(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=gU(t,"string");return gu(e)==="symbol"?e:String(e)}function Cw(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){Cw(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 mU(t){if(Array.isArray(t))return t}function yU(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 _U(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 SU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
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=vU():t.exports=hU()})(v0);const Sw=v0.exports.Fragment,ze=v0.exports.jsx,zr=v0.exports.jsxs;var pU=ft.createContext({});const lA=pU;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 gU(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=gU(t,"string");return gu(e)==="symbol"?e:String(e)}function Cw(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){Cw(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 mU(t){if(Array.isArray(t))return t}function yU(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 _U(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 SU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
12
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cA(t,e){return mU(t)||yU(t,e)||_U(t,e)||SU()}function CU(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=CU(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){wU(t)&&(t="100%");var n=xU(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 wU(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function xU(t){return typeof t=="string"&&t.indexOf("%")!==-1}function TU(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 ww(t){return t.length===1?"0"+t:String(t)}function bU(t,e,n){return{r:Ja(t,255)*255,g:Ja(e,255)*255,b:Ja(n,255)*255}}function xw(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 EU(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=xw(f,u,t+1/3),a=xw(f,u,t),l=xw(f,u,t-1/3)}return{r:r*255,g:a*255,b:l*255}}function DU(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 MU(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 RU(t,e,n,r){var a=[ww(Math.round(t).toString(16)),ww(Math.round(e).toString(16)),ww(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=OU(t)),typeof t=="object"&&(mu(t.r)&&mu(t.g)&&mu(t.b)?(e=bU(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=MU(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=EU(t.h,r,l),u=!0,f="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=TU(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 AU="[-\\+]?\\d+%?",LU="[-\\+]?\\d*\\.\\d+%?",xs="(?:".concat(LU,")|(?:").concat(AU,")"),Tw="[\\s|\\(]+(".concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")\\s*\\)?"),bw="[\\s|\\(]+(".concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")[,|\\s]+(").concat(xs,")\\s*\\)?"),Ao={CSS_UNIT:new RegExp(xs),rgb:new RegExp("rgb"+Tw),rgba:new RegExp("rgba"+bw),hsl:new RegExp("hsl"+Tw),hsla:new RegExp("hsla"+bw),hsv:new RegExp("hsv"+Tw),hsva:new RegExp("hsva"+bw),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 OU(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,kU=.05,NU=.05,PU=.15,mA=5,yA=4,IU=[{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=DU(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(RU(e,n,r,!1))}function zU(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+kU*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+NU*e:r=t.v-PU*e,r>1&&(r=1),Number(r.toFixed(2))}function Ew(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"?IU.map(function(p){var m=p.index,S=p.opacity,_=g0(zU(Pp(e.backgroundColor||"#141414"),Pp(n[m]),S*100));return _}):n}var Dw={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"},Mw={},Rw={};Object.keys(Dw).forEach(function(t){Mw[t]=Ew(Dw[t]),Mw[t].primary=Mw[t][5],Rw[t]=Ew(Dw[t],{theme:"dark",backgroundColor:"#141414"}),Rw[t].primary=Rw[t][5]});var xA={};function Aw(t,e){process.env.NODE_ENV!=="production"&&!t&&console!==void 0&&console.error("Warning: ".concat(e))}function FU(t,e,n){!e&&!xA[n]&&(t(!1,n),xA[n]=!0)}function BU(t,e){FU(Aw,t,e)}function UU(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function VU(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",HU="rc-util-key",Lw=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):HU}function Ow(t){if(t.attachTo)return t.attachTo;var e=document.querySelector("head");return e||document.body}function GU(t){return t==="queue"?"prependQueue":t?"prepend":"append"}function EA(t){return Array.from((Lw.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(!UU())return null;var n=e.csp,r=e.prepend,a=document.createElement("style");a.setAttribute(TA,GU(r)),n!=null&&n.nonce&&(a.nonce=n==null?void 0:n.nonce),a.innerHTML=t;var l=Ow(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 $U(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Ow(e);return EA(n).find(function(r){return r.getAttribute(bA(e))===t})}function jU(t,e){var n=Lw.get(t);if(!n||!VU(document,n)){var r=DA("",e),a=r.parentNode;Lw.set(t,a),t.removeChild(r)}}function YU(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Ow(n);jU(r,n);var a=$U(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 WU(t,e){BU(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 kw(t,e,n){return n?ft.createElement(t.tag,$n($n({key:e},RA(t.attrs)),n),(t.children||[]).map(function(r,a){return kw(r,"".concat(e,"-").concat(t.tag,"-").concat(a))})):ft.createElement(t.tag,$n({key:e},RA(t.attrs)),(t.children||[]).map(function(r,a){return kw(r,"".concat(e,"-").concat(t.tag,"-").concat(a))}))}function AA(t){return Ew(t)[0]}function LA(t){return t?Array.isArray(t)?t:[t]:[]}var XU=`
13
13
  .anticon {
14
14
  display: inline-block;
@@ -63,14 +63,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
63
63
  transform: rotate(360deg);
64
64
  }
65
65
  }
66
- `,qU=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:XU,n=ft.useContext(lA),r=n.csp;ft.useEffect(function(){YU(e,"@ant-design-icons",{prepend:!0,csp:r})},[])},QU=["icon","className","onClick","style","primaryColor","secondaryColor"],Ip={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ZU(t){var e=t.primaryColor,n=t.secondaryColor;Ip.primaryColor=e,Ip.secondaryColor=n||AA(e),Ip.calculated=!!n}function KU(){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,QU),h=Ip;if(u&&(h={primaryColor:u,secondaryColor:f||AA(u)}),qU(),WU(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)})),kw(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=KU,m0.setTwoToneColors=ZU;const Nw=m0;function OA(t){var e=LA(t),n=cA(e,2),r=n[0],a=n[1];return Nw.setTwoToneColors({primaryColor:r,secondaryColor:a})}function JU(){var t=Nw.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor}var eV=["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,eV),m=Nt.useContext(lA),S=m.prefixCls,_=S===void 0?"anticon":S,w=m.rootClassName,E=$d(w,_,(n={},Cw(n,"".concat(_,"-").concat(a.name),!!a.name),Cw(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(Nw,{icon:a,primaryColor:P,secondaryColor:I,style:D}))});y0.displayName="AntdIcon",y0.getTwoToneColor=JU,y0.setTwoToneColor=OA;const jd=y0;var tV={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 nV=tV;var kA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:nV}))};kA.displayName="ArrowLeftOutlined";const rV=Nt.forwardRef(kA);var iV={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 aV=iV;var NA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:aV}))};NA.displayName="CloseCircleFilled";const oV=Nt.forwardRef(NA);var lV={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 uV=lV;var PA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:uV}))};PA.displayName="DownOutlined";const sV=Nt.forwardRef(PA);var fV={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 cV=fV;var IA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:cV}))};IA.displayName="PlusOutlined";const dV=Nt.forwardRef(IA);var vV={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 hV=vV;var zA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:hV}))};zA.displayName="UpOutlined";const pV=Nt.forwardRef(zA);var gV={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 mV=gV;var FA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:mV}))};FA.displayName="UploadOutlined";const yV=Nt.forwardRef(FA),Pw={main:"_main_swzn8_1",title:"_title_swzn8_7",sub:"_sub_swzn8_10"},{Title:_V,Text:SV}=gt.Typography,CV=t=>{const{isBack:e=!0,title:n,extra:r,subTitle:a=null,className:l}=t,u=uU.useNavigate(),f=()=>typeof a=="string"?Fe(SV,{className:Pw.sub,children:a}):a,d=()=>{u(-1)};return zr("div",{className:$d(Pw.main,{className:l}),children:[zr(gt.Space,{children:[e&&Fe(rV,{style:{fontSize:24},onClick:d}),zr(_V,{level:2,className:Pw.title,children:[n,f()]})]}),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)),wV=Object.freeze(Object.defineProperty({__proto__:null,FileType:Hf,FileTypeMap:_0},Symbol.toStringTag,{value:"Module"})),xV=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]}}},TV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;localStorage.setItem(t,n)},bV=t=>{let n=localStorage.getItem(t);return typeof n=="string"&&(n=Iw(n)),n||null},EV=t=>{localStorage.removeItem(t)},DV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;sessionStorage.setItem(t,n)},MV=t=>{let n=sessionStorage.getItem(t);return typeof n=="string"&&(n=Iw(n)),n||null},RV=t=>{sessionStorage.removeItem(t)},AV=(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},Iw=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}},LV=Object.freeze(Object.defineProperty({__proto__:null,filterObject:xV,getBase64:BA,getFileType:UA,setLocalStorage:TV,getLocalStorage:bV,removeLocalStorage:EV,setSessionStorage:DV,getSessionStorage:MV,removeSessionStorage:RV,arrayDeduplication:AV,JSONParse:Iw},Symbol.toStringTag,{value:"Module"}));var VA={exports:{}},Ki={},zw={exports:{}},Fw={};var HA;function OV(){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&&Ne(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&&Ne(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 Ne(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,Ne(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}}}}(Fw)),Fw}var Bw={};var GA;function kV(){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,Ne=!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(Ne=!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,Ne&&(Ne=!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)&&(Ne?zi():Ne=!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)}()}(Bw)),Bw}var $A;function jA(){return $A||($A=1,function(t){process.env.NODE_ENV==="production"?t.exports=OV():t.exports=kV()}(zw)),zw.exports}var YA;function NV(){if(YA)return Ki;YA=1;var t=ft,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"),Ne=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`
66
+ `,qU=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:XU,n=ft.useContext(lA),r=n.csp;ft.useEffect(function(){YU(e,"@ant-design-icons",{prepend:!0,csp:r})},[])},QU=["icon","className","onClick","style","primaryColor","secondaryColor"],Ip={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ZU(t){var e=t.primaryColor,n=t.secondaryColor;Ip.primaryColor=e,Ip.secondaryColor=n||AA(e),Ip.calculated=!!n}function KU(){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,QU),h=Ip;if(u&&(h={primaryColor:u,secondaryColor:f||AA(u)}),qU(),WU(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)})),kw(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=KU,m0.setTwoToneColors=ZU;const Nw=m0;function OA(t){var e=LA(t),n=cA(e,2),r=n[0],a=n[1];return Nw.setTwoToneColors({primaryColor:r,secondaryColor:a})}function JU(){var t=Nw.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor}var eV=["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,eV),m=Nt.useContext(lA),S=m.prefixCls,_=S===void 0?"anticon":S,w=m.rootClassName,E=$d(w,_,(n={},Cw(n,"".concat(_,"-").concat(a.name),!!a.name),Cw(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(Nw,{icon:a,primaryColor:P,secondaryColor:I,style:D}))});y0.displayName="AntdIcon",y0.getTwoToneColor=JU,y0.setTwoToneColor=OA;const jd=y0;var tV={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 nV=tV;var kA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:nV}))};kA.displayName="ArrowLeftOutlined";const rV=Nt.forwardRef(kA);var iV={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 aV=iV;var NA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:aV}))};NA.displayName="CloseCircleFilled";const oV=Nt.forwardRef(NA);var lV={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 uV=lV;var PA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:uV}))};PA.displayName="DownOutlined";const sV=Nt.forwardRef(PA);var fV={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 cV=fV;var IA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:cV}))};IA.displayName="PlusOutlined";const dV=Nt.forwardRef(IA);var vV={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 hV=vV;var zA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:hV}))};zA.displayName="UpOutlined";const pV=Nt.forwardRef(zA);var gV={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 mV=gV;var FA=function(e,n){return Nt.createElement(jd,$n($n({},e),{},{ref:n,icon:mV}))};FA.displayName="UploadOutlined";const yV=Nt.forwardRef(FA),Pw={main:"_main_swzn8_1",title:"_title_swzn8_7",sub:"_sub_swzn8_10"},{Title:_V,Text:SV}=vt.Typography,CV=t=>{const{isBack:e=!0,title:n,extra:r,subTitle:a=null,className:l,titleStyle:u}=t,f=uU.useNavigate(),d=()=>typeof a=="string"?ze(SV,{className:Pw.sub,children:a}):a,h=()=>{f(-1)};return zr("div",{className:$d(Pw.main,{className:l}),children:[zr(vt.Space,{children:[e&&ze(rV,{style:{fontSize:24},onClick:h}),zr(_V,{level:2,className:Pw.title,style:u,children:[n,d()]})]}),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)),wV=Object.freeze(Object.defineProperty({__proto__:null,FileType:Hf,FileTypeMap:_0},Symbol.toStringTag,{value:"Module"})),xV=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]}}},TV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;localStorage.setItem(t,n)},bV=t=>{let n=localStorage.getItem(t);return typeof n=="string"&&(n=Iw(n)),n||null},EV=t=>{localStorage.removeItem(t)},DV=(t,e)=>{const n=typeof e=="object"?JSON.stringify(e):e;sessionStorage.setItem(t,n)},MV=t=>{let n=sessionStorage.getItem(t);return typeof n=="string"&&(n=Iw(n)),n||null},RV=t=>{sessionStorage.removeItem(t)},AV=(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},Iw=t=>{if(!t)return null;if(typeof t=="object")return t;if(typeof t=="string"){let e=t;try{e=JSON.parse(t)}catch(n){console.log(n)}return e}},LV=Object.freeze(Object.defineProperty({__proto__:null,filterObject:xV,getBase64:BA,getFileType:UA,setLocalStorage:TV,getLocalStorage:bV,removeLocalStorage:EV,setSessionStorage:DV,getSessionStorage:MV,removeSessionStorage:RV,arrayDeduplication:AV,JSONParse:Iw},Symbol.toStringTag,{value:"Module"}));var VA={exports:{}},Ki={},zw={exports:{}},Fw={};var HA;function OV(){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&&Ne(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&&Ne(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 Ne(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,Ne(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}}}}(Fw)),Fw}var Bw={};var GA;function kV(){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,Ne=!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(Ne=!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,Ne&&(Ne=!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)&&(Ne?zi():Ne=!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)}()}(Bw)),Bw}var $A;function jA(){return $A||($A=1,function(t){process.env.NODE_ENV==="production"?t.exports=OV():t.exports=kV()}(zw)),zw.exports}var YA;function NV(){if(YA)return Ki;YA=1;var t=ft,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"),Ne=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
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
68
  `),L=x.stack.split(`
69
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
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,ME=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:RE,x1=Math.log,T1=Math.LN2;function RE(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 AE(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,dt=!1,zc=[],Kn=null,fa=null,ca=null,Fc=new Map,or=new Map,ln=[],LE="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(){dt=!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,dt||(dt=!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<LE.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(ME()){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),OE=pe({},Ws,{relatedTarget:0}),Bl=Ui(OE),lm=pe({},Fl,{animationName:0,elapsedTime:0,pseudoElement:0}),N1=Ui(lm),kE=pe({},Fl,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),NE=Ui(kE),PE=pe({},Fl,{data:0}),um=Ui(PE),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}}),IE=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}),zE=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 FE(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 BE(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 UE(s,c,y){s==="focusin"?(W1(),Yc=c,Qs=y,Yc.attachEvent("onpropertychange",X1)):s==="focusout"&&W1()}function VE(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Ks(Qs)}function HE(s,c){if(s==="click")return Ks(c)}function q1(s,c){if(s==="input"||s==="change")return Ks(c)}function GE(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var da=typeof Object.is=="function"?Object.is:GE;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],$E=Bu.toLowerCase(),Qc=Bu[0].toUpperCase()+Bu.slice(1);Xo($E,"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(" "),jE=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"&&(jE.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=IE;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=zE;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=NE;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=VE;var Ve=UE}else(Oe=ye.nodeName)&&Oe.toLowerCase()==="input"&&(ye.type==="checkbox"||ye.type==="radio")&&(Ye=HE);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?FE(s,y):BE(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,YE=/\u0000|\uFFFD/g;function xm(s){return(typeof s=="string"?s:""+s).replace(wm,`
71
- `).replace(YE,"")}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(WE)}:Hu;function WE(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,XE="__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 ht(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=ht(mo),Vn=ht(!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=ht(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(hD){return c(te,hD)}),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=ht(ad),od=ht(ad),af=ht(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=ht(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:ZE,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 qE(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=qE.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},ZE={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=`
71
+ `).replace(YE,"")}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(WE)}:Hu;function WE(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,XE="__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(hD){return c(te,hD)}),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:ZE,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 qE(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=qE.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},ZE={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
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 KE=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 KE;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=aD.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 JE=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 pt(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){pt(s,c);var z=(c.flags&128)!==0;if(!x&&!z)return M&&sS(c,y,!1),Mr(s,c,L);x=c.stateNode,JE.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 eD(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 eD(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=oD.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 tD(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,ze=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,ze=c;ze!==null;)if(c=ze,s=c.child,(c.subtreeFlags&1028)!==0&&s!==null)s.return=c,ze=s;else for(;ze!==null;){c=ze;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,ze=s;break}ze=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[XE],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=lD.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(ze=s,_e=s.child;_e!==null;){for(we=ze=_e;ze!==null;){switch(ye=ze,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,ze=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){ze=s,pf(s)}function pf(s,c,y){for(var x=(s.mode&1)!==0;ze!==null;){var M=ze,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(ze=M;ze!==null;)z=ze,q=z.child,z.tag===22&&z.memoizedState!==null?kS(M):q!==null?(q.return=z,ze=q):kS(M);for(;L!==null;)ze=L,pf(L),L=L.sibling;ze=M,pd=$,fr=se}OS(s)}else M.subtreeFlags&8772&&L!==null?(L.return=M,ze=L):OS(s)}}function OS(s){for(;ze!==null;){var c=ze;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){ze=null;break}if(y=c.sibling,y!==null){y.return=c.return,ze=y;break}ze=c.return}}function ny(s){for(;ze!==null;){var c=ze;if(c===s){ze=null;break}var y=c.sibling;if(y!==null){y.return=c.return,ze=y;break}ze=c.return}}function kS(s){for(;ze!==null;){var c=ze;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){ze=null;break}var $=c.sibling;if($!==null){$.return=c.return,ze=$;break}ze=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=ht(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{rD();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{nD();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 nD(){for(;Hn!==null;)IS(Hn)}function rD(){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=tD(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,iD(s,c,y,x)}finally{Yr.transition=M,tn=x}return null}function iD(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(AE(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,ze=s.current;ze!==null;){var L=ze,z=L.child;if(ze.flags&16){var $=L.deletions;if($!==null){for(var q=0;q<$.length;q++){var se=$[q];for(ze=se;ze!==null;){var _e=ze;switch(_e.tag){case 0:case 11:case 15:md(8,_e,L)}var we=_e.child;if(we!==null)we.return=_e,ze=we;else for(;ze!==null;){_e=ze;var ye=_e.sibling,Oe=_e.return;if(ty(_e),_e===se){ze=null;break}if(ye!==null){ye.return=Oe,ze=ye;break}ze=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)}}ze=L}}if(L.subtreeFlags&2064&&z!==null)z.return=L,ze=z;else e:for(;ze!==null;){if(L=ze,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,ze=te;break e}ze=L.return}}var Z=s.current;for(ze=Z;ze!==null;){z=ze;var oe=z.child;if(z.subtreeFlags&2064&&oe!==null)oe.return=z,ze=oe;else e:for(z=Z;ze!==null;){if($=ze,$.flags&2048)try{switch($.tag){case 0:case 11:case 15:yd(9,$)}}catch(Ye){Gn($,$.return,Ye)}if($===z){ze=null;break e}var Te=$.sibling;if(Te!==null){Te.return=$.return,ze=Te;break e}ze=$.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 aD(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 oD(s){var c=s.memoizedState,y=0;c!==null&&(y=c.retryLane),qh(s,y)}function lD(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=sD(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),pt(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 uD(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 uD(s,c,y,x)}function cy(s){return s=s.prototype,!(!s||!s.isReactComponent)}function sD(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 Ne: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=Ne,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 fD(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 fD(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 cD(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=cD(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 dD={usingClientEntryPoint:!1,Events:[nd,ef,Qe,Lu,Us,Cf]},xf={findFiberByHostInstance:va,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},vD={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(vD),Ha=np}catch{}}return Ki.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dD,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 PV(){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=ft,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,Ne=!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,ME="@@iterator";function Go(i){if(i===null||typeof i!="object")return null;var o=$t&&i[$t]||i[ME];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 RE(){{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`
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 KE=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 KE;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=aD.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 JE=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,JE.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 eD(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 eD(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=oD.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 tD(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[XE],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=lD.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{rD();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{nD();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 nD(){for(;Hn!==null;)IS(Hn)}function rD(){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=tD(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,iD(s,c,y,x)}finally{Yr.transition=M,tn=x}return null}function iD(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(AE(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 aD(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 oD(s){var c=s.memoizedState,y=0;c!==null&&(y=c.retryLane),qh(s,y)}function lD(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=sD(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 uD(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 uD(s,c,y,x)}function cy(s){return s=s.prototype,!(!s||!s.isReactComponent)}function sD(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 Ne: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=Ne,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 fD(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 fD(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 cD(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=cD(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 dD={usingClientEntryPoint:!1,Events:[nd,ef,Qe,Lu,Us,Cf]},xf={findFiberByHostInstance:va,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},vD={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(vD),Ha=np}catch{}}return Ki.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dD,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 PV(){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=ft,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,Ne=!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,ME="@@iterator";function Go(i){if(i===null||typeof i!="object")return null;var o=$t&&i[$t]||i[ME];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 RE(){{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
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,RE();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
75
  `),N=g.stack.split(`
76
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=`
@@ -78,7 +78,7 @@ Error generating stack: `+L.message+`
78
78
  Error generating stack: `+g.message+`
79
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 dt(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 dt(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 LE(){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
80
 
81
- Check the render method of \``+i+"`.":""}var k1=["value","defaultValue"];function OE(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;OE(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 kE(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 NE(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 PE(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",IE="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 IE;default:return jo}}function dm(i,o){return i==null||i===jo?Zv(o):i===cm&&o==="foreignObject"?jo:i}var zE=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=zE(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,FE=/^ms-/;function BE(i){return i.replace(qs,"-$1").toLowerCase().replace(FE,"-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))},UE=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)||UE(i,o))}}var VE=H1;function HE(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:BE(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||VE(g,o[g]);var T=eh(g,o[g],C);g==="float"&&(g="cssFloat"),C?v.setProperty(g,T):v[g]=T}}function GE(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.",GE(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,$E=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 jE(){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 YE(){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,YE()}}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 Pe=Array.prototype.slice.call(arguments,3);function Ze(){K=!0,de(),v.apply(g,Pe),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 WE=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,WE.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 XE(){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,ht=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|ht|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=ht|ha|0,Si=Cn|ht|qt|Kt|mi|pa|$l,Gr=ht|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.",dt(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=qE(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 qE(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),Pe=1<<de;g|=le[de],ue&=~Pe}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 ZE(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 KE(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 JE(){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 pt(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 eD(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 tD(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 ze(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),jE()}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){CD(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&&CD(i,o,g,mf,v),R===C)break;C=R}C!==null&&g.stopPropagation();return}CD(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),nD=Dt({},Xr,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),rD=tr(nD),IS=Dt({},Xr,{data:0}),sy=tr(IS),us=sy,iD={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=iD[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 aD(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 aD}var oD=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}}),lD=tr(oD),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),uD=Dt({},Sf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qh}),xa=tr(uD),cy=Dt({},Xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),sD=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 fD=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 cD(i,o,v,g,C){var T;if(fD?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),cD(i,o,v,g,C)}var dD={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"?!!dD[i.type]:o==="textarea"}function vD(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){BF(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=vD("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 Pe=ru,Ze="onMouseLeave",We="onMouseEnter",Ot="mouse";(o==="pointerout"||o==="pointerover")&&(Pe=fy,Ze="onPointerLeave",We="onPointerEnter",Ot="pointer");var Rt=Q==null?V:up(Q),ne=le==null?V:up(le),ve=new Pe(Ze,Ot+"leave",Q,g,C);ve.target=Rt,ve.relatedTarget=ne;var re=null,xe=Dd(C);if(xe===v){var Ie=new Pe(We,Ot+"enter",le,g,C);Ie.target=ne,Ie.relatedTarget=Rt,re=Ie}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 hD(i,C,T,R,k)}function hD(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 DF(i){return i&&i.nodeType===Yo}function MF(i,o){return!i||!o?!1:i===o?!0:DF(i)?!1:DF(o)?MF(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1}function HQ(i){return i&&i.ownerDocument&&MF(i.ownerDocument.documentElement,i)}function GQ(i){try{return typeof i.contentWindow.location.href=="string"}catch{return!1}}function RF(){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 pD(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=RF();return{focusedElem:i,selectionRange:pD(i)?YQ(i):null}}function jQ(i){var o=RF(),v=i.focusedElem,g=i.selectionRange;if(o!==v&&HQ(v)){g!==null&&pD(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,gD=null,gy=null,mD=!1;function QQ(i){if("selectionStart"in i&&pD(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 AF(i,o,v){var g=ZQ(v);if(!(mD||rp==null||rp!==jv(g))){var C=QQ(rp);if(!gy||!Xe(gy,C)){gy=C;var T=WS(gD,"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,gD=v,gy=null);break;case"focusout":rp=null,gD=null,gy=null;break;case"mousedown":mD=!0;break;case"contextmenu":case"mouseup":case"dragend":mD=!1,AF(i,g,C);break;case"selectionchange":if(XQ)break;case"keydown":case"keyup":AF(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")},yD={},LF={};Zt&&(LF=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(yD[i])return yD[i];if(!ip[i])return i;var o=ip[i];for(var v in o)if(o.hasOwnProperty(v)&&v in LF)return yD[i]=o[v];return i}var OF=jS("animationend"),kF=jS("animationiteration"),NF=jS("animationstart"),PF=jS("transitionend"),IF=new Map,zF=["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){IF.set(i,o),$e(o,[i])}function JQ(){for(var i=0;i<zF.length;i++){var o=zF[i],v=o.toLowerCase(),g=o[0].toUpperCase()+o.slice(1);Tf(v,"on"+g)}Tf(OF,"onAnimationEnd"),Tf(kF,"onAnimationIteration"),Tf(NF,"onAnimationStart"),Tf("dblclick","onDoubleClick"),Tf("focusin","onFocus"),Tf("focusout","onBlur"),Tf(PF,"onTransitionEnd")}function eZ(i,o,v,g,C,T,R){var k=IF.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=lD;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 OF:case kF:case NF:N=Xh;break;case PF:N=sD;break;case"scroll":N=ay;break;case"wheel":N=Qh;break;case"copy":case"cut":case"paste":N=rD;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&$E)===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"],_D=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(my));function FF(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;FF(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;FF(i,le,Q),g=K}}function BF(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),BF(R,o)}function Un(i,o){_D.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)||(UF(o,i,qc,v),g.add(C))}function SD(i,o,v){_D.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),UF(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"&&(_D.has(v)||SD(v,!1,i),SD(v,!0,i))});var o=i.nodeType===ja?i:i.ownerDocument;o!==null&&(o[YS]||(o[YS]=!0,SD("selectionchange",!1,o)))}}function UF(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 VF(i,o){return i===o||i.nodeType===Jn&&i.parentNode===o}function CD(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(VF(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(VF(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 HF(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&&HF(i,o,g,T,!1),C!==null&&v!==null&&HF(i,v,C,T,!0)}function lZ(i,o){return i+"__"+(o?"capture":"bubble")}var Ta=!1,Sy="dangerouslySetInnerHTML",XS="suppressContentEditableWarning",bf="suppressHydrationWarning",GF="autoFocus",bd="children",Ed="style",qS="__html",wD,QS,Cy,$F,ZS,jF,YF;wD={dialog:!0,webview:!0},QS=function(i,o){rh(i,o),ym(i,o),aS(i,o,{registrationNameDependencies:zt,possibleRegistrationNames:Ft})},jF=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)))}},$F=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)},YF=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,`
81
+ Check the render method of \``+i+"`.":""}var k1=["value","defaultValue"];function OE(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;OE(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 kE(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 NE(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 PE(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",IE="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 IE;default:return jo}}function dm(i,o){return i==null||i===jo?Zv(o):i===cm&&o==="foreignObject"?jo:i}var zE=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=zE(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,FE=/^ms-/;function BE(i){return i.replace(qs,"-$1").toLowerCase().replace(FE,"-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))},UE=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)||UE(i,o))}}var VE=H1;function HE(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:BE(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||VE(g,o[g]);var T=eh(g,o[g],C);g==="float"&&(g="cssFloat"),C?v.setProperty(g,T):v[g]=T}}function GE(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.",GE(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,$E=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 jE(){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 YE(){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,YE()}}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 Pe=Array.prototype.slice.call(arguments,3);function Ze(){K=!0,de(),v.apply(g,Pe),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 WE=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,WE.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 XE(){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.",dt(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=qE(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 qE(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),Pe=1<<de;g|=le[de],ue&=~Pe}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 ZE(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 KE(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 JE(){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 eD(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 tD(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),jE()}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){CD(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&&CD(i,o,g,mf,v),R===C)break;C=R}C!==null&&g.stopPropagation();return}CD(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),nD=Dt({},Xr,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),rD=tr(nD),IS=Dt({},Xr,{data:0}),sy=tr(IS),us=sy,iD={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=iD[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 aD(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 aD}var oD=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}}),lD=tr(oD),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),uD=Dt({},Sf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qh}),xa=tr(uD),cy=Dt({},Xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),sD=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 fD=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 cD(i,o,v,g,C){var T;if(fD?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),cD(i,o,v,g,C)}var dD={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"?!!dD[i.type]:o==="textarea"}function vD(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){BF(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=vD("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 Pe=ru,Ze="onMouseLeave",We="onMouseEnter",Ot="mouse";(o==="pointerout"||o==="pointerover")&&(Pe=fy,Ze="onPointerLeave",We="onPointerEnter",Ot="pointer");var Rt=Q==null?V:up(Q),ne=le==null?V:up(le),ve=new Pe(Ze,Ot+"leave",Q,g,C);ve.target=Rt,ve.relatedTarget=ne;var re=null,xe=Dd(C);if(xe===v){var Ie=new Pe(We,Ot+"enter",le,g,C);Ie.target=ne,Ie.relatedTarget=Rt,re=Ie}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 hD(i,C,T,R,k)}function hD(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 DF(i){return i&&i.nodeType===Yo}function MF(i,o){return!i||!o?!1:i===o?!0:DF(i)?!1:DF(o)?MF(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1}function HQ(i){return i&&i.ownerDocument&&MF(i.ownerDocument.documentElement,i)}function GQ(i){try{return typeof i.contentWindow.location.href=="string"}catch{return!1}}function RF(){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 pD(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=RF();return{focusedElem:i,selectionRange:pD(i)?YQ(i):null}}function jQ(i){var o=RF(),v=i.focusedElem,g=i.selectionRange;if(o!==v&&HQ(v)){g!==null&&pD(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,gD=null,gy=null,mD=!1;function QQ(i){if("selectionStart"in i&&pD(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 AF(i,o,v){var g=ZQ(v);if(!(mD||rp==null||rp!==jv(g))){var C=QQ(rp);if(!gy||!Xe(gy,C)){gy=C;var T=WS(gD,"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,gD=v,gy=null);break;case"focusout":rp=null,gD=null,gy=null;break;case"mousedown":mD=!0;break;case"contextmenu":case"mouseup":case"dragend":mD=!1,AF(i,g,C);break;case"selectionchange":if(XQ)break;case"keydown":case"keyup":AF(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")},yD={},LF={};Zt&&(LF=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(yD[i])return yD[i];if(!ip[i])return i;var o=ip[i];for(var v in o)if(o.hasOwnProperty(v)&&v in LF)return yD[i]=o[v];return i}var OF=jS("animationend"),kF=jS("animationiteration"),NF=jS("animationstart"),PF=jS("transitionend"),IF=new Map,zF=["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){IF.set(i,o),$e(o,[i])}function JQ(){for(var i=0;i<zF.length;i++){var o=zF[i],v=o.toLowerCase(),g=o[0].toUpperCase()+o.slice(1);Tf(v,"on"+g)}Tf(OF,"onAnimationEnd"),Tf(kF,"onAnimationIteration"),Tf(NF,"onAnimationStart"),Tf("dblclick","onDoubleClick"),Tf("focusin","onFocus"),Tf("focusout","onBlur"),Tf(PF,"onTransitionEnd")}function eZ(i,o,v,g,C,T,R){var k=IF.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=lD;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 OF:case kF:case NF:N=Xh;break;case PF:N=sD;break;case"scroll":N=ay;break;case"wheel":N=Qh;break;case"copy":case"cut":case"paste":N=rD;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&$E)===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"],_D=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(my));function FF(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;FF(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;FF(i,le,Q),g=K}}function BF(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),BF(R,o)}function Un(i,o){_D.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)||(UF(o,i,qc,v),g.add(C))}function SD(i,o,v){_D.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),UF(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"&&(_D.has(v)||SD(v,!1,i),SD(v,!0,i))});var o=i.nodeType===ja?i:i.ownerDocument;o!==null&&(o[YS]||(o[YS]=!0,SD("selectionchange",!1,o)))}}function UF(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 VF(i,o){return i===o||i.nodeType===Jn&&i.parentNode===o}function CD(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(VF(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(VF(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 HF(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&&HF(i,o,g,T,!1),C!==null&&v!==null&&HF(i,v,C,T,!0)}function lZ(i,o){return i+"__"+(o?"capture":"bubble")}var Ta=!1,Sy="dangerouslySetInnerHTML",XS="suppressContentEditableWarning",bf="suppressHydrationWarning",GF="autoFocus",bd="children",Ed="style",qS="__html",wD,QS,Cy,$F,ZS,jF,YF;wD={dialog:!0,webview:!0},QS=function(i,o){rh(i,o),ym(i,o),aS(i,o,{registrationNameDependencies:zt,possibleRegistrationNames:Ft})},jF=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)))}},$F=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)},YF=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
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&&Ne))throw new Error("Text content does not match server-rendered HTML.")}function WF(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===GF||(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=WF(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(wD,i)&&(wD[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 WF(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":kE(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===GF||(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":NE(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 Pe=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=YF(i,Ot);Rt!==We&&Cy(ue,We,Rt)}}else if(ue===Ed){if(N.delete(ue),jF){var ne=HE(de);Pe=i.getAttribute("style"),ne!==Pe&&Cy(ue,Pe,ne)}}else if(k&&!St)N.delete(ue.toLowerCase()),Pe=Hs(i,ue,de),de!==Pe&&Cy(ue,Pe,de);else if(!Yn(ue,Ze,k)&&!_n(ue,de,Ze,k)){var ve=!1;if(Ze!==null)N.delete(Ze.attributeName),Pe=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)}Pe=Hs(i,ue,de)}var Ie=St;!Ie&&de!==Pe&&!ve&&Cy(ue,Pe,de)}}}}}switch(R&&N.size>0&&v[bf]!==!0&&$F(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 xD(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 TD(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 bD(i,o,v){{if(Ta)return;Ta=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",o,i.nodeName.toLowerCase())}}function ED(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":PE(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"],XF=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],xZ=XF.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 XF.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},QF={};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(!QF[B]){QF[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",DD=null,MD=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 nre(i){return i}function AZ(i){DD=Yi(),MD=$Q();var o=null;return Cr(!1),o}function LZ(i){jQ(MD),Cr(DD),DD=null,MD=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),ID(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 RD(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 AD=typeof setTimeout=="function"?setTimeout:void 0,FZ=typeof clearTimeout=="function"?clearTimeout:void 0,LD=-1,ZF=typeof Promise=="function"?Promise:void 0,BZ=typeof queueMicrotask=="function"?queueMicrotask:typeof ZF<"u"?function(i){return ZF.resolve(null).then(i).catch(UZ)}:AD;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),ID(i,C)}function KF(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 OD(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?OD(i.parentNode,o):i.nodeType===gi&&OD(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 JF(i){return i.data===Ty}function kD(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),ID(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 e5(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?xD(i,o):o.nodeType===Jn||TD(i,o)}function SK(i,o){{var v=i.parentNode;v!==null&&(o.nodeType===gi?xD(v,o):o.nodeType===Jn||TD(v,o))}}function CK(i,o,v,g,C){(C||o[tC]!==!0)&&(g.nodeType===gi?xD(v,g):g.nodeType===Jn||TD(v,g))}function wK(i,o,v){bD(i,o)}function xK(i,o){ED(i,o)}function TK(i,o,v){{var g=i.parentNode;g!==null&&bD(g,o)}}function bK(i,o){{var v=i.parentNode;v!==null&&ED(v,o)}}function EK(i,o,v,g,C,T){(T||o[tC]!==!0)&&bD(v,g)}function DK(i,o,v,g,C){(C||o[tC]!==!0)&&ED(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,ND="__reactProps$"+op,Dy="__reactContainer$"+op,PD="__reactEvents$"+op,AK="__reactListeners$"+op,LK="__reactHandles$"+op;function OK(i){delete i[lp],delete i[ND],delete i[PD],delete i[AK],delete i[LK]}function My(i,o){o[lp]=i}function aC(i,o){o[Dy]=i}function t5(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=e5(i);C!==null;){var T=C[lp];if(T)return T;C=e5(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[ND]||null}function ID(i,o){i[ND]=o}function kK(i){var o=i[PD];return o===void 0&&(o=i[PD]=new Set),o}var n5={},r5=n.ReactDebugCurrentFrame;function lC(i){if(i){var o=i._owner,v=Ic(i.type,i._source,o?o.type:null);r5.setExtraStackFrame(v)}else r5.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 n5)&&(n5[k.message]=!0,lC(C),u("Failed %s type: %s",v,k.message),lC(null))}}}var zD=[],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=zD[cs],zD[cs]=null,uC[cs]=null,cs--}function Ei(i,o,v){cs++,zD[cs]=i.current,uC[cs]=v,i.current=o}var FD;FD={};var Qa={};Object.freeze(Qa);var ds=Df(Qa),ou=Df(!1),BD=Qa;function sp(i,o,v){return v&&lu(o)?BD:ds.current}function i5(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=dt(i)||"Unknown";ol(g,T,"context",k)}return C&&i5(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 UD(i){bi(ou,i),bi(ds,i)}function a5(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 o5(i,o,v){{var g=i.stateNode,C=o.childContextTypes;if(typeof g.getChildContext!="function"){{var T=dt(i)||"Unknown";FD[T]||(FD[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((dt(i)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');{var N=dt(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 BD=ds.current,Ei(ds,v,i),Ei(ou,ou.current,i),!0}}function l5(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=o5(i,o,BD);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,VD=!1,HD=!1;function u5(i){vs===null?vs=[i]:vs.push(i)}function PK(i){VD=!0,u5(i)}function s5(){VD&&Rf()}function Rf(){if(!HD&&vs!==null){HD=!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,VD=!1}catch(T){throw vs!==null&&(vs=vs.slice(i+1)),ch(vh,Rf),T}finally{sr(o),HD=!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 f5(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,Pe=de|Q,Ze=K+C;hs=1<<ue|Pe,ps=Ze}else{var We=k<<T,Ot=We|R,Rt=C;hs=1<<N|Ot,ps=Rt}}function GD(i){Ad();var o=i.return;if(o!==null){var v=1,g=0;Rd(i,v),f5(i,v,g)}}function pC(i){return 32-_h(i)}function BK(i){return 1<<pC(i)-1}function $D(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 c5(){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 d5(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 v5(i,o){d5(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 jD(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 Pe=o.pendingProps;bK(ue,Pe);break}break}default:return}}}function h5(i,o){o.flags=o.flags&~pa|Cn,jD(i,o)}function p5(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 YD(i){return(i.mode&wt)!==Je&&(i.flags&lt)===Qe}function WD(i){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function XD(i){if(ll){var o=bo;if(!o){YD(i)&&(jD(ti,i),WD()),h5(ti,i),ll=!1,ti=i;return}var v=o;if(!p5(i,o)){YD(i)&&(jD(ti,i),WD()),o=Ey(v);var g=ti;if(!o||!p5(i,o)){h5(ti,i),ll=!1,ti=i;return}v5(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 g5(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 g5(i),ll=!0,!1;if(i.tag!==m&&(i.tag!==_||gK(i.type)&&!RD(i.type,i.memoizedProps))){var o=bo;if(o)if(YD(i))m5(i),WD();else for(;o;)v5(i,o),o=Ey(o)}return g5(i),i.tag===I?bo=qK(i):bo=ti?Ey(i.stateNode):null,!0}function QK(){return ll&&bo!==null}function m5(i){for(var o=bo;o;)d5(i,o),o=Ey(o)}function vp(){ti=null,bo=null,ll=!1,Ld=!1}function y5(){Af!==null&&(d3(Af),Af=null)}function ni(){return ll}function qD(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(dt(Q)||"Component"),kd.add(Q.type)}),Ay=[]);var o=new Set;Ly.length>0&&(Ly.forEach(function(Q){o.add(dt(Q)||"Component"),kd.add(Q.type)}),Ly=[]);var v=new Set;Oy.length>0&&(Oy.forEach(function(Q){v.add(dt(Q)||"Component"),kd.add(Q.type)}),Oy=[]);var g=new Set;ky.length>0&&(ky.forEach(function(Q){g.add(dt(Q)||"Component"),kd.add(Q.type)}),ky=[]);var C=new Set;Ny.length>0&&(Ny.forEach(function(Q){C.add(dt(Q)||"Component"),kd.add(Q.type)}),Ny=[]);var T=new Set;if(Py.length>0&&(Py.forEach(function(Q){T.add(dt(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.
@@ -114,7 +114,7 @@ The old API will be supported in all 16.x releases, but applications using it sh
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`,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),ZD;ZD={};var yC=null,hp=null,KD=null,_C=!1;function SC(){yC=null,hp=null,KD=null,_C=!1}function S5(){_C=!0}function C5(){_C=!1}function w5(i,o,v){Ei(QD,o._currentValue,i),o._currentValue=v,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==ZD&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=ZD}function JD(i,o){var v=QD.current;bi(QD,o),i._currentValue=v}function eM(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=pt(C.childLanes,o)):(g.childLanes=pt(g.childLanes,o),C!==null&&(C.childLanes=pt(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=pt(g.lanes,v);var Q=g.alternate;Q!==null&&(Q.lanes=pt(Q.lanes,v)),eM(g.return,v,i),T.lanes=pt(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=pt(le.lanes,v);var ue=le.alternate;ue!==null&&(ue.lanes=pt(ue.lanes,v)),eM(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,KD=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(KD!==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 tM(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 x5(i,o,v,g){var C=o.interleaved;return C===null?(v.next=v,tM(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,tM(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,tM(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=pt(i.lanes,o);var v=i.alternate;v!==null&&(v.lanes=pt(v.lanes,o)),v===null&&(i.flags&(Cn|pa))!==Qe&&T3(i);for(var g=i,C=i.return;C!==null;)C.childLanes=pt(C.childLanes,o),v=C.alternate,v!==null?v.childLanes=pt(v.childLanes,o):(C.flags&(Cn|pa))!==Qe&&T3(i),g=C,C=C.return;if(g.tag===m){var T=g.stateNode;return T}else return null}var T5=0,b5=1,wC=2,nM=3,xC=!1,rM,TC;rM=!1,TC=null;function iM(i){var o={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:he},effects:null};i.updateQueue=o}function E5(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:T5,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&&!rM&&(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."),rM=!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=pt(T,v);C.lanes=R,cf(i,R)}}}function aM(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 b5:{var R=v.payload;if(typeof R=="function"){S5();var k=R.call(T,g,C);{if(i.mode&Fn){lr(!0);try{R.call(T,g,C)}finally{lr(!1)}}C5()}return k}return R}case nM:i.flags=i.flags&~yr|lt;case T5:{var N=v.payload,B;if(typeof N=="function"){S5(),B=N.call(T,g,C);{if(i.mode&Fn){lr(!0);try{N.call(T,g,C)}finally{lr(!1)}}C5()}}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,Pe=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?(Pe=Ze=ne,de=le):Ze=Ze.next=ne,ue=pt(ue,Ot)}if(We=We.next,We===null){if(k=C.shared.pending,k===null)break;var Ie=k,Ae=Ie.next;Ie.next=null,We=Ae,C.lastBaseUpdate=Ie,C.shared.pending=null}}while(!0);Ze===null&&(de=le),C.baseState=de,C.firstBaseUpdate=Pe,C.lastBaseUpdate=Ze;var at=C.shared.interleaved;if(at!==null){var ct=at;do ue=pt(ue,ct.lane),ct=ct.next;while(ct!==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 D5(){xC=!1}function DC(){return xC}function M5(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 oM={},R5=new t.Component().refs,lM,uM,sM,fM,cM,A5,MC,dM,vM,hM;{lM=new Set,uM=new Set,sM=new Set,fM=new Set,dM=new Set,cM=new Set,vM=new Set,hM=new Set;var L5=new Set;MC=function(i,o){if(!(i===null||typeof i=="function")){var v=o+"_"+i;L5.has(v)||(L5.add(v),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i))}},A5=function(i,o){if(o===void 0){var v=hn(i)||"Component";cM.has(v)||(cM.add(v),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",v))}},Object.defineProperty(oM,"_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(oM)}function pM(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)}}A5(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 gM={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=b5,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 O5(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&&!vM.has(o)&&(vM.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"&&!sM.has(o)&&(sM.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 k5(i,o){o.updater=gM,i.stateNode=o,ef(o,i),o._reactInternalInstance=oM}function N5(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&&!hM.has(o)){hM.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;k5(i,V);{if(typeof o.getDerivedStateFromProps=="function"&&K===null){var Q=hn(o)||"Component";uM.has(Q)||(uM.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 Pe=hn(o)||"Component",Ze=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";fM.has(Pe)||(fM.add(Pe),u(`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),ZD;ZD={};var yC=null,hp=null,KD=null,_C=!1;function SC(){yC=null,hp=null,KD=null,_C=!1}function S5(){_C=!0}function C5(){_C=!1}function w5(i,o,v){Ei(QD,o._currentValue,i),o._currentValue=v,o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==ZD&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=ZD}function JD(i,o){var v=QD.current;bi(QD,o),i._currentValue=v}function eM(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)),eM(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)),eM(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,KD=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(KD!==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 tM(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 x5(i,o,v,g){var C=o.interleaved;return C===null?(v.next=v,tM(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,tM(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,tM(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&&T3(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&&T3(i),g=C,C=C.return;if(g.tag===m){var T=g.stateNode;return T}else return null}var T5=0,b5=1,wC=2,nM=3,xC=!1,rM,TC;rM=!1,TC=null;function iM(i){var o={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:he},effects:null};i.updateQueue=o}function E5(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:T5,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&&!rM&&(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."),rM=!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 aM(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 b5:{var R=v.payload;if(typeof R=="function"){S5();var k=R.call(T,g,C);{if(i.mode&Fn){lr(!0);try{R.call(T,g,C)}finally{lr(!1)}}C5()}return k}return R}case nM:i.flags=i.flags&~yr|lt;case T5:{var N=v.payload,B;if(typeof N=="function"){S5(),B=N.call(T,g,C);{if(i.mode&Fn){lr(!0);try{N.call(T,g,C)}finally{lr(!1)}}C5()}}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,Pe=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?(Pe=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 Ie=k,Ae=Ie.next;Ie.next=null,We=Ae,C.lastBaseUpdate=Ie,C.shared.pending=null}}while(!0);Ze===null&&(de=le),C.baseState=de,C.firstBaseUpdate=Pe,C.lastBaseUpdate=Ze;var at=C.shared.interleaved;if(at!==null){var ct=at;do ue=gt(ue,ct.lane),ct=ct.next;while(ct!==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 D5(){xC=!1}function DC(){return xC}function M5(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 oM={},R5=new t.Component().refs,lM,uM,sM,fM,cM,A5,MC,dM,vM,hM;{lM=new Set,uM=new Set,sM=new Set,fM=new Set,dM=new Set,cM=new Set,vM=new Set,hM=new Set;var L5=new Set;MC=function(i,o){if(!(i===null||typeof i=="function")){var v=o+"_"+i;L5.has(v)||(L5.add(v),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,i))}},A5=function(i,o){if(o===void 0){var v=hn(i)||"Component";cM.has(v)||(cM.add(v),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",v))}},Object.defineProperty(oM,"_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(oM)}function pM(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)}}A5(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 gM={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=b5,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 O5(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&&!vM.has(o)&&(vM.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"&&!sM.has(o)&&(sM.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 k5(i,o){o.updater=gM,i.stateNode=o,ef(o,i),o._reactInternalInstance=oM}function N5(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&&!hM.has(o)){hM.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;k5(i,V);{if(typeof o.getDerivedStateFromProps=="function"&&K===null){var Q=hn(o)||"Component";uM.has(Q)||(uM.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 Pe=hn(o)||"Component",Ze=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";fM.has(Pe)||(fM.add(Pe),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
 
@@ -122,7 +122,7 @@ The above lifecycles should be removed. Learn more about this warning here:
122
122
  https://reactjs.org/link/unsafe-component-lifecycles`,Pe,Ze,le!==null?`
123
123
  `+le:"",ue!==null?`
124
124
  `+ue:"",de!==null?`
125
- `+de:""))}}}return g&&i5(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.",dt(i)||"Component"),gM.enqueueReplaceState(o,o.state,null))}function P5(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=dt(i)||"Component";lM.has(T)||(lM.add(T),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",T))}gM.enqueueReplaceState(o,o.state,null)}}function mM(i,o,v,g){sJ(i,o,v);var C=i.stateNode;C.props=v,C.state=i.memoizedState,C.refs=R5,iM(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";dM.has(k)||(dM.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"&&(pM(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=ht;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)&&P5(i,C,v,N),D5();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=ht;ue|=yi,(i.mode&ya)!==Je&&(ue|=_i),i.flags|=ue}return!1}typeof V=="function"&&(pM(i,o,V,v),le=i.memoizedState);var de=DC()||O5(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 Pe=ht;Pe|=yi,(i.mode&ya)!==Je&&(Pe|=_i),i.flags|=Pe}}else{if(typeof C.componentDidMount=="function"){var Ze=ht;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;E5(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)&&P5(o,T,g,K),D5();var de=o.memoizedState,Pe=T.state=de;if(EC(o,g,T,C),Pe=o.memoizedState,R===N&&de===Pe&&!sC()&&!DC()&&!ge)return typeof T.componentDidUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=ht),typeof T.getSnapshotBeforeUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=ha),!1;typeof le=="function"&&(pM(o,v,le,g),Pe=o.memoizedState);var Ze=DC()||O5(o,v,k,g,de,Pe,K)||ge;return Ze?(!ue&&(typeof T.UNSAFE_componentWillUpdate=="function"||typeof T.componentWillUpdate=="function")&&(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(g,Pe,K),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(g,Pe,K)),typeof T.componentDidUpdate=="function"&&(o.flags|=ht),typeof T.getSnapshotBeforeUpdate=="function"&&(o.flags|=ha)):(typeof T.componentDidUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=ht),typeof T.getSnapshotBeforeUpdate=="function"&&(R!==i.memoizedProps||de!==i.memoizedState)&&(o.flags|=ha),o.memoizedProps=g,o.memoizedState=Pe),T.props=g,T.state=Pe,T.context=K,Ze}var yM,_M,SM,CM,wM,I5=function(i,o){};yM=!1,_M=!1,SM={},CM={},wM={},I5=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=dt(o)||"Component";CM[v]||(CM[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=dt(i)||"Component";SM[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),SM[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===R5&&(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:
125
+ `+de:""))}}}return g&&i5(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.",dt(i)||"Component"),gM.enqueueReplaceState(o,o.state,null))}function P5(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=dt(i)||"Component";lM.has(T)||(lM.add(T),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",T))}gM.enqueueReplaceState(o,o.state,null)}}function mM(i,o,v,g){sJ(i,o,v);var C=i.stateNode;C.props=v,C.state=i.memoizedState,C.refs=R5,iM(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";dM.has(k)||(dM.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"&&(pM(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)&&P5(i,C,v,N),D5();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"&&(pM(i,o,V,v),le=i.memoizedState);var de=DC()||O5(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 Pe=pt;Pe|=yi,(i.mode&ya)!==Je&&(Pe|=_i),i.flags|=Pe}}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;E5(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)&&P5(o,T,g,K),D5();var de=o.memoizedState,Pe=T.state=de;if(EC(o,g,T,C),Pe=o.memoizedState,R===N&&de===Pe&&!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"&&(pM(o,v,le,g),Pe=o.memoizedState);var Ze=DC()||O5(o,v,k,g,de,Pe,K)||ge;return Ze?(!ue&&(typeof T.UNSAFE_componentWillUpdate=="function"||typeof T.componentWillUpdate=="function")&&(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(g,Pe,K),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(g,Pe,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=Pe),T.props=g,T.state=Pe,T.context=K,Ze}var yM,_M,SM,CM,wM,I5=function(i,o){};yM=!1,_M=!1,SM={},CM={},wM={},I5=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=dt(o)||"Component";CM[v]||(CM[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=dt(i)||"Component";SM[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),SM[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===R5&&(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
@@ -139,13 +139,13 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
139
139
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function OM(i,o){if(LM)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`,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,LM=i!==null&&i.type!==o.type,o.memoizedState=null,o.updateQueue=null,o.lanes=he,i!==null&&i.memoizedState!==null?ke.current=cB:Eo!==null?ke.current=fB:ke.current=sB;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,LM=!1,Lr=null,Or=null,o.updateQueue=null,Nf=-1,ke.current=dB,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 $5(i,o,v){o.updateQueue=i.updateQueue,(o.mode&ya)!==Je?o.flags&=~($u|_i|Ln|ht):o.flags&=~(Ln|ht),i.lanes=ff(i.lanes,v)}function j5(){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,iB=!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 Y5(){return{lastEffect:null,stores:null}}function kM(i,o){return typeof o=="function"?o(i):o}function NM(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 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=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 Pe=de.lane;if(es(Pd,Pe)){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:Pe,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null};ue===null?(le=ue=Ze,Q=K):ue=ue.next=Ze,un.lanes=pt(un.lanes,Pe),l0(Pe)}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=pt(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 IM(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 rre(i,o,v){}function ire(i,o,v){}function zM(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)||W5(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,X5.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,X5.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)||W5(g,o,T)}return T}function W5(i,o,v){i.flags|=rd;var g={getSnapshot:o,value:v},C=un.updateQueue;if(C===null)C=Y5(),un.updateQueue=C,C.stores=[g];else{var T=C.stores;T===null?C.stores=[g]:T.push(g)}}function X5(i,o,v,g){o.value=v,o.getSnapshot=g,Q5(o)&&Z5(i)}function q5(i,o,v){var g=function(){Q5(o)&&Z5(i)};return v(g)}function Q5(i){var o=i.getSnapshot,v=i.value;try{var g=o();return!Ve(v,g)}catch{return!0}}function Z5(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:kM,lastRenderedState:i};o.queue=v;var g=v.dispatch=EJ.bind(null,un,v);return[o.memoizedState,g]}function FM(i){return PM(kM)}function BM(i){return IM(kM)}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=Y5(),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 UM(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(OM(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 VM(i,o){return $y(ht,uu,i,o)}function UC(i,o){return FC(ht,uu,i,o)}function HM(i,o){var v=ht;return v|=yi,(un.mode&ya)!==Je&&(v|=_i),$y(v,Ar,i,o)}function VC(i,o){return FC(ht,Ar,i,o)}function K5(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 GM(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=ht;return C|=yi,(un.mode&ya)!==Je&&(C|=_i),$y(C,Ar,K5.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(ht,Ar,K5.bind(null,o,i),g)}function wJ(i,o){}var GC=wJ;function $M(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(OM(g,T))return C[0]}return v.memoizedState=[i,g],i}function jM(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(OM(g,T))return C[0]}var R=i();return v.memoizedState=[R,g],R}function YM(i){var o=su();return o.memoizedState=i,i}function J5(i){var o=Do(),v=Lr,g=v.memoizedState;return tB(o,g,i)}function eB(i){var o=Do();if(Lr===null)return o.memoizedState=i,i;var v=Lr.memoizedState;return tB(o,v,i)}function tB(i,o,v){var g=!KE(Pd);if(g){if(!Ve(v,o)){var C=Ym();un.lanes=pt(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 WM(){var i=IC(!1),o=i[0],v=i[1],g=xJ.bind(null,v),C=su();return C.memoizedState=g,[o,g]}function nB(){var i=FM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}function rB(){var i=BM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}var iB=!1;function TJ(){return iB}function XM(){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(aB(i))oB(o,C);else{var T=x5(i,o,C,g);if(T!==null){var R=qi();Ir(T,i,g,R),lB(T,o,g)}}uB(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(aB(i))oB(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=x5(i,o,C,g);if(V!==null){var K=qi();Ir(V,i,g,K),lB(V,o,g)}}uB(i,g)}function aB(i){var o=i.alternate;return i===un||o!==null&&o===un}function oB(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 lB(i,o,v){if(jm(v)){var g=o.lanes;g=Wm(g,i.pendingLanes);var C=pt(g,v);o.lanes=C,cf(i,C)}}function uB(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},sB=null,fB=null,cB=null,dB=null,fu=null,cl=null,XC=null;{var qM=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().")},st=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")};sB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Jt(),Cp(o),$M(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),GM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Jt(),Cp(o),VM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Jt(),Cp(o),HM(i,o)},useMemo:function(i,o){me="useMemo",Jt(),Cp(o);var v=ke.current;ke.current=fu;try{return jM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Jt();var g=ke.current;ke.current=fu;try{return NM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Jt(),UM(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(),YM(i)},useTransition:function(){return me="useTransition",Jt(),WM()},useMutableSource:function(i,o,v){return me="useMutableSource",Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Jt(),zM(i,o,v)},useId:function(){return me="useId",Jt(),XM()},unstable_isNewReconciler:ae},fB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Ee(),$M(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(),GM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Ee(),VM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Ee(),HM(i,o)},useMemo:function(i,o){me="useMemo",Ee();var v=ke.current;ke.current=fu;try{return jM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Ee();var g=ke.current;ke.current=fu;try{return NM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Ee(),UM(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(),YM(i)},useTransition:function(){return me="useTransition",Ee(),WM()},useMutableSource:function(i,o,v){return me="useMutableSource",Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Ee(),zM(i,o,v)},useId:function(){return me="useId",Ee(),XM()},unstable_isNewReconciler:ae},cB={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 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=cl;try{return FM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",Ee(),J5(i)},useTransition:function(){return me="useTransition",Ee(),nB()},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},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=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 IM(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 BM(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},fu={readContext:function(i){return qM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Jt(),$M(i,o)},useContext:function(i){return me="useContext",st(),Jt(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Jt(),BC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Jt(),GM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Jt(),VM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Jt(),HM(i,o)},useMemo:function(i,o){me="useMemo",st(),Jt();var v=ke.current;ke.current=fu;try{return jM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Jt();var g=ke.current;ke.current=fu;try{return NM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Jt(),UM(i)},useState:function(i){me="useState",st(),Jt();var o=ke.current;ke.current=fu;try{return IC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Jt(),void 0},useDeferredValue:function(i){return me="useDeferredValue",st(),Jt(),YM(i)},useTransition:function(){return me="useTransition",st(),Jt(),WM()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Jt(),zM(i,o,v)},useId:function(){return me="useId",st(),Jt(),XM()},unstable_isNewReconciler:ae},cl={readContext:function(i){return qM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Ee(),$C(i,o)},useContext:function(i){return me="useContext",st(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Ee(),HC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Ee(),UC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Ee(),VC(i,o)},useMemo:function(i,o){me="useMemo",st(),Ee();var v=ke.current;ke.current=cl;try{return jC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Ee();var g=ke.current;ke.current=cl;try{return PM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Ee(),zC()},useState:function(i){me="useState",st(),Ee();var o=ke.current;ke.current=cl;try{return FM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",st(),Ee(),J5(i)},useTransition:function(){return me="useTransition",st(),Ee(),nB()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Ee(),PC(i,o)},useId:function(){return me="useId",st(),Ee(),YC()},unstable_isNewReconciler:ae},XC={readContext:function(i){return qM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Ee(),$C(i,o)},useContext:function(i){return me="useContext",st(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Ee(),HC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Ee(),UC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Ee(),VC(i,o)},useMemo:function(i,o){me="useMemo",st(),Ee();var v=ke.current;ke.current=cl;try{return jC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Ee();var g=ke.current;ke.current=cl;try{return IM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Ee(),zC()},useState:function(i){me="useState",st(),Ee();var o=ke.current;ke.current=cl;try{return BM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",st(),Ee(),eB(i)},useTransition:function(){return me="useTransition",st(),Ee(),rB()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Ee(),PC(i,o)},useId:function(){return me="useId",st(),Ee(),YC()},unstable_isNewReconciler:ae}}var Pf=e.unstable_now,vB=0,qC=-1,Yy=-1,QC=-1,QM=!1,ZC=!1;function hB(){return QM}function DJ(){ZC=!0}function MJ(){QM=!1,ZC=!1}function RJ(){QM=ZC,ZC=!1}function pB(){return vB}function gB(){vB=Pf()}function ZM(i){Yy=Pf(),i.actualStartTime<0&&(i.actualStartTime=Pf())}function mB(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 KM(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 JM(){QC=Pf()}function eR(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 tR(i,o,v){return{value:i,source:null,stack:v??null,digest:o??null}}function AJ(i,o){return!0}function nR(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?dt(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.
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,LM=i!==null&&i.type!==o.type,o.memoizedState=null,o.updateQueue=null,o.lanes=he,i!==null&&i.memoizedState!==null?ke.current=cB:Eo!==null?ke.current=fB:ke.current=sB;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,LM=!1,Lr=null,Or=null,o.updateQueue=null,Nf=-1,ke.current=dB,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 $5(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 j5(){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,iB=!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 Y5(){return{lastEffect:null,stores:null}}function kM(i,o){return typeof o=="function"?o(i):o}function NM(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 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=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 Pe=de.lane;if(es(Pd,Pe)){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:Pe,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,Pe),l0(Pe)}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 IM(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 rre(i,o,v){}function ire(i,o,v){}function zM(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)||W5(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,X5.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,X5.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)||W5(g,o,T)}return T}function W5(i,o,v){i.flags|=rd;var g={getSnapshot:o,value:v},C=un.updateQueue;if(C===null)C=Y5(),un.updateQueue=C,C.stores=[g];else{var T=C.stores;T===null?C.stores=[g]:T.push(g)}}function X5(i,o,v,g){o.value=v,o.getSnapshot=g,Q5(o)&&Z5(i)}function q5(i,o,v){var g=function(){Q5(o)&&Z5(i)};return v(g)}function Q5(i){var o=i.getSnapshot,v=i.value;try{var g=o();return!Ve(v,g)}catch{return!0}}function Z5(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:kM,lastRenderedState:i};o.queue=v;var g=v.dispatch=EJ.bind(null,un,v);return[o.memoizedState,g]}function FM(i){return PM(kM)}function BM(i){return IM(kM)}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=Y5(),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 UM(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(OM(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 VM(i,o){return $y(pt,uu,i,o)}function UC(i,o){return FC(pt,uu,i,o)}function HM(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 K5(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 GM(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,K5.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,K5.bind(null,o,i),g)}function wJ(i,o){}var GC=wJ;function $M(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(OM(g,T))return C[0]}return v.memoizedState=[i,g],i}function jM(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(OM(g,T))return C[0]}var R=i();return v.memoizedState=[R,g],R}function YM(i){var o=su();return o.memoizedState=i,i}function J5(i){var o=Do(),v=Lr,g=v.memoizedState;return tB(o,g,i)}function eB(i){var o=Do();if(Lr===null)return o.memoizedState=i,i;var v=Lr.memoizedState;return tB(o,v,i)}function tB(i,o,v){var g=!KE(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 WM(){var i=IC(!1),o=i[0],v=i[1],g=xJ.bind(null,v),C=su();return C.memoizedState=g,[o,g]}function nB(){var i=FM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}function rB(){var i=BM(),o=i[0],v=Do(),g=v.memoizedState;return[o,g]}var iB=!1;function TJ(){return iB}function XM(){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(aB(i))oB(o,C);else{var T=x5(i,o,C,g);if(T!==null){var R=qi();Ir(T,i,g,R),lB(T,o,g)}}uB(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(aB(i))oB(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=x5(i,o,C,g);if(V!==null){var K=qi();Ir(V,i,g,K),lB(V,o,g)}}uB(i,g)}function aB(i){var o=i.alternate;return i===un||o!==null&&o===un}function oB(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 lB(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 uB(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},sB=null,fB=null,cB=null,dB=null,fu=null,cl=null,XC=null;{var qM=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().")},st=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")};sB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Jt(),Cp(o),$M(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),GM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Jt(),Cp(o),VM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Jt(),Cp(o),HM(i,o)},useMemo:function(i,o){me="useMemo",Jt(),Cp(o);var v=ke.current;ke.current=fu;try{return jM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Jt();var g=ke.current;ke.current=fu;try{return NM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Jt(),UM(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(),YM(i)},useTransition:function(){return me="useTransition",Jt(),WM()},useMutableSource:function(i,o,v){return me="useMutableSource",Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Jt(),zM(i,o,v)},useId:function(){return me="useId",Jt(),XM()},unstable_isNewReconciler:ae},fB={readContext:function(i){return xr(i)},useCallback:function(i,o){return me="useCallback",Ee(),$M(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(),GM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",Ee(),VM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",Ee(),HM(i,o)},useMemo:function(i,o){me="useMemo",Ee();var v=ke.current;ke.current=fu;try{return jM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",Ee();var g=ke.current;ke.current=fu;try{return NM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",Ee(),UM(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(),YM(i)},useTransition:function(){return me="useTransition",Ee(),WM()},useMutableSource:function(i,o,v){return me="useMutableSource",Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",Ee(),zM(i,o,v)},useId:function(){return me="useId",Ee(),XM()},unstable_isNewReconciler:ae},cB={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 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=cl;try{return FM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",Ee(),J5(i)},useTransition:function(){return me="useTransition",Ee(),nB()},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},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=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 IM(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 BM(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},fu={readContext:function(i){return qM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Jt(),$M(i,o)},useContext:function(i){return me="useContext",st(),Jt(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Jt(),BC(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Jt(),GM(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Jt(),VM(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Jt(),HM(i,o)},useMemo:function(i,o){me="useMemo",st(),Jt();var v=ke.current;ke.current=fu;try{return jM(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Jt();var g=ke.current;ke.current=fu;try{return NM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Jt(),UM(i)},useState:function(i){me="useState",st(),Jt();var o=ke.current;ke.current=fu;try{return IC(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Jt(),void 0},useDeferredValue:function(i){return me="useDeferredValue",st(),Jt(),YM(i)},useTransition:function(){return me="useTransition",st(),Jt(),WM()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Jt(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Jt(),zM(i,o,v)},useId:function(){return me="useId",st(),Jt(),XM()},unstable_isNewReconciler:ae},cl={readContext:function(i){return qM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Ee(),$C(i,o)},useContext:function(i){return me="useContext",st(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Ee(),HC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Ee(),UC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Ee(),VC(i,o)},useMemo:function(i,o){me="useMemo",st(),Ee();var v=ke.current;ke.current=cl;try{return jC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Ee();var g=ke.current;ke.current=cl;try{return PM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Ee(),zC()},useState:function(i){me="useState",st(),Ee();var o=ke.current;ke.current=cl;try{return FM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",st(),Ee(),J5(i)},useTransition:function(){return me="useTransition",st(),Ee(),nB()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Ee(),PC(i,o)},useId:function(){return me="useId",st(),Ee(),YC()},unstable_isNewReconciler:ae},XC={readContext:function(i){return qM(),xr(i)},useCallback:function(i,o){return me="useCallback",st(),Ee(),$C(i,o)},useContext:function(i){return me="useContext",st(),Ee(),xr(i)},useEffect:function(i,o){return me="useEffect",st(),Ee(),jy(i,o)},useImperativeHandle:function(i,o,v){return me="useImperativeHandle",st(),Ee(),HC(i,o,v)},useInsertionEffect:function(i,o){return me="useInsertionEffect",st(),Ee(),UC(i,o)},useLayoutEffect:function(i,o){return me="useLayoutEffect",st(),Ee(),VC(i,o)},useMemo:function(i,o){me="useMemo",st(),Ee();var v=ke.current;ke.current=cl;try{return jC(i,o)}finally{ke.current=v}},useReducer:function(i,o,v){me="useReducer",st(),Ee();var g=ke.current;ke.current=cl;try{return IM(i,o,v)}finally{ke.current=g}},useRef:function(i){return me="useRef",st(),Ee(),zC()},useState:function(i){me="useState",st(),Ee();var o=ke.current;ke.current=cl;try{return BM(i)}finally{ke.current=o}},useDebugValue:function(i,o){return me="useDebugValue",st(),Ee(),GC()},useDeferredValue:function(i){return me="useDeferredValue",st(),Ee(),eB(i)},useTransition:function(){return me="useTransition",st(),Ee(),rB()},useMutableSource:function(i,o,v){return me="useMutableSource",st(),Ee(),void 0},useSyncExternalStore:function(i,o,v){return me="useSyncExternalStore",st(),Ee(),PC(i,o)},useId:function(){return me="useId",st(),Ee(),YC()},unstable_isNewReconciler:ae}}var Pf=e.unstable_now,vB=0,qC=-1,Yy=-1,QC=-1,QM=!1,ZC=!1;function hB(){return QM}function DJ(){ZC=!0}function MJ(){QM=!1,ZC=!1}function RJ(){QM=ZC,ZC=!1}function pB(){return vB}function gB(){vB=Pf()}function ZM(i){Yy=Pf(),i.actualStartTime<0&&(i.actualStartTime=Pf())}function mB(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 KM(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 JM(){QC=Pf()}function eR(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 tR(i,o,v){return{value:i,source:null,stack:v??null,digest:o??null}}function AJ(i,o){return!0}function nR(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?dt(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
143
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var V=dt(i)||"Anonymous";B="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+V+".")}var K=N+`
144
144
  `+R+`
145
145
 
146
- `+(""+B);console.error(K)}catch(Q){setTimeout(function(){throw Q})}}var LJ=typeof WeakMap=="function"?WeakMap:Map;function yB(i,o,v){var g=gs(gn,v);g.tag=nM,g.payload={element:null};var C=o.value;return g.callback=function(){xte(C),nR(i,o)},g}function rR(i,o,v){var g=gs(gn,v);g.tag=nM;var C=i.type.getDerivedStateFromError;if(typeof C=="function"){var T=o.value;g.payload=function(){return C(T)},g.callback=function(){R3(i),nR(i,o)}}var R=i.stateNode;return R!==null&&typeof R.componentDidCatch=="function"&&(g.callback=function(){R3(i),nR(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.",dt(i)||"Unknown"))}),g}function _B(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 SB(i){var o=i;do{if(o.tag===I&&mJ(o))return o;o=o.return}while(o!==null);return null}function CB(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=pt(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&&c5();var R=SB(o);if(R!==null){R.flags&=~Vn,CB(R,o,v,i,C),R.mode&wt&&_B(i,T,C),OJ(R,i,T);return}else{if(!sf(C)){_B(i,T,C),IR();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){c5();var N=SB(o);if(N!==null){(N.flags&yr)===Qe&&(N.flags|=Vn),CB(N,o,v,i,C),qD(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=pt(B.lanes,K);var Q=yB(B,V,K);aM(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"&&!S3(de))){B.flags|=yr;var Pe=ur(C);B.lanes=pt(B.lanes,Pe);var Ze=rR(B,le,Pe);aM(B,Ze);return}break}B=B.return}while(B!==null)}function PJ(){return null}var Wy=n.ReactCurrentOwner,dl=!1,iR,Xy,aR,oR,lR,zd,uR,JC;iR={},Xy={},aR={},oR={},lR={},zd=!1,uR={},JC={};function Wi(i,o,v,g){i===null?o.child=B5(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 wB(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?($5(i,o,C),ms(i,o,C)):(ni()&&B&&GD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function xB(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,cR(o,T),TB(i,o,R,g,C)}{var k=T.propTypes;k&&ol(k,g,"prop",hn(T))}var N=WR(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=mR(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 TB(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,mR(i,C))(i.flags&id)!==Qe&&(dl=!0);else return o.lanes=i.lanes,ms(i,o,C)}return sR(i,o,v,g,C)}function bB(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=pt(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=pt(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|=ht;{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 EB(i,o){var v=o.ref;(i===null&&v!==null||i!==null&&i.ref!==v)&&(o.flags|=mi,o.flags|=Am)}function sR(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?($5(i,o,C),ms(i,o,C)):(ni()&&B&&GD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function DB(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=pt(o.lanes,V);var K=rR(o,Id(B,o),V);aM(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),N5(o,v,g),mM(o,v,g,C),de=!0):i===null?de=cJ(o,v,g,C):de=dJ(i,o,v,g,C);var Pe=fR(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.",dt(o)||"a component"),zd=!0)}return Pe}function fR(i,o,v,g,C,T){EB(i,o);var R=(o.flags&lt)!==Qe;if(!g&&!R)return C&&l5(o,v,!1),ms(i,o,T);var k=o.stateNode;Wy.current=o;var N;if(R&&typeof v.getDerivedStateFromError!="function")N=null,mB();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&&l5(o,v,!0),o.child}function MB(i){var o=i.stateNode;o.pendingContext?a5(i,o.pendingContext,o.pendingContext!==o.context):o.context&&a5(i,o.context,!1),xM(i,o.containerInfo)}function UJ(i,o,v){if(MB(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;E5(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 RB(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 RB(i,o,k,v,K)}else{$K(o);var Q=B5(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 RB(i,o,v,g,C){return vp(),qD(C),o.flags|=Vn,Wi(i,o,v,g),o.child}function VJ(i,o,v){V5(o),i===null&&XD(o);var g=o.type,C=o.pendingProps,T=i!==null?i.memoizedProps:null,R=C.children,k=RD(g,C);return k?R=null:T!==null&&RD(g,T)&&(o.flags|=Kt),EB(i,o),Wi(i,o,R,v),o.child}function HJ(i,o){return i===null&&XD(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 cR(o,N),o.type=N=Lp(N),K=sR(null,o,N,V,g),K;case h:return o.type=N=VR(N),K=DB(null,o,N,V,g),K;case O:return o.type=N=HR(N),K=wB(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=xB(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),N5(o,v,g),mM(o,v,g,C),fR(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";iR[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),iR[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,iM(o),k5(o,k),mM(o,v,C,g),fR(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&&GD(o),Wi(null,o,k,g),cR(o,v),o.child}}function cR(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+=`
146
+ `+(""+B);console.error(K)}catch(Q){setTimeout(function(){throw Q})}}var LJ=typeof WeakMap=="function"?WeakMap:Map;function yB(i,o,v){var g=gs(gn,v);g.tag=nM,g.payload={element:null};var C=o.value;return g.callback=function(){xte(C),nR(i,o)},g}function rR(i,o,v){var g=gs(gn,v);g.tag=nM;var C=i.type.getDerivedStateFromError;if(typeof C=="function"){var T=o.value;g.payload=function(){return C(T)},g.callback=function(){R3(i),nR(i,o)}}var R=i.stateNode;return R!==null&&typeof R.componentDidCatch=="function"&&(g.callback=function(){R3(i),nR(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.",dt(i)||"Unknown"))}),g}function _B(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 SB(i){var o=i;do{if(o.tag===I&&mJ(o))return o;o=o.return}while(o!==null);return null}function CB(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&&c5();var R=SB(o);if(R!==null){R.flags&=~Vn,CB(R,o,v,i,C),R.mode&wt&&_B(i,T,C),OJ(R,i,T);return}else{if(!sf(C)){_B(i,T,C),IR();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){c5();var N=SB(o);if(N!==null){(N.flags&yr)===Qe&&(N.flags|=Vn),CB(N,o,v,i,C),qD(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=yB(B,V,K);aM(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"&&!S3(de))){B.flags|=yr;var Pe=ur(C);B.lanes=gt(B.lanes,Pe);var Ze=rR(B,le,Pe);aM(B,Ze);return}break}B=B.return}while(B!==null)}function PJ(){return null}var Wy=n.ReactCurrentOwner,dl=!1,iR,Xy,aR,oR,lR,zd,uR,JC;iR={},Xy={},aR={},oR={},lR={},zd=!1,uR={},JC={};function Wi(i,o,v,g){i===null?o.child=B5(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 wB(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?($5(i,o,C),ms(i,o,C)):(ni()&&B&&GD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function xB(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,cR(o,T),TB(i,o,R,g,C)}{var k=T.propTypes;k&&ol(k,g,"prop",hn(T))}var N=WR(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=mR(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 TB(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,mR(i,C))(i.flags&id)!==Qe&&(dl=!0);else return o.lanes=i.lanes,ms(i,o,C)}return sR(i,o,v,g,C)}function bB(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 EB(i,o){var v=o.ref;(i===null&&v!==null||i!==null&&i.ref!==v)&&(o.flags|=mi,o.flags|=Am)}function sR(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?($5(i,o,C),ms(i,o,C)):(ni()&&B&&GD(o),o.flags|=Gl,Wi(i,o,N,C),o.child)}function DB(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=rR(o,Id(B,o),V);aM(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),N5(o,v,g),mM(o,v,g,C),de=!0):i===null?de=cJ(o,v,g,C):de=dJ(i,o,v,g,C);var Pe=fR(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.",dt(o)||"a component"),zd=!0)}return Pe}function fR(i,o,v,g,C,T){EB(i,o);var R=(o.flags&lt)!==Qe;if(!g&&!R)return C&&l5(o,v,!1),ms(i,o,T);var k=o.stateNode;Wy.current=o;var N;if(R&&typeof v.getDerivedStateFromError!="function")N=null,mB();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&&l5(o,v,!0),o.child}function MB(i){var o=i.stateNode;o.pendingContext?a5(i,o.pendingContext,o.pendingContext!==o.context):o.context&&a5(i,o.context,!1),xM(i,o.containerInfo)}function UJ(i,o,v){if(MB(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;E5(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 RB(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 RB(i,o,k,v,K)}else{$K(o);var Q=B5(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 RB(i,o,v,g,C){return vp(),qD(C),o.flags|=Vn,Wi(i,o,v,g),o.child}function VJ(i,o,v){V5(o),i===null&&XD(o);var g=o.type,C=o.pendingProps,T=i!==null?i.memoizedProps:null,R=C.children,k=RD(g,C);return k?R=null:T!==null&&RD(g,T)&&(o.flags|=Kt),EB(i,o),Wi(i,o,R,v),o.child}function HJ(i,o){return i===null&&XD(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 cR(o,N),o.type=N=Lp(N),K=sR(null,o,N,V,g),K;case h:return o.type=N=VR(N),K=DB(null,o,N,V,g),K;case O:return o.type=N=HR(N),K=wB(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=xB(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),N5(o,v,g),mM(o,v,g,C),fR(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";iR[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),iR[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,iM(o),k5(o,k),mM(o,v,C,g),fR(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&&GD(o),Wi(null,o,k,g),cR(o,v),o.child}}function cR(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 \``+g+"`.");var C=g||"",T=i._debugSource;T&&(C=T.fileName+":"+T.lineNumber),lR[C]||(lR[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";oR[R]||(u("%s: Function components do not support getDerivedStateFromProps.",R),oR[R]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var k=hn(o)||"Unknown";aR[k]||(u("%s: Function components do not support contextType.",k),aR[k]=!0)}}}var dR={dehydrated:null,treeContext:null,retryLane:At};function vR(i){return{baseLanes:i,cachePool:PJ(),transitions:null}}function YJ(i,o){var v=null;return{baseLanes:pt(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 EM(i,By)}function XJ(i,o){return ff(i.childLanes,o)}function AB(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,G5)),C=yp(C),kf(o,C),i===null){XD(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=vR(v),o.memoizedState=dR,K}else return hR(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,Pe=g.children,Ze=ZJ(i,o,Pe,de,v),We=o.child,Ot=i.child.memoizedState;return We.memoizedState=Ot===null?vR(v):YJ(Ot,v),We.childLanes=XJ(i,v),o.memoizedState=dR,Ze}else{var Rt=g.children,ne=QJ(i,o,Rt,v);return o.memoizedState=null,ne}}}function hR(i,o,v){var g=i.mode,C={mode:"visible",children:o},T=pR(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=pR(R,C),N=Vf(v,C,g,null)),k.return=i,N.return=i,k.sibling=N,i.child=k,N}function pR(i,o,v){return L3(i,o,he,null)}function LB(i,o){return Hd(i,o)}function QJ(i,o,v,g){var C=i.child,T=C.sibling,R=LB(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=LB(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&&qD(g),gp(o,i.child,null,v);var C=o.pendingProps,T=C.children,R=hR(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=pR(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):kD(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=tR(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),Ie=o.child;return Ie.memoizedState=vR(R),o.memoizedState=dR,xe}else{if(HK(),(o.mode&wt)===Je)return ew(i,o,R,null);if(kD(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=tR(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=eD(ue,R);if(de!==At&&de!==T.retryLane){T.retryLane=de;var Pe=gn;ba(i,de),Ir(ue,i,de,Pe)}}IR();var Ze=tR(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(JF(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=hR(o,Ot);return Rt.flags|=pa,Rt}}}function OB(i,o,v){i.lanes=pt(i.lanes,o);var g=i.alternate;g!==null&&(g.lanes=pt(g.lanes,o)),eM(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&&OB(g,v,i)}else if(g.tag===G)OB(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"&&!uR[i])if(uR[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 kB(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(!kB(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(!kB(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 gR(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 NB(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=EM(k,By);if(N)k=DM(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),gR(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}gR(o,!0,Q,null,T);break}case"together":{gR(o,!1,null,null,void 0);break}default:o.memoizedState=null}return o.child}function oee(i,o,v){xM(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 PB=!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||PB||(PB=!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(w5(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 IB=!1;function uee(i,o,v){var g=o.type;g._context===void 0?g!==g.Consumer&&(IB||(IB=!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),mB(),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 mR(i,o){var v=i.lanes;return!!Ti(v,o)}function fee(i,o,v){switch(o.tag){case m:MB(o),o.stateNode,vp();break;case _:V5(o);break;case h:{var g=o.type;lu(g)&&cC(o);break}case S:xM(o,o.stateNode.containerInfo);break;case A:{var C=o.memoizedProps.value,T=o.type._context;w5(o,T,C);break}case P:{var R=Ti(v,o.childLanes);R&&(o.flags|=ht);{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 AB(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 NB(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,bB(i,o,v)}return ms(i,o,v)}function zB(i,o,v){if(o._debugNeedsRemount&&i!==null)return see(i,o,WR(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=mR(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();f5(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 sR(i,o,B,K,v)}case h:{var Q=o.type,le=o.pendingProps,ue=o.elementType===Q?le:sl(Q,le);return DB(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 AB(i,o,v);case S:return oee(i,o,v);case O:{var de=o.type,Pe=o.pendingProps,Ze=o.elementType===de?Pe:sl(de,Pe);return wB(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),xB(i,o,We,Rt,v)}case U:return TB(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 NB(i,o,v);case ee:break;case J:return bB(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|=ht}function FB(i){i.flags|=mi,i.flags|=Am}var BB,yR,UB,VB;BB=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}},yR=function(i,o){},UB=function(i,o,v,g,C){var T=i.memoizedProps;if(T!==g){var R=o.stateNode,k=TM(),N=PZ(R,v,T,g,C,k);o.updateQueue=N,N&&Tp(o)}},VB=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=pt(v,pt(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=pt(v,pt(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=pt(v,pt(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=pt(v,pt(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 m5(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|=ht,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 y5(),!0}function HB(i,o,v){var g=o.pendingProps;switch($D(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),UD(o),RM(),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,y5())}}return yR(i,o),ii(o),null}case _:{bM(o);var N=U5(),B=o.type;if(i!==null&&o.stateNode!=null)UB(i,o,B,g,N),i.ref!==o.ref&&FB(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=TM(),K=gC(o);if(K)YK(o,N,V)&&Tp(o);else{var Q=OZ(B,g,N,V,o);BB(Q,o,!1,!1),o.stateNode=Q,NZ(Q,B,g,N)&&Tp(o)}o.ref!==null&&FB(o)}return ii(o),null}case w:{var le=g;if(i&&o.stateNode!=null){var ue=i.memoizedProps;VB(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=U5(),Pe=TM(),Ze=gC(o);Ze?WK(o)&&Tp(o):o.stateNode=IZ(le,de,Pe,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&&eR(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||EM(fl.current,G5)?dte():IR()}}var xe=o.updateQueue;if(xe!==null&&(o.flags|=ht),ii(o),(o.mode&nt)!==Je&&Rt){var Ie=o.child;Ie!==null&&(o.treeBaseDuration-=Ie.treeBaseDuration)}return null}case S:return mp(o),yR(i,o),i===null&&RK(o.stateNode.containerInfo),ii(o),null;case A:var Ae=o.type._context;return JD(Ae,o),ii(o),null;case j:{var at=o.type;return lu(at)&&fC(o),ii(o),null}case G:{_p(o);var ct=o.memoizedState;if(ct===null)return ii(o),null;var sn=(o.flags&lt)!==Qe,jt=ct.rendering;if(jt===null)if(sn)Qy(ct,!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(ct,!1);var Mi=nr.updateQueue;return Mi!==null&&(o.updateQueue=Mi,o.flags|=ht),o.subtreeFlags=Qe,hJ(o,v),kf(o,DM(fl.current,By)),o.child}Yt=Yt.sibling}ct.tail!==null&&zn()>s3()&&(o.flags|=lt,sn=!0,Qy(ct,!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|=ht),Qy(ct,!0),ct.tail===null&&ct.tailMode==="hidden"&&!jt.alternate&&!ni())return ii(o),null}else zn()*2-ct.renderingStartTime>s3()&&v!==xi&&(o.flags|=lt,sn=!0,Qy(ct,!1),o.lanes=Gm)}if(ct.isBackwards)jt.sibling=o.child,o.child=jt;else{var Qi=ct.last;Qi!==null?Qi.sibling=jt:o.child=jt,ct.last=jt}}if(ct.tail!==null){var Zi=ct.tail;ct.rendering=Zi,ct.tail=Zi.sibling,ct.renderingStartTime=zn(),Zi.sibling=null;var Ri=fl.current;return sn?Ri=DM(Ri,By):Ri=yp(Ri),kf(o,Ri),Zi}return ii(o),null}case ee:break;case J:case ie:{PR(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|ht)&&(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($D(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&&eR(o),o):null}case m:{o.stateNode,mp(o),UD(o),RM();var T=o.flags;return(T&yr)!==Qe&&(T&lt)===Qe?(o.flags=T&~yr|lt,o):null}case _:return bM(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&&eR(o),o):null}case G:return _p(o),null;case S:return mp(o),null;case A:var N=o.type._context;return JD(N,o),null;case J:case ie:return PR(o),null;case ce:return null;default:return null}}function GB(i,o,v){switch($D(o),o.tag){case h:{var g=o.type.childContextTypes;g!=null&&fC(o);break}case m:{o.stateNode,mp(o),UD(o),RM();break}case _:{bM(o);break}case S:mp(o);break;case I:_p(o);break;case G:_p(o);break;case A:var C=o.type._context;JD(C,o);break;case J:case ie:PR(o);break}}var $B=null;$B=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 jB(i,o){try{If(Ar,i)}catch(v){bn(i,o,v)}}function _R(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 YB(i,o){try{XB(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.",dt(i))}else v.current=null}function rw(i,o,v){try{v()}catch(g){bn(i,o,g)}}var WB=!1;function mee(i,o){AZ(i.containerInfo),He=o,yee();var v=WB;return WB=!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.",dt(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.",dt(i)||"instance"));var R=T.getSnapshotBeforeUpdate(i.elementType===i.type?g:sl(i.type,g),C);{var k=$B;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.",dt(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=`
148
+ Check the render method of \``+g+"`.");var C=g||"",T=i._debugSource;T&&(C=T.fileName+":"+T.lineNumber),lR[C]||(lR[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";oR[R]||(u("%s: Function components do not support getDerivedStateFromProps.",R),oR[R]=!0)}if(typeof o.contextType=="object"&&o.contextType!==null){var k=hn(o)||"Unknown";aR[k]||(u("%s: Function components do not support contextType.",k),aR[k]=!0)}}}var dR={dehydrated:null,treeContext:null,retryLane:At};function vR(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 EM(i,By)}function XJ(i,o){return ff(i.childLanes,o)}function AB(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,G5)),C=yp(C),kf(o,C),i===null){XD(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=vR(v),o.memoizedState=dR,K}else return hR(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,Pe=g.children,Ze=ZJ(i,o,Pe,de,v),We=o.child,Ot=i.child.memoizedState;return We.memoizedState=Ot===null?vR(v):YJ(Ot,v),We.childLanes=XJ(i,v),o.memoizedState=dR,Ze}else{var Rt=g.children,ne=QJ(i,o,Rt,v);return o.memoizedState=null,ne}}}function hR(i,o,v){var g=i.mode,C={mode:"visible",children:o},T=pR(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=pR(R,C),N=Vf(v,C,g,null)),k.return=i,N.return=i,k.sibling=N,i.child=k,N}function pR(i,o,v){return L3(i,o,he,null)}function LB(i,o){return Hd(i,o)}function QJ(i,o,v,g){var C=i.child,T=C.sibling,R=LB(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=LB(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&&qD(g),gp(o,i.child,null,v);var C=o.pendingProps,T=C.children,R=hR(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=pR(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):kD(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=tR(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),Ie=o.child;return Ie.memoizedState=vR(R),o.memoizedState=dR,xe}else{if(HK(),(o.mode&wt)===Je)return ew(i,o,R,null);if(kD(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=tR(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=eD(ue,R);if(de!==At&&de!==T.retryLane){T.retryLane=de;var Pe=gn;ba(i,de),Ir(ue,i,de,Pe)}}IR();var Ze=tR(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(JF(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=hR(o,Ot);return Rt.flags|=pa,Rt}}}function OB(i,o,v){i.lanes=gt(i.lanes,o);var g=i.alternate;g!==null&&(g.lanes=gt(g.lanes,o)),eM(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&&OB(g,v,i)}else if(g.tag===G)OB(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"&&!uR[i])if(uR[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 kB(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(!kB(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(!kB(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 gR(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 NB(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=EM(k,By);if(N)k=DM(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),gR(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}gR(o,!0,Q,null,T);break}case"together":{gR(o,!1,null,null,void 0);break}default:o.memoizedState=null}return o.child}function oee(i,o,v){xM(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 PB=!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||PB||(PB=!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(w5(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 IB=!1;function uee(i,o,v){var g=o.type;g._context===void 0?g!==g.Consumer&&(IB||(IB=!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),mB(),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 mR(i,o){var v=i.lanes;return!!Ti(v,o)}function fee(i,o,v){switch(o.tag){case m:MB(o),o.stateNode,vp();break;case _:V5(o);break;case h:{var g=o.type;lu(g)&&cC(o);break}case S:xM(o,o.stateNode.containerInfo);break;case A:{var C=o.memoizedProps.value,T=o.type._context;w5(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 AB(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 NB(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,bB(i,o,v)}return ms(i,o,v)}function zB(i,o,v){if(o._debugNeedsRemount&&i!==null)return see(i,o,WR(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=mR(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();f5(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 sR(i,o,B,K,v)}case h:{var Q=o.type,le=o.pendingProps,ue=o.elementType===Q?le:sl(Q,le);return DB(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 AB(i,o,v);case S:return oee(i,o,v);case O:{var de=o.type,Pe=o.pendingProps,Ze=o.elementType===de?Pe:sl(de,Pe);return wB(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),xB(i,o,We,Rt,v)}case U:return TB(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 NB(i,o,v);case ee:break;case J:return bB(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 FB(i){i.flags|=mi,i.flags|=Am}var BB,yR,UB,VB;BB=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}},yR=function(i,o){},UB=function(i,o,v,g,C){var T=i.memoizedProps;if(T!==g){var R=o.stateNode,k=TM(),N=PZ(R,v,T,g,C,k);o.updateQueue=N,N&&Tp(o)}},VB=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 m5(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 y5(),!0}function HB(i,o,v){var g=o.pendingProps;switch($D(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),UD(o),RM(),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,y5())}}return yR(i,o),ii(o),null}case _:{bM(o);var N=U5(),B=o.type;if(i!==null&&o.stateNode!=null)UB(i,o,B,g,N),i.ref!==o.ref&&FB(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=TM(),K=gC(o);if(K)YK(o,N,V)&&Tp(o);else{var Q=OZ(B,g,N,V,o);BB(Q,o,!1,!1),o.stateNode=Q,NZ(Q,B,g,N)&&Tp(o)}o.ref!==null&&FB(o)}return ii(o),null}case w:{var le=g;if(i&&o.stateNode!=null){var ue=i.memoizedProps;VB(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=U5(),Pe=TM(),Ze=gC(o);Ze?WK(o)&&Tp(o):o.stateNode=IZ(le,de,Pe,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&&eR(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||EM(fl.current,G5)?dte():IR()}}var xe=o.updateQueue;if(xe!==null&&(o.flags|=pt),ii(o),(o.mode&nt)!==Je&&Rt){var Ie=o.child;Ie!==null&&(o.treeBaseDuration-=Ie.treeBaseDuration)}return null}case S:return mp(o),yR(i,o),i===null&&RK(o.stateNode.containerInfo),ii(o),null;case A:var Ae=o.type._context;return JD(Ae,o),ii(o),null;case j:{var at=o.type;return lu(at)&&fC(o),ii(o),null}case G:{_p(o);var ct=o.memoizedState;if(ct===null)return ii(o),null;var sn=(o.flags&lt)!==Qe,jt=ct.rendering;if(jt===null)if(sn)Qy(ct,!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(ct,!1);var Mi=nr.updateQueue;return Mi!==null&&(o.updateQueue=Mi,o.flags|=pt),o.subtreeFlags=Qe,hJ(o,v),kf(o,DM(fl.current,By)),o.child}Yt=Yt.sibling}ct.tail!==null&&zn()>s3()&&(o.flags|=lt,sn=!0,Qy(ct,!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(ct,!0),ct.tail===null&&ct.tailMode==="hidden"&&!jt.alternate&&!ni())return ii(o),null}else zn()*2-ct.renderingStartTime>s3()&&v!==xi&&(o.flags|=lt,sn=!0,Qy(ct,!1),o.lanes=Gm)}if(ct.isBackwards)jt.sibling=o.child,o.child=jt;else{var Qi=ct.last;Qi!==null?Qi.sibling=jt:o.child=jt,ct.last=jt}}if(ct.tail!==null){var Zi=ct.tail;ct.rendering=Zi,ct.tail=Zi.sibling,ct.renderingStartTime=zn(),Zi.sibling=null;var Ri=fl.current;return sn?Ri=DM(Ri,By):Ri=yp(Ri),kf(o,Ri),Zi}return ii(o),null}case ee:break;case J:case ie:{PR(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($D(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&&eR(o),o):null}case m:{o.stateNode,mp(o),UD(o),RM();var T=o.flags;return(T&yr)!==Qe&&(T&lt)===Qe?(o.flags=T&~yr|lt,o):null}case _:return bM(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&&eR(o),o):null}case G:return _p(o),null;case S:return mp(o),null;case A:var N=o.type._context;return JD(N,o),null;case J:case ie:return PR(o),null;case ce:return null;default:return null}}function GB(i,o,v){switch($D(o),o.tag){case h:{var g=o.type.childContextTypes;g!=null&&fC(o);break}case m:{o.stateNode,mp(o),UD(o),RM();break}case _:{bM(o);break}case S:mp(o);break;case I:_p(o);break;case G:_p(o);break;case A:var C=o.type._context;JD(C,o);break;case J:case ie:PR(o);break}}var $B=null;$B=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 jB(i,o){try{If(Ar,i)}catch(v){bn(i,o,v)}}function _R(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 YB(i,o){try{XB(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.",dt(i))}else v.current=null}function rw(i,o,v){try{v()}catch(g){bn(i,o,g)}}var WB=!1;function mee(i,o){AZ(i.containerInfo),He=o,yee();var v=WB;return WB=!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.",dt(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.",dt(i)||"instance"));var R=T.getSnapshotBeforeUpdate(i.elementType===i.type?g:sl(i.type,g),C);{var k=$B;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.",dt(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
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
 
@@ -158,11 +158,11 @@ It looks like you wrote `+N+`(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`: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&ht)!==Qe)switch(o.tag){case P:{var v=o.stateNode.passiveEffectDuration,g=o.memoizedProps,C=g.id,T=g.onPostCommit,R=pB(),k=o.alternate===null?"mount":"update";hB()&&(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&ht&&!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.",dt(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.",dt(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.",dt(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.",dt(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.",dt(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.",dt(v)||"instance")),M5(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}M5(v,N,B)}break}case _:{var V=v.stateNode;if(o===null&&v.flags&ht){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,Pe=v.stateNode.effectDuration,Ze=pB(),We=o===null?"mount":"update";hB()&&(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,Pe,Ze),_te(v);var Ot=v.return;e:for(;Ot!==null;){switch(Ot.tag){case m:var Rt=Ot.stateNode;Rt.effectDuration+=Pe;break e;case P:var ne=Ot.stateNode;ne.effectDuration+=Pe;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&&XB(v)}function xee(i){switch(i.tag){case d:case O:case U:{if(i.mode&nt)try{du(),jB(i,i.return)}finally{cu(i)}else jB(i,i.return);break}case h:{var o=i.stateNode;typeof o.componentDidMount=="function"&&gee(i,i.return,o),YB(i,i.return);break}case _:{YB(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 XB(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.",dt(i))}else o.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",dt(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(QB(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 QB(i){return i.tag===_||i.tag===m||i.tag===S}function ZB(i){var o=i;e:for(;;){for(;o.sibling===null;){if(o.return===null||QB(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&&(KF(v),o.flags&=~Kt);var g=ZB(i);CR(i,g,v);break}case m:case S:{var C=o.stateNode.containerInfo,T=ZB(i);SR(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 SR(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){SR(R,o,v);for(var k=R.sibling;k!==null;)SR(k,o,v),k=k.sibling}}}function CR(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){CR(R,o,v);for(var k=R.sibling;k!==null;)CR(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.");KB(i,o,v),oi=null,hl=!1}bee(v)}function zf(i,o,v){for(var g=v.child;g!==null;)KB(i,o,g),g=g.sibling}function KB(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):OD(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"&&_R(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 JB(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),e3(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=LE();if(o.subtreeFlags&Si)for(var k=o.child;k!==null;)ln(k),e3(k,i),k=k.sibling;ln(R)}function e3(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&ht){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{KF(T)}catch(at){bn(i,i.return,at)}}if(C&ht){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&ht){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&ht&&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 Pe=de.stateNode,Ze=de.memoizedState,We=Ze!==null;if(Pe.isHidden=We,We){var Ot=de.alternate!==null&&de.alternate.memoizedState!==null;Ot||cte()}}if(C&ht){try{Ree(i)}catch(at){bn(i,i.return,at)}JB(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,Ie=i;if(ve.isHidden=xe,xe&&!Rt&&(Ie.mode&wt)!==Je){He=Ie;for(var Ae=Ie.child;Ae!==null;)He=Ae,kee(Ae),Ae=Ae.sibling}Tee(Ie,xe)}return}case G:{pl(o,i),vu(i),C&ht&&JB(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,t3(i,o,v),bp=null,Ep=null}function t3(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){wR(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,t3(le,o,v),le=le.sibling;He=C,nw=K,ai=Q,wR(i,o,v);continue}}(C.subtreeFlags&Gr)!==Qe&&T!==null?(T.return=C,He=T):wR(i,o,v)}}function wR(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"&&_R(o,o.return,g);break}case _:{Dp(o,o.return);break}case J:{var C=o.memoizedState!==null;if(C){n3(i);continue}break}}v!==null?(v.return=o,He=v):n3(i)}}function n3(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){r3(i);continue}}v!==null?(v.return=o,He=v):r3(i)}}function r3(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){JM();try{If(ri|Rr,o)}finally{KM(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?(JM(),vl(ri|Rr,i,i.return),KM(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?(JM(),vl(ri,i,o),KM(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"&&_R(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 i3(){{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,xR=n.ReactCurrentDispatcher,TR=n.ReactCurrentOwner,li=n.ReactCurrentBatchConfig,gl=n.ReactCurrentActQueue,kr=0,a3=1,ui=2,Mo=4,ys=0,Ky=1,Fd=2,iw=3,Jy=4,o3=5,bR=6,Lt=kr,Xi=null,qn=null,Nr=he,hu=he,ER=Df(he),Pr=ys,e0=null,aw=he,t0=he,ow=he,n0=null,Da=null,DR=0,l3=500,u3=1/0,tte=500,_s=null;function r0(){u3=zn()+tte}function s3(){return u3}var lw=!1,MR=null,Mp=null,Bd=!1,Ff=null,i0=he,RR=[],AR=null,nte=50,a0=0,LR=null,OR=!1,uw=!1,rte=50,Rp=0,sw=null,o0=gn,fw=he,f3=!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:JE()}function Ir(i,o,v,g){Mte(),f3&&u("useInsertionEffect must not schedule updates."),OR&&(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=pt(t0,v)),Pr===Jy&&Uf(i,Nr)),Ma(i,g),v===rt&&Lt===kr&&(o.mode&wt)===Je&&!gl.isBatchingLegacy&&(r0(),s5()))}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&&E3(v),i.callbackNode=null,i.callbackPriority=At;return}var C=er(g),T=i.callbackPriority;if(T===C&&!(gl.current!==null&&v!==BR)){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&&E3(v);var R;if(C===rt)i.tag===Mf?(gl.isBatchingLegacy!==null&&(gl.didScheduleLegacyUpdate=!0),PK(v3.bind(null,i))):u5(v3.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=UR(k,c3.bind(null,i))}i.callbackPriority=C,i.callbackNode=R}function c3(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=kR(i,k))}if(R===Ky){var N=e0;throw Ud(i,he),Uf(i,C),Ma(i,zn()),N}if(R===bR)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=kR(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?c3.bind(null,i):null}function kR(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&&d3(T)}return C}function d3(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)&&!D3()){var g=DR+l3-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=AD(Vd.bind(null,i,Da,_s),g);break}}Vd(i,Da,_s);break}case Jy:{if(Uf(i,v),wS(v))break;if(!D3()){var R=CS(i,v),k=R,N=zn()-k,B=Dte(N)-N;if(B>10){i.timeoutHandle=AD(Vd.bind(null,i,Da,_s),B);break}}Vd(i,Da,_s);break}case o3:{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 v3(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=kR(i,g))}if(v===Ky){var C=e0;throw Ud(i,he),Uf(i,o),Ma(i,zn()),C}if(v===bR)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,pt(o,rt)),Ma(i,zn()),(Lt&(ui|Mo))===kr&&(r0(),Rf()))}function NR(i,o){var v=Lt;Lt|=a3;try{return i(o)}finally{Lt=v,Lt===kr&&!gl.isBatchingLegacy&&(r0(),s5())}}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|=a3;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 h3(){return(Lt&(ui|Mo))!==kr}function dw(i,o){Ei(ER,hu,i),hu=pt(hu,o)}function PR(i){hu=ER.current,bi(ER,i)}function Ud(i,o){i.finishedWork=null,i.finishedLanes=he;var v=i.timeoutHandle;if(v!==LD&&(i.timeoutHandle=LD,FZ(v)),qn!==null)for(var g=qn.return;g!==null;){var C=g.alternate;GB(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 p3(i,o){do{var v=qn;try{if(SC(),j5(),or(),TR.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),_3(v)}catch(C){o=C,qn===v&&v!==null?(v=v.return,qn=v):v=qn;continue}return}while(!0)}function g3(){var i=xR.current;return xR.current=WC,i===null?WC:i}function m3(i){xR.current=i}function cte(){DR=zn()}function l0(i){aw=pt(i,aw)}function dte(){Pr===ys&&(Pr=iw)}function IR(){(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=g3();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){p3(i,T)}while(!0);if(SC(),Lt=v,m3(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;)y3(qn)}function gte(i,o){var v=Lt;Lt|=ui;var g=g3();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){p3(i,T)}while(!0);return SC(),m3(g),Lt=v,qn!==null?(od(),ys):(af(),Xi=null,Nr=he,Pr)}function mte(){for(;qn!==null&&!dh();)y3(qn)}function y3(i){var o=i.alternate;ln(i);var v;(i.mode&nt)!==Je?(ZM(i),v=zR(o,i,hu),KC(i,!0)):v=zR(o,i,hu),or(),i.memoizedProps=i.pendingProps,v===null?_3(i):qn=v,TR.current=null}function _3(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=HB(v,o,hu):(ZM(o),C=HB(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=bR,qn=null;return}}var N=o.sibling;if(N!==null){qn=N;return}o=g,qn=o}while(o!==null);Pr===ys&&(Pr=o3)}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=pt(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,AR=v,UR(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,TR.current=null,mee(i,C),gB(),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,gB();var Q=Bd;if(Bd?(Bd=!1,Ff=i,i0=T):(Rp=0,sw=null),R=i.pendingLanes,R===he&&(Mp=null),Q||x3(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],Pe=de.stack,Ze=de.digest;le(de.value,{componentStack:Pe,digest:Ze})}if(lw){lw=!1;var We=MR;throw MR=null,We}return Ti(i0,rt)&&i.tag!==Mf&&Cs(),R=i.pendingLanes,Ti(R,rt)?(DJ(),i===LR?a0++:(a0=0,LR=i)):a0=0,Rf(),Bm(),null}function Cs(){if(Ff!==null){var i=pd(i0),o=tD(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){RR.push(i),Bd||(Bd=!0,UR(yo,function(){return Cs(),null}))}function Ste(){if(Ff===null)return!1;var i=AR;AR=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.");OR=!0,uw=!1,SS(v);var g=Lt;Lt|=Mo,Bee(o.current),Pee(o,o.current,v,i);{var C=RR;RR=[];for(var T=0;T<C.length;T++){var R=C[T];Cee(o,R)}}ad(),x3(o.current,!0),Lt=g,Rf(),uw?o===sw?Rp++:(Rp=0,sw=o):Rp=0,OR=!1,uw=!1,Xl(o);{var k=o.current.stateNode;k.effectDuration=0,k.passiveEffectDuration=0}return!0}function S3(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,MR=i)}var xte=wte;function C3(i,o,v){var g=Id(v,o),C=yB(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){C3(i,i,v);return}var g=null;for(g=o;g!==null;){if(g.tag===m){C3(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"&&!S3(T)){var R=Id(v,i),k=rR(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.
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=pB(),k=o.alternate===null?"mount":"update";hB()&&(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.",dt(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.",dt(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.",dt(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.",dt(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.",dt(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.",dt(v)||"instance")),M5(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}M5(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,Pe=v.stateNode.effectDuration,Ze=pB(),We=o===null?"mount":"update";hB()&&(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,Pe,Ze),_te(v);var Ot=v.return;e:for(;Ot!==null;){switch(Ot.tag){case m:var Rt=Ot.stateNode;Rt.effectDuration+=Pe;break e;case P:var ne=Ot.stateNode;ne.effectDuration+=Pe;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&&XB(v)}function xee(i){switch(i.tag){case d:case O:case U:{if(i.mode&nt)try{du(),jB(i,i.return)}finally{cu(i)}else jB(i,i.return);break}case h:{var o=i.stateNode;typeof o.componentDidMount=="function"&&gee(i,i.return,o),YB(i,i.return);break}case _:{YB(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 XB(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.",dt(i))}else o.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",dt(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(QB(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 QB(i){return i.tag===_||i.tag===m||i.tag===S}function ZB(i){var o=i;e:for(;;){for(;o.sibling===null;){if(o.return===null||QB(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&&(KF(v),o.flags&=~Kt);var g=ZB(i);CR(i,g,v);break}case m:case S:{var C=o.stateNode.containerInfo,T=ZB(i);SR(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 SR(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){SR(R,o,v);for(var k=R.sibling;k!==null;)SR(k,o,v),k=k.sibling}}}function CR(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){CR(R,o,v);for(var k=R.sibling;k!==null;)CR(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.");KB(i,o,v),oi=null,hl=!1}bee(v)}function zf(i,o,v){for(var g=v.child;g!==null;)KB(i,o,g),g=g.sibling}function KB(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):OD(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"&&_R(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 JB(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),e3(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=LE();if(o.subtreeFlags&Si)for(var k=o.child;k!==null;)ln(k),e3(k,i),k=k.sibling;ln(R)}function e3(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{KF(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 Pe=de.stateNode,Ze=de.memoizedState,We=Ze!==null;if(Pe.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)}JB(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,Ie=i;if(ve.isHidden=xe,xe&&!Rt&&(Ie.mode&wt)!==Je){He=Ie;for(var Ae=Ie.child;Ae!==null;)He=Ae,kee(Ae),Ae=Ae.sibling}Tee(Ie,xe)}return}case G:{pl(o,i),vu(i),C&pt&&JB(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,t3(i,o,v),bp=null,Ep=null}function t3(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){wR(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,t3(le,o,v),le=le.sibling;He=C,nw=K,ai=Q,wR(i,o,v);continue}}(C.subtreeFlags&Gr)!==Qe&&T!==null?(T.return=C,He=T):wR(i,o,v)}}function wR(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"&&_R(o,o.return,g);break}case _:{Dp(o,o.return);break}case J:{var C=o.memoizedState!==null;if(C){n3(i);continue}break}}v!==null?(v.return=o,He=v):n3(i)}}function n3(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){r3(i);continue}}v!==null?(v.return=o,He=v):r3(i)}}function r3(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){JM();try{If(ri|Rr,o)}finally{KM(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?(JM(),vl(ri|Rr,i,i.return),KM(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?(JM(),vl(ri,i,o),KM(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"&&_R(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 i3(){{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,xR=n.ReactCurrentDispatcher,TR=n.ReactCurrentOwner,li=n.ReactCurrentBatchConfig,gl=n.ReactCurrentActQueue,kr=0,a3=1,ui=2,Mo=4,ys=0,Ky=1,Fd=2,iw=3,Jy=4,o3=5,bR=6,Lt=kr,Xi=null,qn=null,Nr=he,hu=he,ER=Df(he),Pr=ys,e0=null,aw=he,t0=he,ow=he,n0=null,Da=null,DR=0,l3=500,u3=1/0,tte=500,_s=null;function r0(){u3=zn()+tte}function s3(){return u3}var lw=!1,MR=null,Mp=null,Bd=!1,Ff=null,i0=he,RR=[],AR=null,nte=50,a0=0,LR=null,OR=!1,uw=!1,rte=50,Rp=0,sw=null,o0=gn,fw=he,f3=!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:JE()}function Ir(i,o,v,g){Mte(),f3&&u("useInsertionEffect must not schedule updates."),OR&&(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(),s5()))}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&&E3(v),i.callbackNode=null,i.callbackPriority=At;return}var C=er(g),T=i.callbackPriority;if(T===C&&!(gl.current!==null&&v!==BR)){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&&E3(v);var R;if(C===rt)i.tag===Mf?(gl.isBatchingLegacy!==null&&(gl.didScheduleLegacyUpdate=!0),PK(v3.bind(null,i))):u5(v3.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=UR(k,c3.bind(null,i))}i.callbackPriority=C,i.callbackNode=R}function c3(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=kR(i,k))}if(R===Ky){var N=e0;throw Ud(i,he),Uf(i,C),Ma(i,zn()),N}if(R===bR)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=kR(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?c3.bind(null,i):null}function kR(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&&d3(T)}return C}function d3(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)&&!D3()){var g=DR+l3-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=AD(Vd.bind(null,i,Da,_s),g);break}}Vd(i,Da,_s);break}case Jy:{if(Uf(i,v),wS(v))break;if(!D3()){var R=CS(i,v),k=R,N=zn()-k,B=Dte(N)-N;if(B>10){i.timeoutHandle=AD(Vd.bind(null,i,Da,_s),B);break}}Vd(i,Da,_s);break}case o3:{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 v3(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=kR(i,g))}if(v===Ky){var C=e0;throw Ud(i,he),Uf(i,o),Ma(i,zn()),C}if(v===bR)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 NR(i,o){var v=Lt;Lt|=a3;try{return i(o)}finally{Lt=v,Lt===kr&&!gl.isBatchingLegacy&&(r0(),s5())}}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|=a3;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 h3(){return(Lt&(ui|Mo))!==kr}function dw(i,o){Ei(ER,hu,i),hu=gt(hu,o)}function PR(i){hu=ER.current,bi(ER,i)}function Ud(i,o){i.finishedWork=null,i.finishedLanes=he;var v=i.timeoutHandle;if(v!==LD&&(i.timeoutHandle=LD,FZ(v)),qn!==null)for(var g=qn.return;g!==null;){var C=g.alternate;GB(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 p3(i,o){do{var v=qn;try{if(SC(),j5(),or(),TR.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),_3(v)}catch(C){o=C,qn===v&&v!==null?(v=v.return,qn=v):v=qn;continue}return}while(!0)}function g3(){var i=xR.current;return xR.current=WC,i===null?WC:i}function m3(i){xR.current=i}function cte(){DR=zn()}function l0(i){aw=gt(i,aw)}function dte(){Pr===ys&&(Pr=iw)}function IR(){(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=g3();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){p3(i,T)}while(!0);if(SC(),Lt=v,m3(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;)y3(qn)}function gte(i,o){var v=Lt;Lt|=ui;var g=g3();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){p3(i,T)}while(!0);return SC(),m3(g),Lt=v,qn!==null?(od(),ys):(af(),Xi=null,Nr=he,Pr)}function mte(){for(;qn!==null&&!dh();)y3(qn)}function y3(i){var o=i.alternate;ln(i);var v;(i.mode&nt)!==Je?(ZM(i),v=zR(o,i,hu),KC(i,!0)):v=zR(o,i,hu),or(),i.memoizedProps=i.pendingProps,v===null?_3(i):qn=v,TR.current=null}function _3(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=HB(v,o,hu):(ZM(o),C=HB(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=bR,qn=null;return}}var N=o.sibling;if(N!==null){qn=N;return}o=g,qn=o}while(o!==null);Pr===ys&&(Pr=o3)}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,AR=v,UR(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,TR.current=null,mee(i,C),gB(),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,gB();var Q=Bd;if(Bd?(Bd=!1,Ff=i,i0=T):(Rp=0,sw=null),R=i.pendingLanes,R===he&&(Mp=null),Q||x3(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],Pe=de.stack,Ze=de.digest;le(de.value,{componentStack:Pe,digest:Ze})}if(lw){lw=!1;var We=MR;throw MR=null,We}return Ti(i0,rt)&&i.tag!==Mf&&Cs(),R=i.pendingLanes,Ti(R,rt)?(DJ(),i===LR?a0++:(a0=0,LR=i)):a0=0,Rf(),Bm(),null}function Cs(){if(Ff!==null){var i=pd(i0),o=tD(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){RR.push(i),Bd||(Bd=!0,UR(yo,function(){return Cs(),null}))}function Ste(){if(Ff===null)return!1;var i=AR;AR=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.");OR=!0,uw=!1,SS(v);var g=Lt;Lt|=Mo,Bee(o.current),Pee(o,o.current,v,i);{var C=RR;RR=[];for(var T=0;T<C.length;T++){var R=C[T];Cee(o,R)}}ad(),x3(o.current,!0),Lt=g,Rf(),uw?o===sw?Rp++:(Rp=0,sw=o):Rp=0,OR=!1,uw=!1,Xl(o);{var k=o.current.stateNode;k.effectDuration=0,k.passiveEffectDuration=0}return!0}function S3(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,MR=i)}var xte=wte;function C3(i,o,v){var g=Id(v,o),C=yB(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){C3(i,i,v);return}var g=null;for(g=o;g!==null;){if(g.tag===m){C3(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"&&!S3(T)){var R=Id(v,i),k=rR(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`,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()-DR<l3?Ud(i,he):ow=pt(ow,v)),Ma(i,C)}function w3(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),w3(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),w3(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,LR=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 x3(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 T3(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=dt(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 zR;{var Ate=null;zR=function(i,o,v){var g=O3(Ate,o);try{return zB(i,o,v)}catch(T){if(GK()||T!==null&&typeof T=="object"&&typeof T.then=="function")throw T;if(SC(),j5(),GB(i,o),O3(o,g),o.mode&nt&&ZM(o),Gu(null,zB,null,i,o,v),XE()){var C=Mm();typeof C=="object"&&C!==null&&C._suppressLogging&&typeof T=="object"&&T!==null&&!T._suppressLogging&&(T._suppressLogging=!0)}throw T}}}var b3=!1,FR;FR=new Set;function Lte(i){if(fa&&!TJ())switch(i.tag){case d:case O:case U:{var o=qn&&dt(qn)||"Unknown",v=o;if(!FR.has(v)){FR.add(v);var g=dt(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:{b3||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),b3=!0);break}}}function u0(i,o){if(Dr){var v=i.memoizedUpdaters;v.forEach(function(g){Zm(i,g,o)})}}var BR={};function UR(i,o){{var v=gl.current;return v!==null?(v.push(o),BR):ch(i,o)}}function E3(i){if(i!==BR)return cS(i)}function D3(){return gl.current!==null}function Ote(i){{if(i.mode&wt){if(!i3())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(...).
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()-DR<l3?Ud(i,he):ow=gt(ow,v)),Ma(i,C)}function w3(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),w3(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),w3(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,LR=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 x3(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 T3(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=dt(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 zR;{var Ate=null;zR=function(i,o,v){var g=O3(Ate,o);try{return zB(i,o,v)}catch(T){if(GK()||T!==null&&typeof T=="object"&&typeof T.then=="function")throw T;if(SC(),j5(),GB(i,o),O3(o,g),o.mode&nt&&ZM(o),Gu(null,zB,null,i,o,v),XE()){var C=Mm();typeof C=="object"&&C!==null&&C._suppressLogging&&typeof T=="object"&&T!==null&&!T._suppressLogging&&(T._suppressLogging=!0)}throw T}}}var b3=!1,FR;FR=new Set;function Lte(i){if(fa&&!TJ())switch(i.tag){case d:case O:case U:{var o=qn&&dt(qn)||"Unknown",v=o;if(!FR.has(v)){FR.add(v);var g=dt(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:{b3||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),b3=!0);break}}}function u0(i,o){if(Dr){var v=i.memoizedUpdaters;v.forEach(function(g){Zm(i,g,o)})}}var BR={};function UR(i,o){{var v=gl.current;return v!==null?(v.push(o),BR):ch(i,o)}}function E3(i){if(i!==BR)return cS(i)}function D3(){return gl.current!==null}function Ote(i){{if(i.mode&wt){if(!i3())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
 
@@ -187,15 +187,15 @@ Check the render method of \``+B+"`.")}throw new Error("Element type is invalid:
187
187
  Check the render method of %s.`,dt(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=ZE(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;eA(i,g);break}}}function z3(i,o){var v=i.memoizedState;v!==null&&v.dehydrated!==null&&(v.retryLane=bS(v.retryLane,o))}function eA(i,o){z3(i,o);var v=i.alternate;v&&z3(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)}eA(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)}eA(i,o)}}function F3(i){var o=fS(i);return o===null?null:o.stateNode}var B3=function(i){return null};function nne(i){return B3(i)}var U3=function(i){return!1};function rne(i){return U3(i)}var V3=null,H3=null,G3=null,$3=null,j3=null,Y3=null,W3=null,X3=null,q3=null;{var Q3=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]=Q3(i[g],o,v+1),C)},Z3=function(i,o){return Q3(i,o,0)},K3=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]=K3(i[C],o,v,g+1);return T},J3=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 K3(i,o,v,0)},eU=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]=eU(i[C],o,v+1,g),T},tU=function(i,o,v){return eU(i,o,0,v)},tA=function(i,o){for(var v=i.memoizedState;v!==null&&o>0;)v=v.next,o--;return v};V3=function(i,o,v,g){var C=tA(i,o);if(C!==null){var T=tU(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)}},H3=function(i,o,v){var g=tA(i,o);if(g!==null){var C=Z3(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)}},G3=function(i,o,v,g){var C=tA(i,o);if(C!==null){var T=J3(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)}},$3=function(i,o,v){i.pendingProps=tU(i.memoizedProps,o,v),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var g=ba(i,rt);g!==null&&Ir(g,i,rt,gn)},j3=function(i,o){i.pendingProps=Z3(i.memoizedProps,o),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var v=ba(i,rt);v!==null&&Ir(v,i,rt,gn)},Y3=function(i,o,v){i.pendingProps=J3(i.memoizedProps,o,v),i.alternate&&(i.alternate.pendingProps=i.pendingProps);var g=ba(i,rt);g!==null&&Ir(g,i,rt,gn)},W3=function(i){var o=ba(i,rt);o!==null&&Ir(o,i,rt,gn)},X3=function(i){B3=i},q3=function(i){U3=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:V3,overrideHookStateDeletePath:H3,overrideHookStateRenamePath:G3,overrideProps:$3,overridePropsDeletePath:j3,overridePropsRenamePath:Y3,setErrorHandler:X3,setSuspenseHandler:q3,scheduleUpdate:W3,currentDispatcherRef:v,findHostInstanceByFiber:ine,findFiberByHostInstance:o||ane,findHostInstancesForRefresh:zte,scheduleRefresh:Pte,scheduleRoot:Ite,setRefreshHandler:Nte,getCurrentFiber:one,reconcilerVersion:ZR})}var nU=typeof reportError=="function"?reportError:function(i){console.error(i)};function nA(i){this._internalRoot=i}mw.prototype.render=nA.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=F3(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=nA.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;h3()&&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)}),t5(o)}};function une(i,o){if(!yw(i))throw new Error("createRoot(...): Target container is not a DOM element.");rU(i);var v=!1,g=!1,C="",T=nU;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 />);`),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=P3(i,dC,null,v,g,C,T);aC(R.current,i);var k=i.nodeType===Jn?i.parentNode:i;return yy(k),new nA(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.");rU(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=nU;v!=null&&(v.unstable_strictMode===!0&&(T=!0),v.identifierPrefix!==void 0&&(k=v.identifierPrefix),v.onRecoverableError!==void 0&&(N=v.onRecoverableError));var B=I3(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 rU(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,iU;iU=function(i){if(i._reactRootContainer&&i.nodeType!==Jn){var o=F3(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=rA(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 rA(i){return i?i.nodeType===ja?i.documentElement:i.firstChild:null}function aU(){}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=I3(o,g,i,Mf,null,!1,!1,"",aU);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=P3(i,Mf,null,!1,!1,"",aU);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){iU(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=rA(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,t5(i)})}),!0}else{{var C=rA(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}}ze(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(NR,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 iA={usingClientEntryPoint:!1,Events:[Ef,up,oC,ah,Jc,NR]};function Cne(i,o){return iA.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 iA.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 h3()&&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:ZR,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 oU=window.location.protocol;/^(https?|file):$/.test(oU)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(oU==="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=iA,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=NR,Ji.unstable_renderSubtreeIntoContainer=Sne,Ji.version=ZR,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=NV()):t.exports=PV()})(VA);const XA=dU(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]=ft.useState(!1),[d,h]=ft.useState(""),p=()=>n!=="text"?zr("div",{children:[Fe(dV,{}),Fe("div",{style:{marginTop:8},children:"上传"})]}):Fe(gt.Button,{icon:Fe(yV,{}),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 gt.message.error(`只允许上传 ${D.join(", ")} 文件`),gt.Upload.LIST_IGNORE}return w.size/1024/1024<a?!0:(gt.message.error(`文件必须小于${a}MB`),gt.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 gt.Modal.info({title:"PDF",width:"60%",content:Fe("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(Sw,{children:[Fe(gt.Upload,{...t,onPreview:_,beforeUpload:m,onChange:S,listType:n,children:r.length>=e?null:p()}),Fe(IV,{visible:u,src:d,onVisibleChange:()=>{f(!1),h("")}})]})},IV=t=>{const{visible:e,src:n,onVisibleChange:r}=t;return XA.createPortal(Fe(gt.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"},zV={labelCol:{span:4},wrapperCol:{span:20}},FV=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 Fe(gt.Form,{layout:"horizontal",form:r==null?void 0:r.form,...zV,...r||{},children:Fe(gt.Row,{gutter:16,...n,children:e.filter(d=>!d.hidden).map(d=>{var h,p;return Fe(gt.Col,{...d.colProps||{span:24},children:Fe(gt.Form.Item,{...d.valueType==="upload"?{getValueFromEvent:f}:{},label:l?"":d.title,name:d.valueType==="btns"?void 0:d.dataIndex,...d.formItemProps,children:d.readonly?Fe("div",{children:d.value||((h=r==null?void 0:r.initialValues)==null?void 0:h[d.dataIndex])}):d.readonly===void 0&&a?Fe("div",{children:d.value||((p=r==null?void 0:r.initialValues)==null?void 0:p[d.dataIndex])}):Fe(KA,{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)})})})},KA=t=>{const{valueType:e,valueProps:n,value:r,onChange:a,onBtnClick:l,inputRef:u}=t,f=ft.useMemo(()=>{let d=Fe(gt.Input,{placeholder:"请输入",...n,allowClear:!0});switch(e){case"modal":d=Fe(BV,{...n});break;case"checkbox":d=Fe(gt.Checkbox.Group,{...n});break;case"select":d=Fe(gt.Select,{placeholder:"请选择",...n,allowClear:!0});break;case"inputNumber":d=Fe(gt.InputNumber,{style:{width:"100%"},placeholder:"请输入",...n});break;case"textarea":d=Fe(gt.Input.TextArea,{placeholder:"请输入",...n,allowClear:!0});break;case"radio":d=Fe(gt.Radio.Group,{...n});break;case"switch":d=Fe(gt.Switch,{...n});break;case"datePicker":d=Fe(gt.DatePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"rangePicker":d=Fe(gt.DatePicker.RangePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"timePicker":d=Fe(gt.TimePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"cascader":d=Fe(gt.Cascader,{...n,allowClear:!0});break;case"upload":d=Fe(QA,{...n});break;case"btns":d=Fe(gt.Space,{children:n==null?void 0:n.map(h=>ft.createElement(gt.Button,{type:h.btnType==="submit"?"primary":"default",...Gd.omit(h,["btnType"]),key:h.btnType,onClick:p=>{l==null||l(p,h)}},h.title))});break}return d},[e,n,a,r]);return ft.cloneElement(f,{[FV(e||"input")]:r,onChange:a,ref:u})},BV=t=>{const{placeholder:e,labelKey:n,onToggle:r,value:a,onClear:l}=t;return zr("div",{className:S0.fieldModal,children:[Fe("div",{className:S0.content,onClick:()=>r(!0),children:a?Fe("span",{children:a[n]}):Fe("span",{className:S0.placeholder,children:e})}),Fe("span",{className:S0.suffix,onClick:l,children:a&&Fe(oV,{})})]})},UV={search:"_search_aomzr_1"};function VV(t){const{tableProps:e={},searchProps:n}=t,{columns:r=[],...a}=e;return zr(Sw,{children:[n&&Fe(ZA,{hiddenTitle:!0,...n,items:n.items}),Fe(gt.Table,{columns:r.filter(l=>!l.hidden),...a,className:$d(UV.table,e==null?void 0:e.className),pagination:typeof(e==null?void 0:e.pagination)=="boolean"?e.pagination:{hideOnSinglePage:!0,showPrevNextJumpers:!0,showQuickJumper:!0,showSizeChanger:!0,showTotal:l=>`共 ${l} 条`,...e==null?void 0:e.pagination}})]})}var Uw=function(t,e){return Uw=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])},Uw(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");Uw(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var HV=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),GV=function(){function t(){this.browser=new HV,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 GV;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):$V(navigator.userAgent,Gf);function $V(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 Vw=12,jV="sans-serif",$f=Vw+"px "+jV,YV=20,WV=100,XV="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)-YV)/WV;e[r]=a}return e}var QV=qV(XV),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]||Vw,f=0;if(r.indexOf("mono")>=0)f=u*n.length;else for(var d=0;d<n.length;d++){var h=QV[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,ZV=C0.forEach,KV=C0.filter,Hw=C0.slice,JV=C0.map,tL=function(){}.constructor,w0=tL?tL.prototype:null,Gw="__proto__",eH=2311;function nL(){return eH++}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!==Gw&&(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!==Gw){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!==Gw&&(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 tH(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===ZV)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 $w(t);if(t.map&&t.map===JV)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 $w(t);if(t.filter&&t.filter===KV)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 nH(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(Hw.call(arguments)))}}var Qn=w0&&_t(w0.bind)?w0.call.bind(w0.bind):nH;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(Hw.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 rH(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 $w(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Hw.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 iH=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 aH(){return lL?new Map:new iH}var oH=function(){function t(e){var n=Be(e);this.data=aH();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 oH(t)}function lH(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 uH=180/Math.PI;var jw=function(t,e){return jw=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])},jw(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");jw(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 sH(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 fH(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function cH(t){return Math.sqrt(dH(t))}function dH(t){return t[0]*t[0]+t[1]*t[1]}function Yw(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function vH(t,e){var n=cH(e);return n===0?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Ww(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Xw=Ww;function hH(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Qd=hH;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}(),pH=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 gH=pH;var mH=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=mH;var yH=Math.log(2);function qw(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)/yH);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]*qw(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=qw(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)*qw(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 _H(t,e,n,r,a){return Zw(Qw,e,r,a,!0)&&Zw(t,n,Qw[0],Qw[1])}function Zw(t,e,n,r,a){if(e.getBoundingClientRect&&Tt.domSupported&&!dL(e)){var l=e[cL]||(e[cL]={}),u=SH(e,l),f=CH(u,l,a);if(f)return f(t,n,r),!0}return!1}function SH(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 CH(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 wH=/([&<>"'])/g,xH={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function to(t){return t==null?"":(t+"").replace(wH,function(e,n){return xH[n]})}var TH=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Kw=[],bH=Tt.browser.firefox&&+Tt.browser.version.split(".")[0]<39;function Jw(t,e,n,r){return n=n||{},r?vL(t,e,n):bH&&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(Zw(Kw,t,r,a)){n.zrX=Kw[0],n.zrY=Kw[1];return}}n.zrX=n.zrY=0}function ex(t){return t||window.event}function no(t,e,n){if(e=ex(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&&Jw(t,u,e,n)}else{Jw(t,e,e,n);var l=EH(e);e.zrDelta=l?l/120:-(e.detail||0)/3}var f=e.button;return e.which==null&&f!==void 0&&TH.test(e.type)&&(e.which=f&1?1:f&2?3:f&4?2:0),e}function EH(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 DH(t,e,n,r){t.addEventListener(e,n,r)}function MH(t,e,n,r){t.removeEventListener(e,n,r)}var hL=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},RH=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=Jw(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 tx)if(tx.hasOwnProperty(n)){var r=tx[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 AH(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var tx={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=AH(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 nx(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function LH(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 rx(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 ix(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 OH(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 kH=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 vt=kH;var R0=Math.min,A0=Math.max,Xf=new vt,qf=new vt,Qf=new vt,Zf=new vt,Vp=new vt,Hp=new vt,NH=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 rx(l,l,[-n.x,-n.y]),OH(l,l,[r,a]),rx(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?vt.set(Hp,-E,0):vt.set(Hp,b,0)):O<_&&(_=O,E<b?vt.set(Vp,E,0):vt.set(Vp,-b,0)),f<p||m<u?P>w&&(w=P,D<A?vt.set(Hp,0,-D):vt.set(Hp,0,A)):O<_&&(_=O,D<A?vt.set(Vp,0,D):vt.set(Vp,0,-A))}return n&&vt.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=NH;var gL="silent";function PH(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:IH}}function IH(){hL(this.event)}var zH=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}(),FH=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ax=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 zH,f.proxy=null,f.setHandlerProxy(a),f._draggingMgr=new gH(f),f}return e.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(W(FH,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=PH(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)&&(ax.copy(S.getBoundingRect()),S.transform&&ax.applyTransform(S.transform),ax.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 RH);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||Xw(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(l,t,e)}});function BH(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=BH(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 UH=mL;var SL=32,$p=7;function VH(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++;HH(t,e,a)}else for(;a<n&&r(t[a],t[a-1])>=0;)a++;return a-e}function HH(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 ox(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 lx(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 GH(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=lx(t[b],t,w,E,0,e);w+=A,E-=A,E!==0&&(D=ox(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=lx(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=ox(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-lx(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-ox(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=GH(t,e),f=VH(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 ux(){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 $H=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)&&(ux(),p.z=0),isNaN(p.z2)&&(ux(),p.z2=0),isNaN(p.zlevel)&&(ux(),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 jH=$H;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 sx=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 YH(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 WH(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 XH(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 QH=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 ZH=QH;var FL=function(){function t(e){this.value=e}return t}(),KH=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}(),JH=function(){function t(e){this._list=new KH,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=JH;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 fx(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 cx(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 dx(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&&dx(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 dx(e,n);t=t+"";var r=t.replace(/ /g,"").toLowerCase();if(r in BL)return dx(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,fx(h[0]),fx(h[1]),fx(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(cx(u,l,n+1/3)*255),Wp(cx(u,l,n)*255),Wp(cx(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 e4(t){return t.type==="linear"}function t4(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 vx=Array.prototype.slice;function _u(t,e,n){return(e-t)*n+t}function hx(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 n4(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 r4(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 i4(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]:vx.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(vx.call(t[r]));return n}return vx.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 a4(t){return Ai(t&&t[0])?2:1}var H0=0,G0=1,YL=2,qp=3,px=4,gx=5,WL=6;function XL(t){return t===px||t===gx}function $0(t){return t===G0||t===YL}var Qp=[0,0,0,0],o4=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=a4(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)}}),e4(n)?f=px:t4(n)&&(f=gx),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?i4(S,_,a):h&&r4(S.colorStops,_.colorStops))}if(!f&&a!==gx&&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?hx(A,_[a],w[a],D):n4(A,_[a],w[a],D);else if(XL(l)){var O=_[a],P=w[a],I=l===px;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(hx([],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)hx(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}(),l4=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 o4(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 ZH({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 mx=l4;function av(){return new Date().getTime()}var u4=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&&(sx(r),!n._paused&&n.update())}sx(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 mx(n,r.loop);return this.addAnimator(a),a},e}(_l);const s4=u4;var f4=300,yx=Tt.domSupported,_x=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 Sx(t){var e=t.pointerType;return e==="pen"||e==="touch"}function c4(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 Cx(t){t&&(t.zrByTouch=!0)}function d4(t,e){return no(t.dom,new v4(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 v4=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),Cx(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),Cx(t),this.handler.processGesture(t,"change"),Lo.mousemove.call(this,t)},touchend:function(t){t=no(this.dom,t),Cx(t),this.handler.processGesture(t,"end"),Lo.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<f4&&Lo.click.call(this,t)},pointerdown:function(t){Lo.mousedown.call(this,t)},pointermove:function(t){Sx(t)||Lo.mousemove.call(this,t)},pointerup:function(t){Lo.mouseup.call(this,t)},pointerout:function(t){Sx(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 xx={pointermove:function(t){Sx(t)||xx.mousemove.call(this,t)},pointerup:function(t){xx.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 h4(t,e){var n=e.domHandlers;Tt.pointerEventsSupported?W(_x.pointer,function(r){j0(e,r,function(a){n[r].call(t,a)})}):(Tt.touchEventsSupported&&W(_x.touch,function(r){j0(e,r,function(a){n[r].call(t,a),c4(e)})}),W(_x.mouse,function(r){j0(e,r,function(a){a=ex(a),e.touching||n[r].call(t,a)})}))}function p4(t,e){Tt.pointerEventsSupported?W(qL.pointer,n):Tt.touchEventsSupported||W(qL.mouse,n);function n(r){function a(l){l=ex(l),ZL(t,l.target)||(l=d4(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,DH(t.domTarget,e,n,r)}function Tx(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&MH(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}(),g4=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),yx&&(a._globalHandlerScope=new KL(document,xx)),h4(a,a._localHandlerScope),a}return e.prototype.dispose=function(){Tx(this._localHandlerScope),yx&&Tx(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,yx&&+this.__pointerCapturing^+n){this.__pointerCapturing=n;var r=this._globalHandlerScope;n?p4(this,r):Tx(r)}},e}(_l);const m4=g4;var JL=1;Tt.hasGlobalWindow&&(JL=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Y0=JL,bx=.4,Ex="#333",Dx="#ccc",y4="#eee",eO=nx,tO=5e-5;function Kf(t){return t>tO||t<-tO}var Jf=[],ov=[],Mx=Up(),Rx=Math.abs,_4=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):LH(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)&&(Mx[4]=r,Mx[5]=a,ev(ov,n,Mx),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&&Rx(e[0]-1)>1e-10&&Rx(e[3]-1)>1e-10?Math.sqrt(Rx(e[0]*e[3]-e[2]*e[1])):1},t.prototype.copyTransform=function(e){S4(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&&ix(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 S4(t,e){for(var n=0;n<Zp.length;n++){var r=Zp[n];t[r]=e[r]}}const Kp=_4;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=Lx(e),u=Jp(0,a,n),f=lv(0,l,r),d=new Wt(u,f,a,l);return d}function Ax(t,e,n,r){var a=((t||"")+"").split(`
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=P3(i,dC,null,v,g,C,T);aC(R.current,i);var k=i.nodeType===Jn?i.parentNode:i;return yy(k),new nA(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.");rU(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=nU;v!=null&&(v.unstable_strictMode===!0&&(T=!0),v.identifierPrefix!==void 0&&(k=v.identifierPrefix),v.onRecoverableError!==void 0&&(N=v.onRecoverableError));var B=I3(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 rU(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,iU;iU=function(i){if(i._reactRootContainer&&i.nodeType!==Jn){var o=F3(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=rA(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 rA(i){return i?i.nodeType===ja?i.documentElement:i.firstChild:null}function aU(){}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=I3(o,g,i,Mf,null,!1,!1,"",aU);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=P3(i,Mf,null,!1,!1,"",aU);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){iU(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=rA(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,t5(i)})}),!0}else{{var C=rA(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(NR,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 iA={usingClientEntryPoint:!1,Events:[Ef,up,oC,ah,Jc,NR]};function Cne(i,o){return iA.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 iA.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 h3()&&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:ZR,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 oU=window.location.protocol;/^(https?|file):$/.test(oU)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(oU==="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=iA,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=NR,Ji.unstable_renderSubtreeIntoContainer=Sne,Ji.version=ZR,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=NV()):t.exports=PV()})(VA);const XA=dU(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]=ft.useState(!1),[d,h]=ft.useState(""),p=()=>n!=="text"?zr("div",{children:[ze(dV,{}),ze("div",{style:{marginTop:8},children:"上传"})]}):ze(vt.Button,{icon:ze(yV,{}),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 vt.message.error(`只允许上传 ${D.join(", ")} 文件`),vt.Upload.LIST_IGNORE}return w.size/1024/1024<a?!0:(vt.message.error(`文件必须小于${a}MB`),vt.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 vt.Modal.info({title:"PDF",width:"60%",content:ze("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(Sw,{children:[ze(vt.Upload,{...t,onPreview:_,beforeUpload:m,onChange:S,listType:n,children:r.length>=e?null:p()}),ze(IV,{visible:u,src:d,onVisibleChange:()=>{f(!1),h("")}})]})},IV=t=>{const{visible:e,src:n,onVisibleChange:r}=t;return XA.createPortal(ze(vt.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"},zV={labelCol:{span:4},wrapperCol:{span:20}},FV=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 ze(vt.Form,{layout:"horizontal",form:r==null?void 0:r.form,...zV,...r||{},children:ze(vt.Row,{gutter:16,...n,children:e.filter(d=>!d.hidden).map(d=>{var h,p;return ze(vt.Col,{...d.colProps||{span:24},children:ze(vt.Form.Item,{...d.valueType==="upload"?{getValueFromEvent:f}:{},label:l?"":d.title,name:d.valueType==="btns"?void 0:d.dataIndex,...d.formItemProps,children:d.readonly?ze("div",{children:d.value||((h=r==null?void 0:r.initialValues)==null?void 0:h[d.dataIndex])}):d.readonly===void 0&&a?ze("div",{children:d.value||((p=r==null?void 0:r.initialValues)==null?void 0:p[d.dataIndex])}):ze(KA,{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)})})})},KA=t=>{const{valueType:e,valueProps:n,value:r,onChange:a,onBtnClick:l,inputRef:u}=t,f=ft.useMemo(()=>{let d=ze(vt.Input,{placeholder:"请输入",...n,allowClear:!0});switch(e){case"password":d=ze(vt.Input.Password,{...n});break;case"modal":d=ze(BV,{...n});break;case"checkbox":d=ze(vt.Checkbox.Group,{...n});break;case"select":d=ze(vt.Select,{placeholder:"请选择",...n,allowClear:!0});break;case"inputNumber":d=ze(vt.InputNumber,{style:{width:"100%"},placeholder:"请输入",...n});break;case"textarea":d=ze(vt.Input.TextArea,{placeholder:"请输入",...n,allowClear:!0});break;case"radio":d=ze(vt.Radio.Group,{...n});break;case"switch":d=ze(vt.Switch,{...n});break;case"datePicker":d=ze(vt.DatePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"rangePicker":d=ze(vt.DatePicker.RangePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"timePicker":d=ze(vt.TimePicker,{style:{width:"100%"},...n,allowClear:!0});break;case"cascader":d=ze(vt.Cascader,{...n,allowClear:!0});break;case"upload":d=ze(QA,{...n});break;case"btns":d=ze(vt.Space,{children:n==null?void 0:n.map(h=>ft.createElement(vt.Button,{type:h.btnType==="submit"?"primary":"default",...Gd.omit(h,["btnType"]),key:h.btnType,onClick:p=>{l==null||l(p,h)}},h.title))});break}return d},[e,n,a,r]);return ft.cloneElement(f,{[FV(e||"input")]:r,onChange:a,ref:u})},BV=t=>{const{placeholder:e,labelKey:n,onToggle:r,value:a,onClear:l}=t;return zr("div",{className:S0.fieldModal,children:[ze("div",{className:S0.content,onClick:()=>r(!0),children:a?ze("span",{children:a[n]}):ze("span",{className:S0.placeholder,children:e})}),ze("span",{className:S0.suffix,onClick:l,children:a&&ze(oV,{})})]})},UV={search:"_search_aomzr_1"};function VV(t){const{tableProps:e={},searchProps:n}=t,{columns:r=[],...a}=e;return zr(Sw,{children:[n&&ze(ZA,{hiddenTitle:!0,...n,items:n.items}),ze(vt.Table,{columns:r.filter(l=>!l.hidden),...a,className:$d(UV.table,e==null?void 0:e.className),pagination:typeof(e==null?void 0:e.pagination)=="boolean"?e.pagination:{hideOnSinglePage:!0,showPrevNextJumpers:!0,showQuickJumper:!0,showSizeChanger:!0,showTotal:l=>`共 ${l} 条`,...e==null?void 0:e.pagination}})]})}var Uw=function(t,e){return Uw=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])},Uw(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");Uw(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var HV=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),GV=function(){function t(){this.browser=new HV,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 GV;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):$V(navigator.userAgent,Gf);function $V(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 Vw=12,jV="sans-serif",$f=Vw+"px "+jV,YV=20,WV=100,XV="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)-YV)/WV;e[r]=a}return e}var QV=qV(XV),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]||Vw,f=0;if(r.indexOf("mono")>=0)f=u*n.length;else for(var d=0;d<n.length;d++){var h=QV[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,ZV=C0.forEach,KV=C0.filter,Hw=C0.slice,JV=C0.map,tL=function(){}.constructor,w0=tL?tL.prototype:null,Gw="__proto__",eH=2311;function nL(){return eH++}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!==Gw&&(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!==Gw){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!==Gw&&(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 tH(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===ZV)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 $w(t);if(t.map&&t.map===JV)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 $w(t);if(t.filter&&t.filter===KV)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 nH(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(Hw.call(arguments)))}}var Qn=w0&&_t(w0.bind)?w0.call.bind(w0.bind):nH;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(Hw.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 rH(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 $w(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Hw.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 iH=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 aH(){return lL?new Map:new iH}var oH=function(){function t(e){var n=Be(e);this.data=aH();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 oH(t)}function lH(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 uH=180/Math.PI;var jw=function(t,e){return jw=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])},jw(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");jw(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 sH(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 fH(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function cH(t){return Math.sqrt(dH(t))}function dH(t){return t[0]*t[0]+t[1]*t[1]}function Yw(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function vH(t,e){var n=cH(e);return n===0?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Ww(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Xw=Ww;function hH(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Qd=hH;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}(),pH=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 gH=pH;var mH=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=mH;var yH=Math.log(2);function qw(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)/yH);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]*qw(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=qw(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)*qw(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 _H(t,e,n,r,a){return Zw(Qw,e,r,a,!0)&&Zw(t,n,Qw[0],Qw[1])}function Zw(t,e,n,r,a){if(e.getBoundingClientRect&&Tt.domSupported&&!dL(e)){var l=e[cL]||(e[cL]={}),u=SH(e,l),f=CH(u,l,a);if(f)return f(t,n,r),!0}return!1}function SH(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 CH(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 wH=/([&<>"'])/g,xH={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function to(t){return t==null?"":(t+"").replace(wH,function(e,n){return xH[n]})}var TH=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Kw=[],bH=Tt.browser.firefox&&+Tt.browser.version.split(".")[0]<39;function Jw(t,e,n,r){return n=n||{},r?vL(t,e,n):bH&&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(Zw(Kw,t,r,a)){n.zrX=Kw[0],n.zrY=Kw[1];return}}n.zrX=n.zrY=0}function ex(t){return t||window.event}function no(t,e,n){if(e=ex(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&&Jw(t,u,e,n)}else{Jw(t,e,e,n);var l=EH(e);e.zrDelta=l?l/120:-(e.detail||0)/3}var f=e.button;return e.which==null&&f!==void 0&&TH.test(e.type)&&(e.which=f&1?1:f&2?3:f&4?2:0),e}function EH(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 DH(t,e,n,r){t.addEventListener(e,n,r)}function MH(t,e,n,r){t.removeEventListener(e,n,r)}var hL=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0},RH=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=Jw(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 tx)if(tx.hasOwnProperty(n)){var r=tx[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 AH(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var tx={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=AH(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 nx(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function LH(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 rx(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 ix(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 OH(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 kH=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=kH;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,NH=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 rx(l,l,[-n.x,-n.y]),OH(l,l,[r,a]),rx(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=NH;var gL="silent";function PH(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:IH}}function IH(){hL(this.event)}var zH=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}(),FH=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ax=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 zH,f.proxy=null,f.setHandlerProxy(a),f._draggingMgr=new gH(f),f}return e.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(W(FH,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=PH(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)&&(ax.copy(S.getBoundingRect()),S.transform&&ax.applyTransform(S.transform),ax.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 RH);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||Xw(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(l,t,e)}});function BH(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=BH(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 UH=mL;var SL=32,$p=7;function VH(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++;HH(t,e,a)}else for(;a<n&&r(t[a],t[a-1])>=0;)a++;return a-e}function HH(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 ox(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 lx(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 GH(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=lx(t[b],t,w,E,0,e);w+=A,E-=A,E!==0&&(D=ox(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=lx(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=ox(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-lx(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-ox(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=GH(t,e),f=VH(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 ux(){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 $H=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)&&(ux(),p.z=0),isNaN(p.z2)&&(ux(),p.z2=0),isNaN(p.zlevel)&&(ux(),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 jH=$H;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 sx=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 YH(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 WH(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 XH(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 QH=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 ZH=QH;var FL=function(){function t(e){this.value=e}return t}(),KH=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}(),JH=function(){function t(e){this._list=new KH,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=JH;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 fx(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 cx(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 dx(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&&dx(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 dx(e,n);t=t+"";var r=t.replace(/ /g,"").toLowerCase();if(r in BL)return dx(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,fx(h[0]),fx(h[1]),fx(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(cx(u,l,n+1/3)*255),Wp(cx(u,l,n)*255),Wp(cx(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 e4(t){return t.type==="linear"}function t4(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 vx=Array.prototype.slice;function _u(t,e,n){return(e-t)*n+t}function hx(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 n4(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 r4(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 i4(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]:vx.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(vx.call(t[r]));return n}return vx.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 a4(t){return Ai(t&&t[0])?2:1}var H0=0,G0=1,YL=2,qp=3,px=4,gx=5,WL=6;function XL(t){return t===px||t===gx}function $0(t){return t===G0||t===YL}var Qp=[0,0,0,0],o4=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=a4(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)}}),e4(n)?f=px:t4(n)&&(f=gx),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?i4(S,_,a):h&&r4(S.colorStops,_.colorStops))}if(!f&&a!==gx&&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?hx(A,_[a],w[a],D):n4(A,_[a],w[a],D);else if(XL(l)){var O=_[a],P=w[a],I=l===px;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(hx([],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)hx(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}(),l4=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 o4(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 ZH({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 mx=l4;function av(){return new Date().getTime()}var u4=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&&(sx(r),!n._paused&&n.update())}sx(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 mx(n,r.loop);return this.addAnimator(a),a},e}(_l);const s4=u4;var f4=300,yx=Tt.domSupported,_x=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 Sx(t){var e=t.pointerType;return e==="pen"||e==="touch"}function c4(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 Cx(t){t&&(t.zrByTouch=!0)}function d4(t,e){return no(t.dom,new v4(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 v4=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),Cx(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),Cx(t),this.handler.processGesture(t,"change"),Lo.mousemove.call(this,t)},touchend:function(t){t=no(this.dom,t),Cx(t),this.handler.processGesture(t,"end"),Lo.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<f4&&Lo.click.call(this,t)},pointerdown:function(t){Lo.mousedown.call(this,t)},pointermove:function(t){Sx(t)||Lo.mousemove.call(this,t)},pointerup:function(t){Lo.mouseup.call(this,t)},pointerout:function(t){Sx(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 xx={pointermove:function(t){Sx(t)||xx.mousemove.call(this,t)},pointerup:function(t){xx.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 h4(t,e){var n=e.domHandlers;Tt.pointerEventsSupported?W(_x.pointer,function(r){j0(e,r,function(a){n[r].call(t,a)})}):(Tt.touchEventsSupported&&W(_x.touch,function(r){j0(e,r,function(a){n[r].call(t,a),c4(e)})}),W(_x.mouse,function(r){j0(e,r,function(a){a=ex(a),e.touching||n[r].call(t,a)})}))}function p4(t,e){Tt.pointerEventsSupported?W(qL.pointer,n):Tt.touchEventsSupported||W(qL.mouse,n);function n(r){function a(l){l=ex(l),ZL(t,l.target)||(l=d4(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,DH(t.domTarget,e,n,r)}function Tx(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&MH(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}(),g4=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),yx&&(a._globalHandlerScope=new KL(document,xx)),h4(a,a._localHandlerScope),a}return e.prototype.dispose=function(){Tx(this._localHandlerScope),yx&&Tx(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,yx&&+this.__pointerCapturing^+n){this.__pointerCapturing=n;var r=this._globalHandlerScope;n?p4(this,r):Tx(r)}},e}(_l);const m4=g4;var JL=1;Tt.hasGlobalWindow&&(JL=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Y0=JL,bx=.4,Ex="#333",Dx="#ccc",y4="#eee",eO=nx,tO=5e-5;function Kf(t){return t>tO||t<-tO}var Jf=[],ov=[],Mx=Up(),Rx=Math.abs,_4=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):LH(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)&&(Mx[4]=r,Mx[5]=a,ev(ov,n,Mx),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&&Rx(e[0]-1)>1e-10&&Rx(e[3]-1)>1e-10?Math.sqrt(Rx(e[0]*e[3]-e[2]*e[1])):1},t.prototype.copyTransform=function(e){S4(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&&ix(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 S4(t,e){for(var n=0;n<Zp.length;n++){var r=Zp[n];t[r]=e[r]}}const Kp=_4;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=Lx(e),u=Jp(0,a,n),f=lv(0,l,r),d=new Wt(u,f,a,l);return d}function Ax(t,e,n,r){var a=((t||"")+"").split(`
192
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 Lx(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 Ox="__zr_normal__",kx=Zp.concat(["ignore"]),C4=Wd(Zp,function(t,e){return t[e]=!0,t},{ignore:!1}),uv={},w4=new Wt(0,0,0,0),Nx=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=w4;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()?Dx:Ex},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!==Ox)){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,kx)},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(Ox,!1,e)},t.prototype.useState=function(e,n,r,a){var l=e===Ox,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<kx.length;p++){var m=kx[p],S=l&&C4[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 mx(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){Px(this,e,n,r)},t.prototype.animateFrom=function(e,n,r){Px(this,e,n,r,!0)},t.prototype._transitionState=function(e,n,r,a){for(var l=Px(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(Nx,_l),ml(Nx,Kp);function Px(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 Ix(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}function x4(t){return Ai(t[0])}function T4(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),Ix(t[n],e[n],r))}else{var a=e[n],l=t[n],u=a.length;if(x4(a))for(var f=a[0].length,d=0;d<u;d++)l[d]?Ix(l[d],a[d],f):l[d]=Array.prototype.slice.call(a[d]);else Ix(l,a,u);l.length=a.length}else t[n]=e[n]}function b4(t,e){return t===e||Ai(t)&&Ai(e)&&E4(t,e)}function E4(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!b4(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]),T4(n,r,D)}}var I=new mx(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=Nx;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 D4(t){delete lO[t]}function M4(t){if(!t)return!1;if(typeof t=="string")return F0(t,1)<bx;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<bx}return!1}var R4=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 jH,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 m4(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 UH(l,f,h,f.root,_),this.animation=new s4({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=M4(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,D4(this.id)},t}();function uO(t,e){var n=new R4(nL(),t,e);return lO[n.id]=n,n}function A4(t,e){eg[t]=e}var sO=1e-4,fO=20;function L4(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)?L4(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 zx(t)}function zx(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 O4(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 k4(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 N4=/^(?:(\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=N4.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 P4(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 I4="[ECharts] ",yO={},z4=typeof console<"u"&&console.warn&&console.log;function Q0(t,e,n){if(z4){if(n){if(yO[e])return;yO[e]=!0}console[t](I4+e)}}function F4(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",B4="\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 U4(t){return it(t)&&!(t instanceof Array)}function V4(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=H4(t,u,n);return(r||a)&&G4(f,t,u,e),r&&$4(f,e),r||a?j4(f,e,a):l&&Y4(f,e),W4(f),f}function H4(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 G4(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 $4(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 j4(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 Y4(t,e){W(e,function(n){t.push({newOption:n,brandNew:!0,existing:null,keyInfo:null})})}function W4(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(B4)===0}function X4(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_"+Q4++;return function(e){return e[t]||(e[t]={})}}var Q4=pO();function Fx(t,e,n){var r=Bx(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 Bx(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 Z4(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function K4(t){return t==="auto"?Tt.domSupported?"html":"richText":t||"html"}function J4(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 e6=".",tc="___EC__COMPONENT__CONTAINER___",MO="___EC__EXTENDED_CLASS___";function Tl(t){var e={main:"",sub:""};if(t){var n=t.split(e6);e.main=n[0]||"",e.sub=n[1]||""}return e}function t6(t){bt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function n6(t){return!!(t&&t[MO])}function Ux(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 r6(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)},tH(a,this)),Re(a.prototype,n),a[MO]=!0,a.extend=this.extend,a.superCall=o6,a.superApply=l6,a.superClass=r,a}}function r6(t){return _t(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function RO(t,e){t.extend=e.extend}var i6=Math.round(Math.random()*10);function a6(t){var e=["__\0is_clz",i6++].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 o6(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 l6(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){t6(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 u6=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],s6=ag(u6),f6=function(){function t(){}return t.prototype.getAreaStyle=function(e,n){return s6(this,e,n)},t}(),Vx=new Yp(50);function c6(t){if(typeof t=="string"){var e=Vx.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=Vx.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,Vx.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 Hx=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function d6(t,e,n,r,a){if(!e)return"";var l=(t+"").split(`
193
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
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?v6(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 v6(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 h6(t,e){t!=null&&(t+="");var n=e.overflow,r=e.padding,a=e.font,l=n==="truncate",u=Lx(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
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 p6=function(){function t(){}return t}(),NO=function(){function t(e){this.tokens=[],e&&(this.tokens=e)}return t}(),g6=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 m6(t,e){var n=new g6;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=Hx.lastIndex=0,d;(d=Hx.exec(t))!=null;){var h=d.index;h>f&&Gx(n,t.substring(f,h),e,u),Gx(n,d[2],e,u,d[1]),f=Hx.lastIndex}f<t.length&&Gx(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=Lx(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=c6(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=d6(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],Ne=F.percentWidth;F.width=parseInt(Ne,10)/100*n.width}return n}function Gx(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
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
197
  `);for(var b=0;b<p.length;b++){var D=p[b],A=new p6;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 y6(t){var e=t.charCodeAt(0);return e>=33&&e<=383}var _6=Wd(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function S6(t){return y6(t)?!!_6[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:!S6(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 $x="__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[$x]=!0;var IO=["z","z2","invisible"],C6=["invisible"],w6=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&&x6(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[$x]||(n=this.createStyle(n)),this.__inHover?this.__hoverStyle=n:this.style=n,this.dirtyStyle()},e.prototype.isStyleObject=function(n){return n[$x]},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?C6: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),jx=new Wt(0,0,0,0),Yx=new Wt(0,0,0,0);function x6(t,e,n){return jx.copy(t.getBoundingRect()),t.transform&&jx.applyTransform(t.transform),Yx.width=e,Yx.height=n,!jx.intersect(Yx)}const fv=w6;var ra=Math.min,ia=Math.max,Wx=Math.sin,Xx=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 T6(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 b6(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 E6(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]=Xx(a)*n+t,e_[1]=Wx(a)*r+e,t_[0]=Xx(l)*n+t,t_[1]=Wx(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]=Xx(_)*n+t,n_[1]=Wx(_)*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=[],qx=Math.min,Qx=Math.max,oc=Math.cos,lc=Math.sin,wu=Math.abs,Zx=Math.PI,Rs=Zx*2,Kx=typeof Float32Array<"u",og=[];function Jx(t){var e=Math.round(t/Zx*1e8)/1e8;return e%2*Zx}function D6(t,e){var n=Jx(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-Jx(n-a)):e&&n<a&&(a=n-(Rs-Jx(a-n))),t[0]=n,t[1]=a}var M6=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,D6(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)&&Kx&&(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();Kx&&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,Kx&&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:T6(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:b6(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),E6(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=YH(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=XH(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)*qx(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++],Ne=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,Ne,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,Ne,ae,ge),h=ae,p=ge;break}case nn.Q:{var ie=r[F++],ce=r[F++],fe=r[F++],Ne=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,Ne,ee,ac),e.quadraticCurveTo(ic[1],ac[1],ic[2],ac[2]);break e}b+=G}e.quadraticCurveTo(ie,ce,fe,Ne),h=fe,p=Ne;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+qx(Et,Se),S),Et-=Se,Et>0&&e.lineTo(m+Se,S+qx(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=M6;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 R6(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 A6(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 L6(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,O6=1e-4;function k6(t,e){return Math.abs(t-e)<O6}var Li=[-1,-1,-1],ao=[-1,-1];function N6(){var t=ao[0];ao[0]=ao[1],ao[1]=t}function P6(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&&N6(),_=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 I6(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=WH(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 z6(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(R6(d,h,l[w++],l[w++],l[w++],l[w++],l[w],l[w+1],e,r,a))return!0}else f+=P6(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(A6(d,h,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+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(L6(D,A,P,I,I+F,U,e,H,a))return!0}else f+=z6(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&&!k6(h,m)&&(f+=uc(d,h,p,m,r,a)||0),f!==0}function F6(t,e,n){return HO(t,0,!1,e,n)}function B6(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),U6={style:Vt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},J0.style)},eT=Zp.concat(["invisible","culling","z","z2","zlevel","parent"]),V6=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<eT.length;++f)a[eT[f]]=this[eT[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?Ex:r>.2?y4:Dx}else if(n)return Dx}return Ex},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)<bx;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)),B6(f,d/h,n,r)))return!0}if(this.hasFill())return F6(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 U6},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=V6;var H6=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(H6,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=Ax(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 tT=$O;var G6=Vt({x:0,y:0},nc),$6={style:Vt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},J0.style)};function j6(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(G6,n)},e.prototype._getSize=function(n){var r=this.style,a=r[n];if(a!=null)return a;var l=j6(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 $6},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 Y6(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 W6=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),X6={},XO=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new W6},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=WO(X6,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?Y6(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,e8(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=h6(l,n),f=nT(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(tT),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=m6(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;nT(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&&nT(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(tT),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 J6(n)&&(r=[n.fontStyle,n.fontWeight,K6(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&yl(r)||n.textFont||n.font},e}(fv),Q6={left:!0,right:1,center:1},Z6={top:1,bottom:1,middle:1},KO=["fontStyle","fontWeight","fontSize","fontFamily"];function K6(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?Vw+"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 J6(t){return t.fontSize!=null||t.fontFamily||t.fontWeight}function e8(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||Q6[e]?e:"left";var n=t.verticalAlign;n==="center"&&(n="middle"),t.verticalAlign=n==null||Z6[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 nT(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const ko=ZO;var yn=jn(),t8=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(),rT=jn(),u2=0,iT=1,aT=2,Ml=["emphasis","blur","select"],r_=["normal","emphasis","blur","select"],n8=10,r8=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",aT)}function d2(t){t.hoverState===aT&&o_(t,"normal",u2)}function oT(t){o_(t,"blur",iT)}function v2(t){t.hoverState===iT&&o_(t,"normal",u2)}function i8(t){t.selected=!0}function a8(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 o8(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 l8(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??n8)}return r}function u8(t,e,n){if(n&&n.z2==null){n=Re({},n);var r=t.z2SelectLift;n.z2=t.z2+(r??r8)}return n}function s8(t,e,n){var r=dn(t.currentStates,e)>=0,a=t.style.opacity,l=r?null:o8(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 lT(t,e){var n=this.states[t];if(this.style){if(t==="emphasis")return l8(this,t,e,n);if(t==="blur")return s8(this,t,n);if(t==="select")return u8(this,t,n)}return n}function f8(t){t.stateProxy=lT;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=lT),n&&(n.stateProxy=lT)}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 uT(t,e){t.__highByOuter|=1<<(e||0),xu(t,c2)}function sT(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&xu(t,d2)}function c8(t){xu(t,oT)}function m2(t){xu(t,v2)}function y2(t){xu(t,i8)}function _2(t){xu(t,a8)}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=rT(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 fT(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){oT(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),rT(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 cT(t,e,n){if(!(t==null||e==null)){var r=n.getModel().getComponent(t,e);if(r){rT(r).isBlured=!0;var a=n.getViewOfComponentModel(r);!a||!a.focusBlurEnabled||a.group.traverse(function(l){oT(l)})}}}function d8(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);fT(r,h.focus,h.blurScope,n)}else{var p=t.get(["emphasis","focus"]),m=t.get(["emphasis","blurScope"]);p!=null&&fT(r,p,m,n)}}function dT(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 v8(t,e,n){process.env.NODE_ENV!=="production"&&!pv(t)&&ci("param should be highDownDispatcher");var r=yn(t),a=dT(r.componentMainType,r.componentIndex,r.componentHighDownName,n),l=a.dispatchers,u=a.focusSelf;l?(u&&cT(r.componentMainType,r.componentIndex,n),W(l,function(f){return p2(f,e)})):(fT(r.seriesIndex,r.focus,r.blurScope,n),r.focus==="self"&&cT(r.componentMainType,r.componentIndex,n),p2(t,e))}function h8(t,e,n){process.env.NODE_ENV!=="production"&&!pv(t)&&ci("param should be highDownDispatcher"),C2(n);var r=yn(t),a=dT(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;a?W(a,function(l){return g2(l,e)}):g2(t,e)}function p8(t,e,n){if(vT(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 g8(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 m8(t,e,n){T2(t,!0),xu(t,f8),S8(t,e,n)}function y8(t){T2(t,!1)}function _8(t,e,n,r){r?y8(t):m8(t,e,n)}function S8(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"],C8={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function w8(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[C8[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 x8(t){var e=o2[t];return e==null&&a2<=32&&(e=o2[t]=a2++),e}function vT(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 T8(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,b8=[[],[],[]],E2=Math.sqrt,E8=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=E8(-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=b8[d];I[0]=n[u++],I[1]=n[u++],eo(I,I,e),n[f++]=I[0],n[f++]=I[1]}}t.increaseVersion()}}var hT=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 pT(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(pT(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*=hT(w),f*=hT(w));var E=(a===l?-1:1)*hT((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(pT(I,F)<=-1&&(U=fg),pT(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 D8=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,M8=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function R8(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(D8);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(M8)||[],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=R8(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 A8(t,e){return new L2(k2(t,e))}function L8(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 O8(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 gT(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 k8=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 k8},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 mT=N2;var N8=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 N8},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,yT=z2*2,dc=Math.sin,mv=Math.cos,P8=Math.acos,di=Math.atan2,F2=Math.abs,cg=Math.sqrt,dg=Math.max,Rl=Math.min,No=1e-4;function I8(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 z8(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 F8(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=_>yT&&_%yT;if(w>No&&(_=w),!(r>No))t.moveTo(p,m);else if(_>yT-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),Ne=a*mv(h),ae=a*dc(h),ge=_>No;if(ge){var pe=e.cornerRadius;pe&&(n=z8(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=I8(ce,fe,J,ie,G,ee,Ne,ae);if(Ge){var St=ce-Ge[0],It=fe-Ge[1],Dn=G-Ge[0],Xt=ee-Ge[1],Mn=1/dc(P8((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,Ne,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+Ne,m+ae);else if(X>No){var zt=Rl(E,X),Ft=Rl(b,X),$e=s_(Ne,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+Ne,m+ae),t.arc(p,m,a,h,d,S)}t.closePath()}}}var B8=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 B8},e.prototype.buildPath=function(n,r){F8(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 U8=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 U8},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 V8(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(sH(t[S]));continue}else d=t[S-1],h=t[S+1];fH(l,h,d),Yw(l,l,e);var E=Ww(w,d),b=Ww(w,h),D=E+b;D!==0&&(E/=D,b/=D),Yw(u,l,-E),Yw(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=V8(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 H8=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 H8},e.prototype.buildPath=function(n,r){H2(n,r,!0)},e}(Gt);G2.prototype.type="polygon";const _T=G2;var G8=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 G8},e.prototype.buildPath=function(n,r){H2(n,r,!1)},e}(Gt);$2.prototype.type="polyline";const ST=$2;var $8={},j8=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 j8},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=YO($8,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=[],Y8=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 Y8},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 vH(r,r)},e}(Gt);W2.prototype.type="bezier-curve";const X2=W2;var W8=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 W8},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 CT=q2;var X8=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=X8;var Q8=function(){function t(e){this.colorStops=e||[]}return t.prototype.addColorStop=function(e,n){this.colorStops.push({offset:e,color:n})},t}();const Q2=Q8;var Z8=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 K8=Z8;var J8=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 eG=J8;var pc=[0,0],gc=[0,0],f_=new vt,c_=new vt,tG=function(){function t(e,n){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new vt;for(var r=0;r<2;r++)this._axes[r]=new vt;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);vt.sub(a[0],r[1],r[0]),vt.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||vt.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?vt.scale(a,h,-p*u):vt.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?vt.scale(r,h,p*u):vt.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_=tG;var nG=[],rG=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(nG)),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 iG=rG;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 wT(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){wT("update",t,e,n,r,a,l)}function Io(t,e,n,r,a,l){wT("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)||wT("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 xT(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 aG(t){Z2(t).oldStyle=t.style}function oG(t){return Z2(t).oldStyle}var h_=Math.max,p_=Math.min,TT={};function lG(t){return Gt.extend(t)}var uG=L8;function sG(t,e){return uG(t,e)}function zo(t,e){TT[t]=e}function fG(t){if(TT.hasOwnProperty(t))return TT[t]}function bT(t,e,n,r){var a=A8(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 cG=O8;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 dG(t){return WO(t.shape,t.shape,t.style),t}var vG=fc;function hG(t,e){for(var n=nx([]);t&&t!==e;)ev(n,t.getLocalTransform(),n),t=t.parent;return n}function ET(t,e,n){return e&&!Ai(e)&&(e=Kp.getLocalTransform(e)),n&&(e=M0([],e)),eo([],t,e)}function pG(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=ET(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 gG(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 gG(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 mG(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 yG(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)):bT(t.replace("path://",""),r,n,"center")}function _G(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=DT(p,m,d,h);if(SG(S))return!1;var _=t-a,w=e-l,E=DT(_,w,d,h)/S;if(E<0||E>1)return!1;var b=DT(_,w,p,m)/S;return!(b<0||b>1)}function DT(t,e,n,r){return t*r-n*e}function SG(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 MT(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",mT),zo("ellipse",I2),zo("sector",vc),zo("ring",V2),zo("polygon",_T),zo("polyline",ST),zo("rect",Kr),zo("line",hc),zo("bezierCurve",X2),zo("arc",CT);const CG=Object.freeze(Object.defineProperty({__proto__:null,updateProps:Po,initProps:Io,removeElement:K2,removeElementWithFadeOut:xT,isElementRemoved:yv,extendShape:lG,extendPath:sG,registerShape:zo,getShapeClass:fG,makePath:bT,makeImage:ek,mergePath:cG,resizePath:nk,subPixelOptimizeLine:vg,subPixelOptimizeRect:dG,subPixelOptimize:vG,getTransform:hG,applyTransform:ET,transformDirection:pG,groupTransition:ik,clipPointsByRect:mG,clipRectByRect:yG,createIcon:ak,linePolygonIntersect:_G,lineLineIntersect:ok,setTooltipConfig:lk,traverseElements:MT,Group:Cl,Image:dv,Text:ko,Circle:mT,Ellipse:I2,Sector:vc,Ring:V2,Polygon:_T,Polyline:ST,Rect:Kr,Line:hc,BezierCurve:X2,Arc:CT,IncrementalDisplayable:iG,CompoundPath:q8,LinearGradient:K8,RadialGradient:eG,BoundingRect:Wt,OrientedBoundingRect:d_,Point:vt,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 RT(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 wG(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=RT(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=RT(n,e,D);sk(d,A)})}else d&&(d.ignore=!0);t.dirty()}function xG(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 TG(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 TG(t,e,n,r,a){n=n||g_;var l=e.ecModel,u=l&&l.option.textStyle,f=bG(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 bG(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 EG(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 DG(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 MG(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=J4(n,l.precision,f,d,p);l.interpolatedValue=p===1?null:m;var S=RT({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 RG=["textStyle","color"],AT=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],LT=new ko,AG=function(){function t(){}return t.prototype.getTextColor=function(e){var n=this.ecModel;return this.getShallow("color")||(!e&&n?n.get(RG):null)},t.prototype.getFont=function(){return EG({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<AT.length;r++)n[AT[r]]=this.getShallow(AT[r]);return LT.useStyle(n),LT.update(),LT.getBoundingRect()},t}();const LG=AG;var pk=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],OG=ag(pk),kG=function(){function t(){}return t.prototype.getLineStyle=function(e){return OG(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"]],NG=ag(gk),PG=function(){function t(){}return t.prototype.getItemStyle=function(e,n){return NG(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}();Ux(yc),a6(yc),ml(yc,kG),ml(yc,PG),ml(yc,f6),ml(yc,LG);const Oi=yc;var IG=Math.round(Math.random()*10);function m_(t){return[t||"",IG++].join("_")}function zG(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 FG(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 BG(t,e){return cn(cn({},t,!0),e,!0)}const UG={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:". "}}}},VG={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",OT="EN",pg=OT,__={},kT={},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(),kT[t]=new Oi(e),__[t]=e}function HG(t){if(et(t)){var e=__[t.toUpperCase()]||{};return t===y_||t===OT?Qt(e):cn(Qt(e),Qt(__[pg]),!1)}else return cn(Qt(t),Qt(__[pg]),!1)}function GG(t){return kT[t]}function $G(){return kT[pg]}yk(OT,UG),yk(y_,VG);var NT=1e3,PT=NT*60,gg=PT*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},IT=["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 jG(t){return t===_v(t)}function YG(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[zT(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:GG(r||mk)||$G(),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 WG(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<IT.length;++f)u[IT[f]]="{primary|"+u[IT[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[zT(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 zT(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 XG(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 FT=aL;function BT(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"],UT=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(UT(u),UT(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(UT(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,QG=["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 VT(t,e,n){n=FT(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 HT(t){return ZG({},t)}function ZG(t,e){return e&&t&&E_(QG,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var KG=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?HT(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(!n6(n))return n.defaultOption;var r=KG(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),zG(Cv),FG(Cv,JG);function JG(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 e$={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 GT=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 t$(t){Fk(t).datasetMap=xt()}function n$(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 r$(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 i$(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function i$(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 a$=xt();function o$(t,e,n){var r=a$.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 $T=function(){function t(){}return t.prototype.getColorFromPalette=function(e,n,r){var a=rr(this.get("color",!0)),l=this.get("colorLayer",!0);return u$(this,Vk,a,l,e,n,r)},t.prototype.clearColorPalette=function(){s$(this,Vk)},t}();function l$(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 u$(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:l$(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 s$(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var M_,wg,Hk,jT="\0_ec_inner",Gk=1,f$={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"},c$={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 d$(t){W(t,function(e,n){if(!En.hasClass(n)){var r=f$[n];r&&!R_[r]&&(ci("Component "+n+` is used but not imported.
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:!S6(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 $x="__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[$x]=!0;var IO=["z","z2","invisible"],C6=["invisible"],w6=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&&x6(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[$x]||(n=this.createStyle(n)),this.__inHover?this.__hoverStyle=n:this.style=n,this.dirtyStyle()},e.prototype.isStyleObject=function(n){return n[$x]},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?C6: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),jx=new Wt(0,0,0,0),Yx=new Wt(0,0,0,0);function x6(t,e,n){return jx.copy(t.getBoundingRect()),t.transform&&jx.applyTransform(t.transform),Yx.width=e,Yx.height=n,!jx.intersect(Yx)}const fv=w6;var ra=Math.min,ia=Math.max,Wx=Math.sin,Xx=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 T6(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 b6(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 E6(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]=Xx(a)*n+t,e_[1]=Wx(a)*r+e,t_[0]=Xx(l)*n+t,t_[1]=Wx(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]=Xx(_)*n+t,n_[1]=Wx(_)*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=[],qx=Math.min,Qx=Math.max,oc=Math.cos,lc=Math.sin,wu=Math.abs,Zx=Math.PI,Rs=Zx*2,Kx=typeof Float32Array<"u",og=[];function Jx(t){var e=Math.round(t/Zx*1e8)/1e8;return e%2*Zx}function D6(t,e){var n=Jx(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-Jx(n-a)):e&&n<a&&(a=n-(Rs-Jx(a-n))),t[0]=n,t[1]=a}var M6=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,D6(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)&&Kx&&(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();Kx&&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,Kx&&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:T6(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:b6(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),E6(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=YH(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=XH(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)*qx(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++],Ne=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,Ne,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,Ne,ae,ge),h=ae,p=ge;break}case nn.Q:{var ie=r[F++],ce=r[F++],fe=r[F++],Ne=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,Ne,ee,ac),e.quadraticCurveTo(ic[1],ac[1],ic[2],ac[2]);break e}b+=G}e.quadraticCurveTo(ie,ce,fe,Ne),h=fe,p=Ne;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+qx(Et,Se),S),Et-=Se,Et>0&&e.lineTo(m+Se,S+qx(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=M6;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 R6(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 A6(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 L6(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,O6=1e-4;function k6(t,e){return Math.abs(t-e)<O6}var Li=[-1,-1,-1],ao=[-1,-1];function N6(){var t=ao[0];ao[0]=ao[1],ao[1]=t}function P6(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&&N6(),_=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 I6(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=WH(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 z6(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(R6(d,h,l[w++],l[w++],l[w++],l[w++],l[w],l[w+1],e,r,a))return!0}else f+=P6(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(A6(d,h,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+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(L6(D,A,P,I,I+F,U,e,H,a))return!0}else f+=z6(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&&!k6(h,m)&&(f+=uc(d,h,p,m,r,a)||0),f!==0}function F6(t,e,n){return HO(t,0,!1,e,n)}function B6(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),U6={style:Vt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},J0.style)},eT=Zp.concat(["invisible","culling","z","z2","zlevel","parent"]),V6=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<eT.length;++f)a[eT[f]]=this[eT[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?Ex:r>.2?y4:Dx}else if(n)return Dx}return Ex},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)<bx;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)),B6(f,d/h,n,r)))return!0}if(this.hasFill())return F6(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 U6},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=V6;var H6=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(H6,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=Ax(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 tT=$O;var G6=Vt({x:0,y:0},nc),$6={style:Vt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},J0.style)};function j6(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(G6,n)},e.prototype._getSize=function(n){var r=this.style,a=r[n];if(a!=null)return a;var l=j6(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 $6},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 Y6(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 W6=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),X6={},XO=function(t){mn(e,t);function e(n){return t.call(this,n)||this}return e.prototype.getDefaultShape=function(){return new W6},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=WO(X6,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?Y6(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,e8(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=h6(l,n),f=nT(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(tT),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=m6(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;nT(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&&nT(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(tT),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 J6(n)&&(r=[n.fontStyle,n.fontWeight,K6(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&yl(r)||n.textFont||n.font},e}(fv),Q6={left:!0,right:1,center:1},Z6={top:1,bottom:1,middle:1},KO=["fontStyle","fontWeight","fontSize","fontFamily"];function K6(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?Vw+"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 J6(t){return t.fontSize!=null||t.fontFamily||t.fontWeight}function e8(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||Q6[e]?e:"left";var n=t.verticalAlign;n==="center"&&(n="middle"),t.verticalAlign=n==null||Z6[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 nT(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const ko=ZO;var yn=jn(),t8=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(),rT=jn(),u2=0,iT=1,aT=2,Ml=["emphasis","blur","select"],r_=["normal","emphasis","blur","select"],n8=10,r8=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",aT)}function d2(t){t.hoverState===aT&&o_(t,"normal",u2)}function oT(t){o_(t,"blur",iT)}function v2(t){t.hoverState===iT&&o_(t,"normal",u2)}function i8(t){t.selected=!0}function a8(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 o8(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 l8(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??n8)}return r}function u8(t,e,n){if(n&&n.z2==null){n=Re({},n);var r=t.z2SelectLift;n.z2=t.z2+(r??r8)}return n}function s8(t,e,n){var r=dn(t.currentStates,e)>=0,a=t.style.opacity,l=r?null:o8(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 lT(t,e){var n=this.states[t];if(this.style){if(t==="emphasis")return l8(this,t,e,n);if(t==="blur")return s8(this,t,n);if(t==="select")return u8(this,t,n)}return n}function f8(t){t.stateProxy=lT;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=lT),n&&(n.stateProxy=lT)}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 uT(t,e){t.__highByOuter|=1<<(e||0),xu(t,c2)}function sT(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&xu(t,d2)}function c8(t){xu(t,oT)}function m2(t){xu(t,v2)}function y2(t){xu(t,i8)}function _2(t){xu(t,a8)}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=rT(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 fT(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){oT(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),rT(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 cT(t,e,n){if(!(t==null||e==null)){var r=n.getModel().getComponent(t,e);if(r){rT(r).isBlured=!0;var a=n.getViewOfComponentModel(r);!a||!a.focusBlurEnabled||a.group.traverse(function(l){oT(l)})}}}function d8(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);fT(r,h.focus,h.blurScope,n)}else{var p=t.get(["emphasis","focus"]),m=t.get(["emphasis","blurScope"]);p!=null&&fT(r,p,m,n)}}function dT(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 v8(t,e,n){process.env.NODE_ENV!=="production"&&!pv(t)&&ci("param should be highDownDispatcher");var r=yn(t),a=dT(r.componentMainType,r.componentIndex,r.componentHighDownName,n),l=a.dispatchers,u=a.focusSelf;l?(u&&cT(r.componentMainType,r.componentIndex,n),W(l,function(f){return p2(f,e)})):(fT(r.seriesIndex,r.focus,r.blurScope,n),r.focus==="self"&&cT(r.componentMainType,r.componentIndex,n),p2(t,e))}function h8(t,e,n){process.env.NODE_ENV!=="production"&&!pv(t)&&ci("param should be highDownDispatcher"),C2(n);var r=yn(t),a=dT(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;a?W(a,function(l){return g2(l,e)}):g2(t,e)}function p8(t,e,n){if(vT(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 g8(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 m8(t,e,n){T2(t,!0),xu(t,f8),S8(t,e,n)}function y8(t){T2(t,!1)}function _8(t,e,n,r){r?y8(t):m8(t,e,n)}function S8(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"],C8={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function w8(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[C8[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 x8(t){var e=o2[t];return e==null&&a2<=32&&(e=o2[t]=a2++),e}function vT(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 T8(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,b8=[[],[],[]],E2=Math.sqrt,E8=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=E8(-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=b8[d];I[0]=n[u++],I[1]=n[u++],eo(I,I,e),n[f++]=I[0],n[f++]=I[1]}}t.increaseVersion()}}var hT=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 pT(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(pT(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*=hT(w),f*=hT(w));var E=(a===l?-1:1)*hT((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(pT(I,F)<=-1&&(U=fg),pT(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 D8=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,M8=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function R8(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(D8);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(M8)||[],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=R8(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 A8(t,e){return new L2(k2(t,e))}function L8(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 O8(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 gT(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 k8=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 k8},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 mT=N2;var N8=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 N8},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,yT=z2*2,dc=Math.sin,mv=Math.cos,P8=Math.acos,di=Math.atan2,F2=Math.abs,cg=Math.sqrt,dg=Math.max,Rl=Math.min,No=1e-4;function I8(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 z8(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 F8(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=_>yT&&_%yT;if(w>No&&(_=w),!(r>No))t.moveTo(p,m);else if(_>yT-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),Ne=a*mv(h),ae=a*dc(h),ge=_>No;if(ge){var pe=e.cornerRadius;pe&&(n=z8(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=I8(ce,fe,J,ie,G,ee,Ne,ae);if(Ge){var St=ce-Ge[0],It=fe-Ge[1],Dn=G-Ge[0],Xt=ee-Ge[1],Mn=1/dc(P8((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,Ne,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+Ne,m+ae);else if(X>No){var zt=Rl(E,X),Ft=Rl(b,X),$e=s_(Ne,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+Ne,m+ae),t.arc(p,m,a,h,d,S)}t.closePath()}}}var B8=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 B8},e.prototype.buildPath=function(n,r){F8(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 U8=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 U8},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 V8(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(sH(t[S]));continue}else d=t[S-1],h=t[S+1];fH(l,h,d),Yw(l,l,e);var E=Ww(w,d),b=Ww(w,h),D=E+b;D!==0&&(E/=D,b/=D),Yw(u,l,-E),Yw(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=V8(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 H8=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 H8},e.prototype.buildPath=function(n,r){H2(n,r,!0)},e}(Gt);G2.prototype.type="polygon";const _T=G2;var G8=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 G8},e.prototype.buildPath=function(n,r){H2(n,r,!1)},e}(Gt);$2.prototype.type="polyline";const ST=$2;var $8={},j8=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 j8},e.prototype.buildPath=function(n,r){var a,l,u,f;if(this.subPixelOptimize){var d=YO($8,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=[],Y8=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 Y8},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 vH(r,r)},e}(Gt);W2.prototype.type="bezier-curve";const X2=W2;var W8=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 W8},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 CT=q2;var X8=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=X8;var Q8=function(){function t(e){this.colorStops=e||[]}return t.prototype.addColorStop=function(e,n){this.colorStops.push({offset:e,color:n})},t}();const Q2=Q8;var Z8=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 K8=Z8;var J8=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 eG=J8;var pc=[0,0],gc=[0,0],f_=new ht,c_=new ht,tG=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_=tG;var nG=[],rG=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(nG)),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 iG=rG;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 wT(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){wT("update",t,e,n,r,a,l)}function Io(t,e,n,r,a,l){wT("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)||wT("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 xT(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 aG(t){Z2(t).oldStyle=t.style}function oG(t){return Z2(t).oldStyle}var h_=Math.max,p_=Math.min,TT={};function lG(t){return Gt.extend(t)}var uG=L8;function sG(t,e){return uG(t,e)}function zo(t,e){TT[t]=e}function fG(t){if(TT.hasOwnProperty(t))return TT[t]}function bT(t,e,n,r){var a=A8(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 cG=O8;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 dG(t){return WO(t.shape,t.shape,t.style),t}var vG=fc;function hG(t,e){for(var n=nx([]);t&&t!==e;)ev(n,t.getLocalTransform(),n),t=t.parent;return n}function ET(t,e,n){return e&&!Ai(e)&&(e=Kp.getLocalTransform(e)),n&&(e=M0([],e)),eo([],t,e)}function pG(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=ET(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 gG(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 gG(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 mG(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 yG(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)):bT(t.replace("path://",""),r,n,"center")}function _G(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=DT(p,m,d,h);if(SG(S))return!1;var _=t-a,w=e-l,E=DT(_,w,d,h)/S;if(E<0||E>1)return!1;var b=DT(_,w,p,m)/S;return!(b<0||b>1)}function DT(t,e,n,r){return t*r-n*e}function SG(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 MT(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",mT),zo("ellipse",I2),zo("sector",vc),zo("ring",V2),zo("polygon",_T),zo("polyline",ST),zo("rect",Kr),zo("line",hc),zo("bezierCurve",X2),zo("arc",CT);const CG=Object.freeze(Object.defineProperty({__proto__:null,updateProps:Po,initProps:Io,removeElement:K2,removeElementWithFadeOut:xT,isElementRemoved:yv,extendShape:lG,extendPath:sG,registerShape:zo,getShapeClass:fG,makePath:bT,makeImage:ek,mergePath:cG,resizePath:nk,subPixelOptimizeLine:vg,subPixelOptimizeRect:dG,subPixelOptimize:vG,getTransform:hG,applyTransform:ET,transformDirection:pG,groupTransition:ik,clipPointsByRect:mG,clipRectByRect:yG,createIcon:ak,linePolygonIntersect:_G,lineLineIntersect:ok,setTooltipConfig:lk,traverseElements:MT,Group:Cl,Image:dv,Text:ko,Circle:mT,Ellipse:I2,Sector:vc,Ring:V2,Polygon:_T,Polyline:ST,Rect:Kr,Line:hc,BezierCurve:X2,Arc:CT,IncrementalDisplayable:iG,CompoundPath:q8,LinearGradient:K8,RadialGradient:eG,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 RT(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 wG(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=RT(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=RT(n,e,D);sk(d,A)})}else d&&(d.ignore=!0);t.dirty()}function xG(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 TG(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 TG(t,e,n,r,a){n=n||g_;var l=e.ecModel,u=l&&l.option.textStyle,f=bG(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 bG(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 EG(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 DG(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 MG(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=J4(n,l.precision,f,d,p);l.interpolatedValue=p===1?null:m;var S=RT({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 RG=["textStyle","color"],AT=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],LT=new ko,AG=function(){function t(){}return t.prototype.getTextColor=function(e){var n=this.ecModel;return this.getShallow("color")||(!e&&n?n.get(RG):null)},t.prototype.getFont=function(){return EG({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<AT.length;r++)n[AT[r]]=this.getShallow(AT[r]);return LT.useStyle(n),LT.update(),LT.getBoundingRect()},t}();const LG=AG;var pk=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],OG=ag(pk),kG=function(){function t(){}return t.prototype.getLineStyle=function(e){return OG(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"]],NG=ag(gk),PG=function(){function t(){}return t.prototype.getItemStyle=function(e,n){return NG(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}();Ux(yc),a6(yc),ml(yc,kG),ml(yc,PG),ml(yc,f6),ml(yc,LG);const Oi=yc;var IG=Math.round(Math.random()*10);function m_(t){return[t||"",IG++].join("_")}function zG(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 FG(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 BG(t,e){return cn(cn({},t,!0),e,!0)}const UG={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:". "}}}},VG={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",OT="EN",pg=OT,__={},kT={},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(),kT[t]=new Oi(e),__[t]=e}function HG(t){if(et(t)){var e=__[t.toUpperCase()]||{};return t===y_||t===OT?Qt(e):cn(Qt(e),Qt(__[pg]),!1)}else return cn(Qt(t),Qt(__[pg]),!1)}function GG(t){return kT[t]}function $G(){return kT[pg]}yk(OT,UG),yk(y_,VG);var NT=1e3,PT=NT*60,gg=PT*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},IT=["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 jG(t){return t===_v(t)}function YG(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[zT(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:GG(r||mk)||$G(),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 WG(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<IT.length;++f)u[IT[f]]="{primary|"+u[IT[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[zT(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 zT(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 XG(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 FT=aL;function BT(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"],UT=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(UT(u),UT(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(UT(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,QG=["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 VT(t,e,n){n=FT(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 HT(t){return ZG({},t)}function ZG(t,e){return e&&t&&E_(QG,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var KG=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?HT(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(!n6(n))return n.defaultOption;var r=KG(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),zG(Cv),FG(Cv,JG);function JG(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 e$={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 GT=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 t$(t){Fk(t).datasetMap=xt()}function n$(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 r$(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 i$(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function i$(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 a$=xt();function o$(t,e,n){var r=a$.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 $T=function(){function t(){}return t.prototype.getColorFromPalette=function(e,n,r){var a=rr(this.get("color",!0)),l=this.get("colorLayer",!0);return u$(this,Vk,a,l,e,n,r)},t.prototype.clearColorPalette=function(){s$(this,Vk)},t}();function l$(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 u$(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:l$(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 s$(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var M_,wg,Hk,jT="\0_ec_inner",Gk=1,f$={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"},c$={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 d$(t){W(t,function(e,n){if(!En.hasClass(n)){var r=f$[n];r&&!R_[r]&&(ci("Component "+n+` is used but not imported.
199
199
  import { `+r+` } from 'echarts/components';
200
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[jT]!==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"&&d$(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;t$(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=o$(this,m,rr(n[m])),_=l.get(m),w=_?h&&h.get(m)?"replaceMerge":"normalMerge":"replaceAll",E=V4(_,S,w);X4(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=c$[G];R_[G]||(R_[G]=!0,ci(ee?"Series "+G+` is used but not imported.
201
201
  import { `+ee+` } from 'echarts/charts';
@@ -207,7 +207,7 @@ echarts.use([`+ee+"]);":"Unknown series "+G))}return}if(m==="tooltip"){if(O){pro
207
207
  `,`
208
208
 
209
209
 
210
- `];function Rg(t,e){return e.type=t,e}function ib(t){return t.type==="section"}function AN(t){return ib(t)?u9:s9}function LN(t){if(ib(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||ib(a)&&!a.noHeader)))}),e}return 0}function u9(t,e,n,r){var a=e.noHeader,l=f9(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):ab(u.join(""),a?n:l.html);if(a)return m;var S=BT(e.header,"ordinal",t.useUTC),_=RN(r,t.renderMode).nameStyle;return t.renderMode==="richText"?kN(t,S,_)+l.richText+m:ab('<div style="'+_+";"+MN+';">'+to(S)+"</div>"+m,n)}function s9(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 BT(I,Be(_)?_[F]:_,h)})};if(!(l&&u)){var m=f?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),S=l?"":BT(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?"":v9(t,w,E,b,O)):ab((f?"":m)+(l?"":c9(S,!f,A))+(u?"":d9(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 f9(t){return{html:o9[t],richText:l9[t]}}function ab(t,e){var n='<div style="clear:both"></div>',r="margin: "+e+"px 0 0";return'<div style="'+r+";"+MN+';">'+t+n+"</div>"}function c9(t,e,n){var r=e?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+to(t)+"</span>"}function d9(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 v9(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 h9(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 ob=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 p9(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=h9(e,n),p,m,S,_;if(u>1||d&&!u){var w=g9(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 g9(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:y9,reset:_9}),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?HT(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=lb(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=lb(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 p9({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=$T.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_,V$),ml(P_,$T),RO(P_,En);function PN(t){var e=t.name;EO(t)||(t.name=m9(t)||e)}function m9(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 y9(t){return t.model.getRawData().count()}function _9(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),S9}function S9(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function IN(t,e){W(lH(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,Aa(C9,e))})}function C9(t,e){var n=lb(t);return n&&n.setOutputEnd((e||this).count()),e}function lb(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 ub=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}();Ux(ub),Z0(ub);const Du=ub;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(),w9=zN(),sb=function(){function t(){this.group=new Cl,this.uid=m_("viewChart"),this.renderTask=Eg({plan:x9,reset:T9}),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){MT(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"?uT:sT)(t,n)}function UN(t,e,n){var r=rg(t,e),a=e&&e.highlightKey!=null?x8(e.highlightKey):null;r!=null?W(rr(r),function(l){BN(t.getItemGraphicEl(l),n,a)}):t.eachItemGraphicEl(function(l){BN(l,n,a)})}Ux(sb,["dispose"]),Z0(sb);function x9(t){return w9(t.model)}function T9(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),b9[d]}var b9={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=sb;var I_="\0__throttleOriginMethod",VN="\0__throttleRate",HN="\0__throttleType";function fb(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]=fb(l,n,r==="debounce"),a[I_]=l,a[HN]=r,a[VN]=n}return a}}function cb(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)},E9={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||E9[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var D9={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,M9={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}}}},R9={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 A9(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 CT({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 L9=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:I9,reset:z9,count:B9}));_.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:O9});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:k9,onDirty:P9})));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:U9(e)}),e.uid=m_("stageHandler"),n&&(e.visualType=n),e},t}();function O9(t){t.overallReset(t.ecModel,t.api,t.payload)}function k9(t){return t.overallProgress&&N9}function N9(){this.agent.dirty(),this.getDownstream().dirty()}function P9(){this.agent&&this.agent.dirty()}function I9(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function z9(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)}):F9}var F9=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 B9(t){return t.data.count()}function U9(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=L9;var KN=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const V9={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 H9=tP;var G9=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}(),db=["symbol","symbolSize","symbolRotate","symbolOffset"],nP=db.concat(["symbolKeepAspect"]),$9={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<db.length;u++){var f=db[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}}},j9={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 Y9(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 W9(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 X9(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),Q9=typeof Object.defineProperty=="function",Z9=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 Q9?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 K9=Z9;var J9=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()}}),e7=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()}}),t7=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()}}),n7=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()}}),r7={line:hc,rect:Kr,roundRect:Kr,square:Kr,circle:mT,diamond:e7,pin:t7,arrow:n7,triangle:J9},i7={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}},vb={};W(r7,function(t,e){vb[e]=new t});var a7=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=vb[r];a||(r="rect",a=vb[r]),i7[r](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,n)}}});function o7(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=bT(t.slice(7),{},new Wt(e,n,r,a),u?"center":"cover"):d=new a7({shape:{symbolType:t,x:e,y:n,width:r,height:a}}),d.__isEmptyBrush=f,d.setColor=o7,l&&d.setColor(l),d}function l7(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 u7(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 s7(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 hb(t,e,n){for(var r=e.type==="radial"?s7(t,e,n):u7(t,e,n),a=e.colorStops,l=0;l<a.length;l++)r.addColorStop(a[l].offset,a[l].color);return r}function f7(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 c7(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&&c7(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 d7=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 pb(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)*uH),l.scaleSelf(e.scaleX||1,e.scaleY||1),a.setTransform(l)}return a}}function v7(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||d7,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?hb(t,S,F):e.__canvasFillGradient,e.__canvasFillGradient=A),E&&(O=m?hb(t,_,F):e.__canvasStrokeGradient,e.__canvasStrokeGradient=O),b&&(P=m||!e.__canvasFillPattern?pb(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=P),D&&(I=m||!e.__canvasStrokePattern?pb(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 h7(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 p7(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 g7(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 m7(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 y7(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 _7(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||f7(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(),m7(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&&_7(e.style);f||y7(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(),v7(t,e,m,p),p&&(n.batchFill=m.fill||"",n.batchStroke=m.stroke||"")):e instanceof tT?(n.lastDrawType!==pP&&(d=!0,n.lastDrawType=pP),cP(t,e,h,d,n),p7(t,e,m)):e instanceof dv?(n.lastDrawType!==hP&&(d=!0,n.lastDrawType=hP),g7(t,e,h,d,n),h7(t,e,m)):e.getTemporalDisplayables&&(n.lastDrawType!==gP&&(d=!0,n.lastDrawType=gP),S7(t,e,n)),p&&r&&oa(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}function S7(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 gb=new K9,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&&gb.delete(t);var l=gb.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,gb.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=C7(u.dashArrayY),A=CP(u.symbol),O=w7(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(Ne){console.warn("Calculated decal size is greater than "+Ne+" due to decal option settings so "+Ne+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+Ne+" 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 Ne=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[Ne].length;on(St,It,Dn,Xt,A[Ne][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 C7(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 w7(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 x7(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 T7=new _l;const Bo=T7;var $_={};function b7(t,e){process.env.NODE_ENV!=="production"&&$_[t]&&ci("Already has an implementation of "+t+"."),$_[t]=e}function E7(t){return process.env.NODE_ENV!=="production"&&($_[t]||ci("Implementation of "+t+" doesn't exists.")),$_[t]}var D7=1,M7=800,R7=900,A7=1e3,L7=2e3,O7=5e3,TP=1e3,k7=1100,mb=2e3,bP=3e3,N7=4e3,j_=4500,P7=4600,I7=5e3,z7=6e3,EP=7e3,F7={PROCESSOR:{FILTER:A7,SERIES_FILTER:M7,STATISTIC:O7},VISUAL:{LAYOUT:TP,PROGRESSIVE_LAYOUT:k7,GLOBAL:mb,CHART:bP,POST_CHART_LAYOUT:P7,COMPONENT:N7,BRUSH:I7,CHART_ITEM:j_,ARIA:z7,DECAL:EP}},hi="__flagInMainProcess",la="__pendingUpdate",yb="__needsUpdateStatus",DP=/^[a-zA-Z0-9_]+$/,_b="__connectUpdateStatus",MP=0,B7=1,U7=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,Sb,Y_,Ns,Cb,wb,xb,Ng,Pg,NP,PP,Tb,IP,W_,zP,FP,fo,BP,UP=function(t){Pt(e,t);function e(n,r,a){var l=t.call(this,new G9)||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=fb(Qn(m.flush,m),17),r=Qt(r),r&&nN(r,!0),l._theme=r,l._locale=HG(a.locale||mk),l._coordSysMgr=new WT;var S=l._api=zP(l);function _(w,E){return w.__prio-E.__prio}return L0(q_,_),L0(Eb,_),l._scheduler=new ZN(l,S,Eb,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=D7,l=this._model,u=this._api;n.unfinished=!1;do{var f=+new Date;n.performSeriesTasks(l),n.performDataProcessorTasks(l),wb(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 T$(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},Db);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 Cb(this,"convertToPixel",n,r)},e.prototype.convertFromPixel=function(n,r){return Cb(this,"convertFromPixel",n,r)},e.prototype.containPixel=function(n,r){if(this._disposed){Na(this.id);return}var a=this._model,l,u=Fx(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=Fx(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?Y9(f,d,r):W9(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(V7,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)}),X9(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(),Rb,"");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(),!Mb[n]){process.env.NODE_ENV!=="production"&&Fr("Loading effects "+n+" not exists.");return}var a=Mb[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;xb.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(),Sb(m,!0),Sb(m,!1),S.plan()},Sb=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"])&&d8(F,_,m._api);else{var H=dT(F.mainType,F.componentIndex,_.name,m._api),j=H.focusSelf,X=H.dispatchers;_.type===cc&&j&&!_.notBlur&&cT(F.mainType,F.componentIndex,m._api),X&&W(X,function(G){_.type===cc?uT(G):sT(G)})}else vT(_)&&F instanceof Ev&&(p8(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),wb(this,_),b.update(_,w),n(_),D.performVisualTasks(_,m),Tb(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}),Tb(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)}},Cb=function(m,S,_,w){if(m._disposed){Na(m.id);return}for(var E=m._model,b=m._coordSysMgr.getCoordinateSystems(),D,A=Fx(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.")},wb=function(m,S){var _=m._chartsMap,w=m._scheduler;S.eachSeries(function(E){w.updateStreamModes(E,_[E.__viewId])})},xb=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=vT(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=Bx(m),fe=ce.queryOptionMap,Ne=ce.mainTypeSpecified,ae=Ne?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:g8(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();xb.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&&(v8(E,_,S._api),fo(S))}).on("mouseout",function(_){var w=_.target,E=Og(w,pv);E&&(h8(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)})}}Tb=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[yb]=!0,m.getZr().wakeUp()},BP=function(m){m[yb]&&(m.getZr().storage.traverse(function(S){yv(S)||a(S)}),m[yb]=!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===aT&&m.states.emphasis?S.push("emphasis"):m.hoverState===iT&&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&&T8(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){uT(w,E),fo(m)},_.prototype.leaveEmphasis=function(w,E){sT(w,E),fo(m)},_.prototype.enterBlur=function(w){c8(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[_b]=w}}W(Ig,function(_,w){m._messageCenter.on(w,function(E){if(HP[m.group]&&m[_b]!==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[_b]!==B7&&A.dispatchAction(b)}),S(D,U7)}})})}}(),e}(_l),bb=UP.prototype;bb.on=RP("on"),bb.off=RP("off"),bb.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 V7=["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={},Eb=[],Db=[],q_=[],VP={},Mb={},zg={},HP={},H7=+new Date-0,Rb="_echarts_instance_";function G7(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=$7(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_"+H7++,zg[l.id]=l,r&&DO(t,Rb,l.id),FP(l),Bo.trigger("afterinit",l),l}function $7(t){return zg[Z4(t,Rb)]}function GP(t,e){VP[t]=e}function $P(t){dn(Db,t)<0&&Db.push(t)}function jP(t,e){Lb(Eb,t,e,L7)}function j7(t){Ab("afterinit",t)}function Y7(t){Ab("afterupdate",t)}function Ab(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 W7(t,e){WT.register(t,e)}function X7(t,e){Lb(q_,t,e,TP,"layout")}function bc(t,e){Lb(q_,t,e,bP,"visual")}var YP=[];function Lb(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){Mb[t]=e}function q7(t,e,n){var r=E7("registerMap");r&&r(t,e,n)}var Q7=J$;bc(mb,D9),bc(j_,M9),bc(j_,R9),bc(mb,$9),bc(j_,j9),bc(EP,x7),$P(nN),jP(R7,O$),WP("default",A9),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",V9),GP("dark",H9);function Fg(t){return t==null?0:t.length||1}function XP(t){return t}var Z7=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 Ob=Z7;var K7=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 J7(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(GT.get(w)==null);var E=_.coordDimIndex;kb(r,w)[E]=S,_.isExtraCoord||(a.set(w,1),tj(_.type)&&(l[0]=S),kb(f,w)[E]=t.getDimensionIndex(_.name)),_.defaultTooltip&&u.push(S)}GT.each(function(b,D){var A=kb(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 K7(f,e),n}function kb(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function ej(t){return t==="category"?"ordinal":t==="time"?"time":"float"}function tj(t){return!(t==="ordinal"||t==="time")}var nj=function(){function t(e){this.otherDims={},e!=null&&Re(this,e)}return t}();const Q_=nj;var rj=jn(),ij={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+=ij[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=rj(t);return e.dimNameMap||(e.dimNameMap=ZP(t.dimensionsDefine))}function JP(t){return t>30}var Bg=it,Ps=ot,aj=typeof Int32Array>"u"?Array:Int32Array,oj="e\0\0",eI=-1,lj=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],uj=["_approximateExtent"],tI,Z_,Ug,Lv,Nb,K_,Pb,sj=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 rb&&(l=e),!l){var u=this.dimensions,f=QT(e)||Ai(e)?new sN(e,u.length):e;l=new rb;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=J7(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&&Pb(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&&U4(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++)Pb(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 Ob(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;t8(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)),Nb(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($w(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 aj(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=oj+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 Nb(n,e),n},Nb=function(e,n){W(lj.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(e[r]=n[r])}),e.__wrappedMethods=n.__wrappedMethods,W(uj,function(r){e[r]=Qt(n[r])}),e._calculationInfo=Re({},n._calculationInfo)},Pb=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 fj=sj;function cj(t,e){QT(t)||(t=KT(t)),e=e||{};var n=e.coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],a=xt(),l=[],u=vj(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(Ne,ae){var ge=w(Ne);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){GT.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=hj(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 dj(l),new qP({source:t,dimensions:l,fullDimensionCount:u,dimensionOmitted:f})}function dj(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 vj(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 hj(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 pj=function(){function t(e){this.coordSysDims=[],this.axisMap=xt(),this.categoryAxisMap=xt(),this.coordSysName=e}return t}();function gj(t){var e=t.get("coordinateSystem"),n=new pj(e),r=mj[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var mj={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 yj(t,e,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,l,u,f;_j(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 _j(t){return!QP(t.schema)}function nI(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Sj(t,e){return nI(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Cj(t,e){var n=t.get("coordinateSystem"),r=WT.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=ej(d)}return u})),a||(a=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),a}function wj(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=KT(t)):(a=r.getSource(),l=a.sourceFormat===lo);var u=gj(e),f=Cj(e,u),d=n.useEncodeDefaulter,h=_t(d)?d:d?Aa(n$,f,e):null,p={coordDimensions:f,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:h,canOmitUnusedDimensions:!l},m=cj(a,p),S=wj(m.dimensions,n.createInvertedIndices,u),_=l?null:r.getSharedDataStore(m),w=yj(e,{schema:m,store:_}),E=new fj(m,e);E.setCalculationInfo(w);var b=S!=null&&xj(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 xj(t){if(t.sourceFormat===lo){var e=Tj(t.data||[]);return!Be(tg(e))}}function Tj(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 bj=0,Ej=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++bj}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&ot(r,Dj);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 Dj(t){return it(t)&&t.value!=null?t.value:t+""}const Ib=Ej;function Mj(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 zb(t){return t.type==="interval"||t.type==="log"}function Rj(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 Aj(d,t),a}function Fb(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 Aj(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 Ib({})),Be(a)&&(a=new Ib({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=Rj(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",Lj=fI?Float32Array:Array;function Bb(t){return Be(t)?fI?new Float32Array(t):t:new Lj(t)}var Oj="__ec_stack_";function Ub(t){return t.get("stack")||Oj+t.seriesIndex}function Vb(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 kj(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=kj(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:Vb(l),stackId:Ub(r)})}),Nj(n)}function Nj(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 Pj(t,e,n){if(t&&e){var r=t[Vb(e)];return r!=null&&n!=null?r[Ub(n)]:r}}function Ij(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=Ub(a),h=r[Vb(f)][d],p=h.offset,m=h.width;l.setLayout({bandWidth:h.bandWidth,offset:p,size:m})})}function zj(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(),_=Fj(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&&Bb(I*3),U=w&&d&&Bb(I*3),H=w&&Bb(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=_,Ne=void 0;m&&(Ne=+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([Ne,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,Ne]);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 Fj(t,e){return e.toGlobalCoord(e.dataToCoord(e.type==="log"?1:0))}var Bj=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[YG(_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 WG(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=Yj(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(Bj(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",NT],["minute",PT],["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 Uj(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 Vj(t,e){return t/=oo,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Hj(t){var e=30*oo;return t/=e,t>6?6:t>3?3:t>2?2:1}function Gj(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?PT:NT,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function $j(t){return vO(t,!0)}function jj(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 Yj(t,e,n,r){var a=1e4,l=Ck,u=0;function f(X,G,ee,J,ie,ce,fe){for(var Ne=new Date(G),ae=G,ge=Ne[J]();ae<ee&&ae<=r[1];)fe.push({value:ae}),ge+=X,Ne[ie](ge),ae=Ne.getTime();fe.push({value:ae,notAdd:!0})}function d(X,G,ee){var J=[],ie=!G.length;if(!Uj(_v(X),r[0],r[1],n)){ie&&(G=[{value:jj(new Date(r[0]),X,n)},{value:r[1]}]);for(var ce=0;ce<G.length-1;ce++){var fe=G[ce].value,Ne=G[ce+1].value;if(fe!==Ne){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=zT(n),pe=XG(n);break;case"half-year":case"quarter":case"month":ae=Hj(e),ge=Sv(n),pe=Tk(n);break;case"week":case"half-week":case"day":ae=Vj(e),ge=w_(n),pe=bk(n),Le=!0;break;case"half-day":case"quarter-day":case"hour":ae=Gj(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=$j(e),ge=b_(n),pe=Rk(n);break}f(ae,fe,Ne,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(jG(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 Wj=pI;var mI=Mu.prototype,Hg=Vg.prototype,Xj=vr,qj=Math.floor,Qj=Math.ceil,r1=Math.pow,Uo=Math.log,Hb=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=P4(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(Qj(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=Hb.prototype;yI.getMinorTicks=Hg.getMinorTicks,yI.getLabel=Hg.getLabel;function i1(t,e){return Xj(t,Su(e))}Mu.registerClass(Hb);const Zj=Hb;var Kj=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[eY[e]]=n},t.prototype.setDeterminedMinMax=function(e,n){var r=Jj[e];process.env.NODE_ENV!=="production"&&bt(!this.frozen&&this[r]==null),this[r]=n},t.prototype.freeze=function(){this.frozen=!0},t}(),Jj={min:"_determinedMin",max:"_determinedMax"},eY={min:"_dataMin",max:"_dataMax"};function tY(t,e,n){var r=t.rawExtentInfo;return r||(r=new Kj(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=tY(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=nY(a,l,e,h);a=p.min,l=p.max}}return{extent:[a,l],fixMin:r.minFixed,fixMax:r.maxFixed}}function nY(t,e,n,r){var a=n.axis.getExtent(),l=a[1]-a[0],u=Pj(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 Zj&&(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 rY(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 Wj({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Mu.getClass(e)||Vg)}}function iY(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(Gb(t,a),l,a.level!=null?{level:a.level}:null)}}(e):function(r){return t.scale.getLabel(r)}}function Gb(t,e){return t.type==="category"?t.scale.getLabel(e):e.value}function aY(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=oY(_,u.get("rotate")||0);d?d.union(w):d=w}return d}}function oY(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 $b(t){var e=t.get("interval");return e??"auto"}function CI(t){return t.type==="category"&&$b(t.getLabelModel())===0}function lY(t,e){var n={};return W(t.mapDimensionsAll(e),function(r){n[Sj(t,r)]=!0}),kn(n)}var uY=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},t.prototype.getCoordSysModel=function(){},t}(),wI=[],sY={registerPreprocessor:$P,registerProcessor:jP,registerPostInit:j7,registerPostUpdate:Y7,registerUpdateLifecycle:Ab,registerAction:Av,registerCoordinateSystem:W7,registerLayout:X7,registerVisual:bc,registerTransform:Q7,registerLoading:WP,registerMap:q7,registerImpl:b7,PRIORITY:F7,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){A4(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(sY))}var jg=jn();function fY(t){return t.type==="category"?dY(t):hY(t)}function cY(t,e){return t.type==="category"?vY(t,e):{ticks:ot(t.scale.getTicks(),function(n){return n.value})}}function dY(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=$b(e),a=bI(n,r);if(a)return a;var l,u;return _t(r)?l=MI(t,r):(u=r==="auto"?pY(t):r,l=DI(t,u)),EI(n,r,{labels:l,labelCategoryInterval:u})}function vY(t,e){var n=TI(t,"ticks"),r=$b(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 hY(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 pY(t){var e=jg(t).autoInterval;return e??(jg(t).autoInterval=t.calculateCategoryInterval())}function gY(t){var e=mY(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=Ax(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 mY(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],yY=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 O4(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=cY(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 _Y(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 fY(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 gY(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 _Y(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 SY=yY;var Yg=Math.PI*2,Dc=As.CMD,CY=["top","right","bottom","left"];function wY(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 xY(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 jb(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 TY(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 bY(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=jb(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=xY(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=jb(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 vt,Ur=new vt,Pa=new vt,kv=new vt,Wg=new vt;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||CY,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[_];wY(w,0,f,Mc,kv),vt.scaleAndAdd(Ur,Mc,kv,S),Ur.transform(m);var E=t.getBoundingRect(),b=h?h.distance(Ur):t instanceof Gt?bY(Ur,t.path,Pa):TY(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]))}EY(l,e.get("minTurnAngle")),n.setShape({points:l})}}}var kI=[],Rc=new vt;function EY(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Mc.fromArray(t[0]),Ur.fromArray(t[1]),Pa.fromArray(t[2]),vt.sub(kv,Mc,Ur),vt.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=jb(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?vt.copy(Rc,Ur):f>1&&vt.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 DY(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=Xw(r[0],r[1]),l=Xw(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 MY(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 ST,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=DY}}function RY(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 AY(t,e,n,r){return II(t,"x","width",e,n,r)}function LY(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 OY(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function kY(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:OY(r&&r.shape.points)}}var FI=["align","verticalAlign","width","height","fontSize"],Ia=new Kp,Yb=jn(),NY=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"],PY=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(kY(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=Yb(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"});AY(l,0,n),LY(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=Yb(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");MY(e,RY(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=Yb(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)}MG(r,d,p,n,n)}if(a&&!a.ignore&&!a.invisible){var l=NY(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 IY=PY;var Wb=jn();function zY(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,n,r){var a=Wb(n).labelManager;a||(a=Wb(n).labelManager=new IY),a.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(e,n,r){var a=Wb(n).labelManager;r.updatedSeries.forEach(function(l){a.addLabelsOfSeries(n.getViewOfSeriesModel(l))}),a.updateLayoutConfig(n),a.layout(n),a.processLabelsOverall()})}function FY(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 BY(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 UY(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 VY(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 HY(t,e,n,r,a){if(t){if(t.type==="polar")return VY(t,e,n);if(t.type==="cartesian2d")return UY(t,e,n,r,a)}else return null;return null}function BI(t,e){return t.type===e}var GY={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]}},$Y=function(t){return Math.round(t.length/2)};function jY(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=GY[l]:_t(l)&&(w=l),w&&e.setData(a.downSample(a.mapDimension(h.dim),1/_,w,$Y))}}}}}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 YY=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=BG(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 WY=YY;var XY=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 XY},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 QY(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 ZY(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 Xb=Math.max,qb=Math.min;function KY(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 JY=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){MT(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,_=eW(n,h);_&&this._enableRealtimeSort(_,f,a);var w=n.get("clip",!0)||_,E=KY(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=lW(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),Ne=JI(m,fe,h);Po(ce,{shape:Ne},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?aG(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&&xT(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)&&HY(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){xT(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=Xb(e.x,t.x),f=qb(e.x+e.width,a),d=Xb(e.y,t.y),h=qb(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=qb(e.r,t.r),l=Xb(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=QY(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 eW(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 tW=["x","y","width","height"],nW=["cx","cy","r","startAngle","endAngle"],WI={cartesian2d:function(t){return!YI(t,tW)},polar:function(t){return!YI(t,nW)}},f1={cartesian2d:function(t,e,n){var r=t.getItemLayout(e),a=n?iW(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 rW(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=xG(r);wG(t,m,{labelFetcher:l,labelDataIndex:n,defaultText:FY(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,ZY(t,_==="outside"?p:_,XI(u),r.get(["label","rotate"]))}DG(S,m,l.getRawValue(n),function(E){return BY(e,E)});var w=r.getModel(["emphasis"]);_8(t,w.get("focus"),w.get("blurScope"),w.get("disabled")),w8(t,r),rW(a)&&(t.style.fill="none",t.style.stroke="none",W(t.states,function(E){E.style&&(E.style.fill=E.style.stroke="none")}))}function iW(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 aW=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 aW},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=fb(function(t){var e=this,n=oW(e,t.offsetX,t.offsetY);yn(e).dataIndex=n>=0?n:null},30,!1);function oW(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 lW(t,e,n){var r=t.type==="polar"?vc:Kr;return new r({shape:JI(e,n,t),silent:!0,z2:0})}const uW=JY;function sW(t){t.registerChartView(uW),t.registerSeriesModel(WY),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Aa(Ij,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,zj("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,jY("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 fW=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 cW=fW;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,uY);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)"]}}},dW=cn({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},ez),Zb=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),vW=cn({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Zb),hW=Vt({logBase:10},Zb);const pW={category:dW,value:Zb,time:vW,log:hW};var gW={value:1,category:1,time:1,log:1};function tz(t,e,n,r){W(gW,function(a,l){var u=cn(cn({},pW[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?HT(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=Ib.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 mW=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 yW=mW;var Kb=["x","y"];function rz(t){return t.type==="interval"||t.type==="time"}var _W=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=Kb,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}(yW),SW=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}(SY);const CW=SW;function Jb(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 eE=Math.log;function wW(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=eE(t.base);h=[eE(h[0])/S,eE(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=Fb(w),b=h[0]+w*u;else if(m)for(E=h[1]-w*u;E>h[0]&&isFinite(E)&&isFinite(h[0]);)w=Fb(w),E=h[1]-w*u;else{var D=t.getTicks().length-1;D>u&&(w=Fb(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]&&(!Mj(w)||zx(I[1].value)>zx(w))&&Fr("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+" and alignTicks: true")}}var xW=function(){function t(e,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Kb,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;zb(E)&&w.get("alignTicks")&&w.get("interval")==null?p.push(_):(SI(E,w),zb(E)&&(f=_))}p.length&&(f||(f=p.pop(),SI(f.scale,f.model)),W(p,function(b){wW(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=VT(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=aY(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]),TW(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 _W(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(tE(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 CW(p,rY(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(!tE(u,n)||!tE(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(lY(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=Kb,t}();function tE(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"&&iY(t)}function TW(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 bW=xW;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=l7(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=MW(n,r,e,t),l=AW(n,r,e,t);if(DW(e,l,a),RW(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=EW(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 EW(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 DW(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=nx([]);return ix(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 MW(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 RW(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 AW(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 LW(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return OW(n,t,e),n.seriesInvolved&&NW(n,t),n}function OW(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&&!iE(O))){D==null&&(D=O.get("triggerTooltip")),O=b?kW(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:iE(O),seriesModels:[],linkGroup:null};h[F]=H,t.seriesInvolved=t.seriesInvolved||U;var j=PW(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 kW(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 NW(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 PW(t,e){for(var n=e.model,r=e.dim,a=0;a<t.length;a++){var l=t[a]||{};if(nE(l[r+"AxisId"],n.id)||nE(l[r+"AxisIndex"],n.componentIndex)||nE(l[r+"AxisName"],n.name))return a}}function nE(t,e){return t==="all"||Be(t)&&dn(t,e)>=0||t===e}function IW(t){var e=rE(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=iE(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 rE(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Xg(t)]}function zW(t){var e=rE(t);return e&&e.axisPointerModel}function iE(t){return!!t.get(["handle","show"])}function Xg(t){return t.type+"||"+t.id}var aE={},FW=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&&IW(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=zW(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"&&aE[n])throw new Error("axisPointer "+n+" exists");aE[n]=r},e.getAxisPointerClass=function(n){return n&&aE[n]},e.type="axis",e}(Du);const vz=FW;var oE=jn();function BW(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=oE(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}oE(t).splitAreaColors=S}}}function UW(t){oE(t).splitAreaColors=null}var VW=["axisLine","axisTickLabel","axisName"],HW=["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=Jb(f,n),h=new dz(n,Re({handleAutoShown:function(m){for(var S=f.coordinateSystem.getCartesians(),_=0;_<S.length;_++)if(zb(S[_].getOtherAxis(n.axis).scale))return!0;return!1}},d));W(VW,h.add,h),this._axisGroup.add(h.getGroup()),W(HW,function(m){n.get([m,"show"])&&GW[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(){UW(this)},e.type="cartesianAxis",e}(vz),GW={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){BW(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),$W=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),jW=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 YW(t){t.registerComponentView(jW),t.registerComponentModel(cW),t.registerCoordinateSystem("cartesian2d",bW),tz(t,"x",Qb,gz),tz(t,"y",Qb,gz),t.registerComponentView(pz),t.registerComponentView($W),t.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var Lc=jn(),mz=Qt,lE=Qn,WW=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=rE(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 CG[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:lE(this._onHandleDragMove,this,0,0),drift:lE(this._onHandleDragMove,this),ondragend:lE(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,uE(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(uE(r),[e,n],this._axisModel,this._axisPointerModel);this._payloadInfo=a,r.stopAnimation(),r.attr(uE(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),cb(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 uE(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 XW=WW;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 QW(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=FT(f.get("padding")||0),h=f.getFont(),p=Ax(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),ZW(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 ZW(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:Gb(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 ix(r,r,n.rotation),rx(r,r,n.position),ET([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function KW(t,e,n,r,a,l){var u=dz.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),QW(e,r,a,l,{position:xz(r.axis,t,n),align:u.textAlign,verticalAlign:u.textVerticalAlign})}function JW(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function eX(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}var tX=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),_=nX[h](f,m,p);_.style=S,n.graphicKey=_.type,n.pointer=_}var w=Jb(d.model,a);KW(r,n,w,a,l,u)},e.prototype.getHandleTransform=function(n,r,a){var l=Jb(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}(XW);function Tz(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var nX={line:function(t,e,n){var r=JW([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:eX([e-r/2,n[0]],[r,a],bz(t))}}};function bz(t){return t.dim==="x"?0:1}const rX=tX;var iX=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 aX=iX;var Ru=jn(),oX=W;function Ez(t,e,n){if(!Tt.node){var r=e.getZr();Ru(r).records||(Ru(r).records={}),lX(r,e);var a=Ru(r).records[t]||(Ru(r).records[t]={});a.handler=n}}function lX(t,e){if(Ru(t).initialized)return;Ru(t).initialized=!0,n("click",Aa(Dz,"click")),n("mousemove",Aa(Dz,"mousemove")),n("globalout",sX);function n(r,a){t.on(r,function(l){var u=fX(e);oX(Ru(t).records,function(f){f&&a(f,l,u.dispatchAction)}),uX(u.pendings,e)})}}function uX(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 sX(t,e,n){t.handler("leave",null,n)}function Dz(t,e,n,r){e.handler(t,n,r)}function fX(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 sE(t,e){if(!Tt.node){var n=e.getZr(),r=(Ru(n).records||{})[t];r&&(Ru(n).records[t]=null)}}var cX=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){sE("axisPointer",r)},e.prototype.dispose=function(n,r){sE("axisPointer",r)},e.type="axisPointer",e}(Du);const dX=cX;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 vX(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(pX,_),showTooltip:Aa(gX,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=SX(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)}),mX(_,p,S),yX(w,a,t,u),_X(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=hX(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 hX(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 pX(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function gX(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 mX(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 yX(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 _X(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 SX(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",rX),t.registerComponentModel(aX),t.registerComponentView(dX),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=LW(e,n)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},vX)}function CX(t){$g(YW),$g(Oz)}var 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.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 xX=wX;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"]),TX=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 bX(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var EX=Iz(TX,"transition"),fE=Iz(Pz,"transform"),DX="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Tt.transform3dSupported?"will-change:transform;":"");function MX(t){return t=t==="left"?"right":t==="right"?"left":t==="top"?"bottom":"top",t}function RX(t,e,n){if(!et(n)||n==="inside")return"";var r=t.get("backgroundColor"),a=t.get("borderWidth");e=_g(e);var l=MX(n),u=Math.max(Math.round(a)*1.5,6),f="",d=fE+":",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 AX(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?","+fE+r:",left"+r+",top"+r),EX+":"+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;"+fE+":"+u+";":[["top",0],["left",0],[Pz,u]]}function LX(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 OX(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(AX(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(LX(p)),m!=null&&r.push("padding:"+FT(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&&_H(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 kX=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=bX(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=DX+OX(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=RX(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 NX=kX;var PX=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 IX=PX;var zX=new Kr({shape:{x:-1,y:-1,width:2,height:2}}),FX=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=K4(a.get("renderMode"));this._tooltipContent=l==="richText"?new IX(r):new NX(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"):cb(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=HX(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=zX;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 ob;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=Gb(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"?`
210
+ `];function Rg(t,e){return e.type=t,e}function ib(t){return t.type==="section"}function AN(t){return ib(t)?u9:s9}function LN(t){if(ib(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||ib(a)&&!a.noHeader)))}),e}return 0}function u9(t,e,n,r){var a=e.noHeader,l=f9(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):ab(u.join(""),a?n:l.html);if(a)return m;var S=BT(e.header,"ordinal",t.useUTC),_=RN(r,t.renderMode).nameStyle;return t.renderMode==="richText"?kN(t,S,_)+l.richText+m:ab('<div style="'+_+";"+MN+';">'+to(S)+"</div>"+m,n)}function s9(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 BT(I,Be(_)?_[F]:_,h)})};if(!(l&&u)){var m=f?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),S=l?"":BT(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?"":v9(t,w,E,b,O)):ab((f?"":m)+(l?"":c9(S,!f,A))+(u?"":d9(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 f9(t){return{html:o9[t],richText:l9[t]}}function ab(t,e){var n='<div style="clear:both"></div>',r="margin: "+e+"px 0 0";return'<div style="'+r+";"+MN+';">'+t+n+"</div>"}function c9(t,e,n){var r=e?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+to(t)+"</span>"}function d9(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 v9(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 h9(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 ob=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 p9(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=h9(e,n),p,m,S,_;if(u>1||d&&!u){var w=g9(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 g9(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:y9,reset:_9}),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?HT(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=lb(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=lb(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 p9({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=$T.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_,V$),ml(P_,$T),RO(P_,En);function PN(t){var e=t.name;EO(t)||(t.name=m9(t)||e)}function m9(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 y9(t){return t.model.getRawData().count()}function _9(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),S9}function S9(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function IN(t,e){W(lH(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,Aa(C9,e))})}function C9(t,e){var n=lb(t);return n&&n.setOutputEnd((e||this).count()),e}function lb(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 ub=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}();Ux(ub),Z0(ub);const Du=ub;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(),w9=zN(),sb=function(){function t(){this.group=new Cl,this.uid=m_("viewChart"),this.renderTask=Eg({plan:x9,reset:T9}),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){MT(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"?uT:sT)(t,n)}function UN(t,e,n){var r=rg(t,e),a=e&&e.highlightKey!=null?x8(e.highlightKey):null;r!=null?W(rr(r),function(l){BN(t.getItemGraphicEl(l),n,a)}):t.eachItemGraphicEl(function(l){BN(l,n,a)})}Ux(sb,["dispose"]),Z0(sb);function x9(t){return w9(t.model)}function T9(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),b9[d]}var b9={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=sb;var I_="\0__throttleOriginMethod",VN="\0__throttleRate",HN="\0__throttleType";function fb(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]=fb(l,n,r==="debounce"),a[I_]=l,a[HN]=r,a[VN]=n}return a}}function cb(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)},E9={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||E9[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var D9={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,M9={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}}}},R9={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 A9(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 CT({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 L9=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:I9,reset:z9,count:B9}));_.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:O9});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:k9,onDirty:P9})));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:U9(e)}),e.uid=m_("stageHandler"),n&&(e.visualType=n),e},t}();function O9(t){t.overallReset(t.ecModel,t.api,t.payload)}function k9(t){return t.overallProgress&&N9}function N9(){this.agent.dirty(),this.getDownstream().dirty()}function P9(){this.agent&&this.agent.dirty()}function I9(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function z9(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)}):F9}var F9=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 B9(t){return t.data.count()}function U9(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=L9;var KN=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const V9={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 H9=tP;var G9=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}(),db=["symbol","symbolSize","symbolRotate","symbolOffset"],nP=db.concat(["symbolKeepAspect"]),$9={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<db.length;u++){var f=db[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}}},j9={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 Y9(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 W9(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 X9(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),Q9=typeof Object.defineProperty=="function",Z9=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 Q9?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 K9=Z9;var J9=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()}}),e7=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()}}),t7=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()}}),n7=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()}}),r7={line:hc,rect:Kr,roundRect:Kr,square:Kr,circle:mT,diamond:e7,pin:t7,arrow:n7,triangle:J9},i7={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}},vb={};W(r7,function(t,e){vb[e]=new t});var a7=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=vb[r];a||(r="rect",a=vb[r]),i7[r](e.x,e.y,e.width,e.height,a.shape),a.buildPath(t,a.shape,n)}}});function o7(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=bT(t.slice(7),{},new Wt(e,n,r,a),u?"center":"cover"):d=new a7({shape:{symbolType:t,x:e,y:n,width:r,height:a}}),d.__isEmptyBrush=f,d.setColor=o7,l&&d.setColor(l),d}function l7(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 u7(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 s7(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 hb(t,e,n){for(var r=e.type==="radial"?s7(t,e,n):u7(t,e,n),a=e.colorStops,l=0;l<a.length;l++)r.addColorStop(a[l].offset,a[l].color);return r}function f7(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 c7(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&&c7(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 d7=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 pb(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)*uH),l.scaleSelf(e.scaleX||1,e.scaleY||1),a.setTransform(l)}return a}}function v7(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||d7,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?hb(t,S,F):e.__canvasFillGradient,e.__canvasFillGradient=A),E&&(O=m?hb(t,_,F):e.__canvasStrokeGradient,e.__canvasStrokeGradient=O),b&&(P=m||!e.__canvasFillPattern?pb(t,S,e):e.__canvasFillPattern,e.__canvasFillPattern=P),D&&(I=m||!e.__canvasStrokePattern?pb(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 h7(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 p7(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 g7(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 m7(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 y7(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 _7(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||f7(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(),m7(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&&_7(e.style);f||y7(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(),v7(t,e,m,p),p&&(n.batchFill=m.fill||"",n.batchStroke=m.stroke||"")):e instanceof tT?(n.lastDrawType!==pP&&(d=!0,n.lastDrawType=pP),cP(t,e,h,d,n),p7(t,e,m)):e instanceof dv?(n.lastDrawType!==hP&&(d=!0,n.lastDrawType=hP),g7(t,e,h,d,n),h7(t,e,m)):e.getTemporalDisplayables&&(n.lastDrawType!==gP&&(d=!0,n.lastDrawType=gP),S7(t,e,n)),p&&r&&oa(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}function S7(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 gb=new K9,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&&gb.delete(t);var l=gb.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,gb.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=C7(u.dashArrayY),A=CP(u.symbol),O=w7(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(Ne){console.warn("Calculated decal size is greater than "+Ne+" due to decal option settings so "+Ne+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+Ne+" 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 Ne=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[Ne].length;on(St,It,Dn,Xt,A[Ne][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 C7(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 w7(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 x7(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 T7=new _l;const Bo=T7;var $_={};function b7(t,e){process.env.NODE_ENV!=="production"&&$_[t]&&ci("Already has an implementation of "+t+"."),$_[t]=e}function E7(t){return process.env.NODE_ENV!=="production"&&($_[t]||ci("Implementation of "+t+" doesn't exists.")),$_[t]}var D7=1,M7=800,R7=900,A7=1e3,L7=2e3,O7=5e3,TP=1e3,k7=1100,mb=2e3,bP=3e3,N7=4e3,j_=4500,P7=4600,I7=5e3,z7=6e3,EP=7e3,F7={PROCESSOR:{FILTER:A7,SERIES_FILTER:M7,STATISTIC:O7},VISUAL:{LAYOUT:TP,PROGRESSIVE_LAYOUT:k7,GLOBAL:mb,CHART:bP,POST_CHART_LAYOUT:P7,COMPONENT:N7,BRUSH:I7,CHART_ITEM:j_,ARIA:z7,DECAL:EP}},hi="__flagInMainProcess",la="__pendingUpdate",yb="__needsUpdateStatus",DP=/^[a-zA-Z0-9_]+$/,_b="__connectUpdateStatus",MP=0,B7=1,U7=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,Sb,Y_,Ns,Cb,wb,xb,Ng,Pg,NP,PP,Tb,IP,W_,zP,FP,fo,BP,UP=function(t){Pt(e,t);function e(n,r,a){var l=t.call(this,new G9)||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=fb(Qn(m.flush,m),17),r=Qt(r),r&&nN(r,!0),l._theme=r,l._locale=HG(a.locale||mk),l._coordSysMgr=new WT;var S=l._api=zP(l);function _(w,E){return w.__prio-E.__prio}return L0(q_,_),L0(Eb,_),l._scheduler=new ZN(l,S,Eb,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=D7,l=this._model,u=this._api;n.unfinished=!1;do{var f=+new Date;n.performSeriesTasks(l),n.performDataProcessorTasks(l),wb(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 T$(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},Db);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 Cb(this,"convertToPixel",n,r)},e.prototype.convertFromPixel=function(n,r){return Cb(this,"convertFromPixel",n,r)},e.prototype.containPixel=function(n,r){if(this._disposed){Na(this.id);return}var a=this._model,l,u=Fx(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=Fx(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?Y9(f,d,r):W9(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(V7,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)}),X9(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(),Rb,"");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(),!Mb[n]){process.env.NODE_ENV!=="production"&&Fr("Loading effects "+n+" not exists.");return}var a=Mb[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;xb.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(),Sb(m,!0),Sb(m,!1),S.plan()},Sb=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"])&&d8(F,_,m._api);else{var H=dT(F.mainType,F.componentIndex,_.name,m._api),j=H.focusSelf,X=H.dispatchers;_.type===cc&&j&&!_.notBlur&&cT(F.mainType,F.componentIndex,m._api),X&&W(X,function(G){_.type===cc?uT(G):sT(G)})}else vT(_)&&F instanceof Ev&&(p8(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),wb(this,_),b.update(_,w),n(_),D.performVisualTasks(_,m),Tb(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}),Tb(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)}},Cb=function(m,S,_,w){if(m._disposed){Na(m.id);return}for(var E=m._model,b=m._coordSysMgr.getCoordinateSystems(),D,A=Fx(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.")},wb=function(m,S){var _=m._chartsMap,w=m._scheduler;S.eachSeries(function(E){w.updateStreamModes(E,_[E.__viewId])})},xb=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=vT(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=Bx(m),fe=ce.queryOptionMap,Ne=ce.mainTypeSpecified,ae=Ne?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:g8(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();xb.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&&(v8(E,_,S._api),fo(S))}).on("mouseout",function(_){var w=_.target,E=Og(w,pv);E&&(h8(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)})}}Tb=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[yb]=!0,m.getZr().wakeUp()},BP=function(m){m[yb]&&(m.getZr().storage.traverse(function(S){yv(S)||a(S)}),m[yb]=!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===aT&&m.states.emphasis?S.push("emphasis"):m.hoverState===iT&&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&&T8(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){uT(w,E),fo(m)},_.prototype.leaveEmphasis=function(w,E){sT(w,E),fo(m)},_.prototype.enterBlur=function(w){c8(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[_b]=w}}W(Ig,function(_,w){m._messageCenter.on(w,function(E){if(HP[m.group]&&m[_b]!==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[_b]!==B7&&A.dispatchAction(b)}),S(D,U7)}})})}}(),e}(_l),bb=UP.prototype;bb.on=RP("on"),bb.off=RP("off"),bb.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 V7=["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={},Eb=[],Db=[],q_=[],VP={},Mb={},zg={},HP={},H7=+new Date-0,Rb="_echarts_instance_";function G7(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=$7(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_"+H7++,zg[l.id]=l,r&&DO(t,Rb,l.id),FP(l),Bo.trigger("afterinit",l),l}function $7(t){return zg[Z4(t,Rb)]}function GP(t,e){VP[t]=e}function $P(t){dn(Db,t)<0&&Db.push(t)}function jP(t,e){Lb(Eb,t,e,L7)}function j7(t){Ab("afterinit",t)}function Y7(t){Ab("afterupdate",t)}function Ab(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 W7(t,e){WT.register(t,e)}function X7(t,e){Lb(q_,t,e,TP,"layout")}function bc(t,e){Lb(q_,t,e,bP,"visual")}var YP=[];function Lb(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){Mb[t]=e}function q7(t,e,n){var r=E7("registerMap");r&&r(t,e,n)}var Q7=J$;bc(mb,D9),bc(j_,M9),bc(j_,R9),bc(mb,$9),bc(j_,j9),bc(EP,x7),$P(nN),jP(R7,O$),WP("default",A9),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",V9),GP("dark",H9);function Fg(t){return t==null?0:t.length||1}function XP(t){return t}var Z7=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 Ob=Z7;var K7=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 J7(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(GT.get(w)==null);var E=_.coordDimIndex;kb(r,w)[E]=S,_.isExtraCoord||(a.set(w,1),tj(_.type)&&(l[0]=S),kb(f,w)[E]=t.getDimensionIndex(_.name)),_.defaultTooltip&&u.push(S)}GT.each(function(b,D){var A=kb(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 K7(f,e),n}function kb(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function ej(t){return t==="category"?"ordinal":t==="time"?"time":"float"}function tj(t){return!(t==="ordinal"||t==="time")}var nj=function(){function t(e){this.otherDims={},e!=null&&Re(this,e)}return t}();const Q_=nj;var rj=jn(),ij={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+=ij[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=rj(t);return e.dimNameMap||(e.dimNameMap=ZP(t.dimensionsDefine))}function JP(t){return t>30}var Bg=it,Ps=ot,aj=typeof Int32Array>"u"?Array:Int32Array,oj="e\0\0",eI=-1,lj=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],uj=["_approximateExtent"],tI,Z_,Ug,Lv,Nb,K_,Pb,sj=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 rb&&(l=e),!l){var u=this.dimensions,f=QT(e)||Ai(e)?new sN(e,u.length):e;l=new rb;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=J7(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&&Pb(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&&U4(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++)Pb(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 Ob(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;t8(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)),Nb(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($w(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 aj(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=oj+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 Nb(n,e),n},Nb=function(e,n){W(lj.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(e[r]=n[r])}),e.__wrappedMethods=n.__wrappedMethods,W(uj,function(r){e[r]=Qt(n[r])}),e._calculationInfo=Re({},n._calculationInfo)},Pb=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 fj=sj;function cj(t,e){QT(t)||(t=KT(t)),e=e||{};var n=e.coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],a=xt(),l=[],u=vj(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(Ne,ae){var ge=w(Ne);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){GT.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=hj(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 dj(l),new qP({source:t,dimensions:l,fullDimensionCount:u,dimensionOmitted:f})}function dj(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 vj(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 hj(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 pj=function(){function t(e){this.coordSysDims=[],this.axisMap=xt(),this.categoryAxisMap=xt(),this.coordSysName=e}return t}();function gj(t){var e=t.get("coordinateSystem"),n=new pj(e),r=mj[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var mj={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 yj(t,e,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,l,u,f;_j(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 _j(t){return!QP(t.schema)}function nI(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Sj(t,e){return nI(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Cj(t,e){var n=t.get("coordinateSystem"),r=WT.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=ej(d)}return u})),a||(a=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),a}function wj(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=KT(t)):(a=r.getSource(),l=a.sourceFormat===lo);var u=gj(e),f=Cj(e,u),d=n.useEncodeDefaulter,h=_t(d)?d:d?Aa(n$,f,e):null,p={coordDimensions:f,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:h,canOmitUnusedDimensions:!l},m=cj(a,p),S=wj(m.dimensions,n.createInvertedIndices,u),_=l?null:r.getSharedDataStore(m),w=yj(e,{schema:m,store:_}),E=new fj(m,e);E.setCalculationInfo(w);var b=S!=null&&xj(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 xj(t){if(t.sourceFormat===lo){var e=Tj(t.data||[]);return!Be(tg(e))}}function Tj(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 bj=0,Ej=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++bj}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&ot(r,Dj);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 Dj(t){return it(t)&&t.value!=null?t.value:t+""}const Ib=Ej;function Mj(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 zb(t){return t.type==="interval"||t.type==="log"}function Rj(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 Aj(d,t),a}function Fb(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 Aj(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 Ib({})),Be(a)&&(a=new Ib({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=Rj(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",Lj=fI?Float32Array:Array;function Bb(t){return Be(t)?fI?new Float32Array(t):t:new Lj(t)}var Oj="__ec_stack_";function Ub(t){return t.get("stack")||Oj+t.seriesIndex}function Vb(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 kj(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=kj(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:Vb(l),stackId:Ub(r)})}),Nj(n)}function Nj(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 Pj(t,e,n){if(t&&e){var r=t[Vb(e)];return r!=null&&n!=null?r[Ub(n)]:r}}function Ij(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=Ub(a),h=r[Vb(f)][d],p=h.offset,m=h.width;l.setLayout({bandWidth:h.bandWidth,offset:p,size:m})})}function zj(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(),_=Fj(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&&Bb(I*3),U=w&&d&&Bb(I*3),H=w&&Bb(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=_,Ne=void 0;m&&(Ne=+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([Ne,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,Ne]);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 Fj(t,e){return e.toGlobalCoord(e.dataToCoord(e.type==="log"?1:0))}var Bj=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[YG(_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 WG(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=Yj(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(Bj(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",NT],["minute",PT],["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 Uj(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 Vj(t,e){return t/=oo,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Hj(t){var e=30*oo;return t/=e,t>6?6:t>3?3:t>2?2:1}function Gj(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?PT:NT,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function $j(t){return vO(t,!0)}function jj(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 Yj(t,e,n,r){var a=1e4,l=Ck,u=0;function f(X,G,ee,J,ie,ce,fe){for(var Ne=new Date(G),ae=G,ge=Ne[J]();ae<ee&&ae<=r[1];)fe.push({value:ae}),ge+=X,Ne[ie](ge),ae=Ne.getTime();fe.push({value:ae,notAdd:!0})}function d(X,G,ee){var J=[],ie=!G.length;if(!Uj(_v(X),r[0],r[1],n)){ie&&(G=[{value:jj(new Date(r[0]),X,n)},{value:r[1]}]);for(var ce=0;ce<G.length-1;ce++){var fe=G[ce].value,Ne=G[ce+1].value;if(fe!==Ne){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=zT(n),pe=XG(n);break;case"half-year":case"quarter":case"month":ae=Hj(e),ge=Sv(n),pe=Tk(n);break;case"week":case"half-week":case"day":ae=Vj(e),ge=w_(n),pe=bk(n),Le=!0;break;case"half-day":case"quarter-day":case"hour":ae=Gj(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=$j(e),ge=b_(n),pe=Rk(n);break}f(ae,fe,Ne,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(jG(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 Wj=pI;var mI=Mu.prototype,Hg=Vg.prototype,Xj=vr,qj=Math.floor,Qj=Math.ceil,r1=Math.pow,Uo=Math.log,Hb=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=P4(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(Qj(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=Hb.prototype;yI.getMinorTicks=Hg.getMinorTicks,yI.getLabel=Hg.getLabel;function i1(t,e){return Xj(t,Su(e))}Mu.registerClass(Hb);const Zj=Hb;var Kj=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[eY[e]]=n},t.prototype.setDeterminedMinMax=function(e,n){var r=Jj[e];process.env.NODE_ENV!=="production"&&bt(!this.frozen&&this[r]==null),this[r]=n},t.prototype.freeze=function(){this.frozen=!0},t}(),Jj={min:"_determinedMin",max:"_determinedMax"},eY={min:"_dataMin",max:"_dataMax"};function tY(t,e,n){var r=t.rawExtentInfo;return r||(r=new Kj(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=tY(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=nY(a,l,e,h);a=p.min,l=p.max}}return{extent:[a,l],fixMin:r.minFixed,fixMax:r.maxFixed}}function nY(t,e,n,r){var a=n.axis.getExtent(),l=a[1]-a[0],u=Pj(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 Zj&&(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 rY(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 Wj({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Mu.getClass(e)||Vg)}}function iY(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(Gb(t,a),l,a.level!=null?{level:a.level}:null)}}(e):function(r){return t.scale.getLabel(r)}}function Gb(t,e){return t.type==="category"?t.scale.getLabel(e):e.value}function aY(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=oY(_,u.get("rotate")||0);d?d.union(w):d=w}return d}}function oY(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 $b(t){var e=t.get("interval");return e??"auto"}function CI(t){return t.type==="category"&&$b(t.getLabelModel())===0}function lY(t,e){var n={};return W(t.mapDimensionsAll(e),function(r){n[Sj(t,r)]=!0}),kn(n)}var uY=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},t.prototype.getCoordSysModel=function(){},t}(),wI=[],sY={registerPreprocessor:$P,registerProcessor:jP,registerPostInit:j7,registerPostUpdate:Y7,registerUpdateLifecycle:Ab,registerAction:Av,registerCoordinateSystem:W7,registerLayout:X7,registerVisual:bc,registerTransform:Q7,registerLoading:WP,registerMap:q7,registerImpl:b7,PRIORITY:F7,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){A4(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(sY))}var jg=jn();function fY(t){return t.type==="category"?dY(t):hY(t)}function cY(t,e){return t.type==="category"?vY(t,e):{ticks:ot(t.scale.getTicks(),function(n){return n.value})}}function dY(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=$b(e),a=bI(n,r);if(a)return a;var l,u;return _t(r)?l=MI(t,r):(u=r==="auto"?pY(t):r,l=DI(t,u)),EI(n,r,{labels:l,labelCategoryInterval:u})}function vY(t,e){var n=TI(t,"ticks"),r=$b(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 hY(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 pY(t){var e=jg(t).autoInterval;return e??(jg(t).autoInterval=t.calculateCategoryInterval())}function gY(t){var e=mY(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=Ax(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 mY(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],yY=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 O4(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=cY(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 _Y(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 fY(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 gY(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 _Y(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 SY=yY;var Yg=Math.PI*2,Dc=As.CMD,CY=["top","right","bottom","left"];function wY(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 xY(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 jb(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 TY(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 bY(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=jb(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=xY(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=jb(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||CY,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[_];wY(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?bY(Ur,t.path,Pa):TY(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]))}EY(l,e.get("minTurnAngle")),n.setShape({points:l})}}}var kI=[],Rc=new ht;function EY(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=jb(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 DY(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=Xw(r[0],r[1]),l=Xw(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 MY(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 ST,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=DY}}function RY(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 AY(t,e,n,r){return II(t,"x","width",e,n,r)}function LY(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 OY(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function kY(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:OY(r&&r.shape.points)}}var FI=["align","verticalAlign","width","height","fontSize"],Ia=new Kp,Yb=jn(),NY=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"],PY=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(kY(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=Yb(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"});AY(l,0,n),LY(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=Yb(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");MY(e,RY(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=Yb(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)}MG(r,d,p,n,n)}if(a&&!a.ignore&&!a.invisible){var l=NY(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 IY=PY;var Wb=jn();function zY(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,n,r){var a=Wb(n).labelManager;a||(a=Wb(n).labelManager=new IY),a.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(e,n,r){var a=Wb(n).labelManager;r.updatedSeries.forEach(function(l){a.addLabelsOfSeries(n.getViewOfSeriesModel(l))}),a.updateLayoutConfig(n),a.layout(n),a.processLabelsOverall()})}function FY(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 BY(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 UY(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 VY(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 HY(t,e,n,r,a){if(t){if(t.type==="polar")return VY(t,e,n);if(t.type==="cartesian2d")return UY(t,e,n,r,a)}else return null;return null}function BI(t,e){return t.type===e}var GY={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]}},$Y=function(t){return Math.round(t.length/2)};function jY(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=GY[l]:_t(l)&&(w=l),w&&e.setData(a.downSample(a.mapDimension(h.dim),1/_,w,$Y))}}}}}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 YY=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=BG(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 WY=YY;var XY=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 XY},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 QY(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 ZY(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 Xb=Math.max,qb=Math.min;function KY(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 JY=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){MT(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,_=eW(n,h);_&&this._enableRealtimeSort(_,f,a);var w=n.get("clip",!0)||_,E=KY(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=lW(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),Ne=JI(m,fe,h);Po(ce,{shape:Ne},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?aG(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&&xT(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)&&HY(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){xT(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=Xb(e.x,t.x),f=qb(e.x+e.width,a),d=Xb(e.y,t.y),h=qb(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=qb(e.r,t.r),l=Xb(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=QY(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 eW(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 tW=["x","y","width","height"],nW=["cx","cy","r","startAngle","endAngle"],WI={cartesian2d:function(t){return!YI(t,tW)},polar:function(t){return!YI(t,nW)}},f1={cartesian2d:function(t,e,n){var r=t.getItemLayout(e),a=n?iW(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 rW(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=xG(r);wG(t,m,{labelFetcher:l,labelDataIndex:n,defaultText:FY(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,ZY(t,_==="outside"?p:_,XI(u),r.get(["label","rotate"]))}DG(S,m,l.getRawValue(n),function(E){return BY(e,E)});var w=r.getModel(["emphasis"]);_8(t,w.get("focus"),w.get("blurScope"),w.get("disabled")),w8(t,r),rW(a)&&(t.style.fill="none",t.style.stroke="none",W(t.states,function(E){E.style&&(E.style.fill=E.style.stroke="none")}))}function iW(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 aW=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 aW},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=fb(function(t){var e=this,n=oW(e,t.offsetX,t.offsetY);yn(e).dataIndex=n>=0?n:null},30,!1);function oW(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 lW(t,e,n){var r=t.type==="polar"?vc:Kr;return new r({shape:JI(e,n,t),silent:!0,z2:0})}const uW=JY;function sW(t){t.registerChartView(uW),t.registerSeriesModel(WY),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Aa(Ij,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,zj("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,jY("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 fW=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 cW=fW;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,uY);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)"]}}},dW=cn({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},ez),Zb=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),vW=cn({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Zb),hW=Vt({logBase:10},Zb);const pW={category:dW,value:Zb,time:vW,log:hW};var gW={value:1,category:1,time:1,log:1};function tz(t,e,n,r){W(gW,function(a,l){var u=cn(cn({},pW[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?HT(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=Ib.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 mW=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 yW=mW;var Kb=["x","y"];function rz(t){return t.type==="interval"||t.type==="time"}var _W=function(t){Pt(e,t);function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=Kb,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}(yW),SW=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}(SY);const CW=SW;function Jb(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 eE=Math.log;function wW(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=eE(t.base);h=[eE(h[0])/S,eE(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=Fb(w),b=h[0]+w*u;else if(m)for(E=h[1]-w*u;E>h[0]&&isFinite(E)&&isFinite(h[0]);)w=Fb(w),E=h[1]-w*u;else{var D=t.getTicks().length-1;D>u&&(w=Fb(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]&&(!Mj(w)||zx(I[1].value)>zx(w))&&Fr("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+" and alignTicks: true")}}var xW=function(){function t(e,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Kb,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;zb(E)&&w.get("alignTicks")&&w.get("interval")==null?p.push(_):(SI(E,w),zb(E)&&(f=_))}p.length&&(f||(f=p.pop(),SI(f.scale,f.model)),W(p,function(b){wW(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=VT(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=aY(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]),TW(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 _W(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(tE(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 CW(p,rY(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(!tE(u,n)||!tE(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(lY(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=Kb,t}();function tE(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"&&iY(t)}function TW(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 bW=xW;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=l7(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=MW(n,r,e,t),l=AW(n,r,e,t);if(DW(e,l,a),RW(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=EW(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 EW(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 DW(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=nx([]);return ix(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 MW(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 RW(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 AW(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 LW(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return OW(n,t,e),n.seriesInvolved&&NW(n,t),n}function OW(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&&!iE(O))){D==null&&(D=O.get("triggerTooltip")),O=b?kW(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:iE(O),seriesModels:[],linkGroup:null};h[F]=H,t.seriesInvolved=t.seriesInvolved||U;var j=PW(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 kW(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 NW(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 PW(t,e){for(var n=e.model,r=e.dim,a=0;a<t.length;a++){var l=t[a]||{};if(nE(l[r+"AxisId"],n.id)||nE(l[r+"AxisIndex"],n.componentIndex)||nE(l[r+"AxisName"],n.name))return a}}function nE(t,e){return t==="all"||Be(t)&&dn(t,e)>=0||t===e}function IW(t){var e=rE(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=iE(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 rE(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Xg(t)]}function zW(t){var e=rE(t);return e&&e.axisPointerModel}function iE(t){return!!t.get(["handle","show"])}function Xg(t){return t.type+"||"+t.id}var aE={},FW=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&&IW(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=zW(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"&&aE[n])throw new Error("axisPointer "+n+" exists");aE[n]=r},e.getAxisPointerClass=function(n){return n&&aE[n]},e.type="axis",e}(Du);const vz=FW;var oE=jn();function BW(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=oE(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}oE(t).splitAreaColors=S}}}function UW(t){oE(t).splitAreaColors=null}var VW=["axisLine","axisTickLabel","axisName"],HW=["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=Jb(f,n),h=new dz(n,Re({handleAutoShown:function(m){for(var S=f.coordinateSystem.getCartesians(),_=0;_<S.length;_++)if(zb(S[_].getOtherAxis(n.axis).scale))return!0;return!1}},d));W(VW,h.add,h),this._axisGroup.add(h.getGroup()),W(HW,function(m){n.get([m,"show"])&&GW[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(){UW(this)},e.type="cartesianAxis",e}(vz),GW={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){BW(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),$W=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),jW=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 YW(t){t.registerComponentView(jW),t.registerComponentModel(cW),t.registerCoordinateSystem("cartesian2d",bW),tz(t,"x",Qb,gz),tz(t,"y",Qb,gz),t.registerComponentView(pz),t.registerComponentView($W),t.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}var Lc=jn(),mz=Qt,lE=Qn,WW=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=rE(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 CG[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:lE(this._onHandleDragMove,this,0,0),drift:lE(this._onHandleDragMove,this),ondragend:lE(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,uE(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(uE(r),[e,n],this._axisModel,this._axisPointerModel);this._payloadInfo=a,r.stopAnimation(),r.attr(uE(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),cb(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 uE(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 XW=WW;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 QW(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=FT(f.get("padding")||0),h=f.getFont(),p=Ax(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),ZW(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 ZW(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:Gb(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 ix(r,r,n.rotation),rx(r,r,n.position),ET([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function KW(t,e,n,r,a,l){var u=dz.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),QW(e,r,a,l,{position:xz(r.axis,t,n),align:u.textAlign,verticalAlign:u.textVerticalAlign})}function JW(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function eX(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}var tX=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),_=nX[h](f,m,p);_.style=S,n.graphicKey=_.type,n.pointer=_}var w=Jb(d.model,a);KW(r,n,w,a,l,u)},e.prototype.getHandleTransform=function(n,r,a){var l=Jb(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}(XW);function Tz(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var nX={line:function(t,e,n){var r=JW([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:eX([e-r/2,n[0]],[r,a],bz(t))}}};function bz(t){return t.dim==="x"?0:1}const rX=tX;var iX=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 aX=iX;var Ru=jn(),oX=W;function Ez(t,e,n){if(!Tt.node){var r=e.getZr();Ru(r).records||(Ru(r).records={}),lX(r,e);var a=Ru(r).records[t]||(Ru(r).records[t]={});a.handler=n}}function lX(t,e){if(Ru(t).initialized)return;Ru(t).initialized=!0,n("click",Aa(Dz,"click")),n("mousemove",Aa(Dz,"mousemove")),n("globalout",sX);function n(r,a){t.on(r,function(l){var u=fX(e);oX(Ru(t).records,function(f){f&&a(f,l,u.dispatchAction)}),uX(u.pendings,e)})}}function uX(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 sX(t,e,n){t.handler("leave",null,n)}function Dz(t,e,n,r){e.handler(t,n,r)}function fX(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 sE(t,e){if(!Tt.node){var n=e.getZr(),r=(Ru(n).records||{})[t];r&&(Ru(n).records[t]=null)}}var cX=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){sE("axisPointer",r)},e.prototype.dispose=function(n,r){sE("axisPointer",r)},e.type="axisPointer",e}(Du);const dX=cX;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 vX(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(pX,_),showTooltip:Aa(gX,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=SX(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)}),mX(_,p,S),yX(w,a,t,u),_X(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=hX(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 hX(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 pX(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function gX(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 mX(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 yX(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 _X(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 SX(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",rX),t.registerComponentModel(aX),t.registerComponentView(dX),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=LW(e,n)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},vX)}function CX(t){$g(YW),$g(Oz)}var 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.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 xX=wX;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"]),TX=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 bX(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var EX=Iz(TX,"transition"),fE=Iz(Pz,"transform"),DX="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Tt.transform3dSupported?"will-change:transform;":"");function MX(t){return t=t==="left"?"right":t==="right"?"left":t==="top"?"bottom":"top",t}function RX(t,e,n){if(!et(n)||n==="inside")return"";var r=t.get("backgroundColor"),a=t.get("borderWidth");e=_g(e);var l=MX(n),u=Math.max(Math.round(a)*1.5,6),f="",d=fE+":",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 AX(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?","+fE+r:",left"+r+",top"+r),EX+":"+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;"+fE+":"+u+";":[["top",0],["left",0],[Pz,u]]}function LX(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 OX(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(AX(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(LX(p)),m!=null&&r.push("padding:"+FT(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&&_H(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 kX=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=bX(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=DX+OX(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=RX(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 NX=kX;var PX=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 IX=PX;var zX=new Kr({shape:{x:-1,y:-1,width:2,height:2}}),FX=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=K4(a.get("renderMode"));this._tooltipContent=l==="richText"?new IX(r):new NX(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"):cb(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=HX(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=zX;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 ob;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=Gb(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
211
 
212
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 ob;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 ob;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=VT(E,{width:h,height:p});a=b.x,l=b.y,S=null,_=null}else if(et(r)&&d){var D=VX(r,w,m,n.get("borderWidth"));a=D[0],l=D[1]}else{var D=BX(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=UX(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()||(cb(this,"_updatePosition"),this._tooltipContent.dispose(),sE("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 BX(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 UX(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 VX(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 HX(t,e,n){var r=Bx(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 GX=FX;function $X(t){$g(Oz),t.registerComponentModel(xX),t.registerComponentView(GX),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},ta),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},ta)}var jX=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),YX=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=VT(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 WX(t){t.registerComponentModel(jX),t.registerComponentView(YX)}var Gz={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},XX=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}(),QX=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}(),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!0;return!1},t}(),KX=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),JX=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 cE(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?eq(t,e):tq(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 QX:new ZX;return l.children=ot(r,function(u){return cE(u,n)}),l.children.length||Ht(a),l}function eq(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 KX;return a.child=cE(n,e),a.child||Ht(r),a}function tq(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,_=Y$(p,S)||p==="reg"&&new XX(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 JX;return w.valueGetterParam=r,w.valueParser=f,w.getValue=e.getValue,w.subCondList=a,w}function jz(t){return it(t)&&!Ai(t)}var nq=function(){function t(e,n){this._cond=cE(e,n)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function rq(t,e){return new nq(t,e)}var iq={type:"echarts:filter",transform:function(t){for(var e=t.upstream,n,r=rq(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
213
  `,"Existing dimensions: ",e.cloneAllDimensionInfo(),`.
@@ -217,4 +217,4 @@ echarts.use([`+ee+"]);":"Unknown series "+G))}return}if(m==="tooltip"){if(O){pro
217
217
  `,"Illegal config:",p,`.
218
218
  `)),Ht(r));var A=_?mN(_):null;_&&!A&&(process.env.NODE_ENV!=="production"&&(r=na("Invalid parser name "+_+`.
219
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 oq(t){t.registerTransform(iq),t.registerTransform(aq)}var lq=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),uq=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 sq(t){t.registerComponentModel(lq),t.registerComponentView(uq)}var Ll=As.CMD;function Nv(t,e){return Math.abs(t-e)<1e-5}function vE(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,Ne,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*Ne+ce,Mn=St*ae+fe,on=It*Ne+ce,zt=Dn*ae+fe,Ft=Ne*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 hE(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),hE(j[0],X[0],j[1],X[1],j[2],X[2],j[3],X[3],d,h),hE(j[4],X[4],j[5],X[5],j[6],X[6],j[7],X[7],d,h)}function fq(t,e){var n=vE(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++];hE(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 cq(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 dq(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 vt(E*d+t,E*h+e)}function vq(t,e,n){var r=new vt;vt.sub(r,n,e),r.normalize();var a=new vt;vt.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 hq(t,e,n){for(var r=t.length,a=[],l=0;l<r;l++){var u=t[l],f=t[(l+1)%r],d=dq(u[0],u[1],f[0],f[1],e.x,e.y,n.x,n.y);d&&a.push({projPt:vq(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 vt,p=new vt;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),hq(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 pq(t,e){for(var n=[],r=0;r<e;r++)n.push(gT(t));return n}function gq(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function mq(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}function yq(t,e){var n=[],r=t.shape,a;switch(t.type){case"rect":cq(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(fq(t.getUpdatedPathProxy(),u),function(D){return mq(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=_T;break}if(!a)return pq(t,e);for(var E=[],h=0;h<n.length;h++){var b=new a;b.setShape(n[h]),gq(t,b),E.push(b)}return E}function _q(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 Sq(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=_q(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 Cq(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 wq(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 xq(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=wq(f));for(var D=Cq(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,Ne=ce-G;j+=fe*fe+Ne*Ne}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=Sq(vE(n),vE(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=xq(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],Ne=m[1];S.moveTo(fe,Ne);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&&Ne===J&&ae===pe&&ge===Le?S.lineTo(pe,Le):S.bezierCurveTo(ee,J,ae,ge,pe,Le),fe=pe,Ne=Le}}}})}function pE(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 Tq(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:Tq(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 yq(t.path,t.count)}function gE(){return{fromIndividuals:[],toIndividuals:[],count:0}}function bq(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 gE();var u=n.dividePath||tF,f=u({path:e,count:l});if(f.length!==l)return console.error("Invalid morphing: unmatched splitted path"),gE();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;pE(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 Eq(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(gT(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"),gE()}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;pE(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 Dq={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=gT(t.path);a.setStyle("opacity",n),e.push(a)}return e},split:null};function mE(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;pE(H,j,X),l(H,j,H,j,X)}}else for(var G=Vt({dividePath:Dq[n],individualDelay:f&&function(Ne,ae,ge,pe){return f(Ne+O,P)}},d),ee=A?bq(F,U,G):Eq(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,Mq=jn();function Rq(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=Rq(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 yE(t,e,n){t.traverse(function(r){r instanceof Gt&&Io(r,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})})}function _E(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 Aq(t,e,n){var r=v_("update",n,e);r&&t.traverse(function(a){if(a instanceof fv){var l=oG(a);l&&a.animateFrom({style:l},r)}})}function Lq(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=Lq(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&&Aq(U,P.dataIndex,I);return}F&&S[F.id]||U&&(Iv(U),F?(Iv(F),_E(F),h=!0,mE(Oc(F),Oc(U),P.divide,I,D,l)):yE(U,I,D))}new Ob(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),_E(H)}),h=!0,mE(Oc(U),Oc(F),O.divide,I,D,l)):yE(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),_E(P),h=!0,mE(Oc(P),Oc(I),O.divide,F,D[0],l)):W(I,function(U){return yE(U,F,D[0])}))}}).updateManyToMany(function(D,A){new Ob(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 Oq(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 kq(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 Nq(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=Mq(n);if(a.oldSeries&&r.updatedSeries&&r.optionChanged){var l=r.seriesTransition;if(l)W(rr(l),function(_){kq(_,a,r,n)});else{var u=Oq(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 Pq=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||hb(u,r,{x:0,y:0,width:D,height:A}),r.__canvasGradient=O,r.__width=D,r.__height=A}else rH(r)&&(r.scaleX=r.scaleX||m,r.scaleY=r.scaleY||m,O=pb(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 SE=Pq;var cF=1e5,kc=314159,g1=.01,Iq=.001;function zq(t){return t?t.__builtin__?!0:!(typeof t.resize!="function"||typeof t.refresh!="function"):!1}function Fq(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 Bq=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 SE(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=Fq(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;sx(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 SE("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(!zq(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+Iq,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 SE("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 Uq=Bq;function Vq(t){t.registerPainter("canvas",Uq)}const Hq={main:"_main_5reof_1"};$g([WX,$X,CX,sq,oq,sW,zY,Nq,Vq]);const Gq=t=>{const e=ft.useRef(null),n=ft.useRef(null),r=ft.useRef(null);ft.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]),ft.useEffect(()=>{e.current&&!n.current&&(n.current=G7(e.current))},[e.current]),ft.useEffect(()=>{n.current&&e.current&&n.current.setOption(t.option)},[n.current]);const a=()=>{n.current&&n.current.resize()},{run:l}=sU.useDebounceFn(a,{wait:300});return Fe("div",{ref:e,className:Hq.main})},$q={editableCellValueWrap:"_editableCellValueWrap_upig9_1"},dF=ft.createContext(null),jq=({index:t,...e})=>{const[n]=gt.Form.useForm();return Fe(gt.Form,{form:n,component:!1,children:Fe(dF.Provider,{value:n,children:Fe("tr",{...e})})})};function Yq(t){const{title:e,editable:n,children:r,dataIndex:a,record:l,rules:u,onChange:f,type:d="input",valueProps:h,...p}=t,m=ft.useRef(null),S=ft.useContext(dF),_=async()=>{try{const b=await S.validateFields();f({...l,...b})}catch(b){console.log("Save failed:",b)}},w=()=>Fe(KA,{valueType:d,valueProps:{...h,onBlur:_,onPressEnter:_},inputRef:m});let E=r;return n&&(E=Fe(gt.Form.Item,{style:{margin:0},initialValue:l[a],name:a,rules:u,children:w()})),Fe("td",{children:E})}function Wq(t){const{columns:e,onChange: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,onChange:n})}:u);return Fe(gt.Table,{...r,components:a,rowClassName:()=>$q.editableRow,columns:l})}function CE(){return CE=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},CE.apply(this,arguments)}var wE={exports:{}},rn={};var vF;function Xq(){if(vF)return rn;vF=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 hF;function qq(){return hF||(hF=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,Ne=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=Ne,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()})(wE);function xE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ft.Children.forEach(t,function(r){r==null&&!e.keepEmpty||(Array.isArray(r)?n=n.concat(xE(r)):wE.exports.isFragment(r)&&r.props?n=n.concat(xE(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=wE.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 pF(t){return t instanceof HTMLElement?t:XA.findDOMNode(t)}var gF=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}()}(),TE=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(){!TE||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(){!TE||!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}(),mF=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},yF=_1(0,0,0,0);function y1(t){return parseFloat(t)||0}function _F(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 yF;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-=_F(r,"left","right")+l),Math.round(d+u)!==n&&(d-=_F(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 TE?sQ(t)?lQ(t):uQ(t):yF}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 mF(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);mF(this,{target:e,contentRect:r})}return t}(),pQ=function(){function t(e,n,r){if(this.activeObservations_=[],this.observations_=new gF,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}(),SF=typeof WeakMap<"u"?new WeakMap:new gF,CF=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);SF.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach(function(t){CF.prototype[t]=function(){var e;return(e=SF.get(this))[t].apply(e,arguments)}});var gQ=function(){return typeof m1.ResizeObserver<"u"?m1.ResizeObserver:CF}(),Au=new Map;function wF(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 xF=new gQ(wF);process.env.NODE_ENV,process.env.NODE_ENV;function mQ(t,e){Au.has(t)||(Au.set(t,new Set),xF.observe(t)),Au.get(t).add(e)}function yQ(t,e){Au.has(t)&&(Au.get(t).delete(e),Au.get(t).size||(xF.unobserve(t),Au.delete(t)))}function _Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TF(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&&TF(t.prototype,e),n&&TF(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function bE(t,e){return bE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},bE(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&&bE(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),EE=Nt.createContext(null);function DQ(t){var e=t.children,n=t.onBatchResize,r=Nt.useRef(0),a=Nt.useRef([]),l=Nt.useContext(EE),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(EE.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(EE),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=pF(r.current)||pF(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 bF(t){var e=t.children,n=typeof e=="function"?[e]:xE(e);return process.env.NODE_ENV!=="production"&&(n.length>1?Aw(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):n.length===0&&Aw(!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,CE({},t,{key:l}),r)})}bF.Collection=DQ;const Fv={grid:"_grid_ou9xs_1",cell:"_cell_ou9xs_1",editBox:"_editBox_ou9xs_7",editForm:"_editForm_ou9xs_16"};function AQ(t){const{columns:e,scroll:n,onChange:r,...a}=t,[l,u]=ft.useState(0),f=e.filter(({width:_})=>!_).length,d=e.map(_=>_.width?_:{..._,width:Math.floor(l/f)}),h=ft.useRef(),[p]=ft.useState(()=>{const _={};return Object.defineProperty(_,"scrollLeft",{get:()=>{var w,E;return h.current?(E=(w=h.current)==null?void 0:w.state)==null?void 0:E.scrollLeft:null},set:w=>{h.current&&h.current.scrollTo({scrollLeft:w})}}),_}),m=()=>{var _;(_=h.current)==null||_.resetAfterIndices({columnIndex:0,shouldForceUpdate:!0})};ft.useEffect(()=>m,[l]);const S=(_,{scrollbarSize:w,ref:E,onScroll:b})=>{E.current=p;const D=_.length*54;return Fe(fU.VariableSizeGrid,{ref:h,className:Fv.grid,columnCount:d.length,columnWidth:A=>{const{width:O}=d[A];return D>n.y&&A===d.length-1?O-w-1:O},height:n.y,rowCount:_.length,rowHeight:()=>54,width:l,onScroll:({scrollLeft:A})=>{b({scrollLeft:A})},children:({columnIndex:A,rowIndex:O,style:P})=>Fe("div",{className:$d(Fv.cell,{[Fv.cellLast]:A===d.length-1}),style:P,children:Fe(LQ,{data:_[O],onChange:r,column:d[A]})})})};return Fe(bF,{onResize:({width:_})=>{u(_)},children:Fe(gt.Table,{...a,className:Fv.table,columns:d,scroll:n,pagination:!1,components:{body:S}})})}function LQ(t){const{column:e,data:n,onChange:r}=t,[a,l]=ft.useState(!1),u=ft.useRef(null),[f]=gt.Form.useForm();ft.useEffect(()=>{a&&u.current.focus()},[a]);const d=async()=>{try{const m=await f.validateFields();h(),r&&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?Fe(gt.Form,{form:f,className:Fv.editForm,children:Fe(gt.Form.Item,{style:{margin:0},name:e.dataIndex,rules:e.rules,children:Fe(gt.Input,{ref:u,onPressEnter:d,onBlur:d,...e.inputProps})})}):Fe("div",{className:Fv.editBox,onClick:h,children:n[e.dataIndex]})),Fe(Sw,{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]=ft.useState(!1),l=ft.useMemo(()=>!n||e.length===0?0:e.findIndex(h=>h.PNId===n),[n,e]),u=ft.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:[Fe("div",{className:br.tail}),Fe("div",{className:br.node}),Fe("div",{className:br.content,children:zr("div",{className:br.collpase,children:[zr("div",{children:["已收起",Fe("span",{children:l-1}),"个节点"]}),zr("a",{className:br.btn,onClick:f,children:["展开节点",Fe(sV,{})]})]})})]}),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:[Fe("div",{className:br.tail}),Fe("div",{className:br.node}),zr("div",{className:br.content,children:[Fe("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:["收起节点 ",Fe(pV,{})]})]}),d.Remark&&Fe("div",{className:br.remark,children:d.Remark})]})]},d.PNId))]})},kQ=t=>{const{current:e,data:n,...r}=t;return(()=>{gt.Modal.info({icon:null,title:"流程节点",width:700,content:Fe(OQ,{current:e,data:n}),closable:!0,footer:null,maskClosable:!0,...r})})(),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)){DE(t,n);return}let r=e;fetch(t,{method:"get"}).then(a=>(r||(r=IQ(a)),a.blob())).then(a=>{EF(a,r||n)}).catch(()=>{DE(t,"")})},EF=(t,e)=>{let n=window.URL.createObjectURL(t);const r=window.navigator;if(r.msSaveOrOpenBlob){r.msSaveOrOpenBlob(t,e);return}DE(n,e),window.URL.revokeObjectURL(n)},DE=(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:EF},Symbol.toStringTag,{value:"Module"}));class BQ{constructor(e){lU(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=CV,fn.CreateForm=ZA,fn.Echarts=Gq,fn.EditTable=Wq,fn.SearchTable=VV,fn.UploadFile=QA,fn.VirtualTable=AQ,fn.download=FQ,fn.fileType=wV,fn.showWorkFlow=kQ,fn.utils=LV,fn.verfyCode=UQ,Object.defineProperty(fn,Symbol.toStringTag,{value:"Module"})});
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 oq(t){t.registerTransform(iq),t.registerTransform(aq)}var lq=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),uq=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 sq(t){t.registerComponentModel(lq),t.registerComponentView(uq)}var Ll=As.CMD;function Nv(t,e){return Math.abs(t-e)<1e-5}function vE(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,Ne,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*Ne+ce,Mn=St*ae+fe,on=It*Ne+ce,zt=Dn*ae+fe,Ft=Ne*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 hE(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),hE(j[0],X[0],j[1],X[1],j[2],X[2],j[3],X[3],d,h),hE(j[4],X[4],j[5],X[5],j[6],X[6],j[7],X[7],d,h)}function fq(t,e){var n=vE(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++];hE(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 cq(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 dq(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 vq(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 hq(t,e,n){for(var r=t.length,a=[],l=0;l<r;l++){var u=t[l],f=t[(l+1)%r],d=dq(u[0],u[1],f[0],f[1],e.x,e.y,n.x,n.y);d&&a.push({projPt:vq(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),hq(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 pq(t,e){for(var n=[],r=0;r<e;r++)n.push(gT(t));return n}function gq(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function mq(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}function yq(t,e){var n=[],r=t.shape,a;switch(t.type){case"rect":cq(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(fq(t.getUpdatedPathProxy(),u),function(D){return mq(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=_T;break}if(!a)return pq(t,e);for(var E=[],h=0;h<n.length;h++){var b=new a;b.setShape(n[h]),gq(t,b),E.push(b)}return E}function _q(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 Sq(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=_q(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 Cq(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 wq(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 xq(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=wq(f));for(var D=Cq(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,Ne=ce-G;j+=fe*fe+Ne*Ne}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=Sq(vE(n),vE(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=xq(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],Ne=m[1];S.moveTo(fe,Ne);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&&Ne===J&&ae===pe&&ge===Le?S.lineTo(pe,Le):S.bezierCurveTo(ee,J,ae,ge,pe,Le),fe=pe,Ne=Le}}}})}function pE(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 Tq(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:Tq(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 yq(t.path,t.count)}function gE(){return{fromIndividuals:[],toIndividuals:[],count:0}}function bq(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 gE();var u=n.dividePath||tF,f=u({path:e,count:l});if(f.length!==l)return console.error("Invalid morphing: unmatched splitted path"),gE();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;pE(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 Eq(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(gT(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"),gE()}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;pE(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 Dq={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=gT(t.path);a.setStyle("opacity",n),e.push(a)}return e},split:null};function mE(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;pE(H,j,X),l(H,j,H,j,X)}}else for(var G=Vt({dividePath:Dq[n],individualDelay:f&&function(Ne,ae,ge,pe){return f(Ne+O,P)}},d),ee=A?bq(F,U,G):Eq(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,Mq=jn();function Rq(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=Rq(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 yE(t,e,n){t.traverse(function(r){r instanceof Gt&&Io(r,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})})}function _E(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 Aq(t,e,n){var r=v_("update",n,e);r&&t.traverse(function(a){if(a instanceof fv){var l=oG(a);l&&a.animateFrom({style:l},r)}})}function Lq(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=Lq(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&&Aq(U,P.dataIndex,I);return}F&&S[F.id]||U&&(Iv(U),F?(Iv(F),_E(F),h=!0,mE(Oc(F),Oc(U),P.divide,I,D,l)):yE(U,I,D))}new Ob(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),_E(H)}),h=!0,mE(Oc(U),Oc(F),O.divide,I,D,l)):yE(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),_E(P),h=!0,mE(Oc(P),Oc(I),O.divide,F,D[0],l)):W(I,function(U){return yE(U,F,D[0])}))}}).updateManyToMany(function(D,A){new Ob(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 Oq(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 kq(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 Nq(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=Mq(n);if(a.oldSeries&&r.updatedSeries&&r.optionChanged){var l=r.seriesTransition;if(l)W(rr(l),function(_){kq(_,a,r,n)});else{var u=Oq(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 Pq=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||hb(u,r,{x:0,y:0,width:D,height:A}),r.__canvasGradient=O,r.__width=D,r.__height=A}else rH(r)&&(r.scaleX=r.scaleX||m,r.scaleY=r.scaleY||m,O=pb(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 SE=Pq;var cF=1e5,kc=314159,g1=.01,Iq=.001;function zq(t){return t?t.__builtin__?!0:!(typeof t.resize!="function"||typeof t.refresh!="function"):!1}function Fq(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 Bq=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 SE(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=Fq(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;sx(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 SE("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(!zq(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+Iq,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 SE("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 Uq=Bq;function Vq(t){t.registerPainter("canvas",Uq)}const Hq={main:"_main_5reof_1"};$g([WX,$X,CX,sq,oq,sW,zY,Nq,Vq]);const Gq=t=>{const e=ft.useRef(null),n=ft.useRef(null),r=ft.useRef(null);ft.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]),ft.useEffect(()=>{e.current&&!n.current&&(n.current=G7(e.current))},[e.current]),ft.useEffect(()=>{n.current&&e.current&&n.current.setOption(t.option)},[n.current]);const a=()=>{n.current&&n.current.resize()},{run:l}=sU.useDebounceFn(a,{wait:300});return ze("div",{ref:e,className:Hq.main})},$q={editableCellValueWrap:"_editableCellValueWrap_upig9_1"},dF=ft.createContext(null),jq=({index:t,...e})=>{const[n]=vt.Form.useForm();return ze(vt.Form,{form:n,component:!1,children:ze(dF.Provider,{value:n,children:ze("tr",{...e})})})};function Yq(t){const{title:e,editable:n,children:r,dataIndex:a,record:l,rules:u,onChange:f,type:d="input",valueProps:h,...p}=t,m=ft.useRef(null),S=ft.useContext(dF),_=async()=>{try{const b=await S.validateFields();f({...l,...b})}catch(b){console.log("Save failed:",b)}},w=()=>ze(KA,{valueType:d,valueProps:{...h,onBlur:_,onPressEnter:_},inputRef:m});let E=r;return n&&(E=ze(vt.Form.Item,{style:{margin:0},initialValue:l[a],name:a,rules:u,children:w()})),ze("td",{children:E})}function Wq(t){const{columns:e,onChange: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,onChange:n})}:u);return ze(vt.Table,{...r,components:a,rowClassName:()=>$q.editableRow,columns:l})}function CE(){return CE=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},CE.apply(this,arguments)}var wE={exports:{}},rn={};var vF;function Xq(){if(vF)return rn;vF=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 hF;function qq(){return hF||(hF=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,Ne=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=Ne,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()})(wE);function xE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ft.Children.forEach(t,function(r){r==null&&!e.keepEmpty||(Array.isArray(r)?n=n.concat(xE(r)):wE.exports.isFragment(r)&&r.props?n=n.concat(xE(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=wE.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 pF(t){return t instanceof HTMLElement?t:XA.findDOMNode(t)}var gF=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}()}(),TE=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(){!TE||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(){!TE||!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}(),mF=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},yF=_1(0,0,0,0);function y1(t){return parseFloat(t)||0}function _F(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 yF;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-=_F(r,"left","right")+l),Math.round(d+u)!==n&&(d-=_F(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 TE?sQ(t)?lQ(t):uQ(t):yF}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 mF(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);mF(this,{target:e,contentRect:r})}return t}(),pQ=function(){function t(e,n,r){if(this.activeObservations_=[],this.observations_=new gF,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}(),SF=typeof WeakMap<"u"?new WeakMap:new gF,CF=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);SF.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach(function(t){CF.prototype[t]=function(){var e;return(e=SF.get(this))[t].apply(e,arguments)}});var gQ=function(){return typeof m1.ResizeObserver<"u"?m1.ResizeObserver:CF}(),Au=new Map;function wF(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 xF=new gQ(wF);process.env.NODE_ENV,process.env.NODE_ENV;function mQ(t,e){Au.has(t)||(Au.set(t,new Set),xF.observe(t)),Au.get(t).add(e)}function yQ(t,e){Au.has(t)&&(Au.get(t).delete(e),Au.get(t).size||(xF.unobserve(t),Au.delete(t)))}function _Q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TF(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&&TF(t.prototype,e),n&&TF(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function bE(t,e){return bE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},bE(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&&bE(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),EE=Nt.createContext(null);function DQ(t){var e=t.children,n=t.onBatchResize,r=Nt.useRef(0),a=Nt.useRef([]),l=Nt.useContext(EE),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(EE.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(EE),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=pF(r.current)||pF(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 bF(t){var e=t.children,n=typeof e=="function"?[e]:xE(e);return process.env.NODE_ENV!=="production"&&(n.length>1?Aw(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):n.length===0&&Aw(!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,CE({},t,{key:l}),r)})}bF.Collection=DQ;const Fv={grid:"_grid_ou9xs_1",cell:"_cell_ou9xs_1",editBox:"_editBox_ou9xs_7",editForm:"_editForm_ou9xs_16"};function AQ(t){const{columns:e,scroll:n,onChange:r,...a}=t,[l,u]=ft.useState(0),f=e.filter(({width:_})=>!_).length,d=e.map(_=>_.width?_:{..._,width:Math.floor(l/f)}),h=ft.useRef(),[p]=ft.useState(()=>{const _={};return Object.defineProperty(_,"scrollLeft",{get:()=>{var w,E;return h.current?(E=(w=h.current)==null?void 0:w.state)==null?void 0:E.scrollLeft:null},set:w=>{h.current&&h.current.scrollTo({scrollLeft:w})}}),_}),m=()=>{var _;(_=h.current)==null||_.resetAfterIndices({columnIndex:0,shouldForceUpdate:!0})};ft.useEffect(()=>m,[l]);const S=(_,{scrollbarSize:w,ref:E,onScroll:b})=>{E.current=p;const D=_.length*54;return ze(fU.VariableSizeGrid,{ref:h,className:Fv.grid,columnCount:d.length,columnWidth:A=>{const{width:O}=d[A];return D>n.y&&A===d.length-1?O-w-1:O},height:n.y,rowCount:_.length,rowHeight:()=>54,width:l,onScroll:({scrollLeft:A})=>{b({scrollLeft:A})},children:({columnIndex:A,rowIndex:O,style:P})=>ze("div",{className:$d(Fv.cell,{[Fv.cellLast]:A===d.length-1}),style:P,children:ze(LQ,{data:_[O],onChange:r,column:d[A]})})})};return ze(bF,{onResize:({width:_})=>{u(_)},children:ze(vt.Table,{...a,className:Fv.table,columns:d,scroll:n,pagination:!1,components:{body:S}})})}function LQ(t){const{column:e,data:n,onChange:r}=t,[a,l]=ft.useState(!1),u=ft.useRef(null),[f]=vt.Form.useForm();ft.useEffect(()=>{a&&u.current.focus()},[a]);const d=async()=>{try{const m=await f.validateFields();h(),r&&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?ze(vt.Form,{form:f,className:Fv.editForm,children:ze(vt.Form.Item,{style:{margin:0},name:e.dataIndex,rules:e.rules,children:ze(vt.Input,{ref:u,onPressEnter:d,onBlur:d,...e.inputProps})})}):ze("div",{className:Fv.editBox,onClick:h,children:n[e.dataIndex]})),ze(Sw,{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]=ft.useState(!1),l=ft.useMemo(()=>!n||e.length===0?0:e.findIndex(h=>h.PNId===n),[n,e]),u=ft.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:[ze("div",{className:br.tail}),ze("div",{className:br.node}),ze("div",{className:br.content,children:zr("div",{className:br.collpase,children:[zr("div",{children:["已收起",ze("span",{children:l-1}),"个节点"]}),zr("a",{className:br.btn,onClick:f,children:["展开节点",ze(sV,{})]})]})})]}),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:[ze("div",{className:br.tail}),ze("div",{className:br.node}),zr("div",{className:br.content,children:[ze("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:["收起节点 ",ze(pV,{})]})]}),d.Remark&&ze("div",{className:br.remark,children:d.Remark})]})]},d.PNId))]})},kQ=t=>{const{current:e,data:n,...r}=t;return(()=>{vt.Modal.info({icon:null,title:"流程节点",width:700,content:ze(OQ,{current:e,data:n}),closable:!0,footer:null,maskClosable:!0,...r})})(),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)){DE(t,n);return}let r=e;fetch(t,{method:"get"}).then(a=>(r||(r=IQ(a)),a.blob())).then(a=>{EF(a,r||n)}).catch(()=>{DE(t,"")})},EF=(t,e)=>{let n=window.URL.createObjectURL(t);const r=window.navigator;if(r.msSaveOrOpenBlob){r.msSaveOrOpenBlob(t,e);return}DE(n,e),window.URL.revokeObjectURL(n)},DE=(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:EF},Symbol.toStringTag,{value:"Module"}));class BQ{constructor(e){lU(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=CV,fn.CreateForm=ZA,fn.Echarts=Gq,fn.EditTable=Wq,fn.SearchTable=VV,fn.UploadFile=QA,fn.VirtualTable=AQ,fn.download=FQ,fn.fileType=wV,fn.showWorkFlow=kQ,fn.utils=LV,fn.verfyCode=UQ,Object.defineProperty(fn,Symbol.toStringTag,{value:"Module"})});