@questdb/web-console 1.1.7 → 1.1.9

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.
@@ -0,0 +1,129 @@
1
+ function TI(n,t){for(var e=0;e<t.length;e++){const r=t[e];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in n)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(n,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var II=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jo(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function DI(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var t=n.default;if(typeof t=="function"){var e=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),e}/*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */var rd,U1;function id(){if(U1)return rd;U1=1;var n=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var u=Object.getOwnPropertyNames(a).map(function(p){return a[p]});if(u.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(p){h[p]=p}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return rd=i()?Object.assign:function(o,a){for(var s,u=r(o),h,p=1;p<arguments.length;p++){s=Object(arguments[p]);for(var f in s)t.call(s,f)&&(u[f]=s[f]);if(n){h=n(s);for(var y=0;y<h.length;y++)e.call(s,h[y])&&(u[h[y]]=s[h[y]])}}return u},rd}var W1={exports:{}},Ft={};/** @license React v17.0.2
6
+ * react.production.min.js
7
+ *
8
+ * Copyright (c) Facebook, Inc. and its affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */var $1;function AI(){if($1)return Ft;$1=1;var n=id(),t=60103,e=60106;Ft.Fragment=60107,Ft.StrictMode=60108,Ft.Profiler=60114;var r=60109,i=60110,o=60112;Ft.Suspense=60113;var a=60115,s=60116;if(typeof Symbol=="function"&&Symbol.for){var u=Symbol.for;t=u("react.element"),e=u("react.portal"),Ft.Fragment=u("react.fragment"),Ft.StrictMode=u("react.strict_mode"),Ft.Profiler=u("react.profiler"),r=u("react.provider"),i=u("react.context"),o=u("react.forward_ref"),Ft.Suspense=u("react.suspense"),a=u("react.memo"),s=u("react.lazy")}var h=typeof Symbol=="function"&&Symbol.iterator;function p(z){return z===null||typeof z!="object"?null:(z=h&&z[h]||z["@@iterator"],typeof z=="function"?z:null)}function f(z){for(var V="https://reactjs.org/docs/error-decoder.html?invariant="+z,J=1;J<arguments.length;J++)V+="&args[]="+encodeURIComponent(arguments[J]);return"Minified React error #"+z+"; visit "+V+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function v(z,V,J){this.props=z,this.context=V,this.refs=g,this.updater=J||y}v.prototype.isReactComponent={},v.prototype.setState=function(z,V){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error(f(85));this.updater.enqueueSetState(this,z,V,"setState")},v.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function _(){}_.prototype=v.prototype;function m(z,V,J){this.props=z,this.context=V,this.refs=g,this.updater=J||y}var b=m.prototype=new _;b.constructor=m,n(b,v.prototype),b.isPureReactComponent=!0;var w={current:null},k=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function C(z,V,J){var at,Z={},q=null,U=null;if(V!=null)for(at in V.ref!==void 0&&(U=V.ref),V.key!==void 0&&(q=""+V.key),V)k.call(V,at)&&!T.hasOwnProperty(at)&&(Z[at]=V[at]);var K=arguments.length-2;if(K===1)Z.children=J;else if(1<K){for(var et=Array(K),W=0;W<K;W++)et[W]=arguments[W+2];Z.children=et}if(z&&z.defaultProps)for(at in K=z.defaultProps,K)Z[at]===void 0&&(Z[at]=K[at]);return{$$typeof:t,type:z,key:q,ref:U,props:Z,_owner:w.current}}function I(z,V){return{$$typeof:t,type:z.type,key:V,ref:z.ref,props:z.props,_owner:z._owner}}function A(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function E(z){var V={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(J){return V[J]})}var P=/\/+/g;function L(z,V){return typeof z=="object"&&z!==null&&z.key!=null?E(""+z.key):V.toString(36)}function N(z,V,J,at,Z){var q=typeof z;(q==="undefined"||q==="boolean")&&(z=null);var U=!1;if(z===null)U=!0;else switch(q){case"string":case"number":U=!0;break;case"object":switch(z.$$typeof){case t:case e:U=!0}}if(U)return U=z,Z=Z(U),z=at===""?"."+L(U,0):at,Array.isArray(Z)?(J="",z!=null&&(J=z.replace(P,"$&/")+"/"),N(Z,V,J,"",function(W){return W})):Z!=null&&(A(Z)&&(Z=I(Z,J+(!Z.key||U&&U.key===Z.key?"":(""+Z.key).replace(P,"$&/")+"/")+z)),V.push(Z)),1;if(U=0,at=at===""?".":at+":",Array.isArray(z))for(var K=0;K<z.length;K++){q=z[K];var et=at+L(q,K);U+=N(q,V,J,et,Z)}else if(et=p(z),typeof et=="function")for(z=et.call(z),K=0;!(q=z.next()).done;)q=q.value,et=at+L(q,K++),U+=N(q,V,J,et,Z);else if(q==="object")throw V=""+z,Error(f(31,V==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":V));return U}function F(z,V,J){if(z==null)return z;var at=[],Z=0;return N(z,at,"","",function(q){return V.call(J,q,Z++)}),at}function G(z){if(z._status===-1){var V=z._result;V=V(),z._status=0,z._result=V,V.then(function(J){z._status===0&&(J=J.default,z._status=1,z._result=J)},function(J){z._status===0&&(z._status=2,z._result=J)})}if(z._status===1)return z._result;throw z._result}var X={current:null};function Y(){var z=X.current;if(z===null)throw Error(f(321));return z}var nt={ReactCurrentDispatcher:X,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:n};return Ft.Children={map:F,forEach:function(z,V,J){F(z,function(){V.apply(this,arguments)},J)},count:function(z){var V=0;return F(z,function(){V++}),V},toArray:function(z){return F(z,function(V){return V})||[]},only:function(z){if(!A(z))throw Error(f(143));return z}},Ft.Component=v,Ft.PureComponent=m,Ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nt,Ft.cloneElement=function(z,V,J){if(z==null)throw Error(f(267,z));var at=n({},z.props),Z=z.key,q=z.ref,U=z._owner;if(V!=null){if(V.ref!==void 0&&(q=V.ref,U=w.current),V.key!==void 0&&(Z=""+V.key),z.type&&z.type.defaultProps)var K=z.type.defaultProps;for(et in V)k.call(V,et)&&!T.hasOwnProperty(et)&&(at[et]=V[et]===void 0&&K!==void 0?K[et]:V[et])}var et=arguments.length-2;if(et===1)at.children=J;else if(1<et){K=Array(et);for(var W=0;W<et;W++)K[W]=arguments[W+2];at.children=K}return{$$typeof:t,type:z.type,key:Z,ref:q,props:at,_owner:U}},Ft.createContext=function(z,V){return V===void 0&&(V=null),z={$$typeof:i,_calculateChangedBits:V,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider={$$typeof:r,_context:z},z.Consumer=z},Ft.createElement=C,Ft.createFactory=function(z){var V=C.bind(null,z);return V.type=z,V},Ft.createRef=function(){return{current:null}},Ft.forwardRef=function(z){return{$$typeof:o,render:z}},Ft.isValidElement=A,Ft.lazy=function(z){return{$$typeof:s,_payload:{_status:-1,_result:z},_init:G}},Ft.memo=function(z,V){return{$$typeof:a,type:z,compare:V===void 0?null:V}},Ft.useCallback=function(z,V){return Y().useCallback(z,V)},Ft.useContext=function(z,V){return Y().useContext(z,V)},Ft.useDebugValue=function(){},Ft.useEffect=function(z,V){return Y().useEffect(z,V)},Ft.useImperativeHandle=function(z,V,J){return Y().useImperativeHandle(z,V,J)},Ft.useLayoutEffect=function(z,V){return Y().useLayoutEffect(z,V)},Ft.useMemo=function(z,V){return Y().useMemo(z,V)},Ft.useReducer=function(z,V,J){return Y().useReducer(z,V,J)},Ft.useRef=function(z){return Y().useRef(z)},Ft.useState=function(z){return Y().useState(z)},Ft.version="17.0.2",Ft}var q1;function od(){return q1||(q1=1,W1.exports=AI()),W1.exports}var ne=od();const er=Jo(ne),OI=TI({__proto__:null,default:er},[ne]);/*! *****************************************************************************
13
+ Copyright (c) Microsoft Corporation.
14
+
15
+ Permission to use, copy, modify, and/or distribute this software for any
16
+ purpose with or without fee is hereby granted.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
19
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
20
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
21
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
22
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
23
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
24
+ PERFORMANCE OF THIS SOFTWARE.
25
+ ***************************************************************************** */var ad=function(n,t){return ad=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])},ad(n,t)};function Jt(n,t){ad(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var sd=function(){return sd=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},sd.apply(this,arguments)};function Zu(n){return typeof n=="function"}var X1=!1,nr={set useDeprecatedSynchronousErrorHandling(n){if(n){var t=new Error;""+t.stack}X1=n},get useDeprecatedSynchronousErrorHandling(){return X1}};function ta(n){setTimeout(function(){throw n},0)}var Qu={closed:!0,next:function(n){},error:function(n){if(nr.useDeprecatedSynchronousErrorHandling)throw n;ta(n)},complete:function(){}},Y1=(function(){return Array.isArray||(function(n){return n&&typeof n.length=="number"})})();function Z1(n){return n!==null&&typeof n=="object"}var EI=(function(){function n(t){return Error.call(this),this.message=t?t.length+` errors occurred during unsubscription:
26
+ `+t.map(function(e,r){return r+1+") "+e.toString()}).join(`
27
+ `):"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})(),Ku=EI,zn=(function(){function n(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return n.prototype.unsubscribe=function(){var t;if(!this.closed){var e=this,r=e._parentOrParents,i=e._unsubscribe,o=e._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof n)r.remove(this);else if(r!==null)for(var a=0;a<r.length;++a){var s=r[a];s.remove(this)}if(Zu(i))try{i.call(this)}catch(p){t=p instanceof Ku?Q1(p.errors):[p]}if(Y1(o))for(var a=-1,u=o.length;++a<u;){var h=o[a];if(Z1(h))try{h.unsubscribe()}catch(f){t=t||[],f instanceof Ku?t=t.concat(Q1(f.errors)):t.push(f)}}if(t)throw new Ku(t)}},n.prototype.add=function(t){var e=t;if(!t)return n.EMPTY;switch(typeof t){case"function":e=new n(t);case"object":if(e===this||e.closed||typeof e.unsubscribe!="function")return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof n)){var r=e;e=new n,e._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=e._parentOrParents;if(i===null)e._parentOrParents=this;else if(i instanceof n){if(i===this)return e;e._parentOrParents=[i,this]}else if(i.indexOf(this)===-1)i.push(this);else return e;var o=this._subscriptions;return o===null?this._subscriptions=[e]:o.push(e),e},n.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);r!==-1&&e.splice(r,1)}},n.EMPTY=(function(t){return t.closed=!0,t})(new n),n})();function Q1(n){return n.reduce(function(t,e){return t.concat(e instanceof Ku?e.errors:e)},[])}var Ju=(function(){return typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()})(),Ze=(function(n){Jt(t,n);function t(e,r,i){var o=n.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=Qu;break;case 1:if(!e){o.destination=Qu;break}if(typeof e=="object"){e instanceof t?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(o)):(o.syncErrorThrowable=!0,o.destination=new K1(o,e));break}default:o.syncErrorThrowable=!0,o.destination=new K1(o,e,r,i);break}return o}return t.prototype[Ju]=function(){return this},t.create=function(e,r,i){var o=new t(e,r,i);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,n.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t})(zn),K1=(function(n){Jt(t,n);function t(e,r,i,o){var a=n.call(this)||this;a._parentSubscriber=e;var s,u=a;return Zu(r)?s=r:r&&(s=r.next,i=r.error,o=r.complete,r!==Qu&&(u=Object.create(r),Zu(u.unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=s,a._error=i,a._complete=o,a}return t.prototype.next=function(e){if(!this.isStopped&&this._next){var r=this._parentSubscriber;!nr.useDeprecatedSynchronousErrorHandling||!r.syncErrorThrowable?this.__tryOrUnsub(this._next,e):this.__tryOrSetError(r,this._next,e)&&this.unsubscribe()}},t.prototype.error=function(e){if(!this.isStopped){var r=this._parentSubscriber,i=nr.useDeprecatedSynchronousErrorHandling;if(this._error)!i||!r.syncErrorThrowable?(this.__tryOrUnsub(this._error,e),this.unsubscribe()):(this.__tryOrSetError(r,this._error,e),this.unsubscribe());else if(r.syncErrorThrowable)i?(r.syncErrorValue=e,r.syncErrorThrown=!0):ta(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;ta(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var r=this._parentSubscriber;if(this._complete){var i=function(){return e._complete.call(e._context)};!nr.useDeprecatedSynchronousErrorHandling||!r.syncErrorThrowable?(this.__tryOrUnsub(i),this.unsubscribe()):(this.__tryOrSetError(r,i),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,r){try{e.call(this._context,r)}catch(i){if(this.unsubscribe(),nr.useDeprecatedSynchronousErrorHandling)throw i;ta(i)}},t.prototype.__tryOrSetError=function(e,r,i){if(!nr.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{r.call(this._context,i)}catch(o){return nr.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(ta(o),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t})(Ze);function PI(n){for(;n;){var t=n,e=t.closed,r=t.destination,i=t.isStopped;if(e||i)return!1;r&&r instanceof Ze?n=r:n=null}return!0}function NI(n,t,e){if(n){if(n instanceof Ze)return n;if(n[Ju])return n[Ju]()}return!n&&!t&&!e?new Ze(Qu):new Ze(n,t,e)}var Fs=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function J1(n){return n}function LI(n){return n.length===0?J1:n.length===1?n[0]:function(t){return n.reduce(function(e,r){return r(e)},t)}}var ye=(function(){function n(t){this._isScalar=!1,t&&(this._subscribe=t)}return n.prototype.lift=function(t){var e=new n;return e.source=this,e.operator=t,e},n.prototype.subscribe=function(t,e,r){var i=this.operator,o=NI(t,e,r);if(i?o.add(i.call(o,this.source)):o.add(this.source||nr.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),nr.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},n.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){nr.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),PI(t)?t.error(e):console.warn(e)}},n.prototype.forEach=function(t,e){var r=this;return e=t_(e),new e(function(i,o){var a;a=r.subscribe(function(s){try{t(s)}catch(u){o(u),a&&a.unsubscribe()}},o,i)})},n.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},n.prototype[Fs]=function(){return this},n.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.length===0?this:LI(t)(this)},n.prototype.toPromise=function(t){var e=this;return t=t_(t),new t(function(r,i){var o;e.subscribe(function(a){return o=a},function(a){return i(a)},function(){return r(o)})})},n.create=function(t){return new n(t)},n})();function t_(n){if(n||(n=Promise),!n)throw new Error("no Promise impl found");return n}var RI=(function(){function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})(),Hs=RI,zI=(function(n){Jt(t,n);function t(e,r){var i=n.call(this)||this;return i.subject=e,i.subscriber=r,i.closed=!1,i}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,r=e.observers;if(this.subject=null,!(!r||r.length===0||e.isStopped||e.closed)){var i=r.indexOf(this.subscriber);i!==-1&&r.splice(i,1)}}},t})(zn),BI=(function(n){Jt(t,n);function t(e){var r=n.call(this,e)||this;return r.destination=e,r}return t})(Ze),ea=(function(n){Jt(t,n);function t(){var e=n.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype[Ju]=function(){return new BI(this)},t.prototype.lift=function(e){var r=new e_(this,this);return r.operator=e,r},t.prototype.next=function(e){if(this.closed)throw new Hs;if(!this.isStopped)for(var r=this.observers,i=r.length,o=r.slice(),a=0;a<i;a++)o[a].next(e)},t.prototype.error=function(e){if(this.closed)throw new Hs;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var r=this.observers,i=r.length,o=r.slice(),a=0;a<i;a++)o[a].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new Hs;this.isStopped=!0;for(var e=this.observers,r=e.length,i=e.slice(),o=0;o<r;o++)i[o].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(e){if(this.closed)throw new Hs;return n.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){if(this.closed)throw new Hs;return this.hasError?(e.error(this.thrownError),zn.EMPTY):this.isStopped?(e.complete(),zn.EMPTY):(this.observers.push(e),new zI(this,e))},t.prototype.asObservable=function(){var e=new ye;return e.source=this,e},t.create=function(e,r){return new e_(e,r)},t})(ye),e_=(function(n){Jt(t,n);function t(e,r){var i=n.call(this)||this;return i.destination=e,i.source=r,i}return t.prototype.next=function(e){var r=this.destination;r&&r.next&&r.next(e)},t.prototype.error=function(e){var r=this.destination;r&&r.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){var r=this.source;return r?this.source.subscribe(e):zn.EMPTY},t})(ea),FI=(function(n){Jt(t,n);function t(e,r){return n.call(this)||this}return t.prototype.schedule=function(e,r){return this},t})(zn),ld=(function(n){Jt(t,n);function t(e,r){var i=n.call(this,e,r)||this;return i.scheduler=e,i.work=r,i.pending=!1,i}return t.prototype.schedule=function(e,r){if(r===void 0&&(r=0),this.closed)return this;this.state=e;var i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=this.id||this.requestAsyncId(o,this.id,r),this},t.prototype.requestAsyncId=function(e,r,i){return i===void 0&&(i=0),setInterval(e.flush.bind(e,this),i)},t.prototype.recycleAsyncId=function(e,r,i){if(i===void 0&&(i=0),i!==null&&this.delay===i&&this.pending===!1)return r;clearInterval(r)},t.prototype.execute=function(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,r);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,r){var i=!1,o=void 0;try{this.work(e)}catch(a){i=!0,o=!!a&&a||new Error(a)}if(i)return this.unsubscribe(),o},t.prototype._unsubscribe=function(){var e=this.id,r=this.scheduler,i=r.actions,o=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,o!==-1&&i.splice(o,1),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null},t})(FI),HI=(function(n){Jt(t,n);function t(e,r){var i=n.call(this,e,r)||this;return i.scheduler=e,i.work=r,i}return t.prototype.schedule=function(e,r){return r===void 0&&(r=0),r>0?n.prototype.schedule.call(this,e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)},t.prototype.execute=function(e,r){return r>0||this.closed?n.prototype.execute.call(this,e,r):this._execute(e,r)},t.prototype.requestAsyncId=function(e,r,i){return i===void 0&&(i=0),i!==null&&i>0||i===null&&this.delay>0?n.prototype.requestAsyncId.call(this,e,r,i):e.flush(this)},t})(ld),n_=(function(){function n(t,e){e===void 0&&(e=n.now),this.SchedulerAction=t,this.now=e}return n.prototype.schedule=function(t,e,r){return e===void 0&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},n.now=function(){return Date.now()},n})(),ud=(function(n){Jt(t,n);function t(e,r){r===void 0&&(r=n_.now);var i=n.call(this,e,function(){return t.delegate&&t.delegate!==i?t.delegate.now():r()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return t.prototype.schedule=function(e,r,i){return r===void 0&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(e,r,i):n.prototype.schedule.call(this,e,r,i)},t.prototype.flush=function(e){var r=this.actions;if(this.active){r.push(e);return}var i;this.active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=r.shift());if(this.active=!1,i){for(;e=r.shift();)e.unsubscribe();throw i}},t})(n_),VI=(function(n){Jt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t})(ud),r_=new VI(HI),GI=new ye(function(n){return n.complete()});function i_(n){return n?jI(n):GI}function jI(n){return new ye(function(t){return n.schedule(function(){return t.complete()})})}function tc(n){return n&&typeof n.schedule=="function"}var o_=function(n){return function(t){for(var e=0,r=n.length;e<r&&!t.closed;e++)t.next(n[e]);t.complete()}};function cd(n,t){return new ye(function(e){var r=new zn,i=0;return r.add(t.schedule(function(){if(i===n.length){e.complete();return}e.next(n[i++]),e.closed||r.add(this.schedule())})),r})}function a_(n,t){return t?cd(n,t):new ye(o_(n))}function hd(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var e=n[n.length-1];return tc(e)?(n.pop(),cd(n,e)):a_(n)}function s_(n,t){return new ye(function(e){return e.error(n)})}var Vs=(function(){function n(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue=t==="N"}return n.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},n.prototype.do=function(t,e,r){var i=this.kind;switch(i){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},n.prototype.accept=function(t,e,r){return t&&typeof t.next=="function"?this.observe(t):this.do(t,e,r)},n.prototype.toObservable=function(){var t=this.kind;switch(t){case"N":return hd(this.value);case"E":return s_(this.error);case"C":return i_()}throw new Error("unexpected notification kind value")},n.createNext=function(t){return typeof t<"u"?new n("N",t):n.undefinedValueNotification},n.createError=function(t){return new n("E",void 0,t)},n.createComplete=function(){return n.completeNotification},n.completeNotification=new n("C"),n.undefinedValueNotification=new n("N",void 0),n})();function pd(n,t){return t===void 0&&(t=0),function(e){return e.lift(new UI(n,t))}}var UI=(function(){function n(t,e){e===void 0&&(e=0),this.scheduler=t,this.delay=e}return n.prototype.call=function(t,e){return e.subscribe(new WI(t,this.scheduler,this.delay))},n})(),WI=(function(n){Jt(t,n);function t(e,r,i){i===void 0&&(i=0);var o=n.call(this,e)||this;return o.scheduler=r,o.delay=i,o}return t.dispatch=function(e){var r=e.notification,i=e.destination;r.observe(i),this.unsubscribe()},t.prototype.scheduleMessage=function(e){var r=this.destination;r.add(this.scheduler.schedule(t.dispatch,this.delay,new $I(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(Vs.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(Vs.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(Vs.createComplete()),this.unsubscribe()},t})(Ze),$I=(function(){function n(t,e){this.notification=t,this.destination=e}return n})(),qI=1,XI=(function(){return Promise.resolve()})(),fd={};function l_(n){return n in fd?(delete fd[n],!0):!1}var u_={setImmediate:function(n){var t=qI++;return fd[t]=!0,XI.then(function(){return l_(t)&&n()}),t},clearImmediate:function(n){l_(n)}},YI=(function(n){Jt(t,n);function t(e,r){var i=n.call(this,e,r)||this;return i.scheduler=e,i.work=r,i}return t.prototype.requestAsyncId=function(e,r,i){return i===void 0&&(i=0),i!==null&&i>0?n.prototype.requestAsyncId.call(this,e,r,i):(e.actions.push(this),e.scheduled||(e.scheduled=u_.setImmediate(e.flush.bind(e,null))))},t.prototype.recycleAsyncId=function(e,r,i){if(i===void 0&&(i=0),i!==null&&i>0||i===null&&this.delay>0)return n.prototype.recycleAsyncId.call(this,e,r,i);e.actions.length===0&&(u_.clearImmediate(r),e.scheduled=void 0)},t})(ld),ZI=(function(n){Jt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var r=this.actions,i,o=-1,a=r.length;e=e||r.shift();do if(i=e.execute(e.state,e.delay))break;while(++o<a&&(e=r.shift()));if(this.active=!1,i){for(;++o<a&&(e=r.shift());)e.unsubscribe();throw i}},t})(ud),dd=new ZI(YI),c_=new ud(ld);function Sr(){}function gd(n,t){return function(e){if(typeof n!="function")throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new QI(n,t))}}var QI=(function(){function n(t,e){this.project=t,this.thisArg=e}return n.prototype.call=function(t,e){return e.subscribe(new KI(t,this.project,this.thisArg))},n})(),KI=(function(n){Jt(t,n);function t(e,r,i){var o=n.call(this,e)||this;return o.project=r,o.count=0,o.thisArg=i||o,o}return t.prototype._next=function(e){var r;try{r=this.project.call(this.thisArg,e,this.count++)}catch(i){this.destination.error(i);return}this.destination.next(r)},t})(Ze),na=(function(n){Jt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.notifyNext=function(e,r,i,o,a){this.destination.next(r)},t.prototype.notifyError=function(e,r){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t})(Ze),ec=(function(n){Jt(t,n);function t(e,r,i){var o=n.call(this)||this;return o.parent=e,o.outerValue=r,o.outerIndex=i,o.index=0,o}return t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t})(Ze),JI=function(n){return function(t){return n.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,ta),t}};function tD(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var nc=tD(),eD=function(n){return function(t){var e=n[nc]();do{var r=e.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}while(!0);return typeof e.return=="function"&&t.add(function(){e.return&&e.return()}),t}},nD=function(n){return function(t){var e=n[Fs]();if(typeof e.subscribe!="function")throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)}},h_=(function(n){return n&&typeof n.length=="number"&&typeof n!="function"});function p_(n){return!!n&&typeof n.subscribe!="function"&&typeof n.then=="function"}var f_=function(n){if(n&&typeof n[Fs]=="function")return nD(n);if(h_(n))return o_(n);if(p_(n))return JI(n);if(n&&typeof n[nc]=="function")return eD(n);var t=Z1(n)?"an invalid object":"'"+n+"'",e="You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(e)};function ra(n,t,e,r,i){if(i===void 0&&(i=new ec(n,e,r)),!i.closed)return t instanceof ye?t.subscribe(i):f_(t)(i)}function rD(n,t){return new ye(function(e){var r=new zn;return r.add(t.schedule(function(){var i=n[Fs]();r.add(i.subscribe({next:function(o){r.add(t.schedule(function(){return e.next(o)}))},error:function(o){r.add(t.schedule(function(){return e.error(o)}))},complete:function(){r.add(t.schedule(function(){return e.complete()}))}}))})),r})}function iD(n,t){return new ye(function(e){var r=new zn;return r.add(t.schedule(function(){return n.then(function(i){r.add(t.schedule(function(){e.next(i),r.add(t.schedule(function(){return e.complete()}))}))},function(i){r.add(t.schedule(function(){return e.error(i)}))})})),r})}function oD(n,t){if(!n)throw new Error("Iterable cannot be null");return new ye(function(e){var r=new zn,i;return r.add(function(){i&&typeof i.return=="function"&&i.return()}),r.add(t.schedule(function(){i=n[nc](),r.add(t.schedule(function(){if(!e.closed){var o,a;try{var s=i.next();o=s.value,a=s.done}catch(u){e.error(u);return}a?e.complete():(e.next(o),this.schedule())}}))})),r})}function aD(n){return n&&typeof n[Fs]=="function"}function sD(n){return n&&typeof n[nc]=="function"}function lD(n,t){if(n!=null){if(aD(n))return rD(n,t);if(p_(n))return iD(n,t);if(h_(n))return cd(n,t);if(sD(n)||typeof n=="string")return oD(n,t)}throw new TypeError((n!==null&&typeof n||n)+" is not observable")}function Gs(n,t){return t?lD(n,t):n instanceof ye?n:new ye(f_(n))}function yd(n,t,e){return e===void 0&&(e=Number.POSITIVE_INFINITY),typeof t=="function"?function(r){return r.pipe(yd(function(i,o){return Gs(n(i,o)).pipe(gd(function(a,s){return t(i,a,o,s)}))},e))}:(typeof t=="number"&&(e=t),function(r){return r.lift(new uD(n,e))})}var uD=(function(){function n(t,e){e===void 0&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return n.prototype.call=function(t,e){return e.subscribe(new cD(t,this.project,this.concurrent))},n})(),cD=(function(n){Jt(t,n);function t(e,r,i){i===void 0&&(i=Number.POSITIVE_INFINITY);var o=n.call(this,e)||this;return o.project=r,o.concurrent=i,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var r,i=this.index++;try{r=this.project(e,i)}catch(o){this.destination.error(o);return}this.active++,this._innerSub(r,e,i)},t.prototype._innerSub=function(e,r,i){var o=new ec(this,r,i),a=this.destination;a.add(o);var s=ra(this,e,void 0,void 0,o);s!==o&&a.add(s)},t.prototype._complete=function(){this.hasCompleted=!0,this.active===0&&this.buffer.length===0&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,r,i,o,a){this.destination.next(r)},t.prototype.notifyComplete=function(e){var r=this.buffer;this.remove(e),this.active--,r.length>0?this._next(r.shift()):this.active===0&&this.hasCompleted&&this.destination.complete()},t})(na);function hD(n){return n===void 0&&(n=Number.POSITIVE_INFINITY),yd(J1,n)}function pD(n){return new ye(function(t){var e;try{e=n()}catch(i){t.error(i);return}var r=e?Gs(e):i_();return r.subscribe(t)})}function vd(n){return!Y1(n)&&n-parseFloat(n)+1>=0}function fD(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var e=Number.POSITIVE_INFINITY,r=null,i=n[n.length-1];return tc(i)?(r=n.pop(),n.length>1&&typeof n[n.length-1]=="number"&&(e=n.pop())):typeof i=="number"&&(e=n.pop()),r===null&&n.length===1&&n[0]instanceof ye?n[0]:hD(e)(a_(n,r))}var dD=new ye(Sr);function gD(n,t){return function(e){return e.lift(new yD(n,t))}}var yD=(function(){function n(t,e){this.predicate=t,this.thisArg=e}return n.prototype.call=function(t,e){return e.subscribe(new vD(t,this.predicate,this.thisArg))},n})(),vD=(function(n){Jt(t,n);function t(e,r,i){var o=n.call(this,e)||this;return o.predicate=r,o.thisArg=i,o.count=0,o}return t.prototype._next=function(e){var r;try{r=this.predicate.call(this.thisArg,e,this.count++)}catch(i){this.destination.error(i);return}r&&this.destination.next(e)},t})(Ze);function mD(n,t,e){n===void 0&&(n=0);var r=-1;return vd(t)?r=Number(t)<1&&1||Number(t):tc(t)&&(e=t),tc(e)||(e=c_),new ye(function(i){var o=vd(n)?n:+n-e.now();return e.schedule(_D,o,{index:0,period:r,subscriber:i})})}function _D(n){var t=n.index,e=n.period,r=n.subscriber;if(r.next(t),!r.closed){if(e===-1)return r.complete();n.index=t+1,this.schedule(n,e)}}function bD(n){return function(t){var e=new xD(n),r=t.lift(e);return e.caught=r}}var xD=(function(){function n(t){this.selector=t}return n.prototype.call=function(t,e){return e.subscribe(new wD(t,this.selector,this.caught))},n})(),wD=(function(n){Jt(t,n);function t(e,r,i){var o=n.call(this,e)||this;return o.selector=r,o.caught=i,o}return t.prototype.error=function(e){if(!this.isStopped){var r=void 0;try{r=this.selector(e,this.caught)}catch(a){n.prototype.error.call(this,a);return}this._unsubscribeAndRecycle();var i=new ec(this,void 0,void 0);this.add(i);var o=ra(this,r,void 0,void 0,i);o!==i&&this.add(o)}},t})(na);function SD(n){return n instanceof Date&&!isNaN(+n)}function kD(n,t){t===void 0&&(t=c_);var e=SD(n),r=e?+n-t.now():Math.abs(n);return function(i){return i.lift(new CD(r,t))}}var CD=(function(){function n(t,e){this.delay=t,this.scheduler=e}return n.prototype.call=function(t,e){return e.subscribe(new MD(t,this.delay,this.scheduler))},n})(),MD=(function(n){Jt(t,n);function t(e,r,i){var o=n.call(this,e)||this;return o.delay=r,o.scheduler=i,o.queue=[],o.active=!1,o.errored=!1,o}return t.dispatch=function(e){for(var r=e.source,i=r.queue,o=e.scheduler,a=e.destination;i.length>0&&i[0].time-o.now()<=0;)i.shift().notification.observe(a);if(i.length>0){var s=Math.max(0,i[0].time-o.now());this.schedule(e,s)}else this.unsubscribe(),r.active=!1},t.prototype._schedule=function(e){this.active=!0;var r=this.destination;r.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(this.errored!==!0){var r=this.scheduler,i=new TD(r.now()+this.delay,e);this.queue.push(i),this.active===!1&&this._schedule(r)}},t.prototype._next=function(e){this.scheduleNotification(Vs.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.scheduleNotification(Vs.createComplete()),this.unsubscribe()},t})(Ze),TD=(function(){function n(t,e){this.time=t,this.notification=e}return n})();function ID(n,t){return function(e){return e.lift(new DD(n))}}var DD=(function(){function n(t){this.delayDurationSelector=t}return n.prototype.call=function(t,e){return e.subscribe(new AD(t,this.delayDurationSelector))},n})(),AD=(function(n){Jt(t,n);function t(e,r){var i=n.call(this,e)||this;return i.delayDurationSelector=r,i.completed=!1,i.delayNotifierSubscriptions=[],i.index=0,i}return t.prototype.notifyNext=function(e,r,i,o,a){this.destination.next(e),this.removeSubscription(a),this.tryComplete()},t.prototype.notifyError=function(e,r){this._error(e)},t.prototype.notifyComplete=function(e){var r=this.removeSubscription(e);r&&this.destination.next(r),this.tryComplete()},t.prototype._next=function(e){var r=this.index++;try{var i=this.delayDurationSelector(e,r);i&&this.tryDelay(i,e)}catch(o){this.destination.error(o)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},t.prototype.removeSubscription=function(e){e.unsubscribe();var r=this.delayNotifierSubscriptions.indexOf(e);return r!==-1&&this.delayNotifierSubscriptions.splice(r,1),e.outerValue},t.prototype.tryDelay=function(e,r){var i=ra(this,e,r);if(i&&!i.closed){var o=this.destination;o.add(i),this.delayNotifierSubscriptions.push(i)}},t.prototype.tryComplete=function(){this.completed&&this.delayNotifierSubscriptions.length===0&&this.destination.complete()},t})(na);function OD(n,t){var e=!1;return arguments.length>=2&&(e=!0),function(r){return r.lift(new ED(n,t,e))}}var ED=(function(){function n(t,e,r){r===void 0&&(r=!1),this.accumulator=t,this.seed=e,this.hasSeed=r}return n.prototype.call=function(t,e){return e.subscribe(new PD(t,this.accumulator,this.seed,this.hasSeed))},n})(),PD=(function(n){Jt(t,n);function t(e,r,i,o){var a=n.call(this,e)||this;return a.accumulator=r,a._seed=i,a.hasSeed=o,a.index=0,a}return Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(!this.hasSeed)this.seed=e,this.destination.next(e);else return this._tryNext(e)},t.prototype._tryNext=function(e){var r=this.index++,i;try{i=this.accumulator(this.seed,e,r)}catch(o){this.destination.error(o)}this.seed=i,this.destination.next(i)},t})(Ze);function ND(n){return function(t){return t.lift(new LD(n,t))}}var LD=(function(){function n(t,e){this.notifier=t,this.source=e}return n.prototype.call=function(t,e){return e.subscribe(new RD(t,this.notifier,this.source))},n})(),RD=(function(n){Jt(t,n);function t(e,r,i){var o=n.call(this,e)||this;return o.notifier=r,o.source=i,o}return t.prototype.error=function(e){if(!this.isStopped){var r=this.errors,i=this.retries,o=this.retriesSubscription;if(i)this.errors=null,this.retriesSubscription=null;else{r=new ea;try{var a=this.notifier;i=a(r)}catch(s){return n.prototype.error.call(this,s)}o=ra(this,i)}this._unsubscribeAndRecycle(),this.errors=r,this.retries=i,this.retriesSubscription=o,r.next(e)}},t.prototype._unsubscribe=function(){var e=this,r=e.errors,i=e.retriesSubscription;r&&(r.unsubscribe(),this.errors=null),i&&(i.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,r,i,o,a){var s=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=s,this.source.subscribe(this)},t})(na),zD=(function(n){Jt(t,n);function t(e,r,i){r===void 0&&(r=0),i===void 0&&(i=dd);var o=n.call(this)||this;return o.source=e,o.delayTime=r,o.scheduler=i,(!vd(r)||r<0)&&(o.delayTime=0),(!i||typeof i.schedule!="function")&&(o.scheduler=dd),o}return t.create=function(e,r,i){return r===void 0&&(r=0),i===void 0&&(i=dd),new t(e,r,i)},t.dispatch=function(e){var r=e.source,i=e.subscriber;return this.add(r.subscribe(i))},t.prototype._subscribe=function(e){var r=this.delayTime,i=this.source,o=this.scheduler;return o.schedule(t.dispatch,r,{source:i,subscriber:e})},t})(ye);function BD(n,t){return t===void 0&&(t=0),function(e){return e.lift(new FD(n,t))}}var FD=(function(){function n(t,e){this.scheduler=t,this.delay=e}return n.prototype.call=function(t,e){return new zD(e,this.delay,this.scheduler).subscribe(t)},n})();function HD(n,t){return function(e){return e.lift(new VD(n))}}var VD=(function(){function n(t){this.project=t}return n.prototype.call=function(t,e){return e.subscribe(new GD(t,this.project))},n})(),GD=(function(n){Jt(t,n);function t(e,r){var i=n.call(this,e)||this;return i.project=r,i.index=0,i}return t.prototype._next=function(e){var r,i=this.index++;try{r=this.project(e,i)}catch(o){this.destination.error(o);return}this._innerSub(r,e,i)},t.prototype._innerSub=function(e,r,i){var o=this.innerSubscription;o&&o.unsubscribe();var a=new ec(this,r,i),s=this.destination;s.add(a),this.innerSubscription=ra(this,e,void 0,void 0,a),this.innerSubscription!==a&&s.add(this.innerSubscription)},t.prototype._complete=function(){var e=this.innerSubscription;(!e||e.closed)&&n.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(e){var r=this.destination;r.remove(e),this.innerSubscription=null,this.isStopped&&n.prototype._complete.call(this)},t.prototype.notifyNext=function(e,r,i,o,a){this.destination.next(r)},t})(na);function jD(n,t,e){return function(r){return r.lift(new UD(n,t,e))}}var UD=(function(){function n(t,e,r){this.nextOrObserver=t,this.error=e,this.complete=r}return n.prototype.call=function(t,e){return e.subscribe(new WD(t,this.nextOrObserver,this.error,this.complete))},n})(),WD=(function(n){Jt(t,n);function t(e,r,i,o){var a=n.call(this,e)||this;return a._tapNext=Sr,a._tapError=Sr,a._tapComplete=Sr,a._tapError=i||Sr,a._tapComplete=o||Sr,Zu(r)?(a._context=a,a._tapNext=r):r&&(a._context=r,a._tapNext=r.next||Sr,a._tapError=r.error||Sr,a._tapComplete=r.complete||Sr),a}return t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(r){this.destination.error(r);return}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(r){this.destination.error(r);return}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){this.destination.error(e);return}return this.destination.complete()},t})(Ze);function $D(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return function(e){var r;typeof n[n.length-1]=="function"&&(r=n.pop());var i=n;return e.lift(new qD(i,r))}}var qD=(function(){function n(t,e){this.observables=t,this.project=e}return n.prototype.call=function(t,e){return e.subscribe(new XD(t,this.observables,this.project))},n})(),XD=(function(n){Jt(t,n);function t(e,r,i){var o=n.call(this,e)||this;o.observables=r,o.project=i,o.toRespond=[];var a=r.length;o.values=new Array(a);for(var s=0;s<a;s++)o.toRespond.push(s);for(var s=0;s<a;s++){var u=r[s];o.add(ra(o,u,u,s))}return o}return t.prototype.notifyNext=function(e,r,i,o,a){this.values[i]=r;var s=this.toRespond;if(s.length>0){var u=s.indexOf(i);u!==-1&&s.splice(u,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(this.toRespond.length===0){var r=[e].concat(this.values);this.project?this._tryProject(r):this.destination.next(r)}},t.prototype._tryProject=function(e){var r;try{r=this.project.apply(this,e)}catch(i){this.destination.error(i);return}this.destination.next(r)},t})(na),md={exports:{}},un={},d_={exports:{}},g_={};/** @license React v0.20.2
28
+ * scheduler.production.min.js
29
+ *
30
+ * Copyright (c) Facebook, Inc. and its affiliates.
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ */var y_;function YD(){return y_||(y_=1,(function(n){var t,e,r,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;n.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();n.unstable_now=function(){return a.now()-s}}if(typeof window>"u"||typeof MessageChannel!="function"){var u=null,h=null,p=function(){if(u!==null)try{var Z=n.unstable_now();u(!0,Z),u=null}catch(q){throw setTimeout(p,0),q}};t=function(Z){u!==null?setTimeout(t,0,Z):(u=Z,setTimeout(p,0))},e=function(Z,q){h=setTimeout(Z,q)},r=function(){clearTimeout(h)},n.unstable_shouldYield=function(){return!1},i=n.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,y=window.clearTimeout;if(typeof console<"u"){var g=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof g!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var v=!1,_=null,m=-1,b=5,w=0;n.unstable_shouldYield=function(){return n.unstable_now()>=w},i=function(){},n.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<Z?Math.floor(1e3/Z):5};var k=new MessageChannel,T=k.port2;k.port1.onmessage=function(){if(_!==null){var Z=n.unstable_now();w=Z+b;try{_(!0,Z)?T.postMessage(null):(v=!1,_=null)}catch(q){throw T.postMessage(null),q}}else v=!1},t=function(Z){_=Z,v||(v=!0,T.postMessage(null))},e=function(Z,q){m=f(function(){Z(n.unstable_now())},q)},r=function(){y(m),m=-1}}function C(Z,q){var U=Z.length;Z.push(q);t:for(;;){var K=U-1>>>1,et=Z[K];if(et!==void 0&&0<E(et,q))Z[K]=q,Z[U]=et,U=K;else break t}}function I(Z){return Z=Z[0],Z===void 0?null:Z}function A(Z){var q=Z[0];if(q!==void 0){var U=Z.pop();if(U!==q){Z[0]=U;t:for(var K=0,et=Z.length;K<et;){var W=2*(K+1)-1,yt=Z[W],ot=W+1,bt=Z[ot];if(yt!==void 0&&0>E(yt,U))bt!==void 0&&0>E(bt,yt)?(Z[K]=bt,Z[ot]=U,K=ot):(Z[K]=yt,Z[W]=U,K=W);else if(bt!==void 0&&0>E(bt,U))Z[K]=bt,Z[ot]=U,K=ot;else break t}}return q}return null}function E(Z,q){var U=Z.sortIndex-q.sortIndex;return U!==0?U:Z.id-q.id}var P=[],L=[],N=1,F=null,G=3,X=!1,Y=!1,nt=!1;function z(Z){for(var q=I(L);q!==null;){if(q.callback===null)A(L);else if(q.startTime<=Z)A(L),q.sortIndex=q.expirationTime,C(P,q);else break;q=I(L)}}function V(Z){if(nt=!1,z(Z),!Y)if(I(P)!==null)Y=!0,t(J);else{var q=I(L);q!==null&&e(V,q.startTime-Z)}}function J(Z,q){Y=!1,nt&&(nt=!1,r()),X=!0;var U=G;try{for(z(q),F=I(P);F!==null&&(!(F.expirationTime>q)||Z&&!n.unstable_shouldYield());){var K=F.callback;if(typeof K=="function"){F.callback=null,G=F.priorityLevel;var et=K(F.expirationTime<=q);q=n.unstable_now(),typeof et=="function"?F.callback=et:F===I(P)&&A(P),z(q)}else A(P);F=I(P)}if(F!==null)var W=!0;else{var yt=I(L);yt!==null&&e(V,yt.startTime-q),W=!1}return W}finally{F=null,G=U,X=!1}}var at=i;n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Z){Z.callback=null},n.unstable_continueExecution=function(){Y||X||(Y=!0,t(J))},n.unstable_getCurrentPriorityLevel=function(){return G},n.unstable_getFirstCallbackNode=function(){return I(P)},n.unstable_next=function(Z){switch(G){case 1:case 2:case 3:var q=3;break;default:q=G}var U=G;G=q;try{return Z()}finally{G=U}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=at,n.unstable_runWithPriority=function(Z,q){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var U=G;G=Z;try{return q()}finally{G=U}},n.unstable_scheduleCallback=function(Z,q,U){var K=n.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?K+U:K):U=K,Z){case 1:var et=-1;break;case 2:et=250;break;case 5:et=1073741823;break;case 4:et=1e4;break;default:et=5e3}return et=U+et,Z={id:N++,callback:q,priorityLevel:Z,startTime:U,expirationTime:et,sortIndex:-1},U>K?(Z.sortIndex=U,C(L,Z),I(P)===null&&Z===I(L)&&(nt?r():nt=!0,e(V,U-K))):(Z.sortIndex=et,C(P,Z),Y||X||(Y=!0,t(J))),Z},n.unstable_wrapCallback=function(Z){var q=G;return function(){var U=G;G=q;try{return Z.apply(this,arguments)}finally{G=U}}}})(g_)),g_}var v_;function ZD(){return v_||(v_=1,d_.exports=YD()),d_.exports}/** @license React v17.0.2
35
+ * react-dom.production.min.js
36
+ *
37
+ * Copyright (c) Facebook, Inc. and its affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */var m_;function QD(){if(m_)return un;m_=1;var n=od(),t=id(),e=ZD();function r(l){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+l,d=1;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+l+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(r(227));var i=new Set,o={};function a(l,c){s(l,c),s(l+"Capture",c)}function s(l,c){for(o[l]=c,l=0;l<c.length;l++)i.add(c[l])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),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=Object.prototype.hasOwnProperty,f={},y={};function g(l){return p.call(y,l)?!0:p.call(f,l)?!1:h.test(l)?y[l]=!0:(f[l]=!0,!1)}function v(l,c,d,x){if(d!==null&&d.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return x?!1:d!==null?!d.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function _(l,c,d,x){if(c===null||typeof c>"u"||v(l,c,d,x))return!0;if(x)return!1;if(d!==null)switch(d.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 m(l,c,d,x,S,M,D){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=x,this.attributeNamespace=S,this.mustUseProperty=d,this.propertyName=l,this.type=c,this.sanitizeURL=M,this.removeEmptyString=D}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){b[l]=new m(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var c=l[0];b[c]=new m(c,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){b[l]=new m(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){b[l]=new m(l,2,!1,l,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(l){b[l]=new m(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){b[l]=new m(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){b[l]=new m(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){b[l]=new m(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){b[l]=new m(l,5,!1,l.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function k(l){return l[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(l){var c=l.replace(w,k);b[c]=new m(c,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var c=l.replace(w,k);b[c]=new m(c,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var c=l.replace(w,k);b[c]=new m(c,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){b[l]=new m(l,1,!1,l.toLowerCase(),null,!1,!1)}),b.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){b[l]=new m(l,1,!1,l.toLowerCase(),null,!0,!0)});function T(l,c,d,x){var S=b.hasOwnProperty(c)?b[c]:null,M=S!==null?S.type===0:x?!1:!(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N");M||(_(c,d,S,x)&&(d=null),x||S===null?g(c)&&(d===null?l.removeAttribute(c):l.setAttribute(c,""+d)):S.mustUseProperty?l[S.propertyName]=d===null?S.type===3?!1:"":d:(c=S.attributeName,x=S.attributeNamespace,d===null?l.removeAttribute(c):(S=S.type,d=S===3||S===4&&d===!0?"":""+d,x?l.setAttributeNS(x,c,d):l.setAttribute(c,d))))}var C=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=60103,A=60106,E=60107,P=60108,L=60114,N=60109,F=60110,G=60112,X=60113,Y=60120,nt=60115,z=60116,V=60121,J=60128,at=60129,Z=60130,q=60131;if(typeof Symbol=="function"&&Symbol.for){var U=Symbol.for;I=U("react.element"),A=U("react.portal"),E=U("react.fragment"),P=U("react.strict_mode"),L=U("react.profiler"),N=U("react.provider"),F=U("react.context"),G=U("react.forward_ref"),X=U("react.suspense"),Y=U("react.suspense_list"),nt=U("react.memo"),z=U("react.lazy"),V=U("react.block"),U("react.scope"),J=U("react.opaque.id"),at=U("react.debug_trace_mode"),Z=U("react.offscreen"),q=U("react.legacy_hidden")}var K=typeof Symbol=="function"&&Symbol.iterator;function et(l){return l===null||typeof l!="object"?null:(l=K&&l[K]||l["@@iterator"],typeof l=="function"?l:null)}var W;function yt(l){if(W===void 0)try{throw Error()}catch(d){var c=d.stack.trim().match(/\n( *(at )?)/);W=c&&c[1]||""}return`
42
+ `+W+l}var ot=!1;function bt(l,c){if(!l||ot)return"";ot=!0;var d=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(B){var x=B}Reflect.construct(l,[],c)}else{try{c.call()}catch(B){x=B}l.call(c.prototype)}else{try{throw Error()}catch(B){x=B}l()}}catch(B){if(B&&x&&typeof B.stack=="string"){for(var S=B.stack.split(`
43
+ `),M=x.stack.split(`
44
+ `),D=S.length-1,O=M.length-1;1<=D&&0<=O&&S[D]!==M[O];)O--;for(;1<=D&&0<=O;D--,O--)if(S[D]!==M[O]){if(D!==1||O!==1)do if(D--,O--,0>O||S[D]!==M[O])return`
45
+ `+S[D].replace(" at new "," at ");while(1<=D&&0<=O);break}}}finally{ot=!1,Error.prepareStackTrace=d}return(l=l?l.displayName||l.name:"")?yt(l):""}function vt(l){switch(l.tag){case 5:return yt(l.type);case 16:return yt("Lazy");case 13:return yt("Suspense");case 19:return yt("SuspenseList");case 0:case 2:case 15:return l=bt(l.type,!1),l;case 11:return l=bt(l.type.render,!1),l;case 22:return l=bt(l.type._render,!1),l;case 1:return l=bt(l.type,!0),l;default:return""}}function lt(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case E:return"Fragment";case A:return"Portal";case L:return"Profiler";case P:return"StrictMode";case X:return"Suspense";case Y:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case F:return(l.displayName||"Context")+".Consumer";case N:return(l._context.displayName||"Context")+".Provider";case G:var c=l.render;return c=c.displayName||c.name||"",l.displayName||(c!==""?"ForwardRef("+c+")":"ForwardRef");case nt:return lt(l.type);case V:return lt(l._render);case z:c=l._payload,l=l._init;try{return lt(l(c))}catch{}}return null}function st(l){switch(typeof l){case"boolean":case"number":case"object":case"string":case"undefined":return l;default:return""}}function Kt(l){var c=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Vt(l){var c=Kt(l)?"checked":"value",d=Object.getOwnPropertyDescriptor(l.constructor.prototype,c),x=""+l[c];if(!l.hasOwnProperty(c)&&typeof d<"u"&&typeof d.get=="function"&&typeof d.set=="function"){var S=d.get,M=d.set;return Object.defineProperty(l,c,{configurable:!0,get:function(){return S.call(this)},set:function(D){x=""+D,M.call(this,D)}}),Object.defineProperty(l,c,{enumerable:d.enumerable}),{getValue:function(){return x},setValue:function(D){x=""+D},stopTracking:function(){l._valueTracker=null,delete l[c]}}}}function Et(l){l._valueTracker||(l._valueTracker=Vt(l))}function ue(l){if(!l)return!1;var c=l._valueTracker;if(!c)return!0;var d=c.getValue(),x="";return l&&(x=Kt(l)?l.checked?"true":"false":l.value),l=x,l!==d?(c.setValue(l),!0):!1}function zt(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function de(l,c){var d=c.checked;return t({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:d??l._wrapperState.initialChecked})}function Rr(l,c){var d=c.defaultValue==null?"":c.defaultValue,x=c.checked!=null?c.checked:c.defaultChecked;d=st(c.value!=null?c.value:d),l._wrapperState={initialChecked:x,initialValue:d,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function me(l,c){c=c.checked,c!=null&&T(l,"checked",c,!1)}function zr(l,c){me(l,c);var d=st(c.value),x=c.type;if(d!=null)x==="number"?(d===0&&l.value===""||l.value!=d)&&(l.value=""+d):l.value!==""+d&&(l.value=""+d);else if(x==="submit"||x==="reset"){l.removeAttribute("value");return}c.hasOwnProperty("value")?Ve(l,c.type,d):c.hasOwnProperty("defaultValue")&&Ve(l,c.type,st(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(l.defaultChecked=!!c.defaultChecked)}function Br(l,c,d){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=""+l._wrapperState.initialValue,d||c===l.value||(l.value=c),l.defaultValue=c}d=l.name,d!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,d!==""&&(l.name=d)}function Ve(l,c,d){(c!=="number"||zt(l.ownerDocument)!==l)&&(d==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+d&&(l.defaultValue=""+d))}function wt(l){var c="";return n.Children.forEach(l,function(d){d!=null&&(c+=d)}),c}function re(l,c){return l=t({children:void 0},c),(c=wt(c.children))&&(l.children=c),l}function Xn(l,c,d,x){if(l=l.options,c){c={};for(var S=0;S<d.length;S++)c["$"+d[S]]=!0;for(d=0;d<l.length;d++)S=c.hasOwnProperty("$"+l[d].value),l[d].selected!==S&&(l[d].selected=S),S&&x&&(l[d].defaultSelected=!0)}else{for(d=""+st(d),c=null,S=0;S<l.length;S++){if(l[S].value===d){l[S].selected=!0,x&&(l[S].defaultSelected=!0);return}c!==null||l[S].disabled||(c=l[S])}c!==null&&(c.selected=!0)}}function Di(l,c){if(c.dangerouslySetInnerHTML!=null)throw Error(r(91));return t({},c,{value:void 0,defaultValue:void 0,children:""+l._wrapperState.initialValue})}function Nn(l,c){var d=c.value;if(d==null){if(d=c.children,c=c.defaultValue,d!=null){if(c!=null)throw Error(r(92));if(Array.isArray(d)){if(!(1>=d.length))throw Error(r(93));d=d[0]}c=d}c==null&&(c=""),d=c}l._wrapperState={initialValue:st(d)}}function ym(l,c){var d=st(c.value),x=st(c.defaultValue);d!=null&&(d=""+d,d!==l.value&&(l.value=d),c.defaultValue==null&&l.defaultValue!==d&&(l.defaultValue=d)),x!=null&&(l.defaultValue=""+x)}function vm(l){var c=l.textContent;c===l._wrapperState.initialValue&&c!==""&&c!==null&&(l.value=c)}var bp={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function mm(l){switch(l){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 xp(l,c){return l==null||l==="http://www.w3.org/1999/xhtml"?mm(c):l==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var Jl,_m=(function(l){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,d,x,S){MSApp.execUnsafeLocalFunction(function(){return l(c,d,x,S)})}:l})(function(l,c){if(l.namespaceURI!==bp.svg||"innerHTML"in l)l.innerHTML=c;else{for(Jl=Jl||document.createElement("div"),Jl.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=Jl.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;c.firstChild;)l.appendChild(c.firstChild)}});function Qa(l,c){if(c){var d=l.firstChild;if(d&&d===l.lastChild&&d.nodeType===3){d.nodeValue=c;return}}l.textContent=c}var Ka={animationIterationCount:!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},BM=["Webkit","ms","Moz","O"];Object.keys(Ka).forEach(function(l){BM.forEach(function(c){c=c+l.charAt(0).toUpperCase()+l.substring(1),Ka[c]=Ka[l]})});function bm(l,c,d){return c==null||typeof c=="boolean"||c===""?"":d||typeof c!="number"||c===0||Ka.hasOwnProperty(l)&&Ka[l]?(""+c).trim():c+"px"}function xm(l,c){l=l.style;for(var d in c)if(c.hasOwnProperty(d)){var x=d.indexOf("--")===0,S=bm(d,c[d],x);d==="float"&&(d="cssFloat"),x?l.setProperty(d,S):l[d]=S}}var FM=t({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 wp(l,c){if(c){if(FM[l]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(r(137,l));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(r(60));if(!(typeof c.dangerouslySetInnerHTML=="object"&&"__html"in c.dangerouslySetInnerHTML))throw Error(r(61))}if(c.style!=null&&typeof c.style!="object")throw Error(r(62))}}function Sp(l,c){if(l.indexOf("-")===-1)return typeof c.is=="string";switch(l){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}}function kp(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Cp=null,Io=null,Do=null;function wm(l){if(l=vs(l)){if(typeof Cp!="function")throw Error(r(280));var c=l.stateNode;c&&(c=vu(c),Cp(l.stateNode,l.type,c))}}function Sm(l){Io?Do?Do.push(l):Do=[l]:Io=l}function km(){if(Io){var l=Io,c=Do;if(Do=Io=null,wm(l),c)for(l=0;l<c.length;l++)wm(c[l])}}function Mp(l,c){return l(c)}function Cm(l,c,d,x,S){return l(c,d,x,S)}function Tp(){}var Mm=Mp,Ai=!1,Ip=!1;function Dp(){(Io!==null||Do!==null)&&(Tp(),km())}function HM(l,c,d){if(Ip)return l(c,d);Ip=!0;try{return Mm(l,c,d)}finally{Ip=!1,Dp()}}function Ja(l,c){var d=l.stateNode;if(d===null)return null;var x=vu(d);if(x===null)return null;d=x[c];t: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)||(l=l.type,x=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!x;break t;default:l=!1}if(l)return null;if(d&&typeof d!="function")throw Error(r(231,c,typeof d));return d}var Ap=!1;if(u)try{var ts={};Object.defineProperty(ts,"passive",{get:function(){Ap=!0}}),window.addEventListener("test",ts,ts),window.removeEventListener("test",ts,ts)}catch{Ap=!1}function VM(l,c,d,x,S,M,D,O,B){var Q=Array.prototype.slice.call(arguments,3);try{c.apply(d,Q)}catch(ct){this.onError(ct)}}var es=!1,tu=null,eu=!1,Op=null,GM={onError:function(l){es=!0,tu=l}};function jM(l,c,d,x,S,M,D,O,B){es=!1,tu=null,VM.apply(GM,arguments)}function UM(l,c,d,x,S,M,D,O,B){if(jM.apply(this,arguments),es){if(es){var Q=tu;es=!1,tu=null}else throw Error(r(198));eu||(eu=!0,Op=Q)}}function Oi(l){var c=l,d=l;if(l.alternate)for(;c.return;)c=c.return;else{l=c;do c=l,(c.flags&1026)!==0&&(d=c.return),l=c.return;while(l)}return c.tag===3?d:null}function Tm(l){if(l.tag===13){var c=l.memoizedState;if(c===null&&(l=l.alternate,l!==null&&(c=l.memoizedState)),c!==null)return c.dehydrated}return null}function Im(l){if(Oi(l)!==l)throw Error(r(188))}function WM(l){var c=l.alternate;if(!c){if(c=Oi(l),c===null)throw Error(r(188));return c!==l?null:l}for(var d=l,x=c;;){var S=d.return;if(S===null)break;var M=S.alternate;if(M===null){if(x=S.return,x!==null){d=x;continue}break}if(S.child===M.child){for(M=S.child;M;){if(M===d)return Im(S),l;if(M===x)return Im(S),c;M=M.sibling}throw Error(r(188))}if(d.return!==x.return)d=S,x=M;else{for(var D=!1,O=S.child;O;){if(O===d){D=!0,d=S,x=M;break}if(O===x){D=!0,x=S,d=M;break}O=O.sibling}if(!D){for(O=M.child;O;){if(O===d){D=!0,d=M,x=S;break}if(O===x){D=!0,x=M,d=S;break}O=O.sibling}if(!D)throw Error(r(189))}}if(d.alternate!==x)throw Error(r(190))}if(d.tag!==3)throw Error(r(188));return d.stateNode.current===d?l:c}function Dm(l){if(l=WM(l),!l)return null;for(var c=l;;){if(c.tag===5||c.tag===6)return c;if(c.child)c.child.return=c,c=c.child;else{if(c===l)break;for(;!c.sibling;){if(!c.return||c.return===l)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}}return null}function Am(l,c){for(var d=l.alternate;c!==null;){if(c===l||c===d)return!0;c=c.return}return!1}var Om,Ep,Em,Pm,Pp=!1,Yn=[],Fr=null,Hr=null,Vr=null,ns=new Map,rs=new Map,is=[],Nm="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 Np(l,c,d,x,S){return{blockedOn:l,domEventName:c,eventSystemFlags:d|16,nativeEvent:S,targetContainers:[x]}}function Lm(l,c){switch(l){case"focusin":case"focusout":Fr=null;break;case"dragenter":case"dragleave":Hr=null;break;case"mouseover":case"mouseout":Vr=null;break;case"pointerover":case"pointerout":ns.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":rs.delete(c.pointerId)}}function os(l,c,d,x,S,M){return l===null||l.nativeEvent!==M?(l=Np(c,d,x,S,M),c!==null&&(c=vs(c),c!==null&&Ep(c)),l):(l.eventSystemFlags|=x,c=l.targetContainers,S!==null&&c.indexOf(S)===-1&&c.push(S),l)}function $M(l,c,d,x,S){switch(c){case"focusin":return Fr=os(Fr,l,c,d,x,S),!0;case"dragenter":return Hr=os(Hr,l,c,d,x,S),!0;case"mouseover":return Vr=os(Vr,l,c,d,x,S),!0;case"pointerover":var M=S.pointerId;return ns.set(M,os(ns.get(M)||null,l,c,d,x,S)),!0;case"gotpointercapture":return M=S.pointerId,rs.set(M,os(rs.get(M)||null,l,c,d,x,S)),!0}return!1}function qM(l){var c=Ei(l.target);if(c!==null){var d=Oi(c);if(d!==null){if(c=d.tag,c===13){if(c=Tm(d),c!==null){l.blockedOn=c,Pm(l.lanePriority,function(){e.unstable_runWithPriority(l.priority,function(){Em(d)})});return}}else if(c===3&&d.stateNode.hydrate){l.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}l.blockedOn=null}function nu(l){if(l.blockedOn!==null)return!1;for(var c=l.targetContainers;0<c.length;){var d=Hp(l.domEventName,l.eventSystemFlags,c[0],l.nativeEvent);if(d!==null)return c=vs(d),c!==null&&Ep(c),l.blockedOn=d,!1;c.shift()}return!0}function Rm(l,c,d){nu(l)&&d.delete(c)}function XM(){for(Pp=!1;0<Yn.length;){var l=Yn[0];if(l.blockedOn!==null){l=vs(l.blockedOn),l!==null&&Om(l);break}for(var c=l.targetContainers;0<c.length;){var d=Hp(l.domEventName,l.eventSystemFlags,c[0],l.nativeEvent);if(d!==null){l.blockedOn=d;break}c.shift()}l.blockedOn===null&&Yn.shift()}Fr!==null&&nu(Fr)&&(Fr=null),Hr!==null&&nu(Hr)&&(Hr=null),Vr!==null&&nu(Vr)&&(Vr=null),ns.forEach(Rm),rs.forEach(Rm)}function as(l,c){l.blockedOn===c&&(l.blockedOn=null,Pp||(Pp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,XM)))}function zm(l){function c(S){return as(S,l)}if(0<Yn.length){as(Yn[0],l);for(var d=1;d<Yn.length;d++){var x=Yn[d];x.blockedOn===l&&(x.blockedOn=null)}}for(Fr!==null&&as(Fr,l),Hr!==null&&as(Hr,l),Vr!==null&&as(Vr,l),ns.forEach(c),rs.forEach(c),d=0;d<is.length;d++)x=is[d],x.blockedOn===l&&(x.blockedOn=null);for(;0<is.length&&(d=is[0],d.blockedOn===null);)qM(d),d.blockedOn===null&&is.shift()}function ru(l,c){var d={};return d[l.toLowerCase()]=c.toLowerCase(),d["Webkit"+l]="webkit"+c,d["Moz"+l]="moz"+c,d}var Ao={animationend:ru("Animation","AnimationEnd"),animationiteration:ru("Animation","AnimationIteration"),animationstart:ru("Animation","AnimationStart"),transitionend:ru("Transition","TransitionEnd")},Lp={},Bm={};u&&(Bm=document.createElement("div").style,"AnimationEvent"in window||(delete Ao.animationend.animation,delete Ao.animationiteration.animation,delete Ao.animationstart.animation),"TransitionEvent"in window||delete Ao.transitionend.transition);function iu(l){if(Lp[l])return Lp[l];if(!Ao[l])return l;var c=Ao[l],d;for(d in c)if(c.hasOwnProperty(d)&&d in Bm)return Lp[l]=c[d];return l}var Fm=iu("animationend"),Hm=iu("animationiteration"),Vm=iu("animationstart"),Gm=iu("transitionend"),jm=new Map,Rp=new Map,YM=["abort","abort",Fm,"animationEnd",Hm,"animationIteration",Vm,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Gm,"transitionEnd","waiting","waiting"];function zp(l,c){for(var d=0;d<l.length;d+=2){var x=l[d],S=l[d+1];S="on"+(S[0].toUpperCase()+S.slice(1)),Rp.set(x,c),jm.set(x,S),a(S,[x])}}var ZM=e.unstable_now;ZM();var ee=8;function Oo(l){if((1&l)!==0)return ee=15,1;if((2&l)!==0)return ee=14,2;if((4&l)!==0)return ee=13,4;var c=24&l;return c!==0?(ee=12,c):(l&32)!==0?(ee=11,32):(c=192&l,c!==0?(ee=10,c):(l&256)!==0?(ee=9,256):(c=3584&l,c!==0?(ee=8,c):(l&4096)!==0?(ee=7,4096):(c=4186112&l,c!==0?(ee=6,c):(c=62914560&l,c!==0?(ee=5,c):l&67108864?(ee=4,67108864):(l&134217728)!==0?(ee=3,134217728):(c=805306368&l,c!==0?(ee=2,c):(1073741824&l)!==0?(ee=1,1073741824):(ee=8,l))))))}function QM(l){switch(l){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function KM(l){switch(l){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(r(358,l))}}function ss(l,c){var d=l.pendingLanes;if(d===0)return ee=0;var x=0,S=0,M=l.expiredLanes,D=l.suspendedLanes,O=l.pingedLanes;if(M!==0)x=M,S=ee=15;else if(M=d&134217727,M!==0){var B=M&~D;B!==0?(x=Oo(B),S=ee):(O&=M,O!==0&&(x=Oo(O),S=ee))}else M=d&~D,M!==0?(x=Oo(M),S=ee):O!==0&&(x=Oo(O),S=ee);if(x===0)return 0;if(x=31-Gr(x),x=d&((0>x?0:1<<x)<<1)-1,c!==0&&c!==x&&(c&D)===0){if(Oo(c),S<=ee)return c;ee=S}if(c=l.entangledLanes,c!==0)for(l=l.entanglements,c&=x;0<c;)d=31-Gr(c),S=1<<d,x|=l[d],c&=~S;return x}function Um(l){return l=l.pendingLanes&-1073741825,l!==0?l:l&1073741824?1073741824:0}function ou(l,c){switch(l){case 15:return 1;case 14:return 2;case 12:return l=Eo(24&~c),l===0?ou(10,c):l;case 10:return l=Eo(192&~c),l===0?ou(8,c):l;case 8:return l=Eo(3584&~c),l===0&&(l=Eo(4186112&~c),l===0&&(l=512)),l;case 2:return c=Eo(805306368&~c),c===0&&(c=268435456),c}throw Error(r(358,l))}function Eo(l){return l&-l}function Bp(l){for(var c=[],d=0;31>d;d++)c.push(l);return c}function au(l,c,d){l.pendingLanes|=c;var x=c-1;l.suspendedLanes&=x,l.pingedLanes&=x,l=l.eventTimes,c=31-Gr(c),l[c]=d}var Gr=Math.clz32?Math.clz32:eT,JM=Math.log,tT=Math.LN2;function eT(l){return l===0?32:31-(JM(l)/tT|0)|0}var nT=e.unstable_UserBlockingPriority,rT=e.unstable_runWithPriority,su=!0;function iT(l,c,d,x){Ai||Tp();var S=Fp,M=Ai;Ai=!0;try{Cm(S,l,c,d,x)}finally{(Ai=M)||Dp()}}function oT(l,c,d,x){rT(nT,Fp.bind(null,l,c,d,x))}function Fp(l,c,d,x){if(su){var S;if((S=(c&4)===0)&&0<Yn.length&&-1<Nm.indexOf(l))l=Np(null,l,c,d,x),Yn.push(l);else{var M=Hp(l,c,d,x);if(M===null)S&&Lm(l,x);else{if(S){if(-1<Nm.indexOf(l)){l=Np(M,l,c,d,x),Yn.push(l);return}if($M(M,l,c,d,x))return;Lm(l,x)}_0(l,c,x,null,d)}}}}function Hp(l,c,d,x){var S=kp(x);if(S=Ei(S),S!==null){var M=Oi(S);if(M===null)S=null;else{var D=M.tag;if(D===13){if(S=Tm(M),S!==null)return S;S=null}else if(D===3){if(M.stateNode.hydrate)return M.tag===3?M.stateNode.containerInfo:null;S=null}else M!==S&&(S=null)}}return _0(l,c,x,S,d),null}var jr=null,Vp=null,lu=null;function Wm(){if(lu)return lu;var l,c=Vp,d=c.length,x,S="value"in jr?jr.value:jr.textContent,M=S.length;for(l=0;l<d&&c[l]===S[l];l++);var D=d-l;for(x=1;x<=D&&c[d-x]===S[M-x];x++);return lu=S.slice(l,1<x?1-x:void 0)}function uu(l){var c=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&c===13&&(l=13)):l=c,l===10&&(l=13),32<=l||l===13?l:0}function cu(){return!0}function $m(){return!1}function sn(l){function c(d,x,S,M,D){this._reactName=d,this._targetInst=S,this.type=x,this.nativeEvent=M,this.target=D,this.currentTarget=null;for(var O in l)l.hasOwnProperty(O)&&(d=l[O],this[O]=d?d(M):M[O]);return this.isDefaultPrevented=(M.defaultPrevented!=null?M.defaultPrevented:M.returnValue===!1)?cu:$m,this.isPropagationStopped=$m,this}return t(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=cu)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=cu)},persist:function(){},isPersistent:cu}),c}var Po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gp=sn(Po),ls=t({},Po,{view:0,detail:0}),aT=sn(ls),jp,Up,us,hu=t({},ls,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$p,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==us&&(us&&l.type==="mousemove"?(jp=l.screenX-us.screenX,Up=l.screenY-us.screenY):Up=jp=0,us=l),jp)},movementY:function(l){return"movementY"in l?l.movementY:Up}}),qm=sn(hu),sT=t({},hu,{dataTransfer:0}),lT=sn(sT),uT=t({},ls,{relatedTarget:0}),Wp=sn(uT),cT=t({},Po,{animationName:0,elapsedTime:0,pseudoElement:0}),hT=sn(cT),pT=t({},Po,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),fT=sn(pT),dT=t({},Po,{data:0}),Xm=sn(dT),gT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yT={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"},vT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mT(l){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(l):(l=vT[l])?!!c[l]:!1}function $p(){return mT}var _T=t({},ls,{key:function(l){if(l.key){var c=gT[l.key]||l.key;if(c!=="Unidentified")return c}return l.type==="keypress"?(l=uu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?yT[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$p,charCode:function(l){return l.type==="keypress"?uu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?uu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),bT=sn(_T),xT=t({},hu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ym=sn(xT),wT=t({},ls,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$p}),ST=sn(wT),kT=t({},Po,{propertyName:0,elapsedTime:0,pseudoElement:0}),CT=sn(kT),MT=t({},hu,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),TT=sn(MT),IT=[9,13,27,32],qp=u&&"CompositionEvent"in window,cs=null;u&&"documentMode"in document&&(cs=document.documentMode);var DT=u&&"TextEvent"in window&&!cs,Zm=u&&(!qp||cs&&8<cs&&11>=cs),Qm=" ",Km=!1;function Jm(l,c){switch(l){case"keyup":return IT.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function t0(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var No=!1;function AT(l,c){switch(l){case"compositionend":return t0(c);case"keypress":return c.which!==32?null:(Km=!0,Qm);case"textInput":return l=c.data,l===Qm&&Km?null:l;default:return null}}function OT(l,c){if(No)return l==="compositionend"||!qp&&Jm(l,c)?(l=Wm(),lu=Vp=jr=null,No=!1,l):null;switch(l){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 Zm&&c.locale!=="ko"?null:c.data;default:return null}}var ET={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 e0(l){var c=l&&l.nodeName&&l.nodeName.toLowerCase();return c==="input"?!!ET[l.type]:c==="textarea"}function n0(l,c,d,x){Sm(x),c=fu(c,"onChange"),0<c.length&&(d=new Gp("onChange","change",null,d,x),l.push({event:d,listeners:c}))}var hs=null,ps=null;function PT(l){d0(l,0)}function pu(l){var c=Fo(l);if(ue(c))return l}function NT(l,c){if(l==="change")return c}var r0=!1;if(u){var Xp;if(u){var Yp="oninput"in document;if(!Yp){var i0=document.createElement("div");i0.setAttribute("oninput","return;"),Yp=typeof i0.oninput=="function"}Xp=Yp}else Xp=!1;r0=Xp&&(!document.documentMode||9<document.documentMode)}function o0(){hs&&(hs.detachEvent("onpropertychange",a0),ps=hs=null)}function a0(l){if(l.propertyName==="value"&&pu(ps)){var c=[];if(n0(c,ps,l,kp(l)),l=PT,Ai)l(c);else{Ai=!0;try{Mp(l,c)}finally{Ai=!1,Dp()}}}}function LT(l,c,d){l==="focusin"?(o0(),hs=c,ps=d,hs.attachEvent("onpropertychange",a0)):l==="focusout"&&o0()}function RT(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return pu(ps)}function zT(l,c){if(l==="click")return pu(c)}function BT(l,c){if(l==="input"||l==="change")return pu(c)}function FT(l,c){return l===c&&(l!==0||1/l===1/c)||l!==l&&c!==c}var dn=typeof Object.is=="function"?Object.is:FT,HT=Object.prototype.hasOwnProperty;function fs(l,c){if(dn(l,c))return!0;if(typeof l!="object"||l===null||typeof c!="object"||c===null)return!1;var d=Object.keys(l),x=Object.keys(c);if(d.length!==x.length)return!1;for(x=0;x<d.length;x++)if(!HT.call(c,d[x])||!dn(l[d[x]],c[d[x]]))return!1;return!0}function s0(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function l0(l,c){var d=s0(l);l=0;for(var x;d;){if(d.nodeType===3){if(x=l+d.textContent.length,l<=c&&x>=c)return{node:d,offset:c-l};l=x}t:{for(;d;){if(d.nextSibling){d=d.nextSibling;break t}d=d.parentNode}d=void 0}d=s0(d)}}function u0(l,c){return l&&c?l===c?!0:l&&l.nodeType===3?!1:c&&c.nodeType===3?u0(l,c.parentNode):"contains"in l?l.contains(c):l.compareDocumentPosition?!!(l.compareDocumentPosition(c)&16):!1:!1}function c0(){for(var l=window,c=zt();c instanceof l.HTMLIFrameElement;){try{var d=typeof c.contentWindow.location.href=="string"}catch{d=!1}if(d)l=c.contentWindow;else break;c=zt(l.document)}return c}function Zp(l){var c=l&&l.nodeName&&l.nodeName.toLowerCase();return c&&(c==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||c==="textarea"||l.contentEditable==="true")}var VT=u&&"documentMode"in document&&11>=document.documentMode,Lo=null,Qp=null,ds=null,Kp=!1;function h0(l,c,d){var x=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Kp||Lo==null||Lo!==zt(x)||(x=Lo,"selectionStart"in x&&Zp(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}),ds&&fs(ds,x)||(ds=x,x=fu(Qp,"onSelect"),0<x.length&&(c=new Gp("onSelect","select",null,c,d),l.push({event:c,listeners:x}),c.target=Lo)))}zp("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),zp("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),zp(YM,2);for(var p0="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Jp=0;Jp<p0.length;Jp++)Rp.set(p0[Jp],0);s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),GT=new Set("cancel close invalid load scroll toggle".split(" ").concat(gs));function f0(l,c,d){var x=l.type||"unknown-event";l.currentTarget=d,UM(x,c,void 0,l),l.currentTarget=null}function d0(l,c){c=(c&4)!==0;for(var d=0;d<l.length;d++){var x=l[d],S=x.event;x=x.listeners;t:{var M=void 0;if(c)for(var D=x.length-1;0<=D;D--){var O=x[D],B=O.instance,Q=O.currentTarget;if(O=O.listener,B!==M&&S.isPropagationStopped())break t;f0(S,O,Q),M=B}else for(D=0;D<x.length;D++){if(O=x[D],B=O.instance,Q=O.currentTarget,O=O.listener,B!==M&&S.isPropagationStopped())break t;f0(S,O,Q),M=B}}}if(eu)throw l=Op,eu=!1,Op=null,l}function ie(l,c){var d=C0(c),x=l+"__bubble";d.has(x)||(m0(c,l,2,!1),d.add(x))}var g0="_reactListening"+Math.random().toString(36).slice(2);function y0(l){l[g0]||(l[g0]=!0,i.forEach(function(c){GT.has(c)||v0(c,!1,l,null),v0(c,!0,l,null)}))}function v0(l,c,d,x){var S=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,M=d;l==="selectionchange"&&d.nodeType!==9&&(M=d.ownerDocument);var D=C0(M),O=l+"__"+(c?"capture":"bubble");D.has(O)||(c&&(S|=4),m0(M,l,S,c),D.add(O))}function m0(l,c,d,x){var S=Rp.get(c);switch(S===void 0?2:S){case 0:S=iT;break;case 1:S=oT;break;default:S=Fp}d=S.bind(null,c,d,l),S=void 0,!Ap||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(S=!0),x?S!==void 0?l.addEventListener(c,d,{capture:!0,passive:S}):l.addEventListener(c,d,!0):S!==void 0?l.addEventListener(c,d,{passive:S}):l.addEventListener(c,d,!1)}function _0(l,c,d,x,S){var M=x;if((c&1)===0&&(c&2)===0&&x!==null)t:for(;;){if(x===null)return;var D=x.tag;if(D===3||D===4){var O=x.stateNode.containerInfo;if(O===S||O.nodeType===8&&O.parentNode===S)break;if(D===4)for(D=x.return;D!==null;){var B=D.tag;if((B===3||B===4)&&(B=D.stateNode.containerInfo,B===S||B.nodeType===8&&B.parentNode===S))return;D=D.return}for(;O!==null;){if(D=Ei(O),D===null)return;if(B=D.tag,B===5||B===6){x=M=D;continue t}O=O.parentNode}}x=x.return}HM(function(){var Q=M,ct=kp(d),Ct=[];t:{var it=jm.get(l);if(it!==void 0){var dt=Gp,kt=l;switch(l){case"keypress":if(uu(d)===0)break t;case"keydown":case"keyup":dt=bT;break;case"focusin":kt="focus",dt=Wp;break;case"focusout":kt="blur",dt=Wp;break;case"beforeblur":case"afterblur":dt=Wp;break;case"click":if(d.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":dt=qm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":dt=lT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":dt=ST;break;case Fm:case Hm:case Vm:dt=hT;break;case Gm:dt=CT;break;case"scroll":dt=aT;break;case"wheel":dt=TT;break;case"copy":case"cut":case"paste":dt=fT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":dt=Ym}var _t=(c&4)!==0,$=!_t&&l==="scroll",H=_t?it!==null?it+"Capture":null:it;_t=[];for(var j=Q,tt;j!==null;){tt=j;var rt=tt.stateNode;if(tt.tag===5&&rt!==null&&(tt=rt,H!==null&&(rt=Ja(j,H),rt!=null&&_t.push(ys(j,rt,tt)))),$)break;j=j.return}0<_t.length&&(it=new dt(it,kt,null,d,ct),Ct.push({event:it,listeners:_t}))}}if((c&7)===0){t:{if(it=l==="mouseover"||l==="pointerover",dt=l==="mouseout"||l==="pointerout",it&&(c&16)===0&&(kt=d.relatedTarget||d.fromElement)&&(Ei(kt)||kt[Bo]))break t;if((dt||it)&&(it=ct.window===ct?ct:(it=ct.ownerDocument)?it.defaultView||it.parentWindow:window,dt?(kt=d.relatedTarget||d.toElement,dt=Q,kt=kt?Ei(kt):null,kt!==null&&($=Oi(kt),kt!==$||kt.tag!==5&&kt.tag!==6)&&(kt=null)):(dt=null,kt=Q),dt!==kt)){if(_t=qm,rt="onMouseLeave",H="onMouseEnter",j="mouse",(l==="pointerout"||l==="pointerover")&&(_t=Ym,rt="onPointerLeave",H="onPointerEnter",j="pointer"),$=dt==null?it:Fo(dt),tt=kt==null?it:Fo(kt),it=new _t(rt,j+"leave",dt,d,ct),it.target=$,it.relatedTarget=tt,rt=null,Ei(ct)===Q&&(_t=new _t(H,j+"enter",kt,d,ct),_t.target=tt,_t.relatedTarget=$,rt=_t),$=rt,dt&&kt)e:{for(_t=dt,H=kt,j=0,tt=_t;tt;tt=Ro(tt))j++;for(tt=0,rt=H;rt;rt=Ro(rt))tt++;for(;0<j-tt;)_t=Ro(_t),j--;for(;0<tt-j;)H=Ro(H),tt--;for(;j--;){if(_t===H||H!==null&&_t===H.alternate)break e;_t=Ro(_t),H=Ro(H)}_t=null}else _t=null;dt!==null&&b0(Ct,it,dt,_t,!1),kt!==null&&$!==null&&b0(Ct,$,kt,_t,!0)}}t:{if(it=Q?Fo(Q):window,dt=it.nodeName&&it.nodeName.toLowerCase(),dt==="select"||dt==="input"&&it.type==="file")var It=NT;else if(e0(it))if(r0)It=BT;else{It=RT;var ft=LT}else(dt=it.nodeName)&&dt.toLowerCase()==="input"&&(it.type==="checkbox"||it.type==="radio")&&(It=zT);if(It&&(It=It(l,Q))){n0(Ct,It,d,ct);break t}ft&&ft(l,it,Q),l==="focusout"&&(ft=it._wrapperState)&&ft.controlled&&it.type==="number"&&Ve(it,"number",it.value)}switch(ft=Q?Fo(Q):window,l){case"focusin":(e0(ft)||ft.contentEditable==="true")&&(Lo=ft,Qp=Q,ds=null);break;case"focusout":ds=Qp=Lo=null;break;case"mousedown":Kp=!0;break;case"contextmenu":case"mouseup":case"dragend":Kp=!1,h0(Ct,d,ct);break;case"selectionchange":if(VT)break;case"keydown":case"keyup":h0(Ct,d,ct)}var Dt;if(qp)t:{switch(l){case"compositionstart":var Nt="onCompositionStart";break t;case"compositionend":Nt="onCompositionEnd";break t;case"compositionupdate":Nt="onCompositionUpdate";break t}Nt=void 0}else No?Jm(l,d)&&(Nt="onCompositionEnd"):l==="keydown"&&d.keyCode===229&&(Nt="onCompositionStart");Nt&&(Zm&&d.locale!=="ko"&&(No||Nt!=="onCompositionStart"?Nt==="onCompositionEnd"&&No&&(Dt=Wm()):(jr=ct,Vp="value"in jr?jr.value:jr.textContent,No=!0)),ft=fu(Q,Nt),0<ft.length&&(Nt=new Xm(Nt,l,null,d,ct),Ct.push({event:Nt,listeners:ft}),Dt?Nt.data=Dt:(Dt=t0(d),Dt!==null&&(Nt.data=Dt)))),(Dt=DT?AT(l,d):OT(l,d))&&(Q=fu(Q,"onBeforeInput"),0<Q.length&&(ct=new Xm("onBeforeInput","beforeinput",null,d,ct),Ct.push({event:ct,listeners:Q}),ct.data=Dt))}d0(Ct,c)})}function ys(l,c,d){return{instance:l,listener:c,currentTarget:d}}function fu(l,c){for(var d=c+"Capture",x=[];l!==null;){var S=l,M=S.stateNode;S.tag===5&&M!==null&&(S=M,M=Ja(l,d),M!=null&&x.unshift(ys(l,M,S)),M=Ja(l,c),M!=null&&x.push(ys(l,M,S))),l=l.return}return x}function Ro(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5);return l||null}function b0(l,c,d,x,S){for(var M=c._reactName,D=[];d!==null&&d!==x;){var O=d,B=O.alternate,Q=O.stateNode;if(B!==null&&B===x)break;O.tag===5&&Q!==null&&(O=Q,S?(B=Ja(d,M),B!=null&&D.unshift(ys(d,B,O))):S||(B=Ja(d,M),B!=null&&D.push(ys(d,B,O)))),d=d.return}D.length!==0&&l.push({event:c,listeners:D})}function du(){}var tf=null,ef=null;function x0(l,c){switch(l){case"button":case"input":case"select":case"textarea":return!!c.autoFocus}return!1}function nf(l,c){return l==="textarea"||l==="option"||l==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var w0=typeof setTimeout=="function"?setTimeout:void 0,jT=typeof clearTimeout=="function"?clearTimeout:void 0;function rf(l){l.nodeType===1?l.textContent="":l.nodeType===9&&(l=l.body,l!=null&&(l.textContent=""))}function zo(l){for(;l!=null;l=l.nextSibling){var c=l.nodeType;if(c===1||c===3)break}return l}function S0(l){l=l.previousSibling;for(var c=0;l;){if(l.nodeType===8){var d=l.data;if(d==="$"||d==="$!"||d==="$?"){if(c===0)return l;c--}else d==="/$"&&c++}l=l.previousSibling}return null}var of=0;function UT(l){return{$$typeof:J,toString:l,valueOf:l}}var gu=Math.random().toString(36).slice(2),Ur="__reactFiber$"+gu,yu="__reactProps$"+gu,Bo="__reactContainer$"+gu,k0="__reactEvents$"+gu;function Ei(l){var c=l[Ur];if(c)return c;for(var d=l.parentNode;d;){if(c=d[Bo]||d[Ur]){if(d=c.alternate,c.child!==null||d!==null&&d.child!==null)for(l=S0(l);l!==null;){if(d=l[Ur])return d;l=S0(l)}return c}l=d,d=l.parentNode}return null}function vs(l){return l=l[Ur]||l[Bo],!l||l.tag!==5&&l.tag!==6&&l.tag!==13&&l.tag!==3?null:l}function Fo(l){if(l.tag===5||l.tag===6)return l.stateNode;throw Error(r(33))}function vu(l){return l[yu]||null}function C0(l){var c=l[k0];return c===void 0&&(c=l[k0]=new Set),c}var af=[],Ho=-1;function Wr(l){return{current:l}}function oe(l){0>Ho||(l.current=af[Ho],af[Ho]=null,Ho--)}function ce(l,c){Ho++,af[Ho]=l.current,l.current=c}var $r={},Ae=Wr($r),$e=Wr(!1),Pi=$r;function Vo(l,c){var d=l.type.contextTypes;if(!d)return $r;var x=l.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===c)return x.__reactInternalMemoizedMaskedChildContext;var S={},M;for(M in d)S[M]=c[M];return x&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=c,l.__reactInternalMemoizedMaskedChildContext=S),S}function qe(l){return l=l.childContextTypes,l!=null}function mu(){oe($e),oe(Ae)}function M0(l,c,d){if(Ae.current!==$r)throw Error(r(168));ce(Ae,c),ce($e,d)}function T0(l,c,d){var x=l.stateNode;if(l=c.childContextTypes,typeof x.getChildContext!="function")return d;x=x.getChildContext();for(var S in x)if(!(S in l))throw Error(r(108,lt(c)||"Unknown",S));return t({},d,x)}function _u(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||$r,Pi=Ae.current,ce(Ae,l),ce($e,$e.current),!0}function I0(l,c,d){var x=l.stateNode;if(!x)throw Error(r(169));d?(l=T0(l,c,Pi),x.__reactInternalMemoizedMergedChildContext=l,oe($e),oe(Ae),ce(Ae,l)):oe($e),ce($e,d)}var sf=null,Ni=null,WT=e.unstable_runWithPriority,lf=e.unstable_scheduleCallback,uf=e.unstable_cancelCallback,$T=e.unstable_shouldYield,D0=e.unstable_requestPaint,cf=e.unstable_now,qT=e.unstable_getCurrentPriorityLevel,bu=e.unstable_ImmediatePriority,A0=e.unstable_UserBlockingPriority,O0=e.unstable_NormalPriority,E0=e.unstable_LowPriority,P0=e.unstable_IdlePriority,hf={},XT=D0!==void 0?D0:function(){},mr=null,xu=null,pf=!1,N0=cf(),Oe=1e4>N0?cf:function(){return cf()-N0};function Go(){switch(qT()){case bu:return 99;case A0:return 98;case O0:return 97;case E0:return 96;case P0:return 95;default:throw Error(r(332))}}function L0(l){switch(l){case 99:return bu;case 98:return A0;case 97:return O0;case 96:return E0;case 95:return P0;default:throw Error(r(332))}}function Li(l,c){return l=L0(l),WT(l,c)}function ms(l,c,d){return l=L0(l),lf(l,c,d)}function Zn(){if(xu!==null){var l=xu;xu=null,uf(l)}R0()}function R0(){if(!pf&&mr!==null){pf=!0;var l=0;try{var c=mr;Li(99,function(){for(;l<c.length;l++){var d=c[l];do d=d(!0);while(d!==null)}}),mr=null}catch(d){throw mr!==null&&(mr=mr.slice(l+1)),lf(bu,Zn),d}finally{pf=!1}}}var YT=C.ReactCurrentBatchConfig;function Ln(l,c){if(l&&l.defaultProps){c=t({},c),l=l.defaultProps;for(var d in l)c[d]===void 0&&(c[d]=l[d]);return c}return c}var wu=Wr(null),Su=null,jo=null,ku=null;function ff(){ku=jo=Su=null}function df(l){var c=wu.current;oe(wu),l.type._context._currentValue=c}function z0(l,c){for(;l!==null;){var d=l.alternate;if((l.childLanes&c)===c){if(d===null||(d.childLanes&c)===c)break;d.childLanes|=c}else l.childLanes|=c,d!==null&&(d.childLanes|=c);l=l.return}}function Uo(l,c){Su=l,ku=jo=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&c)!==0&&(Rn=!0),l.firstContext=null)}function gn(l,c){if(ku!==l&&c!==!1&&c!==0)if((typeof c!="number"||c===1073741823)&&(ku=l,c=1073741823),c={context:l,observedBits:c,next:null},jo===null){if(Su===null)throw Error(r(308));jo=c,Su.dependencies={lanes:0,firstContext:c,responders:null}}else jo=jo.next=c;return l._currentValue}var qr=!1;function gf(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function B0(l,c){l=l.updateQueue,c.updateQueue===l&&(c.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function Xr(l,c){return{eventTime:l,lane:c,tag:0,payload:null,callback:null,next:null}}function Yr(l,c){if(l=l.updateQueue,l!==null){l=l.shared;var d=l.pending;d===null?c.next=c:(c.next=d.next,d.next=c),l.pending=c}}function F0(l,c){var d=l.updateQueue,x=l.alternate;if(x!==null&&(x=x.updateQueue,d===x)){var S=null,M=null;if(d=d.firstBaseUpdate,d!==null){do{var D={eventTime:d.eventTime,lane:d.lane,tag:d.tag,payload:d.payload,callback:d.callback,next:null};M===null?S=M=D:M=M.next=D,d=d.next}while(d!==null);M===null?S=M=c:M=M.next=c}else S=M=c;d={baseState:x.baseState,firstBaseUpdate:S,lastBaseUpdate:M,shared:x.shared,effects:x.effects},l.updateQueue=d;return}l=d.lastBaseUpdate,l===null?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=c}function _s(l,c,d,x){var S=l.updateQueue;qr=!1;var M=S.firstBaseUpdate,D=S.lastBaseUpdate,O=S.shared.pending;if(O!==null){S.shared.pending=null;var B=O,Q=B.next;B.next=null,D===null?M=Q:D.next=Q,D=B;var ct=l.alternate;if(ct!==null){ct=ct.updateQueue;var Ct=ct.lastBaseUpdate;Ct!==D&&(Ct===null?ct.firstBaseUpdate=Q:Ct.next=Q,ct.lastBaseUpdate=B)}}if(M!==null){Ct=S.baseState,D=0,ct=Q=B=null;do{O=M.lane;var it=M.eventTime;if((x&O)===O){ct!==null&&(ct=ct.next={eventTime:it,lane:0,tag:M.tag,payload:M.payload,callback:M.callback,next:null});t:{var dt=l,kt=M;switch(O=c,it=d,kt.tag){case 1:if(dt=kt.payload,typeof dt=="function"){Ct=dt.call(it,Ct,O);break t}Ct=dt;break t;case 3:dt.flags=dt.flags&-4097|64;case 0:if(dt=kt.payload,O=typeof dt=="function"?dt.call(it,Ct,O):dt,O==null)break t;Ct=t({},Ct,O);break t;case 2:qr=!0}}M.callback!==null&&(l.flags|=32,O=S.effects,O===null?S.effects=[M]:O.push(M))}else it={eventTime:it,lane:O,tag:M.tag,payload:M.payload,callback:M.callback,next:null},ct===null?(Q=ct=it,B=Ct):ct=ct.next=it,D|=O;if(M=M.next,M===null){if(O=S.shared.pending,O===null)break;M=O.next,O.next=null,S.lastBaseUpdate=O,S.shared.pending=null}}while(!0);ct===null&&(B=Ct),S.baseState=B,S.firstBaseUpdate=Q,S.lastBaseUpdate=ct,Os|=D,l.lanes=D,l.memoizedState=Ct}}function H0(l,c,d){if(l=c.effects,c.effects=null,l!==null)for(c=0;c<l.length;c++){var x=l[c],S=x.callback;if(S!==null){if(x.callback=null,x=d,typeof S!="function")throw Error(r(191,S));S.call(x)}}}var V0=new n.Component().refs;function Cu(l,c,d,x){c=l.memoizedState,d=d(x,c),d=d==null?c:t({},c,d),l.memoizedState=d,l.lanes===0&&(l.updateQueue.baseState=d)}var Mu={isMounted:function(l){return(l=l._reactInternals)?Oi(l)===l:!1},enqueueSetState:function(l,c,d){l=l._reactInternals;var x=ln(),S=Kr(l),M=Xr(x,S);M.payload=c,d!=null&&(M.callback=d),Yr(l,M),Jr(l,S,x)},enqueueReplaceState:function(l,c,d){l=l._reactInternals;var x=ln(),S=Kr(l),M=Xr(x,S);M.tag=1,M.payload=c,d!=null&&(M.callback=d),Yr(l,M),Jr(l,S,x)},enqueueForceUpdate:function(l,c){l=l._reactInternals;var d=ln(),x=Kr(l),S=Xr(d,x);S.tag=2,c!=null&&(S.callback=c),Yr(l,S),Jr(l,x,d)}};function G0(l,c,d,x,S,M,D){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(x,M,D):c.prototype&&c.prototype.isPureReactComponent?!fs(d,x)||!fs(S,M):!0}function j0(l,c,d){var x=!1,S=$r,M=c.contextType;return typeof M=="object"&&M!==null?M=gn(M):(S=qe(c)?Pi:Ae.current,x=c.contextTypes,M=(x=x!=null)?Vo(l,S):$r),c=new c(d,M),l.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Mu,l.stateNode=c,c._reactInternals=l,x&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=S,l.__reactInternalMemoizedMaskedChildContext=M),c}function U0(l,c,d,x){l=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(d,x),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(d,x),c.state!==l&&Mu.enqueueReplaceState(c,c.state,null)}function yf(l,c,d,x){var S=l.stateNode;S.props=d,S.state=l.memoizedState,S.refs=V0,gf(l);var M=c.contextType;typeof M=="object"&&M!==null?S.context=gn(M):(M=qe(c)?Pi:Ae.current,S.context=Vo(l,M)),_s(l,d,S,x),S.state=l.memoizedState,M=c.getDerivedStateFromProps,typeof M=="function"&&(Cu(l,c,M,d),S.state=l.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(c=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),c!==S.state&&Mu.enqueueReplaceState(S,S.state,null),_s(l,d,S,x),S.state=l.memoizedState),typeof S.componentDidMount=="function"&&(l.flags|=4)}var Tu=Array.isArray;function bs(l,c,d){if(l=d.ref,l!==null&&typeof l!="function"&&typeof l!="object"){if(d._owner){if(d=d._owner,d){if(d.tag!==1)throw Error(r(309));var x=d.stateNode}if(!x)throw Error(r(147,l));var S=""+l;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===S?c.ref:(c=function(M){var D=x.refs;D===V0&&(D=x.refs={}),M===null?delete D[S]:D[S]=M},c._stringRef=S,c)}if(typeof l!="string")throw Error(r(284));if(!d._owner)throw Error(r(290,l))}return l}function Iu(l,c){if(l.type!=="textarea")throw Error(r(31,Object.prototype.toString.call(c)==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":c))}function W0(l){function c($,H){if(l){var j=$.lastEffect;j!==null?(j.nextEffect=H,$.lastEffect=H):$.firstEffect=$.lastEffect=H,H.nextEffect=null,H.flags=8}}function d($,H){if(!l)return null;for(;H!==null;)c($,H),H=H.sibling;return null}function x($,H){for($=new Map;H!==null;)H.key!==null?$.set(H.key,H):$.set(H.index,H),H=H.sibling;return $}function S($,H){return $=ni($,H),$.index=0,$.sibling=null,$}function M($,H,j){return $.index=j,l?(j=$.alternate,j!==null?(j=j.index,j<H?($.flags=2,H):j):($.flags=2,H)):H}function D($){return l&&$.alternate===null&&($.flags=2),$}function O($,H,j,tt){return H===null||H.tag!==6?(H=Kf(j,$.mode,tt),H.return=$,H):(H=S(H,j),H.return=$,H)}function B($,H,j,tt){return H!==null&&H.elementType===j.type?(tt=S(H,j.props),tt.ref=bs($,H,j),tt.return=$,tt):(tt=$u(j.type,j.key,j.props,null,$.mode,tt),tt.ref=bs($,H,j),tt.return=$,tt)}function Q($,H,j,tt){return H===null||H.tag!==4||H.stateNode.containerInfo!==j.containerInfo||H.stateNode.implementation!==j.implementation?(H=Jf(j,$.mode,tt),H.return=$,H):(H=S(H,j.children||[]),H.return=$,H)}function ct($,H,j,tt,rt){return H===null||H.tag!==7?(H=Ko(j,$.mode,tt,rt),H.return=$,H):(H=S(H,j),H.return=$,H)}function Ct($,H,j){if(typeof H=="string"||typeof H=="number")return H=Kf(""+H,$.mode,j),H.return=$,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case I:return j=$u(H.type,H.key,H.props,null,$.mode,j),j.ref=bs($,null,H),j.return=$,j;case A:return H=Jf(H,$.mode,j),H.return=$,H}if(Tu(H)||et(H))return H=Ko(H,$.mode,j,null),H.return=$,H;Iu($,H)}return null}function it($,H,j,tt){var rt=H!==null?H.key:null;if(typeof j=="string"||typeof j=="number")return rt!==null?null:O($,H,""+j,tt);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case I:return j.key===rt?j.type===E?ct($,H,j.props.children,tt,rt):B($,H,j,tt):null;case A:return j.key===rt?Q($,H,j,tt):null}if(Tu(j)||et(j))return rt!==null?null:ct($,H,j,tt,null);Iu($,j)}return null}function dt($,H,j,tt,rt){if(typeof tt=="string"||typeof tt=="number")return $=$.get(j)||null,O(H,$,""+tt,rt);if(typeof tt=="object"&&tt!==null){switch(tt.$$typeof){case I:return $=$.get(tt.key===null?j:tt.key)||null,tt.type===E?ct(H,$,tt.props.children,rt,tt.key):B(H,$,tt,rt);case A:return $=$.get(tt.key===null?j:tt.key)||null,Q(H,$,tt,rt)}if(Tu(tt)||et(tt))return $=$.get(j)||null,ct(H,$,tt,rt,null);Iu(H,tt)}return null}function kt($,H,j,tt){for(var rt=null,It=null,ft=H,Dt=H=0,Nt=null;ft!==null&&Dt<j.length;Dt++){ft.index>Dt?(Nt=ft,ft=null):Nt=ft.sibling;var Pt=it($,ft,j[Dt],tt);if(Pt===null){ft===null&&(ft=Nt);break}l&&ft&&Pt.alternate===null&&c($,ft),H=M(Pt,H,Dt),It===null?rt=Pt:It.sibling=Pt,It=Pt,ft=Nt}if(Dt===j.length)return d($,ft),rt;if(ft===null){for(;Dt<j.length;Dt++)ft=Ct($,j[Dt],tt),ft!==null&&(H=M(ft,H,Dt),It===null?rt=ft:It.sibling=ft,It=ft);return rt}for(ft=x($,ft);Dt<j.length;Dt++)Nt=dt(ft,$,Dt,j[Dt],tt),Nt!==null&&(l&&Nt.alternate!==null&&ft.delete(Nt.key===null?Dt:Nt.key),H=M(Nt,H,Dt),It===null?rt=Nt:It.sibling=Nt,It=Nt);return l&&ft.forEach(function(ri){return c($,ri)}),rt}function _t($,H,j,tt){var rt=et(j);if(typeof rt!="function")throw Error(r(150));if(j=rt.call(j),j==null)throw Error(r(151));for(var It=rt=null,ft=H,Dt=H=0,Nt=null,Pt=j.next();ft!==null&&!Pt.done;Dt++,Pt=j.next()){ft.index>Dt?(Nt=ft,ft=null):Nt=ft.sibling;var ri=it($,ft,Pt.value,tt);if(ri===null){ft===null&&(ft=Nt);break}l&&ft&&ri.alternate===null&&c($,ft),H=M(ri,H,Dt),It===null?rt=ri:It.sibling=ri,It=ri,ft=Nt}if(Pt.done)return d($,ft),rt;if(ft===null){for(;!Pt.done;Dt++,Pt=j.next())Pt=Ct($,Pt.value,tt),Pt!==null&&(H=M(Pt,H,Dt),It===null?rt=Pt:It.sibling=Pt,It=Pt);return rt}for(ft=x($,ft);!Pt.done;Dt++,Pt=j.next())Pt=dt(ft,$,Dt,Pt.value,tt),Pt!==null&&(l&&Pt.alternate!==null&&ft.delete(Pt.key===null?Dt:Pt.key),H=M(Pt,H,Dt),It===null?rt=Pt:It.sibling=Pt,It=Pt);return l&&ft.forEach(function(MI){return c($,MI)}),rt}return function($,H,j,tt){var rt=typeof j=="object"&&j!==null&&j.type===E&&j.key===null;rt&&(j=j.props.children);var It=typeof j=="object"&&j!==null;if(It)switch(j.$$typeof){case I:t:{for(It=j.key,rt=H;rt!==null;){if(rt.key===It){switch(rt.tag){case 7:if(j.type===E){d($,rt.sibling),H=S(rt,j.props.children),H.return=$,$=H;break t}break;default:if(rt.elementType===j.type){d($,rt.sibling),H=S(rt,j.props),H.ref=bs($,rt,j),H.return=$,$=H;break t}}d($,rt);break}else c($,rt);rt=rt.sibling}j.type===E?(H=Ko(j.props.children,$.mode,tt,j.key),H.return=$,$=H):(tt=$u(j.type,j.key,j.props,null,$.mode,tt),tt.ref=bs($,H,j),tt.return=$,$=tt)}return D($);case A:t:{for(rt=j.key;H!==null;){if(H.key===rt)if(H.tag===4&&H.stateNode.containerInfo===j.containerInfo&&H.stateNode.implementation===j.implementation){d($,H.sibling),H=S(H,j.children||[]),H.return=$,$=H;break t}else{d($,H);break}else c($,H);H=H.sibling}H=Jf(j,$.mode,tt),H.return=$,$=H}return D($)}if(typeof j=="string"||typeof j=="number")return j=""+j,H!==null&&H.tag===6?(d($,H.sibling),H=S(H,j),H.return=$,$=H):(d($,H),H=Kf(j,$.mode,tt),H.return=$,$=H),D($);if(Tu(j))return kt($,H,j,tt);if(et(j))return _t($,H,j,tt);if(It&&Iu($,j),typeof j>"u"&&!rt)switch($.tag){case 1:case 22:case 0:case 11:case 15:throw Error(r(152,lt($.type)||"Component"))}return d($,H)}}var Du=W0(!0),$0=W0(!1),xs={},Qn=Wr(xs),ws=Wr(xs),Ss=Wr(xs);function Ri(l){if(l===xs)throw Error(r(174));return l}function vf(l,c){switch(ce(Ss,c),ce(ws,l),ce(Qn,xs),l=c.nodeType,l){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:xp(null,"");break;default:l=l===8?c.parentNode:c,c=l.namespaceURI||null,l=l.tagName,c=xp(c,l)}oe(Qn),ce(Qn,c)}function Wo(){oe(Qn),oe(ws),oe(Ss)}function q0(l){Ri(Ss.current);var c=Ri(Qn.current),d=xp(c,l.type);c!==d&&(ce(ws,l),ce(Qn,d))}function mf(l){ws.current===l&&(oe(Qn),oe(ws))}var he=Wr(0);function Au(l){for(var c=l;c!==null;){if(c.tag===13){var d=c.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||d.data==="$?"||d.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&64)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===l)break;for(;c.sibling===null;){if(c.return===null||c.return===l)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var _r=null,Zr=null,Kn=!1;function X0(l,c){var d=mn(5,null,null,0);d.elementType="DELETED",d.type="DELETED",d.stateNode=c,d.return=l,d.flags=8,l.lastEffect!==null?(l.lastEffect.nextEffect=d,l.lastEffect=d):l.firstEffect=l.lastEffect=d}function Y0(l,c){switch(l.tag){case 5:var d=l.type;return c=c.nodeType!==1||d.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(l.stateNode=c,!0):!1;case 6:return c=l.pendingProps===""||c.nodeType!==3?null:c,c!==null?(l.stateNode=c,!0):!1;case 13:return!1;default:return!1}}function _f(l){if(Kn){var c=Zr;if(c){var d=c;if(!Y0(l,c)){if(c=zo(d.nextSibling),!c||!Y0(l,c)){l.flags=l.flags&-1025|2,Kn=!1,_r=l;return}X0(_r,d)}_r=l,Zr=zo(c.firstChild)}else l.flags=l.flags&-1025|2,Kn=!1,_r=l}}function Z0(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;_r=l}function Ou(l){if(l!==_r)return!1;if(!Kn)return Z0(l),Kn=!0,!1;var c=l.type;if(l.tag!==5||c!=="head"&&c!=="body"&&!nf(c,l.memoizedProps))for(c=Zr;c;)X0(l,c),c=zo(c.nextSibling);if(Z0(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));t:{for(l=l.nextSibling,c=0;l;){if(l.nodeType===8){var d=l.data;if(d==="/$"){if(c===0){Zr=zo(l.nextSibling);break t}c--}else d!=="$"&&d!=="$!"&&d!=="$?"||c++}l=l.nextSibling}Zr=null}}else Zr=_r?zo(l.stateNode.nextSibling):null;return!0}function bf(){Zr=_r=null,Kn=!1}var $o=[];function xf(){for(var l=0;l<$o.length;l++)$o[l]._workInProgressVersionPrimary=null;$o.length=0}var ks=C.ReactCurrentDispatcher,yn=C.ReactCurrentBatchConfig,Cs=0,ge=null,Ee=null,Me=null,Eu=!1,Ms=!1;function Xe(){throw Error(r(321))}function wf(l,c){if(c===null)return!1;for(var d=0;d<c.length&&d<l.length;d++)if(!dn(l[d],c[d]))return!1;return!0}function Sf(l,c,d,x,S,M){if(Cs=M,ge=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,ks.current=l===null||l.memoizedState===null?QT:KT,l=d(x,S),Ms){M=0;do{if(Ms=!1,!(25>M))throw Error(r(301));M+=1,Me=Ee=null,c.updateQueue=null,ks.current=JT,l=d(x,S)}while(Ms)}if(ks.current=Ru,c=Ee!==null&&Ee.next!==null,Cs=0,Me=Ee=ge=null,Eu=!1,c)throw Error(r(300));return l}function zi(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Me===null?ge.memoizedState=Me=l:Me=Me.next=l,Me}function Bi(){if(Ee===null){var l=ge.alternate;l=l!==null?l.memoizedState:null}else l=Ee.next;var c=Me===null?ge.memoizedState:Me.next;if(c!==null)Me=c,Ee=l;else{if(l===null)throw Error(r(310));Ee=l,l={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Me===null?ge.memoizedState=Me=l:Me=Me.next=l}return Me}function Jn(l,c){return typeof c=="function"?c(l):c}function Ts(l){var c=Bi(),d=c.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=l;var x=Ee,S=x.baseQueue,M=d.pending;if(M!==null){if(S!==null){var D=S.next;S.next=M.next,M.next=D}x.baseQueue=S=M,d.pending=null}if(S!==null){S=S.next,x=x.baseState;var O=D=M=null,B=S;do{var Q=B.lane;if((Cs&Q)===Q)O!==null&&(O=O.next={lane:0,action:B.action,eagerReducer:B.eagerReducer,eagerState:B.eagerState,next:null}),x=B.eagerReducer===l?B.eagerState:l(x,B.action);else{var ct={lane:Q,action:B.action,eagerReducer:B.eagerReducer,eagerState:B.eagerState,next:null};O===null?(D=O=ct,M=x):O=O.next=ct,ge.lanes|=Q,Os|=Q}B=B.next}while(B!==null&&B!==S);O===null?M=x:O.next=D,dn(x,c.memoizedState)||(Rn=!0),c.memoizedState=x,c.baseState=M,c.baseQueue=O,d.lastRenderedState=x}return[c.memoizedState,d.dispatch]}function Is(l){var c=Bi(),d=c.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=l;var x=d.dispatch,S=d.pending,M=c.memoizedState;if(S!==null){d.pending=null;var D=S=S.next;do M=l(M,D.action),D=D.next;while(D!==S);dn(M,c.memoizedState)||(Rn=!0),c.memoizedState=M,c.baseQueue===null&&(c.baseState=M),d.lastRenderedState=M}return[M,x]}function Q0(l,c,d){var x=c._getVersion;x=x(c._source);var S=c._workInProgressVersionPrimary;if(S!==null?l=S===x:(l=l.mutableReadLanes,(l=(Cs&l)===l)&&(c._workInProgressVersionPrimary=x,$o.push(c))),l)return d(c._source);throw $o.push(c),Error(r(350))}function K0(l,c,d,x){var S=Ge;if(S===null)throw Error(r(349));var M=c._getVersion,D=M(c._source),O=ks.current,B=O.useState(function(){return Q0(S,c,d)}),Q=B[1],ct=B[0];B=Me;var Ct=l.memoizedState,it=Ct.refs,dt=it.getSnapshot,kt=Ct.source;Ct=Ct.subscribe;var _t=ge;return l.memoizedState={refs:it,source:c,subscribe:x},O.useEffect(function(){it.getSnapshot=d,it.setSnapshot=Q;var $=M(c._source);if(!dn(D,$)){$=d(c._source),dn(ct,$)||(Q($),$=Kr(_t),S.mutableReadLanes|=$&S.pendingLanes),$=S.mutableReadLanes,S.entangledLanes|=$;for(var H=S.entanglements,j=$;0<j;){var tt=31-Gr(j),rt=1<<tt;H[tt]|=$,j&=~rt}}},[d,c,x]),O.useEffect(function(){return x(c._source,function(){var $=it.getSnapshot,H=it.setSnapshot;try{H($(c._source));var j=Kr(_t);S.mutableReadLanes|=j&S.pendingLanes}catch(tt){H(function(){throw tt})}})},[c,x]),dn(dt,d)&&dn(kt,c)&&dn(Ct,x)||(l={pending:null,dispatch:null,lastRenderedReducer:Jn,lastRenderedState:ct},l.dispatch=Q=Tf.bind(null,ge,l),B.queue=l,B.baseQueue=null,ct=Q0(S,c,d),B.memoizedState=B.baseState=ct),ct}function J0(l,c,d){var x=Bi();return K0(x,l,c,d)}function Ds(l){var c=zi();return typeof l=="function"&&(l=l()),c.memoizedState=c.baseState=l,l=c.queue={pending:null,dispatch:null,lastRenderedReducer:Jn,lastRenderedState:l},l=l.dispatch=Tf.bind(null,ge,l),[c.memoizedState,l]}function Pu(l,c,d,x){return l={tag:l,create:c,destroy:d,deps:x,next:null},c=ge.updateQueue,c===null?(c={lastEffect:null},ge.updateQueue=c,c.lastEffect=l.next=l):(d=c.lastEffect,d===null?c.lastEffect=l.next=l:(x=d.next,d.next=l,l.next=x,c.lastEffect=l)),l}function t1(l){var c=zi();return l={current:l},c.memoizedState=l}function Nu(){return Bi().memoizedState}function kf(l,c,d,x){var S=zi();ge.flags|=l,S.memoizedState=Pu(1|c,d,void 0,x===void 0?null:x)}function Cf(l,c,d,x){var S=Bi();x=x===void 0?null:x;var M=void 0;if(Ee!==null){var D=Ee.memoizedState;if(M=D.destroy,x!==null&&wf(x,D.deps)){Pu(c,d,M,x);return}}ge.flags|=l,S.memoizedState=Pu(1|c,d,M,x)}function e1(l,c){return kf(516,4,l,c)}function Lu(l,c){return Cf(516,4,l,c)}function n1(l,c){return Cf(4,2,l,c)}function r1(l,c){if(typeof c=="function")return l=l(),c(l),function(){c(null)};if(c!=null)return l=l(),c.current=l,function(){c.current=null}}function i1(l,c,d){return d=d!=null?d.concat([l]):null,Cf(4,2,r1.bind(null,c,l),d)}function Mf(){}function o1(l,c){var d=Bi();c=c===void 0?null:c;var x=d.memoizedState;return x!==null&&c!==null&&wf(c,x[1])?x[0]:(d.memoizedState=[l,c],l)}function a1(l,c){var d=Bi();c=c===void 0?null:c;var x=d.memoizedState;return x!==null&&c!==null&&wf(c,x[1])?x[0]:(l=l(),d.memoizedState=[l,c],l)}function ZT(l,c){var d=Go();Li(98>d?98:d,function(){l(!0)}),Li(97<d?97:d,function(){var x=yn.transition;yn.transition=1;try{l(!1),c()}finally{yn.transition=x}})}function Tf(l,c,d){var x=ln(),S=Kr(l),M={lane:S,action:d,eagerReducer:null,eagerState:null,next:null},D=c.pending;if(D===null?M.next=M:(M.next=D.next,D.next=M),c.pending=M,D=l.alternate,l===ge||D!==null&&D===ge)Ms=Eu=!0;else{if(l.lanes===0&&(D===null||D.lanes===0)&&(D=c.lastRenderedReducer,D!==null))try{var O=c.lastRenderedState,B=D(O,d);if(M.eagerReducer=D,M.eagerState=B,dn(B,O))return}catch{}finally{}Jr(l,S,x)}}var Ru={readContext:gn,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useMutableSource:Xe,useOpaqueIdentifier:Xe,unstable_isNewReconciler:!1},QT={readContext:gn,useCallback:function(l,c){return zi().memoizedState=[l,c===void 0?null:c],l},useContext:gn,useEffect:e1,useImperativeHandle:function(l,c,d){return d=d!=null?d.concat([l]):null,kf(4,2,r1.bind(null,c,l),d)},useLayoutEffect:function(l,c){return kf(4,2,l,c)},useMemo:function(l,c){var d=zi();return c=c===void 0?null:c,l=l(),d.memoizedState=[l,c],l},useReducer:function(l,c,d){var x=zi();return c=d!==void 0?d(c):c,x.memoizedState=x.baseState=c,l=x.queue={pending:null,dispatch:null,lastRenderedReducer:l,lastRenderedState:c},l=l.dispatch=Tf.bind(null,ge,l),[x.memoizedState,l]},useRef:t1,useState:Ds,useDebugValue:Mf,useDeferredValue:function(l){var c=Ds(l),d=c[0],x=c[1];return e1(function(){var S=yn.transition;yn.transition=1;try{x(l)}finally{yn.transition=S}},[l]),d},useTransition:function(){var l=Ds(!1),c=l[0];return l=ZT.bind(null,l[1]),t1(l),[l,c]},useMutableSource:function(l,c,d){var x=zi();return x.memoizedState={refs:{getSnapshot:c,setSnapshot:null},source:l,subscribe:d},K0(x,l,c,d)},useOpaqueIdentifier:function(){if(Kn){var l=!1,c=UT(function(){throw l||(l=!0,d("r:"+(of++).toString(36))),Error(r(355))}),d=Ds(c)[1];return(ge.mode&2)===0&&(ge.flags|=516,Pu(5,function(){d("r:"+(of++).toString(36))},void 0,null)),c}return c="r:"+(of++).toString(36),Ds(c),c},unstable_isNewReconciler:!1},KT={readContext:gn,useCallback:o1,useContext:gn,useEffect:Lu,useImperativeHandle:i1,useLayoutEffect:n1,useMemo:a1,useReducer:Ts,useRef:Nu,useState:function(){return Ts(Jn)},useDebugValue:Mf,useDeferredValue:function(l){var c=Ts(Jn),d=c[0],x=c[1];return Lu(function(){var S=yn.transition;yn.transition=1;try{x(l)}finally{yn.transition=S}},[l]),d},useTransition:function(){var l=Ts(Jn)[0];return[Nu().current,l]},useMutableSource:J0,useOpaqueIdentifier:function(){return Ts(Jn)[0]},unstable_isNewReconciler:!1},JT={readContext:gn,useCallback:o1,useContext:gn,useEffect:Lu,useImperativeHandle:i1,useLayoutEffect:n1,useMemo:a1,useReducer:Is,useRef:Nu,useState:function(){return Is(Jn)},useDebugValue:Mf,useDeferredValue:function(l){var c=Is(Jn),d=c[0],x=c[1];return Lu(function(){var S=yn.transition;yn.transition=1;try{x(l)}finally{yn.transition=S}},[l]),d},useTransition:function(){var l=Is(Jn)[0];return[Nu().current,l]},useMutableSource:J0,useOpaqueIdentifier:function(){return Is(Jn)[0]},unstable_isNewReconciler:!1},tI=C.ReactCurrentOwner,Rn=!1;function Ye(l,c,d,x){c.child=l===null?$0(c,null,d,x):Du(c,l.child,d,x)}function s1(l,c,d,x,S){d=d.render;var M=c.ref;return Uo(c,S),x=Sf(l,c,d,x,M,S),l!==null&&!Rn?(c.updateQueue=l.updateQueue,c.flags&=-517,l.lanes&=~S,br(l,c,S)):(c.flags|=1,Ye(l,c,x,S),c.child)}function l1(l,c,d,x,S,M){if(l===null){var D=d.type;return typeof D=="function"&&!Zf(D)&&D.defaultProps===void 0&&d.compare===null&&d.defaultProps===void 0?(c.tag=15,c.type=D,u1(l,c,D,x,S,M)):(l=$u(d.type,null,x,c,c.mode,M),l.ref=c.ref,l.return=c,c.child=l)}return D=l.child,(S&M)===0&&(S=D.memoizedProps,d=d.compare,d=d!==null?d:fs,d(S,x)&&l.ref===c.ref)?br(l,c,M):(c.flags|=1,l=ni(D,x),l.ref=c.ref,l.return=c,c.child=l)}function u1(l,c,d,x,S,M){if(l!==null&&fs(l.memoizedProps,x)&&l.ref===c.ref)if(Rn=!1,(M&S)!==0)(l.flags&16384)!==0&&(Rn=!0);else return c.lanes=l.lanes,br(l,c,M);return Df(l,c,d,x,M)}function If(l,c,d){var x=c.pendingProps,S=x.children,M=l!==null?l.memoizedState:null;if(x.mode==="hidden"||x.mode==="unstable-defer-without-hiding")if((c.mode&4)===0)c.memoizedState={baseLanes:0},Wu(c,d);else if((d&1073741824)!==0)c.memoizedState={baseLanes:0},Wu(c,M!==null?M.baseLanes:d);else return l=M!==null?M.baseLanes|d:d,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:l},Wu(c,l),null;else M!==null?(x=M.baseLanes|d,c.memoizedState=null):x=d,Wu(c,x);return Ye(l,c,S,d),c.child}function c1(l,c){var d=c.ref;(l===null&&d!==null||l!==null&&l.ref!==d)&&(c.flags|=128)}function Df(l,c,d,x,S){var M=qe(d)?Pi:Ae.current;return M=Vo(c,M),Uo(c,S),d=Sf(l,c,d,x,M,S),l!==null&&!Rn?(c.updateQueue=l.updateQueue,c.flags&=-517,l.lanes&=~S,br(l,c,S)):(c.flags|=1,Ye(l,c,d,S),c.child)}function h1(l,c,d,x,S){if(qe(d)){var M=!0;_u(c)}else M=!1;if(Uo(c,S),c.stateNode===null)l!==null&&(l.alternate=null,c.alternate=null,c.flags|=2),j0(c,d,x),yf(c,d,x,S),x=!0;else if(l===null){var D=c.stateNode,O=c.memoizedProps;D.props=O;var B=D.context,Q=d.contextType;typeof Q=="object"&&Q!==null?Q=gn(Q):(Q=qe(d)?Pi:Ae.current,Q=Vo(c,Q));var ct=d.getDerivedStateFromProps,Ct=typeof ct=="function"||typeof D.getSnapshotBeforeUpdate=="function";Ct||typeof D.UNSAFE_componentWillReceiveProps!="function"&&typeof D.componentWillReceiveProps!="function"||(O!==x||B!==Q)&&U0(c,D,x,Q),qr=!1;var it=c.memoizedState;D.state=it,_s(c,x,D,S),B=c.memoizedState,O!==x||it!==B||$e.current||qr?(typeof ct=="function"&&(Cu(c,d,ct,x),B=c.memoizedState),(O=qr||G0(c,d,O,x,it,B,Q))?(Ct||typeof D.UNSAFE_componentWillMount!="function"&&typeof D.componentWillMount!="function"||(typeof D.componentWillMount=="function"&&D.componentWillMount(),typeof D.UNSAFE_componentWillMount=="function"&&D.UNSAFE_componentWillMount()),typeof D.componentDidMount=="function"&&(c.flags|=4)):(typeof D.componentDidMount=="function"&&(c.flags|=4),c.memoizedProps=x,c.memoizedState=B),D.props=x,D.state=B,D.context=Q,x=O):(typeof D.componentDidMount=="function"&&(c.flags|=4),x=!1)}else{D=c.stateNode,B0(l,c),O=c.memoizedProps,Q=c.type===c.elementType?O:Ln(c.type,O),D.props=Q,Ct=c.pendingProps,it=D.context,B=d.contextType,typeof B=="object"&&B!==null?B=gn(B):(B=qe(d)?Pi:Ae.current,B=Vo(c,B));var dt=d.getDerivedStateFromProps;(ct=typeof dt=="function"||typeof D.getSnapshotBeforeUpdate=="function")||typeof D.UNSAFE_componentWillReceiveProps!="function"&&typeof D.componentWillReceiveProps!="function"||(O!==Ct||it!==B)&&U0(c,D,x,B),qr=!1,it=c.memoizedState,D.state=it,_s(c,x,D,S);var kt=c.memoizedState;O!==Ct||it!==kt||$e.current||qr?(typeof dt=="function"&&(Cu(c,d,dt,x),kt=c.memoizedState),(Q=qr||G0(c,d,Q,x,it,kt,B))?(ct||typeof D.UNSAFE_componentWillUpdate!="function"&&typeof D.componentWillUpdate!="function"||(typeof D.componentWillUpdate=="function"&&D.componentWillUpdate(x,kt,B),typeof D.UNSAFE_componentWillUpdate=="function"&&D.UNSAFE_componentWillUpdate(x,kt,B)),typeof D.componentDidUpdate=="function"&&(c.flags|=4),typeof D.getSnapshotBeforeUpdate=="function"&&(c.flags|=256)):(typeof D.componentDidUpdate!="function"||O===l.memoizedProps&&it===l.memoizedState||(c.flags|=4),typeof D.getSnapshotBeforeUpdate!="function"||O===l.memoizedProps&&it===l.memoizedState||(c.flags|=256),c.memoizedProps=x,c.memoizedState=kt),D.props=x,D.state=kt,D.context=B,x=Q):(typeof D.componentDidUpdate!="function"||O===l.memoizedProps&&it===l.memoizedState||(c.flags|=4),typeof D.getSnapshotBeforeUpdate!="function"||O===l.memoizedProps&&it===l.memoizedState||(c.flags|=256),x=!1)}return Af(l,c,d,x,M,S)}function Af(l,c,d,x,S,M){c1(l,c);var D=(c.flags&64)!==0;if(!x&&!D)return S&&I0(c,d,!1),br(l,c,M);x=c.stateNode,tI.current=c;var O=D&&typeof d.getDerivedStateFromError!="function"?null:x.render();return c.flags|=1,l!==null&&D?(c.child=Du(c,l.child,null,M),c.child=Du(c,null,O,M)):Ye(l,c,O,M),c.memoizedState=x.state,S&&I0(c,d,!0),c.child}function p1(l){var c=l.stateNode;c.pendingContext?M0(l,c.pendingContext,c.pendingContext!==c.context):c.context&&M0(l,c.context,!1),vf(l,c.containerInfo)}var zu={dehydrated:null,retryLane:0};function f1(l,c,d){var x=c.pendingProps,S=he.current,M=!1,D;return(D=(c.flags&64)!==0)||(D=l!==null&&l.memoizedState===null?!1:(S&2)!==0),D?(M=!0,c.flags&=-65):l!==null&&l.memoizedState===null||x.fallback===void 0||x.unstable_avoidThisFallback===!0||(S|=1),ce(he,S&1),l===null?(x.fallback!==void 0&&_f(c),l=x.children,S=x.fallback,M?(l=d1(c,l,S,d),c.child.memoizedState={baseLanes:d},c.memoizedState=zu,l):typeof x.unstable_expectedLoadTime=="number"?(l=d1(c,l,S,d),c.child.memoizedState={baseLanes:d},c.memoizedState=zu,c.lanes=33554432,l):(d=Qf({mode:"visible",children:l},c.mode,d,null),d.return=c,c.child=d)):l.memoizedState!==null?M?(x=y1(l,c,x.children,x.fallback,d),M=c.child,S=l.child.memoizedState,M.memoizedState=S===null?{baseLanes:d}:{baseLanes:S.baseLanes|d},M.childLanes=l.childLanes&~d,c.memoizedState=zu,x):(d=g1(l,c,x.children,d),c.memoizedState=null,d):M?(x=y1(l,c,x.children,x.fallback,d),M=c.child,S=l.child.memoizedState,M.memoizedState=S===null?{baseLanes:d}:{baseLanes:S.baseLanes|d},M.childLanes=l.childLanes&~d,c.memoizedState=zu,x):(d=g1(l,c,x.children,d),c.memoizedState=null,d)}function d1(l,c,d,x){var S=l.mode,M=l.child;return c={mode:"hidden",children:c},(S&2)===0&&M!==null?(M.childLanes=0,M.pendingProps=c):M=Qf(c,S,0,null),d=Ko(d,S,x,null),M.return=l,d.return=l,M.sibling=d,l.child=M,d}function g1(l,c,d,x){var S=l.child;return l=S.sibling,d=ni(S,{mode:"visible",children:d}),(c.mode&2)===0&&(d.lanes=x),d.return=c,d.sibling=null,l!==null&&(l.nextEffect=null,l.flags=8,c.firstEffect=c.lastEffect=l),c.child=d}function y1(l,c,d,x,S){var M=c.mode,D=l.child;l=D.sibling;var O={mode:"hidden",children:d};return(M&2)===0&&c.child!==D?(d=c.child,d.childLanes=0,d.pendingProps=O,D=d.lastEffect,D!==null?(c.firstEffect=d.firstEffect,c.lastEffect=D,D.nextEffect=null):c.firstEffect=c.lastEffect=null):d=ni(D,O),l!==null?x=ni(l,x):(x=Ko(x,M,S,null),x.flags|=2),x.return=c,d.return=c,d.sibling=x,c.child=d,x}function v1(l,c){l.lanes|=c;var d=l.alternate;d!==null&&(d.lanes|=c),z0(l.return,c)}function Of(l,c,d,x,S,M){var D=l.memoizedState;D===null?l.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:x,tail:d,tailMode:S,lastEffect:M}:(D.isBackwards=c,D.rendering=null,D.renderingStartTime=0,D.last=x,D.tail=d,D.tailMode=S,D.lastEffect=M)}function m1(l,c,d){var x=c.pendingProps,S=x.revealOrder,M=x.tail;if(Ye(l,c,x.children,d),x=he.current,(x&2)!==0)x=x&1|2,c.flags|=64;else{if(l!==null&&(l.flags&64)!==0)t:for(l=c.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&v1(l,d);else if(l.tag===19)v1(l,d);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===c)break t;for(;l.sibling===null;){if(l.return===null||l.return===c)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}x&=1}if(ce(he,x),(c.mode&2)===0)c.memoizedState=null;else switch(S){case"forwards":for(d=c.child,S=null;d!==null;)l=d.alternate,l!==null&&Au(l)===null&&(S=d),d=d.sibling;d=S,d===null?(S=c.child,c.child=null):(S=d.sibling,d.sibling=null),Of(c,!1,S,d,M,c.lastEffect);break;case"backwards":for(d=null,S=c.child,c.child=null;S!==null;){if(l=S.alternate,l!==null&&Au(l)===null){c.child=S;break}l=S.sibling,S.sibling=d,d=S,S=l}Of(c,!0,d,null,M,c.lastEffect);break;case"together":Of(c,!1,null,null,void 0,c.lastEffect);break;default:c.memoizedState=null}return c.child}function br(l,c,d){if(l!==null&&(c.dependencies=l.dependencies),Os|=c.lanes,(d&c.childLanes)!==0){if(l!==null&&c.child!==l.child)throw Error(r(153));if(c.child!==null){for(l=c.child,d=ni(l,l.pendingProps),c.child=d,d.return=c;l.sibling!==null;)l=l.sibling,d=d.sibling=ni(l,l.pendingProps),d.return=c;d.sibling=null}return c.child}return null}var _1,Ef,b1,x1;_1=function(l,c){for(var d=c.child;d!==null;){if(d.tag===5||d.tag===6)l.appendChild(d.stateNode);else if(d.tag!==4&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===c)break;for(;d.sibling===null;){if(d.return===null||d.return===c)return;d=d.return}d.sibling.return=d.return,d=d.sibling}},Ef=function(){},b1=function(l,c,d,x){var S=l.memoizedProps;if(S!==x){l=c.stateNode,Ri(Qn.current);var M=null;switch(d){case"input":S=de(l,S),x=de(l,x),M=[];break;case"option":S=re(l,S),x=re(l,x),M=[];break;case"select":S=t({},S,{value:void 0}),x=t({},x,{value:void 0}),M=[];break;case"textarea":S=Di(l,S),x=Di(l,x),M=[];break;default:typeof S.onClick!="function"&&typeof x.onClick=="function"&&(l.onclick=du)}wp(d,x);var D;d=null;for(Q in S)if(!x.hasOwnProperty(Q)&&S.hasOwnProperty(Q)&&S[Q]!=null)if(Q==="style"){var O=S[Q];for(D in O)O.hasOwnProperty(D)&&(d||(d={}),d[D]="")}else Q!=="dangerouslySetInnerHTML"&&Q!=="children"&&Q!=="suppressContentEditableWarning"&&Q!=="suppressHydrationWarning"&&Q!=="autoFocus"&&(o.hasOwnProperty(Q)?M||(M=[]):(M=M||[]).push(Q,null));for(Q in x){var B=x[Q];if(O=S==null?void 0:S[Q],x.hasOwnProperty(Q)&&B!==O&&(B!=null||O!=null))if(Q==="style")if(O){for(D in O)!O.hasOwnProperty(D)||B&&B.hasOwnProperty(D)||(d||(d={}),d[D]="");for(D in B)B.hasOwnProperty(D)&&O[D]!==B[D]&&(d||(d={}),d[D]=B[D])}else d||(M||(M=[]),M.push(Q,d)),d=B;else Q==="dangerouslySetInnerHTML"?(B=B?B.__html:void 0,O=O?O.__html:void 0,B!=null&&O!==B&&(M=M||[]).push(Q,B)):Q==="children"?typeof B!="string"&&typeof B!="number"||(M=M||[]).push(Q,""+B):Q!=="suppressContentEditableWarning"&&Q!=="suppressHydrationWarning"&&(o.hasOwnProperty(Q)?(B!=null&&Q==="onScroll"&&ie("scroll",l),M||O===B||(M=[])):typeof B=="object"&&B!==null&&B.$$typeof===J?B.toString():(M=M||[]).push(Q,B))}d&&(M=M||[]).push("style",d);var Q=M;(c.updateQueue=Q)&&(c.flags|=4)}},x1=function(l,c,d,x){d!==x&&(c.flags|=4)};function As(l,c){if(!Kn)switch(l.tailMode){case"hidden":c=l.tail;for(var d=null;c!==null;)c.alternate!==null&&(d=c),c=c.sibling;d===null?l.tail=null:d.sibling=null;break;case"collapsed":d=l.tail;for(var x=null;d!==null;)d.alternate!==null&&(x=d),d=d.sibling;x===null?c||l.tail===null?l.tail=null:l.tail.sibling=null:x.sibling=null}}function eI(l,c,d){var x=c.pendingProps;switch(c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return qe(c.type)&&mu(),null;case 3:return Wo(),oe($e),oe(Ae),xf(),x=c.stateNode,x.pendingContext&&(x.context=x.pendingContext,x.pendingContext=null),(l===null||l.child===null)&&(Ou(c)?c.flags|=4:x.hydrate||(c.flags|=256)),Ef(c),null;case 5:mf(c);var S=Ri(Ss.current);if(d=c.type,l!==null&&c.stateNode!=null)b1(l,c,d,x,S),l.ref!==c.ref&&(c.flags|=128);else{if(!x){if(c.stateNode===null)throw Error(r(166));return null}if(l=Ri(Qn.current),Ou(c)){x=c.stateNode,d=c.type;var M=c.memoizedProps;switch(x[Ur]=c,x[yu]=M,d){case"dialog":ie("cancel",x),ie("close",x);break;case"iframe":case"object":case"embed":ie("load",x);break;case"video":case"audio":for(l=0;l<gs.length;l++)ie(gs[l],x);break;case"source":ie("error",x);break;case"img":case"image":case"link":ie("error",x),ie("load",x);break;case"details":ie("toggle",x);break;case"input":Rr(x,M),ie("invalid",x);break;case"select":x._wrapperState={wasMultiple:!!M.multiple},ie("invalid",x);break;case"textarea":Nn(x,M),ie("invalid",x)}wp(d,M),l=null;for(var D in M)M.hasOwnProperty(D)&&(S=M[D],D==="children"?typeof S=="string"?x.textContent!==S&&(l=["children",S]):typeof S=="number"&&x.textContent!==""+S&&(l=["children",""+S]):o.hasOwnProperty(D)&&S!=null&&D==="onScroll"&&ie("scroll",x));switch(d){case"input":Et(x),Br(x,M,!0);break;case"textarea":Et(x),vm(x);break;case"select":case"option":break;default:typeof M.onClick=="function"&&(x.onclick=du)}x=l,c.updateQueue=x,x!==null&&(c.flags|=4)}else{switch(D=S.nodeType===9?S:S.ownerDocument,l===bp.html&&(l=mm(d)),l===bp.html?d==="script"?(l=D.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild)):typeof x.is=="string"?l=D.createElement(d,{is:x.is}):(l=D.createElement(d),d==="select"&&(D=l,x.multiple?D.multiple=!0:x.size&&(D.size=x.size))):l=D.createElementNS(l,d),l[Ur]=c,l[yu]=x,_1(l,c,!1,!1),c.stateNode=l,D=Sp(d,x),d){case"dialog":ie("cancel",l),ie("close",l),S=x;break;case"iframe":case"object":case"embed":ie("load",l),S=x;break;case"video":case"audio":for(S=0;S<gs.length;S++)ie(gs[S],l);S=x;break;case"source":ie("error",l),S=x;break;case"img":case"image":case"link":ie("error",l),ie("load",l),S=x;break;case"details":ie("toggle",l),S=x;break;case"input":Rr(l,x),S=de(l,x),ie("invalid",l);break;case"option":S=re(l,x);break;case"select":l._wrapperState={wasMultiple:!!x.multiple},S=t({},x,{value:void 0}),ie("invalid",l);break;case"textarea":Nn(l,x),S=Di(l,x),ie("invalid",l);break;default:S=x}wp(d,S);var O=S;for(M in O)if(O.hasOwnProperty(M)){var B=O[M];M==="style"?xm(l,B):M==="dangerouslySetInnerHTML"?(B=B?B.__html:void 0,B!=null&&_m(l,B)):M==="children"?typeof B=="string"?(d!=="textarea"||B!=="")&&Qa(l,B):typeof B=="number"&&Qa(l,""+B):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(o.hasOwnProperty(M)?B!=null&&M==="onScroll"&&ie("scroll",l):B!=null&&T(l,M,B,D))}switch(d){case"input":Et(l),Br(l,x,!1);break;case"textarea":Et(l),vm(l);break;case"option":x.value!=null&&l.setAttribute("value",""+st(x.value));break;case"select":l.multiple=!!x.multiple,M=x.value,M!=null?Xn(l,!!x.multiple,M,!1):x.defaultValue!=null&&Xn(l,!!x.multiple,x.defaultValue,!0);break;default:typeof S.onClick=="function"&&(l.onclick=du)}x0(d,x)&&(c.flags|=4)}c.ref!==null&&(c.flags|=128)}return null;case 6:if(l&&c.stateNode!=null)x1(l,c,l.memoizedProps,x);else{if(typeof x!="string"&&c.stateNode===null)throw Error(r(166));d=Ri(Ss.current),Ri(Qn.current),Ou(c)?(x=c.stateNode,d=c.memoizedProps,x[Ur]=c,x.nodeValue!==d&&(c.flags|=4)):(x=(d.nodeType===9?d:d.ownerDocument).createTextNode(x),x[Ur]=c,c.stateNode=x)}return null;case 13:return oe(he),x=c.memoizedState,(c.flags&64)!==0?(c.lanes=d,c):(x=x!==null,d=!1,l===null?c.memoizedProps.fallback!==void 0&&Ou(c):d=l.memoizedState!==null,x&&!d&&(c.mode&2)!==0&&(l===null&&c.memoizedProps.unstable_avoidThisFallback!==!0||(he.current&1)!==0?Te===0&&(Te=3):((Te===0||Te===3)&&(Te=4),Ge===null||(Os&134217727)===0&&(Xo&134217727)===0||Zo(Ge,Pe))),(x||d)&&(c.flags|=4),null);case 4:return Wo(),Ef(c),l===null&&y0(c.stateNode.containerInfo),null;case 10:return df(c),null;case 17:return qe(c.type)&&mu(),null;case 19:if(oe(he),x=c.memoizedState,x===null)return null;if(M=(c.flags&64)!==0,D=x.rendering,D===null)if(M)As(x,!1);else{if(Te!==0||l!==null&&(l.flags&64)!==0)for(l=c.child;l!==null;){if(D=Au(l),D!==null){for(c.flags|=64,As(x,!1),M=D.updateQueue,M!==null&&(c.updateQueue=M,c.flags|=4),x.lastEffect===null&&(c.firstEffect=null),c.lastEffect=x.lastEffect,x=d,d=c.child;d!==null;)M=d,l=x,M.flags&=2,M.nextEffect=null,M.firstEffect=null,M.lastEffect=null,D=M.alternate,D===null?(M.childLanes=0,M.lanes=l,M.child=null,M.memoizedProps=null,M.memoizedState=null,M.updateQueue=null,M.dependencies=null,M.stateNode=null):(M.childLanes=D.childLanes,M.lanes=D.lanes,M.child=D.child,M.memoizedProps=D.memoizedProps,M.memoizedState=D.memoizedState,M.updateQueue=D.updateQueue,M.type=D.type,l=D.dependencies,M.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),d=d.sibling;return ce(he,he.current&1|2),c.child}l=l.sibling}x.tail!==null&&Oe()>jf&&(c.flags|=64,M=!0,As(x,!1),c.lanes=33554432)}else{if(!M)if(l=Au(D),l!==null){if(c.flags|=64,M=!0,d=l.updateQueue,d!==null&&(c.updateQueue=d,c.flags|=4),As(x,!0),x.tail===null&&x.tailMode==="hidden"&&!D.alternate&&!Kn)return c=c.lastEffect=x.lastEffect,c!==null&&(c.nextEffect=null),null}else 2*Oe()-x.renderingStartTime>jf&&d!==1073741824&&(c.flags|=64,M=!0,As(x,!1),c.lanes=33554432);x.isBackwards?(D.sibling=c.child,c.child=D):(d=x.last,d!==null?d.sibling=D:c.child=D,x.last=D)}return x.tail!==null?(d=x.tail,x.rendering=d,x.tail=d.sibling,x.lastEffect=c.lastEffect,x.renderingStartTime=Oe(),d.sibling=null,c=he.current,ce(he,M?c&1|2:c&1),d):null;case 23:case 24:return Yf(),l!==null&&l.memoizedState!==null!=(c.memoizedState!==null)&&x.mode!=="unstable-defer-without-hiding"&&(c.flags|=4),null}throw Error(r(156,c.tag))}function nI(l){switch(l.tag){case 1:qe(l.type)&&mu();var c=l.flags;return c&4096?(l.flags=c&-4097|64,l):null;case 3:if(Wo(),oe($e),oe(Ae),xf(),c=l.flags,(c&64)!==0)throw Error(r(285));return l.flags=c&-4097|64,l;case 5:return mf(l),null;case 13:return oe(he),c=l.flags,c&4096?(l.flags=c&-4097|64,l):null;case 19:return oe(he),null;case 4:return Wo(),null;case 10:return df(l),null;case 23:case 24:return Yf(),null;default:return null}}function Pf(l,c){try{var d="",x=c;do d+=vt(x),x=x.return;while(x);var S=d}catch(M){S=`
46
+ Error generating stack: `+M.message+`
47
+ `+M.stack}return{value:l,source:c,stack:S}}function Nf(l,c){try{console.error(c.value)}catch(d){setTimeout(function(){throw d})}}var rI=typeof WeakMap=="function"?WeakMap:Map;function w1(l,c,d){d=Xr(-1,d),d.tag=3,d.payload={element:null};var x=c.value;return d.callback=function(){Hu||(Hu=!0,Uf=x),Nf(l,c)},d}function S1(l,c,d){d=Xr(-1,d),d.tag=3;var x=l.type.getDerivedStateFromError;if(typeof x=="function"){var S=c.value;d.payload=function(){return Nf(l,c),x(S)}}var M=l.stateNode;return M!==null&&typeof M.componentDidCatch=="function"&&(d.callback=function(){typeof x!="function"&&(tr===null?tr=new Set([this]):tr.add(this),Nf(l,c));var D=c.stack;this.componentDidCatch(c.value,{componentStack:D!==null?D:""})}),d}var iI=typeof WeakSet=="function"?WeakSet:Set;function k1(l){var c=l.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){ei(l,d)}else c.current=null}function oI(l,c){switch(c.tag){case 0:case 11:case 15:case 22:return;case 1:if(c.flags&256&&l!==null){var d=l.memoizedProps,x=l.memoizedState;l=c.stateNode,c=l.getSnapshotBeforeUpdate(c.elementType===c.type?d:Ln(c.type,d),x),l.__reactInternalSnapshotBeforeUpdate=c}return;case 3:c.flags&256&&rf(c.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(r(163))}function aI(l,c,d){switch(d.tag){case 0:case 11:case 15:case 22:if(c=d.updateQueue,c=c!==null?c.lastEffect:null,c!==null){l=c=c.next;do{if((l.tag&3)===3){var x=l.create;l.destroy=x()}l=l.next}while(l!==c)}if(c=d.updateQueue,c=c!==null?c.lastEffect:null,c!==null){l=c=c.next;do{var S=l;x=S.next,S=S.tag,(S&4)!==0&&(S&1)!==0&&(F1(d,l),dI(d,l)),l=x}while(l!==c)}return;case 1:l=d.stateNode,d.flags&4&&(c===null?l.componentDidMount():(x=d.elementType===d.type?c.memoizedProps:Ln(d.type,c.memoizedProps),l.componentDidUpdate(x,c.memoizedState,l.__reactInternalSnapshotBeforeUpdate))),c=d.updateQueue,c!==null&&H0(d,c,l);return;case 3:if(c=d.updateQueue,c!==null){if(l=null,d.child!==null)switch(d.child.tag){case 5:l=d.child.stateNode;break;case 1:l=d.child.stateNode}H0(d,c,l)}return;case 5:l=d.stateNode,c===null&&d.flags&4&&x0(d.type,d.memoizedProps)&&l.focus();return;case 6:return;case 4:return;case 12:return;case 13:d.memoizedState===null&&(d=d.alternate,d!==null&&(d=d.memoizedState,d!==null&&(d=d.dehydrated,d!==null&&zm(d))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(r(163))}function C1(l,c){for(var d=l;;){if(d.tag===5){var x=d.stateNode;if(c)x=x.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{x=d.stateNode;var S=d.memoizedProps.style;S=S!=null&&S.hasOwnProperty("display")?S.display:null,x.style.display=bm("display",S)}}else if(d.tag===6)d.stateNode.nodeValue=c?"":d.memoizedProps;else if((d.tag!==23&&d.tag!==24||d.memoizedState===null||d===l)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===l)break;for(;d.sibling===null;){if(d.return===null||d.return===l)return;d=d.return}d.sibling.return=d.return,d=d.sibling}}function M1(l,c){if(Ni&&typeof Ni.onCommitFiberUnmount=="function")try{Ni.onCommitFiberUnmount(sf,c)}catch{}switch(c.tag){case 0:case 11:case 14:case 15:case 22:if(l=c.updateQueue,l!==null&&(l=l.lastEffect,l!==null)){var d=l=l.next;do{var x=d,S=x.destroy;if(x=x.tag,S!==void 0)if((x&4)!==0)F1(c,d);else{x=c;try{S()}catch(M){ei(x,M)}}d=d.next}while(d!==l)}break;case 1:if(k1(c),l=c.stateNode,typeof l.componentWillUnmount=="function")try{l.props=c.memoizedProps,l.state=c.memoizedState,l.componentWillUnmount()}catch(M){ei(c,M)}break;case 5:k1(c);break;case 4:A1(l,c)}}function T1(l){l.alternate=null,l.child=null,l.dependencies=null,l.firstEffect=null,l.lastEffect=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.return=null,l.updateQueue=null}function I1(l){return l.tag===5||l.tag===3||l.tag===4}function D1(l){t:{for(var c=l.return;c!==null;){if(I1(c))break t;c=c.return}throw Error(r(160))}var d=c;switch(c=d.stateNode,d.tag){case 5:var x=!1;break;case 3:c=c.containerInfo,x=!0;break;case 4:c=c.containerInfo,x=!0;break;default:throw Error(r(161))}d.flags&16&&(Qa(c,""),d.flags&=-17);t:e:for(d=l;;){for(;d.sibling===null;){if(d.return===null||I1(d.return)){d=null;break t}d=d.return}for(d.sibling.return=d.return,d=d.sibling;d.tag!==5&&d.tag!==6&&d.tag!==18;){if(d.flags&2||d.child===null||d.tag===4)continue e;d.child.return=d,d=d.child}if(!(d.flags&2)){d=d.stateNode;break t}}x?Lf(l,d,c):Rf(l,d,c)}function Lf(l,c,d){var x=l.tag,S=x===5||x===6;if(S)l=S?l.stateNode:l.stateNode.instance,c?d.nodeType===8?d.parentNode.insertBefore(l,c):d.insertBefore(l,c):(d.nodeType===8?(c=d.parentNode,c.insertBefore(l,d)):(c=d,c.appendChild(l)),d=d._reactRootContainer,d!=null||c.onclick!==null||(c.onclick=du));else if(x!==4&&(l=l.child,l!==null))for(Lf(l,c,d),l=l.sibling;l!==null;)Lf(l,c,d),l=l.sibling}function Rf(l,c,d){var x=l.tag,S=x===5||x===6;if(S)l=S?l.stateNode:l.stateNode.instance,c?d.insertBefore(l,c):d.appendChild(l);else if(x!==4&&(l=l.child,l!==null))for(Rf(l,c,d),l=l.sibling;l!==null;)Rf(l,c,d),l=l.sibling}function A1(l,c){for(var d=c,x=!1,S,M;;){if(!x){x=d.return;t:for(;;){if(x===null)throw Error(r(160));switch(S=x.stateNode,x.tag){case 5:M=!1;break t;case 3:S=S.containerInfo,M=!0;break t;case 4:S=S.containerInfo,M=!0;break t}x=x.return}x=!0}if(d.tag===5||d.tag===6){t:for(var D=l,O=d,B=O;;)if(M1(D,B),B.child!==null&&B.tag!==4)B.child.return=B,B=B.child;else{if(B===O)break t;for(;B.sibling===null;){if(B.return===null||B.return===O)break t;B=B.return}B.sibling.return=B.return,B=B.sibling}M?(D=S,O=d.stateNode,D.nodeType===8?D.parentNode.removeChild(O):D.removeChild(O)):S.removeChild(d.stateNode)}else if(d.tag===4){if(d.child!==null){S=d.stateNode.containerInfo,M=!0,d.child.return=d,d=d.child;continue}}else if(M1(l,d),d.child!==null){d.child.return=d,d=d.child;continue}if(d===c)break;for(;d.sibling===null;){if(d.return===null||d.return===c)return;d=d.return,d.tag===4&&(x=!1)}d.sibling.return=d.return,d=d.sibling}}function zf(l,c){switch(c.tag){case 0:case 11:case 14:case 15:case 22:var d=c.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var x=d=d.next;do(x.tag&3)===3&&(l=x.destroy,x.destroy=void 0,l!==void 0&&l()),x=x.next;while(x!==d)}return;case 1:return;case 5:if(d=c.stateNode,d!=null){x=c.memoizedProps;var S=l!==null?l.memoizedProps:x;l=c.type;var M=c.updateQueue;if(c.updateQueue=null,M!==null){for(d[yu]=x,l==="input"&&x.type==="radio"&&x.name!=null&&me(d,x),Sp(l,S),c=Sp(l,x),S=0;S<M.length;S+=2){var D=M[S],O=M[S+1];D==="style"?xm(d,O):D==="dangerouslySetInnerHTML"?_m(d,O):D==="children"?Qa(d,O):T(d,D,O,c)}switch(l){case"input":zr(d,x);break;case"textarea":ym(d,x);break;case"select":l=d._wrapperState.wasMultiple,d._wrapperState.wasMultiple=!!x.multiple,M=x.value,M!=null?Xn(d,!!x.multiple,M,!1):l!==!!x.multiple&&(x.defaultValue!=null?Xn(d,!!x.multiple,x.defaultValue,!0):Xn(d,!!x.multiple,x.multiple?[]:"",!1))}}}return;case 6:if(c.stateNode===null)throw Error(r(162));c.stateNode.nodeValue=c.memoizedProps;return;case 3:d=c.stateNode,d.hydrate&&(d.hydrate=!1,zm(d.containerInfo));return;case 12:return;case 13:c.memoizedState!==null&&(Gf=Oe(),C1(c.child,!0)),O1(c);return;case 19:O1(c);return;case 17:return;case 23:case 24:C1(c,c.memoizedState!==null);return}throw Error(r(163))}function O1(l){var c=l.updateQueue;if(c!==null){l.updateQueue=null;var d=l.stateNode;d===null&&(d=l.stateNode=new iI),c.forEach(function(x){var S=vI.bind(null,l,x);d.has(x)||(d.add(x),x.then(S,S))})}}function sI(l,c){return l!==null&&(l=l.memoizedState,l===null||l.dehydrated!==null)?(c=c.memoizedState,c!==null&&c.dehydrated===null):!1}var lI=Math.ceil,Bu=C.ReactCurrentDispatcher,Bf=C.ReactCurrentOwner,St=0,Ge=null,we=null,Pe=0,Fi=0,Ff=Wr(0),Te=0,Fu=null,qo=0,Os=0,Xo=0,Hf=0,Vf=null,Gf=0,jf=1/0;function Yo(){jf=Oe()+500}var ht=null,Hu=!1,Uf=null,tr=null,Qr=!1,Es=null,Ps=90,Wf=[],$f=[],xr=null,Ns=0,qf=null,Vu=-1,wr=0,Gu=0,Ls=null,ju=!1;function ln(){return(St&48)!==0?Oe():Vu!==-1?Vu:Vu=Oe()}function Kr(l){if(l=l.mode,(l&2)===0)return 1;if((l&4)===0)return Go()===99?1:2;if(wr===0&&(wr=qo),YT.transition!==0){Gu!==0&&(Gu=Vf!==null?Vf.pendingLanes:0),l=wr;var c=4186112&~Gu;return c&=-c,c===0&&(l=4186112&~l,c=l&-l,c===0&&(c=8192)),c}return l=Go(),(St&4)!==0&&l===98?l=ou(12,wr):(l=QM(l),l=ou(l,wr)),l}function Jr(l,c,d){if(50<Ns)throw Ns=0,qf=null,Error(r(185));if(l=Uu(l,c),l===null)return null;au(l,c,d),l===Ge&&(Xo|=c,Te===4&&Zo(l,Pe));var x=Go();c===1?(St&8)!==0&&(St&48)===0?Xf(l):(vn(l,d),St===0&&(Yo(),Zn())):((St&4)===0||x!==98&&x!==99||(xr===null?xr=new Set([l]):xr.add(l)),vn(l,d)),Vf=l}function Uu(l,c){l.lanes|=c;var d=l.alternate;for(d!==null&&(d.lanes|=c),d=l,l=l.return;l!==null;)l.childLanes|=c,d=l.alternate,d!==null&&(d.childLanes|=c),d=l,l=l.return;return d.tag===3?d.stateNode:null}function vn(l,c){for(var d=l.callbackNode,x=l.suspendedLanes,S=l.pingedLanes,M=l.expirationTimes,D=l.pendingLanes;0<D;){var O=31-Gr(D),B=1<<O,Q=M[O];if(Q===-1){if((B&x)===0||(B&S)!==0){Q=c,Oo(B);var ct=ee;M[O]=10<=ct?Q+250:6<=ct?Q+5e3:-1}}else Q<=c&&(l.expiredLanes|=B);D&=~B}if(x=ss(l,l===Ge?Pe:0),c=ee,x===0)d!==null&&(d!==hf&&uf(d),l.callbackNode=null,l.callbackPriority=0);else{if(d!==null){if(l.callbackPriority===c)return;d!==hf&&uf(d)}c===15?(d=Xf.bind(null,l),mr===null?(mr=[d],xu=lf(bu,R0)):mr.push(d),d=hf):c===14?d=ms(99,Xf.bind(null,l)):(d=KM(c),d=ms(d,E1.bind(null,l))),l.callbackPriority=c,l.callbackNode=d}}function E1(l){if(Vu=-1,Gu=wr=0,(St&48)!==0)throw Error(r(327));var c=l.callbackNode;if(ti()&&l.callbackNode!==c)return null;var d=ss(l,l===Ge?Pe:0);if(d===0)return null;var x=d,S=St;St|=16;var M=R1();(Ge!==l||Pe!==x)&&(Yo(),Qo(l,x));do try{hI();break}catch(O){L1(l,O)}while(!0);if(ff(),Bu.current=M,St=S,we!==null?x=0:(Ge=null,Pe=0,x=Te),(qo&Xo)!==0)Qo(l,0);else if(x!==0){if(x===2&&(St|=64,l.hydrate&&(l.hydrate=!1,rf(l.containerInfo)),d=Um(l),d!==0&&(x=Rs(l,d))),x===1)throw c=Fu,Qo(l,0),Zo(l,d),vn(l,Oe()),c;switch(l.finishedWork=l.current.alternate,l.finishedLanes=d,x){case 0:case 1:throw Error(r(345));case 2:Hi(l);break;case 3:if(Zo(l,d),(d&62914560)===d&&(x=Gf+500-Oe(),10<x)){if(ss(l,0)!==0)break;if(S=l.suspendedLanes,(S&d)!==d){ln(),l.pingedLanes|=l.suspendedLanes&S;break}l.timeoutHandle=w0(Hi.bind(null,l),x);break}Hi(l);break;case 4:if(Zo(l,d),(d&4186112)===d)break;for(x=l.eventTimes,S=-1;0<d;){var D=31-Gr(d);M=1<<D,D=x[D],D>S&&(S=D),d&=~M}if(d=S,d=Oe()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*lI(d/1960))-d,10<d){l.timeoutHandle=w0(Hi.bind(null,l),d);break}Hi(l);break;case 5:Hi(l);break;default:throw Error(r(329))}}return vn(l,Oe()),l.callbackNode===c?E1.bind(null,l):null}function Zo(l,c){for(c&=~Hf,c&=~Xo,l.suspendedLanes|=c,l.pingedLanes&=~c,l=l.expirationTimes;0<c;){var d=31-Gr(c),x=1<<d;l[d]=-1,c&=~x}}function Xf(l){if((St&48)!==0)throw Error(r(327));if(ti(),l===Ge&&(l.expiredLanes&Pe)!==0){var c=Pe,d=Rs(l,c);(qo&Xo)!==0&&(c=ss(l,c),d=Rs(l,c))}else c=ss(l,0),d=Rs(l,c);if(l.tag!==0&&d===2&&(St|=64,l.hydrate&&(l.hydrate=!1,rf(l.containerInfo)),c=Um(l),c!==0&&(d=Rs(l,c))),d===1)throw d=Fu,Qo(l,0),Zo(l,c),vn(l,Oe()),d;return l.finishedWork=l.current.alternate,l.finishedLanes=c,Hi(l),vn(l,Oe()),null}function uI(){if(xr!==null){var l=xr;xr=null,l.forEach(function(c){c.expiredLanes|=24&c.pendingLanes,vn(c,Oe())})}Zn()}function P1(l,c){var d=St;St|=1;try{return l(c)}finally{St=d,St===0&&(Yo(),Zn())}}function N1(l,c){var d=St;St&=-2,St|=8;try{return l(c)}finally{St=d,St===0&&(Yo(),Zn())}}function Wu(l,c){ce(Ff,Fi),Fi|=c,qo|=c}function Yf(){Fi=Ff.current,oe(Ff)}function Qo(l,c){l.finishedWork=null,l.finishedLanes=0;var d=l.timeoutHandle;if(d!==-1&&(l.timeoutHandle=-1,jT(d)),we!==null)for(d=we.return;d!==null;){var x=d;switch(x.tag){case 1:x=x.type.childContextTypes,x!=null&&mu();break;case 3:Wo(),oe($e),oe(Ae),xf();break;case 5:mf(x);break;case 4:Wo();break;case 13:oe(he);break;case 19:oe(he);break;case 10:df(x);break;case 23:case 24:Yf()}d=d.return}Ge=l,we=ni(l.current,null),Pe=Fi=qo=c,Te=0,Fu=null,Hf=Xo=Os=0}function L1(l,c){do{var d=we;try{if(ff(),ks.current=Ru,Eu){for(var x=ge.memoizedState;x!==null;){var S=x.queue;S!==null&&(S.pending=null),x=x.next}Eu=!1}if(Cs=0,Me=Ee=ge=null,Ms=!1,Bf.current=null,d===null||d.return===null){Te=1,Fu=c,we=null;break}t:{var M=l,D=d.return,O=d,B=c;if(c=Pe,O.flags|=2048,O.firstEffect=O.lastEffect=null,B!==null&&typeof B=="object"&&typeof B.then=="function"){var Q=B;if((O.mode&2)===0){var ct=O.alternate;ct?(O.updateQueue=ct.updateQueue,O.memoizedState=ct.memoizedState,O.lanes=ct.lanes):(O.updateQueue=null,O.memoizedState=null)}var Ct=(he.current&1)!==0,it=D;do{var dt;if(dt=it.tag===13){var kt=it.memoizedState;if(kt!==null)dt=kt.dehydrated!==null;else{var _t=it.memoizedProps;dt=_t.fallback===void 0?!1:_t.unstable_avoidThisFallback!==!0?!0:!Ct}}if(dt){var $=it.updateQueue;if($===null){var H=new Set;H.add(Q),it.updateQueue=H}else $.add(Q);if((it.mode&2)===0){if(it.flags|=64,O.flags|=16384,O.flags&=-2981,O.tag===1)if(O.alternate===null)O.tag=17;else{var j=Xr(-1,1);j.tag=2,Yr(O,j)}O.lanes|=1;break t}B=void 0,O=c;var tt=M.pingCache;if(tt===null?(tt=M.pingCache=new rI,B=new Set,tt.set(Q,B)):(B=tt.get(Q),B===void 0&&(B=new Set,tt.set(Q,B))),!B.has(O)){B.add(O);var rt=yI.bind(null,M,Q,O);Q.then(rt,rt)}it.flags|=4096,it.lanes=c;break t}it=it.return}while(it!==null);B=Error((lt(O.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
48
+
49
+ Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Te!==5&&(Te=2),B=Pf(B,O),it=D;do{switch(it.tag){case 3:M=B,it.flags|=4096,c&=-c,it.lanes|=c;var It=w1(it,M,c);F0(it,It);break t;case 1:M=B;var ft=it.type,Dt=it.stateNode;if((it.flags&64)===0&&(typeof ft.getDerivedStateFromError=="function"||Dt!==null&&typeof Dt.componentDidCatch=="function"&&(tr===null||!tr.has(Dt)))){it.flags|=4096,c&=-c,it.lanes|=c;var Nt=S1(it,M,c);F0(it,Nt);break t}}it=it.return}while(it!==null)}B1(d)}catch(Pt){c=Pt,we===d&&d!==null&&(we=d=d.return);continue}break}while(!0)}function R1(){var l=Bu.current;return Bu.current=Ru,l===null?Ru:l}function Rs(l,c){var d=St;St|=16;var x=R1();Ge===l&&Pe===c||Qo(l,c);do try{cI();break}catch(S){L1(l,S)}while(!0);if(ff(),St=d,Bu.current=x,we!==null)throw Error(r(261));return Ge=null,Pe=0,Te}function cI(){for(;we!==null;)z1(we)}function hI(){for(;we!==null&&!$T();)z1(we)}function z1(l){var c=V1(l.alternate,l,Fi);l.memoizedProps=l.pendingProps,c===null?B1(l):we=c,Bf.current=null}function B1(l){var c=l;do{var d=c.alternate;if(l=c.return,(c.flags&2048)===0){if(d=eI(d,c,Fi),d!==null){we=d;return}if(d=c,d.tag!==24&&d.tag!==23||d.memoizedState===null||(Fi&1073741824)!==0||(d.mode&4)===0){for(var x=0,S=d.child;S!==null;)x|=S.lanes|S.childLanes,S=S.sibling;d.childLanes=x}l!==null&&(l.flags&2048)===0&&(l.firstEffect===null&&(l.firstEffect=c.firstEffect),c.lastEffect!==null&&(l.lastEffect!==null&&(l.lastEffect.nextEffect=c.firstEffect),l.lastEffect=c.lastEffect),1<c.flags&&(l.lastEffect!==null?l.lastEffect.nextEffect=c:l.firstEffect=c,l.lastEffect=c))}else{if(d=nI(c),d!==null){d.flags&=2047,we=d;return}l!==null&&(l.firstEffect=l.lastEffect=null,l.flags|=2048)}if(c=c.sibling,c!==null){we=c;return}we=c=l}while(c!==null);Te===0&&(Te=5)}function Hi(l){var c=Go();return Li(99,pI.bind(null,l,c)),null}function pI(l,c){do ti();while(Es!==null);if((St&48)!==0)throw Error(r(327));var d=l.finishedWork;if(d===null)return null;if(l.finishedWork=null,l.finishedLanes=0,d===l.current)throw Error(r(177));l.callbackNode=null;var x=d.lanes|d.childLanes,S=x,M=l.pendingLanes&~S;l.pendingLanes=S,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=S,l.mutableReadLanes&=S,l.entangledLanes&=S,S=l.entanglements;for(var D=l.eventTimes,O=l.expirationTimes;0<M;){var B=31-Gr(M),Q=1<<B;S[B]=0,D[B]=-1,O[B]=-1,M&=~Q}if(xr!==null&&(x&24)===0&&xr.has(l)&&xr.delete(l),l===Ge&&(we=Ge=null,Pe=0),1<d.flags?d.lastEffect!==null?(d.lastEffect.nextEffect=d,x=d.firstEffect):x=d:x=d.firstEffect,x!==null){if(S=St,St|=32,Bf.current=null,tf=su,D=c0(),Zp(D)){if("selectionStart"in D)O={start:D.selectionStart,end:D.selectionEnd};else t:if(O=(O=D.ownerDocument)&&O.defaultView||window,(Q=O.getSelection&&O.getSelection())&&Q.rangeCount!==0){O=Q.anchorNode,M=Q.anchorOffset,B=Q.focusNode,Q=Q.focusOffset;try{O.nodeType,B.nodeType}catch{O=null;break t}var ct=0,Ct=-1,it=-1,dt=0,kt=0,_t=D,$=null;e:for(;;){for(var H;_t!==O||M!==0&&_t.nodeType!==3||(Ct=ct+M),_t!==B||Q!==0&&_t.nodeType!==3||(it=ct+Q),_t.nodeType===3&&(ct+=_t.nodeValue.length),(H=_t.firstChild)!==null;)$=_t,_t=H;for(;;){if(_t===D)break e;if($===O&&++dt===M&&(Ct=ct),$===B&&++kt===Q&&(it=ct),(H=_t.nextSibling)!==null)break;_t=$,$=_t.parentNode}_t=H}O=Ct===-1||it===-1?null:{start:Ct,end:it}}else O=null;O=O||{start:0,end:0}}else O=null;ef={focusedElem:D,selectionRange:O},su=!1,Ls=null,ju=!1,ht=x;do try{fI()}catch(Pt){if(ht===null)throw Error(r(330));ei(ht,Pt),ht=ht.nextEffect}while(ht!==null);Ls=null,ht=x;do try{for(D=l;ht!==null;){var j=ht.flags;if(j&16&&Qa(ht.stateNode,""),j&128){var tt=ht.alternate;if(tt!==null){var rt=tt.ref;rt!==null&&(typeof rt=="function"?rt(null):rt.current=null)}}switch(j&1038){case 2:D1(ht),ht.flags&=-3;break;case 6:D1(ht),ht.flags&=-3,zf(ht.alternate,ht);break;case 1024:ht.flags&=-1025;break;case 1028:ht.flags&=-1025,zf(ht.alternate,ht);break;case 4:zf(ht.alternate,ht);break;case 8:O=ht,A1(D,O);var It=O.alternate;T1(O),It!==null&&T1(It)}ht=ht.nextEffect}}catch(Pt){if(ht===null)throw Error(r(330));ei(ht,Pt),ht=ht.nextEffect}while(ht!==null);if(rt=ef,tt=c0(),j=rt.focusedElem,D=rt.selectionRange,tt!==j&&j&&j.ownerDocument&&u0(j.ownerDocument.documentElement,j)){for(D!==null&&Zp(j)&&(tt=D.start,rt=D.end,rt===void 0&&(rt=tt),"selectionStart"in j?(j.selectionStart=tt,j.selectionEnd=Math.min(rt,j.value.length)):(rt=(tt=j.ownerDocument||document)&&tt.defaultView||window,rt.getSelection&&(rt=rt.getSelection(),O=j.textContent.length,It=Math.min(D.start,O),D=D.end===void 0?It:Math.min(D.end,O),!rt.extend&&It>D&&(O=D,D=It,It=O),O=l0(j,It),M=l0(j,D),O&&M&&(rt.rangeCount!==1||rt.anchorNode!==O.node||rt.anchorOffset!==O.offset||rt.focusNode!==M.node||rt.focusOffset!==M.offset)&&(tt=tt.createRange(),tt.setStart(O.node,O.offset),rt.removeAllRanges(),It>D?(rt.addRange(tt),rt.extend(M.node,M.offset)):(tt.setEnd(M.node,M.offset),rt.addRange(tt)))))),tt=[],rt=j;rt=rt.parentNode;)rt.nodeType===1&&tt.push({element:rt,left:rt.scrollLeft,top:rt.scrollTop});for(typeof j.focus=="function"&&j.focus(),j=0;j<tt.length;j++)rt=tt[j],rt.element.scrollLeft=rt.left,rt.element.scrollTop=rt.top}su=!!tf,ef=tf=null,l.current=d,ht=x;do try{for(j=l;ht!==null;){var ft=ht.flags;if(ft&36&&aI(j,ht.alternate,ht),ft&128){tt=void 0;var Dt=ht.ref;if(Dt!==null){var Nt=ht.stateNode;switch(ht.tag){case 5:tt=Nt;break;default:tt=Nt}typeof Dt=="function"?Dt(tt):Dt.current=tt}}ht=ht.nextEffect}}catch(Pt){if(ht===null)throw Error(r(330));ei(ht,Pt),ht=ht.nextEffect}while(ht!==null);ht=null,XT(),St=S}else l.current=d;if(Qr)Qr=!1,Es=l,Ps=c;else for(ht=x;ht!==null;)c=ht.nextEffect,ht.nextEffect=null,ht.flags&8&&(ft=ht,ft.sibling=null,ft.stateNode=null),ht=c;if(x=l.pendingLanes,x===0&&(tr=null),x===1?l===qf?Ns++:(Ns=0,qf=l):Ns=0,d=d.stateNode,Ni&&typeof Ni.onCommitFiberRoot=="function")try{Ni.onCommitFiberRoot(sf,d,void 0,(d.current.flags&64)===64)}catch{}if(vn(l,Oe()),Hu)throw Hu=!1,l=Uf,Uf=null,l;return(St&8)!==0||Zn(),null}function fI(){for(;ht!==null;){var l=ht.alternate;ju||Ls===null||((ht.flags&8)!==0?Am(ht,Ls)&&(ju=!0):ht.tag===13&&sI(l,ht)&&Am(ht,Ls)&&(ju=!0));var c=ht.flags;(c&256)!==0&&oI(l,ht),(c&512)===0||Qr||(Qr=!0,ms(97,function(){return ti(),null})),ht=ht.nextEffect}}function ti(){if(Ps!==90){var l=97<Ps?97:Ps;return Ps=90,Li(l,gI)}return!1}function dI(l,c){Wf.push(c,l),Qr||(Qr=!0,ms(97,function(){return ti(),null}))}function F1(l,c){$f.push(c,l),Qr||(Qr=!0,ms(97,function(){return ti(),null}))}function gI(){if(Es===null)return!1;var l=Es;if(Es=null,(St&48)!==0)throw Error(r(331));var c=St;St|=32;var d=$f;$f=[];for(var x=0;x<d.length;x+=2){var S=d[x],M=d[x+1],D=S.destroy;if(S.destroy=void 0,typeof D=="function")try{D()}catch(B){if(M===null)throw Error(r(330));ei(M,B)}}for(d=Wf,Wf=[],x=0;x<d.length;x+=2){S=d[x],M=d[x+1];try{var O=S.create;S.destroy=O()}catch(B){if(M===null)throw Error(r(330));ei(M,B)}}for(O=l.current.firstEffect;O!==null;)l=O.nextEffect,O.nextEffect=null,O.flags&8&&(O.sibling=null,O.stateNode=null),O=l;return St=c,Zn(),!0}function H1(l,c,d){c=Pf(d,c),c=w1(l,c,1),Yr(l,c),c=ln(),l=Uu(l,1),l!==null&&(au(l,1,c),vn(l,c))}function ei(l,c){if(l.tag===3)H1(l,l,c);else for(var d=l.return;d!==null;){if(d.tag===3){H1(d,l,c);break}else if(d.tag===1){var x=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&(tr===null||!tr.has(x))){l=Pf(c,l);var S=S1(d,l,1);if(Yr(d,S),S=ln(),d=Uu(d,1),d!==null)au(d,1,S),vn(d,S);else if(typeof x.componentDidCatch=="function"&&(tr===null||!tr.has(x)))try{x.componentDidCatch(c,l)}catch{}break}}d=d.return}}function yI(l,c,d){var x=l.pingCache;x!==null&&x.delete(c),c=ln(),l.pingedLanes|=l.suspendedLanes&d,Ge===l&&(Pe&d)===d&&(Te===4||Te===3&&(Pe&62914560)===Pe&&500>Oe()-Gf?Qo(l,0):Hf|=d),vn(l,c)}function vI(l,c){var d=l.stateNode;d!==null&&d.delete(c),c=0,c===0&&(c=l.mode,(c&2)===0?c=1:(c&4)===0?c=Go()===99?1:2:(wr===0&&(wr=qo),c=Eo(62914560&~wr),c===0&&(c=4194304))),d=ln(),l=Uu(l,c),l!==null&&(au(l,c,d),vn(l,d))}var V1;V1=function(l,c,d){var x=c.lanes;if(l!==null)if(l.memoizedProps!==c.pendingProps||$e.current)Rn=!0;else if((d&x)!==0)Rn=(l.flags&16384)!==0;else{switch(Rn=!1,c.tag){case 3:p1(c),bf();break;case 5:q0(c);break;case 1:qe(c.type)&&_u(c);break;case 4:vf(c,c.stateNode.containerInfo);break;case 10:x=c.memoizedProps.value;var S=c.type._context;ce(wu,S._currentValue),S._currentValue=x;break;case 13:if(c.memoizedState!==null)return(d&c.child.childLanes)!==0?f1(l,c,d):(ce(he,he.current&1),c=br(l,c,d),c!==null?c.sibling:null);ce(he,he.current&1);break;case 19:if(x=(d&c.childLanes)!==0,(l.flags&64)!==0){if(x)return m1(l,c,d);c.flags|=64}if(S=c.memoizedState,S!==null&&(S.rendering=null,S.tail=null,S.lastEffect=null),ce(he,he.current),x)break;return null;case 23:case 24:return c.lanes=0,If(l,c,d)}return br(l,c,d)}else Rn=!1;switch(c.lanes=0,c.tag){case 2:if(x=c.type,l!==null&&(l.alternate=null,c.alternate=null,c.flags|=2),l=c.pendingProps,S=Vo(c,Ae.current),Uo(c,d),S=Sf(null,c,x,l,S,d),c.flags|=1,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){if(c.tag=1,c.memoizedState=null,c.updateQueue=null,qe(x)){var M=!0;_u(c)}else M=!1;c.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,gf(c);var D=x.getDerivedStateFromProps;typeof D=="function"&&Cu(c,x,D,l),S.updater=Mu,c.stateNode=S,S._reactInternals=c,yf(c,x,l,d),c=Af(null,c,x,!0,M,d)}else c.tag=0,Ye(null,c,S,d),c=c.child;return c;case 16:S=c.elementType;t:{switch(l!==null&&(l.alternate=null,c.alternate=null,c.flags|=2),l=c.pendingProps,M=S._init,S=M(S._payload),c.type=S,M=c.tag=_I(S),l=Ln(S,l),M){case 0:c=Df(null,c,S,l,d);break t;case 1:c=h1(null,c,S,l,d);break t;case 11:c=s1(null,c,S,l,d);break t;case 14:c=l1(null,c,S,Ln(S.type,l),x,d);break t}throw Error(r(306,S,""))}return c;case 0:return x=c.type,S=c.pendingProps,S=c.elementType===x?S:Ln(x,S),Df(l,c,x,S,d);case 1:return x=c.type,S=c.pendingProps,S=c.elementType===x?S:Ln(x,S),h1(l,c,x,S,d);case 3:if(p1(c),x=c.updateQueue,l===null||x===null)throw Error(r(282));if(x=c.pendingProps,S=c.memoizedState,S=S!==null?S.element:null,B0(l,c),_s(c,x,null,d),x=c.memoizedState.element,x===S)bf(),c=br(l,c,d);else{if(S=c.stateNode,(M=S.hydrate)&&(Zr=zo(c.stateNode.containerInfo.firstChild),_r=c,M=Kn=!0),M){if(l=S.mutableSourceEagerHydrationData,l!=null)for(S=0;S<l.length;S+=2)M=l[S],M._workInProgressVersionPrimary=l[S+1],$o.push(M);for(d=$0(c,null,x,d),c.child=d;d;)d.flags=d.flags&-3|1024,d=d.sibling}else Ye(l,c,x,d),bf();c=c.child}return c;case 5:return q0(c),l===null&&_f(c),x=c.type,S=c.pendingProps,M=l!==null?l.memoizedProps:null,D=S.children,nf(x,S)?D=null:M!==null&&nf(x,M)&&(c.flags|=16),c1(l,c),Ye(l,c,D,d),c.child;case 6:return l===null&&_f(c),null;case 13:return f1(l,c,d);case 4:return vf(c,c.stateNode.containerInfo),x=c.pendingProps,l===null?c.child=Du(c,null,x,d):Ye(l,c,x,d),c.child;case 11:return x=c.type,S=c.pendingProps,S=c.elementType===x?S:Ln(x,S),s1(l,c,x,S,d);case 7:return Ye(l,c,c.pendingProps,d),c.child;case 8:return Ye(l,c,c.pendingProps.children,d),c.child;case 12:return Ye(l,c,c.pendingProps.children,d),c.child;case 10:t:{x=c.type._context,S=c.pendingProps,D=c.memoizedProps,M=S.value;var O=c.type._context;if(ce(wu,O._currentValue),O._currentValue=M,D!==null)if(O=D.value,M=dn(O,M)?0:(typeof x._calculateChangedBits=="function"?x._calculateChangedBits(O,M):1073741823)|0,M===0){if(D.children===S.children&&!$e.current){c=br(l,c,d);break t}}else for(O=c.child,O!==null&&(O.return=c);O!==null;){var B=O.dependencies;if(B!==null){D=O.child;for(var Q=B.firstContext;Q!==null;){if(Q.context===x&&(Q.observedBits&M)!==0){O.tag===1&&(Q=Xr(-1,d&-d),Q.tag=2,Yr(O,Q)),O.lanes|=d,Q=O.alternate,Q!==null&&(Q.lanes|=d),z0(O.return,d),B.lanes|=d;break}Q=Q.next}}else D=O.tag===10&&O.type===c.type?null:O.child;if(D!==null)D.return=O;else for(D=O;D!==null;){if(D===c){D=null;break}if(O=D.sibling,O!==null){O.return=D.return,D=O;break}D=D.return}O=D}Ye(l,c,S.children,d),c=c.child}return c;case 9:return S=c.type,M=c.pendingProps,x=M.children,Uo(c,d),S=gn(S,M.unstable_observedBits),x=x(S),c.flags|=1,Ye(l,c,x,d),c.child;case 14:return S=c.type,M=Ln(S,c.pendingProps),M=Ln(S.type,M),l1(l,c,S,M,x,d);case 15:return u1(l,c,c.type,c.pendingProps,x,d);case 17:return x=c.type,S=c.pendingProps,S=c.elementType===x?S:Ln(x,S),l!==null&&(l.alternate=null,c.alternate=null,c.flags|=2),c.tag=1,qe(x)?(l=!0,_u(c)):l=!1,Uo(c,d),j0(c,x,S),yf(c,x,S,d),Af(null,c,x,!0,l,d);case 19:return m1(l,c,d);case 23:return If(l,c,d);case 24:return If(l,c,d)}throw Error(r(156,c.tag))};function mI(l,c,d,x){this.tag=l,this.key=d,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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function mn(l,c,d,x){return new mI(l,c,d,x)}function Zf(l){return l=l.prototype,!(!l||!l.isReactComponent)}function _I(l){if(typeof l=="function")return Zf(l)?1:0;if(l!=null){if(l=l.$$typeof,l===G)return 11;if(l===nt)return 14}return 2}function ni(l,c){var d=l.alternate;return d===null?(d=mn(l.tag,c,l.key,l.mode),d.elementType=l.elementType,d.type=l.type,d.stateNode=l.stateNode,d.alternate=l,l.alternate=d):(d.pendingProps=c,d.type=l.type,d.flags=0,d.nextEffect=null,d.firstEffect=null,d.lastEffect=null),d.childLanes=l.childLanes,d.lanes=l.lanes,d.child=l.child,d.memoizedProps=l.memoizedProps,d.memoizedState=l.memoizedState,d.updateQueue=l.updateQueue,c=l.dependencies,d.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},d.sibling=l.sibling,d.index=l.index,d.ref=l.ref,d}function $u(l,c,d,x,S,M){var D=2;if(x=l,typeof l=="function")Zf(l)&&(D=1);else if(typeof l=="string")D=5;else t:switch(l){case E:return Ko(d.children,S,M,c);case at:D=8,S|=16;break;case P:D=8,S|=1;break;case L:return l=mn(12,d,c,S|8),l.elementType=L,l.type=L,l.lanes=M,l;case X:return l=mn(13,d,c,S),l.type=X,l.elementType=X,l.lanes=M,l;case Y:return l=mn(19,d,c,S),l.elementType=Y,l.lanes=M,l;case Z:return Qf(d,S,M,c);case q:return l=mn(24,d,c,S),l.elementType=q,l.lanes=M,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case N:D=10;break t;case F:D=9;break t;case G:D=11;break t;case nt:D=14;break t;case z:D=16,x=null;break t;case V:D=22;break t}throw Error(r(130,l==null?l:typeof l,""))}return c=mn(D,d,c,S),c.elementType=l,c.type=x,c.lanes=M,c}function Ko(l,c,d,x){return l=mn(7,l,x,c),l.lanes=d,l}function Qf(l,c,d,x){return l=mn(23,l,x,c),l.elementType=Z,l.lanes=d,l}function Kf(l,c,d){return l=mn(6,l,null,c),l.lanes=d,l}function Jf(l,c,d){return c=mn(4,l.children!==null?l.children:[],l.key,c),c.lanes=d,c.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},c}function bI(l,c,d){this.tag=c,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=d,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Bp(0),this.expirationTimes=Bp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bp(0),this.mutableSourceEagerHydrationData=null}function xI(l,c,d){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:A,key:x==null?null:""+x,children:l,containerInfo:c,implementation:d}}function qu(l,c,d,x){var S=c.current,M=ln(),D=Kr(S);t:if(d){d=d._reactInternals;e:{if(Oi(d)!==d||d.tag!==1)throw Error(r(170));var O=d;do{switch(O.tag){case 3:O=O.stateNode.context;break e;case 1:if(qe(O.type)){O=O.stateNode.__reactInternalMemoizedMergedChildContext;break e}}O=O.return}while(O!==null);throw Error(r(171))}if(d.tag===1){var B=d.type;if(qe(B)){d=T0(d,B,O);break t}}d=O}else d=$r;return c.context===null?c.context=d:c.pendingContext=d,c=Xr(M,D),c.payload={element:l},x=x===void 0?null:x,x!==null&&(c.callback=x),Yr(S,c),Jr(S,D,M),D}function td(l){if(l=l.current,!l.child)return null;switch(l.child.tag){case 5:return l.child.stateNode;default:return l.child.stateNode}}function G1(l,c){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var d=l.retryLane;l.retryLane=d!==0&&d<c?d:c}}function ed(l,c){G1(l,c),(l=l.alternate)&&G1(l,c)}function wI(){return null}function nd(l,c,d){var x=d!=null&&d.hydrationOptions!=null&&d.hydrationOptions.mutableSources||null;if(d=new bI(l,c,d!=null&&d.hydrate===!0),c=mn(3,null,null,c===2?7:c===1?3:0),d.current=c,c.stateNode=d,gf(c),l[Bo]=d.current,y0(l.nodeType===8?l.parentNode:l),x)for(l=0;l<x.length;l++){c=x[l];var S=c._getVersion;S=S(c._source),d.mutableSourceEagerHydrationData==null?d.mutableSourceEagerHydrationData=[c,S]:d.mutableSourceEagerHydrationData.push(c,S)}this._internalRoot=d}nd.prototype.render=function(l){qu(l,this._internalRoot,null,null)},nd.prototype.unmount=function(){var l=this._internalRoot,c=l.containerInfo;qu(null,l,null,function(){c[Bo]=null})};function zs(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11&&(l.nodeType!==8||l.nodeValue!==" react-mount-point-unstable "))}function SI(l,c){if(c||(c=l?l.nodeType===9?l.documentElement:l.firstChild:null,c=!(!c||c.nodeType!==1||!c.hasAttribute("data-reactroot"))),!c)for(var d;d=l.lastChild;)l.removeChild(d);return new nd(l,0,c?{hydrate:!0}:void 0)}function Xu(l,c,d,x,S){var M=d._reactRootContainer;if(M){var D=M._internalRoot;if(typeof S=="function"){var O=S;S=function(){var Q=td(D);O.call(Q)}}qu(c,D,l,S)}else{if(M=d._reactRootContainer=SI(d,x),D=M._internalRoot,typeof S=="function"){var B=S;S=function(){var Q=td(D);B.call(Q)}}N1(function(){qu(c,D,l,S)})}return td(D)}Om=function(l){if(l.tag===13){var c=ln();Jr(l,4,c),ed(l,4)}},Ep=function(l){if(l.tag===13){var c=ln();Jr(l,67108864,c),ed(l,67108864)}},Em=function(l){if(l.tag===13){var c=ln(),d=Kr(l);Jr(l,d,c),ed(l,d)}},Pm=function(l,c){return c()},Cp=function(l,c,d){switch(c){case"input":if(zr(l,d),c=d.name,d.type==="radio"&&c!=null){for(d=l;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<d.length;c++){var x=d[c];if(x!==l&&x.form===l.form){var S=vu(x);if(!S)throw Error(r(90));ue(x),zr(x,S)}}}break;case"textarea":ym(l,d);break;case"select":c=d.value,c!=null&&Xn(l,!!d.multiple,c,!1)}},Mp=P1,Cm=function(l,c,d,x,S){var M=St;St|=4;try{return Li(98,l.bind(null,c,d,x,S))}finally{St=M,St===0&&(Yo(),Zn())}},Tp=function(){(St&49)===0&&(uI(),ti())},Mm=function(l,c){var d=St;St|=2;try{return l(c)}finally{St=d,St===0&&(Yo(),Zn())}};function j1(l,c){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!zs(c))throw Error(r(200));return xI(l,c,null,d)}var kI={Events:[vs,Fo,vu,Sm,km,ti,{current:!1}]},Bs={findFiberByHostInstance:Ei,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},CI={bundleType:Bs.bundleType,version:Bs.version,rendererPackageName:Bs.rendererPackageName,rendererConfig:Bs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(l){return l=Dm(l),l===null?null:l.stateNode},findFiberByHostInstance:Bs.findFiberByHostInstance||wI,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yu.isDisabled&&Yu.supportsFiber)try{sf=Yu.inject(CI),Ni=Yu}catch{}}return un.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kI,un.createPortal=j1,un.findDOMNode=function(l){if(l==null)return null;if(l.nodeType===1)return l;var c=l._reactInternals;if(c===void 0)throw typeof l.render=="function"?Error(r(188)):Error(r(268,Object.keys(l)));return l=Dm(c),l=l===null?null:l.stateNode,l},un.flushSync=function(l,c){var d=St;if((d&48)!==0)return l(c);St|=1;try{if(l)return Li(99,l.bind(null,c))}finally{St=d,Zn()}},un.hydrate=function(l,c,d){if(!zs(c))throw Error(r(200));return Xu(null,l,c,!0,d)},un.render=function(l,c,d){if(!zs(c))throw Error(r(200));return Xu(null,l,c,!1,d)},un.unmountComponentAtNode=function(l){if(!zs(l))throw Error(r(40));return l._reactRootContainer?(N1(function(){Xu(null,null,l,!1,function(){l._reactRootContainer=null,l[Bo]=null})}),!0):!1},un.unstable_batchedUpdates=P1,un.unstable_createPortal=function(l,c){return j1(l,c,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},un.unstable_renderSubtreeIntoContainer=function(l,c,d,x){if(!zs(d))throw Error(r(200));if(l==null||l._reactInternals===void 0)throw Error(r(38));return Xu(l,c,d,!1,x)},un.version="17.0.2",un}var __;function KD(){if(__)return md.exports;__=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(t){console.error(t)}}return n(),md.exports=QD(),md.exports}var _d=KD();const JD=Jo(_d);var b_={exports:{}},bd,x_;function tA(){if(x_)return bd;x_=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return bd=n,bd}var xd,w_;function eA(){if(w_)return xd;w_=1;var n=tA();function t(){}function e(){}return e.resetWarningCache=t,xd=function(){function r(a,s,u,h,p,f){if(f!==n){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:e,resetWarningCache:t};return o.PropTypes=o,o},xd}var S_;function nA(){return S_||(S_=1,b_.exports=eA()()),b_.exports}var rA=nA();const iA=Jo(rA);var ii=er.createContext(null);function oA(n){n()}var k_=oA,aA=function(n){return k_=n},sA=function(){return k_},C_={notify:function(){}};function lA(){var n=sA(),t=null,e=null;return{clear:function(){t=null,e=null},notify:function(){n(function(){for(var r=t;r;)r.callback(),r=r.next})},get:function(){for(var r=[],i=t;i;)r.push(i),i=i.next;return r},subscribe:function(r){var i=!0,o=e={callback:r,next:null,prev:e};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:e=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}var M_=(function(){function n(e,r){this.store=e,this.parentSub=r,this.unsubscribe=null,this.listeners=C_,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=n.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return!!this.unsubscribe},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=lA())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=C_)},n})();function uA(n){var t=n.store,e=n.context,r=n.children,i=ne.useMemo(function(){var s=new M_(t);return s.onStateChange=s.notifyNestedSubs,{store:t,subscription:s}},[t]),o=ne.useMemo(function(){return t.getState()},[t]);ne.useEffect(function(){var s=i.subscription;return s.trySubscribe(),o!==t.getState()&&s.notifyNestedSubs(),function(){s.tryUnsubscribe(),s.onStateChange=null}},[i,o]);var a=e||ii;return er.createElement(a.Provider,{value:i},r)}function wd(){return wd=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)({}).hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},wd.apply(null,arguments)}function cA(n,t){if(n==null)return{};var e={};for(var r in n)if({}.hasOwnProperty.call(n,r)){if(t.indexOf(r)!==-1)continue;e[r]=n[r]}return e}var T_={exports:{}},jt={};/** @license React v16.13.1
50
+ * react-is.production.min.js
51
+ *
52
+ * Copyright (c) Facebook, Inc. and its affiliates.
53
+ *
54
+ * This source code is licensed under the MIT license found in the
55
+ * LICENSE file in the root directory of this source tree.
56
+ */var I_;function hA(){if(I_)return jt;I_=1;var n=typeof Symbol=="function"&&Symbol.for,t=n?Symbol.for("react.element"):60103,e=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,a=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,y=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,_=n?Symbol.for("react.block"):60121,m=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(C){if(typeof C=="object"&&C!==null){var I=C.$$typeof;switch(I){case t:switch(C=C.type,C){case u:case h:case r:case o:case i:case f:return C;default:switch(C=C&&C.$$typeof,C){case s:case p:case v:case g:case a:return C;default:return I}}case e:return I}}}function T(C){return k(C)===h}return jt.AsyncMode=u,jt.ConcurrentMode=h,jt.ContextConsumer=s,jt.ContextProvider=a,jt.Element=t,jt.ForwardRef=p,jt.Fragment=r,jt.Lazy=v,jt.Memo=g,jt.Portal=e,jt.Profiler=o,jt.StrictMode=i,jt.Suspense=f,jt.isAsyncMode=function(C){return T(C)||k(C)===u},jt.isConcurrentMode=T,jt.isContextConsumer=function(C){return k(C)===s},jt.isContextProvider=function(C){return k(C)===a},jt.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},jt.isForwardRef=function(C){return k(C)===p},jt.isFragment=function(C){return k(C)===r},jt.isLazy=function(C){return k(C)===v},jt.isMemo=function(C){return k(C)===g},jt.isPortal=function(C){return k(C)===e},jt.isProfiler=function(C){return k(C)===o},jt.isStrictMode=function(C){return k(C)===i},jt.isSuspense=function(C){return k(C)===f},jt.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===h||C===o||C===i||C===f||C===y||typeof C=="object"&&C!==null&&(C.$$typeof===v||C.$$typeof===g||C.$$typeof===a||C.$$typeof===s||C.$$typeof===p||C.$$typeof===m||C.$$typeof===b||C.$$typeof===w||C.$$typeof===_)},jt.typeOf=k,jt}var D_;function pA(){return D_||(D_=1,T_.exports=hA()),T_.exports}var Sd,A_;function fA(){if(A_)return Sd;A_=1;var n=pA(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[n.ForwardRef]=r,o[n.Memo]=i;function a(v){return n.isMemo(v)?i:o[v.$$typeof]||t}var s=Object.defineProperty,u=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,y=Object.prototype;function g(v,_,m){if(typeof _!="string"){if(y){var b=f(_);b&&b!==y&&g(v,b,m)}var w=u(_);h&&(w=w.concat(h(_)));for(var k=a(v),T=a(_),C=0;C<w.length;++C){var I=w[C];if(!e[I]&&!(m&&m[I])&&!(T&&T[I])&&!(k&&k[I])){var A=p(_,I);try{s(v,I,A)}catch{}}}}return v}return Sd=g,Sd}var dA=fA();const gA=Jo(dA);var O_={exports:{}},Ut={};/** @license React v16.13.1
57
+ * react-is.production.min.js
58
+ *
59
+ * Copyright (c) Facebook, Inc. and its affiliates.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE file in the root directory of this source tree.
63
+ */var E_;function yA(){if(E_)return Ut;E_=1;var n=typeof Symbol=="function"&&Symbol.for,t=n?Symbol.for("react.element"):60103,e=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,a=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,y=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,_=n?Symbol.for("react.block"):60121,m=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(C){if(typeof C=="object"&&C!==null){var I=C.$$typeof;switch(I){case t:switch(C=C.type,C){case u:case h:case r:case o:case i:case f:return C;default:switch(C=C&&C.$$typeof,C){case s:case p:case v:case g:case a:return C;default:return I}}case e:return I}}}function T(C){return k(C)===h}return Ut.AsyncMode=u,Ut.ConcurrentMode=h,Ut.ContextConsumer=s,Ut.ContextProvider=a,Ut.Element=t,Ut.ForwardRef=p,Ut.Fragment=r,Ut.Lazy=v,Ut.Memo=g,Ut.Portal=e,Ut.Profiler=o,Ut.StrictMode=i,Ut.Suspense=f,Ut.isAsyncMode=function(C){return T(C)||k(C)===u},Ut.isConcurrentMode=T,Ut.isContextConsumer=function(C){return k(C)===s},Ut.isContextProvider=function(C){return k(C)===a},Ut.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},Ut.isForwardRef=function(C){return k(C)===p},Ut.isFragment=function(C){return k(C)===r},Ut.isLazy=function(C){return k(C)===v},Ut.isMemo=function(C){return k(C)===g},Ut.isPortal=function(C){return k(C)===e},Ut.isProfiler=function(C){return k(C)===o},Ut.isStrictMode=function(C){return k(C)===i},Ut.isSuspense=function(C){return k(C)===f},Ut.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===h||C===o||C===i||C===f||C===y||typeof C=="object"&&C!==null&&(C.$$typeof===v||C.$$typeof===g||C.$$typeof===a||C.$$typeof===s||C.$$typeof===p||C.$$typeof===m||C.$$typeof===b||C.$$typeof===w||C.$$typeof===_)},Ut.typeOf=k,Ut}var P_;function vA(){return P_||(P_=1,O_.exports=yA()),O_.exports}vA();var N_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?ne.useLayoutEffect:ne.useEffect;function L_(n,t){return n===t?n!==0||t!==0||1/n===1/t:n!==n&&t!==t}function mA(n,t){if(L_(n,t))return!0;if(typeof n!="object"||n===null||typeof t!="object"||t===null)return!1;var e=Object.keys(n),r=Object.keys(t);if(e.length!==r.length)return!1;for(var i=0;i<e.length;i++)if(!Object.prototype.hasOwnProperty.call(t,e[i])||!L_(n[e[i]],t[e[i]]))return!1;return!0}function _A(n){var t,e=n.Symbol;return typeof e=="function"?e.observable?t=e.observable:(t=e("observable"),e.observable=t):t="@@observable",t}var ia;typeof self<"u"?ia=self:typeof window<"u"?ia=window:typeof global<"u"?ia=global:typeof module<"u"?ia=module:ia=Function("return this")();var R_=_A(ia),kd=function(){return Math.random().toString(36).substring(7).split("").join(".")},js={INIT:"@@redux/INIT"+kd(),REPLACE:"@@redux/REPLACE"+kd(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+kd()}};function bA(n){if(typeof n!="object"||n===null)return!1;for(var t=n;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(n)===t}function z_(n,t,e){var r;if(typeof t=="function"&&typeof e=="function"||typeof e=="function"&&typeof arguments[3]=="function")throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if(typeof t=="function"&&typeof e>"u"&&(e=t,t=void 0),typeof e<"u"){if(typeof e!="function")throw new Error("Expected the enhancer to be a function.");return e(z_)(n,t)}if(typeof n!="function")throw new Error("Expected the reducer to be a function.");var i=n,o=t,a=[],s=a,u=!1;function h(){s===a&&(s=a.slice())}function p(){if(u)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function f(_){if(typeof _!="function")throw new Error("Expected the listener to be a function.");if(u)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var m=!0;return h(),s.push(_),function(){if(m){if(u)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");m=!1,h();var b=s.indexOf(_);s.splice(b,1),a=null}}}function y(_){if(!bA(_))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof _.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,o=i(o,_)}finally{u=!1}for(var m=a=s,b=0;b<m.length;b++){var w=m[b];w()}return _}function g(_){if(typeof _!="function")throw new Error("Expected the nextReducer to be a function.");i=_,y({type:js.REPLACE})}function v(){var _,m=f;return _={subscribe:function(b){if(typeof b!="object"||b===null)throw new TypeError("Expected the observer to be an object.");function w(){b.next&&b.next(p())}w();var k=m(w);return{unsubscribe:k}}},_[R_]=function(){return this},_}return y({type:js.INIT}),r={dispatch:y,subscribe:f,getState:p,replaceReducer:g},r[R_]=v,r}function xA(n,t){var e=t&&t.type,r=e&&'action "'+String(e)+'"'||"an action";return"Given "+r+', reducer "'+n+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function wA(n){Object.keys(n).forEach(function(t){var e=n[t],r=e(void 0,{type:js.INIT});if(typeof r>"u")throw new Error('Reducer "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof e(void 0,{type:js.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+js.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function SA(n){for(var t=Object.keys(n),e={},r=0;r<t.length;r++){var i=t[r];typeof n[i]=="function"&&(e[i]=n[i])}var o=Object.keys(e),a;try{wA(e)}catch(s){a=s}return function(s,u){if(s===void 0&&(s={}),a)throw a;for(var h=!1,p={},f=0;f<o.length;f++){var y=o[f],g=e[y],v=s[y],_=g(v,u);if(typeof _>"u"){var m=xA(y,u);throw new Error(m)}p[y]=_,h=h||_!==v}return h=h||o.length!==Object.keys(s).length,h?p:s}}function kA(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function B_(n,t){var e=Object.keys(n);return Object.getOwnPropertySymbols&&e.push.apply(e,Object.getOwnPropertySymbols(n)),t&&(e=e.filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable})),e}function CA(n){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?B_(e,!0).forEach(function(r){kA(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):B_(e).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}function F_(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function MA(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return function(r){return function(){var i=r.apply(void 0,arguments),o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=t.map(function(u){return u(a)});return o=F_.apply(void 0,s)(i.dispatch),CA({},i,{dispatch:o})}}}function H_(){var n=ne.useContext(ii);return n}function V_(n){n===void 0&&(n=ii);var t=n===ii?H_:function(){return ne.useContext(n)};return function(){var e=t(),r=e.store;return r}}var TA=V_();function IA(n){n===void 0&&(n=ii);var t=n===ii?TA:V_(n);return function(){var e=t();return e.dispatch}}var DA=IA(),AA=function(n,t){return n===t};function OA(n,t,e,r){var i=ne.useReducer(function(f){return f+1},0),o=i[1],a=ne.useMemo(function(){return new M_(e,r)},[e,r]),s=ne.useRef(),u=ne.useRef(),h=ne.useRef(),p;try{n!==u.current||s.current?p=n(e.getState()):p=h.current}catch(f){throw s.current&&(f.message+=`
64
+ The error may be correlated with this previous error:
65
+ `+s.current.stack+`
66
+
67
+ `),f}return N_(function(){u.current=n,h.current=p,s.current=void 0}),N_(function(){function f(){try{var y=u.current(e.getState());if(t(y,h.current))return;h.current=y}catch(g){s.current=g}o({})}return a.onStateChange=f,a.trySubscribe(),f(),function(){return a.tryUnsubscribe()}},[e,a]),p}function EA(n){n===void 0&&(n=ii);var t=n===ii?H_:function(){return ne.useContext(n)};return function(e,r){r===void 0&&(r=AA);var i=t(),o=i.store,a=i.subscription;return OA(e,r,o,a)}}var PA=EA();aA(_d.unstable_batchedUpdates);var G_=function(n,t){return n===t||typeof t=="function"&&n===t.toString()},j_=function(){for(var n=arguments.length,t=Array(n),e=0;e<n;e++)t[e]=arguments[e];return function(r){return r.pipe(gD(function(i){var o=i.type,a=t.length;if(a===1)return G_(o,t[0]);for(var s=0;s<a;s++)if(G_(o,t[s]))return!0;return!1}))}},U_=(function(){function n(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}})();function NA(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function LA(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function RA(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var zA=(function(n){RA(t,n),U_(t,null,[{key:"of",value:function(){return new this(hd.apply(void 0,arguments))}},{key:"from",value:function(e,r){return new this(Gs(e,r))}}]);function t(e){NA(this,t);var r=LA(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.source=e,r}return U_(t,[{key:"lift",value:function(e){var r=new t(this);return r.operator=e,r}},{key:"ofType",value:function(){return j_.apply(void 0,arguments)(this)}}]),t})(ye);function BA(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function FA(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function HA(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var VA=(function(n){HA(t,n);function t(e,r){BA(this,t);var i=FA(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,function(o){var a=i.__notifier.subscribe(o);return a&&!a.closed&&o.next(i.value),a}));return i.value=r,i.__notifier=new ea,i.__subscription=e.subscribe(function(o){o!==i.value&&(i.value=o,i.__notifier.next(o))}),i}return t})(ye);function GA(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=r_.constructor,e=new t(r_.SchedulerAction),r=new ea,i=void 0,o=function(a){i=a;var s=new ea().pipe(pd(e)),u=new ea().pipe(pd(e)),h=new zA(s),p=new VA(u,i.getState()),f=r.pipe(gd(function(y){var g="dependencies"in n?y(h,p,n.dependencies):y(h,p);if(!g)throw new TypeError('Your root Epic "'+(y.name||"<anonymous>")+`" does not return a stream. Double check you're not missing a return statement!`);return g}),yd(function(y){return Gs(y).pipe(BD(e),pd(e))}));return f.subscribe(i.dispatch),function(y){return function(g){var v=y(g);return u.next(i.getState()),s.next(g),v}}};return o.run=function(a){r.next(a)},o}function jA(n){if(Array.isArray(n)){for(var t=0,e=Array(n.length);t<n.length;t++)e[t]=n[t];return e}else return Array.from(n)}var UA=function(){for(var n=arguments.length,t=Array(n),e=0;e<n;e++)t[e]=arguments[e];var r=function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return fD.apply(void 0,jA(t.map(function(s){var u=s.apply(void 0,o);if(!u)throw new TypeError('combineEpics: one of the provided Epics "'+(s.name||"<anonymous>")+`" does not return a stream. Double check you're not missing a return statement!`);return u})))};try{Object.defineProperty(r,"name",{value:"combineEpics("+t.map(function(i){return i.name||"<anonymous>"}).join(", ")+")"})}catch{}return r},W_={exports:{}},Wt={};/**
68
+ * @license React
69
+ * react-is.production.min.js
70
+ *
71
+ * Copyright (c) Facebook, Inc. and its affiliates.
72
+ *
73
+ * This source code is licensed under the MIT license found in the
74
+ * LICENSE file in the root directory of this source tree.
75
+ */var $_;function WA(){if($_)return Wt;$_=1;var n=Symbol.for("react.element"),t=Symbol.for("react.portal"),e=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function _(m){if(typeof m=="object"&&m!==null){var b=m.$$typeof;switch(b){case n:switch(m=m.type,m){case e:case i:case r:case h:case p:return m;default:switch(m=m&&m.$$typeof,m){case s:case a:case u:case y:case f:case o:return m;default:return b}}case t:return b}}}return Wt.ContextConsumer=a,Wt.ContextProvider=o,Wt.Element=n,Wt.ForwardRef=u,Wt.Fragment=e,Wt.Lazy=y,Wt.Memo=f,Wt.Portal=t,Wt.Profiler=i,Wt.StrictMode=r,Wt.Suspense=h,Wt.SuspenseList=p,Wt.isAsyncMode=function(){return!1},Wt.isConcurrentMode=function(){return!1},Wt.isContextConsumer=function(m){return _(m)===a},Wt.isContextProvider=function(m){return _(m)===o},Wt.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===n},Wt.isForwardRef=function(m){return _(m)===u},Wt.isFragment=function(m){return _(m)===e},Wt.isLazy=function(m){return _(m)===y},Wt.isMemo=function(m){return _(m)===f},Wt.isPortal=function(m){return _(m)===t},Wt.isProfiler=function(m){return _(m)===i},Wt.isStrictMode=function(m){return _(m)===r},Wt.isSuspense=function(m){return _(m)===h},Wt.isSuspenseList=function(m){return _(m)===p},Wt.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===e||m===i||m===r||m===h||m===p||m===g||typeof m=="object"&&m!==null&&(m.$$typeof===y||m.$$typeof===f||m.$$typeof===o||m.$$typeof===a||m.$$typeof===u||m.$$typeof===v||m.getModuleId!==void 0)},Wt.typeOf=_,Wt}var q_;function $A(){return q_||(q_=1,W_.exports=WA()),W_.exports}var Cd=$A();const qA=Jo(Cd);function XA(n){function t(q,U,K,et,W){for(var yt=0,ot=0,bt=0,vt=0,lt,st,Kt=0,Vt=0,Et,ue=Et=lt=0,zt=0,de=0,Rr=0,me=0,zr=K.length,Br=zr-1,Ve,wt="",re="",Xn="",Di="",Nn;zt<zr;){if(st=K.charCodeAt(zt),zt===Br&&ot+vt+bt+yt!==0&&(ot!==0&&(st=ot===47?10:47),vt=bt=yt=0,zr++,Br++),ot+vt+bt+yt===0){if(zt===Br&&(0<de&&(wt=wt.replace(y,"")),0<wt.trim().length)){switch(st){case 32:case 9:case 59:case 13:case 10:break;default:wt+=K.charAt(zt)}st=59}switch(st){case 123:for(wt=wt.trim(),lt=wt.charCodeAt(0),Et=1,me=++zt;zt<zr;){switch(st=K.charCodeAt(zt)){case 123:Et++;break;case 125:Et--;break;case 47:switch(st=K.charCodeAt(zt+1)){case 42:case 47:t:{for(ue=zt+1;ue<Br;++ue)switch(K.charCodeAt(ue)){case 47:if(st===42&&K.charCodeAt(ue-1)===42&&zt+2!==ue){zt=ue+1;break t}break;case 10:if(st===47){zt=ue+1;break t}}zt=ue}}break;case 91:st++;case 40:st++;case 34:case 39:for(;zt++<Br&&K.charCodeAt(zt)!==st;);}if(Et===0)break;zt++}switch(Et=K.substring(me,zt),lt===0&&(lt=(wt=wt.replace(f,"").trim()).charCodeAt(0)),lt){case 64:switch(0<de&&(wt=wt.replace(y,"")),st=wt.charCodeAt(1),st){case 100:case 109:case 115:case 45:de=U;break;default:de=nt}if(Et=t(U,de,Et,st,W+1),me=Et.length,0<V&&(de=e(nt,wt,Rr),Nn=s(3,Et,de,U,G,F,me,st,W,et),wt=de.join(""),Nn!==void 0&&(me=(Et=Nn.trim()).length)===0&&(st=0,Et="")),0<me)switch(st){case 115:wt=wt.replace(I,a);case 100:case 109:case 45:Et=wt+"{"+Et+"}";break;case 107:wt=wt.replace(w,"$1 $2"),Et=wt+"{"+Et+"}",Et=Y===1||Y===2&&o("@"+Et,3)?"@-webkit-"+Et+"@"+Et:"@"+Et;break;default:Et=wt+Et,et===112&&(Et=(re+=Et,""))}else Et="";break;default:Et=t(U,e(U,wt,Rr),Et,et,W+1)}Xn+=Et,Et=Rr=de=ue=lt=0,wt="",st=K.charCodeAt(++zt);break;case 125:case 59:if(wt=(0<de?wt.replace(y,""):wt).trim(),1<(me=wt.length))switch(ue===0&&(lt=wt.charCodeAt(0),lt===45||96<lt&&123>lt)&&(me=(wt=wt.replace(" ",":")).length),0<V&&(Nn=s(1,wt,U,q,G,F,re.length,et,W,et))!==void 0&&(me=(wt=Nn.trim()).length)===0&&(wt="\0\0"),lt=wt.charCodeAt(0),st=wt.charCodeAt(1),lt){case 0:break;case 64:if(st===105||st===99){Di+=wt+K.charAt(zt);break}default:wt.charCodeAt(me-1)!==58&&(re+=i(wt,lt,st,wt.charCodeAt(2)))}Rr=de=ue=lt=0,wt="",st=K.charCodeAt(++zt)}}switch(st){case 13:case 10:ot===47?ot=0:1+lt===0&&et!==107&&0<wt.length&&(de=1,wt+="\0"),0<V*at&&s(0,wt,U,q,G,F,re.length,et,W,et),F=1,G++;break;case 59:case 125:if(ot+vt+bt+yt===0){F++;break}default:switch(F++,Ve=K.charAt(zt),st){case 9:case 32:if(vt+yt+ot===0)switch(Kt){case 44:case 58:case 9:case 32:Ve="";break;default:st!==32&&(Ve=" ")}break;case 0:Ve="\\0";break;case 12:Ve="\\f";break;case 11:Ve="\\v";break;case 38:vt+ot+yt===0&&(de=Rr=1,Ve="\f"+Ve);break;case 108:if(vt+ot+yt+X===0&&0<ue)switch(zt-ue){case 2:Kt===112&&K.charCodeAt(zt-3)===58&&(X=Kt);case 8:Vt===111&&(X=Vt)}break;case 58:vt+ot+yt===0&&(ue=zt);break;case 44:ot+bt+vt+yt===0&&(de=1,Ve+="\r");break;case 34:case 39:ot===0&&(vt=vt===st?0:vt===0?st:vt);break;case 91:vt+ot+bt===0&&yt++;break;case 93:vt+ot+bt===0&&yt--;break;case 41:vt+ot+yt===0&&bt--;break;case 40:if(vt+ot+yt===0){if(lt===0)switch(2*Kt+3*Vt){case 533:break;default:lt=1}bt++}break;case 64:ot+bt+vt+yt+ue+Et===0&&(Et=1);break;case 42:case 47:if(!(0<vt+yt+bt))switch(ot){case 0:switch(2*st+3*K.charCodeAt(zt+1)){case 235:ot=47;break;case 220:me=zt,ot=42}break;case 42:st===47&&Kt===42&&me+2!==zt&&(K.charCodeAt(me+2)===33&&(re+=K.substring(me,zt+1)),Ve="",ot=0)}}ot===0&&(wt+=Ve)}Vt=Kt,Kt=st,zt++}if(me=re.length,0<me){if(de=U,0<V&&(Nn=s(2,re,de,q,G,F,me,et,W,et),Nn!==void 0&&(re=Nn).length===0))return Di+re+Xn;if(re=de.join(",")+"{"+re+"}",Y*X!==0){switch(Y!==2||o(re,2)||(X=0),X){case 111:re=re.replace(T,":-moz-$1")+re;break;case 112:re=re.replace(k,"::-webkit-input-$1")+re.replace(k,"::-moz-$1")+re.replace(k,":-ms-input-$1")+re}X=0}}return Di+re+Xn}function e(q,U,K){var et=U.trim().split(m);U=et;var W=et.length,yt=q.length;switch(yt){case 0:case 1:var ot=0;for(q=yt===0?"":q[0]+" ";ot<W;++ot)U[ot]=r(q,U[ot],K).trim();break;default:var bt=ot=0;for(U=[];ot<W;++ot)for(var vt=0;vt<yt;++vt)U[bt++]=r(q[vt]+" ",et[ot],K).trim()}return U}function r(q,U,K){var et=U.charCodeAt(0);switch(33>et&&(et=(U=U.trim()).charCodeAt(0)),et){case 38:return U.replace(b,"$1"+q.trim());case 58:return q.trim()+U.replace(b,"$1"+q.trim());default:if(0<1*K&&0<U.indexOf("\f"))return U.replace(b,(q.charCodeAt(0)===58?"":"$1")+q.trim())}return q+U}function i(q,U,K,et){var W=q+";",yt=2*U+3*K+4*et;if(yt===944){q=W.indexOf(":",9)+1;var ot=W.substring(q,W.length-1).trim();return ot=W.substring(0,q).trim()+ot+";",Y===1||Y===2&&o(ot,1)?"-webkit-"+ot+ot:ot}if(Y===0||Y===2&&!o(W,1))return W;switch(yt){case 1015:return W.charCodeAt(10)===97?"-webkit-"+W+W:W;case 951:return W.charCodeAt(3)===116?"-webkit-"+W+W:W;case 963:return W.charCodeAt(5)===110?"-webkit-"+W+W:W;case 1009:if(W.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+W+W;case 978:return"-webkit-"+W+"-moz-"+W+W;case 1019:case 983:return"-webkit-"+W+"-moz-"+W+"-ms-"+W+W;case 883:if(W.charCodeAt(8)===45)return"-webkit-"+W+W;if(0<W.indexOf("image-set(",11))return W.replace(N,"$1-webkit-$2")+W;break;case 932:if(W.charCodeAt(4)===45)switch(W.charCodeAt(5)){case 103:return"-webkit-box-"+W.replace("-grow","")+"-webkit-"+W+"-ms-"+W.replace("grow","positive")+W;case 115:return"-webkit-"+W+"-ms-"+W.replace("shrink","negative")+W;case 98:return"-webkit-"+W+"-ms-"+W.replace("basis","preferred-size")+W}return"-webkit-"+W+"-ms-"+W+W;case 964:return"-webkit-"+W+"-ms-flex-"+W+W;case 1023:if(W.charCodeAt(8)!==99)break;return ot=W.substring(W.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+ot+"-webkit-"+W+"-ms-flex-pack"+ot+W;case 1005:return v.test(W)?W.replace(g,":-webkit-")+W.replace(g,":-moz-")+W:W;case 1e3:switch(ot=W.substring(13).trim(),U=ot.indexOf("-")+1,ot.charCodeAt(0)+ot.charCodeAt(U)){case 226:ot=W.replace(C,"tb");break;case 232:ot=W.replace(C,"tb-rl");break;case 220:ot=W.replace(C,"lr");break;default:return W}return"-webkit-"+W+"-ms-"+ot+W;case 1017:if(W.indexOf("sticky",9)===-1)break;case 975:switch(U=(W=q).length-10,ot=(W.charCodeAt(U)===33?W.substring(0,U):W).substring(q.indexOf(":",7)+1).trim(),yt=ot.charCodeAt(0)+(ot.charCodeAt(7)|0)){case 203:if(111>ot.charCodeAt(8))break;case 115:W=W.replace(ot,"-webkit-"+ot)+";"+W;break;case 207:case 102:W=W.replace(ot,"-webkit-"+(102<yt?"inline-":"")+"box")+";"+W.replace(ot,"-webkit-"+ot)+";"+W.replace(ot,"-ms-"+ot+"box")+";"+W}return W+";";case 938:if(W.charCodeAt(5)===45)switch(W.charCodeAt(6)){case 105:return ot=W.replace("-items",""),"-webkit-"+W+"-webkit-box-"+ot+"-ms-flex-"+ot+W;case 115:return"-webkit-"+W+"-ms-flex-item-"+W.replace(E,"")+W;default:return"-webkit-"+W+"-ms-flex-line-pack"+W.replace("align-content","").replace(E,"")+W}break;case 973:case 989:if(W.charCodeAt(3)!==45||W.charCodeAt(4)===122)break;case 931:case 953:if(L.test(q)===!0)return(ot=q.substring(q.indexOf(":")+1)).charCodeAt(0)===115?i(q.replace("stretch","fill-available"),U,K,et).replace(":fill-available",":stretch"):W.replace(ot,"-webkit-"+ot)+W.replace(ot,"-moz-"+ot.replace("fill-",""))+W;break;case 962:if(W="-webkit-"+W+(W.charCodeAt(5)===102?"-ms-"+W:"")+W,K+et===211&&W.charCodeAt(13)===105&&0<W.indexOf("transform",10))return W.substring(0,W.indexOf(";",27)+1).replace(_,"$1-webkit-$2")+W}return W}function o(q,U){var K=q.indexOf(U===1?":":"{"),et=q.substring(0,U!==3?K:10);return K=q.substring(K+1,q.length-1),J(U!==2?et:et.replace(P,"$1"),K,U)}function a(q,U){var K=i(U,U.charCodeAt(0),U.charCodeAt(1),U.charCodeAt(2));return K!==U+";"?K.replace(A," or ($1)").substring(4):"("+U+")"}function s(q,U,K,et,W,yt,ot,bt,vt,lt){for(var st=0,Kt=U,Vt;st<V;++st)switch(Vt=z[st].call(p,q,Kt,K,et,W,yt,ot,bt,vt,lt)){case void 0:case!1:case!0:case null:break;default:Kt=Vt}if(Kt!==U)return Kt}function u(q){switch(q){case void 0:case null:V=z.length=0;break;default:if(typeof q=="function")z[V++]=q;else if(typeof q=="object")for(var U=0,K=q.length;U<K;++U)u(q[U]);else at=!!q|0}return u}function h(q){return q=q.prefix,q!==void 0&&(J=null,q?typeof q!="function"?Y=1:(Y=2,J=q):Y=0),h}function p(q,U){var K=q;if(33>K.charCodeAt(0)&&(K=K.trim()),Z=K,K=[Z],0<V){var et=s(-1,U,K,K,G,F,0,0,0,0);et!==void 0&&typeof et=="string"&&(U=et)}var W=t(nt,K,U,0,0);return 0<V&&(et=s(-2,W,K,K,G,F,W.length,0,0,0),et!==void 0&&(W=et)),Z="",X=0,F=G=1,W}var f=/^\0+/g,y=/[\0\r\f]/g,g=/: */g,v=/zoo|gra/,_=/([,: ])(transform)/g,m=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,w=/@(k\w+)\s*(\S*)\s*/,k=/::(place)/g,T=/:(read-only)/g,C=/[svh]\w+-[tblr]{2}/,I=/\(\s*(.*)\s*\)/g,A=/([\s\S]*?);/g,E=/-self|flex-/g,P=/[^]*?(:[rp][el]a[\w-]+)[^]*/,L=/stretch|:\s*\w+\-(?:conte|avail)/,N=/([^-])(image-set\()/,F=1,G=1,X=0,Y=1,nt=[],z=[],V=0,J=null,at=0,Z="";return p.use=u,p.set=h,n!==void 0&&h(n),p}var YA={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ZA(n){var t=Object.create(null);return function(e){return t[e]===void 0&&(t[e]=n(e)),t[e]}}var QA=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,X_=ZA(function(n){return QA.test(n)||n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)<91}),rr={};function Bn(){return(Bn=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n}).apply(this,arguments)}var Y_=function(n,t){for(var e=[n[0]],r=0,i=t.length;r<i;r+=1)e.push(t[r],n[r+1]);return e},Md=function(n){return n!==null&&typeof n=="object"&&(n.toString?n.toString():Object.prototype.toString.call(n))==="[object Object]"&&!Cd.typeOf(n)},rc=Object.freeze([]),oi=Object.freeze({});function oa(n){return typeof n=="function"}function Z_(n){return n.displayName||n.name||"Component"}function Td(n){return n&&typeof n.styledComponentId=="string"}var aa=typeof process<"u"&&(rr.REACT_APP_SC_ATTR||rr.SC_ATTR)||"data-styled",Id=typeof window<"u"&&"HTMLElement"in window,KA=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&rr.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&rr.REACT_APP_SC_DISABLE_SPEEDY!==""?rr.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&rr.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&rr.SC_DISABLE_SPEEDY!==void 0&&rr.SC_DISABLE_SPEEDY!==""&&rr.SC_DISABLE_SPEEDY!=="false"&&rr.SC_DISABLE_SPEEDY),JA={};function Vi(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+n+" for more information."+(e.length>0?" Args: "+e.join(", "):""))}var tO=(function(){function n(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=n.prototype;return t.indexOfGroup=function(e){for(var r=0,i=0;i<e;i++)r+=this.groupSizes[i];return r},t.insertRules=function(e,r){if(e>=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,a=o;e>=a;)(a<<=1)<0&&Vi(16,""+e);this.groupSizes=new Uint32Array(a),this.groupSizes.set(i),this.length=a;for(var s=o;s<a;s++)this.groupSizes[s]=0}for(var u=this.indexOfGroup(e+1),h=0,p=r.length;h<p;h++)this.tag.insertRule(u,r[h])&&(this.groupSizes[e]++,u++)},t.clearGroup=function(e){if(e<this.length){var r=this.groupSizes[e],i=this.indexOfGroup(e),o=i+r;this.groupSizes[e]=0;for(var a=i;a<o;a++)this.tag.deleteRule(i)}},t.getGroup=function(e){var r="";if(e>=this.length||this.groupSizes[e]===0)return r;for(var i=this.groupSizes[e],o=this.indexOfGroup(e),a=o+i,s=o;s<a;s++)r+=this.tag.getRule(s)+`/*!sc*/
76
+ `;return r},n})(),ic=new Map,oc=new Map,Us=1,ac=function(n){if(ic.has(n))return ic.get(n);for(;oc.has(Us);)Us++;var t=Us++;return ic.set(n,t),oc.set(t,n),t},eO=function(n){return oc.get(n)},nO=function(n,t){t>=Us&&(Us=t+1),ic.set(n,t),oc.set(t,n)},rO="style["+aa+'][data-styled-version="5.3.5"]',iO=new RegExp("^"+aa+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),oO=function(n,t,e){for(var r,i=e.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&n.registerName(t,r)},aO=function(n,t){for(var e=(t.textContent||"").split(`/*!sc*/
77
+ `),r=[],i=0,o=e.length;i<o;i++){var a=e[i].trim();if(a){var s=a.match(iO);if(s){var u=0|parseInt(s[1],10),h=s[2];u!==0&&(nO(h,u),oO(n,h,s[3]),n.getTag().insertRules(u,r)),r.length=0}else r.push(a)}}},sO=function(){return typeof window<"u"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},Q_=function(n){var t=document.head,e=n||t,r=document.createElement("style"),i=(function(s){for(var u=s.childNodes,h=u.length;h>=0;h--){var p=u[h];if(p&&p.nodeType===1&&p.hasAttribute(aa))return p}})(e),o=i!==void 0?i.nextSibling:null;r.setAttribute(aa,"active"),r.setAttribute("data-styled-version","5.3.5");var a=sO();return a&&r.setAttribute("nonce",a),e.insertBefore(r,o),r},lO=(function(){function n(e){var r=this.element=Q_(e);r.appendChild(document.createTextNode("")),this.sheet=(function(i){if(i.sheet)return i.sheet;for(var o=document.styleSheets,a=0,s=o.length;a<s;a++){var u=o[a];if(u.ownerNode===i)return u}Vi(17)})(r),this.length=0}var t=n.prototype;return t.insertRule=function(e,r){try{return this.sheet.insertRule(r,e),this.length++,!0}catch{return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var r=this.sheet.cssRules[e];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},n})(),uO=(function(){function n(e){var r=this.element=Q_(e);this.nodes=r.childNodes,this.length=0}var t=n.prototype;return t.insertRule=function(e,r){if(e<=this.length&&e>=0){var i=document.createTextNode(r),o=this.nodes[e];return this.element.insertBefore(i,o||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},n})(),cO=(function(){function n(e){this.rules=[],this.length=0}var t=n.prototype;return t.insertRule=function(e,r){return e<=this.length&&(this.rules.splice(e,0,r),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},n})(),K_=Id,hO={isServer:!Id,useCSSOMInjection:!KA},sc=(function(){function n(e,r,i){e===void 0&&(e=oi),r===void 0&&(r={}),this.options=Bn({},hO,{},e),this.gs=r,this.names=new Map(i),this.server=!!e.isServer,!this.server&&Id&&K_&&(K_=!1,(function(o){for(var a=document.querySelectorAll(rO),s=0,u=a.length;s<u;s++){var h=a[s];h&&h.getAttribute(aa)!=="active"&&(aO(o,h),h.parentNode&&h.parentNode.removeChild(h))}})(this))}n.registerId=function(e){return ac(e)};var t=n.prototype;return t.reconstructWithOptions=function(e,r){return r===void 0&&(r=!0),new n(Bn({},this.options,{},e),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(i=(r=this.options).isServer,o=r.useCSSOMInjection,a=r.target,e=i?new cO(a):o?new lO(a):new uO(a),new tO(e)));var e,r,i,o,a},t.hasNameForId=function(e,r){return this.names.has(e)&&this.names.get(e).has(r)},t.registerName=function(e,r){if(ac(e),this.names.has(e))this.names.get(e).add(r);else{var i=new Set;i.add(r),this.names.set(e,i)}},t.insertRules=function(e,r,i){this.registerName(e,r),this.getTag().insertRules(ac(e),i)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(ac(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return(function(e){for(var r=e.getTag(),i=r.length,o="",a=0;a<i;a++){var s=eO(a);if(s!==void 0){var u=e.names.get(s),h=r.getGroup(a);if(u&&h&&u.size){var p=aa+".g"+a+'[id="'+s+'"]',f="";u!==void 0&&u.forEach((function(y){y.length>0&&(f+=y+",")})),o+=""+h+p+'{content:"'+f+`"}/*!sc*/
78
+ `}}}return o})(this)},n})(),pO=/(a)(d)/gi,J_=function(n){return String.fromCharCode(n+(n>25?39:97))};function Dd(n){var t,e="";for(t=Math.abs(n);t>52;t=t/52|0)e=J_(t%52)+e;return(J_(t%52)+e).replace(pO,"$1-$2")}var sa=function(n,t){for(var e=t.length;e;)n=33*n^t.charCodeAt(--e);return n},tb=function(n){return sa(5381,n)};function eb(n){for(var t=0;t<n.length;t+=1){var e=n[t];if(oa(e)&&!Td(e))return!1}return!0}var fO=tb("5.3.5"),dO=(function(){function n(t,e,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&eb(t),this.componentId=e,this.baseHash=sa(fO,e),this.baseStyle=r,sc.registerId(e)}return n.prototype.generateAndInjectStyles=function(t,e,r){var i=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(t,e,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&e.hasNameForId(i,this.staticRulesId))o.push(this.staticRulesId);else{var a=Gi(this.rules,t,e,r).join(""),s=Dd(sa(this.baseHash,a)>>>0);if(!e.hasNameForId(i,s)){var u=r(a,"."+s,void 0,i);e.insertRules(i,s,u)}o.push(s),this.staticRulesId=s}else{for(var h=this.rules.length,p=sa(this.baseHash,r.hash),f="",y=0;y<h;y++){var g=this.rules[y];if(typeof g=="string")f+=g;else if(g){var v=Gi(g,t,e,r),_=Array.isArray(v)?v.join(""):v;p=sa(p,_+y),f+=_}}if(f){var m=Dd(p>>>0);if(!e.hasNameForId(i,m)){var b=r(f,"."+m,void 0,i);e.insertRules(i,m,b)}o.push(m)}}return o.join(" ")},n})(),gO=/^\s*\/\/.*$/gm,yO=[":","[",".","#"];function vO(n){var t,e,r,i,o=oi,a=o.options,s=a===void 0?oi:a,u=o.plugins,h=u===void 0?rc:u,p=new XA(s),f=[],y=(function(_){function m(b){if(b)try{_(b+"}")}catch{}}return function(b,w,k,T,C,I,A,E,P,L){switch(b){case 1:if(P===0&&w.charCodeAt(0)===64)return _(w+";"),"";break;case 2:if(E===0)return w+"/*|*/";break;case 3:switch(E){case 102:case 112:return _(k[0]+w),"";default:return w+(L===0?"/*|*/":"")}case-2:w.split("/*|*/}").forEach(m)}}})((function(_){f.push(_)})),g=function(_,m,b){return m===0&&yO.indexOf(b[e.length])!==-1||b.match(i)?_:"."+t};function v(_,m,b,w){w===void 0&&(w="&");var k=_.replace(gO,""),T=m&&b?b+" "+m+" { "+k+" }":k;return t=w,e=m,r=new RegExp("\\"+e+"\\b","g"),i=new RegExp("(\\"+e+"\\b){2,}"),p(b||!m?"":m,T)}return p.use([].concat(h,[function(_,m,b){_===2&&b.length&&b[0].lastIndexOf(e)>0&&(b[0]=b[0].replace(r,g))},y,function(_){if(_===-2){var m=f;return f=[],m}}])),v.hash=h.length?h.reduce((function(_,m){return m.name||Vi(15),sa(_,m.name)}),5381).toString():"",v}var nb=er.createContext();nb.Consumer;var rb=er.createContext(),mO=(rb.Consumer,new sc),Ad=vO();function ib(){return ne.useContext(nb)||mO}function ob(){return ne.useContext(rb)||Ad}var ab=(function(){function n(t,e){var r=this;this.inject=function(i,o){o===void 0&&(o=Ad);var a=r.name+o.hash;i.hasNameForId(r.id,a)||i.insertRules(r.id,a,o(r.rules,a,"@keyframes"))},this.toString=function(){return Vi(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return n.prototype.getName=function(t){return t===void 0&&(t=Ad),this.name+t.hash},n})(),_O=/([A-Z])/,bO=/([A-Z])/g,xO=/^ms-/,wO=function(n){return"-"+n.toLowerCase()};function sb(n){return _O.test(n)?n.replace(bO,wO).replace(xO,"-ms-"):n}var lb=function(n){return n==null||n===!1||n===""};function Gi(n,t,e,r){if(Array.isArray(n)){for(var i,o=[],a=0,s=n.length;a<s;a+=1)(i=Gi(n[a],t,e,r))!==""&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}if(lb(n))return"";if(Td(n))return"."+n.styledComponentId;if(oa(n)){if(typeof(h=n)!="function"||h.prototype&&h.prototype.isReactComponent||!t)return n;var u=n(t);return Gi(u,t,e,r)}var h;return n instanceof ab?e?(n.inject(e,r),n.getName(r)):n:Md(n)?(function p(f,y){var g,v,_=[];for(var m in f)f.hasOwnProperty(m)&&!lb(f[m])&&(Array.isArray(f[m])&&f[m].isCss||oa(f[m])?_.push(sb(m)+":",f[m],";"):Md(f[m])?_.push.apply(_,p(f[m],m)):_.push(sb(m)+": "+(g=m,(v=f[m])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||g in YA?String(v).trim():v+"px")+";"));return y?[y+" {"].concat(_,["}"]):_})(n):n.toString()}var ub=function(n){return Array.isArray(n)&&(n.isCss=!0),n};function lc(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return oa(n)||Md(n)?ub(Gi(Y_(rc,[n].concat(e)))):e.length===0&&n.length===1&&typeof n[0]=="string"?n:ub(Gi(Y_(n,e)))}var cb=function(n,t,e){return e===void 0&&(e=oi),n.theme!==e.theme&&n.theme||t||e.theme},SO=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,kO=/(^-|-$)/g;function Od(n){return n.replace(SO,"-").replace(kO,"")}var Ed=function(n){return Dd(tb(n)>>>0)};function uc(n){return typeof n=="string"&&!0}var Pd=function(n){return typeof n=="function"||typeof n=="object"&&n!==null&&!Array.isArray(n)},CO=function(n){return n!=="__proto__"&&n!=="constructor"&&n!=="prototype"};function MO(n,t,e){var r=n[e];Pd(t)&&Pd(r)?hb(r,t):n[e]=t}function hb(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];for(var i=0,o=e;i<o.length;i++){var a=o[i];if(Pd(a))for(var s in a)CO(s)&&MO(n,a[s],s)}return n}var ji=er.createContext();ji.Consumer;function TO(n){var t=ne.useContext(ji),e=ne.useMemo((function(){return(function(r,i){if(!r)return Vi(14);if(oa(r)){var o=r(i);return o}return Array.isArray(r)||typeof r!="object"?Vi(8):i?Bn({},i,{},r):r})(n.theme,t)}),[n.theme,t]);return n.children?er.createElement(ji.Provider,{value:e},n.children):null}var Nd={};function pb(n,t,e){var r=Td(n),i=!uc(n),o=t.attrs,a=o===void 0?rc:o,s=t.componentId,u=s===void 0?(function(w,k){var T=typeof w!="string"?"sc":Od(w);Nd[T]=(Nd[T]||0)+1;var C=T+"-"+Ed("5.3.5"+T+Nd[T]);return k?k+"-"+C:C})(t.displayName,t.parentComponentId):s,h=t.displayName,p=h===void 0?(function(w){return uc(w)?"styled."+w:"Styled("+Z_(w)+")"})(n):h,f=t.displayName&&t.componentId?Od(t.displayName)+"-"+t.componentId:t.componentId||u,y=r&&n.attrs?Array.prototype.concat(n.attrs,a).filter(Boolean):a,g=t.shouldForwardProp;r&&n.shouldForwardProp&&(g=t.shouldForwardProp?function(w,k,T){return n.shouldForwardProp(w,k,T)&&t.shouldForwardProp(w,k,T)}:n.shouldForwardProp);var v,_=new dO(e,f,r?n.componentStyle:void 0),m=_.isStatic&&a.length===0,b=function(w,k){return(function(T,C,I,A){var E=T.attrs,P=T.componentStyle,L=T.defaultProps,N=T.foldedComponentIds,F=T.shouldForwardProp,G=T.styledComponentId,X=T.target,Y=(function(et,W,yt){et===void 0&&(et=oi);var ot=Bn({},W,{theme:et}),bt={};return yt.forEach((function(vt){var lt,st,Kt,Vt=vt;for(lt in oa(Vt)&&(Vt=Vt(ot)),Vt)ot[lt]=bt[lt]=lt==="className"?(st=bt[lt],Kt=Vt[lt],st&&Kt?st+" "+Kt:st||Kt):Vt[lt]})),[ot,bt]})(cb(C,ne.useContext(ji),L)||oi,C,E),nt=Y[0],z=Y[1],V=(function(et,W,yt,ot){var bt=ib(),vt=ob(),lt=W?et.generateAndInjectStyles(oi,bt,vt):et.generateAndInjectStyles(yt,bt,vt);return lt})(P,A,nt),J=I,at=z.$as||C.$as||z.as||C.as||X,Z=uc(at),q=z!==C?Bn({},C,{},z):C,U={};for(var K in q)K[0]!=="$"&&K!=="as"&&(K==="forwardedAs"?U.as=q[K]:(F?F(K,X_,at):!Z||X_(K))&&(U[K]=q[K]));return C.style&&z.style!==C.style&&(U.style=Bn({},C.style,{},z.style)),U.className=Array.prototype.concat(N,G,V!==G?V:null,C.className,z.className).filter(Boolean).join(" "),U.ref=J,ne.createElement(at,U)})(v,w,k,m)};return b.displayName=p,(v=er.forwardRef(b)).attrs=y,v.componentStyle=_,v.displayName=p,v.shouldForwardProp=g,v.foldedComponentIds=r?Array.prototype.concat(n.foldedComponentIds,n.styledComponentId):rc,v.styledComponentId=f,v.target=r?n.target:n,v.withComponent=function(w){var k=t.componentId,T=(function(I,A){if(I==null)return{};var E,P,L={},N=Object.keys(I);for(P=0;P<N.length;P++)E=N[P],A.indexOf(E)>=0||(L[E]=I[E]);return L})(t,["componentId"]),C=k&&k+"-"+(uc(w)?w:Od(Z_(w)));return pb(w,Bn({},T,{attrs:y,componentId:C}),e)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(w){this._foldedDefaultProps=r?hb({},n.defaultProps,w):w}}),v.toString=function(){return"."+v.styledComponentId},i&&gA(v,n,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Ld=function(n){return(function t(e,r,i){if(i===void 0&&(i=oi),!Cd.isValidElementType(r))return Vi(1,String(r));var o=function(){return e(r,i,lc.apply(void 0,arguments))};return o.withConfig=function(a){return t(e,r,Bn({},i,{},a))},o.attrs=function(a){return t(e,r,Bn({},i,{attrs:Array.prototype.concat(i.attrs,a).filter(Boolean)}))},o})(pb,n)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(n){Ld[n]=Ld(n)}));var IO=(function(){function n(e,r){this.rules=e,this.componentId=r,this.isStatic=eb(e),sc.registerId(this.componentId+1)}var t=n.prototype;return t.createStyles=function(e,r,i,o){var a=o(Gi(this.rules,r,i,o).join(""),""),s=this.componentId+e;i.insertRules(s,s,a)},t.removeStyles=function(e,r){r.clearRules(this.componentId+e)},t.renderStyles=function(e,r,i,o){e>2&&sc.registerId(this.componentId+e),this.removeStyles(e,i),this.createStyles(e,r,i,o)},n})();function DO(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var i=lc.apply(void 0,[n].concat(e)),o="sc-global-"+Ed(JSON.stringify(i)),a=new IO(i,o);function s(h){var p=ib(),f=ob(),y=ne.useContext(ji),g=ne.useRef(p.allocateGSInstance(o)).current;return p.server&&u(g,h,p,y,f),ne.useLayoutEffect((function(){if(!p.server)return u(g,h,p,y,f),function(){return a.removeStyles(g,p)}}),[g,h,p,y,f]),null}function u(h,p,f,y,g){if(a.isStatic)a.renderStyles(h,JA,f,g);else{var v=Bn({},p,{theme:cb(p,y,s.defaultProps)});a.renderStyles(h,v,f,g)}}return er.memo(s)}function AO(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var i=lc.apply(void 0,[n].concat(e)).join(""),o=Ed(i);return new ab(o,i)}var OO=function(){return ne.useContext(ji)};/*! *****************************************************************************
79
+ Copyright (c) Microsoft Corporation.
80
+
81
+ Permission to use, copy, modify, and/or distribute this software for any
82
+ purpose with or without fee is hereby granted.
83
+
84
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
85
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
86
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
87
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
88
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
89
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
90
+ PERFORMANCE OF THIS SOFTWARE.
91
+ ***************************************************************************** */var Rd=function(n,t){return Rd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},Rd(n,t)};function Mt(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Rd(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var EO=(function(){function n(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return n})(),PO=(function(){function n(){this.browser=new EO,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 n})(),Tt=new PO;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Tt.wxa=!0,Tt.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Tt.worker=!0:!Tt.hasGlobalWindow||"Deno"in window?(Tt.node=!0,Tt.svgSupported=!0):NO(navigator.userAgent,Tt);function NO(n,t){var e=t.browser,r=n.match(/Firefox\/([\d.]+)/),i=n.match(/MSIE\s([\d.]+)/)||n.match(/Trident\/.+?rv:(([\d.]+))/),o=n.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(n);r&&(e.firefox=!0,e.version=r[1]),i&&(e.ie=!0,e.version=i[1]),o&&(e.edge=!0,e.version=o[1],e.newEdge=+o[1].split(".")[0]>18),a&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}var zd=12,LO="sans-serif",Ui=zd+"px "+LO,RO=20,zO=100,BO="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function FO(n){var t={};if(typeof JSON>"u")return t;for(var e=0;e<n.length;e++){var r=String.fromCharCode(e+32),i=(n.charCodeAt(e)-RO)/zO;t[r]=i}return t}var HO=FO(BO),la={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:(function(){var n,t;return function(e,r){if(!n){var i=la.createCanvas();n=i&&i.getContext("2d")}if(n)return t!==r&&(t=n.font=r||Ui),n.measureText(e);e=e||"",r=r||Ui;var o=/((?:\d+)?\.?\d*)px/.exec(r),a=o&&+o[1]||zd,s=0;if(r.indexOf("mono")>=0)s=a*e.length;else for(var u=0;u<e.length;u++){var h=HO[e[u]];s+=h==null?a:h*a}return{width:s}}})(),loadImage:function(n,t,e){var r=new Image;return r.onload=t,r.onerror=e,r.src=n,r}},fb=ua(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(n,t){return n["[object "+t+"]"]=!0,n},{}),db=ua(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(n,t){return n["[object "+t+"Array]"]=!0,n},{}),Ws=Object.prototype.toString,cc=Array.prototype,VO=cc.forEach,GO=cc.filter,Bd=cc.slice,jO=cc.map,gb=(function(){}).constructor,hc=gb?gb.prototype:null,Fd="__proto__",UO=2311;function yb(){return UO++}function Hd(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];typeof console<"u"&&console.error.apply(console,n)}function Ht(n){if(n==null||typeof n!="object")return n;var t=n,e=Ws.call(n);if(e==="[object Array]"){if(!Xs(n)){t=[];for(var r=0,i=n.length;r<i;r++)t[r]=Ht(n[r])}}else if(db[e]){if(!Xs(n)){var o=n.constructor;if(o.from)t=o.from(n);else{t=new o(n.length);for(var r=0,i=n.length;r<i;r++)t[r]=n[r]}}}else if(!fb[e]&&!Xs(n)&&!$s(n)){t={};for(var a in n)n.hasOwnProperty(a)&&a!==Fd&&(t[a]=Ht(n[a]))}return t}function $t(n,t,e){if(!mt(t)||!mt(n))return e?Ht(t):n;for(var r in t)if(t.hasOwnProperty(r)&&r!==Fd){var i=n[r],o=t[r];mt(o)&&mt(i)&&!pt(o)&&!pt(i)&&!$s(o)&&!$s(i)&&!vb(o)&&!vb(i)&&!Xs(o)&&!Xs(i)?$t(i,o,e):(e||!(r in n))&&(n[r]=Ht(t[r]))}return n}function ut(n,t){if(Object.assign)Object.assign(n,t);else for(var e in t)t.hasOwnProperty(e)&&e!==Fd&&(n[e]=t[e]);return n}function qt(n,t,e){for(var r=ae(t),i=0,o=r.length;i<o;i++){var a=r[i];n[a]==null&&(n[a]=t[a])}return n}function Xt(n,t){if(n){if(n.indexOf)return n.indexOf(t);for(var e=0,r=n.length;e<r;e++)if(n[e]===t)return e}return-1}function WO(n,t){var e=n.prototype;function r(){}r.prototype=t.prototype,n.prototype=new r;for(var i in e)e.hasOwnProperty(i)&&(n.prototype[i]=e[i]);n.prototype.constructor=n,n.superClass=t}function ir(n,t,e){if(n="prototype"in n?n.prototype:n,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];o!=="constructor"&&n[o]==null&&(n[o]=t[o])}else qt(n,t)}function Qe(n){return!n||typeof n=="string"?!1:typeof n.length=="number"}function R(n,t,e){if(n&&t)if(n.forEach&&n.forEach===VO)n.forEach(t,e);else if(n.length===+n.length)for(var r=0,i=n.length;r<i;r++)t.call(e,n[r],r,n);else for(var o in n)n.hasOwnProperty(o)&&t.call(e,n[o],o,n)}function xt(n,t,e){if(!n)return[];if(!t)return Gd(n);if(n.map&&n.map===jO)return n.map(t,e);for(var r=[],i=0,o=n.length;i<o;i++)r.push(t.call(e,n[i],i,n));return r}function ua(n,t,e,r){if(n&&t){for(var i=0,o=n.length;i<o;i++)e=t.call(r,e,n[i],i,n);return e}}function _e(n,t,e){if(!n)return[];if(!t)return Gd(n);if(n.filter&&n.filter===GO)return n.filter(t,e);for(var r=[],i=0,o=n.length;i<o;i++)t.call(e,n[i],i,n)&&r.push(n[i]);return r}function ae(n){if(!n)return[];if(Object.keys)return Object.keys(n);var t=[];for(var e in n)n.hasOwnProperty(e)&&t.push(e);return t}function $O(n,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return function(){return n.apply(t,e.concat(Bd.call(arguments)))}}var le=hc&&At(hc.bind)?hc.call.bind(hc.bind):$O;function Se(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return function(){return n.apply(this,t.concat(Bd.call(arguments)))}}function pt(n){return Array.isArray?Array.isArray(n):Ws.call(n)==="[object Array]"}function At(n){return typeof n=="function"}function gt(n){return typeof n=="string"}function Vd(n){return Ws.call(n)==="[object String]"}function se(n){return typeof n=="number"}function mt(n){var t=typeof n;return t==="function"||!!n&&t==="object"}function vb(n){return!!fb[Ws.call(n)]}function Ke(n){return!!db[Ws.call(n)]}function $s(n){return typeof n=="object"&&typeof n.nodeType=="number"&&typeof n.ownerDocument=="object"}function pc(n){return n.colorStops!=null}function qO(n){return n.image!=null}function fc(n){return n!==n}function qs(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var e=0,r=n.length;e<r;e++)if(n[e]!=null)return n[e]}function Ot(n,t){return n??t}function dc(n,t,e){return n??t??e}function Gd(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return Bd.apply(n,t)}function mb(n){if(typeof n=="number")return[n,n,n,n];var t=n.length;return t===2?[n[0],n[1],n[0],n[1]]:t===3?[n[0],n[1],n[2],n[1]]:n}function kr(n,t){if(!n)throw new Error(t)}function or(n){return n==null?null:typeof n.trim=="function"?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var _b="__ec_primitive__";function gc(n){n[_b]=!0}function Xs(n){return n[_b]}var XO=(function(){function n(){this.data={}}return n.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},n.prototype.has=function(t){return this.data.hasOwnProperty(t)},n.prototype.get=function(t){return this.data[t]},n.prototype.set=function(t,e){return this.data[t]=e,this},n.prototype.keys=function(){return ae(this.data)},n.prototype.forEach=function(t){var e=this.data;for(var r in e)e.hasOwnProperty(r)&&t(e[r],r)},n})(),bb=typeof Map=="function";function YO(){return bb?new Map:new XO}var ZO=(function(){function n(t){var e=pt(t);this.data=YO();var r=this;t instanceof n?t.each(i):t&&R(t,i);function i(o,a){e?r.set(o,a):r.set(a,o)}}return n.prototype.hasKey=function(t){return this.data.has(t)},n.prototype.get=function(t){return this.data.get(t)},n.prototype.set=function(t,e){return this.data.set(t,e),e},n.prototype.each=function(t,e){this.data.forEach(function(r,i){t.call(e,r,i)})},n.prototype.keys=function(){var t=this.data.keys();return bb?Array.from(t):t},n.prototype.removeKey=function(t){this.data.delete(t)},n})();function Lt(n){return new ZO(n)}function QO(n,t){for(var e=new n.constructor(n.length+t.length),r=0;r<n.length;r++)e[r]=n[r];for(var i=n.length,r=0;r<t.length;r++)e[r+i]=t[r];return e}function yc(n,t){var e;if(Object.create)e=Object.create(n);else{var r=function(){};r.prototype=n,e=new r}return t&&ut(e,t),e}function xb(n){var t=n.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function Wi(n,t){return n.hasOwnProperty(t)}function Je(){}var KO=180/Math.PI;/*! *****************************************************************************
92
+ Copyright (c) Microsoft Corporation.
93
+
94
+ Permission to use, copy, modify, and/or distribute this software for any
95
+ purpose with or without fee is hereby granted.
96
+
97
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
98
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
99
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
100
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
101
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
102
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
103
+ PERFORMANCE OF THIS SOFTWARE.
104
+ ***************************************************************************** */var jd=function(n,t){return jd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},jd(n,t)};function te(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");jd(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function ca(n,t){return n==null&&(n=0),t==null&&(t=0),[n,t]}function JO(n){return[n[0],n[1]]}function wb(n,t,e){return n[0]=t[0]+e[0],n[1]=t[1]+e[1],n}function tE(n,t,e){return n[0]=t[0]-e[0],n[1]=t[1]-e[1],n}function eE(n){return Math.sqrt(nE(n))}function nE(n){return n[0]*n[0]+n[1]*n[1]}function Ud(n,t,e){return n[0]=t[0]*e,n[1]=t[1]*e,n}function rE(n,t){var e=eE(t);return e===0?(n[0]=0,n[1]=0):(n[0]=t[0]/e,n[1]=t[1]/e),n}function Wd(n,t){return Math.sqrt((n[0]-t[0])*(n[0]-t[0])+(n[1]-t[1])*(n[1]-t[1]))}var $d=Wd;function iE(n,t){return(n[0]-t[0])*(n[0]-t[0])+(n[1]-t[1])*(n[1]-t[1])}var ha=iE;function qd(n,t,e,r){return n[0]=t[0]+r*(e[0]-t[0]),n[1]=t[1]+r*(e[1]-t[1]),n}function _n(n,t,e){var r=t[0],i=t[1];return n[0]=e[0]*r+e[2]*i+e[4],n[1]=e[1]*r+e[3]*i+e[5],n}function pa(n,t,e){return n[0]=Math.min(t[0],e[0]),n[1]=Math.min(t[1],e[1]),n}function fa(n,t,e){return n[0]=Math.max(t[0],e[0]),n[1]=Math.max(t[1],e[1]),n}var da=(function(){function n(t,e){this.target=t,this.topTarget=e&&e.topTarget}return n})(),oE=(function(){function n(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return n.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new da(e,t),"dragstart",t.event))},n.prototype._drag=function(t){var e=this._draggingTarget;if(e){var r=t.offsetX,i=t.offsetY,o=r-this._x,a=i-this._y;this._x=r,this._y=i,e.drift(o,a,t),this.handler.dispatchToElement(new da(e,t),"drag",t.event);var s=this.handler.findHover(r,i,e).target,u=this._dropTarget;this._dropTarget=s,e!==s&&(u&&s!==u&&this.handler.dispatchToElement(new da(u,t),"dragleave",t.event),s&&s!==u&&this.handler.dispatchToElement(new da(s,t),"dragenter",t.event))}},n.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new da(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new da(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},n})(),ar=(function(){function n(t){t&&(this._$eventProcessor=t)}return n.prototype.on=function(t,e,r,i){this._$handlers||(this._$handlers={});var o=this._$handlers;if(typeof e=="function"&&(i=r,r=e,e=null),!r||!t)return this;var a=this._$eventProcessor;e!=null&&a&&a.normalizeQuery&&(e=a.normalizeQuery(e)),o[t]||(o[t]=[]);for(var s=0;s<o[t].length;s++)if(o[t][s].h===r)return this;var u={h:r,query:e,ctx:i||this,callAtLast:r.zrEventfulCallAtLast},h=o[t].length-1,p=o[t][h];return p&&p.callAtLast?o[t].splice(h,0,u):o[t].push(u),this},n.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},n.prototype.off=function(t,e){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(e){if(r[t]){for(var i=[],o=0,a=r[t].length;o<a;o++)r[t][o].h!==e&&i.push(r[t][o]);r[t]=i}r[t]&&r[t].length===0&&delete r[t]}else delete r[t];return this},n.prototype.trigger=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],o=this._$eventProcessor;if(i)for(var a=e.length,s=i.length,u=0;u<s;u++){var h=i[u];if(!(o&&o.filter&&h.query!=null&&!o.filter(t,h.query)))switch(a){case 0:h.h.call(h.ctx);break;case 1:h.h.call(h.ctx,e[0]);break;case 2:h.h.call(h.ctx,e[0],e[1]);break;default:h.h.apply(h.ctx,e);break}}return o&&o.afterTrigger&&o.afterTrigger(t),this},n.prototype.triggerWithContext=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(!this._$handlers)return this;var i=this._$handlers[t],o=this._$eventProcessor;if(i)for(var a=e.length,s=e[a-1],u=i.length,h=0;h<u;h++){var p=i[h];if(!(o&&o.filter&&p.query!=null&&!o.filter(t,p.query)))switch(a){case 0:p.h.call(s);break;case 1:p.h.call(s,e[0]);break;case 2:p.h.call(s,e[0],e[1]);break;default:p.h.apply(s,e.slice(1,a-1));break}}return o&&o.afterTrigger&&o.afterTrigger(t),this},n})(),aE=Math.log(2);function Xd(n,t,e,r,i,o){var a=r+"-"+i,s=n.length;if(o.hasOwnProperty(a))return o[a];if(t===1){var u=Math.round(Math.log((1<<s)-1&~i)/aE);return n[e][u]}for(var h=r|1<<e,p=e+1;r&1<<p;)p++;for(var f=0,y=0,g=0;y<s;y++){var v=1<<y;v&i||(f+=(g%2?-1:1)*n[e][y]*Xd(n,t-1,p,h,i|v,o),g++)}return o[a]=f,f}function Sb(n,t){var e=[[n[0],n[1],1,0,0,0,-t[0]*n[0],-t[0]*n[1]],[0,0,0,n[0],n[1],1,-t[1]*n[0],-t[1]*n[1]],[n[2],n[3],1,0,0,0,-t[2]*n[2],-t[2]*n[3]],[0,0,0,n[2],n[3],1,-t[3]*n[2],-t[3]*n[3]],[n[4],n[5],1,0,0,0,-t[4]*n[4],-t[4]*n[5]],[0,0,0,n[4],n[5],1,-t[5]*n[4],-t[5]*n[5]],[n[6],n[7],1,0,0,0,-t[6]*n[6],-t[6]*n[7]],[0,0,0,n[6],n[7],1,-t[7]*n[6],-t[7]*n[7]]],r={},i=Xd(e,8,0,0,0,r);if(i!==0){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)o[s]==null&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*Xd(e,7,a===0?1:0,1<<a,1<<s,r)/i*t[a];return function(u,h,p){var f=h*o[6]+p*o[7]+1;u[0]=(h*o[0]+p*o[1]+o[2])/f,u[1]=(h*o[3]+p*o[4]+o[5])/f}}}var kb="___zrEVENTSAVED",Yd=[];function sE(n,t,e,r,i){return Zd(Yd,t,r,i,!0)&&Zd(n,e,Yd[0],Yd[1])}function Zd(n,t,e,r,i){if(t.getBoundingClientRect&&Tt.domSupported&&!Cb(t)){var o=t[kb]||(t[kb]={}),a=lE(t,o),s=uE(a,o,i);if(s)return s(n,e,r),!0}return!1}function lE(n,t){var e=t.markers;if(e)return e;e=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,u=o%2,h=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[u]+":0",i[h]+":0",r[1-u]+":auto",i[1-h]+":auto",""].join("!important;"),n.appendChild(a),e.push(a)}return e}function uE(n,t,e){for(var r=e?"invTrans":"trans",i=t[r],o=t.srcCoords,a=[],s=[],u=!0,h=0;h<4;h++){var p=n[h].getBoundingClientRect(),f=2*h,y=p.left,g=p.top;a.push(y,g),u=u&&o&&y===o[f]&&g===o[f+1],s.push(n[h].offsetLeft,n[h].offsetTop)}return u&&i?i:(t.srcCoords=a,t[r]=e?Sb(s,a):Sb(a,s))}function Cb(n){return n.nodeName.toUpperCase()==="CANVAS"}var cE=/([&<>"'])/g,hE={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function tn(n){return n==null?"":(n+"").replace(cE,function(t,e){return hE[e]})}var pE=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Qd=[],fE=Tt.browser.firefox&&+Tt.browser.version.split(".")[0]<39;function Kd(n,t,e,r){return e=e||{},r?Mb(n,t,e):fE&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):Mb(n,t,e),e}function Mb(n,t,e){if(Tt.domSupported&&n.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(Cb(n)){var o=n.getBoundingClientRect();e.zrX=r-o.left,e.zrY=i-o.top;return}else if(Zd(Qd,n,r,i)){e.zrX=Qd[0],e.zrY=Qd[1];return}}e.zrX=e.zrY=0}function Jd(n){return n||window.event}function bn(n,t,e){if(t=Jd(t),t.zrX!=null)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var o=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Kd(n,o,t,e)}else{Kd(n,t,t,e);var a=dE(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&pE.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function dE(n){var t=n.wheelDelta;if(t)return t;var e=n.deltaX,r=n.deltaY;if(e==null||r==null)return t;var i=Math.abs(r!==0?r:e),o=r>0?-1:r<0?1:e>0?-1:1;return 3*i*o}function gE(n,t,e,r){n.addEventListener(t,e,r)}function yE(n,t,e,r){n.removeEventListener(t,e,r)}var Tb=function(n){n.preventDefault(),n.stopPropagation(),n.cancelBubble=!0},vE=(function(){function n(){this._track=[]}return n.prototype.recognize=function(t,e,r){return this._doTrack(t,e,r),this._recognize(t)},n.prototype.clear=function(){return this._track.length=0,this},n.prototype._doTrack=function(t,e,r){var i=t.touches;if(i){for(var o={points:[],touches:[],target:e,event:t},a=0,s=i.length;a<s;a++){var u=i[a],h=Kd(r,u,{});o.points.push([h.zrX,h.zrY]),o.touches.push(u)}this._track.push(o)}},n.prototype._recognize=function(t){for(var e in tg)if(tg.hasOwnProperty(e)){var r=tg[e](this._track,t);if(r)return r}},n})();function Ib(n){var t=n[1][0]-n[0][0],e=n[1][1]-n[0][1];return Math.sqrt(t*t+e*e)}function mE(n){return[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]}var tg={pinch:function(n,t){var e=n.length;if(e){var r=(n[e-1]||{}).points,i=(n[e-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var o=Ib(r)/Ib(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=mE(r);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:n[0].target,event:t}}}}};function ga(){return[1,0,0,1,0,0]}function eg(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=1,n[4]=0,n[5]=0,n}function _E(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n}function ya(n,t,e){var r=t[0]*e[0]+t[2]*e[1],i=t[1]*e[0]+t[3]*e[1],o=t[0]*e[2]+t[2]*e[3],a=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],u=t[1]*e[4]+t[3]*e[5]+t[5];return n[0]=r,n[1]=i,n[2]=o,n[3]=a,n[4]=s,n[5]=u,n}function ng(n,t,e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4]+e[0],n[5]=t[5]+e[1],n}function rg(n,t,e,r){r===void 0&&(r=[0,0]);var i=t[0],o=t[2],a=t[4],s=t[1],u=t[3],h=t[5],p=Math.sin(e),f=Math.cos(e);return n[0]=i*f+s*p,n[1]=-i*p+s*f,n[2]=o*f+u*p,n[3]=-o*p+f*u,n[4]=f*(a-r[0])+p*(h-r[1])+r[0],n[5]=f*(h-r[1])-p*(a-r[0])+r[1],n}function bE(n,t,e){var r=e[0],i=e[1];return n[0]=t[0]*r,n[1]=t[1]*i,n[2]=t[2]*r,n[3]=t[3]*i,n[4]=t[4]*r,n[5]=t[5]*i,n}function vc(n,t){var e=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],u=e*a-o*r;return u?(u=1/u,n[0]=a*u,n[1]=-o*u,n[2]=-r*u,n[3]=e*u,n[4]=(r*s-a*i)*u,n[5]=(o*i-e*s)*u,n):null}var Rt=(function(){function n(t,e){this.x=t||0,this.y=e||0}return n.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},n.prototype.clone=function(){return new n(this.x,this.y)},n.prototype.set=function(t,e){return this.x=t,this.y=e,this},n.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},n.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},n.prototype.scale=function(t){this.x*=t,this.y*=t},n.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},n.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},n.prototype.dot=function(t){return this.x*t.x+this.y*t.y},n.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},n.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},n.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},n.prototype.distance=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},n.prototype.distanceSquare=function(t){var e=this.x-t.x,r=this.y-t.y;return e*e+r*r},n.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},n.prototype.transform=function(t){if(t){var e=this.x,r=this.y;return this.x=t[0]*e+t[2]*r+t[4],this.y=t[1]*e+t[3]*r+t[5],this}},n.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},n.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},n.set=function(t,e,r){t.x=e,t.y=r},n.copy=function(t,e){t.x=e.x,t.y=e.y},n.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},n.lenSquare=function(t){return t.x*t.x+t.y*t.y},n.dot=function(t,e){return t.x*e.x+t.y*e.y},n.add=function(t,e,r){t.x=e.x+r.x,t.y=e.y+r.y},n.sub=function(t,e,r){t.x=e.x-r.x,t.y=e.y-r.y},n.scale=function(t,e,r){t.x=e.x*r,t.y=e.y*r},n.scaleAndAdd=function(t,e,r,i){t.x=e.x+r.x*i,t.y=e.y+r.y*i},n.lerp=function(t,e,r,i){var o=1-i;t.x=o*e.x+i*r.x,t.y=o*e.y+i*r.y},n})(),mc=Math.min,_c=Math.max,$i=new Rt,qi=new Rt,Xi=new Rt,Yi=new Rt,Ys=new Rt,Zs=new Rt,Gt=(function(){function n(t,e,r,i){r<0&&(t=t+r,r=-r),i<0&&(e=e+i,i=-i),this.x=t,this.y=e,this.width=r,this.height=i}return n.prototype.union=function(t){var e=mc(t.x,this.x),r=mc(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=_c(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=_c(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=e,this.y=r},n.prototype.applyTransform=function(t){n.applyTransform(this,this,t)},n.prototype.calculateTransform=function(t){var e=this,r=t.width/e.width,i=t.height/e.height,o=ga();return ng(o,o,[-e.x,-e.y]),bE(o,o,[r,i]),ng(o,o,[t.x,t.y]),o},n.prototype.intersect=function(t,e){if(!t)return!1;t instanceof n||(t=n.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,s=r.y+r.height,u=t.x,h=t.x+t.width,p=t.y,f=t.y+t.height,y=!(o<u||h<i||s<p||f<a);if(e){var g=1/0,v=0,_=Math.abs(o-u),m=Math.abs(h-i),b=Math.abs(s-p),w=Math.abs(f-a),k=Math.min(_,m),T=Math.min(b,w);o<u||h<i?k>v&&(v=k,_<m?Rt.set(Zs,-_,0):Rt.set(Zs,m,0)):k<g&&(g=k,_<m?Rt.set(Ys,_,0):Rt.set(Ys,-m,0)),s<p||f<a?T>v&&(v=T,b<w?Rt.set(Zs,0,-b):Rt.set(Zs,0,w)):k<g&&(g=k,b<w?Rt.set(Ys,0,b):Rt.set(Ys,0,-w))}return e&&Rt.copy(e,y?Ys:Zs),y},n.prototype.contain=function(t,e){var r=this;return t>=r.x&&t<=r.x+r.width&&e>=r.y&&e<=r.y+r.height},n.prototype.clone=function(){return new n(this.x,this.y,this.width,this.height)},n.prototype.copy=function(t){n.copy(this,t)},n.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},n.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},n.prototype.isZero=function(){return this.width===0||this.height===0},n.create=function(t){return new n(t.x,t.y,t.width,t.height)},n.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},n.applyTransform=function(t,e,r){if(!r){t!==e&&n.copy(t,e);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];t.x=e.x*i+a,t.y=e.y*o+s,t.width=e.width*i,t.height=e.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}$i.x=Xi.x=e.x,$i.y=Yi.y=e.y,qi.x=Yi.x=e.x+e.width,qi.y=Xi.y=e.y+e.height,$i.transform(r),Yi.transform(r),qi.transform(r),Xi.transform(r),t.x=mc($i.x,qi.x,Xi.x,Yi.x),t.y=mc($i.y,qi.y,Xi.y,Yi.y);var u=_c($i.x,qi.x,Xi.x,Yi.x),h=_c($i.y,qi.y,Xi.y,Yi.y);t.width=u-t.x,t.height=h-t.y},n})(),Db="silent";function xE(n,t,e){return{type:n,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:wE}}function wE(){Tb(this.event)}var SE=(function(n){te(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.handler=null,e}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(ar),Qs=(function(){function n(t,e){this.x=t,this.y=e}return n})(),kE=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ig=new Gt(0,0,0,0),Ab=(function(n){te(t,n);function t(e,r,i,o,a){var s=n.call(this)||this;return s._hovered=new Qs(0,0),s.storage=e,s.painter=r,s.painterRoot=o,s._pointerSize=a,i=i||new SE,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new oE(s),s}return t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(R(kE,function(r){e.on&&e.on(r,this[r],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var r=e.zrX,i=e.zrY,o=Eb(this,r,i),a=this._hovered,s=a.target;s&&!s.__zr&&(a=this.findHover(a.x,a.y),s=a.target);var u=this._hovered=o?new Qs(r,i):this.findHover(r,i),h=u.target,p=this.proxy;p.setCursor&&p.setCursor(h?h.cursor:"default"),s&&h!==s&&this.dispatchToElement(a,"mouseout",e),this.dispatchToElement(u,"mousemove",e),h&&h!==s&&this.dispatchToElement(u,"mouseover",e)},t.prototype.mouseout=function(e){var r=e.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Qs(0,0)},t.prototype.dispatch=function(e,r){var i=this[e];i&&i.call(this,r)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var r=this.proxy;r.setCursor&&r.setCursor(e)},t.prototype.dispatchToElement=function(e,r,i){e=e||{};var o=e.target;if(!(o&&o.silent)){for(var a="on"+r,s=xE(r,e,i);o&&(o[a]&&(s.cancelBubble=!!o[a].call(o,s)),o.trigger(r,s),o=o.__hostTarget?o.__hostTarget:o.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(r,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(u){typeof u[a]=="function"&&u[a].call(u,s),u.trigger&&u.trigger(r,s)}))}},t.prototype.findHover=function(e,r,i){var o=this.storage.getDisplayList(),a=new Qs(e,r);if(Ob(o,a,e,r,i),this._pointerSize&&!a.target){for(var s=[],u=this._pointerSize,h=u/2,p=new Gt(e-h,r-h,u,u),f=o.length-1;f>=0;f--){var y=o[f];y!==i&&!y.ignore&&!y.ignoreCoarsePointer&&(!y.parent||!y.parent.ignoreCoarsePointer)&&(ig.copy(y.getBoundingRect()),y.transform&&ig.applyTransform(y.transform),ig.intersect(p)&&s.push(y))}if(s.length)for(var g=4,v=Math.PI/12,_=Math.PI*2,m=0;m<h;m+=g)for(var b=0;b<_;b+=v){var w=e+m*Math.cos(b),k=r+m*Math.sin(b);if(Ob(s,a,w,k,i),a.target)return a}}return a},t.prototype.processGesture=function(e,r){this._gestureMgr||(this._gestureMgr=new vE);var i=this._gestureMgr;r==="start"&&i.clear();var o=i.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if(r==="end"&&i.clear(),o){var a=o.type;e.gestureEvent=a;var s=new Qs;s.target=o.target,this.dispatchToElement(s,a,o.event)}},t})(ar);R(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(n){Ab.prototype[n]=function(t){var e=t.zrX,r=t.zrY,i=Eb(this,e,r),o,a;if((n!=="mouseup"||!i)&&(o=this.findHover(e,r),a=o.target),n==="mousedown")this._downEl=a,this._downPoint=[t.zrX,t.zrY],this._upEl=a;else if(n==="mouseup")this._upEl=a;else if(n==="click"){if(this._downEl!==this._upEl||!this._downPoint||$d(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(o,n,t)}});function CE(n,t,e){if(n[n.rectHover?"rectContain":"contain"](t,e)){for(var r=n,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,e))return!1}r.silent&&(i=!0);var s=r.__hostTarget;r=s||r.parent}return i?Db:!0}return!1}function Ob(n,t,e,r,i){for(var o=n.length-1;o>=0;o--){var a=n[o],s=void 0;if(a!==i&&!a.ignore&&(s=CE(a,e,r))&&(!t.topTarget&&(t.topTarget=a),s!==Db)){t.target=a;break}}}function Eb(n,t,e){var r=n.painter;return t<0||t>r.getWidth()||e<0||e>r.getHeight()}var Pb=32,Ks=7;function ME(n){for(var t=0;n>=Pb;)t|=n&1,n>>=1;return n+t}function Nb(n,t,e,r){var i=t+1;if(i===e)return 1;if(r(n[i++],n[t])<0){for(;i<e&&r(n[i],n[i-1])<0;)i++;TE(n,t,i)}else for(;i<e&&r(n[i],n[i-1])>=0;)i++;return i-t}function TE(n,t,e){for(e--;t<e;){var r=n[t];n[t++]=n[e],n[e--]=r}}function Lb(n,t,e,r,i){for(r===t&&r++;r<e;r++){for(var o=n[r],a=t,s=r,u;a<s;)u=a+s>>>1,i(o,n[u])<0?s=u:a=u+1;var h=r-a;switch(h){case 3:n[a+3]=n[a+2];case 2:n[a+2]=n[a+1];case 1:n[a+1]=n[a];break;default:for(;h>0;)n[a+h]=n[a+h-1],h--}n[a]=o}}function og(n,t,e,r,i,o){var a=0,s=0,u=1;if(o(n,t[e+i])>0){for(s=r-i;u<s&&o(n,t[e+i+u])>0;)a=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),a+=i,u+=i}else{for(s=i+1;u<s&&o(n,t[e+i-u])<=0;)a=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var h=a;a=i-u,u=i-h}for(a++;a<u;){var p=a+(u-a>>>1);o(n,t[e+p])>0?a=p+1:u=p}return u}function ag(n,t,e,r,i,o){var a=0,s=0,u=1;if(o(n,t[e+i])<0){for(s=i+1;u<s&&o(n,t[e+i-u])<0;)a=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var h=a;a=i-u,u=i-h}else{for(s=r-i;u<s&&o(n,t[e+i+u])>=0;)a=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),a+=i,u+=i}for(a++;a<u;){var p=a+(u-a>>>1);o(n,t[e+p])<0?u=p:a=p+1}return u}function IE(n,t){var e=Ks,r,i,o=0,a=[];r=[],i=[];function s(g,v){r[o]=g,i[o]=v,o+=1}function u(){for(;o>1;){var g=o-2;if(g>=1&&i[g-1]<=i[g]+i[g+1]||g>=2&&i[g-2]<=i[g]+i[g-1])i[g-1]<i[g+1]&&g--;else if(i[g]>i[g+1])break;p(g)}}function h(){for(;o>1;){var g=o-2;g>0&&i[g-1]<i[g+1]&&g--,p(g)}}function p(g){var v=r[g],_=i[g],m=r[g+1],b=i[g+1];i[g]=_+b,g===o-3&&(r[g+1]=r[g+2],i[g+1]=i[g+2]),o--;var w=ag(n[m],n,v,_,0,t);v+=w,_-=w,_!==0&&(b=og(n[v+_-1],n,m,b,b-1,t),b!==0&&(_<=b?f(v,_,m,b):y(v,_,m,b)))}function f(g,v,_,m){var b=0;for(b=0;b<v;b++)a[b]=n[g+b];var w=0,k=_,T=g;if(n[T++]=n[k++],--m===0){for(b=0;b<v;b++)n[T+b]=a[w+b];return}if(v===1){for(b=0;b<m;b++)n[T+b]=n[k+b];n[T+m]=a[w];return}for(var C=e,I,A,E;;){I=0,A=0,E=!1;do if(t(n[k],a[w])<0){if(n[T++]=n[k++],A++,I=0,--m===0){E=!0;break}}else if(n[T++]=a[w++],I++,A=0,--v===1){E=!0;break}while((I|A)<C);if(E)break;do{if(I=ag(n[k],a,w,v,0,t),I!==0){for(b=0;b<I;b++)n[T+b]=a[w+b];if(T+=I,w+=I,v-=I,v<=1){E=!0;break}}if(n[T++]=n[k++],--m===0){E=!0;break}if(A=og(a[w],n,k,m,0,t),A!==0){for(b=0;b<A;b++)n[T+b]=n[k+b];if(T+=A,k+=A,m-=A,m===0){E=!0;break}}if(n[T++]=a[w++],--v===1){E=!0;break}C--}while(I>=Ks||A>=Ks);if(E)break;C<0&&(C=0),C+=2}if(e=C,e<1&&(e=1),v===1){for(b=0;b<m;b++)n[T+b]=n[k+b];n[T+m]=a[w]}else{if(v===0)throw new Error;for(b=0;b<v;b++)n[T+b]=a[w+b]}}function y(g,v,_,m){var b=0;for(b=0;b<m;b++)a[b]=n[_+b];var w=g+v-1,k=m-1,T=_+m-1,C=0,I=0;if(n[T--]=n[w--],--v===0){for(C=T-(m-1),b=0;b<m;b++)n[C+b]=a[b];return}if(m===1){for(T-=v,w-=v,I=T+1,C=w+1,b=v-1;b>=0;b--)n[I+b]=n[C+b];n[T]=a[k];return}for(var A=e;;){var E=0,P=0,L=!1;do if(t(a[k],n[w])<0){if(n[T--]=n[w--],E++,P=0,--v===0){L=!0;break}}else if(n[T--]=a[k--],P++,E=0,--m===1){L=!0;break}while((E|P)<A);if(L)break;do{if(E=v-ag(a[k],n,g,v,v-1,t),E!==0){for(T-=E,w-=E,v-=E,I=T+1,C=w+1,b=E-1;b>=0;b--)n[I+b]=n[C+b];if(v===0){L=!0;break}}if(n[T--]=a[k--],--m===1){L=!0;break}if(P=m-og(n[w],a,0,m,m-1,t),P!==0){for(T-=P,k-=P,m-=P,I=T+1,C=k+1,b=0;b<P;b++)n[I+b]=a[C+b];if(m<=1){L=!0;break}}if(n[T--]=n[w--],--v===0){L=!0;break}A--}while(E>=Ks||P>=Ks);if(L)break;A<0&&(A=0),A+=2}if(e=A,e<1&&(e=1),m===1){for(T-=v,w-=v,I=T+1,C=w+1,b=v-1;b>=0;b--)n[I+b]=n[C+b];n[T]=a[k]}else{if(m===0)throw new Error;for(C=T-(m-1),b=0;b<m;b++)n[C+b]=a[b]}}return{mergeRuns:u,forceMergeRuns:h,pushRun:s}}function bc(n,t,e,r){e||(e=0),r||(r=n.length);var i=r-e;if(!(i<2)){var o=0;if(i<Pb){o=Nb(n,e,r,t),Lb(n,e,r,e+o,t);return}var a=IE(n,t),s=ME(i);do{if(o=Nb(n,e,r,t),o<s){var u=i;u>s&&(u=s),Lb(n,e,e+u,e+o,t),o=u}a.pushRun(e,o),a.mergeRuns(),i-=o,e+=o}while(i!==0);a.forceMergeRuns()}}var cn=1,Js=2,va=4,Rb=!1;function sg(){Rb||(Rb=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function zb(n,t){return n.zlevel===t.zlevel?n.z===t.z?n.z2-t.z2:n.z-t.z:n.zlevel-t.zlevel}var DE=(function(){function n(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=zb}return n.prototype.traverse=function(t,e){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(t,e)},n.prototype.getDisplayList=function(t,e){e=e||!1;var r=this._displayList;return(t||!r.length)&&this.updateDisplayList(e),r},n.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,r=this._displayList,i=0,o=e.length;i<o;i++)this._updateAndAddDisplayable(e[i],null,t);r.length=this._displayListLen,bc(r,zb)},n.prototype._updateAndAddDisplayable=function(t,e,r){if(!(t.ignore&&!r)){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e?e=e.slice():e=[];for(var o=i,a=t;o;)o.parent=a,o.updateTransform(),e.push(o),a=o,o=o.getClipPath()}if(t.childrenRef){for(var s=t.childrenRef(),u=0;u<s.length;u++){var h=s[u];t.__dirty&&(h.__dirty|=cn),this._updateAndAddDisplayable(h,e,r)}t.__dirty=0}else{var p=t;e&&e.length?p.__clipPaths=e:p.__clipPaths&&p.__clipPaths.length>0&&(p.__clipPaths=[]),isNaN(p.z)&&(sg(),p.z=0),isNaN(p.z2)&&(sg(),p.z2=0),isNaN(p.zlevel)&&(sg(),p.zlevel=0),this._displayList[this._displayListLen++]=p}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,e,r);var y=t.getTextGuideLine();y&&this._updateAndAddDisplayable(y,e,r);var g=t.getTextContent();g&&this._updateAndAddDisplayable(g,e,r)}},n.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},n.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,r=t.length;e<r;e++)this.delRoot(t[e]);return}var i=Xt(this._roots,t);i>=0&&this._roots.splice(i,1)},n.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},n.prototype.getRoots=function(){return this._roots},n.prototype.dispose=function(){this._displayList=null,this._roots=null},n})(),xc;xc=Tt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(n){return setTimeout(n,16)};var tl={linear:function(n){return n},quadraticIn:function(n){return n*n},quadraticOut:function(n){return n*(2-n)},quadraticInOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)},cubicIn:function(n){return n*n*n},cubicOut:function(n){return--n*n*n+1},cubicInOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)},quarticIn:function(n){return n*n*n*n},quarticOut:function(n){return 1- --n*n*n*n},quarticInOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)},quinticIn:function(n){return n*n*n*n*n},quinticOut:function(n){return--n*n*n*n*n+1},quinticInOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)},sinusoidalIn:function(n){return 1-Math.cos(n*Math.PI/2)},sinusoidalOut:function(n){return Math.sin(n*Math.PI/2)},sinusoidalInOut:function(n){return .5*(1-Math.cos(Math.PI*n))},exponentialIn:function(n){return n===0?0:Math.pow(1024,n-1)},exponentialOut:function(n){return n===1?1:1-Math.pow(2,-10*n)},exponentialInOut:function(n){return n===0?0:n===1?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(-Math.pow(2,-10*(n-1))+2)},circularIn:function(n){return 1-Math.sqrt(1-n*n)},circularOut:function(n){return Math.sqrt(1- --n*n)},circularInOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)},elasticIn:function(n){var t,e=.1,r=.4;return n===0?0:n===1?1:(!e||e<1?(e=1,t=r/4):t=r*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/r)))},elasticOut:function(n){var t,e=.1,r=.4;return n===0?0:n===1?1:(!e||e<1?(e=1,t=r/4):t=r*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*n)*Math.sin((n-t)*(2*Math.PI)/r)+1)},elasticInOut:function(n){var t,e=.1,r=.4;return n===0?0:n===1?1:(!e||e<1?(e=1,t=r/4):t=r*Math.asin(1/e)/(2*Math.PI),(n*=2)<1?-.5*(e*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/r)):e*Math.pow(2,-10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/r)*.5+1)},backIn:function(n){var t=1.70158;return n*n*((t+1)*n-t)},backOut:function(n){var t=1.70158;return--n*n*((t+1)*n+t)+1},backInOut:function(n){var t=2.5949095;return(n*=2)<1?.5*(n*n*((t+1)*n-t)):.5*((n-=2)*n*((t+1)*n+t)+2)},bounceIn:function(n){return 1-tl.bounceOut(1-n)},bounceOut:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},bounceInOut:function(n){return n<.5?tl.bounceIn(n*2)*.5:tl.bounceOut(n*2-1)*.5+.5}},wc=Math.pow,ai=Math.sqrt,Sc=1e-8,Bb=1e-4,Fb=ai(3),kc=1/3,sr=ca(),xn=ca(),ma=ca();function si(n){return n>-Sc&&n<Sc}function Hb(n){return n>Sc||n<-Sc}function ke(n,t,e,r,i){var o=1-i;return o*o*(o*n+3*i*t)+i*i*(i*r+3*o*e)}function Vb(n,t,e,r,i){var o=1-i;return 3*(((t-n)*o+2*(e-t)*i)*o+(r-e)*i*i)}function Cc(n,t,e,r,i,o){var a=r+3*(t-e)-n,s=3*(e-t*2+n),u=3*(t-n),h=n-i,p=s*s-3*a*u,f=s*u-9*a*h,y=u*u-3*s*h,g=0;if(si(p)&&si(f))if(si(s))o[0]=0;else{var v=-u/s;v>=0&&v<=1&&(o[g++]=v)}else{var _=f*f-4*p*y;if(si(_)){var m=f/p,v=-s/a+m,b=-m/2;v>=0&&v<=1&&(o[g++]=v),b>=0&&b<=1&&(o[g++]=b)}else if(_>0){var w=ai(_),k=p*s+1.5*a*(-f+w),T=p*s+1.5*a*(-f-w);k<0?k=-wc(-k,kc):k=wc(k,kc),T<0?T=-wc(-T,kc):T=wc(T,kc);var v=(-s-(k+T))/(3*a);v>=0&&v<=1&&(o[g++]=v)}else{var C=(2*p*s-3*a*f)/(2*ai(p*p*p)),I=Math.acos(C)/3,A=ai(p),E=Math.cos(I),v=(-s-2*A*E)/(3*a),b=(-s+A*(E+Fb*Math.sin(I)))/(3*a),P=(-s+A*(E-Fb*Math.sin(I)))/(3*a);v>=0&&v<=1&&(o[g++]=v),b>=0&&b<=1&&(o[g++]=b),P>=0&&P<=1&&(o[g++]=P)}}return g}function Gb(n,t,e,r,i){var o=6*e-12*t+6*n,a=9*t+3*r-3*n-9*e,s=3*t-3*n,u=0;if(si(a)){if(Hb(o)){var h=-s/o;h>=0&&h<=1&&(i[u++]=h)}}else{var p=o*o-4*a*s;if(si(p))i[0]=-o/(2*a);else if(p>0){var f=ai(p),h=(-o+f)/(2*a),y=(-o-f)/(2*a);h>=0&&h<=1&&(i[u++]=h),y>=0&&y<=1&&(i[u++]=y)}}return u}function Mc(n,t,e,r,i,o){var a=(t-n)*i+n,s=(e-t)*i+t,u=(r-e)*i+e,h=(s-a)*i+a,p=(u-s)*i+s,f=(p-h)*i+h;o[0]=n,o[1]=a,o[2]=h,o[3]=f,o[4]=f,o[5]=p,o[6]=u,o[7]=r}function jb(n,t,e,r,i,o,a,s,u,h,p){var f,y=.005,g=1/0,v,_,m,b;sr[0]=u,sr[1]=h;for(var w=0;w<1;w+=.05)xn[0]=ke(n,e,i,a,w),xn[1]=ke(t,r,o,s,w),m=ha(sr,xn),m<g&&(f=w,g=m);g=1/0;for(var k=0;k<32&&!(y<Bb);k++)v=f-y,_=f+y,xn[0]=ke(n,e,i,a,v),xn[1]=ke(t,r,o,s,v),m=ha(xn,sr),v>=0&&m<g?(f=v,g=m):(ma[0]=ke(n,e,i,a,_),ma[1]=ke(t,r,o,s,_),b=ha(ma,sr),_<=1&&b<g?(f=_,g=b):y*=.5);return p&&(p[0]=ke(n,e,i,a,f),p[1]=ke(t,r,o,s,f)),ai(g)}function AE(n,t,e,r,i,o,a,s,u){for(var h=n,p=t,f=0,y=1/u,g=1;g<=u;g++){var v=g*y,_=ke(n,e,i,a,v),m=ke(t,r,o,s,v),b=_-h,w=m-p;f+=Math.sqrt(b*b+w*w),h=_,p=m}return f}function Ne(n,t,e,r){var i=1-r;return i*(i*n+2*r*t)+r*r*e}function Ub(n,t,e,r){return 2*((1-r)*(t-n)+r*(e-t))}function OE(n,t,e,r,i){var o=n-2*t+e,a=2*(t-n),s=n-r,u=0;if(si(o)){if(Hb(a)){var h=-s/a;h>=0&&h<=1&&(i[u++]=h)}}else{var p=a*a-4*o*s;if(si(p)){var h=-a/(2*o);h>=0&&h<=1&&(i[u++]=h)}else if(p>0){var f=ai(p),h=(-a+f)/(2*o),y=(-a-f)/(2*o);h>=0&&h<=1&&(i[u++]=h),y>=0&&y<=1&&(i[u++]=y)}}return u}function Wb(n,t,e){var r=n+e-2*t;return r===0?.5:(n-t)/r}function Tc(n,t,e,r,i){var o=(t-n)*r+n,a=(e-t)*r+t,s=(a-o)*r+o;i[0]=n,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=e}function $b(n,t,e,r,i,o,a,s,u){var h,p=.005,f=1/0;sr[0]=a,sr[1]=s;for(var y=0;y<1;y+=.05){xn[0]=Ne(n,e,i,y),xn[1]=Ne(t,r,o,y);var g=ha(sr,xn);g<f&&(h=y,f=g)}f=1/0;for(var v=0;v<32&&!(p<Bb);v++){var _=h-p,m=h+p;xn[0]=Ne(n,e,i,_),xn[1]=Ne(t,r,o,_);var g=ha(xn,sr);if(_>=0&&g<f)h=_,f=g;else{ma[0]=Ne(n,e,i,m),ma[1]=Ne(t,r,o,m);var b=ha(ma,sr);m<=1&&b<f?(h=m,f=b):p*=.5}}return u&&(u[0]=Ne(n,e,i,h),u[1]=Ne(t,r,o,h)),ai(f)}function EE(n,t,e,r,i,o,a){for(var s=n,u=t,h=0,p=1/a,f=1;f<=a;f++){var y=f*p,g=Ne(n,e,i,y),v=Ne(t,r,o,y),_=g-s,m=v-u;h+=Math.sqrt(_*_+m*m),s=g,u=v}return h}var PE=/cubic-bezier\(([0-9,\.e ]+)\)/;function qb(n){var t=n&&PE.exec(n);if(t){var e=t[1].split(","),r=+or(e[0]),i=+or(e[1]),o=+or(e[2]),a=+or(e[3]);if(isNaN(r+i+o+a))return;var s=[];return function(u){return u<=0?0:u>=1?1:Cc(0,r,o,1,u,s)&&ke(0,i,a,1,s[0])}}}var NE=(function(){function n(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Je,this.ondestroy=t.ondestroy||Je,this.onrestart=t.onrestart||Je,t.easing&&this.setEasing(t.easing)}return n.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var r=this._life,i=t-this._startTime-this._pausedTime,o=i/r;o<0&&(o=0),o=Math.min(o,1);var a=this.easingFunc,s=a?a(o):o;if(this.onframe(s),o===1)if(this.loop){var u=i%r;this._startTime=t-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},n.prototype.pause=function(){this._paused=!0},n.prototype.resume=function(){this._paused=!1},n.prototype.setEasing=function(t){this.easing=t,this.easingFunc=At(t)?t:tl[t]||qb(t)},n})(),Xb=(function(){function n(t){this.value=t}return n})(),LE=(function(){function n(){this._len=0}return n.prototype.insert=function(t){var e=new Xb(t);return this.insertEntry(e),e},n.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},n.prototype.remove=function(t){var e=t.prev,r=t.next;e?e.next=r:this.head=r,r?r.prev=e:this.tail=e,t.next=t.prev=null,this._len--},n.prototype.len=function(){return this._len},n.prototype.clear=function(){this.head=this.tail=null,this._len=0},n})(),el=(function(){function n(t){this._list=new LE,this._maxSize=10,this._map={},this._maxSize=t}return n.prototype.put=function(t,e){var r=this._list,i=this._map,o=null;if(i[t]==null){var a=r.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var u=r.head;r.remove(u),delete i[u.key],o=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new Xb(e),s.key=t,r.insertEntry(s),i[t]=s}return o},n.prototype.get=function(t){var e=this._map[t],r=this._list;if(e!=null)return e!==r.tail&&(r.remove(e),r.insertEntry(e)),e.value},n.prototype.clear=function(){this._list.clear(),this._map={}},n.prototype.len=function(){return this._list.len()},n})(),Yb={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 li(n){return n=Math.round(n),n<0?0:n>255?255:n}function lg(n){return n<0?0:n>1?1:n}function ug(n){var t=n;return t.length&&t.charAt(t.length-1)==="%"?li(parseFloat(t)/100*255):li(parseInt(t,10))}function nl(n){var t=n;return t.length&&t.charAt(t.length-1)==="%"?lg(parseFloat(t)/100):lg(parseFloat(t))}function cg(n,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?n+(t-n)*e*6:e*2<1?t:e*3<2?n+(t-n)*(2/3-e)*6:n}function Ic(n,t,e){return n+(t-n)*e}function wn(n,t,e,r,i){return n[0]=t,n[1]=e,n[2]=r,n[3]=i,n}function hg(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n}var Zb=new el(20),Dc=null;function _a(n,t){Dc&&hg(Dc,t),Dc=Zb.put(n,Dc||t.slice())}function Cr(n,t){if(n){t=t||[];var e=Zb.get(n);if(e)return hg(t,e);n=n+"";var r=n.replace(/ /g,"").toLowerCase();if(r in Yb)return hg(t,Yb[r]),_a(n,t),t;var i=r.length;if(r.charAt(0)==="#"){if(i===4||i===5){var o=parseInt(r.slice(1,4),16);if(!(o>=0&&o<=4095)){wn(t,0,0,0,1);return}return wn(t,(o&3840)>>4|(o&3840)>>8,o&240|(o&240)>>4,o&15|(o&15)<<4,i===5?parseInt(r.slice(4),16)/15:1),_a(n,t),t}else if(i===7||i===9){var o=parseInt(r.slice(1,7),16);if(!(o>=0&&o<=16777215)){wn(t,0,0,0,1);return}return wn(t,(o&16711680)>>16,(o&65280)>>8,o&255,i===9?parseInt(r.slice(7),16)/255:1),_a(n,t),t}return}var a=r.indexOf("("),s=r.indexOf(")");if(a!==-1&&s+1===i){var u=r.substr(0,a),h=r.substr(a+1,s-(a+1)).split(","),p=1;switch(u){case"rgba":if(h.length!==4)return h.length===3?wn(t,+h[0],+h[1],+h[2],1):wn(t,0,0,0,1);p=nl(h.pop());case"rgb":if(h.length>=3)return wn(t,ug(h[0]),ug(h[1]),ug(h[2]),h.length===3?p:nl(h[3])),_a(n,t),t;wn(t,0,0,0,1);return;case"hsla":if(h.length!==4){wn(t,0,0,0,1);return}return h[3]=nl(h[3]),Qb(h,t),_a(n,t),t;case"hsl":if(h.length!==3){wn(t,0,0,0,1);return}return Qb(h,t),_a(n,t),t;default:return}}wn(t,0,0,0,1)}}function Qb(n,t){var e=(parseFloat(n[0])%360+360)%360/360,r=nl(n[1]),i=nl(n[2]),o=i<=.5?i*(r+1):i+r-i*r,a=i*2-o;return t=t||[],wn(t,li(cg(a,o,e+1/3)*255),li(cg(a,o,e)*255),li(cg(a,o,e-1/3)*255),1),n.length===4&&(t[3]=n[3]),t}function Kb(n,t){var e=Cr(n);if(e){for(var r=0;r<3;r++)e[r]=e[r]*(1-t)|0,e[r]>255?e[r]=255:e[r]<0&&(e[r]=0);return Ac(e,e.length===4?"rgba":"rgb")}}function RE(n,t,e){if(!(!(t&&t.length)||!(n>=0&&n<=1))){var r=n*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=Cr(t[i]),s=Cr(t[o]),u=r-i,h=Ac([li(Ic(a[0],s[0],u)),li(Ic(a[1],s[1],u)),li(Ic(a[2],s[2],u)),lg(Ic(a[3],s[3],u))],"rgba");return e?{color:h,leftIndex:i,rightIndex:o,value:r}:h}}function Ac(n,t){if(!(!n||!n.length)){var e=n[0]+","+n[1]+","+n[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+n[3]),t+"("+e+")"}}function Oc(n,t){var e=Cr(n);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var Jb=new el(100);function tx(n){if(gt(n)){var t=Jb.get(n);return t||(t=Kb(n,-.1),Jb.put(n,t)),t}else if(pc(n)){var e=ut({},n);return e.colorStops=xt(n.colorStops,function(r){return{offset:r.offset,color:Kb(r.color,-.1)}}),e}return n}function zE(n){return n.type==="linear"}function BE(n){return n.type==="radial"}(function(){return Tt.hasGlobalWindow&&At(window.btoa)?function(n){return window.btoa(unescape(encodeURIComponent(n)))}:typeof Buffer<"u"?function(n){return Buffer.from(n).toString("base64")}:function(n){return null}})();var pg=Array.prototype.slice;function Mr(n,t,e){return(t-n)*e+n}function fg(n,t,e,r){for(var i=t.length,o=0;o<i;o++)n[o]=Mr(t[o],e[o],r);return n}function FE(n,t,e,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){n[a]||(n[a]=[]);for(var s=0;s<o;s++)n[a][s]=Mr(t[a][s],e[a][s],r)}return n}function Ec(n,t,e,r){for(var i=t.length,o=0;o<i;o++)n[o]=t[o]+e[o]*r;return n}function ex(n,t,e,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){n[a]||(n[a]=[]);for(var s=0;s<o;s++)n[a][s]=t[a][s]+e[a][s]*r}return n}function HE(n,t){for(var e=n.length,r=t.length,i=e>r?t:n,o=Math.min(e,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(e,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function VE(n,t,e){var r=n,i=t;if(!(!r.push||!i.push)){var o=r.length,a=i.length;if(o!==a){var s=o>a;if(s)r.length=a;else for(var u=o;u<a;u++)r.push(e===1?i[u]:pg.call(i[u]))}for(var h=r[0]&&r[0].length,u=0;u<r.length;u++)if(e===1)isNaN(r[u])&&(r[u]=i[u]);else for(var p=0;p<h;p++)isNaN(r[u][p])&&(r[u][p]=i[u][p])}}function Pc(n){if(Qe(n)){var t=n.length;if(Qe(n[0])){for(var e=[],r=0;r<t;r++)e.push(pg.call(n[r]));return e}return pg.call(n)}return n}function Nc(n){return n[0]=Math.floor(n[0])||0,n[1]=Math.floor(n[1])||0,n[2]=Math.floor(n[2])||0,n[3]=n[3]==null?1:n[3],"rgba("+n.join(",")+")"}function GE(n){return Qe(n&&n[0])?2:1}var Lc=0,Rc=1,nx=2,rl=3,dg=4,gg=5,rx=6;function ix(n){return n===dg||n===gg}function zc(n){return n===Rc||n===nx}var il=[0,0,0,0],jE=(function(){function n(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return n.prototype.isFinished=function(){return this._finished},n.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},n.prototype.needsAnimate=function(){return this.keyframes.length>=1},n.prototype.getAdditiveTrack=function(){return this._additiveTrack},n.prototype.addKeyframe=function(t,e,r){this._needsSort=!0;var i=this.keyframes,o=i.length,a=!1,s=rx,u=e;if(Qe(e)){var h=GE(e);s=h,(h===1&&!se(e[0])||h===2&&!se(e[0][0]))&&(a=!0)}else if(se(e)&&!fc(e))s=Lc;else if(gt(e))if(!isNaN(+e))s=Lc;else{var p=Cr(e);p&&(u=p,s=rl)}else if(pc(e)){var f=ut({},u);f.colorStops=xt(e.colorStops,function(g){return{offset:g.offset,color:Cr(g.color)}}),zE(e)?s=dg:BE(e)&&(s=gg),u=f}o===0?this.valType=s:(s!==this.valType||s===rx)&&(a=!0),this.discrete=this.discrete||a;var y={time:t,value:u,rawValue:e,percent:0};return r&&(y.easing=r,y.easingFunc=At(r)?r:tl[r]||qb(r)),i.push(y),y},n.prototype.prepare=function(t,e){var r=this.keyframes;this._needsSort&&r.sort(function(_,m){return _.time-m.time});for(var i=this.valType,o=r.length,a=r[o-1],s=this.discrete,u=zc(i),h=ix(i),p=0;p<o;p++){var f=r[p],y=f.value,g=a.value;f.percent=f.time/t,s||(u&&p!==o-1?VE(y,g,i):h&&HE(y.colorStops,g.colorStops))}if(!s&&i!==gg&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var v=r[0].value,p=0;p<o;p++)i===Lc?r[p].additiveValue=r[p].value-v:i===rl?r[p].additiveValue=Ec([],r[p].value,v,-1):zc(i)&&(r[p].additiveValue=i===Rc?Ec([],r[p].value,v,-1):ex([],r[p].value,v,-1))}},n.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,i=r?"additiveValue":"value",o=this.valType,a=this.keyframes,s=a.length,u=this.propName,h=o===rl,p,f=this._lastFr,y=Math.min,g,v;if(s===1)g=v=a[0];else{if(e<0)p=0;else if(e<this._lastFrP){var _=y(f+1,s-1);for(p=_;p>=0&&!(a[p].percent<=e);p--);p=y(p,s-2)}else{for(p=f;p<s&&!(a[p].percent>e);p++);p=y(p-1,s-2)}v=a[p+1],g=a[p]}if(g&&v){this._lastFr=p,this._lastFrP=e;var m=v.percent-g.percent,b=m===0?1:y((e-g.percent)/m,1);v.easingFunc&&(b=v.easingFunc(b));var w=r?this._additiveValue:h?il:t[u];if((zc(o)||h)&&!w&&(w=this._additiveValue=[]),this.discrete)t[u]=b<1?g.rawValue:v.rawValue;else if(zc(o))o===Rc?fg(w,g[i],v[i],b):FE(w,g[i],v[i],b);else if(ix(o)){var k=g[i],T=v[i],C=o===dg;t[u]={type:C?"linear":"radial",x:Mr(k.x,T.x,b),y:Mr(k.y,T.y,b),colorStops:xt(k.colorStops,function(A,E){var P=T.colorStops[E];return{offset:Mr(A.offset,P.offset,b),color:Nc(fg([],A.color,P.color,b))}}),global:T.global},C?(t[u].x2=Mr(k.x2,T.x2,b),t[u].y2=Mr(k.y2,T.y2,b)):t[u].r=Mr(k.r,T.r,b)}else if(h)fg(w,g[i],v[i],b),r||(t[u]=Nc(w));else{var I=Mr(g[i],v[i],b);r?this._additiveValue=I:t[u]=I}r&&this._addToTarget(t)}}},n.prototype._addToTarget=function(t){var e=this.valType,r=this.propName,i=this._additiveValue;e===Lc?t[r]=t[r]+i:e===rl?(Cr(t[r],il),Ec(il,il,i,1),t[r]=Nc(il)):e===Rc?Ec(t[r],t[r],i,1):e===nx&&ex(t[r],t[r],i,1)},n})(),yg=(function(){function n(t,e,r,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i){Hd("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=r}return n.prototype.getMaxTime=function(){return this._maxTime},n.prototype.getDelay=function(){return this._delay},n.prototype.getLoop=function(){return this._loop},n.prototype.getTarget=function(){return this._target},n.prototype.changeTarget=function(t){this._target=t},n.prototype.when=function(t,e,r){return this.whenWithKeys(t,e,ae(e),r)},n.prototype.whenWithKeys=function(t,e,r,i){for(var o=this._tracks,a=0;a<r.length;a++){var s=r[a],u=o[s];if(!u){u=o[s]=new jE(s);var h=void 0,p=this._getAdditiveTrack(s);if(p){var f=p.keyframes,y=f[f.length-1];h=y&&y.value,p.valType===rl&&h&&(h=Nc(h))}else h=this._target[s];if(h==null)continue;t>0&&u.addKeyframe(0,Pc(h),i),this._trackKeys.push(s)}u.addKeyframe(t,Pc(e[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},n.prototype.pause=function(){this._clip.pause(),this._paused=!0},n.prototype.resume=function(){this._clip.resume(),this._paused=!1},n.prototype.isPaused=function(){return!!this._paused},n.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},n.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,r=0;r<e;r++)t[r].call(this)},n.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var r=0;r<e.length;r++)e[r].call(this)},n.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,r=0;r<e.length;r++)t[e[r]].setFinished()},n.prototype._getAdditiveTrack=function(t){var e,r=this._additiveAnimators;if(r)for(var i=0;i<r.length;i++){var o=r[i].getTrack(t);o&&(e=o)}return e},n.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,r=[],i=this._maxTime||0,o=0;o<this._trackKeys.length;o++){var a=this._trackKeys[o],s=this._tracks[a],u=this._getAdditiveTrack(a),h=s.keyframes,p=h.length;if(s.prepare(i,u),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var f=h[p-1];f&&(e._target[s.propName]=f.rawValue),s.setFinished()}else r.push(s)}if(r.length||this._force){var y=new NE({life:i,loop:this._loop,delay:this._delay||0,onframe:function(g){e._started=2;var v=e._additiveAnimators;if(v){for(var _=!1,m=0;m<v.length;m++)if(v[m]._clip){_=!0;break}_||(e._additiveAnimators=null)}for(var m=0;m<r.length;m++)r[m].step(e._target,g);var b=e._onframeCbs;if(b)for(var m=0;m<b.length;m++)b[m](e._target,g)},ondestroy:function(){e._doneCallback()}});this._clip=y,this.animation&&this.animation.addClip(y),t&&y.setEasing(t)}else this._doneCallback();return this}},n.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},n.prototype.delay=function(t){return this._delay=t,this},n.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},n.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},n.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},n.prototype.getClip=function(){return this._clip},n.prototype.getTrack=function(t){return this._tracks[t]},n.prototype.getTracks=function(){var t=this;return xt(this._trackKeys,function(e){return t._tracks[e]})},n.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var r=this._tracks,i=this._trackKeys,o=0;o<t.length;o++){var a=r[t[o]];a&&!a.isFinished()&&(e?a.step(this._target,1):this._started===1&&a.step(this._target,0),a.setFinished())}for(var s=!0,o=0;o<i.length;o++)if(!r[i[o]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},n.prototype.saveTo=function(t,e,r){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var o=e[i],a=this._tracks[o];if(!(!a||a.isFinished())){var s=a.keyframes,u=s[r?0:s.length-1];u&&(t[o]=Pc(u.rawValue))}}}},n.prototype.__changeFinalValue=function(t,e){e=e||ae(t);for(var r=0;r<e.length;r++){var i=e[r],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},n})();function ba(){return new Date().getTime()}var UE=(function(n){te(t,n);function t(e){var r=n.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,e=e||{},r.stage=e.stage||{},r}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var r=e.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(e){if(e.animation){var r=e.prev,i=e.next;r?r.next=i:this._head=i,i?i.prev=r:this._tail=r,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var r=e.getClip();r&&this.removeClip(r),e.animation=null},t.prototype.update=function(e){for(var r=ba()-this._pausedTime,i=r-this._time,o=this._head;o;){var a=o.next,s=o.step(r,i);s&&(o.ondestroy(),this.removeClip(o)),o=a}this._time=r,e||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function r(){e._running&&(xc(r),!e._paused&&e.update())}xc(r)},t.prototype.start=function(){this._running||(this._time=ba(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=ba(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=ba()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var r=e.next;e.prev=e.next=e.animation=null,e=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,r){r=r||{},this.start();var i=new yg(e,r.loop);return this.addAnimator(i),i},t})(ar),WE=300,vg=Tt.domSupported,mg=(function(){var n=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=xt(n,function(i){var o=i.replace("mouse","pointer");return e.hasOwnProperty(o)?o:i});return{mouse:n,touch:t,pointer:r}})(),ox={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},ax=!1;function _g(n){var t=n.pointerType;return t==="pen"||t==="touch"}function $E(n){n.touching=!0,n.touchTimer!=null&&(clearTimeout(n.touchTimer),n.touchTimer=null),n.touchTimer=setTimeout(function(){n.touching=!1,n.touchTimer=null},700)}function bg(n){n&&(n.zrByTouch=!0)}function qE(n,t){return bn(n.dom,new XE(n,t),!0)}function sx(n,t){for(var e=t,r=!1;e&&e.nodeType!==9&&!(r=e.domBelongToZr||e!==t&&e===n.painterRoot);)e=e.parentNode;return r}var XE=(function(){function n(t,e){this.stopPropagation=Je,this.stopImmediatePropagation=Je,this.preventDefault=Je,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return n})(),Fn={mousedown:function(n){n=bn(this.dom,n),this.__mayPointerCapture=[n.zrX,n.zrY],this.trigger("mousedown",n)},mousemove:function(n){n=bn(this.dom,n);var t=this.__mayPointerCapture;t&&(n.zrX!==t[0]||n.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",n)},mouseup:function(n){n=bn(this.dom,n),this.__togglePointerCapture(!1),this.trigger("mouseup",n)},mouseout:function(n){n=bn(this.dom,n);var t=n.toElement||n.relatedTarget;sx(this,t)||(this.__pointerCapturing&&(n.zrEventControl="no_globalout"),this.trigger("mouseout",n))},wheel:function(n){ax=!0,n=bn(this.dom,n),this.trigger("mousewheel",n)},mousewheel:function(n){ax||(n=bn(this.dom,n),this.trigger("mousewheel",n))},touchstart:function(n){n=bn(this.dom,n),bg(n),this.__lastTouchMoment=new Date,this.handler.processGesture(n,"start"),Fn.mousemove.call(this,n),Fn.mousedown.call(this,n)},touchmove:function(n){n=bn(this.dom,n),bg(n),this.handler.processGesture(n,"change"),Fn.mousemove.call(this,n)},touchend:function(n){n=bn(this.dom,n),bg(n),this.handler.processGesture(n,"end"),Fn.mouseup.call(this,n),+new Date-+this.__lastTouchMoment<WE&&Fn.click.call(this,n)},pointerdown:function(n){Fn.mousedown.call(this,n)},pointermove:function(n){_g(n)||Fn.mousemove.call(this,n)},pointerup:function(n){Fn.mouseup.call(this,n)},pointerout:function(n){_g(n)||Fn.mouseout.call(this,n)}};R(["click","dblclick","contextmenu"],function(n){Fn[n]=function(t){t=bn(this.dom,t),this.trigger(n,t)}});var xg={pointermove:function(n){_g(n)||xg.mousemove.call(this,n)},pointerup:function(n){xg.mouseup.call(this,n)},mousemove:function(n){this.trigger("mousemove",n)},mouseup:function(n){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",n),t&&(n.zrEventControl="only_globalout",this.trigger("mouseout",n))}};function YE(n,t){var e=t.domHandlers;Tt.pointerEventsSupported?R(mg.pointer,function(r){Bc(t,r,function(i){e[r].call(n,i)})}):(Tt.touchEventsSupported&&R(mg.touch,function(r){Bc(t,r,function(i){e[r].call(n,i),$E(t)})}),R(mg.mouse,function(r){Bc(t,r,function(i){i=Jd(i),t.touching||e[r].call(n,i)})}))}function ZE(n,t){Tt.pointerEventsSupported?R(ox.pointer,e):Tt.touchEventsSupported||R(ox.mouse,e);function e(r){function i(o){o=Jd(o),sx(n,o.target)||(o=qE(n,o),t.domHandlers[r].call(n,o))}Bc(t,r,i,{capture:!0})}}function Bc(n,t,e,r){n.mounted[t]=e,n.listenerOpts[t]=r,gE(n.domTarget,t,e,r)}function wg(n){var t=n.mounted;for(var e in t)t.hasOwnProperty(e)&&yE(n.domTarget,e,t[e],n.listenerOpts[e]);n.mounted={}}var lx=(function(){function n(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return n})(),QE=(function(n){te(t,n);function t(e,r){var i=n.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=r,i._localHandlerScope=new lx(e,Fn),vg&&(i._globalHandlerScope=new lx(document,xg)),YE(i,i._localHandlerScope),i}return t.prototype.dispose=function(){wg(this._localHandlerScope),vg&&wg(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,vg&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var r=this._globalHandlerScope;e?ZE(this,r):wg(r)}},t})(ar),ux=1;Tt.hasGlobalWindow&&(ux=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Fc=ux,Sg=.4,kg="#333",Cg="#ccc",KE="#eee",cx=eg,hx=5e-5;function Zi(n){return n>hx||n<-hx}var Qi=[],xa=[],Mg=ga(),Tg=Math.abs,Hc=(function(){function n(){}return n.prototype.getLocalTransform=function(t){return n.getLocalTransform(this,t)},n.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},n.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},n.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},n.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},n.prototype.needLocalTransform=function(){return Zi(this.rotation)||Zi(this.x)||Zi(this.y)||Zi(this.scaleX-1)||Zi(this.scaleY-1)||Zi(this.skewX)||Zi(this.skewY)},n.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),r=this.transform;if(!(e||t)){r&&(cx(r),this.invTransform=null);return}r=r||ga(),e?this.getLocalTransform(r):cx(r),t&&(e?ya(r,t,r):_E(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},n.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(Qi);var r=Qi[0]<0?-1:1,i=Qi[1]<0?-1:1,o=((Qi[0]-r)*e+r)/Qi[0]||0,a=((Qi[1]-i)*e+i)/Qi[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||ga(),vc(this.invTransform,t)},n.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},n.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),o=Math.PI/2+i-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),e=Math.sqrt(e),this.skewX=o,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=r,this.originX=0,this.originY=0}},n.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||ga(),ya(xa,t.invTransform,e),e=xa);var r=this.originX,i=this.originY;(r||i)&&(Mg[4]=r,Mg[5]=i,ya(xa,e,Mg),xa[4]-=r,xa[5]-=i,e=xa),this.setLocalTransform(e)}},n.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},n.prototype.transformCoordToLocal=function(t,e){var r=[t,e],i=this.invTransform;return i&&_n(r,r,i),r},n.prototype.transformCoordToGlobal=function(t,e){var r=[t,e],i=this.transform;return i&&_n(r,r,i),r},n.prototype.getLineScale=function(){var t=this.transform;return t&&Tg(t[0]-1)>1e-10&&Tg(t[3]-1)>1e-10?Math.sqrt(Tg(t[0]*t[3]-t[2]*t[1])):1},n.prototype.copyTransform=function(t){JE(this,t)},n.getLocalTransform=function(t,e){e=e||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,u=t.anchorY,h=t.rotation||0,p=t.x,f=t.y,y=t.skewX?Math.tan(t.skewX):0,g=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||u){var v=r+s,_=i+u;e[4]=-v*o-y*_*a,e[5]=-_*a-g*v*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=g*o,e[2]=y*a,h&&rg(e,e,h),e[4]+=r+p,e[5]+=i+f,e},n.initDefaultProps=(function(){var t=n.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),n})(),ol=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function JE(n,t){for(var e=0;e<ol.length;e++){var r=ol[e];n[r]=t[r]}}var px={};function hn(n,t){t=t||Ui;var e=px[t];e||(e=px[t]=new el(500));var r=e.get(n);return r==null&&(r=la.measureText(n,t).width,e.put(n,r)),r}function fx(n,t,e,r){var i=hn(n,t),o=Dg(t),a=al(0,i,e),s=wa(0,o,r),u=new Gt(a,s,i,o);return u}function Ig(n,t,e,r){var i=((n||"")+"").split(`
105
+ `),o=i.length;if(o===1)return fx(i[0],t,e,r);for(var a=new Gt(0,0,0,0),s=0;s<i.length;s++){var u=fx(i[s],t,e,r);s===0?a.copy(u):a.union(u)}return a}function al(n,t,e){return e==="right"?n-=t:e==="center"&&(n-=t/2),n}function wa(n,t,e){return e==="middle"?n-=t/2:e==="bottom"&&(n-=t),n}function Dg(n){return hn("\u56FD",n)}function ui(n,t){return typeof n=="string"?n.lastIndexOf("%")>=0?parseFloat(n)/100*t:parseFloat(n):n}function Vc(n,t,e){var r=t.position||"inside",i=t.distance!=null?t.distance:5,o=e.height,a=e.width,s=o/2,u=e.x,h=e.y,p="left",f="top";if(r instanceof Array)u+=ui(r[0],e.width),h+=ui(r[1],e.height),p=null,f=null;else switch(r){case"left":u-=i,h+=s,p="right",f="middle";break;case"right":u+=i+a,h+=s,f="middle";break;case"top":u+=a/2,h-=i,p="center",f="bottom";break;case"bottom":u+=a/2,h+=o+i,p="center";break;case"inside":u+=a/2,h+=s,p="center",f="middle";break;case"insideLeft":u+=i,h+=s,f="middle";break;case"insideRight":u+=a-i,h+=s,p="right",f="middle";break;case"insideTop":u+=a/2,h+=i,p="center";break;case"insideBottom":u+=a/2,h+=o-i,p="center",f="bottom";break;case"insideTopLeft":u+=i,h+=i;break;case"insideTopRight":u+=a-i,h+=i,p="right";break;case"insideBottomLeft":u+=i,h+=o-i,f="bottom";break;case"insideBottomRight":u+=a-i,h+=o-i,p="right",f="bottom";break}return n=n||{},n.x=u,n.y=h,n.align=p,n.verticalAlign=f,n}var Ag="__zr_normal__",Og=ol.concat(["ignore"]),tP=ua(ol,function(n,t){return n[t]=!0,n},{ignore:!1}),Sa={},eP=new Gt(0,0,0,0),Gc=(function(){function n(t){this.id=yb(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return n.prototype._init=function(t){this.attr(t)},n.prototype.drift=function(t,e,r){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},n.prototype.beforeUpdate=function(){},n.prototype.afterUpdate=function(){},n.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},n.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,i=r.local,o=e.innerTransformable,a=void 0,s=void 0,u=!1;o.parent=i?this:null;var h=!1;if(o.copyTransform(e),r.position!=null){var p=eP;r.layoutRect?p.copy(r.layoutRect):p.copy(this.getBoundingRect()),i||p.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Sa,r,p):Vc(Sa,r,p),o.x=Sa.x,o.y=Sa.y,a=Sa.align,s=Sa.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var y=void 0,g=void 0;f==="center"?(y=p.width*.5,g=p.height*.5):(y=ui(f[0],p.width),g=ui(f[1],p.height)),h=!0,o.originX=-o.x+y+(i?0:p.x),o.originY=-o.y+g+(i?0:p.y)}}r.rotation!=null&&(o.rotation=r.rotation);var v=r.offset;v&&(o.x+=v[0],o.y+=v[1],h||(o.originX=-v[0],o.originY=-v[1]));var _=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),b=void 0,w=void 0,k=void 0;_&&this.canBeInsideText()?(b=r.insideFill,w=r.insideStroke,(b==null||b==="auto")&&(b=this.getInsideTextFill()),(w==null||w==="auto")&&(w=this.getInsideTextStroke(b),k=!0)):(b=r.outsideFill,w=r.outsideStroke,(b==null||b==="auto")&&(b=this.getOutsideFill()),(w==null||w==="auto")&&(w=this.getOutsideStroke(b),k=!0)),b=b||"#000",(b!==m.fill||w!==m.stroke||k!==m.autoStroke||a!==m.align||s!==m.verticalAlign)&&(u=!0,m.fill=b,m.stroke=w,m.autoStroke=k,m.align=a,m.verticalAlign=s,e.setDefaultTextStyle(m)),e.__dirty|=cn,u&&e.dirtyStyle(!0)}},n.prototype.canBeInsideText=function(){return!0},n.prototype.getInsideTextFill=function(){return"#fff"},n.prototype.getInsideTextStroke=function(t){return"#000"},n.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Cg:kg},n.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),r=typeof e=="string"&&Cr(e);r||(r=[255,255,255,1]);for(var i=r[3],o=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*i+(o?0:255)*(1-i);return r[3]=1,Ac(r,"rgba")},n.prototype.traverse=function(t,e){},n.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},ut(this.extra,e)):this[t]=e},n.prototype.hide=function(){this.ignore=!0,this.markRedraw()},n.prototype.show=function(){this.ignore=!1,this.markRedraw()},n.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if(mt(t))for(var r=t,i=ae(r),o=0;o<i.length;o++){var a=i[o];this.attrKV(a,t[a])}return this.markRedraw(),this},n.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,r=0;r<this.animators.length;r++){var i=this.animators[r],o=i.__fromStateTransition;if(!(i.getLoop()||o&&o!==Ag)){var a=i.targetName,s=a?e[a]:e;i.saveTo(s)}}},n.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Og)},n.prototype._savePrimaryToNormal=function(t,e,r){for(var i=0;i<r.length;i++){var o=r[i];t[o]!=null&&!(o in e)&&(e[o]=this[o])}},n.prototype.hasState=function(){return this.currentStates.length>0},n.prototype.getState=function(t){return this.states[t]},n.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},n.prototype.clearStates=function(t){this.useState(Ag,!1,t)},n.prototype.useState=function(t,e,r,i){var o=t===Ag,a=this.hasState();if(!(!a&&o)){var s=this.currentStates,u=this.stateTransition;if(!(Xt(s,t)>=0&&(e||s.length===1))){var h;if(this.stateProxy&&!o&&(h=this.stateProxy(t)),h||(h=this.states&&this.states[t]),!h&&!o){Hd("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(h);var p=!!(h&&h.hoverLayer||i);p&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,h,this._normalState,e,!r&&!this.__inHover&&u&&u.duration>0,u);var f=this._textContent,y=this._textGuide;return f&&f.useState(t,e,r,p),y&&y.useState(t,e,r,p),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~cn),h}}},n.prototype.useStates=function(t,e,r){if(!t.length)this.clearStates();else{var i=[],o=this.currentStates,a=t.length,s=a===o.length;if(s){for(var u=0;u<a;u++)if(t[u]!==o[u]){s=!1;break}}if(s)return;for(var u=0;u<a;u++){var h=t[u],p=void 0;this.stateProxy&&(p=this.stateProxy(h,t)),p||(p=this.states[h]),p&&i.push(p)}var f=i[a-1],y=!!(f&&f.hoverLayer||r);y&&this._toggleHoverLayerFlag(!0);var g=this._mergeStates(i),v=this.stateTransition;this.saveCurrentToNormalState(g),this._applyStateObj(t.join(","),g,this._normalState,!1,!e&&!this.__inHover&&v&&v.duration>0,v);var _=this._textContent,m=this._textGuide;_&&_.useStates(t,e,y),m&&m.useStates(t,e,y),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!y&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~cn)}},n.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},n.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},n.prototype.removeState=function(t){var e=Xt(this.currentStates,t);if(e>=0){var r=this.currentStates.slice();r.splice(e,1),this.useStates(r)}},n.prototype.replaceState=function(t,e,r){var i=this.currentStates.slice(),o=Xt(i,t),a=Xt(i,e)>=0;o>=0?a?i.splice(o,1):i[o]=e:r&&!a&&i.push(e),this.useStates(i)},n.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},n.prototype._mergeStates=function(t){for(var e={},r,i=0;i<t.length;i++){var o=t[i];ut(e,o),o.textConfig&&(r=r||{},ut(r,o.textConfig))}return r&&(e.textConfig=r),e},n.prototype._applyStateObj=function(t,e,r,i,o,a){var s=!(e&&i);e&&e.textConfig?(this.textConfig=ut({},i?this.textConfig:r.textConfig),ut(this.textConfig,e.textConfig)):s&&r.textConfig&&(this.textConfig=r.textConfig);for(var u={},h=!1,p=0;p<Og.length;p++){var f=Og[p],y=o&&tP[f];e&&e[f]!=null?y?(h=!0,u[f]=e[f]):this[f]=e[f]:s&&r[f]!=null&&(y?(h=!0,u[f]=r[f]):this[f]=r[f])}if(!o)for(var p=0;p<this.animators.length;p++){var g=this.animators[p],v=g.targetName;g.getLoop()||g.__changeFinalValue(v?(e||r)[v]:e||r)}h&&this._transitionState(t,u,a)},n.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},n.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},n.prototype.getClipPath=function(){return this._clipPath},n.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},n.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},n.prototype.getTextContent=function(){return this._textContent},n.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Hc,this._attachComponent(t),this._textContent=t,this.markRedraw())},n.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),ut(this.textConfig,t),this.markRedraw()},n.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},n.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},n.prototype.getTextGuideLine=function(){return this._textGuide},n.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},n.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},n.prototype.markRedraw=function(){this.__dirty|=cn;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},n.prototype.dirty=function(){this.markRedraw()},n.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,r=this._textGuide;e&&(e.__inHover=t),r&&(r.__inHover=t)},n.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.addAnimator(e[r]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},n.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var r=0;r<e.length;r++)t.animation.removeAnimator(e[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},n.prototype.animate=function(t,e,r){var i=t?this[t]:this,o=new yg(i,e,r);return t&&(o.targetName=t),this.addAnimator(o,t),o},n.prototype.addAnimator=function(t,e){var r=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var o=i.animators,a=Xt(o,t);a>=0&&o.splice(a,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},n.prototype.updateDuringAnimation=function(t){this.markRedraw()},n.prototype.stopAnimation=function(t,e){for(var r=this.animators,i=r.length,o=[],a=0;a<i;a++){var s=r[a];!t||t===s.scope?s.stop(e):o.push(s)}return this.animators=o,this},n.prototype.animateTo=function(t,e,r){Eg(this,t,e,r)},n.prototype.animateFrom=function(t,e,r){Eg(this,t,e,r,!0)},n.prototype._transitionState=function(t,e,r,i){for(var o=Eg(this,e,r,i),a=0;a<o.length;a++)o[a].__fromStateTransition=t},n.prototype.getBoundingRect=function(){return null},n.prototype.getPaintRect=function(){return null},n.initDefaultProps=(function(){var t=n.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=cn;function e(r,i,o,a){Object.defineProperty(t,r,{get:function(){if(!this[i]){var u=this[i]=[];s(this,u)}return this[i]},set:function(u){this[o]=u[0],this[a]=u[1],this[i]=u,s(this,u)}});function s(u,h){Object.defineProperty(h,0,{get:function(){return u[o]},set:function(p){u[o]=p}}),Object.defineProperty(h,1,{get:function(){return u[a]},set:function(p){u[a]=p}})}}Object.defineProperty&&(e("position","_legacyPos","x","y"),e("scale","_legacyScale","scaleX","scaleY"),e("origin","_legacyOrigin","originX","originY"))})(),n})();ir(Gc,ar),ir(Gc,Hc);function Eg(n,t,e,r,i){e=e||{};var o=[];dx(n,"",n,t,e,r,o,i);var a=o.length,s=!1,u=e.done,h=e.aborted,p=function(){s=!0,a--,a<=0&&(s?u&&u():h&&h())},f=function(){a--,a<=0&&(s?u&&u():h&&h())};a||u&&u(),o.length>0&&e.during&&o[0].during(function(v,_){e.during(_)});for(var y=0;y<o.length;y++){var g=o[y];p&&g.done(p),f&&g.aborted(f),e.force&&g.duration(e.duration),g.start(e.easing)}return o}function Pg(n,t,e){for(var r=0;r<e;r++)n[r]=t[r]}function nP(n){return Qe(n[0])}function rP(n,t,e){if(Qe(t[e]))if(Qe(n[e])||(n[e]=[]),Ke(t[e])){var r=t[e].length;n[e].length!==r&&(n[e]=new t[e].constructor(r),Pg(n[e],t[e],r))}else{var i=t[e],o=n[e],a=i.length;if(nP(i))for(var s=i[0].length,u=0;u<a;u++)o[u]?Pg(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else Pg(o,i,a);o.length=i.length}else n[e]=t[e]}function iP(n,t){return n===t||Qe(n)&&Qe(t)&&oP(n,t)}function oP(n,t){var e=n.length;if(e!==t.length)return!1;for(var r=0;r<e;r++)if(n[r]!==t[r])return!1;return!0}function dx(n,t,e,r,i,o,a,s){for(var u=ae(r),h=i.duration,p=i.delay,f=i.additive,y=i.setToFinal,g=!mt(o),v=n.animators,_=[],m=0;m<u.length;m++){var b=u[m],w=r[b];if(w!=null&&e[b]!=null&&(g||o[b]))if(mt(w)&&!Qe(w)&&!pc(w)){if(t){s||(e[b]=w,n.updateDuringAnimation(t));continue}dx(n,b,e[b],w,i,o&&o[b],a,s)}else _.push(b);else s||(e[b]=w,n.updateDuringAnimation(t),_.push(b))}var k=_.length;if(!f&&k)for(var T=0;T<v.length;T++){var C=v[T];if(C.targetName===t){var I=C.stopTracks(_);if(I){var A=Xt(v,C);v.splice(A,1)}}}if(i.force||(_=_e(_,function(N){return!iP(r[N],e[N])}),k=_.length),k>0||i.force&&!a.length){var E=void 0,P=void 0,L=void 0;if(s){P={},y&&(E={});for(var T=0;T<k;T++){var b=_[T];P[b]=e[b],y?E[b]=r[b]:e[b]=r[b]}}else if(y){L={};for(var T=0;T<k;T++){var b=_[T];L[b]=Pc(e[b]),rP(e,r,b)}}var C=new yg(e,!1,!1,f?_e(v,function(F){return F.targetName===t}):null);C.targetName=t,i.scope&&(C.scope=i.scope),y&&E&&C.whenWithKeys(0,E,_),L&&C.whenWithKeys(0,L,_),C.whenWithKeys(h??500,s?P:r,_).delay(p||0),n.addAnimator(C,t),a.push(C)}}var Ie=(function(n){te(t,n);function t(e){var r=n.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(e),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var r=this._children,i=0;i<r.length;i++)if(r[i].name===e)return r[i]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,r){if(e&&e!==this&&e.parent!==this&&r&&r.parent===this){var i=this._children,o=i.indexOf(r);o>=0&&(i.splice(o,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,r){var i=Xt(this._children,e);return i>=0&&this.replaceAt(r,i),this},t.prototype.replaceAt=function(e,r){var i=this._children,o=i[r];if(e&&e!==this&&e.parent!==this&&e!==o){i[r]=e,o.parent=null;var a=this.__zr;a&&o.removeSelfFromZr(a),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var r=this.__zr;r&&r!==e.__zr&&e.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(e){var r=this.__zr,i=this._children,o=Xt(i,e);return o<0?this:(i.splice(o,1),e.parent=null,r&&e.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,r=this.__zr,i=0;i<e.length;i++){var o=e[i];r&&o.removeSelfFromZr(r),o.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,r){for(var i=this._children,o=0;o<i.length;o++){var a=i[o];e.call(r,a,o)}return this},t.prototype.traverse=function(e,r){for(var i=0;i<this._children.length;i++){var o=this._children[i],a=e.call(r,o);o.isGroup&&!a&&o.traverse(e,r)}return this},t.prototype.addSelfToZr=function(e){n.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++){var i=this._children[r];i.addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){n.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++){var i=this._children[r];i.removeSelfFromZr(e)}},t.prototype.getBoundingRect=function(e){for(var r=new Gt(0,0,0,0),i=e||this._children,o=[],a=null,s=0;s<i.length;s++){var u=i[s];if(!(u.ignore||u.invisible)){var h=u.getBoundingRect(),p=u.getLocalTransform(o);p?(Gt.applyTransform(r,h,p),a=a||r.clone(),a.union(r)):(a=a||h.clone(),a.union(h))}}return a||r},t})(Gc);Ie.prototype.type="group";/*!
106
+ * ZRender, a high performance 2d drawing library.
107
+ *
108
+ * Copyright (c) 2013, Baidu Inc.
109
+ * All rights reserved.
110
+ *
111
+ * LICENSE
112
+ * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
113
+ */var jc={},gx={};function aP(n){delete gx[n]}function sP(n){if(!n)return!1;if(typeof n=="string")return Oc(n,1)<Sg;if(n.colorStops){for(var t=n.colorStops,e=0,r=t.length,i=0;i<r;i++)e+=Oc(t[i].color,1);return e/=r,e<Sg}return!1}var lP=(function(){function n(t,e,r){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=e,this.id=t;var o=new DE,a=r.renderer||"canvas";jc[a]||(a=ae(jc)[0]),r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var s=new jc[a](e,o,r,t),u=r.ssr||s.ssrOnly;this.storage=o,this.painter=s;var h=!Tt.node&&!Tt.worker&&!u?new QE(s.getViewportRoot(),s.root):null,p=r.useCoarsePointer,f=p==null||p==="auto"?Tt.touchEventsSupported:!!p,y=44,g;f&&(g=Ot(r.pointerSize,y)),this.handler=new Ab(o,s,h,s.root,g),this.animation=new UE({stage:{update:u?null:function(){return i._flush(!0)}}}),u||this.animation.start()}return n.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},n.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},n.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},n.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=sP(t))},n.prototype.getBackgroundColor=function(){return this._backgroundColor},n.prototype.setDarkMode=function(t){this._darkMode=t},n.prototype.isDarkMode=function(){return this._darkMode},n.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},n.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},n.prototype.flush=function(){this._disposed||this._flush(!1)},n.prototype._flush=function(t){var e,r=ba();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=ba();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},n.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},n.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},n.prototype.refreshHover=function(){this._needsRefreshHover=!0},n.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},n.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},n.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},n.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},n.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},n.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},n.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},n.prototype.on=function(t,e,r){return this._disposed||this.handler.on(t,e,r),this},n.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},n.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},n.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof Ie&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},n.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,aP(this.id))},n})();function yx(n,t){var e=new lP(yb(),n,t);return gx[e.id]=e,e}function uP(n,t){jc[n]=t}var vx=1e-4,mx=20;function cP(n){return n.replace(/^\s+|\s+$/g,"")}function _x(n,t,e,r){var i=t[0],o=t[1],a=e[0],s=e[1],u=o-i,h=s-a;if(u===0)return h===0?a:(a+s)/2;if(r)if(u>0){if(n<=i)return a;if(n>=o)return s}else{if(n>=i)return a;if(n<=o)return s}else{if(n===i)return a;if(n===o)return s}return(n-i)/u*h+a}function De(n,t){switch(n){case"center":case"middle":n="50%";break;case"left":case"top":n="0%";break;case"right":case"bottom":n="100%";break}return gt(n)?cP(n).match(/%$/)?parseFloat(n)/100*t:parseFloat(n):n==null?NaN:+n}function be(n,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),mx),n=(+n).toFixed(t),e?n:+n}function Tr(n){if(n=+n,isNaN(n))return 0;if(n>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(n*t)/t===n)return e}return hP(n)}function hP(n){var t=n.toString().toLowerCase(),e=t.indexOf("e"),r=e>0?+t.slice(e+1):0,i=e>0?e:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function pP(n,t){var e=Math.log,r=Math.LN10,i=Math.floor(e(n[1]-n[0])/r),o=Math.round(e(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function fP(n,t){var e=Math.max(Tr(n),Tr(t)),r=n+t;return e>mx?r:be(r,e)}function bx(n){var t=Math.PI*2;return(n%t+t)%t}function Uc(n){return n>-vx&&n<vx}var dP=/^(?:(\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 Ir(n){if(n instanceof Date)return n;if(gt(n)){var t=dP.exec(n);if(!t)return new Date(NaN);if(t[8]){var e=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(e-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,e,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(n==null)return new Date(NaN);return new Date(Math.round(n))}function gP(n){return Math.pow(10,Ng(n))}function Ng(n){if(n===0)return 0;var t=Math.floor(Math.log(n)/Math.LN10);return n/Math.pow(10,t)>=10&&t++,t}function xx(n,t){var e=Ng(n),r=Math.pow(10,e),i=n/r,o;return i<1.5?o=1:i<2.5?o=2:i<4?o=3:i<7?o=5:o=10,n=o*r,e>=-20?+n.toFixed(e<0?-e:0):n}function Wc(n){var t=parseFloat(n);return t==n&&(t!==0||!gt(n)||n.indexOf("x")<=0)?t:NaN}function yP(n){return!isNaN(Wc(n))}function Sx(){return Math.round(Math.random()*9)}function kx(n,t){return t===0?n:kx(t,n%t)}function Cx(n,t){return n==null?t:t==null?n:n*t/kx(n,t)}function en(n){throw new Error(n)}function Mx(n,t,e){return(t-n)*e+n}var Tx="series\0",vP="\0_ec_\0";function je(n){return n instanceof Array?n:n==null?[]:[n]}function Ix(n,t,e){if(n){n[t]=n[t]||{},n.emphasis=n.emphasis||{},n.emphasis[t]=n.emphasis[t]||{};for(var r=0,i=e.length;r<i;r++){var o=e[r];!n.emphasis[t].hasOwnProperty(o)&&n[t].hasOwnProperty(o)&&(n.emphasis[t][o]=n[t][o])}}}var Dx=["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 sl(n){return mt(n)&&!pt(n)&&!(n instanceof Date)?n.value:n}function mP(n){return mt(n)&&!(n instanceof Array)}function _P(n,t,e){var r=e==="normalMerge",i=e==="replaceMerge",o=e==="replaceAll";n=n||[],t=(t||[]).slice();var a=Lt();R(t,function(u,h){if(!mt(u)){t[h]=null;return}});var s=bP(n,a,e);return(r||i)&&xP(s,n,a,t),r&&wP(s,t),r||i?SP(s,t,i):o&&kP(s,t),CP(s),s}function bP(n,t,e){var r=[];if(e==="replaceAll")return r;for(var i=0;i<n.length;i++){var o=n[i];o&&o.id!=null&&t.set(o.id,i),r.push({existing:e==="replaceMerge"||ul(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}function xP(n,t,e,r){R(r,function(i,o){if(!(!i||i.id==null)){var a=ll(i.id),s=e.get(a);if(s!=null){var u=n[s];kr(!u.newOption,'Duplicated option on id "'+a+'".'),u.newOption=i,u.existing=t[s],r[o]=null}}})}function wP(n,t){R(t,function(e,r){if(!(!e||e.name==null))for(var i=0;i<n.length;i++){var o=n[i].existing;if(!n[i].newOption&&o&&(o.id==null||e.id==null)&&!ul(e)&&!ul(o)&&Ax("name",o,e)){n[i].newOption=e,t[r]=null;return}}})}function SP(n,t,e){R(t,function(r){if(r){for(var i,o=0;(i=n[o])&&(i.newOption||ul(i.existing)||i.existing&&r.id!=null&&!Ax("id",r,i.existing));)o++;i?(i.newOption=r,i.brandNew=e):n.push({newOption:r,brandNew:e,existing:null,keyInfo:null}),o++}})}function kP(n,t){R(t,function(e){n.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}function CP(n){var t=Lt();R(n,function(e){var r=e.existing;r&&t.set(r.id,e)}),R(n,function(e){var r=e.newOption;kr(!r||r.id==null||!t.get(r.id)||t.get(r.id)===e,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&t.set(r.id,e),!e.keyInfo&&(e.keyInfo={})}),R(n,function(e,r){var i=e.existing,o=e.newOption,a=e.keyInfo;if(mt(o)){if(a.name=o.name!=null?ll(o.name):i?i.name:Tx+r,i)a.id=ll(i.id);else if(o.id!=null)a.id=ll(o.id);else{var s=0;do a.id="\0"+a.name+"\0"+s++;while(t.get(a.id))}t.set(a.id,e)}})}function Ax(n,t,e){var r=lr(t[n],null),i=lr(e[n],null);return r!=null&&i!=null&&r===i}function ll(n){return lr(n,"")}function lr(n,t){return n==null?t:gt(n)?n:se(n)||Vd(n)?n+"":t}function Lg(n){var t=n.name;return!!(t&&t.indexOf(Tx))}function ul(n){return n&&n.id!=null&&ll(n.id).indexOf(vP)===0}function MP(n,t,e){R(n,function(r){var i=r.newOption;mt(i)&&(r.keyInfo.mainType=t,r.keyInfo.subType=TP(t,i,r.existing,e))})}function TP(n,t,e,r){var i=t.type?t.type:e?e.subType:r.determineSubType(n,t);return i}function Ki(n,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return pt(t.dataIndex)?xt(t.dataIndex,function(e){return n.indexOfRawIndex(e)}):n.indexOfRawIndex(t.dataIndex);if(t.name!=null)return pt(t.name)?xt(t.name,function(e){return n.indexOfName(e)}):n.indexOfName(t.name)}function pe(){var n="__ec_inner_"+IP++;return function(t){return t[n]||(t[n]={})}}var IP=Sx();function Rg(n,t,e){var r=zg(t,e),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=a,u=e?e.defaultMainType:null;return!i&&u&&o.set(u,{}),o.each(function(h,p){var f=cl(n,p,h,{useDefault:u===p,enableAll:e&&e.enableAll!=null?e.enableAll:!0,enableNone:e&&e.enableNone!=null?e.enableNone:!0});s[p+"Models"]=f.models,s[p+"Model"]=f.models[0]}),s}function zg(n,t){var e;if(gt(n)){var r={};r[n+"Index"]=0,e=r}else e=n;var i=Lt(),o={},a=!1;return R(e,function(s,u){if(u==="dataIndex"||u==="dataIndexInside"){o[u]=s;return}var h=u.match(/^(\w+)(Index|Id|Name)$/)||[],p=h[1],f=(h[2]||"").toLowerCase();if(!(!p||!f||t&&t.includeMainTypes&&Xt(t.includeMainTypes,p)<0)){a=a||!!p;var y=i.get(p)||i.set(p,{});y[f]=s}}),{mainTypeSpecified:a,queryOptionMap:i,others:o}}var Hn={useDefault:!0,enableAll:!1,enableNone:!1};function cl(n,t,e,r){r=r||Hn;var i=e.index,o=e.id,a=e.name,s={models:null,specified:i!=null||o!=null||a!=null};if(!s.specified){var u=void 0;return s.models=r.useDefault&&(u=n.getComponent(t))?[u]:[],s}return i==="none"||i===!1?(kr(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(i==="all"&&(kr(r.enableAll,'`"all"` is not a valid value on index option.'),i=o=a=null),s.models=n.queryComponents({mainType:t,index:i,id:o,name:a}),s)}function Ox(n,t,e){n.setAttribute?n.setAttribute(t,e):n[t]=e}function DP(n,t){return n.getAttribute?n.getAttribute(t):n[t]}function AP(n){return n==="auto"?Tt.domSupported?"html":"richText":n||"html"}function Ex(n,t,e,r,i){var o=t==null||t==="auto";if(r==null)return r;if(se(r)){var a=Mx(e||0,r,i);return be(a,o?Math.max(Tr(e||0),Tr(r)):t)}else{if(gt(r))return i<1?e:r;for(var s=[],u=e,h=r,p=Math.max(u?u.length:0,h.length),f=0;f<p;++f){var y=n.getDimensionInfo(f);if(y&&y.type==="ordinal")s[f]=(i<1&&u?u:h)[f];else{var g=u&&u[f]?u[f]:0,v=h[f],a=Mx(g,v,i);s[f]=be(a,o?Math.max(Tr(g),Tr(v)):t)}}return s}}var OP=".",Ji="___EC__COMPONENT__CONTAINER___",Px="___EC__EXTENDED_CLASS___";function ur(n){var t={main:"",sub:""};if(n){var e=n.split(OP);t.main=e[0]||"",t.sub=e[1]||""}return t}function EP(n){kr(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal')}function PP(n){return!!(n&&n[Px])}function Bg(n,t){n.$constructor=n,n.extend=function(e){var r=this,i;return NP(r)?i=(function(o){Mt(a,o);function a(){return o.apply(this,arguments)||this}return a})(r):(i=function(){(e.$constructor||r).apply(this,arguments)},WO(i,this)),ut(i.prototype,e),i[Px]=!0,i.extend=this.extend,i.superCall=zP,i.superApply=BP,i.superClass=r,i}}function NP(n){return At(n)&&/^class\s/.test(Function.prototype.toString.call(n))}function Nx(n,t){n.extend=t.extend}var LP=Math.round(Math.random()*10);function RP(n){var t=["__\0is_clz",LP++].join("_");n.prototype[t]=!0,n.isInstance=function(e){return!!(e&&e[t])}}function zP(n,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return this.superClass.prototype[t].apply(n,e)}function BP(n,t,e){return this.superClass.prototype[t].apply(n,e)}function $c(n){var t={};n.registerClass=function(r){var i=r.type||r.prototype.type;if(i){EP(i),r.prototype.type=i;var o=ur(i);if(!o.sub)t[o.main]=r;else if(o.sub!==Ji){var a=e(o);a[o.sub]=r}}return r},n.getClass=function(r,i,o){var a=t[r];if(a&&a[Ji]&&(a=i?a[i]:null),o&&!a)throw new Error(i?"Component "+r+"."+(i||"")+" is used but not imported.":r+".type should be specified.");return a},n.getClassesByMainType=function(r){var i=ur(r),o=[],a=t[i.main];return a&&a[Ji]?R(a,function(s,u){u!==Ji&&o.push(s)}):o.push(a),o},n.hasClass=function(r){var i=ur(r);return!!t[i.main]},n.getAllClassMainTypes=function(){var r=[];return R(t,function(i,o){r.push(o)}),r},n.hasSubTypes=function(r){var i=ur(r),o=t[i.main];return o&&o[Ji]};function e(r){var i=t[r.main];return(!i||!i[Ji])&&(i=t[r.main]={},i[Ji]=!0),i}}function hl(n,t){for(var e=0;e<n.length;e++)n[e][1]||(n[e][1]=n[e][0]);return t=t||!1,function(r,i,o){for(var a={},s=0;s<n.length;s++){var u=n[s][1];if(!(i&&Xt(i,u)>=0||o&&Xt(o,u)<0)){var h=r.getShallow(u,t);h!=null&&(a[n[s][0]]=h)}}return a}}var FP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],HP=hl(FP),VP=(function(){function n(){}return n.prototype.getAreaStyle=function(t,e){return HP(this,t,e)},n})(),Fg=new el(50);function GP(n){if(typeof n=="string"){var t=Fg.get(n);return t&&t.image}else return n}function Lx(n,t,e,r,i){if(n)if(typeof n=="string"){if(t&&t.__zrImageSrc===n||!e)return t;var o=Fg.get(n),a={hostEl:e,cb:r,cbPayload:i};return o?(t=o.image,!qc(t)&&o.pending.push(a)):(t=la.loadImage(n,Rx,Rx),t.__zrImageSrc=n,Fg.put(n,t.__cachedImgObj={image:t,pending:[a]})),t}else return n;else return t}function Rx(){var n=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<n.pending.length;t++){var e=n.pending[t],r=e.cb;r&&r(this,e.cbPayload),e.hostEl.dirty()}n.pending.length=0}function qc(n){return n&&n.width&&n.height}var Hg=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function jP(n,t,e,r,i,o){if(!e){n.text="",n.isTruncated=!1;return}var a=(t+"").split(`
114
+ `);o=zx(e,r,i,o);for(var s=!1,u={},h=0,p=a.length;h<p;h++)Bx(u,a[h],o),a[h]=u.textLine,s=s||u.isTruncated;n.text=a.join(`
115
+ `),n.isTruncated=s}function zx(n,t,e,r){r=r||{};var i=ut({},r);i.font=t,e=Ot(e,"..."),i.maxIterations=Ot(r.maxIterations,2);var o=i.minChar=Ot(r.minChar,0);i.cnCharWidth=hn("\u56FD",t);var a=i.ascCharWidth=hn("a",t);i.placeholder=Ot(r.placeholder,"");for(var s=n=Math.max(0,n-1),u=0;u<o&&s>=a;u++)s-=a;var h=hn(e,t);return h>s&&(e="",h=0),s=n-h,i.ellipsis=e,i.ellipsisWidth=h,i.contentWidth=s,i.containerWidth=n,i}function Bx(n,t,e){var r=e.containerWidth,i=e.font,o=e.contentWidth;if(!r){n.textLine="",n.isTruncated=!1;return}var a=hn(t,i);if(a<=r){n.textLine=t,n.isTruncated=!1;return}for(var s=0;;s++){if(a<=o||s>=e.maxIterations){t+=e.ellipsis;break}var u=s===0?UP(t,o,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*o/a):0;t=t.substr(0,u),a=hn(t,i)}t===""&&(t=e.placeholder),n.textLine=t,n.isTruncated=!0}function UP(n,t,e,r){for(var i=0,o=0,a=n.length;o<a&&i<t;o++){var s=n.charCodeAt(o);i+=0<=s&&s<=127?e:r}return o}function WP(n,t){n!=null&&(n+="");var e=t.overflow,r=t.padding,i=t.font,o=e==="truncate",a=Dg(i),s=Ot(t.lineHeight,a),u=!!t.backgroundColor,h=t.lineOverflow==="truncate",p=!1,f=t.width,y;f!=null&&(e==="break"||e==="breakAll")?y=n?Hx(n,t.font,f,e==="breakAll",0).lines:[]:y=n?n.split(`
116
+ `):[];var g=y.length*s,v=Ot(t.height,g);if(g>v&&h){var _=Math.floor(v/s);p=p||y.length>_,y=y.slice(0,_)}if(n&&o&&f!=null)for(var m=zx(f,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),b={},w=0;w<y.length;w++)Bx(b,y[w],m),y[w]=b.textLine,p=p||b.isTruncated;for(var k=v,T=0,w=0;w<y.length;w++)T=Math.max(hn(y[w],i),T);f==null&&(f=T);var C=T;return r&&(k+=r[0]+r[2],C+=r[1]+r[3],f+=r[1]+r[3]),u&&(C=f),{lines:y,height:v,outerWidth:C,outerHeight:k,lineHeight:s,calculatedLineHeight:a,contentWidth:T,contentHeight:g,width:f,isTruncated:p}}var $P=(function(){function n(){}return n})(),Fx=(function(){function n(t){this.tokens=[],t&&(this.tokens=t)}return n})(),qP=(function(){function n(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return n})();function XP(n,t){var e=new qP;if(n!=null&&(n+=""),!n)return e;for(var r=t.width,i=t.height,o=t.overflow,a=(o==="break"||o==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:o==="breakAll"}:null,s=Hg.lastIndex=0,u;(u=Hg.exec(n))!=null;){var h=u.index;h>s&&Vg(e,n.substring(s,h),t,a),Vg(e,u[2],t,a,u[1]),s=Hg.lastIndex}s<n.length&&Vg(e,n.substring(s,n.length),t,a);var p=[],f=0,y=0,g=t.padding,v=o==="truncate",_=t.lineOverflow==="truncate",m={};function b(at,Z,q){at.width=Z,at.lineHeight=q,f+=q,y=Math.max(y,Z)}t:for(var w=0;w<e.lines.length;w++){for(var k=e.lines[w],T=0,C=0,I=0;I<k.tokens.length;I++){var A=k.tokens[I],E=A.styleName&&t.rich[A.styleName]||{},P=A.textPadding=E.padding,L=P?P[1]+P[3]:0,N=A.font=E.font||t.font;A.contentHeight=Dg(N);var F=Ot(E.height,A.contentHeight);if(A.innerHeight=F,P&&(F+=P[0]+P[2]),A.height=F,A.lineHeight=dc(E.lineHeight,t.lineHeight,F),A.align=E&&E.align||t.align,A.verticalAlign=E&&E.verticalAlign||"middle",_&&i!=null&&f+A.lineHeight>i){var G=e.lines.length;I>0?(k.tokens=k.tokens.slice(0,I),b(k,C,T),e.lines=e.lines.slice(0,w+1)):e.lines=e.lines.slice(0,w),e.isTruncated=e.isTruncated||e.lines.length<G;break t}var X=E.width,Y=X==null||X==="auto";if(typeof X=="string"&&X.charAt(X.length-1)==="%")A.percentWidth=X,p.push(A),A.contentWidth=hn(A.text,N);else{if(Y){var nt=E.backgroundColor,z=nt&&nt.image;z&&(z=GP(z),qc(z)&&(A.width=Math.max(A.width,z.width*F/z.height)))}var V=v&&r!=null?r-C:null;V!=null&&V<A.width?!Y||V<L?(A.text="",A.width=A.contentWidth=0):(jP(m,A.text,V-L,N,t.ellipsis,{minChar:t.truncateMinChar}),A.text=m.text,e.isTruncated=e.isTruncated||m.isTruncated,A.width=A.contentWidth=hn(A.text,N)):A.contentWidth=hn(A.text,N)}A.width+=L,C+=A.width,E&&(T=Math.max(T,A.lineHeight))}b(k,C,T)}e.outerWidth=e.width=Ot(r,y),e.outerHeight=e.height=Ot(i,f),e.contentHeight=f,e.contentWidth=y,g&&(e.outerWidth+=g[1]+g[3],e.outerHeight+=g[0]+g[2]);for(var w=0;w<p.length;w++){var A=p[w],J=A.percentWidth;A.width=parseInt(J,10)/100*e.width}return e}function Vg(n,t,e,r,i){var o=t==="",a=i&&e.rich[i]||{},s=n.lines,u=a.font||e.font,h=!1,p,f;if(r){var y=a.padding,g=y?y[1]+y[3]:0;if(a.width!=null&&a.width!=="auto"){var v=ui(a.width,r.width)+g;s.length>0&&v+r.accumWidth>r.width&&(p=t.split(`
117
+ `),h=!0),r.accumWidth=v}else{var _=Hx(t,u,r.width,r.breakAll,r.accumWidth);r.accumWidth=_.accumWidth+g,f=_.linesWidths,p=_.lines}}else p=t.split(`
118
+ `);for(var m=0;m<p.length;m++){var b=p[m],w=new $P;if(w.styleName=i,w.text=b,w.isLineHolder=!b&&!o,typeof a.width=="number"?w.width=a.width:w.width=f?f[m]:hn(b,u),!m&&!h){var k=(s[s.length-1]||(s[0]=new Fx)).tokens,T=k.length;T===1&&k[0].isLineHolder?k[0]=w:(b||!T||o)&&k.push(w)}else s.push(new Fx([w]))}}function YP(n){var t=n.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var ZP=ua(",&?/;] ".split(""),function(n,t){return n[t]=!0,n},{});function QP(n){return YP(n)?!!ZP[n]:!0}function Hx(n,t,e,r,i){for(var o=[],a=[],s="",u="",h=0,p=0,f=0;f<n.length;f++){var y=n.charAt(f);if(y===`
119
+ `){u&&(s+=u,p+=h),o.push(s),a.push(p),s="",u="",h=0,p=0;continue}var g=hn(y,t),v=r?!1:!QP(y);if(o.length?p+g>e:i+p+g>e){p?(s||u)&&(v?(s||(s=u,u="",h=0,p=h),o.push(s),a.push(p-h),u+=y,h+=g,s="",p=h):(u&&(s+=u,u="",h=0),o.push(s),a.push(p),s=y,p=g)):v?(o.push(u),a.push(h),u=y,h=g):(o.push(y),a.push(g));continue}p+=g,v?(u+=y,h+=g):(u&&(s+=u,u="",h=0),s+=y)}return!o.length&&!s&&(s=n,u="",h=0),u&&(s+=u),s&&(o.push(s),a.push(p)),o.length===1&&(p+=i),{accumWidth:p,lines:o,linesWidths:a}}var Gg="__zr_style_"+Math.round(Math.random()*10),to={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Xc={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};to[Gg]=!0;var Vx=["z","z2","invisible"],KP=["invisible"],pl=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype._init=function(e){for(var r=ae(e),i=0;i<r.length;i++){var o=r[i];o==="style"?this.useStyle(e[o]):n.prototype.attrKV.call(this,o,e[o])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,r,i,o){var a=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&JP(this,e,r)||a&&!a[0]&&!a[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(o&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},t.prototype.contain=function(e,r){return this.rectContain(e,r)},t.prototype.traverse=function(e,r){e.call(r,this)},t.prototype.rectContain=function(e,r){var i=this.transformCoordToLocal(e,r),o=this.getBoundingRect();return o.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,i=this.getBoundingRect(),o=this.style,a=o.shadowBlur||0,s=o.shadowOffsetX||0,u=o.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new Gt(0,0,0,0)),r?Gt.applyTransform(e,i,r):e.copy(i),(a||s||u)&&(e.width+=a*2+Math.abs(s),e.height+=a*2+Math.abs(u),e.x=Math.min(e.x,e.x+s-a),e.y=Math.min(e.y,e.y+u-a));var h=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-h),e.y=Math.floor(e.y-h),e.width=Math.ceil(e.width+1+h*2),e.height=Math.ceil(e.height+1+h*2))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new Gt(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(e,r){e!=="style"?n.prototype.attrKV.call(this,e,r):this.style?this.setStyle(r):this.useStyle(r)},t.prototype.setStyle=function(e,r){return typeof e=="string"?this.style[e]=r:ut(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=Js,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Js)},t.prototype.styleUpdated=function(){this.__dirty&=~Js},t.prototype.createStyle=function(e){return yc(to,e)},t.prototype.useStyle=function(e){e[Gg]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[Gg]},t.prototype._innerSaveToNormal=function(e){n.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,r,Vx)},t.prototype._applyStateObj=function(e,r,i,o,a,s){n.prototype._applyStateObj.call(this,e,r,i,o,a,s);var u=!(r&&o),h;if(r&&r.style?a?o?h=r.style:(h=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(h,r.style)):(h=this._mergeStyle(this.createStyle(),o?this.style:i.style),this._mergeStyle(h,r.style)):u&&(h=i.style),h)if(a){var p=this.style;if(this.style=this.createStyle(u?{}:p),u)for(var f=ae(p),y=0;y<f.length;y++){var g=f[y];g in h&&(h[g]=h[g],this.style[g]=p[g])}for(var v=ae(h),y=0;y<v.length;y++){var g=v[y];this.style[g]=this.style[g]}this._transitionState(e,{style:h},s,this.getAnimationStyleProps())}else this.useStyle(h);for(var _=this.__inHover?KP:Vx,y=0;y<_.length;y++){var g=_[y];r&&r[g]!=null?this[g]=r[g]:u&&i[g]!=null&&(this[g]=i[g])}},t.prototype._mergeStates=function(e){for(var r=n.prototype._mergeStates.call(this,e),i,o=0;o<e.length;o++){var a=e[o];a.style&&(i=i||{},this._mergeStyle(i,a.style))}return i&&(r.style=i),r},t.prototype._mergeStyle=function(e,r){return ut(e,r),e},t.prototype.getAnimationStyleProps=function(){return Xc},t.initDefaultProps=(function(){var e=t.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=cn|Js})(),t})(Gc),jg=new Gt(0,0,0,0),Ug=new Gt(0,0,0,0);function JP(n,t,e){return jg.copy(n.getBoundingRect()),n.transform&&jg.applyTransform(n.transform),Ug.width=t,Ug.height=e,!jg.intersect(Ug)}var Sn=Math.min,kn=Math.max,Wg=Math.sin,$g=Math.cos,eo=Math.PI*2,Yc=ca(),Zc=ca(),Qc=ca();function Gx(n,t,e,r,i,o){i[0]=Sn(n,e),i[1]=Sn(t,r),o[0]=kn(n,e),o[1]=kn(t,r)}var jx=[],Ux=[];function tN(n,t,e,r,i,o,a,s,u,h){var p=Gb,f=ke,y=p(n,e,i,a,jx);u[0]=1/0,u[1]=1/0,h[0]=-1/0,h[1]=-1/0;for(var g=0;g<y;g++){var v=f(n,e,i,a,jx[g]);u[0]=Sn(v,u[0]),h[0]=kn(v,h[0])}y=p(t,r,o,s,Ux);for(var g=0;g<y;g++){var _=f(t,r,o,s,Ux[g]);u[1]=Sn(_,u[1]),h[1]=kn(_,h[1])}u[0]=Sn(n,u[0]),h[0]=kn(n,h[0]),u[0]=Sn(a,u[0]),h[0]=kn(a,h[0]),u[1]=Sn(t,u[1]),h[1]=kn(t,h[1]),u[1]=Sn(s,u[1]),h[1]=kn(s,h[1])}function eN(n,t,e,r,i,o,a,s){var u=Wb,h=Ne,p=kn(Sn(u(n,e,i),1),0),f=kn(Sn(u(t,r,o),1),0),y=h(n,e,i,p),g=h(t,r,o,f);a[0]=Sn(n,i,y),a[1]=Sn(t,o,g),s[0]=kn(n,i,y),s[1]=kn(t,o,g)}function nN(n,t,e,r,i,o,a,s,u){var h=pa,p=fa,f=Math.abs(i-o);if(f%eo<1e-4&&f>1e-4){s[0]=n-e,s[1]=t-r,u[0]=n+e,u[1]=t+r;return}if(Yc[0]=$g(i)*e+n,Yc[1]=Wg(i)*r+t,Zc[0]=$g(o)*e+n,Zc[1]=Wg(o)*r+t,h(s,Yc,Zc),p(u,Yc,Zc),i=i%eo,i<0&&(i=i+eo),o=o%eo,o<0&&(o=o+eo),i>o&&!a?o+=eo:i<o&&a&&(i+=eo),a){var y=o;o=i,i=y}for(var g=0;g<o;g+=Math.PI/2)g>i&&(Qc[0]=$g(g)*e+n,Qc[1]=Wg(g)*r+t,h(s,Qc,s),p(u,Qc,u))}var Yt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},no=[],ro=[],cr=[],ci=[],hr=[],pr=[],qg=Math.min,Xg=Math.max,io=Math.cos,oo=Math.sin,Dr=Math.abs,Yg=Math.PI,hi=Yg*2,Zg=typeof Float32Array<"u",fl=[];function Qg(n){var t=Math.round(n/Yg*1e8)/1e8;return t%2*Yg}function rN(n,t){var e=Qg(n[0]);e<0&&(e+=hi);var r=e-n[0],i=n[1];i+=r,!t&&i-e>=hi?i=e+hi:t&&e-i>=hi?i=e-hi:!t&&e>i?i=e+(hi-Qg(e-i)):t&&e<i&&(i=e-(hi-Qg(i-e))),n[0]=e,n[1]=i}var pi=(function(){function n(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return n.prototype.increaseVersion=function(){this._version++},n.prototype.getVersion=function(){return this._version},n.prototype.setScale=function(t,e,r){r=r||0,r>0&&(this._ux=Dr(r/Fc/t)||0,this._uy=Dr(r/Fc/e)||0)},n.prototype.setDPR=function(t){this.dpr=t},n.prototype.setContext=function(t){this._ctx=t},n.prototype.getContext=function(){return this._ctx},n.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},n.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},n.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Yt.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},n.prototype.lineTo=function(t,e){var r=Dr(t-this._xi),i=Dr(e-this._yi),o=r>this._ux||i>this._uy;if(this.addData(Yt.L,t,e),this._ctx&&o&&this._ctx.lineTo(t,e),o)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var a=r*r+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=a)}return this},n.prototype.bezierCurveTo=function(t,e,r,i,o,a){return this._drawPendingPt(),this.addData(Yt.C,t,e,r,i,o,a),this._ctx&&this._ctx.bezierCurveTo(t,e,r,i,o,a),this._xi=o,this._yi=a,this},n.prototype.quadraticCurveTo=function(t,e,r,i){return this._drawPendingPt(),this.addData(Yt.Q,t,e,r,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,r,i),this._xi=r,this._yi=i,this},n.prototype.arc=function(t,e,r,i,o,a){this._drawPendingPt(),fl[0]=i,fl[1]=o,rN(fl,a),i=fl[0],o=fl[1];var s=o-i;return this.addData(Yt.A,t,e,r,r,i,s,0,a?0:1),this._ctx&&this._ctx.arc(t,e,r,i,o,a),this._xi=io(o)*r+t,this._yi=oo(o)*r+e,this},n.prototype.arcTo=function(t,e,r,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,r,i,o),this},n.prototype.rect=function(t,e,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,r,i),this.addData(Yt.R,t,e,r,i),this},n.prototype.closePath=function(){this._drawPendingPt(),this.addData(Yt.Z);var t=this._ctx,e=this._x0,r=this._y0;return t&&t.closePath(),this._xi=e,this._yi=r,this},n.prototype.fill=function(t){t&&t.fill(),this.toStatic()},n.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},n.prototype.len=function(){return this._len},n.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&Zg&&(this.data=new Float32Array(e));for(var r=0;r<e;r++)this.data[r]=t[r];this._len=e},n.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,r=0,i=this._len,o=0;o<e;o++)r+=t[o].len();Zg&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+r));for(var o=0;o<e;o++)for(var a=t[o].data,s=0;s<a.length;s++)this.data[i++]=a[s];this._len=i},n.prototype.addData=function(t,e,r,i,o,a,s,u,h){if(this._saveData){var p=this.data;this._len+arguments.length>p.length&&(this._expandData(),p=this.data);for(var f=0;f<arguments.length;f++)p[this._len++]=arguments[f]}},n.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},n.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},n.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Zg&&this._len>11&&(this.data=new Float32Array(t)))}},n.prototype.getBoundingRect=function(){cr[0]=cr[1]=hr[0]=hr[1]=Number.MAX_VALUE,ci[0]=ci[1]=pr[0]=pr[1]=-Number.MAX_VALUE;var t=this.data,e=0,r=0,i=0,o=0,a;for(a=0;a<this._len;){var s=t[a++],u=a===1;switch(u&&(e=t[a],r=t[a+1],i=e,o=r),s){case Yt.M:e=i=t[a++],r=o=t[a++],hr[0]=i,hr[1]=o,pr[0]=i,pr[1]=o;break;case Yt.L:Gx(e,r,t[a],t[a+1],hr,pr),e=t[a++],r=t[a++];break;case Yt.C:tN(e,r,t[a++],t[a++],t[a++],t[a++],t[a],t[a+1],hr,pr),e=t[a++],r=t[a++];break;case Yt.Q:eN(e,r,t[a++],t[a++],t[a],t[a+1],hr,pr),e=t[a++],r=t[a++];break;case Yt.A:var h=t[a++],p=t[a++],f=t[a++],y=t[a++],g=t[a++],v=t[a++]+g;a+=1;var _=!t[a++];u&&(i=io(g)*f+h,o=oo(g)*y+p),nN(h,p,f,y,g,v,_,hr,pr),e=io(v)*f+h,r=oo(v)*y+p;break;case Yt.R:i=e=t[a++],o=r=t[a++];var m=t[a++],b=t[a++];Gx(i,o,i+m,o+b,hr,pr);break;case Yt.Z:e=i,r=o;break}pa(cr,cr,hr),fa(ci,ci,pr)}return a===0&&(cr[0]=cr[1]=ci[0]=ci[1]=0),new Gt(cr[0],cr[1],ci[0]-cr[0],ci[1]-cr[1])},n.prototype._calculateLength=function(){var t=this.data,e=this._len,r=this._ux,i=this._uy,o=0,a=0,s=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var h=this._pathSegLen,p=0,f=0,y=0;y<e;){var g=t[y++],v=y===1;v&&(o=t[y],a=t[y+1],s=o,u=a);var _=-1;switch(g){case Yt.M:o=s=t[y++],a=u=t[y++];break;case Yt.L:{var m=t[y++],b=t[y++],w=m-o,k=b-a;(Dr(w)>r||Dr(k)>i||y===e-1)&&(_=Math.sqrt(w*w+k*k),o=m,a=b);break}case Yt.C:{var T=t[y++],C=t[y++],m=t[y++],b=t[y++],I=t[y++],A=t[y++];_=AE(o,a,T,C,m,b,I,A,10),o=I,a=A;break}case Yt.Q:{var T=t[y++],C=t[y++],m=t[y++],b=t[y++];_=EE(o,a,T,C,m,b,10),o=m,a=b;break}case Yt.A:var E=t[y++],P=t[y++],L=t[y++],N=t[y++],F=t[y++],G=t[y++],X=G+F;y+=1,v&&(s=io(F)*L+E,u=oo(F)*N+P),_=Xg(L,N)*qg(hi,Math.abs(G)),o=io(X)*L+E,a=oo(X)*N+P;break;case Yt.R:{s=o=t[y++],u=a=t[y++];var Y=t[y++],nt=t[y++];_=Y*2+nt*2;break}case Yt.Z:{var w=s-o,k=u-a;_=Math.sqrt(w*w+k*k),o=s,a=u;break}}_>=0&&(h[f++]=_,p+=_)}return this._pathLen=p,p},n.prototype.rebuildPath=function(t,e){var r=this.data,i=this._ux,o=this._uy,a=this._len,s,u,h,p,f,y,g=e<1,v,_,m=0,b=0,w,k=0,T,C;if(!(g&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,_=this._pathLen,w=e*_,!w)))t:for(var I=0;I<a;){var A=r[I++],E=I===1;switch(E&&(h=r[I],p=r[I+1],s=h,u=p),A!==Yt.L&&k>0&&(t.lineTo(T,C),k=0),A){case Yt.M:s=h=r[I++],u=p=r[I++],t.moveTo(h,p);break;case Yt.L:{f=r[I++],y=r[I++];var P=Dr(f-h),L=Dr(y-p);if(P>i||L>o){if(g){var N=v[b++];if(m+N>w){var F=(w-m)/N;t.lineTo(h*(1-F)+f*F,p*(1-F)+y*F);break t}m+=N}t.lineTo(f,y),h=f,p=y,k=0}else{var G=P*P+L*L;G>k&&(T=f,C=y,k=G)}break}case Yt.C:{var X=r[I++],Y=r[I++],nt=r[I++],z=r[I++],V=r[I++],J=r[I++];if(g){var N=v[b++];if(m+N>w){var F=(w-m)/N;Mc(h,X,nt,V,F,no),Mc(p,Y,z,J,F,ro),t.bezierCurveTo(no[1],ro[1],no[2],ro[2],no[3],ro[3]);break t}m+=N}t.bezierCurveTo(X,Y,nt,z,V,J),h=V,p=J;break}case Yt.Q:{var X=r[I++],Y=r[I++],nt=r[I++],z=r[I++];if(g){var N=v[b++];if(m+N>w){var F=(w-m)/N;Tc(h,X,nt,F,no),Tc(p,Y,z,F,ro),t.quadraticCurveTo(no[1],ro[1],no[2],ro[2]);break t}m+=N}t.quadraticCurveTo(X,Y,nt,z),h=nt,p=z;break}case Yt.A:var at=r[I++],Z=r[I++],q=r[I++],U=r[I++],K=r[I++],et=r[I++],W=r[I++],yt=!r[I++],ot=q>U?q:U,bt=Dr(q-U)>.001,vt=K+et,lt=!1;if(g){var N=v[b++];m+N>w&&(vt=K+et*(w-m)/N,lt=!0),m+=N}if(bt&&t.ellipse?t.ellipse(at,Z,q,U,W,K,vt,yt):t.arc(at,Z,ot,K,vt,yt),lt)break t;E&&(s=io(K)*q+at,u=oo(K)*U+Z),h=io(vt)*q+at,p=oo(vt)*U+Z;break;case Yt.R:s=h=r[I],u=p=r[I+1],f=r[I++],y=r[I++];var st=r[I++],Kt=r[I++];if(g){var N=v[b++];if(m+N>w){var Vt=w-m;t.moveTo(f,y),t.lineTo(f+qg(Vt,st),y),Vt-=st,Vt>0&&t.lineTo(f+st,y+qg(Vt,Kt)),Vt-=Kt,Vt>0&&t.lineTo(f+Xg(st-Vt,0),y+Kt),Vt-=st,Vt>0&&t.lineTo(f,y+Xg(Kt-Vt,0));break t}m+=N}t.rect(f,y,st,Kt);break;case Yt.Z:if(g){var N=v[b++];if(m+N>w){var F=(w-m)/N;t.lineTo(h*(1-F)+s*F,p*(1-F)+u*F);break t}m+=N}t.closePath(),h=s,p=u}}},n.prototype.clone=function(){var t=new n,e=this.data;return t.data=e.slice?e.slice():Array.prototype.slice.call(e),t._len=this._len,t},n.CMD=Yt,n.initDefaultProps=(function(){var t=n.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),n})();function ka(n,t,e,r,i,o,a){if(i===0)return!1;var s=i,u=0,h=n;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>n+s&&o>e+s||o<n-s&&o<e-s)return!1;if(n!==e)u=(t-r)/(n-e),h=(n*r-e*t)/(n-e);else return Math.abs(o-n)<=s/2;var p=u*o-a+h,f=p*p/(u*u+1);return f<=s/2*s/2}function iN(n,t,e,r,i,o,a,s,u,h,p){if(u===0)return!1;var f=u;if(p>t+f&&p>r+f&&p>o+f&&p>s+f||p<t-f&&p<r-f&&p<o-f&&p<s-f||h>n+f&&h>e+f&&h>i+f&&h>a+f||h<n-f&&h<e-f&&h<i-f&&h<a-f)return!1;var y=jb(n,t,e,r,i,o,a,s,h,p,null);return y<=f/2}function oN(n,t,e,r,i,o,a,s,u){if(a===0)return!1;var h=a;if(u>t+h&&u>r+h&&u>o+h||u<t-h&&u<r-h&&u<o-h||s>n+h&&s>e+h&&s>i+h||s<n-h&&s<e-h&&s<i-h)return!1;var p=$b(n,t,e,r,i,o,s,u,null);return p<=h/2}var Wx=Math.PI*2;function Ar(n){return n%=Wx,n<0&&(n+=Wx),n}var dl=Math.PI*2;function aN(n,t,e,r,i,o,a,s,u){if(a===0)return!1;var h=a;s-=n,u-=t;var p=Math.sqrt(s*s+u*u);if(p-h>e||p+h<e)return!1;if(Math.abs(r-i)%dl<1e-4)return!0;if(o){var f=r;r=Ar(i),i=Ar(f)}else r=Ar(r),i=Ar(i);r>i&&(i+=dl);var y=Math.atan2(u,s);return y<0&&(y+=dl),y>=r&&y<=i||y+dl>=r&&y+dl<=i}function ao(n,t,e,r,i,o){if(o>t&&o>r||o<t&&o<r||r===t)return 0;var a=(o-t)/(r-t),s=r<t?1:-1;(a===1||a===0)&&(s=r<t?.5:-.5);var u=a*(e-n)+n;return u===i?1/0:u>i?s:0}var fi=pi.CMD,so=Math.PI*2,sN=1e-4;function lN(n,t){return Math.abs(n-t)<sN}var Ue=[-1,-1,-1],Cn=[-1,-1];function uN(){var n=Cn[0];Cn[0]=Cn[1],Cn[1]=n}function cN(n,t,e,r,i,o,a,s,u,h){if(h>t&&h>r&&h>o&&h>s||h<t&&h<r&&h<o&&h<s)return 0;var p=Cc(t,r,o,s,h,Ue);if(p===0)return 0;for(var f=0,y=-1,g=void 0,v=void 0,_=0;_<p;_++){var m=Ue[_],b=m===0||m===1?.5:1,w=ke(n,e,i,a,m);w<u||(y<0&&(y=Gb(t,r,o,s,Cn),Cn[1]<Cn[0]&&y>1&&uN(),g=ke(t,r,o,s,Cn[0]),y>1&&(v=ke(t,r,o,s,Cn[1]))),y===2?m<Cn[0]?f+=g<t?b:-b:m<Cn[1]?f+=v<g?b:-b:f+=s<v?b:-b:m<Cn[0]?f+=g<t?b:-b:f+=s<g?b:-b)}return f}function hN(n,t,e,r,i,o,a,s){if(s>t&&s>r&&s>o||s<t&&s<r&&s<o)return 0;var u=OE(t,r,o,s,Ue);if(u===0)return 0;var h=Wb(t,r,o);if(h>=0&&h<=1){for(var p=0,f=Ne(t,r,o,h),y=0;y<u;y++){var g=Ue[y]===0||Ue[y]===1?.5:1,v=Ne(n,e,i,Ue[y]);v<a||(Ue[y]<h?p+=f<t?g:-g:p+=o<f?g:-g)}return p}else{var g=Ue[0]===0||Ue[0]===1?.5:1,v=Ne(n,e,i,Ue[0]);return v<a?0:o<t?g:-g}}function pN(n,t,e,r,i,o,a,s){if(s-=t,s>e||s<-e)return 0;var u=Math.sqrt(e*e-s*s);Ue[0]=-u,Ue[1]=u;var h=Math.abs(r-i);if(h<1e-4)return 0;if(h>=so-1e-4){r=0,i=so;var p=o?1:-1;return a>=Ue[0]+n&&a<=Ue[1]+n?p:0}if(r>i){var f=r;r=i,i=f}r<0&&(r+=so,i+=so);for(var y=0,g=0;g<2;g++){var v=Ue[g];if(v+n>a){var _=Math.atan2(s,v),p=o?1:-1;_<0&&(_=so+_),(_>=r&&_<=i||_+so>=r&&_+so<=i)&&(_>Math.PI/2&&_<Math.PI*1.5&&(p=-p),y+=p)}}return y}function $x(n,t,e,r,i){for(var o=n.data,a=n.len(),s=0,u=0,h=0,p=0,f=0,y,g,v=0;v<a;){var _=o[v++],m=v===1;switch(_===fi.M&&v>1&&(e||(s+=ao(u,h,p,f,r,i))),m&&(u=o[v],h=o[v+1],p=u,f=h),_){case fi.M:p=o[v++],f=o[v++],u=p,h=f;break;case fi.L:if(e){if(ka(u,h,o[v],o[v+1],t,r,i))return!0}else s+=ao(u,h,o[v],o[v+1],r,i)||0;u=o[v++],h=o[v++];break;case fi.C:if(e){if(iN(u,h,o[v++],o[v++],o[v++],o[v++],o[v],o[v+1],t,r,i))return!0}else s+=cN(u,h,o[v++],o[v++],o[v++],o[v++],o[v],o[v+1],r,i)||0;u=o[v++],h=o[v++];break;case fi.Q:if(e){if(oN(u,h,o[v++],o[v++],o[v],o[v+1],t,r,i))return!0}else s+=hN(u,h,o[v++],o[v++],o[v],o[v+1],r,i)||0;u=o[v++],h=o[v++];break;case fi.A:var b=o[v++],w=o[v++],k=o[v++],T=o[v++],C=o[v++],I=o[v++];v+=1;var A=!!(1-o[v++]);y=Math.cos(C)*k+b,g=Math.sin(C)*T+w,m?(p=y,f=g):s+=ao(u,h,y,g,r,i);var E=(r-b)*T/k+b;if(e){if(aN(b,w,T,C,C+I,A,t,E,i))return!0}else s+=pN(b,w,T,C,C+I,A,E,i);u=Math.cos(C+I)*k+b,h=Math.sin(C+I)*T+w;break;case fi.R:p=u=o[v++],f=h=o[v++];var P=o[v++],L=o[v++];if(y=p+P,g=f+L,e){if(ka(p,f,y,f,t,r,i)||ka(y,f,y,g,t,r,i)||ka(y,g,p,g,t,r,i)||ka(p,g,p,f,t,r,i))return!0}else s+=ao(y,f,y,g,r,i),s+=ao(p,g,p,f,r,i);break;case fi.Z:if(e){if(ka(u,h,p,f,t,r,i))return!0}else s+=ao(u,h,p,f,r,i);u=p,h=f;break}}return!e&&!lN(h,f)&&(s+=ao(u,h,p,f,r,i)||0),s!==0}function fN(n,t,e){return $x(n,0,!1,t,e)}function dN(n,t,e,r){return $x(n,t,!0,e,r)}var qx=qt({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},to),gN={style:qt({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Xc.style)},Kg=ol.concat(["invisible","culling","z","z2","zlevel","parent"]),Zt=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.update=function(){var e=this;n.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(u){e.buildPath(u,e.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<Kg.length;++s)i[Kg[s]]=this[Kg[s]];i.__dirty|=cn}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(e){var r=ae(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var o=0;o<r.length;o++){var a=r[o],s=e[a];a==="style"?this.style?ut(this.style,s):this.useStyle(s):a==="shape"?ut(this.shape,s):n.prototype.attrKV.call(this,a,s)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if(e!=="none"){if(gt(e)){var r=Oc(e,0);return r>.5?kg:r>.2?KE:Cg}else if(e)return Cg}return kg},t.prototype.getInsideTextStroke=function(e){var r=this.style.fill;if(gt(r)){var i=this.__zr,o=!!(i&&i.isDarkMode()),a=Oc(e,0)<Sg;if(o===a)return r}},t.prototype.buildPath=function(e,r,i){},t.prototype.pathUpdated=function(){this.__dirty&=~va},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new pi(!1)},t.prototype.hasStroke=function(){var e=this.style,r=e.stroke;return!(r==null||r==="none"||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style,r=e.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var e=this._rect,r=this.style,i=!e;if(i){var o=!1;this.path||(o=!0,this.createPathProxy());var a=this.path;(o||this.__dirty&va)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),e=a.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||i){s.copy(e);var u=r.strokeNoScale?this.getLineScale():1,h=r.lineWidth;if(!this.hasFill()){var p=this.strokeContainThreshold;h=Math.max(h,p??4)}u>1e-10&&(s.width+=h/u,s.height+=h/u,s.x-=h/u/2,s.y-=h/u/2)}return s}return e},t.prototype.contain=function(e,r){var i=this.transformCoordToLocal(e,r),o=this.getBoundingRect(),a=this.style;if(e=i[0],r=i[1],o.contain(e,r)){var s=this.path;if(this.hasStroke()){var u=a.lineWidth,h=a.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(this.hasFill()||(u=Math.max(u,this.strokeContainThreshold)),dN(s,u/h,e,r)))return!0}if(this.hasFill())return fN(s,e,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=va,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():e==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(e,r){e==="shape"?this.setShape(r):n.prototype.attrKV.call(this,e,r)},t.prototype.setShape=function(e,r){var i=this.shape;return i||(i=this.shape={}),typeof e=="string"?i[e]=r:ut(i,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&va)},t.prototype.createStyle=function(e){return yc(qx,e)},t.prototype._innerSaveToNormal=function(e){n.prototype._innerSaveToNormal.call(this,e);var r=this._normalState;e.shape&&!r.shape&&(r.shape=ut({},this.shape))},t.prototype._applyStateObj=function(e,r,i,o,a,s){n.prototype._applyStateObj.call(this,e,r,i,o,a,s);var u=!(r&&o),h;if(r&&r.shape?a?o?h=r.shape:(h=ut({},i.shape),ut(h,r.shape)):(h=ut({},o?this.shape:i.shape),ut(h,r.shape)):u&&(h=i.shape),h)if(a){this.shape=ut({},this.shape);for(var p={},f=ae(h),y=0;y<f.length;y++){var g=f[y];typeof h[g]=="object"?this.shape[g]=h[g]:p[g]=h[g]}this._transitionState(e,{shape:p},s)}else this.shape=h,this.dirtyShape()},t.prototype._mergeStates=function(e){for(var r=n.prototype._mergeStates.call(this,e),i,o=0;o<e.length;o++){var a=e[o];a.shape&&(i=i||{},this._mergeStyle(i,a.shape))}return i&&(r.shape=i),r},t.prototype.getAnimationStyleProps=function(){return gN},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var r=(function(o){te(a,o);function a(s){var u=o.call(this,s)||this;return e.init&&e.init.call(u,s),u}return a.prototype.getDefaultStyle=function(){return Ht(e.style)},a.prototype.getDefaultShape=function(){return Ht(e.shape)},a})(t);for(var i in e)typeof e[i]=="function"&&(r.prototype[i]=e[i]);return r},t.initDefaultProps=(function(){var e=t.prototype;e.type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=cn|Js|va})(),t})(pl),yN=qt({strokeFirst:!0,font:Ui,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},qx),Kc=(function(n){te(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var e=this.style,r=e.stroke;return r!=null&&r!=="none"&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style,r=e.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(e){return yc(yN,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var r=e.text;r!=null?r+="":r="";var i=Ig(r,e.font,e.textAlign,e.textBaseline);if(i.x+=e.x||0,i.y+=e.y||0,this.hasStroke()){var o=e.lineWidth;i.x-=o/2,i.y-=o/2,i.width+=o,i.height+=o}this._rect=i}return this._rect},t.initDefaultProps=(function(){var e=t.prototype;e.dirtyRectTolerance=10})(),t})(pl);Kc.prototype.type="tspan";var vN=qt({x:0,y:0},to),mN={style:qt({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Xc.style)};function _N(n){return!!(n&&typeof n!="string"&&n.width&&n.height)}var di=(function(n){te(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.createStyle=function(e){return yc(vN,e)},t.prototype._getSize=function(e){var r=this.style,i=r[e];if(i!=null)return i;var o=_N(r.image)?r.image:this.__image;if(!o)return 0;var a=e==="width"?"height":"width",s=r[a];return s==null?o[e]:o[e]/o[a]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return mN},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new Gt(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t})(pl);di.prototype.type="image";function bN(n,t){var e=t.x,r=t.y,i=t.width,o=t.height,a=t.r,s,u,h,p;i<0&&(e=e+i,i=-i),o<0&&(r=r+o,o=-o),typeof a=="number"?s=u=h=p=a:a instanceof Array?a.length===1?s=u=h=p=a[0]:a.length===2?(s=h=a[0],u=p=a[1]):a.length===3?(s=a[0],u=p=a[1],h=a[2]):(s=a[0],u=a[1],h=a[2],p=a[3]):s=u=h=p=0;var f;s+u>i&&(f=s+u,s*=i/f,u*=i/f),h+p>i&&(f=h+p,h*=i/f,p*=i/f),u+h>o&&(f=u+h,u*=o/f,h*=o/f),s+p>o&&(f=s+p,s*=o/f,p*=o/f),n.moveTo(e+s,r),n.lineTo(e+i-u,r),u!==0&&n.arc(e+i-u,r+u,u,-Math.PI/2,0),n.lineTo(e+i,r+o-h),h!==0&&n.arc(e+i-h,r+o-h,h,0,Math.PI/2),n.lineTo(e+p,r+o),p!==0&&n.arc(e+p,r+o-p,p,Math.PI/2,Math.PI),n.lineTo(e,r+s),s!==0&&n.arc(e+s,r+s,s,Math.PI,Math.PI*1.5)}var Ca=Math.round;function Xx(n,t,e){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;n.x1=r,n.x2=i,n.y1=o,n.y2=a;var s=e&&e.lineWidth;return s&&(Ca(r*2)===Ca(i*2)&&(n.x1=n.x2=lo(r,s,!0)),Ca(o*2)===Ca(a*2)&&(n.y1=n.y2=lo(o,s,!0))),n}}function Yx(n,t,e){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;n.x=r,n.y=i,n.width=o,n.height=a;var s=e&&e.lineWidth;return s&&(n.x=lo(r,s,!0),n.y=lo(i,s,!0),n.width=Math.max(lo(r+o,s,!1)-n.x,o===0?0:1),n.height=Math.max(lo(i+a,s,!1)-n.y,a===0?0:1)),n}}function lo(n,t,e){if(!t)return n;var r=Ca(n*2);return(r+Ca(t))%2===0?r/2:(r+(e?1:-1))/2}var xN=(function(){function n(){this.x=0,this.y=0,this.width=0,this.height=0}return n})(),wN={},xe=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new xN},t.prototype.buildPath=function(e,r){var i,o,a,s;if(this.subPixelOptimize){var u=Yx(wN,r,this.style);i=u.x,o=u.y,a=u.width,s=u.height,u.r=r.r,r=u}else i=r.x,o=r.y,a=r.width,s=r.height;r.r?bN(e,r):e.rect(i,o,a,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t})(Zt);xe.prototype.type="rect";var Zx={fill:"#000"},Qx=2,SN={style:qt({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},Xc.style)},Le=(function(n){te(t,n);function t(e){var r=n.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=Zx,r.attr(e),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){n.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var r=this._children[e];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},t.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):n.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(e){var r=this.innerTransformable;return r?r.getLocalTransform(e):n.prototype.getLocalTransform.call(this,e)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),n.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,IN(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(e){n.prototype.addSelfToZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=e},t.prototype.removeSelfFromZr=function(e){n.prototype.removeSelfFromZr.call(this,e);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new Gt(0,0,0,0),r=this._children,i=[],o=null,a=0;a<r.length;a++){var s=r[a],u=s.getBoundingRect(),h=s.getLocalTransform(i);h?(e.copy(u),e.applyTransform(h),o=o||e.clone(),o.union(e)):(o=o||u.clone(),o.union(u))}this._rect=o||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||Zx},t.prototype.setTextContent=function(e){},t.prototype._mergeStyle=function(e,r){if(!r)return e;var i=r.rich,o=e.rich||i&&{};return ut(e,r),i&&o?(this._mergeRich(o,i),e.rich=o):o&&(e.rich=o),e},t.prototype._mergeRich=function(e,r){for(var i=ae(r),o=0;o<i.length;o++){var a=i[o];e[a]=e[a]||{},ut(e[a],r[a])}},t.prototype.getAnimationStyleProps=function(){return SN},t.prototype._getOrCreateChild=function(e){var r=this._children[this._childCursor];return(!r||!(r instanceof e))&&(r=new e),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},t.prototype._updatePlainTexts=function(){var e=this.style,r=e.font||Ui,i=e.padding,o=iw(e),a=WP(o,e),s=Jg(e),u=!!e.backgroundColor,h=a.outerHeight,p=a.outerWidth,f=a.contentWidth,y=a.lines,g=a.lineHeight,v=this._defaultStyle;this.isTruncated=!!a.isTruncated;var _=e.x||0,m=e.y||0,b=e.align||v.align||"left",w=e.verticalAlign||v.verticalAlign||"top",k=_,T=wa(m,a.contentHeight,w);if(s||i){var C=al(_,p,b),I=wa(m,h,w);s&&this._renderBackground(e,e,C,I,p,h)}T+=g/2,i&&(k=rw(_,b,i),w==="top"?T+=i[0]:w==="bottom"&&(T-=i[2]));for(var A=0,E=!1,P=nw("fill"in e?e.fill:(E=!0,v.fill)),L=ew("stroke"in e?e.stroke:!u&&(!v.autoStroke||E)?(A=Qx,v.stroke):null),N=e.textShadowBlur>0,F=e.width!=null&&(e.overflow==="truncate"||e.overflow==="break"||e.overflow==="breakAll"),G=a.calculatedLineHeight,X=0;X<y.length;X++){var Y=this._getOrCreateChild(Kc),nt=Y.createStyle();Y.useStyle(nt),nt.text=y[X],nt.x=k,nt.y=T,nt.textAlign=b,nt.textBaseline="middle",nt.opacity=e.opacity,nt.strokeFirst=!0,N&&(nt.shadowBlur=e.textShadowBlur||0,nt.shadowColor=e.textShadowColor||"transparent",nt.shadowOffsetX=e.textShadowOffsetX||0,nt.shadowOffsetY=e.textShadowOffsetY||0),nt.stroke=L,nt.fill=P,L&&(nt.lineWidth=e.lineWidth||A,nt.lineDash=e.lineDash,nt.lineDashOffset=e.lineDashOffset||0),nt.font=r,Jx(nt,e),T+=g,F&&Y.setBoundingRect(new Gt(al(nt.x,f,nt.textAlign),wa(nt.y,G,nt.textBaseline),f,G))}},t.prototype._updateRichTexts=function(){var e=this.style,r=iw(e),i=XP(r,e),o=i.width,a=i.outerWidth,s=i.outerHeight,u=e.padding,h=e.x||0,p=e.y||0,f=this._defaultStyle,y=e.align||f.align,g=e.verticalAlign||f.verticalAlign;this.isTruncated=!!i.isTruncated;var v=al(h,a,y),_=wa(p,s,g),m=v,b=_;u&&(m+=u[3],b+=u[0]);var w=m+o;Jg(e)&&this._renderBackground(e,e,v,_,a,s);for(var k=!!e.backgroundColor,T=0;T<i.lines.length;T++){for(var C=i.lines[T],I=C.tokens,A=I.length,E=C.lineHeight,P=C.width,L=0,N=m,F=w,G=A-1,X=void 0;L<A&&(X=I[L],!X.align||X.align==="left");)this._placeToken(X,e,E,b,N,"left",k),P-=X.width,N+=X.width,L++;for(;G>=0&&(X=I[G],X.align==="right");)this._placeToken(X,e,E,b,F,"right",k),P-=X.width,F-=X.width,G--;for(N+=(o-(N-m)-(w-F)-P)/2;L<=G;)X=I[L],this._placeToken(X,e,E,b,N+X.width/2,"center",k),N+=X.width,L++;b+=E}},t.prototype._placeToken=function(e,r,i,o,a,s,u){var h=r.rich[e.styleName]||{};h.text=e.text;var p=e.verticalAlign,f=o+i/2;p==="top"?f=o+e.height/2:p==="bottom"&&(f=o+i-e.height/2);var y=!e.isLineHolder&&Jg(h);y&&this._renderBackground(h,r,s==="right"?a-e.width:s==="center"?a-e.width/2:a,f-e.height/2,e.width,e.height);var g=!!h.backgroundColor,v=e.textPadding;v&&(a=rw(a,s,v),f-=e.height/2-v[0]-e.innerHeight/2);var _=this._getOrCreateChild(Kc),m=_.createStyle();_.useStyle(m);var b=this._defaultStyle,w=!1,k=0,T=nw("fill"in h?h.fill:"fill"in r?r.fill:(w=!0,b.fill)),C=ew("stroke"in h?h.stroke:"stroke"in r?r.stroke:!g&&!u&&(!b.autoStroke||w)?(k=Qx,b.stroke):null),I=h.textShadowBlur>0||r.textShadowBlur>0;m.text=e.text,m.x=a,m.y=f,I&&(m.shadowBlur=h.textShadowBlur||r.textShadowBlur||0,m.shadowColor=h.textShadowColor||r.textShadowColor||"transparent",m.shadowOffsetX=h.textShadowOffsetX||r.textShadowOffsetX||0,m.shadowOffsetY=h.textShadowOffsetY||r.textShadowOffsetY||0),m.textAlign=s,m.textBaseline="middle",m.font=e.font||Ui,m.opacity=dc(h.opacity,r.opacity,1),Jx(m,h),C&&(m.lineWidth=dc(h.lineWidth,r.lineWidth,k),m.lineDash=Ot(h.lineDash,r.lineDash),m.lineDashOffset=r.lineDashOffset||0,m.stroke=C),T&&(m.fill=T);var A=e.contentWidth,E=e.contentHeight;_.setBoundingRect(new Gt(al(m.x,A,m.textAlign),wa(m.y,E,m.textBaseline),A,E))},t.prototype._renderBackground=function(e,r,i,o,a,s){var u=e.backgroundColor,h=e.borderWidth,p=e.borderColor,f=u&&u.image,y=u&&!f,g=e.borderRadius,v=this,_,m;if(y||e.lineHeight||h&&p){_=this._getOrCreateChild(xe),_.useStyle(_.createStyle()),_.style.fill=null;var b=_.shape;b.x=i,b.y=o,b.width=a,b.height=s,b.r=g,_.dirtyShape()}if(y){var w=_.style;w.fill=u||null,w.fillOpacity=Ot(e.fillOpacity,1)}else if(f){m=this._getOrCreateChild(di),m.onload=function(){v.dirtyStyle()};var k=m.style;k.image=u.image,k.x=i,k.y=o,k.width=a,k.height=s}if(h&&p){var w=_.style;w.lineWidth=h,w.stroke=p,w.strokeOpacity=Ot(e.strokeOpacity,1),w.lineDash=e.borderDash,w.lineDashOffset=e.borderDashOffset||0,_.strokeContainThreshold=0,_.hasFill()&&_.hasStroke()&&(w.strokeFirst=!0,w.lineWidth*=2)}var T=(_||m).style;T.shadowBlur=e.shadowBlur||0,T.shadowColor=e.shadowColor||"transparent",T.shadowOffsetX=e.shadowOffsetX||0,T.shadowOffsetY=e.shadowOffsetY||0,T.opacity=dc(e.opacity,r.opacity,1)},t.makeFont=function(e){var r="";return TN(e)&&(r=[e.fontStyle,e.fontWeight,MN(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),r&&or(r)||e.textFont||e.font},t})(pl),kN={left:!0,right:1,center:1},CN={top:1,bottom:1,middle:1},Kx=["fontStyle","fontWeight","fontSize","fontFamily"];function MN(n){return typeof n=="string"&&(n.indexOf("px")!==-1||n.indexOf("rem")!==-1||n.indexOf("em")!==-1)?n:isNaN(+n)?zd+"px":n+"px"}function Jx(n,t){for(var e=0;e<Kx.length;e++){var r=Kx[e],i=t[r];i!=null&&(n[r]=i)}}function TN(n){return n.fontSize!=null||n.fontFamily||n.fontWeight}function IN(n){return tw(n),R(n.rich,tw),n}function tw(n){if(n){n.font=Le.makeFont(n);var t=n.align;t==="middle"&&(t="center"),n.align=t==null||kN[t]?t:"left";var e=n.verticalAlign;e==="center"&&(e="middle"),n.verticalAlign=e==null||CN[e]?e:"top";var r=n.padding;r&&(n.padding=mb(n.padding))}}function ew(n,t){return n==null||t<=0||n==="transparent"||n==="none"?null:n.image||n.colorStops?"#000":n}function nw(n){return n==null||n==="none"?null:n.image||n.colorStops?"#000":n}function rw(n,t,e){return t==="right"?n-e[1]:t==="center"?n+e[3]/2-e[1]/2:n+e[3]}function iw(n){var t=n.text;return t!=null&&(t+=""),t}function Jg(n){return!!(n.backgroundColor||n.lineHeight||n.borderWidth&&n.borderColor)}var Bt=pe(),DN=function(n,t,e,r){if(r){var i=Bt(r);i.dataIndex=e,i.dataType=t,i.seriesIndex=n,i.ssrType="chart",r.type==="group"&&r.traverse(function(o){var a=Bt(o);a.seriesIndex=n,a.dataIndex=e,a.dataType=t,a.ssrType="chart"})}},ow=1,aw={},sw=pe(),ty=pe(),ey=0,Jc=1,th=2,Mn=["emphasis","blur","select"],eh=["normal","emphasis","blur","select"],AN=10,ON=9,uo="highlight",nh="downplay",gl="select",rh="unselect",yl="toggleSelect";function Ma(n){return n!=null&&n!=="none"}function ih(n,t,e){n.onHoverStateChange&&(n.hoverState||0)!==e&&n.onHoverStateChange(t),n.hoverState=e}function lw(n){ih(n,"emphasis",th)}function uw(n){n.hoverState===th&&ih(n,"normal",ey)}function ny(n){ih(n,"blur",Jc)}function cw(n){n.hoverState===Jc&&ih(n,"normal",ey)}function EN(n){n.selected=!0}function PN(n){n.selected=!1}function hw(n,t,e){t(n,e)}function Or(n,t,e){hw(n,t,e),n.isGroup&&n.traverse(function(r){hw(r,t,e)})}function pw(n,t){switch(t){case"emphasis":n.hoverState=th;break;case"normal":n.hoverState=ey;break;case"blur":n.hoverState=Jc;break;case"select":n.selected=!0}}function NN(n,t,e,r){for(var i=n.style,o={},a=0;a<t.length;a++){var s=t[a],u=i[s];o[s]=u??(r&&r[s])}for(var a=0;a<n.animators.length;a++){var h=n.animators[a];h.__fromStateTransition&&h.__fromStateTransition.indexOf(e)<0&&h.targetName==="style"&&h.saveTo(o,t)}return o}function LN(n,t,e,r){var i=e&&Xt(e,"select")>=0,o=!1;if(n instanceof Zt){var a=sw(n),s=i&&a.selectFill||a.normalFill,u=i&&a.selectStroke||a.normalStroke;if(Ma(s)||Ma(u)){r=r||{};var h=r.style||{};h.fill==="inherit"?(o=!0,r=ut({},r),h=ut({},h),h.fill=s):!Ma(h.fill)&&Ma(s)?(o=!0,r=ut({},r),h=ut({},h),h.fill=tx(s)):!Ma(h.stroke)&&Ma(u)&&(o||(r=ut({},r),h=ut({},h)),h.stroke=tx(u)),r.style=h}}if(r&&r.z2==null){o||(r=ut({},r));var p=n.z2EmphasisLift;r.z2=n.z2+(p??AN)}return r}function RN(n,t,e){if(e&&e.z2==null){e=ut({},e);var r=n.z2SelectLift;e.z2=n.z2+(r??ON)}return e}function zN(n,t,e){var r=Xt(n.currentStates,t)>=0,i=n.style.opacity,o=r?null:NN(n,["opacity"],t,{opacity:1});e=e||{};var a=e.style||{};return a.opacity==null&&(e=ut({},e),a=ut({opacity:r?i:o.opacity*.1},a),e.style=a),e}function ry(n,t){var e=this.states[n];if(this.style){if(n==="emphasis")return LN(this,n,t,e);if(n==="blur")return zN(this,n,e);if(n==="select")return RN(this,n,e)}return e}function BN(n){n.stateProxy=ry;var t=n.getTextContent(),e=n.getTextGuideLine();t&&(t.stateProxy=ry),e&&(e.stateProxy=ry)}function fw(n,t){!mw(n,t)&&!n.__highByOuter&&Or(n,lw)}function dw(n,t){!mw(n,t)&&!n.__highByOuter&&Or(n,uw)}function oh(n,t){n.__highByOuter|=1<<(t||0),Or(n,lw)}function ah(n,t){!(n.__highByOuter&=~(1<<(t||0)))&&Or(n,uw)}function FN(n){Or(n,ny)}function gw(n){Or(n,cw)}function yw(n){Or(n,EN)}function vw(n){Or(n,PN)}function mw(n,t){return n.__highDownSilentOnTouch&&t.zrByTouch}function _w(n){var t=n.getModel(),e=[],r=[];t.eachComponent(function(i,o){var a=ty(o),s=i==="series",u=s?n.getViewOfSeriesModel(o):n.getViewOfComponentModel(o);!s&&r.push(u),a.isBlured&&(u.group.traverse(function(h){cw(h)}),s&&e.push(o)),a.isBlured=!1}),R(r,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(e,!1,t)})}function iy(n,t,e,r){var i=r.getModel();e=e||"coordinateSystem";function o(h,p){for(var f=0;f<p.length;f++){var y=h.getItemGraphicEl(p[f]);y&&gw(y)}}if(n!=null&&!(!t||t==="none")){var a=i.getSeriesByIndex(n),s=a.coordinateSystem;s&&s.master&&(s=s.master);var u=[];i.eachSeries(function(h){var p=a===h,f=h.coordinateSystem;f&&f.master&&(f=f.master);var y=f&&s?f===s:p;if(!(e==="series"&&!p||e==="coordinateSystem"&&!y||t==="series"&&p)){var g=r.getViewOfSeriesModel(h);if(g.group.traverse(function(m){m.__highByOuter&&p&&t==="self"||ny(m)}),Qe(t))o(h.getData(),t);else if(mt(t))for(var v=ae(t),_=0;_<v.length;_++)o(h.getData(v[_]),t[v[_]]);u.push(h),ty(h).isBlured=!0}}),i.eachComponent(function(h,p){if(h!=="series"){var f=r.getViewOfComponentModel(p);f&&f.toggleBlurSeries&&f.toggleBlurSeries(u,!0,i)}})}}function oy(n,t,e){if(!(n==null||t==null)){var r=e.getModel().getComponent(n,t);if(r){ty(r).isBlured=!0;var i=e.getViewOfComponentModel(r);!i||!i.focusBlurEnabled||i.group.traverse(function(o){ny(o)})}}}function HN(n,t,e){var r=n.seriesIndex,i=n.getData(t.dataType);if(i){var o=Ki(i,t);o=(pt(o)?o[0]:o)||0;var a=i.getItemGraphicEl(o);if(!a)for(var s=i.count(),u=0;!a&&u<s;)a=i.getItemGraphicEl(u++);if(a){var h=Bt(a);iy(r,h.focus,h.blurScope,e)}else{var p=n.get(["emphasis","focus"]),f=n.get(["emphasis","blurScope"]);p!=null&&iy(r,p,f,e)}}}function ay(n,t,e,r){var i={focusSelf:!1,dispatchers:null};if(n==null||n==="series"||t==null||e==null)return i;var o=r.getModel().getComponent(n,t);if(!o)return i;var a=r.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return i;for(var s=a.findHighDownDispatchers(e),u,h=0;h<s.length;h++)if(Bt(s[h]).focus==="self"){u=!0;break}return{focusSelf:u,dispatchers:s}}function VN(n,t,e){var r=Bt(n),i=ay(r.componentMainType,r.componentIndex,r.componentHighDownName,e),o=i.dispatchers,a=i.focusSelf;o?(a&&oy(r.componentMainType,r.componentIndex,e),R(o,function(s){return fw(s,t)})):(iy(r.seriesIndex,r.focus,r.blurScope,e),r.focus==="self"&&oy(r.componentMainType,r.componentIndex,e),fw(n,t))}function GN(n,t,e){_w(e);var r=Bt(n),i=ay(r.componentMainType,r.componentIndex,r.componentHighDownName,e).dispatchers;i?R(i,function(o){return dw(o,t)}):dw(n,t)}function jN(n,t,e){if(cy(t)){var r=t.dataType,i=n.getData(r),o=Ki(i,t);pt(o)||(o=[o]),n[t.type===yl?"toggleSelect":t.type===gl?"select":"unselect"](o,r)}}function bw(n){var t=n.getAllData();R(t,function(e){var r=e.data,i=e.type;r.eachItemGraphicEl(function(o,a){n.isSelected(a,i)?yw(o):vw(o)})})}function UN(n){var t=[];return n.eachSeries(function(e){var r=e.getAllData();R(r,function(i){i.data;var o=i.type,a=e.getSelectedDataIndices();if(a.length>0){var s={dataIndex:a,seriesIndex:e.seriesIndex};o!=null&&(s.dataType=o),t.push(s)}})}),t}function sy(n,t,e){ww(n,!0),Or(n,BN),$N(n,t,e)}function WN(n){ww(n,!1)}function sh(n,t,e,r){r?WN(n):sy(n,t,e)}function $N(n,t,e){var r=Bt(n);t!=null?(r.focus=t,r.blurScope=e):r.focus&&(r.focus=null)}var xw=["emphasis","blur","select"],qN={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ly(n,t,e,r){e=e||"itemStyle";for(var i=0;i<xw.length;i++){var o=xw[i],a=t.getModel([o,e]),s=n.ensureState(o);s.style=a[qN[e]]()}}function ww(n,t){var e=t===!1,r=n;n.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=n.highDownSilentOnTouch),(!e||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!e)}function uy(n){return!!(n&&n.__highDownDispatcher)}function XN(n){var t=aw[n];return t==null&&ow<=32&&(t=aw[n]=ow++),t}function cy(n){var t=n.type;return t===gl||t===rh||t===yl}function Sw(n){var t=n.type;return t===uo||t===nh}function YN(n){var t=sw(n);t.normalFill=n.style.fill,t.normalStroke=n.style.stroke;var e=n.states.select||{};t.selectFill=e.style&&e.style.fill||null,t.selectStroke=e.style&&e.style.stroke||null}var Ta=pi.CMD,ZN=[[],[],[]],kw=Math.sqrt,QN=Math.atan2;function KN(n,t){if(t){var e=n.data,r=n.len(),i,o,a,s,u,h,p=Ta.M,f=Ta.C,y=Ta.L,g=Ta.R,v=Ta.A,_=Ta.Q;for(a=0,s=0;a<r;){switch(i=e[a++],s=a,o=0,i){case p:o=1;break;case y:o=1;break;case f:o=3;break;case _:o=2;break;case v:var m=t[4],b=t[5],w=kw(t[0]*t[0]+t[1]*t[1]),k=kw(t[2]*t[2]+t[3]*t[3]),T=QN(-t[1]/k,t[0]/w);e[a]*=w,e[a++]+=m,e[a]*=k,e[a++]+=b,e[a++]*=w,e[a++]*=k,e[a++]+=T,e[a++]+=T,a+=2,s=a;break;case g:h[0]=e[a++],h[1]=e[a++],_n(h,h,t),e[s++]=h[0],e[s++]=h[1],h[0]+=e[a++],h[1]+=e[a++],_n(h,h,t),e[s++]=h[0],e[s++]=h[1]}for(u=0;u<o;u++){var C=ZN[u];C[0]=e[a++],C[1]=e[a++],_n(C,C,t),e[s++]=C[0],e[s++]=C[1]}}n.increaseVersion()}}var hy=Math.sqrt,lh=Math.sin,uh=Math.cos,vl=Math.PI;function Cw(n){return Math.sqrt(n[0]*n[0]+n[1]*n[1])}function py(n,t){return(n[0]*t[0]+n[1]*t[1])/(Cw(n)*Cw(t))}function Mw(n,t){return(n[0]*t[1]<n[1]*t[0]?-1:1)*Math.acos(py(n,t))}function Tw(n,t,e,r,i,o,a,s,u,h,p){var f=u*(vl/180),y=uh(f)*(n-e)/2+lh(f)*(t-r)/2,g=-1*lh(f)*(n-e)/2+uh(f)*(t-r)/2,v=y*y/(a*a)+g*g/(s*s);v>1&&(a*=hy(v),s*=hy(v));var _=(i===o?-1:1)*hy((a*a*(s*s)-a*a*(g*g)-s*s*(y*y))/(a*a*(g*g)+s*s*(y*y)))||0,m=_*a*g/s,b=_*-s*y/a,w=(n+e)/2+uh(f)*m-lh(f)*b,k=(t+r)/2+lh(f)*m+uh(f)*b,T=Mw([1,0],[(y-m)/a,(g-b)/s]),C=[(y-m)/a,(g-b)/s],I=[(-1*y-m)/a,(-1*g-b)/s],A=Mw(C,I);if(py(C,I)<=-1&&(A=vl),py(C,I)>=1&&(A=0),A<0){var E=Math.round(A/vl*1e6)/1e6;A=vl*2+E%2*vl}p.addData(h,w,k,a,s,T,A,f,o)}var JN=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,tL=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function eL(n){var t=new pi;if(!n)return t;var e=0,r=0,i=e,o=r,a,s=pi.CMD,u=n.match(JN);if(!u)return t;for(var h=0;h<u.length;h++){for(var p=u[h],f=p.charAt(0),y=void 0,g=p.match(tL)||[],v=g.length,_=0;_<v;_++)g[_]=parseFloat(g[_]);for(var m=0;m<v;){var b=void 0,w=void 0,k=void 0,T=void 0,C=void 0,I=void 0,A=void 0,E=e,P=r,L=void 0,N=void 0;switch(f){case"l":e+=g[m++],r+=g[m++],y=s.L,t.addData(y,e,r);break;case"L":e=g[m++],r=g[m++],y=s.L,t.addData(y,e,r);break;case"m":e+=g[m++],r+=g[m++],y=s.M,t.addData(y,e,r),i=e,o=r,f="l";break;case"M":e=g[m++],r=g[m++],y=s.M,t.addData(y,e,r),i=e,o=r,f="L";break;case"h":e+=g[m++],y=s.L,t.addData(y,e,r);break;case"H":e=g[m++],y=s.L,t.addData(y,e,r);break;case"v":r+=g[m++],y=s.L,t.addData(y,e,r);break;case"V":r=g[m++],y=s.L,t.addData(y,e,r);break;case"C":y=s.C,t.addData(y,g[m++],g[m++],g[m++],g[m++],g[m++],g[m++]),e=g[m-2],r=g[m-1];break;case"c":y=s.C,t.addData(y,g[m++]+e,g[m++]+r,g[m++]+e,g[m++]+r,g[m++]+e,g[m++]+r),e+=g[m-2],r+=g[m-1];break;case"S":b=e,w=r,L=t.len(),N=t.data,a===s.C&&(b+=e-N[L-4],w+=r-N[L-3]),y=s.C,E=g[m++],P=g[m++],e=g[m++],r=g[m++],t.addData(y,b,w,E,P,e,r);break;case"s":b=e,w=r,L=t.len(),N=t.data,a===s.C&&(b+=e-N[L-4],w+=r-N[L-3]),y=s.C,E=e+g[m++],P=r+g[m++],e+=g[m++],r+=g[m++],t.addData(y,b,w,E,P,e,r);break;case"Q":E=g[m++],P=g[m++],e=g[m++],r=g[m++],y=s.Q,t.addData(y,E,P,e,r);break;case"q":E=g[m++]+e,P=g[m++]+r,e+=g[m++],r+=g[m++],y=s.Q,t.addData(y,E,P,e,r);break;case"T":b=e,w=r,L=t.len(),N=t.data,a===s.Q&&(b+=e-N[L-4],w+=r-N[L-3]),e=g[m++],r=g[m++],y=s.Q,t.addData(y,b,w,e,r);break;case"t":b=e,w=r,L=t.len(),N=t.data,a===s.Q&&(b+=e-N[L-4],w+=r-N[L-3]),e+=g[m++],r+=g[m++],y=s.Q,t.addData(y,b,w,e,r);break;case"A":k=g[m++],T=g[m++],C=g[m++],I=g[m++],A=g[m++],E=e,P=r,e=g[m++],r=g[m++],y=s.A,Tw(E,P,e,r,I,A,k,T,C,y,t);break;case"a":k=g[m++],T=g[m++],C=g[m++],I=g[m++],A=g[m++],E=e,P=r,e+=g[m++],r+=g[m++],y=s.A,Tw(E,P,e,r,I,A,k,T,C,y,t);break}}(f==="z"||f==="Z")&&(y=s.Z,t.addData(y),e=i,r=o),a=y}return t.toStatic(),t}var Iw=(function(n){te(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.applyTransform=function(e){},t})(Zt);function Dw(n){return n.setData!=null}function Aw(n,t){var e=eL(n),r=ut({},t);return r.buildPath=function(i){if(Dw(i)){i.setData(e.data);var o=i.getContext();o&&i.rebuildPath(o,1)}else{var o=i;e.rebuildPath(o,1)}},r.applyTransform=function(i){KN(e,i),this.dirtyShape()},r}function nL(n,t){return new Iw(Aw(n,t))}function rL(n,t){var e=Aw(n,t),r=(function(i){te(o,i);function o(a){var s=i.call(this,a)||this;return s.applyTransform=e.applyTransform,s.buildPath=e.buildPath,s}return o})(Iw);return r}function iL(n,t){for(var e=[],r=n.length,i=0;i<r;i++){var o=n[i];e.push(o.getUpdatedPathProxy(!0))}var a=new Zt(t);return a.createPathProxy(),a.buildPath=function(s){if(Dw(s)){s.appendPath(e);var u=s.getContext();u&&s.rebuildPath(u,1)}},a}var oL=(function(){function n(){this.cx=0,this.cy=0,this.r=0}return n})(),ch=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new oL},t.prototype.buildPath=function(e,r){e.moveTo(r.cx+r.r,r.cy),e.arc(r.cx,r.cy,r.r,0,Math.PI*2)},t})(Zt);ch.prototype.type="circle";var aL=(function(){function n(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return n})(),fy=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new aL},t.prototype.buildPath=function(e,r){var i=.5522848,o=r.cx,a=r.cy,s=r.rx,u=r.ry,h=s*i,p=u*i;e.moveTo(o-s,a),e.bezierCurveTo(o-s,a-p,o-h,a-u,o,a-u),e.bezierCurveTo(o+h,a-u,o+s,a-p,o+s,a),e.bezierCurveTo(o+s,a+p,o+h,a+u,o,a+u),e.bezierCurveTo(o-h,a+u,o-s,a+p,o-s,a),e.closePath()},t})(Zt);fy.prototype.type="ellipse";var Ow=Math.PI,dy=Ow*2,co=Math.sin,Ia=Math.cos,sL=Math.acos,Re=Math.atan2,Ew=Math.abs,ml=Math.sqrt,_l=Math.max,fr=Math.min,Vn=1e-4;function lL(n,t,e,r,i,o,a,s){var u=e-n,h=r-t,p=a-i,f=s-o,y=f*u-p*h;if(!(y*y<Vn))return y=(p*(t-o)-f*(n-i))/y,[n+y*u,t+y*h]}function hh(n,t,e,r,i,o,a){var s=n-e,u=t-r,h=(a?o:-o)/ml(s*s+u*u),p=h*u,f=-h*s,y=n+p,g=t+f,v=e+p,_=r+f,m=(y+v)/2,b=(g+_)/2,w=v-y,k=_-g,T=w*w+k*k,C=i-o,I=y*_-v*g,A=(k<0?-1:1)*ml(_l(0,C*C*T-I*I)),E=(I*k-w*A)/T,P=(-I*w-k*A)/T,L=(I*k+w*A)/T,N=(-I*w+k*A)/T,F=E-m,G=P-b,X=L-m,Y=N-b;return F*F+G*G>X*X+Y*Y&&(E=L,P=N),{cx:E,cy:P,x0:-p,y0:-f,x1:E*(i/C-1),y1:P*(i/C-1)}}function uL(n){var t;if(pt(n)){var e=n.length;if(!e)return n;e===1?t=[n[0],n[0],0,0]:e===2?t=[n[0],n[0],n[1],n[1]]:e===3?t=n.concat(n[2]):t=n}else t=[n,n,n,n];return t}function cL(n,t){var e,r=_l(t.r,0),i=_l(t.r0||0,0),o=r>0,a=i>0;if(!(!o&&!a)){if(o||(r=i,i=0),i>r){var s=r;r=i,i=s}var u=t.startAngle,h=t.endAngle;if(!(isNaN(u)||isNaN(h))){var p=t.cx,f=t.cy,y=!!t.clockwise,g=Ew(h-u),v=g>dy&&g%dy;if(v>Vn&&(g=v),!(r>Vn))n.moveTo(p,f);else if(g>dy-Vn)n.moveTo(p+r*Ia(u),f+r*co(u)),n.arc(p,f,r,u,h,!y),i>Vn&&(n.moveTo(p+i*Ia(h),f+i*co(h)),n.arc(p,f,i,h,u,y));else{var _=void 0,m=void 0,b=void 0,w=void 0,k=void 0,T=void 0,C=void 0,I=void 0,A=void 0,E=void 0,P=void 0,L=void 0,N=void 0,F=void 0,G=void 0,X=void 0,Y=r*Ia(u),nt=r*co(u),z=i*Ia(h),V=i*co(h),J=g>Vn;if(J){var at=t.cornerRadius;at&&(e=uL(at),_=e[0],m=e[1],b=e[2],w=e[3]);var Z=Ew(r-i)/2;if(k=fr(Z,b),T=fr(Z,w),C=fr(Z,_),I=fr(Z,m),P=A=_l(k,T),L=E=_l(C,I),(A>Vn||E>Vn)&&(N=r*Ia(h),F=r*co(h),G=i*Ia(u),X=i*co(u),g<Ow)){var q=lL(Y,nt,G,X,N,F,z,V);if(q){var U=Y-q[0],K=nt-q[1],et=N-q[0],W=F-q[1],yt=1/co(sL((U*et+K*W)/(ml(U*U+K*K)*ml(et*et+W*W)))/2),ot=ml(q[0]*q[0]+q[1]*q[1]);P=fr(A,(r-ot)/(yt+1)),L=fr(E,(i-ot)/(yt-1))}}}if(!J)n.moveTo(p+Y,f+nt);else if(P>Vn){var bt=fr(b,P),vt=fr(w,P),lt=hh(G,X,Y,nt,r,bt,y),st=hh(N,F,z,V,r,vt,y);n.moveTo(p+lt.cx+lt.x0,f+lt.cy+lt.y0),P<A&&bt===vt?n.arc(p+lt.cx,f+lt.cy,P,Re(lt.y0,lt.x0),Re(st.y0,st.x0),!y):(bt>0&&n.arc(p+lt.cx,f+lt.cy,bt,Re(lt.y0,lt.x0),Re(lt.y1,lt.x1),!y),n.arc(p,f,r,Re(lt.cy+lt.y1,lt.cx+lt.x1),Re(st.cy+st.y1,st.cx+st.x1),!y),vt>0&&n.arc(p+st.cx,f+st.cy,vt,Re(st.y1,st.x1),Re(st.y0,st.x0),!y))}else n.moveTo(p+Y,f+nt),n.arc(p,f,r,u,h,!y);if(!(i>Vn)||!J)n.lineTo(p+z,f+V);else if(L>Vn){var bt=fr(_,L),vt=fr(m,L),lt=hh(z,V,N,F,i,-vt,y),st=hh(Y,nt,G,X,i,-bt,y);n.lineTo(p+lt.cx+lt.x0,f+lt.cy+lt.y0),L<E&&bt===vt?n.arc(p+lt.cx,f+lt.cy,L,Re(lt.y0,lt.x0),Re(st.y0,st.x0),!y):(vt>0&&n.arc(p+lt.cx,f+lt.cy,vt,Re(lt.y0,lt.x0),Re(lt.y1,lt.x1),!y),n.arc(p,f,i,Re(lt.cy+lt.y1,lt.cx+lt.x1),Re(st.cy+st.y1,st.cx+st.x1),y),bt>0&&n.arc(p+st.cx,f+st.cy,bt,Re(st.y1,st.x1),Re(st.y0,st.x0),!y))}else n.lineTo(p+z,f+V),n.arc(p,f,i,h,u,y)}n.closePath()}}}var hL=(function(){function n(){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 n})(),Da=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new hL},t.prototype.buildPath=function(e,r){cL(e,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(Zt);Da.prototype.type="sector";var pL=(function(){function n(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return n})(),gy=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new pL},t.prototype.buildPath=function(e,r){var i=r.cx,o=r.cy,a=Math.PI*2;e.moveTo(i+r.r,o),e.arc(i,o,r.r,0,a,!1),e.moveTo(i+r.r0,o),e.arc(i,o,r.r0,0,a,!0)},t})(Zt);gy.prototype.type="ring";function fL(n,t,e,r){var i=[],o=[],a=[],s=[],u,h,p,f;if(r){p=[1/0,1/0],f=[-1/0,-1/0];for(var y=0,g=n.length;y<g;y++)pa(p,p,n[y]),fa(f,f,n[y]);pa(p,p,r[0]),fa(f,f,r[1])}for(var y=0,g=n.length;y<g;y++){var v=n[y];if(e)u=n[y?y-1:g-1],h=n[(y+1)%g];else if(y===0||y===g-1){i.push(JO(n[y]));continue}else u=n[y-1],h=n[y+1];tE(o,h,u),Ud(o,o,t);var _=Wd(v,u),m=Wd(v,h),b=_+m;b!==0&&(_/=b,m/=b),Ud(a,o,-_),Ud(s,o,m);var w=wb([],v,a),k=wb([],v,s);r&&(fa(w,w,p),pa(w,w,f),fa(k,k,p),pa(k,k,f)),i.push(w),i.push(k)}return e&&i.push(i.shift()),i}function Pw(n,t,e){var r=t.smooth,i=t.points;if(i&&i.length>=2){if(r){var o=fL(i,r,e,t.smoothConstraint);n.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(e?a:a-1);s++){var u=o[s*2],h=o[s*2+1],p=i[(s+1)%a];n.bezierCurveTo(u[0],u[1],h[0],h[1],p[0],p[1])}}else{n.moveTo(i[0][0],i[0][1]);for(var s=1,f=i.length;s<f;s++)n.lineTo(i[s][0],i[s][1])}e&&n.closePath()}}var dL=(function(){function n(){this.points=null,this.smooth=0,this.smoothConstraint=null}return n})(),yy=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new dL},t.prototype.buildPath=function(e,r){Pw(e,r,!0)},t})(Zt);yy.prototype.type="polygon";var gL=(function(){function n(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return n})(),ph=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new gL},t.prototype.buildPath=function(e,r){Pw(e,r,!1)},t})(Zt);ph.prototype.type="polyline";var yL={},vL=(function(){function n(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return n})(),gi=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new vL},t.prototype.buildPath=function(e,r){var i,o,a,s;if(this.subPixelOptimize){var u=Xx(yL,r,this.style);i=u.x1,o=u.y1,a=u.x2,s=u.y2}else i=r.x1,o=r.y1,a=r.x2,s=r.y2;var h=r.percent;h!==0&&(e.moveTo(i,o),h<1&&(a=i*(1-h)+a*h,s=o*(1-h)+s*h),e.lineTo(a,s))},t.prototype.pointAt=function(e){var r=this.shape;return[r.x1*(1-e)+r.x2*e,r.y1*(1-e)+r.y2*e]},t})(Zt);gi.prototype.type="line";var nn=[],mL=(function(){function n(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return n})();function Nw(n,t,e){var r=n.cpx2,i=n.cpy2;return r!=null||i!=null?[(e?Vb:ke)(n.x1,n.cpx1,n.cpx2,n.x2,t),(e?Vb:ke)(n.y1,n.cpy1,n.cpy2,n.y2,t)]:[(e?Ub:Ne)(n.x1,n.cpx1,n.x2,t),(e?Ub:Ne)(n.y1,n.cpy1,n.y2,t)]}var vy=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new mL},t.prototype.buildPath=function(e,r){var i=r.x1,o=r.y1,a=r.x2,s=r.y2,u=r.cpx1,h=r.cpy1,p=r.cpx2,f=r.cpy2,y=r.percent;y!==0&&(e.moveTo(i,o),p==null||f==null?(y<1&&(Tc(i,u,a,y,nn),u=nn[1],a=nn[2],Tc(o,h,s,y,nn),h=nn[1],s=nn[2]),e.quadraticCurveTo(u,h,a,s)):(y<1&&(Mc(i,u,p,a,y,nn),u=nn[1],p=nn[2],a=nn[3],Mc(o,h,f,s,y,nn),h=nn[1],f=nn[2],s=nn[3]),e.bezierCurveTo(u,h,p,f,a,s)))},t.prototype.pointAt=function(e){return Nw(this.shape,e,!1)},t.prototype.tangentAt=function(e){var r=Nw(this.shape,e,!0);return rE(r,r)},t})(Zt);vy.prototype.type="bezier-curve";var _L=(function(){function n(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return n})(),fh=(function(n){te(t,n);function t(e){return n.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new _L},t.prototype.buildPath=function(e,r){var i=r.cx,o=r.cy,a=Math.max(r.r,0),s=r.startAngle,u=r.endAngle,h=r.clockwise,p=Math.cos(s),f=Math.sin(s);e.moveTo(p*a+i,f*a+o),e.arc(i,o,a,s,u,!h)},t})(Zt);fh.prototype.type="arc";var bL=(function(n){te(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="compound",e}return t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,r=this.shapeChanged(),i=0;i<e.length;i++)r=r||e[i].shapeChanged();r&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],r=this.getGlobalScale(),i=0;i<e.length;i++)e[i].path||e[i].createPathProxy(),e[i].path.setScale(r[0],r[1],e[i].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,r){for(var i=r.paths||[],o=0;o<i.length;o++)i[o].buildPath(e,i[o].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],r=0;r<e.length;r++)e[r].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Zt.prototype.getBoundingRect.call(this)},t})(Zt),Lw=(function(){function n(t){this.colorStops=t||[]}return n.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},n})(),Rw=(function(n){te(t,n);function t(e,r,i,o,a,s){var u=n.call(this,a)||this;return u.x=e??0,u.y=r??0,u.x2=i??1,u.y2=o??0,u.type="linear",u.global=s||!1,u}return t})(Lw),xL=(function(n){te(t,n);function t(e,r,i,o,a){var s=n.call(this,o)||this;return s.x=e??.5,s.y=r??.5,s.r=i??.5,s.type="radial",s.global=a||!1,s}return t})(Lw),ho=[0,0],po=[0,0],dh=new Rt,gh=new Rt,yh=(function(){function n(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new Rt;for(var r=0;r<2;r++)this._axes[r]=new Rt;t&&this.fromBoundingRect(t,e)}return n.prototype.fromBoundingRect=function(t,e){var r=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,u=a+t.height;if(r[0].set(o,a),r[1].set(s,a),r[2].set(s,u),r[3].set(o,u),e)for(var h=0;h<4;h++)r[h].transform(e);Rt.sub(i[0],r[1],r[0]),Rt.sub(i[1],r[3],r[0]),i[0].normalize(),i[1].normalize();for(var h=0;h<2;h++)this._origin[h]=i[h].dot(r[0])},n.prototype.intersect=function(t,e){var r=!0,i=!e;return dh.set(1/0,1/0),gh.set(0,0),!this._intersectCheckOneSide(this,t,dh,gh,i,1)&&(r=!1,i)||!this._intersectCheckOneSide(t,this,dh,gh,i,-1)&&(r=!1,i)||i||Rt.copy(e,r?dh:gh),r},n.prototype._intersectCheckOneSide=function(t,e,r,i,o,a){for(var s=!0,u=0;u<2;u++){var h=this._axes[u];if(this._getProjMinMaxOnAxis(u,t._corners,ho),this._getProjMinMaxOnAxis(u,e._corners,po),ho[1]<po[0]||ho[0]>po[1]){if(s=!1,o)return s;var p=Math.abs(po[0]-ho[1]),f=Math.abs(ho[0]-po[1]);Math.min(p,f)>i.len()&&(p<f?Rt.scale(i,h,-p*a):Rt.scale(i,h,f*a))}else if(r){var p=Math.abs(po[0]-ho[1]),f=Math.abs(ho[0]-po[1]);Math.min(p,f)<r.len()&&(p<f?Rt.scale(r,h,p*a):Rt.scale(r,h,-f*a))}}return s},n.prototype._getProjMinMaxOnAxis=function(t,e,r){for(var i=this._axes[t],o=this._origin,a=e[0].dot(i)+o[t],s=a,u=a,h=1;h<e.length;h++){var p=e[h].dot(i)+o[t];s=Math.min(p,s),u=Math.max(p,u)}r[0]=s,r[1]=u},n})(),wL=[],SL=(function(n){te(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return t.prototype.traverse=function(e,r){e.call(r,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,r){r?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,r){r=r||!1;for(var i=0;i<e.length;i++)this.addDisplayable(e[i],r)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var r=this._cursor;r<this._displayables.length;r++)e&&e(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)e&&e(this._temporaryDisplayables[r])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var r=this._displayables[e];r.parent=this,r.update(),r.parent=null}for(var e=0;e<this._temporaryDisplayables.length;e++){var r=this._temporaryDisplayables[e];r.parent=this,r.update(),r.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new Gt(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var i=this._displayables[r],o=i.getBoundingRect().clone();i.needLocalTransform()&&o.applyTransform(i.getLocalTransform(wL)),e.union(o)}this._rect=e}return this._rect},t.prototype.contain=function(e,r){var i=this.transformCoordToLocal(e,r),o=this.getBoundingRect();if(o.contain(i[0],i[1]))for(var a=0;a<this._displayables.length;a++){var s=this._displayables[a];if(s.contain(e,r))return!0}return!1},t})(pl),kL=pe();function CL(n,t,e,r,i){var o;if(t&&t.ecModel){var a=t.ecModel.getUpdatePayload();o=a&&a.animation}var s=t&&t.isAnimationEnabled(),u=n==="update";if(s){var h=void 0,p=void 0,f=void 0;r?(h=Ot(r.duration,200),p=Ot(r.easing,"cubicOut"),f=0):(h=t.getShallow(u?"animationDurationUpdate":"animationDuration"),p=t.getShallow(u?"animationEasingUpdate":"animationEasing"),f=t.getShallow(u?"animationDelayUpdate":"animationDelay")),o&&(o.duration!=null&&(h=o.duration),o.easing!=null&&(p=o.easing),o.delay!=null&&(f=o.delay)),At(f)&&(f=f(e,i)),At(h)&&(h=h(e));var y={duration:h||0,delay:f,easing:p};return y}else return null}function my(n,t,e,r,i,o,a){var s=!1,u;At(i)?(a=o,o=i,i=null):mt(i)&&(o=i.cb,a=i.during,s=i.isFrom,u=i.removeOpt,i=i.dataIndex);var h=n==="leave";h||t.stopAnimation("leave");var p=CL(n,r,i,h?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null);if(p&&p.duration>0){var f=p.duration,y=p.delay,g=p.easing,v={duration:f,delay:y||0,easing:g,done:o,force:!!o||!!a,setToFinal:!h,scope:n,during:a};s?t.animateFrom(e,v):t.animateTo(e,v)}else t.stopAnimation(),!s&&t.attr(e),a&&a(1),o&&o()}function ze(n,t,e,r,i,o){my("update",n,t,e,r,i,o)}function Tn(n,t,e,r,i,o){my("enter",n,t,e,r,i,o)}function Aa(n){if(!n.__zr)return!0;for(var t=0;t<n.animators.length;t++){var e=n.animators[t];if(e.scope==="leave")return!0}return!1}function vh(n,t,e,r,i,o){Aa(n)||my("leave",n,t,e,r,i,o)}function zw(n,t,e,r){n.removeTextContent(),n.removeTextGuideLine(),vh(n,{style:{opacity:0}},t,e,r)}function _y(n,t,e){function r(){n.parent&&n.parent.remove(n)}n.isGroup?n.traverse(function(i){i.isGroup||zw(i,t,e,r)}):zw(n,t,e,r)}function Bw(n){kL(n).oldStyle=n.style}var mh=Math.max,_h=Math.min,by={};function ML(n){return Zt.extend(n)}var TL=rL;function IL(n,t){return TL(n,t)}function Gn(n,t){by[n]=t}function DL(n){if(by.hasOwnProperty(n))return by[n]}function xy(n,t,e,r){var i=nL(n,t);return e&&(r==="center"&&(e=Hw(e,i.getBoundingRect())),Vw(i,e)),i}function Fw(n,t,e){var r=new di({style:{image:n,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(i){if(e==="center"){var o={width:i.width,height:i.height};r.setStyle(Hw(t,o))}}});return r}function Hw(n,t){var e=t.width/t.height,r=n.height*e,i;r<=n.width?i=n.height:(r=n.width,i=r/e);var o=n.x+n.width/2,a=n.y+n.height/2;return{x:o-r/2,y:a-i/2,width:r,height:i}}var AL=iL;function Vw(n,t){if(n.applyTransform){var e=n.getBoundingRect(),r=e.calculateTransform(t);n.applyTransform(r)}}function bl(n,t){return Xx(n,n,{lineWidth:t}),n}function OL(n){return Yx(n.shape,n.shape,n.style),n}var EL=lo;function PL(n,t){for(var e=eg([]);n&&n!==t;)ya(e,n.getLocalTransform(),e),n=n.parent;return e}function wy(n,t,e){return t&&!Qe(t)&&(t=Hc.getLocalTransform(t)),e&&(t=vc([],t)),_n([],n,t)}function NL(n,t,e){var r=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),i=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),o=[n==="left"?-r:n==="right"?r:0,n==="top"?-i:n==="bottom"?i:0];return o=wy(o,t,e),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Gw(n){return!n.isGroup}function LL(n){return n.shape!=null}function jw(n,t,e){if(!n||!t)return;function r(a){var s={};return a.traverse(function(u){Gw(u)&&u.anid&&(s[u.anid]=u)}),s}function i(a){var s={x:a.x,y:a.y,rotation:a.rotation};return LL(a)&&(s.shape=ut({},a.shape)),s}var o=r(n);t.traverse(function(a){if(Gw(a)&&a.anid){var s=o[a.anid];if(s){var u=i(a);a.attr(i(s)),ze(a,u,e,Bt(a).dataIndex)}}})}function RL(n,t){return xt(n,function(e){var r=e[0];r=mh(r,t.x),r=_h(r,t.x+t.width);var i=e[1];return i=mh(i,t.y),i=_h(i,t.y+t.height),[r,i]})}function zL(n,t){var e=mh(n.x,t.x),r=_h(n.x+n.width,t.x+t.width),i=mh(n.y,t.y),o=_h(n.y+n.height,t.y+t.height);if(r>=e&&o>=i)return{x:e,y:i,width:r-e,height:o-i}}function Sy(n,t,e){var r=ut({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},n)return n.indexOf("image://")===0?(i.image=n.slice(8),qt(i,e),new di(r)):xy(n.replace("path://",""),r,e,"center")}function BL(n,t,e,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(Uw(n,t,e,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function Uw(n,t,e,r,i,o,a,s){var u=e-n,h=r-t,p=a-i,f=s-o,y=ky(p,f,u,h);if(FL(y))return!1;var g=n-i,v=t-o,_=ky(g,v,u,h)/y;if(_<0||_>1)return!1;var m=ky(g,v,p,f)/y;return!(m<0||m>1)}function ky(n,t,e,r){return n*r-e*t}function FL(n){return n<=1e-6&&n>=-1e-6}function bh(n){var t=n.itemTooltipOption,e=n.componentModel,r=n.itemName,i=gt(t)?{formatter:t}:t,o=e.mainType,a=e.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var u=n.formatterParamsExtra;u&&R(ae(u),function(p){Wi(s,p)||(s[p]=u[p],s.$vars.push(p))});var h=Bt(n.el);h.componentMainType=o,h.componentIndex=a,h.tooltipConfig={name:r,option:qt({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function Ww(n,t){var e;n.isGroup&&(e=t(n)),e||n.traverse(t)}function xh(n,t){if(n)if(pt(n))for(var e=0;e<n.length;e++)Ww(n[e],t);else Ww(n,t)}Gn("circle",ch),Gn("ellipse",fy),Gn("sector",Da),Gn("ring",gy),Gn("polygon",yy),Gn("polyline",ph),Gn("rect",xe),Gn("line",gi),Gn("bezierCurve",vy),Gn("arc",fh);const HL=Object.freeze(Object.defineProperty({__proto__:null,Arc:fh,BezierCurve:vy,BoundingRect:Gt,Circle:ch,CompoundPath:bL,Ellipse:fy,Group:Ie,Image:di,IncrementalDisplayable:SL,Line:gi,LinearGradient:Rw,OrientedBoundingRect:yh,Path:Zt,Point:Rt,Polygon:yy,Polyline:ph,RadialGradient:xL,Rect:xe,Ring:gy,Sector:Da,Text:Le,applyTransform:wy,clipPointsByRect:RL,clipRectByRect:zL,createIcon:Sy,extendPath:IL,extendShape:ML,getShapeClass:DL,getTransform:PL,groupTransition:jw,initProps:Tn,isElementRemoved:Aa,lineLineIntersect:Uw,linePolygonIntersect:BL,makeImage:Fw,makePath:xy,mergePath:AL,registerShape:Gn,removeElement:vh,removeElementWithFadeOut:_y,resizePath:Vw,setTooltipConfig:bh,subPixelOptimize:EL,subPixelOptimizeLine:bl,subPixelOptimizeRect:OL,transformDirection:NL,traverseElements:xh,updateProps:ze},Symbol.toStringTag,{value:"Module"}));var wh={};function $w(n,t){for(var e=0;e<Mn.length;e++){var r=Mn[e],i=t[r],o=n.ensureState(r);o.style=o.style||{},o.style.text=i}var a=n.currentStates.slice();n.clearStates(!0),n.setStyle({text:t.normal}),n.useStates(a,!0)}function Cy(n,t,e){var r=n.labelFetcher,i=n.labelDataIndex,o=n.labelDimIndex,a=t.normal,s;r&&(s=r.getFormattedLabel(i,"normal",null,o,a&&a.get("formatter"),e!=null?{interpolatedValue:e}:null)),s==null&&(s=At(n.defaultText)?n.defaultText(i,n,e):n.defaultText);for(var u={normal:s},h=0;h<Mn.length;h++){var p=Mn[h],f=t[p];u[p]=Ot(r?r.getFormattedLabel(i,p,null,o,f&&f.get("formatter")):null,s)}return u}function Sh(n,t,e,r){e=e||wh;for(var i=n instanceof Le,o=!1,a=0;a<eh.length;a++){var s=t[eh[a]];if(s&&s.getShallow("show")){o=!0;break}}var u=i?n:n.getTextContent();if(o){i||(u||(u=new Le,n.setTextContent(u)),n.stateProxy&&(u.stateProxy=n.stateProxy));var h=Cy(e,t),p=t.normal,f=!!p.getShallow("show"),y=yi(p,r&&r.normal,e,!1,!i);y.text=h.normal,i||n.setTextConfig(qw(p,e,!1));for(var a=0;a<Mn.length;a++){var g=Mn[a],s=t[g];if(s){var v=u.ensureState(g),_=!!Ot(s.getShallow("show"),f);if(_!==f&&(v.ignore=!_),v.style=yi(s,r&&r[g],e,!0,!i),v.style.text=h[g],!i){var m=n.ensureState(g);m.textConfig=qw(s,e,!0)}}}u.silent=!!p.getShallow("silent"),u.style.x!=null&&(y.x=u.style.x),u.style.y!=null&&(y.y=u.style.y),u.ignore=!f,u.useStyle(y),u.dirty(),e.enableTextSetter&&(Oa(u).setLabelText=function(b){var w=Cy(e,t,b);$w(u,w)})}else u&&(u.ignore=!0);n.dirty()}function kh(n,t){t=t||"label";for(var e={normal:n.getModel(t)},r=0;r<Mn.length;r++){var i=Mn[r];e[i]=n.getModel([i,t])}return e}function yi(n,t,e,r,i){var o={};return VL(o,n,e,r,i),t&&ut(o,t),o}function qw(n,t,e){t=t||{};var r={},i,o=n.getShallow("rotate"),a=Ot(n.getShallow("distance"),e?null:5),s=n.getShallow("offset");return i=n.getShallow("position")||(e?null:"inside"),i==="outside"&&(i=t.defaultOutsidePosition||"top"),i!=null&&(r.position=i),s!=null&&(r.offset=s),o!=null&&(o*=Math.PI/180,r.rotation=o),a!=null&&(r.distance=a),r.outsideFill=n.get("color")==="inherit"?t.inheritColor||null:"auto",r}function VL(n,t,e,r,i){e=e||wh;var o=t.ecModel,a=o&&o.option.textStyle,s=GL(t),u;if(s){u={};for(var h in s)if(s.hasOwnProperty(h)){var p=t.getModel(["rich",h]);Qw(u[h]={},p,a,e,r,i,!1,!0)}}u&&(n.rich=u);var f=t.get("overflow");f&&(n.overflow=f);var y=t.get("minMargin");y!=null&&(n.margin=y),Qw(n,t,a,e,r,i,!0,!1)}function GL(n){for(var t;n&&n!==n.ecModel;){var e=(n.option||wh).rich;if(e){t=t||{};for(var r=ae(e),i=0;i<r.length;i++){var o=r[i];t[o]=1}}n=n.parentModel}return t}var Xw=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Yw=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Zw=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Qw(n,t,e,r,i,o,a,s){e=!i&&e||wh;var u=r&&r.inheritColor,h=t.getShallow("color"),p=t.getShallow("textBorderColor"),f=Ot(t.getShallow("opacity"),e.opacity);(h==="inherit"||h==="auto")&&(u?h=u:h=null),(p==="inherit"||p==="auto")&&(u?p=u:p=null),o||(h=h||e.color,p=p||e.textBorderColor),h!=null&&(n.fill=h),p!=null&&(n.stroke=p);var y=Ot(t.getShallow("textBorderWidth"),e.textBorderWidth);y!=null&&(n.lineWidth=y);var g=Ot(t.getShallow("textBorderType"),e.textBorderType);g!=null&&(n.lineDash=g);var v=Ot(t.getShallow("textBorderDashOffset"),e.textBorderDashOffset);v!=null&&(n.lineDashOffset=v),!i&&f==null&&!s&&(f=r&&r.defaultOpacity),f!=null&&(n.opacity=f),!i&&!o&&n.fill==null&&r.inheritColor&&(n.fill=r.inheritColor);for(var _=0;_<Xw.length;_++){var m=Xw[_],b=Ot(t.getShallow(m),e[m]);b!=null&&(n[m]=b)}for(var _=0;_<Yw.length;_++){var m=Yw[_],b=t.getShallow(m);b!=null&&(n[m]=b)}if(n.verticalAlign==null){var w=t.getShallow("baseline");w!=null&&(n.verticalAlign=w)}if(!a||!r.disableBox){for(var _=0;_<Zw.length;_++){var m=Zw[_],b=t.getShallow(m);b!=null&&(n[m]=b)}var k=t.getShallow("borderType");k!=null&&(n.borderDash=k),(n.backgroundColor==="auto"||n.backgroundColor==="inherit")&&u&&(n.backgroundColor=u),(n.borderColor==="auto"||n.borderColor==="inherit")&&u&&(n.borderColor=u)}}function jL(n,t){var e=t&&t.getModel("textStyle");return or([n.fontStyle||e&&e.getShallow("fontStyle")||"",n.fontWeight||e&&e.getShallow("fontWeight")||"",(n.fontSize||e&&e.getShallow("fontSize")||12)+"px",n.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))}var Oa=pe();function UL(n,t,e,r){if(n){var i=Oa(n);i.prevValue=i.value,i.value=e;var o=t.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=t)}}function WL(n,t,e,r,i){var o=Oa(n);if(!o.valueAnimation||o.prevValue===o.value)return;var a=o.defaultInterpolatedText,s=Ot(o.interpolatedValue,o.prevValue),u=o.value;function h(p){var f=Ex(e,o.precision,s,u,p);o.interpolatedValue=p===1?null:f;var y=Cy({labelDataIndex:t,labelFetcher:i,defaultText:a?a(f):f+""},o.statesModels,f);$w(n,y)}n.percent=0,(o.prevValue==null?Tn:ze)(n,{percent:1},r,t,null,h)}var $L=["textStyle","color"],My=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Ty=new Le,qL=(function(){function n(){}return n.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get($L):null)},n.prototype.getFont=function(){return jL({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},n.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<My.length;r++)e[My[r]]=this.getShallow(My[r]);return Ty.useStyle(e),Ty.update(),Ty.getBoundingRect()},n})(),Kw=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],XL=hl(Kw),YL=(function(){function n(){}return n.prototype.getLineStyle=function(t){return XL(this,t)},n})(),Jw=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],ZL=hl(Jw),QL=(function(){function n(){}return n.prototype.getItemStyle=function(t,e){return ZL(this,t,e)},n})(),fe=(function(){function n(t,e,r){this.parentModel=e,this.ecModel=r,this.option=t}return n.prototype.init=function(t,e,r){},n.prototype.mergeOption=function(t,e){$t(this.option,t,!0)},n.prototype.get=function(t,e){return t==null?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},n.prototype.getShallow=function(t,e){var r=this.option,i=r==null?r:r[t];if(i==null&&!e){var o=this.parentModel;o&&(i=o.getShallow(t))}return i},n.prototype.getModel=function(t,e){var r=t!=null,i=r?this.parsePath(t):null,o=r?this._doGet(i):this.option;return e=e||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new n(o,e,this.ecModel)},n.prototype.isEmpty=function(){return this.option==null},n.prototype.restoreData=function(){},n.prototype.clone=function(){var t=this.constructor;return new t(Ht(this.option))},n.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},n.prototype.resolveParentPath=function(t){return t},n.prototype.isAnimationEnabled=function(){if(!Tt.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},n.prototype._doGet=function(t,e){var r=this.option;if(!t)return r;for(var i=0;i<t.length&&!(t[i]&&(r=r&&typeof r=="object"?r[t[i]]:null,r==null));i++);return r==null&&e&&(r=e._doGet(this.resolveParentPath(t),e.parentModel)),r},n})();Bg(fe),RP(fe),ir(fe,YL),ir(fe,QL),ir(fe,VP),ir(fe,qL);var KL=Math.round(Math.random()*10);function Ch(n){return[n||"",KL++].join("_")}function JL(n){var t={};n.registerSubTypeDefaulter=function(e,r){var i=ur(e);t[i.main]=r},n.determineSubType=function(e,r){var i=r.type;if(!i){var o=ur(e).main;n.hasSubTypes(e)&&t[o]&&(i=t[o](r))}return i}}function tR(n,t){n.topologicalTravel=function(o,a,s,u){if(!o.length)return;var h=e(a),p=h.graph,f=h.noEntryList,y={};for(R(o,function(w){y[w]=!0});f.length;){var g=f.pop(),v=p[g],_=!!y[g];_&&(s.call(u,g,v.originalDeps.slice()),delete y[g]),R(v.successor,_?b:m)}R(y,function(){var w="";throw new Error(w)});function m(w){p[w].entryCount--,p[w].entryCount===0&&f.push(w)}function b(w){y[w]=!0,m(w)}};function e(o){var a={},s=[];return R(o,function(u){var h=r(a,u),p=h.originalDeps=t(u),f=i(p,o);h.entryCount=f.length,h.entryCount===0&&s.push(u),R(f,function(y){Xt(h.predecessor,y)<0&&h.predecessor.push(y);var g=r(a,y);Xt(g.successor,y)<0&&g.successor.push(u)})}),{graph:a,noEntryList:s}}function r(o,a){return o[a]||(o[a]={predecessor:[],successor:[]}),o[a]}function i(o,a){var s=[];return R(o,function(u){Xt(a,u)>=0&&s.push(u)}),s}}function tS(n,t){return $t($t({},n,!0),t,!0)}const eR={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",custom:"Custom chart",chart:"Chart"}},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:". "}}}},nR={time:{month:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],dayOfWeekAbbr:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE",custom:"\u81EA\u5B9A\u4E49\u56FE\u8868",chart:"\u56FE\u8868"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};var Mh="ZH",Iy="EN",Ea=Iy,Th={},Dy={},eS=Tt.domSupported?(function(){var n=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Ea).toUpperCase();return n.indexOf(Mh)>-1?Mh:Ea})():Ea;function nS(n,t){n=n.toUpperCase(),Dy[n]=new fe(t),Th[n]=t}function rR(n){if(gt(n)){var t=Th[n.toUpperCase()]||{};return n===Mh||n===Iy?Ht(t):$t(Ht(t),Ht(Th[Ea]),!1)}else return $t(Ht(n),Ht(Th[Ea]),!1)}function iR(n){return Dy[n]}function oR(){return Dy[Ea]}nS(Iy,eR),nS(Mh,nR);var Ay=1e3,Oy=Ay*60,xl=Oy*60,In=xl*24,rS=In*365,wl={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}"},Ih="{yyyy}-{MM}-{dd}",iS={year:"{yyyy}",month:"{yyyy}-{MM}",day:Ih,hour:Ih+" "+wl.hour,minute:Ih+" "+wl.minute,second:Ih+" "+wl.second,millisecond:wl.none},Ey=["year","month","day","hour","minute","second","millisecond"],oS=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function vi(n,t){return n+="","0000".substr(0,t-n.length)+n}function Pa(n){switch(n){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return n}}function aR(n){return n===Pa(n)}function sR(n){switch(n){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Dh(n,t,e,r){var i=Ir(n),o=i[Py(e)](),a=i[Na(e)]()+1,s=Math.floor((a-1)/3)+1,u=i[Ah(e)](),h=i["get"+(e?"UTC":"")+"Day"](),p=i[Sl(e)](),f=(p-1)%12+1,y=i[Oh(e)](),g=i[Eh(e)](),v=i[Ph(e)](),_=p>=12?"pm":"am",m=_.toUpperCase(),b=r instanceof fe?r:iR(r||eS)||oR(),w=b.getModel("time"),k=w.get("month"),T=w.get("monthAbbr"),C=w.get("dayOfWeek"),I=w.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,_+"").replace(/{A}/g,m+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,vi(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,k[a-1]).replace(/{MMM}/g,T[a-1]).replace(/{MM}/g,vi(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,vi(u,2)).replace(/{d}/g,u+"").replace(/{eeee}/g,C[h]).replace(/{ee}/g,I[h]).replace(/{e}/g,h+"").replace(/{HH}/g,vi(p,2)).replace(/{H}/g,p+"").replace(/{hh}/g,vi(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,vi(y,2)).replace(/{m}/g,y+"").replace(/{ss}/g,vi(g,2)).replace(/{s}/g,g+"").replace(/{SSS}/g,vi(v,3)).replace(/{S}/g,v+"")}function lR(n,t,e,r,i){var o=null;if(gt(e))o=e;else if(At(e))o=e(n.value,t,{level:n.level});else{var a=ut({},wl);if(n.level>0)for(var s=0;s<Ey.length;++s)a[Ey[s]]="{primary|"+a[Ey[s]]+"}";var u=e?e.inherit===!1?e:qt(e,a):a,h=aS(n.value,i);if(u[h])o=u[h];else if(u.inherit){for(var p=oS.indexOf(h),s=p-1;s>=0;--s)if(u[h]){o=u[h];break}o=o||a.none}if(pt(o)){var f=n.level==null?0:n.level>=0?n.level:o.length+n.level;f=Math.min(f,o.length-1),o=o[f]}}return Dh(new Date(n.value),o,i,r)}function aS(n,t){var e=Ir(n),r=e[Na(t)]()+1,i=e[Ah(t)](),o=e[Sl(t)](),a=e[Oh(t)](),s=e[Eh(t)](),u=e[Ph(t)](),h=u===0,p=h&&s===0,f=p&&a===0,y=f&&o===0,g=y&&i===1,v=g&&r===1;return v?"year":g?"month":y?"day":f?"hour":p?"minute":h?"second":"millisecond"}function sS(n,t,e){var r=se(n)?Ir(n):n;switch(t=t||aS(n,e),t){case"year":return r[Py(e)]();case"half-year":return r[Na(e)]()>=6?1:0;case"quarter":return Math.floor((r[Na(e)]()+1)/4);case"month":return r[Na(e)]();case"day":return r[Ah(e)]();case"half-day":return r[Sl(e)]()/24;case"hour":return r[Sl(e)]();case"minute":return r[Oh(e)]();case"second":return r[Eh(e)]();case"millisecond":return r[Ph(e)]()}}function Py(n){return n?"getUTCFullYear":"getFullYear"}function Na(n){return n?"getUTCMonth":"getMonth"}function Ah(n){return n?"getUTCDate":"getDate"}function Sl(n){return n?"getUTCHours":"getHours"}function Oh(n){return n?"getUTCMinutes":"getMinutes"}function Eh(n){return n?"getUTCSeconds":"getSeconds"}function Ph(n){return n?"getUTCMilliseconds":"getMilliseconds"}function uR(n){return n?"setUTCFullYear":"setFullYear"}function lS(n){return n?"setUTCMonth":"setMonth"}function uS(n){return n?"setUTCDate":"setDate"}function cS(n){return n?"setUTCHours":"setHours"}function hS(n){return n?"setUTCMinutes":"setMinutes"}function pS(n){return n?"setUTCSeconds":"setSeconds"}function fS(n){return n?"setUTCMilliseconds":"setMilliseconds"}function dS(n){if(!yP(n))return gt(n)?n:"-";var t=(n+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function gS(n,t){return n=(n||"").toLowerCase().replace(/-(.)/g,function(e,r){return r.toUpperCase()}),t&&n&&(n=n.charAt(0).toUpperCase()+n.slice(1)),n}var Nh=mb;function Ny(n,t,e){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(p){return p&&or(p)?p:"-"}function o(p){return!!(p!=null&&!isNaN(p)&&isFinite(p))}var a=t==="time",s=n instanceof Date;if(a||s){var u=a?Ir(n):n;if(isNaN(+u)){if(s)return"-"}else return Dh(u,r,e)}if(t==="ordinal")return Vd(n)?i(n):se(n)&&o(n)?n+"":"-";var h=Wc(n);return o(h)?dS(h):Vd(n)?i(n):typeof n=="boolean"?n+"":"-"}var yS=["a","b","c","d","e","f","g"],Ly=function(n,t){return"{"+n+(t??"")+"}"};function vS(n,t,e){pt(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var a=yS[o];n=n.replace(Ly(a),Ly(a,0))}for(var s=0;s<r;s++)for(var u=0;u<i.length;u++){var h=t[s][i[u]];n=n.replace(Ly(yS[u],s),e?tn(h):h)}return n}function cR(n,t){var e=gt(n)?{color:n,extraCssText:t}:n||{},r=e.color,i=e.type;t=e.extraCssText;var o=e.renderMode||"html";if(!r)return"";if(o==="html")return i==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+tn(r)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+tn(r)+";"+(t||"")+'"></span>';var a=e.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function fo(n,t){return t=t||"transparent",gt(n)?n:mt(n)&&n.colorStops&&(n.colorStops[0]||{}).color||t}function mS(n,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=n}else window.open(n,t)}var Lh=R,hR=["left","right","top","bottom","width","height"],Rh=[["width","left","right"],["height","top","bottom"]];function Ry(n,t,e,r,i){var o=0,a=0;r==null&&(r=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(u,h){var p=u.getBoundingRect(),f=t.childAt(h+1),y=f&&f.getBoundingRect(),g,v;if(n==="horizontal"){var _=p.width+(y?-y.x+p.x:0);g=o+_,g>r||u.newline?(o=0,g=_,a+=s+e,s=p.height):s=Math.max(s,p.height)}else{var m=p.height+(y?-y.y+p.y:0);v=a+m,v>i||u.newline?(o+=s+e,a=0,v=m,s=p.width):s=Math.max(s,p.width)}u.newline||(u.x=o,u.y=a,u.markRedraw(),n==="horizontal"?o=g+e:a=v+e)})}var kl=Ry;Se(Ry,"vertical"),Se(Ry,"horizontal");function Cl(n,t,e){e=Nh(e||0);var r=t.width,i=t.height,o=De(n.left,r),a=De(n.top,i),s=De(n.right,r),u=De(n.bottom,i),h=De(n.width,r),p=De(n.height,i),f=e[2]+e[0],y=e[1]+e[3],g=n.aspect;switch(isNaN(h)&&(h=r-s-y-o),isNaN(p)&&(p=i-u-f-a),g!=null&&(isNaN(h)&&isNaN(p)&&(g>r/i?h=r*.8:p=i*.8),isNaN(h)&&(h=g*p),isNaN(p)&&(p=h/g)),isNaN(o)&&(o=r-s-h-y),isNaN(a)&&(a=i-u-p-f),n.left||n.right){case"center":o=r/2-h/2-e[3];break;case"right":o=r-h-y;break}switch(n.top||n.bottom){case"middle":case"center":a=i/2-p/2-e[0];break;case"bottom":a=i-p-f;break}o=o||0,a=a||0,isNaN(h)&&(h=r-y-o-(s||0)),isNaN(p)&&(p=i-f-a-(u||0));var v=new Gt(o+e[3],a+e[0],h,p);return v.margin=e,v}function Ml(n){var t=n.layoutMode||n.constructor.layoutMode;return mt(t)?t:t?{type:t}:null}function La(n,t,e){var r=e&&e.ignoreSize;!pt(r)&&(r=[r,r]);var i=a(Rh[0],0),o=a(Rh[1],1);h(Rh[0],n,i),h(Rh[1],n,o);function a(p,f){var y={},g=0,v={},_=0,m=2;if(Lh(p,function(k){v[k]=n[k]}),Lh(p,function(k){s(t,k)&&(y[k]=v[k]=t[k]),u(y,k)&&g++,u(v,k)&&_++}),r[f])return u(t,p[1])?v[p[2]]=null:u(t,p[2])&&(v[p[1]]=null),v;if(_===m||!g)return v;if(g>=m)return y;for(var b=0;b<p.length;b++){var w=p[b];if(!s(y,w)&&s(n,w)){y[w]=n[w];break}}return y}function s(p,f){return p.hasOwnProperty(f)}function u(p,f){return p[f]!=null&&p[f]!=="auto"}function h(p,f,y){Lh(p,function(g){f[g]=y[g]})}}function zh(n){return pR({},n)}function pR(n,t){return t&&n&&Lh(hR,function(e){t.hasOwnProperty(e)&&(n[e]=t[e])}),n}var fR=pe(),Qt=(function(n){Mt(t,n);function t(e,r,i){var o=n.call(this,e,r,i)||this;return o.uid=Ch("ec_cpt_model"),o}return t.prototype.init=function(e,r,i){this.mergeDefaultAndTheme(e,i)},t.prototype.mergeDefaultAndTheme=function(e,r){var i=Ml(this),o=i?zh(e):{},a=r.getTheme();$t(e,a.get(this.mainType)),$t(e,this.getDefaultOption()),i&&La(e,o,i)},t.prototype.mergeOption=function(e,r){$t(this.option,e,!0);var i=Ml(this);i&&La(this.option,e,i)},t.prototype.optionUpdated=function(e,r){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!PP(e))return e.defaultOption;var r=fR(this);if(!r.defaultOption){for(var i=[],o=e;o;){var a=o.prototype.defaultOption;a&&i.push(a),o=o.superClass}for(var s={},u=i.length-1;u>=0;u--)s=$t(s,i[u],!0);r.defaultOption=s}return r.defaultOption},t.prototype.getReferringComponents=function(e,r){var i=e+"Index",o=e+"Id";return cl(this.ecModel,e,{index:this.get(i,!0),id:this.get(o,!0)},r)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=(function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0})(),t})(fe);Nx(Qt,fe),$c(Qt),JL(Qt),tR(Qt,dR);function dR(n){var t=[];return R(Qt.getClassesByMainType(n),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=xt(t,function(e){return ur(e).main}),n!=="dataset"&&Xt(t,"dataset")<=0&&t.unshift("dataset"),t}var _S="";typeof navigator<"u"&&(_S=navigator.platform||"");var Ra="rgba(0, 0, 0, 0.2)";const gR={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ra,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ra,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ra,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ra,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ra,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ra,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:_S.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 bS=Lt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Dn="original",rn="arrayRows",dr="objectRows",Er="keyedColumns",mi="typedArray",xS="unknown",gr="column",za="row",pn={Must:1,Might:2,Not:3},wS=pe();function yR(n){wS(n).datasetMap=Lt()}function vR(n,t,e){var r={},i=SS(t);if(!i||!n)return r;var o=[],a=[],s=t.ecModel,u=wS(s).datasetMap,h=i.uid+"_"+e.seriesLayoutBy,p,f;n=n.slice(),R(n,function(_,m){var b=mt(_)?_:n[m]={name:_};b.type==="ordinal"&&p==null&&(p=m,f=v(b)),r[b.name]=[]});var y=u.get(h)||u.set(h,{categoryWayDim:f,valueWayDim:0});R(n,function(_,m){var b=_.name,w=v(_);if(p==null){var k=y.valueWayDim;g(r[b],k,w),g(a,k,w),y.valueWayDim+=w}else if(p===m)g(r[b],0,w),g(o,0,w);else{var k=y.categoryWayDim;g(r[b],k,w),g(a,k,w),y.categoryWayDim+=w}});function g(_,m,b){for(var w=0;w<b;w++)_.push(m+w)}function v(_){var m=_.dimsDef;return m?m.length:1}return o.length&&(r.itemName=o),a.length&&(r.seriesName=a),r}function SS(n){var t=n.get("data",!0);if(!t)return cl(n.ecModel,"dataset",{index:n.get("datasetIndex",!0),id:n.get("datasetId",!0)},Hn).models[0]}function mR(n){return!n.get("transform",!0)&&!n.get("fromTransformResult",!0)?[]:cl(n.ecModel,"dataset",{index:n.get("fromDatasetIndex",!0),id:n.get("fromDatasetId",!0)},Hn).models}function kS(n,t){return _R(n.data,n.sourceFormat,n.seriesLayoutBy,n.dimensionsDefine,n.startIndex,t)}function _R(n,t,e,r,i,o){var a,s=5;if(Ke(n))return pn.Not;var u,h;if(r){var p=r[o];mt(p)?(u=p.name,h=p.type):gt(p)&&(u=p)}if(h!=null)return h==="ordinal"?pn.Must:pn.Not;if(t===rn){var f=n;if(e===za){for(var y=f[o],g=0;g<(y||[]).length&&g<s;g++)if((a=T(y[i+g]))!=null)return a}else for(var g=0;g<f.length&&g<s;g++){var v=f[i+g];if(v&&(a=T(v[o]))!=null)return a}}else if(t===dr){var _=n;if(!u)return pn.Not;for(var g=0;g<_.length&&g<s;g++){var m=_[g];if(m&&(a=T(m[u]))!=null)return a}}else if(t===Er){var b=n;if(!u)return pn.Not;var y=b[u];if(!y||Ke(y))return pn.Not;for(var g=0;g<y.length&&g<s;g++)if((a=T(y[g]))!=null)return a}else if(t===Dn)for(var w=n,g=0;g<w.length&&g<s;g++){var m=w[g],k=sl(m);if(!pt(k))return pn.Not;if((a=T(k[o]))!=null)return a}function T(C){var I=gt(C);if(C!=null&&Number.isFinite(Number(C))&&C!=="")return I?pn.Might:pn.Not;if(I&&C!=="-")return pn.Must}return pn.Not}var bR=Lt();function xR(n,t,e){var r=bR.get(t);if(!r)return e;var i=r(n);return i?e.concat(i):e}var CS=pe();pe();var zy=(function(){function n(){}return n.prototype.getColorFromPalette=function(t,e,r){var i=je(this.get("color",!0)),o=this.get("colorLayer",!0);return SR(this,CS,i,o,t,e,r)},n.prototype.clearColorPalette=function(){kR(this,CS)},n})();function wR(n,t){for(var e=n.length,r=0;r<e;r++)if(n[r].length>t)return n[r];return n[e-1]}function SR(n,t,e,r,i,o,a){o=o||n;var s=t(o),u=s.paletteIdx||0,h=s.paletteNameMap=s.paletteNameMap||{};if(h.hasOwnProperty(i))return h[i];var p=a==null||!r?e:wR(r,a);if(p=p||e,!(!p||!p.length)){var f=p[u];return i&&(h[i]=f),s.paletteIdx=(u+1)%p.length,f}}function kR(n,t){t(n).paletteIdx=0,t(n).paletteNameMap={}}var Bh,Tl,MS,TS="\0_ec_inner",CR=1,By=(function(n){Mt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.init=function(e,r,i,o,a,s){o=o||{},this.option=null,this._theme=new fe(o),this._locale=new fe(a),this._optionManager=s},t.prototype.setOption=function(e,r,i){var o=AS(r);this._optionManager.setOption(e,i,o),this._resetOption(null,o)},t.prototype.resetOption=function(e,r){return this._resetOption(e,AS(r))},t.prototype._resetOption=function(e,r){var i=!1,o=this._optionManager;if(!e||e==="recreate"){var a=o.mountOption(e==="recreate");!this.option||e==="recreate"?MS(this,a):(this.restoreData(),this._mergeOption(a,r)),i=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var s=o.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,r))}if(!e||e==="recreate"||e==="media"){var u=o.getMediaOption(this);u.length&&R(u,function(h){i=!0,this._mergeOption(h,r)},this)}return i},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,r){var i=this.option,o=this._componentsMap,a=this._componentsCount,s=[],u=Lt(),h=r&&r.replaceMergeMainTypeMap;yR(this),R(e,function(f,y){f!=null&&(Qt.hasClass(y)?y&&(s.push(y),u.set(y,!0)):i[y]=i[y]==null?Ht(f):$t(i[y],f,!0))}),h&&h.each(function(f,y){Qt.hasClass(y)&&!u.get(y)&&(s.push(y),u.set(y,!0))}),Qt.topologicalTravel(s,Qt.getAllClassMainTypes(),p,this);function p(f){var y=xR(this,f,je(e[f])),g=o.get(f),v=g?h&&h.get(f)?"replaceMerge":"normalMerge":"replaceAll",_=_P(g,y,v);MP(_,f,Qt),i[f]=null,o.set(f,null),a.set(f,0);var m=[],b=[],w=0,k;R(_,function(T,C){var I=T.existing,A=T.newOption;if(!A)I&&(I.mergeOption({},this),I.optionUpdated({},!1));else{var E=f==="series",P=Qt.getClass(f,T.keyInfo.subType,!E);if(!P)return;if(f==="tooltip"){if(k)return;k=!0}if(I&&I.constructor===P)I.name=T.keyInfo.name,I.mergeOption(A,this),I.optionUpdated(A,!1);else{var L=ut({componentIndex:C},T.keyInfo);I=new P(A,this,this,L),ut(I,L),T.brandNew&&(I.__requireNewView=!0),I.init(A,this,this),I.optionUpdated(null,!0)}}I?(m.push(I.option),b.push(I),w++):(m.push(void 0),b.push(void 0))},this),i[f]=m,o.set(f,b),a.set(f,w),f==="series"&&Bh(this)}this._seriesIndices||Bh(this)},t.prototype.getOption=function(){var e=Ht(this.option);return R(e,function(r,i){if(Qt.hasClass(i)){for(var o=je(r),a=o.length,s=!1,u=a-1;u>=0;u--)o[u]&&!ul(o[u])?s=!0:(o[u]=null,!s&&a--);o.length=a,e[i]=o}}),delete e[TS],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,r){var i=this._componentsMap.get(e);if(i){var o=i[r||0];if(o)return o;if(r==null){for(var a=0;a<i.length;a++)if(i[a])return i[a]}}},t.prototype.queryComponents=function(e){var r=e.mainType;if(!r)return[];var i=e.index,o=e.id,a=e.name,s=this._componentsMap.get(r);if(!s||!s.length)return[];var u;return i!=null?(u=[],R(je(i),function(h){s[h]&&u.push(s[h])})):o!=null?u=IS("id",o,s):a!=null?u=IS("name",a,s):u=_e(s,function(h){return!!h}),DS(u,e)},t.prototype.findComponents=function(e){var r=e.query,i=e.mainType,o=s(r),a=o?this.queryComponents(o):_e(this._componentsMap.get(i),function(h){return!!h});return u(DS(a,e));function s(h){var p=i+"Index",f=i+"Id",y=i+"Name";return h&&(h[p]!=null||h[f]!=null||h[y]!=null)?{mainType:i,index:h[p],id:h[f],name:h[y]}:null}function u(h){return e.filter?_e(h,e.filter):h}},t.prototype.eachComponent=function(e,r,i){var o=this._componentsMap;if(At(e)){var a=r,s=e;o.each(function(f,y){for(var g=0;f&&g<f.length;g++){var v=f[g];v&&s.call(a,y,v,v.componentIndex)}})}else for(var u=gt(e)?o.get(e):mt(e)?this.findComponents(e):null,h=0;u&&h<u.length;h++){var p=u[h];p&&r.call(i,p,p.componentIndex)}},t.prototype.getSeriesByName=function(e){var r=lr(e,null);return _e(this._componentsMap.get("series"),function(i){return!!i&&r!=null&&i.name===r})},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return _e(this._componentsMap.get("series"),function(r){return!!r&&r.subType===e})},t.prototype.getSeries=function(){return _e(this._componentsMap.get("series"),function(e){return!!e})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,r){Tl(this),R(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];e.call(r,o,i)},this)},t.prototype.eachRawSeries=function(e,r){R(this._componentsMap.get("series"),function(i){i&&e.call(r,i,i.componentIndex)})},t.prototype.eachSeriesByType=function(e,r,i){Tl(this),R(this._seriesIndices,function(o){var a=this._componentsMap.get("series")[o];a.subType===e&&r.call(i,a,o)},this)},t.prototype.eachRawSeriesByType=function(e,r,i){return R(this.getSeriesByType(e),r,i)},t.prototype.isSeriesFiltered=function(e){return Tl(this),this._seriesIndicesMap.get(e.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,r){Tl(this);var i=[];R(this._seriesIndices,function(o){var a=this._componentsMap.get("series")[o];e.call(r,a,o)&&i.push(o)},this),this._seriesIndices=i,this._seriesIndicesMap=Lt(i)},t.prototype.restoreData=function(e){Bh(this);var r=this._componentsMap,i=[];r.each(function(o,a){Qt.hasClass(a)&&i.push(a)}),Qt.topologicalTravel(i,Qt.getAllClassMainTypes(),function(o){R(r.get(o),function(a){a&&(o!=="series"||!MR(a,e))&&a.restoreData()})})},t.internalField=(function(){Bh=function(e){var r=e._seriesIndices=[];R(e._componentsMap.get("series"),function(i){i&&r.push(i.componentIndex)}),e._seriesIndicesMap=Lt(r)},Tl=function(e){},MS=function(e,r){e.option={},e.option[TS]=CR,e._componentsMap=Lt({series:[]}),e._componentsCount=Lt();var i=r.aria;mt(i)&&i.enabled==null&&(i.enabled=!0),TR(r,e._theme.option),$t(r,gR,!1),e._mergeOption(r,null)}})(),t})(fe);function MR(n,t){if(t){var e=t.seriesIndex,r=t.seriesId,i=t.seriesName;return e!=null&&n.componentIndex!==e||r!=null&&n.id!==r||i!=null&&n.name!==i}}function TR(n,t){var e=n.color&&!n.colorLayer;R(t,function(r,i){i==="colorLayer"&&e||Qt.hasClass(i)||(typeof r=="object"?n[i]=n[i]?$t(n[i],r,!1):Ht(r):n[i]==null&&(n[i]=r))})}function IS(n,t,e){if(pt(t)){var r=Lt();return R(t,function(o){if(o!=null){var a=lr(o,null);a!=null&&r.set(o,!0)}}),_e(e,function(o){return o&&r.get(o[n])})}else{var i=lr(t,null);return _e(e,function(o){return o&&i!=null&&o[n]===i})}}function DS(n,t){return t.hasOwnProperty("subType")?_e(n,function(e){return e&&e.subType===t.subType}):n}function AS(n){var t=Lt();return n&&R(je(n.replaceMerge),function(e){t.set(e,!0)}),{replaceMergeMainTypeMap:t}}ir(By,zy);var IR=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],OS=(function(){function n(t){R(IR,function(e){this[e]=le(t[e],t)},this)}return n})(),Fy={},Hy=(function(){function n(){this._coordinateSystems=[]}return n.prototype.create=function(t,e){var r=[];R(Fy,function(i,o){var a=i.create(t,e);r=r.concat(a||[])}),this._coordinateSystems=r},n.prototype.update=function(t,e){R(this._coordinateSystems,function(r){r.update&&r.update(t,e)})},n.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},n.register=function(t,e){Fy[t]=e},n.get=function(t){return Fy[t]},n})(),DR=/^(min|max)?(.+)$/,AR=(function(){function n(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return n.prototype.setOption=function(t,e,r){t&&(R(je(t.series),function(a){a&&a.data&&Ke(a.data)&&gc(a.data)}),R(je(t.dataset),function(a){a&&a.source&&Ke(a.source)&&gc(a.source)})),t=Ht(t);var i=this._optionBackup,o=OR(t,e,!i);this._newBaseOption=o.baseOption,i?(o.timelineOptions.length&&(i.timelineOptions=o.timelineOptions),o.mediaList.length&&(i.mediaList=o.mediaList),o.mediaDefault&&(i.mediaDefault=o.mediaDefault)):this._optionBackup=o},n.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Ht(t?e.baseOption:this._newBaseOption)},n.prototype.getTimelineOption=function(t){var e,r=this._timelineOptions;if(r.length){var i=t.getComponent("timeline");i&&(e=Ht(r[i.getCurrentIndex()]))}return e},n.prototype.getMediaOption=function(t){var e=this._api.getWidth(),r=this._api.getHeight(),i=this._mediaList,o=this._mediaDefault,a=[],s=[];if(!i.length&&!o)return s;for(var u=0,h=i.length;u<h;u++)ER(i[u].query,e,r)&&a.push(u);return!a.length&&o&&(a=[-1]),a.length&&!NR(a,this._currentMediaIndices)&&(s=xt(a,function(p){return Ht(p===-1?o.option:i[p].option)})),this._currentMediaIndices=a,s},n})();function OR(n,t,e){var r=[],i,o,a=n.baseOption,s=n.timeline,u=n.options,h=n.media,p=!!n.media,f=!!(u||s||a&&a.timeline);a?(o=a,o.timeline||(o.timeline=s)):((f||p)&&(n.options=n.media=null),o=n),p&&pt(h)&&R(h,function(g){g&&g.option&&(g.query?r.push(g):i||(i=g))}),y(o),R(u,function(g){return y(g)}),R(r,function(g){return y(g.option)});function y(g){R(t,function(v){v(g,e)})}return{baseOption:o,timelineOptions:u||[],mediaDefault:i,mediaList:r}}function ER(n,t,e){var r={width:t,height:e,aspectratio:t/e},i=!0;return R(n,function(o,a){var s=a.match(DR);if(!(!s||!s[1]||!s[2])){var u=s[1],h=s[2].toLowerCase();PR(r[h],o,u)||(i=!1)}}),i}function PR(n,t,e){return e==="min"?n>=t:e==="max"?n<=t:n===t}function NR(n,t){return n.join(",")===t.join(",")}var jn=R,Il=mt,ES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Vy(n){var t=n&&n.itemStyle;if(t)for(var e=0,r=ES.length;e<r;e++){var i=ES[e],o=t.normal,a=t.emphasis;o&&o[i]&&(n[i]=n[i]||{},n[i].normal?$t(n[i].normal,o[i]):n[i].normal=o[i],o[i]=null),a&&a[i]&&(n[i]=n[i]||{},n[i].emphasis?$t(n[i].emphasis,a[i]):n[i].emphasis=a[i],a[i]=null)}}function Be(n,t,e){if(n&&n[t]&&(n[t].normal||n[t].emphasis)){var r=n[t].normal,i=n[t].emphasis;r&&(e?(n[t].normal=n[t].emphasis=null,qt(n[t],r)):n[t]=r),i&&(n.emphasis=n.emphasis||{},n.emphasis[t]=i,i.focus&&(n.emphasis.focus=i.focus),i.blurScope&&(n.emphasis.blurScope=i.blurScope))}}function Dl(n){Be(n,"itemStyle"),Be(n,"lineStyle"),Be(n,"areaStyle"),Be(n,"label"),Be(n,"labelLine"),Be(n,"upperLabel"),Be(n,"edgeLabel")}function ve(n,t){var e=Il(n)&&n[t],r=Il(e)&&e.textStyle;if(r)for(var i=0,o=Dx.length;i<o;i++){var a=Dx[i];r.hasOwnProperty(a)&&(e[a]=r[a])}}function An(n){n&&(Dl(n),ve(n,"label"),n.emphasis&&ve(n.emphasis,"label"))}function LR(n){if(Il(n)){Vy(n),Dl(n),ve(n,"label"),ve(n,"upperLabel"),ve(n,"edgeLabel"),n.emphasis&&(ve(n.emphasis,"label"),ve(n.emphasis,"upperLabel"),ve(n.emphasis,"edgeLabel"));var t=n.markPoint;t&&(Vy(t),An(t));var e=n.markLine;e&&(Vy(e),An(e));var r=n.markArea;r&&An(r);var i=n.data;if(n.type==="graph"){i=i||n.nodes;var o=n.links||n.edges;if(o&&!Ke(o))for(var a=0;a<o.length;a++)An(o[a]);R(n.categories,function(h){Dl(h)})}if(i&&!Ke(i))for(var a=0;a<i.length;a++)An(i[a]);if(t=n.markPoint,t&&t.data)for(var s=t.data,a=0;a<s.length;a++)An(s[a]);if(e=n.markLine,e&&e.data)for(var u=e.data,a=0;a<u.length;a++)pt(u[a])?(An(u[a][0]),An(u[a][1])):An(u[a]);n.type==="gauge"?(ve(n,"axisLabel"),ve(n,"title"),ve(n,"detail")):n.type==="treemap"?(Be(n.breadcrumb,"itemStyle"),R(n.levels,function(h){Dl(h)})):n.type==="tree"&&Dl(n.leaves)}}function Pr(n){return pt(n)?n:n?[n]:[]}function PS(n){return(pt(n)?n[0]:n)||{}}function RR(n,t){jn(Pr(n.series),function(r){Il(r)&&LR(r)});var e=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&e.push("valueAxis","categoryAxis","logAxis","timeAxis"),jn(e,function(r){jn(Pr(n[r]),function(i){i&&(ve(i,"axisLabel"),ve(i.axisPointer,"label"))})}),jn(Pr(n.parallel),function(r){var i=r&&r.parallelAxisDefault;ve(i,"axisLabel"),ve(i&&i.axisPointer,"label")}),jn(Pr(n.calendar),function(r){Be(r,"itemStyle"),ve(r,"dayLabel"),ve(r,"monthLabel"),ve(r,"yearLabel")}),jn(Pr(n.radar),function(r){ve(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap)}),jn(Pr(n.geo),function(r){Il(r)&&(An(r),jn(Pr(r.regions),function(i){An(i)}))}),jn(Pr(n.timeline),function(r){An(r),Be(r,"label"),Be(r,"itemStyle"),Be(r,"controlStyle",!0);var i=r.data;pt(i)&&R(i,function(o){mt(o)&&(Be(o,"label"),Be(o,"itemStyle"))})}),jn(Pr(n.toolbox),function(r){Be(r,"iconStyle"),jn(r.feature,function(i){Be(i,"iconStyle")})}),ve(PS(n.axisPointer),"label"),ve(PS(n.tooltip).axisPointer,"label")}function zR(n,t){for(var e=t.split(","),r=n,i=0;i<e.length&&(r=r&&r[e[i]],r!=null);i++);return r}function BR(n,t,e,r){for(var i=t.split(","),o=n,a,s=0;s<i.length-1;s++)a=i[s],o[a]==null&&(o[a]={}),o=o[a];o[i[s]]==null&&(o[i[s]]=e)}function NS(n){n&&R(FR,function(t){t[0]in n&&!(t[1]in n)&&(n[t[1]]=n[t[0]])})}var FR=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],HR=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Gy=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Al(n){var t=n&&n.itemStyle;if(t)for(var e=0;e<Gy.length;e++){var r=Gy[e][1],i=Gy[e][0];t[r]!=null&&(t[i]=t[r])}}function LS(n){n&&n.alignTo==="edge"&&n.margin!=null&&n.edgeDistance==null&&(n.edgeDistance=n.margin)}function RS(n){n&&n.downplay&&!n.blur&&(n.blur=n.downplay)}function VR(n){n&&n.focusNodeAdjacency!=null&&(n.emphasis=n.emphasis||{},n.emphasis.focus==null&&(n.emphasis.focus="adjacency"))}function zS(n,t){if(n)for(var e=0;e<n.length;e++)t(n[e]),n[e]&&zS(n[e].children,t)}function BS(n,t){RR(n,t),n.series=je(n.series),R(n.series,function(e){if(mt(e)){var r=e.type;if(r==="line")e.clipOverflow!=null&&(e.clip=e.clipOverflow);else if(r==="pie"||r==="gauge"){e.clockWise!=null&&(e.clockwise=e.clockWise),LS(e.label);var i=e.data;if(i&&!Ke(i))for(var o=0;o<i.length;o++)LS(i[o]);e.hoverOffset!=null&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if(r==="gauge"){var a=zR(e,"pointer.color");a!=null&&BR(e,"itemStyle.color",a)}else if(r==="bar"){Al(e),Al(e.backgroundStyle),Al(e.emphasis);var i=e.data;if(i&&!Ke(i))for(var o=0;o<i.length;o++)typeof i[o]=="object"&&(Al(i[o]),Al(i[o]&&i[o].emphasis))}else if(r==="sunburst"){var s=e.highlightPolicy;s&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=s)),RS(e),zS(e.data,RS)}else r==="graph"||r==="sankey"?VR(e):r==="map"&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&qt(e,e.mapLocation));e.hoverAnimation!=null&&(e.emphasis=e.emphasis||{},e.emphasis&&e.emphasis.scale==null&&(e.emphasis.scale=e.hoverAnimation)),NS(e)}}),n.dataRange&&(n.visualMap=n.dataRange),R(HR,function(e){var r=n[e];r&&(pt(r)||(r=[r]),R(r,function(i){NS(i)}))})}function GR(n){var t=Lt();n.eachSeries(function(e){var r=e.get("stack");if(r){var i=t.get(r)||t.set(r,[]),o=e.getData(),a={stackResultDimension:o.getCalculationInfo("stackResultDimension"),stackedOverDimension:o.getCalculationInfo("stackedOverDimension"),stackedDimension:o.getCalculationInfo("stackedDimension"),stackedByDimension:o.getCalculationInfo("stackedByDimension"),isStackedByIndex:o.getCalculationInfo("isStackedByIndex"),data:o,seriesModel:e};if(!a.stackedDimension||!(a.isStackedByIndex||a.stackedByDimension))return;i.length&&o.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}}),t.each(jR)}function jR(n){R(n,function(t,e){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,u=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(h,p,f){var y=a.get(t.stackedDimension,f);if(isNaN(y))return i;var g,v;s?v=a.getRawIndex(f):g=a.get(t.stackedByDimension,f);for(var _=NaN,m=e-1;m>=0;m--){var b=n[m];if(s||(v=b.data.rawIndexOf(b.stackedByDimension,g)),v>=0){var w=b.data.getByRawIndex(b.stackResultDimension,v);if(u==="all"||u==="positive"&&w>0||u==="negative"&&w<0||u==="samesign"&&y>=0&&w>0||u==="samesign"&&y<=0&&w<0){y=fP(y,w),_=w;break}}}return r[0]=y,r[1]=_,r})})}var Fh=(function(){function n(t){this.data=t.data||(t.sourceFormat===Er?{}:[]),this.sourceFormat=t.sourceFormat||xS,this.seriesLayoutBy=t.seriesLayoutBy||gr,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var r=0;r<e.length;r++){var i=e[r];i.type==null&&kS(this,r)===pn.Must&&(i.type="ordinal")}}return n})();function jy(n){return n instanceof Fh}function Uy(n,t,e){e=e||HS(n);var r=t.seriesLayoutBy,i=WR(n,e,r,t.sourceHeader,t.dimensions),o=new Fh({data:n,sourceFormat:e,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Ht(t)});return o}function FS(n){return new Fh({data:n,sourceFormat:Ke(n)?mi:Dn})}function UR(n){return new Fh({data:n.data,sourceFormat:n.sourceFormat,seriesLayoutBy:n.seriesLayoutBy,dimensionsDefine:Ht(n.dimensionsDefine),startIndex:n.startIndex,dimensionsDetectedCount:n.dimensionsDetectedCount})}function HS(n){var t=xS;if(Ke(n))t=mi;else if(pt(n)){n.length===0&&(t=rn);for(var e=0,r=n.length;e<r;e++){var i=n[e];if(i!=null){if(pt(i)||Ke(i)){t=rn;break}else if(mt(i)){t=dr;break}}}}else if(mt(n)){for(var o in n)if(Wi(n,o)&&Qe(n[o])){t=Er;break}}return t}function WR(n,t,e,r,i){var o,a;if(!n)return{dimensionsDefine:VS(i),startIndex:a,dimensionsDetectedCount:o};if(t===rn){var s=n;r==="auto"||r==null?GS(function(h){h!=null&&h!=="-"&&(gt(h)?a==null&&(a=1):a=0)},e,s,10):a=se(r)?r:r?1:0,!i&&a===1&&(i=[],GS(function(h,p){i[p]=h!=null?h+"":""},e,s,1/0)),o=i?i.length:e===za?s.length:s[0]?s[0].length:null}else if(t===dr)i||(i=$R(n));else if(t===Er)i||(i=[],R(n,function(h,p){i.push(p)}));else if(t===Dn){var u=sl(n[0]);o=pt(u)&&u.length||1}return{startIndex:a,dimensionsDefine:VS(i),dimensionsDetectedCount:o}}function $R(n){for(var t=0,e;t<n.length&&!(e=n[t++]););if(e)return ae(e)}function VS(n){if(n){var t=Lt();return xt(n,function(e,r){e=mt(e)?e:{name:e};var i={name:e.name,displayName:e.displayName,type:e.type};if(i.name==null)return i;i.name+="",i.displayName==null&&(i.displayName=i.name);var o=t.get(i.name);return o?i.name+="-"+o.count++:t.set(i.name,{count:1}),i})}}function GS(n,t,e,r){if(t===za)for(var i=0;i<e.length&&i<r;i++)n(e[i]?e[i][0]:null,i);else for(var o=e[0]||[],i=0;i<o.length&&i<r;i++)n(o[i],i)}function jS(n){var t=n.sourceFormat;return t===dr||t===Er}var go,yo,vo,US,WS,$S=(function(){function n(t,e){var r=jy(t)?t:FS(t);this._source=r;var i=this._data=r.data;r.sourceFormat===mi&&(this._offset=0,this._dimSize=e,this._data=i),WS(this,i,r)}return n.prototype.getSource=function(){return this._source},n.prototype.count=function(){return 0},n.prototype.getItem=function(t,e){},n.prototype.appendData=function(t){},n.prototype.clean=function(){},n.protoInitialize=(function(){var t=n.prototype;t.pure=!1,t.persistent=!0})(),n.internalField=(function(){var t;WS=function(a,s,u){var h=u.sourceFormat,p=u.seriesLayoutBy,f=u.startIndex,y=u.dimensionsDefine,g=US[$y(h,p)];if(ut(a,g),h===mi)a.getItem=e,a.count=i,a.fillStorage=r;else{var v=XS(h,p);a.getItem=le(v,null,s,f,y);var _=ZS(h,p);a.count=le(_,null,s,f,y)}};var e=function(a,s){a=a-this._offset,s=s||[];for(var u=this._data,h=this._dimSize,p=h*a,f=0;f<h;f++)s[f]=u[p+f];return s},r=function(a,s,u,h){for(var p=this._data,f=this._dimSize,y=0;y<f;y++){for(var g=h[y],v=g[0]==null?1/0:g[0],_=g[1]==null?-1/0:g[1],m=s-a,b=u[y],w=0;w<m;w++){var k=p[w*f+y];b[a+w]=k,k<v&&(v=k),k>_&&(_=k)}g[0]=v,g[1]=_}},i=function(){return this._data?this._data.length/this._dimSize:0};US=(t={},t[rn+"_"+gr]={pure:!0,appendData:o},t[rn+"_"+za]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[dr]={pure:!0,appendData:o},t[Er]={pure:!0,appendData:function(a){var s=this._data;R(a,function(u,h){for(var p=s[h]||(s[h]=[]),f=0;f<(u||[]).length;f++)p.push(u[f])})}},t[Dn]={appendData:o},t[mi]={persistent:!1,pure:!0,appendData:function(a){this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},t);function o(a){for(var s=0;s<a.length;s++)this._data.push(a[s])}})(),n})(),qS=function(n,t,e,r){return n[r]},qR=(go={},go[rn+"_"+gr]=function(n,t,e,r){return n[r+t]},go[rn+"_"+za]=function(n,t,e,r,i){r+=t;for(var o=i||[],a=n,s=0;s<a.length;s++){var u=a[s];o[s]=u?u[r]:null}return o},go[dr]=qS,go[Er]=function(n,t,e,r,i){for(var o=i||[],a=0;a<e.length;a++){var s=e[a].name,u=n[s];o[a]=u?u[r]:null}return o},go[Dn]=qS,go);function XS(n,t){var e=qR[$y(n,t)];return e}var YS=function(n,t,e){return n.length},XR=(yo={},yo[rn+"_"+gr]=function(n,t,e){return Math.max(0,n.length-t)},yo[rn+"_"+za]=function(n,t,e){var r=n[0];return r?Math.max(0,r.length-t):0},yo[dr]=YS,yo[Er]=function(n,t,e){var r=e[0].name,i=n[r];return i?i.length:0},yo[Dn]=YS,yo);function ZS(n,t){var e=XR[$y(n,t)];return e}var Wy=function(n,t,e){return n[t]},YR=(vo={},vo[rn]=Wy,vo[dr]=function(n,t,e){return n[e]},vo[Er]=Wy,vo[Dn]=function(n,t,e){var r=sl(n);return r instanceof Array?r[t]:r},vo[mi]=Wy,vo);function QS(n){var t=YR[n];return t}function $y(n,t){return n===rn?n+"_"+t:n}function Ba(n,t,e){if(n){var r=n.getRawDataItem(t);if(r!=null){var i=n.getStore(),o=i.getSource().sourceFormat;if(e!=null){var a=n.getDimensionIndex(e),s=i.getDimensionProperty(a);return QS(o)(r,a,s)}else{var u=r;return o===Dn&&(u=sl(r)),u}}}}var ZR=/\{@(.+?)\}/g,QR=(function(){function n(){}return n.prototype.getDataParams=function(t,e){var r=this.getData(e),i=this.getRawValue(t,e),o=r.getRawIndex(t),a=r.getName(t),s=r.getRawDataItem(t),u=r.getItemVisual(t,"style"),h=u&&u[r.getItemVisual(t,"drawType")||"fill"],p=u&&u.stroke,f=this.mainType,y=f==="series",g=r.userOutput&&r.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:y?this.subType:null,seriesIndex:this.seriesIndex,seriesId:y?this.id:null,seriesName:y?this.name:null,name:a,dataIndex:o,data:s,dataType:e,value:i,color:h,borderColor:p,dimensionNames:g?g.fullDimensions:null,encode:g?g.encode:null,$vars:["seriesName","name","value"]}},n.prototype.getFormattedLabel=function(t,e,r,i,o,a){e=e||"normal";var s=this.getData(r),u=this.getDataParams(t,r);if(a&&(u.value=a.interpolatedValue),i!=null&&pt(u.value)&&(u.value=u.value[i]),!o){var h=s.getItemModel(t);o=h.get(e==="normal"?["label","formatter"]:[e,"label","formatter"])}if(At(o))return u.status=e,u.dimensionIndex=i,o(u);if(gt(o)){var p=vS(o,u);return p.replace(ZR,function(f,y){var g=y.length,v=y;v.charAt(0)==="["&&v.charAt(g-1)==="]"&&(v=+v.slice(1,g-1));var _=Ba(s,t,v);if(a&&pt(a.interpolatedValue)){var m=s.getDimensionIndex(v);m>=0&&(_=a.interpolatedValue[m])}return _!=null?_+"":""})}},n.prototype.getRawValue=function(t,e){return Ba(this.getData(e),t)},n.prototype.formatTooltip=function(t,e,r){},n})();function KS(n){var t,e;return mt(n)?n.type&&(e=n):t=n,{text:t,frag:e}}function Ol(n){return new KR(n)}var KR=(function(){function n(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return n.prototype.perform=function(t){var e=this._upstream,r=t&&t.skip;if(this._dirty&&e){var i=this.context;i.data=i.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!r&&(o=this._plan(this.context));var a=p(this._modBy),s=this._modDataCount||0,u=p(t&&t.modBy),h=t&&t.modDataCount||0;(a!==u||s!==h)&&(o="reset");function p(w){return!(w>=1)&&(w=1),w}var f;(this._dirty||o==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=u,this._modDataCount=h;var y=t&&t.step;if(e?this._dueEnd=e._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,v=Math.min(y!=null?this._dueIndex+y:1/0,this._dueEnd);if(!r&&(f||g<v)){var _=this._progress;if(pt(_))for(var m=0;m<_.length;m++)this._doProgress(_[m],g,v,u,h);else this._doProgress(_,g,v,u,h)}this._dueIndex=v;var b=this._settedOutputEnd!=null?this._settedOutputEnd:v;this._outputDueEnd=b}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},n.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},n.prototype._doProgress=function(t,e,r,i,o){JS.reset(e,r,i,o),this._callingProgress=t,this._callingProgress({start:e,end:r,count:r-e,next:JS.next},this.context)},n.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var e,r;!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(r=e.forceFirstProgress,e=e.progress),pt(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),r},n.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},n.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},n.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},n.prototype.getUpstream=function(){return this._upstream},n.prototype.getDownstream=function(){return this._downstream},n.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},n})(),JS=(function(){var n,t,e,r,i,o={reset:function(u,h,p,f){t=u,n=h,e=p,r=f,i=Math.ceil(r/e),o.next=e>1&&r>0?s:a}};return o;function a(){return t<n?t++:null}function s(){var u=t%i*e+Math.ceil(t/i),h=t>=n?null:u<r?u:t;return t++,h}})();function Hh(n,t){var e=t&&t.type;return e==="ordinal"?n:(e==="time"&&!se(n)&&n!=null&&n!=="-"&&(n=+Ir(n)),n==null||n===""?NaN:Number(n))}Lt({number:function(n){return parseFloat(n)},time:function(n){return+Ir(n)},trim:function(n){return gt(n)?or(n):n}});var JR=(function(){function n(t,e){var r=t==="desc";this._resultLT=r?1:-1,e==null&&(e=r?"min":"max"),this._incomparable=e==="min"?-1/0:1/0}return n.prototype.evaluate=function(t,e){var r=se(t)?t:Wc(t),i=se(e)?e:Wc(e),o=isNaN(r),a=isNaN(i);if(o&&(r=this._incomparable),a&&(i=this._incomparable),o&&a){var s=gt(t),u=gt(e);s&&(r=u?t:0),u&&(i=s?e:0)}return r<i?this._resultLT:r>i?-this._resultLT:0},n})(),t3=(function(){function n(){}return n.prototype.getRawData=function(){throw new Error("not supported")},n.prototype.getRawDataItem=function(t){throw new Error("not supported")},n.prototype.cloneRawData=function(){},n.prototype.getDimensionInfo=function(t){},n.prototype.cloneAllDimensionInfo=function(){},n.prototype.count=function(){},n.prototype.retrieveValue=function(t,e){},n.prototype.retrieveValueFromItem=function(t,e){},n.prototype.convertValue=function(t,e){return Hh(t,e)},n})();function e3(n,t){var e=new t3,r=n.data,i=e.sourceFormat=n.sourceFormat,o=n.startIndex,a="";n.seriesLayoutBy!==gr&&en(a);var s=[],u={},h=n.dimensionsDefine;if(h)R(h,function(_,m){var b=_.name,w={index:m,name:b,displayName:_.displayName};if(s.push(w),b!=null){var k="";Wi(u,b)&&en(k),u[b]=w}});else for(var p=0;p<n.dimensionsDetectedCount;p++)s.push({index:p});var f=XS(i,gr);t.__isBuiltIn&&(e.getRawDataItem=function(_){return f(r,o,s,_)},e.getRawData=le(n3,null,n)),e.cloneRawData=le(r3,null,n);var y=ZS(i,gr);e.count=le(y,null,r,o,s);var g=QS(i);e.retrieveValue=function(_,m){var b=f(r,o,s,_);return v(b,m)};var v=e.retrieveValueFromItem=function(_,m){if(_!=null){var b=s[m];if(b)return g(_,m,b.name)}};return e.getDimensionInfo=le(i3,null,s,u),e.cloneAllDimensionInfo=le(o3,null,s),e}function n3(n){var t=n.sourceFormat;if(!qy(t)){var e="";en(e)}return n.data}function r3(n){var t=n.sourceFormat,e=n.data;if(!qy(t)){var r="";en(r)}if(t===rn){for(var i=[],o=0,a=e.length;o<a;o++)i.push(e[o].slice());return i}else if(t===dr){for(var i=[],o=0,a=e.length;o<a;o++)i.push(ut({},e[o]));return i}}function i3(n,t,e){if(e!=null){if(se(e)||!isNaN(e)&&!Wi(t,e))return n[e];if(Wi(t,e))return t[e]}}function o3(n){return Ht(n)}var tk=Lt();function a3(n){n=Ht(n);var t=n.type,e="";t||en(e);var r=t.split(":");r.length!==2&&en(e);var i=!1;r[0]==="echarts"&&(t=r[1],i=!0),n.__isBuiltIn=i,tk.set(t,n)}function s3(n,t,e){var r=je(n),i=r.length,o="";i||en(o);for(var a=0,s=i;a<s;a++){var u=r[a];t=l3(u,t),a!==s-1&&(t.length=Math.max(t.length,1))}return t}function l3(n,t,e,r){var i="";t.length||en(i),mt(n)||en(i);var o=n.type,a=tk.get(o);a||en(i);var s=xt(t,function(h){return e3(h,a)}),u=je(a.transform({upstream:s[0],upstreamList:s,config:Ht(n.config)}));return xt(u,function(h,p){var f="";mt(h)||en(f),h.data||en(f);var y=HS(h.data);qy(y)||en(f);var g,v=t[0];if(v&&p===0&&!h.dimensions){var _=v.startIndex;_&&(h.data=v.data.slice(0,_).concat(h.data)),g={seriesLayoutBy:gr,sourceHeader:_,dimensions:v.metaRawOption.dimensions}}else g={seriesLayoutBy:gr,sourceHeader:0,dimensions:h.dimensions};return Uy(h.data,g,null)})}function qy(n){return n===rn||n===dr}var Vh="undefined",u3=typeof Uint32Array===Vh?Array:Uint32Array,c3=typeof Uint16Array===Vh?Array:Uint16Array,ek=typeof Int32Array===Vh?Array:Int32Array,nk=typeof Float64Array===Vh?Array:Float64Array,rk={float:nk,int:ek,ordinal:Array,number:Array,time:nk},Xy;function Fa(n){return n>65535?u3:c3}function Ha(){return[1/0,-1/0]}function h3(n){var t=n.constructor;return t===Array?n.slice():new t(n)}function ik(n,t,e,r,i){var o=rk[e||"float"];if(i){var a=n[t],s=a&&a.length;if(s!==r){for(var u=new o(r),h=0;h<s;h++)u[h]=a[h];n[t]=u}}else n[t]=new o(r)}var Yy=(function(){function n(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Lt()}return n.prototype.initData=function(t,e,r){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),o=this.defaultDimValueGetter=Xy[i.sourceFormat];this._dimValueGetter=r||o,this._rawExtent=[],jS(i),this._dimensions=xt(e,function(a){return{type:a.type,property:a.property}}),this._initDataFromProvider(0,t.count())},n.prototype.getProvider=function(){return this._provider},n.prototype.getSource=function(){return this._provider.getSource()},n.prototype.ensureCalculationDimension=function(t,e){var r=this._calcDimNameToIdx,i=this._dimensions,o=r.get(t);if(o!=null){if(i[o].type===e)return o}else o=i.length;return i[o]={type:e},r.set(t,o),this._chunks[o]=new rk[e||"float"](this._rawCount),this._rawExtent[o]=Ha(),o},n.prototype.collectOrdinalMeta=function(t,e){var r=this._chunks[t],i=this._dimensions[t],o=this._rawExtent,a=i.ordinalOffset||0,s=r.length;a===0&&(o[t]=Ha());for(var u=o[t],h=a;h<s;h++){var p=r[h]=e.parseAndCollect(r[h]);isNaN(p)||(u[0]=Math.min(p,u[0]),u[1]=Math.max(p,u[1]))}i.ordinalMeta=e,i.ordinalOffset=s,i.type="ordinal"},n.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],r=e.ordinalMeta;return r},n.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},n.prototype.appendData=function(t){var e=this._provider,r=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=r),r<i&&this._initDataFromProvider(r,i,!0),[r,i]},n.prototype.appendValues=function(t,e){for(var r=this._chunks,i=this._dimensions,o=i.length,a=this._rawExtent,s=this.count(),u=s+Math.max(t.length,e||0),h=0;h<o;h++){var p=i[h];ik(r,h,p.type,u,!0)}for(var f=[],y=s;y<u;y++)for(var g=y-s,v=0;v<o;v++){var p=i[v],_=Xy.arrayRows.call(this,t[g]||f,p.property,g,v);r[v][y]=_;var m=a[v];_<m[0]&&(m[0]=_),_>m[1]&&(m[1]=_)}return this._rawCount=this._count=u,{start:s,end:u}},n.prototype._initDataFromProvider=function(t,e,r){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,h=xt(a,function(w){return w.property}),p=0;p<s;p++){var f=a[p];u[p]||(u[p]=Ha()),ik(o,p,f.type,e,r)}if(i.fillStorage)i.fillStorage(t,e,o,u);else for(var y=[],g=t;g<e;g++){y=i.getItem(g,y);for(var v=0;v<s;v++){var _=o[v],m=this._dimValueGetter(y,h[v],g,v);_[g]=m;var b=u[v];m<b[0]&&(b[0]=m),m>b[1]&&(b[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},n.prototype.count=function(){return this._count},n.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var r=this._chunks[t];return r?r[this.getRawIndex(e)]:NaN},n.prototype.getValues=function(t,e){var r=[],i=[];if(e==null){e=t,t=[];for(var o=0;o<this._dimensions.length;o++)i.push(o)}else i=t;for(var o=0,a=i.length;o<a;o++)r.push(this.get(i[o],e));return r},n.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var r=this._chunks[t];return r?r[e]:NaN},n.prototype.getSum=function(t){var e=this._chunks[t],r=0;if(e)for(var i=0,o=this.count();i<o;i++){var a=this.get(t,i);isNaN(a)||(r+=a)}return r},n.prototype.getMedian=function(t){var e=[];this.each([t],function(o){isNaN(o)||e.push(o)});var r=e.sort(function(o,a){return o-a}),i=this.count();return i===0?0:i%2===1?r[(i-1)/2]:(r[i/2]+r[i/2-1])/2},n.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,r=e[t];if(r!=null&&r<this._count&&r===t)return t;for(var i=0,o=this._count-1;i<=o;){var a=(i+o)/2|0;if(e[a]<t)i=a+1;else if(e[a]>t)o=a-1;else return a}return-1},n.prototype.indicesOfNearest=function(t,e,r){var i=this._chunks,o=i[t],a=[];if(!o)return a;r==null&&(r=1/0);for(var s=1/0,u=-1,h=0,p=0,f=this.count();p<f;p++){var y=this.getRawIndex(p),g=e-o[y],v=Math.abs(g);v<=r&&((v<s||v===s&&g>=0&&u<0)&&(s=v,u=g,h=0),g===u&&(a[h++]=p))}return a.length=h,a},n.prototype.getIndices=function(){var t,e=this._indices;if(e){var r=e.constructor,i=this._count;if(r===Array){t=new r(i);for(var o=0;o<i;o++)t[o]=e[o]}else t=new r(e.buffer,0,i)}else{var r=Fa(this._rawCount);t=new r(this.count());for(var o=0;o<t.length;o++)t[o]=o}return t},n.prototype.filter=function(t,e){if(!this._count)return this;for(var r=this.clone(),i=r.count(),o=Fa(r._rawCount),a=new o(i),s=[],u=t.length,h=0,p=t[0],f=r._chunks,y=0;y<i;y++){var g=void 0,v=r.getRawIndex(y);if(u===0)g=e(y);else if(u===1){var _=f[p][v];g=e(_,y)}else{for(var m=0;m<u;m++)s[m]=f[t[m]][v];s[m]=y,g=e.apply(null,s)}g&&(a[h++]=v)}return h<i&&(r._indices=a),r._count=h,r._extent=[],r._updateGetRawIdx(),r},n.prototype.selectRange=function(t){var e=this.clone(),r=e._count;if(!r)return this;var i=ae(t),o=i.length;if(!o)return this;var a=e.count(),s=Fa(e._rawCount),u=new s(a),h=0,p=i[0],f=t[p][0],y=t[p][1],g=e._chunks,v=!1;if(!e._indices){var _=0;if(o===1){for(var m=g[i[0]],b=0;b<r;b++){var w=m[b];(w>=f&&w<=y||isNaN(w))&&(u[h++]=_),_++}v=!0}else if(o===2){for(var m=g[i[0]],k=g[i[1]],T=t[i[1]][0],C=t[i[1]][1],b=0;b<r;b++){var w=m[b],I=k[b];(w>=f&&w<=y||isNaN(w))&&(I>=T&&I<=C||isNaN(I))&&(u[h++]=_),_++}v=!0}}if(!v)if(o===1)for(var b=0;b<a;b++){var A=e.getRawIndex(b),w=g[i[0]][A];(w>=f&&w<=y||isNaN(w))&&(u[h++]=A)}else for(var b=0;b<a;b++){for(var E=!0,A=e.getRawIndex(b),P=0;P<o;P++){var L=i[P],w=g[L][A];(w<t[L][0]||w>t[L][1])&&(E=!1)}E&&(u[h++]=e.getRawIndex(b))}return h<a&&(e._indices=u),e._count=h,e._extent=[],e._updateGetRawIdx(),e},n.prototype.map=function(t,e){var r=this.clone(t);return this._updateDims(r,t,e),r},n.prototype.modify=function(t,e){this._updateDims(this,t,e)},n.prototype._updateDims=function(t,e,r){for(var i=t._chunks,o=[],a=e.length,s=t.count(),u=[],h=t._rawExtent,p=0;p<e.length;p++)h[e[p]]=Ha();for(var f=0;f<s;f++){for(var y=t.getRawIndex(f),g=0;g<a;g++)u[g]=i[e[g]][y];u[a]=f;var v=r&&r.apply(null,u);if(v!=null){typeof v!="object"&&(o[0]=v,v=o);for(var p=0;p<v.length;p++){var _=e[p],m=v[p],b=h[_],w=i[_];w&&(w[y]=m),m<b[0]&&(b[0]=m),m>b[1]&&(b[1]=m)}}}},n.prototype.lttbDownSample=function(t,e){var r=this.clone([t],!0),i=r._chunks,o=i[t],a=this.count(),s=0,u=Math.floor(1/e),h=this.getRawIndex(0),p,f,y,g=new(Fa(this._rawCount))(Math.min((Math.ceil(a/u)+2)*2,a));g[s++]=h;for(var v=1;v<a-1;v+=u){for(var _=Math.min(v+u,a-1),m=Math.min(v+u*2,a),b=(m+_)/2,w=0,k=_;k<m;k++){var T=this.getRawIndex(k),C=o[T];isNaN(C)||(w+=C)}w/=m-_;var I=v,A=Math.min(v+u,a),E=v-1,P=o[h];p=-1,y=I;for(var L=-1,N=0,k=I;k<A;k++){var T=this.getRawIndex(k),C=o[T];if(isNaN(C)){N++,L<0&&(L=T);continue}f=Math.abs((E-b)*(C-P)-(E-k)*(w-P)),f>p&&(p=f,y=T)}N>0&&N<A-I&&(g[s++]=Math.min(L,y),y=Math.max(L,y)),g[s++]=y,h=y}return g[s++]=this.getRawIndex(a-1),r._count=s,r._indices=g,r.getRawIndex=this._getRawIdx,r},n.prototype.minmaxDownSample=function(t,e){for(var r=this.clone([t],!0),i=r._chunks,o=Math.floor(1/e),a=i[t],s=this.count(),u=new(Fa(this._rawCount))(Math.ceil(s/o)*2),h=0,p=0;p<s;p+=o){var f=p,y=a[this.getRawIndex(f)],g=p,v=a[this.getRawIndex(g)],_=o;p+o>s&&(_=s-p);for(var m=0;m<_;m++){var b=this.getRawIndex(p+m),w=a[b];w<y&&(y=w,f=p+m),w>v&&(v=w,g=p+m)}var k=this.getRawIndex(f),T=this.getRawIndex(g);f<g?(u[h++]=k,u[h++]=T):(u[h++]=T,u[h++]=k)}return r._count=h,r._indices=u,r._updateGetRawIdx(),r},n.prototype.downSample=function(t,e,r,i){for(var o=this.clone([t],!0),a=o._chunks,s=[],u=Math.floor(1/e),h=a[t],p=this.count(),f=o._rawExtent[t]=Ha(),y=new(Fa(this._rawCount))(Math.ceil(p/u)),g=0,v=0;v<p;v+=u){u>p-v&&(u=p-v,s.length=u);for(var _=0;_<u;_++){var m=this.getRawIndex(v+_);s[_]=h[m]}var b=r(s),w=this.getRawIndex(Math.min(v+i(s,b)||0,p-1));h[w]=b,b<f[0]&&(f[0]=b),b>f[1]&&(f[1]=b),y[g++]=w}return o._count=g,o._indices=y,o._updateGetRawIdx(),o},n.prototype.each=function(t,e){if(this._count)for(var r=t.length,i=this._chunks,o=0,a=this.count();o<a;o++){var s=this.getRawIndex(o);switch(r){case 0:e(o);break;case 1:e(i[t[0]][s],o);break;case 2:e(i[t[0]][s],i[t[1]][s],o);break;default:for(var u=0,h=[];u<r;u++)h[u]=i[t[u]][s];h[u]=o,e.apply(null,h)}}},n.prototype.getDataExtent=function(t){var e=this._chunks[t],r=Ha();if(!e)return r;var i=this.count(),o=!this._indices,a;if(o)return this._rawExtent[t].slice();if(a=this._extent[t],a)return a.slice();a=r;for(var s=a[0],u=a[1],h=0;h<i;h++){var p=this.getRawIndex(h),f=e[p];f<s&&(s=f),f>u&&(u=f)}return a=[s,u],this._extent[t]=a,a},n.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var r=[],i=this._chunks,o=0;o<i.length;o++)r.push(i[o][e]);return r},n.prototype.clone=function(t,e){var r=new n,i=this._chunks,o=t&&ua(t,function(s,u){return s[u]=!0,s},{});if(o)for(var a=0;a<i.length;a++)r._chunks[a]=o[a]?h3(i[a]):i[a];else r._chunks=i;return this._copyCommonProps(r),e||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},n.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Ht(this._extent),t._rawExtent=Ht(this._rawExtent)},n.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var r=this._indices.length;e=new t(r);for(var i=0;i<r;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},n.prototype._getRawIdxIdentity=function(t){return t},n.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},n.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},n.internalField=(function(){function t(e,r,i,o){return Hh(e[o],this._dimensions[o])}Xy={arrayRows:t,objectRows:function(e,r,i,o){return Hh(e[r],this._dimensions[o])},keyedColumns:t,original:function(e,r,i,o){var a=e&&(e.value==null?e:e.value);return Hh(a instanceof Array?a[o]:a,this._dimensions[o])},typedArray:function(e,r,i,o){return e[o]}}})(),n})(),ok=(function(){function n(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return n.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},n.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},n.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},n.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},n.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),r=!!e.length,i,o;if(Gh(t)){var a=t,s=void 0,u=void 0,h=void 0;if(r){var p=e[0];p.prepareSource(),h=p.getSource(),s=h.data,u=h.sourceFormat,o=[p._getVersionSign()]}else s=a.get("data",!0),u=Ke(s)?mi:Dn,o=[];var f=this._getSourceMetaRawOption()||{},y=h&&h.metaRawOption||{},g=Ot(f.seriesLayoutBy,y.seriesLayoutBy)||null,v=Ot(f.sourceHeader,y.sourceHeader),_=Ot(f.dimensions,y.dimensions),m=g!==y.seriesLayoutBy||!!v!=!!y.sourceHeader||_;i=m?[Uy(s,{seriesLayoutBy:g,sourceHeader:v,dimensions:_},u)]:[]}else{var b=t;if(r){var w=this._applyTransform(e);i=w.sourceList,o=w.upstreamSignList}else{var k=b.get("source",!0);i=[Uy(k,this._getSourceMetaRawOption(),null)],o=[]}}this._setLocalSource(i,o)},n.prototype._applyTransform=function(t){var e=this._sourceHost,r=e.get("transform",!0),i=e.get("fromTransformResult",!0);if(i!=null){var o="";t.length!==1&&sk(o)}var a,s=[],u=[];return R(t,function(h){h.prepareSource();var p=h.getSource(i||0),f="";i!=null&&!p&&sk(f),s.push(p),u.push(h._getVersionSign())}),r?a=s3(r,s,{datasetIndex:e.componentIndex}):i!=null&&(a=[UR(s[0])]),{sourceList:a,upstreamSignList:u}},n.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var r=t[e];if(r._isDirty()||this._upstreamSignList[e]!==r._getVersionSign())return!0}},n.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(t)}return e},n.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},n.prototype._innerGetDataStore=function(t,e,r){var i=0,o=this._storeList,a=o[i];a||(a=o[i]={});var s=a[r];if(!s){var u=this._getUpstreamSourceManagers()[0];Gh(this._sourceHost)&&u?s=u._innerGetDataStore(t,e,r):(s=new Yy,s.initData(new $S(e,t.length),t)),a[r]=s}return s},n.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Gh(t)){var e=SS(t);return e?[e.getSourceManager()]:[]}else return xt(mR(t),function(r){return r.getSourceManager()})},n.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,e,r,i;if(Gh(t))e=t.get("seriesLayoutBy",!0),r=t.get("sourceHeader",!0),i=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var o=t;e=o.get("seriesLayoutBy",!0),r=o.get("sourceHeader",!0),i=o.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:r,dimensions:i}},n})();function ak(n){var t=n.option.transform;t&&gc(n.option.transform)}function Gh(n){return n.mainType==="series"}function sk(n){throw new Error(n)}var p3="line-height:1";function lk(n){var t=n.lineHeight;return t==null?p3:"line-height:"+tn(t+"")+"px"}function uk(n,t){var e=n.color||"#6e7079",r=n.fontSize||12,i=n.fontWeight||"400",o=n.color||"#464646",a=n.fontSize||14,s=n.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+tn(r+"")+"px;color:"+tn(e)+";font-weight:"+tn(i+""),valueStyle:"font-size:"+tn(a+"")+"px;color:"+tn(o)+";font-weight:"+tn(s+"")}:{nameStyle:{fontSize:r,fill:e,fontWeight:i},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var f3=[0,10,20,30],d3=["",`
120
+ `,`
121
+
122
+ `,`
123
+
124
+
125
+ `];function El(n,t){return t.type=n,t}function Zy(n){return n.type==="section"}function ck(n){return Zy(n)?g3:y3}function hk(n){if(Zy(n)){var t=0,e=n.blocks.length,r=e>1||e>0&&!n.noHeader;return R(n.blocks,function(i){var o=hk(i);o>=t&&(t=o+ +(r&&(!o||Zy(i)&&!i.noHeader)))}),t}return 0}function g3(n,t,e,r){var i=t.noHeader,o=v3(hk(t)),a=[],s=t.blocks||[];kr(!s||pt(s)),s=s||[];var u=n.orderMode;if(t.sortBlocks&&u){s=s.slice();var h={valueAsc:"asc",valueDesc:"desc"};if(Wi(h,u)){var p=new JR(h[u],null);s.sort(function(_,m){return p.evaluate(_.sortParam,m.sortParam)})}else u==="seriesDesc"&&s.reverse()}R(s,function(_,m){var b=t.valueFormatter,w=ck(_)(b?ut(ut({},n),{valueFormatter:b}):n,_,m>0?o.html:0,r);w!=null&&a.push(w)});var f=n.renderMode==="richText"?a.join(o.richText):Qy(r,a.join(""),i?e:o.html);if(i)return f;var y=Ny(t.header,"ordinal",n.useUTC),g=uk(r,n.renderMode).nameStyle,v=lk(r);return n.renderMode==="richText"?fk(n,y,g)+o.richText+f:Qy(r,'<div style="'+g+";"+v+';">'+tn(y)+"</div>"+f,e)}function y3(n,t,e,r){var i=n.renderMode,o=t.noName,a=t.noValue,s=!t.markerType,u=t.name,h=n.useUTC,p=t.valueFormatter||n.valueFormatter||function(T){return T=pt(T)?T:[T],xt(T,function(C,I){return Ny(C,pt(g)?g[I]:g,h)})};if(!(o&&a)){var f=s?"":n.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),y=o?"":Ny(u,"ordinal",h),g=t.valueType,v=a?[]:p(t.value,t.dataIndex),_=!s||!o,m=!s&&o,b=uk(r,i),w=b.nameStyle,k=b.valueStyle;return i==="richText"?(s?"":f)+(o?"":fk(n,y,w))+(a?"":b3(n,v,_,m,k)):Qy(r,(s?"":f)+(o?"":m3(y,!s,w))+(a?"":_3(v,_,m,k)),e)}}function pk(n,t,e,r,i,o){if(n){var a=ck(n),s={useUTC:i,renderMode:e,orderMode:r,markupStyleCreator:t,valueFormatter:n.valueFormatter};return a(s,n,0,o)}}function v3(n){return{html:f3[n],richText:d3[n]}}function Qy(n,t,e){var r='<div style="clear:both"></div>',i="margin: "+e+"px 0 0",o=lk(n);return'<div style="'+i+";"+o+';">'+t+r+"</div>"}function m3(n,t,e){var r=t?"margin-left:2px":"";return'<span style="'+e+";"+r+'">'+tn(n)+"</span>"}function _3(n,t,e,r){var i=e?"10px":"20px",o=t?"float:right;margin-left:"+i:"";return n=pt(n)?n:[n],'<span style="'+o+";"+r+'">'+xt(n,function(a){return tn(a)}).join("&nbsp;&nbsp;")+"</span>"}function fk(n,t,e){return n.markupStyleCreator.wrapRichTextStyle(t,e)}function b3(n,t,e,r,i){var o=[i],a=r?10:20;return e&&o.push({padding:[0,0,0,a],align:"right"}),n.markupStyleCreator.wrapRichTextStyle(pt(t)?t.join(" "):t,o)}function x3(n,t){var e=n.getData().getItemVisual(t,"style"),r=e[n.visualDrawType];return fo(r)}function dk(n,t){var e=n.get("padding");return e??(t==="richText"?[8,10]:10)}var Ky=(function(){function n(){this.richTextStyles={},this._nextStyleNameId=Sx()}return n.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},n.prototype.makeTooltipMarker=function(t,e,r){var i=r==="richText"?this._generateStyleName():null,o=cR({color:e,type:t,renderMode:r,markerId:i});return gt(o)?o:(this.richTextStyles[i]=o.style,o.content)},n.prototype.wrapRichTextStyle=function(t,e){var r={};pt(e)?R(e,function(o){return ut(r,o)}):ut(r,e);var i=this._generateStyleName();return this.richTextStyles[i]=r,"{"+i+"|"+t+"}"},n})();function w3(n){var t=n.series,e=n.dataIndex,r=n.multipleSeries,i=t.getData(),o=i.mapDimensionsAll("defaultedTooltip"),a=o.length,s=t.getRawValue(e),u=pt(s),h=x3(t,e),p,f,y,g;if(a>1||u&&!a){var v=S3(s,t,e,o,h);p=v.inlineValues,f=v.inlineValueTypes,y=v.blocks,g=v.inlineValues[0]}else if(a){var _=i.getDimensionInfo(o[0]);g=p=Ba(i,e,o[0]),f=_.type}else g=p=u?s[0]:s;var m=Lg(t),b=m&&t.name||"",w=i.getName(e),k=r?b:w;return El("section",{header:b,noHeader:r||!m,sortParam:g,blocks:[El("nameValue",{markerType:"item",markerColor:h,name:k,noName:!or(k),value:p,valueType:f,dataIndex:e})].concat(y||[])})}function S3(n,t,e,r,i){var o=t.getData(),a=ua(n,function(f,y,g){var v=o.getDimensionInfo(g);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],u=[],h=[];r.length?R(r,function(f){p(Ba(o,e,f),f)}):R(n,p);function p(f,y){var g=o.getDimensionInfo(y);!g||g.otherDims.tooltip===!1||(a?h.push(El("nameValue",{markerType:"subItem",markerColor:i,name:g.displayName,value:f,valueType:g.type})):(s.push(f),u.push(g.type)))}return{inlineValues:s,inlineValueTypes:u,blocks:h}}var _i=pe();function jh(n,t){return n.getName(t)||n.getId(t)}var k3="__universalTransitionEnabled",yr=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,r,i){this.seriesIndex=this.componentIndex,this.dataTask=Ol({count:M3,reset:T3}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,i);var o=_i(this).sourceManager=new ok(this);o.prepareSource();var a=this.getInitialData(e,i);yk(a,this),this.dataTask.context.data=a,_i(this).dataBeforeProcessed=a,gk(this),this._initSelectedMapFromData(a)},t.prototype.mergeDefaultAndTheme=function(e,r){var i=Ml(this),o=i?zh(e):{},a=this.subType;Qt.hasClass(a)&&(a+="Series"),$t(e,r.getTheme().get(this.subType)),$t(e,this.getDefaultOption()),Ix(e,"label",["show"]),this.fillDataTextStyle(e.data),i&&La(e,o,i)},t.prototype.mergeOption=function(e,r){e=$t(this.option,e,!0),this.fillDataTextStyle(e.data);var i=Ml(this);i&&La(this.option,e,i);var o=_i(this).sourceManager;o.dirty(),o.prepareSource();var a=this.getInitialData(e,r);yk(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,_i(this).dataBeforeProcessed=a,gk(this),this._initSelectedMapFromData(a)},t.prototype.fillDataTextStyle=function(e){if(e&&!Ke(e))for(var r=["show"],i=0;i<e.length;i++)e[i]&&e[i].label&&Ix(e[i],"label",r)},t.prototype.getInitialData=function(e,r){},t.prototype.appendData=function(e){var r=this.getRawData();r.appendData(e.data)},t.prototype.getData=function(e){var r=Jy(this);if(r){var i=r.context.data;return e==null||!i.getLinkedData?i:i.getLinkedData(e)}else return _i(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var r=Jy(this);if(r){var i=r.context;i.outputData=e,r!==this.dataTask&&(i.data=e)}_i(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return Lt(e)},t.prototype.getSourceManager=function(){return _i(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return _i(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var e=this.get("colorBy");return e||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,r,i){return w3({series:this,dataIndex:e,multipleSeries:r})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(Tt.node&&!(e&&e.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,r,i){var o=this.ecModel,a=zy.prototype.getColorFromPalette.call(this,e,r,i);return a||(a=o.getColorFromPalette(e,r,i)),a},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,r){this._innerSelect(this.getData(r),e)},t.prototype.unselect=function(e,r){var i=this.option.selectedMap;if(i){var o=this.option.selectedMode,a=this.getData(r);if(o==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s<e.length;s++){var u=e[s],h=jh(a,u);i[h]=!1,this._selectedDataIndicesMap[h]=-1}}},t.prototype.toggleSelect=function(e,r){for(var i=[],o=0;o<e.length;o++)i[0]=e[o],this.isSelected(e[o],r)?this.unselect(i,r):this.select(i,r)},t.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,r=ae(e),i=[],o=0;o<r.length;o++){var a=e[r[o]];a>=0&&i.push(a)}return i},t.prototype.isSelected=function(e,r){var i=this.option.selectedMap;if(!i)return!1;var o=this.getData(r);return(i==="all"||i[jh(o,e)])&&!o.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[k3])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,r){var i,o,a=this.option,s=a.selectedMode,u=r.length;if(!(!s||!u)){if(s==="series")a.selectedMap="all";else if(s==="multiple"){mt(a.selectedMap)||(a.selectedMap={});for(var h=a.selectedMap,p=0;p<u;p++){var f=r[p],y=jh(e,f);h[y]=!0,this._selectedDataIndicesMap[y]=e.getRawIndex(f)}}else if(s==="single"||s===!0){var g=r[u-1],y=jh(e,g);a.selectedMap=(i={},i[y]=!0,i),this._selectedDataIndicesMap=(o={},o[y]=e.getRawIndex(g),o)}}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var r=[];e.hasItemOption&&e.each(function(i){var o=e.getRawDataItem(i);o&&o.selected&&r.push(i)}),r.length>0&&this._innerSelect(e,r)}},t.registerClass=function(e){return Qt.registerClass(e)},t.protoInitialize=(function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"})(),t})(Qt);ir(yr,QR),ir(yr,zy),Nx(yr,Qt);function gk(n){var t=n.name;Lg(n)||(n.name=C3(n)||t)}function C3(n){var t=n.getRawData(),e=t.mapDimensionsAll("seriesName"),r=[];return R(e,function(i){var o=t.getDimensionInfo(i);o.displayName&&r.push(o.displayName)}),r.join(" ")}function M3(n){return n.model.getRawData().count()}function T3(n){var t=n.model;return t.setData(t.getRawData().cloneShallow()),I3}function I3(n,t){t.outputData&&n.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function yk(n,t){R(QO(n.CHANGABLE_METHODS,n.DOWNSAMPLE_METHODS),function(e){n.wrapMethod(e,Se(D3,t))})}function D3(n,t){var e=Jy(n);return e&&e.setOutputEnd((t||this).count()),t}function Jy(n){var t=(n.ecModel||{}).scheduler,e=t&&t.getPipeline(n.uid);if(e){var r=e.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(n.uid))}return r}}var On=(function(){function n(){this.group=new Ie,this.uid=Ch("viewComponent")}return n.prototype.init=function(t,e){},n.prototype.render=function(t,e,r,i){},n.prototype.dispose=function(t,e){},n.prototype.updateView=function(t,e,r,i){},n.prototype.updateLayout=function(t,e,r,i){},n.prototype.updateVisual=function(t,e,r,i){},n.prototype.toggleBlurSeries=function(t,e,r){},n.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},n})();Bg(On),$c(On);function tv(){var n=pe();return function(t){var e=n(t),r=t.pipelineContext,i=!!e.large,o=!!e.progressiveRender,a=e.large=!!(r&&r.large),s=e.progressiveRender=!!(r&&r.progressiveRender);return(i!==a||o!==s)&&"reset"}}var vk=pe(),A3=tv(),Un=(function(){function n(){this.group=new Ie,this.uid=Ch("viewChart"),this.renderTask=Ol({plan:O3,reset:E3}),this.renderTask.context={view:this}}return n.prototype.init=function(t,e){},n.prototype.render=function(t,e,r,i){},n.prototype.highlight=function(t,e,r,i){var o=t.getData(i&&i.dataType);o&&_k(o,i,"emphasis")},n.prototype.downplay=function(t,e,r,i){var o=t.getData(i&&i.dataType);o&&_k(o,i,"normal")},n.prototype.remove=function(t,e){this.group.removeAll()},n.prototype.dispose=function(t,e){},n.prototype.updateView=function(t,e,r,i){this.render(t,e,r,i)},n.prototype.updateLayout=function(t,e,r,i){this.render(t,e,r,i)},n.prototype.updateVisual=function(t,e,r,i){this.render(t,e,r,i)},n.prototype.eachRendered=function(t){xh(this.group,t)},n.markUpdateMethod=function(t,e){vk(t).updateMethod=e},n.protoInitialize=(function(){var t=n.prototype;t.type="chart"})(),n})();function mk(n,t,e){n&&uy(n)&&(t==="emphasis"?oh:ah)(n,e)}function _k(n,t,e){var r=Ki(n,t),i=t&&t.highlightKey!=null?XN(t.highlightKey):null;r!=null?R(je(r),function(o){mk(n.getItemGraphicEl(o),e,i)}):n.eachItemGraphicEl(function(o){mk(o,e,i)})}Bg(Un),$c(Un);function O3(n){return A3(n.model)}function E3(n){var t=n.model,e=n.ecModel,r=n.api,i=n.payload,o=t.pipelineContext.progressiveRender,a=n.view,s=i&&vk(i).updateMethod,u=o?"incrementalPrepareRender":s&&a[s]?s:"render";return u!=="render"&&a[u](t,e,r,i),P3[u]}var P3={incrementalPrepareRender:{progress:function(n,t){t.view.incrementalRender(n,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(n,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Uh="\0__throttleOriginMethod",bk="\0__throttleRate",xk="\0__throttleType";function ev(n,t,e){var r,i=0,o=0,a=null,s,u,h,p;t=t||0;function f(){o=new Date().getTime(),a=null,n.apply(u,h||[])}var y=function(){for(var g=[],v=0;v<arguments.length;v++)g[v]=arguments[v];r=new Date().getTime(),u=this,h=g;var _=p||t,m=p||e;p=null,s=r-(m?i:o)-_,clearTimeout(a),m?a=setTimeout(f,_):s>=0?f():a=setTimeout(f,-s),i=r};return y.clear=function(){a&&(clearTimeout(a),a=null)},y.debounceNextCall=function(g){p=g},y}function wk(n,t,e,r){var i=n[t];if(i){var o=i[Uh]||i,a=i[xk],s=i[bk];if(s!==e||a!==r){if(e==null||!r)return n[t]=o;i=n[t]=ev(o,e,r==="debounce"),i[Uh]=o,i[xk]=r,i[bk]=e}return i}}function nv(n,t){var e=n[t];e&&e[Uh]&&(e.clear&&e.clear(),n[t]=e[Uh])}var Sk=pe(),kk={itemStyle:hl(Jw,!0),lineStyle:hl(Kw,!0)},N3={lineStyle:"stroke",itemStyle:"fill"};function Ck(n,t){var e=n.visualStyleMapper||kk[t];return e||(console.warn("Unknown style type '"+t+"'."),kk.itemStyle)}function Mk(n,t){var e=n.visualDrawType||N3[t];return e||(console.warn("Unknown style type '"+t+"'."),"fill")}var L3={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){var e=n.getData(),r=n.visualStyleAccessPath||"itemStyle",i=n.getModel(r),o=Ck(n,r),a=o(i),s=i.getShallow("decal");s&&(e.setVisual("decal",s),s.dirty=!0);var u=Mk(n,r),h=a[u],p=At(h)?h:null,f=a.fill==="auto"||a.stroke==="auto";if(!a[u]||p||f){var y=n.getColorFromPalette(n.name,null,t.getSeriesCount());a[u]||(a[u]=y,e.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||At(a.fill)?y:a.fill,a.stroke=a.stroke==="auto"||At(a.stroke)?y:a.stroke}if(e.setVisual("style",a),e.setVisual("drawType",u),!t.isSeriesFiltered(n)&&p)return e.setVisual("colorFromPalette",!1),{dataEach:function(g,v){var _=n.getDataParams(v),m=ut({},a);m[u]=p(_),g.setItemVisual(v,"style",m)}}}},Pl=new fe,R3={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){if(!(n.ignoreStyleOnData||t.isSeriesFiltered(n))){var e=n.getData(),r=n.visualStyleAccessPath||"itemStyle",i=Ck(n,r),o=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(a,s){var u=a.getRawDataItem(s);if(u&&u[r]){Pl.option=u[r];var h=i(Pl),p=a.ensureUniqueItemVisual(s,"style");ut(p,h),Pl.option.decal&&(a.setItemVisual(s,"decal",Pl.option.decal),Pl.option.decal.dirty=!0),o in h&&a.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},z3={performRawSeries:!0,overallReset:function(n){var t=Lt();n.eachSeries(function(e){var r=e.getColorBy();if(!e.isColorBySeries()){var i=e.type+"-"+r,o=t.get(i);o||(o={},t.set(i,o)),Sk(e).scope=o}}),n.eachSeries(function(e){if(!(e.isColorBySeries()||n.isSeriesFiltered(e))){var r=e.getRawData(),i={},o=e.getData(),a=Sk(e).scope,s=e.visualStyleAccessPath||"itemStyle",u=Mk(e,s);o.each(function(h){var p=o.getRawIndex(h);i[p]=h}),r.each(function(h){var p=i[h],f=o.getItemVisual(p,"colorFromPalette");if(f){var y=o.ensureUniqueItemVisual(p,"style"),g=r.getName(h)||h+"",v=r.count();y[u]=e.getColorFromPalette(g,a,v)}})}})}},Wh=Math.PI;function B3(n,t){t=t||{},qt(t,{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 e=new Ie,r=new xe({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(r);var i=new Le({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new xe({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});e.add(o);var a;return t.showSpinner&&(a=new fh({shape:{startAngle:-Wh/2,endAngle:-Wh/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:Wh*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:Wh*3/2}).delay(300).start("circularInOut"),e.add(a)),e.resize=function(){var s=i.getBoundingRect().width,u=t.showSpinner?t.spinnerRadius:0,h=(n.getWidth()-u*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:u),p=n.getHeight()/2;t.showSpinner&&a.setShape({cx:h,cy:p}),o.setShape({x:h-u,y:p-u,width:u*2,height:u*2}),r.setShape({x:0,y:0,width:n.getWidth(),height:n.getHeight()})},e.resize(),e}var Tk=(function(){function n(t,e,r,i){this._stageTaskMap=Lt(),this.ecInstance=t,this.api=e,r=this._dataProcessorHandlers=r.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=r.concat(i)}return n.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(r){var i=r.overallTask;i&&i.dirty()})},n.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),i=r.context,o=!e&&r.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>r.blockIndex,a=o?r.step:null,s=i&&i.modDataCount,u=s!=null?Math.ceil(s/a):null;return{step:a,modBy:u,modDataCount:s}}},n.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},n.prototype.updateStreamModes=function(t,e){var r=this._pipelineMap.get(t.uid),i=t.getData(),o=i.count(),a=r.progressiveEnabled&&e.incrementalPrepareRender&&o>=r.threshold,s=t.get("large")&&o>=t.get("largeThreshold"),u=t.get("progressiveChunkMode")==="mod"?o:null;t.pipelineContext=r.context={progressiveRender:a,modDataCount:u,large:s}},n.prototype.restorePipelines=function(t){var e=this,r=e._pipelineMap=Lt();t.eachSeries(function(i){var o=i.getProgressive(),a=i.uid;r.set(a,{id:a,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:o&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),e._pipe(i,i.dataTask)})},n.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),r=this.api;R(this._allHandlers,function(i){var o=t.get(i.uid)||t.set(i.uid,{}),a="";kr(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,o,e,r),i.overallReset&&this._createOverallStageTask(i,o,e,r)},this)},n.prototype.prepareView=function(t,e,r,i){var o=t.renderTask,a=o.context;a.model=e,a.ecModel=r,a.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(e,o)},n.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},n.prototype.performVisualTasks=function(t,e,r){this._performStageTasks(this._visualHandlers,t,e,r)},n.prototype._performStageTasks=function(t,e,r,i){i=i||{};var o=!1,a=this;R(t,function(u,h){if(!(i.visualType&&i.visualType!==u.visualType)){var p=a._stageTaskMap.get(u.uid),f=p.seriesTaskMap,y=p.overallTask;if(y){var g,v=y.agentStubMap;v.each(function(m){s(i,m)&&(m.dirty(),g=!0)}),g&&y.dirty(),a.updatePayload(y,r);var _=a.getPerformArgs(y,i.block);v.each(function(m){m.perform(_)}),y.perform(_)&&(o=!0)}else f&&f.each(function(m,b){s(i,m)&&m.dirty();var w=a.getPerformArgs(m,i.block);w.skip=!u.performRawSeries&&e.isSeriesFiltered(m.context.model),a.updatePayload(m,r),m.perform(w)&&(o=!0)})}});function s(u,h){return u.setDirty&&(!u.dirtyMap||u.dirtyMap.get(h.__pipeline.id))}this.unfinished=o||this.unfinished},n.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(r){e=r.dataTask.perform()||e}),this.unfinished=e||this.unfinished},n.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},n.prototype.updatePayload=function(t,e){e!=="remain"&&(t.context.payload=e)},n.prototype._createSeriesStageTask=function(t,e,r,i){var o=this,a=e.seriesTaskMap,s=e.seriesTaskMap=Lt(),u=t.seriesType,h=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(p):u?r.eachRawSeriesByType(u,p):h&&h(r,i).each(p);function p(f){var y=f.uid,g=s.set(y,a&&a.get(y)||Ol({plan:j3,reset:U3,count:$3}));g.context={model:f,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(f,g)}},n.prototype._createOverallStageTask=function(t,e,r,i){var o=this,a=e.overallTask=e.overallTask||Ol({reset:F3});a.context={ecModel:r,api:i,overallReset:t.overallReset,scheduler:o};var s=a.agentStubMap,u=a.agentStubMap=Lt(),h=t.seriesType,p=t.getTargetSeries,f=!0,y=!1,g="";kr(!t.createOnAllSeries,g),h?r.eachRawSeriesByType(h,v):p?p(r,i).each(v):(f=!1,R(r.getSeries(),v));function v(_){var m=_.uid,b=u.set(m,s&&s.get(m)||(y=!0,Ol({reset:H3,onDirty:G3})));b.context={model:_,overallProgress:f},b.agent=a,b.__block=f,o._pipe(_,b)}y&&a.dirty()},n.prototype._pipe=function(t,e){var r=t.uid,i=this._pipelineMap.get(r);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},n.wrapStageHandler=function(t,e){return At(t)&&(t={overallReset:t,seriesType:q3(t)}),t.uid=Ch("stageHandler"),e&&(t.visualType=e),t},n})();function F3(n){n.overallReset(n.ecModel,n.api,n.payload)}function H3(n){return n.overallProgress&&V3}function V3(){this.agent.dirty(),this.getDownstream().dirty()}function G3(){this.agent&&this.agent.dirty()}function j3(n){return n.plan?n.plan(n.model,n.ecModel,n.api,n.payload):null}function U3(n){n.useClearVisual&&n.data.clearAllVisual();var t=n.resetDefines=je(n.reset(n.model,n.ecModel,n.api,n.payload));return t.length>1?xt(t,function(e,r){return Ik(r)}):W3}var W3=Ik(0);function Ik(n){return function(t,e){var r=e.data,i=e.resetDefines[n];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function $3(n){return n.data.count()}function q3(n){$h=null;try{n(Nl,Dk)}catch{}return $h}var Nl={},Dk={},$h;Ak(Nl,By),Ak(Dk,OS),Nl.eachSeriesByType=Nl.eachRawSeriesByType=function(n){$h=n},Nl.eachComponent=function(n){n.mainType==="series"&&n.subType&&($h=n.subType)};function Ak(n,t){for(var e in t.prototype)n[e]=Je}var Ok=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const X3={color:Ok,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Ok]};var Fe="#B9B8CE",Ek="#100C2A",qh=function(){return{axisLine:{lineStyle:{color:Fe}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Pk=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Nk={darkMode:!0,color:Pk,backgroundColor:Ek,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Fe},pageTextStyle:{color:Fe}},textStyle:{color:Fe},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Fe}},dataZoom:{borderColor:"#71708A",textStyle:{color:Fe},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:Fe}},timeline:{lineStyle:{color:Fe},label:{color:Fe},controlStyle:{color:Fe,borderColor:Fe}},calendar:{itemStyle:{color:Ek},dayLabel:{color:Fe},monthLabel:{color:Fe},yearLabel:{color:Fe}},timeAxis:qh(),logAxis:qh(),valueAxis:qh(),categoryAxis:qh(),line:{symbol:"circle"},graph:{color:Pk},gauge:{title:{color:Fe},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Fe},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Nk.categoryAxis.splitLine.show=!1;var Y3=(function(){function n(){}return n.prototype.normalizeQuery=function(t){var e={},r={},i={};if(gt(t)){var o=ur(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};R(t,function(u,h){for(var p=!1,f=0;f<a.length;f++){var y=a[f],g=h.lastIndexOf(y);if(g>0&&g===h.length-y.length){var v=h.slice(0,g);v!=="data"&&(e.mainType=v,e[y.toLowerCase()]=u,p=!0)}}s.hasOwnProperty(h)&&(r[h]=u,p=!0),p||(i[h]=u)})}return{cptQuery:e,dataQuery:r,otherQuery:i}},n.prototype.filter=function(t,e){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,s=r.view;if(!a||!s)return!0;var u=e.cptQuery,h=e.dataQuery;return p(u,a,"mainType")&&p(u,a,"subType")&&p(u,a,"index","componentIndex")&&p(u,a,"name")&&p(u,a,"id")&&p(h,o,"name")&&p(h,o,"dataIndex")&&p(h,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,i,o));function p(f,y,g,v){return f[g]==null||y[v||g]===f[g]}},n.prototype.afterTrigger=function(){this.eventInfo=null},n})(),rv=["symbol","symbolSize","symbolRotate","symbolOffset"],Lk=rv.concat(["symbolKeepAspect"]),Z3={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){var e=n.getData();if(n.legendIcon&&e.setVisual("legendIcon",n.legendIcon),!n.hasSymbolVisual)return;for(var r={},i={},o=!1,a=0;a<rv.length;a++){var s=rv[a],u=n.get(s);At(u)?(o=!0,i[s]=u):r[s]=u}if(r.symbol=r.symbol||n.defaultSymbol,e.setVisual(ut({legendIcon:n.legendIcon||r.symbol,symbolKeepAspect:n.get("symbolKeepAspect")},r)),t.isSeriesFiltered(n))return;var h=ae(i);function p(f,y){for(var g=n.getRawValue(y),v=n.getDataParams(y),_=0;_<h.length;_++){var m=h[_];f.setItemVisual(y,m,i[m](g,v))}}return{dataEach:o?p:null}}},Q3={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){if(!n.hasSymbolVisual||t.isSeriesFiltered(n))return;var e=n.getData();function r(i,o){for(var a=i.getItemModel(o),s=0;s<Lk.length;s++){var u=Lk[s],h=a.getShallow(u,!0);h!=null&&i.setItemVisual(o,u,h)}}return{dataEach:e.hasItemOption?r:null}}};function K3(n,t,e){switch(e){case"color":var r=n.getItemVisual(t,"style");return r[n.getVisual("drawType")];case"opacity":return n.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return n.getItemVisual(t,e)}}function J3(n,t){switch(t){case"color":var e=n.getVisual("style");return e[n.getVisual("drawType")];case"opacity":return n.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return n.getVisual(t)}}function Va(n,t,e,r,i){var o=n+t;e.isSilent(o)||r.eachComponent({mainType:"series",subType:"pie"},function(a){for(var s=a.seriesIndex,u=a.option.selectedMap,h=i.selected,p=0;p<h.length;p++)if(h[p].seriesIndex===s){var f=a.getData(),y=Ki(f,i.fromActionPayload);e.trigger(o,{type:o,seriesId:a.id,name:pt(y)?f.getName(y[0]):f.getName(y),selected:gt(u)?u:ut({},u)})}})}function t5(n,t,e){n.on("selectchanged",function(r){var i=e.getModel();r.isFromClick?(Va("map","selectchanged",t,i,r),Va("pie","selectchanged",t,i,r)):r.fromAction==="select"?(Va("map","selected",t,i,r),Va("pie","selected",t,i,r)):r.fromAction==="unselect"&&(Va("map","unselected",t,i,r),Va("pie","unselected",t,i,r))})}function Ll(n,t,e){for(var r;n&&!(t(n)&&(r=n,e));)n=n.__hostTarget||n.parent;return r}var e5=Math.round(Math.random()*9),n5=typeof Object.defineProperty=="function",r5=(function(){function n(){this._id="__ec_inner_"+e5++}return n.prototype.get=function(t){return this._guard(t)[this._id]},n.prototype.set=function(t,e){var r=this._guard(t);return n5?Object.defineProperty(r,this._id,{value:e,enumerable:!1,configurable:!0}):r[this._id]=e,this},n.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},n.prototype.has=function(t){return!!this._guard(t)[this._id]},n.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},n})(),i5=Zt.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(n,t){var e=t.cx,r=t.cy,i=t.width/2,o=t.height/2;n.moveTo(e,r-o),n.lineTo(e+i,r+o),n.lineTo(e-i,r+o),n.closePath()}}),o5=Zt.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(n,t){var e=t.cx,r=t.cy,i=t.width/2,o=t.height/2;n.moveTo(e,r-o),n.lineTo(e+i,r),n.lineTo(e,r+o),n.lineTo(e-i,r),n.closePath()}}),a5=Zt.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(n,t){var e=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),u=r-o+a+s,h=Math.asin(s/a),p=Math.cos(h)*a,f=Math.sin(h),y=Math.cos(h),g=a*.6,v=a*.7;n.moveTo(e-p,u+s),n.arc(e,u,a,Math.PI-h,Math.PI*2+h),n.bezierCurveTo(e+p-f*g,u+s+y*g,e,r-v,e,r),n.bezierCurveTo(e,r-v,e-p+f*g,u+s+y*g,e-p,u+s),n.closePath()}}),s5=Zt.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(n,t){var e=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;n.moveTo(i,o),n.lineTo(i+a,o+e),n.lineTo(i,o+e/4*3),n.lineTo(i-a,o+e),n.lineTo(i,o),n.closePath()}}),l5={line:gi,rect:xe,roundRect:xe,square:xe,circle:ch,diamond:o5,pin:a5,arrow:s5,triangle:i5},u5={line:function(n,t,e,r,i){i.x1=n,i.y1=t+r/2,i.x2=n+e,i.y2=t+r/2},rect:function(n,t,e,r,i){i.x=n,i.y=t,i.width=e,i.height=r},roundRect:function(n,t,e,r,i){i.x=n,i.y=t,i.width=e,i.height=r,i.r=Math.min(e,r)/4},square:function(n,t,e,r,i){var o=Math.min(e,r);i.x=n,i.y=t,i.width=o,i.height=o},circle:function(n,t,e,r,i){i.cx=n+e/2,i.cy=t+r/2,i.r=Math.min(e,r)/2},diamond:function(n,t,e,r,i){i.cx=n+e/2,i.cy=t+r/2,i.width=e,i.height=r},pin:function(n,t,e,r,i){i.x=n+e/2,i.y=t+r/2,i.width=e,i.height=r},arrow:function(n,t,e,r,i){i.x=n+e/2,i.y=t+r/2,i.width=e,i.height=r},triangle:function(n,t,e,r,i){i.cx=n+e/2,i.cy=t+r/2,i.width=e,i.height=r}},iv={};R(l5,function(n,t){iv[t]=new n});var c5=Zt.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(n,t,e){var r=Vc(n,t,e),i=this.shape;return i&&i.symbolType==="pin"&&t.position==="inside"&&(r.y=e.y+e.height*.4),r},buildPath:function(n,t,e){var r=t.symbolType;if(r!=="none"){var i=iv[r];i||(r="rect",i=iv[r]),u5[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(n,i.shape,e)}}});function h5(n,t){if(this.type!=="image"){var e=this.style;this.__isEmptyBrush?(e.stroke=n,e.fill=t||"#fff",e.lineWidth=2):this.shape.symbolType==="line"?e.stroke=n:e.fill=n,this.markRedraw()}}function Ga(n,t,e,r,i,o,a){var s=n.indexOf("empty")===0;s&&(n=n.substr(5,1).toLowerCase()+n.substr(6));var u;return n.indexOf("image://")===0?u=Fw(n.slice(8),new Gt(t,e,r,i),a?"center":"cover"):n.indexOf("path://")===0?u=xy(n.slice(7),{},new Gt(t,e,r,i),a?"center":"cover"):u=new c5({shape:{symbolType:n,x:t,y:e,width:r,height:i}}),u.__isEmptyBrush=s,u.setColor=h5,o&&u.setColor(o),u}function p5(n){return pt(n)||(n=[+n,+n]),[n[0]||0,n[1]||0]}function Rk(n,t){if(n!=null)return pt(n)||(n=[n,n]),[De(n[0],t[0])||0,De(Ot(n[1],n[0]),t[1])||0]}function mo(n){return isFinite(n)}function f5(n,t,e){var r=t.x==null?0:t.x,i=t.x2==null?1:t.x2,o=t.y==null?0:t.y,a=t.y2==null?0:t.y2;t.global||(r=r*e.width+e.x,i=i*e.width+e.x,o=o*e.height+e.y,a=a*e.height+e.y),r=mo(r)?r:0,i=mo(i)?i:1,o=mo(o)?o:0,a=mo(a)?a:0;var s=n.createLinearGradient(r,o,i,a);return s}function d5(n,t,e){var r=e.width,i=e.height,o=Math.min(r,i),a=t.x==null?.5:t.x,s=t.y==null?.5:t.y,u=t.r==null?.5:t.r;t.global||(a=a*r+e.x,s=s*i+e.y,u=u*o),a=mo(a)?a:.5,s=mo(s)?s:.5,u=u>=0&&mo(u)?u:.5;var h=n.createRadialGradient(a,s,0,a,s,u);return h}function ov(n,t,e){for(var r=t.type==="radial"?d5(n,t,e):f5(n,t,e),i=t.colorStops,o=0;o<i.length;o++)r.addColorStop(i[o].offset,i[o].color);return r}function g5(n,t){if(n===t||!n&&!t)return!1;if(!n||!t||n.length!==t.length)return!0;for(var e=0;e<n.length;e++)if(n[e]!==t[e])return!0;return!1}function Xh(n){return parseInt(n,10)}function Yh(n,t,e){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(e[r]!=null&&e[r]!=="auto")return parseFloat(e[r]);var s=document.defaultView.getComputedStyle(n);return(n[i]||Xh(s[r])||Xh(n.style[r]))-(Xh(s[o])||0)-(Xh(s[a])||0)|0}function y5(n,t){return!n||n==="solid"||!(t>0)?null:n==="dashed"?[4*t,2*t]:n==="dotted"?[t]:se(n)?[n]:pt(n)?n:null}function zk(n){var t=n.style,e=t.lineDash&&t.lineWidth>0&&y5(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(e){var i=t.strokeNoScale&&n.getLineScale?n.getLineScale():1;i&&i!==1&&(e=xt(e,function(o){return o/i}),r/=i)}return[e,r]}var v5=new pi(!0);function Zh(n){var t=n.stroke;return!(t==null||t==="none"||!(n.lineWidth>0))}function Bk(n){return typeof n=="string"&&n!=="none"}function Qh(n){var t=n.fill;return t!=null&&t!=="none"}function Fk(n,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var e=n.globalAlpha;n.globalAlpha=t.fillOpacity*t.opacity,n.fill(),n.globalAlpha=e}else n.fill()}function Hk(n,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var e=n.globalAlpha;n.globalAlpha=t.strokeOpacity*t.opacity,n.stroke(),n.globalAlpha=e}else n.stroke()}function av(n,t,e){var r=Lx(t.image,t.__image,e);if(qc(r)){var i=n.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*KO),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function m5(n,t,e,r){var i,o=Zh(e),a=Qh(e),s=e.strokePercent,u=s<1,h=!t.path;(!t.silent||u)&&h&&t.createPathProxy();var p=t.path||v5,f=t.__dirty;if(!r){var y=e.fill,g=e.stroke,v=a&&!!y.colorStops,_=o&&!!g.colorStops,m=a&&!!y.image,b=o&&!!g.image,w=void 0,k=void 0,T=void 0,C=void 0,I=void 0;(v||_)&&(I=t.getBoundingRect()),v&&(w=f?ov(n,y,I):t.__canvasFillGradient,t.__canvasFillGradient=w),_&&(k=f?ov(n,g,I):t.__canvasStrokeGradient,t.__canvasStrokeGradient=k),m&&(T=f||!t.__canvasFillPattern?av(n,y,t):t.__canvasFillPattern,t.__canvasFillPattern=T),b&&(C=f||!t.__canvasStrokePattern?av(n,g,t):t.__canvasStrokePattern,t.__canvasStrokePattern=T),v?n.fillStyle=w:m&&(T?n.fillStyle=T:a=!1),_?n.strokeStyle=k:b&&(C?n.strokeStyle=C:o=!1)}var A=t.getGlobalScale();p.setScale(A[0],A[1],t.segmentIgnoreThreshold);var E,P;n.setLineDash&&e.lineDash&&(i=zk(t),E=i[0],P=i[1]);var L=!0;(h||f&va)&&(p.setDPR(n.dpr),u?p.setContext(null):(p.setContext(n),L=!1),p.reset(),t.buildPath(p,t.shape,r),p.toStatic(),t.pathUpdated()),L&&p.rebuildPath(n,u?s:1),E&&(n.setLineDash(E),n.lineDashOffset=P),r||(e.strokeFirst?(o&&Hk(n,e),a&&Fk(n,e)):(a&&Fk(n,e),o&&Hk(n,e))),E&&n.setLineDash([])}function _5(n,t,e){var r=t.__image=Lx(e.image,t.__image,t,t.onload);if(!(!r||!qc(r))){var i=e.x||0,o=e.y||0,a=t.getWidth(),s=t.getHeight(),u=r.width/r.height;if(a==null&&s!=null?a=s*u:s==null&&a!=null?s=a/u:a==null&&s==null&&(a=r.width,s=r.height),e.sWidth&&e.sHeight){var h=e.sx||0,p=e.sy||0;n.drawImage(r,h,p,e.sWidth,e.sHeight,i,o,a,s)}else if(e.sx&&e.sy){var h=e.sx,p=e.sy,f=a-h,y=s-p;n.drawImage(r,h,p,f,y,i,o,a,s)}else n.drawImage(r,i,o,a,s)}}function b5(n,t,e){var r,i=e.text;if(i!=null&&(i+=""),i){n.font=e.font||Ui,n.textAlign=e.textAlign,n.textBaseline=e.textBaseline;var o=void 0,a=void 0;n.setLineDash&&e.lineDash&&(r=zk(t),o=r[0],a=r[1]),o&&(n.setLineDash(o),n.lineDashOffset=a),e.strokeFirst?(Zh(e)&&n.strokeText(i,e.x,e.y),Qh(e)&&n.fillText(i,e.x,e.y)):(Qh(e)&&n.fillText(i,e.x,e.y),Zh(e)&&n.strokeText(i,e.x,e.y)),o&&n.setLineDash([])}}var Vk=["shadowBlur","shadowOffsetX","shadowOffsetY"],Gk=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function jk(n,t,e,r,i){var o=!1;if(!r&&(e=e||{},t===e))return!1;if(r||t.opacity!==e.opacity){on(n,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);n.globalAlpha=isNaN(a)?to.opacity:a}(r||t.blend!==e.blend)&&(o||(on(n,i),o=!0),n.globalCompositeOperation=t.blend||to.blend);for(var s=0;s<Vk.length;s++){var u=Vk[s];(r||t[u]!==e[u])&&(o||(on(n,i),o=!0),n[u]=n.dpr*(t[u]||0))}return(r||t.shadowColor!==e.shadowColor)&&(o||(on(n,i),o=!0),n.shadowColor=t.shadowColor||to.shadowColor),o}function Uk(n,t,e,r,i){var o=Rl(t,i.inHover),a=r?null:e&&Rl(e,i.inHover)||{};if(o===a)return!1;var s=jk(n,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(on(n,i),s=!0),Bk(o.fill)&&(n.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(on(n,i),s=!0),Bk(o.stroke)&&(n.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(on(n,i),s=!0),n.globalAlpha=o.opacity==null?1:o.opacity),t.hasStroke()){var u=o.lineWidth,h=u/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);n.lineWidth!==h&&(s||(on(n,i),s=!0),n.lineWidth=h)}for(var p=0;p<Gk.length;p++){var f=Gk[p],y=f[0];(r||o[y]!==a[y])&&(s||(on(n,i),s=!0),n[y]=o[y]||f[1])}return s}function x5(n,t,e,r,i){return jk(n,Rl(t,i.inHover),e&&Rl(e,i.inHover),r,i)}function Wk(n,t){var e=t.transform,r=n.dpr||1;e?n.setTransform(r*e[0],r*e[1],r*e[2],r*e[3],r*e[4],r*e[5]):n.setTransform(r,0,0,r,0,0)}function w5(n,t,e){for(var r=!1,i=0;i<n.length;i++){var o=n[i];r=r||o.isZeroArea(),Wk(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}e.allClipped=r}function S5(n,t){return n&&t?n[0]!==t[0]||n[1]!==t[1]||n[2]!==t[2]||n[3]!==t[3]||n[4]!==t[4]||n[5]!==t[5]:!(!n&&!t)}var $k=1,qk=2,Xk=3,Yk=4;function k5(n){var t=Qh(n),e=Zh(n);return!(n.lineDash||!(+t^+e)||t&&typeof n.fill!="string"||e&&typeof n.stroke!="string"||n.strokePercent<1||n.strokeOpacity<1||n.fillOpacity<1)}function on(n,t){t.batchFill&&n.fill(),t.batchStroke&&n.stroke(),t.batchFill="",t.batchStroke=""}function Rl(n,t){return t&&n.__hoverStyle||n.style}function Zk(n,t){_o(n,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function _o(n,t,e,r){var i=t.transform;if(!t.shouldBePainted(e.viewWidth,e.viewHeight,!1,!1)){t.__dirty&=~cn,t.__isRendered=!1;return}var o=t.__clipPaths,a=e.prevElClipPaths,s=!1,u=!1;if((!a||g5(o,a))&&(a&&a.length&&(on(n,e),n.restore(),u=s=!0,e.prevElClipPaths=null,e.allClipped=!1,e.prevEl=null),o&&o.length&&(on(n,e),n.save(),w5(o,n,e),s=!0),e.prevElClipPaths=o),e.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var h=e.prevEl;h||(u=s=!0);var p=t instanceof Zt&&t.autoBatch&&k5(t.style);s||S5(i,h.transform)?(on(n,e),Wk(n,t)):p||on(n,e);var f=Rl(t,e.inHover);t instanceof Zt?(e.lastDrawType!==$k&&(u=!0,e.lastDrawType=$k),Uk(n,t,h,u,e),(!p||!e.batchFill&&!e.batchStroke)&&n.beginPath(),m5(n,t,f,p),p&&(e.batchFill=f.fill||"",e.batchStroke=f.stroke||"")):t instanceof Kc?(e.lastDrawType!==Xk&&(u=!0,e.lastDrawType=Xk),Uk(n,t,h,u,e),b5(n,t,f)):t instanceof di?(e.lastDrawType!==qk&&(u=!0,e.lastDrawType=qk),x5(n,t,h,u,e),_5(n,t,f)):t.getTemporalDisplayables&&(e.lastDrawType!==Yk&&(u=!0,e.lastDrawType=Yk),C5(n,t,e)),p&&r&&on(n,e),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),e.prevEl=t,t.__dirty=0,t.__isRendered=!0}function C5(n,t,e){var r=t.getDisplayables(),i=t.getTemporalDisplayables();n.save();var o={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:e.viewWidth,viewHeight:e.viewHeight,inHover:e.inHover},a,s;for(a=t.getCursor(),s=r.length;a<s;a++){var u=r[a];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),_o(n,u,o,a===s-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),o.prevEl=u}for(var h=0,p=i.length;h<p;h++){var u=i[h];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),_o(n,u,o,h===p-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),o.prevEl=u}t.clearTemporalDisplayables(),t.notClear=!0,n.restore()}var sv=new r5,Qk=new el(100),Kk=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function lv(n,t){if(n==="none")return null;var e=t.getDevicePixelRatio(),r=t.getZr(),i=r.painter.type==="svg";n.dirty&&sv.delete(n);var o=sv.get(n);if(o)return o;var a=qt(n,{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});a.backgroundColor==="none"&&(a.backgroundColor=null);var s={repeat:"repeat"};return u(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/e,sv.set(n,s),n.dirty=!1,s;function u(h){for(var p=[e],f=!0,y=0;y<Kk.length;++y){var g=a[Kk[y]];if(g!=null&&!pt(g)&&!gt(g)&&!se(g)&&typeof g!="boolean"){f=!1;break}p.push(g)}var v;if(f){v=p.join(",")+(i?"-svg":"");var _=Qk.get(v);_&&(i?h.svgElement=_:h.image=_)}var m=tC(a.dashArrayX),b=M5(a.dashArrayY),w=Jk(a.symbol),k=T5(m),T=eC(b),C=!i&&la.createCanvas(),I=i&&{tag:"g",attrs:{},key:"dcl",children:[]},A=P(),E;C&&(C.width=A.width*e,C.height=A.height*e,E=C.getContext("2d")),L(),f&&Qk.put(v,C||I),h.image=C,h.svgElement=I,h.svgWidth=A.width,h.svgHeight=A.height;function P(){for(var N=1,F=0,G=k.length;F<G;++F)N=Cx(N,k[F]);for(var X=1,F=0,G=w.length;F<G;++F)X=Cx(X,w[F].length);N*=X;var Y=T*k.length*w.length;return{width:Math.max(1,Math.min(N,a.maxTileWidth)),height:Math.max(1,Math.min(Y,a.maxTileHeight))}}function L(){E&&(E.clearRect(0,0,C.width,C.height),a.backgroundColor&&(E.fillStyle=a.backgroundColor,E.fillRect(0,0,C.width,C.height)));for(var N=0,F=0;F<b.length;++F)N+=b[F];if(N<=0)return;for(var G=-T,X=0,Y=0,nt=0;G<A.height;){if(X%2===0){for(var z=Y/2%w.length,V=0,J=0,at=0;V<A.width*2;){for(var Z=0,F=0;F<m[nt].length;++F)Z+=m[nt][F];if(Z<=0)break;if(J%2===0){var q=(1-a.symbolSize)*.5,U=V+m[nt][J]*q,K=G+b[X]*q,et=m[nt][J]*a.symbolSize,W=b[X]*a.symbolSize,yt=at/2%w[z].length;ot(U,K,et,W,w[z][yt])}V+=m[nt][J],++at,++J,J===m[nt].length&&(J=0)}++nt,nt===m.length&&(nt=0)}G+=b[X],++Y,++X,X===b.length&&(X=0)}function ot(bt,vt,lt,st,Kt){var Vt=i?1:e,Et=Ga(Kt,bt*Vt,vt*Vt,lt*Vt,st*Vt,a.color,a.symbolKeepAspect);if(i){var ue=r.painter.renderOneToVNode(Et);ue&&I.children.push(ue)}else Zk(E,Et)}}}}function Jk(n){if(!n||n.length===0)return[["rect"]];if(gt(n))return[[n]];for(var t=!0,e=0;e<n.length;++e)if(!gt(n[e])){t=!1;break}if(t)return Jk([n]);for(var r=[],e=0;e<n.length;++e)gt(n[e])?r.push([n[e]]):r.push(n[e]);return r}function tC(n){if(!n||n.length===0)return[[0,0]];if(se(n)){var t=Math.ceil(n);return[[t,t]]}for(var e=!0,r=0;r<n.length;++r)if(!se(n[r])){e=!1;break}if(e)return tC([n]);for(var i=[],r=0;r<n.length;++r)if(se(n[r])){var t=Math.ceil(n[r]);i.push([t,t])}else{var t=xt(n[r],function(s){return Math.ceil(s)});t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function M5(n){if(!n||typeof n=="object"&&n.length===0)return[0,0];if(se(n)){var t=Math.ceil(n);return[t,t]}var e=xt(n,function(r){return Math.ceil(r)});return n.length%2?e.concat(e):e}function T5(n){return xt(n,function(t){return eC(t)})}function eC(n){for(var t=0,e=0;e<n.length;++e)t+=n[e];return n.length%2===1?t*2:t}function I5(n,t){n.eachRawSeries(function(e){if(!n.isSeriesFiltered(e)){var r=e.getData();r.hasItemVisual()&&r.each(function(a){var s=r.getItemVisual(a,"decal");if(s){var u=r.ensureUniqueItemVisual(a,"style");u.decal=lv(s,t)}});var i=r.getVisual("decal");if(i){var o=r.getVisual("style");o.decal=lv(i,t)}}})}var Wn=new ar,nC={};function D5(n,t){nC[n]=t}function A5(n){return nC[n]}var O5=1,E5=800,P5=900,N5=1e3,L5=2e3,R5=5e3,rC=1e3,z5=1100,uv=2e3,iC=3e3,B5=4e3,Kh=4500,F5=4600,H5=5e3,V5=6e3,oC=7e3,G5={PROCESSOR:{FILTER:N5,SERIES_FILTER:E5,STATISTIC:R5},VISUAL:{LAYOUT:rC,PROGRESSIVE_LAYOUT:z5,GLOBAL:uv,CHART:iC,POST_CHART_LAYOUT:F5,COMPONENT:B5,BRUSH:H5,CHART_ITEM:Kh,ARIA:V5,DECAL:oC}},He="__flagInMainProcess",an="__pendingUpdate",cv="__needsUpdateStatus",aC=/^[a-zA-Z0-9_]+$/,hv="__connectUpdateStatus",sC=0,j5=1,U5=2;function lC(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this.isDisposed()){this.id;return}return cC(this,n,t)}}function uC(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return cC(this,n,t)}}function cC(n,t,e){return e[0]=e[0]&&e[0].toLowerCase(),ar.prototype[t].apply(n,e)}var hC=(function(n){Mt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t})(ar),pC=hC.prototype;pC.on=uC("on"),pC.off=uC("off");var ja,pv,Jh,bi,fv,dv,gv,zl,Bl,fC,dC,yv,gC,tp,yC,vC,En,mC,_C=(function(n){Mt(t,n);function t(e,r,i){var o=n.call(this,new Y3)||this;o._chartsViews=[],o._chartsMap={},o._componentsViews=[],o._componentsMap={},o._pendingActions=[],i=i||{},gt(r)&&(r=bC[r]),o._dom=e;var a="canvas",s="auto",u=!1;i.ssr;var h=o._zr=yx(e,{renderer:i.renderer||a,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:Ot(i.useDirtyRect,u),useCoarsePointer:Ot(i.useCoarsePointer,s),pointerSize:i.pointerSize});o._ssr=i.ssr,o._throttledZrFlush=ev(le(h.flush,h),17),r=Ht(r),r&&BS(r,!0),o._theme=r,o._locale=rR(i.locale||eS),o._coordSysMgr=new Hy;var p=o._api=yC(o);function f(y,g){return y.__prio-g.__prio}return bc(np,f),bc(mv,f),o._scheduler=new Tk(o,p,mv,np),o._messageCenter=new hC,o._initEvents(),o.resize=le(o.resize,o),h.animation.on("frame",o._onframe,o),fC(h,o),dC(h,o),gc(o),o}return t.prototype._onframe=function(){if(!this._disposed){mC(this);var e=this._scheduler;if(this[an]){var r=this[an].silent;this[He]=!0;try{ja(this),bi.update.call(this,null,this[an].updateParams)}catch(u){throw this[He]=!1,this[an]=null,u}this._zr.flush(),this[He]=!1,this[an]=null,zl.call(this,r),Bl.call(this,r)}else if(e.unfinished){var i=O5,o=this._model,a=this._api;e.unfinished=!1;do{var s=+new Date;e.performSeriesTasks(o),e.performDataProcessorTasks(o),dv(this,o),e.performVisualTasks(o),tp(this,this._model,a,"remain",{}),i-=+new Date-s}while(i>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,r,i){if(!this[He]){if(this._disposed){this.id;return}var o,a,s;if(mt(r)&&(i=r.lazyUpdate,o=r.silent,a=r.replaceMerge,s=r.transition,r=r.notMerge),this[He]=!0,!this._model||r){var u=new AR(this._api),h=this._theme,p=this._model=new By;p.scheduler=this._scheduler,p.ssr=this._ssr,p.init(null,null,null,h,this._locale,u)}this._model.setOption(e,{replaceMerge:a},_v);var f={seriesTransition:s,optionChanged:!0};if(i)this[an]={silent:o,updateParams:f},this[He]=!1,this.getZr().wakeUp();else{try{ja(this),bi.update.call(this,null,f)}catch(y){throw this[an]=null,this[He]=!1,y}this._ssr||this._zr.flush(),this[an]=null,this[He]=!1,zl.call(this,o),Bl.call(this,o)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Tt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var r=this._zr.painter;return r.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(Tt.svgSupported){var e=this._zr,r=e.storage.getDisplayList();return R(r,function(i){i.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(this._disposed){this.id;return}e=e||{};var r=e.excludeComponents,i=this._model,o=[],a=this;R(r,function(u){i.eachComponent({mainType:u},function(h){var p=a._componentsMap[h.__viewId];p.group.ignore||(o.push(p),p.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return R(o,function(u){u.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(e){if(this._disposed){this.id;return}var r=e.type==="svg",i=this.group,o=Math.min,a=Math.max,s=1/0;if(xC[i]){var u=s,h=s,p=-s,f=-s,y=[],g=e&&e.pixelRatio||this.getDevicePixelRatio();R(Hl,function(k,T){if(k.group===i){var C=r?k.getZr().painter.getSvgDom().innerHTML:k.renderToCanvas(Ht(e)),I=k.getDom().getBoundingClientRect();u=o(I.left,u),h=o(I.top,h),p=a(I.right,p),f=a(I.bottom,f),y.push({dom:C,left:I.left,top:I.top})}}),u*=g,h*=g,p*=g,f*=g;var v=p-u,_=f-h,m=la.createCanvas(),b=yx(m,{renderer:r?"svg":"canvas"});if(b.resize({width:v,height:_}),r){var w="";return R(y,function(k){var T=k.left-u,C=k.top-h;w+='<g transform="translate('+T+","+C+')">'+k.dom+"</g>"}),b.painter.getSvgRoot().innerHTML=w,e.connectedBackgroundColor&&b.painter.setBackgroundColor(e.connectedBackgroundColor),b.refreshImmediately(),b.painter.toDataURL()}else return e.connectedBackgroundColor&&b.add(new xe({shape:{x:0,y:0,width:v,height:_},style:{fill:e.connectedBackgroundColor}})),R(y,function(k){var T=new di({style:{x:k.left*g-u,y:k.top*g-h,image:k.dom}});b.add(T)}),b.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,r){return fv(this,"convertToPixel",e,r)},t.prototype.convertFromPixel=function(e,r){return fv(this,"convertFromPixel",e,r)},t.prototype.containPixel=function(e,r){if(this._disposed){this.id;return}var i=this._model,o,a=Rg(i,e);return R(a,function(s,u){u.indexOf("Models")>=0&&R(s,function(h){var p=h.coordinateSystem;if(p&&p.containPoint)o=o||!!p.containPoint(r);else if(u==="seriesModels"){var f=this._chartsMap[h.__viewId];f&&f.containPoint&&(o=o||f.containPoint(r,h))}},this)},this),!!o},t.prototype.getVisual=function(e,r){var i=this._model,o=Rg(i,e,{defaultMainType:"series"}),a=o.seriesModel,s=a.getData(),u=o.hasOwnProperty("dataIndexInside")?o.dataIndexInside:o.hasOwnProperty("dataIndex")?s.indexOfRawIndex(o.dataIndex):null;return u!=null?K3(s,u,r):J3(s,r)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;R(W5,function(r){var i=function(o){var a=e.getModel(),s=o.target,u,h=r==="globalout";if(h?u={}:s&&Ll(s,function(v){var _=Bt(v);if(_&&_.dataIndex!=null){var m=_.dataModel||a.getSeriesByIndex(_.seriesIndex);return u=m&&m.getDataParams(_.dataIndex,_.dataType,s)||{},!0}else if(_.eventData)return u=ut({},_.eventData),!0},!0),u){var p=u.componentType,f=u.componentIndex;(p==="markLine"||p==="markPoint"||p==="markArea")&&(p="series",f=u.seriesIndex);var y=p&&f!=null&&a.getComponent(p,f),g=y&&e[y.mainType==="series"?"_chartsMap":"_componentsMap"][y.__viewId];u.event=o,u.type=r,e._$eventProcessor.eventInfo={targetEl:s,packedEvent:u,model:y,view:g},e.trigger(r,u)}};i.zrEventfulCallAtLast=!0,e._zr.on(r,i,e)}),R(Fl,function(r,i){e._messageCenter.on(i,function(o){this.trigger(i,o)},e)}),R(["selectchanged"],function(r){e._messageCenter.on(r,function(i){this.trigger(r,i)},e)}),t5(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var e=this.getDom();e&&Ox(this.getDom(),xv,"");var r=this,i=r._api,o=r._model;R(r._componentsViews,function(a){a.dispose(o,i)}),R(r._chartsViews,function(a){a.dispose(o,i)}),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 Hl[r.id]},t.prototype.resize=function(e){if(!this[He]){if(this._disposed){this.id;return}this._zr.resize(e);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var i=r.resetOption("media"),o=e&&e.silent;this[an]&&(o==null&&(o=this[an].silent),i=!0,this[an]=null),this[He]=!0;try{i&&ja(this),bi.update.call(this,{type:"resize",animation:ut({duration:0},e&&e.animation)})}catch(a){throw this[He]=!1,a}this[He]=!1,zl.call(this,o),Bl.call(this,o)}}},t.prototype.showLoading=function(e,r){if(this._disposed){this.id;return}if(mt(e)&&(r=e,e=""),e=e||"default",this.hideLoading(),!!bv[e]){var i=bv[e](this._api,r),o=this._zr;this._loadingFX=i,o.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var r=ut({},e);return r.type=Fl[e.type],r},t.prototype.dispatchAction=function(e,r){if(this._disposed){this.id;return}if(mt(r)||(r={silent:!!r}),!!ep[e.type]&&this._model){if(this[He]){this._pendingActions.push(e);return}var i=r.silent;gv.call(this,e,i);var o=r.flush;o?this._zr.flush():o!==!1&&Tt.browser.weChat&&this._throttledZrFlush(),zl.call(this,i),Bl.call(this,i)}},t.prototype.updateLabelLayout=function(){Wn.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){this.id;return}var r=e.seriesIndex,i=this.getModel(),o=i.getSeriesByIndex(r);o.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=(function(){ja=function(f){var y=f._scheduler;y.restorePipelines(f._model),y.prepareStageTasks(),pv(f,!0),pv(f,!1),y.plan()},pv=function(f,y){for(var g=f._model,v=f._scheduler,_=y?f._componentsViews:f._chartsViews,m=y?f._componentsMap:f._chartsMap,b=f._zr,w=f._api,k=0;k<_.length;k++)_[k].__alive=!1;y?g.eachComponent(function(I,A){I!=="series"&&T(A)}):g.eachSeries(T);function T(I){var A=I.__requireNewView;I.__requireNewView=!1;var E="_ec_"+I.id+"_"+I.type,P=!A&&m[E];if(!P){var L=ur(I.type),N=y?On.getClass(L.main,L.sub):Un.getClass(L.sub);P=new N,P.init(g,w),m[E]=P,_.push(P),b.add(P.group)}I.__viewId=P.__id=E,P.__alive=!0,P.__model=I,P.group.__ecComponentInfo={mainType:I.mainType,index:I.componentIndex},!y&&v.prepareView(P,I,g,w)}for(var k=0;k<_.length;){var C=_[k];C.__alive?k++:(!y&&C.renderTask.dispose(),b.remove(C.group),C.dispose(g,w),_.splice(k,1),m[C.__id]===C&&delete m[C.__id],C.__id=C.group.__ecComponentInfo=null)}},Jh=function(f,y,g,v,_){var m=f._model;if(m.setUpdatePayload(g),!v){R([].concat(f._componentsViews).concat(f._chartsViews),C);return}var b={};b[v+"Id"]=g[v+"Id"],b[v+"Index"]=g[v+"Index"],b[v+"Name"]=g[v+"Name"];var w={mainType:v,query:b};_&&(w.subType=_);var k=g.excludeSeriesId,T;k!=null&&(T=Lt(),R(je(k),function(I){var A=lr(I,null);A!=null&&T.set(A,!0)})),m&&m.eachComponent(w,function(I){var A=T&&T.get(I.id)!=null;if(!A)if(Sw(g))if(I instanceof yr)g.type===uo&&!g.notBlur&&!I.get(["emphasis","disabled"])&&HN(I,g,f._api);else{var E=ay(I.mainType,I.componentIndex,g.name,f._api),P=E.focusSelf,L=E.dispatchers;g.type===uo&&P&&!g.notBlur&&oy(I.mainType,I.componentIndex,f._api),L&&R(L,function(N){g.type===uo?oh(N):ah(N)})}else cy(g)&&I instanceof yr&&(jN(I,g,f._api),bw(I),En(f))},f),m&&m.eachComponent(w,function(I){var A=T&&T.get(I.id)!=null;A||C(f[v==="series"?"_chartsMap":"_componentsMap"][I.__viewId])},f);function C(I){I&&I.__alive&&I[y]&&I[y](I.__model,m,f._api,g)}},bi={prepareAndUpdate:function(f){ja(this),bi.update.call(this,f,{optionChanged:f.newOption!=null})},update:function(f,y){var g=this._model,v=this._api,_=this._zr,m=this._coordSysMgr,b=this._scheduler;if(g){g.setUpdatePayload(f),b.restoreData(g,f),b.performSeriesTasks(g),m.create(g,v),b.performDataProcessorTasks(g,f),dv(this,g),m.update(g,v),e(g),b.performVisualTasks(g,f),yv(this,g,v,f,y);var w=g.get("backgroundColor")||"transparent",k=g.get("darkMode");_.setBackgroundColor(w),k!=null&&k!=="auto"&&_.setDarkMode(k),Wn.trigger("afterupdate",g,v)}},updateTransform:function(f){var y=this,g=this._model,v=this._api;if(g){g.setUpdatePayload(f);var _=[];g.eachComponent(function(b,w){if(b!=="series"){var k=y.getViewOfComponentModel(w);if(k&&k.__alive)if(k.updateTransform){var T=k.updateTransform(w,g,v,f);T&&T.update&&_.push(k)}else _.push(k)}});var m=Lt();g.eachSeries(function(b){var w=y._chartsMap[b.__viewId];if(w.updateTransform){var k=w.updateTransform(b,g,v,f);k&&k.update&&m.set(b.uid,1)}else m.set(b.uid,1)}),e(g),this._scheduler.performVisualTasks(g,f,{setDirty:!0,dirtyMap:m}),tp(this,g,v,f,{},m),Wn.trigger("afterupdate",g,v)}},updateView:function(f){var y=this._model;y&&(y.setUpdatePayload(f),Un.markUpdateMethod(f,"updateView"),e(y),this._scheduler.performVisualTasks(y,f,{setDirty:!0}),yv(this,y,this._api,f,{}),Wn.trigger("afterupdate",y,this._api))},updateVisual:function(f){var y=this,g=this._model;g&&(g.setUpdatePayload(f),g.eachSeries(function(v){v.getData().clearAllVisual()}),Un.markUpdateMethod(f,"updateVisual"),e(g),this._scheduler.performVisualTasks(g,f,{visualType:"visual",setDirty:!0}),g.eachComponent(function(v,_){if(v!=="series"){var m=y.getViewOfComponentModel(_);m&&m.__alive&&m.updateVisual(_,g,y._api,f)}}),g.eachSeries(function(v){var _=y._chartsMap[v.__viewId];_.updateVisual(v,g,y._api,f)}),Wn.trigger("afterupdate",g,this._api))},updateLayout:function(f){bi.update.call(this,f)}},fv=function(f,y,g,v){if(f._disposed){f.id;return}for(var _=f._model,m=f._coordSysMgr.getCoordinateSystems(),b,w=Rg(_,g),k=0;k<m.length;k++){var T=m[k];if(T[y]&&(b=T[y](_,w,v))!=null)return b}},dv=function(f,y){var g=f._chartsMap,v=f._scheduler;y.eachSeries(function(_){v.updateStreamModes(_,g[_.__viewId])})},gv=function(f,y){var g=this,v=this.getModel(),_=f.type,m=f.escapeConnect,b=ep[_],w=b.actionInfo,k=(w.update||"update").split(":"),T=k.pop(),C=k[0]!=null&&ur(k[0]);this[He]=!0;var I=[f],A=!1;f.batch&&(A=!0,I=xt(f.batch,function(X){return X=qt(ut({},X),f),X.batch=null,X}));var E=[],P,L=cy(f),N=Sw(f);if(N&&_w(this._api),R(I,function(X){if(P=b.action(X,g._model,g._api),P=P||ut({},X),P.type=w.event||P.type,E.push(P),N){var Y=zg(f),nt=Y.queryOptionMap,z=Y.mainTypeSpecified,V=z?nt.keys()[0]:"series";Jh(g,T,X,V),En(g)}else L?(Jh(g,T,X,"series"),En(g)):C&&Jh(g,T,X,C.main,C.sub)}),T!=="none"&&!N&&!L&&!C)try{this[an]?(ja(this),bi.update.call(this,f),this[an]=null):bi[T].call(this,f)}catch(X){throw this[He]=!1,X}if(A?P={type:w.event||_,escapeConnect:m,batch:E}:P=E[0],this[He]=!1,!y){var F=this._messageCenter;if(F.trigger(P.type,P),L){var G={type:"selectchanged",escapeConnect:m,selected:UN(v),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};F.trigger(G.type,G)}}},zl=function(f){for(var y=this._pendingActions;y.length;){var g=y.shift();gv.call(this,g,f)}},Bl=function(f){!f&&this.trigger("updated")},fC=function(f,y){f.on("rendered",function(g){y.trigger("rendered",g),f.animation.isFinished()&&!y[an]&&!y._scheduler.unfinished&&!y._pendingActions.length&&y.trigger("finished")})},dC=function(f,y){f.on("mouseover",function(g){var v=g.target,_=Ll(v,uy);_&&(VN(_,g,y._api),En(y))}).on("mouseout",function(g){var v=g.target,_=Ll(v,uy);_&&(GN(_,g,y._api),En(y))}).on("click",function(g){var v=g.target,_=Ll(v,function(w){return Bt(w).dataIndex!=null},!0);if(_){var m=_.selected?"unselect":"select",b=Bt(_);y._api.dispatchAction({type:m,dataType:b.dataType,dataIndexInside:b.dataIndex,seriesIndex:b.seriesIndex,isFromClick:!0})}})};function e(f){f.clearColorPalette(),f.eachSeries(function(y){y.clearColorPalette()})}function r(f){var y=[],g=[],v=!1;if(f.eachComponent(function(w,k){var T=k.get("zlevel")||0,C=k.get("z")||0,I=k.getZLevelKey();v=v||!!I,(w==="series"?g:y).push({zlevel:T,z:C,idx:k.componentIndex,type:w,key:I})}),v){var _=y.concat(g),m,b;bc(_,function(w,k){return w.zlevel===k.zlevel?w.z-k.z:w.zlevel-k.zlevel}),R(_,function(w){var k=f.getComponent(w.type,w.idx),T=w.zlevel,C=w.key;m!=null&&(T=Math.max(m,T)),C?(T===m&&C!==b&&T++,b=C):b&&(T===m&&T++,b=""),m=T,k.setZLevel(T)})}}yv=function(f,y,g,v,_){r(y),gC(f,y,g,v,_),R(f._chartsViews,function(m){m.__alive=!1}),tp(f,y,g,v,_),R(f._chartsViews,function(m){m.__alive||m.remove(y,g)})},gC=function(f,y,g,v,_,m){R(m||f._componentsViews,function(b){var w=b.__model;h(w,b),b.render(w,y,g,v),s(w,b),p(w,b)})},tp=function(f,y,g,v,_,m){var b=f._scheduler;_=ut(_||{},{updatedSeries:y.getSeries()}),Wn.trigger("series:beforeupdate",y,g,_);var w=!1;y.eachSeries(function(k){var T=f._chartsMap[k.__viewId];T.__alive=!0;var C=T.renderTask;b.updatePayload(C,v),h(k,T),m&&m.get(k.uid)&&C.dirty(),C.perform(b.getPerformArgs(C))&&(w=!0),T.group.silent=!!k.get("silent"),a(k,T),bw(k)}),b.unfinished=w||b.unfinished,Wn.trigger("series:layoutlabels",y,g,_),Wn.trigger("series:transition",y,g,_),y.eachSeries(function(k){var T=f._chartsMap[k.__viewId];s(k,T),p(k,T)}),o(f,y),Wn.trigger("series:afterupdate",y,g,_)},En=function(f){f[cv]=!0,f.getZr().wakeUp()},mC=function(f){f[cv]&&(f.getZr().storage.traverse(function(y){Aa(y)||i(y)}),f[cv]=!1)};function i(f){for(var y=[],g=f.currentStates,v=0;v<g.length;v++){var _=g[v];_==="emphasis"||_==="blur"||_==="select"||y.push(_)}f.selected&&f.states.select&&y.push("select"),f.hoverState===th&&f.states.emphasis?y.push("emphasis"):f.hoverState===Jc&&f.states.blur&&y.push("blur"),f.useStates(y)}function o(f,y){var g=f._zr,v=g.storage,_=0;v.traverse(function(m){m.isGroup||_++}),_>y.get("hoverLayerThreshold")&&!Tt.node&&!Tt.worker&&y.eachSeries(function(m){if(!m.preventUsingHoverLayer){var b=f._chartsMap[m.__viewId];b.__alive&&b.eachRendered(function(w){w.states.emphasis&&(w.states.emphasis.hoverLayer=!0)})}})}function a(f,y){var g=f.get("blendMode")||null;y.eachRendered(function(v){v.isGroup||(v.style.blend=g)})}function s(f,y){if(!f.preventAutoZ){var g=f.get("z")||0,v=f.get("zlevel")||0;y.eachRendered(function(_){return u(_,g,v,-1/0),!0})}}function u(f,y,g,v){var _=f.getTextContent(),m=f.getTextGuideLine(),b=f.isGroup;if(b)for(var w=f.childrenRef(),k=0;k<w.length;k++)v=Math.max(u(w[k],y,g,v),v);else f.z=y,f.zlevel=g,v=Math.max(f.z2,v);if(_&&(_.z=y,_.zlevel=g,isFinite(v)&&(_.z2=v+2)),m){var T=f.textGuideLineConfig;m.z=y,m.zlevel=g,isFinite(v)&&(m.z2=v+(T&&T.showAbove?1:-1))}return v}function h(f,y){y.eachRendered(function(g){if(!Aa(g)){var v=g.getTextContent(),_=g.getTextGuideLine();g.stateTransition&&(g.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),_&&_.stateTransition&&(_.stateTransition=null),g.hasState()?(g.prevStates=g.currentStates,g.clearStates()):g.prevStates&&(g.prevStates=null)}})}function p(f,y){var g=f.getModel("stateAnimation"),v=f.isAnimationEnabled(),_=g.get("duration"),m=_>0?{duration:_,delay:g.get("delay"),easing:g.get("easing")}:null;y.eachRendered(function(b){if(b.states&&b.states.emphasis){if(Aa(b))return;if(b instanceof Zt&&YN(b),b.__dirty){var w=b.prevStates;w&&b.useStates(w)}if(v){b.stateTransition=m;var k=b.getTextContent(),T=b.getTextGuideLine();k&&(k.stateTransition=m),T&&(T.stateTransition=m)}b.__dirty&&i(b)}})}yC=function(f){return new((function(y){Mt(g,y);function g(){return y!==null&&y.apply(this,arguments)||this}return g.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},g.prototype.getComponentByElement=function(v){for(;v;){var _=v.__ecComponentInfo;if(_!=null)return f._model.getComponent(_.mainType,_.index);v=v.parent}},g.prototype.enterEmphasis=function(v,_){oh(v,_),En(f)},g.prototype.leaveEmphasis=function(v,_){ah(v,_),En(f)},g.prototype.enterBlur=function(v){FN(v),En(f)},g.prototype.leaveBlur=function(v){gw(v),En(f)},g.prototype.enterSelect=function(v){yw(v),En(f)},g.prototype.leaveSelect=function(v){vw(v),En(f)},g.prototype.getModel=function(){return f.getModel()},g.prototype.getViewOfComponentModel=function(v){return f.getViewOfComponentModel(v)},g.prototype.getViewOfSeriesModel=function(v){return f.getViewOfSeriesModel(v)},g})(OS))(f)},vC=function(f){function y(g,v){for(var _=0;_<g.length;_++){var m=g[_];m[hv]=v}}R(Fl,function(g,v){f._messageCenter.on(v,function(_){if(xC[f.group]&&f[hv]!==sC){if(_&&_.escapeConnect)return;var m=f.makeActionFromEvent(_),b=[];R(Hl,function(w){w!==f&&w.group===f.group&&b.push(w)}),y(b,sC),R(b,function(w){w[hv]!==j5&&w.dispatchAction(m)}),y(b,U5)}})})}})(),t})(ar),vv=_C.prototype;vv.on=lC("on"),vv.off=lC("off"),vv.one=function(n,t,e){var r=this;function i(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];t&&t.apply&&t.apply(this,o),r.off(n,i)}this.on.call(this,n,i,e)};var W5=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],ep={},Fl={},mv=[],_v=[],np=[],bC={},bv={},Hl={},xC={},$5=+new Date-0,xv="_echarts_instance_";function q5(n,t,e){{var r=X5(n);if(r)return r}var i=new _C(n,t,e);return i.id="ec_"+$5++,Hl[i.id]=i,Ox(n,xv,i.id),vC(i),Wn.trigger("afterinit",i),i}function X5(n){return Hl[DP(n,xv)]}function wC(n,t){bC[n]=t}function SC(n){Xt(_v,n)<0&&_v.push(n)}function kC(n,t){Sv(mv,n,t,L5)}function Y5(n){wv("afterinit",n)}function Z5(n){wv("afterupdate",n)}function wv(n,t){Wn.on(n,t)}function Ua(n,t,e){At(t)&&(e=t,t="");var r=mt(n)?n.type:[n,n={event:t}][0];n.event=(n.event||r).toLowerCase(),t=n.event,!Fl[t]&&(kr(aC.test(r)&&aC.test(t)),ep[r]||(ep[r]={action:e,actionInfo:n}),Fl[t]=r)}function Q5(n,t){Hy.register(n,t)}function K5(n,t){Sv(np,n,t,rC,"layout")}function bo(n,t){Sv(np,n,t,iC,"visual")}var CC=[];function Sv(n,t,e,r,i){if((At(t)||mt(t))&&(e=t,t=r),!(Xt(CC,e)>=0)){CC.push(e);var o=Tk.wrapStageHandler(e,i);o.__prio=t,o.__raw=e,n.push(o)}}function MC(n,t){bv[n]=t}function J5(n,t,e){var r=A5("registerMap");r&&r(n,t,e)}var tz=a3;bo(uv,L3),bo(Kh,R3),bo(Kh,z3),bo(uv,Z3),bo(Kh,Q3),bo(oC,I5),SC(BS),kC(P5,GR),MC("default",B3),Ua({type:uo,event:uo,update:uo},Je),Ua({type:nh,event:nh,update:nh},Je),Ua({type:gl,event:gl,update:gl},Je),Ua({type:rh,event:rh,update:rh},Je),Ua({type:yl,event:yl,update:yl},Je),wC("light",X3),wC("dark",Nk);var TC=[],ez={registerPreprocessor:SC,registerProcessor:kC,registerPostInit:Y5,registerPostUpdate:Z5,registerUpdateLifecycle:wv,registerAction:Ua,registerCoordinateSystem:Q5,registerLayout:K5,registerVisual:bo,registerTransform:tz,registerLoading:MC,registerMap:J5,registerImpl:D5,PRIORITY:G5,ComponentModel:Qt,ComponentView:On,SeriesModel:yr,ChartView:Un,registerComponentModel:function(n){Qt.registerClass(n)},registerComponentView:function(n){On.registerClass(n)},registerSeriesModel:function(n){yr.registerClass(n)},registerChartView:function(n){Un.registerClass(n)},registerSubTypeDefaulter:function(n,t){Qt.registerSubTypeDefaulter(n,t)},registerPainter:function(n,t){uP(n,t)}};function xi(n){if(pt(n)){R(n,function(t){xi(t)});return}Xt(TC,n)>=0||(TC.push(n),At(n)&&(n={install:n}),n.install(ez))}var nz=pe(),rz={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},IC=(function(){function n(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return n.prototype.isDimensionOmitted=function(){return this._dimOmitted},n.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=OC(this.source)))},n.prototype.getSourceDimensionIndex=function(t){return Ot(this._dimNameMap.get(t),-1)},n.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},n.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=jS(this.source),r=!EC(t),i="",o=[],a=0,s=0;a<t;a++){var u=void 0,h=void 0,p=void 0,f=this.dimensions[s];if(f&&f.storeDimIndex===a)u=e?f.name:null,h=f.type,p=f.ordinalMeta,s++;else{var y=this.getSourceDimension(a);y&&(u=e?y.name:null,h=y.type)}o.push({property:u,type:h,ordinalMeta:p}),e&&u!=null&&(!f||!f.isCalculationCoord)&&(i+=r?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=rz[h]||"f",p&&(i+=p.uid),i+="$"}var g=this.source,v=[g.seriesLayoutBy,g.startIndex,i].join("$$");return{dimensions:o,hash:v}},n.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,r=0;e<this._fullDimCount;e++){var i=void 0,o=this.dimensions[r];if(o&&o.storeDimIndex===e)o.isCalculationCoord||(i=o.name),r++;else{var a=this.getSourceDimension(e);a&&(i=a.name)}t.push(i)}return t},n.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},n})();function DC(n){return n instanceof IC}function AC(n){for(var t=Lt(),e=0;e<(n||[]).length;e++){var r=n[e],i=mt(r)?r.name:r;i!=null&&t.get(i)==null&&t.set(i,e)}return t}function OC(n){var t=nz(n);return t.dimNameMap||(t.dimNameMap=AC(n.dimensionsDefine))}function EC(n){return n>30}function iz(n,t,e){e=e||{};var r=e.byIndex,i=e.stackedCoordDimension,o,a,s;oz(t)?o=t:(a=t.schema,o=a.dimensions,s=t.store);var u=!!(n&&n.get("stack")),h,p,f,y;if(R(o,function(w,k){gt(w)&&(o[k]=w={name:w}),u&&!w.isExtraCoord&&(!r&&!h&&w.ordinalMeta&&(h=w),!p&&w.type!=="ordinal"&&w.type!=="time"&&(!i||i===w.coordDim)&&(p=w))}),p&&!r&&!h&&(r=!0),p){f="__\0ecstackresult_"+n.id,y="__\0ecstackedover_"+n.id,h&&(h.createInvertedIndices=!0);var g=p.coordDim,v=p.type,_=0;R(o,function(w){w.coordDim===g&&_++});var m={name:f,coordDim:g,coordDimIndex:_,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},b={name:y,coordDim:y,coordDimIndex:_+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};a?(s&&(m.storeDimIndex=s.ensureCalculationDimension(y,v),b.storeDimIndex=s.ensureCalculationDimension(f,v)),a.appendCalculationDimension(m),a.appendCalculationDimension(b)):(o.push(m),o.push(b))}return{stackedDimension:p&&p.name,stackedByDimension:h&&h.name,isStackedByIndex:r,stackedOverDimension:y,stackResultDimension:f}}function oz(n){return!DC(n.schema)}function Wa(n,t){return!!t&&t===n.getCalculationInfo("stackedDimension")}function az(n,t){return Wa(n,t)?n.getCalculationInfo("stackResultDimension"):t}var PC=typeof Float32Array<"u",sz=PC?Float32Array:Array;function Nr(n){return pt(n)?PC?new Float32Array(n):n:new sz(n)}var lz="__ec_stack_";function NC(n){return n.get("stack")||lz+n.seriesIndex}function kv(n){return n.dim+n.index}function LC(n,t){var e=[];return t.eachSeriesByType(n,function(r){zC(r)&&e.push(r)}),e}function uz(n){var t={};R(n,function(u){var h=u.coordinateSystem,p=h.getBaseAxis();if(!(p.type!=="time"&&p.type!=="value"))for(var f=u.getData(),y=p.dim+"_"+p.index,g=f.getDimensionIndex(f.mapDimension(p.dim)),v=f.getStore(),_=0,m=v.count();_<m;++_){var b=v.get(g,_);t[y]?t[y].push(b):t[y]=[b]}});var e={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(i){i.sort(function(u,h){return u-h});for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];s>0&&(o=o===null?s:Math.min(o,s))}e[r]=o}}return e}function RC(n){var t=uz(n),e=[];return R(n,function(r){var i=r.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent(),s;if(o.type==="category")s=o.getBandWidth();else if(o.type==="value"||o.type==="time"){var u=o.dim+"_"+o.index,h=t[u],p=Math.abs(a[1]-a[0]),f=o.scale.getExtent(),y=Math.abs(f[1]-f[0]);s=h?p/y*h:p}else{var g=r.getData();s=Math.abs(a[1]-a[0])/g.count()}var v=De(r.get("barWidth"),s),_=De(r.get("barMaxWidth"),s),m=De(r.get("barMinWidth")||(BC(r)?.5:1),s),b=r.get("barGap"),w=r.get("barCategoryGap");e.push({bandWidth:s,barWidth:v,barMaxWidth:_,barMinWidth:m,barGap:b,barCategoryGap:w,axisKey:kv(o),stackId:NC(r)})}),cz(e)}function cz(n){var t={};R(n,function(r,i){var o=r.axisKey,a=r.bandWidth,s=t[o]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},u=s.stacks;t[o]=s;var h=r.stackId;u[h]||s.autoWidthCount++,u[h]=u[h]||{width:0,maxWidth:0};var p=r.barWidth;p&&!u[h].width&&(u[h].width=p,p=Math.min(s.remainedWidth,p),s.remainedWidth-=p);var f=r.barMaxWidth;f&&(u[h].maxWidth=f);var y=r.barMinWidth;y&&(u[h].minWidth=y);var g=r.barGap;g!=null&&(s.gap=g);var v=r.barCategoryGap;v!=null&&(s.categoryGap=v)});var e={};return R(t,function(r,i){e[i]={};var o=r.stacks,a=r.bandWidth,s=r.categoryGap;if(s==null){var u=ae(o).length;s=Math.max(35-u*4,15)+"%"}var h=De(s,a),p=De(r.gap,1),f=r.remainedWidth,y=r.autoWidthCount,g=(f-h)/(y+(y-1)*p);g=Math.max(g,0),R(o,function(b){var w=b.maxWidth,k=b.minWidth;if(b.width){var T=b.width;w&&(T=Math.min(T,w)),k&&(T=Math.max(T,k)),b.width=T,f-=T+p*T,y--}else{var T=g;w&&w<T&&(T=Math.min(w,f)),k&&k>T&&(T=k),T!==g&&(b.width=T,f-=T+p*T,y--)}}),g=(f-h)/(y+(y-1)*p),g=Math.max(g,0);var v=0,_;R(o,function(b,w){b.width||(b.width=g),_=b,v+=b.width*(1+p)}),_&&(v-=_.width*p);var m=-v/2;R(o,function(b,w){e[i][w]=e[i][w]||{bandWidth:a,offset:m,width:b.width},m+=b.width*(1+p)})}),e}function hz(n,t,e){if(n&&t){var r=n[kv(t)];return r}}function pz(n,t){var e=LC(n,t),r=RC(e);R(e,function(i){var o=i.getData(),a=i.coordinateSystem,s=a.getBaseAxis(),u=NC(i),h=r[kv(s)][u],p=h.offset,f=h.width;o.setLayout({bandWidth:h.bandWidth,offset:p,size:f})})}function fz(n){return{seriesType:n,plan:tv(),reset:function(t){if(zC(t)){var e=t.getData(),r=t.coordinateSystem,i=r.getBaseAxis(),o=r.getOtherAxis(i),a=e.getDimensionIndex(e.mapDimension(o.dim)),s=e.getDimensionIndex(e.mapDimension(i.dim)),u=t.get("showBackground",!0),h=e.mapDimension(o.dim),p=e.getCalculationInfo("stackResultDimension"),f=Wa(e,h)&&!!e.getCalculationInfo("stackedOnSeries"),y=o.isHorizontal(),g=dz(i,o),v=BC(t),_=t.get("barMinHeight")||0,m=p&&e.getDimensionIndex(p),b=e.getLayout("size"),w=e.getLayout("offset");return{progress:function(k,T){for(var C=k.count,I=v&&Nr(C*3),A=v&&u&&Nr(C*3),E=v&&Nr(C),P=r.master.getRect(),L=y?P.width:P.height,N,F=T.getStore(),G=0;(N=k.next())!=null;){var X=F.get(f?m:a,N),Y=F.get(s,N),nt=g,z=void 0;f&&(z=+X-F.get(a,N));var V=void 0,J=void 0,at=void 0,Z=void 0;if(y){var q=r.dataToPoint([X,Y]);if(f){var U=r.dataToPoint([z,Y]);nt=U[0]}V=nt,J=q[1]+w,at=q[0]-nt,Z=b,Math.abs(at)<_&&(at=(at<0?-1:1)*_)}else{var q=r.dataToPoint([Y,X]);if(f){var U=r.dataToPoint([Y,z]);nt=U[1]}V=q[0]+w,J=nt,at=b,Z=q[1]-nt,Math.abs(Z)<_&&(Z=(Z<=0?-1:1)*_)}v?(I[G]=V,I[G+1]=J,I[G+2]=y?at:Z,A&&(A[G]=y?P.x:V,A[G+1]=y?J:P.y,A[G+2]=L),E[N]=N):T.setItemLayout(N,{x:V,y:J,width:at,height:Z}),G+=3}v&&T.setLayout({largePoints:I,largeDataIndices:E,largeBackgroundPoints:A,valueAxisHorizontal:y})}}}}}}function zC(n){return n.coordinateSystem&&n.coordinateSystem.type==="cartesian2d"}function BC(n){return n.pipelineContext&&n.pipelineContext.large}function dz(n,t){var e=t.model.get("startValue");return e||(e=0),t.toGlobalCoord(t.dataToCoord(t.type==="log"?e>0?e:1:e))}var gz={average:function(n){for(var t=0,e=0,r=0;r<n.length;r++)isNaN(n[r])||(t+=n[r],e++);return e===0?NaN:t/e},sum:function(n){for(var t=0,e=0;e<n.length;e++)t+=n[e]||0;return t},max:function(n){for(var t=-1/0,e=0;e<n.length;e++)n[e]>t&&(t=n[e]);return isFinite(t)?t:NaN},min:function(n){for(var t=1/0,e=0;e<n.length;e++)n[e]<t&&(t=n[e]);return isFinite(t)?t:NaN},nearest:function(n){return n[0]}},yz=function(n){return Math.round(n.length/2)};function FC(n){return{seriesType:n,reset:function(t,e,r){var i=t.getData(),o=t.get("sampling"),a=t.coordinateSystem,s=i.count();if(s>10&&a.type==="cartesian2d"&&o){var u=a.getBaseAxis(),h=a.getOtherAxis(u),p=u.getExtent(),f=r.getDevicePixelRatio(),y=Math.abs(p[1]-p[0])*(f||1),g=Math.round(s/y);if(isFinite(g)&&g>1){o==="lttb"?t.setData(i.lttbDownSample(i.mapDimension(h.dim),1/g)):o==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(h.dim),1/g));var v=void 0;gt(o)?v=gz[o]:At(o)&&(v=o),v&&t.setData(i.downSample(i.mapDimension(h.dim),1/g,v,yz))}}}}}function Vl(n){return n==null?0:n.length||1}function HC(n){return n}var vz=(function(){function n(t,e,r,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=r||HC,this._newKeyGetter=i||HC,this.context=o,this._diffModeMultiple=a==="multiple"}return n.prototype.add=function(t){return this._add=t,this},n.prototype.update=function(t){return this._update=t,this},n.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},n.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},n.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},n.prototype.remove=function(t){return this._remove=t,this},n.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},n.prototype._executeOneToOne=function(){var t=this._old,e=this._new,r={},i=new Array(t.length),o=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,r,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=i[a],u=r[s],h=Vl(u);if(h>1){var p=u.shift();u.length===1&&(r[s]=u[0]),this._update&&this._update(p,a)}else h===1?(r[s]=null,this._update&&this._update(u,a)):this._remove&&this._remove(a)}this._performRestAdd(o,r)},n.prototype._executeMultiple=function(){var t=this._old,e=this._new,r={},i={},o=[],a=[];this._initIndexMap(t,r,o,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var u=o[s],h=r[u],p=i[u],f=Vl(h),y=Vl(p);if(f>1&&y===1)this._updateManyToOne&&this._updateManyToOne(p,h),i[u]=null;else if(f===1&&y>1)this._updateOneToMany&&this._updateOneToMany(p,h),i[u]=null;else if(f===1&&y===1)this._update&&this._update(p,h),i[u]=null;else if(f>1&&y>1)this._updateManyToMany&&this._updateManyToMany(p,h),i[u]=null;else if(f>1)for(var g=0;g<f;g++)this._remove&&this._remove(h[g]);else this._remove&&this._remove(h)}this._performRestAdd(a,i)},n.prototype._performRestAdd=function(t,e){for(var r=0;r<t.length;r++){var i=t[r],o=e[i],a=Vl(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else a===1&&this._add&&this._add(o);e[i]=null}},n.prototype._initIndexMap=function(t,e,r,i){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[i](t[a],a);if(o||(r[a]=s),!!e){var u=e[s],h=Vl(u);h===0?(e[s]=a,o&&r.push(s)):h===1?e[s]=[u,a]:u.push(a)}}},n})(),mz=(function(){function n(t,e){this._encode=t,this._schema=e}return n.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},n.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},n})();function _z(n,t){var e={},r=e.encode={},i=Lt(),o=[],a=[],s={};R(n.dimensions,function(y){var g=n.getDimensionInfo(y),v=g.coordDim;if(v){var _=g.coordDimIndex;Cv(r,v)[_]=y,g.isExtraCoord||(i.set(v,1),xz(g.type)&&(o[0]=y),Cv(s,v)[_]=n.getDimensionIndex(g.name)),g.defaultTooltip&&a.push(y)}bS.each(function(m,b){var w=Cv(r,b),k=g.otherDims[b];k!=null&&k!==!1&&(w[k]=g.name)})});var u=[],h={};i.each(function(y,g){var v=r[g];h[g]=v[0],u=u.concat(v)}),e.dataDimsOnCoord=u,e.dataDimIndicesOnCoord=xt(u,function(y){return n.getDimensionInfo(y).storeDimIndex}),e.encodeFirstDimNotExtra=h;var p=r.label;p&&p.length&&(o=p.slice());var f=r.tooltip;return f&&f.length?a=f.slice():a.length||(a=o.slice()),r.defaultedLabel=o,r.defaultedTooltip=a,e.userOutput=new mz(s,t),e}function Cv(n,t){return n.hasOwnProperty(t)||(n[t]=[]),n[t]}function bz(n){return n==="category"?"ordinal":n==="time"?"time":"float"}function xz(n){return!(n==="ordinal"||n==="time")}var rp=(function(){function n(t){this.otherDims={},t!=null&&ut(this,t)}return n})(),Gl=mt,wi=xt,wz=typeof Int32Array>"u"?Array:Int32Array,Sz="e\0\0",VC=-1,kz=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Cz=["_approximateExtent"],GC,ip,jl,Ul,Mv,Wl,Tv,Mz=(function(){function n(t,e){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","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r,i=!1;DC(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,r=t),r=r||["x","y"];for(var o={},a=[],s={},u=!1,h={},p=0;p<r.length;p++){var f=r[p],y=gt(f)?new rp({name:f}):f instanceof rp?f:new rp(f),g=y.name;y.type=y.type||"float",y.coordDim||(y.coordDim=g,y.coordDimIndex=0);var v=y.otherDims=y.otherDims||{};a.push(g),o[g]=y,h[g]!=null&&(u=!0),y.createInvertedIndices&&(s[g]=[]),v.itemName===0&&(this._nameDimIdx=p),v.itemId===0&&(this._idDimIdx=p),i&&(y.storeDimIndex=p)}if(this.dimensions=a,this._dimInfos=o,this._initGetDimensionInfo(u),this.hostModel=e,this._invertedIndicesMap=s,this._dimOmitted){var _=this._dimIdxToName=Lt();R(a,function(m){_.set(o[m].storeDimIndex,m)})}}return n.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(e==null)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var r=this._dimIdxToName.get(e);if(r!=null)return r;var i=this._schema.getSourceDimension(e);if(i)return i.name},n.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(e!=null)return e;if(t==null)return-1;var r=this._getDimInfo(t);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},n.prototype._recognizeDimIndex=function(t){if(se(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},n.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},n.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},n.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(r){return e.hasOwnProperty(r)?e[r]:void 0}:function(r){return e[r]}},n.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},n.prototype.mapDimension=function(t,e){var r=this._dimSummary;if(e==null)return r.encodeFirstDimNotExtra[t];var i=r.encode[t];return i?i[e]:null},n.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,r=e.encode[t];return(r||[]).slice()},n.prototype.getStore=function(){return this._store},n.prototype.initData=function(t,e,r){var i=this,o;if(t instanceof Yy&&(o=t),!o){var a=this.dimensions,s=jy(t)||Qe(t)?new $S(t,a.length):t;o=new Yy;var u=wi(a,function(h){return{type:i._dimInfos[h].type,property:h}});o.initData(s,u,r)}this._store=o,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,o.count()),this._dimSummary=_z(this,this._schema),this.userOutput=this._dimSummary.userOutput},n.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},n.prototype.appendValues=function(t,e){var r=this._store.appendValues(t,e&&e.length),i=r.start,o=r.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var s=i;s<o;s++){var u=s-i;this._nameList[s]=e[u],a&&Tv(this,s)}},n.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,r=0;r<e.length;r++){var i=this._dimInfos[e[r]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},n.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==mi&&!t.fillStorage},n.prototype._doInit=function(t,e){if(!(t>=e)){var r=this._store,i=r.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,s=i.getSource().sourceFormat,u=s===Dn;if(u&&!i.pure)for(var h=[],p=t;p<e;p++){var f=i.getItem(p,h);if(!this.hasItemOption&&mP(f)&&(this.hasItemOption=!0),f){var y=f.name;o[p]==null&&y!=null&&(o[p]=lr(y,null));var g=f.id;a[p]==null&&g!=null&&(a[p]=lr(g,null))}}if(this._shouldMakeIdFromName())for(var p=t;p<e;p++)Tv(this,p);GC(this)}},n.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},n.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},n.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},n.prototype.setCalculationInfo=function(t,e){Gl(t)?ut(this._calculationInfo,t):this._calculationInfo[t]=e},n.prototype.getName=function(t){var e=this.getRawIndex(t),r=this._nameList[e];return r==null&&this._nameDimIdx!=null&&(r=jl(this,this._nameDimIdx,e)),r==null&&(r=""),r},n.prototype._getCategory=function(t,e){var r=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[r]:r},n.prototype.getId=function(t){return ip(this,this.getRawIndex(t))},n.prototype.count=function(){return this._store.count()},n.prototype.get=function(t,e){var r=this._store,i=this._dimInfos[t];if(i)return r.get(i.storeDimIndex,e)},n.prototype.getByRawIndex=function(t,e){var r=this._store,i=this._dimInfos[t];if(i)return r.getByRawIndex(i.storeDimIndex,e)},n.prototype.getIndices=function(){return this._store.getIndices()},n.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},n.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},n.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},n.prototype.getValues=function(t,e){var r=this,i=this._store;return pt(t)?i.getValues(wi(t,function(o){return r._getStoreDimIndex(o)}),e):i.getValues(t)},n.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,r=0,i=e.length;r<i;r++)if(isNaN(this._store.get(e[r],t)))return!1;return!0},n.prototype.indexOfName=function(t){for(var e=0,r=this._store.count();e<r;e++)if(this.getName(e)===t)return e;return-1},n.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},n.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},n.prototype.rawIndexOf=function(t,e){var r=t&&this._invertedIndicesMap[t],i=r&&r[e];return i==null||isNaN(i)?VC:i},n.prototype.indicesOfNearest=function(t,e,r){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,r)},n.prototype.each=function(t,e,r){At(t)&&(r=e,e=t,t=[]);var i=r||this,o=wi(Ul(t),this._getStoreDimIndex,this);this._store.each(o,i?le(e,i):e)},n.prototype.filterSelf=function(t,e,r){At(t)&&(r=e,e=t,t=[]);var i=r||this,o=wi(Ul(t),this._getStoreDimIndex,this);return this._store=this._store.filter(o,i?le(e,i):e),this},n.prototype.selectRange=function(t){var e=this,r={},i=ae(t);return R(i,function(o){var a=e._getStoreDimIndex(o);r[a]=t[o]}),this._store=this._store.selectRange(r),this},n.prototype.mapArray=function(t,e,r){At(t)&&(r=e,e=t,t=[]),r=r||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},r),i},n.prototype.map=function(t,e,r,i){var o=r||i||this,a=wi(Ul(t),this._getStoreDimIndex,this),s=Wl(this);return s._store=this._store.map(a,o?le(e,o):e),s},n.prototype.modify=function(t,e,r,i){var o=r||i||this,a=wi(Ul(t),this._getStoreDimIndex,this);this._store.modify(a,o?le(e,o):e)},n.prototype.downSample=function(t,e,r,i){var o=Wl(this);return o._store=this._store.downSample(this._getStoreDimIndex(t),e,r,i),o},n.prototype.minmaxDownSample=function(t,e){var r=Wl(this);return r._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),r},n.prototype.lttbDownSample=function(t,e){var r=Wl(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),r},n.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},n.prototype.getItemModel=function(t){var e=this.hostModel,r=this.getRawDataItem(t);return new fe(r,e,e&&e.ecModel)},n.prototype.diff=function(t){var e=this;return new vz(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(r){return ip(t,r)},function(r){return ip(e,r)})},n.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},n.prototype.setVisual=function(t,e){this._visual=this._visual||{},Gl(t)?ut(this._visual,t):this._visual[t]=e},n.prototype.getItemVisual=function(t,e){var r=this._itemVisuals[t],i=r&&r[e];return i??this.getVisual(e)},n.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},n.prototype.ensureUniqueItemVisual=function(t,e){var r=this._itemVisuals,i=r[t];i||(i=r[t]={});var o=i[e];return o==null&&(o=this.getVisual(e),pt(o)?o=o.slice():Gl(o)&&(o=ut({},o)),i[e]=o),o},n.prototype.setItemVisual=function(t,e,r){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Gl(e)?ut(i,e):i[e]=r},n.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},n.prototype.setLayout=function(t,e){Gl(t)?ut(this._layout,t):this._layout[t]=e},n.prototype.getLayout=function(t){return this._layout[t]},n.prototype.getItemLayout=function(t){return this._itemLayouts[t]},n.prototype.setItemLayout=function(t,e,r){this._itemLayouts[t]=r?ut(this._itemLayouts[t]||{},e):e},n.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},n.prototype.setItemGraphicEl=function(t,e){var r=this.hostModel&&this.hostModel.seriesIndex;DN(r,this.dataType,t,e),this._graphicEls[t]=e},n.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},n.prototype.eachItemGraphicEl=function(t,e){R(this._graphicEls,function(r,i){r&&t&&t.call(e,r,i)})},n.prototype.cloneShallow=function(t){return t||(t=new n(this._schema?this._schema:wi(this.dimensions,this._getDimInfo,this),this.hostModel)),Mv(t,this),t._store=this._store,t},n.prototype.wrapMethod=function(t,e){var r=this[t];At(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=r.apply(this,arguments);return e.apply(this,[i].concat(Gd(arguments)))})},n.internalField=(function(){GC=function(t){var e=t._invertedIndicesMap;R(e,function(r,i){var o=t._dimInfos[i],a=o.ordinalMeta,s=t._store;if(a){r=e[i]=new wz(a.categories.length);for(var u=0;u<r.length;u++)r[u]=VC;for(var u=0;u<s.count();u++)r[s.get(o.storeDimIndex,u)]=u}})},jl=function(t,e,r){return lr(t._getCategory(e,r),null)},ip=function(t,e){var r=t._idList[e];return r==null&&t._idDimIdx!=null&&(r=jl(t,t._idDimIdx,e)),r==null&&(r=Sz+e),r},Ul=function(t){return pt(t)||(t=t!=null?[t]:[]),t},Wl=function(t){var e=new n(t._schema?t._schema:wi(t.dimensions,t._getDimInfo,t),t.hostModel);return Mv(e,t),e},Mv=function(t,e){R(kz.concat(e.__wrappedMethods||[]),function(r){e.hasOwnProperty(r)&&(t[r]=e[r])}),t.__wrappedMethods=e.__wrappedMethods,R(Cz,function(r){t[r]=Ht(e[r])}),t._calculationInfo=ut({},e._calculationInfo)},Tv=function(t,e){var r=t._nameList,i=t._idList,o=t._nameDimIdx,a=t._idDimIdx,s=r[e],u=i[e];if(s==null&&o!=null&&(r[e]=s=jl(t,o,e)),u==null&&a!=null&&(i[e]=u=jl(t,a,e)),u==null&&s!=null){var h=t._nameRepeatCount,p=h[s]=(h[s]||0)+1;u=s,p>1&&(u+="__ec__"+p),i[e]=u}}})(),n})();function Tz(n,t){jy(n)||(n=FS(n)),t=t||{};var e=t.coordDimensions||[],r=t.dimensionsDefine||n.dimensionsDefine||[],i=Lt(),o=[],a=Dz(n,e,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&EC(a),u=r===n.dimensionsDefine,h=u?OC(n):AC(r),p=t.encodeDefine;!p&&t.encodeDefaulter&&(p=t.encodeDefaulter(n,a));for(var f=Lt(p),y=new ek(a),g=0;g<y.length;g++)y[g]=-1;function v(P){var L=y[P];if(L<0){var N=r[P],F=mt(N)?N:{name:N},G=new rp,X=F.name;X!=null&&h.get(X)!=null&&(G.name=G.displayName=X),F.type!=null&&(G.type=F.type),F.displayName!=null&&(G.displayName=F.displayName);var Y=o.length;return y[P]=Y,G.storeDimIndex=P,o.push(G),G}return o[L]}if(!s)for(var g=0;g<a;g++)v(g);f.each(function(P,L){var N=je(P).slice();if(N.length===1&&!gt(N[0])&&N[0]<0){f.set(L,!1);return}var F=f.set(L,[]);R(N,function(G,X){var Y=gt(G)?h.get(G):G;Y!=null&&Y<a&&(F[X]=Y,m(v(Y),L,X))})});var _=0;R(e,function(P){var L,N,F,G;if(gt(P))L=P,G={};else{G=P,L=G.name;var X=G.ordinalMeta;G.ordinalMeta=null,G=ut({},G),G.ordinalMeta=X,N=G.dimsDef,F=G.otherDims,G.name=G.coordDim=G.coordDimIndex=G.dimsDef=G.otherDims=null}var Y=f.get(L);if(Y!==!1){if(Y=je(Y),!Y.length)for(var nt=0;nt<(N&&N.length||1);nt++){for(;_<a&&v(_).coordDim!=null;)_++;_<a&&Y.push(_++)}R(Y,function(z,V){var J=v(z);if(u&&G.type!=null&&(J.type=G.type),m(qt(J,G),L,V),J.name==null&&N){var at=N[V];!mt(at)&&(at={name:at}),J.name=J.displayName=at.name,J.defaultTooltip=at.defaultTooltip}F&&qt(J.otherDims,F)})}});function m(P,L,N){bS.get(L)!=null?P.otherDims[L]=N:(P.coordDim=L,P.coordDimIndex=N,i.set(L,!0))}var b=t.generateCoord,w=t.generateCoordCount,k=w!=null;w=b?w||1:0;var T=b||"value";function C(P){P.name==null&&(P.name=P.coordDim)}if(s)R(o,function(P){C(P)}),o.sort(function(P,L){return P.storeDimIndex-L.storeDimIndex});else for(var I=0;I<a;I++){var A=v(I),E=A.coordDim;E==null&&(A.coordDim=Az(T,i,k),A.coordDimIndex=0,(!b||w<=0)&&(A.isExtraCoord=!0),w--),C(A),A.type==null&&(kS(n,I)===pn.Must||A.isExtraCoord&&(A.otherDims.itemName!=null||A.otherDims.seriesName!=null))&&(A.type="ordinal")}return Iz(o),new IC({source:n,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Iz(n){for(var t=Lt(),e=0;e<n.length;e++){var r=n[e],i=r.name,o=t.get(i)||0;o>0&&(r.name=i+(o-1)),o++,t.set(i,o)}}function Dz(n,t,e,r){var i=Math.max(n.dimensionsDetectedCount||1,t.length,e.length,r||0);return R(t,function(o){var a;mt(o)&&(a=o.dimsDef)&&(i=Math.max(i,a.length))}),i}function Az(n,t,e){if(e||t.hasKey(n)){for(var r=0;t.hasKey(n+r);)r++;n+=r}return t.set(n,!0),n}var Oz=(function(){function n(t){this.coordSysDims=[],this.axisMap=Lt(),this.categoryAxisMap=Lt(),this.coordSysName=t}return n})();function Ez(n){var t=n.get("coordinateSystem"),e=new Oz(t),r=Pz[t];if(r)return r(n,e,e.axisMap,e.categoryAxisMap),e}var Pz={cartesian2d:function(n,t,e,r){var i=n.getReferringComponents("xAxis",Hn).models[0],o=n.getReferringComponents("yAxis",Hn).models[0];t.coordSysDims=["x","y"],e.set("x",i),e.set("y",o),$a(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),$a(o)&&(r.set("y",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(n,t,e,r){var i=n.getReferringComponents("singleAxis",Hn).models[0];t.coordSysDims=["single"],e.set("single",i),$a(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(n,t,e,r){var i=n.getReferringComponents("polar",Hn).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],e.set("radius",o),e.set("angle",a),$a(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),$a(a)&&(r.set("angle",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(n,t,e,r){t.coordSysDims=["lng","lat"]},parallel:function(n,t,e,r){var i=n.ecModel,o=i.getComponent("parallel",n.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();R(o.parallelAxisIndex,function(s,u){var h=i.getComponent("parallelAxis",s),p=a[u];e.set(p,h),$a(h)&&(r.set(p,h),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=u))})}};function $a(n){return n.get("type")==="category"}function Nz(n,t){var e=n.get("coordinateSystem"),r=Hy.get(e),i;return t&&t.coordSysDims&&(i=xt(t.coordSysDims,function(o){var a={name:o},s=t.axisMap.get(o);if(s){var u=s.get("type");a.type=bz(u)}return a})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}function Lz(n,t,e){var r,i;return e&&R(n,function(o,a){var s=o.coordDim,u=e.categoryAxisMap.get(s);u&&(r==null&&(r=a),o.ordinalMeta=u.getOrdinalMeta(),t&&(o.createInvertedIndices=!0)),o.otherDims.itemName!=null&&(i=!0)}),!i&&r!=null&&(n[r].otherDims.itemName=0),r}function Iv(n,t,e){e=e||{};var r=t.getSourceManager(),i,o=!1;i=r.getSource(),o=i.sourceFormat===Dn;var a=Ez(t),s=Nz(t,a),u=e.useEncodeDefaulter,h=At(u)?u:u?Se(vR,s,t):null,p={coordDimensions:s,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:h,canOmitUnusedDimensions:!o},f=Tz(i,p),y=Lz(f.dimensions,e.createInvertedIndices,a),g=o?null:r.getSharedDataStore(f),v=iz(t,{schema:f,store:g}),_=new Mz(f,t);_.setCalculationInfo(v);var m=y!=null&&Rz(i)?function(b,w,k,T){return T===y?k:this.defaultDimValueGetter(b,w,k,T)}:null;return _.hasItemOption=!1,_.initData(o?i:g,null,m),_}function Rz(n){if(n.sourceFormat===Dn){var t=zz(n.data||[]);return!pt(sl(t))}}function zz(n){for(var t=0;t<n.length&&n[t]==null;)t++;return n[t]}var Dv=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,r){return Iv(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,r,i){var o=this.coordinateSystem;if(o&&o.clampData){var a=o.clampData(e),s=o.dataToPoint(a);if(i)R(o.getAxes(),function(y,g){if(y.type==="category"&&r!=null){var v=y.getTicksCoords(),_=y.getTickModel().get("alignWithLabel"),m=a[g],b=r[g]==="x1"||r[g]==="y1";if(b&&!_&&(m+=1),v.length<2)return;if(v.length===2){s[g]=y.toGlobalCoord(y.getExtent()[b?1:0]);return}for(var w=void 0,k=void 0,T=1,C=0;C<v.length;C++){var I=v[C].coord,A=C===v.length-1?v[C-1].tickValue+T:v[C].tickValue;if(A===m){k=I;break}else if(A<m)w=I;else if(w!=null&&A>m){k=(I+w)/2;break}C===1&&(T=A-v[0].tickValue)}k==null&&(w?w&&(k=v[v.length-1].coord):k=v[0].coord),s[g]=y.toGlobalCoord(k)}});else{var u=this.getData(),h=u.getLayout("offset"),p=u.getLayout("size"),f=o.getBaseAxis().isHorizontal()?0:1;s[f]+=h+p/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t})(yr);yr.registerClass(Dv);var Bz=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return Iv(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>e&&(e=r),e},t.prototype.brushSelector=function(e,r,i){return i.rect(r.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=tS(Dv.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}),t})(Dv);function jC(n,t,e,r,i){var o=n.getArea(),a=o.x,s=o.y,u=o.width,h=o.height,p=e.get(["lineStyle","width"])||0;a-=p/2,s-=p/2,u+=p,h+=p,u=Math.ceil(u),a!==Math.floor(a)&&(a=Math.floor(a),u++);var f=new xe({shape:{x:a,y:s,width:u,height:h}});if(t){var y=n.getBaseAxis(),g=y.isHorizontal(),v=y.inverse;g?(v&&(f.shape.x+=u),f.shape.width=0):(v||(f.shape.y+=h),f.shape.height=0);var _=At(i)?function(m){i(m,f)}:null;Tn(f,{shape:{width:u,height:h,x:a,y:s}},e,null,r,_)}return f}function UC(n,t,e){var r=n.getArea(),i=be(r.r0,1),o=be(r.r,1),a=new Da({shape:{cx:be(n.cx,1),cy:be(n.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var s=n.getBaseAxis().dim==="angle";s?a.shape.endAngle=r.startAngle:a.shape.r=i,Tn(a,{shape:{endAngle:r.endAngle,r:o}},e)}return a}function Fz(n,t,e,r,i){if(n){if(n.type==="polar")return UC(n,t,e);if(n.type==="cartesian2d")return jC(n,t,e,r,i)}else return null;return null}var Hz=(function(){function n(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return n})(),WC=(function(n){Mt(t,n);function t(e){var r=n.call(this,e)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new Hz},t.prototype.buildPath=function(e,r){var i=r.cx,o=r.cy,a=Math.max(r.r0||0,0),s=Math.max(r.r,0),u=(s-a)*.5,h=a+u,p=r.startAngle,f=r.endAngle,y=r.clockwise,g=Math.PI*2,v=y?f-p<g:p-f<g;v||(p=f-(y?g:-g));var _=Math.cos(p),m=Math.sin(p),b=Math.cos(f),w=Math.sin(f);v?(e.moveTo(_*a+i,m*a+o),e.arc(_*h+i,m*h+o,u,-Math.PI+p,p,!y)):e.moveTo(_*s+i,m*s+o),e.arc(i,o,s,p,f,!y),e.arc(b*h+i,w*h+o,u,f-Math.PI*2,f-Math.PI,!y),a!==0&&e.arc(i,o,a,f,p,y)},t})(Zt);function Av(n,t){return n.type===t}function Ov(n,t){var e=n.mapDimensionsAll("defaultedLabel"),r=e.length;if(r===1){var i=Ba(n,t,e[0]);return i!=null?i+"":null}else if(r){for(var o=[],a=0;a<e.length;a++)o.push(Ba(n,t,e[a]));return o.join(" ")}}function $C(n,t){var e=n.mapDimensionsAll("defaultedLabel");if(!pt(t))return t+"";for(var r=[],i=0;i<e.length;i++){var o=n.getDimensionIndex(e[i]);o>=0&&r.push(t[o])}return r.join(" ")}function Vz(n,t){t=t||{};var e=t.isRoundCap;return function(r,i,o){var a=i.position;if(!a||a instanceof Array)return Vc(r,i,o);var s=n(a),u=i.distance!=null?i.distance:5,h=this.shape,p=h.cx,f=h.cy,y=h.r,g=h.r0,v=(y+g)/2,_=h.startAngle,m=h.endAngle,b=(_+m)/2,w=e?Math.abs(y-g)/2:0,k=Math.cos,T=Math.sin,C=p+y*k(_),I=f+y*T(_),A="left",E="top";switch(s){case"startArc":C=p+(g-u)*k(b),I=f+(g-u)*T(b),A="center",E="top";break;case"insideStartArc":C=p+(g+u)*k(b),I=f+(g+u)*T(b),A="center",E="bottom";break;case"startAngle":C=p+v*k(_)+op(_,u+w,!1),I=f+v*T(_)+ap(_,u+w,!1),A="right",E="middle";break;case"insideStartAngle":C=p+v*k(_)+op(_,-u+w,!1),I=f+v*T(_)+ap(_,-u+w,!1),A="left",E="middle";break;case"middle":C=p+v*k(b),I=f+v*T(b),A="center",E="middle";break;case"endArc":C=p+(y+u)*k(b),I=f+(y+u)*T(b),A="center",E="bottom";break;case"insideEndArc":C=p+(y-u)*k(b),I=f+(y-u)*T(b),A="center",E="top";break;case"endAngle":C=p+v*k(m)+op(m,u+w,!0),I=f+v*T(m)+ap(m,u+w,!0),A="left",E="middle";break;case"insideEndAngle":C=p+v*k(m)+op(m,-u+w,!0),I=f+v*T(m)+ap(m,-u+w,!0),A="right",E="middle";break;default:return Vc(r,i,o)}return r=r||{},r.x=C,r.y=I,r.align=A,r.verticalAlign=E,r}}function Gz(n,t,e,r){if(se(r)){n.setTextConfig({rotation:r});return}else if(pt(t)){n.setTextConfig({rotation:0});return}var i=n.shape,o=i.clockwise?i.startAngle:i.endAngle,a=i.clockwise?i.endAngle:i.startAngle,s=(o+a)/2,u,h=e(t);switch(h){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":u=s;break;case"startAngle":case"insideStartAngle":u=o;break;case"endAngle":case"insideEndAngle":u=a;break;default:n.setTextConfig({rotation:0});return}var p=Math.PI*1.5-u;h==="middle"&&p>Math.PI/2&&p<Math.PI*1.5&&(p-=Math.PI),n.setTextConfig({rotation:p})}function op(n,t,e){return t*Math.sin(n)*(e?-1:1)}function ap(n,t,e){return t*Math.cos(n)*(e?1:-1)}function jz(n,t,e){var r=n.get("borderRadius");if(r==null)return{cornerRadius:0};pt(r)||(r=[r,r,r,r]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:xt(r,function(o){return ui(o,i)})}}var Ev=Math.max,Pv=Math.min;function Uz(n,t){var e=n.getArea&&n.getArea();if(Av(n,"cartesian2d")){var r=n.getBaseAxis();if(r.type!=="category"||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(e.x-=i,e.width+=i*2):(e.y-=i,e.height+=i*2)}}return e}var Wz=(function(n){Mt(t,n);function t(){var e=n.call(this)||this;return e.type=t.type,e._isFirstFrame=!0,e}return t.prototype.render=function(e,r,i,o){this._model=e,this._removeOnRenderedListener(i),this._updateDrawMode(e);var a=e.get("coordinateSystem");(a==="cartesian2d"||a==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,r,i):this._renderNormal(e,r,i,o))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,r){this._progressiveEls=[],this._incrementalRenderLarge(e,r)},t.prototype.eachRendered=function(e){xh(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var r=e.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},t.prototype._renderNormal=function(e,r,i,o){var a=this.group,s=e.getData(),u=this._data,h=e.coordinateSystem,p=h.getBaseAxis(),f;h.type==="cartesian2d"?f=p.isHorizontal():h.type==="polar"&&(f=p.dim==="angle");var y=e.isAnimationEnabled()?e:null,g=$z(e,h);g&&this._enableRealtimeSort(g,s,i);var v=e.get("clip",!0)||g,_=Uz(h,s);a.removeClipPath();var m=e.get("roundCap",!0),b=e.get("showBackground",!0),w=e.getModel("backgroundStyle"),k=w.get("borderRadius")||0,T=[],C=this._backgroundEls,I=o&&o.isInitSort,A=o&&o.type==="changeAxisOrder";function E(N){var F=sp[h.type](s,N),G=Jz(h,f,F);return G.useStyle(w.getItemStyle()),h.type==="cartesian2d"?G.setShape("r",k):G.setShape("cornerRadius",k),T[N]=G,G}s.diff(u).add(function(N){var F=s.getItemModel(N),G=sp[h.type](s,N,F);if(b&&E(N),!(!s.hasValue(N)||!QC[h.type](G))){var X=!1;v&&(X=qC[h.type](_,G));var Y=XC[h.type](e,s,N,G,f,y,p.model,!1,m);g&&(Y.forceLabelAnimation=!0),JC(Y,s,N,F,G,e,f,h.type==="polar"),I?Y.attr({shape:G}):g?YC(g,y,Y,G,N,f,!1,!1):Tn(Y,{shape:G},e,N),s.setItemGraphicEl(N,Y),a.add(Y),Y.ignore=X}}).update(function(N,F){var G=s.getItemModel(N),X=sp[h.type](s,N,G);if(b){var Y=void 0;C.length===0?Y=E(F):(Y=C[F],Y.useStyle(w.getItemStyle()),h.type==="cartesian2d"?Y.setShape("r",k):Y.setShape("cornerRadius",k),T[N]=Y);var nt=sp[h.type](s,N),z=r2(f,nt,h);ze(Y,{shape:z},y,N)}var V=u.getItemGraphicEl(F);if(!s.hasValue(N)||!QC[h.type](X)){a.remove(V);return}var J=!1;if(v&&(J=qC[h.type](_,X),J&&a.remove(V)),V?Bw(V):V=XC[h.type](e,s,N,X,f,y,p.model,!!V,m),g&&(V.forceLabelAnimation=!0),A){var at=V.getTextContent();if(at){var Z=Oa(at);Z.prevValue!=null&&(Z.prevValue=Z.value)}}else JC(V,s,N,G,X,e,f,h.type==="polar");I?V.attr({shape:X}):g?YC(g,y,V,X,N,f,!0,A):ze(V,{shape:X},e,N,null),s.setItemGraphicEl(N,V),V.ignore=J,a.add(V)}).remove(function(N){var F=u.getItemGraphicEl(N);F&&_y(F,e,N)}).execute();var P=this._backgroundGroup||(this._backgroundGroup=new Ie);P.removeAll();for(var L=0;L<T.length;++L)P.add(T[L]);a.add(P),this._backgroundEls=T,this._data=s},t.prototype._renderLarge=function(e,r,i){this._clear(),e2(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,r){this._removeBackground(),e2(r,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var r=e.get("clip",!0)&&Fz(e.coordinateSystem,!1,e),i=this.group;r?i.setClipPath(r):i.removeClipPath()},t.prototype._enableRealtimeSort=function(e,r,i){var o=this;if(r.count()){var a=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,e,i),this._isFirstFrame=!1;else{var s=function(u){var h=r.getItemGraphicEl(u),p=h&&h.shape;return p&&Math.abs(a.isHorizontal()?p.height:p.width)||0};this._onRendered=function(){o._updateSortWithinSameData(r,s,a,i)},i.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,r,i){var o=[];return e.each(e.mapDimension(r.dim),function(a,s){var u=i(s);u=u??NaN,o.push({dataIndex:s,mappedValue:u,ordinalNumber:a})}),o.sort(function(a,s){return s.mappedValue-a.mappedValue}),{ordinalNumbers:xt(o,function(a){return a.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(e,r,i){for(var o=i.scale,a=e.mapDimension(i.dim),s=Number.MAX_VALUE,u=0,h=o.getOrdinalMeta().categories.length;u<h;++u){var p=e.rawIndexOf(a,o.getRawOrdinalNumber(u)),f=p<0?Number.MIN_VALUE:r(e.indexOfRawIndex(p));if(f>s)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(e,r){for(var i=r.scale,o=i.getExtent(),a=Math.max(0,o[0]),s=Math.min(o[1],i.getOrdinalMeta().categories.length-1);a<=s;++a)if(e.ordinalNumbers[a]!==i.getRawOrdinalNumber(a))return!0},t.prototype._updateSortWithinSameData=function(e,r,i,o){if(this._isOrderChangedWithinSameData(e,r,i)){var a=this._dataSort(e,i,r);this._isOrderDifferentInView(a,i)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:a}))}},t.prototype._dispatchInitSort=function(e,r,i){var o=r.baseAxis,a=this._dataSort(e,o,function(s){return e.get(e.mapDimension(r.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:a})},t.prototype.remove=function(e,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(e,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var r=this.group,i=this._data;e&&e.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(o){_y(o,e,Bt(o).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t})(Un),qC={cartesian2d:function(n,t){var e=t.width<0?-1:1,r=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=n.x+n.width,o=n.y+n.height,a=Ev(t.x,n.x),s=Pv(t.x+t.width,i),u=Ev(t.y,n.y),h=Pv(t.y+t.height,o),p=s<a,f=h<u;return t.x=p&&a>i?s:a,t.y=f&&u>o?h:u,t.width=p?0:s-a,t.height=f?0:h-u,e<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),p||f},polar:function(n,t){var e=t.r0<=t.r?1:-1;if(e<0){var r=t.r;t.r=t.r0,t.r0=r}var i=Pv(t.r,n.r),o=Ev(t.r0,n.r0);t.r=i,t.r0=o;var a=i-o<0;if(e<0){var r=t.r;t.r=t.r0,t.r0=r}return a}},XC={cartesian2d:function(n,t,e,r,i,o,a,s,u){var h=new xe({shape:ut({},r),z2:1});if(h.__dataIndex=e,h.name="item",o){var p=h.shape,f=i?"height":"width";p[f]=0}return h},polar:function(n,t,e,r,i,o,a,s,u){var h=!i&&u?WC:Da,p=new h({shape:r,z2:1});p.name="item";var f=KC(i);if(p.calculateTextPosition=Vz(f,{isRoundCap:h===WC}),o){var y=p.shape,g=i?"r":"endAngle",v={};y[g]=i?r.r0:r.startAngle,v[g]=r[g],(s?ze:Tn)(p,{shape:v},o)}return p}};function $z(n,t){var e=n.get("realtimeSort",!0),r=t.getBaseAxis();if(e&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function YC(n,t,e,r,i,o,a,s){var u,h;o?(h={x:r.x,width:r.width},u={y:r.y,height:r.height}):(h={y:r.y,height:r.height},u={x:r.x,width:r.width}),s||(a?ze:Tn)(e,{shape:u},t,i,null);var p=t?n.baseAxis.model:null;(a?ze:Tn)(e,{shape:h},p,i)}function ZC(n,t){for(var e=0;e<t.length;e++)if(!isFinite(n[t[e]]))return!0;return!1}var qz=["x","y","width","height"],Xz=["cx","cy","r","startAngle","endAngle"],QC={cartesian2d:function(n){return!ZC(n,qz)},polar:function(n){return!ZC(n,Xz)}},sp={cartesian2d:function(n,t,e){var r=n.getItemLayout(t),i=e?Zz(e,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(n,t,e){var r=n.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function Yz(n){return n.startAngle!=null&&n.endAngle!=null&&n.startAngle===n.endAngle}function KC(n){return(function(t){var e=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+e;default:return r}}})(n)}function JC(n,t,e,r,i,o,a,s){var u=t.getItemVisual(e,"style");if(s){if(!o.get("roundCap")){var h=n.shape,p=jz(r.getModel("itemStyle"),h);ut(h,p),n.setShape(h)}}else{var f=r.get(["itemStyle","borderRadius"])||0;n.setShape("r",f)}n.useStyle(u);var y=r.getShallow("cursor");y&&n.attr("cursor",y);var g=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",v=kh(r);Sh(n,v,{labelFetcher:o,labelDataIndex:e,defaultText:Ov(o.getData(),e),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:g});var _=n.getTextContent();if(s&&_){var m=r.get(["label","position"]);n.textConfig.inside=m==="middle"?!0:null,Gz(n,m==="outside"?g:m,KC(a),r.get(["label","rotate"]))}UL(_,v,o.getRawValue(e),function(w){return $C(t,w)});var b=r.getModel(["emphasis"]);sh(n,b.get("focus"),b.get("blurScope"),b.get("disabled")),ly(n,r),Yz(i)&&(n.style.fill="none",n.style.stroke="none",R(n.states,function(w){w.style&&(w.style.fill=w.style.stroke="none")}))}function Zz(n,t){var e=n.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var r=n.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var Qz=(function(){function n(){}return n})(),t2=(function(n){Mt(t,n);function t(e){var r=n.call(this,e)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new Qz},t.prototype.buildPath=function(e,r){for(var i=r.points,o=this.baseDimIdx,a=1-this.baseDimIdx,s=[],u=[],h=this.barWidth,p=0;p<i.length;p+=3)u[o]=h,u[a]=i[p+2],s[o]=i[p+o],s[a]=i[p+a],e.rect(s[0],s[1],u[0],u[1])},t})(Zt);function e2(n,t,e,r){var i=n.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),u=n.getModel("backgroundStyle"),h=i.getLayout("largeBackgroundPoints");if(h){var p=new t2({shape:{points:h},incremental:!!r,silent:!0,z2:0});p.baseDimIdx=o,p.largeDataIndices=a,p.barWidth=s,p.useStyle(u.getItemStyle()),t.add(p),e&&e.push(p)}var f=new t2({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=o,f.largeDataIndices=a,f.barWidth=s,t.add(f),f.useStyle(i.getVisual("style")),f.style.stroke=null,Bt(f).seriesIndex=n.seriesIndex,n.get("silent")||(f.on("mousedown",n2),f.on("mousemove",n2)),e&&e.push(f)}var n2=ev(function(n){var t=this,e=Kz(t,n.offsetX,n.offsetY);Bt(t).dataIndex=e>=0?e:null},30,!1);function Kz(n,t,e){for(var r=n.baseDimIdx,i=1-r,o=n.shape.points,a=n.largeDataIndices,s=[],u=[],h=n.barWidth,p=0,f=o.length/3;p<f;p++){var y=p*3;if(u[r]=h,u[i]=o[y+2],s[r]=o[y+r],s[i]=o[y+i],u[i]<0&&(s[i]+=u[i],u[i]=-u[i]),t>=s[0]&&t<=s[0]+u[0]&&e>=s[1]&&e<=s[1]+u[1])return a[p]}return-1}function r2(n,t,e){if(Av(e,"cartesian2d")){var r=t,i=e.getArea();return{x:n?r.x:i.x,y:n?i.y:r.y,width:n?r.width:i.width,height:n?i.height:r.height}}else{var i=e.getArea(),o=t;return{cx:i.cx,cy:i.cy,r0:n?i.r0:o.r0,r:n?i.r:o.r,startAngle:n?o.startAngle:0,endAngle:n?o.endAngle:Math.PI*2}}}function Jz(n,t,e){var r=n.type==="polar"?Da:xe;return new r({shape:r2(t,e,n),silent:!0,z2:0})}function t4(n){n.registerChartView(Wz),n.registerSeriesModel(Bz),n.registerLayout(n.PRIORITY.VISUAL.LAYOUT,Se(pz,"bar")),n.registerLayout(n.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,fz("bar")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,FC("bar")),n.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var r=t.componentType||"series";e.eachComponent({mainType:r,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var e4=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e){return Iv(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var r=new Ie,i=Ga("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);r.add(i),i.setStyle(e.lineStyle);var o=this.getData().getVisual("symbol"),a=this.getData().getVisual("symbolRotate"),s=o==="none"?"circle":o,u=e.itemHeight*.8,h=Ga(s,(e.itemWidth-u)/2,(e.itemHeight-u)/2,u,u,e.itemStyle.fill);r.add(h),h.setStyle(e.itemStyle);var p=e.iconRotate==="inherit"?a:e.iconRotate||0;return h.rotation=p*Math.PI/180,h.setOrigin([e.itemWidth/2,e.itemHeight/2]),s.indexOf("empty")>-1&&(h.style.stroke=h.style.fill,h.style.fill="#fff",h.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t})(yr),Nv=(function(n){Mt(t,n);function t(e,r,i,o){var a=n.call(this)||this;return a.updateData(e,r,i,o),a}return t.prototype._createSymbol=function(e,r,i,o,a){this.removeAll();var s=Ga(e,-1,-1,2,2,null,a);s.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),s.drift=n4,this._symbolType=e,this.add(s)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){oh(this.childAt(0))},t.prototype.downplay=function(){ah(this.childAt(0))},t.prototype.setZ=function(e,r){var i=this.childAt(0);i.zlevel=e,i.z=r},t.prototype.setDraggable=function(e,r){var i=this.childAt(0);i.draggable=e,i.cursor=!r&&e?"move":i.cursor},t.prototype.updateData=function(e,r,i,o){this.silent=!1;var a=e.getItemVisual(r,"symbol")||"circle",s=e.hostModel,u=t.getSymbolSize(e,r),h=a!==this._symbolType,p=o&&o.disableAnimation;if(h){var f=e.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,e,r,u,f)}else{var y=this.childAt(0);y.silent=!1;var g={scaleX:u[0]/2,scaleY:u[1]/2};p?y.attr(g):ze(y,g,s,r),Bw(y)}if(this._updateCommon(e,r,u,i,o),h){var y=this.childAt(0);if(!p){var g={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:y.style.opacity}};y.scaleX=y.scaleY=0,y.style.opacity=0,Tn(y,g,s,r)}}p&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,r,i,o,a){var s=this.childAt(0),u=e.hostModel,h,p,f,y,g,v,_,m,b;if(o&&(h=o.emphasisItemStyle,p=o.blurItemStyle,f=o.selectItemStyle,y=o.focus,g=o.blurScope,_=o.labelStatesModels,m=o.hoverScale,b=o.cursorStyle,v=o.emphasisDisabled),!o||e.hasItemOption){var w=o&&o.itemModel?o.itemModel:e.getItemModel(r),k=w.getModel("emphasis");h=k.getModel("itemStyle").getItemStyle(),f=w.getModel(["select","itemStyle"]).getItemStyle(),p=w.getModel(["blur","itemStyle"]).getItemStyle(),y=k.get("focus"),g=k.get("blurScope"),v=k.get("disabled"),_=kh(w),m=k.getShallow("scale"),b=w.getShallow("cursor")}var T=e.getItemVisual(r,"symbolRotate");s.attr("rotation",(T||0)*Math.PI/180||0);var C=Rk(e.getItemVisual(r,"symbolOffset"),i);C&&(s.x=C[0],s.y=C[1]),b&&s.attr("cursor",b);var I=e.getItemVisual(r,"style"),A=I.fill;if(s instanceof di){var E=s.style;s.useStyle(ut({image:E.image,x:E.x,y:E.y,width:E.width,height:E.height},I))}else s.__isEmptyBrush?s.useStyle(ut({},I)):s.useStyle(I),s.style.decal=null,s.setColor(A,a&&a.symbolInnerColor),s.style.strokeNoScale=!0;var P=e.getItemVisual(r,"liftZ"),L=this._z2;P!=null?L==null&&(this._z2=s.z2,s.z2+=P):L!=null&&(s.z2=L,this._z2=null);var N=a&&a.useNameLabel;Sh(s,_,{labelFetcher:u,labelDataIndex:r,defaultText:F,inheritColor:A,defaultOpacity:I.opacity});function F(Y){return N?e.getName(Y):Ov(e,Y)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var G=s.ensureState("emphasis");G.style=h,s.ensureState("select").style=f,s.ensureState("blur").style=p;var X=m==null||m===!0?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;G.scaleX=this._sizeX*X,G.scaleY=this._sizeY*X,this.setSymbolScale(1),sh(this,y,g,v)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,r,i){var o=this.childAt(0),a=Bt(this).dataIndex,s=i&&i.animation;if(this.silent=o.silent=!0,i&&i.fadeLabel){var u=o.getTextContent();u&&vh(u,{style:{opacity:0}},r,{dataIndex:a,removeOpt:s,cb:function(){o.removeTextContent()}})}else o.removeTextContent();vh(o,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:e,removeOpt:s})},t.getSymbolSize=function(e,r){return p5(e.getItemVisual(r,"symbolSize"))},t})(Ie);function n4(n,t){this.parent.drift(n,t)}function Lv(n,t,e,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(e))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&n.getItemVisual(e,"symbol")!=="none"}function i2(n){return n!=null&&!mt(n)&&(n={isIgnore:n}),n||{}}function o2(n){var t=n.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:kh(t),cursorStyle:t.get("cursor")}}var r4=(function(){function n(t){this.group=new Ie,this._SymbolCtor=t||Nv}return n.prototype.updateData=function(t,e){this._progressiveEls=null,e=i2(e);var r=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=e.disableAnimation,u=o2(t),h={disableAnimation:s},p=e.getSymbolPoint||function(f){return t.getItemLayout(f)};o||r.removeAll(),t.diff(o).add(function(f){var y=p(f);if(Lv(t,y,f,e)){var g=new a(t,f,u,h);g.setPosition(y),t.setItemGraphicEl(f,g),r.add(g)}}).update(function(f,y){var g=o.getItemGraphicEl(y),v=p(f);if(!Lv(t,v,f,e)){r.remove(g);return}var _=t.getItemVisual(f,"symbol")||"circle",m=g&&g.getSymbolType&&g.getSymbolType();if(!g||m&&m!==_)r.remove(g),g=new a(t,f,u,h),g.setPosition(v);else{g.updateData(t,f,u,h);var b={x:v[0],y:v[1]};s?g.attr(b):ze(g,b,i)}r.add(g),t.setItemGraphicEl(f,g)}).remove(function(f){var y=o.getItemGraphicEl(f);y&&y.fadeOut(function(){r.remove(y)},i)}).execute(),this._getSymbolPoint=p,this._data=t},n.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(r,i){var o=t._getSymbolPoint(i);r.setPosition(o),r.markRedraw()})},n.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=o2(t),this._data=null,this.group.removeAll()},n.prototype.incrementalUpdate=function(t,e,r){this._progressiveEls=[],r=i2(r);function i(u){u.isGroup||(u.incremental=!0,u.ensureState("emphasis").hoverLayer=!0)}for(var o=t.start;o<t.end;o++){var a=e.getItemLayout(o);if(Lv(e,a,o,r)){var s=new this._SymbolCtor(e,o,this._seriesScope);s.traverse(i),s.setPosition(a),this.group.add(s),e.setItemGraphicEl(o,s),this._progressiveEls.push(s)}}},n.prototype.eachRendered=function(t){xh(this._progressiveEls||this.group,t)},n.prototype.remove=function(t){var e=this.group,r=this._data;r&&t?r.eachItemGraphicEl(function(i){i.fadeOut(function(){e.remove(i)},r.hostModel)}):e.removeAll()},n})();function a2(n,t,e){var r=n.getBaseAxis(),i=n.getOtherAxis(r),o=i4(i,e),a=r.dim,s=i.dim,u=t.mapDimension(s),h=t.mapDimension(a),p=s==="x"||s==="radius"?1:0,f=xt(n.dimensions,function(v){return t.mapDimension(v)}),y=!1,g=t.getCalculationInfo("stackResultDimension");return Wa(t,f[0])&&(y=!0,f[0]=g),Wa(t,f[1])&&(y=!0,f[1]=g),{dataDimsForPoint:f,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!y,valueDim:u,baseDim:h,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function i4(n,t){var e=0,r=n.scale.getExtent();return t==="start"?e=r[0]:t==="end"?e=r[1]:se(t)&&!isNaN(t)?e=t:r[0]>0?e=r[0]:r[1]<0&&(e=r[1]),e}function s2(n,t,e,r){var i=NaN;n.stacked&&(i=e.get(e.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=n.valueStart);var o=n.baseDataOffset,a=[];return a[o]=e.get(n.baseDim,r),a[1-o]=i,t.dataToPoint(a)}function o4(n,t){var e=[];return t.diff(n).add(function(r){e.push({cmd:"+",idx:r})}).update(function(r,i){e.push({cmd:"=",idx:i,idx1:r})}).remove(function(r){e.push({cmd:"-",idx:r})}).execute(),e}function a4(n,t,e,r,i,o,a,s){for(var u=o4(n,t),h=[],p=[],f=[],y=[],g=[],v=[],_=[],m=a2(i,t,a),b=n.getLayout("points")||[],w=t.getLayout("points")||[],k=0;k<u.length;k++){var T=u[k],C=!0,I=void 0,A=void 0;switch(T.cmd){case"=":I=T.idx*2,A=T.idx1*2;var E=b[I],P=b[I+1],L=w[A],N=w[A+1];(isNaN(E)||isNaN(P))&&(E=L,P=N),h.push(E,P),p.push(L,N),f.push(e[I],e[I+1]),y.push(r[A],r[A+1]),_.push(t.getRawIndex(T.idx1));break;case"+":var F=T.idx,G=m.dataDimsForPoint,X=i.dataToPoint([t.get(G[0],F),t.get(G[1],F)]);A=F*2,h.push(X[0],X[1]),p.push(w[A],w[A+1]);var Y=s2(m,i,t,F);f.push(Y[0],Y[1]),y.push(r[A],r[A+1]),_.push(t.getRawIndex(F));break;case"-":C=!1}C&&(g.push(T),v.push(v.length))}v.sort(function(et,W){return _[et]-_[W]});for(var nt=h.length,z=Nr(nt),V=Nr(nt),J=Nr(nt),at=Nr(nt),Z=[],k=0;k<v.length;k++){var q=v[k],U=k*2,K=q*2;z[U]=h[K],z[U+1]=h[K+1],V[U]=p[K],V[U+1]=p[K+1],J[U]=f[K],J[U+1]=f[K+1],at[U]=y[K],at[U+1]=y[K+1],Z[k]=g[q]}return{current:z,next:V,stackedOnCurrent:J,stackedOnNext:at,status:Z}}var Si=Math.min,ki=Math.max;function xo(n,t){return isNaN(n)||isNaN(t)}function Rv(n,t,e,r,i,o,a,s,u){for(var h,p,f,y,g,v,_=e,m=0;m<r;m++){var b=t[_*2],w=t[_*2+1];if(_>=i||_<0)break;if(xo(b,w)){if(u){_+=o;continue}break}if(_===e)n[o>0?"moveTo":"lineTo"](b,w),f=b,y=w;else{var k=b-h,T=w-p;if(k*k+T*T<.5){_+=o;continue}if(a>0){for(var C=_+o,I=t[C*2],A=t[C*2+1];I===b&&A===w&&m<r;)m++,C+=o,_+=o,I=t[C*2],A=t[C*2+1],b=t[_*2],w=t[_*2+1],k=b-h,T=w-p;var E=m+1;if(u)for(;xo(I,A)&&E<r;)E++,C+=o,I=t[C*2],A=t[C*2+1];var P=.5,L=0,N=0,F=void 0,G=void 0;if(E>=r||xo(I,A))g=b,v=w;else{L=I-h,N=A-p;var X=b-h,Y=I-b,nt=w-p,z=A-w,V=void 0,J=void 0;if(s==="x"){V=Math.abs(X),J=Math.abs(Y);var at=L>0?1:-1;g=b-at*V*a,v=w,F=b+at*J*a,G=w}else if(s==="y"){V=Math.abs(nt),J=Math.abs(z);var Z=N>0?1:-1;g=b,v=w-Z*V*a,F=b,G=w+Z*J*a}else V=Math.sqrt(X*X+nt*nt),J=Math.sqrt(Y*Y+z*z),P=J/(J+V),g=b-L*a*(1-P),v=w-N*a*(1-P),F=b+L*a*P,G=w+N*a*P,F=Si(F,ki(I,b)),G=Si(G,ki(A,w)),F=ki(F,Si(I,b)),G=ki(G,Si(A,w)),L=F-b,N=G-w,g=b-L*V/J,v=w-N*V/J,g=Si(g,ki(h,b)),v=Si(v,ki(p,w)),g=ki(g,Si(h,b)),v=ki(v,Si(p,w)),L=b-g,N=w-v,F=b+L*J/V,G=w+N*J/V}n.bezierCurveTo(f,y,g,v,b,w),f=F,y=G}else n.lineTo(b,w)}h=b,p=w,_+=o}return m}var l2=(function(){function n(){this.smooth=0,this.smoothConstraint=!0}return n})(),s4=(function(n){Mt(t,n);function t(e){var r=n.call(this,e)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new l2},t.prototype.buildPath=function(e,r){var i=r.points,o=0,a=i.length/2;if(r.connectNulls){for(;a>0&&xo(i[a*2-2],i[a*2-1]);a--);for(;o<a&&xo(i[o*2],i[o*2+1]);o++);}for(;o<a;)o+=Rv(e,i,o,a,a,1,r.smooth,r.smoothMonotone,r.connectNulls)+1},t.prototype.getPointOn=function(e,r){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i=this.path,o=i.data,a=pi.CMD,s,u,h=r==="x",p=[],f=0;f<o.length;){var y=o[f++],g=void 0,v=void 0,_=void 0,m=void 0,b=void 0,w=void 0,k=void 0;switch(y){case a.M:s=o[f++],u=o[f++];break;case a.L:if(g=o[f++],v=o[f++],k=h?(e-s)/(g-s):(e-u)/(v-u),k<=1&&k>=0){var T=h?(v-u)*k+u:(g-s)*k+s;return h?[e,T]:[T,e]}s=g,u=v;break;case a.C:g=o[f++],v=o[f++],_=o[f++],m=o[f++],b=o[f++],w=o[f++];var C=h?Cc(s,g,_,b,e,p):Cc(u,v,m,w,e,p);if(C>0)for(var I=0;I<C;I++){var A=p[I];if(A<=1&&A>=0){var T=h?ke(u,v,m,w,A):ke(s,g,_,b,A);return h?[e,T]:[T,e]}}s=b,u=w;break}}},t})(Zt),l4=(function(n){Mt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t})(l2),u4=(function(n){Mt(t,n);function t(e){var r=n.call(this,e)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new l4},t.prototype.buildPath=function(e,r){var i=r.points,o=r.stackedOnPoints,a=0,s=i.length/2,u=r.smoothMonotone;if(r.connectNulls){for(;s>0&&xo(i[s*2-2],i[s*2-1]);s--);for(;a<s&&xo(i[a*2],i[a*2+1]);a++);}for(;a<s;){var h=Rv(e,i,a,s,s,1,r.smooth,u,r.connectNulls);Rv(e,o,a+h-1,h,s,-1,r.stackedOnSmooth,u,r.connectNulls),a+=h+1,e.closePath()}},t})(Zt);function u2(n,t){if(n.length===t.length){for(var e=0;e<n.length;e++)if(n[e]!==t[e])return;return!0}}function c2(n){for(var t=1/0,e=1/0,r=-1/0,i=-1/0,o=0;o<n.length;){var a=n[o++],s=n[o++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(e=Math.min(s,e),i=Math.max(s,i))}return[[t,e],[r,i]]}function h2(n,t){var e=c2(n),r=e[0],i=e[1],o=c2(t),a=o[0],s=o[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function p2(n){return se(n)?n:n?.5:0}function c4(n,t,e){if(!e.valueDim)return[];for(var r=t.count(),i=Nr(r*2),o=0;o<r;o++){var a=s2(e,n,t,o);i[o*2]=a[0],i[o*2+1]=a[1]}return i}function Ci(n,t,e,r,i){var o=e.getBaseAxis(),a=o.dim==="x"||o.dim==="radius"?0:1,s=[],u=0,h=[],p=[],f=[],y=[];if(i){for(u=0;u<n.length;u+=2){var g=t||n;!isNaN(g[u])&&!isNaN(g[u+1])&&y.push(n[u],n[u+1])}n=y}for(u=0;u<n.length-2;u+=2)switch(f[0]=n[u+2],f[1]=n[u+3],p[0]=n[u],p[1]=n[u+1],s.push(p[0],p[1]),r){case"end":h[a]=f[a],h[1-a]=p[1-a],s.push(h[0],h[1]);break;case"middle":var v=(p[a]+f[a])/2,_=[];h[a]=_[a]=v,h[1-a]=p[1-a],_[1-a]=f[1-a],s.push(h[0],h[1]),s.push(_[0],_[1]);break;default:h[a]=p[a],h[1-a]=f[1-a],s.push(h[0],h[1])}return s.push(n[u++],n[u++]),s}function h4(n,t){var e=[],r=n.length,i,o;function a(p,f,y){var g=p.coord,v=(y-g)/(f.coord-g),_=RE(v,[p.color,f.color]);return{coord:y,color:_}}for(var s=0;s<r;s++){var u=n[s],h=u.coord;if(h<0)i=u;else if(h>t){o?e.push(a(o,u,t)):i&&e.push(a(i,u,0),a(i,u,t));break}else i&&(e.push(a(i,u,0)),i=null),e.push(u),o=u}return e}function p4(n,t,e){var r=n.getVisual("visualMeta");if(!(!r||!r.length||!n.count())&&t.type==="cartesian2d"){for(var i,o,a=r.length-1;a>=0;a--){var s=n.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){o=r[a];break}}if(o){var u=t.getAxis(i),h=xt(o.stops,function(k){return{coord:u.toGlobalCoord(u.dataToCoord(k.value)),color:k.color}}),p=h.length,f=o.outerColors.slice();p&&h[0].coord>h[p-1].coord&&(h.reverse(),f.reverse());var y=h4(h,i==="x"?e.getWidth():e.getHeight()),g=y.length;if(!g&&p)return h[0].coord<0?f[1]?f[1]:h[p-1].color:f[0]?f[0]:h[0].color;var v=10,_=y[0].coord-v,m=y[g-1].coord+v,b=m-_;if(b<.001)return"transparent";R(y,function(k){k.offset=(k.coord-_)/b}),y.push({offset:g?y[g-1].offset:.5,color:f[1]||"transparent"}),y.unshift({offset:g?y[0].offset:.5,color:f[0]||"transparent"});var w=new Rw(0,0,0,0,y,!0);return w[i]=_,w[i+"2"]=m,w}}}function f4(n,t,e){var r=n.get("showAllSymbol"),i=r==="auto";if(!(r&&!i)){var o=e.getAxesByScale("ordinal")[0];if(o&&!(i&&d4(o,t))){var a=t.mapDimension(o.dim),s={};return R(o.getViewLabels(),function(u){var h=o.scale.getRawOrdinalNumber(u.tickValue);s[h]=1}),function(u){return!s.hasOwnProperty(t.get(a,u))}}}}function d4(n,t){var e=n.getExtent(),r=Math.abs(e[1]-e[0])/n.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(Nv.getSymbolSize(t,a)[n.isHorizontal()?1:0]*1.5>r)return!1;return!0}function g4(n,t){return isNaN(n)||isNaN(t)}function y4(n){for(var t=n.length/2;t>0&&g4(n[t*2-2],n[t*2-1]);t--);return t-1}function f2(n,t){return[n[t*2],n[t*2+1]]}function v4(n,t,e){for(var r=n.length/2,i=e==="x"?0:1,o,a,s=0,u=-1,h=0;h<r;h++)if(a=n[h*2+i],!(isNaN(a)||isNaN(n[h*2+1-i]))){if(h===0){o=a;continue}if(o<=t&&a>=t||o>=t&&a<=t){u=h;break}s=h,o=a}return{range:[s,u],t:(t-o)/(a-o)}}function d2(n){if(n.get(["endLabel","show"]))return!0;for(var t=0;t<Mn.length;t++)if(n.get([Mn[t],"endLabel","show"]))return!0;return!1}function zv(n,t,e,r){if(Av(t,"cartesian2d")){var i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},u=d2(r)?function(g,v){n._endLabelOnDuring(g,v,a,s,o,i,t)}:null,h=t.getBaseAxis().isHorizontal(),p=jC(t,e,r,function(){var g=n._endLabel;g&&e&&s.originalX!=null&&g.attr({x:s.originalX,y:s.originalY})},u);if(!r.get("clip",!0)){var f=p.shape,y=Math.max(f.width,f.height);h?(f.y-=y,f.height+=y*2):(f.x-=y,f.width+=y*2)}return u&&u(1,p),p}else return UC(t,e,r)}function m4(n,t){var e=t.getBaseAxis(),r=e.isHorizontal(),i=e.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:n.get("align")||o,verticalAlign:n.get("verticalAlign")||a}}}var _4=(function(n){Mt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.init=function(){var e=new Ie,r=new r4;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=e,this._changePolyState=le(this._changePolyState,this)},t.prototype.render=function(e,r,i){var o=e.coordinateSystem,a=this.group,s=e.getData(),u=e.getModel("lineStyle"),h=e.getModel("areaStyle"),p=s.getLayout("points")||[],f=o.type==="polar",y=this._coordSys,g=this._symbolDraw,v=this._polyline,_=this._polygon,m=this._lineGroup,b=!r.ssr&&e.get("animation"),w=!h.isEmpty(),k=h.get("origin"),T=a2(o,s,k),C=w&&c4(o,s,T),I=e.get("showSymbol"),A=e.get("connectNulls"),E=I&&!f&&f4(e,s,o),P=this._data;P&&P.eachItemGraphicEl(function(et,W){et.__temp&&(a.remove(et),P.setItemGraphicEl(W,null))}),I||g.remove(),a.add(m);var L=f?!1:e.get("step"),N;o&&o.getArea&&e.get("clip",!0)&&(N=o.getArea(),N.width!=null?(N.x-=.1,N.y-=.1,N.width+=.2,N.height+=.2):N.r0&&(N.r0-=.5,N.r+=.5)),this._clipShapeForSymbol=N;var F=p4(s,o,i)||s.getVisual("style")[s.getVisual("drawType")];if(!(v&&y.type===o.type&&L===this._step))I&&g.updateData(s,{isIgnore:E,clipShape:N,disableAnimation:!0,getSymbolPoint:function(et){return[p[et*2],p[et*2+1]]}}),b&&this._initSymbolLabelAnimation(s,o,N),L&&(C&&(C=Ci(C,p,o,L,A)),p=Ci(p,null,o,L,A)),v=this._newPolyline(p),w?_=this._newPolygon(p,C):_&&(m.remove(_),_=this._polygon=null),f||this._initOrUpdateEndLabel(e,o,fo(F)),m.setClipPath(zv(this,o,!0,e));else{w&&!_?_=this._newPolygon(p,C):_&&!w&&(m.remove(_),_=this._polygon=null),f||this._initOrUpdateEndLabel(e,o,fo(F));var G=m.getClipPath();if(G){var X=zv(this,o,!1,e);Tn(G,{shape:X.shape},e)}else m.setClipPath(zv(this,o,!0,e));I&&g.updateData(s,{isIgnore:E,clipShape:N,disableAnimation:!0,getSymbolPoint:function(et){return[p[et*2],p[et*2+1]]}}),(!u2(this._stackedOnPoints,C)||!u2(this._points,p))&&(b?this._doUpdateAnimation(s,C,o,i,L,k,A):(L&&(C&&(C=Ci(C,p,o,L,A)),p=Ci(p,null,o,L,A)),v.setShape({points:p}),_&&_.setShape({points:p,stackedOnPoints:C})))}var Y=e.getModel("emphasis"),nt=Y.get("focus"),z=Y.get("blurScope"),V=Y.get("disabled");if(v.useStyle(qt(u.getLineStyle(),{fill:"none",stroke:F,lineJoin:"bevel"})),ly(v,e,"lineStyle"),v.style.lineWidth>0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var J=v.getState("emphasis").style;J.lineWidth=+v.style.lineWidth+1}Bt(v).seriesIndex=e.seriesIndex,sh(v,nt,z,V);var at=p2(e.get("smooth")),Z=e.get("smoothMonotone");if(v.setShape({smooth:at,smoothMonotone:Z,connectNulls:A}),_){var q=s.getCalculationInfo("stackedOnSeries"),U=0;_.useStyle(qt(h.getAreaStyle(),{fill:F,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),q&&(U=p2(q.get("smooth"))),_.setShape({smooth:at,stackedOnSmooth:U,smoothMonotone:Z,connectNulls:A}),ly(_,e,"areaStyle"),Bt(_).seriesIndex=e.seriesIndex,sh(_,nt,z,V)}var K=this._changePolyState;s.eachItemGraphicEl(function(et){et&&(et.onHoverStateChange=K)}),this._polyline.onHoverStateChange=K,this._data=s,this._coordSys=o,this._stackedOnPoints=C,this._points=p,this._step=L,this._valueOrigin=k,e.get("triggerLineEvent")&&(this.packEventData(e,v),_&&this.packEventData(e,_))},t.prototype.packEventData=function(e,r){Bt(r).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,r,i,o){var a=e.getData(),s=Ki(a,o);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var u=a.getLayout("points"),h=a.getItemGraphicEl(s);if(!h){var p=u[s*2],f=u[s*2+1];if(isNaN(p)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(p,f))return;var y=e.get("zlevel")||0,g=e.get("z")||0;h=new Nv(a,s),h.x=p,h.y=f,h.setZ(y,g);var v=h.getSymbolPath().getTextContent();v&&(v.zlevel=y,v.z=g,v.z2=this._polyline.z2+1),h.__temp=!0,a.setItemGraphicEl(s,h),h.stopSymbolAnimation(!0),this.group.add(h)}h.highlight()}else Un.prototype.highlight.call(this,e,r,i,o)},t.prototype.downplay=function(e,r,i,o){var a=e.getData(),s=Ki(a,o);if(this._changePolyState("normal"),s!=null&&s>=0){var u=a.getItemGraphicEl(s);u&&(u.__temp?(a.setItemGraphicEl(s,null),this.group.remove(u)):u.downplay())}else Un.prototype.downplay.call(this,e,r,i,o)},t.prototype._changePolyState=function(e){var r=this._polygon;pw(this._polyline,e),r&&pw(r,e)},t.prototype._newPolyline=function(e){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new s4({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(e,r){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new u4({shape:{points:e,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(e,r,i){var o,a,s=r.getBaseAxis(),u=s.inverse;r.type==="cartesian2d"?(o=s.isHorizontal(),a=!1):r.type==="polar"&&(o=s.dim==="angle",a=!0);var h=e.hostModel,p=h.get("animationDuration");At(p)&&(p=p(null));var f=h.get("animationDelay")||0,y=At(f)?f(null):f;e.eachItemGraphicEl(function(g,v){var _=g;if(_){var m=[g.x,g.y],b=void 0,w=void 0,k=void 0;if(i)if(a){var T=i,C=r.pointToCoord(m);o?(b=T.startAngle,w=T.endAngle,k=-C[1]/180*Math.PI):(b=T.r0,w=T.r,k=C[0])}else{var I=i;o?(b=I.x,w=I.x+I.width,k=g.x):(b=I.y+I.height,w=I.y,k=g.y)}var A=w===b?0:(k-b)/(w-b);u&&(A=1-A);var E=At(f)?f(v):p*A+y,P=_.getSymbolPath(),L=P.getTextContent();_.attr({scaleX:0,scaleY:0}),_.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:E}),L&&L.animateFrom({style:{opacity:0}},{duration:300,delay:E}),P.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,r,i){var o=e.getModel("endLabel");if(d2(e)){var a=e.getData(),s=this._polyline,u=a.getLayout("points");if(!u){s.removeTextContent(),this._endLabel=null;return}var h=this._endLabel;h||(h=this._endLabel=new Le({z2:200}),h.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var p=y4(u);p>=0&&(Sh(s,kh(e,"endLabel"),{inheritColor:i,labelFetcher:e,labelDataIndex:p,defaultText:function(f,y,g){return g!=null?$C(a,g):Ov(a,f)},enableTextSetter:!0},m4(o,r)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,r,i,o,a,s,u){var h=this._endLabel,p=this._polyline;if(h){e<1&&o.originalX==null&&(o.originalX=h.x,o.originalY=h.y);var f=i.getLayout("points"),y=i.hostModel,g=y.get("connectNulls"),v=s.get("precision"),_=s.get("distance")||0,m=u.getBaseAxis(),b=m.isHorizontal(),w=m.inverse,k=r.shape,T=w?b?k.x:k.y+k.height:b?k.x+k.width:k.y,C=(b?_:0)*(w?-1:1),I=(b?0:-_)*(w?-1:1),A=b?"x":"y",E=v4(f,T,A),P=E.range,L=P[1]-P[0],N=void 0;if(L>=1){if(L>1&&!g){var F=f2(f,P[0]);h.attr({x:F[0]+C,y:F[1]+I}),a&&(N=y.getRawValue(P[0]))}else{var F=p.getPointOn(T,A);F&&h.attr({x:F[0]+C,y:F[1]+I});var G=y.getRawValue(P[0]),X=y.getRawValue(P[1]);a&&(N=Ex(i,v,G,X,E.t))}o.lastFrameIndex=P[0]}else{var Y=e===1||o.lastFrameIndex>0?P[0]:0,F=f2(f,Y);a&&(N=y.getRawValue(Y)),h.attr({x:F[0]+C,y:F[1]+I})}if(a){var nt=Oa(h);typeof nt.setLabelText=="function"&&nt.setLabelText(N)}}},t.prototype._doUpdateAnimation=function(e,r,i,o,a,s,u){var h=this._polyline,p=this._polygon,f=e.hostModel,y=a4(this._data,e,this._stackedOnPoints,r,this._coordSys,i,this._valueOrigin),g=y.current,v=y.stackedOnCurrent,_=y.next,m=y.stackedOnNext;if(a&&(v=Ci(y.stackedOnCurrent,y.current,i,a,u),g=Ci(y.current,null,i,a,u),m=Ci(y.stackedOnNext,y.next,i,a,u),_=Ci(y.next,null,i,a,u)),h2(g,_)>3e3||p&&h2(v,m)>3e3){h.stopAnimation(),h.setShape({points:_}),p&&(p.stopAnimation(),p.setShape({points:_,stackedOnPoints:m}));return}h.shape.__points=y.current,h.shape.points=g;var b={shape:{points:_}};y.current!==g&&(b.shape.__points=y.next),h.stopAnimation(),ze(h,b,f),p&&(p.setShape({points:g,stackedOnPoints:v}),p.stopAnimation(),ze(p,{shape:{stackedOnPoints:m}},f),h.shape.points!==p.shape.points&&(p.shape.points=h.shape.points));for(var w=[],k=y.status,T=0;T<k.length;T++){var C=k[T].cmd;if(C==="="){var I=e.getItemGraphicEl(k[T].idx1);I&&w.push({el:I,ptIdx:T})}}h.animators&&h.animators.length&&h.animators[0].during(function(){p&&p.dirtyShape();for(var A=h.shape.__points,E=0;E<w.length;E++){var P=w[E].el,L=w[E].ptIdx*2;P.x=A[L],P.y=A[L+1],P.markRedraw()}})},t.prototype.remove=function(e){var r=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(o,a){o.__temp&&(r.remove(o),i.setItemGraphicEl(a,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t})(Un);function b4(n,t){return{seriesType:n,plan:tv(),reset:function(e){var r=e.getData(),i=e.coordinateSystem;if(e.pipelineContext,!!i){var o=xt(i.dimensions,function(f){return r.mapDimension(f)}).slice(0,2),a=o.length,s=r.getCalculationInfo("stackResultDimension");Wa(r,o[0])&&(o[0]=s),Wa(r,o[1])&&(o[1]=s);var u=r.getStore(),h=r.getDimensionIndex(o[0]),p=r.getDimensionIndex(o[1]);return a&&{progress:function(f,y){for(var g=f.end-f.start,v=Nr(g*a),_=[],m=[],b=f.start,w=0;b<f.end;b++){var k=void 0;if(a===1){var T=u.get(h,b);k=i.dataToPoint(T,null,m)}else _[0]=u.get(h,b),_[1]=u.get(p,b),k=i.dataToPoint(_,null,m);v[w++]=k[0],v[w++]=k[1]}y.setLayout("points",v)}}}}}}function x4(n){n.registerChartView(_4),n.registerSeriesModel(e4),n.registerLayout(b4("line")),n.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",r)}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,FC("line"))}function w4(n,t){var e={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return S4(e,n,t),e.seriesInvolved&&C4(e,n),e}function S4(n,t,e){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),o=i.get("link",!0)||[],a=[];R(e.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var u=$l(s.model),h=n.coordSysAxesInfo[u]={};n.coordSysMap[u]=s;var p=s.model,f=p.getModel("tooltip",r);if(R(s.getAxes(),Se(_,!1,null)),s.getTooltipAxes&&r&&f.get("show")){var y=f.get("trigger")==="axis",g=f.get(["axisPointer","type"])==="cross",v=s.getTooltipAxes(f.get(["axisPointer","axis"]));(y||g)&&R(v.baseAxes,Se(_,g?"cross":!0,y)),g&&R(v.otherAxes,Se(_,"cross",!1))}function _(m,b,w){var k=w.model.getModel("axisPointer",i),T=k.get("show");if(!(!T||T==="auto"&&!m&&!Hv(k))){b==null&&(b=k.get("triggerTooltip")),k=m?k4(w,f,i,t,m,b):k;var C=k.get("snap"),I=k.get("triggerEmphasis"),A=$l(w.model),E=b||C||w.type==="category",P=n.axesInfo[A]={key:A,axis:w,coordSys:s,axisPointerModel:k,triggerTooltip:b,triggerEmphasis:I,involveSeries:E,snap:C,useHandle:Hv(k),seriesModels:[],linkGroup:null};h[A]=P,n.seriesInvolved=n.seriesInvolved||E;var L=M4(o,w);if(L!=null){var N=a[L]||(a[L]={axesInfo:{}});N.axesInfo[A]=P,N.mapper=o[L].mapper,P.linkGroup=N}}}})}function k4(n,t,e,r,i,o){var a=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],u={};R(s,function(y){u[y]=Ht(a.get(y))}),u.snap=n.type!=="category"&&!!o,a.get("type")==="cross"&&(u.type="line");var h=u.label||(u.label={});if(h.show==null&&(h.show=!1),i==="cross"){var p=a.get(["label","show"]);if(h.show=p??!0,!o){var f=u.lineStyle=a.get("crossStyle");f&&qt(h,f.textStyle)}}return n.model.getModel("axisPointer",new fe(u,e,r))}function C4(n,t){t.eachSeries(function(e){var r=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),o=e.get(["tooltip","show"],!0);!r||i==="none"||i===!1||i==="item"||o===!1||e.get(["axisPointer","show"],!0)===!1||R(n.coordSysAxesInfo[$l(r.model)],function(a){var s=a.axis;r.getAxis(s.dim)===s&&(a.seriesModels.push(e),a.seriesDataCount==null&&(a.seriesDataCount=0),a.seriesDataCount+=e.getData().count())})})}function M4(n,t){for(var e=t.model,r=t.dim,i=0;i<n.length;i++){var o=n[i]||{};if(Bv(o[r+"AxisId"],e.id)||Bv(o[r+"AxisIndex"],e.componentIndex)||Bv(o[r+"AxisName"],e.name))return i}}function Bv(n,t){return n==="all"||pt(n)&&Xt(n,t)>=0||n===t}function T4(n){var t=Fv(n);if(t){var e=t.axisPointerModel,r=t.axis.scale,i=e.option,o=e.get("status"),a=e.get("value");a!=null&&(a=r.parse(a));var s=Hv(e);o==null&&(i.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(a==null||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function Fv(n){var t=(n.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[$l(n)]}function I4(n){var t=Fv(n);return t&&t.axisPointerModel}function Hv(n){return!!n.get(["handle","show"])}function $l(n){return n.type+"||"+n.id}var g2={},y2=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,r,i,o){this.axisPointerClass&&T4(e),n.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},t.prototype.updateAxisPointer=function(e,r,i,o){this._doUpdateAxisPointerClass(e,i,!1)},t.prototype.remove=function(e,r){var i=this._axisPointer;i&&i.remove(r)},t.prototype.dispose=function(e,r){this._disposeAxisPointer(r),n.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,r,i){var o=t.getAxisPointerClass(this.axisPointerClass);if(o){var a=I4(e);a?(this._axisPointer||(this._axisPointer=new o)).render(e,a,r,i):this._disposeAxisPointer(r)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,r){g2[e]=r},t.getAxisPointerClass=function(e){return e&&g2[e]},t.type="axis",t})(On),wo=pe(),v2=Ht,Vv=le,D4=(function(){function n(){this._dragging=!1,this.animationThreshold=15}return n.prototype.render=function(t,e,r,i){var o=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=r,!(!i&&this._lastValue===o&&this._lastStatus===a)){this._lastValue=o,this._lastStatus=a;var s=this._group,u=this._handle;if(!a||a==="hide"){s&&s.hide(),u&&u.hide();return}s&&s.show(),u&&u.show();var h={};this.makeElOption(h,o,t,e,r);var p=h.graphicKey;p!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=p;var f=this._moveAnimation=this.determineAnimation(t,e);if(!s)s=this._group=new Ie,this.createPointerEl(s,h,t,e),this.createLabelEl(s,h,t,e),r.getZr().add(s);else{var y=Se(m2,e,f);this.updatePointerEl(s,h,y),this.updateLabelEl(s,h,y,e)}x2(s,e,!0),this._renderHandle(o)}},n.prototype.remove=function(t){this.clear(t)},n.prototype.dispose=function(t){this.clear(t)},n.prototype.determineAnimation=function(t,e){var r=e.get("animation"),i=t.axis,o=i.type==="category",a=e.get("snap");if(!a&&!o)return!1;if(r==="auto"||r==null){var s=this.animationThreshold;if(o&&i.getBandWidth()>s)return!0;if(a){var u=Fv(t).seriesDataCount,h=i.getExtent();return Math.abs(h[0]-h[1])/u>s}return!1}return r===!0},n.prototype.makeElOption=function(t,e,r,i,o){},n.prototype.createPointerEl=function(t,e,r,i){var o=e.pointer;if(o){var a=wo(t).pointerEl=new HL[o.type](v2(e.pointer));t.add(a)}},n.prototype.createLabelEl=function(t,e,r,i){if(e.label){var o=wo(t).labelEl=new Le(v2(e.label));t.add(o),b2(o,i)}},n.prototype.updatePointerEl=function(t,e,r){var i=wo(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),r(i,{shape:e.pointer.shape}))},n.prototype.updateLabelEl=function(t,e,r,i){var o=wo(t).labelEl;o&&(o.setStyle(e.label.style),r(o,{x:e.label.x,y:e.label.y}),b2(o,i))},n.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=e.getModel("handle"),a=e.get("status");if(!o.get("show")||!a||a==="hide"){i&&r.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=Sy(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(h){Tb(h.event)},onmousedown:Vv(this._onHandleDragMove,this,0,0),drift:Vv(this._onHandleDragMove,this),ondragend:Vv(this._onHandleDragEnd,this)}),r.add(i)),x2(i,e,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=o.get("size");pt(u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,wk(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},n.prototype._moveHandleToValue=function(t,e){m2(this._axisPointerModel,!e&&this._moveAnimation,this._handle,Gv(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},n.prototype._onHandleDragMove=function(t,e){var r=this._handle;if(r){this._dragging=!0;var i=this.updateHandleTransform(Gv(r),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,r.stopAnimation(),r.attr(Gv(i)),wo(r).lastProp=null,this._doDispatchAxisPointer()}},n.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},n.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},n.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),r=this._group,i=this._handle;e&&r&&(this._lastGraphicKey=null,r&&e.remove(r),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),nv(this,"_doDispatchAxisPointer")},n.prototype.doClear=function(){},n.prototype.buildLabel=function(t,e,r){return r=r||0,{x:t[r],y:t[1-r],width:e[r],height:e[1-r]}},n})();function m2(n,t,e,r){_2(wo(e).lastProp,r)||(wo(e).lastProp=r,t?ze(e,r,n):(e.stopAnimation(),e.attr(r)))}function _2(n,t){if(mt(n)&&mt(t)){var e=!0;return R(t,function(r,i){e=e&&_2(n[i],r)}),!!e}else return n===t}function b2(n,t){n[t.get(["label","show"])?"show":"hide"]()}function Gv(n){return{x:n.x||0,y:n.y||0,rotation:n.rotation||0}}function x2(n,t,e){var r=t.get("z"),i=t.get("zlevel");n&&n.traverse(function(o){o.type!=="group"&&(r!=null&&(o.z=r),i!=null&&(o.zlevel=i),o.silent=e)})}var vr=(function(){function n(t){this._setting=t||{},this._extent=[1/0,-1/0]}return n.prototype.getSetting=function(t){return this._setting[t]},n.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},n.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},n.prototype.getExtent=function(){return this._extent.slice()},n.prototype.setExtent=function(t,e){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(e)||(r[1]=e)},n.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},n.prototype.isBlank=function(){return this._isBlank},n.prototype.setBlank=function(t){this._isBlank=t},n})();$c(vr);var A4=0,jv=(function(){function n(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++A4}return n.createByAxisModel=function(t){var e=t.option,r=e.data,i=r&&xt(r,O4);return new n({categories:i,needCollect:!i,deduplication:e.dedplication!==!1})},n.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},n.prototype.parseAndCollect=function(t){var e,r=this._needCollect;if(!gt(t)&&!r)return t;if(r&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),e==null&&(r?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},n.prototype._getOrCreateMap=function(){return this._map||(this._map=Lt(this.categories))},n})();function O4(n){return mt(n)&&n.value!=null?n.value:n+""}function Uv(n){return n.type==="interval"||n.type==="log"}function E4(n,t,e,r){var i={},o=n[1]-n[0],a=i.interval=xx(o/t);e!=null&&a<e&&(a=i.interval=e),r!=null&&a>r&&(a=i.interval=r);var s=i.intervalPrecision=w2(a),u=i.niceTickExtent=[be(Math.ceil(n[0]/a)*a,s),be(Math.floor(n[1]/a)*a,s)];return P4(u,n),i}function Wv(n){var t=Math.pow(10,Ng(n)),e=n/t;return e?e===2?e=3:e===3?e=5:e*=2:e=1,be(e*t)}function w2(n){return Tr(n)+2}function S2(n,t,e){n[t]=Math.max(Math.min(n[t],e[1]),e[0])}function P4(n,t){!isFinite(n[0])&&(n[0]=t[0]),!isFinite(n[1])&&(n[1]=t[1]),S2(n,0,t),S2(n,1,t),n[0]>n[1]&&(n[0]=n[1])}function lp(n,t){return n>=t[0]&&n<=t[1]}function up(n,t){return t[1]===t[0]?.5:(n-t[0])/(t[1]-t[0])}function cp(n,t){return n*(t[1]-t[0])+t[0]}var $v=(function(n){Mt(t,n);function t(e){var r=n.call(this,e)||this;r.type="ordinal";var i=r.getSetting("ordinalMeta");return i||(i=new jv({})),pt(i)&&(i=new jv({categories:xt(i,function(o){return mt(o)?o.value:o})})),r._ordinalMeta=i,r._extent=r.getSetting("extent")||[0,i.categories.length-1],r}return t.prototype.parse=function(e){return e==null?NaN:gt(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),lp(e,this._extent)&&this._ordinalMeta.categories[e]!=null},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),up(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(cp(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],r=this._extent,i=r[0];i<=r[1];)e.push({value:i}),i++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=e.ordinalNumbers,i=this._ordinalNumbersByTick=[],o=this._ticksByOrdinalNumber=[],a=0,s=this._ordinalMeta.categories.length,u=Math.min(s,r.length);a<u;++a){var h=r[a];i[a]=h,o[h]=a}for(var p=0;a<s;++a){for(;o[p]!=null;)p++;i.push(p),o[p]=a}},t.prototype._getTickNumber=function(e){var r=this._ticksByOrdinalNumber;return r&&e>=0&&e<r.length?r[e]:e},t.prototype.getRawOrdinalNumber=function(e){var r=this._ordinalNumbersByTick;return r&&e>=0&&e<r.length?r[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var r=this.getRawOrdinalNumber(e.value),i=this._ordinalMeta.categories[r];return i==null?"":i+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,r){this.unionExtent(e.getApproximateExtent(r))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t})(vr);vr.registerClass($v);var So=be,qa=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return lp(e,this._extent)},t.prototype.normalize=function(e){return up(e,this._extent)},t.prototype.scale=function(e){return cp(e,this._extent)},t.prototype.setExtent=function(e,r){var i=this._extent;isNaN(e)||(i[0]=parseFloat(e)),isNaN(r)||(i[1]=parseFloat(r))},t.prototype.unionExtent=function(e){var r=this._extent;e[0]<r[0]&&(r[0]=e[0]),e[1]>r[1]&&(r[1]=e[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=w2(e)},t.prototype.getTicks=function(e){var r=this._interval,i=this._extent,o=this._niceExtent,a=this._intervalPrecision,s=[];if(!r)return s;var u=1e4;i[0]<o[0]&&(e?s.push({value:So(o[0]-r,a)}):s.push({value:i[0]}));for(var h=o[0];h<=o[1]&&(s.push({value:h}),h=So(h+r,a),h!==s[s.length-1].value);)if(s.length>u)return[];var p=s.length?s[s.length-1].value:o[1];return i[1]>p&&(e?s.push({value:So(p+r,a)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(e){for(var r=this.getTicks(!0),i=[],o=this.getExtent(),a=1;a<r.length;a++){for(var s=r[a],u=r[a-1],h=0,p=[],f=s.value-u.value,y=f/e;h<e-1;){var g=So(u.value+(h+1)*y);g>o[0]&&g<o[1]&&p.push(g),h++}i.push(p)}return i},t.prototype.getLabel=function(e,r){if(e==null)return"";var i=r&&r.precision;i==null?i=Tr(e.value)||0:i==="auto"&&(i=this._intervalPrecision);var o=So(e.value,i,!0);return dS(o)},t.prototype.calcNiceTicks=function(e,r,i){e=e||5;var o=this._extent,a=o[1]-o[0];if(isFinite(a)){a<0&&(a=-a,o.reverse());var s=E4(o,e,r,i);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var i=Math.abs(r[0]);e.fixMax||(r[1]+=i/2),r[0]-=i/2}else r[1]=1;var o=r[1]-r[0];isFinite(o)||(r[0]=0,r[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var a=this._interval;e.fixMin||(r[0]=So(Math.floor(r[0]/a)*a)),e.fixMax||(r[1]=So(Math.ceil(r[1]/a)*a))},t.prototype.setNiceExtent=function(e,r){this._niceExtent=[e,r]},t.type="interval",t})(vr);vr.registerClass(qa);var N4=function(n,t,e,r){for(;e<r;){var i=e+r>>>1;n[i][1]<t?e=i+1:r=i}return e},k2=(function(n){Mt(t,n);function t(e){var r=n.call(this,e)||this;return r.type="time",r}return t.prototype.getLabel=function(e){var r=this.getSetting("useUTC");return Dh(e.value,iS[sR(Pa(this._minLevelUnit))]||iS.second,r,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,r,i){var o=this.getSetting("useUTC"),a=this.getSetting("locale");return lR(e,r,i,a,o)},t.prototype.getTicks=function(){var e=this._interval,r=this._extent,i=[];if(!e)return i;i.push({value:r[0],level:0});var o=this.getSetting("useUTC"),a=V4(this._minLevelUnit,this._approxInterval,o,r);return i=i.concat(a),i.push({value:r[1],level:0}),i},t.prototype.calcNiceExtent=function(e){var r=this._extent;if(r[0]===r[1]&&(r[0]-=In,r[1]+=In),r[1]===-1/0&&r[0]===1/0){var i=new Date;r[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),r[0]=r[1]-In}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,r,i){e=e||10;var o=this._extent,a=o[1]-o[0];this._approxInterval=a/e,r!=null&&this._approxInterval<r&&(this._approxInterval=r),i!=null&&this._approxInterval>i&&(this._approxInterval=i);var s=hp.length,u=Math.min(N4(hp,this._approxInterval,0,s),s-1);this._interval=hp[u][1],this._minLevelUnit=hp[Math.max(u-1,0)][0]},t.prototype.parse=function(e){return se(e)?e:+Ir(e)},t.prototype.contain=function(e){return lp(this.parse(e),this._extent)},t.prototype.normalize=function(e){return up(this.parse(e),this._extent)},t.prototype.scale=function(e){return cp(e,this._extent)},t.type="time",t})(qa),hp=[["second",Ay],["minute",Oy],["hour",xl],["quarter-day",xl*6],["half-day",xl*12],["day",In*1.2],["half-week",In*3.5],["week",In*7],["month",In*31],["quarter",In*95],["half-year",rS/2],["year",rS]];function L4(n,t,e,r){var i=Ir(t),o=Ir(e),a=function(v){return sS(i,v,r)===sS(o,v,r)},s=function(){return a("year")},u=function(){return s()&&a("month")},h=function(){return u()&&a("day")},p=function(){return h()&&a("hour")},f=function(){return p()&&a("minute")},y=function(){return f()&&a("second")},g=function(){return y()&&a("millisecond")};switch(n){case"year":return s();case"month":return u();case"day":return h();case"hour":return p();case"minute":return f();case"second":return y();case"millisecond":return g()}}function R4(n,t){return n/=In,n>16?16:n>7.5?7:n>3.5?4:n>1.5?2:1}function z4(n){var t=30*In;return n/=t,n>6?6:n>3?3:n>2?2:1}function B4(n){return n/=xl,n>12?12:n>6?6:n>3.5?4:n>2?2:1}function C2(n,t){return n/=t?Oy:Ay,n>30?30:n>20?20:n>15?15:n>10?10:n>5?5:n>2?2:1}function F4(n){return xx(n)}function H4(n,t,e){var r=new Date(n);switch(Pa(t)){case"year":case"month":r[lS(e)](0);case"day":r[uS(e)](1);case"hour":r[cS(e)](0);case"minute":r[hS(e)](0);case"second":r[pS(e)](0),r[fS(e)](0)}return r.getTime()}function V4(n,t,e,r){var i=1e4,o=oS,a=0;function s(L,N,F,G,X,Y,nt){for(var z=new Date(N),V=N,J=z[G]();V<F&&V<=r[1];)nt.push({value:V}),J+=L,z[X](J),V=z.getTime();nt.push({value:V,notAdd:!0})}function u(L,N,F){var G=[],X=!N.length;if(!L4(Pa(L),r[0],r[1],e)){X&&(N=[{value:H4(new Date(r[0]),L,e)},{value:r[1]}]);for(var Y=0;Y<N.length-1;Y++){var nt=N[Y].value,z=N[Y+1].value;if(nt!==z){var V=void 0,J=void 0,at=void 0,Z=!1;switch(L){case"year":V=Math.max(1,Math.round(t/In/365)),J=Py(e),at=uR(e);break;case"half-year":case"quarter":case"month":V=z4(t),J=Na(e),at=lS(e);break;case"week":case"half-week":case"day":V=R4(t),J=Ah(e),at=uS(e),Z=!0;break;case"half-day":case"quarter-day":case"hour":V=B4(t),J=Sl(e),at=cS(e);break;case"minute":V=C2(t,!0),J=Oh(e),at=hS(e);break;case"second":V=C2(t,!1),J=Eh(e),at=pS(e);break;case"millisecond":V=F4(t),J=Ph(e),at=fS(e);break}s(V,nt,z,J,at,Z,G),L==="year"&&F.length>1&&Y===0&&F.unshift({value:F[0].value-V})}}for(var Y=0;Y<G.length;Y++)F.push(G[Y]);return G}}for(var h=[],p=[],f=0,y=0,g=0;g<o.length&&a++<i;++g){var v=Pa(o[g]);if(aR(o[g])){u(o[g],h[h.length-1]||[],p);var _=o[g+1]?Pa(o[g+1]):null;if(v!==_){if(p.length){y=f,p.sort(function(L,N){return L.value-N.value});for(var m=[],b=0;b<p.length;++b){var w=p[b].value;(b===0||p[b-1].value!==w)&&(m.push(p[b]),w>=r[0]&&w<=r[1]&&f++)}var k=(r[1]-r[0])/t;if(f>k*1.5&&y>k/1.5||(h.push(m),f>k||n===o[g]))break}p=[]}}}for(var T=_e(xt(h,function(N){return _e(N,function(F){return F.value>=r[0]&&F.value<=r[1]&&!F.notAdd})}),function(N){return N.length>0}),C=[],I=T.length-1,g=0;g<T.length;++g)for(var A=T[g],E=0;E<A.length;++E)C.push({value:A[E].value,level:I-g});C.sort(function(L,N){return L.value-N.value});for(var P=[],g=0;g<C.length;++g)(g===0||C[g].value!==C[g-1].value)&&P.push(C[g]);return P}vr.registerClass(k2);var M2=vr.prototype,ql=qa.prototype,G4=be,j4=Math.floor,U4=Math.ceil,pp=Math.pow,$n=Math.log,qv=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new qa,e._interval=0,e}return t.prototype.getTicks=function(e){var r=this._originalScale,i=this._extent,o=r.getExtent(),a=ql.getTicks.call(this,e);return xt(a,function(s){var u=s.value,h=be(pp(this.base,u));return h=u===i[0]&&this._fixMin?fp(h,o[0]):h,h=u===i[1]&&this._fixMax?fp(h,o[1]):h,{value:h}},this)},t.prototype.setExtent=function(e,r){var i=$n(this.base);e=$n(Math.max(0,e))/i,r=$n(Math.max(0,r))/i,ql.setExtent.call(this,e,r)},t.prototype.getExtent=function(){var e=this.base,r=M2.getExtent.call(this);r[0]=pp(e,r[0]),r[1]=pp(e,r[1]);var i=this._originalScale,o=i.getExtent();return this._fixMin&&(r[0]=fp(r[0],o[0])),this._fixMax&&(r[1]=fp(r[1],o[1])),r},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var r=this.base;e[0]=$n(e[0])/$n(r),e[1]=$n(e[1])/$n(r),M2.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,r){this.unionExtent(e.getApproximateExtent(r))},t.prototype.calcNiceTicks=function(e){e=e||10;var r=this._extent,i=r[1]-r[0];if(!(i===1/0||i<=0)){var o=gP(i),a=e/i*o;for(a<=.5&&(o*=10);!isNaN(o)&&Math.abs(o)<1&&Math.abs(o)>0;)o*=10;var s=[be(U4(r[0]/o)*o),be(j4(r[1]/o)*o)];this._interval=o,this._niceExtent=s}},t.prototype.calcNiceExtent=function(e){ql.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=$n(e)/$n(this.base),lp(e,this._extent)},t.prototype.normalize=function(e){return e=$n(e)/$n(this.base),up(e,this._extent)},t.prototype.scale=function(e){return e=cp(e,this._extent),pp(this.base,e)},t.type="log",t})(vr),T2=qv.prototype;T2.getMinorTicks=ql.getMinorTicks,T2.getLabel=ql.getLabel;function fp(n,t){return G4(n,Tr(t))}vr.registerClass(qv);var W4=(function(){function n(t,e,r){this._prepareParams(t,e,r)}return n.prototype._prepareParams=function(t,e,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var i=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.type==="interval"&&e.getNeedCrossZero&&e.getNeedCrossZero();var o=e.get("min",!0);o==null&&(o=e.get("startValue",!0));var a=this._modelMinRaw=o;At(a)?this._modelMinNum=dp(t,a({min:r[0],max:r[1]})):a!=="dataMin"&&(this._modelMinNum=dp(t,a));var s=this._modelMaxRaw=e.get("max",!0);if(At(s)?this._modelMaxNum=dp(t,s({min:r[0],max:r[1]})):s!=="dataMax"&&(this._modelMaxNum=dp(t,s)),i)this._axisDataLen=e.getCategories().length;else{var u=e.get("boundaryGap"),h=pt(u)?u:[u||0,u||0];typeof h[0]=="boolean"||typeof h[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[ui(h[0],1),ui(h[1],1)]}},n.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,r=this._dataMax,i=this._axisDataLen,o=this._boundaryGapInner,a=t?null:r-e||Math.abs(e),s=this._modelMinRaw==="dataMin"?e:this._modelMinNum,u=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,h=s!=null,p=u!=null;s==null&&(s=t?i?0:NaN:e-o[0]*a),u==null&&(u=t?i?i-1:NaN:r+o[1]*a),(s==null||!isFinite(s))&&(s=NaN),(u==null||!isFinite(u))&&(u=NaN);var f=fc(s)||fc(u)||t&&!i;this._needCrossZero&&(s>0&&u>0&&!h&&(s=0),s<0&&u<0&&!p&&(u=0));var y=this._determinedMin,g=this._determinedMax;return y!=null&&(s=y,h=!0),g!=null&&(u=g,p=!0),{min:s,max:u,minFixed:h,maxFixed:p,isBlank:f}},n.prototype.modifyDataMinMax=function(t,e){this[q4[t]]=e},n.prototype.setDeterminedMinMax=function(t,e){var r=$4[t];this[r]=e},n.prototype.freeze=function(){this.frozen=!0},n})(),$4={min:"_determinedMin",max:"_determinedMax"},q4={min:"_dataMin",max:"_dataMax"};function X4(n,t,e){var r=n.rawExtentInfo;return r||(r=new W4(n,t,e),n.rawExtentInfo=r,r)}function dp(n,t){return t==null?null:fc(t)?NaN:n.parse(t)}function I2(n,t){var e=n.type,r=X4(n,t,n.getExtent()).calculate();n.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&e==="time"){var s=LC("bar",a),u=!1;if(R(s,function(f){u=u||f.getBaseAxis()===t.axis}),u){var h=RC(s),p=Y4(i,o,t,h);i=p.min,o=p.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function Y4(n,t,e,r){var i=e.axis.getExtent(),o=Math.abs(i[1]-i[0]),a=hz(r,e.axis);if(a===void 0)return{min:n,max:t};var s=1/0;R(a,function(g){s=Math.min(g.offset,s)});var u=-1/0;R(a,function(g){u=Math.max(g.offset+g.width,u)}),s=Math.abs(s),u=Math.abs(u);var h=s+u,p=t-n,f=1-(s+u)/o,y=p/f-p;return t+=y*(u/h),n-=y*(s/h),{min:n,max:t}}function D2(n,t){var e=t,r=I2(n,e),i=r.extent,o=e.get("splitNumber");n instanceof qv&&(n.base=e.get("logBase"));var a=n.type,s=e.get("interval"),u=a==="interval"||a==="time";n.setExtent(i[0],i[1]),n.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:u?e.get("minInterval"):null,maxInterval:u?e.get("maxInterval"):null}),s!=null&&n.setInterval&&n.setInterval(s)}function Z4(n,t){if(t=t||n.get("type"),t)switch(t){case"category":return new $v({ordinalMeta:n.getOrdinalMeta?n.getOrdinalMeta():n.getCategories(),extent:[1/0,-1/0]});case"time":return new k2({locale:n.ecModel.getLocaleModel(),useUTC:n.ecModel.get("useUTC")});default:return new(vr.getClass(t)||qa)}}function Q4(n){var t=n.scale.getExtent(),e=t[0],r=t[1];return!(e>0&&r>0||e<0&&r<0)}function Xa(n){var t=n.getLabelModel().get("formatter"),e=n.type==="category"?n.scale.getExtent()[0]:null;return n.scale.type==="time"?(function(r){return function(i,o){return n.scale.getFormattedLabel(i,o,r)}})(t):gt(t)?(function(r){return function(i){var o=n.scale.getLabel(i),a=r.replace("{value}",o??"");return a}})(t):At(t)?(function(r){return function(i,o){return e!=null&&(o=i.value-e),r(Xv(n,i),o,i.level!=null?{level:i.level}:null)}})(t):function(r){return n.scale.getLabel(r)}}function Xv(n,t){return n.type==="category"?n.scale.getLabel(t):t.value}function K4(n){var t=n.model,e=n.scale;if(!(!t.get(["axisLabel","show"])||e.isBlank())){var r,i,o=e.getExtent();e instanceof $v?i=e.count():(r=e.getTicks(),i=r.length);var a=n.getLabelModel(),s=Xa(n),u,h=1;i>40&&(h=Math.ceil(i/40));for(var p=0;p<i;p+=h){var f=r?r[p]:{value:o[0]+p},y=s(f,p),g=a.getTextRect(y),v=J4(g,a.get("rotate")||0);u?u.union(v):u=v}return u}}function J4(n,t){var e=t*Math.PI/180,r=n.width,i=n.height,o=r*Math.abs(Math.cos(e))+Math.abs(i*Math.sin(e)),a=r*Math.abs(Math.sin(e))+Math.abs(i*Math.cos(e)),s=new Gt(n.x,n.y,o,a);return s}function Yv(n){var t=n.get("interval");return t??"auto"}function A2(n){return n.type==="category"&&Yv(n.getLabelModel())===0}function tB(n,t){var e={};return R(n.mapDimensionsAll(t),function(r){e[az(n,r)]=!0}),ae(e)}function O2(n){for(var t=[],e=0;e<n.length;e++){var r=n[e];if(!r.defaultAttr.ignore){var i=r.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,u=i.style.margin||0,h=a.clone();h.applyTransform(o),h.x-=u/2,h.y-=u/2,h.width+=u,h.height+=u;var p=s?new yh(a,o):null;t.push({label:i,labelLine:r.labelLine,rect:h,localRect:a,obb:p,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:o})}}return t}function E2(n,t,e,r,i,o){var a=n.length;if(a<2)return;n.sort(function(I,A){return I.rect[t]-A.rect[t]});for(var s=0,u,h=!1,p=0;p<a;p++){var f=n[p],y=f.rect;u=y[t]-s,u<0&&(y[t]-=u,f.label[t]-=u,h=!0),s=y[t]+y[e]}var g=n[0],v=n[a-1],_,m;b(),_<0&&T(-_,.8),m<0&&T(m,.8),b(),w(_,m,1),w(m,_,-1),b(),_<0&&C(-_),m<0&&C(m);function b(){_=g.rect[t]-r,m=i-v.rect[t]-v.rect[e]}function w(I,A,E){if(I<0){var P=Math.min(A,-I);if(P>0){k(P*E,0,a);var L=P+I;L<0&&T(-L*E,1)}else T(-I*E,1)}}function k(I,A,E){I!==0&&(h=!0);for(var P=A;P<E;P++){var L=n[P],N=L.rect;N[t]+=I,L.label[t]+=I}}function T(I,A){for(var E=[],P=0,L=1;L<a;L++){var N=n[L-1].rect,F=Math.max(n[L].rect[t]-N[t]-N[e],0);E.push(F),P+=F}if(P){var G=Math.min(Math.abs(I)/P,A);if(I>0)for(var L=0;L<a-1;L++){var X=E[L]*G;k(X,0,L+1)}else for(var L=a-1;L>0;L--){var X=E[L-1]*G;k(-X,L,a)}}}function C(I){var A=I<0?-1:1;I=Math.abs(I);for(var E=Math.ceil(I/(a-1)),P=0;P<a-1;P++)if(A>0?k(E,0,P+1):k(-E,a-P-1,a),I-=E,I<=0)return}return h}function eB(n,t,e,r){return E2(n,"x","width",t,e)}function nB(n,t,e,r){return E2(n,"y","height",t,e)}function P2(n){var t=[];n.sort(function(_,m){return m.priority-_.priority});var e=new Gt(0,0,0,0);function r(_){if(!_.ignore){var m=_.ensureState("emphasis");m.ignore==null&&(m.ignore=!1)}_.ignore=!0}for(var i=0;i<n.length;i++){var o=n[i],a=o.axisAligned,s=o.localRect,u=o.transform,h=o.label,p=o.labelLine;e.copy(o.rect),e.width-=.1,e.height-=.1,e.x+=.05,e.y+=.05;for(var f=o.obb,y=!1,g=0;g<t.length;g++){var v=t[g];if(e.intersect(v.rect)){if(a&&v.axisAligned){y=!0;break}if(v.obb||(v.obb=new yh(v.localRect,v.transform)),f||(f=new yh(s,u)),f.intersect(v.obb)){y=!0;break}}}y?(r(h),p&&r(p)):(h.attr("ignore",o.defaultAttr.ignore),p&&p.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}var Mi=Math.PI,Ti=(function(){function n(t,e){this.group=new Ie,this.opt=e,this.axisModel=t,qt(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new Ie({x:e.position[0],y:e.position[1],rotation:e.rotation});r.updateTransform(),this._transformGroup=r}return n.prototype.hasBuilder=function(t){return!!N2[t]},n.prototype.add=function(t){N2[t](this.opt,this.axisModel,this.group,this._transformGroup)},n.prototype.getGroup=function(){return this.group},n.innerTextLayout=function(t,e,r){var i=bx(e-t),o,a;return Uc(i)?(a=r>0?"top":"bottom",o="center"):Uc(i-Mi)?(a=r>0?"bottom":"top",o="center"):(a="middle",i>0&&i<Mi?o=r>0?"right":"left":o=r>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:a}},n.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},n.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},n})(),N2={axisLine:function(n,t,e,r){var i=t.get(["axisLine","show"]);if(i==="auto"&&n.handleAutoShown&&(i=n.handleAutoShown("axisLine")),!!i){var o=t.axis.getExtent(),a=r.transform,s=[o[0],0],u=[o[1],0],h=s[0]>u[0];a&&(_n(s,s,a),_n(u,u,a));var p=ut({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new gi({shape:{x1:s[0],y1:s[1],x2:u[0],y2:u[1]},style:p,strokeContainThreshold:n.strokeContainThreshold||5,silent:!0,z2:1});bl(f.shape,f.style.lineWidth),f.anid="line",e.add(f);var y=t.get(["axisLine","symbol"]);if(y!=null){var g=t.get(["axisLine","symbolSize"]);gt(y)&&(y=[y,y]),(gt(g)||se(g))&&(g=[g,g]);var v=Rk(t.get(["axisLine","symbolOffset"])||0,g),_=g[0],m=g[1];R([{rotate:n.rotation+Math.PI/2,offset:v[0],r:0},{rotate:n.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((s[0]-u[0])*(s[0]-u[0])+(s[1]-u[1])*(s[1]-u[1]))}],function(b,w){if(y[w]!=="none"&&y[w]!=null){var k=Ga(y[w],-_/2,-m/2,_,m,p.stroke,!0),T=b.r+b.offset,C=h?u:s;k.attr({rotation:b.rotate,x:C[0]+T*Math.cos(n.rotation),y:C[1]-T*Math.sin(n.rotation),silent:!0,z2:11}),e.add(k)}})}}},axisTickLabel:function(n,t,e,r){var i=oB(e,r,t,n),o=sB(e,r,t,n);if(iB(t,o,i),aB(e,r,t,n.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=O2(xt(o,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));P2(a)}},axisName:function(n,t,e,r){var i=qs(n.axisName,t.get("name"));if(i){var o=t.get("nameLocation"),a=n.nameDirection,s=t.getModel("nameTextStyle"),u=t.get("nameGap")||0,h=t.axis.getExtent(),p=h[0]>h[1]?-1:1,f=[o==="start"?h[0]-p*u:o==="end"?h[1]+p*u:(h[0]+h[1])/2,R2(o)?n.labelOffset+a*u:0],y,g=t.get("nameRotate");g!=null&&(g=g*Mi/180);var v;R2(o)?y=Ti.innerTextLayout(n.rotation,g??n.rotation,a):(y=rB(n.rotation,o,g||0,h),v=n.axisNameAvailableWidth,v!=null&&(v=Math.abs(v/Math.sin(y.rotation)),!isFinite(v)&&(v=null)));var _=s.getFont(),m=t.get("nameTruncate",!0)||{},b=m.ellipsis,w=qs(n.nameTruncateMaxWidth,m.maxWidth,v),k=new Le({x:f[0],y:f[1],rotation:y.rotation,silent:Ti.isLabelSilent(t),style:yi(s,{text:i,font:_,overflow:"truncate",width:w,ellipsis:b,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||y.textAlign,verticalAlign:s.get("verticalAlign")||y.textVerticalAlign}),z2:1});if(bh({el:k,componentModel:t,itemName:i}),k.__fullText=i,k.anid="name",t.get("triggerEvent")){var T=Ti.makeAxisEventDataBase(t);T.targetType="axisName",T.name=i,Bt(k).eventData=T}r.add(k),k.updateTransform(),e.add(k),k.decomposeTransform()}}};function rB(n,t,e,r){var i=bx(e-n),o,a,s=r[0]>r[1],u=t==="start"&&!s||t!=="start"&&s;return Uc(i-Mi/2)?(a=u?"bottom":"top",o="center"):Uc(i-Mi*1.5)?(a=u?"top":"bottom",o="center"):(a="middle",i<Mi*1.5&&i>Mi/2?o=u?"left":"right":o=u?"right":"left"),{rotation:i,textAlign:o,textVerticalAlign:a}}function iB(n,t,e){if(!A2(n.axis)){var r=n.get(["axisLabel","showMinLabel"]),i=n.get(["axisLabel","showMaxLabel"]);t=t||[],e=e||[];var o=t[0],a=t[1],s=t[t.length-1],u=t[t.length-2],h=e[0],p=e[1],f=e[e.length-1],y=e[e.length-2];r===!1?(Pn(o),Pn(h)):L2(o,a)&&(r?(Pn(a),Pn(p)):(Pn(o),Pn(h))),i===!1?(Pn(s),Pn(f)):L2(u,s)&&(i?(Pn(u),Pn(y)):(Pn(s),Pn(f)))}}function Pn(n){n&&(n.ignore=!0)}function L2(n,t){var e=n&&n.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!e||!r)){var i=eg([]);return rg(i,i,-n.rotation),e.applyTransform(ya([],i,n.getLocalTransform())),r.applyTransform(ya([],i,t.getLocalTransform())),e.intersect(r)}}function R2(n){return n==="middle"||n==="center"}function z2(n,t,e,r,i){for(var o=[],a=[],s=[],u=0;u<n.length;u++){var h=n[u].coord;a[0]=h,a[1]=0,s[0]=h,s[1]=e,t&&(_n(a,a,t),_n(s,s,t));var p=new gi({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});bl(p.shape,p.style.lineWidth),p.anid=i+"_"+n[u].tickValue,o.push(p)}return o}function oB(n,t,e,r){var i=e.axis,o=e.getModel("axisTick"),a=o.get("show");if(a==="auto"&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick")),!(!a||i.scale.isBlank())){for(var s=o.getModel("lineStyle"),u=r.tickDirection*o.get("length"),h=i.getTicksCoords(),p=z2(h,t.transform,u,qt(s.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<p.length;f++)n.add(p[f]);return p}}function aB(n,t,e,r){var i=e.axis,o=e.getModel("minorTick");if(!(!o.get("show")||i.scale.isBlank())){var a=i.getMinorTicksCoords();if(a.length)for(var s=o.getModel("lineStyle"),u=r*o.get("length"),h=qt(s.getLineStyle(),qt(e.getModel("axisTick").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})),p=0;p<a.length;p++)for(var f=z2(a[p],t.transform,u,h,"minorticks_"+p),y=0;y<f.length;y++)n.add(f[y])}}function sB(n,t,e,r){var i=e.axis,o=qs(r.axisLabelShow,e.get(["axisLabel","show"]));if(!(!o||i.scale.isBlank())){var a=e.getModel("axisLabel"),s=a.get("margin"),u=i.getViewLabels(),h=(qs(r.labelRotate,a.get("rotate"))||0)*Mi/180,p=Ti.innerTextLayout(r.rotation,h,r.labelDirection),f=e.getCategories&&e.getCategories(!0),y=[],g=Ti.isLabelSilent(e),v=e.get("triggerEvent");return R(u,function(_,m){var b=i.scale.type==="ordinal"?i.scale.getRawOrdinalNumber(_.tickValue):_.tickValue,w=_.formattedLabel,k=_.rawLabel,T=a;if(f&&f[b]){var C=f[b];mt(C)&&C.textStyle&&(T=new fe(C.textStyle,a,e.ecModel))}var I=T.getTextColor()||e.get(["axisLine","lineStyle","color"]),A=i.dataToCoord(b),E=T.getShallow("align",!0)||p.textAlign,P=Ot(T.getShallow("alignMinLabel",!0),E),L=Ot(T.getShallow("alignMaxLabel",!0),E),N=T.getShallow("verticalAlign",!0)||T.getShallow("baseline",!0)||p.textVerticalAlign,F=Ot(T.getShallow("verticalAlignMinLabel",!0),N),G=Ot(T.getShallow("verticalAlignMaxLabel",!0),N),X=new Le({x:A,y:r.labelOffset+r.labelDirection*s,rotation:p.rotation,silent:g,z2:10+(_.level||0),style:yi(T,{text:w,align:m===0?P:m===u.length-1?L:E,verticalAlign:m===0?F:m===u.length-1?G:N,fill:At(I)?I(i.type==="category"?k:i.type==="value"?b+"":b,m):I})});if(X.anid="label_"+b,bh({el:X,componentModel:e,itemName:w,formatterParamsExtra:{isTruncated:function(){return X.isTruncated},value:k,tickIndex:m}}),v){var Y=Ti.makeAxisEventDataBase(e);Y.targetType="axisLabel",Y.value=k,Y.tickIndex=m,i.type==="category"&&(Y.dataIndex=b),Bt(X).eventData=Y}t.add(X),X.updateTransform(),y.push(X),n.add(X),X.decomposeTransform()}),y}}function lB(n){var t=n.get("type"),e=n.getModel(t+"Style"),r;return t==="line"?(r=e.getLineStyle(),r.fill=null):t==="shadow"&&(r=e.getAreaStyle(),r.stroke=null),r}function uB(n,t,e,r,i){var o=e.get("value"),a=B2(o,t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),s=e.getModel("label"),u=Nh(s.get("padding")||0),h=s.getFont(),p=Ig(a,h),f=i.position,y=p.width+u[1]+u[3],g=p.height+u[0]+u[2],v=i.align;v==="right"&&(f[0]-=y),v==="center"&&(f[0]-=y/2);var _=i.verticalAlign;_==="bottom"&&(f[1]-=g),_==="middle"&&(f[1]-=g/2),cB(f,y,g,r);var m=s.get("backgroundColor");(!m||m==="auto")&&(m=t.get(["axisLine","lineStyle","color"])),n.label={x:f[0],y:f[1],style:yi(s,{text:a,font:h,fill:s.getTextColor(),padding:u,backgroundColor:m}),z2:10}}function cB(n,t,e,r){var i=r.getWidth(),o=r.getHeight();n[0]=Math.min(n[0]+t,i)-t,n[1]=Math.min(n[1]+e,o)-e,n[0]=Math.max(n[0],0),n[1]=Math.max(n[1],0)}function B2(n,t,e,r,i){n=t.scale.parse(n);var o=t.scale.getLabel({value:n},{precision:i.precision}),a=i.formatter;if(a){var s={value:Xv(t,{value:n}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};R(r,function(u){var h=e.getSeriesByIndex(u.seriesIndex),p=u.dataIndexInside,f=h&&h.getDataParams(p);f&&s.seriesData.push(f)}),gt(a)?o=a.replace("{value}",o):At(a)&&(o=a(s))}return o}function F2(n,t,e){var r=ga();return rg(r,r,e.rotation),ng(r,r,e.position),wy([n.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],r)}function hB(n,t,e,r,i,o){var a=Ti.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=i.get(["label","margin"]),uB(t,r,i,o,{position:F2(r.axis,n,e),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function pB(n,t,e){return e=e||0,{x1:n[e],y1:n[1-e],x2:t[e],y2:t[1-e]}}function fB(n,t,e){return e=e||0,{x:n[e],y:n[1-e],width:t[e],height:t[1-e]}}function Zv(n,t,e){e=e||{};var r=n.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,u=a?"onZero":s,h=i.dim,p=r.getRect(),f=[p.x,p.x+p.width,p.y,p.y+p.height],y={left:0,right:1,top:0,bottom:1,onZero:2},g=t.get("offset")||0,v=h==="x"?[f[2]-g,f[3]+g]:[f[0]-g,f[1]+g];if(a){var _=a.toGlobalCoord(a.dataToCoord(0));v[y.onZero]=Math.max(Math.min(_,v[1]),v[0])}o.position=[h==="y"?v[y[u]]:f[0],h==="x"?v[y[u]]:f[3]],o.rotation=Math.PI/2*(h==="x"?0:1);var m={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=m[s],o.labelOffset=a?v[y[s]]-v[y.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),qs(e.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var b=t.get(["axisLabel","rotate"]);return o.labelRotate=u==="top"?-b:b,o.z2=1,o}function H2(n){return n.get("coordinateSystem")==="cartesian2d"}function V2(n){var t={xAxisModel:null,yAxisModel:null};return R(t,function(e,r){var i=r.replace(/Model$/,""),o=n.getReferringComponents(i,Hn).models[0];t[r]=o}),t}var dB=(function(n){Mt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,r,i,o,a){var s=i.axis,u=s.grid,h=o.get("type"),p=G2(u,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(r,!0));if(h&&h!=="none"){var y=lB(o),g=gB[h](s,f,p);g.style=y,e.graphicKey=g.type,e.pointer=g}var v=Zv(u.model,i);hB(r,e,v,i,o,a)},t.prototype.getHandleTransform=function(e,r,i){var o=Zv(r.axis.grid.model,r,{labelInside:!1});o.labelMargin=i.get(["handle","margin"]);var a=F2(r.axis,e,o);return{x:a[0],y:a[1],rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,r,i,o){var a=i.axis,s=a.grid,u=a.getGlobalExtent(!0),h=G2(s,a).getOtherAxis(a).getGlobalExtent(),p=a.dim==="x"?0:1,f=[e.x,e.y];f[p]+=r[p],f[p]=Math.min(u[1],f[p]),f[p]=Math.max(u[0],f[p]);var y=(h[1]+h[0])/2,g=[y,y];g[p]=f[p];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:e.rotation,cursorPoint:g,tooltipOption:v[p]}},t})(D4);function G2(n,t){var e={};return e[t.dim+"AxisIndex"]=t.index,n.getCartesian(e)}var gB={line:function(n,t,e){var r=pB([t,e[0]],[t,e[1]],j2(n));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(n,t,e){var r=Math.max(1,n.getBandWidth()),i=e[1]-e[0];return{type:"Rect",shape:fB([t-r/2,e[0]],[r,i],j2(n))}}};function j2(n){return n.dim==="x"?0:1}var yB=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!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}},t})(Qt),Lr=pe(),vB=R;function U2(n,t,e){if(!Tt.node){var r=t.getZr();Lr(r).records||(Lr(r).records={}),mB(r,t);var i=Lr(r).records[n]||(Lr(r).records[n]={});i.handler=e}}function mB(n,t){if(Lr(n).initialized)return;Lr(n).initialized=!0,e("click",Se(W2,"click")),e("mousemove",Se(W2,"mousemove")),e("globalout",bB);function e(r,i){n.on(r,function(o){var a=xB(t);vB(Lr(n).records,function(s){s&&i(s,o,a.dispatchAction)}),_B(a.pendings,t)})}}function _B(n,t){var e=n.showTip.length,r=n.hideTip.length,i;e?i=n.showTip[e-1]:r&&(i=n.hideTip[r-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function bB(n,t,e){n.handler("leave",null,e)}function W2(n,t,e,r){t.handler(n,e,r)}function xB(n){var t={showTip:[],hideTip:[]},e=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=e,n.dispatchAction(r))};return{dispatchAction:e,pendings:t}}function Qv(n,t){if(!Tt.node){var e=t.getZr(),r=(Lr(e).records||{})[n];r&&(Lr(e).records[n]=null)}}var wB=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,r,i){var o=r.getComponent("tooltip"),a=e.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";U2("axisPointer",i,function(s,u,h){a!=="none"&&(s==="leave"||a.indexOf(s)>=0)&&h({type:"updateAxisPointer",currTrigger:s,x:u&&u.offsetX,y:u&&u.offsetY})})},t.prototype.remove=function(e,r){Qv("axisPointer",r)},t.prototype.dispose=function(e,r){Qv("axisPointer",r)},t.type="axisPointer",t})(On);function $2(n,t){var e=[],r=n.seriesIndex,i;if(r==null||!(i=t.getSeriesByIndex(r)))return{point:[]};var o=i.getData(),a=Ki(o,n);if(a==null||a<0||pt(a))return{point:[]};var s=o.getItemGraphicEl(a),u=i.coordinateSystem;if(i.getTooltipPosition)e=i.getTooltipPosition(a)||[];else if(u&&u.dataToPoint)if(n.isStacked){var h=u.getBaseAxis(),p=u.getOtherAxis(h),f=p.dim,y=h.dim,g=f==="x"||f==="radius"?1:0,v=o.mapDimension(y),_=[];_[g]=o.get(v,a),_[1-g]=o.get(o.getCalculationInfo("stackResultDimension"),a),e=u.dataToPoint(_)||[]}else e=u.dataToPoint(o.getValues(xt(u.dimensions,function(b){return o.mapDimension(b)}),a))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),e=[m.x+m.width/2,m.y+m.height/2]}return{point:e,el:s}}var q2=pe();function SB(n,t,e){var r=n.currTrigger,i=[n.x,n.y],o=n,a=n.dispatchAction||le(e.dispatchAction,e),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){gp(i)&&(i=$2({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var u=gp(i),h=o.axesInfo,p=s.axesInfo,f=r==="leave"||gp(i),y={},g={},v={list:[],map:{}},_={showPointer:Se(CB,g),showTooltip:Se(MB,v)};R(s.coordSysMap,function(b,w){var k=u||b.containPoint(i);R(s.coordSysAxesInfo[w],function(T,C){var I=T.axis,A=AB(h,T);if(!f&&k&&(!h||A)){var E=A&&A.value;E==null&&!u&&(E=I.pointToData(i)),E!=null&&X2(T,E,_,!1,y)}})});var m={};return R(p,function(b,w){var k=b.linkGroup;k&&!g[w]&&R(k.axesInfo,function(T,C){var I=g[C];if(T!==b&&I){var A=I.value;k.mapper&&(A=b.axis.scale.parse(k.mapper(A,Y2(T),Y2(b)))),m[b.key]=A}})}),R(m,function(b,w){X2(p[w],b,_,!0,y)}),TB(g,p,y),IB(v,i,n,a),DB(p,a,e),y}}function X2(n,t,e,r,i){var o=n.axis;if(!(o.scale.isBlank()||!o.containData(t))){if(!n.involveSeries){e.showPointer(n,t);return}var a=kB(t,n),s=a.payloadBatch,u=a.snapToValue;s[0]&&i.seriesIndex==null&&ut(i,s[0]),!r&&n.snap&&o.containData(u)&&u!=null&&(t=u),e.showPointer(n,t,s),e.showTooltip(n,a,u)}}function kB(n,t){var e=t.axis,r=e.dim,i=n,o=[],a=Number.MAX_VALUE,s=-1;return R(t.seriesModels,function(u,h){var p=u.getData().mapDimensionsAll(r),f,y;if(u.getAxisTooltipData){var g=u.getAxisTooltipData(p,n,e);y=g.dataIndices,f=g.nestestValue}else{if(y=u.getData().indicesOfNearest(p[0],n,e.type==="category"?.5:null),!y.length)return;f=u.getData().get(p[0],y[0])}if(!(f==null||!isFinite(f))){var v=n-f,_=Math.abs(v);_<=a&&((_<a||v>=0&&s<0)&&(a=_,s=v,i=f,o.length=0),R(y,function(m){o.push({seriesIndex:u.seriesIndex,dataIndexInside:m,dataIndex:u.getData().getRawIndex(m)})}))}}),{payloadBatch:o,snapToValue:i}}function CB(n,t,e,r){n[t.key]={value:e,payloadBatch:r}}function MB(n,t,e,r){var i=e.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var u=t.coordSys.model,h=$l(u),p=n.map[h];p||(p=n.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},n.list.push(p)),p.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function TB(n,t,e){var r=e.axesInfo=[];R(t,function(i,o){var a=i.axisPointerModel.option,s=n[o];s?(!i.useHandle&&(a.status="show"),a.value=s.value,a.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(a.status="hide"),a.status==="show"&&r.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:a.value})})}function IB(n,t,e,r){if(gp(t)||!n.list.length){r({type:"hideTip"});return}var i=((n.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:n.list})}function DB(n,t,e){var r=e.getZr(),i="axisPointerLastHighlights",o=q2(r)[i]||{},a=q2(r)[i]={};R(n,function(h,p){var f=h.axisPointerModel.option;f.status==="show"&&h.triggerEmphasis&&R(f.seriesDataIndices,function(y){var g=y.seriesIndex+" | "+y.dataIndex;a[g]=y})});var s=[],u=[];R(o,function(h,p){!a[p]&&u.push(h)}),R(a,function(h,p){!o[p]&&s.push(h)}),u.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function AB(n,t){for(var e=0;e<(n||[]).length;e++){var r=n[e];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function Y2(n){var t=n.axis.model,e={},r=e.axisDim=n.axis.dim;return e.axisIndex=e[r+"AxisIndex"]=t.componentIndex,e.axisName=e[r+"AxisName"]=t.name,e.axisId=e[r+"AxisId"]=t.id,e}function gp(n){return!n||n[0]==null||isNaN(n[0])||n[1]==null||isNaN(n[1])}function Z2(n){y2.registerAxisPointerClass("CartesianAxisPointer",dB),n.registerComponentModel(yB),n.registerComponentView(wB),n.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!pt(e)&&(t.axisPointer.link=[e])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=w4(t,e)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},SB)}var OB=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.type="tooltip",t.dependencies=["axisPointer"],t.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}},t})(Qt);function Q2(n){var t=n.get("confine");return t!=null?!!t:n.get("renderMode")==="richText"}function K2(n){if(Tt.domSupported){for(var t=document.documentElement.style,e=0,r=n.length;e<r;e++)if(n[e]in t)return n[e]}}var J2=K2(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),EB=K2(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function tM(n,t){if(!n)return t;t=gS(t,!0);var e=n.indexOf(t);return n=e===-1?t:"-"+n.slice(0,e)+"-"+t,n.toLowerCase()}function PB(n,t){var e=n.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(n);return e?e[t]:null}var NB=tM(EB,"transition"),Kv=tM(J2,"transform"),LB="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Tt.transform3dSupported?"will-change:transform;":"");function RB(n){return n=n==="left"?"right":n==="right"?"left":n==="top"?"bottom":"top",n}function zB(n,t,e){if(!gt(e)||e==="inside")return"";var r=n.get("backgroundColor"),i=n.get("borderWidth");t=fo(t);var o=RB(e),a=Math.max(Math.round(i)*1.5,6),s="",u=Kv+":",h;Xt(["left","right"],o)>-1?(s+="top:50%",u+="translateY(-50%) rotate("+(h=o==="left"?-225:-45)+"deg)"):(s+="left:50%",u+="translateX(-50%) rotate("+(h=o==="top"?225:45)+"deg)");var p=h*Math.PI/180,f=a+i,y=f*Math.abs(Math.cos(p))+f*Math.abs(Math.sin(p)),g=Math.round(((y-Math.SQRT2*i)/2+Math.SQRT2*i-(y-f)/2)*100)/100;s+=";"+o+":-"+g+"px";var v=t+" solid "+i+"px;",_=["position:absolute;width:"+a+"px;height:"+a+"px;z-index:-1;",s+";"+u+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'<div style="'+_.join("")+'"></div>'}function BB(n,t){var e="cubic-bezier(0.23,1,0.32,1)",r=" "+n/2+"s "+e,i="opacity"+r+",visibility"+r;return t||(r=" "+n+"s "+e,i+=Tt.transformSupported?","+Kv+r:",left"+r+",top"+r),NB+":"+i}function eM(n,t,e){var r=n.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!Tt.transformSupported)return e?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=Tt.transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return e?"top:0;left:0;"+Kv+":"+a+";":[["top",0],["left",0],[J2,a]]}function FB(n){var t=[],e=n.get("fontSize"),r=n.getTextColor();r&&t.push("color:"+r),t.push("font:"+n.getFont());var i=Ot(n.get("lineHeight"),Math.round(e*3/2));e&&t.push("line-height:"+i+"px");var o=n.get("textShadowColor"),a=n.get("textShadowBlur")||0,s=n.get("textShadowOffsetX")||0,u=n.get("textShadowOffsetY")||0;return o&&a&&t.push("text-shadow:"+s+"px "+u+"px "+a+"px "+o),R(["decoration","align"],function(h){var p=n.get(h);p&&t.push("text-"+h+":"+p)}),t.join(";")}function HB(n,t,e){var r=[],i=n.get("transitionDuration"),o=n.get("backgroundColor"),a=n.get("shadowBlur"),s=n.get("shadowColor"),u=n.get("shadowOffsetX"),h=n.get("shadowOffsetY"),p=n.getModel("textStyle"),f=dk(n,"html"),y=u+"px "+h+"px "+a+"px "+s;return r.push("box-shadow:"+y),t&&i&&r.push(BB(i,e)),o&&r.push("background-color:"+o),R(["width","color","radius"],function(g){var v="border-"+g,_=gS(v),m=n.get(_);m!=null&&r.push(v+":"+m+(g==="color"?"":"px"))}),r.push(FB(p)),f!=null&&r.push("padding:"+Nh(f).join("px ")+"px"),r.join(";")+";"}function nM(n,t,e,r,i){var o=t&&t.painter;if(e){var a=o&&o.getViewportRoot();a&&sE(n,a,e,r,i)}else{n[0]=r,n[1]=i;var s=o&&o.getViewportRootOffset();s&&(n[0]+=s.offsetLeft,n[1]+=s.offsetTop)}n[2]=n[0]/t.getWidth(),n[3]=n[1]/t.getHeight()}var VB=(function(){function n(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Tt.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=e.appendTo,a=o&&(gt(o)?document.querySelector(o):$s(o)?o:At(o)&&o(t.getDom()));nM(this._styleCoord,i,a,t.getWidth()/2,t.getHeight()/2),(a||t.getDom()).appendChild(r),this._api=t,this._container=a;var s=this;r.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},r.onmousemove=function(u){if(u=u||window.event,!s._enterable){var h=i.handler,p=i.painter.getViewportRoot();bn(p,u,!0),h.dispatch("mousemove",u)}},r.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return n.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),r=PB(e,"position"),i=e.style;i.position!=="absolute"&&r!=="absolute"&&(i.position="relative")}var o=t.get("alwaysShowContent");o&&this._moveIfResized(),this._alwaysShowContent=o,this.el.className=t.get("className")||""},n.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,i=r.style,o=this._styleCoord;r.innerHTML?i.cssText=LB+HB(t,!this._firstShow,this._longHide)+eM(o[0],o[1],!0)+("border-color:"+fo(e)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},n.prototype.setContent=function(t,e,r,i,o){var a=this.el;if(t==null){a.innerHTML="";return}var s="";if(gt(o)&&r.get("trigger")==="item"&&!Q2(r)&&(s=zB(r,i,o)),gt(t))a.innerHTML=t+s;else if(t){a.innerHTML="",pt(t)||(t=[t]);for(var u=0;u<t.length;u++)$s(t[u])&&t[u].parentNode!==a&&a.appendChild(t[u]);if(s&&a.childNodes.length){var h=document.createElement("div");h.innerHTML=s,a.appendChild(h)}}},n.prototype.setEnterable=function(t){this._enterable=t},n.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},n.prototype.moveTo=function(t,e){if(this.el){var r=this._styleCoord;if(nM(r,this._zr,this._container,t,e),r[0]!=null&&r[1]!=null){var i=this.el.style,o=eM(r[0],r[1]);R(o,function(a){i[a[0]]=a[1]})}}},n.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},n.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",Tt.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},n.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(le(this.hide,this),t)):this.hide())},n.prototype.isShow=function(){return this._show},n.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},n})(),GB=(function(){function n(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),iM(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return n.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},n.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},n.prototype.setContent=function(t,e,r,i,o){var a=this;mt(t)&&en(""),this.el&&this._zr.remove(this.el);var s=r.getModel("textStyle");this.el=new Le({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:s.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:dk(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),R(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(h){a.el.style[h]=r.get(h)}),R(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(h){a.el.style[h]=s.get(h)||0}),this._zr.add(this.el);var u=this;this.el.on("mouseover",function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0}),this.el.on("mouseout",function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._inContent=!1})},n.prototype.setEnterable=function(t){this._enterable=t},n.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),r=rM(t.style);return[e.width+r.left+r.right,e.height+r.top+r.bottom]},n.prototype.moveTo=function(t,e){var r=this.el;if(r){var i=this._styleCoord;iM(i,this._zr,t,e),t=i[0],e=i[1];var o=r.style,a=Ii(o.borderWidth||0),s=rM(o);r.x=t+a+s.left,r.y=e+a+s.top,r.markRedraw()}},n.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},n.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},n.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(le(this.hide,this),t)):this.hide())},n.prototype.isShow=function(){return this._show},n.prototype.dispose=function(){this._zr.remove(this.el)},n})();function Ii(n){return Math.max(0,n)}function rM(n){var t=Ii(n.shadowBlur||0),e=Ii(n.shadowOffsetX||0),r=Ii(n.shadowOffsetY||0);return{left:Ii(t-e),right:Ii(t+e),top:Ii(t-r),bottom:Ii(t+r)}}function iM(n,t,e,r){n[0]=e,n[1]=r,n[2]=n[0]/t.getWidth(),n[3]=n[1]/t.getHeight()}var jB=new xe({shape:{x:-1,y:-1,width:2,height:2}}),UB=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,r){if(!(Tt.node||!r.getDom())){var i=e.getComponent("tooltip"),o=this._renderMode=AP(i.get("renderMode"));this._tooltipContent=o==="richText"?new GB(r):new VB(r,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},t.prototype.render=function(e,r,i){if(!(Tt.node||!i.getDom())){this.group.removeAll(),this._tooltipModel=e,this._ecModel=r,this._api=i;var o=this._tooltipContent;o.update(e),o.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&e.get("transitionDuration")?wk(this,"_updatePosition",50,"fixRate"):nv(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel,r=e.get("triggerOn");U2("itemTooltip",this._api,le(function(i,o,a){r!=="none"&&(r.indexOf(i)>=0?this._tryShow(o,a):i==="leave"&&this._hide(a))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,r=this._ecModel,i=this._api,o=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&o!=="none"&&o!=="click"){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&a.manuallyShowTip(e,r,i,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,r,i,o){if(!(o.from===this.uid||Tt.node||!i.getDom())){var a=oM(o,i);this._ticket="";var s=o.dataByCoordSys,u=XB(o,r,i);if(u){var h=u.el.getBoundingRect().clone();h.applyTransform(u.el.transform),this._tryShow({offsetX:h.x+h.width/2,offsetY:h.y+h.height/2,target:u.el,position:o.position,positionDefault:"bottom"},a)}else if(o.tooltip&&o.x!=null&&o.y!=null){var p=jB;p.x=o.x,p.y=o.y,p.update(),Bt(p).tooltipConfig={name:null,option:o.tooltip},this._tryShow({offsetX:o.x,offsetY:o.y,target:p},a)}else if(s)this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,dataByCoordSys:s,tooltipOption:o.tooltipOption},a);else if(o.seriesIndex!=null){if(this._manuallyAxisShowTip(e,r,i,o))return;var f=$2(o,r),y=f.point[0],g=f.point[1];y!=null&&g!=null&&this._tryShow({offsetX:y,offsetY:g,target:f.el,position:o.position,positionDefault:"bottom"},a)}else o.x!=null&&o.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:o.x,y:o.y}),this._tryShow({offsetX:o.x,offsetY:o.y,position:o.position,target:i.getZr().findHover(o.x,o.y).target},a))}},t.prototype.manuallyHideTip=function(e,r,i,o){var a=this._tooltipContent;this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,o.from!==this.uid&&this._hide(oM(o,i))},t.prototype._manuallyAxisShowTip=function(e,r,i,o){var a=o.seriesIndex,s=o.dataIndex,u=r.getComponent("axisPointer").coordSysAxesInfo;if(!(a==null||s==null||u==null)){var h=r.getSeriesByIndex(a);if(h){var p=h.getData(),f=Xl([p.getItemModel(s),h,(h.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:s,position:o.position}),!0}}},t.prototype._tryShow=function(e,r){var i=e.target,o=this._tooltipModel;if(o){this._lastX=e.offsetX,this._lastY=e.offsetY;var a=e.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,e);else if(i){var s=Bt(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var u,h;Ll(i,function(p){if(Bt(p).dataIndex!=null)return u=p,!0;if(Bt(p).tooltipConfig!=null)return h=p,!0},!0),u?this._showSeriesItemTooltip(e,u,r):h?this._showComponentItemTooltip(e,h,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},t.prototype._showOrMove=function(e,r){var i=e.get("showDelay");r=le(r,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(r,i):r()},t.prototype._showAxisTooltip=function(e,r){var i=this._ecModel,o=this._tooltipModel,a=[r.offsetX,r.offsetY],s=Xl([r.tooltipOption],o),u=this._renderMode,h=[],p=El("section",{blocks:[],noHeader:!0}),f=[],y=new Ky;R(e,function(w){R(w.dataByAxis,function(k){var T=i.getComponent(k.axisDim+"Axis",k.axisIndex),C=k.value;if(!(!T||C==null)){var I=B2(C,T.axis,i,k.seriesDataIndices,k.valueLabelOpt),A=El("section",{header:I,noHeader:!or(I),sortBlocks:!0,blocks:[]});p.blocks.push(A),R(k.seriesDataIndices,function(E){var P=i.getSeriesByIndex(E.seriesIndex),L=E.dataIndexInside,N=P.getDataParams(L);if(!(N.dataIndex<0)){N.axisDim=k.axisDim,N.axisIndex=k.axisIndex,N.axisType=k.axisType,N.axisId=k.axisId,N.axisValue=Xv(T.axis,{value:C}),N.axisValueLabel=I,N.marker=y.makeTooltipMarker("item",fo(N.color),u);var F=KS(P.formatTooltip(L,!0,null)),G=F.frag;if(G){var X=Xl([P],o).get("valueFormatter");A.blocks.push(X?ut({valueFormatter:X},G):G)}F.text&&f.push(F.text),h.push(N)}})}})}),p.blocks.reverse(),f.reverse();var g=r.position,v=s.get("order"),_=pk(p,y,u,v,i.get("useUTC"),s.get("textStyle"));_&&f.unshift(_);var m=u==="richText"?`
126
+
127
+ `:"<br/>",b=f.join(m);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,h)?this._updatePosition(s,g,a[0],a[1],this._tooltipContent,h):this._showTooltipContent(s,b,h,Math.random()+"",a[0],a[1],g,null,y)})},t.prototype._showSeriesItemTooltip=function(e,r,i){var o=this._ecModel,a=Bt(r),s=a.seriesIndex,u=o.getSeriesByIndex(s),h=a.dataModel||u,p=a.dataIndex,f=a.dataType,y=h.getData(f),g=this._renderMode,v=e.positionDefault,_=Xl([y.getItemModel(p),h,u&&(u.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),m=_.get("trigger");if(!(m!=null&&m!=="item")){var b=h.getDataParams(p,f),w=new Ky;b.marker=w.makeTooltipMarker("item",fo(b.color),g);var k=KS(h.formatTooltip(p,!1,f)),T=_.get("order"),C=_.get("valueFormatter"),I=k.frag,A=I?pk(C?ut({valueFormatter:C},I):I,w,g,T,o.get("useUTC"),_.get("textStyle")):k.text,E="item_"+h.name+"_"+p;this._showOrMove(_,function(){this._showTooltipContent(_,A,b,E,e.offsetX,e.offsetY,e.position,e.target,w)}),i({type:"showTip",dataIndexInside:p,dataIndex:y.getRawIndex(p),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,r,i){var o=this._renderMode==="html",a=Bt(r),s=a.tooltipConfig,u=s.option||{},h=u.encodeHTMLContent;if(gt(u)){var p=u;u={content:p,formatter:p},h=!0}h&&o&&u.content&&(u=Ht(u),u.content=tn(u.content));var f=[u],y=this._ecModel.getComponent(a.componentMainType,a.componentIndex);y&&f.push(y),f.push({formatter:u.content});var g=e.positionDefault,v=Xl(f,this._tooltipModel,g?{position:g}:null),_=v.get("content"),m=Math.random()+"",b=new Ky;this._showOrMove(v,function(){var w=Ht(v.get("formatterParams")||{});this._showTooltipContent(v,_,w,m,e.offsetX,e.offsetY,e.position,r,b)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,r,i,o,a,s,u,h,p){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var f=this._tooltipContent;f.setEnterable(e.get("enterable"));var y=e.get("formatter");u=u||e.get("position");var g=r,v=this._getNearestPoint([a,s],i,e.get("trigger"),e.get("borderColor")),_=v.color;if(y)if(gt(y)){var m=e.ecModel.get("useUTC"),b=pt(i)?i[0]:i,w=b&&b.axisType&&b.axisType.indexOf("time")>=0;g=y,w&&(g=Dh(b.axisValue,g,m)),g=vS(g,i,!0)}else if(At(y)){var k=le(function(T,C){T===this._ticket&&(f.setContent(C,p,e,_,u),this._updatePosition(e,u,a,s,f,i,h))},this);this._ticket=o,g=y(i,o,k)}else g=y;f.setContent(g,p,e,_,u),f.show(e,_),this._updatePosition(e,u,a,s,f,i,h)}},t.prototype._getNearestPoint=function(e,r,i,o){if(i==="axis"||pt(r))return{color:o||(this._renderMode==="html"?"#fff":"none")};if(!pt(r))return{color:o||r.color||r.borderColor}},t.prototype._updatePosition=function(e,r,i,o,a,s,u){var h=this._api.getWidth(),p=this._api.getHeight();r=r||e.get("position");var f=a.getSize(),y=e.get("align"),g=e.get("verticalAlign"),v=u&&u.getBoundingRect().clone();if(u&&v.applyTransform(u.transform),At(r)&&(r=r([i,o],s,a.el,v,{viewSize:[h,p],contentSize:f.slice()})),pt(r))i=De(r[0],h),o=De(r[1],p);else if(mt(r)){var _=r;_.width=f[0],_.height=f[1];var m=Cl(_,{width:h,height:p});i=m.x,o=m.y,y=null,g=null}else if(gt(r)&&u){var b=qB(r,v,f,e.get("borderWidth"));i=b[0],o=b[1]}else{var b=WB(i,o,a,h,p,y?null:20,g?null:20);i=b[0],o=b[1]}if(y&&(i-=aM(y)?f[0]/2:y==="right"?f[0]:0),g&&(o-=aM(g)?f[1]/2:g==="bottom"?f[1]:0),Q2(e)){var b=$B(i,o,a,h,p);i=b[0],o=b[1]}a.moveTo(i,o)},t.prototype._updateContentNotChangedOnAxis=function(e,r){var i=this._lastDataByCoordSys,o=this._cbParamsList,a=!!i&&i.length===e.length;return a&&R(i,function(s,u){var h=s.dataByAxis||[],p=e[u]||{},f=p.dataByAxis||[];a=a&&h.length===f.length,a&&R(h,function(y,g){var v=f[g]||{},_=y.seriesDataIndices||[],m=v.seriesDataIndices||[];a=a&&y.value===v.value&&y.axisType===v.axisType&&y.axisId===v.axisId&&_.length===m.length,a&&R(_,function(b,w){var k=m[w];a=a&&b.seriesIndex===k.seriesIndex&&b.dataIndex===k.dataIndex}),o&&R(y.seriesDataIndices,function(b){var w=b.seriesIndex,k=r[w],T=o[w];k&&T&&T.data!==k.data&&(a=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=r,!!a},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,r){Tt.node||!r.getDom()||(nv(this,"_updatePosition"),this._tooltipContent.dispose(),Qv("itemTooltip",r))},t.type="tooltip",t})(On);function Xl(n,t,e){var r=t.ecModel,i;e?(i=new fe(e,r,r),i=new fe(t.option,i,r)):i=t;for(var o=n.length-1;o>=0;o--){var a=n[o];a&&(a instanceof fe&&(a=a.get("tooltip",!0)),gt(a)&&(a={formatter:a}),a&&(i=new fe(a,i,r)))}return i}function oM(n,t){return n.dispatchAction||le(t.dispatchAction,t)}function WB(n,t,e,r,i,o,a){var s=e.getSize(),u=s[0],h=s[1];return o!=null&&(n+u+o+2>r?n-=u+o:n+=o),a!=null&&(t+h+a>i?t-=h+a:t+=a),[n,t]}function $B(n,t,e,r,i){var o=e.getSize(),a=o[0],s=o[1];return n=Math.min(n+a,r)-a,t=Math.min(t+s,i)-s,n=Math.max(n,0),t=Math.max(t,0),[n,t]}function qB(n,t,e,r){var i=e[0],o=e[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,u=0,h=t.width,p=t.height;switch(n){case"inside":s=t.x+h/2-i/2,u=t.y+p/2-o/2;break;case"top":s=t.x+h/2-i/2,u=t.y-o-a;break;case"bottom":s=t.x+h/2-i/2,u=t.y+p+a;break;case"left":s=t.x-i-a,u=t.y+p/2-o/2;break;case"right":s=t.x+h+a,u=t.y+p/2-o/2}return[s,u]}function aM(n){return n==="center"||n==="middle"}function XB(n,t,e){var r=zg(n).queryOptionMap,i=r.keys()[0];if(!(!i||i==="series")){var o=cl(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s=e.getViewOfComponentModel(a),u;if(s.group.traverse(function(h){var p=Bt(h).tooltipConfig;if(p&&p.name===n.name)return u=h,!0}),u)return{componentMainType:i,componentIndex:a.componentIndex,el:u}}}}function YB(n){xi(Z2),n.registerComponentModel(OB),n.registerComponentView(UB),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Je),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Je)}var ZB=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.type="title",t.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"}},t})(Qt),QB=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,r,i){if(this.group.removeAll(),!!e.get("show")){var o=this.group,a=e.getModel("textStyle"),s=e.getModel("subtextStyle"),u=e.get("textAlign"),h=Ot(e.get("textBaseline"),e.get("textVerticalAlign")),p=new Le({style:yi(a,{text:e.get("text"),fill:a.getTextColor()},{disableBox:!0}),z2:10}),f=p.getBoundingRect(),y=e.get("subtext"),g=new Le({style:yi(s,{text:y,fill:s.getTextColor(),y:f.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),v=e.get("link"),_=e.get("sublink"),m=e.get("triggerEvent",!0);p.silent=!v&&!m,g.silent=!_&&!m,v&&p.on("click",function(){mS(v,"_"+e.get("target"))}),_&&g.on("click",function(){mS(_,"_"+e.get("subtarget"))}),Bt(p).eventData=Bt(g).eventData=m?{componentType:"title",componentIndex:e.componentIndex}:null,o.add(p),y&&o.add(g);var b=o.getBoundingRect(),w=e.getBoxLayoutParams();w.width=b.width,w.height=b.height;var k=Cl(w,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));u||(u=e.get("left")||e.get("right"),u==="middle"&&(u="center"),u==="right"?k.x+=k.width:u==="center"&&(k.x+=k.width/2)),h||(h=e.get("top")||e.get("bottom"),h==="center"&&(h="middle"),h==="bottom"?k.y+=k.height:h==="middle"&&(k.y+=k.height/2),h=h||"top"),o.x=k.x,o.y=k.y,o.markRedraw();var T={align:u,verticalAlign:h};p.setStyle(T),g.setStyle(T),b=o.getBoundingRect();var C=k.margin,I=e.getItemStyle(["color","opacity"]);I.fill=e.get("backgroundColor");var A=new xe({shape:{x:b.x-C[3],y:b.y-C[0],width:b.width+C[1]+C[3],height:b.height+C[0]+C[2],r:e.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});o.add(A)}},t.type="title",t})(On);function KB(n){n.registerComponentModel(ZB),n.registerComponentView(QB)}var JB=(function(){function n(){}return n.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},n.prototype.getCoordSysModel=function(){},n})(),Yl=pe();function sM(n,t){var e=xt(t,function(r){return n.scale.parse(r)});return n.type==="time"&&e.length>0&&(e.sort(),e.unshift(e[0]),e.push(e[e.length-1])),e}function tF(n){var t=n.getLabelModel().get("customValues");if(t){var e=Xa(n),r=n.scale.getExtent(),i=sM(n,t),o=_e(i,function(a){return a>=r[0]&&a<=r[1]});return{labels:xt(o,function(a){var s={value:a};return{formattedLabel:e(s),rawLabel:n.scale.getLabel(s),tickValue:a}})}}return n.type==="category"?nF(n):iF(n)}function eF(n,t){var e=n.getTickModel().get("customValues");if(e){var r=n.scale.getExtent(),i=sM(n,e);return{ticks:_e(i,function(o){return o>=r[0]&&o<=r[1]})}}return n.type==="category"?rF(n,t):{ticks:xt(n.scale.getTicks(),function(o){return o.value})}}function nF(n){var t=n.getLabelModel(),e=lM(n,t);return!t.get("show")||n.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}function lM(n,t){var e=uM(n,"labels"),r=Yv(t),i=cM(e,r);if(i)return i;var o,a;return At(r)?o=fM(n,r):(a=r==="auto"?oF(n):r,o=pM(n,a)),hM(e,r,{labels:o,labelCategoryInterval:a})}function rF(n,t){var e=uM(n,"ticks"),r=Yv(t),i=cM(e,r);if(i)return i;var o,a;if((!t.get("show")||n.scale.isBlank())&&(o=[]),At(r))o=fM(n,r,!0);else if(r==="auto"){var s=lM(n,n.getLabelModel());a=s.labelCategoryInterval,o=xt(s.labels,function(u){return u.tickValue})}else a=r,o=pM(n,a,!0);return hM(e,r,{ticks:o,tickCategoryInterval:a})}function iF(n){var t=n.scale.getTicks(),e=Xa(n);return{labels:xt(t,function(r,i){return{level:r.level,formattedLabel:e(r,i),rawLabel:n.scale.getLabel(r),tickValue:r.value}})}}function uM(n,t){return Yl(n)[t]||(Yl(n)[t]=[])}function cM(n,t){for(var e=0;e<n.length;e++)if(n[e].key===t)return n[e].value}function hM(n,t,e){return n.push({key:t,value:e}),e}function oF(n){var t=Yl(n).autoInterval;return t??(Yl(n).autoInterval=n.calculateCategoryInterval())}function aF(n){var t=sF(n),e=Xa(n),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=n.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var u=o[0],h=n.dataToCoord(u+1)-n.dataToCoord(u),p=Math.abs(h*Math.cos(r)),f=Math.abs(h*Math.sin(r)),y=0,g=0;u<=o[1];u+=s){var v=0,_=0,m=Ig(e({value:u}),t.font,"center","top");v=m.width*1.3,_=m.height*1.3,y=Math.max(y,v,7),g=Math.max(g,_,7)}var b=y/p,w=g/f;isNaN(b)&&(b=1/0),isNaN(w)&&(w=1/0);var k=Math.max(0,Math.floor(Math.min(b,w))),T=Yl(n.model),C=n.getExtent(),I=T.lastAutoInterval,A=T.lastTickCount;return I!=null&&A!=null&&Math.abs(I-k)<=1&&Math.abs(A-a)<=1&&I>k&&T.axisExtent0===C[0]&&T.axisExtent1===C[1]?k=I:(T.lastTickCount=a,T.lastAutoInterval=k,T.axisExtent0=C[0],T.axisExtent1=C[1]),k}function sF(n){var t=n.getLabelModel();return{axisRotate:n.getRotate?n.getRotate():n.isHorizontal&&!n.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function pM(n,t,e){var r=Xa(n),i=n.scale,o=i.getExtent(),a=n.getLabelModel(),s=[],u=Math.max((t||0)+1,1),h=o[0],p=i.count();h!==0&&u>1&&p/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=A2(n),y=a.get("showMinLabel")||f,g=a.get("showMaxLabel")||f;y&&h!==o[0]&&_(o[0]);for(var v=h;v<=o[1];v+=u)_(v);g&&v-u!==o[1]&&_(o[1]);function _(m){var b={value:m};s.push(e?m:{formattedLabel:r(b),rawLabel:i.getLabel(b),tickValue:m})}return s}function fM(n,t,e){var r=n.scale,i=Xa(n),o=[];return R(r.getTicks(),function(a){var s=r.getLabel(a),u=a.value;t(a.value,s)&&o.push(e?u:{formattedLabel:i(a),rawLabel:s,tickValue:u})}),o}var dM=[0,1],lF=(function(){function n(t,e,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=r||[0,0]}return n.prototype.contain=function(t){var e=this._extent,r=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=r&&t<=i},n.prototype.containData=function(t){return this.scale.contain(t)},n.prototype.getExtent=function(){return this._extent.slice()},n.prototype.getPixelPrecision=function(t){return pP(t||this.scale.getExtent(),this._extent)},n.prototype.setExtent=function(t,e){var r=this._extent;r[0]=t,r[1]=e},n.prototype.dataToCoord=function(t,e){var r=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(r=r.slice(),gM(r,i.count())),_x(t,dM,r,e)},n.prototype.coordToData=function(t,e){var r=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(r=r.slice(),gM(r,i.count()));var o=_x(t,r,dM,e);return this.scale.scale(o)},n.prototype.pointToData=function(t,e){},n.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),r=eF(this,e),i=r.ticks,o=xt(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),a=e.get("alignWithLabel");return uF(this,o,a,t.clamp),o},n.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var r=this.scale.getMinorTicks(e),i=xt(r,function(o){return xt(o,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return i},n.prototype.getViewLabels=function(){return tF(this).labels},n.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},n.prototype.getTickModel=function(){return this.model.getModel("axisTick")},n.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),r=e[1]-e[0]+(this.onBand?1:0);r===0&&(r=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/r},n.prototype.calculateCategoryInterval=function(){return aF(this)},n})();function gM(n,t){var e=n[1]-n[0],r=t,i=e/r/2;n[0]+=i,n[1]-=i}function uF(n,t,e,r){var i=t.length;if(!n.onBand||e||!i)return;var o=n.getExtent(),a,s;if(i===1)t[0].coord=o[0],a=t[1]={coord:o[1],tickValue:t[0].tickValue};else{var u=t[i-1].tickValue-t[0].tickValue,h=(t[i-1].coord-t[0].coord)/u;R(t,function(g){g.coord-=h/2});var p=n.scale.getExtent();s=1+p[1]-t[i-1].tickValue,a={coord:t[i-1].coord+h*s,tickValue:p[1]+1},t.push(a)}var f=o[0]>o[1];y(t[0].coord,o[0])&&(r?t[0].coord=o[0]:t.shift()),r&&y(o[0],t[0].coord)&&t.unshift({coord:o[0]}),y(o[1],a.coord)&&(r?a.coord=o[1]:t.pop()),r&&y(a.coord,o[1])&&t.push({coord:o[1]});function y(g,v){return g=be(g),v=be(v),f?g>v:g<v}}var Zl=Math.PI*2,ko=pi.CMD,cF=["top","right","bottom","left"];function hF(n,t,e,r,i){var o=e.width,a=e.height;switch(n){case"top":r.set(e.x+o/2,e.y-t),i.set(0,-1);break;case"bottom":r.set(e.x+o/2,e.y+a+t),i.set(0,1);break;case"left":r.set(e.x-t,e.y+a/2),i.set(-1,0);break;case"right":r.set(e.x+o+t,e.y+a/2),i.set(1,0);break}}function pF(n,t,e,r,i,o,a,s,u){a-=n,s-=t;var h=Math.sqrt(a*a+s*s);a/=h,s/=h;var p=a*e+n,f=s*e+t;if(Math.abs(r-i)%Zl<1e-4)return u[0]=p,u[1]=f,h-e;if(o){var y=r;r=Ar(i),i=Ar(y)}else r=Ar(r),i=Ar(i);r>i&&(i+=Zl);var g=Math.atan2(s,a);if(g<0&&(g+=Zl),g>=r&&g<=i||g+Zl>=r&&g+Zl<=i)return u[0]=p,u[1]=f,h-e;var v=e*Math.cos(r)+n,_=e*Math.sin(r)+t,m=e*Math.cos(i)+n,b=e*Math.sin(i)+t,w=(v-a)*(v-a)+(_-s)*(_-s),k=(m-a)*(m-a)+(b-s)*(b-s);return w<k?(u[0]=v,u[1]=_,Math.sqrt(w)):(u[0]=m,u[1]=b,Math.sqrt(k))}function Jv(n,t,e,r,i,o,a,s){var u=i-n,h=o-t,p=e-n,f=r-t,y=Math.sqrt(p*p+f*f);p/=y,f/=y;var g=u*p+h*f,v=g/y;s&&(v=Math.min(Math.max(v,0),1)),v*=y;var _=a[0]=n+v*p,m=a[1]=t+v*f;return Math.sqrt((_-i)*(_-i)+(m-o)*(m-o))}function yM(n,t,e,r,i,o,a){e<0&&(n=n+e,e=-e),r<0&&(t=t+r,r=-r);var s=n+e,u=t+r,h=a[0]=Math.min(Math.max(i,n),s),p=a[1]=Math.min(Math.max(o,t),u);return Math.sqrt((h-i)*(h-i)+(p-o)*(p-o))}var qn=[];function fF(n,t,e){var r=yM(t.x,t.y,t.width,t.height,n.x,n.y,qn);return e.set(qn[0],qn[1]),r}function dF(n,t,e){for(var r=0,i=0,o=0,a=0,s,u,h=1/0,p=t.data,f=n.x,y=n.y,g=0;g<p.length;){var v=p[g++];g===1&&(r=p[g],i=p[g+1],o=r,a=i);var _=h;switch(v){case ko.M:o=p[g++],a=p[g++],r=o,i=a;break;case ko.L:_=Jv(r,i,p[g],p[g+1],f,y,qn,!0),r=p[g++],i=p[g++];break;case ko.C:_=jb(r,i,p[g++],p[g++],p[g++],p[g++],p[g],p[g+1],f,y,qn),r=p[g++],i=p[g++];break;case ko.Q:_=$b(r,i,p[g++],p[g++],p[g],p[g+1],f,y,qn),r=p[g++],i=p[g++];break;case ko.A:var m=p[g++],b=p[g++],w=p[g++],k=p[g++],T=p[g++],C=p[g++];g+=1;var I=!!(1-p[g++]);s=Math.cos(T)*w+m,u=Math.sin(T)*k+b,g<=1&&(o=s,a=u);var A=(f-m)*k/w+m;_=pF(m,b,k,T,T+C,I,A,y,qn),r=Math.cos(T+C)*w+m,i=Math.sin(T+C)*k+b;break;case ko.R:o=r=p[g++],a=i=p[g++];var E=p[g++],P=p[g++];_=yM(o,a,E,P,f,y,qn);break;case ko.Z:_=Jv(r,i,o,a,f,y,qn,!0),r=o,i=a;break}_<h&&(h=_,e.set(qn[0],qn[1]))}return h}var Co=new Rt,Ce=new Rt,fn=new Rt,Ya=new Rt,Ql=new Rt;function vM(n,t){if(n){var e=n.getTextGuideLine(),r=n.getTextContent();if(r&&e){var i=n.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||cF,s=r.getBoundingRect().clone();s.applyTransform(r.getComputedTransform());var u=1/0,h=i.anchor,p=n.getComputedTransform(),f=p&&vc([],p),y=t.get("length2")||0;h&&fn.copy(h);for(var g=0;g<a.length;g++){var v=a[g];hF(v,0,s,Co,Ya),Rt.scaleAndAdd(Ce,Co,Ya,y),Ce.transform(f);var _=n.getBoundingRect(),m=h?h.distance(Ce):n instanceof Zt?dF(Ce,n.path,fn):fF(Ce,_,fn);m<u&&(u=m,Ce.transform(p),fn.transform(p),fn.toArray(o[0]),Ce.toArray(o[1]),Co.toArray(o[2]))}gF(o,t.get("minTurnAngle")),e.setShape({points:o})}}}var mM=[],Mo=new Rt;function gF(n,t){if(t<=180&&t>0){t=t/180*Math.PI,Co.fromArray(n[0]),Ce.fromArray(n[1]),fn.fromArray(n[2]),Rt.sub(Ya,Co,Ce),Rt.sub(Ql,fn,Ce);var e=Ya.len(),r=Ql.len();if(!(e<.001||r<.001)){Ya.scale(1/e),Ql.scale(1/r);var i=Ya.dot(Ql),o=Math.cos(t);if(o<i){var a=Jv(Ce.x,Ce.y,fn.x,fn.y,Co.x,Co.y,mM,!1);Mo.fromArray(mM),Mo.scaleAndAdd(Ql,a/Math.tan(Math.PI-t));var s=fn.x!==Ce.x?(Mo.x-Ce.x)/(fn.x-Ce.x):(Mo.y-Ce.y)/(fn.y-Ce.y);if(isNaN(s))return;s<0?Rt.copy(Mo,Ce):s>1&&Rt.copy(Mo,fn),Mo.toArray(n[1])}}}}function tm(n,t,e,r){var i=e==="normal",o=i?n:n.ensureState(e);o.ignore=t;var a=r.get("smooth");a&&a===!0&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?n.useStyle(s):o.style=s}function yF(n,t){var e=t.smooth,r=t.points;if(r)if(n.moveTo(r[0][0],r[0][1]),e>0&&r.length>=3){var i=$d(r[0],r[1]),o=$d(r[1],r[2]);if(!i||!o){n.lineTo(r[1][0],r[1][1]),n.lineTo(r[2][0],r[2][1]);return}var a=Math.min(i,o)*e,s=qd([],r[1],r[0],a/i),u=qd([],r[1],r[2],a/o),h=qd([],s,u,.5);n.bezierCurveTo(s[0],s[1],s[0],s[1],h[0],h[1]),n.bezierCurveTo(u[0],u[1],u[0],u[1],r[2][0],r[2][1])}else for(var p=1;p<r.length;p++)n.lineTo(r[p][0],r[p][1])}function vF(n,t,e){var r=n.getTextGuideLine(),i=n.getTextContent();if(!i){r&&n.removeTextGuideLine();return}for(var o=t.normal,a=o.get("show"),s=i.ignore,u=0;u<eh.length;u++){var h=eh[u],p=t[h],f=h==="normal";if(p){var y=p.get("show"),g=f?s:Ot(i.states[h]&&i.states[h].ignore,s);if(g||!Ot(y,a)){var v=f?r:r&&r.states[h];v&&(v.ignore=!0),r&&tm(r,!0,h,p);continue}r||(r=new ph,n.setTextGuideLine(r),!f&&(s||!a)&&tm(r,!0,"normal",t.normal),n.stateProxy&&(r.stateProxy=n.stateProxy)),tm(r,!1,h,p)}}if(r){qt(r.style,e),r.style.fill=null;var _=o.get("showAbove"),m=n.textGuideLineConfig=n.textGuideLineConfig||{};m.showAbove=_||!1,r.buildPath=yF}}function mF(n,t){t=t||"labelLine";for(var e={normal:n.getModel(t)},r=0;r<Mn.length;r++){var i=Mn[r];e[i]=n.getModel([i,t])}return e}function _F(n){if(n){for(var t=[],e=0;e<n.length;e++)t.push(n[e].slice());return t}}function bF(n,t){var e=n.label,r=t&&t.getTextGuideLine();return{dataIndex:n.dataIndex,dataType:n.dataType,seriesIndex:n.seriesModel.seriesIndex,text:n.label.style.text,rect:n.hostRect,labelRect:n.rect,align:e.style.align,verticalAlign:e.style.verticalAlign,labelLinePoints:_F(r&&r.shape.points)}}var _M=["align","verticalAlign","width","height","fontSize"],We=new Hc,em=pe(),xF=pe();function yp(n,t,e){for(var r=0;r<e.length;r++){var i=e[r];t[i]!=null&&(n[i]=t[i])}}var vp=["x","y","rotation"],wF=(function(){function n(){this._labelList=[],this._chartViewList=[]}return n.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},n.prototype._addLabel=function(t,e,r,i,o){var a=i.style,s=i.__hostTarget,u=s.textConfig||{},h=i.getComputedTransform(),p=i.getBoundingRect().plain();Gt.applyTransform(p,p,h),h?We.setLocalTransform(h):(We.x=We.y=We.rotation=We.originX=We.originY=0,We.scaleX=We.scaleY=1),We.rotation=Ar(We.rotation);var f=i.__hostTarget,y;if(f){y=f.getBoundingRect().plain();var g=f.getComputedTransform();Gt.applyTransform(y,y,g)}var v=y&&f.getTextGuideLine();this._labelList.push({label:i,labelLine:v,seriesModel:r,dataIndex:t,dataType:e,layoutOption:o,computedLayoutOption:null,rect:p,hostRect:y,priority:y?y.width*y.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:v&&v.ignore,x:We.x,y:We.y,scaleX:We.scaleX,scaleY:We.scaleY,rotation:We.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:i.cursor,attachedPos:u.position,attachedRot:u.rotation}})},n.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var r=t.__model,i=r.get("labelLayout");(At(i)||ae(i).length)&&t.group.traverse(function(o){if(o.ignore)return!0;var a=o.getTextContent(),s=Bt(o);a&&!a.disableLabelLayout&&e._addLabel(s.dataIndex,s.dataType,r,a,i)})},n.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),r=t.getHeight();function i(k,T){return function(){vM(k,T)}}for(var o=0;o<this._labelList.length;o++){var a=this._labelList[o],s=a.label,u=s.__hostTarget,h=a.defaultAttr,p=void 0;At(a.layoutOption)?p=a.layoutOption(bF(a,u)):p=a.layoutOption,p=p||{},a.computedLayoutOption=p;var f=Math.PI/180;u&&u.setTextConfig({local:!1,position:p.x!=null||p.y!=null?null:h.attachedPos,rotation:p.rotate!=null?p.rotate*f:h.attachedRot,offset:[p.dx||0,p.dy||0]});var y=!1;if(p.x!=null?(s.x=De(p.x,e),s.setStyle("x",0),y=!0):(s.x=h.x,s.setStyle("x",h.style.x)),p.y!=null?(s.y=De(p.y,r),s.setStyle("y",0),y=!0):(s.y=h.y,s.setStyle("y",h.style.y)),p.labelLinePoints){var g=u.getTextGuideLine();g&&(g.setShape({points:p.labelLinePoints}),y=!1)}var v=em(s);v.needsUpdateLabelLine=y,s.rotation=p.rotate!=null?p.rotate*f:h.rotation,s.scaleX=h.scaleX,s.scaleY=h.scaleY;for(var _=0;_<_M.length;_++){var m=_M[_];s.setStyle(m,p[m]!=null?p[m]:h.style[m])}if(p.draggable){if(s.draggable=!0,s.cursor="move",u){var b=a.seriesModel;if(a.dataIndex!=null){var w=a.seriesModel.getData(a.dataType);b=w.getItemModel(a.dataIndex)}s.on("drag",i(u,b.getModel("labelLine")))}}else s.off("drag"),s.cursor=h.cursor}},n.prototype.layout=function(t){var e=t.getWidth(),r=t.getHeight(),i=O2(this._labelList),o=_e(i,function(u){return u.layoutOption.moveOverlap==="shiftX"}),a=_e(i,function(u){return u.layoutOption.moveOverlap==="shiftY"});eB(o,0,e),nB(a,0,r);var s=_e(i,function(u){return u.layoutOption.hideOverlap});P2(s)},n.prototype.processLabelsOverall=function(){var t=this;R(this._chartViewList,function(e){var r=e.__model,i=e.ignoreLabelLineUpdate,o=r.isAnimationEnabled();e.group.traverse(function(a){if(a.ignore&&!a.forceLabelAnimation)return!0;var s=!i,u=a.getTextContent();!s&&u&&(s=em(u).needsUpdateLabelLine),s&&t._updateLabelLine(a,r),o&&t._animateLabels(a,r)})})},n.prototype._updateLabelLine=function(t,e){var r=t.getTextContent(),i=Bt(t),o=i.dataIndex;if(r&&o!=null){var a=e.getData(i.dataType),s=a.getItemModel(o),u={},h=a.getItemVisual(o,"style");if(h){var p=a.getVisual("drawType");u.stroke=h[p]}var f=s.getModel("labelLine");vF(t,mF(s),u),vM(t,f)}},n.prototype._animateLabels=function(t,e){var r=t.getTextContent(),i=t.getTextGuideLine();if(r&&(t.forceLabelAnimation||!r.ignore&&!r.invisible&&!t.disableLabelAnimation&&!Aa(t))){var o=em(r),a=o.oldLayout,s=Bt(t),u=s.dataIndex,h={x:r.x,y:r.y,rotation:r.rotation},p=e.getData(s.dataType);if(a){r.attr(a);var f=t.prevStates;f&&(Xt(f,"select")>=0&&r.attr(o.oldLayoutSelect),Xt(f,"emphasis")>=0&&r.attr(o.oldLayoutEmphasis)),ze(r,h,e,u)}else if(r.attr(h),!Oa(r).valueAnimation){var y=Ot(r.style.opacity,1);r.style.opacity=0,Tn(r,{style:{opacity:y}},e,u)}if(o.oldLayout=h,r.states.select){var g=o.oldLayoutSelect={};yp(g,h,vp),yp(g,r.states.select,vp)}if(r.states.emphasis){var v=o.oldLayoutEmphasis={};yp(v,h,vp),yp(v,r.states.emphasis,vp)}WL(r,u,p,e,e)}if(i&&!i.ignore&&!i.invisible){var o=xF(i),a=o.oldLayout,_={points:i.shape.points};a?(i.attr({shape:a}),ze(i,{shape:_},e)):(i.setShape(_),i.style.strokePercent=0,Tn(i,{style:{strokePercent:1}},e)),o.oldLayout=_}},n})(),nm=pe();function SF(n){n.registerUpdateLifecycle("series:beforeupdate",function(t,e,r){var i=nm(e).labelManager;i||(i=nm(e).labelManager=new wF),i.clearLabels()}),n.registerUpdateLifecycle("series:layoutlabels",function(t,e,r){var i=nm(e).labelManager;r.updatedSeries.forEach(function(o){i.addLabelsOfSeries(e.getViewOfSeriesModel(o))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}function bM(n,t,e){var r=la.createCanvas(),i=t.getWidth(),o=t.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",n)),r.width=i*e,r.height=o*e,r}var rm=(function(n){te(t,n);function t(e,r,i){var o=n.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null;var a;i=i||Fc,typeof e=="string"?a=bM(e,r,i):mt(e)&&(a=e,e=a.id),o.id=e,o.dom=a;var s=a.style;return s&&(xb(a),a.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),o.painter=r,o.dpr=i,o}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=bM("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),e!==1&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,r,i,o){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var a=[],s=this.maxRepaintRectCount,u=!1,h=new Gt(0,0,0,0);function p(w){if(!(!w.isFinite()||w.isZero()))if(a.length===0){var k=new Gt(0,0,0,0);k.copy(w),a.push(k)}else{for(var T=!1,C=1/0,I=0,A=0;A<a.length;++A){var E=a[A];if(E.intersect(w)){var P=new Gt(0,0,0,0);P.copy(E),P.union(w),a[A]=P,T=!0;break}else if(u){h.copy(w),h.union(E);var L=w.width*w.height,N=E.width*E.height,F=h.width*h.height,G=F-L-N;G<C&&(C=G,I=A)}}if(u&&(a[I].union(w),T=!0),!T){var k=new Gt(0,0,0,0);k.copy(w),a.push(k)}u||(u=a.length>=s)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var y=e[f];if(y){var g=y.shouldBePainted(i,o,!0,!0),v=y.__isRendered&&(y.__dirty&cn||!g)?y.getPrevPaintRect():null;v&&p(v);var _=g&&(y.__dirty&cn||!y.__isRendered)?y.getPaintRect():null;_&&p(_)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var y=r[f],g=y&&y.shouldBePainted(i,o,!0,!0);if(y&&(!g||!y.__zr)&&y.__isRendered){var v=y.getPrevPaintRect();v&&p(v)}}var m;do{m=!1;for(var f=0;f<a.length;){if(a[f].isZero()){a.splice(f,1);continue}for(var b=f+1;b<a.length;)a[f].intersect(a[b])?(m=!0,a[f].union(a[b]),a.splice(b,1)):b++;f++}}while(m);return this._paintRects=a,a},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,r){var i=this.dpr,o=this.dom,a=o.style,s=this.domBack;a&&(a.width=e+"px",a.height=r+"px"),o.width=e*i,o.height=r*i,s&&(s.width=e*i,s.height=r*i,i!==1&&this.ctxBack.scale(i,i))},t.prototype.clear=function(e,r,i){var o=this.dom,a=this.ctx,s=o.width,u=o.height;r=r||this.clearColor;var h=this.motionBlur&&!e,p=this.lastFrameAlpha,f=this.dpr,y=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(o,0,0,s/f,u/f));var g=this.domBack;function v(_,m,b,w){if(a.clearRect(_,m,b,w),r&&r!=="transparent"){var k=void 0;if(pc(r)){var T=r.global||r.__width===b&&r.__height===w;k=T&&r.__canvasGradient||ov(a,r,{x:0,y:0,width:b,height:w}),r.__canvasGradient=k,r.__width=b,r.__height=w}else qO(r)&&(r.scaleX=r.scaleX||f,r.scaleY=r.scaleY||f,k=av(a,r,{dirty:function(){y.setUnpainted(),y.painter.refresh()}}));a.save(),a.fillStyle=k||r,a.fillRect(_,m,b,w),a.restore()}h&&(a.save(),a.globalAlpha=p,a.drawImage(g,_,m,b,w),a.restore())}!i||h?v(0,0,s,u):i.length&&R(i,function(_){v(_.x*f,_.y*f,_.width*f,_.height*f)})},t})(ar),xM=1e5,To=314159,mp=.01,kF=.001;function CF(n){return n?n.__builtin__?!0:!(typeof n.resize!="function"||typeof n.refresh!="function"):!1}function MF(n,t){var e=document.createElement("div");return e.style.cssText=["position:relative","width:"+n+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",e}var TF=(function(){function n(t,e,r,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var o=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=r=ut({},r||{}),this.dpr=r.devicePixelRatio||Fc,this._singleCanvas=o,this.root=t;var a=t.style;a&&(xb(t),t.innerHTML=""),this.storage=e;var s=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(o){var h=t,p=h.width,f=h.height;r.width!=null&&(p=r.width),r.height!=null&&(f=r.height),this.dpr=r.devicePixelRatio||1,h.width=p*this.dpr,h.height=f*this.dpr,this._width=p,this._height=f;var y=new rm(h,this,this.dpr);y.__builtin__=!0,y.initContext(),u[To]=y,y.zlevel=To,s.push(To),this._domRoot=t}else{this._width=Yh(t,0,r),this._height=Yh(t,1,r);var g=this._domRoot=MF(this._width,this._height);t.appendChild(g)}}return n.prototype.getType=function(){return"canvas"},n.prototype.isSingleCanvas=function(){return this._singleCanvas},n.prototype.getViewportRoot=function(){return this._domRoot},n.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},n.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),r=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,r,t,this._redrawId);for(var o=0;o<i.length;o++){var a=i[o],s=this._layers[a];if(!s.__builtin__&&s.refresh){var u=o===0?this._backgroundColor:null;s.refresh(u)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},n.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},n.prototype._paintHoverList=function(t){var e=t.length,r=this._hoverlayer;if(r&&r.clear(),!!e){for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o,a=0;a<e;a++){var s=t[a];s.__inHover&&(r||(r=this._hoverlayer=this.getLayer(xM)),o||(o=r.ctx,o.save()),_o(o,s,i,a===e-1))}o&&o.restore()}},n.prototype.getHoverLayer=function(){return this.getLayer(xM)},n.prototype.paintOne=function(t,e){Zk(t,e)},n.prototype._paintList=function(t,e,r,i){if(this._redrawId===i){r=r||!1,this._updateLayerStatus(t);var o=this._doPaintList(t,e,r),a=o.finished,s=o.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),s&&this._paintHoverList(t),a)this.eachLayer(function(h){h.afterBrush&&h.afterBrush()});else{var u=this;xc(function(){u._paintList(t,e,r,i)})}}},n.prototype._compositeManually=function(){var t=this.getLayer(To).ctx,e=this._domRoot.width,r=this._domRoot.height;t.clearRect(0,0,e,r),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,r)})},n.prototype._doPaintList=function(t,e,r){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var u=this._zlevelList[s],h=this._layers[u];h.__builtin__&&h!==this._hoverlayer&&(h.__dirty||r)&&o.push(h)}for(var p=!0,f=!1,y=function(_){var m=o[_],b=m.ctx,w=a&&m.createRepaintRects(t,e,g._width,g._height),k=r?m.__startIndex:m.__drawIndex,T=!r&&m.incremental&&Date.now,C=T&&Date.now(),I=m.zlevel===g._zlevelList[0]?g._backgroundColor:null;if(m.__startIndex===m.__endIndex)m.clear(!1,I,w);else if(k===m.__startIndex){var A=t[k];(!A.incremental||!A.notClear||r)&&m.clear(!1,I,w)}k===-1&&(console.error("For some unknown reason. drawIndex is -1"),k=m.__startIndex);var E,P=function(G){var X={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(E=k;E<m.__endIndex;E++){var Y=t[E];if(Y.__inHover&&(f=!0),i._doPaintEl(Y,m,a,G,X,E===m.__endIndex-1),T){var nt=Date.now()-C;if(nt>15)break}}X.prevElClipPaths&&b.restore()};if(w)if(w.length===0)E=m.__endIndex;else for(var L=g.dpr,N=0;N<w.length;++N){var F=w[N];b.save(),b.beginPath(),b.rect(F.x*L,F.y*L,F.width*L,F.height*L),b.clip(),P(F),b.restore()}else b.save(),P(),b.restore();m.__drawIndex=E,m.__drawIndex<m.__endIndex&&(p=!1)},g=this,v=0;v<o.length;v++)y(v);return Tt.wxa&&R(this._layers,function(_){_&&_.ctx&&_.ctx.draw&&_.ctx.draw()}),{finished:p,needsRefreshHover:f}},n.prototype._doPaintEl=function(t,e,r,i,o,a){var s=e.ctx;if(r){var u=t.getPaintRect();(!i||u&&u.intersect(i))&&(_o(s,t,o,a),t.setPrevPaintRect(u))}else _o(s,t,o,a)},n.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=To);var r=this._layers[t];return r||(r=new rm("zr_"+t,this,this.dpr),r.zlevel=t,r.__builtin__=!0,this._layerConfig[t]?$t(r,this._layerConfig[t],!0):this._layerConfig[t-mp]&&$t(r,this._layerConfig[t-mp],!0),e&&(r.virtual=e),this.insertLayer(t,r),r.initContext()),r},n.prototype.insertLayer=function(t,e){var r=this._layers,i=this._zlevelList,o=i.length,a=this._domRoot,s=null,u=-1;if(!r[t]&&CF(e)){if(o>0&&t>i[0]){for(u=0;u<o-1&&!(i[u]<t&&i[u+1]>t);u++);s=r[i[u]]}if(i.splice(u+1,0,t),r[t]=e,!e.virtual)if(s){var h=s.dom;h.nextSibling?a.insertBefore(e.dom,h.nextSibling):a.appendChild(e.dom)}else a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom);e.painter||(e.painter=this)}},n.prototype.eachLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var o=r[i];t.call(e,this._layers[o],o)}},n.prototype.eachBuiltinLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var o=r[i],a=this._layers[o];a.__builtin__&&t.call(e,a,o)}},n.prototype.eachOtherLayer=function(t,e){for(var r=this._zlevelList,i=0;i<r.length;i++){var o=r[i],a=this._layers[o];a.__builtin__||t.call(e,a,o)}},n.prototype.getLayers=function(){return this._layers},n.prototype._updateLayerStatus=function(t){this.eachBuiltinLayer(function(f,y){f.__dirty=f.__used=!1});function e(f){o&&(o.__endIndex!==f&&(o.__dirty=!0),o.__endIndex=f)}if(this._singleCanvas)for(var r=1;r<t.length;r++){var i=t[r];if(i.zlevel!==t[r-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var o=null,a=0,s,u;for(u=0;u<t.length;u++){var i=t[u],h=i.zlevel,p=void 0;s!==h&&(s=h,a=0),i.incremental?(p=this.getLayer(h+kF,this._needsManuallyCompositing),p.incremental=!0,a=1):p=this.getLayer(h+(a>0?mp:0),this._needsManuallyCompositing),p.__builtin__||Hd("ZLevel "+h+" has been used by unkown layer "+p.id),p!==o&&(p.__used=!0,p.__startIndex!==u&&(p.__dirty=!0),p.__startIndex=u,p.incremental?p.__drawIndex=-1:p.__drawIndex=u,e(u),o=p),i.__dirty&cn&&!i.__inHover&&(p.__dirty=!0,p.incremental&&p.__drawIndex<0&&(p.__drawIndex=u))}e(u),this.eachBuiltinLayer(function(f,y){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},n.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},n.prototype._clearLayer=function(t){t.clear()},n.prototype.setBackgroundColor=function(t){this._backgroundColor=t,R(this._layers,function(e){e.setUnpainted()})},n.prototype.configLayer=function(t,e){if(e){var r=this._layerConfig;r[t]?$t(r[t],e,!0):r[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+mp){var a=this._layers[o];$t(a,r[t],!0)}}}},n.prototype.delLayer=function(t){var e=this._layers,r=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],r.splice(Xt(r,t),1))},n.prototype.resize=function(t,e){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var i=this._opts,o=this.root;if(t!=null&&(i.width=t),e!=null&&(i.height=e),t=Yh(o,0,i),e=Yh(o,1,i),r.style.display="",this._width!==t||e!==this._height){r.style.width=t+"px",r.style.height=e+"px";for(var a in this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(t==null||e==null)return;this._width=t,this._height=e,this.getLayer(To).resize(t,e)}return this},n.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},n.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},n.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[To].dom;var e=new rm("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var r=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,o=e.dom.height;this.eachLayer(function(f){f.__builtin__?r.drawImage(f.dom,0,0,i,o):f.renderToCanvas&&(r.save(),f.renderToCanvas(r),r.restore())})}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},s=this.storage.getDisplayList(!0),u=0,h=s.length;u<h;u++){var p=s[u];_o(r,p,a,u===h-1)}return e.dom},n.prototype.getWidth=function(){return this._width},n.prototype.getHeight=function(){return this._height},n})();function IF(n){n.registerPainter("canvas",TF)}var DF=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="dataset",e}return t.prototype.init=function(e,r,i){n.prototype.init.call(this,e,r,i),this._sourceManager=new ok(this),ak(this)},t.prototype.mergeOption=function(e,r){n.prototype.mergeOption.call(this,e,r),ak(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:gr},t})(Qt),AF=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="dataset",e}return t.type="dataset",t})(On);function OF(n){n.registerComponentModel(DF),n.registerComponentView(AF)}var EF=(function(n){Mt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.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"},t})(Qt),im=(function(n){Mt(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Hn).models[0]},t.type="cartesian2dAxis",t})(Qt);ir(im,JB);var wM={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,showMinLine:!0,showMaxLine:!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)"]}}},PF=$t({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},wM),om=$t({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}}},wM),NF=$t({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},om),LF=qt({logBase:10},om);const RF={category:PF,value:om,time:NF,log:LF};var zF={value:1,category:1,time:1,log:1};function SM(n,t,e,r){R(zF,function(i,o){var a=$t($t({},RF[o],!0),r,!0),s=(function(u){Mt(h,u);function h(){var p=u!==null&&u.apply(this,arguments)||this;return p.type=t+"Axis."+o,p}return h.prototype.mergeDefaultAndTheme=function(p,f){var y=Ml(this),g=y?zh(p):{},v=f.getTheme();$t(p,v.get(o+"Axis")),$t(p,this.getDefaultOption()),p.type=kM(p),y&&La(p,g,y)},h.prototype.optionUpdated=function(){var p=this.option;p.type==="category"&&(this.__ordinalMeta=jv.createByAxisModel(this))},h.prototype.getCategories=function(p){var f=this.option;if(f.type==="category")return p?f.data:this.__ordinalMeta.categories},h.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},h.type=t+"Axis."+o,h.defaultOption=a,h})(e);n.registerComponentModel(s)}),n.registerSubTypeDefaulter(t+"Axis",kM)}function kM(n){return n.type||(n.data?"category":"value")}var BF=(function(){function n(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return n.prototype.getAxis=function(t){return this._axes[t]},n.prototype.getAxes=function(){return xt(this._dimList,function(t){return this._axes[t]},this)},n.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),_e(this.getAxes(),function(e){return e.scale.type===t})},n.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},n})(),am=["x","y"];function CM(n){return n.type==="interval"||n.type==="time"}var FF=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=am,e}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!CM(e)||!CM(r))){var i=e.getExtent(),o=r.getExtent(),a=this.dataToPoint([i[0],o[0]]),s=this.dataToPoint([i[1],o[1]]),u=i[1]-i[0],h=o[1]-o[0];if(!(!u||!h)){var p=(s[0]-a[0])/u,f=(s[1]-a[1])/h,y=a[0]-i[0]*p,g=a[1]-o[0]*f,v=this._transform=[p,0,0,f,y,g];this._invTransform=vc([],v)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var r=this.getAxis("x"),i=this.getAxis("y");return r.contain(r.toLocalCoord(e[0]))&&i.contain(i.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,r){var i=this.dataToPoint(e),o=this.dataToPoint(r),a=this.getArea(),s=new Gt(i[0],i[1],o[0]-i[0],o[1]-i[1]);return a.intersect(s)},t.prototype.dataToPoint=function(e,r,i){i=i||[];var o=e[0],a=e[1];if(this._transform&&o!=null&&isFinite(o)&&a!=null&&isFinite(a))return _n(i,e,this._transform);var s=this.getAxis("x"),u=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(o,r)),i[1]=u.toGlobalCoord(u.dataToCoord(a,r)),i},t.prototype.clampData=function(e,r){var i=this.getAxis("x").scale,o=this.getAxis("y").scale,a=i.getExtent(),s=o.getExtent(),u=i.parse(e[0]),h=o.parse(e[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),u),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(s[0],s[1]),h),Math.max(s[0],s[1])),r},t.prototype.pointToData=function(e,r){var i=[];if(this._invTransform)return _n(i,e,this._invTransform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.coordToData(o.toLocalCoord(e[0]),r),i[1]=a.coordToData(a.toLocalCoord(e[1]),r),i},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},t.prototype.getArea=function(e){e=e||0;var r=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),o=Math.min(r[0],r[1])-e,a=Math.min(i[0],i[1])-e,s=Math.max(r[0],r[1])-o+e,u=Math.max(i[0],i[1])-a+e;return new Gt(o,a,s,u)},t})(BF),HF=(function(n){Mt(t,n);function t(e,r,i,o,a){var s=n.call(this,e,r,i)||this;return s.index=0,s.type=o||"value",s.position=a||"bottom",s}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.getGlobalExtent=function(e){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),e&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(e,r){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t})(lF),sm=Math.log;function VF(n,t,e){var r=qa.prototype,i=r.getTicks.call(e),o=r.getTicks.call(e,!0),a=i.length-1,s=r.getInterval.call(e),u=I2(n,t),h=u.extent,p=u.fixMin,f=u.fixMax;if(n.type==="log"){var y=sm(n.base);h=[sm(h[0])/y,sm(h[1])/y]}n.setExtent(h[0],h[1]),n.calcNiceExtent({splitNumber:a,fixMin:p,fixMax:f});var g=r.getExtent.call(n);p&&(h[0]=g[0]),f&&(h[1]=g[1]);var v=r.getInterval.call(n),_=h[0],m=h[1];if(p&&f)v=(m-_)/a;else if(p)for(m=h[0]+v*a;m<h[1]&&isFinite(m)&&isFinite(h[1]);)v=Wv(v),m=h[0]+v*a;else if(f)for(_=h[1]-v*a;_>h[0]&&isFinite(_)&&isFinite(h[0]);)v=Wv(v),_=h[1]-v*a;else{var b=n.getTicks().length-1;b>a&&(v=Wv(v));var w=v*a;m=Math.ceil(h[1]/v)*v,_=be(m-w),_<0&&h[0]>=0?(_=0,m=be(w)):m>0&&h[1]<=0&&(m=0,_=-be(w))}var k=(i[0].value-o[0].value)/s,T=(i[a].value-o[a].value)/s;r.setExtent.call(n,_+v*k,m+v*T),r.setInterval.call(n,v),(k||T)&&r.setNiceExtent.call(n,_+v,m-v)}var GF=(function(){function n(t,e,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=am,this._initCartesian(t,e,r),this.model=t}return n.prototype.getRect=function(){return this._rect},n.prototype.update=function(t,e){var r=this._axesMap;this._updateScale(t,this.model);function i(a){var s,u=ae(a),h=u.length;if(h){for(var p=[],f=h-1;f>=0;f--){var y=+u[f],g=a[y],v=g.model,_=g.scale;Uv(_)&&v.get("alignTicks")&&v.get("interval")==null?p.push(g):(D2(_,v),Uv(_)&&(s=g))}p.length&&(s||(s=p.pop(),D2(s.scale,s.model)),R(p,function(m){VF(m.scale,m.model,s.scale)}))}}i(r.x),i(r.y);var o={};R(r.x,function(a){MM(r,"y",a,o)}),R(r.y,function(a){MM(r,"x",a,o)}),this.resize(this.model,e)},n.prototype.resize=function(t,e,r){var i=t.getBoxLayoutParams(),o=!r&&t.get("containLabel"),a=Cl(i,{width:e.getWidth(),height:e.getHeight()});this._rect=a;var s=this._axesList;u(),o&&(R(s,function(h){if(!h.model.get(["axisLabel","inside"])){var p=K4(h);if(p){var f=h.isHorizontal()?"height":"width",y=h.model.get(["axisLabel","margin"]);a[f]-=p[f]+y,h.position==="top"?a.y+=p.height+y:h.position==="left"&&(a.x+=p.width+y)}}}),u()),R(this._coordsList,function(h){h.calcAffineTransform()});function u(){R(s,function(h){var p=h.isHorizontal(),f=p?[0,a.width]:[0,a.height],y=h.inverse?1:0;h.setExtent(f[y],f[1-y]),jF(h,p?a.x:a.y)})}},n.prototype.getAxis=function(t,e){var r=this._axesMap[t];if(r!=null)return r[e||0]},n.prototype.getAxes=function(){return this._axesList.slice()},n.prototype.getCartesian=function(t,e){if(t!=null&&e!=null){var r="x"+t+"y"+e;return this._coordsMap[r]}mt(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i<o.length;i++)if(o[i].getAxis("x").index===t||o[i].getAxis("y").index===e)return o[i]},n.prototype.getCartesians=function(){return this._coordsList.slice()},n.prototype.convertToPixel=function(t,e,r){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(r):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(r)):null},n.prototype.convertFromPixel=function(t,e,r){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(r):i.axis?i.axis.coordToData(i.axis.toLocalCoord(r)):null},n.prototype._findConvertTarget=function(t){var e=t.seriesModel,r=t.xAxisModel||e&&e.getReferringComponents("xAxis",Hn).models[0],i=t.yAxisModel||e&&e.getReferringComponents("yAxis",Hn).models[0],o=t.gridModel,a=this._coordsList,s,u;if(e)s=e.coordinateSystem,Xt(a,s)<0&&(s=null);else if(r&&i)s=this.getCartesian(r.componentIndex,i.componentIndex);else if(r)u=this.getAxis("x",r.componentIndex);else if(i)u=this.getAxis("y",i.componentIndex);else if(o){var h=o.coordinateSystem;h===this&&(s=this._coordsList[0])}return{cartesian:s,axis:u}},n.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},n.prototype._initCartesian=function(t,e,r){var i=this,o=this,a={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},u={x:0,y:0};if(e.eachComponent("xAxis",h("x"),this),e.eachComponent("yAxis",h("y"),this),!u.x||!u.y){this._axesMap={},this._axesList=[];return}this._axesMap=s,R(s.x,function(p,f){R(s.y,function(y,g){var v="x"+f+"y"+g,_=new FF(v);_.master=i,_.model=t,i._coordsMap[v]=_,i._coordsList.push(_),_.addAxis(p),_.addAxis(y)})});function h(p){return function(f,y){if(lm(f,t)){var g=f.get("position");p==="x"?g!=="top"&&g!=="bottom"&&(g=a.bottom?"top":"bottom"):g!=="left"&&g!=="right"&&(g=a.left?"right":"left"),a[g]=!0;var v=new HF(p,Z4(f),[0,0],f.get("type"),g),_=v.type==="category";v.onBand=_&&f.get("boundaryGap"),v.inverse=f.get("inverse"),f.axis=v,v.model=f,v.grid=o,v.index=y,o._axesList.push(v),s[p][y]=v,u[p]++}}}},n.prototype._updateScale=function(t,e){R(this._axesList,function(i){if(i.scale.setExtent(1/0,-1/0),i.type==="category"){var o=i.model.get("categorySortInfo");i.scale.setSortInfo(o)}}),t.eachSeries(function(i){if(H2(i)){var o=V2(i),a=o.xAxisModel,s=o.yAxisModel;if(!lm(a,e)||!lm(s,e))return;var u=this.getCartesian(a.componentIndex,s.componentIndex),h=i.getData(),p=u.getAxis("x"),f=u.getAxis("y");r(h,p),r(h,f)}},this);function r(i,o){R(tB(i,o.dim),function(a){o.scale.unionExtentFromData(i,a)})}},n.prototype.getTooltipAxes=function(t){var e=[],r=[];return R(this.getCartesians(),function(i){var o=t!=null&&t!=="auto"?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(o);Xt(e,o)<0&&e.push(o),Xt(r,a)<0&&r.push(a)}),{baseAxes:e,otherAxes:r}},n.create=function(t,e){var r=[];return t.eachComponent("grid",function(i,o){var a=new n(i,t,e);a.name="grid_"+o,a.resize(i,e,!0),i.coordinateSystem=a,r.push(a)}),t.eachSeries(function(i){if(H2(i)){var o=V2(i),a=o.xAxisModel,s=o.yAxisModel,u=a.getCoordSysModel(),h=u.coordinateSystem;i.coordinateSystem=h.getCartesian(a.componentIndex,s.componentIndex)}}),r},n.dimensions=am,n})();function lm(n,t){return n.getCoordSysModel()===t}function MM(n,t,e,r){e.getAxesOnZeroOf=function(){return o?[o]:[]};var i=n[t],o,a=e.model,s=a.get(["axisLine","onZero"]),u=a.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(u!=null)TM(i[u])&&(o=i[u]);else for(var h in i)if(i.hasOwnProperty(h)&&TM(i[h])&&!r[p(i[h])]){o=i[h];break}o&&(r[p(o)]=!0);function p(f){return f.dim+"_"+f.index}}function TM(n){return n&&n.type!=="category"&&n.type!=="time"&&Q4(n)}function jF(n,t){var e=n.getExtent(),r=e[0]+e[1];n.toGlobalCoord=n.dim==="x"?function(i){return i+t}:function(i){return r-i+t},n.toLocalCoord=n.dim==="x"?function(i){return i-t}:function(i){return r-i+t}}var um=pe();function UF(n,t,e,r){var i=e.axis;if(!i.scale.isBlank()){var o=e.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),u=r.coordinateSystem.getRect(),h=i.getTicksCoords({tickModel:o,clamp:!0});if(h.length){var p=s.length,f=um(n).splitAreaColors,y=Lt(),g=0;if(f)for(var v=0;v<h.length;v++){var _=f.get(h[v].tickValue);if(_!=null){g=(_+(p-1)*v)%p;break}}var m=i.toGlobalCoord(h[0].coord),b=a.getAreaStyle();s=pt(s)?s:[s];for(var v=1;v<h.length;v++){var w=i.toGlobalCoord(h[v].coord),k=void 0,T=void 0,C=void 0,I=void 0;i.isHorizontal()?(k=m,T=u.y,C=w-k,I=u.height,m=k+C):(k=u.x,T=m,C=u.width,I=w-T,m=T+I);var A=h[v-1].tickValue;A!=null&&y.set(A,g),t.add(new xe({anid:A!=null?"area_"+A:null,shape:{x:k,y:T,width:C,height:I},style:qt({fill:s[g]},b),autoBatch:!0,silent:!0})),g=(g+1)%p}um(n).splitAreaColors=y}}}function WF(n){um(n).splitAreaColors=null}var $F=["axisLine","axisTickLabel","axisName"],qF=["splitArea","splitLine","minorSplitLine"],IM=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="CartesianAxisPointer",e}return t.prototype.render=function(e,r,i,o){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new Ie,this.group.add(this._axisGroup),!!e.get("show")){var s=e.getCoordSysModel(),u=Zv(s,e),h=new Ti(e,ut({handleAutoShown:function(f){for(var y=s.coordinateSystem.getCartesians(),g=0;g<y.length;g++)if(Uv(y[g].getOtherAxis(e.axis).scale))return!0;return!1}},u));R($F,h.add,h),this._axisGroup.add(h.getGroup()),R(qF,function(f){e.get([f,"show"])&&XF[f](this,this._axisGroup,e,s)},this);var p=o&&o.type==="changeAxisOrder"&&o.isInitSort;p||jw(a,this._axisGroup,e),n.prototype.render.call(this,e,r,i,o)}},t.prototype.remove=function(){WF(this)},t.type="cartesianAxis",t})(y2),XF={splitLine:function(n,t,e,r){var i=e.axis;if(!i.scale.isBlank()){var o=e.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),u=o.get("showMinLine")!==!1,h=o.get("showMaxLine")!==!1;s=pt(s)?s:[s];for(var p=r.coordinateSystem.getRect(),f=i.isHorizontal(),y=0,g=i.getTicksCoords({tickModel:o}),v=[],_=[],m=a.getLineStyle(),b=0;b<g.length;b++){var w=i.toGlobalCoord(g[b].coord);if(!(b===0&&!u||b===g.length-1&&!h)){var k=g[b].tickValue;f?(v[0]=w,v[1]=p.y,_[0]=w,_[1]=p.y+p.height):(v[0]=p.x,v[1]=w,_[0]=p.x+p.width,_[1]=w);var T=y++%s.length,C=new gi({anid:k!=null?"line_"+k:null,autoBatch:!0,shape:{x1:v[0],y1:v[1],x2:_[0],y2:_[1]},style:qt({stroke:s[T]},m),silent:!0});bl(C.shape,m.lineWidth),t.add(C)}}}},minorSplitLine:function(n,t,e,r){var i=e.axis,o=e.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=r.coordinateSystem.getRect(),u=i.isHorizontal(),h=i.getMinorTicksCoords();if(h.length)for(var p=[],f=[],y=a.getLineStyle(),g=0;g<h.length;g++)for(var v=0;v<h[g].length;v++){var _=i.toGlobalCoord(h[g][v].coord);u?(p[0]=_,p[1]=s.y,f[0]=_,f[1]=s.y+s.height):(p[0]=s.x,p[1]=_,f[0]=s.x+s.width,f[1]=_);var m=new gi({anid:"minor_line_"+h[g][v].tickValue,autoBatch:!0,shape:{x1:p[0],y1:p[1],x2:f[0],y2:f[1]},style:y,silent:!0});bl(m.shape,y.lineWidth),t.add(m)}},splitArea:function(n,t,e,r){UF(n,t,e,r)}},DM=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.type="xAxis",t})(IM),YF=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=DM.type,e}return t.type="yAxis",t})(IM),ZF=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type="grid",e}return t.prototype.render=function(e,r){this.group.removeAll(),e.get("show")&&this.group.add(new xe({shape:e.coordinateSystem.getRect(),style:qt({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t})(On),AM={offset:0};function QF(n){n.registerComponentView(ZF),n.registerComponentModel(EF),n.registerCoordinateSystem("cartesian2d",GF),SM(n,"x",im,AM),SM(n,"y",im,AM),n.registerComponentView(DM),n.registerComponentView(YF),n.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function KF(n){xi(QF),xi(Z2)}function JF(n,t){var e=Nh(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),n=new xe({shape:{x:n.x-e[3],y:n.y-e[0],width:n.width+e[1]+e[3],height:n.height+e[0]+e[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),n}var t6=function(n,t){if(t==="all")return{type:"all",title:n.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:n.getLocaleModel().get(["legend","selector","inverse"])}},cm=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.prototype.init=function(e,r,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(e,r){n.prototype.mergeOption.call(this,e,r),this._updateSelector(e)},t.prototype._updateSelector=function(e){var r=e.selector,i=this.ecModel;r===!0&&(r=e.selector=["all","inverse"]),pt(r)&&R(r,function(o,a){gt(o)&&(o={type:o}),r[a]=$t(o,t6(i,o.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&this.get("selectedMode")==="single"){for(var r=!1,i=0;i<e.length;i++){var o=e[i].get("name");if(this.isSelected(o)){this.select(o),r=!0;break}}!r&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var r=[],i=[];e.eachRawSeries(function(u){var h=u.name;i.push(h);var p;if(u.legendVisualProvider){var f=u.legendVisualProvider,y=f.getAllNames();e.isSeriesFiltered(u)||(i=i.concat(y)),y.length?r=r.concat(y):p=!0}else p=!0;p&&Lg(u)&&r.push(u.name)}),this._availableNames=i;var o=this.get("data")||r,a=Lt(),s=xt(o,function(u){return(gt(u)||se(u))&&(u={name:u}),a.get(u.name)?null:(a.set(u.name,!0),new fe(u,this,this.ecModel))},this);this._data=_e(s,function(u){return!!u})},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var r=this.option.selected,i=this.get("selectedMode");if(i==="single"){var o=this._data;R(o,function(a){r[a.get("name")]=!1})}r[e]=!0},t.prototype.unSelect=function(e){this.get("selectedMode")!=="single"&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var r=this.option.selected;r.hasOwnProperty(e)||(r[e]=!0),this[r[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,r=this.option.selected;R(e,function(i){r[i.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,r=this.option.selected;R(e,function(i){var o=i.get("name",!0);r.hasOwnProperty(o)||(r[o]=!0),r[o]=!r[o]})},t.prototype.isSelected=function(e){var r=this.option.selected;return!(r.hasOwnProperty(e)&&!r[e])&&Xt(this._availableNames,e)>=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t})(Qt),Za=Se,hm=R,_p=Ie,OM=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return t.prototype.init=function(){this.group.add(this._contentGroup=new _p),this.group.add(this._selectorGroup=new _p),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,r,i){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var a=e.get("align"),s=e.get("orient");(!a||a==="auto")&&(a=e.get("left")==="right"&&s==="vertical"?"right":"left");var u=e.get("selector",!0),h=e.get("selectorPosition",!0);u&&(!h||h==="auto")&&(h=s==="horizontal"?"end":"start"),this.renderInner(a,e,r,i,u,s,h);var p=e.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},y=e.get("padding"),g=Cl(p,f,y),v=this.layoutInner(e,a,g,o,u,h),_=Cl(qt({width:v.width,height:v.height},p),f,y);this.group.x=_.x-v.x,this.group.y=_.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=JF(v,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,r,i,o,a,s,u){var h=this.getContentGroup(),p=Lt(),f=r.get("selectedMode"),y=[];i.eachRawSeries(function(g){!g.get("legendHoverLink")&&y.push(g.id)}),hm(r.getData(),function(g,v){var _=g.get("name");if(!this.newlineDisabled&&(_===""||_===`
128
+ `)){var m=new _p;m.newline=!0,h.add(m);return}var b=i.getSeriesByName(_)[0];if(!p.get(_))if(b){var w=b.getData(),k=w.getVisual("legendLineStyle")||{},T=w.getVisual("legendIcon"),C=w.getVisual("style"),I=this._createItem(b,_,v,g,r,e,k,C,T,f,o);I.on("click",Za(EM,_,null,o,y)).on("mouseover",Za(pm,b.name,null,o,y)).on("mouseout",Za(fm,b.name,null,o,y)),i.ssr&&I.eachChild(function(A){var E=Bt(A);E.seriesIndex=b.seriesIndex,E.dataIndex=v,E.ssrType="legend"}),p.set(_,!0)}else i.eachRawSeries(function(A){if(!p.get(_)&&A.legendVisualProvider){var E=A.legendVisualProvider;if(!E.containName(_))return;var P=E.indexOfName(_),L=E.getItemVisual(P,"style"),N=E.getItemVisual(P,"legendIcon"),F=Cr(L.fill);F&&F[3]===0&&(F[3]=.2,L=ut(ut({},L),{fill:Ac(F,"rgba")}));var G=this._createItem(A,_,v,g,r,e,{},L,N,f,o);G.on("click",Za(EM,null,_,o,y)).on("mouseover",Za(pm,null,_,o,y)).on("mouseout",Za(fm,null,_,o,y)),i.ssr&&G.eachChild(function(X){var Y=Bt(X);Y.seriesIndex=A.seriesIndex,Y.dataIndex=v,Y.ssrType="legend"}),p.set(_,!0)}},this)},this),a&&this._createSelector(a,r,o,s,u)},t.prototype._createSelector=function(e,r,i,o,a){var s=this.getSelectorGroup();hm(e,function(u){var h=u.type,p=new Le({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:h==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});s.add(p);var f=r.getModel("selectorLabel"),y=r.getModel(["emphasis","selectorLabel"]);Sh(p,{normal:f,emphasis:y},{defaultText:u.title}),sy(p)})},t.prototype._createItem=function(e,r,i,o,a,s,u,h,p,f,y){var g=e.visualDrawType,v=a.get("itemWidth"),_=a.get("itemHeight"),m=a.isSelected(r),b=o.get("symbolRotate"),w=o.get("symbolKeepAspect"),k=o.get("icon");p=k||p||"roundRect";var T=e6(p,o,u,h,g,m,y),C=new _p,I=o.getModel("textStyle");if(At(e.getLegendIcon)&&(!k||k==="inherit"))C.add(e.getLegendIcon({itemWidth:v,itemHeight:_,icon:p,iconRotate:b,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:w}));else{var A=k==="inherit"&&e.getData().getVisual("symbol")?b==="inherit"?e.getData().getVisual("symbolRotate"):b:0;C.add(n6({itemWidth:v,itemHeight:_,icon:p,iconRotate:A,itemStyle:T.itemStyle,symbolKeepAspect:w}))}var E=s==="left"?v+5:-5,P=s,L=a.get("formatter"),N=r;gt(L)&&L?N=L.replace("{name}",r??""):At(L)&&(N=L(r));var F=m?I.getTextColor():o.get("inactiveColor");C.add(new Le({style:yi(I,{text:N,x:E,y:_/2,fill:F,align:P,verticalAlign:"middle"},{inheritColor:F})}));var G=new xe({shape:C.getBoundingRect(),style:{fill:"transparent"}}),X=o.getModel("tooltip");return X.get("show")&&bh({el:G,componentModel:a,itemName:r,itemTooltipOption:X.option}),C.add(G),C.eachChild(function(Y){Y.silent=!0}),G.silent=!f,this.getContentGroup().add(C),sy(C),C.__legendDataIndex=i,C},t.prototype.layoutInner=function(e,r,i,o,a,s){var u=this.getContentGroup(),h=this.getSelectorGroup();kl(e.get("orient"),u,e.get("itemGap"),i.width,i.height);var p=u.getBoundingRect(),f=[-p.x,-p.y];if(h.markRedraw(),u.markRedraw(),a){kl("horizontal",h,e.get("selectorItemGap",!0));var y=h.getBoundingRect(),g=[-y.x,-y.y],v=e.get("selectorButtonGap",!0),_=e.getOrient().index,m=_===0?"width":"height",b=_===0?"height":"width",w=_===0?"y":"x";s==="end"?g[_]+=p[m]+v:f[_]+=y[m]+v,g[1-_]+=p[b]/2-y[b]/2,h.x=g[0],h.y=g[1],u.x=f[0],u.y=f[1];var k={x:0,y:0};return k[m]=p[m]+v+y[m],k[b]=Math.max(p[b],y[b]),k[w]=Math.min(0,y[w]+g[1-_]),k}else return u.x=f[0],u.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t})(On);function e6(n,t,e,r,i,o,a){function s(m,b){m.lineWidth==="auto"&&(m.lineWidth=b.lineWidth>0?2:0),hm(m,function(w,k){m[k]==="inherit"&&(m[k]=b[k])})}var u=t.getModel("itemStyle"),h=u.getItemStyle(),p=n.lastIndexOf("empty",0)===0?"fill":"stroke",f=u.getShallow("decal");h.decal=!f||f==="inherit"?r.decal:lv(f,a),h.fill==="inherit"&&(h.fill=r[i]),h.stroke==="inherit"&&(h.stroke=r[p]),h.opacity==="inherit"&&(h.opacity=(i==="fill"?r:e).opacity),s(h,r);var y=t.getModel("lineStyle"),g=y.getLineStyle();if(s(g,e),h.fill==="auto"&&(h.fill=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),g.stroke==="auto"&&(g.stroke=r.fill),!o){var v=t.get("inactiveBorderWidth"),_=h[p];h.lineWidth=v==="auto"?r.lineWidth>0&&_?2:0:h.lineWidth,h.fill=t.get("inactiveColor"),h.stroke=t.get("inactiveBorderColor"),g.stroke=y.get("inactiveColor"),g.lineWidth=y.get("inactiveWidth")}return{itemStyle:h,lineStyle:g}}function n6(n){var t=n.icon||"roundRect",e=Ga(t,0,0,n.itemWidth,n.itemHeight,n.itemStyle.fill,n.symbolKeepAspect);return e.setStyle(n.itemStyle),e.rotation=(n.iconRotate||0)*Math.PI/180,e.setOrigin([n.itemWidth/2,n.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function EM(n,t,e,r){fm(n,t,e,r),e.dispatchAction({type:"legendToggleSelect",name:n??t}),pm(n,t,e,r)}function PM(n){for(var t=n.getZr().storage.getDisplayList(),e,r=0,i=t.length;r<i&&!(e=t[r].states.emphasis);)r++;return e&&e.hoverLayer}function pm(n,t,e,r){PM(e)||e.dispatchAction({type:"highlight",seriesName:n,name:t,excludeSeriesId:r})}function fm(n,t,e,r){PM(e)||e.dispatchAction({type:"downplay",seriesName:n,name:t,excludeSeriesId:r})}function r6(n){var t=n.findComponents({mainType:"legend"});t&&t.length&&n.filterSeries(function(e){for(var r=0;r<t.length;r++)if(!t[r].isSelected(e.name))return!1;return!0})}function Kl(n,t,e){var r=n==="allSelect"||n==="inverseSelect",i={},o=[];e.eachComponent({mainType:"legend",query:t},function(s){r?s[n]():s[n](t.name),NM(s,i),o.push(s.componentIndex)});var a={};return e.eachComponent("legend",function(s){R(i,function(u,h){s[u?"select":"unSelect"](h)}),NM(s,a)}),r?{selected:a,legendIndex:o}:{name:t.name,selected:a}}function NM(n,t){var e=t||{};return R(n.getData(),function(r){var i=r.get("name");if(!(i===`
129
+ `||i==="")){var o=n.isSelected(i);Wi(e,i)?e[i]=e[i]&&o:e[i]=o}}),e}function i6(n){n.registerAction("legendToggleSelect","legendselectchanged",Se(Kl,"toggleSelected")),n.registerAction("legendAllSelect","legendselectall",Se(Kl,"allSelect")),n.registerAction("legendInverseSelect","legendinverseselect",Se(Kl,"inverseSelect")),n.registerAction("legendSelect","legendselected",Se(Kl,"select")),n.registerAction("legendUnSelect","legendunselected",Se(Kl,"unSelect"))}function LM(n){n.registerComponentModel(cm),n.registerComponentView(OM),n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,r6),n.registerSubTypeDefaulter("legend",function(){return"plain"}),i6(n)}var o6=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(e,r,i){var o=zh(e);n.prototype.init.call(this,e,r,i),RM(this,e,o)},t.prototype.mergeOption=function(e,r){n.prototype.mergeOption.call(this,e,r),RM(this,this.option,e)},t.type="legend.scroll",t.defaultOption=tS(cm.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t})(cm);function RM(n,t,e){var r=n.getOrient(),i=[1,1];i[r.index]=0,La(t,e,{type:"box",ignoreSize:!!i})}var zM=Ie,dm=["width","height"],gm=["x","y"],a6=(function(n){Mt(t,n);function t(){var e=n!==null&&n.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!0,e._currentIndex=0,e}return t.prototype.init=function(){n.prototype.init.call(this),this.group.add(this._containerGroup=new zM),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new zM)},t.prototype.resetInner=function(){n.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(e,r,i,o,a,s,u){var h=this;n.prototype.renderInner.call(this,e,r,i,o,a,s,u);var p=this._controllerGroup,f=r.get("pageIconSize",!0),y=pt(f)?f:[f,f];v("pagePrev",0);var g=r.getModel("pageTextStyle");p.add(new Le({name:"pageText",style:{text:"xx/xx",fill:g.getTextColor(),font:g.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(_,m){var b=_+"DataIndex",w=Sy(r.get("pageIcons",!0)[r.getOrient().name][m],{onclick:le(h._pageGo,h,b,r,o)},{x:-y[0]/2,y:-y[1]/2,width:y[0],height:y[1]});w.name=_,p.add(w)}},t.prototype.layoutInner=function(e,r,i,o,a,s){var u=this.getSelectorGroup(),h=e.getOrient().index,p=dm[h],f=gm[h],y=dm[1-h],g=gm[1-h];a&&kl("horizontal",u,e.get("selectorItemGap",!0));var v=e.get("selectorButtonGap",!0),_=u.getBoundingRect(),m=[-_.x,-_.y],b=Ht(i);a&&(b[p]=i[p]-_[p]-v);var w=this._layoutContentAndController(e,o,b,h,p,y,g,f);if(a){if(s==="end")m[h]+=w[p]+v;else{var k=_[p]+v;m[h]-=k,w[f]-=k}w[p]+=_[p]+v,m[1-h]+=w[g]+w[y]/2-_[y]/2,w[y]=Math.max(w[y],_[y]),w[g]=Math.min(w[g],_[g]+m[1-h]),u.x=m[0],u.y=m[1],u.markRedraw()}return w},t.prototype._layoutContentAndController=function(e,r,i,o,a,s,u,h){var p=this.getContentGroup(),f=this._containerGroup,y=this._controllerGroup;kl(e.get("orient"),p,e.get("itemGap"),o?i.width:null,o?null:i.height),kl("horizontal",y,e.get("pageButtonItemGap",!0));var g=p.getBoundingRect(),v=y.getBoundingRect(),_=this._showController=g[a]>i[a],m=[-g.x,-g.y];r||(m[o]=p[h]);var b=[0,0],w=[-v.x,-v.y],k=Ot(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(_){var T=e.get("pageButtonPosition",!0);T==="end"?w[o]+=i[a]-v[a]:b[o]+=v[a]+k}w[1-o]+=g[s]/2-v[s]/2,p.setPosition(m),f.setPosition(b),y.setPosition(w);var C={x:0,y:0};if(C[a]=_?i[a]:g[a],C[s]=Math.max(g[s],v[s]),C[u]=Math.min(0,v[u]+w[1-o]),f.__rectSize=i[a],_){var I={x:0,y:0};I[a]=Math.max(i[a]-v[a]-k,0),I[s]=C[s],f.setClipPath(new xe({shape:I})),f.__rectSize=I[a]}else y.eachChild(function(E){E.attr({invisible:!0,silent:!0})});var A=this._getPageInfo(e);return A.pageIndex!=null&&ze(p,{x:A.contentPosition[0],y:A.contentPosition[1]},_?e:null),this._updatePageInfoView(e,A),C},t.prototype._pageGo=function(e,r,i){var o=this._getPageInfo(r)[e];o!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:r.id})},t.prototype._updatePageInfoView=function(e,r){var i=this._controllerGroup;R(["pagePrev","pageNext"],function(p){var f=p+"DataIndex",y=r[f]!=null,g=i.childOfName(p);g&&(g.setStyle("fill",y?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),g.cursor=y?"pointer":"default")});var o=i.childOfName("pageText"),a=e.get("pageFormatter"),s=r.pageIndex,u=s!=null?s+1:0,h=r.pageCount;o&&a&&o.setStyle("text",gt(a)?a.replace("{current}",u==null?"":u+"").replace("{total}",h==null?"":h+""):a({current:u,total:h}))},t.prototype._getPageInfo=function(e){var r=e.get("scrollDataIndex",!0),i=this.getContentGroup(),o=this._containerGroup.__rectSize,a=e.getOrient().index,s=dm[a],u=gm[a],h=this._findTargetItemIndex(r),p=i.children(),f=p[h],y=p.length,g=y?1:0,v={contentPosition:[i.x,i.y],pageCount:g,pageIndex:g-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var _=T(f);v.contentPosition[a]=-_.s;for(var m=h+1,b=_,w=_,k=null;m<=y;++m)k=T(p[m]),(!k&&w.e>b.s+o||k&&!C(k,b.s))&&(w.i>b.i?b=w:b=k,b&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=b.i),++v.pageCount)),w=k;for(var m=h-1,b=_,w=_,k=null;m>=-1;--m)k=T(p[m]),(!k||!C(w,k.s))&&b.i<w.i&&(w=b,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=b.i),++v.pageCount,++v.pageIndex),b=k;return v;function T(I){if(I){var A=I.getBoundingRect(),E=A[u]+I[u];return{s:E,e:E+A[s],i:I.__legendDataIndex}}}function C(I,A){return I.e>=A&&I.s<=A+o}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var r,i=this.getContentGroup(),o;return i.eachChild(function(a,s){var u=a.__legendDataIndex;o==null&&u!=null&&(o=s),u===e&&(r=s)}),r??o},t.type="legend.scroll",t})(OM);function s6(n){n.registerAction("legendScroll","legendscroll",function(t,e){var r=t.scrollDataIndex;r!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(r)})})}function l6(n){xi(LM),n.registerComponentModel(o6),n.registerComponentView(a6),s6(n)}function u6(n){xi(LM),xi(l6)}export{q5 as $,UA as A,SA as B,lc as C,DA as D,PA as E,mA as F,ji as G,Ld as H,xi as I,t4 as J,x4 as K,YB as L,KB as M,dD as N,ye as O,iA as P,IF as Q,er as R,zn as S,OF as T,AO as U,SF as V,DO as W,u6 as X,KF as Y,OO as Z,sd as _,od as a,qA as a0,GA as a1,z_ as a2,F_ as a3,MA as a4,TO as a5,uA as a6,ne as b,II as c,bD as d,OI as e,_d as f,Jo as g,JD as h,DI as i,cA as j,wd as k,j_ as l,gd as m,Gs as n,hd as o,kD as p,pD as q,id as r,HD as s,jD as t,ND as u,OD as v,$D as w,ID as x,s_ as y,mD as z};