From 44a6c1baed1c846b4bb614c3ccb23f0dd927d018 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 23 Aug 2023 16:52:34 +0000 Subject: [PATCH] deploy: 20f32057820eecff2e88c7672cc39ad0a3f46a8a --- index.html | 2 +- main.0d8c9067cea84db8.js | 1 + main.129f319683fb4cc8.js | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 main.0d8c9067cea84db8.js delete mode 100644 main.129f319683fb4cc8.js diff --git a/index.html b/index.html index 23cfc64..6b8a692 100644 --- a/index.html +++ b/index.html @@ -9,5 +9,5 @@ - + diff --git a/main.0d8c9067cea84db8.js b/main.0d8c9067cea84db8.js new file mode 100644 index 0000000..8cf4b21 --- /dev/null +++ b/main.0d8c9067cea84db8.js @@ -0,0 +1 @@ +(self.webpackChunkzingchart_angular=self.webpackChunkzingchart_angular||[]).push([[179],{988:(A,t,e)=>{"use strict";function a(n){return"function"==typeof n}function c(n){const d=n(u=>{Error.call(u),u.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}const h=c(n=>function(d){n(this),this.message=d?`${d.length} errors occurred during unsubscription:\n${d.map((u,Z)=>`${Z+1}) ${u.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=d});function _(n,l){if(n){const d=n.indexOf(l);0<=d&&n.splice(d,1)}}class f{constructor(l){this.initialTeardown=l,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let l;if(!this.closed){this.closed=!0;const{_parentage:d}=this;if(d)if(this._parentage=null,Array.isArray(d))for(const b of d)b.remove(this);else d.remove(this);const{initialTeardown:u}=this;if(a(u))try{u()}catch(b){l=b instanceof h?b.errors:[b]}const{_finalizers:Z}=this;if(Z){this._finalizers=null;for(const b of Z)try{E(b)}catch(x){l=l??[],x instanceof h?l=[...l,...x.errors]:l.push(x)}}if(l)throw new h(l)}}add(l){var d;if(l&&l!==this)if(this.closed)E(l);else{if(l instanceof f){if(l.closed||l._hasParent(this))return;l._addParent(this)}(this._finalizers=null!==(d=this._finalizers)&&void 0!==d?d:[]).push(l)}}_hasParent(l){const{_parentage:d}=this;return d===l||Array.isArray(d)&&d.includes(l)}_addParent(l){const{_parentage:d}=this;this._parentage=Array.isArray(d)?(d.push(l),d):d?[d,l]:l}_removeParent(l){const{_parentage:d}=this;d===l?this._parentage=null:Array.isArray(d)&&_(d,l)}remove(l){const{_finalizers:d}=this;d&&_(d,l),l instanceof f&&l._removeParent(this)}}f.EMPTY=(()=>{const n=new f;return n.closed=!0,n})();const m=f.EMPTY;function v(n){return n instanceof f||n&&"closed"in n&&a(n.remove)&&a(n.add)&&a(n.unsubscribe)}function E(n){a(n)?n():n.unsubscribe()}const w={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},D={setTimeout(n,l,...d){const{delegate:u}=D;return u?.setTimeout?u.setTimeout(n,l,...d):setTimeout(n,l,...d)},clearTimeout(n){const{delegate:l}=D;return(l?.clearTimeout||clearTimeout)(n)},delegate:void 0};function M(n){D.setTimeout(()=>{const{onUnhandledError:l}=w;if(!l)throw n;l(n)})}function T(){}const R=y("C",void 0,void 0);function y(n,l,d){return{kind:n,value:l,error:d}}let U=null;function O(n){if(w.useDeprecatedSynchronousErrorHandling){const l=!U;if(l&&(U={errorThrown:!1,error:null}),n(),l){const{errorThrown:d,error:u}=U;if(U=null,d)throw u}}else n()}class W extends f{constructor(l){super(),this.isStopped=!1,l?(this.destination=l,v(l)&&l.add(this)):this.destination=Ce}static create(l,d,u){return new oe(l,d,u)}next(l){this.isStopped?ce(function $(n){return y("N",n,void 0)}(l),this):this._next(l)}error(l){this.isStopped?ce(function V(n){return y("E",void 0,n)}(l),this):(this.isStopped=!0,this._error(l))}complete(){this.isStopped?ce(R,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(l){this.destination.next(l)}_error(l){try{this.destination.error(l)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ae=Function.prototype.bind;function ee(n,l){return ae.call(n,l)}class ne{constructor(l){this.partialObserver=l}next(l){const{partialObserver:d}=this;if(d.next)try{d.next(l)}catch(u){te(u)}}error(l){const{partialObserver:d}=this;if(d.error)try{d.error(l)}catch(u){te(u)}else te(l)}complete(){const{partialObserver:l}=this;if(l.complete)try{l.complete()}catch(d){te(d)}}}class oe extends W{constructor(l,d,u){let Z;if(super(),a(l)||!l)Z={next:l??void 0,error:d??void 0,complete:u??void 0};else{let b;this&&w.useDeprecatedNextContext?(b=Object.create(l),b.unsubscribe=()=>this.unsubscribe(),Z={next:l.next&&ee(l.next,b),error:l.error&&ee(l.error,b),complete:l.complete&&ee(l.complete,b)}):Z=l}this.destination=new ne(Z)}}function te(n){w.useDeprecatedSynchronousErrorHandling?function Q(n){w.useDeprecatedSynchronousErrorHandling&&U&&(U.errorThrown=!0,U.error=n)}(n):M(n)}function ce(n,l){const{onStoppedNotification:d}=w;d&&D.setTimeout(()=>d(n,l))}const Ce={closed:!0,next:T,error:function le(n){throw n},complete:T},se="function"==typeof Symbol&&Symbol.observable||"@@observable";function he(n){return n}function ie(n){return 0===n.length?he:1===n.length?n[0]:function(d){return n.reduce((u,Z)=>Z(u),d)}}let De=(()=>{class n{constructor(d){d&&(this._subscribe=d)}lift(d){const u=new n;return u.source=this,u.operator=d,u}subscribe(d,u,Z){const b=function Ze(n){return n&&n instanceof W||function me(n){return n&&a(n.next)&&a(n.error)&&a(n.complete)}(n)&&v(n)}(d)?d:new oe(d,u,Z);return O(()=>{const{operator:x,source:P}=this;b.add(x?x.call(b,P):P?this._subscribe(b):this._trySubscribe(b))}),b}_trySubscribe(d){try{return this._subscribe(d)}catch(u){d.error(u)}}forEach(d,u){return new(u=ge(u))((Z,b)=>{const x=new oe({next:P=>{try{d(P)}catch(z){b(z),x.unsubscribe()}},error:b,complete:Z});this.subscribe(x)})}_subscribe(d){var u;return null===(u=this.source)||void 0===u?void 0:u.subscribe(d)}[se](){return this}pipe(...d){return ie(d)(this)}toPromise(d){return new(d=ge(d))((u,Z)=>{let b;this.subscribe(x=>b=x,x=>Z(x),()=>u(b))})}}return n.create=l=>new n(l),n})();function ge(n){var l;return null!==(l=n??w.Promise)&&void 0!==l?l:Promise}const pe=c(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ve=(()=>{class n extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(d){const u=new ke(this,this);return u.operator=d,u}_throwIfClosed(){if(this.closed)throw new pe}next(d){O(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const u of this.currentObservers)u.next(d)}})}error(d){O(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=d;const{observers:u}=this;for(;u.length;)u.shift().error(d)}})}complete(){O(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:d}=this;for(;d.length;)d.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var d;return(null===(d=this.observers)||void 0===d?void 0:d.length)>0}_trySubscribe(d){return this._throwIfClosed(),super._trySubscribe(d)}_subscribe(d){return this._throwIfClosed(),this._checkFinalizedStatuses(d),this._innerSubscribe(d)}_innerSubscribe(d){const{hasError:u,isStopped:Z,observers:b}=this;return u||Z?m:(this.currentObservers=null,b.push(d),new f(()=>{this.currentObservers=null,_(b,d)}))}_checkFinalizedStatuses(d){const{hasError:u,thrownError:Z,isStopped:b}=this;u?d.error(Z):b&&d.complete()}asObservable(){const d=new De;return d.source=this,d}}return n.create=(l,d)=>new ke(l,d),n})();class ke extends ve{constructor(l,d){super(),this.destination=l,this.source=d}next(l){var d,u;null===(u=null===(d=this.destination)||void 0===d?void 0:d.next)||void 0===u||u.call(d,l)}error(l){var d,u;null===(u=null===(d=this.destination)||void 0===d?void 0:d.error)||void 0===u||u.call(d,l)}complete(){var l,d;null===(d=null===(l=this.destination)||void 0===l?void 0:l.complete)||void 0===d||d.call(l)}_subscribe(l){var d,u;return null!==(u=null===(d=this.source)||void 0===d?void 0:d.subscribe(l))&&void 0!==u?u:m}}class de extends ve{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const d=super._subscribe(l);return!d.closed&&l.next(this._value),d}getValue(){const{hasError:l,thrownError:d,_value:u}=this;if(l)throw d;return this._throwIfClosed(),u}next(l){super.next(this._value=l)}}function Oe(n){return a(n?.lift)}function Fe(n){return l=>{if(Oe(l))return l.lift(function(d){try{return n(d,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}function be(n,l,d,u,Z){return new Se(n,l,d,u,Z)}class Se extends W{constructor(l,d,u,Z,b,x){super(l),this.onFinalize=b,this.shouldUnsubscribe=x,this._next=d?function(P){try{d(P)}catch(z){l.error(z)}}:super._next,this._error=Z?function(P){try{Z(P)}catch(z){l.error(z)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(P){l.error(P)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:d}=this;super.unsubscribe(),!d&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}function xe(n,l){return Fe((d,u)=>{let Z=0;d.subscribe(be(u,b=>{u.next(n.call(l,b,Z++))}))})}function et(n){return this instanceof et?(this.v=n,this):new et(n)}function It(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d,l=n[Symbol.asyncIterator];return l?l.call(n):(n=function He(n){var l="function"==typeof Symbol&&Symbol.iterator,d=l&&n[l],u=0;if(d)return d.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&u>=n.length&&(n=void 0),{value:n&&n[u++],done:!n}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),d={},u("next"),u("throw"),u("return"),d[Symbol.asyncIterator]=function(){return this},d);function u(b){d[b]=n[b]&&function(x){return new Promise(function(P,z){!function Z(b,x,P,z){Promise.resolve(z).then(function(q){b({value:q,done:P})},x)}(P,z,(x=n[b](x)).done,x.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Pt=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Ot(n){return a(n?.then)}function On(n){return a(n[se])}function An(n){return Symbol.asyncIterator&&a(n?.[Symbol.asyncIterator])}function Zn(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Jt=function $t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function wt(n){return a(n?.[Jt])}function Ln(n){return function rt(n,l,d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z,u=d.apply(n,l||[]),b=[];return Z={},x("next"),x("throw"),x("return"),Z[Symbol.asyncIterator]=function(){return this},Z;function x(_e){u[_e]&&(Z[_e]=function(ye){return new Promise(function(Be,Le){b.push([_e,ye,Be,Le])>1||P(_e,ye)})})}function P(_e,ye){try{!function z(_e){_e.value instanceof et?Promise.resolve(_e.value.v).then(q,re):ue(b[0][2],_e)}(u[_e](ye))}catch(Be){ue(b[0][3],Be)}}function q(_e){P("next",_e)}function re(_e){P("throw",_e)}function ue(_e,ye){_e(ye),b.shift(),b.length&&P(b[0][0],b[0][1])}}(this,arguments,function*(){const d=n.getReader();try{for(;;){const{value:u,done:Z}=yield et(d.read());if(Z)return yield et(void 0);yield yield et(u)}}finally{d.releaseLock()}})}function Un(n){return a(n?.getReader)}function In(n){if(n instanceof De)return n;if(null!=n){if(On(n))return function Qr(n){return new De(l=>{const d=n[se]();if(a(d.subscribe))return d.subscribe(l);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Pt(n))return function yo(n){return new De(l=>{for(let d=0;d{n.then(d=>{l.closed||(l.next(d),l.complete())},d=>l.error(d)).then(null,M)})}(n);if(An(n))return Ti(n);if(wt(n))return function Nr(n){return new De(l=>{for(const d of n)if(l.next(d),l.closed)return;l.complete()})}(n);if(Un(n))return function Ci(n){return Ti(Ln(n))}(n)}throw Zn(n)}function Ti(n){return new De(l=>{(function eo(n,l){var d,u,Z,b;return function Ge(n,l,d,u){return new(d||(d=Promise))(function(b,x){function P(re){try{q(u.next(re))}catch(ue){x(ue)}}function z(re){try{q(u.throw(re))}catch(ue){x(ue)}}function q(re){re.done?b(re.value):function Z(b){return b instanceof d?b:new d(function(x){x(b)})}(re.value).then(P,z)}q((u=u.apply(n,l||[])).next())})}(this,void 0,void 0,function*(){try{for(d=It(n);!(u=yield d.next()).done;)if(l.next(u.value),l.closed)return}catch(x){Z={error:x}}finally{try{u&&!u.done&&(b=d.return)&&(yield b.call(d))}finally{if(Z)throw Z.error}}l.complete()})})(n,l).catch(d=>l.error(d))})}function yr(n,l,d,u=0,Z=!1){const b=l.schedule(function(){d(),Z?n.add(this.schedule(null,u)):this.unsubscribe()},u);if(n.add(b),!Z)return b}function wn(n,l,d=1/0){return a(l)?wn((u,Z)=>xe((b,x)=>l(u,b,Z,x))(In(n(u,Z))),d):("number"==typeof l&&(d=l),Fe((u,Z)=>function Ai(n,l,d,u,Z,b,x,P){const z=[];let q=0,re=0,ue=!1;const _e=()=>{ue&&!z.length&&!q&&l.complete()},ye=Le=>q{b&&l.next(Le),q++;let Ue=!1;In(d(Le,re++)).subscribe(be(l,qe=>{Z?.(qe),b?ye(qe):l.next(qe)},()=>{Ue=!0},void 0,()=>{if(Ue)try{for(q--;z.length&&qBe(qe)):Be(qe)}_e()}catch(qe){l.error(qe)}}))};return n.subscribe(be(l,ye,()=>{ue=!0,_e()})),()=>{P?.()}}(u,Z,n,d)))}function Lr(n=1/0){return wn(he,n)}const Dr=new De(n=>n.complete());function Jr(n){return n[n.length-1]}function Wr(n){return function to(n){return n&&a(n.schedule)}(Jr(n))?n.pop():void 0}function Ra(n,l=0){return Fe((d,u)=>{d.subscribe(be(u,Z=>yr(u,n,()=>u.next(Z),l),()=>yr(u,n,()=>u.complete(),l),Z=>yr(u,n,()=>u.error(Z),l)))})}function Hn(n,l=0){return Fe((d,u)=>{u.add(n.schedule(()=>d.subscribe(u),l))})}function ka(n,l){if(!n)throw new Error("Iterable cannot be null");return new De(d=>{yr(d,l,()=>{const u=n[Symbol.asyncIterator]();yr(d,l,()=>{u.next().then(Z=>{Z.done?d.complete():d.next(Z.value)})},0,!0)})})}function sn(n,l){return l?function Bo(n,l){if(null!=n){if(On(n))return function Pa(n,l){return In(n).pipe(Hn(l),Ra(l))}(n,l);if(Pt(n))return function Su(n,l){return new De(d=>{let u=0;return l.schedule(function(){u===n.length?d.complete():(d.next(n[u++]),d.closed||this.schedule())})})}(n,l);if(Ot(n))return function Ka(n,l){return In(n).pipe(Hn(l),Ra(l))}(n,l);if(An(n))return ka(n,l);if(wt(n))return function wo(n,l){return new De(d=>{let u;return yr(d,l,()=>{u=n[Jt](),yr(d,l,()=>{let Z,b;try{({value:Z,done:b}=u.next())}catch(x){return void d.error(x)}b?d.complete():d.next(Z)},0,!0)}),()=>a(u?.return)&&u.return()})}(n,l);if(Un(n))return function Wt(n,l){return ka(Ln(n),l)}(n,l)}throw Zn(n)}(n,l):In(n)}function Ct(...n){return sn(n,Wr(n))}function ul(n={}){const{connector:l=(()=>new ve),resetOnError:d=!0,resetOnComplete:u=!0,resetOnRefCountZero:Z=!0}=n;return b=>{let x,P,z,q=0,re=!1,ue=!1;const _e=()=>{P?.unsubscribe(),P=void 0},ye=()=>{_e(),x=z=void 0,re=ue=!1},Be=()=>{const Le=x;ye(),Le?.unsubscribe()};return Fe((Le,Ue)=>{q++,!ue&&!re&&_e();const qe=z=z??l();Ue.add(()=>{q--,0===q&&!ue&&!re&&(P=Fo(Be,Z))}),qe.subscribe(Ue),!x&&q>0&&(x=new oe({next:Ke=>qe.next(Ke),error:Ke=>{ue=!0,_e(),P=Fo(ye,d,Ke),qe.error(Ke)},complete:()=>{re=!0,_e(),P=Fo(ye,u),qe.complete()}}),In(Le).subscribe(x))})(b)}}function Fo(n,l,...d){if(!0===l)return void n();if(!1===l)return;const u=new oe({next:()=>{u.unsubscribe(),n()}});return In(l(...d)).subscribe(u)}function Gt(n,l){return Fe((d,u)=>{let Z=null,b=0,x=!1;const P=()=>x&&!Z&&u.complete();d.subscribe(be(u,z=>{Z?.unsubscribe();let q=0;const re=b++;In(n(z,re)).subscribe(Z=be(u,ue=>u.next(l?l(z,ue,re,q++):ue),()=>{Z=null,P()}))},()=>{x=!0,P()}))})}function Ou(n,l){return n===l}function Nt(n){for(let l in n)if(n[l]===Nt)return l;throw Error("Could not find renamed property on target object.")}function fn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(fn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const l=n.toString();if(null==l)return""+l;const d=l.indexOf("\n");return-1===d?l:l.substring(0,d)}function ln(n,l){return null==n||""===n?null===l?"":l:null==l||""===l?n:n+" "+l}const gi=Nt({__forward_ref__:Nt});function Kt(n){return n.__forward_ref__=Kt,n.toString=function(){return fn(this())},n}function pt(n){return Nu(n)?n():n}function Nu(n){return"function"==typeof n&&n.hasOwnProperty(gi)&&n.__forward_ref__===Kt}function Lu(n){return n&&!!n.\u0275providers}const Gf="https://g.co/ng/security#xss";class je extends Error{constructor(l,d){super(function pl(n,l){return`NG0${Math.abs(n)}${l?": "+l:""}`}(l,d)),this.code=l}}function mt(n){return"string"==typeof n?n:null==n?"":String(n)}function Tu(n,l){throw new je(-201,!1)}function Ir(n,l){null==n&&function At(n,l,d,u){throw new Error(`ASSERTION ERROR: ${n}`+(null==u?"":` [Expected=> ${d} ${u} ${l} <=Actual]`))}(l,n,null,"!=")}function ht(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function wr(n){return{providers:n.providers||[],imports:n.imports||[]}}function hl(n){return Uf(n,Cl)||Uf(n,Qf)}function Uf(n,l){return n.hasOwnProperty(l)?n[l]:null}function fl(n){return n&&(n.hasOwnProperty(Ru)||n.hasOwnProperty(fb))?n[Ru]:null}const Cl=Nt({\u0275prov:Nt}),Ru=Nt({\u0275inj:Nt}),Qf=Nt({ngInjectableDef:Nt}),fb=Nt({ngInjectorDef:Nt});var Ft=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(Ft||{});let Pu;function ir(n){const l=Pu;return Pu=n,l}function Wf(n,l,d){const u=hl(n);return u&&"root"==u.providedIn?void 0===u.value?u.value=u.factory():u.value:d&Ft.Optional?null:void 0!==l?l:void Tu(fn(n))}const en=globalThis,Xa={},Vu="__NG_DI_FLAG__",Al="ngTempTokenPath",gb=/\n/gm,$f="__source";let xo;function Pi(n){const l=xo;return xo=n,l}function mb(n,l=Ft.Default){if(void 0===xo)throw new je(-203,!1);return null===xo?Wf(n,void 0,l):xo.get(n,l&Ft.Optional?null:void 0,l)}function ft(n,l=Ft.Default){return(function Jf(){return Pu}()||mb)(pt(n),l)}function st(n,l=Ft.Default){return ft(n,gl(l))}function gl(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Yu(n){const l=[];for(let d=0;dl){x=b-1;break}}}for(;bb?"":Z[ue+1].toLowerCase();const ye=8&u?_e:null;if(ye&&-1!==nC(ye,q,0)||2&u&&q!==_e){if(Rr(u))return!1;x=!0}}}}else{if(!x&&!Rr(u)&&!Rr(z))return!1;if(x&&Rr(z))continue;x=!1,u=z|1&u}}return Rr(u)||x}function Rr(n){return 0==(1&n)}function wb(n,l,d,u){if(null===l)return-1;let Z=0;if(u||!d){let b=!1;for(;Z-1)for(d++;d0?'="'+P+'"':"")+"]"}else 8&u?Z+="."+x:4&u&&(Z+=" "+x);else""!==Z&&!Rr(x)&&(l+=cC(b,Z),Z=""),u=x,b=b||!Rr(u);d++}return""!==Z&&(l+=cC(b,Z)),l}function or(n){return _i(()=>{const l=dC(n),d={...l,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===_l.OnPush,directiveDefs:null,pipeDefs:null,dependencies:l.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Tr.Emulated,styles:n.styles||Rt,_:null,schemas:n.schemas||null,tView:null,id:""};pC(d);const u=n.dependencies;return d.directiveDefs=ml(u,!1),d.pipeDefs=ml(u,!0),d.id=function kb(n){let l=0;const d=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const Z of d)l=Math.imul(31,l)+Z.charCodeAt(0)<<0;return l+=2147483648,"c"+l}(d),d})}function Tb(n){return Lt(n)||Tn(n)}function Rb(n){return null!==n}function Pr(n){return _i(()=>({type:n.type,bootstrap:n.bootstrap||Rt,declarations:n.declarations||Rt,imports:n.imports||Rt,exports:n.exports||Rt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function uC(n,l){if(null==n)return jr;const d={};for(const u in n)if(n.hasOwnProperty(u)){let Z=n[u],b=Z;Array.isArray(Z)&&(b=Z[1],Z=Z[0]),d[Z]=u,l&&(l[Z]=b)}return d}function Zt(n){return _i(()=>{const l=dC(n);return pC(l),l})}function Lt(n){return n[Zl]||null}function Tn(n){return n[zu]||null}function Qn(n){return n[Gu]||null}function Cr(n,l){const d=n[eC]||null;if(!d&&!0===l)throw new Error(`Type ${fn(n)} does not have '\u0275mod' property.`);return d}function dC(n){const l={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:l,inputTransforms:null,inputConfig:n.inputs||jr,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||Rt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:uC(n.inputs,l),outputs:uC(n.outputs)}}function pC(n){n.features?.forEach(l=>l(n))}function ml(n,l){if(!n)return null;const d=l?Qn:Tb;return()=>("function"==typeof n?n():n).map(u=>d(u)).filter(Rb)}const mn=0,it=1,Et=2,un=3,Kr=4,za=5,Vn=6,Oo=7,vn=8,Ki=9,No=10,vt=11,Ga=12,hC=13,Lo=14,En=15,Ua=16,To=17,$r=18,Qa=19,fC=20,ki=21,mi=22,vl=23,El=24,xt=25,Qu=1,CC=2,qr=7,Ro=9,Rn=11;function sr(n){return Array.isArray(n)&&"object"==typeof n[Qu]}function lr(n){return Array.isArray(n)&&!0===n[Qu]}function Ju(n){return 0!=(4&n.flags)}function ro(n){return n.componentOffset>-1}function yl(n){return 1==(1&n.flags)}function kr(n){return!!n.template}function Wu(n){return 0!=(512&n[Et])}function io(n,l){return n.hasOwnProperty(Zi)?n[Zi]:null}let Gb=en.WeakRef??class zb{constructor(l){this.ref=l}deref(){return this.ref}},Qb=0,ei=null,Dl=!1;function Nn(n){const l=ei;return ei=n,l}class bC{constructor(){this.id=Qb++,this.ref=function Ub(n){return new Gb(n)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[l,d]of this.producers){const u=d.producerNode.deref();if(null!=u&&d.atTrackingVersion===this.trackingVersion){if(u.producerPollStatus(d.seenValueVersion))return!0}else this.producers.delete(l),u?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const l=Dl;Dl=!0;try{for(const[d,u]of this.consumers){const Z=u.consumerNode.deref();null!=Z&&Z.trackingVersion===u.atTrackingVersion?Z.onConsumerDependencyMayHaveChanged():(this.consumers.delete(d),Z?.producers.delete(this.id))}}finally{Dl=l}}producerAccessed(){if(Dl)throw new Error("");if(null===ei)return;let l=ei.producers.get(this.id);void 0===l?(l={consumerNode:ei.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:ei.trackingVersion},ei.producers.set(this.id,l),this.consumers.set(ei.id,l)):(l.seenValueVersion=this.valueVersion,l.atTrackingVersion=ei.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==ei?.consumerAllowSignalWrites}producerPollStatus(l){return this.valueVersion!==l||(this.onProducerUpdateValueVersion(),this.valueVersion!==l)}}let yC=null;const IC=()=>{};class $b extends bC{constructor(l,d,u){super(),this.watch=l,this.schedule=d,this.dirty=!1,this.cleanupFn=IC,this.registerOnCleanup=Z=>{this.cleanupFn=Z},this.consumerAllowSignalWrites=u}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const l=Nn(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=IC,this.watch(this.registerOnCleanup)}finally{Nn(l)}}cleanup(){this.cleanupFn()}}class qb{constructor(l,d,u){this.previousValue=l,this.currentValue=d,this.firstChange=u}isFirstChange(){return this.firstChange}}function Ar(){return wC}function wC(n){return n.type.prototype.ngOnChanges&&(n.setInput=ty),ey}function ey(){const n=FC(this),l=n?.current;if(l){const d=n.previous;if(d===jr)n.previous=l;else for(let u in l)d[u]=l[u];n.current=null,this.ngOnChanges(l)}}function ty(n,l,d,u){const Z=this.declaredInputs[d],b=FC(n)||function ny(n,l){return n[MC]=l}(n,{previous:jr,current:null}),x=b.current||(b.current={}),P=b.previous,z=P[Z];x[Z]=new qb(z&&z.currentValue,l,P===jr),n[u]=l}Ar.ngInherit=!0;const MC="__ngSimpleChanges__";function FC(n){return n[MC]||null}const ti=function(n,l,d){};function rn(n){for(;Array.isArray(n);)n=n[mn];return n}function cr(n,l){return rn(l[n.index])}function NC(n,l){return n.data[l]}function gr(n,l){const d=l[n];return sr(d)?d:d[mn]}function Xi(n,l){return null==l?null:n[l]}function LC(n){n[To]=0}function cy(n){1024&n[Et]||(n[Et]|=1024,RC(n,1))}function TC(n){1024&n[Et]&&(n[Et]&=-1025,RC(n,-1))}function RC(n,l){let d=n[un];if(null===d)return;d[za]+=l;let u=d;for(d=d[un];null!==d&&(1===l&&1===u[za]||-1===l&&0===u[za]);)d[za]+=l,u=d,d=d[un]}const gt={lFrame:WC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function kC(){return gt.bindingsEnabled}function Ye(){return gt.lFrame.lView}function Tt(){return gt.lFrame.tView}function Pn(){let n=VC();for(;null!==n&&64===n.type;)n=n.parent;return n}function VC(){return gt.lFrame.currentTNode}function ni(n,l){const d=gt.lFrame;d.currentTNode=n,d.isParent=l}function nd(){return gt.lFrame.isParent}function ko(){return gt.lFrame.bindingIndex++}function vy(n,l){const d=gt.lFrame;d.bindingIndex=d.bindingRootIndex=n,id(l)}function id(n){gt.lFrame.currentDirectiveIndex=n}function UC(){return gt.lFrame.currentQueryIndex}function ad(n){gt.lFrame.currentQueryIndex=n}function by(n){const l=n[it];return 2===l.type?l.declTNode:1===l.type?n[Vn]:null}function QC(n,l,d){if(d&Ft.SkipSelf){let Z=l,b=n;for(;!(Z=Z.parent,null!==Z||d&Ft.Host||(Z=by(b),null===Z||(b=b[Lo],10&Z.type))););if(null===Z)return!1;l=Z,n=b}const u=gt.lFrame=JC();return u.currentTNode=l,u.lView=n,!0}function sd(n){const l=JC(),d=n[it];gt.lFrame=l,l.currentTNode=d.firstChild,l.lView=n,l.tView=d,l.contextLView=n,l.bindingIndex=d.bindingStartIndex,l.inI18n=!1}function JC(){const n=gt.lFrame,l=null===n?null:n.child;return null===l?WC(n):l}function WC(n){const l={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=l),l}function jC(){const n=gt.lFrame;return gt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const $C=jC;function ld(){const n=jC();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Wn(){return gt.lFrame.selectedIndex}function oo(n){gt.lFrame.selectedIndex=n}function Cn(){const n=gt.lFrame;return NC(n.tView,n.selectedIndex)}let eA=!0;function Ml(){return eA}function Hi(n){eA=n}function Fl(n,l){for(let d=l.directiveStart,u=l.directiveEnd;d=u)break}else l[z]<0&&(n[To]+=65536),(P>13>16&&(3&n[Et])===l&&(n[Et]+=8192,nA(P,b)):nA(P,b)}const Xo=-1;class ja{constructor(l,d,u){this.factory=l,this.resolving=!1,this.canSeeViewProviders=d,this.injectImpl=u}}function dd(n){return n!==Xo}function $a(n){return 32767&n}function qa(n,l){let d=function Ly(n){return n>>16}(n),u=l;for(;d>0;)u=u[Lo],d--;return u}let pd=!0;function Ol(n){const l=pd;return pd=n,l}const rA=255,iA=5;let Ty=0;const ri={};function Nl(n,l){const d=oA(n,l);if(-1!==d)return d;const u=l[it];u.firstCreatePass&&(n.injectorIndex=l.length,hd(u.data,n),hd(l,null),hd(u.blueprint,null));const Z=Ll(n,l),b=n.injectorIndex;if(dd(Z)){const x=$a(Z),P=qa(Z,l),z=P[it].data;for(let q=0;q<8;q++)l[b+q]=P[x+q]|z[x+q]}return l[b+8]=Z,b}function hd(n,l){n.push(0,0,0,0,0,0,0,0,l)}function oA(n,l){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===l[n.injectorIndex+8]?-1:n.injectorIndex}function Ll(n,l){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let d=0,u=null,Z=l;for(;null!==Z;){if(u=pA(Z),null===u)return Xo;if(d++,Z=Z[Lo],-1!==u.injectorIndex)return u.injectorIndex|d<<16}return Xo}function fd(n,l,d){!function Ry(n,l,d){let u;"string"==typeof d?u=d.charCodeAt(0)||0:d.hasOwnProperty(Va)&&(u=d[Va]),null==u&&(u=d[Va]=Ty++);const Z=u&rA;l.data[n+(Z>>iA)]|=1<=0?l&rA:Hy:l}(d);if("function"==typeof b){if(!QC(l,n,u))return u&Ft.Host?aA(Z,0,u):sA(l,d,u,Z);try{let x;if(x=b(u),null!=x||u&Ft.Optional)return x;Tu()}finally{$C()}}else if("number"==typeof b){let x=null,P=oA(n,l),z=Xo,q=u&Ft.Host?l[En][Vn]:null;for((-1===P||u&Ft.SkipSelf)&&(z=-1===P?Ll(n,l):l[P+8],z!==Xo&&dA(u,!1)?(x=l[it],P=$a(z),l=qa(z,l)):P=-1);-1!==P;){const re=l[it];if(uA(b,P,re.data)){const ue=Ky(P,l,d,x,u,q);if(ue!==ri)return ue}z=l[P+8],z!==Xo&&dA(u,l[it].data[P+8]===q)&&uA(b,P,l)?(x=re,P=$a(z),l=qa(z,l)):P=-1}}return Z}function Ky(n,l,d,u,Z,b){const x=l[it],P=x.data[n+8],re=Tl(P,x,d,null==u?ro(P)&&pd:u!=x&&0!=(3&P.type),Z&Ft.Host&&b===P);return null!==re?ao(l,x,re,P):ri}function Tl(n,l,d,u,Z){const b=n.providerIndexes,x=l.data,P=1048575&b,z=n.directiveStart,re=b>>20,_e=Z?P+re:n.directiveEnd;for(let ye=u?P:P+re;ye<_e;ye++){const Be=x[ye];if(ye=z&&Be.type===d)return ye}if(Z){const ye=x[z];if(ye&&kr(ye)&&ye.type===d)return z}return null}function ao(n,l,d,u){let Z=n[d];const b=l.data;if(function Sy(n){return n instanceof ja}(Z)){const x=Z;x.resolving&&function sb(n,l){const d=l?`. Dependency path: ${l.join(" > ")} > ${n}`:"";throw new je(-200,`Circular dependency in DI detected for ${n}${d}`)}(function Vt(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():mt(n)}(b[d]));const P=Ol(x.canSeeViewProviders);x.resolving=!0;const q=x.injectImpl?ir(x.injectImpl):null;QC(n,u,Ft.Default);try{Z=n[d]=x.factory(void 0,b,n,u),l.firstCreatePass&&d>=u.directiveStart&&function Fy(n,l,d){const{ngOnChanges:u,ngOnInit:Z,ngDoCheck:b}=l.type.prototype;if(u){const x=wC(l);(d.preOrderHooks??=[]).push(n,x),(d.preOrderCheckHooks??=[]).push(n,x)}Z&&(d.preOrderHooks??=[]).push(0-n,Z),b&&((d.preOrderHooks??=[]).push(n,b),(d.preOrderCheckHooks??=[]).push(n,b))}(d,b[d],l)}finally{null!==q&&ir(q),Ol(P),x.resolving=!1,$C()}}return Z}function uA(n,l,d){return!!(d[l+(n>>iA)]&1<{const l=Cd(pt(n));return l&&l()}:io(n)}function pA(n){const l=n[it],d=l.type;return 2===d?l.declTNode:1===d?n[Vn]:null}const Vo="__parameters__";function zo(n,l,d){return _i(()=>{const u=function Ad(n){return function(...d){if(n){const u=n(...d);for(const Z in u)this[Z]=u[Z]}}}(l);function Z(...b){if(this instanceof Z)return u.apply(this,b),this;const x=new Z(...b);return P.annotation=x,P;function P(z,q,re){const ue=z.hasOwnProperty(Vo)?z[Vo]:Object.defineProperty(z,Vo,{value:[]})[Vo];for(;ue.length<=re;)ue.push(null);return(ue[re]=ue[re]||[]).push(x),z}}return d&&(Z.prototype=Object.create(d.prototype)),Z.prototype.ngMetadataName=n,Z.annotationCls=Z,Z})}function Uo(n,l){n.forEach(d=>Array.isArray(d)?Uo(d,l):l(d))}function fA(n,l,d){l>=n.length?n.push(d):n.splice(l,0,d)}function Pl(n,l){return l>=n.length-1?n.pop():n.splice(l,1)[0]}const kl=Ha(zo("Optional"),8),Xl=Ha(zo("SkipSelf"),4);function Gl(n){return 128==(128&n.flags)}var Vi=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(Vi||{});const Ed=new Map;let ED=0;const yd="__ngContext__";function Yn(n,l){sr(l)?(n[yd]=l[Qa],function yD(n){Ed.set(n[Qa],n)}(l)):n[yd]=l}let Dd;function Id(n,l){return Dd(n,l)}function os(n){const l=n[un];return lr(l)?l[un]:l}function RA(n){return KA(n[Ga])}function PA(n){return KA(n[Kr])}function KA(n){for(;null!==n&&!lr(n);)n=n[Kr];return n}function jo(n,l,d,u,Z){if(null!=u){let b,x=!1;lr(u)?b=u:sr(u)&&(x=!0,u=u[mn]);const P=rn(u);0===n&&null!==d?null==Z?VA(l,d,P):so(l,d,P,Z||null,!0):1===n&&null!==d?so(l,d,P,Z||null,!0):2===n?function ql(n,l,d){const u=jl(n,l);u&&function zD(n,l,d,u){n.removeChild(l,d,u)}(n,u,l,d)}(l,P,x):3===n&&l.destroyNode(P),null!=b&&function JD(n,l,d,u,Z){const b=d[qr];b!==rn(d)&&jo(l,n,u,b,Z);for(let P=Rn;P0&&(n[d-1][Kr]=u[Kr]);const b=Pl(n,Rn+l);!function RD(n,l){ss(n,l,l[vt],2,null,null),l[mn]=null,l[Vn]=null}(u[it],u);const x=b[$r];null!==x&&x.detachView(b[it]),u[un]=null,u[Kr]=null,u[Et]&=-129}return u}function Bd(n,l){if(!(256&l[Et])){const d=l[vt];l[vl]?.destroy(),l[El]?.destroy(),d.destroyNode&&ss(n,l,d,3,null,null),function kD(n){let l=n[Ga];if(!l)return Md(n[it],n);for(;l;){let d=null;if(sr(l))d=l[Ga];else{const u=l[Rn];u&&(d=u)}if(!d){for(;l&&!l[Kr]&&l!==n;)sr(l)&&Md(l[it],l),l=l[un];null===l&&(l=n),sr(l)&&Md(l[it],l),d=l&&l[Kr]}l=d}}(l)}}function Md(n,l){if(!(256&l[Et])){l[Et]&=-129,l[Et]|=256,function YD(n,l){let d;if(null!=n&&null!=(d=n.destroyHooks))for(let u=0;u=0?u[x]():u[-x].unsubscribe(),b+=2}else d[b].call(u[d[b+1]]);null!==u&&(l[Oo]=null);const Z=l[ki];if(null!==Z){l[ki]=null;for(let b=0;b-1){const{encapsulation:b}=n.data[u.directiveStart+Z];if(b===Tr.None||b===Tr.Emulated)return null}return cr(u,d)}}(n,l.parent,d)}function so(n,l,d,u,Z){n.insertBefore(l,d,u,Z)}function VA(n,l,d){n.appendChild(l,d)}function YA(n,l,d,u,Z){null!==u?so(n,l,d,u,Z):VA(n,l,d)}function jl(n,l){return n.parentNode(l)}let xd,Ld,tc,QA=function UA(n,l,d){return 40&n.type?cr(n,d):null};function $l(n,l,d,u){const Z=Fd(n,u,l),b=l[vt],P=function zA(n,l,d){return QA(n,l,d)}(u.parent||l[Vn],u,l);if(null!=Z)if(Array.isArray(d))for(let z=0;zn,createScript:n=>n,createScriptURL:n=>n})}catch{}return tc}()?.createScriptURL(n)||n}class ig{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gf})`}}function Yi(n){return n instanceof ig?n.changingThisBreaksApplicationSecurity:n}function ls(n,l){const d=function s2(n){return n instanceof ig&&n.getTypeName()||null}(n);if(null!=d&&d!==l){if("ResourceURL"===d&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${d} (see ${Gf})`)}return d===l}const d2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var ea=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(ea||{});function dg(n){const l=us();return l?l.sanitize(ea.URL,n)||"":ls(n,"URL")?Yi(n):function Rd(n){return(n=String(n)).match(d2)?n:"unsafe:"+n}(mt(n))}function pg(n){const l=us();if(l)return rg(l.sanitize(ea.RESOURCE_URL,n)||"");if(ls(n,"ResourceURL"))return rg(Yi(n));throw new je(904,!1)}function us(){const n=Ye();return n&&n[No].sanitizer}class ct{constructor(l,d){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof d?this.__NG_ELEMENT_ID__=d:void 0!==d&&(this.\u0275prov=ht({token:this,providedIn:d.providedIn||"root",factory:d.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ds=new ct("ENVIRONMENT_INITIALIZER"),fg=new ct("INJECTOR",-1),Cg=new ct("INJECTOR_DEF_TYPES");class Xd{get(l,d=Xa){if(d===Xa){const u=new Error(`NullInjectorError: No provider for ${fn(l)}!`);throw u.name="NullInjectorError",u}return d}}function D2(...n){return{\u0275providers:gg(0,n),\u0275fromNgModule:!0}}function gg(n,...l){const d=[],u=new Set;let Z;const b=x=>{d.push(x)};return Uo(l,x=>{const P=x;rc(P,b,[],u)&&(Z||=[],Z.push(P))}),void 0!==Z&&_g(Z,b),d}function _g(n,l){for(let d=0;d{l(b,u)})}}function rc(n,l,d,u){if(!(n=pt(n)))return!1;let Z=null,b=fl(n);const x=!b&&Lt(n);if(b||x){if(x&&!x.standalone)return!1;Z=n}else{const z=n.ngModule;if(b=fl(z),!b)return!1;Z=z}const P=u.has(Z);if(x){if(P)return!1;if(u.add(Z),x.dependencies){const z="function"==typeof x.dependencies?x.dependencies():x.dependencies;for(const q of z)rc(q,l,d,u)}}else{if(!b)return!1;{if(null!=b.imports&&!P){let q;u.add(Z);try{Uo(b.imports,re=>{rc(re,l,d,u)&&(q||=[],q.push(re))})}finally{}void 0!==q&&_g(q,l)}if(!P){const q=io(Z)||(()=>new Z);l({provide:Z,useFactory:q,deps:Rt},Z),l({provide:Cg,useValue:Z,multi:!0},Z),l({provide:ds,useValue:()=>ft(Z),multi:!0},Z)}const z=b.providers;if(null!=z&&!P){const q=n;Hd(z,re=>{l(re,q)})}}}return Z!==n&&void 0!==n.providers}function Hd(n,l){for(let d of n)Lu(d)&&(d=d.\u0275providers),Array.isArray(d)?Hd(d,l):l(d)}const I2=Nt({provide:String,useValue:Nt});function Vd(n){return null!==n&&"object"==typeof n&&I2 in n}function lo(n){return"function"==typeof n}const Yd=new ct("Set Injector scope."),ic={},B2={};let zd;function oc(){return void 0===zd&&(zd=new Xd),zd}class Mr{}class ac extends Mr{get destroyed(){return this._destroyed}constructor(l,d,u,Z){super(),this.parent=d,this.source=u,this.scopes=Z,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ud(l,x=>this.processProvider(x)),this.records.set(fg,ta(void 0,this)),Z.has("environment")&&this.records.set(Mr,ta(void 0,this));const b=this.records.get(Yd);null!=b&&"string"==typeof b.value&&this.scopes.add(b.value),this.injectorDefTypes=new Set(this.get(Cg.multi,Rt,Ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const d of this._ngOnDestroyHooks)d.ngOnDestroy();const l=this._onDestroyHooks;this._onDestroyHooks=[];for(const d of l)d()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(l){return this.assertNotDestroyed(),this._onDestroyHooks.push(l),()=>this.removeOnDestroy(l)}runInContext(l){this.assertNotDestroyed();const d=Pi(this),u=ir(void 0);try{return l()}finally{Pi(d),ir(u)}}get(l,d=Xa,u=Ft.Default){if(this.assertNotDestroyed(),l.hasOwnProperty(tC))return l[tC](this);u=gl(u);const b=Pi(this),x=ir(void 0);try{if(!(u&Ft.SkipSelf)){let z=this.records.get(l);if(void 0===z){const q=function O2(n){return"function"==typeof n||"object"==typeof n&&n instanceof ct}(l)&&hl(l);z=q&&this.injectableDefInScope(q)?ta(Gd(l),ic):null,this.records.set(l,z)}if(null!=z)return this.hydrate(l,z)}return(u&Ft.Self?oc():this.parent).get(l,d=u&Ft.Optional&&d===Xa?null:d)}catch(P){if("NullInjectorError"===P.name){if((P[Al]=P[Al]||[]).unshift(fn(l)),b)throw P;return function Eb(n,l,d,u){const Z=n[Al];throw l[$f]&&Z.unshift(l[$f]),n.message=function bb(n,l,d,u=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let Z=fn(l);if(Array.isArray(l))Z=l.map(fn).join(" -> ");else if("object"==typeof l){let b=[];for(let x in l)if(l.hasOwnProperty(x)){let P=l[x];b.push(x+":"+("string"==typeof P?JSON.stringify(P):fn(P)))}Z=`{${b.join(", ")}}`}return`${d}${u?"("+u+")":""}[${Z}]: ${n.replace(gb,"\n ")}`}("\n"+n.message,Z,d,u),n.ngTokenPath=Z,n[Al]=null,n}(P,l,"R3InjectorError",this.source)}throw P}finally{ir(x),Pi(b)}}resolveInjectorInitializers(){const l=Pi(this),d=ir(void 0);try{const Z=this.get(ds.multi,Rt,Ft.Self);for(const b of Z)b()}finally{Pi(l),ir(d)}}toString(){const l=[],d=this.records;for(const u of d.keys())l.push(fn(u));return`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new je(205,!1)}processProvider(l){let d=lo(l=pt(l))?l:pt(l&&l.provide);const u=function F2(n){return Vd(n)?ta(void 0,n.useValue):ta(function vg(n,l,d){let u;if(lo(n)){const Z=pt(n);return io(Z)||Gd(Z)}if(Vd(n))u=()=>pt(n.useValue);else if(function mg(n){return!(!n||!n.useFactory)}(n))u=()=>n.useFactory(...Yu(n.deps||[]));else if(function Zg(n){return!(!n||!n.useExisting)}(n))u=()=>ft(pt(n.useExisting));else{const Z=pt(n&&(n.useClass||n.provide));if(!function x2(n){return!!n.deps}(n))return io(Z)||Gd(Z);u=()=>new Z(...Yu(n.deps))}return u}(n),ic)}(l);if(lo(l)||!0!==l.multi)this.records.get(d);else{let Z=this.records.get(d);Z||(Z=ta(void 0,ic,!0),Z.factory=()=>Yu(Z.multi),this.records.set(d,Z)),d=l,Z.multi.push(l)}this.records.set(d,u)}hydrate(l,d){return d.value===ic&&(d.value=B2,d.value=d.factory()),"object"==typeof d.value&&d.value&&function S2(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(d.value)&&this._ngOnDestroyHooks.add(d.value),d.value}injectableDefInScope(l){if(!l.providedIn)return!1;const d=pt(l.providedIn);return"string"==typeof d?"any"===d||this.scopes.has(d):this.injectorDefTypes.has(d)}removeOnDestroy(l){const d=this._onDestroyHooks.indexOf(l);-1!==d&&this._onDestroyHooks.splice(d,1)}}function Gd(n){const l=hl(n),d=null!==l?l.factory:io(n);if(null!==d)return d;if(n instanceof ct)throw new je(204,!1);if(n instanceof Function)return function M2(n){const l=n.length;if(l>0)throw function ns(n,l){const d=[];for(let u=0;ud.factory(n):()=>new n}(n);throw new je(204,!1)}function ta(n,l,d=!1){return{factory:n,value:l,multi:d?[]:void 0}}function Ud(n,l){for(const d of n)Array.isArray(d)?Ud(d,l):d&&Lu(d)?Ud(d.\u0275providers,l):l(d)}const sc=new ct("AppId",{providedIn:"root",factory:()=>T2}),T2="ng",Eg=new ct("Platform Initializer"),na=new ct("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),bg=new ct("CSP nonce",{providedIn:"root",factory:()=>function qo(){if(void 0!==Ld)return Ld;if(typeof document<"u")return document;throw new je(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Dg=(n,l,d)=>null;function ep(n,l,d=!1){return Dg(n,l,d)}class Q2{}class Bg{}class W2{resolveComponentFactory(l){throw function J2(n){const l=Error(`No component factory found for ${fn(n)}.`);return l.ngComponent=n,l}(l)}}let hc=(()=>{class l{}return l.NULL=new W2,l})();function j2(){return ia(Pn(),Ye())}function ia(n,l){return new Zr(cr(n,l))}let Zr=(()=>{class l{constructor(u){this.nativeElement=u}}return l.__NG_ELEMENT_ID__=j2,l})();function $2(n){return n instanceof Zr?n.nativeElement:n}class Fg{}let yi=(()=>{class l{constructor(){this.destroyNode=null}}return l.__NG_ELEMENT_ID__=()=>function q2(){const n=Ye(),d=gr(Pn().index,n);return(sr(d)?d:n)[vt]}(),l})(),eI=(()=>{var n;class l{}return(n=l).\u0275prov=ht({token:n,providedIn:"root",factory:()=>null}),l})();class Cs{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const tI=new Cs("16.2.1"),rp={};function Ng(n,l=null,d=null,u){const Z=Lg(n,l,d,u);return Z.resolveInjectorInitializers(),Z}function Lg(n,l=null,d=null,u,Z=new Set){const b=[d||Rt,D2(n)];return u=u||("object"==typeof n?void 0:fn(n)),new ac(b,l||oc(),u||null,Z)}let mr=(()=>{var n;class l{static create(u,Z){if(Array.isArray(u))return Ng({name:""},Z,u,"");{const b=u.name??"";return Ng({name:b},u.parent,u.providers,b)}}}return(n=l).THROW_IF_NOT_FOUND=Xa,n.NULL=new Xd,n.\u0275prov=ht({token:n,providedIn:"any",factory:()=>ft(fg)}),n.__NG_ELEMENT_ID__=-1,l})();function Di(n){return n instanceof Function?n():n}let ap=(()=>{var n;class l{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new je(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const u of this.callbacks)u.invoke()}finally{this.runningCallbacks=!1;for(const u of this.deferredCallbacks)this.callbacks.add(u);this.deferredCallbacks.clear()}}register(u){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(u)}unregister(u){this.callbacks.delete(u),this.deferredCallbacks.delete(u)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(n=l).\u0275prov=ht({token:n,providedIn:"root",factory:()=>new n}),l})();function As(n){for(;n;){n[Et]|=64;const l=os(n);if(Wu(n)&&!l)return n;n=l}return null}function sp(n){return n.ngOriginalError}class co{constructor(){this._console=console}handleError(l){const d=this._findOriginalError(l);this._console.error("ERROR",l),d&&this._console.error("ORIGINAL ERROR",d)}_findOriginalError(l){let d=l&&sp(l);for(;d&&sp(d);)d=sp(d);return d||null}}const kg=new ct("",{providedIn:"root",factory:()=>!1});class Yg extends bC{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(l){this._lView=l}onConsumerDependencyMayHaveChanged(){As(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(l,d,u){const Z=Nn(this);this.trackingVersion++;try{l(d,u)}finally{Nn(Z)}}destroy(){this.trackingVersion++}}let Cc=null;function zg(){return Cc??=new Yg,Cc}function Gg(n,l){return n[l]??zg()}function Ug(n,l){const d=zg();d.hasReadASignal&&(n[l]=Cc,d.lView=n,Cc=new Yg)}const bt={};function bn(n){Qg(Tt(),Ye(),Wn()+n,!1)}function Qg(n,l,d,u){if(!u)if(3==(3&l[Et])){const b=n.preOrderCheckHooks;null!==b&&xl(l,b,d)}else{const b=n.preOrderHooks;null!==b&&Sl(l,b,0,d)}oo(d)}function Je(n,l=Ft.Default){const d=Ye();return null===d?ft(n,l):lA(Pn(),d,pt(n),l)}function Ac(n,l,d,u,Z,b,x,P,z,q,re){const ue=l.blueprint.slice();return ue[mn]=Z,ue[Et]=140|u,(null!==q||n&&2048&n[Et])&&(ue[Et]|=2048),LC(ue),ue[un]=ue[Lo]=n,ue[vn]=d,ue[No]=x||n&&n[No],ue[vt]=P||n&&n[vt],ue[Ki]=z||n&&n[Ki]||null,ue[Vn]=b,ue[Qa]=function bD(){return ED++}(),ue[mi]=re,ue[fC]=q,ue[En]=2==l.type?n[En]:ue,ue}function sa(n,l,d,u,Z){let b=n.data[l];if(null===b)b=function lp(n,l,d,u,Z){const b=VC(),x=nd(),z=n.data[l]=function yI(n,l,d,u,Z,b){let x=l?l.injectorIndex:-1,P=0;return function Ko(){return null!==gt.skipHydrationRootTNode}()&&(P|=128),{type:d,index:u,insertBeforeIndex:null,injectorIndex:x,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:P,providerIndexes:0,value:Z,attrs:b,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,x?b:b&&b.parent,d,l,u,Z);return null===n.firstChild&&(n.firstChild=z),null!==b&&(x?null==b.child&&null!==z.parent&&(b.child=z):null===b.next&&(b.next=z,z.prev=b)),z}(n,l,d,u,Z),function my(){return gt.lFrame.inI18n}()&&(b.flags|=32);else if(64&b.type){b.type=d,b.value=u,b.attrs=Z;const x=function Wa(){const n=gt.lFrame,l=n.currentTNode;return n.isParent?l:l.parent}();b.injectorIndex=null===x?-1:x.injectorIndex}return ni(b,!0),b}function gs(n,l,d,u){if(0===d)return-1;const Z=l.length;for(let b=0;bxt&&Qg(n,l,xt,!1),ti(P?2:0,Z),P)b.runInContext(d,u,Z);else{const q=Nn(null);try{d(u,Z)}finally{Nn(q)}}}finally{P&&null===l[vl]&&Ug(l,vl),oo(x),ti(P?3:1,Z)}}function cp(n,l,d){if(Ju(l)){const u=Nn(null);try{const b=l.directiveEnd;for(let x=l.directiveStart;xnull;function qg(n,l,d,u){for(let Z in n)if(n.hasOwnProperty(Z)){d=null===d?{}:d;const b=n[Z];null===u?e_(d,l,Z,b):u.hasOwnProperty(Z)&&e_(d,l,u[Z],b)}return d}function e_(n,l,d,u){n.hasOwnProperty(d)?n[d].push(l,u):n[d]=[l,u]}function vr(n,l,d,u,Z,b,x,P){const z=cr(l,d);let re,q=l.inputs;!P&&null!=q&&(re=q[u])?(gp(n,d,re,u,Z),ro(l)&&function wI(n,l){const d=gr(l,n);16&d[Et]||(d[Et]|=64)}(d,l.index)):3&l.type&&(u=function II(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(u),Z=null!=x?x(Z,l.value||"",u):Z,b.setProperty(z,u,Z))}function t_(n,l,d,u,Z,b){for(let q=0;q0;){const d=n[--l];if("number"==typeof d&&d<0)return d}return 0})(x)!=P&&x.push(P),x.push(d,u,b)}}(n,l,u,gs(n,d,Z.hostVars,bt),Z)}function oi(n,l,d,u,Z,b){const x=cr(n,l);!function Cp(n,l,d,u,Z,b,x){if(null==b)n.removeAttribute(l,Z,d);else{const P=null==x?mt(b):x(b,u||"",Z);n.setAttribute(l,Z,P,d)}}(l[vt],x,b,n.value,d,u,Z)}function kI(n,l,d,u,Z,b){const x=b[l];if(null!==x)for(let P=0;P{var n;class l{constructor(){this.all=new Set,this.queue=new Map}create(u,Z,b){const x=typeof Zone>"u"?null:Zone.current,P=new $b(u,re=>{this.all.has(re)&&this.queue.set(re,x)},b);let z;this.all.add(P),P.notify();const q=()=>{P.cleanup(),z?.(),this.all.delete(P),this.queue.delete(P)};return z=Z?.onDestroy(q),{destroy:q}}flush(){if(0!==this.queue.size)for(const[u,Z]of this.queue)this.queue.delete(u),Z?Z.run(()=>u.run()):u.run()}get isQueueEmpty(){return 0===this.queue.size}}return(n=l).\u0275prov=ht({token:n,providedIn:"root",factory:()=>new n}),l})();function _c(n,l,d){let u=d?n.styles:null,Z=d?n.classes:null,b=0;if(null!==l)for(let x=0;x0){p_(n,1);const Z=n[it].components;null!==Z&&f_(n,Z,1)}}function f_(n,l,d){for(let u=0;u-1&&(Wl(l,u),Pl(d,u))}this._attachedToViewContainer=!1}Bd(this._lView[it],this._lView)}onDestroy(l){!function PC(n,l){if(256==(256&n[Et]))throw new je(911,!1);null===n[ki]&&(n[ki]=[]),n[ki].push(l)}(this._lView,l)}markForCheck(){As(this._cdRefInjectingView||this._lView)}detach(){this._lView[Et]&=-129}reattach(){this._lView[Et]|=128}detectChanges(){Zc(this._lView[it],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new je(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function KD(n,l){ss(n,l,l[vt],2,null,null)}(this._lView[it],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new je(902,!1);this._appRef=l}}class JI extends Zs{constructor(l){super(l),this._view=l}detectChanges(){const l=this._view;Zc(l[it],l,l[vn],!1)}checkNoChanges(){}get context(){return null}}class C_ extends hc{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const d=Lt(l);return new ms(d,this.ngModule)}}function A_(n){const l=[];for(let d in n)n.hasOwnProperty(d)&&l.push({propName:n[d],templateName:d});return l}class jI{constructor(l,d){this.injector=l,this.parentInjector=d}get(l,d,u){u=gl(u);const Z=this.injector.get(l,rp,u);return Z!==rp||d===rp?Z:this.parentInjector.get(l,d,u)}}class ms extends Bg{get inputs(){const l=this.componentDef,d=l.inputTransforms,u=A_(l.inputs);if(null!==d)for(const Z of u)d.hasOwnProperty(Z.propName)&&(Z.transform=d[Z.propName]);return u}get outputs(){return A_(this.componentDef.outputs)}constructor(l,d){super(),this.componentDef=l,this.ngModule=d,this.componentType=l.type,this.selector=function Ob(n){return n.map(Sb).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!d}create(l,d,u,Z){let b=(Z=Z||this.ngModule)instanceof Mr?Z:Z?.injector;b&&null!==this.componentDef.getStandaloneInjector&&(b=this.componentDef.getStandaloneInjector(b)||b);const x=b?new jI(l,b):l,P=x.get(Fg,null);if(null===P)throw new je(407,!1);const ue={rendererFactory:P,sanitizer:x.get(eI,null),effectManager:x.get(u_,null),afterRenderEventManager:x.get(ap,null)},_e=P.createRenderer(null,this.componentDef),ye=this.componentDef.selectors[0][0]||"div",Be=u?function ZI(n,l,d,u){const b=u.get(kg,!1)||d===Tr.ShadowDom,x=n.selectRootElement(l,b);return function mI(n){$g(n)}(x),x}(_e,u,this.componentDef.encapsulation,x):Jl(_e,ye,function WI(n){const l=n.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(ye)),qe=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Ke=null;null!==Be&&(Ke=ep(Be,x,!0));const dt=pp(0,null,null,1,0,null,null,null,null,null,null),_t=Ac(null,dt,null,qe,null,null,ue,_e,x,null,Ke);let St,hr;sd(_t);try{const Ni=this.componentDef;let Ta,zf=null;Ni.findHostDirectiveDefs?(Ta=[],zf=new Map,Ni.findHostDirectiveDefs(Ni,Ta,zf),Ta.push(Ni)):Ta=[Ni];const FT=function qI(n,l){const d=n[it],u=xt;return n[u]=l,sa(d,u,2,"#host",null)}(_t,Be),xT=function ew(n,l,d,u,Z,b,x){const P=Z[it];!function tw(n,l,d,u){for(const Z of n)l.mergedAttrs=Ya(l.mergedAttrs,Z.hostAttrs);null!==l.mergedAttrs&&(_c(l,l.mergedAttrs,!0),null!==d&&eg(u,d,l))}(u,n,l,x);let z=null;null!==l&&(z=ep(l,Z[Ki]));const q=b.rendererFactory.createRenderer(l,d);let re=16;d.signals?re=4096:d.onPush&&(re=64);const ue=Ac(Z,jg(d),null,re,Z[n.index],n,b,q,null,null,z);return P.firstCreatePass&&fp(P,n,u.length-1),gc(Z,ue),Z[n.index]=ue}(FT,Be,Ni,Ta,_t,ue,_e);hr=NC(dt,xt),Be&&function rw(n,l,d,u){if(u)Uu(n,d,["ng-version",tI.full]);else{const{attrs:Z,classes:b}=function Nb(n){const l=[],d=[];let u=1,Z=2;for(;u0&&qA(n,d,b.join(" "))}}(_e,Ni,Be,u),void 0!==d&&function iw(n,l,d){const u=n.projection=[];for(let Z=0;Z(Hi(!0),Jl(u,Z,function qC(){return gt.lFrame.currentNamespace}()));function Ds(n){return!!n&&"function"==typeof n.then}function X_(n){return!!n&&"function"==typeof n.subscribe}function $n(n,l,d,u){const Z=Ye(),b=Tt(),x=Pn();return function V_(n,l,d,u,Z,b,x){const P=yl(u),q=n.firstCreatePass&&s_(n),re=l[vn],ue=a_(l);let _e=!0;if(3&u.type||x){const Le=cr(u,l),Ue=x?x(Le):Le,qe=ue.length,Ke=x?_t=>x(rn(_t[u.index])):u.index;let dt=null;if(!x&&P&&(dt=function zw(n,l,d,u){const Z=n.cleanup;if(null!=Z)for(let b=0;bz?P[z]:null}"string"==typeof x&&(b+=2)}return null}(n,l,Z,u.index)),null!==dt)(dt.__ngLastListenerFn__||dt).__ngNextListenerFn__=b,dt.__ngLastListenerFn__=b,_e=!1;else{b=z_(u,l,re,b,!1);const _t=d.listen(Ue,Z,b);ue.push(b,_t),q&&q.push(Z,Ke,qe,qe+1)}}else b=z_(u,l,re,b,!1);const ye=u.outputs;let Be;if(_e&&null!==ye&&(Be=ye[Z])){const Le=Be.length;if(Le)for(let Ue=0;Ue-1?gr(n.index,l):l);let z=Y_(l,d,u,x),q=b.__ngNextListenerFn__;for(;q;)z=Y_(l,d,q,x)&&z,q=q.__ngNextListenerFn__;return Z&&!1===z&&x.preventDefault(),z}}function jt(n,l=""){const d=Ye(),u=Tt(),Z=n+xt,b=u.firstCreatePass?sa(u,Z,1,l,null):u.data[Z],x=g0(u,d,b,l,n);d[Z]=x,Ml()&&$l(u,d,x,b),ni(b,!1)}let g0=(n,l,d,u,Z)=>(Hi(!0),function Ql(n,l){return n.createText(l)}(l[vt],u));function Np(n,l,d){const u=Ye();return zn(u,ko(),l)&&vr(Tt(),Cn(),u,n,l,u[vt],d,!0),Np}const Za="en-US";let X0=Za;class fo{}class f1{}class Xp extends fo{constructor(l,d,u){super(),this._parent=d,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new C_(this);const Z=Cr(l);this._bootstrapComponents=Di(Z.bootstrap),this._r3Injector=Lg(l,d,[{provide:fo,useValue:this},{provide:hc,useValue:this.componentFactoryResolver},...u],fn(l),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(l)}get injector(){return this._r3Injector}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(d=>d()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class Hp extends f1{constructor(l){super(),this.moduleType=l}create(l){return new Xp(this.moduleType,l,[])}}class C1 extends fo{constructor(l){super(),this.componentFactoryResolver=new C_(this),this.instance=null;const d=new ac([...l.providers,{provide:fo,useValue:this},{provide:hc,useValue:this.componentFactoryResolver}],l.parent||oc(),l.debugName,new Set(["environment"]));this.injector=d,l.runEnvironmentInitializers&&d.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(l){this.injector.onDestroy(l)}}function Vp(n,l,d=null){return new C1({providers:n,parent:l,debugName:d,runEnvironmentInitializers:!0}).injector}let QB=(()=>{var n;class l{constructor(u){this._injector=u,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(u){if(!u.standalone)return null;if(!this.cachedInjectors.has(u)){const Z=gg(0,u.type),b=Z.length>0?Vp([Z],this._injector,`Standalone[${u.type.name}]`):null;this.cachedInjectors.set(u,b)}return this.cachedInjectors.get(u)}ngOnDestroy(){try{for(const u of this.cachedInjectors.values())null!==u&&u.destroy()}finally{this.cachedInjectors.clear()}}}return(n=l).\u0275prov=ht({token:n,providedIn:"environment",factory:()=>new n(ft(Mr))}),l})();function A1(n){n.getStandaloneInjector=l=>l.get(QB).getOrCreateStandaloneInjector(n)}function Vr(n,l,d){const u=function Jn(){const n=gt.lFrame;let l=n.bindingRootIndex;return-1===l&&(l=n.bindingRootIndex=n.tView.bindingStartIndex),l}()+n,Z=Ye();return Z[u]===bt?function ai(n,l,d){return n[l]=d}(Z,u,d?l.call(d):l()):function vs(n,l){return n[l]}(Z,u)}function zp(n){return l=>{setTimeout(n,void 0,l)}}const Xe=class mM extends ve{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,d,u){let Z=l,b=d||(()=>null),x=u;if(l&&"object"==typeof l){const z=l;Z=z.next?.bind(z),b=z.error?.bind(z),x=z.complete?.bind(z)}this.__isAsync&&(b=zp(b),Z&&(Z=zp(Z)),x&&(x=zp(x)));const P=super.subscribe({next:Z,error:b,complete:x});return l instanceof f&&l.add(P),P}};function vM(){return this._results[Symbol.iterator]()}class Gp{get changes(){return this._changes||(this._changes=new Xe)}constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const d=Gp.prototype;d[Symbol.iterator]||(d[Symbol.iterator]=vM)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,d){return this._results.reduce(l,d)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,d){const u=this;u.dirty=!1;const Z=function Br(n){return n.flat(Number.POSITIVE_INFINITY)}(l);(this._changesDetected=!function Qy(n,l,d){if(n.length!==l.length)return!1;for(let u=0;u0&&(d[Z-1][Kr]=l),u{class l{}return l.__NG_ELEMENT_ID__=IM,l})();const yM=wi,DM=class extends yM{constructor(l,d,u){super(),this._declarationLView=l,this._declarationTContainer=d,this.elementRef=u}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(l,d){return this.createEmbeddedViewImpl(l,d)}createEmbeddedViewImpl(l,d,u){const Z=function EM(n,l,d,u){const Z=l.tView,P=Ac(n,Z,d,4096&n[Et]?4096:16,null,l,null,null,null,u?.injector??null,u?.hydrationInfo??null);P[Ua]=n[l.index];const q=n[$r];return null!==q&&(P[$r]=q.createEmbeddedView(Z)),_p(Z,P,d),P}(this._declarationLView,this._declarationTContainer,l,{injector:d,hydrationInfo:u});return new Zs(Z)}};function IM(){return Oc(Pn(),Ye())}function Oc(n,l){return 4&n.type?new DM(l,n,ia(n,l)):null}let Yr=(()=>{class l{}return l.__NG_ELEMENT_ID__=OM,l})();function OM(){return L1(Pn(),Ye())}const LM=Yr,O1=class extends LM{constructor(l,d,u){super(),this._lContainer=l,this._hostTNode=d,this._hostLView=u}get element(){return ia(this._hostTNode,this._hostLView)}get injector(){return new jn(this._hostTNode,this._hostLView)}get parentInjector(){const l=Ll(this._hostTNode,this._hostLView);if(dd(l)){const d=qa(l,this._hostLView),u=$a(l);return new jn(d[it].data[u+8],d)}return new jn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const d=N1(this._lContainer);return null!==d&&d[l]||null}get length(){return this._lContainer.length-Rn}createEmbeddedView(l,d,u){let Z,b;"number"==typeof u?Z=u:null!=u&&(Z=u.index,b=u.injector);const P=l.createEmbeddedViewImpl(d||{},b,null);return this.insertImpl(P,Z,false),P}createComponent(l,d,u,Z,b){const x=l&&!function ts(n){return"function"==typeof n}(l);let P;if(x)P=d;else{const Le=d||{};P=Le.index,u=Le.injector,Z=Le.projectableNodes,b=Le.environmentInjector||Le.ngModuleRef}const z=x?l:new ms(Lt(l)),q=u||this.parentInjector;if(!b&&null==z.ngModule){const Ue=(x?q:this.parentInjector).get(Mr,null);Ue&&(b=Ue)}Lt(z.componentType??{});const ye=z.create(q,Z,null,b);return this.insertImpl(ye.hostView,P,false),ye}insert(l,d){return this.insertImpl(l,d,!1)}insertImpl(l,d,u){const Z=l._lView;if(function ly(n){return lr(n[un])}(Z)){const z=this.indexOf(l);if(-1!==z)this.detach(z);else{const q=Z[un],re=new O1(q,q[Vn],q[un]);re.detach(re.indexOf(l))}}const x=this._adjustIndex(d),P=this._lContainer;return bM(P,Z,x,!u),l.attachToViewContainerRef(),fA(Up(P),x,l),l}move(l,d){return this.insert(l,d)}indexOf(l){const d=N1(this._lContainer);return null!==d?d.indexOf(l):-1}remove(l){const d=this._adjustIndex(l,-1),u=Wl(this._lContainer,d);u&&(Pl(Up(this._lContainer),d),Bd(u[it],u))}detach(l){const d=this._adjustIndex(l,-1),u=Wl(this._lContainer,d);return u&&null!=Pl(Up(this._lContainer),d)?new Zs(u):null}_adjustIndex(l,d=0){return l??this.length+d}};function N1(n){return n[8]}function Up(n){return n[8]||(n[8]=[])}function L1(n,l){let d;const u=l[n.index];return lr(u)?d=u:(d=function i_(n,l,d,u){return[n,!0,!1,l,null,0,u,d,null,null,null]}(u,l,null,n),l[n.index]=d,gc(l,d)),T1(d,l,n,u),new O1(d,n,l)}let T1=function R1(n,l,d,u){if(n[qr])return;let Z;Z=8&d.type?rn(u):function TM(n,l){const d=n[vt],u=d.createComment(""),Z=cr(l,n);return so(d,jl(d,Z),u,function GD(n,l){return n.nextSibling(l)}(d,Z),!1),u}(l,d),n[qr]=Z};class Qp{constructor(l){this.queryList=l,this.matches=null}clone(){return new Qp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Jp{constructor(l=[]){this.queries=l}createEmbeddedView(l){const d=l.queries;if(null!==d){const u=null!==l.contentQueries?l.contentQueries[0]:d.length,Z=[];for(let b=0;b0)u.push(x[P/2]);else{const q=b[P+1],re=l[-z];for(let ue=Rn;ue{var n;class l{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((u,Z)=>{this.resolve=u,this.reject=Z}),this.appInits=st(ah,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const u=[];for(const b of this.appInits){const x=b();if(Ds(x))u.push(x);else if(X_(x)){const P=new Promise((z,q)=>{x.subscribe({complete:z,error:q})});u.push(P)}}const Z=()=>{this.done=!0,this.resolve()};Promise.all(u).then(()=>{Z()}).catch(b=>{this.reject(b)}),0===u.length&&Z(),this.initialized=!0}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})(),cZ=(()=>{var n;class l{log(u){console.log(u)}warn(u){console.warn(u)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"platform"}),l})();const Bi=new ct("LocaleId",{providedIn:"root",factory:()=>st(Bi,Ft.Optional|Ft.SkipSelf)||function hF(){return typeof $localize<"u"&&$localize.locale||Za}()});let uZ=(()=>{var n;class l{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de(!1)}add(){this.hasPendingTasks.next(!0);const u=this.taskId++;return this.pendingTasks.add(u),u}remove(u){this.pendingTasks.delete(u),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();class AF{constructor(l,d){this.ngModuleFactory=l,this.componentFactories=d}}let dZ=(()=>{var n;class l{compileModuleSync(u){return new Hp(u)}compileModuleAsync(u){return Promise.resolve(this.compileModuleSync(u))}compileModuleAndAllComponentsSync(u){const Z=this.compileModuleSync(u),x=Di(Cr(u).declarations).reduce((P,z)=>{const q=Lt(z);return q&&P.push(new ms(q)),P},[]);return new AF(Z,x)}compileModuleAndAllComponentsAsync(u){return Promise.resolve(this.compileModuleAndAllComponentsSync(u))}clearCache(){}clearCacheFor(u){}getModuleId(u){}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();function AZ(...n){}class pn{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:d=!1,shouldCoalesceRunChangeDetection:u=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Xe(!1),this.onMicrotaskEmpty=new Xe(!1),this.onStable=new Xe(!1),this.onError=new Xe(!1),typeof Zone>"u")throw new je(908,!1);Zone.assertZonePatched();const Z=this;Z._nesting=0,Z._outer=Z._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(Z._inner=Z._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(Z._inner=Z._inner.fork(Zone.longStackTraceZoneSpec)),Z.shouldCoalesceEventChangeDetection=!u&&d,Z.shouldCoalesceRunChangeDetection=u,Z.lastRequestAnimationFrameId=-1,Z.nativeRequestAnimationFrame=function PF(){const n="function"==typeof en.requestAnimationFrame;let l=en[n?"requestAnimationFrame":"setTimeout"],d=en[n?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&l&&d){const u=l[Zone.__symbol__("OriginalDelegate")];u&&(l=u);const Z=d[Zone.__symbol__("OriginalDelegate")];Z&&(d=Z)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:d}}().nativeRequestAnimationFrame,function HF(n){const l=()=>{!function XF(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(en,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,dh(n),n.isCheckStableRunning=!0,uh(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),dh(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(d,u,Z,b,x,P)=>{try{return gZ(n),d.invokeTask(Z,b,x,P)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===b.type||n.shouldCoalesceRunChangeDetection)&&l(),_Z(n)}},onInvoke:(d,u,Z,b,x,P,z)=>{try{return gZ(n),d.invoke(Z,b,x,P,z)}finally{n.shouldCoalesceRunChangeDetection&&l(),_Z(n)}},onHasTask:(d,u,Z,b)=>{d.hasTask(Z,b),u===Z&&("microTask"==b.change?(n._hasPendingMicrotasks=b.microTask,dh(n),uh(n)):"macroTask"==b.change&&(n.hasPendingMacrotasks=b.macroTask))},onHandleError:(d,u,Z,b)=>(d.handleError(Z,b),n.runOutsideAngular(()=>n.onError.emit(b)),!1)})}(Z)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pn.isInAngularZone())throw new je(909,!1)}static assertNotInAngularZone(){if(pn.isInAngularZone())throw new je(909,!1)}run(l,d,u){return this._inner.run(l,d,u)}runTask(l,d,u,Z){const b=this._inner,x=b.scheduleEventTask("NgZoneEvent: "+Z,l,kF,AZ,AZ);try{return b.runTask(x,d,u)}finally{b.cancelTask(x)}}runGuarded(l,d,u){return this._inner.runGuarded(l,d,u)}runOutsideAngular(l){return this._outer.run(l)}}const kF={};function uh(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function dh(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function gZ(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function _Z(n){n._nesting--,uh(n)}class VF{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xe,this.onMicrotaskEmpty=new Xe,this.onStable=new Xe,this.onError=new Xe}run(l,d,u){return l.apply(d,u)}runGuarded(l,d,u){return l.apply(d,u)}runOutsideAngular(l){return l()}runTask(l,d,u,Z){return l.apply(d,u)}}const mZ=new ct("",{providedIn:"root",factory:vZ});function vZ(){const n=st(pn);let l=!0;return function Mo(...n){const l=Wr(n),d=function cl(n,l){return"number"==typeof Jr(n)?n.pop():l}(n,1/0),u=n;return u.length?1===u.length?In(u[0]):Lr(d)(sn(u,l)):Dr}(new De(Z=>{l=n.isStable&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks,n.runOutsideAngular(()=>{Z.next(l),Z.complete()})}),new De(Z=>{let b;n.runOutsideAngular(()=>{b=n.onStable.subscribe(()=>{pn.assertNotInAngularZone(),queueMicrotask(()=>{!l&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks&&(l=!0,Z.next(!0))})})});const x=n.onUnstable.subscribe(()=>{pn.assertInAngularZone(),l&&(l=!1,n.runOutsideAngular(()=>{Z.next(!1)}))});return()=>{b.unsubscribe(),x.unsubscribe()}}).pipe(ul()))}const EZ=new ct(""),Rc=new ct("");let fh,ph=(()=>{var n;class l{constructor(u,Z,b){this._ngZone=u,this.registry=Z,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,fh||(function YF(n){fh=n}(b),b.addToWindow(Z)),this._watchAngularEvents(),u.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let u=this._callbacks.pop();clearTimeout(u.timeoutId),u.doneCb(this._didWork)}this._didWork=!1});else{let u=this.getPendingTasks();this._callbacks=this._callbacks.filter(Z=>!Z.updateCb||!Z.updateCb(u)||(clearTimeout(Z.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(u=>({source:u.source,creationLocation:u.creationLocation,data:u.data})):[]}addCallback(u,Z,b){let x=-1;Z&&Z>0&&(x=setTimeout(()=>{this._callbacks=this._callbacks.filter(P=>P.timeoutId!==x),u(this._didWork,this.getPendingTasks())},Z)),this._callbacks.push({doneCb:u,timeoutId:x,updateCb:b})}whenStable(u,Z,b){if(b&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(u,Z,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(u){this.registry.registerApplication(u,this)}unregisterApplication(u){this.registry.unregisterApplication(u)}findProviders(u,Z,b){return[]}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(pn),ft(hh),ft(Rc))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})(),hh=(()=>{var n;class l{constructor(){this._applications=new Map}registerApplication(u,Z){this._applications.set(u,Z)}unregisterApplication(u){this._applications.delete(u)}unregisterAllApplications(){this._applications.clear()}getTestability(u){return this._applications.get(u)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(u,Z=!0){return fh?.findTestabilityInTree(this,u,Z)??null}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"platform"}),l})(),Gi=null;const bZ=new ct("AllowMultipleToken"),Ch=new ct("PlatformDestroyListeners"),Ah=new ct("appBootstrapListener");class DZ{constructor(l,d){this.name=l,this.token=d}}function wZ(n,l,d=[]){const u=`Platform: ${l}`,Z=new ct(u);return(b=[])=>{let x=gh();if(!x||x.injector.get(bZ,!1)){const P=[...d,...b,{provide:Z,useValue:!0}];n?n(P):function UF(n){if(Gi&&!Gi.get(bZ,!1))throw new je(400,!1);(function yZ(){!function Wb(n){yC=n}(()=>{throw new je(600,!1)})})(),Gi=n;const l=n.get(MZ);(function IZ(n){n.get(Eg,null)?.forEach(d=>d())})(n)}(function BZ(n=[],l){return mr.create({name:l,providers:[{provide:Yd,useValue:"platform"},{provide:Ch,useValue:new Set([()=>Gi=null])},...n]})}(P,u))}return function JF(n){const l=gh();if(!l)throw new je(401,!1);return l}()}}function gh(){return Gi?.get(MZ)??null}let MZ=(()=>{var n;class l{constructor(u){this._injector=u,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(u,Z){const b=function WF(n="zone.js",l){return"noop"===n?new VF:"zone.js"===n?new pn(l):n}(Z?.ngZone,function FZ(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}({eventCoalescing:Z?.ngZoneEventCoalescing,runCoalescing:Z?.ngZoneRunCoalescing}));return b.run(()=>{const x=function UB(n,l,d){return new Xp(n,l,d)}(u.moduleType,this.injector,function LZ(n){return[{provide:pn,useFactory:n},{provide:ds,multi:!0,useFactory:()=>{const l=st($F,{optional:!0});return()=>l.initialize()}},{provide:NZ,useFactory:jF},{provide:mZ,useFactory:vZ}]}(()=>b)),P=x.injector.get(co,null);return b.runOutsideAngular(()=>{const z=b.onError.subscribe({next:q=>{P.handleError(q)}});x.onDestroy(()=>{Pc(this._modules,x),z.unsubscribe()})}),function xZ(n,l,d){try{const u=d();return Ds(u)?u.catch(Z=>{throw l.runOutsideAngular(()=>n.handleError(Z)),Z}):u}catch(u){throw l.runOutsideAngular(()=>n.handleError(u)),u}}(P,b,()=>{const z=x.injector.get(sh);return z.runInitializers(),z.donePromise.then(()=>(function H0(n){Ir(n,"Expected localeId to be defined"),"string"==typeof n&&(X0=n.toLowerCase().replace(/_/g,"-"))}(x.injector.get(Bi,Za)||Za),this._moduleDoBootstrap(x),x))})})}bootstrapModule(u,Z=[]){const b=SZ({},Z);return function zF(n,l,d){const u=new Hp(d);return Promise.resolve(u)}(0,0,u).then(x=>this.bootstrapModuleFactory(x,b))}_moduleDoBootstrap(u){const Z=u.injector.get(Ea);if(u._bootstrapComponents.length>0)u._bootstrapComponents.forEach(b=>Z.bootstrap(b));else{if(!u.instance.ngDoBootstrap)throw new je(-403,!1);u.instance.ngDoBootstrap(Z)}this._modules.push(u)}onDestroy(u){this._destroyListeners.push(u)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new je(404,!1);this._modules.slice().forEach(Z=>Z.destroy()),this._destroyListeners.forEach(Z=>Z());const u=this._injector.get(Ch,null);u&&(u.forEach(Z=>Z()),u.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(mr))},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"platform"}),l})();function SZ(n,l){return Array.isArray(l)?l.reduce(SZ,n):{...n,...l}}let Ea=(()=>{var n;class l{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=st(NZ),this.zoneIsStable=st(mZ),this.componentTypes=[],this.components=[],this.isStable=st(uZ).hasPendingTasks.pipe(Gt(u=>u?Ct(!1):this.zoneIsStable),function dl(n,l=he){return n=n??Ou,Fe((d,u)=>{let Z,b=!0;d.subscribe(be(u,x=>{const P=l(x);(b||!n(Z,P))&&(b=!1,Z=P,u.next(x))}))})}(),ul()),this._injector=st(Mr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(u,Z){const b=u instanceof Bg;if(!this._injector.get(sh).done)throw!b&&function So(n){const l=Lt(n)||Tn(n)||Qn(n);return null!==l&&l.standalone}(u),new je(405,!1);let P;P=b?u:this._injector.get(hc).resolveComponentFactory(u),this.componentTypes.push(P.componentType);const z=function GF(n){return n.isBoundToModule}(P)?void 0:this._injector.get(fo),re=P.create(mr.NULL,[],Z||P.selector,z),ue=re.location.nativeElement,_e=re.injector.get(EZ,null);return _e?.registerApplication(ue),re.onDestroy(()=>{this.detachView(re.hostView),Pc(this.components,re),_e?.unregisterApplication(ue)}),this._loadComponent(re),re}tick(){if(this._runningTick)throw new je(101,!1);try{this._runningTick=!0;for(let u of this._views)u.detectChanges()}catch(u){this.internalErrorHandler(u)}finally{this._runningTick=!1}}attachView(u){const Z=u;this._views.push(Z),Z.attachToAppRef(this)}detachView(u){const Z=u;Pc(this._views,Z),Z.detachFromAppRef()}_loadComponent(u){this.attachView(u.hostView),this.tick(),this.components.push(u);const Z=this._injector.get(Ah,[]);Z.push(...this._bootstrapListeners),Z.forEach(b=>b(u))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(u=>u()),this._views.slice().forEach(u=>u.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(u){return this._destroyListeners.push(u),()=>Pc(this._destroyListeners,u)}destroy(){if(this._destroyed)throw new je(406,!1);const u=this._injector;u.destroy&&!u.destroyed&&u.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();function Pc(n,l){const d=n.indexOf(l);d>-1&&n.splice(d,1)}const NZ=new ct("",{providedIn:"root",factory:()=>st(co).handleError.bind(void 0)});function jF(){const n=st(pn),l=st(co);return d=>n.runOutsideAngular(()=>l.handleError(d))}let $F=(()=>{var n;class l{constructor(){this.zone=st(pn),this.applicationRef=st(Ea)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();let Kc=(()=>{class l{}return l.__NG_ELEMENT_ID__=ex,l})();function ex(n){return function tx(n,l,d){if(ro(n)&&!d){const u=gr(n.index,l);return new Zs(u,u)}return 47&n.type?new Zs(l[En],l):null}(Pn(),Ye(),16==(16&n))}const fx=wZ(null,"core",[]);let Cx=(()=>{var n;class l{constructor(u){}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Ea))},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})();function ba(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let bh=null;function Ui(){return bh}class Mx{}const xr=new ct("DocumentToken");let yh=(()=>{var n;class l{historyGo(u){throw new Error("Not implemented")}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(xx)},providedIn:"platform"}),l})();const Fx=new ct("Location Initialized");let xx=(()=>{var n;class l extends yh{constructor(){super(),this._doc=st(xr),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ui().getBaseHref(this._doc)}onPopState(u){const Z=Ui().getGlobalEventTarget(this._doc,"window");return Z.addEventListener("popstate",u,!1),()=>Z.removeEventListener("popstate",u)}onHashChange(u){const Z=Ui().getGlobalEventTarget(this._doc,"window");return Z.addEventListener("hashchange",u,!1),()=>Z.removeEventListener("hashchange",u)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(u){this._location.pathname=u}pushState(u,Z,b){this._history.pushState(u,Z,b)}replaceState(u,Z,b){this._history.replaceState(u,Z,b)}forward(){this._history.forward()}back(){this._history.back()}historyGo(u=0){this._history.go(u)}getState(){return this._history.state}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return new n},providedIn:"platform"}),l})();function Dh(n,l){if(0==n.length)return l;if(0==l.length)return n;let d=0;return n.endsWith("/")&&d++,l.startsWith("/")&&d++,2==d?n+l.substring(1):1==d?n+l:n+"/"+l}function qZ(n){const l=n.match(/#|\?|$/),d=l&&l.index||n.length;return n.slice(0,d-("/"===n[d-1]?1:0))+n.slice(d)}function Mi(n){return n&&"?"!==n[0]?"?"+n:n}let Ao=(()=>{var n;class l{historyGo(u){throw new Error("Not implemented")}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(tm)},providedIn:"root"}),l})();const em=new ct("appBaseHref");let tm=(()=>{var n;class l extends Ao{constructor(u,Z){super(),this._platformLocation=u,this._removeListenerFns=[],this._baseHref=Z??this._platformLocation.getBaseHrefFromDOM()??st(xr).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(u){this._removeListenerFns.push(this._platformLocation.onPopState(u),this._platformLocation.onHashChange(u))}getBaseHref(){return this._baseHref}prepareExternalUrl(u){return Dh(this._baseHref,u)}path(u=!1){const Z=this._platformLocation.pathname+Mi(this._platformLocation.search),b=this._platformLocation.hash;return b&&u?`${Z}${b}`:Z}pushState(u,Z,b,x){const P=this.prepareExternalUrl(b+Mi(x));this._platformLocation.pushState(u,Z,P)}replaceState(u,Z,b,x){const P=this.prepareExternalUrl(b+Mi(x));this._platformLocation.replaceState(u,Z,P)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(u=0){this._platformLocation.historyGo?.(u)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(yh),ft(em,8))},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})(),Sx=(()=>{var n;class l extends Ao{constructor(u,Z){super(),this._platformLocation=u,this._baseHref="",this._removeListenerFns=[],null!=Z&&(this._baseHref=Z)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(u){this._removeListenerFns.push(this._platformLocation.onPopState(u),this._platformLocation.onHashChange(u))}getBaseHref(){return this._baseHref}path(u=!1){let Z=this._platformLocation.hash;return null==Z&&(Z="#"),Z.length>0?Z.substring(1):Z}prepareExternalUrl(u){const Z=Dh(this._baseHref,u);return Z.length>0?"#"+Z:Z}pushState(u,Z,b,x){let P=this.prepareExternalUrl(b+Mi(x));0==P.length&&(P=this._platformLocation.pathname),this._platformLocation.pushState(u,Z,P)}replaceState(u,Z,b,x){let P=this.prepareExternalUrl(b+Mi(x));0==P.length&&(P=this._platformLocation.pathname),this._platformLocation.replaceState(u,Z,P)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(u=0){this._platformLocation.historyGo?.(u)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(yh),ft(em,8))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})(),Ih=(()=>{var n;class l{constructor(u){this._subject=new Xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=u;const Z=this._locationStrategy.getBaseHref();this._basePath=function Lx(n){if(new RegExp("^(https?:)?//").test(n)){const[,d]=n.split(/\/\/[^\/]+/);return d}return n}(qZ(nm(Z))),this._locationStrategy.onPopState(b=>{this._subject.emit({url:this.path(!0),pop:!0,state:b.state,type:b.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(u=!1){return this.normalize(this._locationStrategy.path(u))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(u,Z=""){return this.path()==this.normalize(u+Mi(Z))}normalize(u){return l.stripTrailingSlash(function Nx(n,l){if(!n||!l.startsWith(n))return l;const d=l.substring(n.length);return""===d||["/",";","?","#"].includes(d[0])?d:l}(this._basePath,nm(u)))}prepareExternalUrl(u){return u&&"/"!==u[0]&&(u="/"+u),this._locationStrategy.prepareExternalUrl(u)}go(u,Z="",b=null){this._locationStrategy.pushState(b,"",u,Z),this._notifyUrlChangeListeners(this.prepareExternalUrl(u+Mi(Z)),b)}replaceState(u,Z="",b=null){this._locationStrategy.replaceState(b,"",u,Z),this._notifyUrlChangeListeners(this.prepareExternalUrl(u+Mi(Z)),b)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(u=0){this._locationStrategy.historyGo?.(u)}onUrlChange(u){return this._urlChangeListeners.push(u),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Z=>{this._notifyUrlChangeListeners(Z.url,Z.state)})),()=>{const Z=this._urlChangeListeners.indexOf(u);this._urlChangeListeners.splice(Z,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(u="",Z){this._urlChangeListeners.forEach(b=>b(u,Z))}subscribe(u,Z,b){return this._subject.subscribe({next:u,error:Z,complete:b})}}return(n=l).normalizeQueryParams=Mi,n.joinWithSlash=Dh,n.stripTrailingSlash=qZ,n.\u0275fac=function(u){return new(u||n)(ft(Ao))},n.\u0275prov=ht({token:n,factory:function(){return function Ox(){return new Ih(ft(Ao))}()},providedIn:"root"}),l})();function nm(n){return n.replace(/\/index.html$/,"")}let gm=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})();function Zm(n){return"server"===n}let nS=(()=>{var n;class l{}return(n=l).\u0275prov=ht({token:n,providedIn:"root",factory:()=>new rS(ft(xr),window)}),l})();class rS{constructor(l,d){this.document=l,this.window=d,this.offset=()=>[0,0]}setOffset(l){this.offset=Array.isArray(l)?()=>l:l}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(l){this.supportsScrolling()&&this.window.scrollTo(l[0],l[1])}scrollToAnchor(l){if(!this.supportsScrolling())return;const d=function iS(n,l){const d=n.getElementById(l)||n.getElementsByName(l)[0];if(d)return d;if("function"==typeof n.createTreeWalker&&n.body&&"function"==typeof n.body.attachShadow){const u=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let Z=u.currentNode;for(;Z;){const b=Z.shadowRoot;if(b){const x=b.getElementById(l)||b.querySelector(`[name="${l}"]`);if(x)return x}Z=u.nextNode()}}return null}(this.document,l);d&&(this.scrollToElement(d),d.focus())}setHistoryScrollRestoration(l){this.supportsScrolling()&&(this.window.history.scrollRestoration=l)}scrollToElement(l){const d=l.getBoundingClientRect(),u=d.left+this.window.pageXOffset,Z=d.top+this.window.pageYOffset,b=this.offset();this.window.scrollTo(u-b[0],Z-b[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class BS extends Mx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Vh extends BS{static makeCurrent(){!function Bx(n){bh||(bh=n)}(new Vh)}onAndCancel(l,d,u){return l.addEventListener(d,u),()=>{l.removeEventListener(d,u)}}dispatchEvent(l,d){l.dispatchEvent(d)}remove(l){l.parentNode&&l.parentNode.removeChild(l)}createElement(l,d){return(d=d||this.getDefaultDocument()).createElement(l)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(l){return l.nodeType===Node.ELEMENT_NODE}isShadowRoot(l){return l instanceof DocumentFragment}getGlobalEventTarget(l,d){return"window"===d?window:"document"===d?l:"body"===d?l.body:null}getBaseHref(l){const d=function MS(){return Xs=Xs||document.querySelector("base"),Xs?Xs.getAttribute("href"):null}();return null==d?null:function FS(n){nu=nu||document.createElement("a"),nu.setAttribute("href",n);const l=nu.pathname;return"/"===l.charAt(0)?l:`/${l}`}(d)}resetBaseElement(){Xs=null}getUserAgent(){return window.navigator.userAgent}getCookie(l){return function Z5(n,l){l=encodeURIComponent(l);for(const d of n.split(";")){const u=d.indexOf("="),[Z,b]=-1==u?[d,""]:[d.slice(0,u),d.slice(u+1)];if(Z.trim()===l)return decodeURIComponent(b)}return null}(document.cookie,l)}}let nu,Xs=null,SS=(()=>{var n;class l{build(){return new XMLHttpRequest}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();const Yh=new ct("EventManagerPlugins");let ym=(()=>{var n;class l{constructor(u,Z){this._zone=Z,this._eventNameToPlugin=new Map,u.forEach(b=>{b.manager=this}),this._plugins=u.slice().reverse()}addEventListener(u,Z,b){return this._findPluginFor(Z).addEventListener(u,Z,b)}getZone(){return this._zone}_findPluginFor(u){let Z=this._eventNameToPlugin.get(u);if(Z)return Z;if(Z=this._plugins.find(x=>x.supports(u)),!Z)throw new je(5101,!1);return this._eventNameToPlugin.set(u,Z),Z}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Yh),ft(pn))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();class Dm{constructor(l){this._doc=l}}const zh="ng-app-id";let Im=(()=>{var n;class l{constructor(u,Z,b,x={}){this.doc=u,this.appId=Z,this.nonce=b,this.platformId=x,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Zm(x),this.resetHostNodes()}addStyles(u){for(const Z of u)1===this.changeUsageCount(Z,1)&&this.onStyleAdded(Z)}removeStyles(u){for(const Z of u)this.changeUsageCount(Z,-1)<=0&&this.onStyleRemoved(Z)}ngOnDestroy(){const u=this.styleNodesInDOM;u&&(u.forEach(Z=>Z.remove()),u.clear());for(const Z of this.getAllStyles())this.onStyleRemoved(Z);this.resetHostNodes()}addHost(u){this.hostNodes.add(u);for(const Z of this.getAllStyles())this.addStyleToHost(u,Z)}removeHost(u){this.hostNodes.delete(u)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(u){for(const Z of this.hostNodes)this.addStyleToHost(Z,u)}onStyleRemoved(u){const Z=this.styleRef;Z.get(u)?.elements?.forEach(b=>b.remove()),Z.delete(u)}collectServerRenderedStyles(){const u=this.doc.head?.querySelectorAll(`style[${zh}="${this.appId}"]`);if(u?.length){const Z=new Map;return u.forEach(b=>{null!=b.textContent&&Z.set(b.textContent,b)}),Z}return null}changeUsageCount(u,Z){const b=this.styleRef;if(b.has(u)){const x=b.get(u);return x.usage+=Z,x.usage}return b.set(u,{usage:Z,elements:[]}),Z}getStyleElement(u,Z){const b=this.styleNodesInDOM,x=b?.get(Z);if(x?.parentNode===u)return b.delete(Z),x.removeAttribute(zh),x;{const P=this.doc.createElement("style");return this.nonce&&P.setAttribute("nonce",this.nonce),P.textContent=Z,this.platformIsServer&&P.setAttribute(zh,this.appId),P}}addStyleToHost(u,Z){const b=this.getStyleElement(u,Z);u.appendChild(b);const x=this.styleRef,P=x.get(Z)?.elements;P?P.push(b):x.set(Z,{elements:[b],usage:1})}resetHostNodes(){const u=this.hostNodes;u.clear(),u.add(this.doc.head)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(xr),ft(sc),ft(bg,8),ft(na))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();const Gh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Uh=/%COMP%/g,TS=new ct("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Bm(n,l){return l.map(d=>d.replace(Uh,n))}let Mm=(()=>{var n;class l{constructor(u,Z,b,x,P,z,q,re=null){this.eventManager=u,this.sharedStylesHost=Z,this.appId=b,this.removeStylesOnCompDestroy=x,this.doc=P,this.platformId=z,this.ngZone=q,this.nonce=re,this.rendererByCompId=new Map,this.platformIsServer=Zm(z),this.defaultRenderer=new Qh(u,P,q,this.platformIsServer)}createRenderer(u,Z){if(!u||!Z)return this.defaultRenderer;this.platformIsServer&&Z.encapsulation===Tr.ShadowDom&&(Z={...Z,encapsulation:Tr.Emulated});const b=this.getOrCreateRenderer(u,Z);return b instanceof xm?b.applyToHost(u):b instanceof Jh&&b.applyStyles(),b}getOrCreateRenderer(u,Z){const b=this.rendererByCompId;let x=b.get(Z.id);if(!x){const P=this.doc,z=this.ngZone,q=this.eventManager,re=this.sharedStylesHost,ue=this.removeStylesOnCompDestroy,_e=this.platformIsServer;switch(Z.encapsulation){case Tr.Emulated:x=new xm(q,re,Z,this.appId,ue,P,z,_e);break;case Tr.ShadowDom:return new kS(q,re,u,Z,P,z,this.nonce,_e);default:x=new Jh(q,re,Z,ue,P,z,_e)}b.set(Z.id,x)}return x}ngOnDestroy(){this.rendererByCompId.clear()}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(ym),ft(Im),ft(sc),ft(TS),ft(xr),ft(na),ft(pn),ft(bg))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();class Qh{constructor(l,d,u,Z){this.eventManager=l,this.doc=d,this.ngZone=u,this.platformIsServer=Z,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(l,d){return d?this.doc.createElementNS(Gh[d]||d,l):this.doc.createElement(l)}createComment(l){return this.doc.createComment(l)}createText(l){return this.doc.createTextNode(l)}appendChild(l,d){(Fm(l)?l.content:l).appendChild(d)}insertBefore(l,d,u){l&&(Fm(l)?l.content:l).insertBefore(d,u)}removeChild(l,d){l&&l.removeChild(d)}selectRootElement(l,d){let u="string"==typeof l?this.doc.querySelector(l):l;if(!u)throw new je(-5104,!1);return d||(u.textContent=""),u}parentNode(l){return l.parentNode}nextSibling(l){return l.nextSibling}setAttribute(l,d,u,Z){if(Z){d=Z+":"+d;const b=Gh[Z];b?l.setAttributeNS(b,d,u):l.setAttribute(d,u)}else l.setAttribute(d,u)}removeAttribute(l,d,u){if(u){const Z=Gh[u];Z?l.removeAttributeNS(Z,d):l.removeAttribute(`${u}:${d}`)}else l.removeAttribute(d)}addClass(l,d){l.classList.add(d)}removeClass(l,d){l.classList.remove(d)}setStyle(l,d,u,Z){Z&(Vi.DashCase|Vi.Important)?l.style.setProperty(d,u,Z&Vi.Important?"important":""):l.style[d]=u}removeStyle(l,d,u){u&Vi.DashCase?l.style.removeProperty(d):l.style[d]=""}setProperty(l,d,u){l[d]=u}setValue(l,d){l.nodeValue=d}listen(l,d,u){if("string"==typeof l&&!(l=Ui().getGlobalEventTarget(this.doc,l)))throw new Error(`Unsupported event target ${l} for event ${d}`);return this.eventManager.addEventListener(l,d,this.decoratePreventDefault(u))}decoratePreventDefault(l){return d=>{if("__ngUnwrap__"===d)return l;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>l(d)):l(d))&&d.preventDefault()}}}function Fm(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class kS extends Qh{constructor(l,d,u,Z,b,x,P,z){super(l,b,x,z),this.sharedStylesHost=d,this.hostEl=u,this.shadowRoot=u.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const q=Bm(Z.id,Z.styles);for(const re of q){const ue=document.createElement("style");P&&ue.setAttribute("nonce",P),ue.textContent=re,this.shadowRoot.appendChild(ue)}}nodeOrShadowRoot(l){return l===this.hostEl?this.shadowRoot:l}appendChild(l,d){return super.appendChild(this.nodeOrShadowRoot(l),d)}insertBefore(l,d,u){return super.insertBefore(this.nodeOrShadowRoot(l),d,u)}removeChild(l,d){return super.removeChild(this.nodeOrShadowRoot(l),d)}parentNode(l){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(l)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Jh extends Qh{constructor(l,d,u,Z,b,x,P,z){super(l,b,x,P),this.sharedStylesHost=d,this.removeStylesOnCompDestroy=Z,this.styles=z?Bm(z,u.styles):u.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class xm extends Jh{constructor(l,d,u,Z,b,x,P,z){const q=Z+"-"+u.id;super(l,d,u,b,x,P,z,q),this.contentAttr=function RS(n){return"_ngcontent-%COMP%".replace(Uh,n)}(q),this.hostAttr=function PS(n){return"_nghost-%COMP%".replace(Uh,n)}(q)}applyToHost(l){this.applyStyles(),this.setAttribute(l,this.hostAttr,"")}createElement(l,d){const u=super.createElement(l,d);return super.setAttribute(u,this.contentAttr,""),u}}let XS=(()=>{var n;class l extends Dm{constructor(u){super(u)}supports(u){return!0}addEventListener(u,Z,b){return u.addEventListener(Z,b,!1),()=>this.removeEventListener(u,Z,b)}removeEventListener(u,Z,b){return u.removeEventListener(Z,b)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(xr))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();const Sm=["alt","control","meta","shift"],HS={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},VS={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let YS=(()=>{var n;class l extends Dm{constructor(u){super(u)}supports(u){return null!=l.parseEventName(u)}addEventListener(u,Z,b){const x=l.parseEventName(Z),P=l.eventCallback(x.fullKey,b,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ui().onAndCancel(u,x.domEventName,P))}static parseEventName(u){const Z=u.toLowerCase().split("."),b=Z.shift();if(0===Z.length||"keydown"!==b&&"keyup"!==b)return null;const x=l._normalizeKey(Z.pop());let P="",z=Z.indexOf("code");if(z>-1&&(Z.splice(z,1),P="code."),Sm.forEach(re=>{const ue=Z.indexOf(re);ue>-1&&(Z.splice(ue,1),P+=re+".")}),P+=x,0!=Z.length||0===x.length)return null;const q={};return q.domEventName=b,q.fullKey=P,q}static matchEventFullKeyCode(u,Z){let b=HS[u.key]||u.key,x="";return Z.indexOf("code.")>-1&&(b=u.code,x="code."),!(null==b||!b)&&(b=b.toLowerCase()," "===b?b="space":"."===b&&(b="dot"),Sm.forEach(P=>{P!==b&&(0,VS[P])(u)&&(x+=P+".")}),x+=b,x===Z)}static eventCallback(u,Z,b){return x=>{l.matchEventFullKeyCode(x,u)&&b.runGuarded(()=>Z(x))}}static _normalizeKey(u){return"esc"===u?"escape":u}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(xr))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();const QS=wZ(fx,"browser",[{provide:na,useValue:"browser"},{provide:Eg,useValue:function zS(){Vh.makeCurrent()},multi:!0},{provide:xr,useFactory:function US(){return function t2(n){Ld=n}(document),document},deps:[]}]),JS=new ct(""),Lm=[{provide:Rc,useClass:class xS{addToWindow(l){en.getAngularTestability=(u,Z=!0)=>{const b=l.findTestabilityInTree(u,Z);if(null==b)throw new je(5103,!1);return b},en.getAllAngularTestabilities=()=>l.getAllTestabilities(),en.getAllAngularRootElements=()=>l.getAllRootElements(),en.frameworkStabilizers||(en.frameworkStabilizers=[]),en.frameworkStabilizers.push(u=>{const Z=en.getAllAngularTestabilities();let b=Z.length,x=!1;const P=function(z){x=x||z,b--,0==b&&u(x)};Z.forEach(z=>{z.whenStable(P)})})}findTestabilityInTree(l,d,u){return null==d?null:l.getTestability(d)??(u?Ui().isShadowRoot(d)?this.findTestabilityInTree(l,d.host,!0):this.findTestabilityInTree(l,d.parentElement,!0):null)}},deps:[]},{provide:EZ,useClass:ph,deps:[pn,hh,Rc]},{provide:ph,useClass:ph,deps:[pn,hh,Rc]}],Tm=[{provide:Yd,useValue:"root"},{provide:co,useFactory:function GS(){return new co},deps:[]},{provide:Yh,useClass:XS,multi:!0,deps:[xr,pn,na]},{provide:Yh,useClass:YS,multi:!0,deps:[xr]},Mm,Im,ym,{provide:Fg,useExisting:Mm},{provide:class oS{},useClass:SS,deps:[]},[]];let jS=(()=>{var n;class l{constructor(u){}static withServerTransition(u){return{ngModule:l,providers:[{provide:sc,useValue:u.appId}]}}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(JS,12))},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({providers:[...Tm,...Lm],imports:[gm,Cx]}),l})(),Rm=(()=>{var n;class l{constructor(u){this._doc=u}getTitle(){return this._doc.title}setTitle(u){this._doc.title=u||""}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(xr))},n.\u0275prov=ht({token:n,factory:function(u){let Z=null;return Z=u?new u:function qS(){return new Rm(ft(xr))}(),Z},providedIn:"root"}),l})();typeof window<"u"&&window;var ui=e(759);window,e(782),e(724);const{isArray:oO}=Array,{getPrototypeOf:aO,prototype:sO,keys:lO}=Object;const{isArray:uO}=Array;function jh(...n){const l=Wr(n),d=function Io(n){return a(Jr(n))?n.pop():void 0}(n),{args:u,keys:Z}=function Xm(n){if(1===n.length){const l=n[0];if(oO(l))return{args:l,keys:null};if(function cO(n){return n&&"object"==typeof n&&aO(n)===sO}(l)){const d=lO(l);return{args:d.map(u=>l[u]),keys:d}}}return{args:n,keys:null}}(n);if(0===u.length)return sn([],l);const b=new De(function pO(n,l,d=he){return u=>{Ym(l,()=>{const{length:Z}=n,b=new Array(Z);let x=Z,P=Z;for(let z=0;z{const q=sn(n[z],l);let re=!1;q.subscribe(be(u,ue=>{b[z]=ue,re||(re=!0,P--),P||u.next(d(b.slice()))},()=>{--x||u.complete()}))},u)},u)}}(u,l,Z?x=>function Vm(n,l){return n.reduce((d,u,Z)=>(d[u]=l[Z],d),{})}(Z,x):he));return d?b.pipe(function Hm(n){return xe(l=>function dO(n,l){return uO(l)?n(...l):n(l)}(n,l))}(d)):b}function Ym(n,l,d){n?yr(d,n,l):l()}const ru=c(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function $h(...n){return function hO(){return Lr(1)}()(sn(n,Wr(n)))}function zm(n){return new De(l=>{In(n()).subscribe(l)})}function Hs(n,l){const d=a(n)?n:()=>n,u=Z=>Z.error(d());return new De(l?Z=>l.schedule(u,0,Z):u)}function qh(){return Fe((n,l)=>{let d=null;n._refCount++;const u=be(l,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(d=null);const Z=n._connection,b=d;d=null,Z&&(!b||Z===b)&&Z.unsubscribe(),l.unsubscribe()});n.subscribe(u),u.closed||(d=n.connect())})}class Gm extends De{constructor(l,d){super(),this.source=l,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,Oe(l)&&(this.lift=l.lift)}_subscribe(l){return this.getSubject().subscribe(l)}getSubject(){const l=this._subject;return(!l||l.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:l}=this;this._subject=this._connection=null,l?.unsubscribe()}connect(){let l=this._connection;if(!l){l=this._connection=new f;const d=this.getSubject();l.add(this.source.subscribe(be(d,void 0,()=>{this._teardown(),d.complete()},u=>{this._teardown(),d.error(u)},()=>this._teardown()))),l.closed&&(this._connection=null,l=f.EMPTY)}return l}refCount(){return qh()(this)}}function Da(n){return n<=0?()=>Dr:Fe((l,d)=>{let u=0;l.subscribe(be(d,Z=>{++u<=n&&(d.next(Z),n<=u&&d.complete())}))})}function Ji(n,l){return Fe((d,u)=>{let Z=0;d.subscribe(be(u,b=>n.call(l,b,Z++)&&u.next(b)))})}function iu(n){return Fe((l,d)=>{let u=!1;l.subscribe(be(d,Z=>{u=!0,d.next(Z)},()=>{u||d.next(n),d.complete()}))})}function Um(n=CO){return Fe((l,d)=>{let u=!1;l.subscribe(be(d,Z=>{u=!0,d.next(Z)},()=>u?d.complete():d.error(n())))})}function CO(){return new ru}function go(n,l){const d=arguments.length>=2;return u=>u.pipe(n?Ji((Z,b)=>n(Z,b,u)):he,Da(1),d?iu(l):Um(()=>new ru))}function Vs(n,l){return a(l)?wn(n,l,1):wn(n,1)}function nr(n,l,d){const u=a(n)||l||d?{next:n,error:l,complete:d}:n;return u?Fe((Z,b)=>{var x;null===(x=u.subscribe)||void 0===x||x.call(u);let P=!0;Z.subscribe(be(b,z=>{var q;null===(q=u.next)||void 0===q||q.call(u,z),b.next(z)},()=>{var z;P=!1,null===(z=u.complete)||void 0===z||z.call(u),b.complete()},z=>{var q;P=!1,null===(q=u.error)||void 0===q||q.call(u,z),b.error(z)},()=>{var z,q;P&&(null===(z=u.unsubscribe)||void 0===z||z.call(u)),null===(q=u.finalize)||void 0===q||q.call(u)}))}):he}function _o(n){return Fe((l,d)=>{let b,u=null,Z=!1;u=l.subscribe(be(d,void 0,void 0,x=>{b=In(n(x,_o(n)(l))),u?(u.unsubscribe(),u=null,b.subscribe(d)):Z=!0})),Z&&(u.unsubscribe(),u=null,b.subscribe(d))})}function ef(n){return n<=0?()=>Dr:Fe((l,d)=>{let u=[];l.subscribe(be(d,Z=>{u.push(Z),n{for(const Z of u)d.next(Z);d.complete()},void 0,()=>{u=null}))})}function tf(n){return Fe((l,d)=>{try{l.subscribe(d)}finally{d.add(n)}})}const Dt="primary",Ys=Symbol("RouteTitle");class mO{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const d=this.params[l];return Array.isArray(d)?d[0]:d}return null}getAll(l){if(this.has(l)){const d=this.params[l];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function Ia(n){return new mO(n)}function vO(n,l,d){const u=d.path.split("/");if(u.length>n.length||"full"===d.pathMatch&&(l.hasChildren()||u.lengthu[b]===Z)}return n===l}function Jm(n){return n.length>0?n[n.length-1]:null}function Wi(n){return function iO(n){return!!n&&(n instanceof De||a(n.lift)&&a(n.subscribe))}(n)?n:Ds(n)?sn(Promise.resolve(n)):Ct(n)}const bO={exact:function $m(n,l,d){if(!Zo(n.segments,l.segments)||!ou(n.segments,l.segments,d)||n.numberOfChildren!==l.numberOfChildren)return!1;for(const u in l.children)if(!n.children[u]||!$m(n.children[u],l.children[u],d))return!1;return!0},subset:qm},Wm={exact:function yO(n,l){return di(n,l)},subset:function DO(n,l){return Object.keys(l).length<=Object.keys(n).length&&Object.keys(l).every(d=>Qm(n[d],l[d]))},ignored:()=>!0};function jm(n,l,d){return bO[d.paths](n.root,l.root,d.matrixParams)&&Wm[d.queryParams](n.queryParams,l.queryParams)&&!("exact"===d.fragment&&n.fragment!==l.fragment)}function qm(n,l,d){return tv(n,l,l.segments,d)}function tv(n,l,d,u){if(n.segments.length>d.length){const Z=n.segments.slice(0,d.length);return!(!Zo(Z,d)||l.hasChildren()||!ou(Z,d,u))}if(n.segments.length===d.length){if(!Zo(n.segments,d)||!ou(n.segments,d,u))return!1;for(const Z in l.children)if(!n.children[Z]||!qm(n.children[Z],l.children[Z],u))return!1;return!0}{const Z=d.slice(0,n.segments.length),b=d.slice(n.segments.length);return!!(Zo(n.segments,Z)&&ou(n.segments,Z,u)&&n.children[Dt])&&tv(n.children[Dt],l,b,u)}}function ou(n,l,d){return l.every((u,Z)=>Wm[d](n[Z].parameters,u.parameters))}class wa{constructor(l=new Qt([],{}),d={},u=null){this.root=l,this.queryParams=d,this.fragment=u}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ia(this.queryParams)),this._queryParamMap}toString(){return BO.serialize(this)}}class Qt{constructor(l,d){this.segments=l,this.children=d,this.parent=null,Object.values(d).forEach(u=>u.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return au(this)}}class zs{constructor(l,d){this.path=l,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=Ia(this.parameters)),this._parameterMap}toString(){return iv(this)}}function Zo(n,l){return n.length===l.length&&n.every((d,u)=>d.path===l[u].path)}let Gs=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return new nf},providedIn:"root"}),l})();class nf{parse(l){const d=new KO(l);return new wa(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(l){const d=`/${Us(l.root,!0)}`,u=function xO(n){const l=Object.keys(n).map(d=>{const u=n[d];return Array.isArray(u)?u.map(Z=>`${su(d)}=${su(Z)}`).join("&"):`${su(d)}=${su(u)}`}).filter(d=>!!d);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${d}${u}${"string"==typeof l.fragment?`#${function MO(n){return encodeURI(n)}(l.fragment)}`:""}`}}const BO=new nf;function au(n){return n.segments.map(l=>iv(l)).join("/")}function Us(n,l){if(!n.hasChildren())return au(n);if(l){const d=n.children[Dt]?Us(n.children[Dt],!1):"",u=[];return Object.entries(n.children).forEach(([Z,b])=>{Z!==Dt&&u.push(`${Z}:${Us(b,!1)}`)}),u.length>0?`${d}(${u.join("//")})`:d}{const d=function wO(n,l){let d=[];return Object.entries(n.children).forEach(([u,Z])=>{u===Dt&&(d=d.concat(l(Z,u)))}),Object.entries(n.children).forEach(([u,Z])=>{u!==Dt&&(d=d.concat(l(Z,u)))}),d}(n,(u,Z)=>Z===Dt?[Us(n.children[Dt],!1)]:[`${Z}:${Us(u,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Dt]?`${au(n)}/${d[0]}`:`${au(n)}/(${d.join("//")})`}}function nv(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function su(n){return nv(n).replace(/%3B/gi,";")}function rf(n){return nv(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function lu(n){return decodeURIComponent(n)}function rv(n){return lu(n.replace(/\+/g,"%20"))}function iv(n){return`${rf(n.path)}${function FO(n){return Object.keys(n).map(l=>`;${rf(l)}=${rf(n[l])}`).join("")}(n.parameters)}`}const SO=/^[^\/()?;#]+/;function af(n){const l=n.match(SO);return l?l[0]:""}const OO=/^[^\/()?;=#]+/,LO=/^[^=?&#]+/,RO=/^[^&#]+/;class KO{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qt([],{}):new Qt([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let u={};return this.peekStartsWith("(")&&(u=this.parseParens(!1)),(l.length>0||Object.keys(d).length>0)&&(u[Dt]=new Qt(l,d)),u}parseSegment(){const l=af(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new je(4009,!1);return this.capture(l),new zs(lu(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const d=function NO(n){const l=n.match(OO);return l?l[0]:""}(this.remaining);if(!d)return;this.capture(d);let u="";if(this.consumeOptional("=")){const Z=af(this.remaining);Z&&(u=Z,this.capture(u))}l[lu(d)]=lu(u)}parseQueryParam(l){const d=function TO(n){const l=n.match(LO);return l?l[0]:""}(this.remaining);if(!d)return;this.capture(d);let u="";if(this.consumeOptional("=")){const x=function PO(n){const l=n.match(RO);return l?l[0]:""}(this.remaining);x&&(u=x,this.capture(u))}const Z=rv(d),b=rv(u);if(l.hasOwnProperty(Z)){let x=l[Z];Array.isArray(x)||(x=[x],l[Z]=x),x.push(b)}else l[Z]=b}parseParens(l){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const u=af(this.remaining),Z=this.remaining[u.length];if("/"!==Z&&")"!==Z&&";"!==Z)throw new je(4010,!1);let b;u.indexOf(":")>-1?(b=u.slice(0,u.indexOf(":")),this.capture(b),this.capture(":")):l&&(b=Dt);const x=this.parseChildren();d[b]=1===Object.keys(x).length?x[Dt]:new Qt([],x),this.consumeOptional("//")}return d}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new je(4011,!1)}}function ov(n){return n.segments.length>0?new Qt([],{[Dt]:n}):n}function av(n){const l={};for(const u of Object.keys(n.children)){const b=av(n.children[u]);if(u===Dt&&0===b.segments.length&&b.hasChildren())for(const[x,P]of Object.entries(b.children))l[x]=P;else(b.segments.length>0||b.hasChildren())&&(l[u]=b)}return function kO(n){if(1===n.numberOfChildren&&n.children[Dt]){const l=n.children[Dt];return new Qt(n.segments.concat(l.segments),l.children)}return n}(new Qt(n.segments,l))}function mo(n){return n instanceof wa}function sv(n){let l;const Z=ov(function d(b){const x={};for(const z of b.children){const q=d(z);x[z.outlet]=q}const P=new Qt(b.url,x);return b===n&&(l=P),P}(n.root));return l??Z}function lv(n,l,d,u){let Z=n;for(;Z.parent;)Z=Z.parent;if(0===l.length)return sf(Z,Z,Z,d,u);const b=function VO(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new uv(!0,0,n);let l=0,d=!1;const u=n.reduce((Z,b,x)=>{if("object"==typeof b&&null!=b){if(b.outlets){const P={};return Object.entries(b.outlets).forEach(([z,q])=>{P[z]="string"==typeof q?q.split("/"):q}),[...Z,{outlets:P}]}if(b.segmentPath)return[...Z,b.segmentPath]}return"string"!=typeof b?[...Z,b]:0===x?(b.split("/").forEach((P,z)=>{0==z&&"."===P||(0==z&&""===P?d=!0:".."===P?l++:""!=P&&Z.push(P))}),Z):[...Z,b]},[]);return new uv(d,l,u)}(l);if(b.toRoot())return sf(Z,Z,new Qt([],{}),d,u);const x=function YO(n,l,d){if(n.isAbsolute)return new uu(l,!0,0);if(!d)return new uu(l,!1,NaN);if(null===d.parent)return new uu(d,!0,0);const u=cu(n.commands[0])?0:1;return function zO(n,l,d){let u=n,Z=l,b=d;for(;b>Z;){if(b-=Z,u=u.parent,!u)throw new je(4005,!1);Z=u.segments.length}return new uu(u,!1,Z-b)}(d,d.segments.length-1+u,n.numberOfDoubleDots)}(b,Z,n),P=x.processChildren?Js(x.segmentGroup,x.index,b.commands):dv(x.segmentGroup,x.index,b.commands);return sf(Z,x.segmentGroup,P,d,u)}function cu(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Qs(n){return"object"==typeof n&&null!=n&&n.outlets}function sf(n,l,d,u,Z){let x,b={};u&&Object.entries(u).forEach(([z,q])=>{b[z]=Array.isArray(q)?q.map(re=>`${re}`):`${q}`}),x=n===l?d:cv(n,l,d);const P=ov(av(x));return new wa(P,b,Z)}function cv(n,l,d){const u={};return Object.entries(n.children).forEach(([Z,b])=>{u[Z]=b===l?d:cv(b,l,d)}),new Qt(n.segments,u)}class uv{constructor(l,d,u){if(this.isAbsolute=l,this.numberOfDoubleDots=d,this.commands=u,l&&u.length>0&&cu(u[0]))throw new je(4003,!1);const Z=u.find(Qs);if(Z&&Z!==Jm(u))throw new je(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class uu{constructor(l,d,u){this.segmentGroup=l,this.processChildren=d,this.index=u}}function dv(n,l,d){if(n||(n=new Qt([],{})),0===n.segments.length&&n.hasChildren())return Js(n,l,d);const u=function UO(n,l,d){let u=0,Z=l;const b={match:!1,pathIndex:0,commandIndex:0};for(;Z=d.length)return b;const x=n.segments[Z],P=d[u];if(Qs(P))break;const z=`${P}`,q=u0&&void 0===z)break;if(z&&q&&"object"==typeof q&&void 0===q.outlets){if(!hv(z,q,x))return b;u+=2}else{if(!hv(z,{},x))return b;u++}Z++}return{match:!0,pathIndex:Z,commandIndex:u}}(n,l,d),Z=d.slice(u.commandIndex);if(u.match&&u.pathIndexb!==Dt)&&n.children[Dt]&&1===n.numberOfChildren&&0===n.children[Dt].segments.length){const b=Js(n.children[Dt],l,d);return new Qt(n.segments,b.children)}return Object.entries(u).forEach(([b,x])=>{"string"==typeof x&&(x=[x]),null!==x&&(Z[b]=dv(n.children[b],l,x))}),Object.entries(n.children).forEach(([b,x])=>{void 0===u[b]&&(Z[b]=x)}),new Qt(n.segments,Z)}}function lf(n,l,d){const u=n.segments.slice(0,l);let Z=0;for(;Z{"string"==typeof u&&(u=[u]),null!==u&&(l[d]=lf(new Qt([],{}),0,u))}),l}function pv(n){const l={};return Object.entries(n).forEach(([d,u])=>l[d]=`${u}`),l}function hv(n,l,d){return n==d.path&&di(l,d.parameters)}const Ws="imperative";class pi{constructor(l,d){this.id=l,this.url=d}}class cf extends pi{constructor(l,d,u="imperative",Z=null){super(l,d),this.type=0,this.navigationTrigger=u,this.restoredState=Z}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class vo extends pi{constructor(l,d,u){super(l,d),this.urlAfterRedirects=u,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class du extends pi{constructor(l,d,u,Z){super(l,d),this.reason=u,this.code=Z,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class js extends pi{constructor(l,d,u,Z){super(l,d),this.reason=u,this.code=Z,this.type=16}}class uf extends pi{constructor(l,d,u,Z){super(l,d),this.error=u,this.target=Z,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class JO extends pi{constructor(l,d,u,Z){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WO extends pi{constructor(l,d,u,Z){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jO extends pi{constructor(l,d,u,Z,b){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.shouldActivate=b,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $O extends pi{constructor(l,d,u,Z){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qO extends pi{constructor(l,d,u,Z){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class e4{constructor(l){this.route=l,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class t4{constructor(l){this.route=l,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class n4{constructor(l){this.snapshot=l,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class r4{constructor(l){this.snapshot=l,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class i4{constructor(l){this.snapshot=l,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class o4{constructor(l){this.snapshot=l,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fv{constructor(l,d,u){this.routerEvent=l,this.position=d,this.anchor=u,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class a4{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new $s,this.attachRef=null}}let $s=(()=>{var n;class l{constructor(){this.contexts=new Map}onChildOutletCreated(u,Z){const b=this.getOrCreateContext(u);b.outlet=Z,this.contexts.set(u,b)}onChildOutletDestroyed(u){const Z=this.getContext(u);Z&&(Z.outlet=null,Z.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let Z=this.getContext(u);return Z||(Z=new a4,this.contexts.set(u,Z)),Z}getContext(u){return this.contexts.get(u)||null}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();class Cv{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const d=this.pathFromRoot(l);return d.length>1?d[d.length-2]:null}children(l){const d=df(l,this._root);return d?d.children.map(u=>u.value):[]}firstChild(l){const d=df(l,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(l){const d=pf(l,this._root);return d.length<2?[]:d[d.length-2].children.map(Z=>Z.value).filter(Z=>Z!==l)}pathFromRoot(l){return pf(l,this._root).map(d=>d.value)}}function df(n,l){if(n===l.value)return l;for(const d of l.children){const u=df(n,d);if(u)return u}return null}function pf(n,l){if(n===l.value)return[l];for(const d of l.children){const u=pf(n,d);if(u.length)return u.unshift(l),u}return[]}class Si{constructor(l,d){this.value=l,this.children=d}toString(){return`TreeNode(${this.value})`}}function Ba(n){const l={};return n&&n.children.forEach(d=>l[d.value.outlet]=d),l}class Av extends Cv{constructor(l,d){super(l),this.snapshot=d,hf(this,l)}toString(){return this.snapshot.toString()}}function gv(n,l){const d=function s4(n,l){const x=new pu([],{},{},"",{},Dt,l,null,{});return new Zv("",new Si(x,[]))}(0,l),u=new de([new zs("",{})]),Z=new de({}),b=new de({}),x=new de({}),P=new de(""),z=new Ma(u,Z,x,P,b,Dt,l,d.root);return z.snapshot=d.root,new Av(new Si(z,[]),d)}class Ma{constructor(l,d,u,Z,b,x,P,z){this.urlSubject=l,this.paramsSubject=d,this.queryParamsSubject=u,this.fragmentSubject=Z,this.dataSubject=b,this.outlet=x,this.component=P,this._futureSnapshot=z,this.title=this.dataSubject?.pipe(xe(q=>q[Ys]))??Ct(void 0),this.url=l,this.params=d,this.queryParams=u,this.fragment=Z,this.data=b}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(xe(l=>Ia(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(xe(l=>Ia(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _v(n,l="emptyOnly"){const d=n.pathFromRoot;let u=0;if("always"!==l)for(u=d.length-1;u>=1;){const Z=d[u],b=d[u-1];if(Z.routeConfig&&""===Z.routeConfig.path)u--;else{if(b.component)break;u--}}return function l4(n){return n.reduce((l,d)=>({params:{...l.params,...d.params},data:{...l.data,...d.data},resolve:{...d.data,...l.resolve,...d.routeConfig?.data,...d._resolvedData}}),{params:{},data:{},resolve:{}})}(d.slice(u))}class pu{get title(){return this.data?.[Ys]}constructor(l,d,u,Z,b,x,P,z,q){this.url=l,this.params=d,this.queryParams=u,this.fragment=Z,this.data=b,this.outlet=x,this.component=P,this.routeConfig=z,this._resolve=q}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ia(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ia(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(u=>u.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zv extends Cv{constructor(l,d){super(d),this.url=l,hf(this,d)}toString(){return mv(this._root)}}function hf(n,l){l.value._routerState=n,l.children.forEach(d=>hf(n,d))}function mv(n){const l=n.children.length>0?` { ${n.children.map(mv).join(", ")} } `:"";return`${n.value}${l}`}function ff(n){if(n.snapshot){const l=n.snapshot,d=n._futureSnapshot;n.snapshot=d,di(l.queryParams,d.queryParams)||n.queryParamsSubject.next(d.queryParams),l.fragment!==d.fragment&&n.fragmentSubject.next(d.fragment),di(l.params,d.params)||n.paramsSubject.next(d.params),function EO(n,l){if(n.length!==l.length)return!1;for(let d=0;ddi(d.parameters,l[u].parameters))}(n.url,l.url);return d&&!(!n.parent!=!l.parent)&&(!n.parent||Cf(n.parent,l.parent))}let Af=(()=>{var n;class l{constructor(){this.activated=null,this._activatedRoute=null,this.name=Dt,this.activateEvents=new Xe,this.deactivateEvents=new Xe,this.attachEvents=new Xe,this.detachEvents=new Xe,this.parentContexts=st($s),this.location=st(Yr),this.changeDetector=st(Kc),this.environmentInjector=st(Mr),this.inputBinder=st(hu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(u){if(u.name){const{firstChange:Z,previousValue:b}=u.name;if(Z)return;this.isTrackedInParentContexts(b)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(b)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(u){return this.parentContexts.getContext(u)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const u=this.parentContexts.getContext(this.name);u?.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new je(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new je(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new je(4012,!1);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,Z){this.activated=u,this._activatedRoute=Z,this.location.insert(u.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,Z){if(this.isActivated)throw new je(4013,!1);this._activatedRoute=u;const b=this.location,P=u.snapshot.component,z=this.parentContexts.getOrCreateContext(this.name).children,q=new c4(u,z,b.injector);this.activated=b.createComponent(P,{index:b.length,injector:q,environmentInjector:Z??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275dir=Zt({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ar]}),l})();class c4{constructor(l,d,u){this.route=l,this.childContexts=d,this.parent=u}get(l,d){return l===Ma?this.route:l===$s?this.childContexts:this.parent.get(l,d)}}const hu=new ct("");let vv=(()=>{var n;class l{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(u){this.unsubscribeFromRouteData(u),this.subscribeToRouteData(u)}unsubscribeFromRouteData(u){this.outletDataSubscriptions.get(u)?.unsubscribe(),this.outletDataSubscriptions.delete(u)}subscribeToRouteData(u){const{activatedRoute:Z}=u,b=jh([Z.queryParams,Z.params,Z.data]).pipe(Gt(([x,P,z],q)=>(z={...x,...P,...z},0===q?Ct(z):Promise.resolve(z)))).subscribe(x=>{if(!u.isActivated||!u.activatedComponentRef||u.activatedRoute!==Z||null===Z.component)return void this.unsubscribeFromRouteData(u);const P=function wx(n){const l=Lt(n);if(!l)return null;const d=new ms(l);return{get selector(){return d.selector},get type(){return d.componentType},get inputs(){return d.inputs},get outputs(){return d.outputs},get ngContentSelectors(){return d.ngContentSelectors},get isStandalone(){return l.standalone},get isSignal(){return l.signals}}}(Z.component);if(P)for(const{templateName:z}of P.inputs)u.activatedComponentRef.setInput(z,x[z]);else this.unsubscribeFromRouteData(u)});this.outletDataSubscriptions.set(u,b)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();function qs(n,l,d){if(d&&n.shouldReuseRoute(l.value,d.value.snapshot)){const u=d.value;u._futureSnapshot=l.value;const Z=function d4(n,l,d){return l.children.map(u=>{for(const Z of d.children)if(n.shouldReuseRoute(u.value,Z.value.snapshot))return qs(n,u,Z);return qs(n,u)})}(n,l,d);return new Si(u,Z)}{if(n.shouldAttach(l.value)){const b=n.retrieve(l.value);if(null!==b){const x=b.route;return x.value._futureSnapshot=l.value,x.children=l.children.map(P=>qs(n,P)),x}}const u=function p4(n){return new Ma(new de(n.url),new de(n.params),new de(n.queryParams),new de(n.fragment),new de(n.data),n.outlet,n.component,n)}(l.value),Z=l.children.map(b=>qs(n,b));return new Si(u,Z)}}const gf="ngNavigationCancelingError";function Ev(n,l){const{redirectTo:d,navigationBehaviorOptions:u}=mo(l)?{redirectTo:l,navigationBehaviorOptions:void 0}:l,Z=bv(!1,0,l);return Z.url=d,Z.navigationBehaviorOptions=u,Z}function bv(n,l,d){const u=new Error("NavigationCancelingError: "+(n||""));return u[gf]=!0,u.cancellationCode=l,d&&(u.url=d),u}function yv(n){return Dv(n)&&mo(n.url)}function Dv(n){return n&&n[gf]}let Iv=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["ng-component"]],standalone:!0,features:[A1],decls:1,vars:0,template:function(u,Z){1&u&&Er(0,"router-outlet")},dependencies:[Af],encapsulation:2}),l})();function _f(n){const l=n.children&&n.children.map(_f),d=l?{...n,children:l}:{...n};return!d.component&&!d.loadComponent&&(l||d.loadChildren)&&d.outlet&&d.outlet!==Dt&&(d.component=Iv),d}function Ur(n){return n.outlet||Dt}function el(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let l=n.parent;l;l=l.parent){const d=l.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class m4{constructor(l,d,u,Z,b){this.routeReuseStrategy=l,this.futureState=d,this.currState=u,this.forwardEvent=Z,this.inputBindingEnabled=b}activate(l){const d=this.futureState._root,u=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,u,l),ff(this.futureState.root),this.activateChildRoutes(d,u,l)}deactivateChildRoutes(l,d,u){const Z=Ba(d);l.children.forEach(b=>{const x=b.value.outlet;this.deactivateRoutes(b,Z[x],u),delete Z[x]}),Object.values(Z).forEach(b=>{this.deactivateRouteAndItsChildren(b,u)})}deactivateRoutes(l,d,u){const Z=l.value,b=d?d.value:null;if(Z===b)if(Z.component){const x=u.getContext(Z.outlet);x&&this.deactivateChildRoutes(l,d,x.children)}else this.deactivateChildRoutes(l,d,u);else b&&this.deactivateRouteAndItsChildren(d,u)}deactivateRouteAndItsChildren(l,d){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,d):this.deactivateRouteAndOutlet(l,d)}detachAndStoreRouteSubtree(l,d){const u=d.getContext(l.value.outlet),Z=u&&l.value.component?u.children:d,b=Ba(l);for(const x of Object.keys(b))this.deactivateRouteAndItsChildren(b[x],Z);if(u&&u.outlet){const x=u.outlet.detach(),P=u.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:x,route:l,contexts:P})}}deactivateRouteAndOutlet(l,d){const u=d.getContext(l.value.outlet),Z=u&&l.value.component?u.children:d,b=Ba(l);for(const x of Object.keys(b))this.deactivateRouteAndItsChildren(b[x],Z);u&&(u.outlet&&(u.outlet.deactivate(),u.children.onOutletDeactivated()),u.attachRef=null,u.route=null)}activateChildRoutes(l,d,u){const Z=Ba(d);l.children.forEach(b=>{this.activateRoutes(b,Z[b.value.outlet],u),this.forwardEvent(new o4(b.value.snapshot))}),l.children.length&&this.forwardEvent(new r4(l.value.snapshot))}activateRoutes(l,d,u){const Z=l.value,b=d?d.value:null;if(ff(Z),Z===b)if(Z.component){const x=u.getOrCreateContext(Z.outlet);this.activateChildRoutes(l,d,x.children)}else this.activateChildRoutes(l,d,u);else if(Z.component){const x=u.getOrCreateContext(Z.outlet);if(this.routeReuseStrategy.shouldAttach(Z.snapshot)){const P=this.routeReuseStrategy.retrieve(Z.snapshot);this.routeReuseStrategy.store(Z.snapshot,null),x.children.onOutletReAttached(P.contexts),x.attachRef=P.componentRef,x.route=P.route.value,x.outlet&&x.outlet.attach(P.componentRef,P.route.value),ff(P.route.value),this.activateChildRoutes(l,null,x.children)}else{const P=el(Z.snapshot);x.attachRef=null,x.route=Z,x.injector=P,x.outlet&&x.outlet.activateWith(Z,x.injector),this.activateChildRoutes(l,null,x.children)}}else this.activateChildRoutes(l,null,u)}}class wv{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class fu{constructor(l,d){this.component=l,this.route=d}}function v4(n,l,d){const u=n._root;return tl(u,l?l._root:null,d,[u.value])}function Fa(n,l){const d=Symbol(),u=l.get(n,d);return u===d?"function"!=typeof n||function pb(n){return null!==hl(n)}(n)?l.get(n):n:u}function tl(n,l,d,u,Z={canDeactivateChecks:[],canActivateChecks:[]}){const b=Ba(l);return n.children.forEach(x=>{(function b4(n,l,d,u,Z={canDeactivateChecks:[],canActivateChecks:[]}){const b=n.value,x=l?l.value:null,P=d?d.getContext(n.value.outlet):null;if(x&&b.routeConfig===x.routeConfig){const z=function y4(n,l,d){if("function"==typeof d)return d(n,l);switch(d){case"pathParamsChange":return!Zo(n.url,l.url);case"pathParamsOrQueryParamsChange":return!Zo(n.url,l.url)||!di(n.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cf(n,l)||!di(n.queryParams,l.queryParams);default:return!Cf(n,l)}}(x,b,b.routeConfig.runGuardsAndResolvers);z?Z.canActivateChecks.push(new wv(u)):(b.data=x.data,b._resolvedData=x._resolvedData),tl(n,l,b.component?P?P.children:null:d,u,Z),z&&P&&P.outlet&&P.outlet.isActivated&&Z.canDeactivateChecks.push(new fu(P.outlet.component,x))}else x&&nl(l,P,Z),Z.canActivateChecks.push(new wv(u)),tl(n,null,b.component?P?P.children:null:d,u,Z)})(x,b[x.value.outlet],d,u.concat([x.value]),Z),delete b[x.value.outlet]}),Object.entries(b).forEach(([x,P])=>nl(P,d.getContext(x),Z)),Z}function nl(n,l,d){const u=Ba(n),Z=n.value;Object.entries(u).forEach(([b,x])=>{nl(x,Z.component?l?l.children.getContext(b):null:l,d)}),d.canDeactivateChecks.push(new fu(Z.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,Z))}function rl(n){return"function"==typeof n}function Bv(n){return n instanceof ru||"EmptyError"===n?.name}const Cu=Symbol("INITIAL_VALUE");function xa(){return Gt(n=>jh(n.map(l=>l.pipe(Da(1),function fO(...n){const l=Wr(n);return Fe((d,u)=>{(l?$h(n,d,l):$h(n,d)).subscribe(u)})}(Cu)))).pipe(xe(l=>{for(const d of l)if(!0!==d){if(d===Cu)return Cu;if(!1===d||d instanceof wa)return d}return!0}),Ji(l=>l!==Cu),Da(1)))}function Mv(n){return function fe(...n){return ie(n)}(nr(l=>{if(mo(l))throw Ev(0,l)}),xe(l=>!0===l))}class Au{constructor(l){this.segmentGroup=l||null}}class Fv{constructor(l){this.urlTree=l}}function Sa(n){return Hs(new Au(n))}function xv(n){return Hs(new Fv(n))}class z4{constructor(l,d){this.urlSerializer=l,this.urlTree=d}noMatchError(l){return new je(4002,!1)}lineralizeSegments(l,d){let u=[],Z=d.root;for(;;){if(u=u.concat(Z.segments),0===Z.numberOfChildren)return Ct(u);if(Z.numberOfChildren>1||!Z.children[Dt])return Hs(new je(4e3,!1));Z=Z.children[Dt]}}applyRedirectCommands(l,d,u){return this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),l,u)}applyRedirectCreateUrlTree(l,d,u,Z){const b=this.createSegmentGroup(l,d.root,u,Z);return new wa(b,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(l,d){const u={};return Object.entries(l).forEach(([Z,b])=>{if("string"==typeof b&&b.startsWith(":")){const P=b.substring(1);u[Z]=d[P]}else u[Z]=b}),u}createSegmentGroup(l,d,u,Z){const b=this.createSegments(l,d.segments,u,Z);let x={};return Object.entries(d.children).forEach(([P,z])=>{x[P]=this.createSegmentGroup(l,z,u,Z)}),new Qt(b,x)}createSegments(l,d,u,Z){return d.map(b=>b.path.startsWith(":")?this.findPosParam(l,b,Z):this.findOrReturn(b,u))}findPosParam(l,d,u){const Z=u[d.path.substring(1)];if(!Z)throw new je(4001,!1);return Z}findOrReturn(l,d){let u=0;for(const Z of d){if(Z.path===l.path)return d.splice(u),Z;u++}return l}}const Zf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function G4(n,l,d,u,Z){const b=mf(n,l,d);return b.matched?(u=function h4(n,l){return n.providers&&!n._injector&&(n._injector=Vp(n.providers,l,`Route: ${n.path}`)),n._injector??l}(l,u),function H4(n,l,d,u){const Z=l.canMatch;return Z&&0!==Z.length?Ct(Z.map(x=>{const P=Fa(x,n);return Wi(function F4(n){return n&&rl(n.canMatch)}(P)?P.canMatch(l,d):n.runInContext(()=>P(l,d)))})).pipe(xa(),Mv()):Ct(!0)}(u,l,d).pipe(xe(x=>!0===x?b:{...Zf}))):Ct(b)}function mf(n,l,d){if(""===l.path)return"full"===l.pathMatch&&(n.hasChildren()||d.length>0)?{...Zf}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const Z=(l.matcher||vO)(d,n,l);if(!Z)return{...Zf};const b={};Object.entries(Z.posParams??{}).forEach(([P,z])=>{b[P]=z.path});const x=Z.consumed.length>0?{...b,...Z.consumed[Z.consumed.length-1].parameters}:b;return{matched:!0,consumedSegments:Z.consumed,remainingSegments:d.slice(Z.consumed.length),parameters:x,positionalParamSegments:Z.posParams??{}}}function Sv(n,l,d,u){return d.length>0&&function J4(n,l,d){return d.some(u=>gu(n,l,u)&&Ur(u)!==Dt)}(n,d,u)?{segmentGroup:new Qt(l,Q4(u,new Qt(d,n.children))),slicedSegments:[]}:0===d.length&&function W4(n,l,d){return d.some(u=>gu(n,l,u))}(n,d,u)?{segmentGroup:new Qt(n.segments,U4(n,0,d,u,n.children)),slicedSegments:d}:{segmentGroup:new Qt(n.segments,n.children),slicedSegments:d}}function U4(n,l,d,u,Z){const b={};for(const x of u)if(gu(n,d,x)&&!Z[Ur(x)]){const P=new Qt([],{});b[Ur(x)]=P}return{...Z,...b}}function Q4(n,l){const d={};d[Dt]=l;for(const u of n)if(""===u.path&&Ur(u)!==Dt){const Z=new Qt([],{});d[Ur(u)]=Z}return d}function gu(n,l,d){return(!(n.hasChildren()||l.length>0)||"full"!==d.pathMatch)&&""===d.path}class eN{constructor(l,d,u,Z,b,x,P){this.injector=l,this.configLoader=d,this.rootComponentType=u,this.config=Z,this.urlTree=b,this.paramsInheritanceStrategy=x,this.urlSerializer=P,this.allowRedirects=!0,this.applyRedirects=new z4(this.urlSerializer,this.urlTree)}noMatchError(l){return new je(4002,!1)}recognize(){const l=Sv(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,l,Dt).pipe(_o(d=>{if(d instanceof Fv)return this.allowRedirects=!1,this.urlTree=d.urlTree,this.match(d.urlTree);throw d instanceof Au?this.noMatchError(d):d}),xe(d=>{const u=new pu([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Dt,this.rootComponentType,null,{}),Z=new Si(u,d),b=new Zv("",Z),x=function HO(n,l,d=null,u=null){return lv(sv(n),l,d,u)}(u,[],this.urlTree.queryParams,this.urlTree.fragment);return x.queryParams=this.urlTree.queryParams,b.url=this.urlSerializer.serialize(x),this.inheritParamsAndData(b._root),{state:b,tree:x}}))}match(l){return this.processSegmentGroup(this.injector,this.config,l.root,Dt).pipe(_o(u=>{throw u instanceof Au?this.noMatchError(u):u}))}inheritParamsAndData(l){const d=l.value,u=_v(d,this.paramsInheritanceStrategy);d.params=Object.freeze(u.params),d.data=Object.freeze(u.data),l.children.forEach(Z=>this.inheritParamsAndData(Z))}processSegmentGroup(l,d,u,Z){return 0===u.segments.length&&u.hasChildren()?this.processChildren(l,d,u):this.processSegment(l,d,u,u.segments,Z,!0)}processChildren(l,d,u){const Z=[];for(const b of Object.keys(u.children))"primary"===b?Z.unshift(b):Z.push(b);return sn(Z).pipe(Vs(b=>{const x=u.children[b],P=function _4(n,l){const d=n.filter(u=>Ur(u)===l);return d.push(...n.filter(u=>Ur(u)!==l)),d}(d,b);return this.processSegmentGroup(l,P,x,b)}),function gO(n,l){return Fe(function AO(n,l,d,u,Z){return(b,x)=>{let P=d,z=l,q=0;b.subscribe(be(x,re=>{const ue=q++;z=P?n(z,re,ue):(P=!0,re),u&&x.next(z)},Z&&(()=>{P&&x.next(z),x.complete()})))}}(n,l,arguments.length>=2,!0))}((b,x)=>(b.push(...x),b)),iu(null),function _O(n,l){const d=arguments.length>=2;return u=>u.pipe(n?Ji((Z,b)=>n(Z,b,u)):he,ef(1),d?iu(l):Um(()=>new ru))}(),wn(b=>{if(null===b)return Sa(u);const x=Ov(b);return function tN(n){n.sort((l,d)=>l.value.outlet===Dt?-1:d.value.outlet===Dt?1:l.value.outlet.localeCompare(d.value.outlet))}(x),Ct(x)}))}processSegment(l,d,u,Z,b,x){return sn(d).pipe(Vs(P=>this.processSegmentAgainstRoute(P._injector??l,d,P,u,Z,b,x).pipe(_o(z=>{if(z instanceof Au)return Ct(null);throw z}))),go(P=>!!P),_o(P=>{if(Bv(P))return function $4(n,l,d){return 0===l.length&&!n.children[d]}(u,Z,b)?Ct([]):Sa(u);throw P}))}processSegmentAgainstRoute(l,d,u,Z,b,x,P){return function j4(n,l,d,u){return!!(Ur(n)===u||u!==Dt&&gu(l,d,n))&&("**"===n.path||mf(l,n,d).matched)}(u,Z,b,x)?void 0===u.redirectTo?this.matchSegmentAgainstRoute(l,Z,u,b,x,P):P&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,Z,d,u,b,x):Sa(Z):Sa(Z)}expandSegmentAgainstRouteUsingRedirect(l,d,u,Z,b,x){return"**"===Z.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,u,Z,x):this.expandRegularSegmentAgainstRouteUsingRedirect(l,d,u,Z,b,x)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,d,u,Z){const b=this.applyRedirects.applyRedirectCommands([],u.redirectTo,{});return u.redirectTo.startsWith("/")?xv(b):this.applyRedirects.lineralizeSegments(u,b).pipe(wn(x=>{const P=new Qt(x,{});return this.processSegment(l,d,P,x,Z,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(l,d,u,Z,b,x){const{matched:P,consumedSegments:z,remainingSegments:q,positionalParamSegments:re}=mf(d,Z,b);if(!P)return Sa(d);const ue=this.applyRedirects.applyRedirectCommands(z,Z.redirectTo,re);return Z.redirectTo.startsWith("/")?xv(ue):this.applyRedirects.lineralizeSegments(Z,ue).pipe(wn(_e=>this.processSegment(l,u,d,_e.concat(q),x,!1)))}matchSegmentAgainstRoute(l,d,u,Z,b,x){let P;if("**"===u.path){const z=Z.length>0?Jm(Z).parameters:{};P=Ct({snapshot:new pu(Z,z,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nv(u),Ur(u),u.component??u._loadedComponent??null,u,Lv(u)),consumedSegments:[],remainingSegments:[]}),d.children={}}else P=G4(d,u,Z,l).pipe(xe(({matched:z,consumedSegments:q,remainingSegments:re,parameters:ue})=>z?{snapshot:new pu(q,ue,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nv(u),Ur(u),u.component??u._loadedComponent??null,u,Lv(u)),consumedSegments:q,remainingSegments:re}:null));return P.pipe(Gt(z=>null===z?Sa(d):this.getChildConfig(l=u._injector??l,u,Z).pipe(Gt(({routes:q})=>{const re=u._loadedInjector??l,{snapshot:ue,consumedSegments:_e,remainingSegments:ye}=z,{segmentGroup:Be,slicedSegments:Le}=Sv(d,_e,ye,q);if(0===Le.length&&Be.hasChildren())return this.processChildren(re,q,Be).pipe(xe(qe=>null===qe?null:[new Si(ue,qe)]));if(0===q.length&&0===Le.length)return Ct([new Si(ue,[])]);const Ue=Ur(u)===b;return this.processSegment(re,q,Be,Le,Ue?Dt:b,!0).pipe(xe(qe=>[new Si(ue,qe)]))}))))}getChildConfig(l,d,u){return d.children?Ct({routes:d.children,injector:l}):d.loadChildren?void 0!==d._loadedRoutes?Ct({routes:d._loadedRoutes,injector:d._loadedInjector}):function X4(n,l,d,u){const Z=l.canLoad;return void 0===Z||0===Z.length?Ct(!0):Ct(Z.map(x=>{const P=Fa(x,n);return Wi(function I4(n){return n&&rl(n.canLoad)}(P)?P.canLoad(l,d):n.runInContext(()=>P(l,d)))})).pipe(xa(),Mv())}(l,d,u).pipe(wn(Z=>Z?this.configLoader.loadChildren(l,d).pipe(nr(b=>{d._loadedRoutes=b.routes,d._loadedInjector=b.injector})):function Y4(n){return Hs(bv(!1,3))}())):Ct({routes:[],injector:l})}}function nN(n){const l=n.value.routeConfig;return l&&""===l.path}function Ov(n){const l=[],d=new Set;for(const u of n){if(!nN(u)){l.push(u);continue}const Z=l.find(b=>u.value.routeConfig===b.value.routeConfig);void 0!==Z?(Z.children.push(...u.children),d.add(Z)):l.push(u)}for(const u of d){const Z=Ov(u.children);l.push(new Si(u.value,Z))}return l.filter(u=>!d.has(u))}function Nv(n){return n.data||{}}function Lv(n){return n.resolve||{}}function Tv(n){return"string"==typeof n.title||null===n.title}function vf(n){return Gt(l=>{const d=n(l);return d?sn(d).pipe(xe(()=>l)):Ct(l)})}const Oa=new ct("ROUTES");let Ef=(()=>{var n;class l{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=st(dZ)}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return Ct(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const Z=Wi(u.loadComponent()).pipe(xe(Rv),nr(x=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=x}),tf(()=>{this.componentLoaders.delete(u)})),b=new Gm(Z,()=>new ve).pipe(qh());return this.componentLoaders.set(u,b),b}loadChildren(u,Z){if(this.childrenLoaders.get(Z))return this.childrenLoaders.get(Z);if(Z._loadedRoutes)return Ct({routes:Z._loadedRoutes,injector:Z._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Z);const x=this.loadModuleFactoryOrRoutes(Z.loadChildren).pipe(xe(z=>{this.onLoadEndListener&&this.onLoadEndListener(Z);let q,re;return Array.isArray(z)?re=z:(q=z.create(u).injector,re=q.get(Oa,[],Ft.Self|Ft.Optional).flat()),{routes:re.map(_f),injector:q}}),tf(()=>{this.childrenLoaders.delete(Z)})),P=new Gm(x,()=>new ve).pipe(qh());return this.childrenLoaders.set(Z,P),P}loadModuleFactoryOrRoutes(u){return Wi(u()).pipe(xe(Rv),wn(Z=>Z instanceof f1||Array.isArray(Z)?Ct(Z):sn(this.compiler.compileModuleAsync(Z))))}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();function Rv(n){return function cN(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let _u=(()=>{var n;class l{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ve,this.configLoader=st(Ef),this.environmentInjector=st(Mr),this.urlSerializer=st(Gs),this.rootContexts=st($s),this.inputBindingEnabled=null!==st(hu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Ct(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=b=>this.events.next(new t4(b)),this.configLoader.onLoadStartListener=b=>this.events.next(new e4(b))}complete(){this.transitions?.complete()}handleNavigationRequest(u){const Z=++this.navigationId;this.transitions?.next({...this.transitions.value,...u,id:Z})}setupNavigations(u){return this.transitions=new de({id:0,currentUrlTree:u.currentUrlTree,currentRawUrl:u.currentUrlTree,extractedUrl:u.urlHandlingStrategy.extract(u.currentUrlTree),urlAfterRedirects:u.urlHandlingStrategy.extract(u.currentUrlTree),rawUrl:u.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ws,restoredState:null,currentSnapshot:u.routerState.snapshot,targetSnapshot:null,currentRouterState:u.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ji(Z=>0!==Z.id),xe(Z=>({...Z,extractedUrl:u.urlHandlingStrategy.extract(Z.rawUrl)})),Gt(Z=>{let b=!1,x=!1;return Ct(Z).pipe(nr(P=>{this.currentNavigation={id:P.id,initialUrl:P.rawUrl,extractedUrl:P.extractedUrl,trigger:P.source,extras:P.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Gt(P=>{const z=u.browserUrlTree.toString(),q=!u.navigated||P.extractedUrl.toString()!==z||z!==u.currentUrlTree.toString();if(!q&&"reload"!==(P.extras.onSameUrlNavigation??u.onSameUrlNavigation)){const ue="";return this.events.next(new js(P.id,u.serializeUrl(Z.rawUrl),ue,0)),u.rawUrlTree=P.rawUrl,P.resolve(null),Dr}if(u.urlHandlingStrategy.shouldProcessUrl(P.rawUrl))return Pv(P.source)&&(u.browserUrlTree=P.extractedUrl),Ct(P).pipe(Gt(ue=>{const _e=this.transitions?.getValue();return this.events.next(new cf(ue.id,this.urlSerializer.serialize(ue.extractedUrl),ue.source,ue.restoredState)),_e!==this.transitions?.getValue()?Dr:Promise.resolve(ue)}),function rN(n,l,d,u,Z,b){return wn(x=>function q4(n,l,d,u,Z,b,x="emptyOnly"){return new eN(n,l,d,u,Z,x,b).recognize()}(n,l,d,u,x.extractedUrl,Z,b).pipe(xe(({state:P,tree:z})=>({...x,targetSnapshot:P,urlAfterRedirects:z}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,u.config,this.urlSerializer,u.paramsInheritanceStrategy),nr(ue=>{if(Z.targetSnapshot=ue.targetSnapshot,Z.urlAfterRedirects=ue.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ue.urlAfterRedirects},"eager"===u.urlUpdateStrategy){if(!ue.extras.skipLocationChange){const ye=u.urlHandlingStrategy.merge(ue.urlAfterRedirects,ue.rawUrl);u.setBrowserUrl(ye,ue)}u.browserUrlTree=ue.urlAfterRedirects}const _e=new JO(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot);this.events.next(_e)}));if(q&&u.urlHandlingStrategy.shouldProcessUrl(u.rawUrlTree)){const{id:ue,extractedUrl:_e,source:ye,restoredState:Be,extras:Le}=P,Ue=new cf(ue,this.urlSerializer.serialize(_e),ye,Be);this.events.next(Ue);const qe=gv(0,this.rootComponentType).snapshot;return Ct(Z={...P,targetSnapshot:qe,urlAfterRedirects:_e,extras:{...Le,skipLocationChange:!1,replaceUrl:!1}})}{const ue="";return this.events.next(new js(P.id,u.serializeUrl(Z.extractedUrl),ue,1)),u.rawUrlTree=P.rawUrl,P.resolve(null),Dr}}),nr(P=>{const z=new WO(P.id,this.urlSerializer.serialize(P.extractedUrl),this.urlSerializer.serialize(P.urlAfterRedirects),P.targetSnapshot);this.events.next(z)}),xe(P=>Z={...P,guards:v4(P.targetSnapshot,P.currentSnapshot,this.rootContexts)}),function S4(n,l){return wn(d=>{const{targetSnapshot:u,currentSnapshot:Z,guards:{canActivateChecks:b,canDeactivateChecks:x}}=d;return 0===x.length&&0===b.length?Ct({...d,guardsResult:!0}):function O4(n,l,d,u){return sn(n).pipe(wn(Z=>function k4(n,l,d,u,Z){const b=l&&l.routeConfig?l.routeConfig.canDeactivate:null;return b&&0!==b.length?Ct(b.map(P=>{const z=el(l)??Z,q=Fa(P,z);return Wi(function M4(n){return n&&rl(n.canDeactivate)}(q)?q.canDeactivate(n,l,d,u):z.runInContext(()=>q(n,l,d,u))).pipe(go())})).pipe(xa()):Ct(!0)}(Z.component,Z.route,d,l,u)),go(Z=>!0!==Z,!0))}(x,u,Z,n).pipe(wn(P=>P&&function D4(n){return"boolean"==typeof n}(P)?function N4(n,l,d,u){return sn(l).pipe(Vs(Z=>$h(function T4(n,l){return null!==n&&l&&l(new n4(n)),Ct(!0)}(Z.route.parent,u),function L4(n,l){return null!==n&&l&&l(new i4(n)),Ct(!0)}(Z.route,u),function K4(n,l,d){const u=l[l.length-1],b=l.slice(0,l.length-1).reverse().map(x=>function E4(n){const l=n.routeConfig?n.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:n,guards:l}:null}(x)).filter(x=>null!==x).map(x=>zm(()=>Ct(x.guards.map(z=>{const q=el(x.node)??d,re=Fa(z,q);return Wi(function B4(n){return n&&rl(n.canActivateChild)}(re)?re.canActivateChild(u,n):q.runInContext(()=>re(u,n))).pipe(go())})).pipe(xa())));return Ct(b).pipe(xa())}(n,Z.path,d),function R4(n,l,d){const u=l.routeConfig?l.routeConfig.canActivate:null;if(!u||0===u.length)return Ct(!0);const Z=u.map(b=>zm(()=>{const x=el(l)??d,P=Fa(b,x);return Wi(function w4(n){return n&&rl(n.canActivate)}(P)?P.canActivate(l,n):x.runInContext(()=>P(l,n))).pipe(go())}));return Ct(Z).pipe(xa())}(n,Z.route,d))),go(Z=>!0!==Z,!0))}(u,b,n,l):Ct(P)),xe(P=>({...d,guardsResult:P})))})}(this.environmentInjector,P=>this.events.next(P)),nr(P=>{if(Z.guardsResult=P.guardsResult,mo(P.guardsResult))throw Ev(0,P.guardsResult);const z=new jO(P.id,this.urlSerializer.serialize(P.extractedUrl),this.urlSerializer.serialize(P.urlAfterRedirects),P.targetSnapshot,!!P.guardsResult);this.events.next(z)}),Ji(P=>!!P.guardsResult||(u.restoreHistory(P),this.cancelNavigationTransition(P,"",3),!1)),vf(P=>{if(P.guards.canActivateChecks.length)return Ct(P).pipe(nr(z=>{const q=new $O(z.id,this.urlSerializer.serialize(z.extractedUrl),this.urlSerializer.serialize(z.urlAfterRedirects),z.targetSnapshot);this.events.next(q)}),Gt(z=>{let q=!1;return Ct(z).pipe(function iN(n,l){return wn(d=>{const{targetSnapshot:u,guards:{canActivateChecks:Z}}=d;if(!Z.length)return Ct(d);let b=0;return sn(Z).pipe(Vs(x=>function oN(n,l,d,u){const Z=n.routeConfig,b=n._resolve;return void 0!==Z?.title&&!Tv(Z)&&(b[Ys]=Z.title),function aN(n,l,d,u){const Z=function sN(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===Z.length)return Ct({});const b={};return sn(Z).pipe(wn(x=>function lN(n,l,d,u){const Z=el(l)??u,b=Fa(n,Z);return Wi(b.resolve?b.resolve(l,d):Z.runInContext(()=>b(l,d)))}(n[x],l,d,u).pipe(go(),nr(P=>{b[x]=P}))),ef(1),function ZO(n){return xe(()=>n)}(b),_o(x=>Bv(x)?Dr:Hs(x)))}(b,n,l,u).pipe(xe(x=>(n._resolvedData=x,n.data=_v(n,d).resolve,Z&&Tv(Z)&&(n.data[Ys]=Z.title),null)))}(x.route,u,n,l)),nr(()=>b++),ef(1),wn(x=>b===Z.length?Ct(d):Dr))})}(u.paramsInheritanceStrategy,this.environmentInjector),nr({next:()=>q=!0,complete:()=>{q||(u.restoreHistory(z),this.cancelNavigationTransition(z,"",2))}}))}),nr(z=>{const q=new qO(z.id,this.urlSerializer.serialize(z.extractedUrl),this.urlSerializer.serialize(z.urlAfterRedirects),z.targetSnapshot);this.events.next(q)}))}),vf(P=>{const z=q=>{const re=[];q.routeConfig?.loadComponent&&!q.routeConfig._loadedComponent&&re.push(this.configLoader.loadComponent(q.routeConfig).pipe(nr(ue=>{q.component=ue}),xe(()=>{})));for(const ue of q.children)re.push(...z(ue));return re};return jh(z(P.targetSnapshot.root)).pipe(iu(),Da(1))}),vf(()=>this.afterPreactivation()),xe(P=>{const z=function u4(n,l,d){const u=qs(n,l._root,d?d._root:void 0);return new Av(u,l)}(u.routeReuseStrategy,P.targetSnapshot,P.currentRouterState);return Z={...P,targetRouterState:z}}),nr(P=>{u.currentUrlTree=P.urlAfterRedirects,u.rawUrlTree=u.urlHandlingStrategy.merge(P.urlAfterRedirects,P.rawUrl),u.routerState=P.targetRouterState,"deferred"===u.urlUpdateStrategy&&(P.extras.skipLocationChange||u.setBrowserUrl(u.rawUrlTree,P),u.browserUrlTree=P.urlAfterRedirects)}),((n,l,d,u)=>xe(Z=>(new m4(l,Z.targetRouterState,Z.currentRouterState,d,u).activate(n),Z)))(this.rootContexts,u.routeReuseStrategy,P=>this.events.next(P),this.inputBindingEnabled),Da(1),nr({next:P=>{b=!0,this.lastSuccessfulNavigation=this.currentNavigation,u.navigated=!0,this.events.next(new vo(P.id,this.urlSerializer.serialize(P.extractedUrl),this.urlSerializer.serialize(u.currentUrlTree))),u.titleStrategy?.updateTitle(P.targetRouterState.snapshot),P.resolve(!0)},complete:()=>{b=!0}}),tf(()=>{b||x||this.cancelNavigationTransition(Z,"",1),this.currentNavigation?.id===Z.id&&(this.currentNavigation=null)}),_o(P=>{if(x=!0,Dv(P)){yv(P)||(u.navigated=!0,u.restoreHistory(Z,!0));const z=new du(Z.id,this.urlSerializer.serialize(Z.extractedUrl),P.message,P.cancellationCode);if(this.events.next(z),yv(P)){const q=u.urlHandlingStrategy.merge(P.url,u.rawUrlTree),re={skipLocationChange:Z.extras.skipLocationChange,replaceUrl:"eager"===u.urlUpdateStrategy||Pv(Z.source)};u.scheduleNavigation(q,Ws,null,re,{resolve:Z.resolve,reject:Z.reject,promise:Z.promise})}else Z.resolve(!1)}else{u.restoreHistory(Z,!0);const z=new uf(Z.id,this.urlSerializer.serialize(Z.extractedUrl),P,Z.targetSnapshot??void 0);this.events.next(z);try{Z.resolve(u.errorHandler(P))}catch(q){Z.reject(q)}}return Dr}))}))}cancelNavigationTransition(u,Z,b){const x=new du(u.id,this.urlSerializer.serialize(u.extractedUrl),Z,b);this.events.next(x),u.resolve(!1)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();function Pv(n){return n!==Ws}let Kv=(()=>{var n;class l{buildTitle(u){let Z,b=u.root;for(;void 0!==b;)Z=this.getResolvedTitleForRoute(b)??Z,b=b.children.find(x=>x.outlet===Dt);return Z}getResolvedTitleForRoute(u){return u.data[Ys]}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(uN)},providedIn:"root"}),l})(),uN=(()=>{var n;class l extends Kv{constructor(u){super(),this.title=u}updateTitle(u){const Z=this.buildTitle(u);void 0!==Z&&this.title.setTitle(Z)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Rm))},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})(),dN=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(hN)},providedIn:"root"}),l})();class pN{shouldDetach(l){return!1}store(l,d){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,d){return l.routeConfig===d.routeConfig}}let hN=(()=>{var n;class l extends pN{}return(n=l).\u0275fac=function(){let d;return function(Z){return(d||(d=function Kn(n){return _i(()=>{const l=n.prototype.constructor,d=l[Zi]||Cd(l),u=Object.prototype;let Z=Object.getPrototypeOf(n.prototype).constructor;for(;Z&&Z!==u;){const b=Z[Zi]||Cd(Z);if(b&&b!==d)return b;Z=Object.getPrototypeOf(Z)}return b=>new b})}(n)))(Z||n)}}(),n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();const Zu=new ct("",{providedIn:"root",factory:()=>({})});let fN=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(CN)},providedIn:"root"}),l})(),CN=(()=>{var n;class l{shouldProcessUrl(u){return!0}extract(u){return u}merge(u,Z){return u}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();var il=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(il||{});function kv(n,l){n.events.pipe(Ji(d=>d instanceof vo||d instanceof du||d instanceof uf||d instanceof js),xe(d=>d instanceof vo||d instanceof js?il.COMPLETE:d instanceof du&&(0===d.code||1===d.code)?il.REDIRECTING:il.FAILED),Ji(d=>d!==il.REDIRECTING),Da(1)).subscribe(()=>{l()})}function gN(n){throw n}function _N(n,l,d){return l.parse("/")}const ZN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Sn=(()=>{var n;class l{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=st(cZ),this.isNgZoneEnabled=!1,this.options=st(Zu,{optional:!0})||{},this.pendingTasks=st(uZ),this.errorHandler=this.options.errorHandler||gN,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||_N,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=st(fN),this.routeReuseStrategy=st(dN),this.titleStrategy=st(Kv),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=st(Oa,{optional:!0})?.flat()??[],this.navigationTransitions=st(_u),this.urlSerializer=st(Gs),this.location=st(Ih),this.componentInputBindingEnabled=!!st(hu,{optional:!0}),this.isNgZoneEnabled=st(pn)instanceof pn&&pn.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new wa,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=gv(0,null),this.navigationTransitions.setupNavigations(this).subscribe(u=>{this.lastSuccessfulId=u.id,this.currentPageId=this.browserPageId??0},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}resetRootComponentType(u){this.routerState.root.component=u,this.navigationTransitions.rootComponentType=u}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const u=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ws,u)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const Z="popstate"===u.type?"popstate":"hashchange";"popstate"===Z&&setTimeout(()=>{this.navigateToSyncWithBrowser(u.url,Z,u.state)},0)}))}navigateToSyncWithBrowser(u,Z,b){const x={replaceUrl:!0},P=b?.navigationId?b:null;if(b){const q={...b};delete q.navigationId,delete q.\u0275routerPageId,0!==Object.keys(q).length&&(x.state=q)}const z=this.parseUrl(u);this.scheduleNavigation(z,Z,P,x)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(u){this.config=u.map(_f),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,Z={}){const{relativeTo:b,queryParams:x,fragment:P,queryParamsHandling:z,preserveFragment:q}=Z,re=q?this.currentUrlTree.fragment:P;let _e,ue=null;switch(z){case"merge":ue={...this.currentUrlTree.queryParams,...x};break;case"preserve":ue=this.currentUrlTree.queryParams;break;default:ue=x||null}null!==ue&&(ue=this.removeEmptyProps(ue));try{_e=sv(b?b.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof u[0]||!u[0].startsWith("/"))&&(u=[]),_e=this.currentUrlTree.root}return lv(_e,u,ue,re??null)}navigateByUrl(u,Z={skipLocationChange:!1}){const b=mo(u)?u:this.parseUrl(u),x=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(x,Ws,null,Z)}navigate(u,Z={skipLocationChange:!1}){return function vN(n){for(let l=0;l{const x=u[b];return null!=x&&(Z[b]=x),Z},{})}scheduleNavigation(u,Z,b,x,P){if(this.disposed)return Promise.resolve(!1);let z,q,re;P?(z=P.resolve,q=P.reject,re=P.promise):re=new Promise((_e,ye)=>{z=_e,q=ye});const ue=this.pendingTasks.add();return kv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ue))}),this.navigationTransitions.handleNavigationRequest({source:Z,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:u,extras:x,resolve:z,reject:q,promise:re,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),re.catch(_e=>Promise.reject(_e))}setBrowserUrl(u,Z){const b=this.urlSerializer.serialize(u);if(this.location.isCurrentPathEqualTo(b)||Z.extras.replaceUrl){const P={...Z.extras.state,...this.generateNgRouterState(Z.id,this.browserPageId)};this.location.replaceState(b,"",P)}else{const x={...Z.extras.state,...this.generateNgRouterState(Z.id,(this.browserPageId??0)+1)};this.location.go(b,"",x)}}restoreHistory(u,Z=!1){if("computed"===this.canceledNavigationResolution){const x=this.currentPageId-(this.browserPageId??this.currentPageId);0!==x?this.location.historyGo(x):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===x&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Z&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(u,Z){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:Z}:{navigationId:u}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})(),mu=(()=>{var n;class l{constructor(u,Z,b,x,P,z){this.router=u,this.route=Z,this.tabIndexAttribute=b,this.renderer=x,this.el=P,this.locationStrategy=z,this.href=null,this.commands=null,this.onChanges=new ve,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const q=P.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===q||"area"===q,this.isAnchorElement?this.subscription=u.events.subscribe(re=>{re instanceof vo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",u)}ngOnChanges(u){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(u,Z,b,x,P){return!!(null===this.urlTree||this.isAnchorElement&&(0!==u||Z||b||x||P||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const u=null===this.href?null:function hg(n,l,d){return function y2(n,l){return"src"===l&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===l&&("base"===n||"link"===n)?pg:dg}(l,d)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",u)}applyAttributeValue(u,Z){const b=this.renderer,x=this.el.nativeElement;null!==Z?b.setAttribute(x,u,Z):b.removeAttribute(x,u)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn),Je(Ma),function Rl(n){return function Py(n,l){if("class"===l)return n.classes;if("style"===l)return n.styles;const d=n.attrs;if(d){const u=d.length;let Z=0;for(;Z{var n;class l{get isActive(){return this._isActive}constructor(u,Z,b,x,P){this.router=u,this.element=Z,this.renderer=b,this.cdr=x,this.link=P,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Xe,this.routerEventsSubscription=u.events.subscribe(z=>{z instanceof vo&&this.update()})}ngAfterContentInit(){Ct(this.links.changes,Ct(null)).pipe(Lr()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),this.link].filter(Z=>!!Z).map(Z=>Z.onChanges);this.linkInputChangesSubscription=sn(u).pipe(Lr()).subscribe(Z=>{this._isActive!==this.isLinkActive(this.router)(Z)&&this.update()})}set routerLinkActive(u){const Z=Array.isArray(u)?u:u.split(" ");this.classes=Z.filter(b=>!!b)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const u=this.hasActiveLinks();this._isActive!==u&&(this._isActive=u,this.cdr.markForCheck(),this.classes.forEach(Z=>{u?this.renderer.addClass(this.element.nativeElement,Z):this.renderer.removeClass(this.element.nativeElement,Z)}),u&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(u))})}isLinkActive(u){const Z=function EN(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>!!b.urlTree&&u.isActive(b.urlTree,Z)}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.links.some(u)}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn),Je(Zr),Je(yi),Je(Kc),Je(mu,8))},n.\u0275dir=Zt({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(u,Z,b){if(1&u&&function X1(n,l,d,u){const Z=Tt();if(Z.firstCreatePass){const b=Pn();Y1(Z,new P1(l,d,u),b.index),function zM(n,l){const d=n.contentQueries||(n.contentQueries=[]);l!==(d.length?d[d.length-1]:-1)&&d.push(n.queries.length-1,l)}(Z,n),2==(2&d)&&(Z.staticContentQueries=!0)}V1(Z,Ye(),d)}(b,mu,5),2&u){let x;qp(x=eh())&&(Z.links=x)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ar]}),l})();class Hv{}let bN=(()=>{var n;class l{constructor(u,Z,b,x,P){this.router=u,this.injector=b,this.preloadingStrategy=x,this.loader=P}setUpPreloading(){this.subscription=this.router.events.pipe(Ji(u=>u instanceof vo),Vs(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,Z){const b=[];for(const x of Z){x.providers&&!x._injector&&(x._injector=Vp(x.providers,u,`Route: ${x.path}`));const P=x._injector??u,z=x._loadedInjector??P;(x.loadChildren&&!x._loadedRoutes&&void 0===x.canLoad||x.loadComponent&&!x._loadedComponent)&&b.push(this.preloadConfig(P,x)),(x.children||x._loadedRoutes)&&b.push(this.processRoutes(z,x.children??x._loadedRoutes))}return sn(b).pipe(Lr())}preloadConfig(u,Z){return this.preloadingStrategy.preload(Z,()=>{let b;b=Z.loadChildren&&void 0===Z.canLoad?this.loader.loadChildren(u,Z):Ct(null);const x=b.pipe(wn(P=>null===P?Ct(void 0):(Z._loadedRoutes=P.routes,Z._loadedInjector=P.injector,this.processRoutes(P.injector??u,P.routes))));return Z.loadComponent&&!Z._loadedComponent?sn([x,this.loader.loadComponent(Z)]).pipe(Lr()):x})}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Sn),ft(dZ),ft(Mr),ft(Hv),ft(Ef))},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();const bf=new ct("");let Vv=(()=>{var n;class l{constructor(u,Z,b,x,P={}){this.urlSerializer=u,this.transitions=Z,this.viewportScroller=b,this.zone=x,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof cf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof vo?(this.lastId=u.id,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.urlAfterRedirects).fragment)):u instanceof js&&0===u.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof fv&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,Z){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fv(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,Z))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(n=l).\u0275fac=function(u){!function Jg(){throw new Error("invalid")}()},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();function Oi(n,l){return{\u0275kind:n,\u0275providers:l}}function zv(){const n=st(mr);return l=>{const d=n.get(Ea);if(l!==d.components[0])return;const u=n.get(Sn),Z=n.get(Gv);1===n.get(yf)&&u.initialNavigation(),n.get(Uv,null,Ft.Optional)?.setUpPreloading(),n.get(bf,null,Ft.Optional)?.init(),u.resetRootComponentType(d.componentTypes[0]),Z.closed||(Z.next(),Z.complete(),Z.unsubscribe())}}const Gv=new ct("",{factory:()=>new ve}),yf=new ct("",{providedIn:"root",factory:()=>1}),Uv=new ct("");function wN(n){return Oi(0,[{provide:Uv,useExisting:bN},{provide:Hv,useExisting:n}])}const Qv=new ct("ROUTER_FORROOT_GUARD"),MN=[Ih,{provide:Gs,useClass:nf},Sn,$s,{provide:Ma,useFactory:function Yv(n){return n.routerState.root},deps:[Sn]},Ef,[]];function FN(){return new DZ("Router",Sn)}let Jv=(()=>{var n;class l{constructor(u){}static forRoot(u,Z){return{ngModule:l,providers:[MN,[],{provide:Oa,multi:!0,useValue:u},{provide:Qv,useFactory:NN,deps:[[Sn,new kl,new Xl]]},{provide:Zu,useValue:Z||{}},Z?.useHash?{provide:Ao,useClass:Sx}:{provide:Ao,useClass:tm},{provide:bf,useFactory:()=>{const n=st(nS),l=st(pn),d=st(Zu),u=st(_u),Z=st(Gs);return d.scrollOffset&&n.setOffset(d.scrollOffset),new Vv(Z,u,n,l,d)}},Z?.preloadingStrategy?wN(Z.preloadingStrategy).\u0275providers:[],{provide:DZ,multi:!0,useFactory:FN},Z?.initialNavigation?LN(Z):[],Z?.bindToComponentInputs?Oi(8,[vv,{provide:hu,useExisting:vv}]).\u0275providers:[],[{provide:Wv,useFactory:zv},{provide:Ah,multi:!0,useExisting:Wv}]]}}static forChild(u){return{ngModule:l,providers:[{provide:Oa,multi:!0,useValue:u}]}}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Qv,8))},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})();function NN(n){return"guarded"}function LN(n){return["disabled"===n.initialNavigation?Oi(3,[{provide:ah,multi:!0,useFactory:()=>{const l=st(Sn);return()=>{l.setUpLocationChangeListener()}}},{provide:yf,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Oi(2,[{provide:yf,useValue:0},{provide:ah,multi:!0,deps:[mr],useFactory:l=>{const d=l.get(Fx,Promise.resolve());return()=>d.then(()=>new Promise(u=>{const Z=l.get(Sn),b=l.get(Gv);kv(Z,()=>{u(!0)}),l.get(_u).afterPreactivation=()=>(u(!0),b.closed?Ct(void 0):b),Z.initialNavigation()}))}}]).\u0275providers:[]]}const Wv=new ct(""),jv=function(){return["/"]},RN=function(){return{exact:!0}},KN=function(){return["/dynamic"]},kN=function(){return["/events"]},XN=function(){return["/methods"]},HN=function(){return["/methods2"]},VN=function(){return["/ajax-performance"]},zN=function(){return["/licensing"]},GN=function(){return["/extend-tdf"]};let UN=(()=>{var n;class l{constructor(){this.title="zing-app"}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["app-root"]],decls:38,vars:20,consts:[[1,"navbar"],[3,"routerLink"],["routerLinkActive","active",3,"routerLinkActiveOptions"],["routerLinkActive","active"],["routerLink","/graphset"],["routerLink","/module-chart"],[1,"container"],[1,"card"]],template:function(u,Z){1&u&&(Yt(0,"nav",0)(1,"h1")(2,"a",1),jt(3,"ZingChart Angular Playground"),zt()(),Yt(4,"ul")(5,"li",2)(6,"a",1),jt(7,"Simple"),zt()(),Yt(8,"li",3)(9,"a",4),jt(10,"Graphset"),zt()(),Yt(11,"li",3)(12,"a",5),jt(13,"Module Chart"),zt()(),Yt(14,"li",3)(15,"a",1),jt(16,"Dynamic"),zt()(),Yt(17,"li",3)(18,"a",1),jt(19,"Events"),zt()(),Yt(20,"li",3)(21,"a",1),jt(22,"Methods"),zt()(),Yt(23,"li",3)(24,"a",1),jt(25,"Methods (alternative)"),zt()(),Yt(26,"li",3)(27,"a",1),jt(28,"Ajax/Performance"),zt()(),Yt(29,"li",3)(30,"a",1),jt(31,"Licensing"),zt()(),Yt(32,"li",3)(33,"a",1),jt(34,"Extend TDF"),zt()()()(),Yt(35,"div",6)(36,"div",7),Er(37,"router-outlet"),zt()()),2&u&&(bn(2),gn("routerLink",Vr(10,jv)),bn(3),gn("routerLinkActiveOptions",Vr(11,RN)),bn(1),gn("routerLink",Vr(12,jv)),bn(9),gn("routerLink",Vr(13,KN)),bn(3),gn("routerLink",Vr(14,kN)),bn(3),gn("routerLink",Vr(15,XN)),bn(3),gn("routerLink",Vr(16,HN)),bn(3),gn("routerLink",Vr(17,VN)),bn(3),gn("routerLink",Vr(18,zN)),bn(3),gn("routerLink",Vr(19,GN)))},dependencies:[Af,mu,Xv]}),l})();const La=new ct("CallSetDisabledState",{providedIn:"root",factory:()=>Iu}),Iu="always";let kE=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})(),QL=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({imports:[kE]}),l})(),jL=(()=>{var n;class l{static withConfig(u){return{ngModule:l,providers:[{provide:La,useValue:u.callSetDisabledState??Iu}]}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({imports:[QL]}),l})();const ob={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let xu;const $L=new Uint8Array(16);function qL(){if(!xu&&(xu=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!xu))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xu($L)}const kn=[];for(let n=0;n<256;++n)kn.push((n+256).toString(16).slice(1));const tT=function eT(n,l,d){if(ob.randomUUID&&!l&&!n)return ob.randomUUID();const u=(n=n||{}).random||(n.rng||qL)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,l){d=d||0;for(let Z=0;Z<16;++Z)l[d+Z]=u[Z];return l}return function ab(n,l=0){return(kn[n[l+0]]+kn[n[l+1]]+kn[n[l+2]]+kn[n[l+3]]+"-"+kn[n[l+4]]+kn[n[l+5]]+"-"+kn[n[l+6]]+kn[n[l+7]]+"-"+kn[n[l+8]]+kn[n[l+9]]+"-"+kn[n[l+10]]+kn[n[l+11]]+kn[n[l+12]]+kn[n[l+13]]+kn[n[l+14]]+kn[n[l+15]]).toLowerCase()}(u)},{DEFAULT_WIDTH:aT,DEFAULT_HEIGHT:sT,DEFAULT_OUTPUT:lT}={DEFAULT_WIDTH:"100%",DEFAULT_HEIGHT:480,DEFAULT_OUTPUT:"svg"},cT={EVENT_NAMES:["history_back","history_forward","destroy","beforedestroy","animation_step","animation_start","animation_end","guide_mouseout","guide_mousemove","dataload","dataparse","modulesready","dataready","resize","swipe","mousewheel","render","complete","load","about_show","about_hide","error","reload","menu_item_click","beforezoom","node_mousedown","node_mouseover","node_mouseout","node_mouseup","plot_mouseout","plot_mouseup","node_click","plot_click","node_doubleclick","plot_doubleclick","gload","gcomplete","maps.zoom","plot_add","plot_remove","modify","plot_modify","node_set","node_add","node_remove","setdata","legend_minimize","legend_hide","legend_maximize","legend_show","source_show","source_hide","dataexport","legend_mouseover","legend_mouseout","legend_item_click","legend_marker_click","shape_mouseover","shape_mousedown","shape_mouseout","shape_mouseup","shape_mousemove","shape_click","shape_dblclick","label_mouseover","label_mousedown","label_mouseout","label_mouseup","label_mousemove","label_click","label_dblclick","feed_clear","feed_step","feed_interval_modify","feed_stop","feed_start","zoom","postzoom","zingchart.plugins.dragging.update","zingchart.plugins.dragging.complete","heatmap.mousemove","zingchart.plugins.selection-tool.mouseup","zingchart.plugins.selection-tool.selection","zingchart.plugins.selection-tool.beforeselection"],METHOD_NAMES:["zingchart.exec","goback","goforward","showmenu","hidemenu","destroy","getrender","clear","reload","load","enable","disable","closemodal","openmodal","print","fullscreen","exitfullscreen","resize","plothide","showguide","hideguide","showtooltip","hidetooltip","clicknode","locktooltip","unlocktooltip","showhoverstate","showplot","togglesource","togglebugreport","toggleabout","toggleplot","getcharttype","getversion","get3dview","set3dview","getpage","setpage","unbinddocument","addmenuitem","resetguide","setguide","zingchart.render","zingchart.maps.getMapByGraphIndex","zingchart.maps.zoomIn","zingchart.maps.zoomOut","zingchart.maps.destroyMap","zingchart.maps.setView","zingchart.maps.viewAll","zingchart.maps.zoomToItem","zingchart.maps.zoomTo","zingchart.maps.getInfo","zingchart.maps.getItems","zingchart.maps.getItemInfo","zingchart.maps.XY","zingchart.maps.getLonLat","clearscroll","getbubblesize","getscaleinfo","getobjectinfo","getxyinfo","update","setcharttype","addgraph","addplot","removeplot","modify","modifyplot","setnodevalue","setscalevalues","addscalevalue","removescalevalue","addnode","removenode","setdata","getseriesdata","setseriesdata","appendseriesdata","getseriesvalues","setseriesvalues","appendseriesvalues","togglelegend","legendminimize","legendmaximize","legendscroll","toggledimension","getdata","getoriginaljson","getgraphlength","getplotlength","getscales","getnodelength","getnodevalue","getplotvalues","getimagedata","exportimage","saveasimage","exportdata","downloadCSV","downloadXLS","downloadRAW","viewDataTable","addobject","removeobject","updateobject","repaintobjects","getallobjects","getobjectsbyclass","getlabelinfo","getshapeinfo","setobjectsmode","clearfeed","getinterval","setinterval","startfeed","stopfeed","clearselection","getselection","setselection","select","deselect","getzoom","pan","zoomin","zoomout","zoomto","zoomtovalues","viewall","removenote","updatenote","getnotes","addnote","addmarker","updatemarker","removemarker","addrule","removerule","updaterule","getrules","bubblepack.setdata","calendar_setvalues","colorscale.setvalue","colorscale.update","colorscale.clear","colorscale.getinfo","heatmap.setdata","zingchart.maps.loadGeoJSON","zingchart.maps.loadTopoJSON","resetscales","resetsetseriesdata","getscaleminmax","tree.addnode","tree.removenode","tree.getdata","tree.set","tree.addlink","tree.removelink","treemap.updateNode","treemap.addNode","treemap.removeNode","zingchart.bind","zingchart.unbind"],MARKER_NAMES:["square","parallelogram","trapezoid","circle","diamond","triangle","ellipse","star5","star6","star7","star8","rpoly5","rpoly6","rpoly7","rpoly8","gear5","gear6","gear7","gear8","pie"],DEFAULT_WIDTH:aT,DEFAULT_HEIGHT:sT,DEFAULT_OUTPUT:lT},{DEFAULT_WIDTH:uT,DEFAULT_HEIGHT:dT,DEFAULT_OUTPUT:pT,EVENT_NAMES:hT,METHOD_NAMES:fT}=cT;let fi=(()=>{var n;class l{constructor(){this.about_hide=new Xe,this.about_show=new Xe,this.animation_end=new Xe,this.animation_start=new Xe,this.animation_step=new Xe,this.beforedestroy=new Xe,this.bugreport_hide=new Xe,this.bugreport_show=new Xe,this.click=new Xe,this.complete=new Xe,this.data_export=new Xe,this.dataexport=new Xe,this.dataload=new Xe,this.dataparse=new Xe,this.dataready=new Xe,this.destroy=new Xe,this.dimension_change=new Xe,this.error=new Xe,this.feed_clear=new Xe,this.feed_interval_modify=new Xe,this.feed_start=new Xe,this.feed_stop=new Xe,this.gcomplete=new Xe,this.getdata=new Xe,this.gload=new Xe,this.gparse=new Xe,this.guide_mousemove=new Xe,this.guide_mouseout=new Xe,this.heatmap_mousemove=new Xe,this.history_back=new Xe,this.history_forward=new Xe,this.image_save=new Xe,this.label_click=new Xe,this.label_mousedown=new Xe,this.label_mouseout=new Xe,this.label_mouseover=new Xe,this.label_mouseup=new Xe,this.legend_hide=new Xe,this.legend_item_click=new Xe,this.legend_item_mousemove=new Xe,this.legend_item_mouseout=new Xe,this.legend_item_mouseover=new Xe,this.legend_marker_click=new Xe,this.legend_maximize=new Xe,this.legend_minimize=new Xe,this.legend_minimize_click=new Xe,this.legend_pagination_click=new Xe,this.legend_show=new Xe,this.legend_drag_mousedown=new Xe,this.lens_hide=new Xe,this.lens_show=new Xe,this.load=new Xe,this.maps_zoom=new Xe,this.menu_item_click=new Xe,this.modify=new Xe,this.modulesready=new Xe,this.mousewheel=new Xe,this.node_add=new Xe,this.node_click=new Xe,this.node_deselect=new Xe,this.node_doubleclick=new Xe,this.node_mousedown=new Xe,this.node_mouseout=new Xe,this.node_mouseover=new Xe,this.node_mouseup=new Xe,this.node_remove=new Xe,this.node_select=new Xe,this.node_set=new Xe,this.objectsinit=new Xe,this.objectsready=new Xe,this.overscroll=new Xe,this.plot_add=new Xe,this.plot_click=new Xe,this.plot_deselect=new Xe,this.plot_doubleclick=new Xe,this.plot_hide=new Xe,this.plot_modify=new Xe,this.plot_mouseout=new Xe,this.plot_mouseover=new Xe,this.plot_remove=new Xe,this.plot_select=new Xe,this.plot_show=new Xe,this.postzoom=new Xe,this.print=new Xe,this.reload=new Xe,this.render=new Xe,this.resize=new Xe,this.setdata=new Xe,this.shape_click=new Xe,this.shape_mousedown=new Xe,this.shape_mouseout=new Xe,this.shape_mouseover=new Xe,this.shape_mouseup=new Xe,this.source_hide=new Xe,this.source_show=new Xe,this.swipe=new Xe,this.touchemove=new Xe,this.touchend=new Xe,this.touchstart=new Xe,this.zingchart_plugins_selection_tool_mouseup=new Xe,this.zingchart_plugins_selection_tool_selection=new Xe,this.zoom=new Xe}ngOnInit(){this.chartId=this.id||`zingchart-ng-${tT()}`,fT.forEach(u=>{this[u]=Z=>JSON.stringify(ui.Z.exec(this.chartId,u,Z))})}ngAfterViewInit(){let u=this.config;if("string"==typeof u)try{u=JSON.parse(u)}catch{throw new Error("Invalid object")}this.id&&(this.chartId=this.id),this.series&&("graphset"in this.config?this.config.graphset&&1===this.config.graphset.length&&(u.graphset[0].series=this.series):u.series=this.series),this.chartWidth=this.width||uT,this.chartHeight=this.height||dT,this.output=this.output||pT,this.renderObject={id:this.chartId,data:u,width:this.chartWidth,height:this.chartHeight,output:this.output},this.theme&&(this.renderObject.defaults=this.theme),hT.forEach(Z=>{this[Z]&&this[Z].observers&&this[Z].observers.length&&ui.Z.bind(this.chartId,Z,b=>{this[Z].emit(b)})}),ui.Z.render(this.renderObject)}ngOnDestroy(){ui.Z.exec(this.chartId,"destroy")}ngOnChanges(u){if(u.config)ui.Z.exec(this.chartId,"setdata",{data:u.config.currentValue});else if(u.series){let Z=(b,x)=>ui.Z.exec(b,"setseriesdata",{graphid:0,data:x});"series"in this.config?(this.config.series=u.series.currentValue,Z(this.chartId,this.config.series)):"graphset"in this.config&&this.config.graphset&&1===this.config.graphset.length&&(this.config.graphset[0].series=u.series.currentValue,Z(this.chartId,this.config.graphset[0].series))}else(u.width||u.height)&&ui.Z.exec(this.chartId,"resize",{width:u.width&&u.width.currentValue||this.width,height:u.height&&u.height.currentValue||this.height})}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["zingchart-angular"]],hostVars:1,hostBindings:function(u,Z){2&u&&Np("id",Z.chartId)},inputs:{config:"config",id:"id",width:"width",height:"height",output:"output",series:"series",theme:"theme"},outputs:{about_hide:"about_hide",about_show:"about_show",animation_end:"animation_end",animation_start:"animation_start",animation_step:"animation_step",beforedestroy:"beforedestroy",bugreport_hide:"bugreport_hide",bugreport_show:"bugreport_show",click:"click",complete:"complete",data_export:"data_export",dataexport:"dataexport",dataload:"dataload",dataparse:"dataparse",dataready:"dataready",destroy:"destroy",dimension_change:"dimension_change",error:"error",feed_clear:"feed_clear",feed_interval_modify:"feed_interval_modify",feed_start:"feed_start",feed_stop:"feed_stop",gcomplete:"gcomplete",getdata:"getdata",gload:"gload",gparse:"gparse",guide_mousemove:"guide_mousemove",guide_mouseout:"guide_mouseout",heatmap_mousemove:"heatmap_mousemove",history_back:"history_back",history_forward:"history_forward",image_save:"image_save",label_click:"label_click",label_mousedown:"label_mousedown",label_mouseout:"label_mouseout",label_mouseover:"label_mouseover",label_mouseup:"label_mouseup",legend_hide:"legend_hide",legend_item_click:"legend_item_click",legend_item_mousemove:"legend_item_mousemove",legend_item_mouseout:"legend_item_mouseout",legend_item_mouseover:"legend_item_mouseover",legend_marker_click:"legend_marker_click",legend_maximize:"legend_maximize",legend_minimize:"legend_minimize",legend_minimize_click:"legend_minimize_click",legend_pagination_click:"legend_pagination_click",legend_show:"legend_show",legend_drag_mousedown:"legend_drag_mousedown",lens_hide:"lens_hide",lens_show:"lens_show",load:"load",maps_zoom:"maps_zoom",menu_item_click:"menu_item_click",modify:"modify",modulesready:"modulesready",mousewheel:"mousewheel",node_add:"node_add",node_click:"node_click",node_deselect:"node_deselect",node_doubleclick:"node_doubleclick",node_mousedown:"node_mousedown",node_mouseout:"node_mouseout",node_mouseover:"node_mouseover",node_mouseup:"node_mouseup",node_remove:"node_remove",node_select:"node_select",node_set:"node_set",objectsinit:"objectsinit",objectsready:"objectsready",overscroll:"overscroll",plot_add:"plot_add",plot_click:"plot_click",plot_deselect:"plot_deselect",plot_doubleclick:"plot_doubleclick",plot_hide:"plot_hide",plot_modify:"plot_modify",plot_mouseout:"plot_mouseout",plot_mouseover:"plot_mouseover",plot_remove:"plot_remove",plot_select:"plot_select",plot_show:"plot_show",postzoom:"postzoom",print:"print",reload:"reload",render:"render",resize:"resize",setdata:"setdata",shape_click:"shape_click",shape_mousedown:"shape_mousedown",shape_mouseout:"shape_mouseout",shape_mouseover:"shape_mouseover",shape_mouseup:"shape_mouseup",source_hide:"source_hide",source_show:"source_show",swipe:"swipe",touchemove:"touchemove",touchend:"touchend",touchstart:"touchstart",zingchart_plugins_selection_tool_mouseup:"zingchart_plugins_selection_tool_mouseup",zingchart_plugins_selection_tool_selection:"zingchart_plugins_selection_tool_selection",zoom:"zoom"},features:[Ar],decls:0,vars:0,template:function(u,Z){},styles:["[_nghost-%COMP%]{display:block}"]}),l})(),AT=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})(),gT=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"Hello ZingChart Angular Edition!"},series:[{values:[4,5,3,4,5,3,5,4,11]}]}}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-home"]],decls:3,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," A simple use case of using the zingchart-angular wrapper. A hello world example...\n"),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})(),_T=(()=>{var n;class l{constructor(){this.config={shapes:[{type:"zingchart.maps",options:{name:"usa",ignore:["AK","HI"]}}]}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["app-module-chart"]],decls:3,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1,"How to import a module chart with the zingchart-angular wrapper"),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})(),ZT=(()=>{var n;class l{constructor(){this.config={graphset:[{type:"line",height:"200px",width:"100%",x:"5%",y:"5%",series:[{values:[76,23,15,85,13]},{values:[36,53,65,25,45]}]},{type:"funnel",height:"55%",width:"50%",x:"5%",y:"200px",series:[{values:[30]},{values:[15]},{values:[5]},{values:[3]}]},{type:"pie",height:"55%",width:"50%",x:"50%",y:"200px",series:[{values:[15]},{values:[30]},{values:[34]}]}]}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["app-graphset"]],decls:3,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1,"How to use multiple charts in a dashboard with a graphset."),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})(),mT=(()=>{var n;class l{constructor(u){this.router=u,this.series=[{alpha:1,values:[2,3,5,5]}],this.config={type:"area",title:{text:"Dynamic Chart"}}}ngOnDestroy(){window.clearTimeout(this.interval)}ngAfterContentInit(){this.interval=setInterval(()=>{console.log("trigger: ",this.series),this.series=[{alpha:1,values:[5,11,15,25].map(u=>Math.floor(Math.random()*u))}]},2e3)}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-dynamic"]],decls:3,vars:3,consts:[[3,"config","series","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to dynamically update the values of the chart by having a config and a series object.\n"),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("series",Z.series)("height",500))},dependencies:[fi],encapsulation:2}),l})(),vT=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"API Events"},subtitle:{text:"Click on nodes and check the console!"},series:[{values:[4,5,3,4,5,3,5,4,11]}]}}onComplete(u){console.log("zingchart on complete fired!",u)}nodeClick(u){console.log("node clicked fired!",u)}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-events"]],decls:3,vars:2,consts:[[3,"config","height","complete","node_click"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to hook into ZingCharts API events system with native Angular syntax. This method adds an event listener.\n"),zt(),Yt(2,"zingchart-angular",0),$n("complete",function(x){return Z.onComplete(x)})("node_click",function(x){return Z.nodeClick(x)}),zt()),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})(),ET=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"API Methods"},series:[{values:[4,5,3,4,5,3,5,4,11,12]}]}}addPlot(u){u.addplot({data:{values:this._randomData(10),text:"My new plot"}})}_randomData(u){return Array.from(new Array(u)).map(()=>Math.floor(10*Math.random()))}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-methods"]],decls:6,vars:2,consts:[[3,"click"],[3,"config","height"],["chart1",""]],template:function(u,Z){if(1&u){const b=function k_(){return Ye()}();Yt(0,"p"),jt(1,' How to hook into ZingCharts API methods system with native Angular syntax. The chart reference passed to the "addPlot" method and executes the "appPlot" ZingChart API method.\n'),zt(),Yt(2,"button",0),$n("click",function(){!function XC(n){return gt.lFrame.contextLView=n,n[vn]}(b);const P=function T_(n){return function Po(n,l){return n[l]}(function Zy(){return gt.lFrame.contextLView}(),xt+n)}(5);return function HC(n){return gt.lFrame.contextLView=null,n}(Z.addPlot(P))}),jt(3,"Add Plot"),zt(),Er(4,"zingchart-angular",1,2)}2&u&&(bn(4),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})();const bT=["chart1"];let yT=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"API Methods"},series:[{values:[4,5,3,4,5,3,5,4,11,12]}]}}addPlot(){this.chart1.addplot({data:{values:this._randomData(10),text:"My new plot"}})}_randomData(u){return Array.from(new Array(u)).map(()=>Math.floor(10*Math.random()))}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-methods"]],viewQuery:function(u,Z){if(1&u&&function k1(n,l,d){const u=Tt();u.firstCreatePass&&(Y1(u,new P1(n,l,d),-1),2==(2&l)&&(u.staticViewQueries=!0)),V1(u,Ye(),l)}(bT,5),2&u){let b;qp(b=eh())&&(Z.chart1=b.first)}},decls:6,vars:2,consts:[[3,"click"],[3,"config","height"],["chart1",""]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to hook into ZingCharts API methods system with native Angular syntax. This alternative way uses `ViewChild` to get reference of the chart and executes the ZingChart API method.\n"),zt(),Yt(2,"button",0),$n("click",function(){return Z.addPlot()}),jt(3,"Add Plot"),zt(),Er(4,"zingchart-angular",1,2)),2&u&&(bn(4),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})();ui.Z.LICENSE=["your_zingchart_license_key"],ui.Z.BUILDCODE=["your_license_build_code"];let DT=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"Simple zingchart license key demo"},subtitle:{text:"License SHOULD appear bottom right... check the codes!"},series:[{values:[4,5,3,4,5,3,5,4,11]}]}}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-methods"]],decls:6,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to hook into the "),Yt(2,"code"),jt(3,"zignchart"),zt(),jt(4," object to use licensing and performance features.\n"),zt(),Er(5,"zingchart-angular",0)),2&u&&(bn(5),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})();ui.Z.DEV.MEDIARULES=!1;const IT=[{path:"",component:gT},{path:"module-chart",component:_T},{path:"graphset",component:ZT},{path:"dynamic",component:mT},{path:"events",component:vT},{path:"methods",component:ET},{path:"methods2",component:yT},{path:"licensing",component:DT},{path:"ajax-performance",component:(()=>{var n;class l{constructor(u){this.router=u,this.series=[],this.config={type:"line",title:{text:"Performant AJAX Chart"},plot:{exact:!0,smartSampling:!0,hintTs:!0,maxNodes:150,maxTrackers:150},plotarea:{margin:"dynamic"},crosshairX:{},scaleX:{zoom:!0,transform:{type:"date"}},noData:{text:"Fetching data from endpoint..."}}}ngAfterContentInit(){fetch("https://cdn.zingchart.com/datasets/timeseries-sample-data-2019.json").then(u=>u.json()).then(u=>{console.log("Successfully fetched data from endpoint!"),this.series=[u]}).catch(u=>{console.error("Error fetching zingchart data")})}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-dynamic"]],decls:6,vars:3,consts:[[3,"config","series","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to dynamically fetch data using AJAX and add performance flags to zingchart with "),Yt(2,"code"),jt(3,"zingchart"),zt(),jt(4," global variable.\n"),zt(),Er(5,"zingchart-angular",0)),2&u&&(bn(5),gn("config",Z.config)("series",Z.series)("height",500))},dependencies:[fi],encapsulation:2}),l})()},{path:"extend-tdf",component:(()=>{var n;class l{constructor(){this.config={type:"bar",title:{text:"Extend TDF with custom token: data-description"},plot:{tooltip:{text:"%v - %data-description"}},series:[{values:[4,5,3,4,5,3,5],"data-description":["red","orange","yellow","green","blue","indigo","violet"]}]}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["app-extend-tdf"]],decls:3,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to extend the type definition file to include your custom tokens or user-specified properties.\n"),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})()}];let wT=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({imports:[gm,Jv.forRoot(IT),Jv]}),l})(),BT=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n,bootstrap:[UN]}),n.\u0275inj=wr({imports:[wT,jS,jL,AT]}),l})();QS().bootstrapModule(BT).catch(n=>console.error(n))},724:()=>{ZC.X3.push("maps-usa"),function(){zingchart.maps.usa||(zingchart.maps.usa={}),zingchart.maps.data.usa||(zingchart.maps.data.usa={});var A={AL:[[-85.07,31.981],[-85.13,31.779],[-85.002,31.001],[-87.599,31.003],[-87.445,30.531],[-87.593,30.278],[-87.903,30.421],[-88.02,30.744],[-88.136,30.337],[-88.401,30.394],[-88.451,31.436],[-88.426,32.309],[-88.091,34.896],[-88.194,35.005],[-85.609,34.99],[-85.335,33.655],[-84.894,32.259],[-85.07,31.981]],AK:[[-161.334,58.733],[-161.894,58.652],[-161.708,59.496],[-162.452,60.187],[-163.366,59.819],[-165.428,60.554],[-164.768,61.11],[-166.13,61.497],[-164.147,63.26],[-163.344,63.021],[-161.154,63.512],[-161.158,64.923],[-162.579,64.52],[-166.24,64.595],[-166.054,65.251],[-168.044,65.634],[-163.937,66.608],[-163.925,66.207],[-161.819,65.974],[-160.233,66.399],[-163.825,67.354],[-166.235,68.874],[-164.328,68.93],[-161.956,70.303],[-156.82,71.3],[-152.219,70.811],[-151.969,70.443],[-145.842,70.17],[-141.006,69.642],[-141.006,69.642],[-140.997,60.307],[-140.997,60.307],[-139.07,60.352],[-137.593,59.238],[-135.725,59.745],[-133.432,58.459],[-132.228,57.204],[-131.56,56.602],[-130.09,56.118],[-130.176,55.754],[-130.176,55.754],[-129.992,55.281],[-130.688,54.762],[-131.01,55.004],[-130.866,55.308],[-131.964,55.498],[-132.268,55.756],[-131.962,56.165],[-131.909,56.228],[-132.886,57.017],[-133.693,57.787],[-134.177,58.196],[-134.991,58.67],[-136.661,58.891],[-136.031,58.383],[-136.656,58.215],[-139.838,59.533],[-142.719,60.109],[-143.889,59.99],[-146.246,61.085],[-148.395,60.854],[-147.939,60.462],[-148.646,59.921],[-149.726,59.962],[-149.746,59.658],[-151.725,59.16],[-151.974,59.27],[-150.995,59.777],[-151.871,59.743],[-151.411,60.727],[-150.441,61.03],[-149.031,60.847],[-149.03,60.847],[-149.245,61.492],[-149.244,61.492],[-151.745,60.916],[-154.263,59.142],[-153.362,58.868],[-156.56,57.271],[-156.37,57.141],[-158.46,56.34],[-158.123,56.233],[-159.758,55.602],[-159.866,55.783],[-161.246,55.348],[-161.488,55.48],[-162.88,54.931],[-163.325,55.121],[-161.784,55.891],[-160.571,55.929],[-157.94,57.491],[-156.94,58.735],[-158.826,58.97],[-159.059,58.424],[-160.252,58.895],[-161.334,58.733],null,[-172.283,60.302],[-172.602,60.324],[-173.051,60.493],[-172.919,60.603],[-172.283,60.302],null,[-166.111,60.41],[-165.684,60.294],[-165.543,59.979],[-166.268,59.843],[-167.453,60.207],[-166.111,60.41],null,[-164.178,54.603],[-164.855,54.424],[-164.49,54.916],[-163.532,55.045],[-163.051,54.667],[-164.178,54.603],null,[-166.645,53.523],[-167.667,53.237],[-167.163,53.853],[-166.752,54.008],[-166.279,53.678],[-166.645,53.523],null,[-167.797,53.495],[-167.851,53.38],[-168.882,52.937],[-168.354,53.475],[-167.797,53.495],null,[-174.161,52.417],[-173.992,52.32],[-174.101,52.103],[-174.416,52.036],[-175.024,52.021],[-174.161,52.417],null,[-176.941,51.583],[-176.975,51.656],[-176.774,51.944],[-176.558,51.982],[-176.432,51.729],[-176.941,51.583],null,[-177.91,51.59],[-178.218,51.875],[-177.622,51.851],[-177.91,51.59],null,[-171.087,63.432],[-171.452,63.313],[-171.854,63.508],[-171.739,63.789],[-171.328,63.633],[-170.303,63.693],[-168.693,63.302],[-169.656,62.943],[-170.24,63.282],[-171.087,63.432],null,[-146.94,60.286],[-147.472,59.868],[-147.912,59.79],[-147.699,59.998],[-147.196,60.353],[-146.94,60.286],null,[-152.093,58.36],[-152.082,58.156],[-152.789,57.992],[-153.234,58.169],[-152.66,58.477],[-152.093,58.36],null,[-133.958,57.3],[-134.614,57.009],[-134.575,57.505],[-134.958,58.407],[-134.179,58.083],[-133.958,57.3],null,[-134.518,58.338],[-134.518,58.338],null,[-135.888,57.988],[-134.813,57.481],[-136.416,57.821],[-136.328,57.991],[-136.033,57.843],[-136.033,57.843],[-136.033,57.843],[-136.033,57.843],[-136.182,58.177],[-135.797,58.277],[-134.943,58.035],[-135.889,57.988],[-135.888,57.988],null,[-153.393,57.158],[-154.099,56.962],[-154.803,57.285],[-153.278,58.005],[-152.329,57.813],[-152.347,57.423],[-153.393,57.158],null,[-134.655,56.163],[-135.371,56.833],[-135.4,57.438],[-135.004,57.399],[-134.618,56.721],[-134.655,56.163],null,[-135.702,57.317],[-135.702,57.317],null,[-133.053,56.977],[-133.024,56.602],[-133.166,56.453],[-133.649,56.443],[-133.875,57.086],[-133.053,56.977],null,[-133.965,56.081],[-134.283,56.356],[-134.395,56.721],[-133.995,56.874],[-133.856,56.279],[-133.965,56.081],null,[-132.804,56.786],[-132.804,56.786],null,[-132.338,56.48],[-132.338,56.48],null,[-132.705,56.456],[-132.705,56.456],null,[-132.474,55.496],[-131.999,55.1],[-132.006,54.69],[-132.291,54.714],[-133.619,56.207],[-133.612,56.348],[-133.19,56.33],[-132.727,55.99],[-132.382,55.669],[-132.474,55.496],null,[-132.392,56.336],[-132.202,56.085],[-132.34,55.913],[-132.697,56.107],[-132.392,56.336]],AZ:[[-114.521,33.028],[-114.664,33.039],[-114.725,33.411],[-114.529,33.56],[-114.526,33.952],[-114.125,34.273],[-114.621,34.999],[-114.728,36.086],[-114.381,36.151],[-114.234,36.018],[-114.037,36.216],[-114.044,36.996],[-109.049,36.997],[-109.049,32.442],[-109.046,31.343],[-111.072,31.336],[-114.822,32.487],[-114.809,32.616],[-114.722,32.721],[-114.572,32.737],[-114.461,32.845],[-114.521,33.028]],AR:[[-94.462,34.197],[-94.439,34.929],[-94.617,36.489],[-90.15,36.492],[-90.379,35.99],[-89.722,36],[-89.645,35.914],[-90.305,35.001],[-91.089,33.995],[-91.162,33.013],[-94.039,33.023],[-94.036,33.556],[-94.477,33.632],[-94.462,34.197]],CA:[[-121.665,38.169],[-122.316,38.206],[-122.516,37.822],[-123.722,38.925],[-123.838,39.826],[-124.393,40.435],[-124.058,41.458],[-124.206,41.998],[-121.442,41.994],[-119.993,41.989],[-119.995,38.994],[-119.153,38.412],[-114.621,34.999],[-114.125,34.273],[-114.526,33.952],[-114.529,33.56],[-114.725,33.411],[-114.664,33.039],[-114.521,33.028],[-114.461,32.845],[-114.572,32.737],[-114.722,32.721],[-117.128,32.536],[-117.328,33.111],[-118.542,34.037],[-118.788,34.018],[-119.606,34.416],[-120.641,34.572],[-120.638,35.14],[-120.992,35.457],[-121.882,36.307],[-121.761,36.819],[-121.883,36.962],[-122.061,36.947],[-122.415,37.239],[-122.498,37.7],[-122.366,37.703],[-122.089,37.453],[-121.975,37.461],[-122.2,37.735],[-122.296,38.015],[-121.699,38.023],[-121.665,38.169],null,[-119.868,34.075],[-119.573,34.056],[-119.539,34.007],[-119.847,33.968],[-119.928,34.059],[-119.868,34.075],null,[-120.167,33.924],[-120.239,34.011],[-120.047,34.041],[-119.963,33.948],[-120.109,33.895],[-120.167,33.924],null,[-118.595,33.481],[-118.362,33.411],[-118.295,33.334],[-118.455,33.325],[-118.595,33.481],null,[-118.351,32.819],[-118.42,32.806],[-118.6,33.021],[-118.572,33.036],[-118.351,32.819]],CO:[[-102.044,37.642],[-102.037,36.989],[-102.998,36.998],[-109.049,36.997],[-109.048,40.998],[-104.052,41.003],[-102.048,40.998],[-102.052,39.999],[-102.044,37.642]],CT:[[-73.53,41.523],[-73.484,42.047],[-71.802,42.018],[-71.798,42.004],[-71.79,41.601],[-71.848,41.325],[-72.907,41.27],[-73.653,40.998],[-73.53,41.523]],DE:[[-75.707,38.558],[-75.711,38.65],[-75.791,39.724],[-75.644,39.838],[-75.421,39.799],[-75.489,39.715],[-75.61,39.613],[-75.563,39.567],[-75.59,39.464],[-75.402,39.258],[-75.397,39.073],[-75.325,39.013],[-75.308,38.946],[-75.191,38.809],[-75.083,38.8],[-75.046,38.45],[-75.068,38.45],[-75.093,38.451],[-75.699,38.463],[-75.707,38.558]],DC:[[-77.008,38.967],[-76.911,38.89],[-77.045,38.788],[-77.122,38.932],[-77.042,38.993],[-77.008,38.967]],FL:[[-80.786,28.785],[-80.851,28.786],[-80.747,28.399],[-80.401,27.704],[-80.051,26.797],[-80.128,25.977],[-80.302,25.614],[-80.302,25.401],[-80.421,25.192],[-81.119,25.134],[-81.148,25.165],[-80.915,25.247],[-81.258,25.681],[-81.718,25.924],[-82.052,26.867],[-82.153,26.937],[-82.29,26.85],[-82.566,27.387],[-82.404,27.792],[-82.461,27.94],[-82.624,27.849],[-82.678,27.706],[-82.844,27.851],[-82.637,28.885],[-82.802,29.155],[-83.037,29.179],[-83.972,30.078],[-84.354,30.07],[-84.36,29.977],[-85.215,29.702],[-85.53,30.132],[-85.57,30.311],[-85.753,30.297],[-85.726,30.129],[-86.388,30.388],[-86.115,30.386],[-86.22,30.488],[-86.933,30.464],[-87.02,30.587],[-87.274,30.357],[-87.445,30.531],[-87.599,31.003],[-85.002,31.001],[-84.863,30.713],[-82.221,30.567],[-82.18,30.369],[-82.053,30.364],[-81.953,30.82],[-81.529,30.721],[-81.481,30.381],[-81.234,29.669],[-80.786,28.785],null,[-80.726,28.784],[-80.58,28.59],[-80.526,28.463],[-80.622,28.413],[-80.66,28.619],[-80.786,28.688],[-80.726,28.784],null,[-82.102,26.586],[-82.067,26.498],[-82.097,26.494],[-82.183,26.683],[-82.129,26.694],[-82.102,26.586],null,[-80.249,25.355],[-80.353,25.212],[-80.362,25.297],[-80.249,25.355]],GA:[[-85.13,31.779],[-85.07,31.981],[-84.894,32.259],[-85.335,33.655],[-85.609,34.99],[-84.324,34.989],[-83.989,34.989],[-83.106,35],[-83.34,34.678],[-82.868,34.458],[-82.517,33.931],[-82.214,33.681],[-81.914,33.415],[-81.76,33.195],[-81.493,33.005],[-81.412,32.626],[-81.236,32.521],[-81.119,32.118],[-80.895,32.006],[-81.135,31.646],[-81.301,31.276],[-81.528,31.131],[-81.529,30.721],[-81.953,30.82],[-82.053,30.364],[-82.18,30.369],[-82.221,30.567],[-84.863,30.713],[-85.002,31.001],[-85.13,31.779],null,[-81.485,30.904],[-81.403,30.939],[-81.456,30.716],[-81.48,30.737],[-81.485,30.904]],HI:[[-159.338,21.951],[-159.442,21.871],[-159.804,22.04],[-159.579,22.216],[-159.394,22.233],[-159.298,22.128],[-159.338,21.951],null,[-160.077,22.008],[-160.093,21.919],[-160.205,21.799],[-160.245,21.807],[-160.229,21.895],[-160.077,22.008],null,[-157.676,21.301],[-157.829,21.253],[-157.949,21.309],[-158.102,21.293],[-158.27,21.59],[-158.118,21.582],[-157.989,21.703],[-157.813,21.438],[-157.764,21.462],[-157.676,21.301],null,[-156.721,21.141],[-156.769,21.068],[-157.074,21.108],[-157.291,21.084],[-157.307,21.141],[-157.234,21.237],[-156.962,21.213],[-156.946,21.165],[-156.721,21.141],null,[-156.199,20.635],[-156.4,20.571],[-156.697,20.916],[-156.6,21.044],[-156.48,20.9],[-156.359,20.948],[-156.014,20.803],[-156.046,20.659],[-156.199,20.635],null,[-157.042,20.932],[-156.913,20.932],[-156.809,20.844],[-156.817,20.795],[-156.97,20.731],[-157.058,20.884],[-157.042,20.932],null,[-155.669,18.925],[-155.781,19.013],[-155.862,19.013],[-155.878,19.374],[-156.046,19.784],[-155.829,20.009],[-155.894,20.177],[-155.862,20.274],[-155.203,20.001],[-155.075,19.728],[-154.794,19.543],[-155.019,19.334],[-155.524,19.125],[-155.669,18.925]],ID:[[-117.026,43.679],[-116.902,44.146],[-117.224,44.473],[-116.47,45.606],[-116.919,45.995],[-117.032,49],[-116.064,49],[-116.053,47.976],[-115.75,47.422],[-114.611,46.629],[-114.325,46.623],[-114.561,45.549],[-114.326,45.457],[-113.971,45.697],[-112.817,44.364],[-111.475,44.702],[-111.052,44.473],[-111.049,41.996],[-114.039,41.995],[-117.019,41.995],[-117.026,43.679]],IL:[[-88.072,37.511],[-88.511,37.297],[-88.491,37.068],[-88.993,37.22],[-89.13,36.988],[-89.311,37.01],[-89.49,37.256],[-89.522,37.695],[-89.901,37.876],[-90.365,38.234],[-90.37,38.324],[-90.113,38.831],[-90.669,38.935],[-90.738,39.248],[-91.037,39.444],[-91.367,39.725],[-91.516,40.135],[-91.449,40.372],[-91.386,40.392],[-91.411,40.573],[-91.12,40.705],[-90.983,40.924],[-90.958,41.104],[-91.102,41.232],[-91.056,41.401],[-90.455,41.528],[-90.196,41.806],[-90.167,42.104],[-90.407,42.243],[-90.638,42.509],[-87.797,42.489],[-87.837,42.314],[-87.53,41.724],[-87.54,39.351],[-87.659,39.131],[-87.53,38.932],[-87.508,38.737],[-87.926,38.305],[-88.036,37.806],[-88.072,37.511]],IN:[[-86.342,38.177],[-86.666,37.847],[-86.863,37.987],[-87.106,37.784],[-87.604,37.971],[-88.036,37.806],[-87.926,38.305],[-87.508,38.737],[-87.53,38.932],[-87.659,39.131],[-87.54,39.351],[-87.53,41.724],[-87.395,41.634],[-86.835,41.766],[-84.788,41.761],[-84.79,41.697],[-84.811,39.103],[-84.819,38.793],[-85.418,38.738],[-85.931,38.034],[-86.342,38.177]],IA:[[-91.12,40.705],[-91.411,40.573],[-91.386,40.392],[-91.449,40.372],[-91.528,40.41],[-91.533,40.455],[-91.579,40.464],[-91.623,40.533],[-91.692,40.552],[-91.742,40.61],[-92.193,40.6],[-92.362,40.6],[-92.718,40.59],[-93.37,40.581],[-93.786,40.578],[-94.238,40.571],[-94.64,40.576],[-95.217,40.582],[-95.767,40.589],[-95.877,40.73],[-96.147,41.966],[-96.439,42.489],[-96.633,42.777],[-96.461,43.088],[-96.598,43.5],[-96.46,43.5],[-91.73,43.5],[-91.224,43.501],[-90.999,42.707],[-90.638,42.509],[-90.407,42.243],[-90.167,42.104],[-90.196,41.806],[-90.455,41.528],[-91.056,41.401],[-91.102,41.232],[-90.958,41.104],[-90.983,40.924],[-91.12,40.705]],KS:[[-95.072,37.002],[-102.037,36.989],[-102.044,37.642],[-102.052,39.999],[-101.407,40.001],[-95.309,39.999],[-94.938,39.896],[-95.109,39.561],[-94.601,39.141],[-94.62,36.997],[-95.072,37.002]],KY:[[-86.511,36.655],[-88.071,36.68],[-88.043,36.497],[-89.415,36.503],[-89.105,36.954],[-89.13,36.988],[-88.993,37.22],[-88.491,37.068],[-88.511,37.297],[-88.072,37.511],[-88.036,37.806],[-87.604,37.971],[-87.106,37.784],[-86.863,37.987],[-86.666,37.847],[-86.342,38.177],[-85.931,38.034],[-85.418,38.738],[-84.819,38.793],[-84.811,39.103],[-84.445,39.112],[-84.229,38.813],[-83.678,38.621],[-83.273,38.609],[-82.921,38.746],[-82.802,38.557],[-82.587,38.413],[-82.646,38.146],[-81.96,37.531],[-83.675,36.599],[-86.511,36.655],null,[-89.533,36.498],[-89.476,36.499],[-89.533,36.498]],LA:[[-93.707,30.24],[-93.507,31.039],[-94.035,31.995],[-94.039,33.023],[-91.162,33.013],[-90.966,32.44],[-91.644,31.271],[-91.632,31.001],[-89.733,31.007],[-89.842,30.68],[-89.574,30.195],[-90.24,30.381],[-90.424,30.186],[-89.849,30.011],[-89.436,30.044],[-89.364,29.797],[-89.772,29.61],[-89.033,29.223],[-89.144,29.017],[-89.389,29.1],[-90.152,29.595],[-90.078,29.176],[-90.228,29.099],[-90.451,29.352],[-90.819,29.257],[-91.828,29.839],[-92.297,29.542],[-93.234,29.789],[-93.802,29.726],[-93.9,29.81],[-93.76,30.006],[-93.707,30.24],null,[-92.016,29.596],[-91.903,29.651],[-91.702,29.577],[-91.758,29.494],[-92.016,29.596],null,[-91.341,29.342],[-91.227,29.381],[-91.164,29.245],[-91.276,29.254],[-91.341,29.342],null,[-90.935,29.259],[-90.962,29.186],[-91.056,29.191],[-91.127,29.294],[-90.999,29.324],[-90.935,29.259]],ME:[[-69.777,44.074],[-70.666,43.091],[-70.819,43.122],[-70.979,43.396],[-71.088,45.301],[-70.396,45.722],[-69.985,46.691],[-69.23,47.453],[-68.895,47.182],[-68.335,47.357],[-67.791,47.061],[-67.803,45.794],[-67.346,45.122],[-67.166,45.156],[-66.969,44.829],[-67.811,44.554],[-68.074,44.381],[-68.246,44.491],[-68.552,44.399],[-68.559,44.26],[-68.985,44.271],[-69.665,43.852],[-69.777,44.074],null,[-68.388,44.377],[-68.239,44.438],[-68.165,44.334],[-68.321,44.225],[-68.403,44.271],[-68.388,44.377]],MD:[[-75.711,38.65],[-75.707,38.558],[-75.699,38.463],[-75.093,38.451],[-75.372,38.017],[-75.626,37.996],[-75.648,37.97],[-75.865,37.98],[-76.065,38.259],[-76.251,38.595],[-76.032,38.572],[-76.218,39.205],[-76.154,39.402],[-76.604,39.26],[-76.424,39.118],[-76.549,38.759],[-76.385,38.391],[-76.647,38.45],[-76.344,38.213],[-76.33,38.046],[-77.002,38.427],[-77.221,38.391],[-77.278,38.487],[-77.045,38.788],[-76.911,38.89],[-77.008,38.967],[-77.042,38.993],[-77.122,38.932],[-77.728,39.318],[-78.183,39.695],[-78.481,39.52],[-78.774,39.602],[-79.49,39.197],[-79.481,39.72],[-77.476,39.72],[-75.791,39.724],[-75.711,38.65],null,[-76.293,38.908],[-76.293,38.908],null,[-75.068,38.45],[-75.046,38.45],[-75.068,38.45],null,[-75.27,38.028],[-75.164,38.205],[-75.173,38.124],[-75.242,38.029],[-75.27,38.028]],MA:[[-71.319,41.772],[-71.379,42.014],[-71.798,42.004],[-71.802,42.018],[-73.484,42.047],[-73.258,42.746],[-72.456,42.726],[-72.28,42.721],[-71.287,42.699],[-70.814,42.867],[-70.593,42.646],[-71.034,42.286],[-70.775,42.249],[-70.424,41.744],[-70.205,41.713],[-70.255,42.06],[-70.135,42.072],[-69.918,41.768],[-69.954,41.672],[-70.665,41.556],[-70.62,41.736],[-71.117,41.493],[-71.141,41.655],[-71.199,41.678],[-71.229,41.708],[-71.319,41.772],null,[-70.604,41.43],[-70.486,41.342],[-70.77,41.298],[-70.844,41.349],[-70.604,41.43],null,[-70.032,41.312],[-69.968,41.252],[-70.103,41.238],[-70.207,41.294],[-70.032,41.312]],MI:[[-88.498,48.174],[-88.625,48.033],[-89.14,47.824],[-89.202,47.884],[-88.498,48.174],null,[-88.501,47.29],[-88.211,47.448],[-87.788,47.471],[-87.704,47.416],[-88.222,47.201],[-88.413,46.988],[-88.596,47.244],[-88.501,47.29],null,[-85.86,45.969],[-86.259,45.947],[-86.63,45.621],[-86.697,45.693],[-86.585,45.814],[-86.761,45.826],[-87.124,45.696],[-87.673,45.141],[-87.778,45.684],[-90.112,46.34],[-90.408,46.569],[-89.791,46.825],[-89.387,46.85],[-88.629,47.226],[-88.447,46.799],[-87.901,46.91],[-87.371,46.508],[-86.76,46.487],[-86.097,46.655],[-84.955,46.771],[-85.017,46.476],[-84.312,46.489],[-83.99,46.026],[-84.689,46.036],[-84.732,45.856],[-85.378,46.1],[-85.86,45.969],null,[-83.855,46.014],[-83.65,46.104],[-83.473,45.987],[-83.58,45.917],[-83.855,46.014],null,[-86.835,41.766],[-86.374,42.249],[-86.218,42.775],[-86.541,43.663],[-86.272,44.351],[-86.259,44.701],[-85.61,45.197],[-85.638,44.778],[-85.526,44.763],[-85.373,45.273],[-84.922,45.41],[-85.12,45.57],[-84.724,45.78],[-84.206,45.631],[-83.394,45.273],[-83.313,45.099],[-83.444,45.053],[-83.281,44.703],[-83.357,44.335],[-83.918,43.917],[-83.938,43.698],[-83.699,43.6],[-83.326,43.941],[-82.94,44.07],[-82.618,43.788],[-82.42,42.972],[-82.518,42.634],[-82.802,42.613],[-83.483,41.725],[-84.79,41.697],[-84.788,41.761],[-86.835,41.766]],MN:[[-91.73,43.5],[-96.46,43.5],[-96.458,45.299],[-96.833,45.651],[-96.567,45.934],[-96.889,47.674],[-97.131,48.204],[-97.097,48.675],[-97.229,49],[-95.158,49],[-95.152,49.372],[-94.832,49.331],[-94.57,48.714],[-93.844,48.625],[-93.781,48.512],[-93.514,48.534],[-93.458,48.593],[-92.947,48.628],[-92.707,48.46],[-92.498,48.44],[-92.37,48.221],[-92.277,48.244],[-92.276,48.352],[-92.035,48.355],[-91.572,48.044],[-91.239,48.081],[-90.865,48.254],[-90.743,48.088],[-90.145,48.113],[-89.9,47.992],[-90,47.825],[-90.51,47.71],[-92.303,46.667],[-92.287,46.659],[-92.289,46.073],[-92.877,45.579],[-92.806,44.746],[-91.251,43.788],[-91.224,43.501],[-91.73,43.5]],MS:[[-88.451,31.436],[-88.401,30.394],[-88.399,30.353],[-88.683,30.342],[-88.886,30.398],[-89.276,30.315],[-89.273,30.372],[-89.358,30.365],[-89.438,30.201],[-89.574,30.195],[-89.842,30.68],[-89.733,31.007],[-91.632,31.001],[-91.644,31.271],[-90.966,32.44],[-91.162,33.013],[-91.089,33.995],[-90.305,35.001],[-88.194,35.005],[-88.091,34.896],[-88.426,32.309],[-88.451,31.436]],MO:[[-89.105,36.954],[-89.415,36.503],[-89.476,36.499],[-89.533,36.498],[-89.519,36.356],[-89.606,36.355],[-89.59,36.13],[-89.722,36],[-90.379,35.99],[-90.15,36.492],[-94.617,36.489],[-94.62,36.997],[-94.601,39.141],[-95.109,39.561],[-94.938,39.896],[-95.309,39.999],[-95.767,40.589],[-95.217,40.582],[-94.64,40.576],[-94.238,40.571],[-93.786,40.578],[-93.37,40.581],[-92.718,40.59],[-92.362,40.6],[-92.193,40.6],[-91.742,40.61],[-91.692,40.552],[-91.623,40.533],[-91.579,40.464],[-91.533,40.455],[-91.528,40.41],[-91.449,40.372],[-91.516,40.135],[-91.367,39.725],[-91.037,39.444],[-90.738,39.248],[-90.669,38.935],[-90.113,38.831],[-90.37,38.324],[-90.365,38.234],[-89.901,37.876],[-89.522,37.695],[-89.49,37.256],[-89.311,37.01],[-89.13,36.988],[-89.105,36.954]],MT:[[-111.475,44.702],[-112.817,44.364],[-113.971,45.697],[-114.326,45.457],[-114.561,45.549],[-114.325,46.623],[-114.611,46.629],[-115.75,47.422],[-116.053,47.976],[-116.064,49],[-104.063,49],[-104.049,45.943],[-104.06,44.997],[-111.053,44.996],[-111.052,44.473],[-111.475,44.702]],NE:[[-101.407,40.001],[-102.052,39.999],[-102.048,40.998],[-104.052,41.003],[-104.054,41.698],[-104.056,43.003],[-102.788,42.995],[-98.498,42.992],[-97.311,42.862],[-96.439,42.489],[-96.147,41.966],[-95.877,40.73],[-95.767,40.589],[-95.309,39.999],[-101.407,40.001]],NV:[[-119.153,38.412],[-119.995,38.994],[-119.993,41.989],[-117.019,41.995],[-114.039,41.995],[-114.047,38.138],[-114.044,36.996],[-114.037,36.216],[-114.234,36.018],[-114.381,36.151],[-114.728,36.086],[-114.621,34.999],[-119.153,38.412]],NH:[[-72.28,42.721],[-72.456,42.726],[-72.553,42.861],[-72.395,43.518],[-72.035,44.083],[-72.06,44.261],[-71.537,44.579],[-71.631,44.742],[-71.505,45.013],[-71.297,45.294],[-71.088,45.301],[-70.979,43.396],[-70.819,43.122],[-70.734,43.059],[-70.814,42.867],[-71.287,42.699],[-72.28,42.721]],NJ:[[-75.489,39.715],[-75.421,39.799],[-75.143,39.882],[-74.739,40.178],[-75.182,40.557],[-75.055,40.856],[-75.139,40.977],[-74.7,41.351],[-73.977,40.797],[-74.147,40.675],[-74.279,40.514],[-74.225,40.444],[-74.122,40.452],[-73.978,40.324],[-74.077,40.042],[-74.159,39.879],[-74.238,39.624],[-74.412,39.543],[-74.448,39.381],[-74.623,39.282],[-74.876,38.957],[-74.968,38.972],[-74.89,39.114],[-74.917,39.171],[-75.12,39.185],[-75.553,39.49],[-75.517,39.567],[-75.57,39.618],[-75.489,39.715]],NM:[[-109.049,32.442],[-109.049,36.997],[-102.998,36.998],[-102.997,36.492],[-103.058,32.002],[-106.624,32.001],[-106.54,31.786],[-107.284,31.785],[-108.203,31.787],[-108.211,31.344],[-109.046,31.343],[-109.049,32.442]],NY:[[-79.763,42.267],[-78.859,42.793],[-79.062,43.268],[-77.992,43.366],[-76.915,43.279],[-76.223,43.554],[-76.363,44.098],[-74.736,44.993],[-73.345,45.006],[-73.436,44.046],[-73.258,42.746],[-73.484,42.047],[-73.53,41.523],[-73.653,40.998],[-73.977,40.797],[-74.7,41.351],[-75.383,41.998],[-79.762,42.003],[-79.763,42.267],null,[-73.752,40.595],[-74.004,40.581],[-74.028,40.639],[-73.598,40.903],[-71.924,41.085],[-71.919,41.031],[-72.521,40.815],[-73.752,40.595]],NC:[[-83.989,34.989],[-84.324,34.989],[-84.226,35.262],[-84.043,35.273],[-83.955,35.456],[-82.987,35.774],[-82.914,35.928],[-82.763,36],[-82.475,35.993],[-82.208,36.147],[-82.02,36.13],[-81.67,36.59],[-79.144,36.546],[-76.046,36.557],[-75.924,36.351],[-75.981,36.17],[-76.183,36.315],[-76.219,36.297],[-76.112,36.175],[-76.741,35.937],[-75.818,35.924],[-75.729,35.665],[-75.891,35.631],[-76.181,35.342],[-76.533,35.45],[-76.458,35.505],[-76.638,35.52],[-76.705,35.412],[-77.103,35.55],[-76.983,35.437],[-76.695,35.351],[-76.605,35.139],[-76.913,34.937],[-76.647,34.907],[-76.67,34.97],[-76.445,35.017],[-76.364,34.943],[-76.625,34.72],[-77.05,34.699],[-77.538,34.457],[-77.864,34.193],[-77.96,34.189],[-78.034,33.914],[-78.579,33.882],[-79.074,34.305],[-79.667,34.801],[-80.8,34.816],[-80.785,34.941],[-81.049,35.152],[-82.389,35.208],[-83.106,35],[-83.989,34.989],null,[-76.027,36.557],[-76.027,36.557],null,[-75.902,36.556],[-75.902,36.556],null,[-75.491,35.671],[-75.491,35.671],null,[-76.017,35.07],[-75.975,35.116],[-75.853,35.167],[-75.763,35.193],[-76.017,35.07],null,[-76.544,34.588],[-76.432,34.761],[-76.287,34.877],[-76.544,34.588]],ND:[[-98.73,45.938],[-104.049,45.943],[-104.063,49],[-97.229,49],[-97.097,48.675],[-97.131,48.204],[-96.889,47.674],[-96.567,45.934],[-98.73,45.938]],OH:[[-83.273,38.609],[-83.678,38.621],[-84.229,38.813],[-84.445,39.112],[-84.811,39.103],[-84.79,41.697],[-83.483,41.725],[-82.796,41.538],[-82.909,41.429],[-82.549,41.391],[-81.739,41.491],[-81.362,41.724],[-80.521,41.987],[-80.522,40.637],[-80.668,40.582],[-80.605,40.306],[-80.881,39.624],[-81.339,39.354],[-81.668,39.27],[-81.841,38.938],[-82.043,39.014],[-82.217,38.779],[-82.174,38.632],[-82.329,38.442],[-82.587,38.413],[-82.802,38.557],[-82.921,38.746],[-83.273,38.609]],OK:[[-94.439,34.929],[-94.462,34.197],[-94.477,33.632],[-95.128,33.941],[-96.317,33.702],[-96.585,33.896],[-97.671,33.989],[-97.87,33.855],[-98.173,34.115],[-99.177,34.213],[-99.996,34.562],[-100.002,36.493],[-100.007,36.494],[-102.997,36.492],[-102.998,36.998],[-102.037,36.989],[-95.072,37.002],[-94.62,36.997],[-94.617,36.489],[-94.439,34.929]],OR:[[-121.442,41.994],[-124.206,41.998],[-124.415,42.246],[-124.401,42.623],[-124.56,42.833],[-124.274,43.459],[-124.118,44.27],[-124.076,44.815],[-123.892,45.474],[-123.996,45.942],[-123.517,46.236],[-123.364,46.144],[-123.305,46.145],[-123.176,46.184],[-122.9,46.079],[-122.76,45.649],[-122.245,45.548],[-121.529,45.72],[-120.908,45.636],[-120.624,45.744],[-120.443,45.689],[-118.982,45.999],[-116.919,45.995],[-116.47,45.606],[-117.224,44.473],[-116.902,44.146],[-117.026,43.679],[-117.019,41.995],[-119.993,41.989],[-121.442,41.994]],PA:[[-77.476,39.72],[-79.481,39.72],[-80.524,39.721],[-80.522,40.637],[-80.521,41.987],[-79.763,42.267],[-79.762,42.003],[-75.383,41.998],[-74.7,41.351],[-75.139,40.977],[-75.055,40.856],[-75.182,40.557],[-74.739,40.178],[-75.143,39.882],[-75.421,39.799],[-75.644,39.838],[-75.791,39.724],[-77.476,39.72]],RI:[[-71.79,41.601],[-71.798,42.004],[-71.379,42.014],[-71.319,41.772],[-71.229,41.708],[-71.284,41.679],[-71.394,41.761],[-71.427,41.487],[-71.49,41.392],[-71.848,41.325],[-71.79,41.601],null,[-71.199,41.678],[-71.141,41.655],[-71.117,41.493],[-71.2,41.463],[-71.199,41.678],null,[-71.269,41.621],[-71.219,41.636],[-71.239,41.475],[-71.35,41.446],[-71.269,41.621]],SC:[[-81.76,33.195],[-81.914,33.415],[-82.214,33.681],[-82.517,33.931],[-82.868,34.458],[-83.34,34.678],[-83.106,35],[-82.389,35.208],[-81.049,35.152],[-80.785,34.941],[-80.8,34.816],[-79.667,34.801],[-79.074,34.305],[-78.579,33.882],[-78.855,33.716],[-79.121,33.431],[-79.202,33.184],[-79.588,32.925],[-79.896,32.677],[-80.291,32.504],[-80.55,32.558],[-80.646,32.519],[-80.486,32.431],[-80.46,32.319],[-80.626,32.273],[-80.742,32.36],[-80.785,32.505],[-80.867,32.533],[-80.781,32.248],[-80.893,32.068],[-81.119,32.118],[-81.236,32.521],[-81.412,32.626],[-81.493,33.005],[-81.76,33.195],null,[-80.768,32.259],[-80.719,32.272],[-80.667,32.22],[-80.819,32.105],[-80.768,32.259]],SD:[[-102.788,42.995],[-104.056,43.003],[-104.06,44.997],[-104.049,45.943],[-98.73,45.938],[-96.567,45.934],[-96.833,45.651],[-96.458,45.299],[-96.46,43.5],[-96.598,43.5],[-96.461,43.088],[-96.633,42.777],[-96.439,42.489],[-97.311,42.862],[-98.498,42.992],[-102.788,42.995]],TN:[[-83.955,35.456],[-84.043,35.273],[-84.226,35.262],[-84.324,34.989],[-85.609,34.99],[-88.194,35.005],[-90.305,35.001],[-89.645,35.914],[-89.722,36],[-89.59,36.13],[-89.606,36.355],[-89.519,36.356],[-89.533,36.498],[-89.476,36.499],[-89.415,36.503],[-88.043,36.497],[-88.071,36.68],[-86.511,36.655],[-83.675,36.599],[-81.67,36.59],[-82.02,36.13],[-82.208,36.147],[-82.475,35.993],[-82.763,36],[-82.914,35.928],[-82.987,35.774],[-83.955,35.456]],TX:[[-105.999,31.394],[-106.54,31.786],[-106.624,32.001],[-103.058,32.002],[-102.997,36.492],[-100.007,36.494],[-100.002,36.493],[-99.996,34.562],[-99.177,34.213],[-98.173,34.115],[-97.87,33.855],[-97.671,33.989],[-96.585,33.896],[-96.317,33.702],[-95.128,33.941],[-94.477,33.632],[-94.036,33.556],[-94.039,33.023],[-94.035,31.995],[-93.507,31.039],[-93.707,30.24],[-93.76,30.006],[-93.952,29.819],[-93.835,29.675],[-94.788,29.539],[-94.701,29.755],[-95.088,29.804],[-94.891,29.4],[-95.249,28.979],[-96.238,28.572],[-96.45,28.755],[-96.66,28.679],[-96.391,28.434],[-96.662,28.306],[-96.854,28.405],[-97.261,28.065],[-97.115,27.916],[-97.32,27.691],[-97.504,27.082],[-97.475,26.477],[-97.354,26.183],[-97.386,25.846],[-98.077,26.035],[-99.107,26.42],[-99.549,27.613],[-100.352,28.394],[-100.797,29.243],[-101.544,29.81],[-102.577,29.778],[-103.154,28.979],[-104.536,29.68],[-104.891,30.571],[-105.999,31.394],null,[-96.398,28.346],[-96.739,28.184],[-96.532,28.319],[-96.398,28.346],null,[-97.359,27.284],[-97.336,27.441],[-97.259,27.652],[-97.076,27.812],[-97.224,27.574],[-97.359,27.284],null,[-97.301,26.601],[-97.296,26.601],[-97.301,26.601]],UT:[[-114.047,38.138],[-114.039,41.995],[-111.049,41.996],[-111.051,40.997],[-109.048,40.998],[-109.049,36.997],[-114.044,36.996],[-114.047,38.138]],VT:[[-73.258,42.746],[-73.436,44.046],[-73.345,45.006],[-71.505,45.013],[-71.631,44.742],[-71.537,44.579],[-72.06,44.261],[-72.035,44.083],[-72.395,43.518],[-72.553,42.861],[-72.456,42.726],[-73.258,42.746]],VA:[[-79.144,36.546],[-81.67,36.59],[-83.675,36.599],[-81.96,37.531],[-81.666,37.205],[-81.359,37.339],[-81.223,37.24],[-80.509,37.475],[-79.935,38.121],[-79.642,38.592],[-79.232,38.48],[-78.793,38.88],[-78.347,39.457],[-77.82,39.142],[-77.728,39.318],[-77.122,38.932],[-77.045,38.788],[-77.322,38.344],[-77.054,38.376],[-76.936,38.203],[-76.259,37.89],[-76.314,37.551],[-76.455,37.378],[-76.704,37.419],[-76.279,37.075],[-76.384,36.991],[-76.697,37.233],[-76.941,37.237],[-76.401,36.826],[-75.995,36.923],[-75.902,36.556],[-76.027,36.557],[-76.046,36.557],[-79.144,36.546],null,[-75.27,38.028],[-75.242,38.029],[-75.339,37.889],[-75.378,37.901],[-75.27,38.028],null,[-75.867,37.552],[-75.941,37.562],[-75.648,37.97],[-75.626,37.996],[-75.372,38.017],[-75.618,37.697],[-75.705,37.494],[-75.931,37.143],[-76.018,37.309],[-75.867,37.552]],WA:[[-122.402,48.225],[-122.43,48.599],[-122.697,48.803],[-122.765,49],[-117.032,49],[-116.919,45.995],[-118.982,45.999],[-120.443,45.689],[-120.624,45.744],[-120.908,45.636],[-121.529,45.72],[-122.245,45.548],[-122.76,45.649],[-122.9,46.079],[-123.176,46.184],[-123.305,46.145],[-123.471,46.275],[-124.079,46.267],[-124.013,46.384],[-123.841,46.404],[-123.841,46.718],[-124.047,46.887],[-123.813,46.964],[-124.193,47.167],[-124.484,47.808],[-124.717,48.378],[-122.803,48.085],[-123.154,47.349],[-122.833,47.438],[-122.917,47.615],[-122.611,47.85],[-122.474,47.755],[-122.621,47.697],[-122.504,47.507],[-122.637,47.399],[-123.115,47.208],[-122.923,47.048],[-122.325,47.344],[-122.415,47.664],[-122.217,48.007],[-122.402,48.225],null,[-122.968,48.444],[-123.095,48.479],[-123.17,48.563],[-123.141,48.624],[-122.968,48.527],[-122.968,48.444],null,[-122.733,48.277],[-122.604,48.405],[-122.526,48.321],[-122.611,48.206],[-122.38,48.032],[-122.355,47.964],[-122.443,47.918],[-122.472,47.987],[-122.545,47.968],[-122.769,48.219],[-122.733,48.277]],WV:[[-79.232,38.48],[-79.642,38.592],[-79.935,38.121],[-80.509,37.475],[-81.223,37.24],[-81.359,37.339],[-81.666,37.205],[-81.96,37.531],[-82.646,38.146],[-82.587,38.413],[-82.329,38.442],[-82.174,38.632],[-82.217,38.779],[-82.043,39.014],[-81.841,38.938],[-81.668,39.27],[-81.339,39.354],[-80.881,39.624],[-80.605,40.306],[-80.668,40.582],[-80.522,40.637],[-80.524,39.721],[-79.481,39.72],[-79.49,39.197],[-78.774,39.602],[-78.481,39.52],[-78.183,39.695],[-77.728,39.318],[-77.82,39.142],[-78.347,39.457],[-78.793,38.88],[-79.232,38.48]],WI:[[-87.749,44.962],[-88.04,44.571],[-87.926,44.539],[-87.434,44.891],[-87.368,44.812],[-87.517,44.176],[-87.875,43.359],[-87.797,42.489],[-90.638,42.509],[-90.999,42.707],[-91.224,43.501],[-91.251,43.788],[-92.806,44.746],[-92.877,45.579],[-92.289,46.073],[-92.287,46.659],[-90.775,46.92],[-90.926,46.586],[-90.408,46.569],[-90.112,46.34],[-87.778,45.684],[-87.673,45.141],[-87.749,44.962],null,[-87.034,45.29],[-86.968,45.24],[-87.311,44.799],[-87.405,44.911],[-87.231,45.175],[-87.034,45.29]],WY:[[-104.054,41.698],[-104.052,41.003],[-109.048,40.998],[-111.051,40.997],[-111.049,41.996],[-111.052,44.473],[-111.053,44.996],[-104.06,44.997],[-104.056,43.003],[-104.054,41.698]]};zingchart.maps.data.usa={_GROUPS_:{},_DEFAULTS_:zingchart.maps._DEFAULTS_,DE:{coords:A.DE,tooltip:{text:"Delaware"},label:{text:"DE"},connector:{points:[[-75.51,38.72],[-73.51,38.72]],anchor:"l"}},AK:{coords:A.AK,transform:{offsetLon:54,offsetLat:-43,scale:.3},tooltip:{text:"Alaska"},label:{text:"AK",x:"-117.16lon",y:"26.98lat"}},CO:{coords:A.CO,tooltip:{text:"Colorado"},label:{text:"CO"}},AZ:{coords:A.AZ,tooltip:{text:"Arizona"},label:{text:"AZ"}},CA:{coords:A.CA,tooltip:{text:"California"},label:{text:"CA",x:"-119.09lon",y:"36.14lat"}},AR:{coords:A.AR,tooltip:{text:"Arkansas"},label:{text:"AR"}},CT:{coords:A.CT,tooltip:{text:"Connecticut"},label:{text:"CT"},connector:{points:[[-72.93,41.8],[-70.93,40.8],[-68.93,40.8]],anchor:"l"}},MO:{coords:A.MO,tooltip:{text:"Missouri"},label:{text:"MO"}},MI:{coords:A.MI,tooltip:{text:"Michigan"},label:{text:"MI",x:"-84.56lon",y:"43.02lat"}},LA:{coords:A.LA,tooltip:{text:"Louisiana"},label:{text:"LA",x:"-92.72lon",y:"32.40lat"}},FL:{coords:A.FL,tooltip:{text:"Florida"},label:{text:"FL",x:"-81.42lon",y:"27.47lat"}},MT:{coords:A.MT,tooltip:{text:"Montana"},label:{text:"MT"}},GA:{coords:A.GA,tooltip:{text:"Georgia"},label:{text:"GA"}},MD:{coords:A.MD,tooltip:{text:"Maryland"},label:{text:"MD"},connector:{points:[[-77.25,39.35],[-71.25,39.35]],anchor:"l"}},HI:{coords:A.HI,transform:{offsetLon:51,offsetLat:6,scale:1},tooltip:{text:"Hawaii"},label:{text:"HI"},connector:{points:[[-104.42,25.49],[-106.42,25.49]],anchor:"r"}},MS:{coords:A.MS,tooltip:{text:"Mississippi"},label:{text:"MS"}},ID:{coords:A.ID,tooltip:{text:"Idaho"},label:{text:"ID",x:"-114.29lon",y:"43.32lat"}},NV:{coords:A.NV,tooltip:{text:"Nevada"},label:{text:"NV"}},IL:{coords:A.IL,tooltip:{text:"Illinois"},label:{text:"IL"}},ME:{coords:A.ME,tooltip:{text:"Maine"},label:{text:"ME"}},IN:{coords:A.IN,tooltip:{text:"Indiana"},label:{text:"IN"}},MA:{coords:A.MA,tooltip:{text:"Massachusetts"},label:{text:"MA"},connector:{points:[[-72.31,42.43],[-70.31,42.43]],anchor:"l"}},IA:{coords:A.IA,tooltip:{text:"Iowa"},label:{text:"IA"}},MN:{coords:A.MN,tooltip:{text:"Minnesota"},label:{text:"MN"}},KS:{coords:A.KS,tooltip:{text:"Kansas"},label:{text:"KS"}},AL:{coords:A.AL,tooltip:{text:"Alabama"},label:{text:"AL"}},KY:{coords:A.KY,tooltip:{text:"Kentucky"},label:{text:"KY"}},NE:{coords:A.NE,tooltip:{text:"Nebraska"},label:{text:"NE"}},NH:{coords:A.NH,tooltip:{text:"New Hampshire"},label:{text:"NH"},connector:{points:[[-71.9,43.5],[-68.9,43.5]],anchor:"l"}},OK:{coords:A.OK,tooltip:{text:"Oklahoma"},label:{text:"OK"}},NJ:{coords:A.NJ,tooltip:{text:"New Jersey"},label:{text:"NJ"},connector:{points:[[-74.41,40.14],[-72.41,40.14]],anchor:"l"}},ND:{coords:A.ND,tooltip:{text:"North Dakota"},label:{text:"ND"}},NM:{coords:A.NM,tooltip:{text:"New Mexico"},label:{text:"NM"}},PA:{coords:A.PA,tooltip:{text:"Pennsylvania"},label:{text:"PA"}},NY:{coords:A.NY,tooltip:{text:"New York"},label:{text:"NY"}},OH:{coords:A.OH,tooltip:{text:"Ohio"},label:{text:"OH"}},NC:{coords:A.NC,tooltip:{text:"North Carolina"},label:{text:"NC"}},OR:{coords:A.OR,tooltip:{text:"Oregon"},label:{text:"OR"}},RI:{coords:A.RI,tooltip:{text:"Rhode Island"},label:{text:"RI"},connector:{points:[[-71.65,41.74],[-68.65,41.74]],anchor:"l"}},SD:{coords:A.SD,tooltip:{text:"South Dakota"},label:{text:"SD"}},TX:{coords:A.TX,tooltip:{text:"Texas"},label:{text:"TX"}},SC:{coords:A.SC,tooltip:{text:"South Carolina"},label:{text:"SC"}},TN:{coords:A.TN,tooltip:{text:"Tennessee"},label:{text:"TN"}},UT:{coords:A.UT,tooltip:{text:"Utah"},label:{text:"UT"}},VA:{coords:A.VA,tooltip:{text:"Virginia"},label:{text:"VA"}},VT:{coords:A.VT,tooltip:{text:"Vermont"},label:{text:"VT"},connector:{points:[[-72.53,44.52],[-72.53,45.52]],anchor:"b"}},WA:{coords:A.WA,tooltip:{text:"Washington"},label:{text:"WA"}},WV:{coords:A.WV,tooltip:{text:"West Virginia"},label:{text:"WV"}},WI:{coords:A.WI,tooltip:{text:"Wisconsin"},label:{text:"WI"}},WY:{coords:A.WY,tooltip:{text:"Wyoming"},label:{text:"WY"}},DC:{coords:A.DC,tooltip:{text:"District of Columbia"},label:{text:"DC"},connector:{points:[[-77.05,38.91],[-74.05,37.91],[-73.05,37.91]],anchor:"l"}}},zingchart.maps.upgrade("usa")}(),zingchart.maps.usa=function(A,t,e){return zingchart.maps.convert({loader:this,loaderdata:t||{},graphid:typeof A.graphid>"u"?0:A.graphid,data:e,id:A.id||"usa",x:typeof A.x>"u"?0:A.x,y:typeof A.y>"u"?0:A.y,width:typeof A.width>"u"?1:A.width,height:typeof A.height>"u"?1:A.height,groups:A.groups||[],items:A.items||[],ignore:A.ignore||[],bbox:A.bbox||null,map:zingchart.maps.data.usa})}},782:()=>{ZC.X3.push("maps"),zingchart.maps||(zingchart.maps={},zingchart.maps.maps={},zingchart.maps.data={}),zingchart.maps.FORCESCALE=0,zingchart.maps.CONNECTORS=1,zingchart.maps.LITE=0,zingchart.maps._DEFAULTS_={_COMMON_:{label:{"font-size":9,padding:"1 2",overlap:!1},tooltip:{"border-radius":6,"background-color":"#fff",color:"#303030","border-width":1,"border-color":"#909090",padding:10}},_POLY_:{alpha:.9,shadow:!0,"shadow-distance":3,"shadow-color":"#ccc","border-width":1,"border-color":"#a3a3a3","background-color":"#e3e3e3","hover-state":{shadow:!0,"background-color":"#d3d3d3","offset-x":-1,"offset-y":-1,"shadow-distance":3},connector:{"line-color":"#666","line-width":1}},_LINE_:{alpha:1,shadow:!1,"line-width":2,"line-color":"#4ea8fc","hover-state":{"line-color":"#4ec8cc","offset-x":0,"offset-y":0,shadow:!1}},_POINT_:{alpha:1,size:3,shadow:!1,"background-color":"#333","hover-state":{"offset-x":0,"offset-y":0,shadow:!1,"border-width":1,"border-color":"#aaa","background-color":"#666"},label:{"font-size":10,"offset-y":8}}},zingchart.maps.LIGHT={"background-color":"#fff",_COMMON_:{label:{"font-size":9,padding:"1 2",overlap:!1},tooltip:{"border-radius":6,"background-color":"#fff",color:"#303030","border-width":1,"border-color":"#909090",padding:10}},_POLY_:{alpha:1,"border-width":1,"border-color":"#fff","background-color":"#DDDDDD","hover-state":{"background-color":"#C4C4C4"},connector:{"line-color":"#666","line-width":1}},_LINE_:{alpha:1,shadow:!1,"line-width":2,"line-color":"#4ea8fc","hover-state":{"line-color":"#4ec8cc","offset-x":0,"offset-y":0,shadow:!1}},_POINT_:{alpha:1,size:3,shadow:!1,"background-color":"#333","hover-state":{"offset-x":0,"offset-y":0,shadow:!1,"border-width":1,"border-color":"#aaa","background-color":"#666"},label:{"font-size":10,"offset-y":8}}},zingchart.maps.DARK={"background-color":"#221F1F",_COMMON_:{label:{"font-size":9,padding:"1 2"},tooltip:{"border-radius":6,"background-color":"#fff",color:"#303030","border-width":1,"border-color":"#909090",padding:10}},_POLY_:{alpha:1,"border-width":1,"border-color":"#221F1F","background-color":"#DDDDDD","hover-state":{"background-color":"#C4C4C4"},connector:{"line-color":"#DDDDDD","line-width":1}},_LINE_:{alpha:1,shadow:!1,"line-width":2,"line-color":"#4ea8fc","hover-state":{"line-color":"#4ec8cc","offset-x":0,"offset-y":0,shadow:!1}},_POINT_:{alpha:1,size:3,shadow:!1,"background-color":"#333","hover-state":{"offset-x":0,"offset-y":0,shadow:!1,"border-width":1,"border-color":"#aaa","background-color":"#666"},label:{"font-size":10,"offset-y":8}}},zingchart.maps.upgrade=function(A){var t,e=zingchart.maps.data,a=A.split(".");for(var c in 1===a.length?e=e[A]:2===a.length&&(e=e[a[0]][a[1]]),e)if("_GROUPS_"!==c&&"_DEFAULTS_"!==c&&"_RULES_"!==c&&null===ZC._n_(e[c].cpoint))if(null!==ZC._n_(e[c].label.x)&&null!==ZC._n_(e[c].label.y))e[c].cpoint={x:e[c].label.x,y:e[c].label.y};else{if("point"===e[c].type)t=e[c].coords[0];else if("line"===e[c].type){var h=ZC._i_(e[c].coords.length/2);t=e[c].coords[h]||e[c].coords[h+1]||e[c].coords[h-1]}else t=zingchart.maps.centroid(e[c].coords);e[c].cpoint={x:t[0].toFixed(4)+"lon",y:t[1].toFixed(4)+"lat"},e[c].label.x=t[0].toFixed(4)+"lon",e[c].label.y=t[1].toFixed(4)+"lat"}},zingchart.maps.centroid=function(A){var t,e,a,c,h=0,_=0,f=0;for(a=0,c=A.length;afZoomRatio)EC=zingchart.maps.getXY(oMap._INFO_.id,aLonLat),oMap._INFO_.offsetX-=EC[0]-iMouseX,oMap._INFO_.offsetY-=EC[1]-iMouseY;else{EC=zingchart.maps.getXY(oMap._INFO_.id,aCP);var P7=EC[0]-iCX,A0G=EC[1]-iCY/2;oMap._INFO_.offsetX=P7*((oMap._INFO_.zoom-1)/5),oMap._INFO_.offsetY=A0G*((oMap._INFO_.zoom-1)/5)}zingchart.maps.setView(oMap._INFO_.loaderid,oMap._INFO_.id,oMap._INFO_.zoom,oMap._INFO_.offsetX,oMap._INFO_.offsetY),ZC.AR.C1("maps.zoom",zingchart.getLoader(oMap._INFO_.loaderid),oMap._INFO_)}},zingchart.maps.destroyMap=function(A){delete zingchart.maps.maps[A]},zingchart.maps.setView=function(K,A52,fZoom,fOffsetX,fOffsetY){for(var H=zingchart.getLoader(K),LU=0,iShapeIndex=0,g=0;g5&&(zingchart.maps.setView(A.id,c._INFO_.id,c._INFO_.zoom,zingchart.maps.OFFX,zingchart.maps.OFFY),ZC.AR.C1("maps.zoom",zingchart.getLoader(c._INFO_.loaderid),c._INFO_)))}}}),zingchart.bind(null,ZC._[49],function(A){if(zingchart.maps.MD){var t=zingchart.getLoader(A.id),e=ZC.Q.MR(A.ev),a=t.A2A(e[0],e[1]);a&&zingchart.maps.getMapByGraphIndex(A.id,a.L)&&(zingchart.maps.MD=!1,zingchart.maps.REFOFFX=zingchart.maps.OFFX,zingchart.maps.REFOFFY=zingchart.maps.OFFY)}}),zingchart.bind(null,"mousewheel",function(A){var t=zingchart.getLoader(A.id),e=ZC.Q.MR(A.ev),a=t.A2A(e[0],e[1]);if(a){var c=zingchart.maps.getMapByGraphIndex(A.id,a.L),h=a.iX+a.I/2,_=a.iY+a.F/2;if(c){if(!c._INFO_.scrolling||A.ev.altKey)return;A.ev.preventDefault();var f,m,v=ZC.A5("#"+t.K+"-top"),E=e[0]-v.offset().left-a.iX,w=e[1]-v.offset().top-a.iY;if(A.ev.wheelDelta>0)f=zingchart.maps.getLonLat(c._INFO_.id,[E,w]),c._INFO_.zoom*=1.25,m=zingchart.maps.getXY(c._INFO_.id,f),c._INFO_.offsetX-=m[0]-E,c._INFO_.offsetY-=m[1]-w;else{var D=[(c._INFO_.bbox[0]+c._INFO_.bbox[2])/2,(c._INFO_.bbox[1]+c._INFO_.bbox[3])/2];if(f=zingchart.maps.getLonLat(c._INFO_.id,[E,w]),c._INFO_.zoom=Math.max(1,c._INFO_.zoom/1.25),c._INFO_.zoom>1.25)m=zingchart.maps.getXY(c._INFO_.id,f),c._INFO_.offsetX-=m[0]-E,c._INFO_.offsetY-=m[1]-w;else{var M=(m=zingchart.maps.getXY(c._INFO_.id,D))[0]-h,T=m[1]-_/2;c._INFO_.offsetX=M*((c._INFO_.zoom-1)/5),c._INFO_.offsetY=T*((c._INFO_.zoom-1)/5)}}zingchart.maps.setView(A.id,c._INFO_.id,c._INFO_.zoom,c._INFO_.offsetX,c._INFO_.offsetY),ZC.AR.C1("maps.zoom",zingchart.getLoader(c._INFO_.loaderid),c._INFO_)}}}),zingchart.maps.viewAll=function(A52){var oMap=zingchart.maps.maps[A52];(oMap||(oMap=eval("zingchart.maps.data."+A52),oMap))&&zingchart.maps.zoomTo(A52,{zoom:1,offsetX:0,offsetY:0})},zingchart.maps.zoomToItem=function(A52,AB4){var oMap,BR;if(oMap=zingchart.maps.maps[A52]){if(!(BR=oMap[AB4]))return}else if(oMap=eval("zingchart.maps.data."+A52),!oMap||!(BR=oMap[AB4]))return;if(oMap._INFO_){var fMapW=oMap._INFO_.bbox[2]-oMap._INFO_.bbox[0],fMapH=oMap._INFO_.bbox[1]-oMap._INFO_.bbox[3],fMapCX=(oMap._INFO_.bbox[2]+oMap._INFO_.bbox[0])/2,fMapCY=(oMap._INFO_.bbox[1]+oMap._INFO_.bbox[3])/2,fItemW=BR.bbox[2]-BR.bbox[0],fItemH=BR.bbox[1]-BR.bbox[3],fItemCX=(BR.bbox[2]+BR.bbox[0])/2,fItemCY=(BR.bbox[1]+BR.bbox[3])/2,fRatio=Math.min(fMapW/fItemW,fMapH/fItemH),fZoom=fRatio,fFactorW=oMap._INFO_.width/fMapW,fFactorH=oMap._INFO_.height/fMapH,fDiffX=fMapCX-fItemCX,fDiffY=fItemCY-fMapCY,fOffX=fRatio*(fDiffX*fFactorW),fOffY=fRatio*(fDiffY*fFactorH);zingchart.maps.zoomTo(A52,{zoom:fZoom,offsetX:fOffX,offsetY:fOffY})}},zingchart.maps.zoomTo=function(A52,BB){var oMap=zingchart.maps.maps[A52]||eval("zingchart.maps.data."+A52);if(oMap){var N9={zoom:oMap._INFO_.zoom,offsetX:oMap._INFO_.offsetX,offsetY:oMap._INFO_.offsetY};zingchart.exec(oMap._INFO_.loaderid,"setobjectsmode",{mode:"flat"}),zingchart.maps.SKIP_LABELS=!0;var Y=0,RQ=10,iZoomTick=window.setInterval(function(){var A="regularEaseOut",t=EB[A](Y,N9.zoom,BB.zoom-N9.zoom,RQ),e=EB[A](Y,N9.offsetX,BB.offsetX-N9.offsetX,RQ),a=EB[A](Y,N9.offsetY,BB.offsetY-N9.offsetY,RQ);Y===RQ&&(zingchart.maps.SKIP_LABELS=!1,zingchart.exec(oMap._INFO_.loaderid,"setobjectsmode",{mode:"normal"})),zingchart.maps.setView(oMap._INFO_.loaderid,A52,t,e,a),++Y>RQ&&(window.clearInterval(iZoomTick),oMap._INFO_.zoom=BB.fZoom,oMap._INFO_.offsetX=BB.fOffX,oMap._INFO_.offsetY=BB.fOffY,ZC.AR.C1("maps.zoom",zingchart.getLoader(oMap._INFO_.loaderid),oMap._INFO_))},1)}},zingchart.maps.getInfo=function(A52){var oMap=zingchart.maps.maps[A52];return oMap||(oMap=eval("zingchart.maps.data."+A52)),oMap},zingchart.maps.getItems=function(A52){var oMap=zingchart.maps.maps[A52];if(oMap||(oMap=eval("zingchart.maps.data."+A52)),oMap){var B6=[];for(var sItem in oMap)"_DEFAULTS_"!==sItem&&"_INFO_"!==sItem&&"_GROUPS_"!==sItem&&"_RULES_"!==sItem&&(oMap._INFO_?-1!==ZC.AV(oMap._INFO_.items,sItem)&&B6.push(sItem):B6.push(sItem));return B6}return null},zingchart.maps.getItemInfo=function(A52,AB4){var oMap,BR;if(oMap=zingchart.maps.maps[A52]){if(BR=oMap[AB4])return BR}else if(oMap=eval("zingchart.maps.data."+A52),oMap&&(BR=oMap[AB4]))return BR;return null},zingchart.maps.getXY=function(A,t,e){var a;if(e=e||"",a=zingchart.maps.maps[A]){var c={};return ZC._cp_(a._INFO_,c),""!==e&&ZC._cp_({map:A,item:e},c),zingchart.maps.lonlat2xy(a._INFO_.x,a._INFO_.y,a._INFO_.width,a._INFO_.height,t,a._INFO_.bbox,c)}return null},zingchart.maps.getLonLat=function(A,t){var e;return(e=zingchart.maps.maps[A])?zingchart.maps.xy2lonlat(e._INFO_.x,e._INFO_.y,e._INFO_.width,e._INFO_.height,t,e._INFO_.bbox,e._INFO_):null},zingchart.maps.registerMap=function(A,t){ZC.X3.push("maps-"+A),zingchart.maps[A]||(zingchart.maps[A]={}),zingchart.maps.data[A]||(zingchart.maps.data[A]=t),zingchart.maps.data[A]._GROUPS_={},zingchart.maps.data[A]._DEFAULTS_=zingchart.maps._DEFAULTS_,zingchart.maps[A]=function(e,a,c){return zingchart.maps.convert({loader:this,loaderdata:a||{},graphid:typeof e.graphid===ZC._[31]?0:e.graphid,data:c,id:e.id||A,x:typeof e.x===ZC._[31]?0:e.x,y:typeof e.y===ZC._[31]?0:e.y,width:typeof e.width===ZC._[31]?1:e.width,height:typeof e.height===ZC._[31]?1:e.height,level:typeof e.level===ZC._[31]?1:e.level,groups:e.groups||[],items:e.items||[],ignore:e.ignore||[],bbox:e.bbox||null,map:zingchart.maps.data[A]})}},zingchart.maps.lonlat2xy=function(iX,iY,I,F,aLonLat,aBBox,BJ,bTranslate){typeof bTranslate===ZC._[31]&&(bTranslate=!1),BJ=BJ||{};var iZoom=Math.abs(ZC._f_(BJ.zoom||"1")),BL=ZC._i_(BJ.offsetX||"0"),BH=ZC._i_(BJ.offsetY||"0"),fLonRatio=I/ZC._a_(aBBox[2]-aBBox[0]),fLatRatio=F/ZC._a_(aBBox[3]-aBBox[1]);fLonRatio*=iZoom,fLatRatio*=iZoom,iX-=I*(iZoom-1)/2,iY+=F*(iZoom-1)/2,iX+=BL,iY+=BH;var iPx=iX+(ZC._f_(aLonLat[0])-ZC.CX(aBBox[0],aBBox[2]))*fLonRatio,iPy=iY+F-(ZC._f_(aLonLat[1])-ZC.CX(aBBox[1],aBBox[3]))*fLatRatio,oMap,BR;if(BJ&&BJ.map&&(oMap=zingchart.maps.maps[BJ.map],oMap||(oMap=eval("zingchart.maps.data."+BJ.map)),oMap)){if((BR=oMap[BJ.item])&&(iPx+=BR.transform.offsetLon*fLonRatio,iPy-=BR.transform.offsetLat*fLatRatio,1!==BR.transform.scale)){var oItemX=iX+(ZC.CX(BR.bbox[0],BR.bbox[2])-ZC.CX(aBBox[0],aBBox[2]))*fLonRatio,oItemY=iY+F-(ZC.CX(BR.bbox[1],BR.bbox[3])-ZC.CX(aBBox[1],aBBox[3]))*fLatRatio,oItemHeight=ZC._a_(BR.bbox[3]-BR.bbox[1])*fLatRatio;iPx=oItemX+(iPx-oItemX)*BR.transform.scale,iPy=oItemY-oItemHeight+(iPy-(oItemY-oItemHeight))*BR.transform.scale}bTranslate&&(iPx+=oMap._INFO_.graphinfo.graph.x,iPy+=oMap._INFO_.graphinfo.graph.y)}return[iPx,iPy]},zingchart.maps.xy2lonlat=function(A,t,e,a,c,h,_){_=_||{};var f=Math.abs(ZC._f_(_.zoom||"1")),m=ZC._i_(_.offsetX||"0"),v=ZC._i_(_.offsetY||"0");A-=e*(f-1)/2,t-=a*(f-1)/2;var E=e/ZC._a_(h[2]-h[0]),w=a/ZC._a_(h[3]-h[1]);return[h[0]+(c[0]-A-m)/(E*=f),h[1]+(t-c[1]+v)/(w*=f)]},zingchart.maps.mappoints=function(A,t,e,a,c,h,_,f,m){var v,E,w,D,M,T,R,V=[],$=null;T=e/ZC._a_(c[2]-c[0]),R=a/ZC._a_(c[3]-c[1]),f=f||{};var y=Math.abs(ZC._f_(f.zoom||"1")),U=ZC._i_(f.offsetX||"0");T*=y,R*=y,A-=e*(y-1)/2,t-=a*(y-1)/2,t+=ZC._i_(f.offsetY||"0"),w=(A+=U)+(ZC.CX(h.bbox[0],h.bbox[2])-ZC.CX(c[0],c[2]))*T,D=t+a*y-(ZC.CX(h.bbox[1],h.bbox[3])-ZC.CX(c[1],c[3]))*R,ZC._a_(h.bbox[2]-h.bbox[0]),M=ZC._a_(h.bbox[3]-h.bbox[1])*R;for(var O=0,Q=h.coords.length;O=_[ne].bbox[0]-_[ne].offsetLon&&h.coords[O][0]<=_[ne].bbox[2]-_[ne].offsetLon&&h.coords[O][1]>=_[ne].bbox[3]-_[ne].offsetLat&&h.coords[O][1]<=_[ne].bbox[1]-_[ne].offsetLat){W=_[ne].offsetLon,ae=_[ne].offsetLat,ee=_[ne].scale,$=_[ne].bbox;break}if(v=A+(h.coords[O][0]-ZC.CX(c[0],c[2]))*T+W*T,E=t+(ZC.BQ(c[1],c[3])-h.coords[O][1])*R-ae*R,1!==ee)if("__"===h.id){var te=A+(ZC.CX($[0],$[2])-ZC.CX(c[0],c[2]))*T,le=t+a-(ZC.CX($[1],$[3])-ZC.CX(c[1],c[3]))*R,ce=ZC._a_($[3]-$[1])*R;v=te+(v-te)*ee,E=le-ce+(E-(le-ce))*ee}else v=w+(v-w)*ee,E=D-M+(E-(D-M))*ee;null!==ZC._n_(m)?V.push([parseInt(v,10)-ZC.AQ.E3,parseInt(E,10)-ZC.AQ.E4,parseInt(m,10)]):V.push([parseInt(v,10),parseInt(E,10)])}return V},zingchart.maps.translate=function(A,t,e,a,c){var h=e/ZC._a_(c[2]-c[0]),_=a/ZC._a_(c[3]-c[1]);return"x"===A?t*h:t*_},zingchart.maps.convert=function(A){var t=A.data.options||{};ZC._todash_(t);var e=A.id,a=A.groups,c=A.items,h=A.ignore,_=A.bbox,f=A.level,m=!1;"01"===f&&(f=1,m=!0);var v=Math.abs(ZC._f_(t.zoom||"1")),E=ZC._i_(t["offset-x"]||"0"),w=ZC._i_(t["offset-y"]||"0"),D=!0,M=!0,T=!0;null!==ZC._n_(t.zooming)&&(D=ZC._b_(t.zooming)),null!==ZC._n_(t.panning)&&(M=ZC._b_(t.panning)),null!==ZC._n_(t.scrolling)&&(T=ZC._b_(t.scrolling));var R,V=A.loader.A0P(A.loaderdata,A.graphid);A.loader.ML&&(R=A.loader.ML.theme||"light"),A.loader.o&&(R=A.loader.o.theme||"light"),"light"===R?A.map._DEFAULTS_=zingchart.maps.LIGHT:"dark"===R&&(A.map._DEFAULTS_=zingchart.maps.DARK),ZC.AQ&&(ZC.AQ.A54=2.5*ZC.BQ(V.graph.width,V.graph.height),ZC.AQ.E3=V.plotarea.x+V.plotarea.width/2,ZC.AQ.E4=V.plotarea.y+V.plotarea.height/2);var $=ZC.IU(A.x);$=ZC._i_($>0&&$<1?$*V.plotarea.width:$),$+=V.plotarea.x;var y=ZC.IU(A.y);y=ZC._i_($>0&&y<1?y*V.plotarea.height:y),y+=V.plotarea.y;var U=ZC.IU(A.width);U=ZC._i_(U<=1?U*V.plotarea.width:U);var O=ZC.IU(A.height);O=ZC._i_(O<=1?O*V.plotarea.height:O);var Q,W,ae,ee,ne={};if(ZC._cp_(A.map,ne),0===U||0===O||!ne)return[];for(Q in ne)"_DEFAULTS_"!==Q&&"_INFO_"!==Q&&"_GROUPS_"!==Q&&"_RULES_"!==Q&&(null===ZC._n_(ne[Q].transform)&&(ne[Q].transform={offsetLon:0,offsetLat:0,scale:1}),null===ZC._n_(ne[Q].connector)&&(ne[Q].connector={points:[],anchor:""}));for(Q in ne)if("_DEFAULTS_"!==Q&&"_INFO_"!==Q&&"_GROUPS_"!==Q&&"_RULES_"!==Q&&!(0===f&&"__"!==Q||0!==f&&"__"===Q&&!m)){ee=[ZC.MAX,-ZC.MAX,-ZC.MAX,ZC.MAX];var oe=ne[Q].transform.offsetLon,te=ne[Q].transform.offsetLat,le=ne[Q].transform.scale;for(W=0;W=ne._RULES_[ce].bbox[0]-ne._RULES_[ce].offsetLon&&ne[Q].coords[W][0]<=ne._RULES_[ce].bbox[2]-ne._RULES_[ce].offsetLon&&ne[Q].coords[W][1]>=ne._RULES_[ce].bbox[3]-ne._RULES_[ce].offsetLat&&ne[Q].coords[W][1]<=ne._RULES_[ce].bbox[1]-ne._RULES_[ce].offsetLat){oe=ne._RULES_[ce].offsetLon,te=ne._RULES_[ce].offsetLat,le=ne._RULES_[ce].scale;break}ee[0]=ZC.CX(ee[0],ne[Q].coords[W][0]+oe),ee[1]=ZC.BQ(ee[1],ne[Q].coords[W][1]+te),ee[2]=ZC.BQ(ee[2],ne[Q].coords[W][0]+oe),ee[3]=ZC.CX(ee[3],ne[Q].coords[W][1]+te)}1!==le&&"__"!==Q&&(ee[2]=ee[0]+(ee[2]-ee[0])*le,ee[3]=ee[1]-(ee[1]-ee[3])*le),ne[Q].id=Q,ne[Q].bbox=ee}ee=[ZC.MAX,-ZC.MAX,-ZC.MAX,ZC.MAX];var se=[];if(a.length>0&&ne._GROUPS_){for(W=0,ae=a.length;W=0;W--)if(-1===se[W].indexOf("@"))-1!==ZC.AV(h,se[W])&&se.splice(W,1);else{var he=se[W].split("@");-1!==ZC.AV(h,he[0])&&se.splice(W,1)}}if(c.length>0)for(W=0,ae=c.length;W=0;W--)if(se[W]&&-1!==se[W].indexOf("@")){var fe=se[W].split("@");-1!==ZC.AV(se,fe[0])&&se.splice(W,1)}if(null!==ZC._n_(_)&&4===_.length)ee=_;else for(W=0,ae=se.length;W1.05){var ve=ZC._i_(U/ie);$+=(U-ve)/2,U=ve}else if(ie<.95){var ke=ZC._i_(O*ie);y+=(O-ke)/2,O=ke}Ze=U/ZC._a_(ee[2]-ee[0]),pe=O/ZC._a_(ee[3]-ee[1])}for(var de in zingchart.maps.maps)if(e!==de){var Oe=zingchart.maps.maps[de];Oe&&Oe._INFO_&&A.loader.K===Oe._INFO_.loaderid&&Oe._INFO_.graphinfo&&Oe._INFO_.graphinfo.graph&&Oe._INFO_.graphinfo.graph.index===V.graph.index&&(Oe._INFO_.graphinfo.graph.index=-1)}ne._INFO_={loaderid:A.loader.K,x:$,y,zoom:v,zooming:D,panning:M,scrolling:T,offsetX:E,offsetY:w,width:U,height:O,id:e,bbox:ee,groups:a,items:se,ignore:h,graphinfo:V},3*se.length>zingchart.DEV.MAXPOOLSIZE&&(zingchart.DEV.MAXPOOLSIZE+=3*se.length),zingchart.maps.maps[e]=ne;var Fe,be={},Se={};if(Fe=t.choropleth){var xe,we=ZC.MAX,Re=-ZC.MAX,Ie="";for(W=0,ae=se.length;W=Qe[ot]&&xe1.05||ie<.95)&&(be._ALERT_={type:"circle",id:"_ALERT_",x:$+10,y:y+10,size:8,"background-color":"#c00",label:{color:"#fff",bold:!0,text:"!"},tooltip:{text:"Scaling Error
Use "+U+"/"+ZC._i_(O*ie)+" or "+ZC._i_(U/ie)+"/"+O,"background-color":"#c00","border-radius":8,color:"#fff"}}),be},zingchart.maps.exportMap=function(A,t){var e=['ZC.X3.push("maps-{{exportid}}");',"","(function() {","","if (!zingchart.maps.{{exportid}}) {","zingchart.maps.{{exportid}} = {};","};","","if (!zingchart.maps.data.{{exportid}}) {","zingchart.maps.data.{{exportid}} = {};","};","","var _COORDS_ = {","{{coords}}","};","","zingchart.maps.data.{{exportid}} = {","_GROUPS_:{","{{groups}}","},","_DEFAULTS_:zingchart.maps._DEFAULTS_,","{{items}}","};","",'zingchart.maps.upgrade("{{exportid}}");',"","})();","","zingchart.maps.{{exportid}} = function(p, ld, d) {","return zingchart.maps.convert({","loader:this,","loaderdata:ld || {},",'graphid:((typeof(p.graphid) == "undefined")?0:p.graphid),',"data:d,",'id:p.id || "{{exportid}}",','x:((typeof(p.x) == "undefined")?0:p.x),','y:((typeof(p.y) == "undefined")?0:p.y),','width:((typeof(p.width) == "undefined")?1:p.width),','height:((typeof(p.height) == "undefined")?1:p.height),','level:((typeof(p.level) == "undefined")?1:p.level),',"groups:p.groups || [],","items:p.items || [],","ignore:p.ignore || [],","bbox:p.bbox || null,","map:zingchart.maps.data.{{exportid}}","});","}"].join("\n"),a=['"{{id}}":{','coords:_COORDS_["{{id}}"],',"tooltip:{",'text:"{{text}}"',"},","cpoint:{",'x:"{{x}}", y:"{{y}}"',"},","label:{",'text:"{{id}}", x:"{{x}}", y:"{{y}}"',"}","}"].join("\n"),c=e;c=c.replace(/\{\{exportid\}\}/gi,t);var h=[],_=[],f=[],m=zingchart.maps.data[A];for(var v in m._GROUPS_){var E='"'+v+'":["'+m._GROUPS_[v].join('","')+'"]';_.push(E)}for(var w in m)if("_DEFAULTS_"!==w&&"_GROUPS_"!==w){var D=a;D=(D=(D=(D=D.replace(/\{\{id\}\}/g,w)).replace(/\{\{text\}\}/g,m[w].tooltip.text)).replace(/\{\{x\}\}/g,m[w].cpoint.x)).replace(/\{\{y\}\}/g,m[w].cpoint.y),f.push(D);for(var M='"'+w+'":',T=[],R=0;R{"use strict";if(__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__}),typeof ZC>"u"){window.ZC={AV:function(A,t){if(A.indexOf)return A.indexOf(t);for(var e=0,a=A.length;e2048&&(ZC.cache.data={},ZC.cache.size=0)}},DEBUG:0,TS:{},MAX:Number.MAX_VALUE,IMG404:[],BLANK:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",TTLOCK:!1,REFRESH_TICK:{},ASYNC_TICK:[],COLORS:[],SEQ:0,LOGO_ABOUT:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAAA1CAYAAABBVQnbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABu1JREFUeNrsXLFy4zYQBW9UR7wfSHh1iqMn6S3NxLXlLp3lL5D1ARlLkw+Q/QWiu3TW1Sqk65M5ukh9vPzAUV+gLMilDUMgAYigZUm7MzAliiDBxcPu2+XS3nq9ZiQkdaTF/3iet/UJ/vjr5wKFyz9//7dLKj0u4UboHamBpK54HEm2lgisTwgbH78ucBtDG+LnFKxSTOo9DkvU2rLvBFpH2hcKgFpCI9d2JELujMQNsd5CRFdVWKRU2G/syv7+hQWw6ePX6Nd/WELTcgScyGV0BiDqCG6wCyBa0rRQdEZC7sxaxri1ckNggRYKcr6A/ZlVA4tExPxYQAQubERqJBDtSu6hfYb2k0isoX2ztWoke06s6woRayLWJCQ5kkhIyBKR7FQIRCQEIpJjCPFn/xWR15D1fqTyEALRVtLBrU/qJhDZWB8OmFDaG8J+vk3JIhGITEQsUCtkgtslo4K1wwMRxPoBbAIXJ/Q8b3mQmpqvevD3VGFhuVV95PaXnbXTkr6h5M7j0mP3UDxMNo6g3TgCkSe5tiKb2QU3ttxD8PRRN7pFxkFxB+AYKc4hVyx04biDWGx1aqwPX+Yrbjmm0HqGPfwMbPPVOYIkPRA9yAZmYwG8Boi6gtnfJ1koXBeXhD1XGagDCN53vuoeksvabYi/ny5sogAHv4/xhhvK+c5UOj7E1Ts8BhC5zljv/8qbrzh3uZb2RgAeNY85a8dobWVLe40u8TgsEXDhEZJrHYnq46rTuS4XhK0nrW7uQmYw1lTTL5R4jFE/QQYK91VtUbjbmq8u4NNX2Q6zvNCuind1hPtMMot31k4MwB5iv0CylvaRXz6O3tO5VMGBLjozKUrDyVmw8szzFZwnEo5X1VA/RW9rdQ3KGBUxLYmGuHKG4nWk8aleqiz6XSFA5N/HuIgKZX6X7wuUGhlOxoME4FvoO1RGZ88uT6XPKAOuCgxm0aK6/8txLDPrukmci/EtDO54vP7th1HL0CpYAaiGnGtSDVnEBONJ4Xozi/Hx/Q9MX3bb2wCfKYByGWZhvt69T0pIeyF9/P1EAsGUPZcSM03/Hhx/UmnVcu533TixhgnyNRM0dgQgplGsPAkzYXwPzOzZnC7X81FBps0ln7DE4j7FFz7lhGSYWZ0CxLkF6pdEiin27WykHHILXKaLTuPRmQGAoidX8LoScOsD145xJQUVRD+2UJYM4scG7+Gly8ldqZxWOBc41UBB9q8UPEmcr54GRIXwBXn/ZDnzAMIzyhNVVTYKAAorAHTVgHL5pHOS+gEVkGqUcFnmWmB876F18Vzb5KmaijbjDAAiZ8k/jxVuWAXwZANAz5HirKR/mfBxXECbZeDYIpPe0riMsGKim8qBXMDEFy4hQv6tighD+C0usUJLOMetQOYTOFYVPe0KRHcl7nAGK98k8k0dUIKCXNemIq0SK1RF4LK8iEXIbCMzAUCi37flOJ8UUWGCoLNRctAQiBLrHioLkbvAIswP0CoHtcFcF0Sg6FEFgNIGAeSSg8RbWhZ5ctuW+ZZAmsQUXYwbyUHTR67kghQvnYMIk4k3OwKQS/Edgdh2omT9RRXE1hZAfaQYvmbx+MbWyNGzvXcSgKYaAL21h6hpRb5JFSiEliszxIjHVE6l798cAShQAChBIt7N8klnbQ/aCdvBK+hFUVqR7S1l8G8QQJznxCUvX/Zg/5005onWQnHXM18l0kq+wWjRZKI7TbgLtHD+i5CcR1RvRAp3VpUL4qt9AJMyMDznvcPkoxEZZ5uZ5iw9AWPm41ihhTB1TWPJIvdeJP3KZbrBr9wVnn20IMTBrkDka/iFDTf4/Mr3cMfUhWN83PYpfQ6W+epSuudpRmrP2rclZFf1zG7cIMfzS6zh9SuAyLfJE+2F8JpusDi3zMEzINF9Q/siKWwCkzRAy/coWIi+QrFO8i/SwpRBHeB1YixfuVRG1TmnSxwWyN0IJS7c9S8PojwWgDREblQFpIiZPi/iz8B4ZeKmmw8MwBobcSg7iaSoz3/isOXJyUK+sHpv2CQbwcaz686qLg7mNWoOJJY/9b5FpaWogBlGlnahdp7f+WBJjiPWRH11/mDXZPwp3r/La0dM88io1YD/LpR+r+FHY4MQWwxllcdiZClai09I7uPapDMHQ1dwFx3FORIcy11FYlHWRWKol0Tiavz8A+SAvgCcGK8xwwI50SqLlQK6OSmTLrrKU+m6yyJ/stcWCMb/sFaLLx3XKTmuZ31RzkdyTnL0khU17vrf7Tm4iT5TJ0kTXHlc2iUEmBe3vSco1APRIVgiH9rX9XbSJxgQiIob4WUh3y0BNCEIEIhUFmlqACbOoTo0/cSJtJZJwX8O959NvAUQkZDUkf8FGADBt38P1SQKxwAAAABJRU5ErkJggg==",IMAGES:{"zc.logo":"data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAA8CAYAAABbyDl1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACGZJREFUeNrsXF9oFEccno2XRE1SI9ZQLcY0oIW21miQKoi5UPtiK7m+1GKhuWDrg7Z4+lILihGF6oueUH2w2pwFxT71gtonWy9SUJDEmKK0CvGikGtjg4mJ5p9xOt8mt5ndm93bTfaS3DkfLGxu525nZ779/b7vN6MKpZRISDhBlhwCCafwTLcO/XchRDsvhtTzeR/5yasb/YqcJkkaSwzGoqS3sUE9Lyj3yhmS6Uki4yNN7PFftH+oRz1/o2iVTBMSKhQr9/Tj7zU0+uiGel5TWZcS4vAaRk1P7VGWotrU85wFi0nOwhLtmtQ4UtMkaJjEa20agaTGkZpGIlPS0/2OGzTacUP7++b9MOl61q6el5VUkbl5r2vXKt/Z5lqa6GmMaJ3ovBAinRfPjKajajJvo5+PNDI1Tbf0BMJcuX1C2LA5Wq/7m5HGtU7wZOAJBD0jiSLTk0SmRZqSolWkkmyzlZ4kpKaZMsttpXFkapKWe1waR0JqGolMT09yGUHCMWkkJGR6kpCkkZCkkZCkkZCkkZCQpJGQpJGQpJF4yUnj/aOD4pDDnRmYlAXLhs4BOdIy0ki8zEjZ2hPSkVmEqZiXSyJri+QCaCakp9pTZyfMoNovPssYMjT3DNPI4+ck/Oh5wrVCj0J88z3EvzDH9HlrWwe08awtzc2YcdEiTaSphVZu/3bCP3jl+HfEu/Jd3QAp9Q/Vm9CqRWkzcP7bffRMbChpuznstfMvyCHBN2fqno2RjVY2Phsbl/LZxDvXM+2fH/3WsoVJfz1EIiG6+G49I2399oJuNwtCxx4OksJshWZCNDEQnYqIMymkgYZJFxgJs5gFkEBxDikrmKF91jVE1ZTFR6L9rQOkZKZCrdKVtNxOQl6aiF5GGMoTpnpBNgm9PUvYd19RNtMz2WpU6h6VPIG7/dA4L48Qhg5heiRpTG6+20p2HvtBeK16w/sJeiZdgFxezwleaBUzwvA5n6UkuvPugJaqoIWSfS+jIo2dCfd9c1BIrIoVy0ho7y7t+6FLlyk7dG3KlpaSYGCr2sa7bTe1e02977rVJPCpz7R/4YZrNHz1GonGOsYcTkEe8W9YT3wVaxSr+wHBB4N651NqL6UGinMV9l0tQsFtOXVkcGK4H0uBwucLPhigzT0vSLT/hdDFeefOUPthvBZqH6TR0X6hDUge7hiiIZZWu5jebXg8rAr0aB9+O3FaQ+1D7HmGKf99x+mp7POvaHfv04TPly95g0ROHNJ1Ohr7lzTc/NP0t0TXQLRA8CQR3QPta0+fo5HjhzDhip7IB2j91evC++DzfVs2U6u+qO24SRzRMfZFbXj5bHUSrAAdVHa9l97qfWF6/5vv5VEjcQJ/91MI7WR9j/ZRanRwIAeIoYKRkpGDIoV2G3ita8dB5x7Z9xlp1NMsJ4S5de++kDDNP30/4XAMkpkRRnMq7BojiP4tPB82JYwmUk+fs20zVRLOz3bUd0w03sL4IbTwd/qIGWF4EW6s8yQjTBxox9eFBBGO1NxJJEzKhLAZYebk57lCGKDtnw7b7ZCKkHLUgU1CCHt6ZtigVWa4rgMwWSJhzUcfpDikDyayldG0pLWrmu9BRFOs6klob5ZW45EUUZQX6yB5pHyMBsrlJzRZbSkpafwHjpgSBqnCTeA3Q3t2qlpEDfssghz7uT7xrbnXCp2CyJSQLhe/VkTCh/dqKYwJd+o/eISInsEMhdnu61hMlkggN6/OV/iJamYE8hWNRD8+KogIo6YW9puMNDROzGSFyOjaAiWlkQaEOfPrb6aEMWqLiSKwqYrEI8ioMAdpTENupKklsc8frtf1C+dM8LpS7Z4I7AprPgKguBYXu2aA2LX7m8GlM1Nbp8FbLCKMyvrDe1wnjDqwgnUruDIzESuKHqLfGHWFU7qfp2SW8w0FVssOiETQKUzH2IviWO5wqfAoJA1cjCgtAHUsfaRrLcZ0QvWmQ9U4cadgB7DRvHtyc40JGgf2PG63RS7HplhPTZ0mTpiag0dNCcPCf8YVrowDijfYCZgY1Tkjuv4VdyIvc0P7TSIJNBKIDTKNl0jjRZaxQGZGmH1bNk87wkD0iop8dj4zWuY5HnHNxg54wlS45LyQfnjCwD3BzTBCKjggaCGCnURE10kz4jLEhMHywHTcJ4OqbsLbefqsrc8SNFyxXqh6G5/a0kBGIVqW7w5p+Ap13G5Pl60VY2tP23ebFtYgiNlhaxARkSaLYL51a4ixsAdxXPjBJ7RsSalmz60Khpy7UVCuj9tWhHxUY41VVkEK0U92kvZ2oddI5kTsGqJTF2nsDOx0A9KlKEXhWeC4cDh5LqMtRpUVxDFLH4WRJ7pV8R2LUrPCjXUn00gXG0zZ+JoRMu03lkd/qVNQN7LC0R1f2qsTFecq+wTEATmQruIHqrjYrMQX05bnZ7kWZUYd2Fikjw2p6RJOCmTFgUow+mUs6KHNRO7LazssfcSfmU/DGfGvEVBorFq3Wnhtx6Yqy9VxUZqqe0tfBMPEIF3FD+MaEpYHUNl1tWbF+sFPIO77cUufurMOB4iEfoGsPNDGag0qacrn1t345+ZXwTNiuycKjVg6UAnU1DK2x3Wc9SQUwZijotArVk4Kk4qU5mRF3NHLUJ5HzPoAy417o6+IBG7ZbjiyQo9iuVCa1v99GggSadJXi70rlyWQBc5wRfXX4xbsoje3ZGThb9LcDL8Sj2UF4xYKOxvCXXdPaalnYh0J2x5Cl4qgc/RaJXhS6LycpIqpftZkRJhMO572/1Ej7LVT54f1LOOmMYlxWO50RTCw1Zk7YE7L6XckMizSxLVN7alzJNmWTuwyDO3ZlZIVekmadI4858O0S5CuoGEkWSRpJKSmkUgX/C/AAC1LYqunMJ6bAAAAAElFTkSuQmCC"},hosted:!1,adapter:"",flash:null,canvas:null,svg:null,vml:null,move:!1,objmove:!1,compat:function(){ZC.flash=ZC.canvas=ZC.svg=ZC.vml=!1;var A=!!document.createElement("canvas").getContext,t=!1;A&&(t="function"==typeof document.createElement("canvas").getContext("2d").fillText),ZC.canvas=A&&t,ZC.svg=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");var e=document.body.appendChild(document.createElement("div")),a=document.createElement("zcv:shape");a.className="zcvml",a.setAttribute("id","vml_flag1"),a.setAttribute("adj",new Object),e.appendChild(a),a.style.behavior="url(#default#VML)",ZC.vml=!a||"object"==typeof a.adj,e.parentNode.removeChild(e);var c=!1;navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]?c=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:document.all&&-1===navigator.appVersion.indexOf("Mac")&&(c=new Function('try { var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj) { xObj = null; return true; } } catch (e) { return false; }')()),ZC.flash=c?1:0},quirks:!(document.compatMode&&"CSS1Compat"===document.compatMode),ie67:!!/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<8,ie678:!!/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<9,mobile:/Mobile|BlackBerry|Opera Mini|PPC|Windows CE|Android/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0||"iPad"===navigator.platform,ipad:/iPad/.test(navigator.userAgent),iphone:/iPhone/.test(navigator.userAgent),websockets:"WebSocket"in window,webstorage:"sessionStorage"in window,RW:[],X3:[],E1:[0,0],ACP:null,_cp_:function(A,t,e,a,c,h){null===ZC._n_(e)&&(e=!0),null===ZC._n_(a)&&(a=!0),null===ZC._n_(c)&&(c=!1),h=h||[],0===zingchart.DEV.COPYVALUES&&h.push(ZC._[5]);var _=h.length;for(var f in A)if(0===_||_>0&&-1===ZC.AV(h,f))if(A[f]instanceof Array){if(a){(null===ZC._n_(t[f])||"override"!==f&&!c)&&(t[f]=[]);for(var m=0,v=A[f].length;m0&&-1===ZC.AV(e,_))){var f=_.substring(0,1);if("."!==f&&"#"!==f)if(A[_]instanceof Array)if(ZC.V8(_)!==_){for(A[ZC.V8(_)]=[],a=0,c=A[_].length;a=(t=t.charCodeAt(0)+13)?t:t-26)})},ACI:function(A,t){var e=ZC.XN(ZC.ACE(A)),a=ZC.XN(ZC.A2X(t)),c=e.length;if(0===c)return"";for(var h,_,f=e[c-1],m=e[0],v=2654435769,E=Math.floor(6+52/c)*v;0!==E;){_=E>>>2&3;for(var w=c-1;w>0;w--)h=((f=e[w-1])>>>5^m<<2)+(m>>>3^f<<4)^(E^m)+(a[3&w^_]^f),m=e[w]-=h;h=((f=e[c-1])>>>5^m<<2)+(m>>>3^f<<4)^(E^m)+(a[3&w^_]^f),m=e[0]-=h,E-=v}return decodeURIComponent(ZC.ACF(ZC.A6M(e)))},AG3:function(A,t){A=encodeURIComponent(A);var e=ZC.XN(ZC.A2X(A)),a=ZC.XN(ZC.A2X(t)),c=e.length;if(0===c)return"";1===c&&(e[c++]=0);for(var h,_,f=e[c-1],m=e[0],v=Math.floor(6+52/c),E=0;v-- >0;){_=(E+=2654435769)>>>2&3;for(var w=0;w>>5^(m=e[w+1])<<2)+(m>>>3^f<<4)^(E^m)+(a[3&w^_]^f),f=e[w]+=h;h=(f>>>5^(m=e[0])<<2)+(m>>>3^f<<4)^(E^m)+(a[3&w^_]^f),f=e[c-1]+=h}return ZC.ACD(ZC.A6M(e))},XN:function(A){for(var t=new Array(Math.ceil(A.length/4)),e=0;e>>8&255,A[e]>>>16&255,A[e]>>>24&255);return t},ACD:function(A){for(var t="",e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],a=0;a>4]+e[15&A[a]];return t},ACE:function(A){for(var t=[],e="0x"===A.substr(0,2)?2:0;ee?e:A},DM:function(A,t,e,a){return a?tt[0].length?-1:0},A07:function(A){window.setTimeout(A,zingchart.TIMEOUT)},_fixed_:function(A,t){return t>=0&&t<=20?A.toFixed(t):""+A},_nfind_:function(A,t,e,a){if(A==t.R[e].BW)return e;if(A==t.R[a].BW)return a;var _=ZC._i_((e+a)/2);if(!t.R[_]){for(;!t.R[_]&&_e;)_--;if(_===e)return null}}var f=t.R[_].BW;return _!==e&&_!==a?A==f?_:A>f?ZC._nfind_(A,t,_,a):ZC._nfind_(A,t,e,_):A==f?_:null},_tx_:function(A){var t,e,a,c,h=[1,1,0,0];if(zingchart.DEV.LOOKUPCSSTRANSFORM&&!ZC.vml&&ZC.AM(A)){var _=ZC.AM(A);for(t="";_&&(""===t||"none"===t);)t=ZC.A5(_).css("transform")||"",_=_.parentNode;-1!==(e=t.indexOf("matrix("))&&(a=t.indexOf(")",e),c=t.substring(e+7,a-e).split(","),h=[ZC._f_(c[0]),ZC._f_(c[3]),ZC._f_(c[4]),ZC._f_(c[5])])}return h},Utils_SetupFormat:function(A,t){return ZC.AR.OH(A,t)},Utils_Format:function(A,t,e,a){return ZC.AR.G6(A,t,e,a)},Loader_Api_Loader_Info:function(A){return A.F5()}},ZC.hasPassive=!1,ZC.SEC=1e3,ZC.MIN=60*ZC.SEC,ZC.HR=60*ZC.MIN,ZC.DAY=24*ZC.HR,ZC.MON=30*ZC.DAY,ZC.YR=365*ZC.DAY,ZC.MAPTX=0,window.JSON=window.JSON||{},JSON.stringify=JSON.stringify||function(A){var t=typeof A;if("object"!==t||null===A)return"string"===t&&(A='"'+A.replace("\\","\\\\").replace('"','"')+'"'),String(A);var e,a,c=[],h=A&&A.constructor===Array;for(e in A)"function"!=typeof A[e]&&("string"==(t=typeof(a=A[e]))?a='"'+a.replace("\\","\\\\").replace('"','\\"')+'"':"object"===t&&null!==a&&(a=JSON.stringify(a)),c.push((h?"":'"'+e+'":')+String(a)));return(h?"[":"{")+String(c)+(h?"]":"}")},JSON.parse=JSON.parse||function(L7){return""===L7&&(L7='""'),eval("("+L7+")")},ZC._=["background-color","angle-start","angle-end","graphid","line-width","values","-node-area zc-node-area","placement","slice","value","labels","series","decimals","thousands-separator","decimals-separator","-print-c","graphset","value-box","outer","width","height","size","-hover-c","enable-guide","zc-abs zc-layer","exponent-decimals","3d-aspect","x-angle","y-angle","z-angle",'" coords="',"undefined","~rgba(255,255,255,0)","~rgb(255,255,255)","-node-area ","-plotset-plot-","http://www.w3.org/2000/svg","http://www.w3.org/1999/xlink","skip_context_menu","skip_segment_tracking","skip_marker_tracking","skip_interactivity","use_fast_mode","use_fast_markers","use_single_canvas","If-Modified-Since","Thu, 1 Jan 1970 00:00:00 GMT","mousedown","mousemove","mouseup","scale-x","scale-y","scale-v","preservezoom","toggle-action","enable-animation","enable-preview","margin-top","margin-right","margin-bottom","margin-left","border-color","border-width","Network error","URL Data loader","loader.gui.context-menu","-menu-item-exitfullscreen","transform-date-format","transform-date","bg-image-width","bg-image-height","hover-state","background-state","selected-state"];class ZCClass{}if(ZC.ABF=function(A){this.H=A,this.AAL=function(t,e){var a,c=this,h=c.B8.palette;if(null!==ZC._n_(e)&&null!==ZC._n_(h[e])&&(h=h[e]),null!==ZC._n_(h[t])){var _=h[t];return null===ZC._n_(_[2])&&(_[2]=ZC.AR.RC(_[1],10)),null===ZC._n_(_[3])&&(_[3]=ZC.AR.RC(_[1],10)),_}var f=["#00BAF2","#E80C60","#E2D51A","#9B26AF","#FB301E","#00AE4D","#20398B"];a=null!==ZC._n_(f[t-c.B8.palette.length])?f[t-c.B8.palette.length]:"#"+ZC.YA.md5(t).substr(t%20,6);var m=ZC.AR.RC(a,10),v=ZC.AR.RC(a,20),E="#FFF";return c.B8.palette&&c.B8.palette[0]&&c.B8.palette[0][0]&&(E=c.B8.palette[0][0]),[E,a,m,v]},this.A4X=function(t){t&&ZC._cp_(t,this.B8,!0)},this.ABH=function(t){var e=this;null!==ZC._n_(e.O3[t])&&(ZC._todash_(e.O3[t]),ZC._cp_(e.O3[t],e.B8))},this.O3={},ZC._cp_(zingchart.THEMES,this.O3),this.O3.classic={palette:[["#fff","#6a921f","#a7da47","#89b92e"],["#fff","#007fa3","#00b0e1","#0392bb"],["#fff","#a62b02","#ef4810","#cc3300"],["#fff","#b79007","#f9c332","#da9b04"],["#fff","#563d02","#84680a","#6e4503"],["#fff","#0b32a0","#4d62b1","#1540a0"]],graph:{refresh:{curtain:{alpha:.5,"background-color":"#999",color:"#000","font-size":15,bold:1,text:"Loading..."}},"background-color":"#e1eaec #edf3f5",title:{"font-size":14,bold:1,color:"#fff","background-color":"#00bbf1 #05a0cd",padding:6},subtitle:{"font-size":11,bold:1,color:"#333","margin-top":30,padding:6},source:{"font-size":10,color:"#333",width:"100%",bold:1,"text-align":"right",height:20,margin:"auto 0 0 auto",padding:5},nodata:{"font-size":12,color:"#333","text-align":"center","vertical-align":"middle",text:""},SCALE:{"font-size":11,"line-width":2,"line-color":"#3e6c7b",item:{flat:!0},"ref-line":{"line-width":1,"line-color":"#3e6c7b"},guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#2c4a59",alpha:.2},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#aaa",alpha:.1},tick:{visible:1,size:6,placement:ZC._[18],"line-width":2,"line-color":"#3e6c7b"},"minor-tick":{visible:1,size:4,placement:ZC._[18],"line-width":1,"line-color":"#3e6c7b"},label:{color:"#2c4a59",flat:!0}},"scroll-x":{bar:{height:16},handle:{height:16}},"scroll-y":{bar:{width:16},handle:{width:16}},legend:{"background-color":"#fff","border-width":1,alpha:.75,"border-alpha":.75,"border-color":"#666","shadow-distance":3,header:{padding:"4 6",color:"#fff","border-width":1,"border-color":"#3e6c7b","background-color":"#3e6c7b"},footer:{padding:"2 6","background-color":"#ccc","border-width":1,"border-color":"#666"},marker:{"border-color":"#333","border-width":1}},plot:{"value-box":{flat:!0},marker:{shadow:1,"line-width":1,"border-width":1},"hover-marker":{"line-width":1,"border-width":1}},guide:{"line-width":1,"line-color":"#999",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{padding:"3 6"}}},line:{plot:{"shadow-alpha":.5,marker:{size:4},"hover-marker":{size:5}}},area:{plot:{"shadow-alpha":.5,marker:{size:4},"hover-marker":{size:5}}},vbar:{plot:{"fill-angle":90,shadow:0}},hbar:{plot:{"fill-angle":180,shadow:0}},piano:{plotarea:{"mask-tolerance":[0,0]},plot:{shadow:0}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0}},hbullet:{plot:{"fill-angle":0,shadow:0}},scatter:{plot:{marker:{size:4},"hover-marker":{size:5}}},hscatter:{plot:{marker:{size:4},"hover-marker":{size:5}}},bubble:{plot:{marker:{"border-width":0},"hover-marker":{"border-width":0}}},hbubble:{plot:{marker:{"border-width":0},"hover-marker":{"border-width":0}}},pie:{plot:{"border-width":1}},nestedpie:{plot:{"border-width":1}},radar:{plot:{marker:{size:3},"hover-marker":{size:4}},"scale-k":{guide:{alpha:.5,"background-color":"#eee #ddd"}}},gauge:{"scale-r":{"background-color":"-1",guide:{alpha:.5,"background-color":"#eee #ddd"},item:{"offset-r":0},ring:{size:1,items:[{"background-color":"#999",alpha:.8},{"background-color":"#666",alpha:.8}]}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":0},"minor-guide":{"line-width":0}},"scale-y":{guide:{alpha:.25,"background-color":"-1 #58595B"}},"scale-y-n":{guide:{alpha:.25,"background-color":"-1 #58595B"}},plot:{"border-width":1}},hfunnel:{plotarea:{margin:"50 100"},"scale-x":{label:{angle:270}},"scale-x-n":{label:{angle:90}},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":0},"minor-guide":{"line-width":0}},"scale-y":{label:{angle:0},item:{"text-align":"center"},guide:{alpha:.25,"background-color":"#58595B -1"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"},guide:{alpha:.25,"background-color":"#58595B -1"}},plot:{"border-width":1}},range:{plot:{marker:{type:"circle",size:4},"hover-marker":{size:5}}},line3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},area3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},mixed3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},vbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},hbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},pie3d:{plot:{"border-width":1}},"-":""},this.O3.light={palette:[["#fff","#29A2CC","#29A2CC","#1089B3"],["#fff","#D31E1E","#D31E1E","#BA0505"],["#fff","#7CA82B","#7CA82B","#638F12"],["#fff","#EF8535","#EF8535","#D66C1C"],["#fff","#A14BC9","#A14BC9","#8832B0"],["#fff","#A05F18","#A05F18","#874600"],["#fff","#265E96","#265E96","#0D457D"],["#fff","#6B7075","#6B7075","#52575C"],["#fff","#96C245","#96C245","#7CA82B"]],graph:{refresh:{curtain:{alpha:.5,"background-color":"#999",color:"#000","font-size":15,bold:1,text:"Loading..."}},"background-color":"#ffffff",title:{"font-size":21,bold:1,color:"#414042","background-color":"none",padding:6},subtitle:{"font-size":11,bold:1,color:"#414042","margin-top":30,padding:6},source:{"font-size":10,color:"#414042",width:"100%",bold:1,"text-align":"right",height:20,margin:"auto 0 0 auto",padding:5},nodata:{"font-size":12,color:"#333","text-align":"center","vertical-align":"middle",text:"No Data","background-color":"#BBBBBB",alpha:.8},SCALE:{"font-size":11,"line-width":1,"line-color":"#8C8C8C",item:{"font-size":12,flat:!0,color:"#808285"},"ref-line":{"line-width":1,"line-color":"#D1D3D4"},guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#DCDCDC",alpha:1},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#aaa",alpha:.1},tick:{visible:1,size:5,placement:ZC._[18],"line-width":1,"line-color":"#8C8C8C"},"minor-tick":{visible:1,size:3,placement:ZC._[18],"line-width":1,"line-color":"#A7A9AC"},label:{color:"#414042",flat:!0}},"scale-x":{normalize:!0,guide:{visible:!1}},scroll:{bar:{"background-color":"#F0F1F1",margin:1},handle:{"background-color":"#A7A9AC","border-radius":6}},"scroll-x":{bar:{height:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{height:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-y":{bar:{width:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{width:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-xi":{bar:{width:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{width:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-yi":{bar:{height:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{height:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},preview:{"background-color":"#fff","border-width":1,"border-color":"#A7A9AC",live:!0,mask:{"background-color":"#999"},active:{alpha:0},handle:{width:11,"border-width":2,"border-radius":3,"line-color":"#C6C6C6","border-color":"#A7A9AC","background-color":"#F0F1F1"},"handle-top":{height:11},"handle-bottom":{height:11}},tooltip:{shadow:1,"shadow-angle":45,"shadow-distance":1,"shadow-alpha":.25,"border-width":1,"border-color":"#fff","border-alpha":1},zoom:{"preserve-zoom":1,"background-color":"#929497"},legend:{"background-color":"#fff","border-width":1,shadow:0,"shadow-alpha":.2,alpha:1,"border-alpha":1,"border-color":"#cccccc",header:{padding:"5 0 5 10",color:"#222222","background-color":"none","border-width":0,"border-top":"0px solid none","border-bottom":"1px solid #cccccc"},footer:{padding:"5 0 5 10","border-top":"1px solid #cccccc"},shader:{"background-color":"#F0F1F1","line-color":"#C6C6C6",margin:2,height:8,"line-width":2,"line-style":"dotted"},icon:{"line-color":"#C6C6C6","line-width":2,style:"small"},marker:{"border-color":"#fff","border-width":1},"page-on":{"background-color":"#929497"},"page-off":{"background-color":"#D1D2D3"},scroll:{bar:{"background-color":"none","margin-top":3,"margin-bottom":3},handle:{"background-color":"#D1D2D3","border-top":"none","border-right":"none","border-bottom":"none","border-left":"none","border-radius":6,width:12,height:12}}},plot:{"value-box":{flat:!0},marker:{shadow:0,"line-width":1,"border-width":1,"border-color":"#fff"},"hover-marker":{"line-width":1,"border-width":1},monotone:!0},guide:{"line-width":1,"line-color":"#8C8C8C",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{padding:"3 6"}}},line:{plot:{"line-width":2,shadow:0,marker:{size:4},"hover-state":{},"hover-marker":{size:5,"border-width":1,"border-color":"#fff"}}},area:{plot:{"line-width":2,shadow:0,"alpha-area":.25,"background-color-style":"solid",marker:{size:4},"hover-state":{},"hover-marker":{size:5,"border-width":1,"border-color":"#fff"}}},vbar:{plot:{"fill-angle":90,shadow:0}},hbar:{plot:{"fill-angle":180,shadow:0}},piano:{plotarea:{"mask-tolerance":[0,0]},plot:{shadow:0},"scale-x":{guide:{visible:!0}}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0,goal:{"border-width":1,"border-color":"#fff",height:8}}},hbullet:{plot:{"fill-angle":0,shadow:0,goal:{"border-width":1,"border-color":"#fff",width:8}}},scatter:{plot:{"line-color":"%palette-0","border-color":"%palette-0",marker:{size:5},"hover-marker":{size:6}},"scale-x":{guide:{visible:!0}}},hscatter:{plot:{"line-color":"%palette-0","border-color":"%palette-0",marker:{size:4},"hover-marker":{size:5}},"scale-x":{guide:{visible:!0}}},bubble:{plot:{marker:{"border-width":1,"border-color":"#fff"},"hover-marker":{"border-width":1,"border-color":"#fff"}},"scale-x":{guide:{visible:!0}}},hbubble:{plot:{marker:{"border-width":1,"border-color":"#fff"},"hover-marker":{"border-width":1,"border-color":"#fff"}},"scale-x":{guide:{visible:!0}}},pie:{plot:{shadow:0,"border-width":1,"value-box":{placement:"in","font-size":16,text:"%node-percent-value%"}}},nestedpie:{plot:{"border-width":1}},radar:{plot:{shadow:0,"line-width":2,"background-color":"%palette-1","active-area":!0,marker:{size:4},"hover-marker":{size:5,"border-color":"#fff"}},"scale-k":{guide:{"line-width":1,"line-style":"solid","line-color":"#8C8C8C","line-segment-size":6,"line-gap-size":6,alpha:1,"background-color":"#fff #F7F8F8"},tick:{"line-color":"#8C8C8C","line-width":1,size:10}},"scale-r":{},"scale-v":{"ref-line":{"line-color":"#8C8C8C","line-width":1},tick:{"line-color":"#8C8C8C","line-width":1},guide:{"line-color":"#CDCDCD","line-width":1}}},gauge:{plot:{shadow:0},scale:{"size-factor":1},"scale-r":{aperture:270,tick:{size:11,"line-width":2},"background-color":-1,guide:{"background-color":"#fff"},ring:{size:8,"background-color":"#CDCDCD"},center:{size:20,"background-color":"#fff","border-width":6,"border-color":"#1089B3"}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":1,"line-style":"solid","line-color":"#CDCDCD","line-segment-size":6,"line-gap-size":6,alpha:1},"minor-guide":{"line-width":0}},"scale-x":{visible:!1,guide:{visible:0}},"scale-y":{guide:{"background-color":"-1",alpha:1}},"scale-y-n":{guide:{"background-color":"-1"}},plot:{"border-width":1,"border-color":"#fff",shadow:0,"hover-state":{"line-color":"-1","border-color":"-1"}}},hfunnel:{plotarea:{margin:"50 100"},"scale-x":{visible:!1,guide:{visible:0},label:{angle:270}},"scale-x-n":{label:{angle:90}},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":1,"line-style":"solid","line-color":"#CDCDCD","line-segment-size":6,"line-gap-size":6,alpha:1},"minor-guide":{"line-width":0}},"scale-y":{guide:{"background-color":"-1",alpha:1},label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"},guide:{"background-color":"-1"}},plot:{"border-width":1,"border-color":"#fff",shadow:0,"hover-state":{"line-color":"-1","border-color":"-1"}}},range:{plot:{marker:{type:"circle",size:4},"hover-marker":{size:5}}},line3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},area3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},mixed3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},vbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},hbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},pie3d:{plot:{"border-width":1}},venn:{plot:{"border-width":0,shadow:0,alpha:.75,"background-color":"%palette-1"}},root:{gui:{"context-menu":{visible:!0,width:"125px",padding:"5 0","background-color":"#595959","border-width":0,"border-color":"#595959",position:"left",button:{visible:ZC.mobile,alpha:0},gear:{"background-color":"#000",type:"hamburger",alpha:1},item:{"background-color":"#595959","text-align":"left",padding:"4 20 4 15","border-width":0,"border-color":"#595959","font-size":"12px",color:"#fff","hover-state":{"background-color":"#414141"}},separator:{"line-width":1,"line-color":"#969696"}},"context-menu[mobile]":{item:{padding:"6 10 6 6"}}}},"-":""},this.O3.light.graph["crosshair-x"]=this.O3.light.graph["crosshair-y"]=this.O3.light.graph.guide,this.O3.dark={},ZC._cp_(this.O3.light,this.O3.dark,!0,!0),ZC._cp_({graph:{"background-color":"#221F1F",title:{color:"#fff"},subtitle:{color:"#fff"},source:{color:"#fff"},SCALE:{"line-color":"#D1D3D4",item:{color:"#D1D3D4"},"ref-line":{"line-color":"#D1D3D4"},guide:{"line-color":"#58595B"},"minor-guide":{"line-color":"#58595B"},tick:{"line-color":"#D1D3D4"},"minor-tick":{"line-color":"#D1D3D4"},label:{color:"#D1D3D4"}},scroll:{bar:{"background-color":"#6C6D70"},handle:{"background-color":"#A7A9AC"}},"scroll-x":{bar:{"border-top":"0px solid none","border-right":"2px solid #D1D3D4","border-bottom":"2px solid #D1D3D4","border-left":"2px solid #D1D3D4"},handle:{"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-y":{bar:{"border-top":"2px solid #D1D3D4","border-right":"0px solid none","border-bottom":"2px solid #D1D3D4","border-left":"2px solid #D1D3D4"}},preview:{"background-color":"#221F1F"},tooltip:{"border-color":"#000"},legend:{"background-color":"#221F1F",header:{color:"#fff",shader:{"background-color":"#414042","line-color":"#676667"}},footer:{color:"#D1D3D4","background-color":"#414042","border-top":"0px solid none","border-right":"2px solid #A7A9AC","border-bottom":"2px solid #A7A9AC","border-left":"2px solid #A7A9AC"},shader:{"background-color":"#414042","line-color":"#676667"},icon:{"line-color":"#676667"},"page-status":{color:"#D1D3D4"},"page-on":{"background-color":"#D1D2D3"},"page-off":{"background-color":"#929497"},marker:{"border-color":"#000"},item:{color:"#D1D3D4"}},plot:{marker:{"border-color":"#221F1F"}},guide:{"line-color":"#D1D3D4","scale-label":{"background-color":"#929497"},"plot-label":{"background-color":"#221F1F",color:"#FFF","border-color":"#5a5a5a"}}},line:{plot:{"hover-marker":{"border-color":"#221F1F"}}},area:{plot:{"hover-marker":{"border-color":"#221F1F"}}},vbullet:{plot:{goal:{"border-color":"#221F1F"}}},hbullet:{plot:{goal:{"border-color":"#221F1F"}}},bubble:{plot:{marker:{"border-color":"#221F1F"},"hover-marker":{"border-color":"#221F1F"}}},hbubble:{plot:{marker:{"border-color":"#221F1F"},"hover-marker":{"border-color":"#221F1F"}}},pie:{plot:{"border-color":"#221F1F"}},radar:{plot:{"hover-marker":{"border-color":"#221F1F"}},"scale-k":{guide:{"line-color":"#58595B","background-color":"#221F1F #312F30"},tick:{"line-color":"#D1D3D4"}},"scale-v":{"ref-line":{"line-color":"#58595B"},tick:{"line-color":"#58595B"},guide:{"line-color":"#58595B"}}},gauge:{"scale-r":{guide:{"background-color":"#221F1F"},ring:{"background-color":"#57585B"}}},vfunnel:{SCALE:{guide:{"line-color":"#58595B"}},plot:{"border-color":"#221F1F","hover-state":{"line-color":"#58595B","border-color":"#221F1F"}}},hfunnel:{SCALE:{guide:{"line-color":"#58595B"}},"scale-y":{guide:{alpha:.25,"background-color":"#b6c8cf -1"}},"scale-y-n":{guide:{alpha:.25,"background-color":"#b6c8cf -1"}},plot:{"border-color":"#221F1F","hover-state":{"line-color":"#58595B","border-color":"#221F1F"}}},root:{gui:{"context-menu":{gear:{"background-color":"#FFF"}}}},"-":""},this.O3.dark,!0,!0),this.O3.dark.graph["crosshair-x"]=this.O3.dark.graph["crosshair-y"]=this.O3.dark.graph.guide,this.O3.mini={graph:{title:{width:"100%",padding:"1 2 2","font-size":10},subtitle:{width:"100%",padding:"1 2 2","margin-top":14,"font-size":9},plotarea:{width:"100%",height:"100%",margin:"18 4 4 4"},SCALE:{visible:0},tooltip:{shadow:0,"border-radius":7},legend:{visible:0},preview:{visible:0},guide:{"line-width":1,"line-color":"#ccc",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{"border-color":"#ccc","border-radius":5,padding:"3 6"}},plot:{shadow:0,"value-box":{visible:0},"hover-state":{visible:0},"hover-marker":{visible:0},"max-trackers":99999,"max-nodes":99999}},line:{plot:{"line-width":1,marker:{type:"none"}}},line3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},area:{plot:{"line-width":1,marker:{type:"none"}}},area3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},scatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},hscatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},bubble:{SCALE:{offset:15},plot:{marker:{"fill-type":"none",shadow:!1,alpha:.8},"min-size":3,"max-size":9}},hbubble:{SCALE:{offset:15},plot:{marker:{"fill-type":"none",shadow:!1,alpha:.8},"min-size":3,"max-size":9}},pie:{plotarea:{margin:"18 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":.95}},pie3d:{plotarea:{margin:"32 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":1}},nestedpie:{plotarea:{margin:"18 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":.95}},radar:{plotarea:{margin:"18 4 4 4"},plot:{"line-width":1,marker:{shadow:0,size:2}},scale:{"size-factor":.95}},vbar3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},hbar3d:{"3d-aspect":{depth:20,angle:45,"x-angle":0,"y-angle":-20,"z-angle":0,zoom:.9}},venn:{plotarea:{margin:"18 4 4 4"},plot:{"border-width":0}},gauge:{plotarea:{margin:"18 4 4 4"},plot:{indicator:[5]},SCALE:{visible:1},scale:{"size-factor":.9},"scale-r":{"background-color":"-1",aperture:270,tick:{visible:0},item:{visible:0},guide:{visible:0},ring:{size:6,"background-color":"#CDCDCD",items:[]},center:{"border-width":0,size:2,"background-color":"#fff"}}},vfunnel:{plotarea:{margin:"18 4 4 4"}},hfunnel:{plotarea:{margin:"18 4 4 4"}},vbullet:{plot:{"bar-space":.5,goal:{"border-width":0,height:4}}},hbullet:{plot:{"bar-space":.5,goal:{"border-width":0,width:4}}},range:{plot:{"line-width":1,marker:{visible:0},"hover-state":{visible:0}}},"-":""},this.O3.negative={palette:[["#000","#909090","#969696","#9c9c9c"],["#000","#a0a0a0","#a6a6a6","#acacac"],["#000","#b0b0b0","#b6b6b6","#bcbcbc"],["#000","#c0c0c0","#c6c6c6","#cccccc"],["#000","#d0d0d0","#d6d6d6","#dcdcdc"],["#000","#e0e0e0","#e6e6e6","#ececec"],["#000","#f0f0f0","#f6f6f6","#fcfcfc"]],graph:{"background-color":"#111",title:{color:"#fff"},subtitle:{color:"#333"},SCALE:{"font-size":11,"line-width":2,"line-color":"#ccc",guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#ccc",alpha:.2},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#ccc",alpha:.2},tick:{visible:1,size:6,placement:ZC._[18],"line-width":2,"line-color":"#ccc"},"minor-tick":{visible:1,size:4,placement:ZC._[18],"line-width":1,"line-color":"#ccc"},label:{color:"#fff"},item:{color:"#fff"}}},radar:{"scale-k":{guide:{alpha:.5,"background-color":"#222 #333"}}},"-":""},this.O3.spark=this.O3.mini,this.B8={root:{gui:{behaviors:[{id:"PageScroll",enabled:"all"},{id:"ViewSource",enabled:"all"},{id:"BugReport",enabled:"none"},{id:"LogScale",enabled:"none"},{id:"LinScale",enabled:"none"},{id:"FullScreen",enabled:"none"},{id:"3D",enabled:"none"},{id:"ExportData",enabled:"none"},{id:"SaveAsImageJPG",enabled:"none"},{id:"DownloadCSV",enabled:ZC.ie678?"none":"all"},{id:"DownloadXLS",enabled:ZC.ie678?"none":"all"}],watermark:{type:1,position:"rb"},history:{margin:"10 auto auto 10",width:30,height:22,padding:4,item:{"background-color":"#369","border-width":1,"border-color":"#69c"},"item-off":{"background-color":"#eee","border-color":"#ddd"}},progress:{"background-color":"#fff",color:"#000"},"context-menu":{padding:0,"border-width":1,"border-color":"#000",button:{visible:ZC.mobile,margin:"5 auto auto 5",alpha:.8,"background-color":"#333 #999","border-radius":8,width:40,height:40},gear:{"background-color":"#fff #f6f6f6",type:"gear6",alpha:.8},item:{"background-color":"#36393D","text-align":"left",padding:"4 20 4 8","border-width":1,"border-color":"#000",color:"#fff","hover-state":{"background-color":"#0084AA"}},separator:{"line-width":1,"line-color":"#000000"}},"context-menu[mobile]":{item:{padding:"6 10 6 6"}}}},palette:[],graph:{title:{width:"100%",bold:1,"font-size":13},subtitle:{width:"100%",bold:1,"font-size":11},scroll:{bar:{"background-color":"#e1eaec","border-color":"#ddd"},handle:{"background-color":"#ddd","border-color":"#ccc","border-width":2,"border-top":"2px solid #eee","border-left":"2px solid #eee","border-right":"2px solid #999","border-bottom":"2px solid #999"}},"scroll-x":{bar:{height:16},handle:{height:16}},"scroll-y":{bar:{width:16},handle:{width:16}},"scroll-xi":{bar:{width:16},handle:{width:16}},"scroll-yi":{bar:{height:16},handle:{height:16}},preview:{width:"100%",height:50,margin:"auto 50 20 50","border-width":1,shadow:0,"background-color":"#f0f0f0","border-color":"#999",mask:{alpha:.5,"background-color":"#333"},active:{alpha:.1,"background-color":"#999"},handle:{width:9,height:16,"border-width":1,"line-width":1,"line-color":"#111","border-color":"#444","border-radius":2,"background-color":"#e6e6e6"},"handle-top":{width:16,height:9},"handle-bottom":{width:16,height:9}},"preview[yx]":{width:50,height:"100%",margin:"60 auto 65 20"},plotarea:{width:"100%",height:"100%",margin:"60 50 65 50"},"plotarea[preview]":{margin:"60 50 105 50"},"plotarea[preview[yx]]":{margin:"60 50 65 105"},SCALE:{"line-width":1,guide:{"line-width":1,"line-color":"#ddd"},tick:{size:6,"line-width":2},"minor-guide":{"line-width":1,"line-color":"#ddd"},"minor-tick":{size:4,"line-width":1},label:{bold:1,padding:6,flat:!0},item:{padding:2,"auto-align":!0,flat:!0},marker:{"line-width":1,"line-color":"#000","background-color":"#ccc"},"transform[date]":{item:{"font-size":10,padding:2,color:"#000","background-color":"#fff"}}},"SCALE[3d]":{"background-color":"#ccc"},"scale-y[default]":{label:{angle:270},item:{"text-align":"right"}},"scale-y[opposite]":{label:{angle:90},item:{"text-align":"left"}},plot:{error:{"line-width":1,"line-color":"#333",size:.5},"value-box":{flat:!0,text:"%v",bold:1,placement:"auto",shadow:1},"tooltip-text":"%v",shadow:1,"line-width":1,marker:{type:"square",shadow:1},"highlight-state":{shadow:!0,"shadow-blur":2,"shadow-distance":1,"shadow-alpha":.91}},tooltip:{shadow:1,padding:"4 8","shadow-distance":3,"offset-y":ZC.mobile?-40:-20},"tooltip[dynamic]":{padding:"4 8","offset-y":0},guide:{marker:{type:"circle"},"plot-label[single]":{text:'%plot-text: %node-value',padding:10,"background-color":"#fff #eee","border-width":1,"border-color":"#999",color:"#000","text-align":"left"},"plot-label[multiple]":{text:'%plot-text: %node-value',padding:5,"background-color":"#fff #eee","border-width":1,"border-color":"#999",color:"#000","text-align":"left"}},zoom:{"preserve-zoom":1,"border-width":0,"background-color":"#369",alpha:.25,label:{visible:!1,"background-color":"#fff","font-size":10,padding:2,"border-width":1,"border-color":"#999"}},arrow:{"border-width":1,"border-color":"#000","background-color":"#666",size:4},"legend[position]":{margin:10},legend:{"background-color":"#eee",alpha:1,shadow:1,margin:"10 10 auto auto",padding:"4 2 4 2",item:{"text-align":"left",margin:"2 6 2 4",padding:"2 4"},"item-off":{alpha:.25},marker:{shadow:0,size:6,"border-color":"#999","border-width":1},header:{"font-size":12,"text-align":"left",bold:1},footer:{"text-align":"left"},icon:{"line-color":"#000","line-width":1},"page-status":{color:"#000"},"page-on":{"background-color":"#f90"},"page-off":{"background-color":"#999"},scroll:{bar:{width:12,height:12,"background-color":"#e1eaec","border-color":"#ddd"},handle:{width:12,height:12,"background-color":"#ddd","border-color":"#ccc","border-width":2,"border-top":"2px solid #eee","border-left":"2px solid #eee","border-right":"2px solid #999","border-bottom":"2px solid #999"}}}},vbar:{plot:{"value-box":{placement:"top-out"}}},vbar3d:{plot:{"value-box":{placement:"top-out"}},"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0}},mixed3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0}},hbar:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}},plot:{"value-box":{placement:"top-out"}}},vline:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}}},varea:{plot:{"fill-angle":0},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}}},hbar3d:{"scale-y":{label:{angle:0}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0}},"scale-x-n":{label:{angle:90}},"3d-aspect":{depth:40,angle:45,"x-angle":0,"y-angle":-20,"z-angle":0},plot:{"value-box":{placement:"top-out"}}},hbullet:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}}},line:{plot:{"line-width":4,marker:{type:"circle",size:4}}},area:{plot:{"line-width":4,marker:{type:"circle",size:4},"value-box":{placement:"top"}}},line3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0},plot:{"border-width":1,"line-width":1,marker:{type:"circle",size:4,alpha:1,visible:0}}},area3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0},plot:{"border-width":1,"line-width":1,marker:{type:"circle",size:4,alpha:1,visible:0},"value-box":{placement:"top"}}},scatter:{SCALE:{offset:10},plot:{marker:{type:"circle",size:4},"value-box":{placement:"top"}}},poly:{SCALE:{offset:10},plot:{"alpha-area":.4,marker:{type:"none"},"value-box":{placement:"top"}}},hscatter:{SCALE:{offset:10},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}},plot:{marker:{type:"circle",size:4},"value-box":{placement:"top"}}},bubble:{SCALE:{offset:40},plot:{marker:{type:"circle","fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"hover-marker":{"fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"value-box":{placement:"middle",text:"%node-size-value"},"tooltip-text":"%node-size-value"}},hbubble:{SCALE:{offset:40},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}},plot:{marker:{type:"circle","fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"hover-marker":{"fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"value-box":{placement:"middle",text:"%node-size-value"},"tooltip-text":"%node-size-value"}},hmixed:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}}},pie:{plotarea:{margin:"35 5 5 5"},scale:{"size-factor":"auto","line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"radial","value-box":{connector:{"line-width":1},placement:"out",text:"%t",visible:1}}},pie3d:{"3d-aspect":{"x-angle":38,"y-angle":0,"z-angle":0},plotarea:{margin:"25 5 5 5"},scale:{"size-factor":"auto","line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"linear","value-box":{connector:{"line-width":1},placement:"out",text:"%t",visible:1}}},nestedpie:{plotarea:{margin:"40 5 15 5"},scale:{"size-factor":.8,"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"radial","value-box":{connector:{"line-width":1},text:"%t",visible:1}}},venn:{plotarea:{margin:"30 10 10 10"},plot:{alpha:.5,"border-width":4},scale:{"size-factor":.65,"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}}},radar:{SCALE:{guide:{"line-width":1,"line-color":"#999","background-color":"-1"},tick:{"line-width":1},item:{"auto-align":!1}},scale:{visible:0,"size-factor":.7},"scale-k":{"ref-angle":270},plotarea:{margin:"40 5 5 5"},plot:{"line-width":4,aspect:"line",marker:{type:"circle"}}},gauge:{SCALE:{guide:{"border-width":1,"border-color":"#999","background-color":"-1"}},scale:{"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0},"size-factor":.7},"scale-r":{"ref-angle":270,"background-color":"#fff",guide:{"line-width":0},tick:{placement:"inner"},item:{"offset-r":"-45%"}},plot:{size:"85%"},plotarea:{margin:"40 5 5 5"}},stock:{plot:{"line-width":1,"border-width":1,"tooltip-text":"Open: $%open
High: $%high
Low: $%low
Close: $%close"}},range:{plot:{"line-width":2,"value-box":{text:"%node-min-value - %node-max-value"},"tooltip-text":"%node-min-value - %node-max-value"}},"-":""},this.Q3=function(t,e){var a,c=this,h=!1;return null!==ZC._n_(a=c.B8.graph[t])&&null!==ZC._n_(a.enabled)&&(h=h||ZC._b_(a.enabled)),null!==ZC._n_(c.B8[e])&&null!==ZC._n_(a=c.B8[e][t])&&null!==ZC._n_(a.enabled)&&(h=h||ZC._b_(a.enabled)),h},this.load=function(t,e,a,c){var h,_,f,m=this;a=null===ZC._n_(a)||ZC._b_(a),c=null!==ZC._n_(c)&&ZC._b_(c),e instanceof Array||(e=new Array(e));var v=[],E="";for(_=0,f=e.length;_'}return ZC.Q.FT("rect",t.E8,t.IT)+'class="'+A+'-label-area zc-label-area" id="'+t.K+"-area"+ZC._[30]+ZC._i_(t.iX+t.BL+ZC.MAPTX)+","+ZC._i_(t.iY+t.BH+ZC.MAPTX)+","+ZC._i_(t.iX+t.BL+t.I+ZC.MAPTX)+","+ZC._i_(t.iY+t.BH+t.F+ZC.MAPTX)+'" />'},NG:function(A){var t,e="",a=A.indexOf('id="');if(-1!==a){var c=A.indexOf('"',a+4);-1!==c&&(e=A.substring(a+4,c))}if(ZC.cache.data["area-score-"+e])return ZC.cache.data["area-score-"+e];var h=0;if(-1!==A.indexOf('shape="rect"')?(h+=1e4,5===(t=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(A)).length&&(h+=(ZC._i_(t[3])-ZC._i_(t[1]))*(ZC._i_(t[4])-ZC._i_(t[2])))):-1!==A.indexOf('shape="circle"')?(h+=100,t=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(A),null!==ZC._n_(t[3])&&(h+=ZC._i_(t[3])/10)):-1!==A.indexOf('shape="poly"')?-1!==A.indexOf("data-map")?h+=1e6:h+=1e3:h+=1,-1!==A.indexOf("data-z-sort")){var _=/data-z-sort=\"(\-*\d+)\"/.exec(A);_&&2===_.length&&(h*=ZC._i_(Math.pow(10,ZC._i_(_[1]))))}return""!==e&&ZC.cache.add("area-score-"+e,h),h},A69:function(A,t,e){for(var a=[],c=0,h=A.length;c=9&&(_=null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]?""+ZC._x_(_,t[ZC._[12]]):""+ZC._x_(_))}}else{var V=ZC.FU(ZC._a_(Number(_)))/Math.LN10;switch(ZC._a_(Number(_))){case 1e3:V=3;break;case 1e6:V=6;break;case 1e9:V=9}if(null!==ZC._n_(t["max-power"])&&(V=3*t["max-power"]),"KB"===m.toUpperCase())_=""+Number(_)/1024,c="KB";else if("MB"===m.toUpperCase())_=""+Number(_)/1048576,c="MB";else if("GB"===m.toUpperCase())_=""+Number(_)/1073741824,c="GB";else if("TB"===m.toUpperCase())_=""+Number(_)/1099511627776,c="TB";else if("PB"===m.toUpperCase())_=""+Number(_)/0x4000000000000,c="PB";else if(V>=0&&V<3)switch(m){default:c="";break;case"K":_=""+Number(_)/1e3,c="K";break;case"M":_=""+Number(_)/1e6,c="M";break;case"B":_=""+Number(_)/1e9,c="B"}else V>=3&&V<6&&""===m||"K"===m.toUpperCase()?(_=""+Number(_)/1e3,c="K"):V>=6&&V<9&&""===m||"M"===m.toUpperCase()?(_=""+Number(_)/1e6,c="M"):(V>=9&&""===m||"B"===m.toUpperCase())&&(_=""+Number(_)/1e9,c="B")}if(ZC.PQ(_))if(null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]])_=ZC._fixed_(Number(_),ZC.BQ(0,ZC._i_(t[ZC._[12]])));else{var $=_.split(".")[1]||"";-1!==t["max-decimals"]&&t["max-decimals"]<$.length&&(_=ZC._fixed_(Number(_),ZC.BQ(0,ZC._i_(t["max-decimals"]))))}null!==ZC._n_(t[ZC._[14]])&&(_=_.replace(/\./g,t[ZC._[14]]))}var y=e?e.K:"";if(!isNaN(_)&&("string"!=typeof h||-1===y.indexOf("-scale-"))){if(null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]&&ZC.PQ(_)&&(null!==ZC._n_(t.short)&&t.short||(_=ZC._fixed_(Number(_),ZC.BQ(0,ZC._i_(t[ZC._[12]]))))),null!==ZC._n_(t[ZC._[13]])||null!==ZC._n_(t[ZC._[14]])){for(var U=_.split("."),O="",Q=0,W=U[0].length;Q0)for(var a=0;a=100)return"#000000";A=ZC.AR.GE(A),typeof t===ZC._[31]&&(t=10);var e=ZC.RA(A.substring(1,3)),a=ZC.RA(A.substring(3,5)),c=ZC.RA(A.substring(5,7)),h=ZC.AR.AD7(e,a,c);h[2]=t>0?Math.max(0,h[2]-h[2]*t/100):Math.min(1,h[2]-h[2]*t/100);var _=ZC.AR.AD8(h[0],h[1],h[2]);return _[0]=ZC._i_(_[0])<16?"0"+ZC.P8(_[0]):ZC.P8(_[0]),_[1]=ZC._i_(_[1])<16?"0"+ZC.P8(_[1]):ZC.P8(_[1]),_[2]=ZC._i_(_[2])<16?"0"+ZC.P8(_[2]):ZC.P8(_[2]),"#"+_[0]+_[1]+_[2]},RC:function(A,t){if(-1===A)return-1;if(t>=100)return"#ffffff";A=ZC.AR.GE(A),typeof t===ZC._[31]&&(t=10);var e=parseInt(A.substr(1,2),16),a=parseInt(A.substr(3,2),16),c=parseInt(A.substr(5,2),16);return"#"+(0|256+e+(256-e)*t/100).toString(16).substr(1)+(0|256+a+(256-a)*t/100).toString(16).substr(1)+(0|256+c+(256-c)*t/100).toString(16).substr(1)},_hex2rgb_:function(A,t){var e=parseInt(A.substr(1,2),16),a=parseInt(A.substr(3,2),16),c=parseInt(A.substr(5,2),16);return ZC._n_(t)?"rgb("+e+","+a+","+c+")":{r:e,g:a,b:c}},_rgb2hex_:function(A,t,e){return"#"+((1<<24)+(A<<16)+(t<<8)+e).toString(16).slice(1)},AAR:function(A,t,e){var a=ZC.AR._hex2rgb_(A);return(299*a.r+587*a.g+114*a.b)/1e3>=128?e:t},_colorAlpha_:function(A,t,e){A=ZC.AR.GE(A),t=ZC.AR.GE(t);var a=ZC.AR._hex2rgb_(A),c=ZC.AR._hex2rgb_(t),h={};for(var _ in a)h[_]=Math.floor(e*a[_]+(1-e)*c[_]);return ZC.AR._rgb2hex_(h.r,h.g,h.b)},A4M:function(){},AC1:function(){},gc:function(A,t){var e;for(e=0;e")}catch{t=document.createElement("iframe")}else t=document.createElement("iframe");t.id=A.id+"-iframe",t.style.visibility="hidden",A.appendChild(t);var e=null,a=t.contentWindow||t.contentDocument;if(!(e=a.document?a.document:a).body){var c=e.createElement("HTML");e.appendChild(c);var h=e.createElement("HEAD");c.appendChild(h);var _=e.createElement("BODY");c.appendChild(_)}return e},BY:function(A){var t;if(typeof ZC.TOUCHEVENTS===ZC._[31]){if(ZC.ie678)t=!1;else{t=!0;try{document.createEvent("TouchEvent")}catch{t=!1}}t&&!ZC.mobile&&(t=!1),t&&(t="ontouchstart"in document.documentElement),ZC.TOUCHEVENTS=t}else t=ZC.TOUCHEVENTS;if(t)switch(A){case"mouseover":case"mousedown":case"click":A="touchstart";break;case"mousemove":A="touchmove";break;case"mouseout":case"mouseup":A="touchend"}return A},_sh_:function(A,t){var e,a,c,h=[],_=t.K1,f=t.OU,m=t.PH,v=_-m/2;if(A.length>0){var E=0,w=0;for(0!==_&&(E=ZC._i_(v*ZC.EI(f)+m),w=ZC._i_(v*ZC.EO(f)+m)),e=0,a=A.length;e=4&&(f[2]=A[2],f[3]=A[3]),A.length>=6&&(f[4]=A[4],f[5]=A[5]),7===A.length&&(f[6]=A[6]),t){case"canvas":case"svg":var m,v;e.CY&&(m=v=e.B1%2==1?.5:0,ZC.A5.browser.msie&&ZC.quirks&&"svg"===t&&(m=e.B1%2==1?.5:0,v=e.B1%2==1?0:.5),f[0]=Math.round(f[0])-m,f[1]=Math.round(f[1])-v,4===f.length&&(f[2]=Math.round(f[2])-m,f[3]=Math.round(f[3])-v)),"svg"===t&&(f[0]=parseFloat(f[0].toFixed(4)),f[1]=parseFloat(f[1].toFixed(4)),4===f.length&&(f[2]=parseFloat(f[2].toFixed(4)),f[3]=parseFloat(f[3].toFixed(4)))),"canvas"!==t||a||typeof e.BL!==ZC._[31]&&typeof e.BH!==ZC._[31]&&(f[0]+=e.BL,f[1]+=e.BH,4===f.length&&(f[2]+=e.BL,f[3]+=e.BH));break;case"vml":e.AA%360==0?(h=10,_=e.B1%2==1?0:h/2):(h=1,_=0),e.CY?(f[0]=h*ZC._i_(ZC._i_(h*f[0])/h)-_,f[1]=h*ZC._i_(ZC._i_(h*f[1])/h)-_,4!==f.length&&7!==f.length||(f[2]=h*ZC._i_(ZC._i_(h*f[2])/h)-_,f[3]=h*ZC._i_(ZC._i_(h*f[3])/h)-_),7===f.length&&(f[4]=h*ZC._i_(ZC._i_(h*f[4])/h)-_,f[5]=h*ZC._i_(ZC._i_(h*f[5])/h)-_)):(f[0]=ZC._i_(h*f[0]),f[1]=ZC._i_(h*f[1]),4!==f.length&&7!==f.length||(f[2]=ZC._i_(h*f[2]),f[3]=ZC._i_(h*f[3])),7===f.length&&(f[4]=ZC._i_(h*f[4]),f[5]=ZC._i_(h*f[5])))}return f},A3P:function(A,t,e,a,c){var h,_,f,m,v,E,w;if(e.R3&&(e.E["fast-vector-path"]=!0),!e.E["fast-vector-path"]){for(h=0,_=A.length;h<_;h++)A[h]&&(A[h][0]=parseFloat(Number(A[h][0]).toFixed(2)),A[h][1]=parseFloat(Number(A[h][1]).toFixed(2)));if(e.OJ&&(w=e.K+":"+e.AA+":"+A.join("#"),ZC.cache.data["path-points-"+w]))return ZC.cache.data["path-points-"+w].split("#")}var D=[ZC.MAX,ZC.MAX,-ZC.MAX,-ZC.MAX],M=[],T=!1;for(h=0,_=A.length;h<_;h++)if(null!==ZC._n_(A[h])){if(e.E["fast-vector-path"]){if(f=A[h],"vml"===t){var R=e.AA%360==0?10:1;f[0]=ZC._i_(R*f[0]),f[1]=ZC._i_(R*f[1]),4===f.length&&(f[2]=ZC._i_(R*f[2]),f[3]=ZC._i_(R*f[3]))}}else f=ZC.Q._txp_(A[h],t,e,a,c);if(null!==ZC._n_(f)&&!isNaN(f[0])&&!isNaN(f[1])&&isFinite(f[0])&&isFinite(f[1]))if(_<=20&&a&&(D[0]=ZC.CX(D[0],f[0]/("vml"===t?10:1)),D[1]=ZC.CX(D[1],f[1]/("vml"===t?10:1)),D[2]=ZC.BQ(D[2],f[0]/("vml"===t?10:1)),D[3]=ZC.BQ(D[3],f[1]/("vml"===t?10:1))),0===h)M.push(("svg"===t?"M ":"m ")+f[0]+" "+f[1]);else if(T&&(M.push(("svg"===t?"M ":"m ")+f[0]+" "+f[1]),T=!1),2===f.length)M.push(("svg"===t?"L ":"l ")+f[0]+" "+f[1]);else if(4===f.length)M.push(("svg"===t?"Q ":"qb ")+f[0]+" "+f[1]+" "+f[2]+" "+f[3]),"vml"===t&&M.push("l "+f[2]+" "+f[3]);else if(6===f.length)if("svg"===t){var V=0;f[3]%360==f[4]%360&&(V=f[4]>=f[3]?.001:-.001),m=ZC.AP.BN(f[0],f[1],f[2],f[3]+V),v=ZC.AP.BN(f[0],f[1],f[2],f[4]-V),E="0 0",0===f[5]?f[4]-f[3]>360?(E="0 1",v[0]=m[0],v[1]=m[1]):E=f[4]-f[3]<=180?"0 1":"1 1":f[3]-f[4]>360?(E="0 0",v[0]=m[0],v[1]=m[1]):E=f[3]-f[4]<=180?"0 0":"1 0",M.push("a "+f[2]+","+f[2]+" 0 "+E+" "+(v[0]-m[0])+","+(v[1]-m[1]))}else"vml"===t&&(f[2]*=10,m=ZC.AP.BN(f[0],f[1],f[2],f[3]),v=ZC.AP.BN(f[0],f[1],f[2],f[4]),M.push((E=1===f[5]?"at":"wa")+" "+ZC._i_(f[0]-f[2])+","+ZC._i_(f[1]-f[2])+","+ZC._i_(f[0]+f[2])+","+ZC._i_(f[1]+f[2])+" "+ZC._i_(m[0])+","+ZC._i_(m[1])+" "+ZC._i_(v[0])+","+ZC._i_(v[1])));else 7===f.length&&M.push(("svg"===t?"C ":"c ")+f[0]+" "+f[1]+" "+f[2]+" "+f[3]+" "+f[4]+" "+f[5])}else T=!0;return e.E["fast-vector-path"]||e.OJ&&ZC.cache.add("path-points-"+w,M.join("#")),e.H&&_<=20&&a&&(e.H.E[e.K+"-bounds"]=D),M},MR:function(A,t){var e,a,c=A.originalEvent||A.originalEventZC;return t=ZC._i_(t||"0"),c&&c.touches?c.touches.length>0?(e=c.touches[t].pageX,a=c.touches[t].pageY):c.changedTouches.length>0&&(e=c.changedTouches[t].pageX,a=c.changedTouches[t].pageY):(e=A.pageX,a=A.pageY),[ZC._i_(e||"0"),ZC._i_(a||"0")]},F8:function(A,t,e){var a;return e=e||document,null!==ZC._n_(t)?e.createElementNS?a=e.createElementNS(t,A):(a=e.createElement(A)).setAttribute("xmlns",t):a=e.createElement(A),"zcv:"===A.substring(0,4)&&(a.className="zcvml"),a},EV:function(A){var t;A instanceof Array||(A=[A]);for(var e=0,a=A.length;e1024&&typeof A.innerHTML!==ZC._[31])return void(A.innerHTML="");if(m>0)for(var v=m-1;v>=0;v--)(""===_||0===A.childNodes[v].id.indexOf(_+"-"))&&A.removeChild(A.childNodes[v])}},EA:function(A,t){switch("string"==typeof A&&(A=ZC.AM(A)),t){case"canvas":return A.getContext("2d");case"svg":case"vml":return A}},K8:function(A,t){switch(t){case"svg":return ZC.Q.AC2(A);case"vml":case"canvas":return ZC.Q.IC(A)}},HO:function(A,t){switch(t){case"svg":return ZC.Q.AC2(A);case"vml":return ZC.Q.IC(A);case"canvas":return ZC.Q.ADD(A)}},AC2:function(A){var t;if(ZC.AM(A.id))return ZC.AM(A.id);var e=ZC.Q.F8("g",ZC._[36]);return null!==ZC._n_(t=A.id)&&e.setAttribute("id",t),null!==ZC._n_(t=A.cls)&&e.setAttribute("class",t),null!==ZC._n_(t=A.zidx)&&e.setAttribute("z-index",t),null!==ZC._n_(t=A["clip-path"])&&e.setAttribute("clip-path",t),A.after?A.p.insertBefore(e,A.after.nextSibling):A.p.appendChild(e),e},Y3:function(A){var t;ZC.Q.EV(A.id);var e=ZC.Q.F8("clipPath",ZC._[36]);return e.id=A.id,null!==ZC._n_(A.cx)?((t=ZC.Q.F8("circle",ZC._[36])).id=A.id+"-shape",ZC.Q.G7(t,{cx:A.cx,cy:A.cy,r:A.r})):((t=ZC.Q.F8("polygon",ZC._[36])).id=A.id+"-shape",ZC.Q.G7(t,{points:A.path})),e.appendChild(t),e},ADD:function(A){var t;if(ZC.AM(A.id))return ZC.AM(A.id);var e=document.createElement("canvas"),a=e.style;if(null!==ZC._n_(t=A.id)&&(e.id=t),null!==ZC._n_(t=A.cls)&&(e.className=t),null!==ZC._n_(t=A.wh)){var c=(""+t).split("/");A[ZC._[19]]=c[0],A[ZC._[20]]=c[1]}if(null!==ZC._n_(t=A.tl)){var h=(""+t).split("/");A.top=h[0],A.left=h[1]}return e.width=A[ZC._[19]],e.height=A[ZC._[20]],null!==ZC._n_(t=A.left)&&(a.left=t+"px"),null!==ZC._n_(t=A.top)&&(a.top=t+"px"),null!==ZC._n_(t=A.display)&&(a.display=t),null!==ZC._n_(t=A.position)&&(a.position=t),null!==ZC._n_(t=A.zidx)&&(a.zIndex=t),A.p.appendChild(e),e},IC:function(A){var t,e,a,c,h,_;if(ZC.AM(A.id))return a=ZC.AM(A.id),null!==ZC._n_(t=A.wh)&&(h=(""+t).split("/"),a.style.width=h[0]+"px",a.style.height=h[1]+"px"),null!==ZC._n_(t=A.tl)&&(_=(""+t).split("/"),a.style.top=_[0]+"px",a.style.left=_[1]+"px"),a;(c=(a=document.createElement("div")).style).whiteSpace="nowrap",null!==ZC._n_(t=A.wh)&&(h=(""+t).split("/"),A[ZC._[19]]=h[0],A[ZC._[20]]=h[1]),null!==ZC._n_(t=A.tl)&&(_=(""+t).split("/"),A.top=_[0],A.left=_[1]),null!==ZC._n_(t=A.id)&&(a.id=t),null!==ZC._n_(t=A.cls)&&""!==t&&(a.className=t);for(var f=[["top","","px"],["left","","px"],[ZC._[19],"","px"],[ZC._[20],"","px"],"position","overflow",["float","cssFloat|styleFloat"],["zidx","zIndex"],"clip","display",["fontSize","","px"],"fontFamily","fontWeight","fontStyle","textDecoration","textAlign","verticalAlign","color","border","borderTop","borderRight","borderBottom","borderLeft","background","cursor",["margin","marginTop|marginRight|marginBottom|marginLeft","px"],["marginTop","","px"],["marginRight","","px"],["marginBottom","","px"],["marginLeft","","px"],["padding","paddingTop|paddingRight|paddingBottom|paddingLeft","px"],["paddingTop","","px"],["paddingRight","","px"],["paddingBottom","","px"],["paddingLeft","","px"],"lineHeight","filter"],m=null,v=null,E=null,w=0,D=f.length;w")&&ZC.A5(a).children().each(function(){null!==ZC._n_(m)&&(null!==ZC._n_(this.style.fontFamily)&&""!==this.style.fontFamily||(this.style.fontFamily=m)),null!==ZC._n_(v)&&(null!==ZC._n_(this.style.fontSize)&&""!==this.style.fontSize||(this.style.fontSize=v+"px")),null!==ZC._n_(E)&&(null!==ZC._n_(this.style.fontWeight)&&""!==this.style.fontWeight||(this.style.fontWeight=E))})),A.rtl&&(a.style.unicodeBidi="bidi-override",a.style.direction="rtl"),A.cursor&&"hand"===A.cursor&&(a.style.cursor="pointer"),a},WI:null,A4Y:function(A,t,e,a,c,h,_){var f,m,v,E;null===ZC._n_(_)&&(_=!1);var w=!1;"[HTMLMODE]"===t.substring(0,10)&&(w=!0,t=t.substring(10)),E=A+"-text-ruler",-1!==A.indexOf("-fullscreen")&&(E="zc-text-ruler");var D="{{"+t+"}}"+e.replace(/[^a-z]/gi,"").toLowerCase()+a+h+c;if(ZC.cache.data["text-width-"+D]&&!_)return ZC.cache.data["text-width-"+D];if(ZC.cache.data["text-height-"+D]&&_)return ZC.cache.data["text-height-"+D];var M,T=t;return T=T.replace(/
/g,'
'),(M=ZC.AM(E))?(ZC.Q.WI&&ZC.Q.WI===A+e+a+h+c||(M.style.fontFamily=e,M.style.fontSize=a+"px",M.style.fontWeight=c,M.style.lineHeight=w?"130%":-1!==h?ZC._i_(h)+"px":"130%",ZC.Q.WI=A+e+a+h+c),M.innerHTML=T):(M=ZC.Q.IC({id:E,p:document.body,tl:"-9999/-9999",html:T,position:"absolute",fontFamily:e,fontSize:a,cls:"zc-text-ruler",fontWeight:c})).style.lineHeight=w?"130%":-1!==h?ZC._i_(h)+"px":"130%",-1===t.indexOf("<")||-1===t.indexOf(">")||w||ZC.A5(M).children().each(function(){"BR"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontFamily)&&""!==this.style.fontFamily||(this.style.fontFamily=e),null!==ZC._n_(this.style.fontSize)&&""!==this.style.fontSize||(this.style.fontSize=a+"px"),this.style.lineHeight=-1!==h?ZC._i_(h)+"px":"130%","B"!==this.tagName.toUpperCase()&&"STRONG"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontWeight)&&""!==this.style.fontWeight||(this.style.fontWeight=c)))}),(f=M.getBoundingClientRect())&&f.width>0?(m=f.width,_&&(v=f.height)):(m=ZC.mobile&&ZC.A5.browser.webkit?M.offsetWidth:ZC.A5(M).width(),_&&(v=ZC.mobile&&ZC.A5.browser.webkit?M.offsetHeight:ZC.A5(M).height())),_?(ZC.cache.add("text-height-"+D,v),v):(ZC.cache.add("text-width-"+D,m),m)}},!document.getElementsByClassName&&document.querySelectorAll&&(document.getElementsByClassName=function(A){return document.querySelectorAll("."+A)}),ZC.A5=function(A,t,e){var a,c,h,_,f=this;if(typeof e===ZC._[31]&&(e=!0),e)return new ZC.A5(A,t,!1);if(f.PB=[],f.QJ=A,f.MK=t,f.length=0,f.MK=f.MK||document.getElementsByTagName("body")[0],"object"==typeof f.QJ)f.PB=[f.QJ];else if("string"==typeof f.QJ)for(var m=f.QJ.split(","),v=0;v")).length&&(w=!0,ZC.A5(a[0]).each(function(){var V=this;ZC.A5(a[1],this).each(function(){this.parentNode===V&&f.PB.push(this)})})),2===(a=E.split(" ")).length&&(w=!0,ZC.A5(a[0]).each(function(){ZC.A5(a[1],this).each(function(){f.PB.push(this)})})),!w)if("#"===E.substring(0,1))ZC.AM(E.substring(1))&&(f.PB=[ZC.AM(E.substring(1))]);else if("."===E.substring(0,1))if(document.getElementsByClassName){if(f.MK.getElementsByClassName)c=f.MK.getElementsByClassName(E.substring(1));else if(c=document.getElementsByClassName(E.substring(1)),f.MK!==document){var D=[];for(h=0,_=c.length;h<_;h++)ZC.A5.childof(c[h],f.MK)&&D.push(c[h]);c=D}for(h=0,_=c.length;h<_;h++)f.PB.push(c[h])}else{var M=new RegExp("(^|\\s)"+E.substring(1)+"(\\s|$)","i"),T=f.MK.getElementsByTagName("*"),R="";for(h=0,_=T.length;h<_;h++)"object"==typeof(R=T[h].className)&&(R=typeof R.baseVal!==ZC._[31]?R.baseVal:""),""!==R&&M.test(R)&&f.PB.push(T[h])}else for(h=0,_=(c=f.MK.getElementsByTagName(E)).length;h<_;h++)f.PB.push(c[h])}return f.length=f.PB.length,this},ZC.A5.prototype={eachfn:function(){for(var A,t=[],e=0,a=this.PB.length;e1)for(var h=1;h1)for(var c=1;c=0;a--)e[a][0]!==h||t&&e[a][1]!==t||ZC.A5.EVENTS[A].splice(a,1);return this}}},ZC.A5._list_=function(A){for(var t=[],e=0;e=200&&m.status<300)&&f&&f(m.responseText,m.status,m,t),m.status>=400&&_&&_(m,m.status,m.statusText,t),m.onreadystatechange=new window.Function,m=null)}),window.ActiveXObject||(m.onerror=function(){_&&_(m,0,"",t)}),"POST"===e.toUpperCase()?(m.open("POST",t,c),m.setRequestHeader("X-Requested-With","XMLHttpRequest"),m.setRequestHeader("Content-type","application/x-www-form-urlencoded")):(""!==a&&(-1===t.indexOf("?")&&(t+="?"),t+="&"+a),m.open("GET",t,c)),h&&h(m);try{m.send(a),c||((v||m.status>=200&&m.status<300)&&f&&f(m.responseText,m.status,m,t),m.status>=400&&_&&_(m,m.status,m.statusText,t),m=null)}catch{v&&_&&(_(m,m.status,m.statusText,t),m.onreadystatechange=new window.Function,m=null)}}},ZC.AP={ACO:function(A,t){var e,a,c=zingchart.DEV.SPREADFACTOR,h=[],_=0;function f(R,V){-1===ZC.AV(R,V)&&R.push(V)}for(e=0;e1?A[e-2]:t,-1===m&&(m=h[_].min)),f(h[_].items,e-1),f(h[_].items,e)):h[_]&&(h[_].max=A[e],_++);h[_]&&-1===h[_].max&&(h[_].max=360+t);var v=h.length;if(v>1&&h[v-1].max-h[0].min==360){for(a=0;a1&&(h[h.length-1].max=h[0].min+360),e=0;et.x+t.width+(e=e||1)||t.x>A.x+A.width+e||A.y>t.y+t.height+e||t.y>A.y+A.height+e)},_boxoverlap2_:function(A,t,e){return!(A.iX>t.iX+t.I+(e=e||1)||t.iX>A.iX+A.I+e||A.iY>t.iY+t.F+e||t.iY>A.iY+A.F+e)},AGJ:function(A,t){return A.iX>=t.iX&&A.iX<=t.iX+t.I&&A.iY>=t.iY&&A.iY<=t.iY+t.F&&A.iX+A.I>=t.iX&&A.iX+A.I<=t.iX+t.I&&A.iY+A.F>=t.iY&&A.iY+A.F<=t.iY+t.F},A71:function(A,t,e){for(var a=Math.sqrt(A/Math.PI),c=Math.sqrt(t/Math.PI),h=Math.min(a,c),_=Math.max(a,c),f=ZC.MAX,m=0,v=h+_;v>_-h;v-=h/50){var E=h*h*Math.acos((v*v+h*h-_*_)/(2*v*h))+_*_*Math.acos((v*v+_*_-h*h)/(2*v*_))-.5*Math.sqrt((-v+h+_)*(v+h-_)*(v-h+_)*(v+h+_));Math.abs(E-e)t&&A[E-1]&&(Math.sqrt((A[E][0]-A[E-1][0])*(A[E][0]-A[E-1][0])+(A[E][1]-A[E-1][1])*(A[E][1]-A[E-1][1]))>t&&E-h>1&&(m+=Math.round(A[E-1][0]+v+a,10)+","+Math.round(A[E-1][1]+v+c,10)+","),_=A[E][0]+v+a,f=A[E][1]+v+c,h=E,m+=Math.round(_,10)+","+Math.round(f,10)+","));return m.substring(0,m.length-1)},ZL:function(A,t){if(null===ZC._n_(A)||A.length<2)return"";null===ZC._n_(t)&&(t=6,ZC.mobile&&(t+=10));var e,a,c,h,_,f=[];for(e=0,a=A.length;e0&&null!==ZC._n_(A[e])&&null!==ZC._n_(A[e-1])&&A[e].join("/")!==A[e-1].join("/")||null===ZC._n_(A[e]))&&f.push(A[e]);var m=[],v=[],E=!1;for(e=0,a=f.length;e=R&&(_+=180),m.push(ZC.AP.BN(R,V,t,h+90),ZC.AP.BN(R,V,t,_),ZC.AP.BN(R,V,t,h+270));else if(e===f.length-1)c=Math.atan((T-V)/(M-R)),_=h=ZC.UI(c),M>=R&&(_+=180),E?(v.push(ZC.AP.BN(R,V,t,h+270),ZC.AP.BN(R,V,t,_),ZC.AP.BN(R,V,t,h+90)),E=!1):m.push(ZC.AP.BN(R,V,t,h+270),ZC.AP.BN(R,V,t,_),ZC.AP.BN(R,V,t,h+90));else{var $=Math.atan((D-V)/(w-R)),y=Math.atan((V-T)/(R-M));_=ZC.UI(($+y)/2),m.push(ZC.AP.BN(R,V,t,_+270)),w>=R&&M>=R?(m.push(ZC.AP.BN(R,V,t,_+180)),m.push(ZC.AP.BN(R,V,t,_+90)),v.push(ZC.AP.BN(R,V,t,_)),E=!0):w<=R&&M<=R?(m.push(ZC.AP.BN(R,V,t,_)),m.push(ZC.AP.BN(R,V,t,_+90)),v.push(ZC.AP.BN(R,V,t,_+180)),E=!0):v.push(ZC.AP.BN(R,V,t,_+90))}}for(e=v.length-1;e>=0;e--)m.push(v[e]);return m},A2Y:function(A,t){var e=0,a=0,c=[];switch(A+=""){case"horizontal":case"h":e=1,a=t;break;case"vertical":case"v":e=t,a=1;break;default:c=A.split("x"),null!==ZC._n_(c[0])&&ZC._i_(c[0])+""===c[0]&&(e=ZC._i_(c[0])),null!==ZC._n_(c[1])&&ZC._i_(c[1])+""===c[1]&&(a=ZC._i_(c[1])),0===a&&0===e?(e=Math.ceil(Math.sqrt(t)),a=Math.ceil(t/e)):(0===a&&(a=Math.ceil(t/e)),0===e&&(e=Math.ceil(t/a)))}return[e,a]},ABJ:function(A,t){return.5*(2*t[1]+(-t[0]+t[2])*A+(2*t[0]-5*t[1]+4*t[2]-t[3])*A*A+(3*t[1]-t[0]-3*t[2]+t[3])*A*A*A)},ABU:function(A,t){var e,a,c,h,_,f=A.length,m=[],v=[],E=[];for(e=0;ey))return t[O];W=O-1}}U=Math.max(0,W);var ee=y-A[U],ne=ee*ee;return t[U]+w[U]*ee+T[U]*ne+R[U]*ee*ne}},YY:function(A,t,e,a){null===ZC._n_(a)&&(a=1/(e/t.length*4));var c,h,_=[];if(A)if((c=[].concat(t))[1]&&c[2]){c[0]=c[0]||c[1]||c[2]||c[3],c[1]=c[1]||c[2]||c[0]||c[3],c[2]=c[2]||c[3]||c[1]||c[0],c[3]=c[3]||c[2]||c[1]||c[0];var f=ZC.AP.ABU([0,1,2,3],c);for(h=1;h<=2;h+=a)_.push([h-1,f(h)])}else _.push([]);else for(var m=1;m1||T<0||T>1?null:[c+M*(_-c),h+M*(f-h)]},_outside_:function(A,t){return A[0]t[2]||A[1]t[3]},_angle_:function(A,t){return Math.atan2(t[1]-A[1],t[0]-A[0])}},ZC.YA={md5:function(A){return ZC.YA.ACY(ZC.YA.ACZ(ZC.YA.ACV(A)))},ACZ:function(A){return ZC.YA.ACK(ZC.YA.AD0(ZC.YA.ACL(A),8*A.length))},ACY:function(A){for(var t,e="",a=0,c=A.length;a>>4&15)+"0123456789abcdef".charAt(15&t);return e},ACV:function(A){for(var t,e,a="",c=-1,h=A.length;++c>>6&31,128|63&t):t<=65535?a+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(a+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return a},ACL:function(A){var t,e=Array(A.length>>2);for(t=0;t>5]|=(255&A.charCodeAt(t/8))<>5]>>>e%32&255);return t},AD0:function(A,t){function e(y,U,O,Q,W,ae){return f((ee=f(f(U,y),f(Q,ae)))<<(ne=W)|ee>>>32-ne,O);var ee,ne}function a(y,U,O,Q,W,ae,ee){return e(U&O|~U&Q,y,U,W,ae,ee)}function c(y,U,O,Q,W,ae,ee){return e(U&Q|O&~Q,y,U,W,ae,ee)}function h(y,U,O,Q,W,ae,ee){return e(U^O^Q,y,U,W,ae,ee)}function _(y,U,O,Q,W,ae,ee){return e(O^(U|~Q),y,U,W,ae,ee)}function f(y,U){var O=(65535&y)+(65535&U);return(y>>16)+(U>>16)+(O>>16)<<16|65535&O}A[t>>5]|=128<>>9<<4)]=t;for(var m=1732584193,v=-271733879,E=-1732584194,w=271733878,D=0,M=A.length;Dzingchart.DEV.MAXPOOLSIZE?(zingchart.pool.data={},zingchart.pool.size=0):zingchart.pool.data[e]=c}return c},zingchart.i18n={},zingchart.THEMES={},zingchart.V3D=2,zingchart.QUOTEDVALUES=!1,zingchart.EDITSOURCE=1,zingchart.MODULESDEP={line:"xy",line3d:"3d,line",area:"xy",area3d:"3d,area",vline:"yx",varea:"yx",vbar:"xy",vbar3d:"3d,vbar",hbar:"yx",hbar3d:"3d,hbar",scatter:"xy",bubble:"xy",hscatter:"yx",hbubble:"yx",pie:"r",pie3d:"3d,pie",nestedpie:"r",gauge:"r",vbullet:"vbar",hbullet:"hbar",vfunnel:"xy",hfunnel:"yx",piano:"xy",radar:"r",range:"xy",vrange:"yx",stock:"xy,vbar",venn:"r"},zingchart.SKIP={EVENT:!1,ANIMATION:!1,LEGEND:!1,CSV:!1,PARSE3D:!1},zingchart.MODULESDIR=function(A){for(var t=0;t-1)return A[t].src.split("zingchart.min.js")[0]+"modules/";return"./modules/"}(document.getElementsByTagName("head")[0].childNodes),zingchart.DEV={DOMFRAGMENTS:1,SORTTOKENS:1,PLOTSTATS:1,RESOURCES:1,KEEPSOURCE:1,SPREADTYPE:0,SPREADFACTOR:10,IGNORESUBUNIT:0,DELAYEDTRACKERS:0,STACKINGLOGIC:-1,SMARTDATELABELS:0,GC:1,CACHECANVASTEXT:0,CHECKDECIMALS:0,CACHESELECTION:0,MEDIARULES:1,SKIPTRACKERS:0,PLOTSHLAYER:0,RESIZESPEED:250,DEBOUNCESPEED:250,LOCALSVGEXPORT:1,SKIPPROGRESS:0,SKIPCONTEXTMENU:0,COPYDATA:1,GUIDETIMEOUT:0,LOOKUPCSSTRANSFORM:0,MAPSONBOTTOM:0,MAXPOOLSIZE:1024,MINTRACKERDIFF:1.5,TRACKERMASKING:2,COPYVALUES:1},zingchart.CANVASTEXT=0,zingchart.ZINDEX=1,zingchart.CMZINDEX=9999,zingchart.FSZINDEX=9998,zingchart.FSID=null,zingchart.ZCOUTPUT=0,zingchart.ASYNC=0,zingchart.SORTTRACKERS=0,zingchart.TIMEOUT=0,zingchart.USERCSS={},zingchart.OBJECTMODE="normal",zingchart.SYNTAX="mixed",zingchart.THEME=null,zingchart.EXPORTURL=("file:"===document.location.protocol?"http:":document.location.protocol)+"//export.zingchart.com/",zingchart.AJAXEXPORT=!1,zingchart.TOUCHZOOM="normal",zingchart.DEFAULT={height:480,width:640},zingchart.FASTWIDTH=0,zingchart.FONTSIZE=11,zingchart.FONTFAMILY="Lucida Sans Unicode,Lucida Grande,Lucida Sans,Helvetica,Arial,sans-serif",ZC.mobile&&(zingchart.FONTFAMILY="Lucida Sans,Helvetica,Arial,sans-serif"),zingchart.loadModules=function(A,t){for(var e=(""+A).split(","),a=0,c=e.length;a100){if(c>ZC.GESTURE.dist+50)ZC.GESTURE.type="pinch-in",zingchart.exec(ZC.GESTURE.id,"zoomin");else if(cZC.GESTURE.mp[0]+10?(_["x-"]=!0,_.xdist=ZC._a_(ZC.GESTURE.mp[0]-h[0])):h[0]ZC.GESTURE.mp[1]+10?(_["y+"]=!0,_.ydist=ZC._a_(ZC.GESTURE.mp[1]-h[1])):h[1]=a.P.iX&&h<=a.P.iX+a.P.I&&_>=a.P.iY&&_<=a.P.iY+a.P.F,touch:ZC.mobile}},typeof zingchart.SQ===ZC._[31]&&(zingchart.SQ=function(A){for(var t=0,e=zingchart.IA.length;t1)){var a=zingchart.XJ(A);if(a){if("click"===A.type&&ZC.aMDXY&&(ZC._a_(ZC.aMDXY[0]-A.pageX)>2||ZC._a_(ZC.aMDXY[1]-A.pageY)>2))return;if(!zingchart.SKIP.EVENT){var c=zingchart.A14(A,a);c.target=zingchart.plugins.CLICK_TARGET||c.target,zingchart.plugins.CLICK_TARGET=null,ZC.mobile&&"touchend"===A.type&&(a.E["click-ts"]&&(new Date).getTime()-a.E["click-ts"]<500&&ZC.AR.C1("dblclick",a,c),a.E["click-ts"]=(new Date).getTime()),ZC.AR.C1("dblclick"===A.type?"dblclick":"click",a,c)}zingchart.SKIP.EVENT=!1,A.target.id!==a.K+"-menu-area"?a.hideCM():zingchart.ZN(A)}}},ZC.mobile?(ZC.A5(document).bind("touchmove",function(){ZC.move=!0}),ZC.A5(document).bind("touchend",function(){ZC.move=!1})):(ZC.A5(document).bind("click",zingchart.SQ),ZC.A5(document).bind("dblclick",zingchart.SQ))),typeof zingchart.A3H===ZC._[31]&&(zingchart.A3H=function(A){A.touches.length>0&&(ZC.TOUCHEVENTS=!0)},ZC.A5(document).bind("touchstart",zingchart.A3H)),typeof zingchart.ZN===ZC._[31]&&(zingchart.ZN=function(A,t,e){if(!(A&&A.target&&A.target.tagName&&"IMG"!==A.target.tagName.toUpperCase()&&"AREA"!==A.target.tagName.toUpperCase()&&-1===ZC.Q.TJ(A.target).indexOf("zc-scroll")&&-1===A.target.id.indexOf("-legend-")&&-1===A.target.id.indexOf("-preview-"))||zingchart.DEV.SKIPTRACKERS){var a,c,h,_,f,m;e=e||{};var v=null===ZC._n_(t)?zingchart.XJ(A):zingchart.getLoader(t);if(v){if(-1!==ZC.AV(v.KX,ZC._[38])||(null===ZC._n_(t)?(c=ZC.Q.MR(A),a=v.A2A(c[0],c[1])):a=null!==ZC._n_(e[ZC._[3]])?v.OT(e[ZC._[3]]):v.AG[0],!a))return!1;var E=ZC.A5("#"+v.K+"-top");null===ZC._n_(t)?(h=c[0]-E.offset().left,_=c[1]-E.offset().top):(h=v.I/2,_=v.F/2);var w={};A&&(w=zingchart.A14(A,v));var D=ZC.AR.C1("contextmenu",v,w,!0);if(!D&&typeof D!==ZC._[31]&&(!A&&!e["from-api"]||A&&A.target.id!==v.K+"-menu-area"))return A.preventDefault(),!1;var M=ZC._tx_(v.K);v.A1D(a?a.L:-1,A);var T=-1;if(0!==zingchart.CMZINDEX)T=zingchart.CMZINDEX;else for(var R=ZC.AM(v.K);-1===T&&null!==R.parentNode;)"auto"!==(T=ZC._i_(ZC.A5(R).css("zIndex")))&&""!==T&&null!==ZC._n_(T)||(T=-1),R=R.parentNode;T&&-1!==T&&null!==ZC._n_(T)||(T=1);var V=ZC.A5("#"+v.K+"-menu");if(V.css("zIndex",zingchart.ZINDEX+T+1),null===ZC._n_(t)){if(A.target.id===v.K+"-print-png"||A.target.id===v.K+"-print-jpeg")return!0;A.preventDefault()}if(!ZC.AM(v.K+"-menu"))return!1;h=E.offset().left,_=E.offset().top;var $=E.width(),y=E.height();null===ZC._n_(t)?(f=(c=ZC.Q.MR(A))[0]||ZC.E1[0],m=c[1]||ZC.E1[1]):(f=h+v.I/2,m=_+5);var U=!1;if(v.UJ("goback",!1),v.O7>0&&(v.UJ("goback",!0),U=!0),v.UJ("goforward",!1),v.O7=h&&f<=h+$*M[0]&&m>=_&&m<=_+y*M[1]){ZC.A5(".zc-menu").each(function(){this.id!==v.K+"-menu"&&v.hideCM()}),v.T1=[f,m,null===ZC._n_(t)?A.target.id:t],V.css("opacity",0).show();var O,Q,W=ZC._i_(V.css(ZC._[19]))+ZC._i_(V.css("paddingLeft"))+ZC._i_(V.css("paddingRight")),ae=ZC._i_(V.css(ZC._[20]))+ZC._i_(V.css("paddingTop"))+ZC._i_(V.css("paddingBottom")),ee=1,ne=!1;if(v.o.gui&&v.o.gui["context-menu"]&&v.o.gui["context-menu"]&&(ee=v.o.gui["context-menu"].alpha?v.o.gui["context-menu"].alpha:1,ne=v.o.gui["context-menu"].docked),V.css("opacity",ee).hide(),"classic"!==v.LV&&ne)ne&&(ZC._cp_(v.o.gui["context-menu"],v.B8.O3[v.LV].root.gui["context-menu"]),O="left"!==v.o.gui["context-menu"].position&&ZC._n_(v.o.gui["context-menu"].position)?E.offset().left+E.width()-W:E.offset().left),Q=E.offset().top,V.css("left",ZC.BQ(1,O)+"px").css("top",ZC.BQ(1,Q)+"px").css(ZC._[20],E.height()+"px").css("box-sizing","border-box").show(),V=ZC.A5("#"+v.K+"-menu"),ne&&V.PB[0].scrollHeight>E.height()&&V.css("overflow-y","scroll");else{if(null===ZC._n_(t)&&A.target.id===v.K+"-menu-area"){ZC.AM(v.K+"-menu").style.paddingTop=0;var te=ZC.A5("#"+v.K+"-menu-area").attr("coords").split(","),le=ZC._i_(te[3])-ZC._i_(te[1]);ZC.AM(v.K+"-menu").style.backgroundPosition=ZC._i_(te[0])>v.I/2?"100% 0% !important":"0% 0% !important",O=h+(ZC._i_(te[0])>v.I/2?ZC._i_(te[2])-W:ZC._i_(te[0])),Q=_+(ZC._i_(te[1])>v.F/1.25?ZC._i_(te[3])-ae-le:ZC._i_(te[3]))}else ZC.AM(v.K+"-menu").style.backgroundPosition="50% 0% !important",O=v.T1[0]-W/2,Q=v.T1[1],ae>v.F*M[1]?Q=_:Q-_+ae>v.F*M[1]&&(Q=ZC.BQ(Q-ae,v.F*M[1]-ae)),Oh+v.I*M[0]&&(O=ZC.CX(h+v.I*M[0]-W/2,O-W/2));if(e.position)switch(e.position){case"top":break;case"top-left":O=O-(v.I*M[0]-W)/2+5;break;case"top-right":O=O+(v.I*M[0]-W)/2-5;break;case"bottom":Q=Q+(v.F*M[1]-ae)-10;break;case"bottom-left":Q=Q+(v.F*M[1]-ae)-10,O=O-(v.I*M[0]-W)/2+5;break;case"bottom-right":Q=Q+(v.F*M[1]-ae)-10,O=O+(v.I*M[0]-W)/2-5;break;case"left":Q=Q+(v.F*M[1]-ae)/2-5,O=O-(v.I*M[0]-W)/2+5;break;case"right":Q=Q+(v.F*M[1]-ae)/2-5,O=O+(v.I*M[1]-W)/2-5}else null!==ZC._n_(e.x)&&null!==ZC._n_(e.y)&&(O=h+ZC._i_(e.x),Q=_+ZC._i_(e.y));if(V.css("left",ZC.BQ(1,O)+"px").css("top",ZC.BQ(1,Q)+"px").show(),ZC.ie67){var ce=ZC.A5("#"+v.K+"-menu div").width()[0]||120;V.css(ZC._[19],ce+"px")}}return v.A9X=!0,!1}}}},ZC.A5(document).bind("contextmenu",zingchart.ZN)),zingchart.AB1=function(A,t){if(zingchart.css)return zingchart.css.addRule?zingchart.css.addRule(A,t):zingchart.css.insertRule(A+"{"+t+"}",0)},zingchart.wh=function(A,t,e){"auto"===t&&(t="100%"),"auto"===e&&(e="100%");var a=[0,0];return-1===(""+t).indexOf("%")&&-1===(""+e).indexOf("%")||(a=A.wh()),[-1!==(""+t).indexOf("%")?a[0]*parseInt(t,10)/100:parseInt(t,10),-1!==(""+e).indexOf("%")?a[1]*parseInt(e,10)/100:parseInt(e,10)]},zingchart.J7={},zingchart.bind=function(A,t,e){A=A||"zingchart-global",zingchart.J7[A]||(zingchart.J7[A]={}),zingchart.J7[A][t]?zingchart.J7[A][t].push({fn:e}):zingchart.J7[A][t]=[{fn:e}]},zingchart.unbind=function(A,t,e){if(A=A||"zingchart-global",zingchart.J7[A]&&zingchart.J7[A][t])if(e){for(var a=0,c=zingchart.J7[A][t].length;a0&&(ie.width()!==De||ie.height()!==ge)&&(ve=T.M5||T.QW?zingchart.wh(ie,""+ie.width(),""+ie.height()):zingchart.wh(ie,T.G2,T.N7))[0]>10&&ve[1]>10){for(T.I=ZC._i_(ve[0]),T.F=ZC._i_(ve[1]),De=ie.width(),ge=ie.height(),c=0,h=T.AG.length;c10&&ge>10){for(T.I=-1!==(""+T.G2).indexOf("%")?ZC._i_(De*ZC.IU(T.G2)):ZC._i_(De),T.F=-1!==(""+T.N7).indexOf("%")?ZC._i_(ge*ZC.IU(T.N7)):ZC._i_(ge),c=0,h=T.AG.length;c%g:%i:%s %A
%q ms",second:"%d %M %Y
%g:%i:%s %A",minute:"%d %M %Y
%g:%i %A",hour:"%d %M %Y
%g %A",day:"%d %M %Y",month:"%M %Y",year:"%Y"},"days-short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"days-long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"months-short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"months-long":["January","February","March","April","May","June","July","August","September","October","November","December"],"sync-wait":"Wait...","export-wait":"Exporting...","progress-wait-long":"Wait. Loading...","progress-wait-short":"Wait...","progress-wait-mini":"...","error-header":"An Error Has Occured","error-message":"Error Message:","error-close":"Close","bugreport-header":"Submit Bug Report","bugreport-senddata":"Send JSON Data","bugreport-sendcapture":"Send Graph Capture","bugreport-yourcomment":"Your Comment:","bugreport-jsondata":"JSON Data:","bugreport-youremail":"Your Email Address","bugreport-infoemail":"if you want to receive via email our reply to your problem","bugreport-emailmandatory":"Email address is mandatory...","bugreport-validemailmandatory":"Please enter a valid email address...","bugreport-submit":"Submit","bugreport-cancel":"Cancel","bugreport-confirm":"Your bug report was sent.\n\nThank you!","about-close":"Close","viewsource-jsonsource":"Parsed JSON","viewsource-originalsource":"Original JSON","viewsource-close":"Close","viewsource-apply":"Apply","viewimage-close":"Close","legend-pagination":"Page %page% of %pages%"},ZC.HI=zingchart.i18n.en_us,zingchart.getLoader=function(A){for(var t=0;t0&&(ZC.AR.C1("history_back",w,w.F5()),w.O7--,zingchart.exec(w.K,"setdata",{data:w.R2[w.O7]}));break;case"goforward":w.IL&&w.O710&&Q[1]>10)&&(w.I=Q[0],w.F=Q[1],null!==ZC._n_(a=e.layout)&&(w.o.layout=a),""===w.MN&&(w.E["from-api"]=!0,w.E[ZC._[53]]=!0,w.resize(y),w.G2=U,w.N7=O,w.A34=!1));break;case"plothide":case"hideplot":(_=w.C9(e[ZC._[3]]))&&_.ZM(e,"hide");break;case"showguide":case"hideguide":ZC.E1[0]=ZC._n_(e.x)?e.x:ZC.E1[0],ZC.E1[1]=ZC._n_(e.y)?e.y:ZC.E1[1],(_=w.C9(e[ZC._[3]]))&&w.W6(_.K,"showguide"===t);break;case"showtooltip":case"hidetooltip":case"clicknode":if(_=w.C9(e[ZC._[3]])){var W=e.ev||{};"showtooltip"!==t&&"clicknode"!==t||((f=_.HY(e.plotindex,e.plotid))&&f.R.length&&!e.xy?(m=f.L,v=ZC._i_(e.nodeindex||"0"),W.targetid=_.K+ZC._[35]+m+"-node-"+v,W.update=!0):W.targetid=_.K+"-xy-"+ZC._i_(e.y||"0")+"-"+ZC._i_(e.x||"0")),"clicknode"===t?(W.which=0,_.TU(W)):_.A.A7&&("showtooltip"===t?_.A.A7.onmouseover(W,e.data):_.A.A7.hide())}break;case"locktooltip":ZC.TTLOCK=!0;break;case"unlocktooltip":ZC.TTLOCK=!1;break;case"showhoverstate":if(_=w.C9(e[ZC._[3]])){f=_.HY(e.plotindex,e.plotid),m=ZC._i_(f?f.L:0),v=ZC._i_(e.nodeindex||"0");var ae=_.AZ.A3[m].FK(v);_.L5(),ae.HZ()}break;case"plotshow":case"showplot":(_=w.C9(e[ZC._[3]]))&&_.ZM(e,"show");break;case"togglesource":ZC.AM(w.K+"-viewsource")?ZC.Q.EV(w.K+"-viewsource"):w.A1B();break;case"togglebugreport":ZC.AM(w.K+"-bugreport")?ZC.Q.EV(w.K+"-bugreport"):w.A2H();break;case"toggleabout":ZC.AM(w.K+"-about")?ZC.Q.EV([w.K+"-about",w.K+"-about-mask"]):w.A62();break;case"toggleplot":(_=w.C9(e[ZC._[3]]))&&_.PG(e);break;case"getcharttype":return(_=w.C9(e[ZC._[3]]))?_.AF:null;case"showversion":case"getversion":return ZC.VERSION;case"get3dview":return(_=w.C9(e[ZC._[3]]))?_.EZ:null;case"set3dview":(_=w.C9(e[ZC._[3]]))&&(null===ZC._n_(w.o[ZC._[16]][_.L][ZC._[26]])&&(w.o[ZC._[16]][_.L][ZC._[26]]={}),ZC._cp_(e,w.o[ZC._[16]][_.L][ZC._[26]]),null===ZC._n_(_.o[ZC._[26]])&&(_.o[ZC._[26]]={}),ZC._cp_(e,_.o[ZC._[26]]),zingchart.SKIP.PARSE3D=!0,_.autoFit(),_.K0(!0,!0),zingchart.SKIP.PARSE3D=!1);break;case"getpage":return w.LG;case"setpage":var ee=0;null!==ZC._n_(a=e.page)&&(ee=ZC._i_(a)),w.LG=ee,ZC.A07(function(){w.clear(),w.parse(),w.paint()},!0);break;case"unbinddocument":ZC.A5(document).unbind(ZC.Q.BY(ZC._[48]),zingchart.MW).unbind(ZC.Q.BY(ZC._[47]),zingchart.MW).unbind(ZC.Q.BY(ZC._[49]),zingchart.MW).unbind("click",zingchart.SQ).unbind("contextmenu",zingchart.ZN),w.D6&&w.D6.unbind()}var ne=[];for(zingchart.AC5&&null!==(E=zingchart.AC5(A,t,e))&&(a=E),ne=["addobject","removeobject","updateobject","repaintobjects","getobjectsbyclass","getallobjects","getlabelinfo","getshapeinfo","setobjectsmode","settweenmode"],zingchart.ABI&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.ABI(A,t,e))&&(a=E),ne=["getimagedata","exportimage","saveasimage","exportdata","downloadCSV","downloadXLS","downloadRAW","viewDataTable"],zingchart.ABT&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.ABT(A,t,e))&&(a=E),ne=["getzoom","pan","zoomin","zoomout","zoomto","zoomtovalues","viewall"],zingchart.AC4&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.AC4(A,t,e))&&(a=E),ne=["clearselection","getselection","setselection","select","deselect"],zingchart.AB8&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.AB8(A,t,e))&&(a=E),ne=["clearfeed","getinterval","setinterval","stopfeed","startfeed"],zingchart.AC3&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.AC3(A,t,e))&&(a=E),c=0,h=zingchart.A9S.length;cW;v--)Q[v]=Q[v-1];Q[W]=e[ZC._[9]]||"",te.o[ZC._[16]][c.L][$][ZC._[5]]=Q}te.E.json=ZC.H0(JSON.stringify(te.o)),c.LP("on-change"),le&&(c.E["from-api"]=!0,c.K0(Ce,Ce))}break;case"removescalevalue":if(zingchart.SKIP.CSV=!0,c=te.C9(e[ZC._[3]])){for($=e.scale||ZC._[50],y=0,U=c.BO.length;yW;v--)O[v]=O[v-1];if(O[W]=e[ZC._[9]],!Ve)for(y=0,U=c.BO.length;yW;v--)Q[v]=Q[v-1];Q[W]=e[$+"-value"],te.o[ZC._[16]][c.L][$][ZC._[5]]=Q}ZC.AR.C1("node_add",te,{id:te.K,graphid:c.K,plotindex:_.L,nodeindex:W,key:W,value:e[ZC._[9]],text:e[ZC._[9]]}),te.o[ZC._[16]][c.L][ZC._[11]][_.L][ZC._[5]]=c.o[ZC._[11]][_.L][ZC._[5]],te.E.json=ZC.H0(JSON.stringify(te.o)),c.LP("on-change"),le&&(c.E["from-api"]=!0,c.K0(Ce,Ce))}break;case"removenode":if(zingchart.SKIP.CSV=!0,(c=te.C9(e[ZC._[3]]))&&(_=c.HY(e.plotindex,e.plotid))){O=c.o[ZC._[11]][_.L][ZC._[5]],W=null===ZC._n_(e.nodeindex)?_.R.length-1:ZC._i_(e.nodeindex);var Ee=!0;if(null!==ZC._n_(e.nodekeyvalue))for(Ee=!1,y=0,U=_.R.length;y0&&null!==ZC._n_(ae[v][0])&&ae[v][0].length>1,at=!0;if(null!==ZC._n_(a=e.ignoreduplicates)&&(at=ZC._b_(a)),Me){var $e=He.length;for(w=0,D=ae[v].length;w=0;et--){if(ae[v][w][0]>He[et][0]){He.push(ae[v][w]),ot=!0;break}if(ae[v][w][0]===He[et][0]){ot=!0;break}}ot&&at||He.push(ae[v][w])}}else for(w=0,D=ae[v].length;wae.length)for(y=ae.length;ys.H.I&&(L2=!1),null!==ZC._n_(oRule["max-width"])&&ZC._i_(oRule["max-width"])s.H.F&&(L2=!1),null!==ZC._n_(oRule["max-height"])&&ZC._i_(oRule["max-height"])")}return""!==t?[t,ZC.YA.md5(t)]:null}IX(){return!0}copy(A){var t=this;ZC._cp_(A.o,t.o),A.IG&&(t.IG=t.IG||{},ZC._cp_(A.IG,t.IG)),A.JJ&&(t.JJ=t.JJ||{},ZC._cp_(A.JJ,t.JJ)),ZC._cp_(A.E,t.E),ZC._cp_(A.E5,t.E5)}}class CZ extends ACT{constructor(t){super(t),this.init(t)}init(t){super.init(t);var e=this;t&&t.H&&(e.H=t.H),e.K="",e.DF=null,e.AO=!0,e.A0="-1",e.AE="-1",e.GV="",e.HV="",e.W8=!0,e.DA="",e.MF="repeat",e.TM="50% 50%",e.X4="",e.L3=1,e.NV="linear",e.NI=90,e.WE=0,e.WD=0,e.B1=0,e.B7="#000",e.GF="",e.ES=0,e.G4=0,e.AU=0,e.BX="#000",e.C5=1,e.OB=1,e.TB="butt",e.A0D="round",e.MJ=!1,e.OU=45,e.K1=2,e.TC=.75,e.S7="#999",e.PH=0,e.CY=!0,e.NB=!1,e.LH=!1,e.A2K=!1,e.M1=null,e.BG=""}getPMap(){var t=super.getPMap();return this.addPMap(t,"visible,backgroundColor1,backgroundColor2,gradientColors,gradientStops,backgroundImage,backgroundRepeat,backgroundPosition,backgroundFit,backgroundScale,fillType,fillAngle,fillOffsetX,fillOffsetY,lineWidth,lineColor,lineStyle,lineSegmentSize,lineGapSize,borderWidth,borderColor,borderAlpha,alpha,lineCap,shadow,shadowAngle,shadowDistance,shadowAlpha,shadowColor,shadowBlur,class,border","AO,A0,AE,GV,HV,DA,MF,TM,X4,L3,NV,NI,WE,WD,B1,B7,GF,ES,G4,AU,BX,OB,C5,TB,MJ,OU,K1,TC,S7,PH,DF,BG"),t}copy(t){super.copy(t);for(var e="AO,A0,AE,GV,HV,DA,W8,MF,TM,X4,L3,NV,NI,WE,WD,B1,B7,GF,ES,G4,AU,BX,OB,C5,TB,MJ,OU,K1,TC,S7,PH,CY,LH,DF,H,BG".split(","),a=0,c=e.length;a2&&null!==e[0]&&null!==e[e.length-1]&&e[0].join(",")===e[e.length-1].join(",")&&(t.TB="round");var D=t.H.AC;if("canvas"!==D||0!==t.B1&&"-1"!==t.B7){if(t.MJ&&!a){t.C7=t.C7||t.Z;var M,T=ZC.Q._sh_(e,t);typeof t.A5F!==ZC._[31]?M=t.A5F:((M=new DX(t)).copy(t),M.K=t.K+"-sh",M.MJ=!1,M.B1+=M.PH,M.B7=M.S7),M.C5=t.C5*M.TC,typeof t.ADH===ZC._[31]&&(t.A5F=M),M.CY=!1,_=t.C7?ZC.Q.EA(t.C7,D):A,ZC.CQ.setup(_,M),ZC.CQ.paint(_,M,T,!1,1,h)}var R=ZC._i_(t.ES||"0"),V=ZC._i_(t.G4||"0");"solid"===t.GF&&(R=V=0);var $=e.length;typeof t.AA===ZC._[31]&&(t.AA=0),"canvas"===D&&(A.lineJoin=t.A0D,A.lineCap=t.TB,A.strokeStyle=ZC.AR.A3R(ZC.AR.GE(t.B7),a?t.OB:t.C5),A.lineWidth=t.B1,A.beginPath());var y=!1;if(-1!==ZC.AV(["svg","vml"],D))f=h?[]:ZC.Q.A3P(e,D,t,a);else{var U=!1;"dashdot"!==t.GF&&(U=A.setLineDash)&&A.setLineDash(0===R||0===V?[]:[R,V]);var O=0,Q=[ZC.MAX,ZC.MAX,-ZC.MAX,-ZC.MAX];for(w=0;w<$;w++)if(null!==e[w]){if(null!==(m=ZC.objmove?e[w]:ZC.Q._txp_(e[w],D,t,a))&&!isNaN(m[0])&&!isNaN(m[1])&&isFinite(m[0])&&isFinite(m[1]))if($<=6&&a&&(Q[0]=ZC.CX(Q[0],m[0]),Q[1]=ZC.CX(Q[1],m[1]),Q[2]=ZC.BQ(Q[2],m[0]),Q[3]=ZC.BQ(Q[3],m[1])),0===w)2===m.length?A.moveTo(m[0],m[1]):6===m.length&&A.arc(m[0],m[1],m[2],ZC.TK(m[3]),ZC.TK(m[4]),m[5]);else if(y&&(A.moveTo(m[0],m[1]),y=!1),U||0===R||0===V||4===m.length||6===m.length||7===m.length)2===m.length?A.lineTo(m[0],m[1]):4===m.length?A.quadraticCurveTo(m[0],m[1],m[2],m[3]):6===m.length?A.arc(m[0],m[1],m[2],ZC.TK(m[3]),ZC.TK(m[4]),m[5]):7===m.length&&A.bezierCurveTo(m[0],m[1],m[2],m[3],m[4],m[5]);else if(null!==e[w-1]){var W=ZC.Q._txp_(e[w-1],D,t,a),ae=W[4===W.length?2:0],ee=W[4===W.length?3:1],ne=m[0],oe=m[1],te=R+V,le=ne-ae,ce=oe-ee,Ce=Math.sqrt(le*le+ce*ce)+O;if(Ce>R){var se;O=0,se="dashdot"===t.GF?Math.floor(ZC._a_(Ce/((te+t.B1+V)/2))):Math.floor(ZC._a_(Ce/te));var he=Math.atan2(ce,le),fe=Math.cos(he),ie=Math.sin(he),De=ae,ge=ee,me=R;for(v=0;vR?A.lineTo(De+fe*R,ge+ie*R):Ce>0&&A.lineTo(De+fe*Ce,ge+ie*Ce),A.moveTo(ne,oe)}else O=Ce}}else y=!0;t.H&&$<=6&&a&&(t.H.E[t.K+"-bounds"]=Q)}switch(D){case"canvas":A.globalCompositeOperation=t.A1F,A.stroke();break;case"svg":case"vml":if(null===ZC._n_(t.o["top-state"])&&t.H.OJ&&(!a||t.E.areanode)){if(E=t.E.areanode?t.A0+"-"+t.AE+"-"+t.DA+"-"+t.B1+"-"+t.GF+"-"+t.C5+"-"+t.BL+"-"+t.BH:t.B7+"-"+t.B1+"-"+t.GF+"-"+t.C5+"-"+t.BL+"-"+t.BH,null===ZC._n_(t.H.O5[c])){t.H.O5[c]={uid:E,ctx:A,path:f,style:t,filled:a};break}if(t.H.O5[c].uid===E&&t.H.O5[c].path.length<2e3){v=t.H.O5[c].path,f&&f[0]&&(v.length>0&&v[v.length-1].replace(/[A-Z]+/,"")===f[0].replace(/[A-Z]+/,"")&&(f[0]=""),t.H.O5[c].path=t.H.O5[c].path.concat(f));break}"svg"===D?ZC.CQ.UF(t.H.O5[c].ctx,t.H.O5[c].style,t.H.O5[c].path.join(" "),t.H.O5[c].filled):ZC.CQ.UE(t.H.O5[c].ctx,t.H.O5[c].style,t.H.O5[c].path.join(" "),t.H.O5[c].filled),t.H.O5[c]={uid:E,ctx:A,path:f,style:t,filled:a};break}"svg"===D?ZC.CQ.UF(A,t,f.join(" "),a,h):ZC.CQ.UE(A,t,f.join(" "),a)}if(null!==ZC._n_(t.o["top-state"])&&!t.YV&&!t.E["skip-top"]&&!t.WO){var Ze=new I7(t.A);Ze.copy(t),Ze.WO=!0,Ze.MJ=!1,Ze.Z=t.Z,Ze.append(t.o["top-state"]),Ze.K=t.K+"-top",Ze.parse(),"svg"===D?ZC.CQ.UF(A,Ze,f.join(" "),a,h):"vml"===D?ZC.CQ.UE(A,Ze,f.join(" "),a):ZC.CQ.paint(A,Ze,e,a,c,h)}}}},smooth:function(A,t,e){var a,c,h,_;ZC._n_(t)&&(t=!1),e=e||"h";var f=[],m=[];for(a=0,c=A.length;a0&&(D.stroke=t.B7,D["stroke-width"]=t.B1,D["stroke-opacity"]=a?t.OB:t.C5,"solid"===t.GF||0===t.ES&&0===t.G4||(D["stroke-dasharray"]="dashdot"===t.GF?[t.ES,t.G4,t.B1,t.G4].join(" "):t.ES+","+t.G4)),h.id=V,""!==y&&(D.transform=y),t.o["fast-line"]&&t.B1>0?(h.setAttribute("stroke",D.stroke),h.setAttribute("stroke-width",D["stroke-width"]),h.setAttribute("stroke-opacity",D["stroke-opacity"]),h.setAttribute("d",e)):ZC.Q.G7(h,D),ZC.CQ._append_(A,t,h),(!t.E.border||"all"===t.E.border)&&typeof t.E.imgfill!==ZC._[31])if("string"==typeof t.E.imgfill)ZC.AM(V+"-imgfill")||($=c?ZC.Q.F8("rect",ZC._[36]):ZC.Q.F8("path",ZC._[36]),ZC.Q.G7($,{id:V+"-imgfill",transform:y,fill:t.E.imgfill,"fill-opacity":t.C5}),c?ZC.Q.G7($,{x:_,y:f,width:ZC.BQ(0,m),height:ZC.BQ(0,v),rx:E,ry:w}):ZC.Q.G7($,{d:e}),ZC.CQ._append_(A,t,$));else if(!ZC.AM(V+"-imgfill")){var O=t.E.imgfill,Q=ZC.Q.F8("image",ZC._[36]);Q.setAttributeNS?"zc."===t.DA.substring(0,3)?Q.setAttributeNS(ZC._[37],"href",ZC.IMAGES[t.DA]):Q.setAttributeNS(ZC._[37],"href",t.DA):"zc."===t.DA.substring(0,3)?Q.setAttribute("src",ZC.IMAGES[t.DA]):Q.setAttribute("src",t.DA),null!==ZC._n_(t.E["clip-path"])&&ZC.Q.G7(Q,{"clip-path":"url(#"+t.E["clip-path"]+")"}),ZC.Q.G7(Q,{id:V+"-imgfill",x:O[1],y:O[2],"fill-opacity":t.C5,width:t.E[ZC._[69]],height:t.E[ZC._[70]],preserveAspectRatio:"none"}),ZC.CQ._append_(A,t,Q)}}},UE:function(A,t,e,a){var c,h,_,f,m,v;a&&(e+=" x e");var E="";typeof t.K===ZC._[31]||""===t.K?typeof t.H!==ZC._[31]&&(E=t.H.GRAPHID+"-path-"+ZC.SEQ,ZC.SEQ++):E=t.K+"-path";var w=ZC.Q.F8("zcv:shape");w.style.position="absolute",w.style.rotation=t.AA,w.id=E;var D=ZC.Q.F8("zcv:path");if(D.v=e,D.setAttribute("VMLv",e),w.appendChild(D),0===t.B1)w.stroked=!1;else{var M=ZC.Q.F8("zcv:stroke");if(f=t.C5,typeof t.E.A92!==ZC._[31]&&(f=t.E.A92),typeof t.E.stroke!==ZC._[31])h=t.E.stroke.weight,_=t.E.stroke.color,f=t.E.stroke.opacity,m=t.E.stroke.dashstyle;else{switch(m="solid",t.GF){case"solid":m="solid";break;case"dotted":m="dot";break;case"dashed":m="dash";break;default:m=t.GF}"solid"!==m&&"0 0"!=(c=ZC.CX(6,t.ES*t.B1)+" "+ZC.CX(8,t.G4*t.B1))&&(m=c),h=t.B1,_=t.B7}ZC.Q.G7(M,{weight:h+"px",color:_,opacity:f,miterlimit:10,endcap:"flat",joinstyle:"round",dashstyle:m}),w.appendChild(M)}a&&typeof t.E.fill!==ZC._[31]&&-1!==t.E.fill?(w.filled=!0,w.appendChild(t.E.fill)):w.filled=!1,ZC.Q.G7(w,{coordorigin:"0 0",coordsize:t.AA%360==0?"100 100":t.H.I+" "+t.H.F});var T=0,R=0;if(t.AA%360!=0&&typeof t.E.cx!==ZC._[31]&&typeof t.E.cy!==ZC._[31]){var V=t.H.I/2-t.E.cx,$=t.H.F/2-t.E.cy,y=0===$?0:ZC.UI(Math.atan(V/$));t.E.cy>t.H.F/2&&(y+=180);var U=Math.sqrt(V*V+$*$);T=V-U*ZC.EO(y-t.AA),R=$-U*ZC.EI(y-t.AA)}var O=0-T;null!==ZC._n_(t.BL)&&(O+=t.BL);var Q=0-R;if(null!==ZC._n_(t.BH)&&(Q+=t.BH),w.style.left=O+"px",w.style.top=Q+"px",A.appendChild(w),t.AA%360==0?(w.style.width="10px",w.style.height="10px"):(w.style.width=t.H.I+"px",w.style.height=t.H.F+"px"),("all"===t.E.border||typeof t.E.imgfill!==ZC._[31])&&typeof t.E.imgfill!==ZC._[31]){var W=t.E.imgfill;1===W.length?((w=ZC.Q.F8("zcv:shape")).style.position="absolute",w.style.rotation=t.AA,(D=ZC.Q.F8("zcv:path")).v=e,w.appendChild(D),w.appendChild(W[0]),w.stroked=!1,ZC.Q.G7(w,{id:E+"-imgfill",filled:!0,coordorigin:"0 0",coordsize:t.AA%360==0?"100 100":t.H.I+" "+t.H.F}),w.style.left=O+"px",w.style.top=Q+"px",A.appendChild(w),t.AA%360==0?(w.style.width="10px",w.style.height="10px"):(w.style.width=t.H.I+"px",w.style.height=t.H.F+"px")):3===W.length&&((v=ZC.Q.F8("img")).id=E+"-img",v.src="zc."===t.DA.substring(0,3)?ZC.IMAGES[t.DA]:t.DA,v.style.position="absolute",v.style.left=W[1]+"px",v.style.top=W[2]+"px",v.style.width=t.E[ZC._[69]]+"px",v.style.height=t.E[ZC._[70]]+"px",A.appendChild(v))}}};class DX extends CZ{constructor(t){super(t),this.init(t)}init(t){super.init(t);var e=this;e.A=t,e.Z=null,e.C7=null,e.H9="",e.iX=-1,e.iY=-1,e.DS="poly",e.D=[],e.D1=[0,0,0,0],e.AA=0,e.AI=0,e.JV=0,e.BL=0,e.BH=0,e.A9U=0,e.DT=0,e.B4=0,e.BM=360,e.CN=0,e.TX=!1,e.ADC=!1,e.A52=0,e.AB4="",e.OJ=!1,e.A7O=1,e.JY=1,e.E8=null,e.FG=null,e.IT="auto",e.KI=!1,e.A1F="source-over",e.R3=!1}getPMap(){var t=super.getPMap();return this.addPMap(t,"objectId,x,y,points,bounds,pieAngleStart,pieAngleEnd,pieSlice,url,target,offsetX,offsetY,offsetR,size,size2,angle,shape,flat,cursor","H9,iX,iY,D,D1,B4,BM,CN,E8,FG,BL,BH,DT,AI,JV,AA,DS,KI,IT"),t}build(){}copy(t){super.copy(t);var e,a,c=this,h="BL,BH,DT,AI,JV,AA,DS,KI,IT".split(",");for(e=0,a=h.length;e0)for(c.D=[],e=0,a=t.D.length;e=1||t<0||zingchart.DEV.IGNORESUBUNIT)&&!a?"x"===e?_+parseFloat(t):f+parseFloat(t):t>=0&&t<1||a?"x"===e?(m=m||1,Math.round(_+m*t)):(v=v||1,Math.round(f+v*t)):void 0}locate(t){var e,a=this;if(a.TX)return-1!==(""+a.o.x).indexOf("lon")?a.iX=a.ll_(a.o.x,"x"):a.YZ("x","iX"),-1!==(""+a.o.y).indexOf("lat")?a.iY=a.ll_(a.o.y,"y"):a.YZ("y","iY"),void a.A1L();1===t?(null!==(e=ZC._n_(a.o.x))&&(a.iX=a.xy_(e,"x")),null!==(e=ZC._n_(a.o.y))&&(a.iY=a.xy_(e,"y")),-1===a.iX&&(a.iX=a.A.iX),-1===a.iY&&(a.iY=a.A.iY)):2===t&&(a.A1L(),a.I=a.D1[2]-a.D1[0],a.F=a.D1[3]-a.D1[1])}A1L(){var t,e=this,a=ZC.MAX,c=ZC.MAX,h=-ZC.MAX,_=-ZC.MAX;switch(e.DS){case"custom":a=0,c=0,h=0,_=0;break;case"circle":case"arc":case"pie":a=e.iX-e.AI,c=e.iY-e.AI,h=e.iX+e.AI,_=e.iY+e.AI;break;default:for(var f=0,m=e.D.length;f50&&(a=2),f>100&&(a=4),0===m?h%360!=_%360&&c.push([e.iX,e.iY]):c.push(ZC.AP.BN(e.iX,e.iY,m,h),ZC.AP.BN(e.iX,e.iY,(f+m)/2,h-.25*e.AU),ZC.AP.BN(e.iX,e.iY,f,h)),t=h;t<=_;t+=a)c.push(ZC.AP.BN(e.iX,e.iY,f,t));if(c.push(ZC.AP.BN(e.iX,e.iY,f,_)),c.push(ZC.AP.BN(e.iX,e.iY,(f+m)/2,_+.25*e.AU)),0===m)h%360!=_%360&&c.push([e.iX,e.iY]);else{for(c.push(ZC.AP.BN(e.iX,e.iY,m,_)),t=_;t>=h;t-=a)c.push(ZC.AP.BN(e.iX,e.iY,m,t));c.push(ZC.AP.BN(e.iX,e.iY,m,h))}return c.push([c[0][0],c[0][1]]),ZC.AP.PR(c,Math.min(5,f/5),[e.BL,e.BH])}if(0===e.AA||"rectangle"!==e.DS&&"rect"!==e.DS)return ZC.AP.PR(e.D,Math.min(5,e.AI/5),[e.BL,e.BH]);var v,E,w,D,M,T,R,V,$=[];for(w=ZC._i_((e.D1[0]+e.D1[2])/2),D=ZC._i_((e.D1[1]+e.D1[3])/2),v=0,E=e.D.length;v-1&&T.push(ZC.AP.PR(a,Math.min(5,E.AI/5),[E.BL,E.BH])),a=[];if(0!==E.AA)for(c=ZC._i_((E.D1[0]+E.D1[2])/2),h=ZC._i_((E.D1[1]+E.D1[3])/2),t=0,e=a.length;t-1&&T.push(ZC.AP.PR(a,Math.min(5,E.AI/5),[E.BL,E.BH])),T}}parse(t){var e,a,c,h,_,f,m;null===ZC._n_(t)&&(t=!1),this.o.tween||t||super.parse();var v=this;if(!v.o.tween&&!t){v.assign_a([["map","A52"]]),"string"==typeof v.o.item&&v.assign_a([["item","AB4"]]),0!==v.A52&&(null===ZC._n_(v.o["map-item"])||v.o["map-item"])&&(v.o["map-item"]=!0,v.o["map-skip-z-sort"]=!0);var E=["offset-x","offset-y"];for(a=0;a<2;a++){var w=E[a],D="offset-x"===w?"lon":"lat";if(null!==(e=v.o[w])&&typeof e!==ZC._[31]&&-1!==(e=""+e).indexOf(D)){e=ZC._f_(e.replace(D,""));var M=zingchart.maps.maps[v.A52];M&&(e=zingchart.maps.translate(w.replace("offset-"),e,v.A.I,v.A.F,M._INFO_.bbox),v.o[w]=e)}}for(v.assign_a([["url","E8"],["target","FG"],["cursor","IT"],["id","H9"],["angle","AA","i"],["static","KI","b"],["flat","KI","b"],[ZC._[1],"B4","f"],[ZC._[2],"BM","f"],[ZC._[8],"CN","i"],[ZC._[21],"AI","f"],["size-2","JV","f"],["fast-vector-path","R3","b"],["type","DS"],["points","D"],["offset-x","BL"],["offset-y","BH"],["offset-z","A9U","i"],["offset-r","DT","i"],["z-sort","A7O","i"],["z-index","JY","f"],["composite","A1F"]]),v.BL=ZC.IU(v.BL,!0),v.BH=ZC.IU(v.BH,!0),v.BL>-1&&v.BL<1&&typeof v.E["p-width"]!==ZC._[31]&&(v.BL*=v.E["p-width"]),v.BH>-1&&v.BH<1&&typeof v.E["p-height"]!==ZC._[31]&&(v.BH*=v.E["p-height"]),v.AI=ZC.BQ(1,v.AI),v.JV=ZC.BQ(1,v.JV),null!==v.o["z-sort"]&&typeof v.o["z-sort"]!==ZC._[31]||(v.A7O=v.JY),"rectangle"!==v.DS&&"rect"!==v.DS||v.assign_a([[ZC._[19],"AI","f"],[ZC._[20],"JV","f"]]),v.A5P?(v.D=JSON.parse(JSON.stringify(v.FF)),v.A5P=!1):v.FF=JSON.parse(JSON.stringify(v.D)),a=0,c=v.D.length;a4?2:7-h),a=0+(f=h%2==0?0:-90);a<360+f;a+=_)v.D.push(ZC.AP.BN(v.iX,v.iY,.75*R,a),ZC.AP.BN(v.iX,v.iY,.75*m,a+_/2));v.D.push([v.D[0][0],v.D[0][1]]);break;case"rpoly3":case"rpoly4":case"rpoly5":case"rpoly6":case"rpoly7":case"rpoly8":case"rpoly9":for(v.D=[],R=v.AI,_=360/(h=ZC._i_(v.DS.replace("rpoly",""))),f=h%2==0?0:-90,null!==ZC._n_(v.o["angle-offset"])&&(f=ZC._i_(v.o["angle-offset"])),a=0+f;a<360+f;a+=_)v.D.push(ZC.AP.BN(v.iX,v.iY,R,a));v.D.push([v.D[0][0],v.D[0][1]]);break;case"gear3":case"gear4":case"gear5":case"gear6":case"gear7":case"gear8":case"gear9":for(v.D=[],R=2*v.AI,_=360/(2*(h=ZC._i_(v.DS.replace("gear","")))),m=.75*R,a=0+(f=h%2==0?0:-90);a<360+f;a+=2*_){var Q=a+_/2;v.D.push(ZC.AP.BN(v.iX,v.iY,.75*R,Q),ZC.AP.BN(v.iX,v.iY,.75*R,Q+_),ZC.AP.BN(v.iX,v.iY,.75*m,Q+_+0*_),ZC.AP.BN(v.iX,v.iY,.75*m,Q+2*_-0*_))}v.D.push([v.D[0][0],v.D[0][1]]);break;case"hamburger":var W=v.iX,ae=v.iY-10;v.D=v.D.concat([[W-(R*=2)/2,ae-v.JV/2],[W+R/2,ae-v.JV/2],[W+R/2,ae+v.JV/2],[W-R/2,ae+v.JV/2],[W-R/2,ae-v.JV/2],null]),v.D=v.D.concat([[W-R/2,(ae+=5)-v.JV/2],[W+R/2,ae-v.JV/2],[W+R/2,ae+v.JV/2],[W-R/2,ae+v.JV/2],[W-R/2,ae-v.JV/2],null]),v.D=v.D.concat([[W-R/2,(ae+=5)-v.JV/2],[W+R/2,ae-v.JV/2],[W+R/2,ae+v.JV/2],[W-R/2,ae+v.JV/2],[W-R/2,ae-v.JV/2],null]);break;case"ellipse":for(v.CY=!1,v.D=[],a=0;a<=360;a+=5)v.D.push([v.iX+v.AI*ZC.EI(a),v.iY+v.JV*ZC.EO(a)]);v.D.push([v.D[0][0],v.D[0][1]]);break;case"arc":v.CY=!1,v.D=[ZC.AP.BN(v.iX,v.iY,v.AI,v.B4),[v.iX,v.iY,v.AI,v.B4,v.BM,0]];break;case"pie":for(var ee=(v.o["pie-transform"]||"").split(/=|,/);v.B4<0||v.BM<0;)v.B4+=360,v.BM+=360;v.CY=!1;var ne=!1;-1!==ZC.AV(["svg","vml"],v.H.AC)&&v.B4%360==v.BM%360&&(v.B4+=.05,v.BM-=.05,ne=!0);var oe,te,le,ce,Ce,se=v.iX,he=v.iY,fe=ZC._x_(v.B4,2),ie=ZC._x_(v.BM,2),De=ZC._x_((fe+ie)/2,2),ge=R,me=v.CN,Ze=0===me&&fe%360!=ie%360&&!ne;switch(v.D=[],"circle"!==ee[0]&&(0===me?fe%360==ie%360||ne||v.D.push([se,he]):v.D.push(ZC.AP.BN(se,he,me,fe))),ee[0]){case"flat":case"fold":v.D.push(ZC.AP.BN(se,he,ge,fe),ZC.AP.BN(se,he,ge-("fold"===ee[0]?ZC._i_(ee[1]):0),ie)),Ze||v.D.push(ZC.AP.BN(se,he,me,ie));break;case"callout":v.D.push(ZC.AP.BN(se,he,ge,fe),[se,he,ge,fe,ie,0]),Ze||(oe=1.5*ZC._i_(ee[1])*360/(2*Math.PI*ge),v.D.push(ZC.AP.BN(se,he,ge,ie),ZC.AP.BN(se,he,me,ie),[se,he,me,ie,De+oe,1],ZC.AP.BN(se,he,me-ZC._i_(ee[1]),De),ZC.AP.BN(se,he,me,De-oe),[se,he,me,De-oe,fe,1]));break;case"flow":oe=ZC._i_(ee[1]),ce=ZC.AP.BN(se,he,(me+ge)/2,fe),v.D.push(99===oe||-99===oe?[ce[0],ce[1],(ge-me)/2,fe+180,fe,99===oe?1:0]:ZC.AP.BN(se,he,(me+ge)/2,fe+oe)),v.D.push(ZC.AP.BN(se,he,ge,fe),[se,he,ge,fe,ie,0]),Ce=ZC.AP.BN(se,he,(me+ge)/2,ie),Ze?99===oe||-99===oe?v.D.push(ZC.AP.BN(se,he,ge,ie),[Ce[0],Ce[1],(ge-me)/2,ie,ie+180,99===oe?0:1]):v.D.push(ZC.AP.BN(se,he,(me+ge)/2,ie+oe)):(v.D.push(99===oe||-99===oe?[Ce[0],Ce[1],(ge-me)/2,ie,ie+180,99===oe?0:1]:ZC.AP.BN(se,he,(me+ge)/2,ie+oe)),v.D.push(ZC.AP.BN(se,he,me,ie),[se,he,me,ie,fe,1]));break;case"circle":var pe=ZC._f_(ee[1]||"1"),ve=(5+ZC._a_(ie-fe)%360*50/360)*pe;le=ie%360==fe%360||ne?[se,he]:ZC.AP.BN(se,he,(ge+me)/2,(fe+ie)/2),v.D.push(ZC.AP.BN(le[0],le[1],ve,0),[le[0],le[1],ve,0,360,0]);break;case"bite":oe=ZC._i_(ee[1]),te=ZC._i_(2*ge*ZC.EO(oe/2)),le=ZC.AP.BN(se,he,ge,fe),v.D.push(ZC.AP.BN(se,he,ge-te,fe),[le[0],le[1],te,fe+180,fe+90+(90-(180-oe)/2),1],[se,he,ge,fe+oe,ie,0]),Ze||v.D.push(ZC.AP.BN(se,he,me,ie),[se,he,me,ie,fe,1]);break;case"droplet":for(var ke=ge,de=1,Oe=0;ge*de+Oe>=ke;)de=ZC._x_(de-.02,2),te=ZC._i_(ge*de/ZC.EI((ie-fe)/2)),Oe=ZC._i_(ge*de*Math.tan(ZC.TK((ie-fe)/2)));le=ZC.AP.BN(se,he,te,De),v.D.push(ZC.AP.BN(se,he,ge*de,fe),[le[0],le[1],Oe,De-(360-(180-(ie-fe)))/2,De+(360-(180-(ie-fe)))/2,0]),Ze||v.D.push(ZC.AP.BN(se,he,me,ie),[se,he,me,ie,fe,1]);break;default:v.D.push(ZC.AP.BN(se,he,ge,fe),[se,he,ge,fe,ie,0]),0===me?fe%360==ie%360||ne||v.D.push([se,he]):v.D.push(ZC.AP.BN(se,he,ge,ie),ZC.AP.BN(se,he,me,ie),[se,he,me,ie,fe,1])}v.D.push([v.D[0][0],v.D[0][1]])}}v.locate(2)}paint(){var t=this;if("none"!==t.DS&&("custom"===t.DS||"circle"===t.DS||"arc"===t.DS||0!==t.D.length)){var e,a,c={x:"iX",y:"iY",width:"I",height:"F",size:"AI"};if(t.o["bottom-state"]&&!t.YV&&!t.WO&&!t.bIsBottom){var h=new DX(t.A);for(e in h.copy(t),h.bIsBottom=!0,h.MJ=!1,h.Z=t.Z,h.append({x:t.iX-t.A.iX,y:t.iY-t.A.iY}),h.append(t.o["bottom-state"]),h.K=t.K+"-bottom",h.parse(),a=!1,c)null===ZC._n_(h.o[e])||-1===(""+h.o[e]).indexOf("+")&&-1===(""+h.o[e]).indexOf("-")||(h.o[e]=h[c[e]]=t[c[e]]+ZC._i_(h.o[e]),a=!0);a&&h.parse(),h.paint()}var _=t.H.AC;switch(t.MJ&&t.C7&&t.A2C(),_){case"canvas":t.X0();break;case"svg":t.UF();break;case"vml":t.UE()}if(t.o["top-state"]&&!t.YV&&!t.WO&&!t.bIsBottom){var f=new DX(t.A);for(e in f.copy(t),f.WO=!0,f.MJ=!1,f.Z=t.Z,f.append({x:t.iX-t.A.iX,y:t.iY-t.A.iY}),f.append(t.o["top-state"]),f.K=t.K+"-top",f.parse(),a=!1,c)null===ZC._n_(f.o[e])||-1===(""+f.o[e]).indexOf("+")&&-1===(""+f.o[e]).indexOf("-")||(f.o[e]=f[c[e]]=t[c[e]]+ZC._i_(f.o[e]),a=!0);a&&f.parse(),f.paint()}}}A2C(){var t,e=this,a=new DX(e.A);a.K=e.K+"-sh",a.copy(e),a.OJ=e.OJ,a.Z=e.C7,a.MJ=!1,a.YV=!0,a.A0=a.AE=a.S7,a.GV=a.HV="",a.DA="",a.GF="solid",a.BX=a.S7,a.B1=0,a.C5=a.TC*e.C5,a.K=e.K+"-sh";var c=(e.K1-e.PH)*ZC.EI(e.OU)+e.PH,h=(e.K1-e.PH)*ZC.EO(e.OU)+e.PH;if(a.iX=e.iX+parseInt(c,10),a.iY=e.iY+parseInt(h,10),a.AI=e.AI+e.PH,e.D.length>0){t=[];for(var _=0,f=e.D.length;_0||"arc"===v.DS&&v.B1>0)&&E.stroke(),E.closePath();break;case"plus":case"cross":case"line":case"ic_line":v.B1>0&&(ZC.CQ.setup(E,v),v.o.spline?(v.CY=!1,v.R3=!0,ZC.CQ.paint(E,v,ZC.CQ.smooth(v.D,!1,v.o.direction||"h"))):ZC.CQ.paint(E,v,v.D));break;default:if(v.AU>0){var ne=v.B7,oe=v.B1;v.B7=v.BX,v.B1=v.AU,v.KT(),ZC.CQ.setup(E,v),ZC.CQ.paint(E,v,v.D,!0),v.B7=ne,v.B1=oe,v.KT()}E.closePath()}E.restore()}Y1(t){var e=this,a=t.info,c=a.image,h=!0;switch(e.MF){default:h=!0;break;case"no-repeat":case"false":case!1:h=!1}var _=e.DA;0===c.src.indexOf("data:")&&(_=c.src),c.width*=e.L3,c.height*=e.L3;var f=""===e.K?"pattern-"+ZC.SEQ++:e.K+"-pattern";ZC.Q.EV(f);var m=ZC.Q.F8("image",ZC._[36]);m.setAttributeNS?m.setAttributeNS(ZC._[37],"href",_):m.setAttribute("src",_),ZC.Q.G7(m,{id:f+"-image",preserveAspectRatio:"none",width:e.E[ZC._[69]],height:e.E[ZC._[70]]});var v=c.width,E=c.height;if(!h){var w,D;v=E=1,e.I>0&&e.F>0?(w=e.I,D=e.F):(w=e.D1[2]-e.D1[0],D=e.D1[3]-e.D1[1]);var M=ZC._i_(w*a.cx),T=ZC._i_(D*a.cy);if("pie"===e.DS){v=e.H?e.H.I:e.A.I,E=e.H?e.H.F:e.A.F;var V=ZC.AP.BN(e.iX,e.iY,e.CN+(e.AI-e.CN)*a.vPos,e.AA+e.B4+(e.BM-e.B4)*a.hPos);M=V[0]-c.width/2,T=V[1]-c.height/2}e.E["pattern-image-id"]=f+"-image",e.E["pattern-tx"]=M,e.E["pattern-ty"]=T,ZC.Q.G7(m,{transform:"translate("+M+","+T+")"})}var $=ZC.Q.F8("pattern",ZC._[36]);ZC.Q.G7($,{x:h?t.x:0,y:h?t.y:0,width:v,height:E,id:f,patternUnits:h||"pie"===e.DS?"userSpaceOnUse":"objectBoundingBox"}),e.H.KG.childNodes[0].appendChild($),$.appendChild(m),e.E.imgfill="url(#"+f+")"}TP(t){null!==t&&typeof t!==ZC._[31]||(t=!1);var e,a,c=this;if(c.A0!==c.AE||""!==c.GV&&""!==c.HV){var h=""===c.K?"gradient-"+ZC.SEQ++:c.K+"-gradient";(c.TX||t&&!ZC.AM(h))&&(t=!1),ZC.A5.browser.msie&&9===ZC._i_(ZC.A5.browser.version)&&(t=!1),ZC.AM(h)&&!t&&ZC.Q.EV(h);var _=c.SK(c.NV);if("radial"===c.NV?(e=t?ZC.AM(h):ZC.Q.F8("radialGradient",ZC._[36]),ZC.Q.G7(e,{cx:ZC._i_(_.cx),cy:ZC._i_(_.cy),r:ZC._i_(_.r),fx:ZC._i_(_.cx),fy:ZC._i_(_.cy)})):"linear"===c.NV&&(e=t?ZC.AM(h):ZC.Q.F8("linearGradient",ZC._[36]),ZC.Q.G7(e,{x1:ZC._i_(_.x1),x2:ZC._i_(_.x2),y1:ZC._i_(_.y1),y2:ZC._i_(_.y2)})),!t){if(ZC.Q.G7(e,{id:h,gradientUnits:"userSpaceOnUse"}),c.H.KG.childNodes[0].appendChild(e),""!==c.GV&&""!==c.HV)for(var f=c.GV.split(/\s+|;/),m=c.HV.split(/\s+|;/),v=0,E=f.length;v6){for(var a="",c=0,h=e.length;c0&&t.indexOf("#")>=0)?(w=ZC.Q.F8("svg",ZC._[36]),ZC.Q.G7(w,{viewBox:"0 0 8 8",fill:f.E.fill}),_=ZC.Q.F8("use",ZC._[36])):_=ZC.Q.F8("image",ZC._[36]),_.setAttributeNS?_.setAttributeNS(ZC._[37],"href",t):_.setAttribute("src",t);var D=f.o[ZC._[19]]?f.o[ZC._[19]]:c.width,M=f.o[ZC._[20]]?f.o[ZC._[20]]:c.height;c.width=D,c.height=M,E?ZC.Q.G7(w,{id:f.K+"-image",x:f.iX-c.width/2+f.BL,y:f.iY-c.height/2+f.BH,width:c.width,height:c.height}):ZC.Q.G7(_,{id:f.K+"-image",x:f.iX-c.width/2+f.BL,y:f.iY-c.height/2+f.BH,width:c.width,height:c.height}),E?(w.appendChild(_),m.appendChild(w)):m.appendChild(_)}break;case"circle":if(!ZC.AM(f.K+"-circle")&&(h=ZC.Q.F8("circle",ZC._[36]),-1!==f.E.fill?ZC.Q.G7(h,{fill:f.E.fill,"fill-opacity":f.C5}):ZC.Q.G7(h,{fill:"none"}),f.DF&&""!==f.DF&&ZC.Q.G7(h,{class:f.DF}),ZC.Q.G7(h,{id:f.K+"-circle",cx:f.iX+f.BL,cy:f.iY+f.BH,r:f.AI}),f.AU>0&&(ZC.Q.G7(h,{stroke:f.BX,"stroke-width":f.AU,"stroke-opacity":f.OB}),f.KT(f.AU),"solid"===f.GF||0===f.ES&&0===f.G4||ZC.Q.G7(h,{"stroke-dasharray":"dashdot"===f.GF?[f.ES,f.G4,f.B1,f.G4].join(" "):[f.ES,f.G4].join(",")})),f.H&&f.H.G5?(f.H.G5[m.id]||(f.H.G5[m.id]=document.createDocumentFragment()),f.H.G5[m.id].appendChild(h)):m.appendChild(h),typeof f.E.imgfill!==ZC._[31]))if("string"==typeof f.E.imgfill)h=ZC.Q.F8("circle",ZC._[36]),ZC.Q.G7(h,{id:f.K+"-imgfill",fill:f.E.imgfill,"fill-opacity":f.C5,cx:f.iX+f.BL,cy:f.iY+f.BH,r:f.AI,"stroke-width":0}),f.H&&f.H.G5?f.H.G5[m.id].appendChild(h):m.appendChild(h);else{var T=f.E.imgfill;(_=ZC.Q.F8("image",ZC._[36])).setAttributeNS&&_.setAttributeNS(ZC._[37],"href",f.DA),f.E["clip-path"]&&ZC.Q.G7(_,{"clip-path":"url(#"+f.E["clip-path"]+(ZC.A5.browser.webkit?"-shape":"")+")"}),ZC.Q.G7(_,{id:f.K+"-imgfill",x:T[1],y:T[2],width:T[0].width,height:T[0].height}),m.appendChild(_)}break;case"plus":case"cross":case"line":case"ic_line":case"arc":f.B1>0&&(ZC.CQ.setup(m,f),f.o.spline?(f.CY=!1,f.R3=!0,ZC.CQ.paint(m,f,ZC.CQ.smooth(f.D,!1,f.o.direction||"h"))):ZC.CQ.paint(m,f,f.D));break;default:var R=f.B7,V=f.B1;f.B7=f.BX,f.B1=f.AU,f.KT(),ZC.CQ.setup(m,f),ZC.CQ.paint(m,f,f.D,!0,0),f.B7=R,f.B1=V,f.KT()}}TQ(t,e){null!==e&&typeof e!==ZC._[31]||(e=!1);var a,c=this;if(c.A0!==c.AE||""!==c.GV&&""!==c.HV){var h=""===c.K?"gradient-"+ZC.SEQ++:c.K+"-gradient";if(e&&!ZC.AM(h)&&(e=!1),ZC.AM(h)&&!e&&ZC.A5(h).remove(),a=e?ZC.AM(h):ZC.Q.F8("zcv:fill"),e&&(t=ZC.A5("#"+h).attr("focusposition")),""!==c.GV&&""!==c.HV){for(var _=c.GV.split(/\s+|;/),f=c.HV.split(/\s+|;/),m="",v="",E="",w=0,D=_.length;w0||f.B1>0?h.appendChild(D):h.stroked=!1,h.style.left=f.iX+f.BL-f.AI+"px",h.style.top=f.iY+f.BH-f.AI+"px",h.style.width=2*f.AI+"px",h.style.height=2*f.AI+"px","arc"===f.DS&&ZC.Q.G7(h,{startangle:f.BM+90,endangle:f.B4+90}),m.appendChild(h),v&&typeof f.E.imgfill!==ZC._[31])){var M=f.E.imgfill;1===M.length?((h=ZC.Q.F8("zcv:oval")).id=f.K+"-imgfill",h.style.position="absolute",m.appendChild(h),h.appendChild(M[0]),h.style.left=f.iX+f.BL-f.AI+"px",h.style.top=f.iY+f.BH-f.AI+"px",h.style.width=2*f.AI+"px",h.style.height=2*f.AI+"px",h.stroked=!1,"arc"===f.DS&&ZC.Q.G7(h,{startangle:f.BM+90,endangle:f.B4+90})):3===M.length&&((_=ZC.Q.F8("img")).id=f.K+"-img",_.src=f.DA,_.style.position="absolute",_.style.left=M[1]+"px",_.style.top=M[2]+"px",1!==f.L3&&(_.width*=f.L3,_.height*=f.L3,_.style.width=_.width+"px",_.style.height=_.height+"px"),m.appendChild(_))}break;case"plus":case"cross":case"line":case"ic_line":f.B1>0&&(ZC.CQ.setup(m,f),f.o.spline?(f.CY=!1,f.R3=!0,ZC.CQ.paint(m,f,ZC.CQ.smooth(f.D,!1,f.o.direction||"h"))):ZC.CQ.paint(m,f,f.D));break;default:var T=f.B7,R=f.B1;f.B7=f.BX,f.B1=f.AU,f.KT(),ZC.CQ.setup(m,f),ZC.CQ.paint(m,f,f.D,!0,0),f.B7=T,f.B1=R,f.KT()}}}class I7 extends DX{constructor(t){super(t),this.init(t)}init(t){super.init(t);var e=this;e.DS="box",e.I=0,e.F=0,e.A93="",e.E7=-1,e.E6=-1,e.DR=-1,e.DY=-1,e.F6=0,e.FW=0,e.F2=0,e.FI=0,e.A7L=!1,e.KY=!1,e.EM="bottom",e.EX=0,e.MG=0,e.HD=8,e.GB=8,e.Y7=[1,1],e.DL=null,e.OZ=null,e.QB=!1,e.NB=!0,e.QD="",e.OV="",e.O2="",e.PL="",e.VZ="tl",e.FH=!1}getPMap(){var t=super.getPMap();return this.addPMap(t,"width,height,borderRadiusTopLeft,borderRadiusTopRight,borderRadiusBottomRight,borderRadiusBottomLeft,callout,calloutType,calloutPosition,calloutHook,calloutWidth,calloutHeight,calloutOffset,calloutExtension,position,borderTop,borderRight,borderBottom,borderLeft,rectShortcut","I,F,F6,FW,F2,FI,KY,EM,DL,HD,GB,EX,MG,A93,QD,OV,O2,PL,FH"),t}build(){}wh_(t,e,a){var c=this;if(e=e||"w",ZC._f_(t)+""!=t+"")return-1!==(t+="").indexOf("%")?c.wh_(ZC._f_(t.replace("%",""))/100,e,!0):-1!==t.indexOf("px")?c.wh_(ZC._f_(t.replace("px","")),e):c.wh_(ZC._f_(t),e);var h=typeof c.E["p-width"]!==ZC._[31]?c.E["p-width"]:c.A.I,_=typeof c.E["p-height"]!==ZC._[31]?c.E["p-height"]:c.A.F;return(t=ZC._a_(t))>1&&!a?ZC._i_(t):t<=1||a?"w"===e?ZC._i_(h*t):ZC._i_(_*t):void 0}m_(t,e,a,c,h){var _,f,m=this;if(a=a||0,c=c||0,h=h||"n","all"===(e=e||"all")){var v=String(t).split(/\s+|;|,/);return 1===v.length?[m.m_(v[0],"tb",a,c,h),m.m_(v[0],"lr",a,c,h),m.m_(v[0],"tb",a,c,h),m.m_(v[0],"lr",a,c,h)]:2===v.length?[m.m_(v[0],"tb",a,c,h),m.m_(v[1],"lr",a,c,h),m.m_(v[0],"tb",a,c,h),m.m_(v[1],"lr",a,c,h)]:3===v.length?[m.m_(v[0],"tb",a,c,h),m.m_(v[1],"lr",a,c,h),m.m_(v[2],"tb",a,c,h),m.m_(v[1],"lr",a,c,h)]:[m.m_(v[0],"tb",a,c,h),m.m_(v[1],"lr",a,c,h),m.m_(v[2],"tb",a,c,h),m.m_(v[3],"lr",a,c,h)]}return t+""=="auto"?-2:t+""=="dynamic"&&"y"===h?"dynamic":ZC._f_(t)+""!=t+""?-1!==(t+="").indexOf("%")?m.m_(ZC._f_(t.replace("%",""))/100,e):-1!==t.indexOf("px")?m.m_(ZC._f_(t.replace("px","")),e):m.m_(ZC._f_(t),e):((m.A||typeof m.E["p-width"]!==ZC._[31])&&(_=typeof m.E["p-width"]!==ZC._[31]?m.E["p-width"]:m.A.I),(m.A||typeof m.E["p-height"]!==ZC._[31])&&(f=typeof m.E["p-height"]!==ZC._[31]?m.E["p-height"]:m.A.F),(t=ZC._a_(t))>=1?ZC._i_(t):t<1?"lr"===e?ZC._i_((m.A?_:a)*t):ZC._i_((m.A?f:c)*t):void 0)}copy(t){super.copy(t);for(var e="I,F,E7,DR,DY,E6,F6,FW,F2,FI,KY,EM,DL,Y7,HD,GB,EX,MG,A93,QD,OV,O2,PL,FH".split(","),a=0,c=e.length;a1&&!Q?ZC._i_(ae):-2===R&&-2===M?ZC._i_(E*ae):-2===R&&-2!==M?ZC._i_((E-M)*ae):-2!==R&&-2===M?ZC._i_((E-R)*ae):ZC._i_((E-R-M)*ae),-1!==f.iX?(f.DY=f.iX-m,f.E6=m+E-f.DY-f.I):-2===R&&-2===M?(f.DY=f.E6=(E-f.I)/2,f.iX=m+f.DY):-2===R&&-2!==M?(f.E6=M,f.DY=E-f.E6-f.I,f.iX=m+f.DY):(f.DY=R,f.iX=m+f.DY,f.E6=f instanceof DV?M:E-f.DY-f.I)}else-1!==f.iX?(f.DY=f.iX-m,f.E6=-2===M?0:M,f.I=E-f.DY-f.E6):-2===R&&-2===M?(f.DY=f.E6=0,f.iX=m+f.DY,f.I=E-f.DY-f.E6):-2===R&&-2!==M?(f.E6=M,f.DY=0,f.iX=m+f.DY,f.I=E-f.DY-f.E6):-2!==R&&-2===M?(f.DY=R,f.E6=f instanceof DV?M:0,f.iX=m+f.DY,f.I=E-f.DY-f.E6):(f.DY=R,f.E6=M,f.iX=m+f.DY,f.I=E-f.DY-f.E6);if(null!==(e=ZC._n_(f.o[ZC._[20]]))){var ee=ZC._p_(e);Q=-1!==(""+e).indexOf("%"),f.F=ee>1&&!Q?ZC._i_(ee):-2===D&&-2===T?ZC._i_(w*ee):-2===D&&-2!==T?ZC._i_((w-T)*ee):-2!==D&&-2===T?ZC._i_((w-D)*ee):ZC._i_((w-D-T)*ee),-1!==f.iY?(f.E7=f.iY-v,f.DR=v+w-f.E7-f.F):-2===D&&-2===T?(f.E7=f.DR=(w-f.F)/2,f.iY=v+f.E7):-2===D&&-2!==T?(f.DR=T,f.E7=w-f.DR-f.F,f.iY=v+f.E7):(f.E7=D,f.iY=v+f.E7,f.DR=f instanceof DV?T:w-f.E7-f.F)}else-1!==f.iY?(f.E7=f.iY-v,f.DR=-2===T?0:T,f.F=w-f.E7-f.DR):-2===D&&-2===D?(f.E7=f.E7=0,f.iY=v+f.E7,f.F=w-f.E7-f.DR):-2===D&&-2!==T?(f.DR=T,f.E7=0,f.iY=v+f.E7,f.F=w-f.E7-f.DR):-2===D&&-2!==T?(f.E7=D,f.DR=f instanceof DV?T:0,f.iY=v+f.E7,f.F=w-f.E7-f.DR):(f.E7=D,f.DR=T,f.iY=v+f.E7,f.F=w-f.E7-f.DR);if(null!==(e=ZC._n_(f.o.position))){if(f.A&&typeof f.A.iX!==ZC._[31]&&typeof f.A.iY!==ZC._[31]&&typeof f.A.I!==ZC._[31]&&typeof f.A.F!==ZC._[31]){switch(c=0,h=0,(_=String(e).split(/\s+/))[0]){case"left":c=0;break;case"right":c=1;break;case"center":c=.5;break;default:(c=ZC.IU(_[0]))>1&&(c/=f.A.I)}switch(_[1]){case"top":h=0;break;case"bottom":h=1;break;case"middle":h=.5;break;default:(h=ZC.IU(_[1]))>1&&(h/=f.A.F)}}f.E["position-info"]=[c,h],f.iX=f.A.iX+ZC._i_(c*(f.A.I-f.I-W[1]-W[3]))+W[3],f.iY=f.A.iY+ZC._i_(h*(f.A.F-f.F-W[0]-W[2]))+W[0]}f.D1=[f.iX,f.iY,f.iX+f.I,f.iY+f.F]}}}parse(){super.parse();var t,e=this;if(!e.o.tween){if(e.assign_a([["anchor","VZ"],["rect-shortcut","FH","b"],["center-ref","A7L","b"],["callout","KY","b"],["callout-type","ACS"],["callout-position","EM"],["callout-hook","DL"],["callout-ratio","Y7"],["callout-width","HD","i"],["callout-height","GB","i"],["callout-offset","EX","i"],["callout-extension","MG","i"],["border-top","QD"],["border-right","OV"],["border-bottom","O2"],["border-left","PL"]]),null!==(t=ZC._n_(e.o["border-radius"]))){var a=String(t).split(/\s+|;|,/);2===a.length?(e.F6=e.FW=ZC._i_(a[0]),e.F2=e.FI=ZC._i_(a[1])):4===a.length?(e.F6=ZC._i_(a[0]),e.FW=ZC._i_(a[1]),e.F2=ZC._i_(a[2]),e.FI=ZC._i_(a[3])):e.F6=e.FW=e.F2=e.FI=ZC._i_(a[0])}null!==ZC._n_(e.o["callout-tip"])&&(e.OZ=new DX(e.A)),e.assign_a([["border-radius-top-left","F6","i"],["border-radius-top-right","FW","i"],["border-radius-bottom-right","F2","i"],["border-radius-bottom-left","FI","i"]])}}VB(t){var e=t.split(/\s/);return e[0]=ZC._i_(e[0]),e[2]=ZC.AR.GE(e[2]),e}paint(){var t=this;if(null!==t.DL&&!(t.DL instanceof Array)&&"zcgraph"===t.A.OP){var e=t.A.OS(t.DL);t.DL=[e[0],e[1]],t.DL[0]-=t.BL,t.DL[1]-=t.BH}if(t.A7L&&(t.iX-=t.I/2,t.iY-=t.F/2),"-1"!==t.BX&&0!==t.AU||t.QD+t.OV+t.O2+t.PL!==""||"-1"!==t.A0||"-1"!==t.AE||""!==t.DA||""!==t.GV||""!==t.HV){var a,c=t.H.AC;t.MJ&&t.C7&&t.A2C();var h={x:"iX",y:"iY",width:"I",height:"F"};if(t.o["bottom-state"]&&!t.YV&&!t.bIsBottom&&!t.WO){var _=new I7(t.A);for(a in _.copy(t),_.bIsBottom=!0,_.MJ=!1,_.Z=t.Z,_.VZ=t.VZ,_.append({x:t.iX-t.A.iX,y:t.iY-t.A.iY,width:t.I,height:t.F}),_.append(t.o["bottom-state"]),_.K=t.K+"-bottom",_.parse(),_.setAnchor(),h)null===ZC._n_(_.o[a])||-1===(""+_.o[a]).indexOf("+")&&-1===(""+_.o[a]).indexOf("-")||(_[h[a]]=t[h[a]]+ZC._i_(_.o[a]));_.paint()}if(t.QD+t.OV+t.O2+t.PL===""){switch(c){case"canvas":t.X0();break;case"svg":t.UF();break;case"vml":t.UE()}if(t.KY&&t.OZ){var f,m;if(t.DL&&2===t.DL.length?(f=t.DL[0],m=t.DL[1]):t.E.cp&&(f=t.E.cp[0],m=t.E.cp[1]),t.OZ.Z=t.OZ.C7=t.Z,t.OZ.copy(t),t.OZ.append(t.o["callout-tip"]),t.OZ.K=t.K+"-callout-tip",t.OZ.o.x=f,t.OZ.o.y=m,t.E.cm){var v=t.E.cm[0],w=Math.atan2(ZC._i_(t.E.cm[1])-ZC._i_(m),ZC._i_(v)-ZC._i_(f));isNaN(w)&&(w=0),null===ZC._n_(t.OZ.o.angle)&&(t.OZ.o.angle=ZC.UI(w))}t.OZ.parse(),t.OZ.paint()}}else{var D=t.AU,M=t.BX,T=t.GF;switch(t.AU=0,c){case"canvas":t.X0();break;case"svg":t.UF();break;case"vml":t.UE()}t.AU=D;var R=t.A0,V=t.AE;t.A0=t.AE="-1";for(var $,y=["top","right","bottom","left"],U=["QD","OV","O2","PL"],O=0;O=a.F?ZC._a_(ZC.EO(a.NI))>.5?a.F/2:a.I/2:ZC._a_(ZC.EI(a.NI))>.5?a.I/2:a.F/2)*ZC.EI(a.NI),M=e*ZC.EO(a.NI);return{x1:_-D,y1:f-M,x2:_+D,y2:f+M}}}UH(t){var e,a=this;typeof t===ZC._[31]&&(t="all");var c,h,_=a.iX,f=a.iY;a.D=[],c=h=a.AU/2;var m=1;"vml"===a.H.AC&&(m=2,a.AU%2==1&&(c=ZC._i_((a.AU-1)/2),h=ZC._i_((a.AU+1)/2)));var v=null,E=ZC._x_(_+c,2),w=ZC._x_(_-h,2),D=ZC._x_(f+c,2),M=ZC._x_(f-h,2),T=a.DL&&2===a.DL.length,R=ZC._i_(a.EX*(a.I-a.HD)/100),V=ZC._i_(a.EX*(a.F-a.GB)/100),$=0!==a.F6||0!==a.FW||0!==a.F2||0!==a.FI,y=a.Y7[0],U=a.Y7[1];switch(a.EM){case"top":a.E.cm=[a.iX+a.I/2+R,a.iY];break;case"bottom":a.E.cm=[a.iX+a.I/2+R,a.iY+a.F];break;case"left":a.E.cm=[a.iX,a.iY+a.F/2+V];break;case"right":a.E.cm=[a.iX+a.I,a.iY+a.F/2+V]}if($){var O,Q=ZC.CX(a.I/2,a.F/2);"top"!==t&&"all"!==t||(0!==a.F6?(O=a.I/2>=a.F6&&a.F/2>=a.F6?ZC._a_(a.F6):Q,a.D.push([E,D+O]),a.F6>0&&a.D.push([E,D,E+m*O,D]),a.D.push([E+O,D])):a.D.push([E,D]),a.KY&&"top"===a.EM&&(a.D.push([E+a.I/2-y*a.HD/2-a.AU/2+R,D]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[E+a.I/2-a.AU/2+R,D-a.GB]),a.MG>0&&(a.D.push([(e=a.D[a.D.length-1])[0],e[1]-a.MG*(a.GB>0?1:-1)]),a.D.push([e[0],e[1]])),a.D.push([E+a.I/2-a.AU/2+U*a.HD/2+R,D])),"top"===t&&(0!==a.FW?(O=a.I/2>=a.FW&&a.F/2>=a.FW?ZC._a_(a.FW):Q,a.D.push([w+a.I-O,D])):a.D.push([w+a.I,D]))),"right"!==t&&"all"!==t||(0!==a.FW?(O=a.I/2>=a.FW&&a.F/2>=a.FW?ZC._a_(a.FW):Q,a.D.push([w+a.I-O,D]),a.D.push(a.FW>0?[w+a.I,D,w+a.I,D+m*O]:[w+a.I,D+O])):a.D.push([w+a.I,D]),a.KY&&"right"===a.EM&&(a.D.push([w+a.I,D+a.F/2-y*a.GB/2-a.AU/2+V]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[w+a.I+a.HD,D+a.F/2-a.AU/2+V]),a.D.push([w+a.I,D+a.F/2+U*a.GB/2-a.AU/2+V])),"right"===t&&(0!==a.F2?(O=a.I/2>=a.F2&&a.F/2>=a.F2?ZC._a_(a.F2):Q,a.D.push([w+a.I,M+a.F-O])):a.D.push([w+a.I,M+a.F]))),"bottom"!==t&&"all"!==t||(0!==a.F2?(O=a.I/2>=a.F2&&a.F/2>=a.F2?ZC._a_(a.F2):Q,a.D.push([w+a.I,M+a.F-O]),a.D.push(a.F2>0?[w+a.I,M+a.F,w+a.I-m*O,M+a.F]:[w+a.I-O,M+a.F])):a.D.push([w+a.I,M+a.F]),a.KY&&"bottom"===a.EM&&(a.D.push([w+a.I/2+y*a.HD/2+a.AU/2+R,M+a.F]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[w+a.I/2+a.AU/2+R,M+a.F+a.GB]),a.MG>0&&(a.D.push([(e=a.D[a.D.length-1])[0],e[1]+a.MG*(a.GB>0?1:-1)]),a.D.push([e[0],e[1]])),a.D.push([w+a.I/2-U*a.HD/2+a.AU/2+R,M+a.F])),"bottom"===t&&(0!==a.FI?(O=a.I/2>=a.FI&&a.F/2>=a.FI?ZC._a_(a.FI):Q,a.D.push([E+O,M+a.F])):a.D.push([E,M+a.F]))),"left"!==t&&"all"!==t||(0!==a.FI?(O=a.I/2>=a.FI&&a.F/2>=a.FI?ZC._a_(a.FI):Q,a.D.push([E+O,M+a.F]),a.D.push(a.FI>0?[E,M+a.F,E,M+a.F-m*O]:[E,M+a.F-O])):a.D.push([E,M+a.F]),a.KY&&"left"===a.EM&&(a.D.push([E,M+a.F/2+y*a.GB/2+a.AU/2+V]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[E-a.HD,M+a.F/2+a.AU/2+V]),a.D.push([E,M+a.F/2-U*a.GB/2+a.AU/2+V])),0!==a.F6?(O=a.I/2>=a.F6&&a.F/2>=a.F6?ZC._a_(a.F6):Q,a.D.push([E,D+O])):(a.D.push([E,D]),a.D.push([E+.1,D])))}else"top"!==t&&"all"!==t||(a.D.push("top"===t?[E+.5,D+.5]:[E,D]),a.KY&&"top"===a.EM&&(a.D.push([E+a.I/2-y*a.HD/2-a.AU/2+R,D]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[E+a.I/2-a.AU/2+R,D-a.GB]),a.MG>0&&(a.D.push([(e=a.D[a.D.length-1])[0],e[1]-a.MG*(a.GB>0?1:-1)]),a.D.push([e[0],e[1]])),a.D.push([E+a.I/2+U*a.HD/2-a.AU/2+R,D])),"top"===t&&a.D.push([w+a.I+.5,D+.5])),"right"!==t&&"all"!==t||(a.D.push("right"===t?[w+a.I+.5,D+.5]:[w+a.I,D]),a.KY&&"right"===a.EM&&(a.D.push([w+a.I,D+a.F/2-a.AU/2-y*a.GB/2+V]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[w+a.I+a.HD,D+a.F/2-a.AU/2+V]),a.D.push([w+a.I,D+a.F/2-a.AU/2+U*a.GB/2+V])),"right"===t&&a.D.push([w+a.I+.5,M+a.F+.5])),"bottom"!==t&&"all"!==t||(a.D.push("bottom"===t?[w+a.I+.5,M+a.F+.5]:[w+a.I,M+a.F]),a.KY&&"bottom"===a.EM&&(a.D.push([w+a.I/2+y*a.HD/2+a.AU/2+R,M+a.F]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[w+a.I/2+a.AU/2+R,M+a.F+a.GB]),a.MG>0&&(a.D.push([(e=a.D[a.D.length-1])[0],e[1]+a.MG*(a.GB>0?1:-1)]),a.D.push([e[0],e[1]])),a.D.push([w+a.I/2-U*a.HD/2+a.AU/2+R,M+a.F])),"bottom"===t&&a.D.push([E+.5,M+a.F+.5])),"left"!==t&&"all"!==t||(a.D.push("left"===t?[E+.5,M+a.F+.5]:[E,M+a.F]),a.KY&&"left"===a.EM&&(a.D.push([E,M+a.F/2+a.AU/2+y*a.GB/2+V]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[E-a.HD,M+a.F/2+a.AU/2+V]),a.D.push([E,M+a.F/2+a.AU/2-U*a.GB/2+V])),"left"===t?a.D.push([E+.5,D+.5]):(a.D.push([E,D]),a.D.push([E+.1,D])));v&&(a.E.cp=v)}X0(t){t=t||"all";var e,a,c,h=this,_=h.Z.getContext("2d");_.save(),_.globalCompositeOperation=h.A1F;var f=h.iX,m=h.iY,v=h.X1(),E=v.bc,w=v.bgc1,D=v.bgc2;if("all"===t)if(w!==D||""!==h.GV&&""!==h.HV){var M=h.SK(h.NV);"radial"===h.NV?e=_.createRadialGradient(M.cx,M.cy,1,M.cx,M.cy,M.r):"linear"===h.NV&&(M.x1=isNaN(M.x1)?0:M.x1,M.x2=isNaN(M.x2)?0:M.x2,M.y1=isNaN(M.y1)?0:M.y1,M.y2=isNaN(M.y2)?0:M.y2,e=_.createLinearGradient(M.x1,M.y1,M.x2,M.y2)),""!==h.GV&&""!==h.HV?h.V9(e):(e.addColorStop(0,w),e.addColorStop(1,D)),_.fillStyle=e}else""!==h.DA&&-1!==ZC.AV(["repeat","true",!0],h.MF)&&"-1"===h.A0&&"-1"===h.AE&&(w="rgba(255,255,255,0)"),_.fillStyle=w;_.strokeStyle=E,_.lineWidth=h.AU,_.translate(h.BL,h.BH),0!==h.AA&&(_.translate(f+h.I/2,m+h.F/2),_.rotate(ZC.TK(h.AA)),_.translate(-(f+h.I/2),-(m+h.F/2))),_.beginPath(),h.UH(t);var T=h.F6+h.FW+h.F2+h.FI!==0;c=h.B1,h.B1=h.AU;var R=h.GF;if(h.GF="",h.KT(),ZC.CQ.contour(_,h,h.D),h.B1=c,h.GF=R,h.KT(),"all"===t)if(""!==h.DA&&-1===ZC.AV(ZC.IMG404,h.DA)){_.fill(),_.save(),_.clip();var V=_.globalAlpha;_.globalAlpha=h.C5;var $=h.Q7(),y=$.image;switch(h.MF){default:_.translate(h.iX,h.iY),a=_.createPattern(y,"repeat"),_.fillStyle=a,_.fill(),_.translate(-$.x,-$.y);break;case"no-repeat":case"false":case!1:_.drawImage(y,$.x-h.BL,$.y-h.BH,h.E[ZC._[69]],h.E[ZC._[70]])}_.globalAlpha=V,_.restore()}else _.fill();if(h.AU>0){var U=h.B7;c=h.B1,h.B7=h.BX,h.B1=h.AU,h.KT(),ZC.CQ.setup(_,h),h.TB=T?"round":"square",h.ES+h.G4>0&&(h.TB="butt"),h.A0D=T?"round":"miter",h.E["skip-top"]=!0,h.E.border=t,ZC.CQ.paint(_,h,h.D,!0),h.B7=U,h.B1=c,h.KT()}_.closePath(),_.restore()}UF(t){t=t||"all";var e=this,a=e.Z;e.E.fill=-1;var c=!1;if("all"===t){if(""!==e.DA&&-1===ZC.AV(ZC.IMG404,e.DA)){var h=e.Q7();e.Y1({info:h,x:e.iX,y:e.iY}),c=!0}e.TP()}if(e.UH(t),c&&"repeat"!==e.MF&&e.KY){var _=0,f=0;e.D1[1]0&&(e.TB="butt"),e.A0D=m?"round":"miter";var w=!1;ZC.A5.browser.msie||!e.FH||e.KY||""!==e.QD||""!==e.OV||""!==e.O2||""!==e.PL||0!==e.F6||0!==e.FW||0!==e.F2||0!==e.FI||(w=!0),e.E["skip-top"]=!0,e.E.border=t,ZC.CQ.paint(a,e,e.D,!0,null,w),e.B7=v,e.B1=E,e.KT()}UE(t){var e=this,a=e.Z;if("all"===(t=t||"all")){var c=ZC.Q.F8("zcv:fill");if(""!==e.DA&&-1===ZC.AV(ZC.IMG404,e.DA)){var h=e.Q7(),_=h.image;switch(e.MF){default:c.type="tile",c.src=e.DA,ZC.Q.G7(c,{position:h.cx+","+h.cy,opacity:e.C5,"o:opacity2":e.C5}),e.E.imgfill=[c];break;case"no-repeat":case"false":case!1:e.E.imgfill=[_,h.x,h.y]}}e.TQ("0.5,0.5")}var f=ZC.Q.F8("zcv:stroke");switch(f.weight=e.AU+"px",f.color=e.BX,f.opacity=e.C5,e.GF){case"solid":f.dashstyle="solid";break;case"dotted":f.dashstyle="dot";break;case"dashed":f.dashstyle="dash"}e.E.stroke=f,e.UH(t);var m=e.F6+e.FW+e.F2+e.FI!==0;e.E.cx=e.iX+e.I/2,e.E.cy=e.iY+e.F/2;var v=e.B7,E=e.B1;e.B7=e.BX,e.B1=e.AU,e.KT(),ZC.CQ.setup(a,e),e.TB=m?"round":"square",e.ES+e.G4>0&&(e.TB="butt"),e.A0D=m?"round":"miter",e.E.border=t,ZC.CQ.paint(a,e,e.D,"all"===t),e.B7=v,e.B1=E,e.KT()}}class R9 extends DX{constructor(t){super(t);var e=this;e.XB=null,e.BF=null,e.M=null,e.SV=null,e.A7=null,e.KI=!1,e.OJ=!1,e.L9=!1,e.A6S=!1}parse(){var t,e=this;e.BF=zingchart.pool.getInstance("box"===e.XB.type?"I7":"DX",e.A,e.K+"-shape",e.XB.tween),e.BF.append(e.XB),e.BF.iX=e.iX,e.BF.iY=e.iY,e.BF.K=e.K+"-gshape",e.BF.OJ=e.OJ,e.A6S||null===ZC._n_(t=e.BF.o.points)||(e.BF.o.points=ZC.AR.A69(t,e.A.iX,e.A.iY),e.A6S=!0),e.BF.parse(),null!==ZC._n_(t=e.BF.o.label)&&null!==ZC._n_(t.text)&&""!==t.text&&(typeof t.visible===ZC._[31]||ZC._b_(t.visible))&&(e.M=zingchart.pool.getInstance("DV",e,e.A.K+"-shape-label-"+e.H9,ZC.objmove),ZC.objmove||e.M.append(t)),null!==ZC._n_(t=e.BF.o.static)&&(e.KI=ZC._b_(t)),null!==ZC._n_(t=e.BF.o.flat)&&(e.KI=ZC._b_(t)),null!==ZC._n_(t=e.BF.o.dynamic)&&(e.L9=ZC._b_(t)),null!==ZC._n_(t=e.BF.o.connector)&&(e.SV=new DX(e),e.SV.append(t),e.SV.parse())}paint(){var t,e=this;if(e.BF.Z=e.Z,e.BF.C7=e.C7,e.BF.locate(2),e.BF.WO=!1,"box"===e.BF.o.type&&(e.iX-=e.BF.I/2,e.iY-=e.BF.F/2,e.BF.iX-=e.BF.I/2,e.BF.iY-=e.BF.F/2),e.BF.paint(),e.M){if(e.M.Z=e.M.C7=e.Z,e.M.IW=ZC.AM(e.A.A.K+"-text"),e.M.K=e.A.K+"-shape-label-"+e.H9,e.M.GO=e.A.K+"-shape-label zc-shape-label",e.M.o.anchor=e.M.o.anchor||"c",!e.XB["map-item"])switch(e.DS){default:e.M.o.x=e.iX,e.M.o.y=e.iY;break;case"line":case"poly":case"rect":case"rectangle":e.M.o.x=ZC._i_((e.BF.D1[0]+e.BF.D1[2])/2),e.M.o.y=ZC._i_((e.BF.D1[1]+e.BF.D1[3])/2)}if(ZC.objmove||e.M.parse(),e.M.iX=e.M.iX+e.BF.BL,e.M.iY=e.M.iY+e.BF.BH,e.M.AO){if(e.SV&&e.SV.D.length>0){if(!ZC.AM(e.A.K+"-objects-front")){var a=e.A.A.I+"/"+e.A.A.F;ZC.Q.K8({cls:"zc-abs",wh:a,id:e.A.K+"-objects-front",p:ZC.AM(e.A.A.K+"-objects-front")},e.A.A.AC),ZC.Q.HO({cls:ZC._[24],id:e.A.K+"-objects-front-c",p:ZC.AM(e.A.K+"-objects-front"),wh:a},e.A.A.AC)}var c=e.SV.D,_=c[c.length-1];switch(e.SV.o.anchor||""){case"l":e.M.iX=_[0]+e.BF.BL,e.M.iY=_[1]-e.M.F/2+e.BF.BH;break;case"r":e.M.iX=_[0]-e.M.I+e.BF.BL,e.M.iY=_[1]-e.M.F/2+e.BF.BH;break;case"t":e.M.iX=_[0]-e.M.I/2+e.BF.BL,e.M.iY=_[1]+e.BF.BH;break;case"b":e.M.iX=_[0]-e.M.I/2+e.BF.BL,e.M.iY=_[1]-e.M.F+e.BF.BH;break;default:e.M.iX=_[0]-e.M.I/2+e.BF.BL,e.M.iY=_[1]-e.M.F/2+e.BF.BH}t=ZC.Q.EA(ZC.AM(e.A.K+"-objects-front-c"),e.A.H.AC),ZC.CQ.setup(t,e.SV),ZC.CQ.paint(t,e.SV,c)}if(e.M.WO=!1,e.XB["map-item"]&&(e.M.GO=e.A.K+"-mapshape-label zc-mapshape-label",e.M.iXe.A.iX+e.A.I||e.M.iYe.A.iY+e.A.F))return;e.M.paint(),e.E["print-canvas"]?e.M.ED(ZC.AM(e.E["print-canvas"])):e.M.ED()}}}}class DV extends I7{constructor(t){super(t),this.init(t)}init(t){super.init(t);var e=this;e.IW=null,e.GO="",e.AN=null,e.OL="center",e.K4="middle",e.DG=zingchart.FONTSIZE,e.GJ=zingchart.FONTFAMILY,e.C2="#000",e.A9Q=!1,e.NC=!1,e.QY=!1,e.KJ="none",e.sFontWeight="normal",e.YU=0,e.FO=2,e.FP=2,e.FX=2,e.EP=2,e.A95=!1,e.A2P=!1,e.FM=-1,e.KL=0,e.NY=0,e.P0=ZC.MAX,e.bRTL=!1,e.A21=!0,e.VJ=zingchart.FASTWIDTH,e.A6T=1.65,e.VM=1,e.WF=!1,e.A7=null,e.VS=!1,e.A5J=!1}getPMap(){var t=super.getPMap();return this.addPMap(t,"textAlign,verticalAlign,fontSize,fontFamily,color,bold,fontWeight,italic,underline,textDecoration,paddingTop,paddingRight,paddingBottom,paddingLeft,text","OL,K4,DG,GJ,C2,A9Q,sFontWeight,NC,QY,KJ,FO,FP,FX,EP,AN"),t}copy(t){super.copy(t);for(var e="OL,K4,DG,GJ,C2,A9Q,sFontWeight,NC,KJ,QY,FO,FP,FX,EP,AN".split(","),a=0,c=e.length;a]+)>)/gi,"").length*e.DG/(e.A6T*(e.isBold(e.sFontWeight)?.87:1)*(e.NC?.95:1));var a="";return typeof e.o["html-mode"]!==ZC._[31]&&ZC._b_(e.o["html-mode"])&&(a="[HTMLMODE]"),ZC.Q.A4Y(this.H.K,a+t,this.GJ,this.DG,this.sFontWeight,this.FM)}parse(){this.I=this.F=this.NY=this.KL=0,super.parse();var t,e,a,c,h,_=this;if(!_.o.tween){if(_.YZ("text","AN"),null!==ZC._n_(_.AN)&&(_.AN=""+_.AN,_.AN=_.ET(_.AN),_.AN=_.AN.replace(/\n/g,"
").replace(/\\n/g,"
"),"svg"===_.H.AC&&(_.AN=_.AN.replace(/ /g," ")),_.AN=_.AN.replace(/0&&_.AN.length>_.YU&&(_.AN=_.AN.substring(0,_.YU)+"...");var m=_.AN.split(/
||
|\n/),v="";for(typeof _.o["html-mode"]!==ZC._[31]&&ZC._b_(_.o["html-mode"])&&(m=[_.AN],v="[HTMLMODE]"),_.KL=_.VJ?1.65*this.DG:ZC.Q.A4Y(this.H.K,v+_.AN,this.GJ,this.DG,this.sFontWeight,this.FM,!0)+_.FO+_.FX,a=0,c=m.length;a_.I&&!_.E.wrapped&&_.I>2*_.DG){var E,w="",D=0,M=_.AN.replace(/
/gi," [##] ").split(/\s|
/),T=[];for(a=0,c=M.length;a.9*_.I){var R=Math.ceil(E/_.I*.9),V=Math.ceil(M[a].length/R);for(h=0;h",D=0):(D+=E=1+_.cwidth(T[a]+" "))>.9*_.I?(a>0&&(w+="
"),w+=T[a]+" ",D=E):w+=T[a]+" ");w=(w=w.replace(/

/g,"
").replace(/

/g,"
")).replace(/(.+?)
$/g,"$1");var $=_.o.text;_.o.text=w,_.E.wrapped=!0,_.parse(),_.o.text=$,_.E.wrapped=!1}if("canvas"!==_.H.AC&&(_.AN=_.AN.replace(/</g,"<").replace(/>/g,">")),!(null!==ZC._n_(_.o[ZC._[19]])&&null!==ZC._n_(_.o[ZC._[20]])||null===ZC._n_(_.o.position)&&null===ZC._n_(_.o.margin)&&null===ZC._n_(_.o[ZC._[57]])&&null===ZC._n_(_.o[ZC._[58]])&&null===ZC._n_(_.o[ZC._[59]])&&null===ZC._n_(_.o[ZC._[60]]))){_.iX=-1,_.iY=-1;var y=_.o[ZC._[19]],U=_.o[ZC._[20]];null===ZC._n_(y)&&(_.o[ZC._[19]]=_.I),null===ZC._n_(U)&&(_.o[ZC._[20]]=_.F),_.locate(),_.o[ZC._[19]]=y,_.o[ZC._[20]]=U}if(typeof _.o["html-mode"]===ZC._[31]||!_.o["html-mode"]){var O=Math.ceil((_.NY-_.EP-_.FP)/_.DG);O>0&&(_.AN=_.AN.replace(/
/g,new Array(O).join("\u2014")))}}_.setAnchor()}paint(){var t,e,a,c,h,_,f,m,v,E,w,D=this;if(!D.WF&&!D.A21){var M=!0;null!==ZC._n_(D.o.flexible)&&(M=ZC._b_(D.o.flexible));var T,R,V={x:D.iX+D.EP-1,y:D.iY+D.FO-1,width:D.I-D.EP-D.FP+2,height:D.F-D.FO-D.FX+2,type:D.E.lbltype||""},$=[[0,0]];for(M&&($=[[0,0],[0,2],[0,-4],[0,4],[0,-8],[3,0],[-6,0],[5,0],[-10,0]]),R=0;R<$.length;R++){for(T=!0,V.x+=$[R][0],V.y+=$[R][0],h=0,_=D.H.T4.length;h<_;h++)ZC.AP.YF(V,D.H.T4[h],-2)&&(T=!1);if(T){D.iX=V.x,D.iY=V.y;break}}if(!T)return;D.H.T4.push(V)}var y=D.H.AC;if(t=ZC.Q.EA(D.Z,y),D.WF||super.paint(),!D.A5J&&(D.o[ZC._[19]]||!(D.I-D.EP-D.FP<2))&&(D.o[ZC._[20]]||!(D.KL-D.FO-D.FX<2))){var U=D.AA%360==0?"0":"";if((D.WF||zingchart.CANVASTEXT&&"canvas"===y)&&(U=""),ZC.vml&&"svg"===y&&""===D.GO&&(D.GO=D.K+"-class"),!D.WF&&ZC.AM(D.K)&&(y="_",ZC.objmove))return ZC.AM(D.K).style.top=D.iY+D.BH+"px",void(ZC.AM(D.K).style.left=D.iX+D.BL+"px");var O=typeof D.E["html-mode"]!==ZC._[31]&&D.E["html-mode"],Q=O;typeof D.o["html-mode"]!==ZC._[31]&&(O=ZC._b_(D.o["html-mode"]));var W,ae,ee,ne,oe,te,le,ce,Ce,he,fe,ie,De,ge,me,Ze,pe,ve,ke,de,Oe,Fe=[D.AN];O||(Fe=D.AN.split(/
||
|\n/)),O&&!Q&&"svg"===y&&"0"===U&&(U="0html");var be=D.IW?D.IW:D.Z.parentNode;switch(y+U){case"canvas0":case"vml0":case"svg0html":if(c=1,!O)switch(D.K4){case"middle":c+=(D.F-D.KL)/2;break;case"bottom":c+=D.F-D.KL}if(f=ZC.Q.IC({id:D.K,cls:D.GO,tl:ZC._x_(D.iY+D.BH)+"/"+ZC._x_(D.iX+D.BL),wh:D.I+"/"+D.F,position:"absolute",padding:0,margin:0,overflow:O?"visible":"hidden",textAlign:D.OL}),O&&(Q||y+U!=="svg0html"||(be=ZC.AM(D.H.K+"-top")),be.appendChild(f)),ZC.Q.IC({id:D.K+"-t",cls:""!==D.GO?D.GO+"-t":"",p:f,width:D.I-D.EP-D.FP,height:O?null:D.KL-D.FO-D.FX,tl:c+"/0",html:D.AN+"",position:"absolute",whiteSpace:"nowrap",opacity:D.VM,color:D.C2,fontWeight:D.sFontWeight,fontStyle:D.NC?"oblique":"normal",textDecoration:D.KJ,fontSize:D.DG,fontFamily:D.GJ,marginTop:D.FO,marginRight:D.FP,marginBottom:D.FX,marginLeft:D.EP,verticalAlign:D.K4,textAlign:D.OL,lineHeight:-1===D.FM?"125%":D.FM+"px",rtl:D.bRTL,padding:0}),D.E["css-display"]&&(f.style.display=D.E["css-display"],D.E["css-display"]=null),Q&&D.H&&D.H.A7&&!D.o[ZC._[19]]&&!D.o[ZC._[20]]){var Se=ZC.A5("#"+D.K+"-t");"canvas"===y&&(ZC.AM(D.H.K+"-tooltip-c").width=Se.width()+D.EP+D.FP,ZC.AM(D.H.K+"-tooltip-c").height=Se.height()+D.FO+D.FX),D.H.A7.clear(),D.I=Se.width()+D.EP+D.FP,D.F=Se.height()+D.FO+D.FX,D.paint()}break;case"canvas":var xe=!1;if(ZC.A5.browser.opera&&D.AA%90==0&&0!==D.AA&&(D.AA+=.5,xe=!0),t=D.Z.getContext("2d"),zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache||(ZC.CanvasCache={})),!zingchart.DEV.CACHECANVASTEXT||zingchart.DEV.CACHECANVASTEXT&&!ZC.CanvasCache[D.K]){for(zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache[D.K]=document.createElement("canvas"),ZC.CanvasCache[D.K].width=D.NY,ZC.CanvasCache[D.K].height=D.KL),W=-1===D.FM?0:ZC._x_(D.FM-1.25*D.DG)/2,h=0,_=Fe.length;h<_;h++)if(""!==ZC.H0(Fe[h])){switch(e=1===_?D.NY:D.cwidth(Fe[h])+D.FP+D.EP,ee=-1===(ae=Fe[h]).indexOf("<")?ae:ae.replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,""),a=0,c=0,D.OL){case"center":a+=(D.I-e)/2;break;case"right":a+=D.I-e}switch(D.K4){case"middle":c+=(D.F-D.KL)/2;break;case"bottom":c+=D.F-D.KL}if(ne=0,ae!==ee){for(;te=/<(.+?)>(.*?)<\/(.+?)>/.exec(ae);){switch(le="",ce="",(E=/(.+?)style=(.+?)(\'|")(.*?)/.exec(te[1]))&&(ce=E[2].replace(/\'|"/g,"")),te[3]){case"b":case"strong":le="font-weight:bold";break;case"i":case"em":le="font-style:italic";break;case"u":le="text-decoration:underline"}ae=ae.replace(te[0],'[[span style="'+(""===le?"":le+";")+ce+'"]]'+te[2]+"[[/span]]")}for(he=!1,ve=0,ke=(te=(ae=ae.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(//g,"[[*]]")).split("[[*]]")).length;ve(.+?)<\/(.+?)>/.exec(te[ve]))for(oe=w[2],de=0,Oe=(Ce=w[1].replace(/\'|"/g,"").split(/;|:/)).length;de||
/gi,"\n").replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"");ZC.Q.G7(Ge,{on:!0,string:Pe}),ZC.Q.PZ(Ge,{color:m,fontWeight:D.sFontWeight,fontStyle:D.NC?"oblique":"normal",textDecoration:D.KJ,fontSize:D.DG+"px",fontFamily:D.GJ,"v-text-align":D.OL}),Re.appendChild(Ge),t.appendChild(Re);break;case"svg":case"svg0":var Qe=D.iX+D.EP+D.BL,Ae=D.iY+D.FO+D.BH;if(f=ZC.Q.F8("text",ZC._[36]),ZC.Q.G7(f,{x:ZC._x_(Qe),y:ZC._x_(Ae),id:D.K,class:D.GO,opacity:D.VM}),D.E["css-display"]&&(f.style.display=D.E["css-display"],D.E["css-display"]=null),D.bRTL&&ZC.Q.G7(f,{"text-anchor":ZC.A5.browser.msie?"":"end","writing-mode":"rl",direction:"rtl","unicode-bidi":"bidi-override"}),D.A95&&(D.H.KG.appendChild(ZC.Q.Y3({id:D.K+"-clip",path:[[D.iX+D.EP+D.AU+D.BL,D.iY+D.FO+D.AU+D.BH].join(","),[D.iX+D.I-D.FP-D.AU+D.BL,D.iY+D.FO+D.AU+D.BH].join(","),[D.iX+D.I-D.FP-D.AU+D.BL,D.iY+D.F-D.FX-D.AU+D.BH].join(","),[D.iX+D.EP+D.AU+D.BL,D.iY+D.F-D.FX-D.AU+D.BH].join(","),[D.iX+D.EP+D.AU+D.BL,D.iY+D.FO+D.AU+D.BH].join(",")].join(" ")})),ZC.Q.G7(f,{"clip-path":"url(#"+D.K+"-clip)"})),D.AA%360!=0&&f.setAttribute("transform","rotate("+D.AA+" "+(Qe+(D.I-D.EP-D.FP)/2)+" "+(Ae+(D.F-D.FO-D.FX)/2)+")"),O&&be.appendChild(f),O){ZC.Q.EV(D.K+"-float");var He=ZC.Q.F8("div");ZC.Q.PZ(He,{position:"absolute",left:0,top:0,width:D.I-D.EP-D.FP+"px",height:D.F-D.FO-D.FX+"px",color:D.C2,fontSize:D.DG+"px",fontFamily:D.GJ,fontWeight:D.sFontWeight,textDecoration:D.KJ,textAlign:D.OL,fontStyle:D.NC?"italic":"normal"}),He.id=D.K+"-float",He.className="zc-style zc-html-mode",He.innerHTML=Fe[0],1===D.o["z-index"]?ZC.AM(D.H.K+"-top").append(He):ZC.AM(D.H.K+"-top").insertBefore(He,ZC.AM(D.H.K+"-img")),Q&&D.H&&D.H.A7&&(D.o[ZC._[19]]||D.o[ZC._[20]]||(D.H.A7.clear(),He.style.width="",He.style.height="",D.I=ZC.A5(He).width()+D.EP+D.FP,D.F=ZC.A5(He).height()+D.FO+D.FX,D.paint()))}else for(W=-1===D.FM?0:ZC._x_(D.FM-1.25*D.DG)/2,h=0,_=Fe.length;h<_;h++){switch(e=1===_?D.NY:D.cwidth(Fe[h])+D.FP+D.EP,ee=-1===(ae=Fe[h]).indexOf("<")?ae:ae.replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,""),a=0,c=D.DG,D.OL){case"center":a=(D.I-e)/2;break;case"right":a=D.I-e}switch(D.K4){case"middle":c+=(D.F-D.KL)/2;break;case"bottom":c+=D.F-D.KL}if(ne=0,ae!==ee){for(;te=/<(.+?)>(.*?)<\/(.+?)>/.exec(ae);){switch(le="",ce="",(E=/(.+?)style=(.+?)(\'|")(.*?)/.exec(te[1]))&&(ce=E[2].replace(/\'|"/g,"")),te[3]){case"b":case"strong":le="font-weight:bold";break;case"i":case"em":le="font-style:italic";break;case"u":le="text-decoration:underline"}ae=ae.replace(te[0],'[[span style="'+(""===le?"":le+";")+ce+'"]]'+te[2]+"[[/span]]")}for(he=!1,ve=0,ke=(te=(ae=ae.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(//g,"[[*]]")).split("[[*]]")).length;ve(.+?)<\/(.+?)>/.exec(te[ve]))for(oe=w[2],de=0,Oe=(Ce=w[1].replace(/\'|"/g,"").split(/;|:/)).length;de")?Me.innerText=oe:Me.innerHTML=oe,oe=Me.innerText||Me.textContent,Me=null,v.textContent=oe,f.appendChild(v),he=ie,ne++}}else D.bRTL&&ZC.A5.browser.msie&&(a+=e-D.EP-D.FP),v=ZC.Q.F8("tspan",ZC._[36]),ZC.Q.G7(v,{x:ZC._x_(Qe+a),y:ZC._x_(Ae+c),color:D.C2,fill:D.C2,dy:ZC._x_(W)}),ZC.Q.PZ(v,{fontWeight:D.sFontWeight,fontStyle:D.NC?"oblique":"normal",textDecoration:D.KJ,fontSize:D.DG+"px",fontFamily:D.GJ,dominantBaseline:"auto"}),v.textContent=ee,f.appendChild(v),W+=-1===D.FM?1.25*D.DG:D.FM}}O||!D.WF&&f&&be&&(D.H.G5?(-1!==ZC.Q.TJ(be).indexOf("zc-text")&&null===ZC._n_(D.H.G5[be.id])&&(D.H.G5[be.id]=document.createDocumentFragment()),D.H.G5[be.id]?D.H.G5[be.id].appendChild(f):be.appendChild(f)):be.appendChild(f))}}paintCANVASText(t){var M,e=this,a=t.idx,c=t.ctx,h=t.i,_=t.fw,f=t.fs,m=t.ff,v=t.c,E=t.dx,w=t.dy,D=t.t;if(c.save(),c.globalAlpha=e.VM,c.font=M=(h?"italic":"normal")+" normal "+_+" "+f+"px "+m,c.fillStyle=v,c.textAlign="left",c.textBaseline="alphabetic",c.translate(e.iX+e.BL,e.iY+e.BH),0!==e.AA&&(c.translate(e.I/2,e.F/2),c.rotate(ZC.TK(e.AA)),c.translate(-e.I/2,-e.F/2)),c.translate(e.EP,e.FO+f),c.translate(E,w),c.fillText(D,0,0),zingchart.DEV.CACHECANVASTEXT){var T=ZC.CanvasCache[e.K].getContext("2d");T.font=M,T.fillStyle=v,T.textAlign="left",T.textBaseline="alphabetic",T.fillText(D,e.EP,e.FO+f+1.25*a*f)}c.restore()}ED(t){var e=this;if(ZC.canvas&&"canvas"===e.H.AC&&(t||(t=ZC.AM(e.H.K+"-textprint-c")),!zingchart.CANVASTEXT&&e.AA%360==0)){var a=e.Z;e.Z=t,e.WF=!0;var c=e.H.AC;e.H.AC="canvas",e.paint(),e.WF=!1,e.H.AC=c,e.Z=a}}}class S3 extends I7{constructor(A){super(A);var t=this;t.CI="json",t.O9={graphset:!0,graph:!0,"objects-bottom":!0,"objects-top":!0,maps:!0,plotarea:!0,plots:!0,guide:!0,static:!0,"value-box":!0},t.bA11y=!1,t.PC="",t.A1N=!1,t.A1O="en_us",t.QX=null,t.JS="",t.UV=!1,t.S6={},t.ND="",t.ADI={},t.QU="",t.EW="",t.ML={},t.I1=null,t.AG=[],t.LV="",t.A7=null,t.H5=null,t.D6=null,t.B8=new ZC.ABF(t),t.QV="",t.MZ=null,t.O5=[null,null,null,null],t.OJ=!1,t.NU="x",t.KI=!1,t.TY=!1,t.ABV=!1,t.A3Y=!1,t.GQ=!1,t.A9Y={},t.O4=null,t.QZ={},t.M5=!1,t.QW=!1,t.AD4=null,t.T1=[],t.O={},t.NA=null,t.DH=null,t.UX=0,t.A2L=0,t.A53=1,t.MS=null,t.SL="",t.AB9="F*nStrlng4Cu$tOmLlc9nc9!",t.MN="",t.A1M={},t.A0Q=!1,t.AC="",t.KG=null,t.A08=!1,t.R0=["",""],t.LG=0,t.KX=[],t.A8B=0,t.A8A=0,t.A9X=!1,t.A1V="",t.A72=!0,t.IL=null,t.R2=[],t.O7=0,t.AB3=!1,t.SN={},t.A20=!1,t.G5=zingchart.DEV.DOMFRAGMENTS?{}:null,t.A34=!1,t.T4=[]}clearLabelBoxes(A){var t=this;if(A)for(var e=t.T4.length-1;e>=0;e--)t.T4[e].type===A&&t.T4.splice(e,1);else t.T4=[]}usc(){return-1!==ZC.AV(this.KX,ZC._[44])}mc(A){return A=A||"",ZC.AM(this.K+"-main-c"+(""===A?A:"-"+A))}hideCM(){var A;(A=ZC.AM(this.K+"-menu"))&&(A.style.display="none"),this.A9X=!1}Y2(){for(var A=this,t=A.O5.length,e=0;e1?G[A.L]:G[0];t.id||(t.id=A.o.id||""),s.o[ZC._[16]][A.L]=t,s.PX(function(){s.parse(JR),s.AG[A.L].paint()})}}})})}VV(DK){var s=this,G,i,A6,j,JH;for(null===ZC._n_(DK[ZC._[16]])&&(DK={graphset:[DK]}),1===DK[ZC._[16]].length&&null===ZC._n_(DK[ZC._[16]][0])&&(DK[ZC._[16]]=[{type:"null"}]),i=0,A6=DK[ZC._[16]].length;i=0;c--)for(_=0;_0){for(var ne=0,oe=0,te=ZC._i_((D-(Q+1)*f.A8B)/Q),le=ZC._i_((M-(O+1)*f.A8A)/O),ce=["x","y",ZC._[19],ZC._[20]],Ce=0;Ce=JB.length){for(var A in window.clearInterval(C4),s.AAP(s.o),LA)if(0!==A.indexOf("data:")&&-1===ZC.AV(s.E["safe-images"],A))try{if(LA[A].width>0&&LA[A].height>0){var t=document.createElement("canvas");t.width=LA[A].width,t.height=LA[A].height,t.getContext("2d").drawImage(LA[A],0,0);var e=t.toDataURL("image/png");LA[A].onload=null,LA[A].onerror=null,LA[A].src=e,ZC.cache.data[A]=LA[A]}}catch{}window.setTimeout(function(){zingchart.YL[s.K]&&JK()},1)}else A3O(++A24)},20);A3O(A24)}else zingchart.YL[s.K]&&JK()}else zingchart.YL[s.K]&&JK();function A3O(i){if(!(i>=JB.length)){var EW,MT,KP=JB[i][0],A0Z=JB[i][1];if("url:"===KP.substring(0,4)){var QU=KP.substring(4);s.QZ["url:"+QU]="[]";try{EW=["query-string"===s.ND?"zcrandom="+Math.random():""].join("&"),ZC.A5.ajax({type:"GET",url:QU,beforeSend:function(A){s.S6.data||"http-headers"!==s.ND||A.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EW,error:function(A,t,e,a){return s.NP({name:ZC._[63],message:"Resource not found ("+a+")"},ZC._[64]),!1},success:function(A,t,e,a){s.QZ["url:"+a]=A,UX++}})}catch(A){return s.NP(A,ZC._[64]),!1}}else if("javascript:"===KP.substring(0,11))if("zc.ext.load"===s.QZ[KP]){s.QZ[KP]="[]";var DW=ZC.AR.AAZ(KP.substring(11)),N={id:s.K,resource:KP,callback:function(A){s.QZ[KP]=A,UX++}},A0J=DW[0];N.arguments=DW[1];try{var A3G=eval(A0J).call(s,N);null!==ZC._n_(A3G)&&A3G&&(s.QZ[KP]=A3G,UX++)}catch(A){return s.NP(A,"JavaScript data loader"),!1}}else UX++;else"image"===A0Z?(LA[KP]=new Image,LA[KP].crossOrigin="anonymous",LA[KP].onload=function(){UX++},LA[KP].onerror=function(){var A=ZC._b_(s.o.strict);if(ZC.IMG404.push(KP),A)return s.NP({name:ZC._[63],message:"Resource not found ("+this.src+")"},"Resource loader (image)"),!1;this.src=ZC.BLANK,UX++},LA[KP].src=KP,ZC.cache.data[KP]=LA[KP]):"css"===A0Z?(EW=["query-string"===s.ND?"zcrandom="+Math.random():""].join("&"),ZC.A5.ajax({type:"GET",url:KP,beforeSend:function(A){s.S6.css||"http-headers"!==s.ND||A.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EW,error:function(A,t,e){return s.NP(e,"Resource loader"),!1},success:function(A){for(var t={},e=A.match(/[a-zA-Z0-9\.\#\-](.+?)\{((.|\s)+?)\}/gi),a=0,c=e.length;adiv").width(h.I).height(h.F)}for("canvas"===h.AC&&((t=ZC.AM(h.K+"-main-c"))&&(t.width=h.I,t.height=h.F),(t=ZC.AM(h.K+"-main-c-top"))&&(t.width=h.I,t.height=h.F),ZC.A5("#"+h.K+"-objects-bottom canvas, #"+h.K+"-objects-top canvas, #"+h.K+"-tools canvas").each(function(){this.width=h.I,this.height=h.F})),"vml"===h.AC&&ZC.A5("#"+h.K+"-objects-bottom div, #"+h.K+"-objects-top div, #"+h.K+"-tools div").each(function(){this.style.width=h.I+"px",this.style.height=h.F+"px"}),h.parse(),e=0,a=h.AG.length;e'}}}A.Z=ZC.AM(A.K+"-main-c"),super.paint();var v,E,w=!1,D=!1;for(v=0,E=A.AG.length;v100&&(new Date).getTime()-ZC.swipe.ts<1e3){var y=A.F5();y.direction=$[0]>ZC.swipe.xy[0]?"right":"left",ZC.AR.C1("swipe",A,y)}ZC.swipe=null}A.A9X||ZC.move||zingchart.SQ(V),A.P9(V)},ZC.A5("#"+A.K+"-img").bind("touchstart",A.AGB).bind("touchmove",A.P9).bind("touchend",A.AGA),ZC.A5("#"+A.K+"-menu-area").live("touchstart",A.AGB)),A.zc_loader_mousewheel=function(V){var $=A.F5();$.ev=V,ZC.AR.C1("mousewheel",A,$)},ZC.A5("#"+A.K+"-img").bind("mousewheel",A.zc_loader_mousewheel),ZC.A5("#"+A.K+"-map").bind("mousewheel",A.zc_loader_mousewheel),"svg"===A.AC&&ZC.A5("#"+A.K+"-svg").bind("mousewheel",A.zc_loader_mousewheel),A.A2T=function(V){27===V.keyCode&&A.QW&&(A.A8C||A.A9T())},ZC.A5(document).bind("keyup",A.A2T),A.A9T=function(){ZC.A5("#"+A.K+ZC._[66]).die("click",A.A9T),ZC.FSSTATUS=null,ZC.Q.EV(A.K+"-data-table"),A.destroy(),zingchart.FSID&&ZC.AM(zingchart.FSID)&&(ZC.AM(zingchart.FSID).style.display="none")},ZC.A5("#"+A.K+ZC._[66]).live("click",A.A9T)):ZC.mobile&&(A.zc_loader_touchstart_static=function(V){return V.preventDefault(),zingchart.SQ(V),!1},ZC.A5("#"+A.K+"-img").bind("touchstart",A.zc_loader_touchstart_static)),null!==A.I1){var R=ZC._i_(A.I1.interval);R=R>=50?R:1e3*R,window.setTimeout(function(){A.MX(),A.load()},R)}A.MN="",ZC.TS[A.K]=(new Date).getTime()-ZC.TS[A.K],A.E["fire-complete"]&&(ZC.AR.C1("complete",A,A.F5()),A.E["fire-complete"]=null),A.E["fire-load"]&&(ZC.AR.C1("load",A,A.F5()),A.E["fire-load"]=null)}togglePreviewMasks(A){for(var t=this,e=0;ePowered by ZingChart',h){case"br":R=t.F-f,V=t.I-m;break;case"bl":R=t.F-f,V=6;break;case"tr":R=2,V=t.I-m;break;case"tl":R=2,V=6}null!==ZC._n_(A=ZC.AM(t.K+"-top"))&&ZC.Q.IC({cls:ZC.ie67?"-ie67":"",p:A,id:t.K+"-license-text",tl:R+"/"+V,wh:m+"/"+(f-v),color:ZC.ie67?1===c?"#369":"#fff":"",padding:v,opacity:E,position:"absolute",cursor:"pointer",fontFamily:zingchart.FONTFAMILY,html:_})}_unbind_(){var A=this;ZC.A5("#"+A.K+"-menu").die(ZC._[47],A.UB),ZC.A5("."+A.K+"-menu-item").die(ZC._[47],A.UB),ZC.A5("."+A.K+"-menu-item").die("click touchend",A.AGE).die("mouseover",A.AGC).die("mouseout",A.AGD),A.E["menu-item-events"]=!1,ZC.A5("."+A.K+"-node-area").die("focus"),null!==A.H5&&A.H5.unbind(),null!==A.D6&&A.D6.unbind(),ZC.mobile&&(ZC.A5("#"+A.K+"-img").unbind("touchstart",A.AGB).unbind("touchmove",A.P9).unbind("touchend",A.AGA),ZC.A5("#"+A.K+"-menu-area").die("touchstart",A.AGB),ZC.A5("#"+A.K+"-img").unbind("touchstart",A.zc_loader_touchstart_static)),ZC.A5("#"+A.K+"-img").unbind("mousewheel",A.zc_loader_mousewheel),ZC.A5("#"+A.K+"-map").unbind("mousewheel",A.zc_loader_mousewheel),"svg"===A.AC&&ZC.A5("#"+A.K+"-svg").unbind("mousewheel",A.zc_loader_mousewheel),ZC.A5(document).unbind("keyup",A.A2T),ZC.A5("#"+A.K+ZC._[66]).die("click",A.A9T)}UJ(A,t,e){typeof e===ZC._[31]&&(e=!1);var a=ZC.AM("zc-menu-"+(e?"sep":"item")+"-"+A);a&&(a.style.display=t?"block":"none")}A1D(LU,ev){if(!zingchart.DEV.SKIPCONTEXTMENU){var s=this,G,i,A6,j,JH;typeof LU===ZC._[31]&&(LU=-1);var DH={};ZC._cp_(s.DH,DH),-1!==LU&&s.o[ZC._[16]][LU]&&ZC._cp_(s.o[ZC._[16]][LU].gui,DH,null,null,!0),ZC.A5("#"+s.K+"-menu").remove();var PT=[];for(typeof ZC.AQ===ZC._[31]&&PT.push({id:"3D",enabled:"none"},{id:"SwitchTo3D",enabled:"none"},{id:"SwitchTo2D",enabled:"none"}),i=DH.behaviors.length-1;i>0;i--)for(var sBId=DH.behaviors[i].id,ii=i-1;ii>=0;ii--)DH.behaviors[ii].id===sBId&&DH.behaviors.splice(ii,1);if(null!==ZC._n_(G=DH.behaviors))for(i=0,A6=G.length;iZC._i_(t.order||"0")}),s.NA=new DV(s);var A1R=s.LV.split(/\s+|;|,/),E2,LQ,UP,ABM,GX;for(i=0,A6=A1R.length;i'}}}E2=new DV(s),s.B8.load(E2.o,ZC._[65]+".item"),JQ&&null!==ZC._n_(G=JQ.item)&&E2.append(G),ZC.mobile&&(s.B8.load(E2.o,ZC._[65]+"[mobile].item"),OW&&null!==ZC._n_(G=OW.item)&&E2.append(G)),E2.VJ=!0,E2.parse(),LQ=new DV(s),LQ.copy(E2),s.B8.load(LQ.o,ZC._[65]+".item.hover-state"),JQ&&null!==ZC._n_(JQ.item)&&null!==ZC._n_(G=JQ.item[ZC._[71]])&&LQ.append(G),ZC.mobile&&(s.B8.load(LQ.o,ZC._[65]+"[mobile].item.hover-state"),OW&&null!==ZC._n_(OW.item)&&null!==ZC._n_(G=OW.item[ZC._[71]])&&LQ.append(G)),LQ.VJ=!0,LQ.parse(),UP={},JQ&&null!==ZC._n_(JQ.separator)&&(UP=JQ.separator);var K2=[],EL=null;if(ABM=null!==ZC._n_(s.NA.o.empty)&&ZC._b_(s.NA.o.empty),ZC.mobile&&(EL=GA("PageScroll"),"none"!==EL.enabled&&(null===s.DH||null===ZC._n_(s.DH["page-scroll"])||s.DH["page-scroll"]?K2.push(H1("disablepagescroll",EL.text)):K2.push(H1("enablepagescroll",EL.text)),K2.push(JL("pagescroll")))),EL=GA("Reload"),"none"!==EL.enabled&&(K2.push(H1("reload",EL.text)),K2.push(JL("reload"))),typeof ZC.A8W!==ZC._[31]){EL=GA("SaveAsImage"),"none"!==EL.enabled&&(EL=GA("SaveAsImagePNG"),"none"!==EL.enabled&&K2.push(H1("viewaspng",EL.text?EL.text:null)),EL=GA("SaveAsImageJPG"),"none"!==EL.enabled&&K2.push(H1("viewasjpg",EL.text?EL.text:null)),K2.push(JL("export")));var TT=["DownloadPDF","DownloadSVG","DownloadCSV","DownloadXLS","ViewDataTable","ExportData","Print"],A6Y=0,A2R=0;for(i=0;i0&&K2.push(JL(TT[A2R].toLowerCase()))}if(-1!==LU){var GQ=!1;for(j=0,JH=s.AG[LU].BO.length;j0&&K2.push(JL("tools")),EL=GA("FullScreen"),"none"===EL.enabled||s.M5||(s.QW?(EL=GA("ExitFullScreen"),K2.push(H1("exitfullscreen",EL.text)),K2.push(JL("exitfullscreen"))):(K2.push(H1("fullscreen",EL.text)),K2.push(JL("fullscreen")))),s.IL&&(EL=GA("GoBack"),"none"!==EL.enabled&&K2.push(H1("goback",EL.text)),EL=GA("GoForward"),"none"!==EL.enabled&&K2.push(H1("goforward",EL.text)),K2.push(JL("history"))),K2.length>0&&-1!==K2[K2.length-1].indexOf("zc-menu-sep")&&K2.splice(K2.length-1,1),s.A1Z={},-1!==LU&&JQ&&null!==ZC._n_(B6=JQ["custom-items"]))for(K2.length>0&&K2.push(JL("custom")),i=0,A6=B6.length;i '}function H1(A,t,e){t=t||ZC.HI["menu-"+A];var a=typeof e!==ZC._[31]&&e?" zc-custom-menu-item "+s.K+"-custom-menu-item":"";return'
'+t+"
"}function A3X(A,t,e){var a=typeof e!==ZC._[31]&&e?" zc-custom-menu-header "+s.K+"-custom-menu-header":"";return'
'+t+"
"}function GA(A){var t={ViewAsImage:"SaveAsImage",ViewAsImagePNG:"SaveAsImagePNG",ViewAsImageJPG:"SaveAsImageJPG"};if(ABM)return{enabled:"none"};for(var e=0,a=PT.length;e60?(v=60,M=ZC.HI["progress-wait-short"]):f<60&&(v=20,M=ZC.HI["progress-wait-mini"]),M=a.E.customprogresstext||M;var R=ZC.Q.IC({id:a.K+"-progress",p:document.body,tl:_+"/"+h,width:f-2*w.AU,height:m-2*w.AU,position:"absolute",opacity:.8,border:w.AU+"px solid "+w.BX,background:D});ZC.Q.IC({id:a.K+"-progress-text",p:R,width:v,html:M,textAlign:"center",marginLeft:ZC._i_((f-v)/2),marginTop:ZC._i_(m/2+E),fontFamily:zingchart.FONTFAMILY,fontSize:zingchart.FONTSIZE,color:w.C2,fontWeight:"bold"})}}}YB(){var A=this;ZC.Q.EV(A.K+"-dummy"),A.E.hideprogresslogo||(A.A08=!1,ZC.Q.EV([A.K+"-progress-text",A.K+"-progress"]))}A0P(A,t){var e,a,c=this;e=null!==ZC._n_(a=A[ZC._[16]])?a:[A];var _=ZC.AP.A2Y(A.layout||"",e.length),f=e[t],m=c.I/_[1],v=c.F/_[0],E=Math.floor(t/_[1]),w=t%_[1]*m,D=E*v;f&&(null!==ZC._n_(a=f.x)&&(w=ZC._p_(a))<=1&&(w=ZC._i_(w*c.I)),null!==ZC._n_(a=f.y)&&(D=ZC._p_(a))<=1&&(D=ZC._i_(D*c.F)),null!==ZC._n_(a=f[ZC._[19]])&&(m=ZC._p_(a))<=1&&(m=ZC._i_(m*c.I)),null!==ZC._n_(a=f[ZC._[20]])&&(v=ZC._p_(a))<=1&&(v=ZC._i_(v*c.F)));var M=[0,0,0,0];if(f.plotarea){c.B8.load(f.plotarea,["("+f.type+").plotarea"],!1,!0),null!==ZC._n_(f.plotarea.margin)&&(M=new I7(null).m_(f.plotarea.margin,"all",m,v));for(var T=["top","right","bottom","left"],R=0;R<4;R++)if(null!==ZC._n_(f.plotarea["margin-"+T[R]])){var V=f.plotarea["margin-"+T[R]];ZC._i_(V)+""==V+""&&(M[R]=ZC._i_(V))}}return{graph:{x:ZC._i_(w),y:ZC._i_(D),width:ZC._i_(m),height:ZC._i_(v),index:t},plotarea:{x:M[3],y:M[0],width:m-M[1]-M[3],height:v-M[0]-M[2]}}}K0(){var A=this;null===ZC._n_(A.o[ZC._[16]])&&(A.o={graphset:[A.o]}),A.MX(),zingchart.A2B(A,A.A2I(),function(){A.o=ZC.AR.C1("dataparse",A,A.F5(),A.o),zingchart.YL[A.K]&&A.PX(function(){A.parse(),A.paint()})})}render(){var A=this;!function(){function t(){""!==A.QV||null!==A.MZ?A.A4X():A.load()}A.UV||A.A4W(),A.MX(null,!0),zingchart.TIMEOUT>0?ZC.A07(t):t()}()}WA(A){var t=this;null===ZC._n_(t.A3Z)&&(t.A3Z=(new Date).getTime(),t.ABA=window.setTimeout(function(){null!==ZC._n_(t.A3Z)&&(t.A3Z=null,zingchart.ZN(A))},1500))}F5(){var t=this,e=0,a=0;return e=typeof t.T1[0]!==ZC._[31]?t.T1[0]-e:0,a=typeof t.T1[1]!==ZC._[31]?t.T1[1]-a:0,{id:t.K,width:t.I,height:t.F,output:t.AC,x:e,y:a,targetid:t.T1[2],theme:t.LV?t.LV:"light"}}A88(A){A=A||{},null!==ZC._n_(A.resource)&&(this.QZ[A.resource]=A.data||"[]",this.UX++)}A4V(){}A3M(){}A3N(){}PO(){}A65(A,t){var e=this;if(A=A||{},null!==ZC._n_(A[ZC._[3]])){var a=e.OT(A[ZC._[3]]);null!==a&&a.clear()}else e.clear(null,null,t);KF&&KF.GUIDES&&(KF.GUIDES[e.K]=null)}A3S(A){A=A||ZC.HI["sync-wait"];var t=this;if(null===ZC.AM(t.K+"-blocker")){ZC.Q.IC({cls:"zc-abs zc-style zc-blocker",id:t.K+"-blocker",p:ZC.AM(t.K+"-top"),wh:t.I+"/"+t.F,opacity:.75}),ZC.Q.IC({cls:"zc-blocker-msg",id:t.K+"-blocker-t",p:ZC.AM(t.K+"-blocker"),html:A});var e=ZC.A5("#"+t.K+"-blocker-t");e.css("top",t.F/2-e.height()/2+"px").css("left",t.I/2-e.width()/2+"px")}}A13(){ZC.Q.EV(this.K+"-blocker")}A62(){var A=this;ZC.AR.C1("about_show",A,A.F5()),ZC.Q.IC({cls:"zc-abs",id:A.K+"-about-mask",p:ZC.AM(A.K+"-top"),wh:A.I+"/"+A.F,background:"#ccc",opacity:.75});var t=ZC.CX(320,A.I),e=ZC.CX(215,A.F),a=ZC.BQ(0,(A.I-t)/2),c=ZC.BQ(0,(A.F-e)/2),h=ZC.Q.IC({cls:"zc-about zc-style",id:A.K+"-about",p:ZC.AM(A.K+"-top"),tl:c+"/"+a,wh:t-(ZC.quirks?0:10)+"/"+(e-(ZC.quirks?0:10))}),_="";""!==A.SL&&(_="Custom Built for
"+A.SL),h.innerHTML='
©2009-'+(new Date).getFullYear()+'
'+ZC.HI["about-close"]+'
 
Build '+ZC.VERSION+" ["+A.AC+"]
"+_+"
",ZC.A5("#"+A.K+"-about-close").bind("click",function(){ZC.AR.C1("about_hide",A,A.F5()),ZC.Q.EV([A.K+"-about",A.K+"-about-mask"])})}NP(A,t){var e=this;if(ZC.AR.A91("error",e))ZC.AR.C1("error",e,{id:e.K,error:A,section:t,json:e.E.json||e.E.rawsource});else{var a="";a+="object"==typeof A?A.name+":"+A.message+"\n\n":A+"\n\n",null!==ZC._n_(t)&&(a+="Section:"+t+"\n\n"),a+="JSON data:\n\n"+e.E.json+"\n\n",e.YB(),null===ZC.AM(e.K+"-top")&&e.A87(),ZC.Q.IC({cls:"zc-abs zc-error zc-style",id:e.K+"-error",p:ZC.AM(e.K+"-top"),wh:e.I-(ZC.quirks?0:10)+"/"+(e.F-(ZC.quirks?0:10))}).innerHTML='
'+ZC.HI["error-header"]+'
'+ZC.HI["error-message"]+'
',ZC.A5("#"+e.K+"-error-message").val(ZC.H0(a)),ZC.A5("#"+e.K+"-error-close").bind("click",function(){ZC.Q.EV(e.K+"-error")})}}A1B(){}A2H(){}A1C(){var A=this,t=document.createElement("div");t.id="zc-fullscreen",t.style.zIndex=zingchart.FSZINDEX,t.style.overflow="hidden";var e,a,c=document.body,h=!1;for(zingchart.FSID&&ZC.AM(zingchart.FSID)&&(h=!0,(c=ZC.AM(zingchart.FSID)).style.display="block"),c.appendChild(t),ZC.FSSTATUS={},e=0,a=A.AG.length;e=0;e--)if(w[e].generated)w.splice(e,1);else{if(null!==ZC._n_(w[e].shapes))for(v=w[e].shapes.length-1;v>=0;v--)w[e].shapes[v].generated&&w[e].shapes.splice(v,1);if(null!==ZC._n_(w[e][ZC._[10]]))for(v=w[e][ZC._[10]].length-1;v>=0;v--)w[e][ZC._[10]][v].generated&&w[e][ZC._[10]].splice(v,1)}h||window.scroll(0,0),zingchart.render({id:"zc-fullscreen",output:A.AC,width:ZC.A5(h?c:window).width(),height:ZC.A5(h?c:window).height(),fullscreenmode:!0,theme:A.LV,modules:A.A1V,data:E,defaults:A.MZ,defaultsurl:A.QV})}WB(A,t){var e,a,c,h=this,_=0,f=!1;for(e=0,a=h.AG.length;e0?t.AG[0]:null}bind(A,t){zingchart.bind(this.K,A,t)}unbind(A,t){zingchart.unbind(this.K,A,t)}exec(A,t){return zingchart.exec(this.K,A,t)}gc(){for(var A=0,t=this.AG.length;A1?(T=Math.round(T),R=Math.round(R)):(T=Math.floor(T),R=Math.ceil(R))),(T=ZC.BQ(D.FS,T))<(R=ZC.CX(D.GY,R))&&(A["ymin"+f]=T,A["ymax"+f]=R)}}m.PO(A)}},S3.prototype.A3N=function(A){var t,e,a,c,h,_=this;for(A=A||{},e=null!==ZC._n_(A[ZC._[3]])?_.OT(A[ZC._[3]]):_.AG[0],A.action="viewall",a=0,c=e.BV("k").length;a/g,"")).replace(' xmlns="http://www.w3.org/2000/svg"',""),w:c.I,h:c.F,t:A,fn:_};if(ZC._cp_(t,Q),zingchart.AJAXEXPORT&&"pdf"!==A&&"svg"!==A&&!h){var W="base64=1&";for(O in Q)W+=O+"="+encodeURIComponent(Q[O])+"&";ZC.A5.ajax({type:"post",url:zingchart.EXPORTURL,data:W,success:function(oe,te,le){if(c.A13(),e)a&&a(oe,te,le);else{var ce=document.createElement("img");ce.src=oe,ce.id=c.K+"-print-"+A,f.appendChild(ce)}}})}else{ZC.AM(c.K+"-export")&&ZC.Q.EV(c.K+"-export");var ae=ZC.Q.IC({cls:"zc-abs zc-style",id:c.K+"-export",p:ZC.AM(c.K+"-top"),display:"none"}),ee=(U=null!==ZC._n_(Q.uid)&&null!==ZC._n_(Q.page)?ZC.Q.ABR(ZC.AM(c.K+"-export")):document).createElement("FORM");for(O in ee.action=zingchart.EXPORTURL,ee.method="post",ee.enctype="multipart/form-data",null!==ZC._n_(Q.uid)&&null!==ZC._n_(Q.page)?U.body.appendChild(ee):ae.appendChild(ee),ee.style.display="none",Q){var ne=U.createElement("INPUT");ne.type="hidden",ne.name=O,ne.value=Q[O],ee.appendChild(ne)}ee.submit(),ee=null,null!==ZC._n_(Q.uid)&&null!==ZC._n_(Q.page)&&window.setTimeout(function(){ZC.A5("#"+c.K+"-export").remove()},6e4),window.setTimeout(function(){c.A13()},1e3)}}},S3.prototype.W5=function(A){var t=this;A=A||"png";var e,a,c=[],h=document.createElement("canvas");for(h.width=t.I,h.height=t.F,e=0,a=t.AG.length;e',"","\x3c!--[if gte mso 9]>[ZC]td{border:none;font-family:Calibri,sans-serif} .number{mso-number-format:"0.00";} .text{mso-number-format:"@";}',"","","",""),e=0,a=A.AG.length;e"),y.J1&&""!==y.J1.AN&&($.push([y.J1.AN]),R.push(""+y.J1.AN+"")),R.push(""),R.push("")),D=[],T=[];var ae="Category",ee=!1,ne="%Y-%mm-%dd %H:%i:%s";for(W&&(W.F7&&"date"===W.F7.o.type&&(ae="Date",ee=!0,W.F7.o["export-format"]&&(ne=W.F7.o["export-format"])),W.M&&W.M.AN&&(ae=W.M.AN.replace(/\"|\'/g,""))),"csv"===t?D.push('"'+ae+'"'):"raw"===t?T.push(ae):"html"!==t&&"xls"!==t||D.push(""+ae+""),c=0,h=U.length;c"+M+""),Q.push(""));if("csv"===t?R.push(D.join(",")):"raw"===t?$.push(T):"html"!==t&&"xls"!==t||R.push(D.join("")),"html"!==t&&"xls"!==t||(R.push(""),R.push(""),R.push("")),W){for(m=0,v=W.V.length;m"),"pie"!==y.AF&&"pie3d"!==y.AF&&"nestedpie"!==y.AF||W.V[le[E][0]]&&(le[E][0]=W.V[le[E][0]]),W.BZ[le[E][0]]&&(le[E][0]=W.BZ[le[E][0]]),W.V[le[E][0]]&&-1===ZC.AV(oe,le[E][0])&&(le[E][0]=W.V[le[E][0]]),(ce=y.A.F5()).row=E,ce.col=0,ce[ZC._[9]]=le[E][0],le[E][0]=ZC.AR.C1("dataexport",y.A,ce,le[E][0],null),ZC._n_(le[E][1]))for(var Ce=0;Ce"+[].concat(le[E][0]).concat(le[E][1]).join("")+""),"html"!==t&&"xls"!==t||R.push("")}}"html"!==t&&"xls"!==t||(R.push(""),R.push("")),a>1&&e 

"))}return"xls"===t&&R.push("",""),"raw"===t?$:("csv"===t?V=R.join("\n"):"html"!==t&&"xls"!==t||(V=R.join("")),V)},zingchart.ABT=function(A,t,e){var a,c,h,_,f,m="",v="";function E(Q){ZC.A5.ajax({type:"post",url:c,data:Q,success:function(W,ae,ee){h&&h(W,ae,ee)}})}document.getElementById("zc-fullscreen")&&(A="zc-fullscreen"),"string"==typeof(e=e||{})&&(e=JSON.parse(e));var w=zingchart.getLoader(A);if(w)switch(t){case"getimagedata":if(_="png",null!==ZC._n_(a=e.format)&&(_=a),null!==ZC._n_(a=e.filetype)&&(_=a),"jpg"===_&&(_="jpeg"),zingchart.DEV.LOCALSVGEXPORT&&"svg"===w.AC&&("png"===_||"jpeg"===_)){w.togglePreviewMasks(!0);var D=ZC.AM(w.K+"-svg").parentNode.innerHTML,M=D.indexOf(">"),T=D.indexOf("");D=(D='[CSS]'+D.substring(M+1,T+6)).replace(//g,"");var R=function(){var Q,W=window.URL||window.webkitURL||window,ae=!1;navigator&&navigator.userAgent&&-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&(ae=!0),Q=W.createObjectURL&&window.Blob&&!ae?W.createObjectURL(new window.Blob([D],{type:"image/svg+xml;charset-utf-16"})):"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(D),w.togglePreviewMasks(!1);var ee=new window.Image;ee.crossOrigin="anonymous",ee.src=Q,ee.onload=function(){var ne=document.createElement("canvas"),oe=ne.getContext("2d");if(ne.width=ee.width,ne.height=ee.height,oe.drawImage(ee,0,0,ne.width,ne.height),e.callback&&"function"==typeof e.callback)try{e.callback(ne.toDataURL("image/"+_))}catch{e.callback(Q)}}},V=0,$=function(){var Q=new XMLHttpRequest;Q.open("get",w.A2S[V]),Q.responseType="text",Q.onloadend=function(W){var ae=W.target.response,ee=ae.match(/https?:\/\/[^ \)]+/g),ne=0;ee.forEach(function(oe){var te=new XMLHttpRequest;te.open("get",oe),te.responseType="blob",te.onloadend=function(le){var ce=new FileReader;ce.onloadend=function(Ce){ae=ae.replace(new RegExp(oe),Ce.target.result),++ne===ee.length&&(D=D.replace("[CSS]","[CSS]"),++V===w.A2S.length?(D=D.replace("[CSS]",""),R()):$())},ce.readAsDataURL(le.target.response)},te.send()})},Q.send()};w.A2S.length?$():(D=D.replace("[CSS]",""),R())}if("canvas"!==w.AC&&!zingchart.AJAXEXPORT)return-1;if("canvas"===w.AC){if(!e.callback||"function"!=typeof e.callback)return w.W5(_);try{e.callback(w.W5(_))}catch{e.callback(-1)}}else w.NR(_,{},!0,e.callback);break;case"exportimage":case"saveasimage":if(!e.download&&"canvas"!==w.AC&&!zingchart.AJAXEXPORT)return-1;if(_="png",f={},null!==ZC._n_(a=e.options)&&(f=a),null!==ZC._n_(a=e.uid)&&(f.uid=a),null!==ZC._n_(a=e.page)&&(f.page=a),null!==ZC._n_(a=e.format)&&(_=a),null!==ZC._n_(a=e.filetype)&&(_=a),null!==ZC._n_(a=e.filename)&&(m=a),c=w.E.exportimageurl||"",null!==ZC._n_(a=e.url)&&(c=a),h=null,null!==ZC._n_(a=e.callback)&&(h=a),"jpg"===_&&(_="jpeg"),e.download&&("canvas"!==w.AC||"pdf"===_))return f.download=!0,""!==m&&(f.fn=m),void w.NR(_,f);if(""!==c){if("canvas"===w.AC)return E(w.W5(_));w.NR(_,f,!0,function(Q){return E(Q)})}break;case"exportdata":if(c=w.E.exportdataurl||"",null!==ZC._n_(a=e.url)&&(c=a),v=ZC.AR.YG(w,"csv"),""===c)return v;h=null,null!==ZC._n_(a=e.callback)&&(h=a),ZC.A5.ajax({type:"post",url:c,data:v,success:function(Q,W,ae){h&&h(Q,W,ae)}});break;case"downloadCSV":v=ZC.AR.YG(w,"csv"),ZC.AR.downloadFile(v,(e.fn||w.K)+".csv","text/csv;encoding:utf-8");break;case"downloadXLS":v=(v=ZC.AR.YG(w,"xls")).replace("[ZC]",""+(e.sn||"ZingChart")+""),ZC.AR.downloadFile(v,(e.fn||w.K)+".xls","application/vnd.ms-excel;encoding:utf-8");break;case"downloadRAW":var U=ZC.AR.YG(w,"raw");if(!e.callback||"function"!=typeof e.callback)return U;try{e.callback(U,e.fn||w.K)}catch{e.callback(-1)}break;case"viewDataTable":if("viewdatatable"===e.menuid)if(v=ZC.AR.YG(w,"html"),ZC.AM(w.K+"-data-table"))ZC.AM(w.K+"-data-table").innerHTML=v;else{var O=ZC.Q.IC({id:w.K+"-data-table",cls:"zc-data-table "+w.K+"-data-table"});ZC.Q.PZ(O,{width:w.I+"px","max-height":"400px",overflow:"auto"}),O.innerHTML=v,ZC.AM(w.K).parentNode.insertBefore(O,ZC.AM(w.K).nextSibling)}else"hidedatatable"===e.menuid&&ZC.Q.EV(w.K+"-data-table")}return null},ZC.A9K={},ZC.AR.XH=function(A){for(var t,e="",a=!1,c=!1,h=0,_="",f=0,m=(A=A.replace(/\t|\r|\n/g,"")).length;f '+ZC.HI["viewsource-originalsource"]+' '+ZC.HI["viewsource-jsonsource"]+'
'),zingchart.EDITSOURCE&&(ZC.AM(A.K+"-viewsource-actions").innerHTML+=''),ZC.A5("#"+A.K+"-viewsource-json").val(ZC.AR.XH(A.E.source)),ZC.A5("#"+A.K+"-viewsource-jsonsource").bind("click",function(){ZC.AM(A.K+"-viewsource-jsonsource").className="zc-tab-active",ZC.AM(A.K+"-viewsource-originalsource").className="zc-tab-inactive",ZC.A5("#"+A.K+"-viewsource-json").val(ZC.AR.XH(A.E.json))}),ZC.A5("#"+A.K+"-viewsource-originalsource").bind("click",function(){ZC.AM(A.K+"-viewsource-jsonsource").className="zc-tab-inactive",ZC.AM(A.K+"-viewsource-originalsource").className="zc-tab-active",ZC.A5("#"+A.K+"-viewsource-json").val(ZC.AR.XH(A.E.source))}),ZC.A5("#"+A.K+"-viewsource-close").bind("click",function(){ZC.AR.C1("source_hide",A,A.F5()),ZC.Q.EV(A.K+"-viewsource")}),zingchart.EDITSOURCE&&ZC.A5("#"+A.K+"-viewsource-apply").bind("click",function(){ZC.AR.C1("source_hide",A,A.F5());var e=ZC.A5("#"+A.K+"-viewsource-json").val();ZC.Q.EV(A.K+"-viewsource"),zingchart.exec(A.K,"setdata",{data:e})})},S3.prototype.A2H=function(){var A=this;if(A.I<300||A.F<300)window.open("http://www.zingchart.com/support/","","");else{var t=ZC.Q.IC({cls:"zc-abs zc-bugreport zc-style",id:A.K+"-bugreport",p:ZC.AM(A.K+"-top"),wh:A.I-(ZC.quirks?0:10)+"/"+(A.F-(ZC.quirks?0:10))}),e="";e+='
'+ZC.HI["bugreport-header"]+'
",ZC.canvas&&(e+='     "),e+='
'+ZC.HI["bugreport-yourcomment"]+'
'+ZC.HI["bugreport-jsondata"]+'
'+ZC.HI["bugreport-youremail"]+(A.I>=510?" ("+ZC.HI["bugreport-infoemail"]+")":"")+'
',t.innerHTML=ZC._h_(e),ZC.A5("#"+A.K+"-bugreport-json").val("PARSED\n----------\n"+ZC.AR.XH(A.E.json)+"\n\nORIGINAL\n----------\n"+ZC.AR.XH(A.E.source)),ZC.A5("#"+A.K+"-bugreport-cancel").bind("click",function(){ZC.Q.EV(A.K+"-bugreport")}),ZC.A5("#"+A.K+"-bugreport-submit").bind("click",function(){var a=ZC.A5("#"+A.K+"-bugreport-email");if(0!==a.val().length)if(/^((\w+\+*\-*)+\.?)+@((\w+\+*\-*)+\.?)*[\w-]+\.[a-z]{2,6}$/.test(a.val())){var c="",h=function(){var _=("Parsed:"+A.E.json+" Original:"+A.E.source).replace(/\r|\n|\t|(\s{2,})/g,""),f="",m=[];ZC.A5("#"+A.K+"-chkcapture").attr("checked")&&m.push("****IMAGE:",c),ZC.A5("#"+A.K+"-chkdata").attr("checked")&&m.push("****JSON:",_),m.push("****COMMENT:",ZC.A5("#"+A.K+"-bugreport-comment").val(),"****EMAIL:",a.val(),"****VERSION:",ZC.VERSION,"****WIDTH:",A.I,"****HEIGHT:",A.F,"****URL:",window.location.href,"****UA:",navigator.userAgent,"****RENDER:",A.AC.toUpperCase(),"****RESOLUTION:",screen.width+"x"+screen.height);for(var v=0;v0&&(c+=ZC.Q.FT("rect",!0)+'class="'+a.K+'-history-area zc-history-area" id="'+a.K+"-history-back-area"+ZC._[30],c+=ZC._i_(h+ZC.MAPTX)+","+ZC._i_(_+ZC.MAPTX)+","+ZC._i_(h+f/3+ZC.MAPTX)+","+ZC._i_(_+m+ZC.MAPTX),c+='" />');var E=new DX(a);E.K=a.K+"-history-forw",E.copy(t),E.CY=!1,a.O7!==a.R2.length-1&&0!==a.R2.length||E.copy(e),E.D=[[h+f,_+m/2],[h+2*f/3,_],[h+2*f/3,_+m],[h+f,_+m/2]],E.IW=ZC.AM(a.A.K+"-text"),E.Z=E.C7=ZC.AM(a.K+"-static-c"),E.parse(),E.paint(),a.O7'),""!==c&&(ZC.AM(a.K+"-map").innerHTML+=c),a.A1A=function(w){w.target.id===a.K+"-history-back-area"?zingchart.exec(a.K,"goback"):w.target.id===a.K+"-history-forw-area"&&zingchart.exec(a.K,"goforward")},ZC.A5("."+a.K+"-history-area").live("click",a.A1A)}},ZC.AQ={A54:1,E3:0,E4:0,FY:40},ZC.DJ={A3W:function(A,t){var e,a;return t.AA%180==0?(e=new CE(A,-A.I/2,t.iY-A.iY-A.F/4,0),a=new CE(A,A.I/2,t.iY-A.iY-A.F/4,0)):(e=new CE(A,t.iX-A.iX-A.I/4,-A.F/2,0),a=new CE(A,t.iX-A.iX-A.I/4,A.F/2,0)),ZC.UI(Math.atan((a.EC[1]-e.EC[1])/(a.EC[0]-e.EC[0])))+(t.AA%180==0?0:t.AA%360==90?90:-90)},DB:function(A,t,e,a,c,h,_,f,m){m=m||"z";var v,E,w,D,M=new A03(A,t);switch(m){case"x":v=new CE(t,e,c,_),E=new CE(t,a,c,_),w=new CE(t,a,h,f),D=new CE(t,e,h,f);break;case"y":v=new CE(t,e,c,_),E=new CE(t,e,h,_),w=new CE(t,a,h,f),D=new CE(t,a,c,f);break;case"z":v=new CE(t,e,c,_),E=new CE(t,e,c,f),w=new CE(t,a,h,f),D=new CE(t,a,h,_)}return M.add(v),M.add(E),M.add(w),M.add(D),M},D8:function(A,t,e,a){typeof a===ZC._[31]&&(a=!1);var c,h=null,_=null;e instanceof Array?h=e:(h=e.points,_=e.mathpoints);for(var f=new A03(A,t),m=0,v=h.length;me[0][0]?-1:t[0][0]e[0][1]?1:t[0][1]e[0][2]?-1:t[0][2]e[0][3]?-1:t[0][3]e[0][3]?1:t[0][3]e[0][0]?-1:t[0][0]e[0][1]?1:t[0][1]e[0][2]?1:t[0][2]e[0]?-1:t[0]0&&E<1&&(E=ZC._i_(a.H.I*E)),a.A7.o.fixed&&(E-=a.A7.I/2)),null!==ZC._n_(a.A7.o.y)&&((w=ZC.IU(a.A7.o.y,!0))>0&&w<1&&(w=ZC._i_(a.H.F*w)),a.A7.o.fixed&&(w-=a.A7.F/2)),E+=ZC._i_(a.A7.E["offset-x"]),w+=ZC._i_(a.A7.E["offset-y"]),"svg"===a.H.AC||!a.A7.o[ZC._[7]]||a.A7.o.fixed){var T=0,R=!1,V=a.A7.EM;E/h[0]a.H.I-M&&(T=D/h[0]+a.A7.I-a.H.I+M+a.A7.HD/2,E=(a.H.I-M-a.A7.I)*h[0]),w/h[1]a.H.F-M&&(w=a.H.F-M-a.A7.F,(a.CG.node||!a.A7.o[ZC._[7]]||a.A7.o.fixed)&&(V="top",R=!0)),R&&(a.A7.EM=V),(0!==T||R)&&a.A7.Z&&(a.clear(),""!==a.A7.AN&&(R&&(a.A7.EM=V),T=ZC.CX(T,a.A7.I/2-a.A7.HD/2),T=48*(T=ZC.BQ(T,-a.A7.I/2+a.A7.HD/2))/(a.A7.I/2-a.A7.HD/2),a.A7.EX=T,a.A7.AO&&a.A7.paint()))}switch(a.GK=E,a.IR=w,a.H.AC){case"svg":null===ZC._n_(a.A7.o.x)&&null===ZC._n_(a.A7.o.y)&&ZC.AM(c+"-tooltip").setAttribute("transform","translate("+E/h[0]+","+w/h[1]+")"),a.A7.E["html-mode"]&&ZC.Q.PZ(ZC.AM(c+"-tooltip-text-float"),{left:(""===a.BA?E/h[0]:a.A7.iX)+a.A7.EP+"px",top:(""===a.BA?w/h[1]:a.A7.iY)+a.A7.FO+"px"});break;case"vml":null===ZC._n_(a.A7.o.x)&&null===ZC._n_(a.A7.o.y)&&ZC.Q.PZ(ZC.AM(c+"-tooltip"),{left:E+"px",top:w+"px"});break;case"canvas":null!==ZC._n_(a.CG.x)&&(E=a.CG.x),null!==ZC._n_(a.CG.y)&&(w=a.CG.y);var $=a.A7.E["html-mode"]?0:20;switch(a.A7.VZ){case"tl":break;case"tr":E-=a.A7.I;break;case"bl":w-=a.A7.F;break;case"br":E-=a.A7.I,w-=a.A7.F;break;case"c":E-=a.A7.I/2,w-=a.A7.F/2;break;case"t":E-=a.A7.I/2;break;case"r":E-=a.A7.I,w-=a.A7.F/2;break;case"b":E-=a.A7.I/2,w-=a.A7.F;break;case"l":w-=a.A7.F/2}ZC.Q.PZ(ZC.AM(c+"-tooltip-c"),{left:E/h[0]-$+"px",top:w/h[1]-$+"px"}),null!==(e=ZC.AM(c+"-tooltip-text"))&&(e.style.display="none",ZC.Q.PZ(e,{width:a.A7.I+"px",height:a.A7.F+"px",left:E/h[0]+"px",top:w/h[1]+"px"}),e.style.display="block")}}}onmousemove(t){this.show(t)}onmouseover(t,e){var a,c,h,_,f,m,v,E=this,w=E.H.K,D=t.targetid||t.target.id,M=D.replace(/--([a-zA-Z0-9]+)/,"").replace("-gshape-area","-area").replace("-area-path","").replace("-path","").replace("-marker-circle","").replace("-marker","").split("-").reverse(),T=D.split("--"),R=!1,V=!1,$=!1;if("node"===M[1]&&"plot"===M[3]&&"plotset"===M[4]&&(R=!0),ZC.Q.EV([w+"-tooltip-text",w+"-tooltip",w+"-tooltip-text-float"]),R){if(!(_=E.H.OT(M[5]))||(m=(f=_.AZ.A3[M[2]]).FK(M[0]),"xy"===_.AJ.layout&&m.S4(),!m))return;ZC.A5("#"+w+"-graph-"+M[5]+"-plot-"+M[2]+"-bg-hover-c").show()}else"legend"===M[2]&&0===M[1].indexOf("item")&&(V=!0),0!==M[2].indexOf("scale")||0!==M[1].indexOf("item")&&0!==M[1].indexOf("marker")||($=!0),_=E.H.OT(M[3]);if(ZC.AM(w+"-tooltip")||(ZC.Q.K8({id:w+"-tooltip",p:ZC.AM(w+"-main"),cls:"zc-abs zc-tooltip",wh:E.H.I+"/"+E.H.F,overflow:"hidden"},E.H.AC),ZC.Q.HO({id:w+"-tooltip-c",p:ZC.AM(w+"-tooltip"),cls:"zc-abs",tl:"-999/-999",width:140,height:60},E.H.AC)),E.A7=zingchart.pool.getInstance("DV",E,w+"-tooltip-text"),E.A7.OQ="tooltip",E.A7.A=E.H,_&&_.A7&&E.A7.copy(_.A7),R)E.A7.append(f.A7.o),_.CC["p"+f.L]&&_.CC["p"+f.L]["n"+m.L]&&E.A7.append(f.A7.o[ZC._[73]]),2===T.length&&E.A7.append(f.A2Z(T[1]));else{var y=!1;if(V&&_.BE&&null!==ZC._n_(_.BE.o.tooltip)&&(E.A7.o.text="",E.A7.append(_.BE.o.tooltip),y=!0),$){E.A7.append({"background-color":"#fff","border-width":1,"border-color":"#999"});var U=_.BK(M[2].replace(/\_/g,"-"));if(U&&null!==ZC._n_(U.o.tooltip)&&(E.A7.o.text="",E.A7.append(U.o.tooltip),y=!0),0===M[1].indexOf("item_"))U&&(-1!==M[1].indexOf("_title")&&U.o.label&&U.o.label.tooltip?(E.A7.o.text="",E.A7.append(U.o.label.tooltip),y=!0):U.o.item&&U.o.item.tooltip&&(E.A7.o.text="",E.A7.append(U.o.item.tooltip),y=!0));else if(0===M[1].indexOf("marker_")){var O=ZC._i_(M[1].replace("marker_",""));U.QH[O]&&U.QH[O].o.label&&U.QH[O].o.label.tooltip&&(E.A7.o.text="",E.A7.append(U.QH[O].o.label.tooltip),y=!0)}}if("shape"===M[2])if(E.A7.append({"background-color":"#fff","border-width":1,"border-color":"#999"}),t.target.getAttribute("data-lowlevel"))E.A7.append({text:t.target.getAttribute("data-tooltip-text")}),y=!0;else for(c=0,h=_.FJ.length;ca.H.F-5&&(e=a.H.F-5-c.y-m,c.co=-ZC._i_(100*e/(m-_)),c.y=a.H.F-5-m);else if("vertical"===a.BA)t.iY+t.F/2a.H.I-5&&(e=a.H.I-5-c.x-f,c.co=-ZC._i_(100*e/(f-h)),c.x=a.H.I-5-f);else if("node:"===a.BA.substring(0,5)&&t.getTooltipPosition){switch((c=t.getTooltipPosition(a.A7,a.BA.substring(5))).node=!0,c.side=a.BA.substring(5),c.side){case"left":c.x=c.x-f+a.A7.QO,c.y=c.y-m/2+a.A7.MQ;break;case"right":c.x=c.x+a.A7.QO,c.y=c.y-m/2+a.A7.MQ;break;case"top":c.x=c.x-f/2+a.A7.QO,c.y=c.y-m+a.A7.MQ;break;case"bottom":c.x=c.x-f/2+a.A7.QO,c.y=c.y+a.A7.MQ;break;case"center":c.x=c.x-f/2+a.A7.QO,c.y=c.y-m/2+a.A7.MQ}c.cp=a.A7.EM}if(c.node){var E=0;c.y+m>a.H.F-5&&("top"===c.side||"bottom"===c.side?(c.y=c.y-m-("bottom"===c.side?0:a.A7.GB)-a.A7.MQ,c.cp="bottom"):c.y=a.H.F-m-5),c.y<5&&("top"===c.side||"bottom"===c.side?(c.y=c.y+("top"===c.side?0:a.A7.GB)+m-a.A7.MQ,c.cp="top"):c.y=5),c.x+f>a.H.I-5&&("left"===c.side||"right"===c.side?(c.x=c.x-f-a.A7.QO-5,c.cp="right"):(E=48*(f-a.H.I+c.x+a.A7.HD/2)/(a.A7.I/2),c.x=a.H.I-f-a.A7.QO-5),c.co=E),c.x<5&&("left"===c.side||"right"===c.side?(c.x=c.x+a.A7.I-a.A7.QO+5,c.cp="left"):(E=48*(c.x-a.A7.HD/2)/(a.A7.I/2),c.x=5),c.co=E)}return c}}class AAD extends I7{constructor(t){super(t);var e=this;e.H=t,e.IY=!1,e.C=null,e.RE=null,e.XC=null,e.II=0,e.LT=0,e.IH=0,e.LS=0,e.A8=null,e.AL=null,e.ZT=!1,e.ABK=0,e.A0S=!1,e.M=null}parse(){var t=this;t.C&&(t.C.H5&&t.append(t.C.H5.o),super.parse(),t.YZ("preserve-zoom","A0S","b"),t.M=new DV(t),t.C.A.B8.load(t.M.o,"graph.zoom.label"),t.M.append(t.o.label),t.M.parse(),t.o.label&&!1!==t.o.label.visible&&(t.M.AO=!0))}unbind(){var t=this;zingchart.DEV.SKIPTRACKERS?ZC.A5(document.body).unbind("mousedown touchstart",t.RG):ZC.A5("#"+t.H.K+"-img").unbind("mousedown touchstart",t.RG),ZC.A5(".zc-node-area").die("mousedown touchstart",t.RG),ZC.A5(document.body).unbind("mousemove touchmove",t.UQ),ZC.A5(document.body).unbind("mouseup touchend",t.UA)}bind(){var t=this,e=t.H.K;t.RG=function(a){if((!ZC.mobile||"pinch"!==zingchart.TOUCHZOOM)&&!(a.which>1||-1!==ZC.Q.TJ(a.target).indexOf("zc-menu-item")||ZC.move)&&(a.type!==ZC._[47]||!ZC.TOUCHEVENTS)&&-1===a.target.id.indexOf("-legend-header-area")&&(ZC.mobile||a.preventDefault(),t.H.hideCM(),(ZC.mobile||!(a.which>1))&&("vml"!==t.H.AC||-1===a.target.className.indexOf("zc-node-area")))){a.shiftKey&&(t.ZT=!0);var c=ZC.Q.MR(a),h=ZC._tx_(t.H.K),_=ZC.A5("#"+e+"-top").offset(),f=(c[0]-_.left)/h[0],m=(c[1]-_.top)/h[1];t.RE=f,t.XC=m,t.ZT&&(t.ABK=f);for(var v,E=!1,w=0,D=t.H.AG.length;w0&&(t.A8=t.C.BK(t.C.AZ.A3[0].BV("k")[0]),t.AL=t.C.BK(t.C.AZ.A3[0].BV("v")[0])),null!==t.A8&&null!==t.AL&&t.C.AJ["enable-zooming"]&&(t.A8.GQ||t.AL.GQ)&&(t.II=t.A8.CJ?m:f,t.IH=t.AL.CJ?f:m,E=!0,t.II=t.A8.GQ?t.A8.CJ?ZC._l_(t.II,v.iY,v.iY+v.F):ZC._l_(t.II,v.iX,v.iX+v.I):t.A8.CJ?v.iY:v.iX,t.IH=t.AL.GQ?t.AL.CJ?ZC._l_(t.IH,v.iX,v.iX+v.I):ZC._l_(t.IH,v.iY,v.iY+v.F):t.AL.CJ?v.iX:v.iY)}return E&&(t.LT=t.II,t.LS=t.IH,t.IY=!0,ZC.A5(document.body).bind("mousemove touchmove",t.UQ),ZC.A5(document.body).bind("mouseup touchend",t.UA),t.ZT?document.body.style.cursor="pointer":(t.parse(),t.C.AJ["3d"]||ZC.Q.IC({id:e+"-zoom",p:ZC.AM(e+"-top"),top:-9,left:-9,wh:"1/1",position:"absolute",border:t.AU+"px solid "+t.BX,background:t.A0,opacity:t.C5}),t.M.AO&&(ZC.Q.IC({id:e+"-from",p:ZC.AM(e+"-top"),top:-9999,left:-9999,position:"absolute",paddingTop:t.M.FO,paddingRight:t.M.FP,paddingBottom:t.M.FX,paddingLeft:t.M.EP,border:t.M.AU+"px solid "+t.M.BX,background:t.M.A0,color:t.M.C2,fontFamily:t.M.GJ,fontWeight:t.M.sFontWeight,fontStyle:t.M.NC?"oblique":"normal",fontSize:t.M.DG,text:""}),ZC.Q.IC({id:e+"-to",p:ZC.AM(e+"-top"),top:-9999,left:-9999,position:"absolute",paddingTop:t.M.FO,paddingRight:t.M.FP,paddingBottom:t.M.FX,paddingLeft:t.M.EP,border:t.M.AU+"px solid "+t.M.BX,background:t.M.A0,color:t.M.C2,fontFamily:t.M.GJ,fontWeight:t.M.sFontWeight,fontStyle:t.M.NC?"oblique":"normal",fontSize:t.M.DG,text:""})),document.body.style.cursor="crosshair")),!!ZC.mobile&&void 0}},t.UQ=function(a){if(a.type!==ZC._[48]||!ZC.TOUCHEVENTS){var c,h;if(ZC.mobile||a.preventDefault(),ZC.move=!0,t.C||(ZC.move=!1,t.IY=!1,ZC.A5(document.body).unbind("mousemove touchmove",t.UQ),ZC.A5(document.body).unbind("mouseup touchend",t.UA),document.body.style.cursor="auto",ZC.Q.EV([e+"-zoom",e+"-from",e+"-to"])),t.IY){t.C.A.A7.hide();var _=ZC.Q.MR(a),f=ZC._tx_(t.H.K),m=ZC.A5("#"+e+"-top").offset(),v=(_[0]-m.left)/f[0],E=(_[1]-m.top)/f[1],w=t.A8.DE?t.A8.AB:0;if(t.LT=t.A8.CJ?E:v,t.LS=t.AL.CJ?v:E,!t.ZT){var D,M,T,R,V=t.C.P;c=t.A8.AW?t.A8.BS:t.A8.A9,h=t.A8.AW?t.A8.A9:t.A8.BS,t.A8.GQ?t.A8.CJ?(t.A8.YQ&&(t.II=t.A8.iY+c+t.A8.AB*ZC._i_((t.II-t.A8.iY-c-w/2)/t.A8.AB),t.LT=t.A8.iY+c+w+t.A8.AB*ZC._i_((t.LT-t.A8.iY-c-w/2)/t.A8.AB)),t.II=ZC._l_(t.II,V.iY+h,V.iY+V.F-c),t.LT=ZC._l_(t.LT,V.iY+h,V.iY+V.F-c)):(t.A8.YQ&&(t.II=t.A8.iX+c+t.A8.AB*ZC._i_((t.II-t.A8.iX-c-w/2)/t.A8.AB),t.LT=t.A8.iX+c+w+t.A8.AB*ZC._i_((t.LT-t.A8.iX-c-w/2)/t.A8.AB)),t.II=ZC._l_(t.II,V.iX+c,V.iX+V.I-h),t.LT=ZC._l_(t.LT,V.iX+c,V.iX+V.I-h)):(t.II=t.A8.CJ?V.iY+h:V.iX+c,t.LT=t.A8.CJ?V.iY+V.F-c:V.iX+V.I-h),c=t.AL.AW?t.AL.A9:t.AL.BS,h=t.AL.AW?t.AL.BS:t.AL.A9,t.AL.GQ?t.AL.CJ?(t.AL.YQ&&(t.IH=t.AL.iX+c+t.AL.AB*ZC._i_((t.IH-t.AL.iX-c)/t.AL.AB),t.LS=t.AL.iX+c+t.AL.AB*ZC._i_((t.LS-t.AL.iX-c)/t.AL.AB)),t.IH=ZC._l_(t.IH,V.iX+h,V.iX+V.I-c),t.LS=ZC._l_(t.LS,V.iX+h,V.iX+V.I-c)):(t.AL.YQ&&(t.IH=t.AL.iY+c+t.AL.AB*ZC._i_((t.IH-t.AL.iY-c)/t.AL.AB),t.LS=t.AL.iY+c+t.AL.AB*ZC._i_((t.LS-t.AL.iY-c)/t.AL.AB)),t.IH=ZC._l_(t.IH,V.iY+c,V.iY+V.F-h),t.LS=ZC._l_(t.LS,V.iY+c,V.iY+V.F-h)):(t.IH=t.AL.CJ?V.iX+h:V.iY+c,t.LS=t.AL.CJ?V.iX+V.I-c:V.iY+V.F-h);var $=ZC.A5.browser.msie?0:2*t.AU;t.C.AJ["3d"]&&($=0);var y=ZC.AM(e+"-zoom");if(t.A8.CJ&&t.AL.CJ?(D=ZC._a_(t.LS-t.IH-$),M=ZC._a_(t.LT-t.II-$),T=ZC.CX(t.IH,t.LS),R=ZC.CX(t.II,t.LT)):(D=ZC._a_(t.LT-t.II-$),M=ZC._a_(t.LS-t.IH-$),T=ZC.CX(t.II,t.LT),R=ZC.CX(t.IH,t.LS)),t.C.AJ["3d"]){t.C.NS();var U=ZC.AM(t.H.K+"-guide-c");U&&(ZC.Q.IV(U,t.H.AC,t.C.iX,t.C.iY,t.C.I,t.C.F),ZC.A5(".zc-guide-label").remove()),(y=new DX(t)).Z=U,y.A0=y.AE=t.A0,y.BX=t.BX,y.AU=t.AU,y.C5=t.C5,y.D=[[T,R],[T+D,R],[T+D,R+M],[T,R+M],[T,R]];for(var O=0;O10&&ZC._a_(t.IH-t.LS)>10){var V,$,y=!1,U=!1;for(m=0,v=(f=t.C.BV("k")).length;m=1&&(R["zoomx"+E]=!0,R["xmin"+E]=ZC.CX(h,_),R["xmax"+E]=ZC.BQ(h,_),"log"===V.BT&&(R["kmin"+E]=V.V[ZC._i_(ZC.FU(R["xmin"+E],V.DU))],R["kmax"+E]=V.V[ZC._i_(ZC.FU(R["xmax"+E],V.DU))],delete R["xmin"+E],delete R["xmax"+E]),y=!0));for(m=0,v=(f=t.C.BV("v")).length;m=M&&(R["zoomy"+E]=!0,R["ymin"+E]=ZC.CX(w,D),R["ymax"+E]=ZC.BQ(w,D),U=!0));y||U?(zingchart.SKIP.EVENT=!0,t.C.A.PO(R)):zingchart.SKIP.EVENT=!0}else(ZC._a_(t.II-t.LT)>5||ZC._a_(t.IH-t.LS)>5)&&(zingchart.SKIP.EVENT=!0);t.C=null}}},ZC.mobile&&"normal"!==zingchart.TOUCHZOOM||(zingchart.DEV.SKIPTRACKERS?ZC.A5(document.body).bind("mousedown touchstart",t.RG):ZC.A5("#"+e+"-img").bind("mousedown touchstart",t.RG),ZC.A5(".zc-node-area").live("mousedown touchstart",t.RG))}}class A9B extends CZ{constructor(t){super(t);var e=this;e.IJ=!0,e.AC8=!1,e.C=t,e.H=t.A,e.IY=!1,e.A4A=!1,e.HA=null,e.AT=null,e.Z=null,e.IP=0,e.HB=0,e.PJ=0,e.A0W=0,e.LX=!1,e.O0=null,e.bBind=!1,e.BZ=null,e.A25=!1}parse(){var t,e=this;e.K=e.C.K+"-preview",e.assign_a([["live","AC8","b"],["async","LX","b"],["min-distance","PJ","i"],["min-distance-x","PJ","i"],["min-distance-y","PJ","i"],["visible","AO","b"]]);var a="("+e.C.AF+").preview",c=e.H.B8;function h(m){return[a+".handler",a+".handler-"+m,a+".handle",a+".handle-"+m]}e.AT=new I7(e.C),e.AT.K=e.C.K+"-preview-viewport",c.load(e.AT.o,[a]),e.AT.append(e.o),e.AT.parse(),e.o.label&&(e.BZ=[]),e.o.handle&&e.o.handle.label&&(e.JC=new DV(e.C),e.JC.append(e.o.handle.label),e.JC.append({text:" "}),e.JC.parse(),e.JC.AO&&(e.A25=!0)),e.P5=new CZ(e.C),c.load(e.P5.o,[a+".mask"]),null!==ZC._n_(t=e.o.mask)&&e.P5.append(t),e.P5.parse(),e.UY=new CZ(e.C),c.load(e.UY.o,[a+".active"]),null!==ZC._n_(t=e.o.active)&&e.UY.append(t),e.UY.parse(),e.J0=new I7(e.AT),e.HM=new I7(e.AT),e.JI=new I7(e.AT),e.H8=new I7(e.AT),c.load(e.J0.o,h("left")),c.load(e.HM.o,h("right")),c.load(e.JI.o,h("top")),c.load(e.H8.o,h("bottom"));for(var _=["handle","handler"],f=0;f<_.length;f++)null!==ZC._n_(t=e.o[_[f]])&&(e.J0.append(t),e.HM.append(t),e.JI.append(t),e.H8.append(t)),null!==ZC._n_(t=e.o[_[f]+"-left"])&&e.J0.append(t),null!==ZC._n_(t=e.o[_[f]+"-right"])&&e.HM.append(t),null!==ZC._n_(t=e.o[_[f]+"-top"])&&e.JI.append(t),null!==ZC._n_(t=e.o[_[f]+"-bottom"])&&e.H8.append(t);e.J0.parse(),e.HM.parse(),e.JI.parse(),e.H8.parse()}setScalesInfo(){var t=this;t.O0={};for(var e,a=t.C.BO,c=0,h=a.length;c=E.AT.iX&&U.iX+U.I<=E.AT.iX+E.AT.I){for(var O=!1,Q=0;QR[Q].x&&U.iX/g," "),Fe=D.FD(D.A1,null,null).replace(/
/g," ")),E.RL=ZC.Q.IC({cls:"zc-abs zc-preview-label "+E.C.K+"-preview-label",id:E.K+"-min-label",background:E.JC.A0,opacity:E.JC.C5,fontFamily:E.JC.GJ,fontSize:E.JC.DG,fontWeight:E.JC.sFontWeight,color:E.JC.C2,padding:0,html:Oe+"",p:w}),E.RL.style.left=E.AT.iX+"px",E.RL.style.top=E.AT.iY+E.AT.F+"px",E.RM=ZC.Q.IC({cls:"zc-abs zc-preview-label "+E.C.K+"-preview-label",id:E.K+"-max-label",background:E.JC.A0,opacity:E.JC.C5,fontFamily:E.JC.GJ,fontSize:E.JC.DG,fontWeight:E.JC.sFontWeight,color:E.JC.C2,padding:0,html:Fe+"",p:w}),E.RM.style.left=E.AT.iX+E.AT.I+"px",E.RM.style.top=E.AT.iY+E.AT.F+"px",E.RL.style.left=E.IP>ZC.A5(E.RL).width()?E.AT.iX+E.IP-ZC.A5(E.RL).width()+"px":E.AT.iX+"px",E.RM.style.left=E.AT.I-E.HB>ZC.A5(E.RM).width()?E.AT.iX+E.HB+"px":E.AT.iX+E.HB-ZC.A5(E.RM).width()+"px"}E.bind(),E.BZ&&(E.BZ=[])}}reset(){var t=this,e=t.C.BV("k")[0],a=t.C.BV("v",!0)[0];a||(a=t.C.BV("v")[0]),e&&a&&t.update(e.D5,e.DN,a.FS,a.GY,!0)}update(t,e,a,c,h){null===ZC._n_(h)&&(h=!1);var _=this;if(h||(t>=e&&(t=e-1),a>=c&&(a=c-1)),_.AO){var f=_.C.BV("k")[0],m=_.C.BV("v",!0)[0];m||(m=_.C.BV("v")[0]);var v=!0;if(h){if(f&&m){if(f.CJ&&m.CJ){var E=t,w=e;t=a,e=c,a=E,c=w}f.CJ?(null===ZC._n_(c)&&(c=f.A1),null===ZC._n_(a)&&(a=f.W)):(null===ZC._n_(t)&&(t=f.W),null===ZC._n_(e)&&(e=f.A1)),m.CJ?(null===ZC._n_(t)&&(t=m.aAutoFit[0]?m.FS:m.AY),null===ZC._n_(e)&&(e=m.aAutoFit[1]?m.GY:m.BD)):(null===ZC._n_(a)&&(a=m.aAutoFit[0]?m.FS:m.AY),null===ZC._n_(c)&&(c=m.aAutoFit[1]?m.GY:m.BD));var D=f.DE?1:0;f.CJ||m.CJ?f.AW?_.update((t-m.FS)*_.AT.I/(m.GY-m.FS),(e-m.FS)*_.AT.I/(m.GY-m.FS),(a-f.D5)*_.AT.F/(f.DN-f.D5),(c-f.D5)*_.AT.F/(f.DN-f.D5)):_.update((t-m.FS)*_.AT.I/(m.GY-m.FS),(e-m.FS)*_.AT.I/(m.GY-m.FS),_.AT.F-(c-f.D5)*_.AT.F/(f.DN-f.D5),_.AT.F-(a-f.D5)*_.AT.F/(f.DN-f.D5)):f.AW?_.update(_.AT.I-(e-f.D5+D)*_.AT.I/(f.DN-f.D5+D),_.AT.I-(t-f.D5)*_.AT.I/(f.DN-f.D5+D),_.AT.F-(c-m.FS)*_.AT.F/(m.GY-m.FS),_.AT.F-(a-m.FS)*_.AT.F/(m.GY-m.FS)):_.update((t-f.D5)*_.AT.I/(f.DN-f.D5+D),(e-f.D5+D)*_.AT.I/(f.DN-f.D5+D),_.AT.F-(c-m.FS)*_.AT.F/(m.GY-m.FS),_.AT.F-(a-m.FS)*_.AT.F/(m.GY-m.FS))}}else if(e-t<_.PJ&&(_.HA===_.K5?e=t+_.PJ:_.HA===_.KS&&(t=e-_.PJ)),c-a<_.A0W&&(_.HA===_.JO?c=a+_.A0W:_.HA===_.LE&&(a=c-_.A0W)),t>e&&(_.HA===_.KS?_.update(e-1,e,a,c):_.HA===_.K5&&_.update(t,t+1,a,c),v=!1),t<0&&(_.HA===_.KS?_.update(0,e,a,c):_.HA===_.KO&&_.update(0,ZC.A5(_.KO).width(),a,c),v=!1),e>_.AT.I&&(_.HA===_.K5?_.update(t,_.AT.I,a,c):_.HA===_.KO&&_.update(_.AT.I-ZC.A5(_.KO).width(),_.AT.I,a,c),v=!1),a>c&&(_.HA===_.LE?_.update(t,e,a-1,c):_.HA===_.JO&&_.update(t,e,a,c+1),v=!1),a<0&&(_.HA===_.LE?_.update(t,e,0,c):_.HA===_.KO&&_.update(t,e,0,ZC.A5(_.KO).height()),v=!1),c>_.AT.F&&(_.HA===_.JO?_.update(t,e,a,_.AT.F):_.HA===_.KO&&_.update(t,e,_.AT.F-ZC.A5(_.KO).height(),_.AT.F),v=!1),v){var M;f&&f.YQ&&(f.CJ?(a=(M=_.AT.F/(f.V.length-(f.DE?0:1)))*Math.round(a/M),c=ZC.CX(M*Math.round(c/M),_.AT.F)):(t=(M=_.AT.I/(f.V.length-(f.DE?0:1)))*Math.round(t/M),e=ZC.CX(M*Math.round(e/M),_.AT.I))),_.IP=t,_.HB=e,_.L1=a,_.HE=c,(!f.CJ&&f.GQ||m.CJ&&m.GQ)&&(_.KS.style.left=ZC._i_(_.AT.iX+_.IP-_.J0.I/2-_.Q8/2)+"px",_.A41.style.width=ZC._i_(_.IP)+"px",_.K5.style.left=ZC._i_(_.AT.iX+_.HB-_.HM.I/2-_.Q8/2)+"px",_.XQ.style.left=ZC._i_(_.AT.iX+_.HB)+"px",_.XQ.style.width=ZC._i_(_.AT.I-_.HB)+"px"),(!m.CJ&&m.GQ||f.CJ&&f.GQ)&&(_.LE.style.top=ZC._i_(_.AT.iY+_.L1-_.JI.F/2-_.Q8/2)+"px",_.A5K.style.height=ZC._i_(_.L1)+"px",_.JO.style.top=ZC._i_(_.AT.iY+_.HE-_.H8.F/2-_.Q8/2)+"px",_.WJ.style.top=ZC._i_(_.AT.iY+_.HE)+"px",_.WJ.style.height=ZC._i_(_.AT.F-_.HE)+"px"),(f.GQ||m.GQ)&&(_.KO.style.left=ZC._i_(_.AT.iX+_.IP)+"px",_.KO.style.width=ZC._i_(_.HB-_.IP)+"px",_.KO.style.top=ZC._i_(_.AT.iY+_.L1)+"px",_.KO.style.height=ZC._i_(_.HE-_.L1)+"px"),_.AC8&&_.IY&&(_.C.OM=!0,_.zoom(!0)),f.GQ&&_.A25&&(f.F7&&"date"===f.F7.o.type?(_.RL.innerHTML=f.FD(f.W,null,null).replace(/
/g," "),_.RM.innerHTML=f.FD(f.A1,null,null).replace(/
/g," ")):(_.RL.innerHTML=f.W,_.RM.innerHTML=f.A1),_.RL.style.left=_.IP>ZC.A5(_.RL).width()?_.AT.iX+_.IP-ZC.A5(_.RL).width()+"px":_.AT.iX+"px",_.RM.style.left=_.AT.I-_.HB>ZC.A5(_.RM).width()?_.AT.iX+_.HB+"px":_.AT.iX+_.HB-ZC.A5(_.RM).width()+"px")}}}zoom(t){for(var e,a=this,c={graphid:a.C.K,preview:1,async:a.LX,previewscale:!0,zooming:t},h=a.C.BO,_=a.C.BV("k")[0],f=a.C.BV("v")[0],m=0,v=h.length;mt.AT.I?(t.IP=t.AT.I-v,t.HB=t.AT.I):(t.IP=ZC._i_(m-v/2),t.HB=ZC._i_(m+v/2))}else{var E=_[1]-f.top-t.AT.iY,w=t.HE-t.L1;E-w/2<0?(t.L1=0,t.HE=w):E+w/2>t.AT.F?(t.L1=t.AT.F-w,t.HE=t.AT.F):(t.L1=ZC._i_(E-w/2),t.HE=ZC._i_(E+w/2))}return t.IY=!1,t.C.OM=!1,t.update(t.IP,t.HB,t.L1,t.HE),t.zoom(!1),!1}},t.ZI=function(h){if(h.preventDefault(),t.H.H5){t.H.H5.C=t.C,t.H.H5.parse();for(var _=h.target;_&&"BODY"!==_.tagName.toUpperCase()&&-1===ZC.Q.TJ(_).indexOf("zc-preview-handler");)_=_.parentNode;if((ZC.mobile||!(h.which>1))&&_){var f=ZC.Q.MR(h),m=ZC._tx_(t.H.K),v=ZC.A5("#"+e+"-top").offset(),E=(f[0]-v.left)/m[0]-t.AT.iX,w=(f[1]-v.top)/m[1]-t.AT.iY;return-1!==_.id.indexOf("handler-x-left")?t.HA=t.KS:-1!==_.id.indexOf("handler-x-right")?t.HA=t.K5:-1!==_.id.indexOf("handler-y-top")?t.HA=t.LE:-1!==_.id.indexOf("handler-y-bottom")?t.HA=t.JO:-1!==_.id.indexOf("handler-middle")&&(t.HA=t.KO,a=E-t.IP,c=w-t.L1),ZC.A5(document.body).bind("mousemove touchmove",t.VQ),ZC.A5(document.body).bind("mouseup touchend",t.UC),t.IY=!0,t.A4A=!1,!1}}},t.VQ=function(h){if(t.IY){t.A4A=!0,zingchart.exec(t.H.K,"setmode",{mode:"static,fast"});var _=ZC._tx_(t.H.K),f=ZC.Q.MR(h),m=ZC.A5("#"+e+"-top").offset(),v=(f[0]-m.left)/_[0]-t.AT.iX,E=(f[1]-m.top)/_[1]-t.AT.iY;t.HA===t.KS?t.update(v,t.HB,t.L1,t.HE):t.HA===t.K5?t.update(t.IP,v,t.L1,t.HE):t.HA===t.LE?t.update(t.IP,t.HB,E,t.HE):t.HA===t.JO?t.update(t.IP,t.HB,t.L1,E):t.HA===t.KO&&t.update(v-a,v-a+ZC.A5(t.KO).width(),E-c,E-c+ZC.A5(t.KO).height())}return!1},t.UC=function(){return zingchart.exec(t.H.K,"setmode",{mode:""}),t.IY&&(ZC.A5(document.body).unbind("mousemove touchmove",t.VQ),ZC.A5(document.body).unbind("mouseup touchend",t.UC),t.IY=!1,t.C.OM=!1,t.A4A&&t.zoom(!1),t.A4A=!1),!1},ZC.A5("."+t.C.K+"-preview-handler").bind("mousedown touchstart",t.ZI),ZC.A5("."+t.C.K+"-preview-mask").bind("click",t.AGF),t.bBind=!0}}gc(){ZC.AR.gc(this,["Z","C7","o","IG","JJ","C","H","AT","UY","KS","K5","LE","JO","KO","JI","HM","H8","J0","oMask","P5","A41","XQ","A5K","WJ"])}}class A4K extends CZ{constructor(t,e){super(t);var a=this;a.C=t,a.H=t.A,a.IY=!1,a.Z=null,a.BL=0,a.BH=0,a.A7Q="",a.bYX="yx"===a.C.AJ.layout,a.AF=a.sTypeE=a.sTypeN="scroll-"+(e||"x"),a.bYX&&(a.AF+="i",a.sTypeE="scroll-xi"===a.AF?"scroll-y":"scroll-x")}parse(){var t,e=this;e.K=e.C.K+"-"+e.sTypeE,e.assign_a([["offset-x","BL"],["offset-y","BH"]]);var a="("+e.C.AF+").",c=e.H.B8;e.B2=new I7(e.C),c.load(e.B2.o,[a+"scroll.bar",a+e.AF+".bar"]),null!==ZC._n_(t=e.o.bar)&&e.B2.append(t),e.B2.parse(),e.B3=new I7(e.C),c.load(e.B3.o,[a+"scroll.handle",a+e.AF+".handle"]),null!==ZC._n_(t=e.o.handle)&&e.B3.append(t),e.B3.parse()}paint(){var t=this,e=t.C.BV("k")[0],a=t.C.BV("v")[0],c=t.C.P;if(("scroll-x"===t.AF||"scroll-xi"===t.AF)&&e.D5===e.W&&e.DN===e.A1||("scroll-y"===t.AF||"scroll-yi"===t.AF)&&a.FS===a.AY&&a.GY===a.BD)return t.unbind(),ZC.A5("#"+t.C.K+"-"+t.AF+"-handle").remove(),ZC.A5("#"+t.C.K+"-"+t.AF+"-bar").remove(),void ZC.Q.IV(t.Z,t.H.AC,t.C.iX,t.C.iY,t.C.I,t.C.F);t.Z=ZC.AM(t.C.K+"-"+t.sTypeN+"-c");var h=ZC.AM(t.H.K+"-top");"scroll-x"===t.AF||"scroll-yi"===t.AF?(t.B2.iX=c.iX+t.BL,t.B2.iY=c.iY+c.F+e.B1-1+t.BH,t.B2.I=c.I,t.bYX?(t.B3.I=ZC._i_(ZC.BQ(4,t.B2.I*((a.BD-a.AY)/(a.GY-a.FS)))),t.B3.iX=a.FS===a.AY?a.AW?t.B2.iX+t.B2.I-t.B3.I:t.B2.iX:a.GY===a.BD?a.AW?t.B2.iX:t.B2.iX+t.B2.I-t.B3.I:a.AW?ZC._i_(t.B2.iX+t.B2.I-t.B3.I-t.B2.I*(a.AY-a.FS)/(a.GY-a.FS)):ZC._i_(t.B2.iX+t.B2.I*(a.AY-a.FS)/(a.GY-a.FS))):(t.B3.I=ZC._i_(ZC.BQ(4,t.B2.I*((e.A1-e.W)/(e.DN-e.D5)))),t.B3.iX=e.D5===e.W?e.AW?t.B2.iX+t.B2.I-t.B3.I:t.B2.iX:e.DN===e.A1?e.AW?t.B2.iX:t.B2.iX+t.B2.I-t.B3.I:e.AW?ZC._i_(t.B2.iX+t.B2.I-t.B3.I-t.B2.I*(e.W-e.D5)/(e.DN-e.D5)):ZC._i_(t.B2.iX+t.B2.I*(e.W-e.D5)/(e.DN-e.D5))),ZC.AM(t.K+"-handle")?(ZC.A5("#"+t.K+"-bar").css("top",t.B2.iY+"px"),ZC.A5("#"+t.K+"-handle").css("left",t.B3.iX+"px").css("top",t.B2.iY+"px").css(ZC._[19],ZC.BQ(15,t.B3.I)+"px"),t.paint_()):(t.AAT=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-x-bar "+t.C.K+"-scroll-x-bar",id:t.K+"-bar",wh:t.B2.I+"/"+t.B2.F,tl:t.B2.iY+"/"+t.B2.iX,opacity:0,p:h}),t.ZV=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-x-handle "+t.C.K+"-scroll-x-handle",id:t.K+"-handle",wh:ZC.BQ(15,t.B3.I)+"/"+t.B2.F,tl:t.B2.iY+"/"+(t.B3.iX-2),background:"#fff",opacity:0,p:h}),t.ZV.style.cursor="pointer",t.paint_(),t.IY||t.bind())):(t.B2.iX=c.iX-t.B2.I-1+t.BL,t.B2.iY=c.iY+t.BH,t.B2.F=c.F,t.bYX?(t.B3.F=ZC._i_(ZC.BQ(4,t.B2.F*((e.A1-e.W)/(e.DN-e.D5)))),t.B3.iY=e.D5===e.W?e.AW?t.B2.iY:t.B2.iY+t.B2.F-t.B3.F:e.DN===e.A1?e.AW?t.B2.iY+t.B2.F-t.B3.F:t.B2.iY:e.AW?ZC._i_(t.B2.iY+t.B2.F*(e.W-e.D5)/(e.DN-e.D5)):ZC._i_(t.B2.iY+t.B2.F-t.B3.F-t.B2.F*(e.W-e.D5)/(e.DN-e.D5))):(t.B3.F=ZC._i_(ZC.BQ(4,t.B2.F*((a.BD-a.AY)/(a.GY-a.FS)))),t.B3.iY=a.FS===a.AY?a.AW?t.B2.iY:t.B2.iY+t.B2.F-t.B3.F:a.GY===a.BD?a.AW?t.B2.iY+t.B2.F-t.B3.F:t.B2.iY:a.AW?ZC._i_(t.B2.iY+t.B2.F*(a.AY-a.FS)/(a.GY-a.FS)):ZC._i_(t.B2.iY+t.B2.F-t.B3.F-t.B2.F*(a.AY-a.FS)/(a.GY-a.FS))),ZC.AM(t.K+"-handle")?(ZC.A5("#"+t.K+"-bar").css("left",t.B2.iX+"px"),ZC.A5("#"+t.K+"-handle").css("top",t.B3.iY+"px").css("left",t.B2.iX+"px").css(ZC._[20],ZC.BQ(15,t.B3.F)+"px"),t.paint_()):(t.AAU=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-y-bar "+t.C.K+"-scroll-y-bar",id:t.K+"-bar",wh:t.B2.I+"/"+t.B2.F,tl:t.B2.iY+"/"+t.B2.iX,opacity:0,p:h}),t.ZW=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-y-handle "+t.C.K+"-scroll-y-handle",id:t.K+"-handle",wh:t.B2.I+"/"+ZC.BQ(15,t.B3.F),tl:t.B3.iY-2+"/"+t.B2.iX,background:"#fff",opacity:0,p:h}),t.ZW.style.cursor="pointer",t.paint_(),t.IY||t.bind()))}zoom(t){for(var e,a,c,h=this,_={graphid:h.C.K,zooming:t,scroll:!0},f=h.C.BO,m=h.C.BV("k")[0],v=h.C.BV("v")[0],E=0,w=f.length;Ea.C.P.iX+a.C.P.I&&(e.iX=a.C.P.iX+a.C.P.I-e.I),e.iXa.C.P.iY+a.C.P.F&&(e.iY=a.C.P.iY+a.C.P.F-e.F),e.iY1)&&(t.A7Q=t.H.KX.join(","),t.H.KX.push(ZC._[38],"skip_objects_tracking",ZC._[39],ZC._[40],ZC._[41]),t.H.H5)){t.H.H5.C=t.C,t.H.H5.parse();for(var _=h.target;_&&"BODY"!==_.tagName.toUpperCase()&&-1===ZC.Q.TJ(_).indexOf("zc-"+t.AF+"-handle");)_=_.parentNode;if((ZC.mobile||!(h.which>1))&&_){var f=ZC.Q.MR(h),m=ZC.A5("#"+e+"-top").offset();return"scroll-x"===t.AF||"scroll-yi"===t.AF?a=f[0]-m.left-t.B3.iX:c=f[1]-m.top-t.B3.iY,ZC.A5(document.body).bind("mousemove touchmove",t.RT),ZC.A5(document.body).bind("mouseup touchend",t.MI),t.IY=!0,!1}}},t.RT=function(h){if(t.IY){t.setScrollingFlag(!1);var _=ZC.Q.MR(h),f=ZC.A5("#"+e+"-top").offset();if("scroll-x"===t.AF||"scroll-yi"===t.AF){var m=_[0]-f.left;m-at.B2.iX+t.B2.I&&(m>t.B2.iX+t.B2.I+15&&t.overscroll("scroll-x-right"),m=t.B2.iX+t.B2.I+a-t.B3.I),t.update(m-a)}else{var v=_[1]-f.top;v-ct.B2.iY+t.B2.F&&(v>t.B2.iY+t.B2.F+15&&t.overscroll("scroll-y-bottom"),v=t.B2.iY+t.B2.F+c-t.B3.F),t.update(v-c)}}return!1},t.MI=function(h){return t.H.KX=t.A7Q.split(","),t.IY&&(ZC.A5(document.body).unbind("mousemove touchmove",t.RT),ZC.A5(document.body).unbind("mouseup touchend",t.MI),t.IY=!1,t.setScrollingFlag(!1),h&&t.zoom(!1)),!1},t.RU=function(h){t.IY=!1,t.setScrollingFlag(!1);var _=ZC.Q.MR(h),f=ZC.A5("#"+e+"-top").offset();t.update("scroll-x"===t.AF||"scroll-yi"===t.AF?_[0]-f.left>t.B3.iX?ZC.CX(t.B2.iX+t.B2.I-t.B3.I-2*t.B3.AU,t.B3.iX+(_[0]-f.left-t.B3.iX)/4):ZC.BQ(t.B2.iX,_[0]-f.left+(t.B3.iX-_[0]+f.left-t.B3.I)/4):_[1]-f.top>t.B3.iY?ZC.CX(t.B2.iY+t.B2.F-t.B3.F-2*t.B3.AU,t.B3.iY+(_[1]-f.top-t.B3.iY)/4):ZC.BQ(t.B2.iY,_[1]-f.top+(t.B3.iY-_[1]+f.top-t.B3.F)/4)),t.zoom(!1)},ZC.A5("."+t.C.K+"-"+t.sTypeE+"-handle").bind("mousedown touchstart",t.RS),ZC.A5("."+t.C.K+"-"+t.sTypeE+"-bar").bind("click",t.RU)}}class A3L extends CZ{constructor(t,e){super(t);var a=this;a.BE=t,a.IY=!1,a.Z=null,a.A7Q="",a.L0=1,a.H6=1,a.AF="scroll-"+(e||"y")}parse(){var t,e=this;e.K=e.BE.K+"-legend-"+e.AF;var a=e.BE.A.H.B8,c="("+e.BE.A.AF+")";e.B2=new I7(e.BE),a.load(e.B2.o,[c+".legend.scroll.bar",e.AF+".bar"]),null!==ZC._n_(t=e.o.bar)&&e.B2.append(t),e.B2.parse(),e.B3=new I7(e.BE),a.load(e.B3.o,[c+".legend.scroll.handle",e.AF+".handle"]),null!==ZC._n_(t=e.o.handle)&&e.B3.append(t),e.B3.parse()}paint(){var t,e=this;if(!e.IY){e.Z=ZC.AM(e.BE.A.K+"-legend-scroll-c");var a=ZC.AM(e.H.K+"-top");"scroll-y"===e.AF?(e.B2.iX=e.BE.iX+e.BE.I-e.B2.I-1,e.B2.iY=e.BE.EJ,e.B2.F=e.BE.F-(e.BE.KU?e.BE.KU.F:0)-(e.BE.EJ-e.BE.iY),t=Math.ceil(e.BE.B6.length/e.H6-e.BE.EH/e.H6)+1,e.B3.F=e.B2.F/t,e.B3.iY=e.B2.iY,0!==e.BE.D4.min&&(e.B3.iY+=e.BE.D4.min/e.H6*e.B3.F),ZC.AM(e.K+"-legend-handle")?(ZC.A5("#"+e.K+"-legend-handle").css("left",e.B2.iX+"px").css("top",e.B3.iY+"px").css(ZC._[20],e.B3.F-0*e.B3.AU+"px"),ZC.A5("#"+e.K+"-legend-bar").css("left",e.B2.iX+"px").css("top",e.B2.iY+"px"),ZC.A5("#"+e.BE.K+"-frame").css("left",e.BE.iX+"px").css("top",e.BE.EJ+"px"),e.paint_()):(e.AAU=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-y-bar "+e.BE.K+"-scroll-y-legend-bar",id:e.K+"-legend-bar",wh:e.B2.I+"/"+e.B2.F,tl:e.B2.iY+"/"+e.B2.iX,background:"#fff",opacity:0,zidx:1,p:a}),e.ZW=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-y-handle "+e.BE.K+"-scroll-y-legend-handle",id:e.K+"-legend-handle",wh:e.B2.I-0*e.B3.AU+"/"+(e.B3.F-0*e.B3.AU),tl:e.B3.iY+"/"+e.B2.iX,background:"#fff",opacity:0,zidx:1,p:a}),e.ZW.style.cursor="pointer",e.paint_())):"scroll-x"===e.AF&&(e.B2.iX=e.BE.iX,e.B2.iY=e.BE.iY+e.BE.F-e.B2.F-1,e.B2.I=e.BE.I,t=Math.ceil(e.BE.B6.length/e.L0-e.BE.EH/e.L0)+1,e.B3.I=e.B2.I/t,e.B3.iX=e.B2.iX,0!==e.BE.D4.min&&(e.B3.iX+=e.BE.D4.min/e.L0*e.B3.I),ZC.AM(e.K+"-legend-handle")?(ZC.A5("#"+e.K+"-legend-handle").css("left",e.B3.iX+"px").css("top",e.B2.iY+"px").css(ZC._[19],e.B3.I-0*e.B3.AU+"px"),ZC.A5("#"+e.K+"-legend-bar").css("left",e.B2.iX+"px").css("top",e.B2.iY+"px"),ZC.A5("#"+e.BE.K+"-frame").css("left",e.BE.iX+"px").css("top",e.BE.EJ+"px"),e.paint_()):(e.AAT=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-x-bar "+e.BE.K+"-scroll-x-legend-bar",id:e.K+"-legend-bar",wh:e.B2.I+"/"+e.B2.F,tl:e.B2.iY+"/"+e.B2.iX,background:"#fff",opacity:0,zidx:1,p:a}),e.ZV=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-x-handle "+e.BE.K+"-scroll-x-legend-handle",id:e.K+"-legend-handle",wh:e.B3.I-0*e.B3.AU+"/"+(e.B2.F-0*e.B3.AU),tl:e.B2.iY+"/"+e.B3.iX,background:"#fff",opacity:0,zidx:1,p:a}),e.ZV.style.cursor="pointer",e.paint_())),ZC.move||e.bind()}}paint_(){var t,e,a=this;"scroll-y"===a.AF?((t=new I7(a)).K=a.BE.K+"-scroll-y-legend-bar",t.copy(a.B2),t.Z=a.Z,t.iX=a.B2.iX,t.iY=a.B2.iY,t.I=a.B2.I,t.F=a.B2.F,t.paint(),(e=new I7(a)).K=a.BE.K+"-scroll-y-legend-handle",e.copy(a.B3),e.Z=a.Z,e.iX=a.B2.iX,e.iY=a.B3.iY,e.I=a.B3.I,e.F=a.B3.F,e.paint()):"scroll-x"===a.AF&&((t=new I7(a)).K=a.BE.K+"-scroll-x-legend-bar",t.copy(a.B2),t.Z=a.Z,t.iX=a.B2.iX,t.iY=a.B2.iY,t.I=a.B2.I,t.F=a.B2.F,t.paint(),(e=new I7(a)).K=a.BE.K+"-scroll-x-legend-handle",e.copy(a.B3),e.Z=a.Z,e.iX=a.B3.iX,e.iY=a.B2.iY,e.I=a.B3.I,e.F=a.B2.F,e.paint())}update(t){var e,a,c,h,_,f,m=this,v=m.BE;if("scroll-y"===m.AF){if(t===m.B3.iY)return;m.B3.iY=t,ZC.A5("#"+m.K+"-legend-handle").css("top",t+"px"),e=m.B3.iY-m.B2.iY,h=Math.ceil(v.B6.length/m.H6-v.EH/m.H6)+1,a=m.B2.F/h,f=m.H6}else if("scroll-x"===m.AF){if(t===m.B3.iX)return;m.B3.iX=t,ZC.A5("#"+m.K+"-legend-handle").css("left",t+"px"),e=m.B3.iX-m.B2.iX,h=Math.ceil(v.B6.length/m.L0-v.EH/m.L0)+1,a=m.B2.I/h,f=m.L0}c=Math.round(e/a),_=v.B6.length-v.EH,v.B6.length%f&&(_+=f-v.B6.length%f),v.D4.min=Math.min(c*f,_),v.D4.max=v.D4.min+v.EH,v.VI(),v.clear(!1),v.parse(),v.paint(),m.paint_()}unbind(){var t=this;ZC.A5("."+t.BE.K+"-"+t.AF+"-legend-handle").unbind("mousedown touchstart",t.RS),ZC.A5("."+t.BE.K+"-"+t.AF+"-legend-bar").unbind("click",t.RU)}bind(){var t=this,e=t.H.K,a=0,c=0;t.RS=function(h){if(h.preventDefault(),!(h.button>1)){for(var _=h.target;_&&"BODY"!==_.tagName.toUpperCase()&&-1===ZC.Q.TJ(_).indexOf("zc-"+t.AF+"-handle");)_=_.parentNode;if((ZC.mobile||!(h.which>1))&&_){var f=ZC.Q.MR(h),m=ZC.A5("#"+e+"-top").offset();return"scroll-y"===t.AF?c=f[1]-m.top-t.B3.iY:"scroll-x"===t.AF&&(a=f[0]-m.left-t.B3.iX),ZC.A5(document.body).bind("mousemove touchmove",t.RT),ZC.A5(document.body).bind("mouseup touchend",t.MI),t.IY=!0,!1}}},t.RT=function(h){if(h.preventDefault(),t.IY){var _=ZC.Q.MR(h),f=ZC.A5("#"+e+"-top").offset();if("scroll-y"===t.AF){var m=_[1]-f.top;m-ct.B2.iY+t.B2.F&&(m=t.B2.iY+t.B2.F+c-t.B3.F),t.update(m-c)}else if("scroll-x"===t.AF){var v=_[0]-f.left;v-at.B2.iX+t.B2.I&&(v=t.B2.iX+t.B2.I+a-t.B3.I),t.update(v-a)}}return!1},t.MI=function(){return t.H.KX=t.A7Q.split(","),t.IY&&(ZC.A5(document.body).unbind("mousemove touchmove",t.RT),ZC.A5(document.body).unbind("mouseup touchend",t.MI),t.IY=!1,t.bind()),!1},t.A4H=function(h){t.update((h.detail?-120*h.detail:h.wheelDelta)/120>0?ZC.BQ(t.B2.iY,t.B3.iY-t.B3.F):ZC.CX(t.B2.iY+t.B2.F-t.B3.F,t.B3.iY+t.B3.F))},t.RU=function(h){t.IY=!0;var _=ZC.Q.MR(h),f=ZC.A5("#"+e+"-top").offset();"scroll-y"===t.AF?t.update(_[1]-f.top>t.B3.iY?ZC.CX(t.B2.iY+t.B2.F-t.B3.F,t.B3.iY+t.B3.F):ZC.BQ(t.B2.iY,t.B3.iY-t.B3.F)):"scroll-x"===t.AF&&t.update(_[0]-f.left>t.B3.iX?ZC.CX(t.B2.iX+t.B2.I-t.B3.I,t.B3.iX+t.B3.I):ZC.BQ(t.B2.iX,t.B3.iX-t.B3.I)),t.IY=!1},ZC.A5("."+t.BE.K+"-"+t.AF+"-legend-handle").bind("mousedown touchstart",t.RS),ZC.A5("."+t.BE.K+"-"+t.AF+"-legend-bar").bind("click",t.RU)}}class A29 extends DV{constructor(t){super(t);var e=this;e.OQ="legend",e.B6=null,e.QH=null,e.NU="x1",e.I9="hide",e.RD="",e.Q6="",e.VC=!1,e.VN=!1,e.U2="none",e.UZ="header",e.EH=9999,e.D2=null,e.BR=null,e.ZU=null,e.A2=null,e.NZ=null,e.FQ=null,e.KU=null,e.QO=0,e.MQ=0,e.Z5=!0,e.EJ=0,e.GR=0,e.sAlign="",e.K4="",e.D4={enabled:!1,min:-1,max:-1,page:-1,pages:-1},e.MD=!1,e.NJ=!1,e.NK=-1,e.Q5=!1,e.A5L=1,e.XG=0,e.LN=!1,e.Y6=!1,e.ZB=!1,e.Y9=[]}highlightItem(t){var e,a=this,c=!1,h=ZC.move,_=a.LN;-1!==t&&(_=a.LN||a.A.AZ.A3[t].LN),a.o.item&&null!==ZC._n_(e=a.o.item["highlight-item"])&&(c=ZC._b_(e),null===ZC._n_(a.o["highlight-legend"])&&null===a.A.AZ.A3[t].o["highlight-legend"]&&(_=c)),(c||_)&&(c&&(a.E["highlight-item"]=t),_&&(a.E["highlight-legend"]=ZC._i_(t)),a.scrollTo(ZC._i_(t)),a.VI(),a.clear(!0,!1),a.Z5=!0,a.parse(),a.fixPlacement(!0),a.paint(),ZC.move=h)}scrollTo(t){var e,a,c=this,h=!1;if(c.D2)return t>=0&&(t=c.D4.max)&&(h=!0,"scroll"===c.U2?(t%(a="scroll-y"===c.D2.AF?c.D2.H6:c.D2.L0)&&(t-=t%a),c.D4.min=t,c.D4.max=t+c.EH,c.D4.max>c.B6.length&&(c.D4.min=c.B6.length-c.EH,c.B6.length%a&&(c.D4.min=c.D4.min+(a-c.B6.length%a)),c.D4.max=c.B6.length)):"page"===c.U2&&(e=Math.floor(t/c.EH),c.D4.min=e*c.EH,c.D4.max=c.D4.min+c.EH,c.D4.page=e+1)),h}parse(){var t,e,a,c,h=this;if(h.E["force-margins"]=!0,h.QO=0,h.MQ=0,null!==ZC._n_(t=h.A.A.E["graph-"+h.A.K+"-legend-info"])&&(null!==ZC._n_(t.x)&&(h.o.x=t.x-h.A.iX),null!==ZC._n_(t.y)&&(h.o.y=t.y-h.A.iY)),ZC.move)h.FQ&&h.FQ.parse(),h.KU&&h.KU.parse();else{c=h.A.H.B8;var _="("+h.A.AF+")";super.parse(),h.assign_a([["collapse","MD","b"],["minimize","VC","b"],["draggable","VN","b"],["shared","Q5","b"],["overflow","U2"],["max-items","EH","i"],["group","A5L","i"],["drag-handler","UZ"],["highlight-plot","XG","b"],["highlight-legend","LN","b"],["align","sAlign"],["vertical-align","K4"]]),h.MD&&!h.VC&&(h.MD=!1),zingchart.DEV.MEDIARULES&&(h.E["forced-align-position"]||(h.alignPosition({align:h.sAlign,"vertical-align":h.K4,layout:h.NU}),h.E["forced-align-position"]=!0)),h.XG&&null===ZC._n_(h.o["highlight-legend"])&&(h.LN=h.XG),h.BR=new DV(h),c.load(h.BR.o,_+".legend.item"),h.o.item&&null===ZC._n_(h.o.item.visible)&&(h.o.item.visible=!0),h.BR.append(h.o.item),h.BR.parse(),h.ZU=new DV(h),c.load(h.ZU.o,_+".legend.item-off"),h.o["item-off"]&&null===ZC._n_(h.o["item-off"].visible)&&(h.o["item-off"].visible=!0),h.ZU.append(h.o["item-off"]),h.ZU.parse(),h.A2=new DX(h),c.load(h.A2.o,_+".legend.marker"),h.o.marker&&null===ZC._n_(h.o.marker.visible)&&(h.o.marker.visible=!0),h.A2.append(h.o.marker),h.A2.E.type="default",h.A2.E["show-marker"]=!0,h.A2.E["show-line"]=!1,null!==ZC._n_(t=h.A2.o.type)&&(h.A2.E.type=t),null!==ZC._n_(t=h.A2.o["show-line"])&&(h.A2.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=h.BR.o["marker-style"])&&(h.A2.E.type=t),null!==ZC._n_(t=h.BR.o["show-line"])&&(h.A2.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=h.BR.o["show-marker"])&&(h.A2.o.visible=ZC._b_(t)),h.A2.parse(),h.NZ=new DX(h),c.load(h.NZ.o,_+".legend.marker-off"),h.o["marker-off"]&&(h.o["marker-off"].visible=!0),h.NZ.append(h.o["marker-off"]),h.NZ.E.type="default",h.NZ.E["show-marker"]=!0,h.NZ.E["show-line"]=!1,null!==ZC._n_(t=h.NZ.o.type)&&(h.NZ.E.type=t),null!==ZC._n_(t=h.NZ.o["show-line"])&&(h.NZ.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=h.BR.o["marker-style"])&&(h.NZ.E.type=t),null!==ZC._n_(t=h.BR.o["show-line"])&&(h.NZ.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=h.BR.o["show-marker"])&&(h.NZ.o.visible=ZC._b_(t)),h.NZ.parse(),(null!==ZC._n_(t=h.o.header)||h.VN||h.VC)&&(h.FQ=new DV(h),h.FQ.OQ="legendheader",h.FQ.GO="zc-legend-item "+h.K+"-header",h.FQ.K=h.K+"-header",c.load(h.FQ.o,_+".legend.header"),h.FQ.o.text=h.FQ.o.text||" ",h.FQ.append(t),h.FQ.parse(),h.FQ.AO||(h.FQ=null)),null!==ZC._n_(t=h.o.footer)&&(h.KU=new DV(h),h.KU.OQ="legendfooter",h.KU.GO="zc-legend-item "+h.K+"-footer",h.KU.K=h.K+"-footer",c.load(h.KU.o,_+".legend.footer"),h.KU.append(t),h.KU.parse(),h.KU.AO||(h.KU=null));var f=h.A.AZ.A3;null!==ZC._n_(t=h.o.layout)?h.NU=t:25*f.length>h.A.F&&(h.NU="x"+Math.ceil(25*f.length/h.A.F)),null!==ZC._n_(t=h.o[ZC._[54]])&&(h.I9=t),h.RD=h.Q6=h.I9,null!==ZC._n_(h.o.item)&&null!==ZC._n_(t=h.o.item[ZC._[54]])&&(h.RD=t),null!==ZC._n_(h.o.marker)&&null!==ZC._n_(t=h.o.marker[ZC._[54]])&&(h.Q6=t);var m=function(he){if(f[e]&&f[e].FK(0)){var fe=ZC.AR.OH(h.BR.o,f[e].o);he=f[e].FK(0).ET(he,fe)}return he},v=[];h.B6=[];var E=0;for(e=0,a=f.length;eh.D4.pages&&(h.D4.page=h.D4.pages,h.D4.min=(h.D4.page-1)*h.EH,h.D4.max=h.D4.page*h.EH-1),h.D4.page=ZC.CX(h.D4.page,h.D4.pages)):"scroll"===h.U2?(t=h.A.E["legend-info"])?(h.D4.min=t.min,h.D4.max=t.max,h.D4.page=t.page):(h.D4.min=0,h.D4.max=h.EH,h.D4.page=1):(h.D4.min=0,h.D4.max="hidden"===h.U2?h.EH:h.B6.length,h.D4.page=1),h.VI(!1),h.B6.sort(function(he,fe){return he.E.order-fe.E.order}),h.o["reverse-series"]&&h.B6.reverse();var M=.9*h.A.I;null!==ZC._n_(h.o[ZC._[19]])&&(M=h.I);var T=0,R=0,V=-ZC.MAX,$=-ZC.MAX,y=h.A2.E["show-line"]?3:2,U=0,O=1,Q=1;if("float"===h.NU){for(e=0,a=h.B6.length;e=h.D4.max||h.NJ)&&h.B6[e].AO){var W=h.B6[e].I+h.B6[e].DY+h.B6[e].E6+y*h.B6[e].DG;$=ZC.BQ($,h.B6[e].F+h.B6[e].E7+h.B6[e].DR),T+W>M?(V=ZC.BQ(V,T),R+=$,T=W,$=ZC.BQ($,h.B6[e].F+h.B6[e].E7+h.B6[e].DR)):T+=W}V=ZC.BQ(V,T),$!==-ZC.MAX&&(R+=$),V!==-ZC.MAX&&(T=V)}else{var ae=0;for(e=0,a=h.B6.length;e=h.D4.max||h.NJ||(ae+=h.B6[e].AO?1:0);var ee=ZC.AP.A2Y(h.NU,ae);for(O=ee[0],Q=ee[1],e=0,a=h.B6.length;e=h.D4.max||h.NJ)&&("scroll"!==h.U2||U<=h.EH)||h.B6[e].AO&&(V=ZC.BQ(V,h.B6[e].I+h.B6[e].DY+h.B6[e].E6+y*h.B6[e].DG),$=ZC.BQ($,h.B6[e].F+h.B6[e].E7+h.B6[e].DR),1===Q&&(R+=h.B6[e].F+h.B6[e].E7+h.B6[e].DR));T=Q*V,R=O*$}if("page"===h.U2&&U>h.EH&&(h.D4.enabled=!0),"scroll"===h.U2&&U>h.EH&&(h.D2||(!O||O>Q?(h.D2=new A3L(h,"y"),c.load(h.D2.o,".scroll-y")):(h.D2=new A3L(h,"x"),c.load(h.D2.o,".scroll-x")),h.D2.append(h.o.scroll),h.D2.L0=O,h.D2.H6=Q,h.D2.parse()),h.NJ||("scroll-y"===h.D2.AF?T+=h.D2.B2.I:R+=h.D2.B2.F)),h.FQ){var ne=h.FQ.I;h.VN&&"icon"===h.UZ?(ne+=15,h.VC&&(ne+=25)):h.VC&&(ne+=15),T=ZC.BQ(T,ne)}h.KU&&(T=ZC.BQ(T,h.KU.I));var oe=!1,te=!1;if(null===ZC._n_(h.o[ZC._[19]])&&(h.o[ZC._[19]]=T,oe=!0),null===ZC._n_(h.o[ZC._[20]])&&(h.o[ZC._[20]]=R,te=!0),h.iX=-1,h.iY=-1,!ZC.move&&h.FQ&&null!==ZC._n_(t=h.A.A.E["legend"+h.A.L+"-xy-ratio"])){h.locate();var le=h.I+h.EP+h.FP,ce=h.F+h.FO+h.FX,Ce=h.Q5?h.A.A:h.A;h.iX=Ce.I*t[0],h.iX=ZC.BQ(h.iX,1.1),h.o.x=h.iX=ZC.CX(h.iX,Ce.I-le-2),h.iY=(Ce.F-h.FQ.F)*t[1],h.iY=ZC.BQ(h.iY,1.1),h.o.y=h.iY=ZC.CX(h.iY,Ce.F-ce-h.FQ.F-2)}if(h.locate(),null!==ZC._n_(h.o.position)&&typeof h.E["position-info"]!==ZC._[31]?(h.E["position-info"][0]>.5&&(h.QO+=h.EP+h.FP),h.E["position-info"][1]>.5?h.MQ+=h.FO+h.FX:(h.FQ&&(h.MQ-=h.FQ.F),h.KU&&(h.MQ-=h.KU.F),h.D4&&h.D4.enabled&&(h.MQ-=20))):((0===h.A.iX||h.iX+h.I/2>h.A.iX+h.A.I/2)&&(h.QO+=h.EP+h.FP),(0===h.A.iY||h.iY+h.F/2>h.A.iY+h.A.F/2)&&(h.MQ+=h.FO+h.FX)),!ZC.move&&(t=h.A.A.E["graph-"+h.A.K+"-legend-info"])&&(t.x&&(h.iX=t.x),t.y&&(h.iY=t.y)),h.GR=h.F,h.EJ=h.iY,h.FQ&&(h.F+=h.FQ.F,h.EJ+=h.FQ.F,h.MQ+=h.FQ.F),h.KU&&(h.F+=h.KU.F,h.MQ+=h.KU.F),h.D4.enabled&&!h.NJ){var se=new DV(h);se.AN=" ",se.append(h.o["page-status"]),null!==ZC._n_(se.o.text)&&""!==se.o.text||(se.o.text="#"),se.parse(),h.F+=se.F+4,h.MQ+=se.F+4}oe&&(h.o[ZC._[19]]=null),te&&(h.o[ZC._[20]]=null),h.NJ||(h.I+=h.EP+h.FP,h.F+=h.FO+h.FX),h.E["default-width"]&&(h.I=h.E["default-width"])}}alignPosition(t){var e=this;if(null!==ZC._n_(t)){var a=e.A.H.B8.B8.graph.legend,c=t.align||a.align,h=t["vertical-align"]||a["vertical-align"],_=t.layout||a.layout;(c||h)&&("center"===c?(null===ZC._n_(e.o.layout)&&(_=e.o.layout="horizontal"),e.o.position="50% "):e.o.position="left"===c?"0% ":"100% ",e.o.position+="middle"===h?"50%":"bottom"===h?"100%":"0%","horizontal"!==_&&"middle"!==h||(e.o["adjust-layout"]=!0))}}VI(t){var e=this;typeof t===ZC._[31]&&(t=!0),e.A.E["legend-info"]={collapsed:e.NJ,min:e.D4.min,max:e.D4.max,page:e.D4.page},t&&(e.A.A.E["graph-"+e.A.K+"-legend-info"]={x:e.iX,y:e.iY})}clear(t,e){null===ZC._n_(t)&&(t=!1),null===ZC._n_(e)&&(e=!1);var a=this,c=a.A.K+"-legend-",h=null;ZC.A5("."+c+"item",h).remove(),ZC.A5("."+c+"header",h).remove(),ZC.A5("."+c+"footer",h).remove(),ZC.A5("#"+c+"page-status",h).remove(),t&&!e||(ZC.move||a.unbind(),ZC.A5("."+c+"page-area",h).remove(),ZC.A5("."+c+"header-area",h).remove(),ZC.A5("."+c+"item-area",h).remove(),ZC.A5("."+c+"marker-area",h).remove()),ZC.move?ZC.Q.IV(ZC.AM(c+"c"),a.A.H.AC,a.A.iX,a.A.iY,a.A.I,a.A.F):ZC.Q.IV(ZC.AM(c+"c"),a.A.H.AC,a.iX-2*a.AU-2*a.K1,a.iY-2*a.AU-2*a.K1,a.I+4*a.AU+4*a.K1,a.F+4*a.AU+4*a.K1),a.D2&&ZC.Q.IV(ZC.AM(c+"scroll-c"),a.A.H.AC,a.A.iX,a.A.iY,a.A.I,a.A.F)}unbind(){var t=this;ZC.A5("#"+t.K+"-frame").die(ZC.Q.BY("mouseover"),t.zc_legend_mouseover).die(ZC.Q.BY("mouseout"),t.zc_legend_mouseout),ZC.A5("#"+t.K+"-move-area").die(ZC.Q.BY(ZC._[47]),t.ZQ),ZC.A5("#"+t.K+"-minimize-area").die(ZC.Q.BY("click"),t.YM),ZC.A5("."+t.K+"-page-area").die(ZC.Q.BY("click"),t.ZJ),t.D2&&t.D2.unbind(),t.BR&&t.BR.o.reorder&&ZC.A5("."+t.A.K+"-legend-item-area").die(ZC._[47],t.WU)}fixPlacement(t){var e=this;if(e.Z5&&null===ZC._n_(e.o.y)||t){if(!e.o.position&&t||(e.iX-=e.QO),e.iX=y.D4.max||y.NJ||(Q+=y.B6[f].AO?1:0);y.A5J=!0,super.paint(),y.FQ&&(y.FQ.iX=y.iX,y.FQ.iY=y.iY,y.FQ.I=y.I,y.FQ.Z=y.FQ.C7=y.Z,y.FQ.paint(),ZC.move||"canvas"!==y.A.A.AC&&y.FQ.ED(),y.VN&&"icon"===y.UZ&&((c=new DX(y)).Z=y.Z,c.B7="#000",c.B1=1,c.DS="line",c.append(y.o.icon),c.D=[[(h=y.FQ.iX+y.FQ.I-10)-7,_=y.FQ.iY+y.FQ.F/2],[h+7,_],null,[h,_-7],[h,_+7],null,[h-6,_-1],[h-6,_+1],null,[h-5,_-2],[h-5,_+2],null,[h+6,_-1],[h+6,_+1],null,[h+5,_-2],[h+5,_+2],null,[h-1,_-6],[h+1,_-6],null,[h-2,_-5],[h+2,_-5],null,[h-1,_+6],[h+1,_+6],null,[h-2,_+5],[h+2,_+5]],c.parse(),c.paint()),y.VC&&((a=new DX(y)).Z=y.Z,a.B7=ZC.AR.AAR(y.A0,"#fff","#000"),a.B1=1,a.append(y.o.icon),a.DS="line",a.D=[[(h=y.FQ.iX+y.FQ.I-10-(y.VN&&"icon"===y.UZ?20:0))-7,(_=y.FQ.iY+y.FQ.F/2)-2],[h+2,_-2],[h+2,_+7],[h-7,_+7],[h-7,_-2],[h+2,_-2],null,[h-4,_-5],[h+5,_-5],[h+5,_+4],[h-4,_+4],[h-4,_-5],[h+5,_-5]],a.parse(),a.paint())),y.KU&&(y.KU.iX=y.iX,y.KU.iY=y.iY+y.F-y.KU.F,y.KU.I=y.I,y.KU.Z=y.KU.C7=y.Z,y.KU.paint(),ZC.move||"canvas"!==y.A.A.AC&&y.KU.ED());var W=ZC.AP.A2Y(y.NU,Q),ee=W[1],ne=y.I/ee,oe=y.GR/W[0],te=0,le=0;y.QH=[];var ce,Ce=0,se=-ZC.MAX,he=y.A2.E["show-line"]?3:2,fe=null,ie=function(Pe){var Qe=Pe;if(null===ZC._n_(t)&&(t=0),O[ce]&&O[ce].R[t]){var Ae=ZC.AR.OH(y.BR.o,O[ce].o);Pe=O[ce].FK(t).ET(Pe,Ae)}return y.Y6=y.Y6||Pe!==Qe,Pe},De=0;for(y.Y6=!1,f=0,m=y.B6.length;f=y.D4.max||y.NJ)){var ge=new DV(y);ge.copy(y.B6[f]),y.E["highlight-legend"]===f&&(ge.append({bold:!0}),null!==ZC._n_(y.o.item)&&ge.append(y.o.item["highlight-state"])),ce=ge.E.index;var me=new DV(y);me.OQ="legenditem",me.K=y.K+"-item_"+ce,me.GO="zc-legend-item "+y.K+"-item",me.copy(ge),y.A.E["plot"+ce+".visible"]&&"off"!==O[ce].o["legend-status"]||me.append(y.ZU.o),me.append(O[ce].o["legend-item"]),me.ET=ie,me.parse(),me.AO?("float"===y.NU?(se=ZC.BQ(se,ge.F),null===ZC._n_(fe)?(ge.iX=y.iX+y.EP+ge.DY+he*ge.DG,ge.iY=y.EJ+y.FO+ge.E7,Ce=y.EJ):(ge.iX=fe.iX+fe.I+fe.E6+ge.DY+he*ge.DG,ZC._i_(ge.iX+ge.I+ge.E6)>ZC._i_(y.iX+y.I)&&(ge.iX=y.iX+y.EP+ge.DY+he*ge.DG,Ce+=se+ge.E7+ge.DR,se=-ZC.MAX),ge.iY=Ce+y.FO+ge.E7)):(ge.iX=y.iX+(0===le?y.EP:0)+le*ne+ge.DY+he*ge.DG,ge.iY=y.EJ+y.FO+te*oe+ge.E7,++le===ee&&(le=0,te++)),fe=ge,me.iX=ge.iX=ZC._i_(ge.iX),me.iY=ge.iY=ZC._i_(ge.iY),me.Z=me.C7=y.Z,me.iX+=y.BL,me.iY+=y.BH,ce===y.NK&&(y.E["calculate-y"]&&(y.E["calculate-y"]=!1,y.E["dragged-offset-y"]=y.E["dragged-y"]-me.iY),me.iY=y.E["dragged-y"]-y.E["dragged-offset-y"]-me.DG/4),me.paint(),typeof y.E.showhide!==ZC._[31]&&null!==ZC._n_(y.E.showhide)||ZC.move||("canvas"!==y.A.A.AC?me.ED():y.Y9.push(me))):De++;var Ze=y.A2.E.type;null!==ZC._n_(e=O[ce].o["legend-marker"])&&null!==ZC._n_(e.type)&&(Ze=e.type);var pe,ve=!1;switch("match"!==Ze&&"inherit"!==Ze||(ve=!0,Ze=null!==ZC._n_(e=O[ce].A2.o.type)?e:"default"),-1!==ZC.AV(["default","square"],Ze)?pe=new I7(y):(pe=new DX(y)).DS=Ze,pe.OQ="legendmarker",pe.append(y.A2.o),y.A.E["plot"+ce+".visible"]&&"off"!==O[ce].o["legend-status"]||pe.append(y.NZ.o),pe.NI=O[ce].NI,O[ce].AF){case"pie":case"pie3d":case"nestedpie":case"vbar":case"vbar3d":case"hbar":case"hbar3d":case"vbullet":case"hbullet":case"area":case"area3d":case"gauge":case"vfunnel":case"hfunnel":case"venn":pe.A0=O[ce].A0,pe.AE=O[ce].AE,pe.GV=O[ce].GV,pe.HV=O[ce].HV;break;case"scatter":case"hscatter":case"bubble":case"hbubble":pe.A0="-1"!==O[ce].A2.A0?O[ce].A2.A0:O[ce].A0,pe.AE="-1"!==O[ce].A2.AE?O[ce].A2.AE:O[ce].AE,pe.GV=""!==O[ce].A2.GV?O[ce].A2.GV:O[ce].GV,pe.HV=""!==O[ce].A2.HV?O[ce].A2.HV:O[ce].HV;break;default:pe.A0=O[ce].B7,pe.AE=O[ce].B7}"line"!==pe.DS&&"area"!==pe.DS||(pe.B7=pe.A0,pe.B1=2),ve&&pe.append(O[ce].A2.o),pe.o["line-style"]="solid",pe.o.type=pe.DS,pe.append(O[ce].o["legend-marker"]),ve&&(pe.o.type=pe.DS),pe.E["show-marker"]=!0,pe.E["show-line"]=!1,null!==ZC._n_(e=pe.o["show-line"])&&(pe.E["show-line"]=ZC._b_(e)),null!==ZC._n_(e=me.o["show-line"])&&(pe.E["show-line"]=ZC._b_(e)),null!==ZC._n_(e=me.o["show-marker"])&&(pe.o.visible=ZC._b_(e)),-1!==ZC.AV(["default","square"],Ze)&&null!==ZC._n_(e=pe.o[ZC._[21]])&&(null===ZC._n_(pe.o[ZC._[19]])&&(pe.o[ZC._[19]]=2*ZC._i_(e)),null===ZC._n_(pe.o[ZC._[20]])&&(pe.o[ZC._[20]]=2*ZC._i_(e))),pe.K=y.K+"-marker_"+ce,pe.Z=pe.C7=y.Z,pe.iX=me.iX-he*me.DG+(he-1)*me.DG/2+me.DG/2,pe.iY=me.iY+(me.F-me.DG)/2+me.DG/2,pe.parse(),y.E["highlight-legend"]===f&&(pe.append({size:pe.AI+1,width:pe.I+2,height:pe.F+2}),O[ce]&&O[ce].R[t]&&O[ce].R[t].GL&&pe.append({A0:O[ce].R[t].GL.A0,AE:O[ce].R[t].GL.AE}),null!==ZC._n_(y.o.marker)&&pe.append(y.o.marker["highlight-state"]),pe.parse()),"line"===pe.DS?(pe.o.points=[[pe.iX-1.75*pe.AI,pe.iY],[pe.iX+1.75*pe.AI,pe.iY]],pe.parse()):"area"===pe.DS&&(pe.o.points=[[pe.iX-1.75*pe.AI,pe.iY+pe.AI],[pe.iX+1.75*pe.AI,pe.iY+pe.AI],[pe.iX+1*pe.AI,pe.iY-pe.AI/2],[pe.iX,pe.iY],[pe.iX-1.25*pe.AI,pe.iY-pe.AI],[pe.iX-1.75*pe.AI,pe.iY+pe.AI]],pe.parse());var ke=pe.iX+pe.BL,de=pe.iY+pe.BH;if(-1!==ZC.AV(["default","square"],Ze)&&(pe.iX-=pe.I/2,pe.iY-=pe.F/2),y.A.E["plot"+ce+".visible"]&&"off"!==O[ce].o["legend-status"]||(pe.C5/=4),me.AO&&pe.E["show-line"]){var Oe=ZC.Q.EA(y.Z,y.A.H.AC),Fe=new CZ(y);Fe.Z=y.Z,Fe.copy(O[ce]),Fe.o["line-style"]=y.A2.GF,Fe.append(O[ce].o),Fe.append(y.A2.o),Fe.append(O[ce].o["legend-item"]),Fe.append(O[ce].o["legend-marker"]),Fe.o["top-state"]=null,Fe.o["bottom-state"]=null,Fe.parse(),y.A.E["plot"+ce+".visible"]||(Fe.C5=.25);var be=[],Se=pe.AO?2:1;be.push([ke-Se*(v="box"===pe.DS?pe.I/2:pe.AI)-(Fe.B1>1?1:0),de-(Fe.B1>1?.5:0)]),be.push([ke+Se*v,de-(Fe.B1>1?.5:0)]),Fe.CY=!0,ZC.CQ.paint(Oe,Fe,be)}ce===y.NK&&(pe.iY=y.E["dragged-y"]-y.E["dragged-offset-y"]/2),pe.AO&&me.AO&&pe.paint(),y.QH.push(pe);var xe=!0;if(null!==ZC._n_(e=y.BR.o.toggle)&&(xe=ZC._b_(e)),y.E["item.toggle"]=xe,me.AO||pe.AO){if(-1===ZC.AV(y.A.H.KX,ZC._[41])){var we=pe.BL+("box"===pe.DS?pe.iX+pe.I/2:pe.iX),Re=pe.BH+("box"===pe.DS?pe.iY+pe.F/2:pe.iY);E="box"===pe.DS?pe.F/2:pe.AI;var Ie=(pe.E["show-line"]?2:1)*(v="box"===pe.DS?pe.I/2:pe.AI);ZC.AM(me.K+"-area")||(pe.AO&&"disabled"!==y.Q6&&"disabled"!==pe.o[ZC._[54]]&&(ZC.AM(pe.K+"-area")||ZC.Q.IC({cls:y.K+"-marker-area zc-legend-marker-area zc-abs",id:pe.K+"-area",wh:2*Ie+"/"+2*E,tl:Re-E+"/"+(we-Ie),opacity:0,background:"#fff",cursor:pe.IT,p:U,zidx:1})),me.AO&&"disabled"!==y.RD&&"disabled"!==me.o[ZC._[54]]&&(ZC.AM(me.K+"-area")||ZC.Q.IC({cls:y.K+"-item-area zc-legend-item-area zc-abs",id:me.K+"-area",wh:me.I+"/"+me.F,tl:me.iY+me.BH+"/"+(me.iX+me.BL),opacity:0,background:"#fff",cursor:me.IT,p:U,zidx:1})))}}else O[f].bShowInLegend=!1}if(y.D2&&!y.NJ&&(y.D2.paint(),ZC.AM(y.K+"-scroll-c").style.display="block"),y.D2&&y.NJ&&(ZC.AM(y.K+"-scroll-c").style.display="none"),y.D4.enabled&&!y.NJ){var Ne=new DV(y);Ne.Z=Ne.C7=y.Z,Ne.K=y.K+"-page-status",Ne.AN=ZC.HI["legend-pagination"].replace("%page%",y.D4.page).replace("%pages%",y.D4.pages),Ne.append(y.o["page-status"]),Ne.parse(),y.I1?Ve[ZC._[0]]:ze[ZC._[0]],D.append(y.D4.page>1?y.o["page-on"]:y.o["page-off"]),w=y.iX+y.I/2-Ne.I/2-6,M=Ne.iY+Ne.F/2,D.parse(),D.AI=ZC.BQ(D.AI,8),$=ZC._i_(.75*D.AI),D.D=[[w,M-$],[w,M+$],[w-D.AI,M],[w,M-$]],D.parse(),D.AO&&D.paint(),(R=new DX(y)).Z=R.C7=y.Z,R.K=y.K+"-page-next",R.A0=R.AE=y.D4.page1&&ZC.Q.IC({cls:y.K+"-page-area zc-legend-page-area zc-abs",id:y.K+"-page-prev-area",wh:D.AI+"/"+2*D.AI,tl:ZC._i_(M+D.BH-D.AI)+"/"+ZC._i_(w+D.BL-D.AI),opacity:0,p:U,zidx:1}),y.D4.page1)){y.A.A.E["graph-"+y.A.K+"-legend-info"]=null;var Qe=ZC.Q.MR(Pe),Ae=ZC.A5("#"+y.A.A.K+"-top").offset();y.P7=Qe[0]-Ae.left-y.FQ.iX,y.A0G=Qe[1]-Ae.top-y.FQ.iY,y.oldcursor=document.body.style.cursor,document.body.style.cursor="move",ZC.A5(document.body).bind(ZC.Q.BY(ZC._[48]),y.ZR),ZC.A5(document.body).bind(ZC.Q.BY(ZC._[49]),y.A19)}},y.ZR=function(Pe){var Qe=ZC.Q.MR(Pe),Ae=ZC.A5("#"+y.A.A.K+"-top").offset(),He=Qe[0]-Ae.left-y.P7,Me=Qe[1]-Ae.top-y.A0G;if(y.Q5?(He=ZC.BQ(He,y.H.iX+2),He=ZC.CX(He,y.H.iX+y.H.I-y.I-2),Me=ZC.BQ(Me,y.H.iY+2),Me=ZC.CX(Me,y.H.iY+y.H.F-y.F-4)):(He=ZC.BQ(He,y.A.iX+2),He=ZC.CX(He,y.A.iX+y.A.I-y.I-2),Me=ZC.BQ(Me,y.A.iY+2),Me=ZC.CX(Me,y.A.iY+y.A.F-y.F-4)),y.Q5||(He-=y.A.iX,Me-=y.A.iY),y.o.x=He,y.o.y=Me,y.o.position=null,y.clear(!0),y.parse(),y.paint(),y.FQ){var at=y.Q5?y.A.A:y.A;y.A.A.E["legend"+y.A.L+"-xy-ratio"]=[He/at.I,Me/(at.F-y.FQ.F)]}},y.A19=function(){ZC.move=!1,document.body.style.cursor=y.oldcursor,delete y.oldcursor,ZC.A5(document.body).unbind(ZC.Q.BY(ZC._[48]),y.ZR),ZC.A5(document.body).unbind(ZC.Q.BY(ZC._[49]),y.A19),y.Y9=[],y.clear(!1),y.parse(),y.paint(),y.VI()},y.ZJ=function(Pe){y.E["default-width"]=null,-1!==(Pe.targetid||Pe.target.id).indexOf("-page-next-area")?(y.D4.min+=y.EH,y.D4.max+=y.EH,y.D4.page+=1):(y.D4.min-=y.EH,y.D4.max-=y.EH,y.D4.page-=1),(!(e=y.A.A.E["graph-"+y.A.K+"-legend-info"])||null===ZC._n_(e.x)&&null===ZC._n_(e.y))&&(y.iX=null,y.iY=null),y.VI(),y.A.K0()},y.YM=function(Pe){var Qe=y.NJ?"legendmaximize":"legendminimize";Pe&&(y.A.A.E["legend-toggling"]=1),zingchart.exec(y.A.H.K,Qe,{graphid:y.A.L}),Pe&&(y.A.A.E["legend-toggling"]=0),Pe&&(y.A.A.E["g"+y.A.L+"-legend-collapsed"]="legendminimize"===Qe)},y.N3=function(Pe){ZC.move=!0;var Qe=ZC.Q.MR(Pe),Ae=ZC.A5("#"+y.A.A.K+"-top").offset(),Me=Qe[1]-Ae.top;y.E["dragged-x"]=Qe[0]-Ae.left,y.E["dragged-y"]=Me,y.VI(),y.clear(!1),y.parse(),y.paint()},y.WU=function(Pe){if(Pe.preventDefault(),y.H.hideCM(),y.IT=document.body.style.cursor,document.body.style.cursor="move",ZC.mobile||!(Pe.which>1)){var Qe=new RegExp("-legend-item_([0-9]+)-area","g").exec(Pe.target.id);Qe&&(y.E["dragged-offset-y"]=0,y.E["calculate-y"]=!0,y.E["dragged-x"]=0,y.E["dragged-y"]=0,y.NK=ZC._i_(Qe[1]),y.iDragPos=ZC.AV(y.A.AZ.MH,y.NK),ZC.A5(document.body).bind(ZC.Q.BY(ZC._[48]),y.N3),ZC.A5(document.body).bind(ZC.Q.BY(ZC._[49]),y.XW))}},y.XW=function(){var Pe=y.NK,Qe=y.iDragPos;if(y.NK=-1,y.iDragPos=-1,y.E["calculate-y"]=!1,document.body.style.cursor=y.IT,ZC.move||(Pe=-1,Qe=-1),ZC.A5(document.body).unbind(ZC.Q.BY(ZC._[48]),y.N3),ZC.A5(document.body).unbind(ZC.Q.BY(ZC._[49]),y.XW),ZC.move&&-1!==Pe){for(var Ae=y.A.AZ.A3,He=y.A.AZ.MH,Me=0,at=Ae.length;Mey.QH[et].iY&&(ot=et);for(Ae[Pe].o["legend-item"].order=-1===ot?.5:Ae[He[ot]].o["legend-item"].order+.5,et=0,rt=y.QH.length;etQe?Ae[et].o["legend-item"].order$e&&Ae[et].o["legend-item"].order--:Ae[et].o["legend-item"].order>Ae[Pe].o["legend-item"].order&&Ae[et].o["legend-item"].order<$e&&Ae[et].o["legend-item"].order++;for(Ae[Pe].o["legend-item"].order=ot>Qe?Math.floor(Ae[Pe].o["legend-item"].order):Math.ceil(Ae[Pe].o["legend-item"].order),et=0,rt=y.QH.length;et=y.left&&ZC.E1[0]<=y.left+zingchart.IA[R].I*$[0]&&ZC.E1[1]>=y.top&&ZC.E1[1]<=y.top+zingchart.IA[R].F*$[1]&&(T=!1)}else window.clearInterval(e.Z2);T&&(M(),KF.GUIDES&&KF.GUIDES[a]&&KF.GUIDES[a].active&&(ZC.AR.C1("guide_mouseout",e.H,e.H.F5()),KF.GUIDES[a].active=!1))},500)),e.QQ=function(T){if(zingchart.GUIDE_EV=T,!T.target.id||-1===T.target.id.indexOf("-menu-item-")){var R,V,$,y,U,O,Q,W,ae,ee,ne,oe,te,le,ce,Ce,se,he,fe,ie,De,ge,me,Ze,pe,ve,ke;for(ZC,ZC,R=0;R0){e.SF=!0;for(var lt=!1,Ee=0,nt=de.length;Ee"),null!==ZC._n_(W.o["footer-text"])&&""===at&&(at=Q.ET(W.o["footer-text"],ne)+"
")),W.AO&&""!==W.AN&&(ZC._b_(W.o["single-text"])?Mn.push(Q.ET(W.AN,ne)):Mn.push(Q.ET(W.AN,ne)+"
"))),W.E.pos=Ae.length,W.E["node-value"]=Q.AD,W.E["marker-x"]=Ce,W.E["marker-y"]=se,W.E["guide-style"]=Q.A04(),Li){default:null===ZC._n_(W.o.x)?tt.CJ?Q.iY<=U.iY+U.F/2?(W.iY=se-W.F-Ze,W.EM="bottom"):(W.iY=se+Ze,W.EM="top"):Q.iX>=U.iX+U.I/2?(W.iX=Ce-W.I-Ze,W.EM="right"):(W.iX=Ce+Ze,W.EM="left"):W.iX-=U.iX,null===ZC._n_(W.o.y)?tt.CJ?(W.iX=Ce-W.I/2,W.iXU.iX+U.I&&(W.iX=U.iX+U.I-W.I)):(W.iY=se-W.F/2,W.iYU.iY+U.F&&(W.iY=U.iY+U.F-W.F)):W.iY-=U.iY,W.DL=[Ce,se];break;case"left":W.iX=Ce-W.I-Ze,W.iY=se-W.F/2,W.DL=[Ce,se];break;case"right":W.iX=Ce+Ze,W.iY=se-W.F/2,W.DL=[Ce,se];break;case"top":tt.CJ?(W.iX=U.iX+U.I-W.I,W.iY=se-W.F/2,W.EM="left",W.DL=[U.iX+U.I-W.I-Ze,se]):(W.iX=Ce-W.I/2,W.iY=U.iY,W.EM="bottom",W.DL=[Ce,W.iY+W.F+Ze]);break;case"node-top":tt.CJ?(W.iX=Ce+2*Ze,W.iY=se-W.F/2,W.EM="left",W.DL=[Ce+Ze,se]):(W.iX=Ce-W.I/2,W.iY=se-W.F-2*Ze,W.EM="bottom",W.DL=[Ce,se-Ze]);break;case"bottom":tt.CJ?(W.iX=U.iX,W.iY=se-W.F/2,W.EM="right",W.DL=[U.iX+W.I+Ze,se]):(W.iX=Ce-W.I/2,W.iY=U.iY+U.F-W.F,W.EM="top",W.DL=[Ce,W.iY-Ze])}Qe.push({plotindex:Q.A.L,nodeindex:Q.L,keyvalue:Q.BW||tt.V[Q.L],value:Q.AD,text:W.AN,x:W.iX,y:W.iY,refx:Ce,refy:se}),-1===ZC.AV(He,W.AN)&&(v[W]=Q,He.push(W.AN)),W.E.diff=tt.CJ?Mt||-1!==hn?ZC._a_(se-y):-1:Mt||-1!==hn?ZC._a_(Ce-$):-1,W.AO&&Ae.push(W),f[Ee][R]=W,Ge=!0}}if(!Q)continue}if(de[Ee].CW&&ZC.DM(Q.iX,U.iX-1,U.iX+U.I+1)){if((ee=new DV(tt)).Z=ee.C7=c,ee.K=de[Ee].K+"-guide-scale-x-label-"+R,ee.GO=de[Ee].A.K+"-guide-label "+de[Ee].K+"-guide-label zc-guide-label",ee.A0=ee.AE=tt.B7,ee.C2=de[Ee].AJ["3d"]?"#999":"#fff",ee.append(de[Ee].CW.o["scale-label"]),ee.append(de[Ee].CW.o[tt.BI+"-label"]),ee.append(de[Ee].AZ.A3[R].o["scale-label"]),ee.KY=!0,ee.E.nodeidx=Q.L,ne=ZC.AR.OH(ee.o),null===ZC._n_(ne[ZC._[12]])){var Nr=Math.floor(ZC.FU(null!==Q.BW?Q.BW:Q.L,10));ne[ZC._[12]]=Nr<0?1-Nr:0}if(ee.ET=function(ln){ln=tt.ET(ln,O,tt.EG&&de[Ee].AZ.A3[R].EG?de[Ee].AZ.A3[R]:null,ne,!0);var gi=de[Ee].AZ.A3[R].K7;if(Q&&gi)for(var Kt in gi){var pt;pt=gi[Kt]instanceof Array?ZC._c_(gi[Kt][Q.L],""):ZC._c_(gi[Kt],""),ln=ln.replace("%data-"+Kt,pt,"g")}return ln},ee.parse(),Ze=null!==ZC._n_(ee.o.distance)?ZC._i_(ee.o.distance):6,ee.E5&&ee.E5.length&&(ee.IX=function(ln){return Q?Q.ET(ln,ne):ln.replace(/(%i)|(%node-index)/g,O)},ee.DC()&&ee.parse()),ee.I4&&Q&&(ee.GN(ee,ee,null,Q.LO(null,!1),ee.MV),ee.parse()),It[tt.BI]=ee.AN,On=ZC._b_(ee.o["callout-position"]),An=ee.o.x,Zn=ee.o.y,"opposite"!==tt.BA?tt.CJ?($t="right",wt=tt.E.iX-ee.I-Ze,Jt=[tt.E.iX,te],Ln=te-ee.F/2):($t="top",wt=oe-ee.I/2,Jt=[oe,tt.E.iY],Ln=tt.E.iY+Ze):tt.CJ?($t="left",wt=tt.E.iX+Ze,Jt=[tt.E.iX,te],Ln=te-ee.F/2):($t="bottom",wt=oe-ee.I/2,Jt=[oe,tt.E.iY],Ln=tt.E.iY-ee.F-Ze),On||(ee.EM=$t),An||(ee.iX=wt),On||An||Zn||(ee.DL=Jt),Zn||(ee.iY=Ln),ee.AO&&tt.AO&&""!==ee.AN){var Ti=!1;if(Ht.length)for(var Ci=0;Ci0&&Un<=1&&(de[Ee].CW.B1=ZC._i_(Un*tt.AB)),tt.CJ?((-1===ce[0]||ce[1]>ZC._a_(te-y))&&(ce=[te,ZC._a_(te-y)]),$e.push([Mt||-1!==hn?ZC._a_(te-y):-1,[null,[tt.E.iX,te],[de[Ee].P.iX+("opposite"===tt.BA?0:de[Ee].P.I),te]]])):((-1===le[0]||le[1]>ZC._a_(oe-$))&&(le=[oe,ZC._a_(oe-$)]),$e.push([Mt||-1!==hn?ZC._a_(oe-$):-1,[null,[oe,tt.E.iY],[oe,de[Ee].P.iY+("opposite"===tt.BA?de[Ee].P.F:0)]]]))}if(ut=de[Ee].BK(de[Ee].AZ.A3[R].BV("v")[0]),-1===ZC.AV(rt,ut.BI)&&de[Ee].HF&&("xy"===de[Ee].AJ.layout&&ZC.DM(y,ut.iY,ut.iY+ut.F)||"yx"===de[Ee].AJ.layout&&ZC.DM(y,ut.iX,ut.iX+ut.I))){var eo="single";de[Ee].HF.o.type&&"multiple"===de[Ee].HF.o.type&&(eo="multiple"),"multiple"===eo&&null!==ZC._n_(Bt[R])&&(ut.CJ?$=Bt[R].x:y=Bt[R].y),(ee=new DV(ut)).Z=ee.C7=c,ee.K=de[Ee].K+"-guide-scale-y-label-"+R,ee.GO=de[Ee].A.K+"-guide-label "+de[Ee].K+"-guide-label zc-guide-label";var yr=ut.B7;"multiple"===eo&&(yr=de[Ee].AZ.A3[R].B7),ee.A0=ee.AE=yr,ee.C2=de[Ee].AJ["3d"]&&"multiple"!==eo?"#999":"#fff",ee.append(de[Ee].HF.o["scale-label"]),ee.append(de[Ee].HF.o[ut.BI+"-label"]),ee.KY=!0;var Ai=ut.L4(ut.CJ?$:y,!0),wn=Ai;ne=ut.LZ(),ZC._cp_(ZC.AR.OH(ee.o,ut.o),ne),null===ZC._n_(ne[ZC._[12]])&&(Nr=Math.floor(ZC.FU(Ai,10)),ne[ZC._[12]]=Nr<=0?1-Nr:0),Ai=ut.FD(0,Ai,ne),ee.o.text=Ai,ee.parse(),Ze=null!==ZC._n_(ee.o.distance)?ZC._i_(ee.o.distance):6,ee.E5&&ee.E5.length&&(ee.IX=function(ln){return ln.replace(/(%v)|(%scale-value)/g,wn).replace(/(%t)|(%scale-text)/g,Ai).replace(/(%coord)/,ut.CJ?$:y)},ee.DC()&&ee.parse()),ee.I4&&Q&&(ee.GN(ee,ee,null,yt={value:wn,text:Ai,coord:ut.CJ?$:y},ee.MV),ee.parse()),It[ut.BI]=ee.AN,On=ZC._b_(ee.o["callout-position"]),An=ee.o.x,Zn=ee.o.y,"opposite"!==ut.BA?ut.CJ?($t="top",wt=$-ee.I/2,Ln=ut.E.iY+Ze,Jt=[$,ut.E.iY]):($t="right",wt=ut.E.iX-ee.I-Ze,Ln=y-ee.F/2,Jt=[ut.E.iX,y]):ut.CJ?($t="bottom",wt=$-ee.I/2,Ln=ut.E.iY-ee.F-Ze,Jt=[$,ut.E.iY]):($t="left",wt=ut.E.iX+Ze,Ln=y-ee.F/2,Jt=[ut.E.iX,y]),On||(ee.EM=$t),An||(ee.iX=wt),On||An||Zn||(ee.DL=Jt),Zn||(ee.iY=Ln),ee.AO&&ut.AO&&(ee.E.diff=-1,et.push(ee),"multiple"===eo&&null!==ZC._n_(Bt[R])||rt.push(ut.BI),m[Ee][R]=ee,Ge=!0),-1!==String(de[Ee].HF.o[ZC._[4]]).indexOf("%")&&(Un=ZC.IU(de[Ee].HF.o[ZC._[4]]))>0&&Un<=1&&(de[Ee].HF.B1=ZC._i_(Un*ut.AB)),ut.CJ?ot.push(null,[$,ut.E.iY],[$,de[Ee].P.iY+("opposite"===ut.BA?de[Ee].P.F:0)]):ot.push(null,[ut.E.iX,y],[de[Ee].P.iX+("opposite"===ut.BA?0:de[Ee].P.I),y])}}if(!Mt&&et.length>1)for(var Lr=et[et.length-1],Dr=ZC._i_((Lr.FO+Lr.FX+Lr.EP+Lr.FP)/4),Do=et.length-1;Do>=0;Do--)for(var Ri=Do;Ri>=0;Ri--)Do!==Ri&&ZC.AP._boxoverlap2_(et[Do],et[Ri],-Dr)&&(et[Ri].C5=.3,et[Ri].VM=.1);for(ae=ZC.MAX,R=0,V=Ae.length;R=0&&(ae=ZC.CX(Ae[R].E.diff,ae));-1!==hn&&(ae=ZC.BQ(ae,hn));var to=!1,Jr=1,Io=!1;Ae[0]&&(Io=ZC._b_(Ae[0].o["single-text"]),Ae[0].o["table-columns"]&&ZC._b_(Ae[0].o["html-mode"])&&(to=!0,Jr=ZC._i_(Ae[0].o["table-columns"]||"1"),cn+='')),!nn&&Ae.length>0&&("asc"!==Ae[0].o["sort-by-value"]&&"desc"!==Ae[0].o["sort-by-value"]||Ae.sort(function(ln,gi){return(ln.E["node-value"]-gi.E["node-value"])*("asc"===Ae[0].o["sort-by-value"]?1:-1)}));var Wr=0;for(ve=0,ke=Ae.length;ve"),cn+="",Wr%Jr==Jr-1&&(cn+=""),Wr++):cn+=Mn[Ae[ve].E.pos],to||!Io));ve++);if(to&&(Wr%Jr!=Jr-1&&(cn+=""),cn+="
"+Mn[ve]+"
"),""!==at&&(cn+=at),!nn&&Ae.length>0&&(Mt?tt.CJ?($=Ce=oe,y=se=ce[0]):($=Ce=le[0],y=se=te):($=Ce=oe,y=se=te),""!==cn&&(Ae[0].o.text=to||Io?cn:cn.substring(0,cn.length-4),Ae[0].parse()),Ze=null!==ZC._n_(W.o.distance)?ZC._i_(W.o.distance):6,null===ZC._n_(W.o.x)?Ae[0].iX=tt.CJ?$=U.iX+U.I/2?Ce-Ae[0].I-Ze:Ce+Ze:Ae[0].iX-=U.iX,null===ZC._n_(W.o.y)?Ae[0].iY=tt.CJ?Pe&&Pe.iY>=U.iY+U.F/2?se-Ae[0].F-Ze:se+Ze:y0){var Hn=[];for(ae=ZC.MAX,he=0,fe=$e.length;he=0&&(ae=ZC.CX($e[he][0],ae));for(-1!==hn&&(ae=ZC.BQ(ae,hn)),he=0,fe=$e.length;he1&&Hn[1]&&(Pa=Hn[1][0]||-1),de[Ee].CW.oMask||(de[Ee].CW.oMask=new I7(de[Ee]),de[Ee].CW.oMask.append({"background-color":"#fff",alpha:.85}),de[Ee].CW.oMask.append(de[Ee].CW.o.mask),de[Ee].CW.oMask.Z=c,de[Ee].CW.oMask.parse()),de[Ee].CW.oMask.iX=Pa,de[Ee].CW.oMask.iY=de[Ee].P.iY,de[Ee].CW.oMask.I=Math.max(2,de[Ee].P.iX+de[Ee].P.I-Pa+2),de[Ee].CW.oMask.F=de[Ee].P.F,de[Ee].CW.oMask.paint()}if(de[Ee].AJ["3d"])for(de[Ee].NS(),he=0,fe=Hn.length;he0){if(de[Ee].AJ["3d"])for(de[Ee].NS(),he=0,fe=ot.length;he=0;R--)ZC.DM(Ae[R].DL[0],U.iX-5,U.iX+U.I+5)&&ZC.DM(Ae[R].DL[1],U.iY-5,U.iY+U.F+5)||Ae.splice(R,1);if(Ae.length>1)for(var Ka=!0;Ka;)for(Ka=!1,R=0;RAe[R+1].iX||!ut.CJ&&Ae[R].iY>Ae[R+1].iY)){var Su=Ae[R];Ae[R]=Ae[R+1],Ae[R+1]=Su,Ka=!0}if(Ae.length>0){var wo=[],ka=[];for(R=0;RU.iX+U.I)for(sn=Ae[R+1].iX-(U.iX+U.I-Ae[R+1].I),Wt=0,Bo=Ae.length;Wt=U.iX?Ae[Wt].iX-=sn:(Ae[Wt].iX=U.iX,Wt>0&&(Ae[Wt].iY=Ae[R+1].E["marker-y"]U.iY+U.F)for(sn=Ae[R+1].iY-(U.iY+U.F-Ae[R+1].F),Wt=0,Bo=Ae.length;Wt=U.iY?Ae[Wt].iY-=sn:(Ae[Wt].iY=U.iY,Wt>0&&(Ae[Wt].iX=Ae[R+1].E["marker-x"]=0&&(ae=ZC.CX(Ae[ve].E.diff,ae));for(-1!==hn&&(ae=ZC.BQ(ae,hn)),ge=0,ve=0,ke=Ae.length;ve1&&qt.paint()}}}(pe=de[Ee].GS()).items=Qe,pe.guide={x:Ce,y:se},pe.ev=T,pe["scale-label"]=It,ZC.AR.C1("guide_mousemove",e.H,pe),de[Ee].Q4(!0)}else(pe={}).guide={x:Ce,y:se},pe.ev=T,ZC.AR.C1("guide_mousemove",e.H,pe)}}}}}},e.zc_guide_touchend=function(){0!==zingchart.DEV.GUIDETIMEOUT&&window.setTimeout(function(){M()},ZC._i_(zingchart.DEV.GUIDETIMEOUT))},ZC.A5(document.body).bind("mousemove touchstart touchmove",e.QQ),ZC.A5(document.body).bind("touchend",e.zc_guide_touchend)}}KF.clearGuide=function(A){var t=zingchart.getLoader(A);if(t){zingchart.GUIDE_EV=null;var e=ZC.AM(A+"-guide-c"),a=ZC.A5(e).width(),c=ZC.A5(e).height();ZC.A5("."+A+"-guide-label").remove(),ZC.Q.IV(e,t.AC,0,0,a,c),ZC.A5("#"+A+"-defs").children().each(function(){this.id&&-1!==this.id.indexOf("-guide-label-")&&ZC.Q.EV(this.id)})}},zingchart.extendAPI("resetguide",function(A,t){"string"==typeof(t=t||{})&&(t=JSON.parse(t)),KF.GUIDES[A]=KF.GUIDES[A]||{},KF.GUIDES[A].blocked=!1,KF.clearGuide(A)}),zingchart.extendAPI("setguide",function(A,t){"string"==typeof(t=t||{})&&(t=JSON.parse(t));var e,a,c=zingchart.getLoader(A),h=c.C9(t[ZC._[3]]),_=h.BK(ZC._[50]);"xy"===h.AJ.layout?(e=t.x||_.AK(t.keyvalue),a=h.iY+h.F/2):(e=h.iX+h.I/2,a=t.y||_.AK(t.keyvalue));var f={_pageX_:e,_pageY_:a,type:ZC.mobile?"touchstart":ZC._[48],target:{id:A+"-img"}};KF.GUIDES=KF.GUIDES||{},KF.GUIDES[A]=KF.GUIDES[A]||{},KF.GUIDES[A].blocked=!0,KF.clearGuide(A),f.fromAPI=!0,c.D6.QQ(f)});class AAW extends ZCClass{constructor(t,e){var a=this;a.o=null,a.C=t,a.O4=e}parse(){var t,e=this;e.o=e.C.o;var a,c,h,_,f,m,v,E,w,D=e.O4,M="\r\n",T=",",R=!1,V=null,$=null,y=null,U=null,O=null,Q=!1,W=!1,ae=null,ee={};null!==ZC._n_(t=e.o["html5-csv"])&&(ee=t),null!==ZC._n_(t=e.o.csv)&&(ee=t),null!==ZC._n_(t=ee.separator)&&(T=t),null!==ZC._n_(t=ee.mirrored)&&(R=ZC._b_(t)),null!==ZC._n_(t=ee.title)&&(V=ZC._b_(t)),null!==ZC._n_(t=ee["string-values"])&&(W=ZC._b_(t)),R?(null!==ZC._n_(t=ee["horizontal-labels"])&&(y=ZC._b_(t)),null!==ZC._n_(t=ee["vertical-labels"])&&($=ZC._b_(t))):(null!==ZC._n_(t=ee["horizontal-labels"])&&($=ZC._b_(t)),null!==ZC._n_(t=ee["vertical-labels"])&&(y=ZC._b_(t))),null!==ZC._n_(t=ee["smart-scales"])&&(U=ZC._b_(t)),null!==ZC._n_(t=ee["separate-scales"])&&(O=ZC._b_(t)),null!==ZC._n_(t=ee["keyval-format"])&&(Q=ZC._b_(t)),null!==ZC._n_(t=ee.columns)&&(ae=t);var ne=null;null!==ZC._n_(t=ee[ZC._[13]])&&(ne=t);var oe=null;if(null!==ZC._n_(t=ee[ZC._[14]])&&(oe=t),null!==ne&&null===oe&&(oe="."===ne?",":"."),null!==oe&&null===ne&&(ne="."===oe?",":"."),null!==ZC._n_(ae)&&ae.length>0){a=[],null!==ZC._n_(t=ee["row-separator"])?M=t:D.split(/\n/).length>0?M="\n":D.split(/\r/).length>0&&(M="\r");var te=D.split(M),le=0;for(_=0,f=te.length;_1&&1===fe[0].length?(null===ZC._n_(e.o.title)?e.o.title={text:fe[0][0]}:null===ZC._n_(e.o.title.text)&&(e.o.title.text=fe[0][0]),V=!0):V=!1),V&&ie++,R){for(a=[],V&&a.push(fe[0]),m=ie,v=fe.length;m.75}$&&(me=fe[ie],ie++);var pe=[];if(null===ZC._n_(y))if($&&-1!==me[0].indexOf("\\"))y=!0;else{var ve="";for(m=ie,v=fe.length;m.75}if(y){for(m=ie,v=fe.length;m':""}getPMap(){var A=super.getPMap();return this.addPMap(A,"index","L"),A}getToggleAction(){var A,t=this,e="hide";return t.BE&&""!==t.E["legend-last-trigger"]&&typeof t.E["legend-last-trigger"]!==ZC._[31]?e="item"===t.E["legend-last-trigger"]?t.BE.RD:t.BE.Q6:(t.o.legend&&(A=t.o.legend[ZC._[54]])&&(e=A),t.o.legend&&t.o.legend.item&&(A=t.o.legend.item[ZC._[54]])&&(e=A)),(t.A.KI||t.E["toggle-action-remove"])&&(e="remove"),e}BV(A,t){typeof t===ZC._[31]&&(t=!1);for(var e=[],a=this,c=0,h=a.BO.length;c0)&&e.push(a.BO[c]);return e}BK(A){for(var t=this,e=0,a=t.BO.length;e0?c[0]:"",_=c.length>1?c[1]:"",f=c.length>0?c[2]||c[0]:"",m=c.length>1?c[3]||c[1]:"";"dynamic"===A.P.o[ZC._[57]]&&(h="dynamic"),"dynamic"===A.P.o[ZC._[58]]&&(_="dynamic"),"dynamic"===A.P.o[ZC._[59]]&&(f="dynamic"),"dynamic"===A.P.o[ZC._[60]]&&(m="dynamic"),A.P.o.margin=[h,_,f,m].join(" ")}if(A.E["plotarea-margins"]?A.P.o.margin=A.E["plotarea-margin"]:(A.E["plotarea-margins"]=!0,A.E["plotarea-margin"]=A.P.o.margin,A.E["plotarea-margin-top"]=A.P.o[ZC._[57]],A.E["plotarea-margin-right"]=A.P.o[ZC._[58]],A.E["plotarea-margin-bottom"]=A.P.o[ZC._[59]],A.E["plotarea-margin-left"]=A.P.o[ZC._[60]]),typeof A.E["plotarea-p-x"]!==ZC._[31]&&(A.P.E["p-x"]=A.E["plotarea-p-x"],A.P.E["p-y"]=A.E["plotarea-p-y"],A.P.E["p-width"]=A.E["plotarea-p-width"],A.P.E["p-height"]=A.E["plotarea-p-height"]),null!==ZC._n_(A.P.o["adjust-layout"])&&ZC._b_(A.P.o["adjust-layout"])&&(A.P.o.margin="dynamic"),A.P.parse(),A.AJ["3d"]&&!A.EZ.true3d){var v=ZC._a_(ZC._i_(A.EZ.depth*ZC.EO(A.EZ.angle)));A.P.iY+=v,A.P.F-=v,A.P.I-=ZC._i_(A.EZ.depth*ZC.EI(A.EZ.angle))}if(typeof A.E["plotarea-p-x"]!==ZC._[31])for(var E=0,w=A.BO.length;E||
|\n/).length),"top"===D||"bottom"===D){if(T=ZC.BQ(T,.465*R.DG+1.025*ZC._a_(ZC.EO(R.AA))*ZC.BQ(R.I,R.F)),E=R.I,w=T,_&&"k"===M.AF){f[M.BI]||(f[M.BI]=[]);var $=null===ZC._n_(R.o["auto-align"])||ZC._b_(R.o["auto-align"]),y=.465*R.DG+1.025*ZC._a_(ZC.EI(R.AA))*ZC.BQ(R.I,R.F);"default"===M.BA?($&&(ZC.DM(ZC._ang_(R.AA),90,180)||ZC.DM(ZC._ang_(R.AA),270,360))&&f[M.BI].push(y),$||f[M.BI].push(y/2)):($&&(ZC.DM(ZC._ang_(R.AA),0,90)||ZC.DM(ZC._ang_(R.AA),180,270))&&f[M.BI].push(y),$||f[M.BI].push(y/2))}}else R.AA%360!=0&&(E=T=ZC.BQ(T,.465*R.DG+1.025*ZC._a_(ZC.EI(R.AA))*ZC.BQ(R.I,R.F))),w=R.F;var U=new DV(M);U.copy(M.M),U.AN=M.M.AN,U.parse(),""!==U.AN&&U.AO&&(w+=U.AA%180==0?U.F:U.I,E+=U.AA%180==0?U.I:U.F)}if(a.o.plotarea||(a.o.plotarea={}),("dynamic"===a.o.plotarea["margin-"+D]||a.P.E["d-margin-"+D])&&(a.P.E["d-margin-"+D]=!1,h[D]=!0,a.o.plotarea["margin-"+D]="0"),h[D]){a.o.plotarea["margin-"+D]=ZC._f_(a.o.plotarea["margin-"+D]||"0"),a.E[M.BI+"-distance"]=a.o.plotarea["margin-"+D];var O=("top"===D||"bottom"===D?ZC._i_(w):ZC._i_(E))+10+(a.AJ["3d"]?20:0);if(M.W0?a.o.plotarea["margin-"+D]=ZC.BQ(a.o.plotarea["margin-"+D],O):a.o.plotarea["margin-"+D]+=O,null!==ZC._n_(a.o.plotarea["margin-"+D+"-offset"])&&(a.o.plotarea["margin-"+D]+=ZC._i_(a.o.plotarea["margin-"+D+"-offset"])),!a.A.TY){var Q={},W=a.A.DH.watermark;a.A.B8.load(Q,"loader.gui.watermark"),W&&ZC._cp_(W,Q),1===a.A.o[ZC._[16]].length&&a.A.o[ZC._[16]][0].gui&&(A=a.A.o[ZC._[16]][0].gui.watermark)&&ZC._cp_(A,Q);var ae=Q.position||"br";-1===ZC.AV(["tl","tr","br","bl"],ae)&&(ae="br"),("bottom"!==D||"bl"!==ae&&"br"!==ae)&&("top"!==D||"tl"!==ae&&"tr"!==ae)||(a.o.plotarea["margin-"+D]+=15)}"bottom"===D&&("xy"===a.AJ.layout&&a.HS||"yx"===a.AJ.layout&&a.I3)&&(a.o.plotarea["margin-"+D]+=15),"left"===D&&("xy"===a.AJ.layout&&a.I3||"yx"===a.AJ.layout&&a.HS)&&(a.o.plotarea["margin-"+D]+=15),a.E["plotarea.d-margin-"+D]=!0}}}if(_&&h.left&&null!==ZC._n_(a.o.plotarea[ZC._[60]]))for(var ee in f){var ne=a.BK(ee);for(t=0;t1&&(te=ZC._i_(A[1]))):oe=te=ZC._i_(A)),a.P.E.tolerance=oe,"svg"===a.H.AC?((A=ZC.AM(a.K+"-clip-shape"))&&A.setAttribute("points",a.M0(oe,"svg")),(A=ZC.AM(a.K+"-clip-hover-shape"))&&A.setAttribute("points",a.M0(te,"svg"))):(ZC.A5("#"+a.K+" div").each(function(){""!==this.style.clip&&(this.style.clip=a.M0(oe))}),(A=ZC.AM(a.K+"-hover"))&&""!==A.style.clip&&(A.style.clip=a.M0(te)))}for(t=0,e=a.BO.length;t0)for(E.B8.palette=[],a=0;ae&&(ee-=v.K9.F,W+=v.K9.F)}if(v.N5&&v.N5.AO&&v.N5.o["adjust-layout"]&&(O=!0,(e=v.N5.iY+v.N5.F/2)>W+ee/2&&(ee-=v.N5.F)),v.B9&&v.B9.AO&&v.B9.o["adjust-layout"]&&(O=!0,"xy"===v.AJ.layout?(e=v.B9.AT.iY+v.B9.AT.F/2)>W+ee/2?ee-=v.B9.AT.F+v.B9.AT.DR:(W=v.B9.AT.iY+v.B9.AT.F,ee-=v.B9.AT.F):(y=v.B9.AT.iX+v.B9.AT.I/2)2?"v":v.BE.F/v.BE.I>2||Math.max(se.Left*v.F,se.Right*v.F)/Math.max(se.Top*v.I,se.Bottom*v.I)>1?"h":"v",Ce?Ce[0]>=.8?ce=Ce[1]<=.2?"v"===he?"top":"right":Ce[1]>=.8&&"v"===he?"bottom":"right":Ce[0]<=.2?ce=Ce[1]<=.2?"v"===he?"top":"left":Ce[1]>=.8&&"v"===he?"bottom":"left":Ce[1]<=.2?ce="top":Ce[1]>=.8&&(ce="bottom"):ce=Math.min(se.Top,se.Bottom)/Math.max(se.Top,se.Bottom)se.Bottom?"top":"bottom":se.Left>se.Right?"left":"right";var fe=0;"top"===ce&&(ee=W+ee-v.BE.F-v.BE.iY,W=v.BE.iY+v.BE.F),"bottom"===ce&&(ee-=fe=ee-v.BE.iY+W+v.BE.FO+v.BE.FX),"left"===ce&&(Q+=fe=v.BE.iX-v.iX+v.BE.I,ae-=fe),"right"===ce&&(ae-=fe=ae-(v.BE.iX-v.iX)+v.BE.EP+v.BE.FP)}else v.BE&&v.BE.fixPlacement();O&&(v.E["plotarea-p-x"]=Q,v.E["plotarea-p-y"]=W,v.E["plotarea-p-width"]=ae,v.E["plotarea-p-height"]=ee,v.setupPlotArea()),v.setupDynamicPlotArea(),v.AZ.parseLayout&&v.AZ.parseLayout(!0),v.B9&&v.B9.o["adjust-layout"]&&("xy"===v.AJ.layout?(null===ZC._n_(v.B9.JJ.x)&&(v.B9.AT.iX=v.P.iX),null===ZC._n_(v.B9.JJ[ZC._[19]])&&(v.B9.AT.I=v.P.I)):(null===ZC._n_(v.B9.JJ.y)&&(v.B9.AT.iY=v.P.iY),null===ZC._n_(v.B9.JJ[ZC._[20]])&&(v.B9.AT.F=v.P.F)));var ie=0;for(a=0;a0&&"canvas"!==v.H.AC&&v.AZ.A3)for(var ge=0,me=v.AZ.A3.length;ge-1?E.load(v.A7.o,w+".tooltip[dynamic]"):E.load(v.A7.o,w+".tooltip"),v.A7.append(v.o.tooltip),v.A7.QB=!0,v.A7.parse(),null!==ZC._n_(A=v.o.guide)&&(v.o["crosshair-x"]=A),(null!==ZC._n_(A=v.o["crosshair-x"])||E.Q3("guide",v.AF)||E.Q3("crosshair-x",v.AF))&&v.AJ[ZC._[23]]&&(v.CW=new CZ(v),v.CW.OQ="crosshairx",E.load(v.CW.o,[w+".guide",w+".crosshair-x"],!0,!0),v.CW.append(A),v.CW.parse(),v.E["guide-on"]=!0),(null!==ZC._n_(A=v.o["crosshair-y"])||E.Q3("crosshair-y",v.AF))&&v.AJ[ZC._[23]]&&(v.HF=new CZ(v),v.HF.OQ="crosshairy",E.load(v.HF.o,[w+".guide",w+".crosshair-y"],!0,!0),v.HF.append(A),v.HF.parse(),v.E["guide-on"]=!0)),v.OD(),ZC.AR.C1("gparse",v.A,v.GS()),null!==ZC._n_(A=v.o.refresh)&&(v.I1={type:"full",interval:10,transport:"http",method:"pull","adjust-scale":!1,"max-ticks":20,"reset-timeout":100,"stop-timeout":0,storage:!1,"storage-size":1e3},ZC._cp_(A,v.I1),v.V2=1),v.MN="parse.complete"}OD(){}PS(){}M0(A,t,e){var a=this,c=(e=e||a.P).iX,h=e.iY,_=e.I,f=e.F;if("svg"===t){if(a.AJ["3d"]){var m,v=[];A=1;var E,w,D,M,T=[],R=c-ZC.AQ.E3,V=h-ZC.AQ.E4;m=new CE(a,R+_/2-A,V-A,ZC.AQ.FY),M=ZC._i_(m.EC[1]),m=new CE(a,R+_/2-A,V-A,0),D=ZC._i_(m.EC[1]),T.push(new CE(a,R-A,V-A,Mw?ZC.AQ.FY:0),new CE(a,R+_+A,V+f+A,E>w?ZC.AQ.FY:0)),m=new CE(a,R+_/2-A,V+f+A,ZC.AQ.FY),M=ZC._i_(m.EC[1]),m=new CE(a,R+_/2-A,V+f+A,0),D=ZC._i_(m.EC[1]),T.push(new CE(a,R+_+A,V+f+A,M>D?ZC.AQ.FY:0),new CE(a,R-A,V+f+A,M>D?ZC.AQ.FY:0)),m=new CE(a,R-A,V+f/2-A,ZC.AQ.FY),E=ZC._i_(m.EC[0]),m=new CE(a,R-A,V+f/2-A,0),w=ZC._i_(m.EC[0]),T.push(new CE(a,R-A,V+f+A,E.25;){e=!0;var a=t.M0(0,"svg").split(" ");for(A=0;At.iX+t.I-t.P.E6||ZC._i_(c[1])t.iY+t.F-t.P.DR)&&(e=!1)}e||(t.EZ.zoom-=.05),e&&(t.EZ.zoom-=.025)}}}build(){var A,t,e,a,c,h,_,f,m=this,v=m.A.I+"/"+m.A.F,E="0/0";if(m.autoFit(),!m.H.usc()){var w=2,D=6;if(null!==ZC._n_(A=m.P.o["mask-tolerance"])&&(A instanceof Array?(w=D=ZC._i_(A[0]),A.length>1&&(D=ZC._i_(A[1]))):w=D=ZC._i_(A)),"svg"===m.A.AC&&m.AJ.clip&&(ZC.Q.EV([m.K+"-clip",m.K+"-clip-hover",m.K+"-clip-preview"]),m.A.KG.appendChild(ZC.Q.Y3({id:m.K+"-clip",path:m.M0(w,"svg")})),m.A.KG.appendChild(ZC.Q.Y3({id:m.K+"-clip-hover",path:m.M0(D,"svg")})),m.B9)){var M=m.AJ["3d"];m.AJ["3d"]=!1,m.A.KG.appendChild(ZC.Q.Y3({id:m.K+"-clip-preview",path:m.M0(0,"svg",m.B9.AT)})),m.AJ["3d"]=M}var T=!m.AJ.clip,R=T?null:m.M0(w),V=T?null:"url(#"+m.K+"-clip)",$=T?null:m.M0(D),y=T?null:"url(#"+m.K+"-clip-hover)";if(m.B9&&(c=T?null:m.M0(0,m.A.AC,m.B9.AT),h=T?null:"url(#"+m.K+"-clip-preview)"),ZC.Q.K8({cls:"zc-abs",id:m.K,p:ZC.AM(m.A.K+"-graphset"),tl:E,wh:v},m.A.AC),m.A.O9.graph&&ZC.Q.HO({cls:ZC._[24]+" zc-persistent",id:m.K+"-c",p:ZC.AM(m.K),wh:v},m.A.AC),ZC.Q.K8({id:m.K+"-plotarea",p:ZC.AM(m.K),tl:E,wh:v,position:"absolute"},m.A.AC),m.o.plotarea&&m.A.O9.plotarea&&ZC.Q.HO({cls:ZC._[24],id:m.K+"-plotarea-c",p:ZC.AM(m.K+"-plotarea"),wh:v},m.A.AC),"null"!==m.AF&&m.A.O9.plots){for(ZC.Q.K8({id:m.K+"-scales-bl",p:ZC.AM(m.K),tl:E,wh:v,position:"absolute","clip-path":V,clip:R},m.A.AC),t=0;t=0;a--)ZC.AM(m.K+"-plots-bl-"+a)||ZC.Q.K8({id:m.K+"-plots-bl-"+a,p:ZC.AM(m.K),after:ZC.AM(m.K+"-scales-bl"),tl:E,wh:v,position:"absolute","clip-path":V,clip:R},m.A.AC),(_=ZC.Q.HO({cls:"zc-abs zc-layer zc-bl",id:m.K+"-plot-"+f+"-bl-"+a+"-c",p:ZC.AM(m.K+"-plots-bl-"+a),wh:v},m.A.AC)).setAttribute("data-clip",m.M0(w,"box")),_.style.display="block";for(t=0;t=0;a--)ZC.AM(m.K+"-plots-fl-"+a)||ZC.Q.K8({id:m.K+"-plots-fl-"+a,p:ZC.AM(m.K),after:ZC.AM(m.K+"-scales-ml-"+(m.W4-1)+"-c"),tl:E,wh:v,position:"absolute"},m.A.AC),(_=ZC.Q.HO({cls:"zc-abs zc-layer zc-fl",id:m.K+"-plot-"+f+"-fl-"+a+"-c",p:ZC.AM(m.K+"-plots-fl-"+a),wh:v},m.A.AC)).setAttribute("data-clip",m.M0(D,"box")),_.style.display="block";for(zingchart.DEV.PLOTSHLAYER&&(ZC.Q.K8({id:m.K+"-plots-hover",p:ZC.AM(m.K),tl:E,wh:v,position:"absolute"},m.A.AC),ZC.Q.HO({cls:"zc-abs zc-layer zc-fl",id:m.K+"-plots-hover-c",p:ZC.AM(m.K+"-plots-hover"),wh:v},m.A.AC)),ZC.Q.K8({id:m.K+"-scales-fl",p:ZC.AM(m.K),tl:E,wh:v,position:"absolute","clip-path":V,clip:R},m.A.AC),t=0;t=0;_--)this.o[ZC._[10]][_].cls&&"zcScaleMarkerLabel"===this.o[ZC._[10]][_].cls&&this.o[ZC._[10]].splice(_,1);h.AZ.ZH=[],h.A.T4=[],zingchart.SKIP.LEGEND||h.BE&&h.BE.clear(),h.E.datalength=[];var f,m,v,E=ZC.ie67?ZC.AM(h.A.K):null;if(ZC.mobile||ZC.ie67)ZC.A5("."+h.K+"-node-area",E).remove();else if(ZC.AM(h.A.K+"-img")&&ZC.AM(h.A.K+"-map")){ZC.AM(h.A.K+"-img").setAttribute("useMap","");var w=ZC.AM(h.A.K+"-map").cloneNode(!0);for(_=(a=w.childNodes.length)-1;_>=0;_--)-1!==w.childNodes[_].className.indexOf(h.K+"-node-area")&&w.removeChild(w.childNodes[_]);ZC.Q.EV(h.A.K+"-map"),ZC.AM(h.A.K+"-top").appendChild(w),ZC.AM(h.A.K+"-img").setAttribute("useMap","#"+h.A.K+"-map")}if("svg"===(ZC.Q.EV(h.K+"--graph"),h.AZ.HJ=[],ZC.A5("."+h.K+"-value-box",E).remove(),ZC.A5("."+h.K+"-scale-marker-label",E).remove(),ZC.A5("."+h.K+"-scale-item",E).remove(),ZC.A5("."+h.K+"-scale-label",E).remove(),ZC.A5("."+h.K+"-guide-label",E).remove(),ZC.A5("."+h.K+"-shape-label",E).remove(),ZC.A5("."+h.K+"-mapshape-label",E).remove(),ZC.A5("."+h.K+"-node-errorbars",E).remove(),A||ZC.A5("."+h.K+"-preview-item",E).remove(),h.A.AC)){for(_=0,a=h.AZ.A3.length;_=R.AY&&U[E].R[h].BW<=R.BD:U[E].R[h].L>=R.W&&U[E].R[h].L<=R.A1)?(m=U[E].R[h].AD,V=Math.min(V,m),$=Math.max($,m),T?(T=!1,Q.push(U[E].R[h].BW?[U[E].R[h].BW,0]:0),M=m):Q.push(U[E].R[h].BW?[U[E].R[h].BW,100*(m-M)/M]:100*(m-M)/M)):Q.push(U[E].R[h].BW?[U[E].R[h].BW,0]:0);y["p-"+w]=[].concat(Q)}if(O>0){for(V=ZC.MAX,$=-ZC.MAX,w=0;w=0&&ne[h].TN&&(oe=h);if(null!==ZC._n_(oe)){var te=ne[oe].AK(0);for(h=0;h=0&&ne[h].TN){var le=ne[h].AK(0);if(ZC._a_(le-te)>=1)for(var ce=!0,Ce=0;ce;)le>te?ne[h].CJ?ne[h].AW?ne[h].A9+=1:ne[h].BS+=1:ne[h].AW?ne[h].BS+=1:ne[h].A9+=1:ne[h].CJ?ne[h].AW?ne[h].BS+=1:ne[h].A9+=1:ne[h].AW?ne[h].A9+=1:ne[h].BS+=1,Ce++,ne[h].H2(),ne[h].TA(),(Ce>(ne[h].CJ?f.P.I:f.P.F)||ZC._a_(ne[h].AK(0)-te)<1)&&(ce=!1)}}}for(h=0,_=f.BO.length;h<_;h++)f.BO[h].Z=f.BO[h].C7=f.H.usc()?f.H.mc():ZC.AM(f.K+"-scales-bl-0-c"),f.A.OJ=!0,f.BO[h].paint(),f.A.Y2(),f.A.OJ=!1;var se=typeof f.E["shared-zoom"]!==ZC._[31]&&null!==ZC._n_(f.E["shared-zoom"])&&f.E["shared-zoom"];if(f.B9&&f.B9.LX?f.B9.IJ&&(f.B9.IJ=!0,f.B9.paint()):f.E["skip-preview"]||!f.B9||f.VK&&!f.B9.IJ||se||(f.B9.IJ=!0,f.B9.paint()),f.E["shared-zoom"]=null,f.E["skip-preview"]=null,f.HS&&f.HS.paint(),f.I3&&f.I3.paint(),f.VK||(c=f.H.usc()?f.H.mc():ZC.AM(f.K+"-titles-c"),f.J1&&f.J1.AO&&null!==ZC._n_(f.J1.AN)&&(f.J1.Z=f.J1.C7=c,f.J1.paint(),!f.J1.KI&&ZC.AM(f.A.K+"-map")&&(ZC.AM(f.A.K+"-map").innerHTML+=ZC.AR.OI(f.K,f.J1))),f.K9&&f.K9.AO&&null!==ZC._n_(f.K9.AN)&&(f.K9.Z=f.K9.C7=c,f.K9.paint(),!f.K9.KI&&ZC.AM(f.A.K+"-map")&&(ZC.AM(f.A.K+"-map").innerHTML+=ZC.AR.OI(f.K,f.K9))),f.N5&&f.N5.AO&&null!==ZC._n_(f.N5.AN)&&(f.N5.Z=f.N5.C7=c,f.N5.paint(),!f.N5.KI&&ZC.AM(f.A.K+"-map")&&(ZC.AM(f.A.K+"-map").innerHTML+=ZC.AR.OI(f.K,f.N5))),f.SI&&f.SI.AO&&null!==ZC._n_(f.SI.AN)&&(f.SI.Z=f.SI.C7=c,f.SI.paint())),f.J1&&f.J1.ED(),f.K9&&f.K9.ED(),f.N5&&f.N5.ED(),f.AJ["3d"]||f.TL(),f.A.OJ=!f.GG,zingchart.DEV.SKIPTRACKERS&&(f.A.OJ=!1),f.A.E["graph."+f.K+".disableanimation"])for(h=0,_=f.AZ.A3.length;h<_;h++)f.AZ.A3[h].GG=!1;f.AZ.paint(),f.H.paintHistory()}TL(){}clearPreview(){var A=this;A.B9&&(ZC.Q.IV(ZC.AM(A.K+"-preview-c"),A.A.AC,A.iX,A.iY,A.I,A.F,A.K),A.A.H5&&!A.A.H5.A0S&&A.B9.reset(),A.B9.IJ=!0)}flatten(){}_end_(){var A,t,e,a,c=this;for(c.E["toggle-action-remove"]=null,c.GG||c.A.Y2(),c.A.OJ=!1,(c.LX||!c.GG||c.H.E["graph."+c.K+".disableanimation"]||!c.AJ[ZC._[55]]||-1!==ZC.AV(c.H.KX,ZC._[41])||zingchart.SKIP.ANIMATION)&&(c.MN="ready"),"initial"===c.A1S&&(c.ABW=!1,c.H.E["graph."+c.K+".disableanimation"]=!0),t=0,e=c.BO.length;t1&&(zingchart.SKIP.EVENT||ZC.AR.C1("load",A.A,A.A.F5()))),A.A.E["fire-complete"]=!0,(A.E["graph-K0"]||A.LX&&A.AZ.A3.length>1)&&(zingchart.SKIP.EVENT||ZC.AR.C1("complete",A.A,A.A.F5()),A.E["graph-K0"]=null)),0!==A.A.R2.length&&A.A.R2[A.A.R2.length-1]===A.A.E.json||(A.A.R2[A.A.O7]!==A.A.E.json&&(A.A.R2.length=A.A.O7+1),A.A.R2[A.A.O7]=A.A.E.json)}K0(A,t){var e=this;null===ZC._n_(A)&&(A=!1),null===ZC._n_(t)&&(t=!1),e.A.MX(e),e.E["graph-K0"]=!0,e.clear(A,t),e.parse(),e.UT&&e.UT(),e.paint(A),e.B9&&e.B9.setScalesInfo(),e.HP=!1,zingchart.SKIP.CSV=!1}UG(ev,E8,FG){if(2!==ev.button){var s=this,C,PM=[""];switch(null!==ZC._n_(FG)&&(PM=FG.split("=")),PM[0]){case"_blank":window.open(E8,"_blank");break;case"_top":window.top.location.href=E8;break;case"_parent":window.parent.location.href=E8;break;case"window":null!==ZC._n_(PM[1])&&""!==PM[1]&&(window.top[PM[1]].location.href=E8);break;case"graph":var YK=null;if("()"===E8.substring(E8.length-2)||"javascript:"===E8.substring(0,11))try{var E9=E8.replace("javascript:","").replace("()","");eval(E9)&&(YK=eval(E9).call(s))}catch(A){}null!==ZC._n_(PM[1])&&""!==PM[1]?"_top"===PM[1]||"_parent"===PM[1]?(s.A.MX(),YK?zingchart.exec(s.A.K,"setdata",{data:YK}):s.A.load(null,E8)):(C=s.A.OT(PM[1]),C&&(s.A.MX(C),s.A.E["tr-ev-"+C.L]=!0,s.A.O7++,YK?zingchart.exec(s.A.K,"setdata",{graphid:PM[1],data:YK}):s.A.load(PM[1],E8))):(C=s.A.AG[0],s.A.MX(C),YK?zingchart.exec(s.A.K,"setdata",{graphid:C.K,data:YK}):(s.A.E["tr-ev-"+C.L]=!0,s.A.O7++,s.A.load(C.K,E8)));break;default:window.location.href=E8}}}HY(A,t,e){var a=this;if(null===ZC._n_(e)&&(e=a.AZ.A3.length-1),null!==ZC._n_(A)&&typeof A!==ZC._[31])return a.AZ.A3[A];if(null===ZC._n_(t)||typeof t===ZC._[31])return a.AZ.A3[e];for(var c=0,h=a.AZ.A3.length;c0){for(O=[],Q=0,W=_.D.length;Q0?1:-1:0}),m.FE=m.FE.sort(function(oe,te){return oe.zindex-te.zindex==0?oe.index-te.index:oe.zindex-te.zindex})},K6.prototype.YD=function(A,t){typeof A===ZC._[31]&&(A=!1),typeof t===ZC._[31]&&(t=!1);var e,a=this,c=[a.K+"-objects-bottom-sh-c",a.K+"-objects-bottom-c",a.K+"-objects-top-sh-c",a.K+"-objects-top-c",a.K+"-objects-front-c",a.K+"-objects-print-c"];ZC.SKIPMAPS||c.push(a.K+"-objects-maps-sh-c",a.K+"-objects-maps-c");for(var h=0;h';"top"===T.o[ZC._[7]]?_.push(V):h.push(V)}}function m(M){if(c.FJ[M]){var T=c.FJ[M],R=T instanceof R9?T.BF:T;if((!ZC.SKIPMAPS||!R.o["map-item"])&&R.AO){if(null!==ZC._n_(t=T.E.hook)){var V=c.OS(t);-1!==V[0]&&(R.iX=ZC._i_(V[0])),-1!==V[1]&&(R.iY=ZC._i_(V[1]))}if(!T.E["3d"]||T.E["3dtx"]){T.Z=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-"+(R.JY<0?"bottom":"top")+"-c"),T.C7=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-"+(R.JY<0?"bottom":"top")+"-sh-c"),R.o["map-item"]&&(T.Z=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-maps-c"),T.C7=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-maps-sh-c"));var $="";null!==ZC._n_(t=R.o.limit)&&("x"===t?$="x":"y"===t?$="y":"xy"===t&&($="xy")),(""===$||"x"===$&&ZC.DM(R.iX-R.BL,c.P.iX-2,c.P.iX+c.P.I+2)||"y"===$&&ZC.DM(R.iY-R.BH,c.P.iY-2,c.P.iY+c.P.F+2)||"xy"===$&&ZC.DM(R.iX+R.BL,c.P.iX-2,c.P.iX+c.P.I-2)&&ZC.DM(R.iY+R.BH,c.P.iY-2,c.P.iY+c.P.F+2))&&(T.WO=!1,T.E["print-canvas"]=c.K+"-"+(R.o["map-item"]?"maps":"objects")+ZC._[15],T.paint())}if(!T.KI&&!c.QI&&"normal"===zingchart.OBJECTMODE){var y=R.A2F();if(ZC.AM(c.A.K+"-map"))for(var U=1,O=y.length;U1?"--"+U:"")+ZC._[30]+y[U]+'" data-z-sort="'+R.A7O+'"'+Q+" />";if("top"===T.o[ZC._[7]]?_.push(W):h.push(W),T.M){var ae=[ZC._i_(T.M.iX+T.M.BL),ZC._i_(T.M.iY+T.M.BH),ZC._i_(T.M.iX+T.M.BL+T.M.I),ZC._i_(T.M.iY+T.M.BH+T.M.F)].join(",");W=ZC.Q.FT("rect",R.E8,R.IT)+'class="'+c.K+'-shape-area zc-shape-area" id="'+R.K+"-area"+(U>1?"--"+U:"")+ZC._[30]+ae+'" data-z-sort="'+R.A7O+'"'+Q+" />","top"===T.o[ZC._[7]]?_.push(W):h.push(W)}}}}}}function v(M){var T=c.LA[M];if(T.AO)if(T.Z=T.C7=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-"+(T.JY<0?"bottom":"top")+"-c"),null!==ZC._n_(T.o.repeat)&&ZC._b_(T.o.repeat)){var R=ZC._i_(ZC._c_(T.o.items,0)),V=null;if(T.o.inactive&&((V=new I7(T.A)).copy(T),V.append(T.o.inactive),V.parse(),V.Z=V.C7=T.Z),R>0||V){var $=ZC._i_(ZC._c_(T.o.rows,-1)),y=ZC._i_(ZC._c_(T.o.cols,-1)),U=ZC._i_(ZC._c_(T.o["space-x"],0)),O=ZC._i_(ZC._c_(T.o["space-y"],0)),Q=ZC._i_(ZC._c_(T.o["offset-row"],0)),W=ZC._i_(ZC._c_(T.o["offset-col"],0));-1!==$&&-1===y?y=Math.ceil(R/$):-1===$&&-1!==y?$=Math.ceil(R/y):-1===$&&-1===y&&(y=Math.ceil(Math.sqrt(R)),$=Math.ceil(R/y));for(var ae=T.iX,ee=T.iY,ne=T.K,oe=0;oe<$;oe++)for(var te=0;te0||h.length>0)&&ZC.AM(c.A.K+"-map")){if(c.A5N){var D=function(M,T){return-1!==M.indexOf("data-map")&&-1!==T.indexOf("data-map")?ZC.AR.NG(T)-ZC.AR.NG(M):ZC.AR.NG(M)-ZC.AR.NG(T)};_.sort(D),h.sort(D)}zingchart.DEV.MAPSONBOTTOM?window.setTimeout(function(){ZC.AM(c.A.K+"-map").innerHTML=_.join("")+ZC.AM(c.A.K+"-map").innerHTML+h.join("")},33):ZC.AM(c.A.K+"-map").innerHTML=_.join("")+ZC.AM(c.A.K+"-map").innerHTML+h.join("")}c.A.E["fire-load"]||ZC.AR.C1("objectsready",c.A,c.GS())},K6.prototype.RH=function(A,t,e,a){var c,h,_,f,m=this;switch(e=e||"hover",A){case"shape":var v=m.FJ[t],E=v instanceof R9?v.BF:v;if(null!==ZC._n_(E.o[e+"-state"])){if(!a&&E.o.group)for(_=0,f=m.FJ.length;_4096&&e.F7&&"date"===e.F7.o.type&&null!==(ae=ZC._nfind_(y,Q,0,Q.R.length-1))&&(W=Q.FK(ae,3)),!W)for(ae=0,ee=Q.R.length;ae=0;f--)(null!==ZC._n_(v[f].id)&&-1!==ZC.AV(h,v[f].id)||null!==ZC._n_(v[f].cls)&&-1!==ZC.AV(_,v[f].cls)||null!==ZC._n_(v[f].class)&&-1!==ZC.AV(_,v[f].class)||e.group&&v[f].group===e.group)&&(null!==ZC._n_(v[f].id)&&O.push(v[f].id),v.splice(f,1),D=!0);for(f=0;f=50?P4:1e3*P4,"full"===s.I1.type)"http"===s.I1.transport?ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.A.MX(s),ZC.A07(function(){s.A.load(s.K,s.AA0)})},P4):"websockets"===s.I1.transport&&ZC.websockets&&(s.H.SN[s.K]?"pull"===s.I1.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.H.SN[s.K].send("zingchart.getdata")},P4)):(ws=new WebSocket(s.I1.url,"zingchart"),ws.onopen=function(){ws.send("zingchart."+s.I1.type),ws.send("zingchart."+s.I1.method),ws.send("zingchart.getdata")},ws.onmessage=function(A){"ready"===s.MN&&(s.A.MX(s),s.MN="full",ZC.A07(function(){zingchart.exec(s.A.K,"setdata",{graphid:s.K,data:A.data,softclear:!0})}))},s.H.SN[s.K]=ws));else if("feed"===s.I1.type&&null!==ZC._n_(s.I1.url)){if(null!==ZC._n_(s.I1.curtain)){var OR=s.BV("k");if(OR.length>0&&(ZC.Q.EV(s.K+"-curtain-t"),OR[0].OY>0)){var MA=new DV(s);s.A.B8.load(MA.o,"("+s.AF+").refresh.curtain"),MA.append(s.I1.curtain),MA.parse(),MA.AO&&(OR[0].CJ&&MA.F<=OR[0].OY||!OR[0].CJ&&MA.I<=OR[0].OY)&&(MA.K=s.K+"-curtain-t",MA.IW=ZC.AM(s.A.K+"-text-top"),OR[0].CJ?(MA.F>OR[0].OY&&(MA.AN="",MA.parse()),MA.iX=s.P.iX,MA.iY=OR[0].AW?s.P.iY:s.P.iY+s.P.F-OR[0].OY,MA.I=s.P.I,MA.F=OR[0].OY):(MA.I>OR[0].OY&&(MA.AN="",MA.parse()),MA.iX=OR[0].AW?s.P.iX+s.P.I-OR[0].OY:s.P.iX,MA.iY=s.P.iY,MA.I=OR[0].OY,MA.F=s.P.F),MA.Z=MA.C7=ZC.AM(s.K+"-scales-ml-0-c"),MA.paint())}}var A1J=s.I1.transport,A4R=ZC._i_(s.I1["reset-timeout"]),A5T=ZC._i_(s.I1["stop-timeout"]),AA9=ZC._b_(s.I1.storage),A0X=!0;null!==ZC._n_(s.I1["preserve-data"])&&(A0X=ZC._b_(s.I1["preserve-data"]));var A6A=function(KQ){for(var U8=eval("("+KQ+")"),i,A6,A97=U8 instanceof Array?U8:[U8],r=0,rLen=A97.length;rZC._i_(s.I1["max-ticks"])&&s.o[BI][ZC._[5]].splice(0,1),s.H.o[ZC._[16]][s.L][BI][ZC._[5]].push(DK[BI]),(s.o[BI][ZC._[5]].length>A4R||1===s.MP[1])&&(s.H.o[ZC._[16]][s.L][BI][ZC._[5]]=[],s.o[BI][ZC._[5]]=[],s.H.E["graph"+s.L+".zoom"]&&(s.H.E["graph"+s.L+".zoom"].xmin=null,s.H.E["graph"+s.L+".zoom"].xmax=null),s.HS&&(s.HS.unbind(),ZC.Q.IV(ZC.AM(s.K+"-scroll-x-c"),s.A.AC,s.iX,s.iY,s.I,s.F,s.K),ZC.A5("#"+s.K+"-scroll-x-handle").remove(),ZC.A5("#"+s.K+"-scroll-x-bar").remove()),s.I3&&(s.I3.unbind(),ZC.Q.IV(ZC.AM(s.K+"-scroll-y-c"),s.A.AC,s.iX,s.iY,s.I,s.F,s.K),ZC.A5("#"+s.K+"-scroll-y-handle").remove(),ZC.A5("#"+s.K+"-scroll-y-bar").remove())),ZC.webstorage&&AA9&&ZC.AR.storage.push("zingchart.scale."+s.K+"."+BI,""+DK[BI]))}for(i=0,A6=s.AZ.A3.length;iZC._i_(s.I1["max-ticks"])&&s.H.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]].splice(0,1)):s.H.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[A4G],ZC.webstorage&&AA9&&(G=DK["plot"+i],"object"==typeof G&&(G=G.join("###")),ZC.AR.storage.push("zingchart.plot."+s.K+".plot"+i,""+G)),(s.o[ZC._[11]][i][ZC._[5]].length>A4R||1===s.MP[1])&&(ZC.AR.C1("feed_clear",s.A,s.GS(),DK),s.H.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[])}N2=s.A3V()}("ready"===s.MN||s.GG)&&(1===s.MP[1]&&(s.MP[1]=0),(N2<=A5T||0===A5T)&&(s.MN="feed",ZC.A07(function(){ZC.AM(s.A.K+"-main")&&(ZC.AR.C1("feed_step",s.H,s.GS(),s.o),s.parse(),s.clear(!0),s.UT(),s.paint(!0,!0))})))};if("http"===A1J||"js"===A1J){var E8=s.I1.url;ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){if(1===s.MP[0]||1===s.MP[1])if(s.A.MX(s),"http"===A1J){var EW=["query-string"===s.A.ND?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+s.H.AC:""].join("&");ZC.A5.ajax({type:"GET",url:E8,beforeSend:function(A){s.A.S6.data||"http-headers"!==s.A.ND||A.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EW,dataType:"text",error:function(){},success:function(A){A6A(A)}})}else if("()"===E8.substring(E8.length-2)||"javascript:"===E8.substring(0,11))try{var E9=E8.replace("javascript:","").replace("()","");eval(E9)&&eval(E9).call(s,function(A){A6A(A)},s.GS())}catch(A){}},P4)}else"websockets"===A1J&&ZC.websockets&&(s.H.SN[s.K]?"pull"===s.I1.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.H.SN[s.K].send("zingchart.getdata")},P4)):(ws=new WebSocket(s.I1.url,"zingchart"),ws.onopen=function(){ws.send("zingchart."+s.I1.type),ws.send("zingchart."+s.I1.method),ws.send("zingchart.startfeed"),"pull"===s.I1.method&&ws.send("zingchart.getdata")},ws.onmessage=function(A){1!==s.MP[0]&&1!==s.MP[1]||A6A(A.data)},s.H.SN[s.K]=ws))}}},zingchart.AC3=function(A,t,e){var a;document.getElementById("zc-fullscreen")&&(A="zc-fullscreen"),"string"==typeof(e=e||{})&&(e=JSON.parse(e));var c=zingchart.getLoader(A);if(c){var h=c.C9(e[ZC._[3]]);switch(t){case"clearfeed":h.MP[1]=1,0===h.MP[0]&&ZC.A07(function(){h.parse(),h.clear(!0),h.UT(),h.paint(!0,!0)});break;case"getinterval":return h.I1.interval;case"setinterval":ZC.AR.C1("feed_interval_modify",c,h.GS()),h.o.refresh=h.o.refresh||{},h.o.refresh.interval=e.interval||1;break;case"stopfeed":1===h.MP[0]&&(ZC.AR.C1("feed_stop",c,h.GS()),h.MP[0]=0,null!==ZC._n_(a=c.SN[h.K])&&a.send("zingchart.stopfeed"));break;case"startfeed":0===h.MP[0]&&(ZC.AR.C1("feed_start",c,h.GS()),h.MP[0]=1,null!==ZC._n_(a=c.SN[h.K])&&a.send("zingchart.startfeed"),ZC.A07(function(){h.parse(),h.clear(!0),h.UT(),h.paint(!0,!0)}))}}return null},ZC.AR.A51=function(A){for(var e,t={},a=0,c=(e="object"==typeof A?A:JSON.parse(A)).length;a0){for(var E=0;E1))){var a,c,h,_=e.targetid||e.target.id,f=ZC._b_(t.BE.BR.o.reorder);ZC.mobile&&t.H.A7&&t.H.A7.hide();var m="item";-1!==_.indexOf("-legend-marker_")&&(m="marker"),t.L5(),e.preventDefault();var v=t.BE.I9;"item"===m?v=t.BE.RD:"marker"===m&&(v=t.BE.Q6),t.A.KI&&"hide"===v&&(v="remove"),t.E["legend-last-trigger"]=m;var E=ZC._i_(_.replace(t.K+"-legend-item_","").replace(t.K+"-legend-marker_","").replace("-area",""));if(t.o[ZC._[11]]&&t.o[ZC._[11]][E]){if(null!==ZC._n_(A=t.o[ZC._[11]][E]["legend-item"])){var w=A.url||"";""!==w&&t.UG(e,w,A.target||"")}t.o[ZC._[11]][E].visible=!0}var M,T,R,V=t.AZ.A3[E].TH(e);switch(V.visible=ZC._b_(t.E["plot"+E+".visible"]),V.toggleaction=v,ZC.AR.C1("legend_click",t.A,V),ZC.AR.C1("legend_"+m+"_click",t.A,V),v){default:break;case"hide":case"remove":if(e.shiftKey){var $=0;for(a=0,c=t.AZ.A3.length;a=0;e--)typeof c.o[e]===ZC._[31]&&c.o.splice(e,1);if(null===ZC._n_(c.E["plot-sort"])&&(c.E["plot-sort"]=!1),c.o.length>1){for(e=0,a=c.o.length;eh[e+1]["z-index"]){c.E["plot-sort"]=!0;var m=h[e];h[e]=h[e+1],h[e+1]=m;var v=_[e];_[e]=_[e+1],_[e+1]=v,f=!1}c.MH=_}else c.MH=[0];for(c.A3=[],e=0,a=c.o.length;e0)if(t.A3.length>100&&!t.C.LX)for(var a=0;aZC.AR.NG(v)?1:ZC.AR.NG(m)c(v)&&e.A.AJ["3d"]?1:c(m)ZC.AR.NG(v)?1:ZC.AR.NG(m)',_=e.A.a11y(),f=t.innerHTML.indexOf(h);zingchart.DEV.DELAYEDTRACKERS?window.setTimeout(function(){-1!==f?t.innerHTML=t.innerHTML.substring(0,f+h.length)+_+e.HJ.join("")+t.innerHTML.substring(f+h.length):t.innerHTML+=_+e.HJ.join("")},500):-1!==f?t.innerHTML=t.innerHTML.substring(0,f+h.length)+_+e.HJ.join("")+t.innerHTML.substring(f+h.length):t.innerHTML+=_+e.HJ.join("")}e.F3=null,e.D7=null,e.C.AA1=[],e.A._end_()}}class A4S extends LY{HT(){return new R5(this)}}class A4T extends LY{HT(){return new R6(this)}}class A8Y extends LY{HT(){var t=new R5(this);return t.NN=!0,t}}class A8Z extends LY{HT(){var t=new R6(this);return t.NN=!0,t}}class A10 extends LY{HT(){return new R7(this)}}class A11 extends LY{HT(){return new R8(this)}}class ZZ extends LY{HT(t){var e=this;switch(t){default:return new R5(e);case"vline":var a=new R5(e);return a.NN=!0,a;case"poly":var c=new PN(e);return c.bPoly=!0,c.sTypeX="poly",c;case"area":return new R6(e);case"varea":var h=new R6(e);return h.NN=!0,h;case"bar":case"vbar":return new R7(e);case"hbar":return new R8(e);case"scatter":return new PN(e);case"hscatter":return new PN(e,"hscatter");case"bubble":return new SD(e);case"hbubble":return new SD(e,"hbubble");case"stock":return new W3(e);case"range":return new T5(e);case"vrange":var _=new T5(e);return _.NN=!0,_;case"line3d":return new V6(e);case"area3d":return new V7(e);case"bar3d":case"vbar3d":return new V5(e);case"bullet":case"vbullet":return new TV(e);case"hbullet":return new TW(e)}}}class A7A extends LY{HT(){return new PN(this)}}class ACN extends LY{HT(){var t=new PN(this);return t.bPoly=!0,t.sTypeX="poly",t}}class A6G extends LY{HT(){return new PN(this,"hscatter")}}class A7U extends LY{HT(){return new SD(this)}}class A7B extends LY{HT(){return new SD(this,"hbubble")}}class A5W extends LY{constructor(t){super(t);var e=this;e.KW=[],e.PI=[],e.U4=[]}HT(){return new WW(this)}parseLayout(t){var e,a,c,h,_=this;t&&(_.U4=[],_.PI=[]);var f,m=_.A.BK("scale-r"),v=_.A.BK("scale"),E=.9,w=1;_.A3.length>=10&&(w=1),_.A3.length>=20&&(w=1.25),_.A3.length>=30&&(w=1.5);var D=m.DI;for(e=0,a=_.A3.length;e=0&&T<=90||T>=270&&T<=360?a.iX+a.I-(M.I+25):a.iX+(M.I+25))-c)/ZC.EI(T),h=ZC.CX(h,2*e/a.I),e=a.F/2-(M.F/2+10),h=ZC.CX(h,2*e/a.F)}}h=ZC.BQ(.15,ZC.CX(.85,h)),"auto"===a.o["size-factor"]&&(a.o["size-factor"]=a.JM=h)}}class A8J extends LY{constructor(t){super(t),this.A2O={}}HT(){return new XX(this)}paint(){this.A2O={},super.paint()}}class A7D extends A10{HT(){return new TV(this)}}class A7E extends A11{HT(){return new TW(this)}}class A8M extends LY{HT(){return new XY(this)}}class A2V extends LY{parse(){var t,e,a,c,h,_=this;for(_.AY=ZC.MAX,_.BD=-ZC.MAX,_.A8F=[],_.SM=[],super.parse(),t=0,e=_.A3.length;t0||c.T8.length>0||c.A2.o["top-state"])&&(c.Z6=!1),c.GC=new CZ(c),m.load(c.GC.o,ae("hover-marker")),c.GC.append(c.o.marker),c.GC.append(c.o["hover-marker"]),null!==ZC._n_(t=c.o["selected-marker"])&&(c.Q0=new CZ(c),m.load(c.Q0.o,ae("selected-marker")),c.Q0.append(t)),null!==ZC._n_(t=c.o["background-marker"])&&(c.PY=new CZ(c),m.load(c.PY.o,ae("background-marker")),c.PY.append(t)),c.IM&&(c.VP=new CZ(c),c.VP.append(c.o.marker),null!==ZC._n_(t=c.o["highlight-marker"])&&(m.load(c.VP.o,ae("highlight-marker")),c.VP.append(t))),"normal"!==c.A1E&&(c.T6||c.Q0)&&(c.GZ=!1),"fast"===c.A1E&&(c.GZ=!0),c.A7=new DV(c),c.o.tooltip&&c.o.tooltip.placement&&c.o.tooltip.placement.indexOf("node")>-1?m.load(c.A7.o,"("+c.AF+").tooltip[dynamic]"):m.load(c.A7.o,c.AF+".tooltip"),c.A7.append(c.o.tooltip),null!==ZC._n_(t=c.o.error)&&(c.JG=new DX(c),m.load(c.JG.o,ae("error")),c.JG.append(t),null===ZC._n_(c.JG.o[ZC._[21]])&&(c.JG.o[ZC._[21]]=4)),null!==ZC._n_(t=c.o[ZC._[17]])){if(t instanceof Array)for(c.U=new CZ(c),m.load(c.U.o,ae(ZC._[17])),null!==ZC._n_(e=c.C.o.plot)&&c.U.append(e[ZC._[17]]),c.U.append(t[0]),t.length>1&&(c.OA=[]),R=1;R1?(null===ZC._n_(c.V[R][1])||"string"==typeof c.V[R][1]&&"NULL"===c.V[R][1].toUpperCase())&&(O=!0):(null===ZC._n_(c.V[R])||"string"==typeof c.V[R]&&"NULL"===c.V[R].toUpperCase())&&(O=!0),"piano"===c.C.AF&&(O=!1)),O)c.R.push(null);else{!c.GZ||"xy"!==c.C.AJ.layout&&"yx"!==c.C.AJ.layout?D=c.G3():c.GU[1]||("bubble"===c.AF||"scatter"===c.AF?c.GU[1]=D=c.G3():(c.GU[0]=c.G3(),c.GU[1]=D=c.G3(),c.GU[2]=c.G3(),c.GU[3]=c.G3())),D.K=c.K+"-node-"+R,"string"==typeof c.V[R]&&zingchart.QUOTEDVALUES&&(c.V[R]=ZC._f_(c.V[R])),D.o={value:c.V[R]},"string"==typeof c.V[R]&&(D.A2N=!0),D.L=R,c.o["hint-ts"]?(D.E.plotidx=c.L,D.E.nodeidx=D.L,D.K=c.K+"-node-"+D.L,D.BW=c.V[R][0],D.AD=c.V[R][1]):D.parse(),(a<256||zingchart.DEV.CHECKDECIMALS)&&null!==ZC._n_(D.AD)&&2===(w=D.AD.toString().split(".")).length&&(U=ZC.BQ(U,w[1].length)),D.BW&&(null!==V&&ZC._a_(D.BW-V)>0&&$.push(ZC._a_(D.BW-V)),V=D.BW),c.A.XD=c.A.XD||{};var Q=c.A.XD["s"+c.DZ];if(Q&&(null!==V?-1===ZC.AV(Q,D.BW)&&Q.push(D.BW):-1===ZC.AV(Q,R)&&Q.push(R)),!c.GZ||"xy"!==c.C.AJ.layout&&"yx"!==c.C.AJ.layout)c.R.push(D);else{var W={iX:D.iX,iY:D.iY,L:D.L,BW:D.BW,AD:D.AD,CP:D.AD,DP:D.DP,J6:D.J6};"bubble"===c.AF&&(W.SY=D.SY),c.R.push(W)}null!==D.BW&&(c.QG[0]=Math.min(c.QG[0],D.BW),c.QG[1]=Math.max(c.QG[1],D.BW)),c.C.E["plot"+c.L+".visible"]&&(zingchart.DEV.PLOTSTATS||"100%"===c.KZ)&&c.CD&&(null===ZC._n_(c.A.FA[R])?(c.A.FA[R]={},c.A.FA[R]["%total-"+c.DZ]=D.AD):null===ZC._n_(c.A.FA[R]["%total-"+c.DZ])?c.A.FA[R]["%total-"+c.DZ]=D.AD:c.A.FA[R]["%total-"+c.DZ]+=D.AD),zingchart.DEV.PLOTSTATS&&(y.push(D.AD),c.JF?(c.JF["%plot-max-index"]=R,c.JF["%plot-sum"]+=D.AD,a<256&&(c.JF["%plot-values"]+=","+D.AD)):c.JF={"%plot-min-index":R,"%plot-max-index":R,"%plot-sum":D.AD,"%plot-values":D.AD},c.A.FA||(c.A.FA={}),c.AO&&(null===ZC._n_(c.A.FA["%pstack-"+R+"-"+c.DZ+"-sum"])?(c.A.FA["%pstack-"+R+"-"+c.DZ+"-sum"]=D.AD,c.A.FA["%pstack-"+R+"-"+c.DZ+"-stack-length"]=1):(c.A.FA["%pstack-"+R+"-"+c.DZ+"-sum"]+=D.AD,c.A.FA["%pstack-"+R+"-"+c.DZ+"-stack-length"]+=1)))}}(c.V.length<256||zingchart.DEV.CHECKDECIMALS)&&c.JF&&null!==ZC._n_(c.JF["%plot-sum"])&&2===(w=c.JF["%plot-sum"].toString().split(".")).length&&ZC._i_(w[1])>U&&(c.JF["%plot-sum"]=ZC._f_(c.JF["%plot-sum"].toFixed(ZC.CX(20,U)))),zingchart.DEV.PLOTSTATS?(c.JF&&(c.JF["%plot-average"]=c.JF["%plot-sum"]/c.V.length,c.JF["%plot-average"]=ZC._f_(c.JF["%plot-average"].toFixed(ZC.CX(20,U+2)))),y.length>0&&(c.JF["%plot-min-value"]=ZC.YO(y),c.JF["%plot-max-value"]=ZC.A2D(y))):c.JF={"%plot-min-index":0,"%plot-max-index":c.V.length,"%plot-sum":-1,"%plot-values":"","%plot-average":-1,"%plot-min-value":-1,"%plot-max-value":-1},V&&$.length>0&&(c.AAS=ZC.YO($),c.A30=ZC.A2D($))}}function ae(ee){var ne=["("+c.AF+").plot."+ee];return c.sTypeX&&ne.push("("+c.sTypeX+").plot."+ee),ne}}mapPointsToPreview(t,e){for(var a=this,c=a.C.P,h=a.C.B9.AT,_=[],f=0,m=t.length;f0||ZC.DM(h.R[e].BW,h.B0.V[h.B0.W],h.B0.V[h.B0.A1]))&&c++;h.SA_.I&&(h.UN=!0),h.N6>=c&&(h.RI=!0)}else h.N6>h.B0.A1-h.B0.W&&(h.RI=!0);h.Y=1,h.B0.EG&&h.EG||(h.SA<(c=h.B0.A1-h.B0.W)&&(h.FV=!1),c*h.YI>_.I&&(h.UN=!0),!h.QL&&c*h.YI>_.I&&(h.Y=ZC.BQ(1,ZC._i_(c*h.YI/_.I)))),h.B0.EG&&h.EG&&(h.QL||c*h.YI>_.I&&(h.Y=ZC.BQ(1,ZC._i_(c*h.YI/_.I)))),h.C.OM&&(h.QL=!1,h.Y*=h.YW)}null!==ZC._n_(h.Y5)&&h.Y>h.Y5&&(h.Y=h.Y5)}OG(t){var e,a,c,h=this;null!==ZC._n_(t)&&t||(t=!1),h.B0&&"log"===h.B0.BT&&(t=!0),h.VW(t);var _=null;if(t||h.M4)h.A.A59=!1,function R(V,$){for(var y=V;y0||ZC.DM(h.R[e].BW,h.B0.V[h.B0.W],h.B0.V[h.B0.A1])||f&&m&&h.R[e+c]&&h.R[e+c].BW>=h.B0.V[h.B0.W])&&(f&&m&&h.R[e-c]&&((_=h.FK(e-c)).Z=h.KN,_.paint(),_.J6=!0,m=!1,E++),(_=h.FK(e)).Z=h.KN,_.paint(),_.J6=!0,h.R[e].J6=!0,E++,m=!1,v=e);f&&E>0&&h.R[v+c]&&((_=h.FK(v+c)).Z=h.KN,_.paint(),_.J6=!0)}else{c=h.GD=h.HN=h.Y;var w=0,D=1,M=null;for(f||(w=4/("vbar"===h.AF?h.C.P.F:h.C.P.I)*(h.CM.BD-h.CM.AY),D=1+ZC._i_((h.B0.A1-h.B0.W)/(2*("vbar"===h.AF?h.C.P.I:h.C.P.F))),c=1),e=h.B0.W;e<=h.B0.A1;e+=c)(h.B0.A1-h.B0.W)%h.Y!=0&&f&&(h.B0.A1-e==0?(h.GD=c,h.HN=1):h.B0.A1-e<=h.Y&&(h.GD=h.Y,h.HN=h.B0.A1-e,c=h.B0.A1-e)),h.R[e]?(_=h.FK(e),(f||h.QL||!f&&null===M||ZC._a_(_.AD-M)>w||e%D==0)&&(_.Z=h.KN,_.paint(),_.J6=!0,h.R[e].J6=!0),M=_.AD):h.CD&&-1!==ZC.AV(["vbar","hbar","vbar3d","hbar3d"],h.AF)&&h.RB()}}}CO(t,e){var c,a=this;return a.V1[t+e]?a.V1[t+e]:(c=a.H.usc()?ZC.AM(a.H.K+"-main-c"+("fl"===t?"-top":"")):a.H.KI||a.C.AJ["3d"]?ZC.AM(a.C.K+"-plots-"+t+"-c"):ZC.AM(a.C.K+"-plot-"+a.L+"-"+t+"-"+e+"-c"),a.V1[t+e]||(a.V1[t+e]=c),c)}TH(t){var e=this;return{id:e.H.K,graphid:e.C.K,graphidx:e.C.L,plotid:e.H9,plotindex:e.L,plottext:e.AN,ev:t?ZC.A5.BY(t):null,xdata:e.K7}}UR(t,e){ZC.AR.C1("plot_"+e,this.H,this.TH(t))}applyJsRuleSvg(t,e,a){var c;if(c=t.o["js-rule-svg"]){var h=ZC.AM(e),_=ZC.evalFn(c.replace("javascript:","").replace("()",""),window);if(h&&_)try{var f=_.call(this,a);for(var m in f)h.setAttribute(m,f[m])}catch{}}}sharedZScale(){var t=this,e=t.C,a=e.P;if(e.o["scale-z"]&&e.E["plot"+t.L+".visible"]){var c,h,_,f,m;if(c=new CE(e,a.iX+a.I-ZC.AQ.E3+10,a.iY+a.F-ZC.AQ.E4,t.E["z-mid"]),(h=new DV(t)).GO=e.K+"-scale-z-item "+e.K+"-scale-item zc-scale-item",h.K=e.K+"-scale-z-item_"+t.L,h.AN=e.o["scale-z"][ZC._[5]][t.L],h.Z=h.C7=t.H.usc()?t.H.mc():ZC.AM(e.K+"-scales-ml-0-c"),m=ZC.Q.EA(h.Z,t.H.AC),h.IW=t.H.usc()?ZC.AM(t.H.K+"-main"):ZC.AM(t.H.K+"-text"),h.append(e.o["scale-z"].item),h.parse(),h.AA+=h.VS?0:ZC.DJ.A3W(e,h),h.iX=c.EC[0],h.iY=c.EC[1],h.o["auto-align"]&&h.VS&&(h.iY-=h.F/2),h.paint(),null===ZC._n_(t.E["scale-z-item-max-width"])&&(t.E["scale-z-item-max-width"]=0),t.E["scale-z-item-max-width"]=ZC.BQ(t.E["scale-z-item-max-width"],h.I),t.E["z-cnt"]===t.E["z-plots"]-1&&e.o["scale-z"].label){var v,E;c=new CE(e,a.iX+a.I-ZC.AQ.E3+20+t.E["scale-z-item-max-width"],a.iY+a.F-ZC.AQ.E4,ZC.AQ.FY/2),(h=new DV(t)).GO=e.K+"-scale-z-label "+e.K+"-scale-label zc-scale-label",h.K=e.K+"-scale-z-label",h.Z=h.C7=t.H.usc()?t.H.mc():ZC.AM(e.K+"-scales-ml-0-c"),m=ZC.Q.EA(h.Z,t.H.AC),h.IW=t.H.usc()?ZC.AM(t.H.K+"-main"):ZC.AM(t.H.K+"-text"),h.append(e.o["scale-z"].label),h.parse(),v=new CE(e,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,0),E=new CE(e,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,ZC.AQ.FY);var w=ZC.UI(Math.atan((E.EC[1]-v.EC[1])/(E.EC[0]-v.EC[0])));h.AA+=h.VS?0:w,h.iX=c.EC[0],h.iY=c.EC[1],h.paint()}if(e.o["scale-z"].tick&&((f=new DX(t)).B7="#cccccc",f.B1=1,f.AI=6,f.append(e.o["scale-z"].tick),f.parse(),f.AO&&f.B1>0)){f.K=e.K+"-scale-z-tick-"+t.L;for(var D=[],M=[[a.iX+a.I,a.iY+a.F],[a.iX+a.I+f.AI,a.iY+a.F]],T=0;T0&&f.AO&&(f.A0=f.AE=f.B7,(_=ZC.DJ.DB(f,e,a.iX+a.I-ZC.AQ.E3-f.B1,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,a.iY+a.F-ZC.AQ.E4,0,ZC.AQ.FY,"x")).K=e.K+"-scale-z-axis",e.CL.add(_))),t.E["z-cnt"]>0&&e.o["scale-z"].guide&&((f=new CZ(t)).B7="#cccccc",f.B1=1,f.append(e.o["scale-z"].guide),f.parse(),f.B1>0&&f.AO&&(f.A0=f.AE=f.B7,(_=ZC.DJ.DB(f,e,a.iX-ZC.AQ.E3,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,a.iY+a.F-ZC.AQ.E4+f.B1,t.E["z-cnt"]*t.E["z-depth"],t.E["z-cnt"]*t.E["z-depth"],"y")).K=e.K+"-scale-z-guideh-"+t.L,e.CL.add(_),(_=ZC.DJ.DB(f,e,a.iX-ZC.AQ.E3,a.iX-ZC.AQ.E3,a.iY-ZC.AQ.E4,a.iY+a.F-ZC.AQ.E4,t.E["z-cnt"]*t.E["z-depth"],t.E["z-cnt"]*t.E["z-depth"]+f.B1,"y")).K=e.K+"-scale-z-guidev-"+t.L,e.CL.add(_))),e.o["scale-z"].items&&e.o["scale-z"].items.length&&((f=new CZ(t)).A0=f.AE="#ff9900",f.C5=.25,f.append(e.o["scale-z"].items[t.E["z-cnt"]%e.o["scale-z"].items.length]),f.parse(),(_=ZC.DJ.DB(f,e,a.iX-ZC.AQ.E3,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,a.iY+a.F-ZC.AQ.E4,t.E["z-cnt"]*t.E["z-depth"],t.E["z-cnt"]*t.E["z-depth"]+t.E["z-depth"],"z")).K=t.K+"-item-",e.CL.add(_))}}gc(){if(this.R)for(var t=0;t1&&"spline"===Q&&(Q="segmented"),m.B0.EG&&m.EG){for(a=m.Y,m.NE&&(a=1),t=0,e=m.R.length;t0||ZC.DM(m.R[t].BW,m.B0.V[m.B0.W],m.B0.V[m.B0.A1])||T&&m.R[t+a]&&m.R[t+a].BW>=m.B0.V[m.B0.W])&&(T&&m.R[t-a]&&(-1===$&&($=t-a),y=t-a,T=!1,R++),-1===$&&($=t),y=t,R++,T=!1,c=t);R>0&&m.R[c+a]&&(-1===$&&($=c+a),y=c+a,m.R[c+a].J6=!0)}else $=m.B0.W,y=m.M4||"log"===m.B0.BT?m.R.length:m.B0.A1;m.Y=O;var W=-1;a=m.Y,m.NE&&(a=1);var ae=null,ee=null,ne=0,oe=1;for(c=$,v?y-$>m.C.P.F&&(ne=4/m.C.P.I*(m.CM.BD-m.CM.AY),oe=ZC._f_((y-$)/(4*m.C.P.F))):y-$>m.C.P.I&&(ne=4/m.C.P.F*(m.CM.BD-m.CM.AY),oe=ZC._f_((y-$)/(4*m.C.P.I))),m.o["sampling-threshold"]&&(ne*=Math.max(1,(y-$)/ZC._i_(m.o["sampling-threshold"])),oe*=Math.max(1,(y-$)/ZC._i_(m.o["sampling-threshold"]))),m.D=[],t=$;t<=y;t+=a){var te=!1;if(((y-$)%m.Y!=0||m.B0.EG&&m.EG)&&y-t<=m.Y&&(a=ZC.BQ(1,y-t),te=!0),m.NE&&!te&&m.R[t])if(null===ZC._n_(ae))ae=m.R[t].CP,c=t,ee=0;else{if(Math.abs(m.R[t].CP-ae)$&&($=y)),D.E["min-y"]=Math.min(V,$),D.E["max-y"]=Math.max(V,$),D.CD&&D.A.F3){var U=ZC.MAX,O=-ZC.MAX;for(t=0,e=D.A.F3.length;t1&&"spline"===pe&&(pe="segmented"),D.B0.EG&&D.EG){for(c=D.Y,D.NE&&(c=1),t=0,e=D.R.length;t0||ZC.DM(D.R[t].BW,D.B0.V[D.B0.W],D.B0.V[D.B0.A1])||he&&D.R[t+c]&&D.R[t+c].BW>=D.B0.V[D.B0.W])&&(he&&D.R[t-c]&&(-1===De&&(De=t-c),ge=t-c,he=!1,fe++),-1===De&&(De=t),ge=t,fe++,he=!1,a=t);fe>0&&D.R[a+c]&&(-1===De&&(De=a+c),ge=a+c,D.R[a+c].J6=!0)}else De=D.B0.W,ge=D.M4||"log"===D.B0.BT?D.R.length:D.B0.A1;D.Y=Ze,ee||D.A.D7&&(oe=D.A.D7.reverse());var ve=null,ke=null,de=0,Oe=1;a=De,M?ge-De>D.C.P.F&&(de=4/D.C.P.I*(D.CM.BD-D.CM.AY),Oe=ZC._f_((ge-De)/(4*D.C.P.F))):ge-De>D.C.P.I&&(de=4/D.C.P.F*(D.CM.BD-D.CM.AY),Oe=ZC._f_((ge-De)/(4*D.C.P.I)));var Fe=!1,be=!1,Se=-1;c=D.Y,D.NE&&(c=1),Fe=!0,!D.A.SB&&ee&&(D.A.SB={},D.A.W9={});var xe=null,we=null;if(D.A.SB&&!D.A.SB["s"+D.DZ]&&ee){D.A.SB["s"+D.DZ]={},D.A.W9["s"+D.DZ]={};var Re=D.A.XD["s"+D.DZ];for(t=0;t<=Re.length;t++)null!==ZC._n_(Re[t])&&(h=D.B0.EG?ZC._i_(D.B0.AK(Re[t])):ZC._i_(D.B0.H7(Re[t])),D.A.SB["s"+D.DZ][h]=se,D.A.W9["s"+D.DZ][h]=se)}for(ee&&(xe=D.A.SB["s"+D.DZ],we=D.A.W9["s"+D.DZ]),t=De;t<=ge;t+=c){var Ie=!1;if(((ge-De)%D.Y!=0||D.B0.EG&&D.EG)&&ge-t<=D.Y&&(c=ZC.BQ(1,ge-t),Ie=!0),D.NE&&!Ie&&D.R[t])if(null===ZC._n_(ve))ve=D.R[t].CP,a=t,ke=0;else{if(Math.abs(D.R[t].CP-ve)D.B0.iY&&(te.push([se,D.B0.iY]),te.push([se,ie.iY]),oe.push([se,ie.iY])):ie.iX>D.B0.iX&&(te.push([D.B0.iX,se]),te.push([ie.iX,se]),oe.push([ie.iX,se])),Fe=!1),ne.push([ie.iX,ie.iY]),ee?M?we[ZC._i_(ie.iY)]=ie.iX:we[ZC._i_(ie.iX)]=ie.iY:(te.push([ie.iX,ie.iY]),oe.push([ie.iX,ie.iY]));break;case"spline":M?(le.push(ie.iX),ce.push(ie.iY),1===le.length&&(le.push(ie.iX),ce.push(ie.iY))):(le.push(ie.iY),ce.push(ie.iX),1===le.length&&(le.push(ie.iY),ce.push(ie.iX)));break;case"stepped":var Ne=D.B0.AW?-1:1;switch(D.SZ){default:(f=D.FK(t-c,0))&&(f.setup(),_=ZC.AP.K3(D.R[t-c].iX,D.R[t-c].iY,ie.iX,ie.iY),ne.push(M?[ie.iX,_[1]]:[_[0],ie.iY]),ee?M?we[ZC._i_(_[1])-Ne]=ie.iX:we[ZC._i_(_[0])+Ne]=ie.iY:(te.push(M?[ie.iX,_[1]]:[_[0],ie.iY]),oe.push(M?[ie.iX,_[1]]:[_[0],ie.iY]))),ne.push([ie.iX,ie.iY]),ee?M?we[ZC._i_(ie.iY)]=ie.iX:we[ZC._i_(ie.iX)]=ie.iY:(te.push([ie.iX,ie.iY]),oe.push([ie.iX,ie.iY])),(m=D.FK(t+c,0))&&(m.setup(),_=ZC.AP.K3(ie.iX,ie.iY,D.R[t+c].iX,D.R[t+c].iY),ne.push(M?[ie.iX,_[1]]:[_[0],ie.iY]),ee?M?we[ZC._i_(_[1])+Ne]=ie.iX:we[ZC._i_(_[0])-Ne]=ie.iY:(te.push(M?[ie.iX,_[1]]:[_[0],ie.iY]),oe.push(M?[ie.iX,_[1]]:[_[0],ie.iY])));break;case"before":(f=D.FK(t-c,0))&&(f.setup(),ne.push([D.R[t-c].iX,D.R[t-c].iY],[D.R[t-c].iX,ie.iY]),ee?M?(we[ZC._i_(ie.iY)+Ne]=D.R[t-c].iX,we[ZC._i_(ie.iY)]=D.R[t-c].iX):(we[ZC._i_(D.R[t-c].iX)]=D.R[t-c].iY,we[ZC._i_(D.R[t-c].iX)+Ne]=ie.iY):(te.push([D.R[t-c].iX,D.R[t-c].iY],[D.R[t-c].iX,ie.iY]),oe.push([D.R[t-c].iX,D.R[t-c].iY],[D.R[t-c].iX,ie.iY]))),ne.push([ie.iX,ie.iY]),ee?M?we[ZC._i_(ie.iY)]=ie.iX:we[ZC._i_(ie.iX)]=ie.iY:(te.push([ie.iX,ie.iY]),oe.push([ie.iX,ie.iY]));break;case"after":ne.push([ie.iX,ie.iY]),ee?M?we[ZC._i_(ie.iY)]=ie.iX:we[ZC._i_(ie.iX)]=ie.iY:(te.push([ie.iX,ie.iY]),oe.push([ie.iX,ie.iY])),(m=D.FK(t+c,0))&&(m.setup(),ne.push([D.R[t+c].iX,ie.iY],[D.R[t+c].iX,D.R[t+c].iY]),ee?M?(we[ZC._i_(ie.iY)-Ne]=D.R[t+c].iX,we[ZC._i_(D.R[t+c].iY)]=D.R[t+c].iX):(we[ZC._i_(D.R[t+c].iX)-Ne]=ie.iY,we[ZC._i_(D.R[t+c].iX)]=D.R[t+c].iY):(te.push([D.R[t+c].iX,ie.iY],[D.R[t+c].iX,D.R[t+c].iY]),oe.push([D.R[t+c].iX,ie.iY],[D.R[t+c].iX,D.R[t+c].iY])))}}me&&ie.MY(ZC.Q.EA(D.CO("fl",0),D.H.AC)),(D.RI&&ae||D.FV||D.U)&&ie.OX(),ie.J6=!0}else null!==ZC._n_(D.o["connect-nulls"])&&ZC._b_(D.o["connect-nulls"])||(ne.push(null),le.push(null),ce.push(null),ee||(oe.length-1>=0&&oe.push(M?[se,oe[oe.length-1][1]]:[oe[oe.length-1][0],se]),te.length-1>=0&&te.push(M?[se,oe[oe.length-1][1]]:[oe[oe.length-1][0],se]),be=!0))}if("segmented"!==pe&&"stepped"!==pe||ee||oe.length-1>=0&&oe.push(M?[se,oe[oe.length-1][1]]:[oe[oe.length-1][0],se]),"spline"===pe){le.push(le[le.length-1]),ce.push(ce[ce.length-1]),ne=[],ee||oe.push(M?[se,ce[0]]:[ce[0],se]);for(var We=1;We0){var lt=te[te.length-1];M||lt[0]=1&&(h=t.CF/t.B0.AB);var _=t.CS;t.CS>=1&&(_=t.CS/t.B0.AB);var m=ZC._x_((1-h-_)/(3*c+1));t.CF=h+m+3*(a-1)*m,t.CS=1-t.CF-2*m}}}RB(){var t,e=this;if(e.S0)return e.S0;if(e.o["fast-dimensions"]&&e.A.A3[0].S0)return e.A.A3[0].S0;e.bKeyWidth&&(e.assign_a([["bar-width","D3","fp"]]),e.D3=e.D3/(e.B0.BD-e.B0.AY)*((e.B0.CJ?e.B0.F:e.B0.I)-e.B0.A9-e.B0.BS));var a,c=e.B0.AB*e.Y,h=0;for(e.A.KB[e.AF]=e.A.KB[e.AF]||[],t=0;t1&&(T/=h-1),T<0&&(D=c-w-M-(T=0)*(h-1))),R=(D=ZC.BQ(D,1*h))/h):h>1&&(T=0,R=D/h,y<=1&&(y*=R),M=(V=c-(D=h*(R-(y=ZC.CX(y,R)))+y)-T*(h-1))-(w=V*($=0===M?1:w/M)/(1+$)),w<1&&(D-=1-w))):(D=c-w-M,0===e.F0||h<=1?((T=e.F4)<=1&&(T*=D/h),M=(V=c-D-(T=ZC.BQ(0,T))*(h-1))-(w=V*($=0===M?1:w/M)/(1+$)),w<1&&(w=M=0,T=c-D,h>1&&(T/=h-1),T<0&&(D=c-w-M-(T=0)*(h-1))),R=(D=ZC.BQ(D,1*h))/h):h>1&&(R=D/h,y>1&&(y=R/y),y*=R=D/(h-h*y+y),M=(V=c-D-(T=0)*(h-1))-(w=V*($=0===M?1:w/M)/(1+$)),w<1&&(D-=1-w))),-1!==e.ZG&&R>e.ZG&&!e.E.bw&&(e.D3=e.ZG),e.S0={AB:c,EU:a,CF:w,CS:M,F4:T,D3:R,F0:y},{AB:c,EU:a,CF:w,CS:M,F4:T,D3:R,F0:y}}paint(){var t=this;super.paint(),t.KN=t.CO("bl",0);var e=t.FH;t.A35=!1,t.SO=null;var a=1;t.B0.EG&&(a=t.R.length/(t.B0.DN-t.B0.D5)),0!==t.E5.length||t.I4||t.C.KR||"svg"!==t.H.AC||!(t.B0.A1-t.B0.W>2048||t.B0.EG&&a*(t.B0.A1-t.B0.W)>2048)||(t.A35=!0,null===ZC._n_(t.o["rect-shortcut"])&&(t.FH=!0)),t.FH||(t.A35=!1),t.OG(),t.FH=e,t.RefNode=null,t.WQ=null}}class R7 extends A2U{constructor(t){super(t),this.AF="vbar"}G3(){return new A00(this)}}class R8 extends A2U{constructor(t){super(t),this.AF="hbar"}G3(){return new A01(this)}}class PN extends WV{constructor(t,e){super(t),this.AF=e||"scatter",this.PF="markerbg",this.bPoly=!1,this.HW=.5}G3(){return new A6H(this)}parse(){var t=this;t.BP=t.NQ(),t.C2=t.BP[0],t.A0=t.BP[1],t.AE=t.BP[1],t.B7=t.BP[2],t.BX=t.BP[2],t.NH(),super.parse(),t.assign_a([["alpha-area","HW","f",0,1]]),t.B0=t.C.BK(t.BV("k")[0]),t.CM=t.C.BK(t.BV("v")[0])}paint(){var t,e,a,c=this;if(super.paint(),c.KN=c.CO("bl",0),c._oCtxNode=ZC.Q.EA(c.CO("bl",0),c.H.AC),!c.GZ||c.C.AJ["3d"]||"fast"!==c.A1E||0!==c.SA)c.OG(!0);else{var h=null,_=c.B0,f=c.CM;c.VW(!0);var m=new DX(c.A);for(m.Z=c.CO("bl",1),m.C7=c.CO("bl",0),m.B7=c.BP[3],m.BX=c.BP[3],m.A0=c.BP[2],m.AE="bubble"===c.AF||"hbubble"===c.AF?c.BP[1]:c.BP[2],m.append(c.A2.o),m.parse(),e=0;e<=c.R.length;e++)if(h=c.FK(e)){var v=!1;_.CJ?ZC.DM(h.iX,f.iX+(f.AW?f.BS:f.A9)-1,f.iX+f.I-(f.AW?f.A9:f.BS)+1)&&ZC.DM(h.iY,_.iY+(_.AW?_.BS:_.A9)-1,_.iY+_.F-(_.AW?_.A9:_.BS)+1)&&(v=!0):ZC.DM(h.iX,_.iX+(_.AW?_.BS:_.A9)-1,_.iX+_.I-(_.AW?_.A9:_.BS)+1)&&ZC.DM(h.iY,f.iY+(f.AW?f.A9:f.BS)-1,f.iY+f.F-(f.AW?f.BS:f.A9)+1)&&(v=!0),v&&(h.J6=!0,c.R[e].J6=!0,m.K=h.K+"-marker",m.iX=h.iX,m.iY=h.iY,"circle"!==m.DS&&m.parse(),"none"!==c.J8&&(c.C.J4[c.L]||c.C.KR)&&(m.o={},m.M1={},c.C.CC["p"+c.L]&&c.C.CC["p"+c.L]["n"+e]?m.M1=c.Q0?c.Q0.o:{}:"none"!==c.OE&&("plot"===c.OE&&c.C.J4[e]||"graph"===c.OE&&c.C.KR)&&(m.M1=c.PY?c.PY.o:{}),m.B7=c.BP[3],m.BX=c.BP[3],m.A0=c.BP[2],m.AE="bubble"===c.AF||"hbubble"===c.AF?c.BP[1]:c.BP[2],m.append(c.A2.o),m.parse()),m.paint())}}if(c.bPoly){for(t=[],e=0,a=c.R.length;e=t.VD&&(t.QK=.2,t.VD=1),t.B0=t.C.BK(t.BV("k")[0]),t.CM=t.C.BK(t.BV("v")[0])}paint(){var t=this;super.paint(),t.KN=t.CO("bl",0),t.A5H=t.A46=-ZC.MAX,t.YT=t.X6=ZC.MAX,t.A6R=t.A5I=0;for(var e=0,a=t.A.A3.length;eh&&(e.Y=ZC._i_(5*(e.B0.A1-e.B0.W)/h));var _=e.B0.EG;if(_&&e.QG[0]===ZC.MAX&&e.QG[1]===-ZC.MAX&&(_=!1),e.bFastRange=e.R.length>1024,(e.B0.A1-e.B0.W)/(e.B0.DN-e.B0.D5)<.1&&(e.bFastRange=!1),_)for(R=0,t=e.R.length;R')}}}paint(){var t=this;super.paint(),t.KN=t.CO("bl",0),t.A5G=ZC.Q.EA(t.CO("bl",1),t.H.AC),t.OK=ZC.Q.EA(t.CO("bl",2),t.H.AC),t.OG(),t.aPointsMin=[],t.aPointsMax=[],t.D=null,t.D7=null,t.A0A=null,t.SH=null}}class Y0 extends WW{constructor(t){super(t),this.AF="pie3d",this.JP=-1}parse(){super.parse(),this.assign_a([["thickness","JP","ia"]])}G3(){return new A84(this)}}class V5 extends R7{constructor(t){super(t),this.AF="vbar3d"}G3(){return new A7H(this)}parse(){var t=this;super.parse(),null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.BP[0]),null===ZC._n_(t.o["line-color"])&&(t.B7=t.BP[0])}paint(){super.paint(),this.sharedZScale()}}class WY extends R8{constructor(t){super(t),this.AF="hbar3d"}G3(){return new A7I(this)}parse(){var t=this;super.parse(),null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.BP[0]),null===ZC._n_(t.o["line-color"])&&(t.B7=t.BP[0])}}class V6 extends R5{constructor(t){super(t),this.AF="line3d"}G3(){return new A7J(this)}parse(){var t=this;super.parse(),null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.BP[1])}paint(){super.paint(),this.sharedZScale()}}class V7 extends R6{constructor(t){super(t),this.AF="area3d"}G3(){return new A7K(this)}parse(){var t=this;super.parse(),null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.BP[1])}paint(){super.paint(),this.sharedZScale()}}class ZK extends IQ{constructor(t){super(t);var e=this;e.AF="venn",e.ACA=[],e.AA6=[],e.BO=["scale"],e.PF="bg"}G3(){return new A8X(this)}parse(){var t=this;t.BP=t.NQ(),t.C2=t.BP[0],t.BX=t.BP[1],t.A0=t.BP[3],t.AE=t.BP[3],t.NH(),super.parse(),t.assign_a([["join","ACA"],["share","AA6"]])}paint(){var t=this;super.paint(),t.KN=t.CO("bl",0),t.OG(!0)}}class MM extends DV{constructor(A){super(A);var t=this;t.C=A.A.A,t.H=t.C.A,t.L=-1,t.AD=null,t.DP=[],t.CP=null,t.BW=null,t.CK=null,t.JW=[],t.IJ=!1,t.QB=!0,t.O=t,t.J6=!1,t.A2N=!1}GN(A,t){super.GN(this.A,A,t,this.LO(null,!1),this.A.MV)}OS(){return[this.iX,this.iY,{reference:this,center:!0}]}A6E(){return[this.iX,this.iY]}getTooltipPosition(A,t,e){var a,c,h,_,f=this;switch(f.paint(!0),a=f.iX,c=f.iY,h=f.I,_=f.F,t){case"center":a=f.iX+h/2,c=f.iY+_/2;break;case"top":a=f.iX+h/2,c=f.iY,c=e?c-e:c;break;case"bottom":a=f.iX+h/2,c=f.iY+_,c=e?c+e:c;break;case"left":a=f.iX,c=f.iY+_/2,a=e?a-e:a;break;case"right":a=f.iX+h,c=f.iY+_/2,a=e?a+e:a;break;default:a+=f.BL,c+=f.BH}return{x:a,y:c}}setNodeData(A){var t=this;for(var e in A)A.hasOwnProperty(e)&&(t.A.GZ?t.A.R[t.L][e]=A[e]:t.E[e]=A[e])}getNodeData(A){return this.A.GZ?this.A.R[this.L][A]:this.E[A]}XI(){var A,t,e=this,a=e.C.E,c=e.A.L;null===ZC._n_(a.update)&&(a.update={});var h=a.update,_=""+e.AD,f=e.A.LZ();for(ZC.PQ(_)&&ZC._f_(_)<0&&"currency"===f.negation&&(_=ZC._a_(ZC._f_(_))),f.utc=e.C.V0,f.timezone=e.C.NL,_=ZC.AR.G6(_,f,e.A),h["plot-"+c+"-value"]=_,h["plot-"+c+"-value-0"]=_,A=0,t=e.DP.length;A0?100*e.CP/e.A.A.FA[e.L]["%total-"+e.A.DZ]:100*e.CP:e.CP+0)):(e.iX=null!==e.BW?a.AK(e.BW):e.A.M4?"bar"===e.A.sMetaType?a.H7(e.A.RJ):a.H7(e.A.RJ)+e.A.S2+e.L*(a.AB-2*e.A.S2)/(e.A.R.length-1)-a.AB/2:"log"===a.BT?a.AK(e.L):a.H7(e.L),e.iY=c.AK(e.A.CD&&"100%"===e.A.KZ?e.A.A.FA[e.L]["%total-"+e.A.DZ]>0?100*e.CP/e.A.A.FA[e.L]["%total-"+e.A.DZ]:100*e.CP:e.CP+0)),e.A.GZ&&(e.A.R[e.L].iX=e.iX,e.A.R[e.L].iY=e.iY),e.JW=h),e.IJ||(0!==e.A.E5.length||-1===ZC.AV(["line","area","vbar","hbar","line3d","area3d","vbar3d","hbar3d"],e.A.AF)||e.A.o.override?ZC.A5.browser.mozilla||e.A.o.override?(e.copy(e.A),e.E5=e.A.E5,e.DC(),e.parse(!1),e.O=e):(A=e.A9O(e.A.E5),null===ZC._n_(t=e.A.A6O[A])?(e.copy(e.A),e.E5=e.A.E5,e.DC(),e.parse(!1),e.O=e,e.A.A6O[A]=e):e.O=t):e.O=e.A,e.A.o.override&&(e.O.E.plotidx=e.A.L,e.O.E.nodeidx=e.L,e.O.parse(!1)),e.IJ=!0)}a11y(){var A=this,t="";if(A.H.bA11y){if(A.A.GZ){var e=this.A.FK(A.L,1,!0);e&&(t=e.ET(this.C.A7.o.text||this.A.A7.o.text||this.A.JE))}else t=A.ET(this.C.A7.o.text||this.A.A7.o.text||this.A.JE);return A.A.AN&&-1===t.indexOf(A.A.AN)&&(t=A.A.AN+":"+t),t=t.replace(/<.+?>/gi," "),'tabindex="0" aria-label="Series '+(this.A.L+1)+" of "+this.A.A.A3.length+", point "+(this.L+1)+" of "+this.A.R.length+". "+t+'"'}return""}HG(){var A,t=this;if(t.o[ZC._[9]]instanceof Array&&(t.CK=t.o[ZC._[9]].join(" "),"string"==typeof t.o[ZC._[9]][0]?-1!==(A=ZC.AV(t.A.B0.J2,t.o[ZC._[9]][0]))?t.BW=A:(t.A.B0.J2.push(t.o[ZC._[9]][0]),t.BW=t.A.B0.J2.length-1):t.BW=parseFloat(t.o[ZC._[9]][0]),"string"==typeof t.o[ZC._[9]][1]?-1!==(A=ZC.AV(t.A.CM.JT,t.o[ZC._[9]][1]))?t.AD=A:(t.A.CM.JT.push(t.o[ZC._[9]][1]),t.AD=t.A.CM.JT.length-1):t.AD=parseFloat(t.o[ZC._[9]][1]),null!==t.BW&&t.A.TI(t.BW,t.L),t.A.Z8>0&&t.o[ZC._[9]].length>t.A.Z8))for(var e=t.o[ZC._[9]].length-t.A.Z8;e0&&h.A.OA.length>t-1&&h.F9(A,t+1),h.AO||"pie"===h.A.AF||"pie3d"===h.A.AF){var _,f=1===t?h.A.U:h.A.OA[t-2];if(f){if(h.A.A7P)(_=h.A.A7P).K=h.K+"-value-box-"+t,_.Z=_.C7=h.H.usc()?h.H.mc("top"):h.C.AJ["3d"]||h.H.KI?ZC.AM(h.C.K+"-plots-vb-c"):ZC.AM(h.C.K+"-plot-"+h.A.L+"-vb-c"),_.IW=h.H.usc()?ZC.AM(h.C.A.K+"-top"):ZC.AM(h.C.A.K+"-text"),_.E.plotidx=h.A.L,_.E.nodeidx=h.L,c=ZC.AR.OH(_.o,h.A.o),_.ET=function(O){return h.ET(O,c)},_.parse();else{_=new DV(h.A),f.o.rules||h.A.U.I4||(a="all",null!==ZC._n_(e=f.o.type)&&(a=e),"pie"===h.C.AF||"nestedpie"===h.C.AF||"pie3d"===h.C.AF||"all"!==a||h.A.OA&&0!==h.A.OA.length||(h.A.A7P=_)),_.append(f.o),h.appendToValueBox&&!A&&(_.parse(),_.append(h.appendToValueBox(_))),_.GO=h.C.K+"-value-box "+h.C.K+"-plot-"+h.A.L+"-value-box zc-value-box",_.K=h.K+"-value-box-"+t,_.Z=_.C7=h.H.usc()?h.H.mc("top"):h.C.AJ["3d"]||h.H.KI?ZC.AM(h.C.K+"-plots-vb-c"):ZC.AM(h.C.K+"-plot-"+h.A.L+"-vb-c"),_.IW=h.H.usc()?ZC.AM(h.C.A.K+"-top"):ZC.AM(h.C.A.K+"-text"),c=ZC.AR.OH(_.o,h.A.o),_.ET=function(O){return h.ET(O,c)};var m=h.JD(_);if(null!==ZC._n_(e=m.color)&&(_.C2=e),null!==ZC._n_(e=m[ZC._[0]])&&(_.A0=_.AE=e),_.E.plotidx=h.A.L,_.E.nodeidx=h.L,h.A.U.I4&&(h.A.U.GN(h.A.U,_,null,h.LO(null,!1)),_.parse()),_.parse(),_.IX=function(O){return h.IX(O)},_.DC()&&(c=_.overrideFormat(c),_.parse()),!h.A.Z7){var v=new DV(h.A);v.copy(_),h.A.Z7=v}if(a="all",null!==ZC._n_(e=f.o.type)&&(a=e),_.AO){_.AO=!1;var E=h.A.o[ZC._[17]].text||"";if("values("===a.substring(0,7)){var w=a.substring(7,a.length).replace(")","").split(",");-1!==ZC.AV(w,h.AD)&&(_.AO=!0)}else{var D=a.split(","),M={min:"%plot-min-value",max:"%plot-max-value",first:"%plot-min-index",last:"%plot-max-index"};for(var T in M)-1!==ZC.AV(D,T)&&(("first"!==T&&"last"!==T||h.L!==h.A.JF[M[T]])&&("min"!==T&&"max"!==T||h.AD!==h.A.JF[M[T]])||("object"==typeof E&&null!==ZC._n_(E[T])&&(_.o.text=E[T],_.parse()),_.AO=!0));-1!==ZC.AV(D,"all")&&(_.AO=!0)}}}if(h.C.E["plot"+h.A.L+".visible"]||(_.E["css-display"]="none"),A)return _;if(_.AO&&null!==ZC._n_(_.AN)&&""!==_.AN){var R=h.HL(_);_.E.positioninfo=R,_.iX=R[0],_.iY=R[1];var V={};if(-1!==_.iX&&-1!==_.iY){var $=!1;if(null!==ZC._n_(_.o.overlap)&&!ZC._b_(_.o.overlap)){V={x:_.iX,y:_.iY,width:_.I,height:_.F};for(var y=0,U=h.A.A.ZH.length;y=a.LM&&!a.AW||e.AD=e.AD&&e.AD<=f?h="bottom":_<=e.AD&&e.AD>=f?h="top":_>=e.AD&&e.AD>=f?h=_/e.AD>e.AD/f?"bottom":"top":_<=e.AD&&e.AD<=f&&(h=e.AD/_>f/e.AD?"top":"bottom")}var m=A.I,v=A.F,E=e.iX-m/2,w=e.iY-v/2;switch(h){case"top":w-=c*(v/2+4);break;case"bottom":w+=c*(v/2+4);break;case"left":E-=m/2+4;break;case"right":E+=m/2+4}return e.C.AJ["3d"]||(E=ZC.BQ(e.C.P.iX-m/2,E),E=ZC.CX(e.C.P.iX+e.C.P.I-m/2,E),w=ZC.BQ(e.C.P.iY-v,w),w=ZC.CX(e.C.P.iY+e.C.P.F,w)),null!==ZC._n_(A.o.x)&&(E=A.iX),null!==ZC._n_(A.o.y)&&(w=A.iY),[ZC._i_(E),ZC._i_(w)]}OX(A,t){var e,a,c,h,_,f=this;if(typeof f.A.bBS===ZC._[31]&&(f.A.bBS=-1===ZC.AV(["bubble","hbubble","scatter","hscatter"],f.A.AF)),null!==ZC._n_(f.A.o["markers-on-top"])&&(f.A.bBS=ZC._b_(f.A.o["markers-on-top"])),!f.C.OM||!f.A.bBS){null===ZC._n_(A)&&(A=!1),null===ZC._n_(t)&&(t=!1);var m=f.C.P.E.tolerance||2,v=!0;if(ZC.DM(f.iX,f.C.P.iX-m,f.C.P.iX+f.C.P.I+m)&&ZC.DM(f.iY,f.C.P.iY-m,f.C.P.iY+f.C.P.F+m)||(v=!1,0!==zingchart.DEV.TRACKERMASKING)){var E=f.C.K+ZC._[34]+f.C.K+ZC._[35]+f.A.L+ZC._[6];if(-1===ZC.AV(f.H.KX,ZC._[39])&&f.A.FV){if(f.A.YJ&&!zingchart.DEV.SKIPTRACKERS){var w=f.getNodeData("points");if(-1!==ZC.AV(f.H.KX,ZC._[42])&&-1!==ZC.AV(["line","area"],f.A.AF)&&typeof w===ZC._[31]&&f.paint(!0),w)if(typeof f.E.polypoints===ZC._[31]){if(2===zingchart.DEV.TRACKERMASKING){for(var D=[f.C.P.iX,f.C.P.iY,f.C.P.iX+f.C.P.I,f.C.P.iY+f.C.P.F],M=[[D[0],D[1],D[2],D[1]],[D[0],D[3],D[2],D[3]],[D[0],D[1],D[0],D[3]],[D[2],D[1],D[2],D[3]]],T=[],R=0;R')}if(("area"===f.A.AF||"area3d"===f.A.AF||"radar"===f.A.AF&&("area"===f.A.CV||"range"===f.A.CV))&&f.A.XU){var te=f.getNodeData("pointsarea");""!==(c=ZC.AP.PR(te,4))&&f.A.A.HJ.push(ZC.Q.FT("poly",f.A.E8,f.A.IT)+'class="'+E+'" id="'+f.K+'--area" coords="'+c+'" />')}}if(v&&(f.A.U||!f.A.GZ||!f.A.A2.o||"none"!==f.A.A2.o.type&&(null===ZC._n_(f.A.A2.o.visible)||ZC._b_(f.A.A2.o.visible))))if(t||f.A.RI){if(f.A.HK)h=f.A.HK,"svg"!==f.H.AC&&(A?(_=new CE(f.C,f.iX-ZC.AQ.E3,f.iY-ZC.AQ.E4,f.A.E["z-start"]||0),h.iX=ZC._x_(_.EC[0]),h.iY=ZC._x_(_.EC[1]),f.E["3dxy"]=[h.iX,h.iY]):(h.iX=ZC._x_(f.iX),h.iY=ZC._x_(f.iY)),h.E.plotidx=f.A.L,h.E.nodeidx=f.L,h.K=f.K+"-marker",h.parse(!0));else{if(f.GZ?f.A._oMarker?h=f.A._oMarker:f.A._oMarker=h=new DX(f.A):h=new DX(f.A),h.K=f.K+"-marker",h.E["p-width"]=f.A.B0.AB,h.E["p-height"]=f.A.CM.AB,f.A.bBS)h.Z=f.A.CO("fl",0),h.C7=f.A.CO("fl",0);else if(h.Z=f.A.CO("bl",1),h.C7=f.A.CO("bl",0),Object&&Object.keys&&Object.keys(f.C.CC).length>0){var le=f.C.CC["p"+f.A.L];"none"!==f.A.J8&&le&&le["n"+f.L]&&(h.Z=f.A.CO("bl",2))}if(A?(_=new CE(f.C,f.iX-ZC.AQ.E3,f.iY-ZC.AQ.E4,f.A.E["z-start"]||0),h.iX=ZC._x_(_.EC[0]),h.iY=ZC._x_(_.EC[1]),f.E["3dxy"]=[h.iX,h.iY]):(h.iX=ZC._x_(f.iX),h.iY=ZC._x_(f.iY)),h.B7=f.A.BP[3],h.BX=f.A.BP[3],h.A0=f.A.BP[2],h.AE="bubble"===f.A.AF||"hbubble"===f.A.AF?f.A.BP[1]:f.A.BP[2],h.append(f.A.A2.o),null!==ZC._n_(f.E["marker.size"])&&(h.AI=f.E["marker.size"]),h.E.plotidx=f.A.L,h.E.nodeidx=f.L,"none"!==f.A.J8&&(f.C.J4[f.A.L]||f.C.KR))if(f.C.CC["p"+f.A.L]&&f.C.CC["p"+f.A.L]["n"+f.L]){if(h.M1={},f.A.Q0&&ZC._cp_(f.A.Q0.o,h.M1),h.M1.rules){var ce=new DX(f.A);ce.o=h.M1,ce.parse(),ce.IX=function(Se){return f.IX(Se)},ce.DC()&&(h.M1=ce.o)}}else"none"!==f.A.OE&&("plot"===f.A.OE&&f.C.J4[f.A.L]||"graph"===f.A.OE&&f.C.KR)&&(h.M1=f.A.PY?f.A.PY.o:{});null!==ZC._n_(e=f.A.o.marker)&&null!==ZC._n_(e.styles)&&null!==ZC._n_(a=e.styles[f.L])&&h.append("string"==typeof a?{"background-color":ZC.AR.RC(a,20),"line-color":ZC.AR.JU(a,20),"border-color":ZC.AR.JU(a,20)}:a),h.parse(),h.IX=function(Se){return f.IX(Se)},h.DC()&&h.parse()}if(f.E["marker.size"]=ZC.BQ(2.02,f.E["marker.size"]||h.AI),h.DF=E,!(A||ZC.DM(h.iX,f.C.P.iX-2,f.C.P.iX+f.C.P.I+2)&&ZC.DM(h.iY,f.C.P.iY-2,f.C.P.iY+f.C.P.F+2)))return;if(h.I4&&(f.A.Z6=!1,h.GN(h,h,null,f.LO(null,!1)),h.parse()),f.LF=h,h.AO&&"none"!==h.AF){var Ce=function(){if(f.A.bBS||f.MY(ZC.Q.EA(f.A.CO("bl",0),f.H.AC)),f.E["marker.type"]=h.DS,f.A.FV&&-1===ZC.AV(f.H.KX,ZC._[40])&&!zingchart.DEV.SKIPTRACKERS){var xe=f.E["3dxy"]?f.E["3dxy"][1]:f.iY,we=parseInt((f.E["3dxy"]?f.E["3dxy"][0]:f.iX)+h.BL+ZC.MAPTX,10),Re=parseInt(xe+h.BH+ZC.MAPTX,10),Ie=parseInt(ZC.BQ(ZC.mobile?6:3,f.E["marker.size"]+1)*(ZC.mobile?1.25:1.05),10),Ne=!0;typeof f.A.aLastMarkerXY!==ZC._[31]?Math.sqrt((we-f.A.aLastMarkerXY[0])*(we-f.A.aLastMarkerXY[0])+(Re-f.A.aLastMarkerXY[1])*(Re-f.A.aLastMarkerXY[1]))'):f.A.A.HJ.push(ZC.Q.FT("circle",f.A.E8,f.A.IT)+'class="'+E+'" '+f.a11y()+' id="'+f.K+"--marker"+ZC._[30]+we+","+Re+","+Ie+'" />'))}if(f.A.U&&(f.A.E.vboxid=f.K,f.F9()),!f.A.bBS&&f.C.B9&&f.C.B9.IJ&&f.A.R1&&f.C.B9.AO){var We=f.C.P,Te=f.C.B9,ze=Te.AT,Ve=f.A.HK||h,lt=new DX(f.A);lt.copy(Ve);var Ee=(f.iX-We.iX)/We.I,nt=(f.iY-We.iY)/We.F,Ge=Math.min(ze.F/We.F,ze.I/We.I);lt.iX=ze.iX+ze.AU+Ee*(ze.I-2*ze.AU),lt.iY=ze.iY+ze.AU+nt*(ze.F-2*ze.AU),lt.K=f.K+"-marker-preview",lt.DF=f.A.K+"-preview";var Pe=Ve.AI;null!==ZC._n_(f.E["marker.size"])&&(Pe=f.E["marker.size"]),lt.AI=ZC.BQ(2.02,.9*Ge*Pe),lt.Z=lt.C7=Te.Z,lt.parse(),lt.paint()}},se=!1;if((!f.A.bBS||"radar"===f.A.AF&&"dots"===f.A.CV)&&(se=!0),f.A.GG&&se&&!f.C.HP){var he=h,fe={},ie=h.C5,De=h.AI,ge=h.iX,me=h.iY;he.iX=ge,he.iY=me,fe.x=ge,fe.y=me;var Ze,pe=f.A.LK,ve=f.C.P;for(Ze in he.C5=0,fe.alpha=ie,3===pe?(he.AI=2,fe.size=De):8===pe?(he.iX=ge-ve.iX,fe.x=ge):9===pe?(he.iX=ge+ve.iX,fe.x=ge):10===pe?(he.iY=me-ve.iY,fe.y=me):11===pe&&(he.iY=me+ve.iY,fe.y=me),f.A.FZ)he[EB.GP[ZC.EF(Ze)]]=f.A.FZ[Ze],fe[ZC.EF(Ze)]=f.O[EB.GP[ZC.EF(Ze)]];if(null===ZC._n_(f.C.EN)&&(f.C.EN={}),null!==ZC._n_(f.C.EN[f.A.L+"-"+f.L]))for(Ze in f.C.EN[f.A.L+"-"+f.L])he[EB.GP[ZC.EF(Ze)]]=f.C.EN[f.A.L+"-"+f.L][Ze];f.C.EN[f.A.L+"-"+f.L]={},ZC._cp_(fe,f.C.EN[f.A.L+"-"+f.L]);var ke=new EB(he,fe,f.A.JN,f.A.LI,EB.RX[f.A.LL],function(){Ce()});ke.AX=f,ke.OO=function(){f.MY(ZC.Q.EA(f.A.CO("bl",0),f.H.AC))},f.LD(ke)}else{var de="circle"===h.DS?"circle":"path";if(f.A.HQ){var Oe=function(Se,xe){var we=Se.cloneNode(!1),Re=f.iX,Ie=f.iY;if(A){var Ne=new CE(f.C,Re-ZC.AQ.E3,Ie-ZC.AQ.E4,f.A.E["z-start"]||0);Re=ZC._x_(Ne.EC[0]),Ie=ZC._x_(Ne.EC[1]),f.E["3dxy"]=[Re,Ie]}we.setAttribute("transform","translate("+ZC._i_(Re-h.iX)+","+ZC._i_(Ie-h.iY)+") "+(we.getAttribute("transform")||"")),we.setAttribute("id",xe),"bubble"!==f.A.AF&&"hbubble"!==f.A.AF||we.setAttribute("r",f.E["marker.size"]),Se.parentNode.appendChild(we)};h.MJ&&Oe(f.A.RP,f.K+"-marker-sh-"+de),Oe(f.A.HQ,f.K+"-marker-"+de),h.DA&&Oe(f.A.QM,f.K+"-marker-imgfill")}else if(h.paint(),!f.C.J4[f.A.L]&&f.A.Z6&&h.A0===h.AE)if("svg"===f.H.AC){if(-1===ZC.AV(["pie","square","rect","rectangle","cross","plus","custom"],h.DS))if(f.A.HK=h,zingchart.DEV.DOMFRAGMENTS&&document.querySelector){for(var be in f.H.G5)f.A.HQ||(f.A.HQ=f.H.G5[be].querySelector("#"+f.K+"-marker-"+de)),h.MJ&&!f.A.RP&&(f.A.RP=f.H.G5[be].querySelector("#"+f.K+"-marker-sh-"+de)),h.DA&&!f.A.QM&&(f.A.QM=f.H.G5[be].querySelector("#"+f.K+"-marker-imgfill")||f.H.G5[be].querySelector("#"+f.K+"-marker-path-imgfill"));f.A.HQ||(f.A.HQ=ZC.AM(f.K+"-marker-"+de),h.MJ&&(f.A.RP=ZC.AM(f.K+"-marker-sh-"+de)),h.DA&&(f.A.QM=ZC.AM(f.K+"-marker-imgfill")))}else f.A.HQ=ZC.AM(f.K+"-marker-"+de),h.MJ&&(f.A.RP=ZC.AM(f.K+"-marker-sh-"+de)),h.DA&&(f.A.QM=ZC.AM(f.K+"-marker-imgfill")||ZC.AM(f.K+"-marker-path-imgfill"))}else"bubble"!==f.A.AF&&"hbubble"!==f.A.AF&&(A||(f.A.HK=h));"svg"===f.H.AC&&f.A.applyJsRuleSvg(f.A.A2,f.K+"-marker-"+de,f.LO()),Ce()}}else f.A.U&&f.F9()}else f.A.U&&f.F9()}}}LD(A,t){var e,a=this,c=a.C.M7,h=c.PU,_=a.A.U0;switch(_){default:t&&c.add(t),c.add(A);break;case 1:case 2:case 3:if(t){var f="all";if(1===_?f="plots-group-"+a.L+"-area":2===_&&(f="nodes-group-"+a.A.L+"-area"),null===ZC._n_(h[f])){var m=new A2W(f);c.A63(m,t.XS)}h[f].add(t)}if(e="all",1===_?e="plots-group-"+a.L:2===_&&(e="nodes-group-"+a.A.L),null===ZC._n_(h[e])){var v=new A2W(e);c.A63(v,A.XS)}h[e].add(A)}}SE(A){var t=this;t.A.GZ&&t.A.bXY&&(t.S4(),A&&("scatter"!==t.A.AF&&"hscatter"!==t.A.AF&&"bubble"!==t.A.AF&&"hbubble"!==t.A.AF||t.paint(!0)));var e=t.A.BP;t.LR({layer:A,type:"shape",id:"marker",marker:!0,initcb:function(){this.DS=t.E["marker.type"],this.iX=t.iX,this.iY=t.iY,"bubble"===t.A.AF||"hbubble"===t.A.AF?(this.AE=e[3],this.A0=e[2]):(this.B7=e[3],this.BX=e[3],this.A0=e[2],this.AE=e[1]),this.AI=t.E["marker.size"]}})}YP(A){var t=this;t.LR({layer:A,type:"line",id:"line",initcb:function(){this.B7=t.A.BP[3]}})}LR(A){if(!ZC.move){var t,e,a,c,h,_,f=this,m=A.layer||"hover",v=A.id||"",E=!1;switch(f.GL=null,null!==ZC._n_(t=A.marker)&&(E=ZC._b_(t)),m){case"hover":null!==ZC._n_(f.C.CC["p"+f.A.L])&&null!==ZC._n_(f.C.CC["p"+f.A.L]["n"+f.L])||(a=E?f.A.GC:f.A.IO,c="hover");break;case"highlight":a=E?f.A.VP:f.A.SJ,c="hover"}if(null!==ZC._n_(A.state)&&(a=A.state),a&&f.C.E["plot"+f.A.L+".visible"]&&a.AO){switch(A.type){case"box":(_=new I7(f.A)).QB=!0;break;case"line":_=new DX(f.A),h=ZC.Q.EA(f.C.K+"-"+c+"-c",f.H.AC),_.CY=!1;break;case"shape":_=new DX(f.A);break;case"area":_=new DX(f.A),h=ZC.Q.EA(f.C.K+"-"+c+"-c",f.H.AC)}if(E&&(_.E["p-width"]=f.A.B0.AB,_.E["p-height"]=f.A.CM.AB),_.Z=_.C7=zingchart.DEV.PLOTSHLAYER&&"hover"===c?ZC.AM(f.C.K+"-plots-hover-c"):ZC.AM(f.C.K+"-"+c+"-c"),_.K=f.K+"-"+(""!==v?v+"-":"")+m,_.E.plotidx=f.A.L,_.E.nodeidx=f.L,"hover"!==m&&(_.A2K=!0),A.initcb&&A.initcb.call(_),_.append(a.o),A.parsecb&&A.parsecb.call(_),"hover"===m&&null!==ZC._n_(t=f.A.o)&&null!==ZC._n_(t.styles)&&null!==ZC._n_(e=t.styles[f.L])&&_.append("string"==typeof e?{"background-color":e,"line-color":e,"border-color":e}:e),null!==ZC._n_(t=f.A.o[m+"-state"])&&null!==ZC._n_(t.styles)&&null!==ZC._n_(e=t.styles[f.L])&&_.append("string"==typeof e?{"background-color":e,"line-color":e,"border-color":e}:e),f.A.I4&&f.GN(_,m),"hover"===m&&f.A.A2&&f.A.A2.I4&&(f.A.A2.GN(f.A.A2,_,null,f.LO(null,!1)),_.parse()),_.parse(),_.IX=function(w){return f.IX(w)},_.DC()&&_.parse(),_.AO){switch(A.setupcb&&A.setupcb.call(_),A.type){case"box":case"shape":_.locate(2),_.paint();break;case"line":ZC.CQ.setup(h,_),"plot"===f.A.A47?ZC.CQ.paint(h,_,f.A.VO):ZC.CQ.paint(h,_,f.getNodeData("points"));break;case"area":"spline"!==f.A.CV&&(null!==ZC._n_(t=a.o["alpha-area"])&&(_.C5=ZC._f_(t)),ZC.CQ.setup(h,_),_.paint())}f.GL=_}}}}MY(){}setup(){}HZ(){}L5(){var A=this;ZC.Q.EV([A.K+"-hover-gradient",A.K+"-marker-hover-gradient",A.H.K+"-tooltip-text-gradient",A.H.K+"-tooltip-text-sh-gradient"])}LO(A,t){var e=this;typeof t===ZC._[31]&&(t=!0);var a=!1;"none"!==e.A.J8&&e.C.CC&&e.C.CC["p"+e.A.L]&&e.C.CC["p"+e.A.L]["n"+e.L]&&(a=!0);var c={id:e.C.A.K,graphid:e.C.K,graphindex:e.C.L,plotid:e.A.H9,plotindex:e.A.L,nodeindex:e.L,key:null===e.BW?e.L:e.BW,scaleval:e.A.B0?e.A.B0.V[null===e.BW?e.L:e.BW]:null,scaletext:e.A.B0?e.A.B0.FD(e.L,null===e.BW?null:e.A):null,value:e.AD,text:t?e.ET(e.A.JE):e.A.JE,ev:A?ZC.A5.BY(A):null,x:e.iX,y:e.iY,width:e.I,height:e.F,size:e.E["marker.size"]||1,selected:a};for(var h in e.A.K7)e.A.K7[h]instanceof Array?null!==ZC._n_(e.A.K7[h][e.L])&&(c["data-"+h]=e.A.K7[h][e.L]):c["data-"+h]=e.A.K7[h];return c}P3(A,t){ZC.AR.C1("node_"+t,this.H,this.LO(A))}}class A3J extends MM{setup(){this.S4()}JD(){return{color:this.A.GZ?this.A.B7:this.O.B7}}KH(){return{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}getTooltipPosition(t,e){super.getTooltipPosition(t,e,this.LF.AI)}paint(t){var e=this;typeof t===ZC._[31]&&(t=!1),super.paint();var a=e.A.NN,c=e.A.OK,h=e.A.B0,_=e.A.R;if(e.setup(),!e.A.GZ||e.C.AJ["3d"]||e.A.FV){e.O.CY=e.CY=!1,e.O.C7=e.A.CO("bl",0);var f=[],m=e.A.CV;(e.C.OM||e.A.UN)&&"spline"===e.A.CV&&(m="segmented");var v=typeof e.A.GD!==ZC._[31]?e.A.GD:e.A.Y,E=typeof e.A.HN!==ZC._[31]?e.A.HN:e.A.Y,w=!0,D=!0;(null===ZC._n_(_[e.L-v])||"log"!==h.BT&&!h.EG&&e.L<=h.W)&&(w=!1);var M,T,R,V,$=e.A.M4?e.A.R.length:h.A1;switch((null===ZC._n_(_[e.L+E])||"log"!==h.BT&&!h.EG&&e.L>=$)&&(D=!1),m){default:w&&(e.A.FK(e.L-v,0).setup(),e.A.VF&&(M=ZC.AP.K3(e.A.R[e.L-v].iX,e.A.R[e.L-v].iY,e.A.R[e.L].iX,e.A.R[e.L].iY),f.push(M))),f.push([e.iX,e.iY]),D&&(e.A.FK(e.L+E,2).setup(),M=e.A.VF?ZC.AP.K3(e.A.R[e.L].iX,e.A.R[e.L].iY,e.A.R[e.L+E].iX,e.A.R[e.L+E].iY,e.O.C5):[_[e.L+E].iX,_[e.L+E].iY],f.push(M));break;case"spline":if(e.A.D&&(f=e.A.D),e.A.D=[],_[e.L+1]){var y=[],U=[];for(T=-1;T<3;T++)_[e.L+T]?(e.A.FK(e.L+T,2).setup(),a?(y.push(_[e.L+T].iX),U.push(_[e.L+T].iY)):(y.push(_[e.L+T].iY),U.push(_[e.L+T].iX))):0===y.length?a?(U.push(e.iY),y.push(e.iX)):(U.push(e.iX),y.push(e.iY)):(y.push(y[y.length-1]),U.push(U[U.length-1]));var O=ZC._a_(U[2]-U[1]);O=Math.min(O,Math.max(e.C.I,e.C.F));var Q=ZC.AP.YY(e.A.QP,y,O);if(e.A.VF){for(T=0;T1&&(ee.D=oe,ne.points=f);for(V in e.A.FZ)ee[EB.GP[ZC.EF(V)]]=e.A.FZ[V],ne[ZC.EF(V)]=W[EB.GP[ZC.EF(V)]];if(e.C.EN||(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(V in e.C.EN[e.A.L+"-"+e.L])ee[EB.GP[ZC.EF(V)]]=e.C.EN[e.A.L+"-"+e.L][V];e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(ne,e.C.EN[e.A.L+"-"+e.L]);var ce=new EB(ee,ne,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){Ce()});ce.AX=e,ce.OO=function(){e.MY(ZC.Q.EA(e.A.CO("bl",1),e.H.AC))},ce.I2=c,e.LD(ce)}else ZC.CQ.paint(c,W,f),Ce()}}function Ce(){!e.C.OM&&ZC.DM(e.iX,h.iX-1,h.iX+h.I+1)&&ZC.DM(e.iY,h.iY-1,h.iY+h.F+1)&&(e.OX(),e.MY(ZC.Q.EA(e.A.CO("bl",1),e.H.AC)),e.A.U&&e.A.U.AO&&e.A.E.vboxid!==e.K&&e.F9())}}paintPreview(t,e){var a=this;if(a.C.B9&&a.C.B9.IJ&&a.A.R1){var c,h=a.A.mapPointsToPreview(e);a.A.WK?c=a.A.WK:(c=new CZ(a),a.A.WK=c),c.copy(t),c.K=a.K+"-line-preview",c.DF=a.A.K+"-preview";var _=ZC.Q.EA(a.C.B9.Z,a.H.AC);c.B1=1;var f=a.o["preview-state"];f&&(c.append(f),c.parse()),ZC.CQ.paint(_,c,h,null,3)}}HZ(t){var e=this;ZC.move||(e.YP(t),e.A.RI&&e.SE(t))}}class A3K extends MM{setup(){this.S4()}JD(){return{color:this.A.GZ?this.A.B7:this.O.B7}}KH(){return{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}getTooltipPosition(t,e){return super.getTooltipPosition(t,e,this.LF.AI)}paint(t){var e,a,c,h,_,f,m,v,E=this;typeof t===ZC._[31]&&(t=!1),super.paint();var w=E.A.NN,D=E.A.OK,M=E.A.B0,T=E.A.CM,R=E.A.R;if(E.setup(),!E.A.GZ||E.C.AJ["3d"]||E.A.FV){E.O.CY=E.CY=!1,E.O.C7=E.A.CO("bl",1);var $=T.AK(T.HC);$=w?ZC._l_($,T.iX,T.iY+T.I):ZC._l_($,T.iY,T.iY+T.F);var y=M.DE?M.AB/2:0,U=[],O=[],Q=[],W=null;null!==ZC._n_(E.A.A.F3)&&null!==ZC._n_(E.A.A.F3[E.L])&&(W=E.A.A.F3[E.L]);var ae=E.A.CV;(E.C.OM||E.A.UN)&&"spline"===E.A.CV&&(ae="segmented"),a=E.O.B1/2-1,c="svg"===E.H.AC&&ZC.mobile?E.O.HW/4:0,"vml"===E.H.AC&&E.A.GG&&(c=.5),E.C.AJ["3d"]&&(1===E.A.HW?c=1:(c=E.A.HW/3,"canvas"===E.H.AC&&(ZC.A5.browser.msie||ZC.A5.browser.opera)&&(c=.5)),M.AW&&(c=-c));var ee,ne=typeof E.A.GD!==ZC._[31]?E.A.GD:E.A.Y,oe=typeof E.A.HN!==ZC._[31]?E.A.HN:E.A.Y,te=!0,le=!0;switch((!R[E.L-ne]||"log"!==M.BT&&!M.EG&&E.L<=M.W)&&(te=!1),(!R[E.L+oe]||"log"!==M.BT&&!M.EG&&E.L>=(E.A.M4?E.A.R.length:M.A1))&&(le=!1),ae){default:if(te)E.A.FK(E.L-ne,0).setup(),E.A.VF?(_=ZC.AP.K3(R[E.L-ne].iX,R[E.L-ne].iY,R[E.L].iX,R[E.L].iY),Q.push([ZC._i_(_[0])-c,_[1]-a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(_[0])-c,$]),O.push([ZC._i_(_[0])-c,_[1]+a]),U.push([_[0],_[1]])):O.push([ZC._i_(E.iX),$]);else if(M.EG||E.L!==M.W)E.A.CD&&null!==ZC._n_(W)?(ee=E.A.A.A3[E.A.L-1])&&ee.R[E.L]&&O.push([ZC._i_(E.iX),ee.R[E.L].iY+a]):(O.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX-M.AB/2),$]),Q.push([ZC._i_(E.iX),$]));else if(M.AW)E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.I-M.BS-y),$]),O.push([ZC._i_(M.iX+M.I-M.BS-y),E.iY+a]);else{var Ce=ZC._i_(M.iX+M.A9+y);E.A.M4&&(Ce=M.H7(E.A.RJ)-M.AB/2),E.A.CD&&null!==ZC._n_(W)||O.push([Ce,$]),O.push([Ce,E.iY+a])}Q.push([ZC._i_(E.iX),E.iY-a]),O.push([ZC._i_(E.iX),E.iY+a]),U.push([E.iX,E.iY]),le?(E.A.FK(E.L+oe,2).setup(),h=E.A.VF?ZC.AP.K3(R[E.L].iX,R[E.L].iY,R[E.L+oe].iX,R[E.L+oe].iY):[R[E.L+oe].iX,R[E.L+oe].iY],Q.push([ZC._i_(h[0]),h[1]-a]),O.push([ZC._i_(h[0]),h[1]+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(h[0]),$]),_=E.A.VF?ZC.AP.K3(R[E.L].iX,R[E.L].iY,R[E.L+oe].iX,R[E.L+oe].iY,E.O.C5):[R[E.L+oe].iX,R[E.L+oe].iY],U.push([_[0],_[1]])):E.L===M.A1?M.AW?(O.push([M.iX+M.A9-y,E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.A9-y),$])):(O.push([M.iX+M.I-M.BS-y,E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.I-M.BS-y),$])):E.A.CD&&null!==ZC._n_(W)?(ee=E.A.A.A3[E.A.L-1])&&ee.R[E.L]&&O.push([ZC._i_(E.iX),ee.R[E.L].iY+a]):(O.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX+M.AB/2),$]));break;case"spline":if(null!==ZC._n_(E.A.D7)&&(Q=E.A.D7),null!==ZC._n_(E.A.AH)&&(O=E.A.AH),E.A.D7=[],E.A.AH=[],null!==ZC._n_(E.A.D)&&(U=E.A.D),E.A.D=[],R[E.L+1]){var se=[],he=[];for(f=-1;f<3;f++)R[E.L+f]?(E.A.FK(E.L+f,2).setup(),w?(se.push(R[E.L+f].iX),he.push(R[E.L+f].iY)):(se.push(R[E.L+f].iY),he.push(R[E.L+f].iX))):0===se.length?w?(he.push(E.iY),se.push(E.iX)):(he.push(E.iX),se.push(E.iY)):(se.push(se[se.length-1]),he.push(he[he.length-1]));var fe=ZC._a_(he[2]-he[1]);fe=Math.min(fe,Math.max(E.C.I,E.C.F));var ie=ZC.AP.YY(E.A.QP,se,fe);if(E.A.VF){for(0===O.length&&(E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(E.iX+(M.AW?-1:1)*ie[0][0]*fe),$])),f=0;f0&&O.push([O[O.length-1][0],$]);break;case"stepped":if(te)switch(E.A.FK(E.L-ne,0).setup(),_=ZC.AP.K3(R[E.L-ne].iX,R[E.L-ne].iY,R[E.L].iX,R[E.L].iY),E.A.SZ){default:Q.push([ZC._i_(_[0])-c,E.iY-a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(_[0])-c,$]),O.push([ZC._i_(_[0])-c,E.iY+a]),U.push(w?[R[E.L-ne].iX,_[1]]:[_[0],R[E.L-ne].iY]),U.push(w?[E.iX,_[1]]:[_[0],E.iY]);break;case"before":Q.push([ZC._i_(R[E.L-ne].iX)-c,E.iY-a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(R[E.L-ne].iX)-c,$]),O.push([ZC._i_(R[E.L-ne].iX)-c,E.iY+a]),U.push([R[E.L-ne].iX,R[E.L-ne].iY]),U.push([R[E.L-ne].iX,E.iY]);break;case"after":Q.push([ZC._i_(E.iX)-c,E.iY-a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(E.iX)-c,$]),O.push([ZC._i_(E.iX)-c,E.iY+a])}else M.EG||E.L!==M.W?E.A.CD&&null!==ZC._n_(W)?(ee=E.A.A.A3[E.A.L-1])&&ee.R[E.L]&&O.push([ZC._i_(E.iX),ee.R[E.L].iY+a]):(O.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX-M.AB/2),$]),Q.push([ZC._i_(E.iX),$])):M.AW?(E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.I-M.BS-y),$]),O.push([ZC._i_(M.iX+M.I-M.BS-y),E.iY+a])):(E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.A9+y),$]),O.push([ZC._i_(M.iX+M.A9+y),E.iY+a]));if(Q.push([ZC._i_(E.iX),E.iY-a]),O.push([ZC._i_(E.iX),E.iY+a]),U.push([E.iX,E.iY]),le)switch(E.A.FK(E.L+oe,2).setup(),_=ZC.AP.K3(R[E.L].iX,R[E.L].iY,R[E.L+oe].iX,R[E.L+oe].iY,E.O.C5),E.A.SZ){default:Q.push([ZC._i_(_[0]),E.iY-a]),O.push([ZC._i_(_[0]),E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(_[0]),$]),U.push(w?[E.iX,_[1]]:[_[0],E.iY]);break;case"before":Q.push([ZC._i_(E.iX),E.iY-a]),O.push([ZC._i_(E.iX),E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(E.iX),$]);break;case"after":Q.push([ZC._i_(R[E.L+oe].iX),E.iY-a]),O.push([ZC._i_(R[E.L+oe].iX),E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(R[E.L+oe].iX),$]),U.push([R[E.L+oe].iX,E.iY]),U.push([R[E.L+oe].iX,R[E.L+oe].iY])}else E.L===M.A1?M.AW?(O.push([M.iX+M.A9-y,E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.A9-y),$])):(O.push([M.iX+M.I-M.BS-y,E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.I-M.BS-y),$])):E.A.CD&&null!==ZC._n_(W)?(ee=E.A.A.A3[E.A.L-1])&&ee.R[E.L]&&O.push([ZC._i_(E.iX),ee.R[E.L].iY+a]):(O.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX+M.AB/2),$]))}if(E.A.CD&&null!==ZC._n_(W))for(f=W.length-1;f>=0;f--)O.push(W[f]);if(E.setNodeData({points:U,pointsarea:O}),"ready"!==E.C.MN&&(E.A.VO=E.A.VO.concat(U)),null===ZC._n_(E.A.A.F3)&&(E.A.A.F3=[]),E.A.A.F3[E.L]=Q,!t&&!E.C.AJ["3d"]){var De=E.O=E.A.I8(E,E.O),ge=E.C.K+ZC._[34]+E.C.K+ZC._[35]+E.A.L+ZC._[6];De.DF=ge,De.K=E.K,E.A.I4&&E.GN(De);var me,Ze=E.C.P;if(0!==E.A.E5.length||E.A.I4||typeof E.A.AA4===ZC._[31]||E.O.o.override||E.C.KR?((me=new DX(E.A)).copy(De),me.C5=E.A.HW):me=E.A.AA4,E.GN(me),me.C5=ZC._f_(me.o["alpha-area"]||"1"),me.CY=!1,me.LH=!0,me.B1=0,me.AU=0,me.ES=0,me.G4=0,me.Z=E.A.CO("bl",E.C.CD?0:1),me.D=O,me.D1=[Ze.iX,Ze.iY,Ze.iX+Ze.I,Ze.iY+Ze.F],null!==ZC._n_(e=E.A.E["min-y"])&&(me.E["bound-1"]=e,me.D1[1]=e),null!==ZC._n_(e=E.A.E["max-y"])&&(me.E["bound-3"]=e,me.D1[3]=e),me.K=E.K+"-area",E.A.GG||(me.E.areanode=!0),ZC.CQ.setup(D,De),E.paintPreview(De,U,O),E.A.GG&&!E.C.HP){var pe=new DX(E),ve={};pe.copy(De),pe.K=E.K,pe.Z=E.A.CO("bl",2),pe.C7=E.A.CO("bl",1),pe.D=U;var ke=me,de={},Oe=[],Fe=[];pe.D=U,ve.points=U,ke.D=O,de.points=O;var be=E.A.LK,Se=E.C.P;pe.C5=0,ve.alpha=De.C5,ke.C5=0,de.alpha=E.A.HW;var xe,we=function(We){for(var Te=We?O:U,ze=We?Fe:Oe,Ve=0;Ve1&&(We?(ke.D=Fe,de.points=O):(pe.D=Oe,ve.points=U))};for(xe in we(),we(!0),E.A.FZ)pe[EB.GP[ZC.EF(xe)]]=E.A.FZ[xe],ve[ZC.EF(xe)]=De[EB.GP[ZC.EF(xe)]],ke[EB.GP[ZC.EF(xe)]]=E.A.FZ[xe],de[ZC.EF(xe)]=De[EB.GP[ZC.EF(xe)]];if(null===ZC._n_(E.C.EN)&&(E.C.EN={}),null===ZC._n_(E.C.T3)&&(E.C.T3={}),null!==ZC._n_(E.C.EN[E.A.L+"-"+E.L])){for(xe in E.C.EN[E.A.L+"-"+E.L])pe[EB.GP[ZC.EF(xe)]]=E.C.EN[E.A.L+"-"+E.L][xe];for(xe in E.C.T3[E.A.L+"-"+E.L])ke[EB.GP[ZC.EF(xe)]]=E.C.T3[E.A.L+"-"+E.L][xe]}E.C.EN[E.A.L+"-"+E.L]={},ZC._cp_(ve,E.C.EN[E.A.L+"-"+E.L]),E.C.T3[E.A.L+"-"+E.L]={},ZC._cp_(de,E.C.T3[E.A.L+"-"+E.L]);var Re=new EB(pe,ve,E.A.JN,E.A.LI,EB.RX[E.A.LL],function(){Ne()});Re.AX=E,Re.OO=function(){E.MY(ZC.Q.EA(E.A.CO("bl",1),E.H.AC))},Re.I2=D;var Ie=new EB(ke,de,E.A.JN,E.A.LI,EB.RX[E.A.LL],function(){});Ie.AX=E,E.LD(Re,Ie)}else me.paint(),0!==E.A.E5.length||typeof E.A.AA4!==ZC._[31]||E.O.o.override||E.C.KR||E.C.HP||(E.A.AA4=me),ZC.CQ.paint(D,De,U),Ne()}}function Ne(){!E.C.OM&&ZC.DM(E.iX,M.iX-1,M.iX+M.I+1)&&ZC.DM(E.iY,M.iY-1,M.iY+M.F+1)&&(E.OX(),E.MY(ZC.Q.EA(E.A.CO("bl",1),E.H.AC)),E.A.U&&E.A.U.AO&&E.A.E.vboxid!==E.K&&E.F9())}}paintPreview(t,e,a){var c=this;if(c.C.B9&&c.C.B9.IJ&&c.A.R1){var h,_=c.C.P,f=c.C.B9,m=c.A.mapPointsToPreview(a),v=new DX(c.A);v.copy(t),v.CY=!0,v.LH=!0,v.B1=0,v.AU=0,v.ES=0,v.G4=0,v.C5=c.A.HW,v.D1=[_.iX,_.iY,_.iX+_.I,_.iY+_.F],v.K=c.K+"-area-preview",v.DF=c.A.K+"-preview",v.Z=f.Z;var E,w=c.A.o["preview-state"];w&&(null!==ZC._n_(w["alpha-area"])?(h=w.alpha,w.alpha=w["alpha-area"]):w.alpha=v.C5,v.append(w),v.parse(),null!==ZC._n_(h)?w.alpha=h:delete w.alpha),v.D=m,v.paint();var D=c.A.mapPointsToPreview(e);c.A.WK?E=c.A.WK:(E=new CZ(c),c.A.WK=E),E.copy(t),E.K=c.K+"-line-preview",E.DF=c.A.K+"-preview";var M=ZC.Q.EA(f.Z,c.H.AC);E.B1=1,w&&(E.append(w),E.parse()),ZC.CQ.paint(M,E,D,null,3)}}HZ(t){var e=this;ZC.move||(e.A.NN||e.LR({layer:t,type:"area",initcb:function(){this.A0=e.A.BP[2],this.AE=e.A.BP[2],this.D=e.getNodeData("pointsarea")||[]},setupcb:function(){this.B1=0,this.AU=0,this.C5=e.A.HW;var a=e.C.P;this.D1=[a.iX,a.iY,a.iX+a.I,a.iY+a.F]}}),e.YP(t),e.A.RI&&e.SE(t))}}class A00 extends MM{setup(){this.S4()}OS(){var t=this;t.paint(!0);var e=t.C.BK(t.A.BV("v")[0]);return[t.iX+t.I/2,t.iY+(e.AW?t.F:0),{reference:t,center:!0}]}HL(t){var e=this,a="top-out",c=e.C.BK(e.A.BV("v")[0]),h=e.AD>=c.HC&&!c.AW||e.ADe.C.P.iY+e.C.P.F-f-5+T[2]&&(v=e.C.P.iY+e.C.P.F-f-5+T[2]-D)),[ZC._i_(m),ZC._i_(v)]}getPMap(){var t=super.getPMap();return this.addPMap(t,"barWidth","I"),t}paint(t){var e,a=this;if(super.paint(),!a.C.AJ["3d"]){typeof t===ZC._[31]&&(t=!1);var c=a.A.B0,h=a.A.CM;a.setup();var _,f,m,v,E,D=h.AK(h.HC),M=a.A.RB(),T=M.AB,R=M.EU,V=M.CF,$=M.CS,y=M.F4,U=M.D3,O=M.F0;if(t?R=a.A.E["node-"+a.L+"-bar-index"]:a.A.E["node-"+a.L+"-bar-index"]=M.EU,a.A.CD){_=0;for(var Q=a.A.A.KM[R],W=0;W0){var le=U;(U=a.A.D3)<=1&&(U*=le),te+=(le-U)/2}var ce=U,Ce=a.iY,se=null!==ZC._n_(a.A.M9[a.L])?a.A.M9[a.L]:0;if(Ce=h.AK(a.A.CD&&"100%"===a.A.KZ?100*(a.CP+se)/a.A.A.FA[a.L]["%total-"+a.A.DZ]:a.CP+se),a.A.CD){f=h.AK("100%"===a.A.KZ?100*(a.CP-a.AD+se)/a.A.A.FA[a.L]["%total-"+a.A.DZ]:a.CP-a.AD+se),Ce=ZC._i_(Ce),f=ZC._i_(f);var he=!h.AW&&a.AD>=0||h.AW&&a.AD<=0?-1:1,fe=0,ie=0;""!==a.A.QD?(fe=a.VB(a.A.QD)[0],ie=0):fe=a.A.AU,""!==a.A.O2?(ie=a.VB(a.A.O2)[0],fe=0):ie=a.A.AU,fe!==ie&&(he=0),m=Ce-f+he*fe,a.AD<0&&(Ce=f),h.AW?m>0&&(m=ZC._a_(m),Ce=f):m<0&&(m=ZC._a_(m),Ce=f-m),h.AW&&a.AD<0&&(m+=ie)}else f=h.AK(se),(m=Ce-f)<0?(m=ZC._a_(m),Ce=f-m):Ce=f;if(a.A.U5&&a.A.CD&&a.A.L>0&&a.A.A.A3[a.A.L-1].R[a.L]&&0===a.A.A.A3[a.A.L-1].R[a.L].AD&&(m-=1,Ce+=h.AW?1:-1),m<2&&(a.AD>0||a.A.U5)&&(m=1,h.AW?a.A.CD&&(a.A.L>0&&(Ce-=1),(0===a.A.L||a.AD>0&&a.AD===a.CP)&&(Ce+=1)):a.A.CD?(0===a.A.L||a.AD>0&&a.AD===a.CP)&&(Ce-=2):Ce=se?f-1:D-2),a.I=ce,a.F=m,a.iX=te,a.iY=Ce,a.iYVal=h.AW?a.AD>=h.HC?Ce+a.F:Ce:a.AD>=h.HC?Ce:Ce+a.F,a.C.CW){var De="middle";a.C.CW.o.marker&&null!==ZC._n_(e=a.C.CW.o.marker.alignment)&&(De=e),null!==ZC._n_(a.A.o["guide-marker"])&&null!==ZC._n_(e=a.A.o["guide-marker"].alignment)&&(De=e),"node"===De&&(a.E.A6B=a.iX+a.I/2)}if(!t){var ge;a.setNodeData({x:te,y:Ce,w:ce,h:m});var me=!0;if("none"!==a.A.J8||a.C.J4[a.A.L]||a.C.KR||a.A.T8&&a.A.T8[a.L]?(ge=a.O=a.A.I8(a,a.O),me=!1):ge=a.O,(0!==a.A.E5.length||a.A.I4||a.O.o.override||a.C.KR)&&(me=!1),a.AO){var Ze;switch(a.A.CV){default:0!==a.A.E5.length||a.A.I4||typeof a.A.U3===ZC._[31]||a.O.o.override||a.C.KR?(Ze=new I7(a.A)).copy(ge):Ze=a.A.U3,a.A.I4&&(a.GN(Ze),Ze.parse()),Ze.FH=a.A.FH,Ze.K=a.K,Ze.iX=te,Ze.iY=Ce,Ze.I=a.I,Ze.F=a.F,c.AB<5&&Ze.I<5?(Ze.I=ZC.BQ(1,Ze.I)+1,Ze.NB=!1,Ze.CY=!1):Ze.NB=!0,Ze.I<5&&c.A1!==c.W&&a.C.P.I/(c.A1-c.W)<1&&(Ze.R3=!0);break;case"pyramid":case"cone":0!==a.A.E5.length||a.A.I4||typeof a.A.U3===ZC._[31]||a.O.o.override||a.C.KR?(Ze=new DX(a.A)).copy(ge):Ze=a.A.U3,a.A.I4&&(a.GN(Ze),Ze.parse()),Ze.K=a.K,h.AW&&!a.A.CD?(E=a.AD>=0?0:a.F,v=a.AD>=0?a.F:0):(E=a.AD>=0?a.F:0,v=a.AD>=0?0:a.F),Ze.D=[],Ze.D.push([te+a.I/2-ee*a.I/2,Ce+E],[te+a.I/2+ee*a.I/2,Ce+E]),a.A.CD&&0!==ne?Ze.D.push([te+a.I/2+ne*a.I/2,Ce+v],[te+a.I/2-ne*a.I/2,Ce+v]):Ze.D.push([te+a.I/2,Ce+v]),Ze.D.push([Ze.D[0][0],Ze.D[0][1]]),a.setNodeData({points:Ze.D}),Ze.iX=te,Ze.iY=Ce,Ze.locate(2)}Ze.Z=a.A.CO("bl",1),Ze.C7=a.A.CO("bl",0),a.paintPreview(ge,me);var pe=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6];Ze.DF=pe;var ve=ZC._c_(a.A.o.tolerance,5),ke=function(){if(typeof a.paint_!==ZC._[31]&&a.paint_(),a.MY(ZC.Q.EA(Ze.Z,a.H.AC)),ZC.AP._boxoverlap2_(a,a.C.P,ve)&&a.A.FV&&-1===ZC.AV(a.H.KX,ZC._[39])){var Ie=ce<5?.5:-.5,Ne=m<3?.5:-.5,We=ZC.Q.FT("rect",a.A.E8,Ze.IT)+'class="'+pe+'" '+a.a11y()+' id="'+a.K+ZC._[30]+ZC._i_(te+a.A.BL+ZC.MAPTX-Ie)+","+ZC._i_(Ce+a.A.BH+ZC.MAPTX-Ne)+","+ZC._i_(te+a.A.BL+ce+ZC.MAPTX+Ie)+","+ZC._i_(Ce+a.A.BH+m+ZC.MAPTX+Ne)+'" />';a.A.A.HJ.push(We)}a.A.U&&a.A.U.AO&&a.F9()};if(a.A.GG&&!a.C.HP){var de=Ze,Oe={};de.iX=te,de.iY=Ce,de.I=ce,de.F=m,Oe.x=te,Oe.y=Ce,Oe.width=ce,Oe.height=m;var Fe,be=a.A.LK,Se=a.C.P;for(Fe in de.C5=0,Oe.alpha=ge.C5,2===be?(de.iY=Se.iY+Se.F/2,de.F=1,Oe.height=a.F,Oe.y=Ce):3===be?(de.iY=Se.iY,de.F=1,Oe.height=a.F,Oe.y=Ce):4===be?(de.iY=Se.iY+Se.F,de.F=1,Oe.height=a.F,Oe.y=Ce):5===be?(de.iX=Se.iX,de.I=1,Oe.width=a.I,Oe.x=te):6===be?(de.iX=Se.iX+Se.I,de.I=1,Oe.width=a.I,Oe.x=te):7===be?(de.iX=Se.iX+Se.I/2,de.I=1,Oe.width=a.I,Oe.x=te):8===be?(de.iX=te-Se.I,Oe.x=te):9===be?(de.iX=te+Se.I,Oe.x=te):10===be?(de.iY=Ce-Se.F,Oe.y=Ce):11===be?(de.iY=Ce+Se.F,Oe.y=Ce):12===be?(de.I=1,Oe.width=a.I):13===be&&(de.F=1,Oe.height=a.F),a.A.FZ)de[EB.GP[ZC.EF(Fe)]]=a.A.FZ[Fe],Oe[ZC.EF(Fe)]=ge[EB.GP[ZC.EF(Fe)]];if(null===ZC._n_(a.C.EN)&&(a.C.EN={}),null!==ZC._n_(a.C.EN[a.A.L+"-"+a.L]))for(Fe in a.C.EN[a.A.L+"-"+a.L])de[EB.GP[ZC.EF(Fe)]]=a.C.EN[a.A.L+"-"+a.L][Fe];if(a.C.EN[a.A.L+"-"+a.L]={},ZC._cp_(Oe,a.C.EN[a.A.L+"-"+a.L]),ZC.AP._boxoverlap2_(a,a.C.P,ve)){var xe=new EB(de,Oe,a.A.JN,a.A.LI,EB.RX[a.A.LL],function(){ke()});xe.AX=a,xe.OO=function(){a.MY(ZC.Q.EA(Ze.Z,a.H.AC))},a.LD(xe)}}else{if(Ze.AO||0===a.A.E5.length&&!a.A.I4)if(a.A.WQ||(a.A.WQ={iX:Ze.iX,iY:Ze.iY,F:Ze.F}),a.A.A35)if(a.A.SO)if(a.A.SO.el&&"RECT"===a.A.SO.el.tagName.toUpperCase()){var we=!1;if(a.A.NE&&a.A.WQ&&ZC._a_(Ze.iX-a.A.WQ.iX)<.75&&ZC._a_(Ze.iY-a.A.WQ.iY)<1.5&&ZC._a_(Ze.F-a.A.WQ.F)<1.5&&(we=!0),!we){a.A.WQ={iX:Ze.iX,iY:Ze.iY,F:Ze.F};var Re=a.A.SO.el.cloneNode(!1);Re.setAttribute("id",a.K),Re.setAttribute("x",a.iX),Re.setAttribute("y",a.iY),Re.setAttribute(ZC._[20],a.F),a.A.SO.df?a.H.G5[Ze.Z.id].appendChild(Re):a.A.SO.el.parentNode.appendChild(Re)}}else Ze.paint();else Ze.paint(),a.A.SO={id:Ze.K+"-path"},zingchart.DEV.DOMFRAGMENTS&&document.querySelector&&a.H.G5&&a.H.G5[Ze.Z.id]?(a.A.SO.df=!0,a.A.SO.el=a.H.G5[Ze.Z.id].querySelector("#"+Ze.K+"-path")):(a.A.SO.df=!1,a.A.SO.el=ZC.AM(a.A.SO.id));else ZC.AP._boxoverlap2_(a,a.C.P,ve)&&Ze.paint();Ze.AO&&ke()}"svg"===a.H.AC&&a.A.applyJsRuleSvg(a.A,a.K+"-path",a.LO()),0!==a.A.E5.length||a.A.I4||typeof a.A.U3!==ZC._[31]||a.O.o.override||a.C.KR||a.A.GG||(a.A.U3=Ze)}}}}paintPreview(t,e){var a,c,h=this;if(h.C.B9&&h.C.B9.IJ&&h.A.R1){var _=h.C.P,f=h.C.B9,m=f.AT,v=(h.iX-_.iX)/_.I,E=(h.iY-_.iY)/_.F;h.A.WL?a=h.A.WL:(a=new I7(h.A),h.A.WL=a,a.copy(t),(c=h.A.o["preview-state"])&&(a.append(c),a.parse())),e||(a.copy(t),(c=h.A.o["preview-state"])&&(a.append(c),a.parse())),a.K=h.K+"-preview",a.DF=h.A.K+"-preview",a.iX=m.iX+m.AU+v*(m.I-2*m.AU),a.iY=m.iY+m.AU+E*(m.F-2*m.AU),a.I=h.I/_.I*(m.I-2*m.AU),a.F=h.F/_.F*(m.F-2*m.AU),m.I/h.A.R.length<10?(a.I=a.I+.5,a.NB=!1,a.CY=!1):(a.NB=!0,a.CY=!0),a.Z=a.C7=f.Z,a.paint()}}HZ(t){var e=this;if(t=t||"hover",!ZC.move){e.LR({layer:t,type:"pyramid"===e.A.CV?"shape":"box",initcb:function(){this.A0=e.A.BP[3],this.B7=e.A.BP[1],this.BX=e.A.BP[1],this.AE=e.A.BP[2]},setupcb:function(){switch(e.A.CV){default:this.iX=e.getNodeData("x"),this.iY=e.getNodeData("y"),this.I=e.getNodeData("w"),this.F=e.getNodeData("h");var c=e.C.P;this.iYc.iY+c.F&&(this.F=c.iY+c.F-this.iY);break;case"pyramid":case"cone":this.D=e.getNodeData("points")}}}),e.MY(ZC.Q.EA(e.C.K+ZC._[22],e.H.AC),!0),e.A.S0=null}}}class A01 extends MM{setup(){this.S4()}OS(){var t=this;t.paint(!0);var e=t.C.BK(t.A.BV("v")[0]);return[t.iX+(e.AW?0:t.I),t.iY+t.F/2,{reference:t,center:!0}]}HL(t){var e=this,a="top-out",c=e.C.BK(e.A.BV("v")[0]),h=e.AD>=c.HC&&!c.AW||e.AD0){var ne=V;(V=e.A.D3)<=1&&(V*=ne),ee+=(ne-V)/2}var oe=V,te=e.iX,le=null!==ZC._n_(e.A.M9[e.L])?e.A.M9[e.L]:0;if(te=c.AK(e.A.CD&&"100%"===e.A.KZ?100*(e.CP+le)/e.A.A.FA[e.L]["%total-"+e.A.DZ]:e.CP+le),e.A.CD){_=c.AK("100%"===e.A.KZ?100*(e.CP-e.AD+le)/e.A.A.FA[e.L]["%total-"+e.A.DZ]:e.CP-e.AD+le),te=ZC._i_(te),_=ZC._i_(_);var ce=!c.AW&&e.AD>=0||c.AW&&e.AD<=0?1:-1,Ce=0,se=0;""!==e.A.OV?(Ce=e.VB(e.A.OV)[0],se=0):Ce=e.A.AU,""!==e.A.PL?(se=e.VB(e.A.PL)[0],Ce=0):se=e.A.AU,Ce!==se&&(ce=0),f=te-_+ce*Ce,e.AD>0?te=_:f=ZC._a_(f),c.AW?f>0?(f=ZC._a_(f),te=_):(f=ZC._a_(f),te-=f):f<0&&(f=ZC._a_(f),te=_-f)}else _=c.AK(le),(f=te-_)<0?(f=ZC._a_(f),te=_-f):te=_;if(e.A.U5&&e.A.CD&&e.A.L>0&&e.A.A.A3[e.A.L-1].R[e.L]&&0===e.A.A.A3[e.A.L-1].R[e.L].AD&&(f-=1,te+=c.AW?-1:1),f<1&&(e.AD>0||e.A.U5)&&(f=1,c.AW?e.A.CD?0===e.A.L&&(te-=1):te-=2:e.A.L>0&&e.A.CD&&(te-=1)),e.I=f,e.F=oe,e.iX=te,e.iY=ee,e.iXVal=c.AW?e.AD>=c.HC?te:te+e.I:e.AD>=c.HC?te+e.I:te,!t){var he;e.setNodeData({x:te,y:ee,w:f,h:oe});var fe=!0;if("none"!==e.A.J8||e.C.J4[e.A.L]||e.C.KR||e.A.T8&&e.A.T8[e.L]?(he=e.O=e.A.I8(e,e.O),fe=!1):he=e.O,(0!==e.A.E5.length||e.A.I4||e.O.o.override||e.C.KR)&&(fe=!1),e.AO){var ie;switch(e.A.CV){default:0!==e.A.E5.length||e.A.I4||typeof e.A.U3===ZC._[31]||e.O.o.override||e.C.KR?(ie=new I7(e.A)).copy(he):ie=e.A.U3,e.A.I4&&(e.GN(ie),ie.parse()),ie.FH=e.A.FH,ie.K=e.K,ie.iX=te,ie.iY=ee,ie.I=e.I,ie.F=e.F,a.AB<5&&ie.F<5?(ie.F=ZC.BQ(1,ie.F)+1,ie.NB=!1,ie.CY=!1):ie.NB=!0,ie.F<5&&a.A1!==a.W&&e.C.P.F/(a.A1-a.W)<1&&(ie.R3=!0);break;case"pyramid":case"cone":0!==e.A.E5.length||e.A.I4||typeof e.A.U3===ZC._[31]||e.O.o.override||e.C.KR?(ie=new DX(e.A)).copy(he):ie=e.A.U3,e.A.I4&&(e.GN(ie),ie.parse()),ie.K=e.K,c.AW&&!e.A.CD?(v=e.AD>=0?e.I:0,m=e.AD>=0?0:e.I):(v=e.AD>=0?0:e.I,m=e.AD>=0?e.I:0),ie.D=[],ie.D.push([te+v,ee+e.F/2-Q*e.F/2],[te+v,ee+e.F/2+Q*e.F/2]),e.A.CD&&0!==W?ie.D.push([te+m,ee+e.F/2+W*e.F/2],[te+m,ee+e.F/2-W*e.F/2]):ie.D.push([te+m,ee+e.F/2]),ie.D.push([ie.D[0][0],ie.D[0][1]]),e.E.points=ie.D,ie.iX=te,ie.iY=ee,ie.locate(2)}ie.Z=e.A.CO("bl",1),ie.C7=e.A.CO("bl",0),e.paintPreview(he,fe);var De=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6];ie.DF=De;var ge=ZC._c_(e.A.o.tolerance,5),me=function(){if(typeof e.paint_!==ZC._[31]&&e.paint_(),e.MY(ZC.Q.EA(ie.Z,e.H.AC)),ZC.AP._boxoverlap2_(e,e.C.P,ge)&&e.A.FV&&-1===ZC.AV(e.H.KX,ZC._[39])){var Fe=f<3?.5:-.5,be=oe<5?.5:-.5,Se=ZC.Q.FT("rect",e.A.E8,ie.IT)+'class="'+De+'" '+e.a11y()+' id="'+e.K+ZC._[30]+ZC._i_(te+e.A.BL+ZC.MAPTX-Fe)+","+ZC._i_(ee+e.A.BH+ZC.MAPTX-be)+","+ZC._i_(te+e.A.BL+f+ZC.MAPTX+Fe)+","+ZC._i_(ee+e.A.BH+oe+ZC.MAPTX+be)+'" />';e.A.A.HJ.push(Se)}e.A.U&&e.A.U.AO&&e.F9()};if(e.A.GG&&!e.C.HP){var Ze=ie,pe={};Ze.iX=te,Ze.iY=ee,Ze.I=f,Ze.F=oe,pe.x=te,pe.y=ee,pe.width=f,pe.height=oe;var ve,ke=e.A.LK,de=e.C.P;for(ve in Ze.C5=0,pe.alpha=he.C5,2===ke?(Ze.iX=de.iX+de.I/2,Ze.I=1,pe.width=e.I,pe.x=te):3===ke?(Ze.iX=de.iX+de.I,Ze.I=1,pe.width=e.I,pe.x=te):4===ke?(Ze.iX=de.iX,Ze.I=1,pe.width=e.I,pe.x=te):5===ke?(Ze.iY=de.iY+de.F,Ze.F=1,pe.height=e.F,pe.y=ee):6===ke?(Ze.iY=de.iY,Ze.F=1,pe.height=e.F,pe.y=ee):7===ke?(Ze.iY=de.iY+de.F/2,Ze.F=1,pe.height=e.F,pe.y=ee):8===ke?(Ze.iY=ee+de.F,pe.y=ee):9===ke?(Ze.iY=ee-de.F,pe.y=ee):10===ke?(Ze.iX=te+de.I,pe.x=te):11===ke?(Ze.iX=te-de.I,pe.x=te):12===ke?(Ze.F=1,pe.height=e.F):13===ke&&(Ze.I=1,pe.width=e.I),e.A.FZ)Ze[EB.GP[ZC.EF(ve)]]=e.A.FZ[ve],pe[ZC.EF(ve)]=e.O[EB.GP[ZC.EF(ve)]];if(null===ZC._n_(e.C.EN)&&(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(ve in e.C.EN[e.A.L+"-"+e.L])Ze[EB.GP[ZC.EF(ve)]]=e.C.EN[e.A.L+"-"+e.L][ve];if(e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(pe,e.C.EN[e.A.L+"-"+e.L]),ZC.AP._boxoverlap2_(e,e.C.P,ge)){var Oe=new EB(Ze,pe,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){me()});Oe.AX=e,Oe.OO=function(){e.MY(ZC.Q.EA(ie.Z,e.H.AC))},e.LD(Oe)}}else(ie.AO||0===e.A.E5.length&&!e.A.I4)&&ZC.AP._boxoverlap2_(e,e.C.P,ge)&&ie.paint(),ie.AO&&me();"svg"===e.H.AC&&e.A.applyJsRuleSvg(e.A,e.K+"-path",e.LO()),0!==e.A.E5.length||e.A.I4||typeof e.A.U3!==ZC._[31]||e.O.o.override||e.C.KR||e.A.GG||(e.A.U3=ie)}}}}paintPreview(t,e){var a,c,h=this;if(h.C.B9&&h.C.B9.IJ&&h.A.R1){var _=h.C.P,f=h.C.B9,m=f.AT,v=(h.iX-_.iX)/_.I,E=(h.iY-_.iY)/_.F;h.A.WL?a=h.A.WL:(a=new I7(h.A),h.A.WL=a,a.copy(t),(c=h.A.o["preview-state"])&&(a.append(c),a.parse())),e||(a.copy(t),(c=h.A.o["preview-state"])&&(a.append(c),a.parse())),a.K=h.K+"-preview",a.DF=h.A.K+"-preview",a.iX=m.iX+m.AU+v*(m.I-2*m.AU),a.iY=m.iY+m.AU+E*(m.F-2*m.AU),a.I=h.I/_.I*(m.I-2*m.AU),a.F=h.F/_.F*(m.F-2*m.AU),m.I/h.A.R.length<10?(a.I=a.I+.5,a.NB=!1,a.CY=!1):(a.NB=!0,a.CY=!0),a.Z=a.C7=f.Z,a.paint()}}HZ(t){var e=this;if(!ZC.move){e.LR({layer:t,type:"pyramid"===e.A.CV?"shape":"box",initcb:function(){this.B7=e.A.BP[1],this.BX=e.A.BP[1],this.A0=e.A.BP[3],this.AE=e.A.BP[2]},setupcb:function(){switch(e.A.CV){default:this.iX=e.getNodeData("x"),this.iY=e.getNodeData("y"),this.I=e.getNodeData("w"),this.F=e.getNodeData("h");var c=e.C.P;this.iXc.iX+c.I&&(this.I=c.iX+c.I-this.iX);break;case"pyramid":case"cone":this.D=e.getNodeData("points")}}}),e.MY(ZC.Q.EA(e.C.K+ZC._[22],e.H.AC),!0),e.A.S0=null}}}class A6H extends MM{setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];if(t.JW!==c){if("scatter"===t.A.AF){if(t.A.M4&&t.A.QG){var h=ZC.AP.X2(t.A.QG[0],t.A.QG[1]),_=(t.BW-h[0])/(h[1]-h[0]);t.iX=e.H7(t.A.RJ)-e.AB/2+t.A.S2+_*(e.AB-2*t.A.S2)}else t.iX=e.AK(t.BW);t.iY=a.AK(t.AD)}else t.iY=e.AK(t.BW),t.iX=a.AK(t.AD);t.JW=c}t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}parse(){super.parse(),this.o[ZC._[9]]instanceof Array||(this.BW=this.L)}JD(){return{color:"-1"===this.A.A2.A0?this.O.A0:this.A.A2.A0}}getTooltipPosition(t,e){return super.getTooltipPosition(t,e,this.LF.AI)}KH(){return{"background-color":"-1"===this.A.A2.AE?this.O.AE:this.A.A2.AE,"border-color":"-1"===this.A.A2.AE?this.O.AE:this.A.A2.AE,color:this.O.C2}}paint(t){var e=this;super.paint();var a=e.A.B0,c=e.A.CM;e.setup(),t||(a.CJ?ZC.DM(e.iX,c.iX+(c.AW?c.BS:c.A9)-1,c.iX+c.I-(c.AW?c.A9:c.BS)+1)&&ZC.DM(e.iY,a.iY+(a.AW?a.BS:a.A9)-1,a.iY+a.F-(a.AW?a.A9:a.BS)+1)&&e.OX(!1,!0):ZC.DM(e.iX,a.iX+(a.AW?a.BS:a.A9)-1,a.iX+a.I-(a.AW?a.A9:a.BS)+1)&&ZC.DM(e.iY,c.iY+(c.AW?c.A9:c.BS)-1,c.iY+c.F-(c.AW?c.BS:c.A9)+1)&&e.OX(!1,!0))}HZ(t){ZC.move||this.SE(t)}}class A7C extends MM{constructor(t){super(t),this.SY=null}parse(){super.parse(),this.o[ZC._[9]]instanceof Array||(this.BW=this.L),this.SY=this.o[ZC._[9]]instanceof Array&&null!==ZC._n_(this.o[ZC._[9]][2])?ZC._f_(this.o[ZC._[9]][2]):2}JD(){return{color:"-1"===this.A.A2.A0?this.O.A0:this.A.A2.A0}}getTooltipPosition(t,e){var a=this.A.getSize(ZC._a_(this.SY));return super.getTooltipPosition(t,e,a)}KH(){return{"background-color":"-1"===this.A.A2.AE?this.O.AE:this.A.A2.AE,"border-color":"-1"===this.A.A2.AE?this.O.AE:this.A.A2.AE,color:this.O.C2}}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_);var f=ZC.AR.G6(h.SY,_);return h.CU=[["%v0",h.BW],["%v1",h.AD],["%v2",f],["%node-size-value",f]],super.ET(t,e,a,c)}setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];if(t.JW!==c){if("bubble"===t.A.AF){if(t.A.M4&&t.A.QG){var h=ZC.AP.X2(t.A.QG[0],t.A.QG[1]),_=(t.BW-h[0])/(h[1]-h[0]);t.iX=e.H7(t.A.RJ)-e.AB/2+t.A.S2+_*(e.AB-2*t.A.S2)}else t.iX=e.AK(t.BW);t.iY=a.AK(t.AD)}else t.iY=e.AK(t.BW),t.iX=a.AK(t.AD);t.JW=c}t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}HL(t){var e,a=this,c="auto";null!==ZC._n_(e=t.o[ZC._[7]])&&(c=e);var h=t.I,_=t.F,f=a.E["marker.size"],m=a.iX-h/2,v=a.iY-_/2,E=0,w=0;switch(c){case"top":v-=_/2+f,w=a.iY-a.C.P.iY+f;break;case"bottom":v+=_/2+f,w=a.C.P.iY+a.C.P.F-a.iY+f;break;case"left":m-=h/2+f,E=a.iX-a.C.P.iX+f;break;case"right":m+=h/2+f,E=a.C.P.iX+a.C.P.I-a.iX+f}return null!==ZC._n_(t.o.x)&&(m=t.iX),null!==ZC._n_(t.o.y)&&(v=t.iY),ma.C.P.iX+a.C.P.I&&(m=a.C.P.iX+a.C.P.I-h-E),va.C.P.iY+a.C.P.F&&(v=a.C.P.iY+a.C.P.F-_-w),[ZC._i_(m),ZC._i_(v)]}paint(t){var e=this;typeof t===ZC._[31]&&(t=!1),super.paint();var a=e.A.B0,c=e.A.CM;e.setup(),e.E["marker.size"]=e.A.getSize(ZC._a_(e.SY)),t||(a.CJ?ZC.DM(e.iX,c.iX+(c.AW?c.BS:c.A9)-1,c.iX+c.I-(c.AW?c.A9:c.BS)+1)&&ZC.DM(e.iY,a.iY+(a.AW?a.BS:a.A9)-1,a.iY+a.F-(a.AW?a.A9:a.BS)+1)&&e.OX(!1,!0):ZC.DM(e.iX,a.iX+(a.AW?a.BS:a.A9)-1,a.iX+a.I-(a.AW?a.A9:a.BS)+1)&&ZC.DM(e.iY,c.iY+(c.AW?c.A9:c.BS)-1,c.iY+c.F-(c.AW?c.BS:c.A9)+1)&&e.OX(!1,!0))}HZ(t){ZC.move||this.SE(t)}}class A9E extends MM{constructor(t){super(t),this.bCXY=!0,this.U=null}parse(){super.parse()}XI(){super.XI();var t=this.C.E;t.update.npv=t.update["node-percent-value"]=this.ET("%npv")}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_),-1===t.indexOf("%npv")&&-1===t.indexOf("%node-percent-value")||null!==ZC._n_(_[ZC._[12]])&&-1!==_[ZC._[12]]||(_[ZC._[12]]=1);var f=0,m="0";if(h.A.A.KW[h.L]>0&&(m=""+(f=100*h.AD/h.A.A.KW[h.L])),h.A.A.A3.length>1&&h.A.L===h.A.A.A3.length-1){var v=0;if(null===ZC._n_(h.A.o.totals)){for(var E=0;E0&&(D=""+(w=100*h.A.A.A3[E].R[h.L].AD/h.A.A.KW[h.L])),null!==ZC._n_(_[ZC._[12]])&&(D=w.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]])))),v+=ZC._f_(D)}m=""+(f=Math.max(0,100-v))}}null!==ZC._n_(_[ZC._[12]])&&(m=f.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]]))));var M,T=ZC._f_(h.A.A.KW[h.L]||"0");return M=ZC.AR.G6(T,_,h.A),h.CU=[["%node-percent-value",m],["%npv",m],["%pie-total-value",M]],super.ET(t,e,a,c)}getTooltipPosition(t,e){var a,c,h,_=this,f=(_.B4+_.BM)/2%360;switch(e){case"out":c=(a=ZC.AP.BN(_.iX,_.iY,_.AI+_.DT+t.DT,f))[0]+_.BL,h=a[1]+_.BH,f>270&&f<=360?h-=t.F:f>90&&f<=180?c-=t.I:f>180&&f<=270&&(c-=t.I,h-=t.F);break;case"center":c=(a=ZC.AP.BN(_.iX,_.iY,_.CN+.5*(_.AI-_.CN)+_.DT,f))[0]+_.BL,h=a[1]+_.BH;break;default:c=_.iX+_.BL,h=_.iY+_.BH}return{x:c,y:h}}OS(t){var e,a=this,c=(a.B4+a.BM)/2%360,h=0;null!==ZC._n_(e=t["offset-r"])&&(h=ZC._f_(ZC._p_(e))),h<1&&(h*=a.AI);var _=ZC.AP.BN(a.iX,a.iY,a.CN+.6*(a.AI-a.CN)+a.DT+h,c);return[_[0],_[1],{reference:a,center:!0}]}A6E(){var t=this,a=ZC.AP.BN(t.iX,t.iY,t.CN+.5*(t.AI-t.CN)+t.DT,(t.B4+t.BM)/2%360);return[a[0],a[1]]}setup(){var t=this,e=t.C.BK(t.A.BV("k")[0]),a=t.L%e.H6,c=Math.floor(t.L/e.H6);t.iX=e.iX+a*e.GM+e.GM/2+e.BL,t.iY=e.iY+c*e.GH+e.GH/2+e.BH,t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}JD(t){var e,a={},c="out";return null!==ZC._n_(e=t.o[ZC._[7]])&&(c=e),a.color="out"===c?this.A0:this.C2,a}HL(t){var e,a=this,c="out";null!==ZC._n_(e=t.o[ZC._[7]])&&(c=e);var h,_,f,m,v,E=t.I,w=t.F,D=(a.B4+a.BM)/2%360,M=D;if("out"===c){D=M=a.A.A.YX["n"+a.L][a.A.L];var T=function(ce,Ce){Ce<0&&(Ce=360+Ce),Ce%=360;var se=(v=ZC.AP.BN(a.iX,a.iY,ce+a.DT+t.DT+20,Ce))[0]+t.BL-E/2;return Ce>=0&&Ce<=90||Ce>=270&&Ce<=360?se+=E/2+10:se-=E/2+10,[se,v[1]+t.BH-w/2]},R=T(a.AI,M);h=R[0],_=R[1],a.U=t;var V={x:h,y:_,width:E,height:w},$=zingchart.DEV.SPREADTYPE;m=!0;for(var y=0,U=0,O=-1,Q=0,W=0;m&&W<1024;){m=!1;for(var ae=0,ee=a.A.A.U4.length;aea.C.P.iX+a.C.P.I||V.xa.C.P.iY+a.C.P.F||V.y100&&(Q=0,0===$?(y=0,U+=2):1===$&&(U=0,y+=.4,O*=-1)))}h=V.x,_=V.y,D=M+y,a.A.A.U4.push(f={text:a.A.AN,x:V.x,y:V.y,width:E,height:w,plotindex:a.A.L,nodeindex:a.L})}else if("in"===c||"radial"===c){var ne=a.CN<30?.65:.5;h=(v=ZC._x_(a.B4,2)%360==ZC._x_(a.BM,2)%360?0===a.CN?[a.iX,a.iY]:ZC.AP.BN(a.iX,a.iY,a.CN+.3*(a.AI-a.CN)+a.DT+t.DT,270):ZC.AP.BN(a.iX,a.iY,a.CN+ne*(a.AI-a.CN)+a.DT+t.DT,D))[0]-E/2+a.BL,_=v[1]-w/2+a.BH}else if(-1!==c.indexOf("fixed=")){var oe=c.split(/=|;|,/),te=(a.AI+a.CN)/2,le=D;oe[1]&&(te=(te=ZC.IU(oe[1],!0))>=-1&&te<=1||-1!==oe[1].indexOf("%")?a.CN+a.DT+te*(a.AI-a.CN):a.CN+a.DT+te),oe[2]&&(le=(le=ZC.IU(oe[2],!0))>=-1&&le<=1||-1!==oe[2].indexOf("%")?a.B4+le*(a.BM-a.B4):a.B4+le),oe[3]&&("+"===oe[3].charAt(0)||"-"===oe[3].charAt(0)?(t.AA=(le%=360)+ZC._f_(oe[3]),t.AA>90&&t.AA<270&&(t.AA+=180)):t.AA=ZC._f_(oe[3])),h=(v=ZC.AP.BN(a.iX,a.iY,te,le))[0]-E/2,_=v[1]-w/2}else"center"===c&&(h=a.iX-E/2+a.BL,_=a.iY-w/2+a.BH);return m&&(h=-9999,_=-9999,t.AO=!1),null!==ZC._n_(t.o.x)&&(h=t.iX),null!==ZC._n_(t.o.y)&&(_=t.iY),h>=-2&&(h=ZC._a_(h)),_>=-2&&(_=ZC._a_(_)),[ZC._i_(h),ZC._i_(_),D]}appendToValueBox(t){var e=this,a={};if("radial"===t.o[ZC._[7]]){var c=.9*ZC._a_(e.AI-e.CN),h=Math.PI*(e.AI+e.CN)*.9*ZC._a_(e.BM-e.B4)/360,_=ZC._i_(Math.max(c,h)/(.75*t.DG));if(a.visible=null===ZC._n_(t.o.visible)?1===e.A.A.A3.length||h>1.25*t.DG:t.JJ.visible,null===ZC._n_(t.o["max-chars"])&&(a["max-chars"]=_),null===ZC._n_(t.o.angle)){var f=(e.B4+e.BM)/2%360;e.A.A.A3.length>1?h>c?f>0&&f<180?f-=90:f+=90:f>90&&f<270&&(f+=180):f=0,a.angle=f}}return a}F9(t,e){var a,c=this,h=super.F9(t,e);if(t)return h;if(c.AO&&h.AO&&null!==ZC._n_(h.AN)&&""!==h.AN){var _="out";if(null!==ZC._n_(a=h.o[ZC._[7]])&&(_=a),"out"===_){var f=!0;if(null!==ZC._n_(a=h.o.connected)&&(f=ZC._b_(a)),f){var m=new DX(c.A);m.Z=m.C7=c.A.CO("bl",0),m.append(c.A.C3.o),m.K=c.K+"-connector",m.B7=c.A0,m.DS="line",m.D=[];var v=h.E.positioninfo,E=(c.B4+c.BM)/2%360,w=ZC.AP.BN(c.iX,c.iY,c.AI+c.DT,E);w[0]+=c.BL,w[1]+=c.BH,m.D.push(w);var D=ZC.AP.BN(c.iX,c.iY,c.AI+c.DT+10,E);D[0]+=c.BL,D[1]+=c.BH,m.D.push(h.iX>=c.iX?"vml"===c.H.AC?[v[0],v[1]+h.F/2]:[D[0],D[1],v[0],v[1]+h.F/2]:"vml"===c.H.AC?[v[0]+h.I+2,v[1]+h.F/2]:[D[0],D[1],v[0]+h.I+2,v[1]+h.F/2]),m.parse(),m.IX=function(M){return c.IX(M)},m.DC()&&m.parse(),m.AO&&m.paint()}}}}paint(){var t,e=this;if(super.paint(),!(e.AD<0)){var a=e.C.BK(e.A.BV("k")[0]);e.setup();var c="pie-sel-"+e.A.L+"-"+e.L;if(typeof e.o.detached!==ZC._[31]&&(e.C.E[c]=ZC._b_(e.o.detached)),e.AI=ZC.CX(a.GH,a.GM)/2,null!==ZC._n_(e.A.o[ZC._[21]])){var h=ZC.IU(e.A.o[ZC._[21]],!1);e.AI=h<=1?e.AI*h:h}else e.AI=a.JM*e.AI;e.CN<=1&&(e.CN*=e.AI),e.CN=Math.max(0,e.CN),e.o[ZC._[8]]=e.CN,e.DT<=1&&(e.DT*=e.AI),e.o["offset-r"]=e.DT,e.C.E[c]&&(e.DT+=ZC._i_(.15*e.AI));var _=e.O=e.A.I8(e,e);if(e.GN(_),e.AD>=0||0===e.A.A.KW[e.L]){var f=new DX(e.A);f.K=e.K,f.Z=e.A.CO("bl",1),f.C7=e.A.CO("bl",0),f.copy(_);var m=e.iX,v=e.iY;e.DT>0&&(m=(t=ZC.AP.BN(e.iX,e.iY,e.DT,(e.B4+e.BM)/2))[0],v=t[1]),f.iX=m,f.iY=v,f.AI=e.AI,f.o[ZC._[21]]=e.AI,f.DS="pie",f.B4=ZC._f_(e.B4),f.BM=ZC._f_(e.BM),f.CN=e.CN,f.E.plotidx=e.A.L,f.E.nodeidx=e.L,f.parse(),e.G8=f;var E=function(){if(!e.A.KI&&e.AO){var V=f.F1(),$=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],y=ZC.Q.FT("poly",e.A.E8,e.A.IT)+'class="'+$+'" '+e.a11y()+' id="'+e.K+ZC._[30]+V+'" />';e.A.A.HJ.push(y)}e.A.U&&e.F9()};if(e.AO)if(e.A.GG&&!e.C.HP){var w=f,D={};w.iX=m,w.iY=v,w.B4=e.B4,w.BM=e.BM,D.angleStart=e.B4,D.angleEnd=e.BM,D.x=m,D.y=v;var M,T=e.A.LK;for(M in w.C5=0,D.alpha=_.C5,2===T?(w.BM=e.B4,D.angleEnd=e.BM):3===T?(w.AI=e.CN,D.size=e.AI):4===T?(t=ZC.AP.BN(e.iX,e.iY,1.2*e.AI,(e.B4+e.BM)/2),w.iX=t[0],w.iY=t[1],D.x=m,D.y=v):5===T&&(w.B4=w.BM=(e.B4+e.BM)/2,D.angleStart=e.B4,D.angleEnd=e.BM),e.A.FZ)w[EB.GP[ZC.EF(M)]]=e.A.FZ[M],D[ZC.EF(M)]=_[EB.GP[ZC.EF(M)]];if(null===ZC._n_(e.C.EN)&&(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(M in e.C.EN[e.A.L+"-"+e.L])w[EB.GP[ZC.EF(M)]]=e.C.EN[e.A.L+"-"+e.L][M];e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(D,e.C.EN[e.A.L+"-"+e.L]);var R=new EB(w,D,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){E()});R.AX=e,e.LD(R)}else f.paint(),E()}else e.A.U&&e.F9()}}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"shape",initcb:function(){if(this.copy(e),this.iX=e.iX,this.iY=e.iY,e.DT>0){var a=ZC.AP.BN(e.iX,e.iY,e.DT,(e.B4+e.BM)/2);this.iX=a[0],this.iY=a[1]}this.AI=e.AI,this.DS="pie",this.A0=e.A.BP[3],this.AE=e.A.BP[2],this.B4=ZC._f_(e.B4),this.BM=ZC._f_(e.BM),this.CN=e.CN},parsecb:function(){this.o[ZC._[21]]=e.AI,this.o[ZC._[8]]=e.CN,this.o["offset-r"]=e.DT}})}P3(t,e){var a=this;if(super.P3(t,e),"click"===e&&t.which<=1&&a.A.A8G){zingchart.SKIP.ANIMATION=!0,zingchart.SKIP.EVENT=!0;var c="pie-sel-"+a.A.L+"-"+a.L;a.C.E[c]=typeof a.C.E[c]===ZC._[31]||!a.C.E[c],a.C.K0(),zingchart.SKIP.EVENT=!1,zingchart.SKIP.ANIMATION=!1}}}class A50 extends MM{constructor(t){super(t),this.bCXY=!0}setup(){var t=this,e=t.C.BK(t.A.BV("k")[0]);t.iX=e.iX+e.I/2+e.BL,t.iY=e.iY+e.F/2+e.BH,t.IJ||(t.copy(t.A),t.o[ZC._[8]]=null,t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}A6E(){var t=this,a=ZC.AP.BN(t.iX,t.iY,t.CN+t.E.bandwidth/2+t.DT,(t.B4+t.BM)/2%360);return[a[0],a[1]]}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_);var f=100*h.AD/h.A.A.KW[h.L],m=""+f;return null!==ZC._n_(_[ZC._[12]])&&(m=f.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]])))),h.CU=[["%node-percent-value",m],["%npv",m]],super.ET(t,e,a,c)}JD(t){var e={},a="in";return null!==ZC._n_(t.o[ZC._[7]])&&(a=t.o[ZC._[7]]),e.color="out"===a?this.A0:this.C2,e}HL(t){var e=this,a="in";null!==ZC._n_(t.o[ZC._[7]])&&(a=t.o[ZC._[7]]);var c,h,_,f=t.I,m=t.F,v=(e.B4+e.BM)/2%360;return"out"===a?e.L===e.A.R.length-1?(_=ZC.AP.BN(e.iX,e.iY,e.A.UL+e.A.R.length*(e.E.bandwidth+e.E.bandspace)+15+t.DT,v),c=v>=0&&v<90||v>=270&&v<360?_[0]+10+e.BL:_[0]-f-10+e.BL,h=_[1]-m/2+e.BH):(c=-1,h=-1):(c=(_=ZC.AP.BN(e.iX,e.iY,e.CN+e.E.bandwidth/2+t.DT,v))[0]-f/2+e.BL,h=_[1]-m/2+e.BH),null!==ZC._n_(t.o.x)&&(c=t.iX),null!==ZC._n_(t.o.y)&&(h=t.iY),[ZC._i_(c),ZC._i_(h),v]}F9(t){var e=this,a=super.F9(t);if(t)return a;if(a.AO&&null!==ZC._n_(a.AN)&&""!==a.AN){var c="in";if(null!==ZC._n_(a.o[ZC._[7]])&&(c=a.o[ZC._[7]]),"out"===c&&e.L===e.A.R.length-1){var h=new DX(e.A);h.Z=h.C7=e.H.usc()?e.H.mc("top"):e.C.AJ["3d"]||e.H.KI?ZC.AM(e.C.K+"-plots-vb-c"):ZC.AM(e.C.K+"-plot-"+e.A.L+"-vb-c"),h.append(e.A.C3.o),h.B7=e.A0,h.DS="line",h.D=[];var _=(e.B4+e.BM)/2%360,f=ZC.AP.BN(e.iX,e.iY,e.CN+e.E.bandwidth+a.DT,_),m=ZC.AP.BN(e.iX,e.iY,e.A.UL+e.A.R.length*(e.E.bandwidth+e.E.bandspace)+15+a.DT,_);f[0]+=e.BL,m[0]+=e.BL,f[1]+=e.BH,m[1]+=e.BH,h.D.push(f),h.D.push(_>=0&&_<90||_>=270&&_<360?[m[0],m[1],m[0]+10,m[1]]:[m[0],m[1],m[0]-10,m[1]]),h.parse(),h.IX=function(v){return e.IX(v)},h.DC()&&h.parse(),h.AO&&h.paint()}}}paint(){var t,e=this;super.paint();var a=e.C.BK(e.A.BV("k")[0]);e.setup(),e.AI=ZC.CX(a.I,a.F)/2,e.AI=a.JM*e.AI,e.CN=e.A.UL,e.CN<1&&(e.CN=e.A.UL*e.AI);var c=e.A.SX;c<1&&(c=e.A.SX*e.AI);var h=2,_=e.AI-e.CN;if(null!==ZC._n_(e.A.aBandWidths)&&null!==ZC._n_(e.A.aBandWidths[e.L])){(h=ZC._f_(e.A.aBandWidths[e.L]))>1&&(h/=100),h=ZC._i_(_*h),h=ZC.BQ(h,2);for(var f=0,m=0;m1&&(f/=100),f=ZC._i_(_*f),e.CN+=f,e.AI=e.CN+h}else h=(_-(e.A.R.length-1)*c)/e.A.R.length,h=ZC.BQ(h,2),e.CN+=e.L*(h+c),e.AI=e.CN+h;var v=e.O=e.A.I8(e,e);e.GN(v);var E=new DX(e.A);E.K=e.K,E.Z=e.A.CO("bl",1),E.C7=e.A.CO("bl",0),E.copy(v),E.iX=e.iX,E.iY=e.iY,E.DS="pie",E.B4=e.B4,E.BM=e.BM,E.CN=e.CN,E.AI=e.AI,E.parse();var w=E.CN;function D(){var y=E.F1(),U=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],O=ZC.Q.FT("poly",e.A.E8,e.A.IT)+'class="'+U+'" '+e.a11y()+' id="'+e.K+ZC._[30]+y+'" />';e.A.A.HJ.push(O),e.A.U&&e.A.U.AO&&e.F9()}if(e.E.bandwidth=h,e.E.bandspace=c,e.A.GG&&!e.C.HP){var M=E,T={};M.B4=e.B4,M.BM=e.BM,T.angleStart=e.B4,T.angleEnd=e.BM;var R=e.A.LK;if(M.C5=0,T.alpha=v.C5,2===R)M.BM=e.B4,T.angleEnd=e.BM;else if(3===R)M.CN=w+e.E.bandwidth,T.slice=w;else if(4===R){var V=ZC.AP.BN(e.iX,e.iY,e.AI,(e.B4+e.BM)/2);M.iX=V[0],M.iY=V[1],T.x=e.iX,T.y=e.iY}else 5===R&&(M.B4=M.BM=(e.B4+e.BM)/2,T.angleStart=e.B4,T.angleEnd=e.BM);for(t in e.A.FZ)M[EB.GP[ZC.EF(t)]]=e.A.FZ[t],T[ZC.EF(t)]=v[EB.GP[ZC.EF(t)]];if(e.C.EN||(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(t in e.C.EN[e.A.L+"-"+e.L])M[EB.GP[ZC.EF(t)]]=e.C.EN[e.A.L+"-"+e.L][t];e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(T,e.C.EN[e.A.L+"-"+e.L]);var $=new EB(M,T,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){D()});$.AX=e,e.LD($)}else E.paint(),D()}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"shape",initcb:function(){this.copy(e),this.iX=e.iX,this.iY=e.iY,this.DS="pie",this.A0=e.A.BP[3],this.AE=e.A.BP[2],this.B4=e.B4,this.BM=e.BM,this.CN=e.CN,this.AI=e.AI},parsecb:function(){this.o[ZC._[8]]=null}})}}class A7V extends MM{constructor(t){super(t);var e=this;e.C8=null,e.CA=null,e.N0="max"}ET(t,e,a,c){var h=this;return"range"===h.A.CV&&(h.CU=[["%node-min-value",h.C8],["%node-max-value",h.CA]]),super.ET(t,e,a,c)}HG(){var t=this;if("range"===t.A.CV&&t.o[ZC._[9]]instanceof Array){var e=t.o[ZC._[9]].length;e>2&&(t.BW=ZC._f_(t.o[ZC._[9]][0])),t.C8=ZC._f_(t.o[ZC._[9]][e-2]),t.CA=ZC._f_(t.o[ZC._[9]][e-1]),t.AD=t.CP=t.CA,t.DP.push(t.C8)}else super.HG()}setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];if(t.JW!==c){var h;h=a.SU("range"===t.A.CV?"min"===t.N0?t.C8:t.CA:t.CP);var _=null!==ZC._n_(t.BW),f=e.A4L(_?t.BW:t.L,h,_);t.iX=f[0],t.iY=f[1],t.JW=c}t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}HL(t){var e,a=this,c=a.A.B0,h=a.A.CM,_=a.C.BK("scale"),f=_.iX+_.I/2,m=_.iY+_.F/2,v=t.I,E=t.F,w="out";null!==ZC._n_(t.o[ZC._[7]])&&(w=t.o[ZC._[7]]);var D=1.15;switch(w){case"out":D=1.15;break;case"over":D=1;break;case"in":D=.85;break;case"middle":D=.5}var R=c.EK/(c.V.length-(360===c.EK||c.DE?0:1)),V=h.SU(a.CP);switch(a.A.CV){case"matrix":case"piano":var $=(ZC.CX(_.I/2,_.F/2)*_.JM-h.A9)/a.A.A.A3.length;e=ZC.AP.BN(f,m,(h.A9+a.A.L*$+(h.A9+(a.A.L+1)*$))/2*D+t.DT,c.DI+(c.DE?R/2:0)+a.L*R);break;default:e=null!==ZC._n_(a.BW)?ZC.AP.BN(f,m,h.A9+V*D+t.DT,c.DI+c.EK*(a.BW-c.AY)/(c.BD-c.AY)):ZC.AP.BN(f,m,h.A9+V*D+t.DT,c.DI+(c.DE?R/2:0)+a.L*R)}return e[0]-=v/2,e[1]-=E/2,null!==ZC._n_(t.o.x)&&(e[0]=t.iX),null!==ZC._n_(t.o.y)&&(e[1]=t.iY),[ZC._i_(e[0]),ZC._i_(e[1])]}JD(){return{color:"rose"===this.A.CV?this.A0:this.B7}}KH(){return{"background-color":"rose"===this.A.CV?this.A0:this.B7,"border-color":"rose"===this.A.CV?this.A0:this.B7,color:this.C2}}paint(){var t,e,a=this;super.paint();var c,h,_=a.A.OK,f=a.A.A5G,m=a.A.B0,v=a.A.CM,E=a.A.R;a.setup(),a.CY=!1,a.C7=a.A.CO("bl",0);var w,D=[],M=[],T=[],R=[],V="range"===a.A.CV;function $(){if(a.A.SA>=a.A.R.length&&a.A.YJ){var Ne=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],We="",Te="";-1!==ZC.AV(["line","area","range"],a.A.CV)?""!==(Te="range"!==a.A.CV||a.A.XU?ZC.AP.PR(ZC.AP.ZL(a.E.points),4):ZC.AP.PR(M,4))&&(We=ZC.Q.FT("poly",a.A.E8,a.A.IT)+'class="'+Ne+'" '+a.a11y()+' id="'+a.K+ZC._[30]+Te+'" />'):-1!==ZC.AV(["rose","column","bar","matrix","piano"],a.A.CV)&&(Te=c.F1(),We=ZC.Q.FT("poly",a.A.E8,a.A.IT)+'class="'+Ne+'" '+a.a11y()+' id="'+a.K+ZC._[30]+Te+'" data-z-sort="'+(a.A.A.A3.length-a.A.L)+'" />'),a.A.A.HJ.push(We)}a.A.U&&a.A.E.vboxid!==a.K&&a.F9()}var y,U,O,Q,W,ae=a.O=a.A.I8(a,a);if(a.A.I4&&a.GN(ae),-1!==ZC.AV(["line","area","range"],a.A.CV)){D=[],M=[],T=[],R=[];var ee=a.iX,ne=a.iY,oe=a.iX,te=a.iY;V&&(a.N0="max",a.setup(),ee=a.iX,ne=a.iY,a.N0="min",a.setup(),oe=a.iX,te=a.iY),a.A.GZ&&(a.A.D.push([ee,ne]),a.A.AH.push([ee,ne])),a.L>0?(w=E[a.L-1])&&(w.N0="max",w.setup(),h=ZC.AP.K3(w.iX,w.iY,ee,ne),D.push(h),M.push(h),V&&(w.N0="min",w.setup(),h=ZC.AP.K3(w.iX,w.iY,oe,te),T.push(h),R.push(h))):(w=E[a.A.R.length-1])&&(w.N0="max",w.setup(),h=ZC.AP.K3(w.iX,w.iY,ee,ne),D.push(h),M.push(h),V&&(w.N0="min",w.setup(),h=ZC.AP.K3(w.iX,w.iY,oe,te),T.push(h),R.push(h))),D.push([ee,ne]),M.push([ee,ne]),V&&(T.push([oe,te]),R.push([oe,te])),a.L')}}}HZ(t){var e=this;if(!ZC.move&&(super.HZ(t),e.FL&&e.FL.AO)){var a=new I7(e.A);a.copy(e.FL),a.Z=ZC.AM(e.C.K+ZC._[22]),a.MJ=!1,a.iX=e.FL.iX,a.iY=e.FL.iY,a.paint()}}}class A6J extends A01{constructor(t){super(t),this.FL=null}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_);var f=ZC.AR.G6(h.A.QC[h.L],_);return h.CU=[["%node-goal-value",f],["%g",f]],super.ET(t,e,a,c)}HL(t){var e=this;return"goal"===ZC._n_(t.o[ZC._[7]])?[e.FL.iX+e.FL.I,e.FL.iY+e.FL.F/2-t.F/2]:super.HL(t)}HG(){var t,e=this;if(e.DP=[],e.CK=e.o[ZC._[9]],"string"==typeof e.o[ZC._[9]]){var a=ZC.AV(e.A.CM.JT,e.o[ZC._[9]]);-1!==a?e.AD=a:(e.A.CM.JT.push(e.o[ZC._[9]]),e.AD=e.A.CM.JT.length-1)}else e.AD=ZC._f_(e.o[ZC._[9]]);e.A.o.goals&&null!==ZC._n_(t=e.A.o.goals[e.L])&&e.DP.push(ZC._f_(t))}paint(){super.paint()}paint_(){var t,e,a=this;if(null!==ZC._n_(a.A.QC[a.L])&&a.AO){var c=a.A.CM.AK(a.A.QC[a.L]);a.FL=new I7(a.A),a.FL.K=a.K+"-goal",a.FL.copy(a.A.FL),a.FL.Z=a.A.CO("fl",0),a.FL.C7=a.A.CO("fl",0),a.FL.IX=function(f){return a.IX(f)},a.FL.DC()&&a.FL.parse(),null!==ZC._n_(t=a.FL.o)&&null!==ZC._n_(t.styles)&&null!==ZC._n_(e=t.styles[a.L])&&(a.FL.append("string"==typeof e?{"background-color":e}:e),a.FL.parse());var h=.2;if(null!==ZC._n_(t=a.FL.o.extension)&&(h=ZC._f_(t)),a.FL.iY=a.getNodeData("y")-a.F*h,a.FL.F=a.F*(1+2*h),null===ZC._n_(a.A.FL.o[ZC._[19]])&&(a.FL.I=ZC.CX(5,a.C.P.I/30)),a.FL.iX=c-a.FL.I/2,a.FL.AO){a.FL.paint();var _=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6];a.A.A.HJ.push(ZC.Q.FT("rect",a.A.E8,a.A.IT)+'class="'+_+'" id="'+a.K+"--goal"+ZC._[30]+ZC._i_(a.FL.iX+a.A.BL+ZC.MAPTX)+","+ZC._i_(a.FL.iY+a.A.BH+ZC.MAPTX)+","+ZC._i_(a.FL.iX+a.A.BL+a.FL.I+ZC.MAPTX)+","+ZC._i_(a.FL.iY+a.A.BH+a.FL.F+ZC.MAPTX)+'" />')}}}HZ(t){var e=this;if(!ZC.move&&(super.HZ(t),e.FL&&e.FL.AO)){var a=new I7(e.A);a.copy(e.FL),a.Z=ZC.AM(e.C.K+ZC._[22]),a.MJ=!1,a.iX=e.FL.iX,a.iY=e.FL.iY,a.paint()}}}class A7W extends MM{HG(){var t,e=this;e.o[ZC._[9]]instanceof Array&&null!==ZC._n_(e.o[ZC._[9]][1])&&(e.CK=e.o[ZC._[9]][1],"string"==typeof e.o[ZC._[9]][0]?-1!==(t=ZC.AV(e.A.B0.J2,e.o[ZC._[9]][0]))?e.BW=t:(e.A.B0.J2.push(e.o[ZC._[9]][0]),e.BW=e.A.B0.J2.length-1):e.BW=ZC._f_(e.o[ZC._[9]][0]),"string"==typeof e.o[ZC._[9]][1]?-1!==(t=ZC.AV(e.A.CM.JT,e.o[ZC._[9]][1]))?e.AD=t:(e.A.CM.JT.push(e.o[ZC._[9]][1]),e.AD=e.A.CM.JT.length-1):e.AD=ZC._f_(e.o[ZC._[9]][1]),null!==e.BW&&e.A.TI(e.BW,e.L))}setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];t.JW!==c&&(t.iX=e.AW?e.iX+e.I-e.A9-(t.L-e.W+1)*e.AB:e.iX+e.A9+(t.L-e.W)*e.AB,t.iY=a.AW?a.iY+a.A9+(t.A.L-a.AY)*a.AB:a.iY+a.F-a.A9-(t.A.L-a.AY+1)*a.AB,t.JW=c),t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0),t.GN(t)}HL(t){var e=this,a="over";null!==ZC._n_(t.o[ZC._[7]])&&(a=t.o[ZC._[7]]);var c=t.I,h=t.F,_=e.iX+e.I/2-c/2,f=e.iY+e.F/2-h/2;switch(a){case"top":f-=e.F/2+h/2+2;break;case"left":_-=e.I/2+c/2+2;break;case"bottom":f+=e.F/2+h/2+2;break;case"right":_+=e.I/2+c/2+2}return null!==ZC._n_(t.o.x)&&(_=t.iX),null!==ZC._n_(t.o.y)&&(f=t.iY),[ZC._i_(_),ZC._i_(f)]}JD(){return{color:"#000"}}getFormatValue(){return this.CK}ET(t,e,a,c){var h,_=this,f=_.A.CM,m=_.A.L;return h=null!==ZC._n_(f.BZ[m])?f.BZ[m]:f.V[m],_.CU=[["%y",h],["%scale-value-label",h]],super.ET(t,e,a,c)}S4(){var t=this;t.setup();var e,a=t.A.B0,c=t.A.CM;switch(t.A.A7M){case"plot-max":e=(ZC._f_(t.AD)-t.A.YT)/(t.A.A5H-t.A.YT);break;case"plot-total":e=(ZC._f_(t.AD)-t.A.YT)/(t.A.A6R-t.A.YT);break;case"chart-max":e=(ZC._f_(t.AD)-t.A.X6)/(t.A.A46-t.A.X6);break;case"chart-total":e=(ZC._f_(t.AD)-t.A.X6)/(t.A.A5I-t.A.X6)}switch(ZC.PQ(e)||(e=.5),t.I=a.AB,t.F=c.AB,t.A.CV){case"alpha":case"brightness":t.C5=t.A.QK+e*(t.A.VD-t.A.QK);break;case"horizontal":t.I=1.01+t.A.QK*a.AB+e*a.AB*(t.A.VD-t.A.QK),a.AW&&(t.iX=t.iX+a.AB-t.I);break;case"vertical":t.F=1.01+t.A.QK*c.AB+e*c.AB*(t.A.VD-t.A.QK),c.AW||(t.iY=t.iY+c.AB-t.F);break;case"size":t.I=1.01+t.A.QK*a.AB+e*a.AB*(t.A.VD-t.A.QK),t.F=1.01+t.A.QK*c.AB+e*c.AB*(t.A.VD-t.A.QK),t.iX+=(a.AB-t.I)/2,t.iY+=(c.AB-t.F)/2}t.iX-=t.AU/2,t.iY-=t.AU/2,t.I+=t.AU,t.F+=t.AU}paint(){var t=this;super.paint(),t.S4();var e=t.C.P;if(!(t.iY+5=e.iY+e.F)){if(t.AO){var a=zingchart.pool.getInstance("I7",t,t.A.K+"-piano-box");if(a.K=t.K,a.copy(t),("none"!==t.A.J8||t.C.J4[t.A.L]||t.C.KR||t.A.T8&&t.A.T8[t.L])&&a.copy(t.A.I8(t,a)),a.iX=t.iX,a.iY=t.iY,a.I=t.I,a.F=t.F,a.Z=t.A.CO("bl",1),a.C7=t.A.CO("bl",0),(-1!==a.BX&&a.AU>0||a.QD+a.OV+a.O2+a.PL!==""||-1!==a.A0||-1!==a.AE||""!==a.DA||""!==a.GV||""!==a.HV)&&(a.paint(),!a.KI)){var c=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6];t.A.A.HJ.push(ZC.Q.FT("rect",t.A.E8,t.A.IT)+'class="'+c+'" '+t.a11y()+' id="'+t.K+ZC._[30]+ZC._i_(t.iX+ZC.MAPTX)+","+ZC._i_(t.iY+ZC.MAPTX)+","+ZC._i_(t.iX+t.I+ZC.MAPTX)+","+ZC._i_(t.iY+t.F+ZC.MAPTX)+'" />')}}t.A.U&&t.A.U.AO&&t.F9()}}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"box",initcb:function(){this.AE=e.A.BP[3],this.B7=e.A.BP[1],this.BX=e.A.BP[1],this.A0=e.A.BP[2]},setupcb:function(){this.iX=e.iX,this.iY=e.iY,this.I=e.I,this.F=e.F}})}}class A6K extends MM{setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];t.JW!==c&&(t.iX=e.AW?e.iX+e.I-e.A9-(t.L+1)*e.AB:e.iX+e.A9+t.L*e.AB,t.iY=a.AW?a.iY+a.A9+t.A.L*a.AB:a.iY+a.F-a.A9-(t.A.L+1)*a.AB,t.JW=c),t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}ET(t,e,a,c){var h,_,f=this,m=ZC._f_(f.A.A.FA["%pstack-"+f.L+"-0-sum"]||"0"),v=f.A.LZ();if(ZC._cp_(e,v),f.CU=[],f.A.L>0&&f.A.A.A3[f.A.L-1]&&f.A.A.A3[f.A.L-1].R[f.L]?_=""+(h=100*f.AD/f.A.A.A3[f.A.L-1].R[f.L].AD):(h=100,_="100"),null!==ZC._n_(v[ZC._[12]])&&(_=h.toFixed(ZC.BQ(0,ZC._i_(v[ZC._[12]])))),f.CU.push(["%output-percent-value",_]),m>0){var E=100*f.AD/m,w=""+E;null!==ZC._n_(v[ZC._[12]])&&(w=E.toFixed(ZC.BQ(0,ZC._i_(v[ZC._[12]])))),f.CU.push(["%node-percent-value",w]),f.CU.push(["%npv",w])}return super.ET(t,e,a,c)}paint(){var t,e,a,c,h,_,f,m,v,E,w,D,M,T=this;super.paint();var R=T.A.B0,V=T.A.CM;T.setup();var $=T.A.LB;$<=1&&($*=R.AB);var y=T.A.ON;y<=1&&(y*=R.AB);var U=T.A.M8;U<=1&&(U*=R.AB);var O=R.AB-$-y-U,Q=U+O*(T.AD/(t="static"===T.A.A32?T.C.AZ.A8F[T.L]:T.C.AZ.BD)),W=0;T.A.L+1')}for(e=0,a=T.A.P6.length;e0&&f.A.A.A3[f.A.L-1]&&f.A.A.A3[f.A.L-1].R[f.L]?_=""+(h=100*f.AD/f.A.A.A3[f.A.L-1].R[f.L].AD):(h=100,_="100"),null!==ZC._n_(v[ZC._[12]])&&(_=h.toFixed(ZC.BQ(0,ZC._i_(v[ZC._[12]])))),f.CU.push(["%output-percent-value",_]),m>0){var E=100*f.AD/m,w=""+E;null!==ZC._n_(v[ZC._[12]])&&(w=E.toFixed(ZC.BQ(0,ZC._i_(v[ZC._[12]])))),f.CU.push(["%node-percent-value",w]),f.CU.push(["%npv",w])}return super.ET(t,e,a,c)}HL(t){var e,a=this,c=a.A.B0,h=a.A.CM;null!==ZC._n_(t.o[ZC._[7]])&&(e=t.o[ZC._[7]]);var _=a.iX+h.AB/2-t.I/2,f=a.iY+c.AB/2-t.F/2,m=a.E["entry-exit"],v=(m[0]+m[1])/2;switch(e){case"in":case"auto":break;case"top":_=a.iX+h.AB-t.I-5;break;case"bottom":_=a.iX+5;break;case"left":f=a.iY+c.AB/2-v/2+5;break;case"left-out":f=a.iY+c.AB/2-v/2-t.F-5;break;case"right":f=a.iY+c.AB/2+v/2-t.F-5;break;case"right-out":f=a.iY+c.AB/2+v/2+5}return null!==ZC._n_(t.o.x)&&(_=t.iX),null!==ZC._n_(t.o.y)&&(f=t.iY),[ZC._i_(_),ZC._i_(f)]}paint(){var t,e,a,c,h,_,f,m,v,E,w,D,M,T=this;super.paint();var R=T.A.B0,V=T.A.CM;T.setup();var $=T.A.LB;$<=1&&($*=R.AB);var y=T.A.ON;y<=1&&(y*=R.AB);var U=T.A.M8;U<=1&&(U*=R.AB);var O=R.AB-$-y-U,Q=U+O*(T.AD/(t="static"===T.A.A32?T.C.AZ.A8F[T.L]:T.C.AZ.BD)),W=0;T.A.L+1')}for(e=0,a=T.A.P6.length;et.AD?(t.A.o["trend-up"]&&(t.J9.append(t.A.o["trend-up"]),t.J9.parse()),t.A.N8.up||(t.A.N8.up=new DV(t.A),t.A.N8.up.copy(t.J9),t.A.N8[ZC._[21]]++)):(t.A.o["trend-equal"]&&(t.J9.append(t.A.o["trend-equal"]),t.J9.parse()),t.A.N8.equal||(t.A.N8.equal=new DV(t.A),t.A.N8.equal.copy(t.J9),t.A.N8[ZC._[21]]++)),t.IJ=!0),t.A.GZ){t.J9=t.DP[2]t.AD?t.A.N8.up:t.A.N8.equal;var h=ZC.CX(t.E.XR,t.E.VY),_=ZC.BQ(t.E.XR,t.E.VY)-ZC.CX(t.E.XR,t.E.VY);_<2&&(_=2),t.E.A8D=h+_/2}}ET(t,e,a,c){var h=this,_=h.A.LZ();function f(m){return ZC.AR.G6(m,_)}return ZC._cp_(e,_),h.CU=[["%node-value-stock-open",f(h.AD)],["%open",f(h.AD)],["%v0",f(h.AD)],["%node-value-stock-high",f(h.DP[0])],["%high",f(h.DP[0])],["%v1",f(h.DP[0])],["%node-value-stock-low",f(h.DP[1])],["%low",f(h.DP[1])],["%v2",f(h.DP[1])],["%node-value-stock-close",f(h.DP[2])],["%close",f(h.DP[2])],["%v3",f(h.DP[2])]],super.ET(t,e,a,c)}HG(){var t,e,a=this;if(a.DP=[],a.o[ZC._[9]]instanceof Array&&5===a.o[ZC._[9]].length)a.BW=ZC._f_(a.o[ZC._[9]][0]),null!==a.BW&&(null!==ZC._n_(a.A.KC[a.BW])&&-1!==ZC.AV(a.A.KC[a.BW],a.L)||a.A.TI(a.BW,a.L)),e=[a.o[ZC._[9]][1],a.o[ZC._[9]][2],a.o[ZC._[9]][3],a.o[ZC._[9]][4]];else if(a.o[ZC._[9]][1]instanceof Array){if("string"==typeof a.o[ZC._[9]][0]){var c=ZC.AV(a.A.B0.J2,a.o[ZC._[9]][0]);-1!==c?a.BW=c:(a.A.B0.J2.push(a.o[ZC._[9]][0]),a.BW=a.A.B0.J2.length-1)}else a.BW=ZC._f_(a.o[ZC._[9]][0]);null!==a.BW&&(null!==ZC._n_(a.A.KC[a.BW])&&-1!==ZC.AV(a.A.KC[a.BW],a.L)||a.A.TI(a.BW,a.L)),e=a.o[ZC._[9]][1]}else e=a.o[ZC._[9]];a.CK=e.join(" "),a.AD=ZC._f_(e[0]),null!==ZC._n_(t=e[1])&&a.DP.push(ZC._f_(t)),null!==ZC._n_(t=e[2])&&a.DP.push(ZC._f_(t)),null!==ZC._n_(t=e[3])&&a.DP.push(ZC._f_(t))}JD(){var t=this,e={};return e[ZC._[0]]=t.DP[2]1&&(M>1?D=(E-(_-1)*w+(_-1)*M)/_:M*=D=(E-(_-1)*w)/(_-(_-1)*M)),D=ZC._l_(D,1,E);var T=e.iX-c/2+m+h*(D+w)-h*M;T=ZC._l_(T,e.iX-c/2+m,e.iX+c/2-v);var R,V=D,$=ZC.CX(e.E.XR,e.E.VY),y=ZC.BQ(e.E.XR,e.E.VY)-ZC.CX(e.E.XR,e.E.VY);if(y<2&&(y=2),m+v===0&&(T-=.5,V+=1),e.I=V,e.F=y,e.iX=T,e.E.A8D=$+y/2,e.setNodeData({x:T,y:$,w:V,h:y}),e.AO){R=ZC.Q.EA(e.H.usc()?e.H.K+"-main-c":e.H.KI?e.C.K+"-plots-bl-c":e.C.K+"-plot-"+e.A.L+"-bl-1-c",e.H.AC);var U,O=e.iX+e.I/2;(e.DP[2]e.AD&&(t=e.A.o["trend-up"])||e.DP[2]===e.AD&&(t=e.A.o["trend-equal"]))&&(e.E[ZC._[73]]=t[ZC._[73]],e.E[ZC._[72]]=t[ZC._[72]]);var Q=e.A.I8(e,e.J9);switch(e.A.CV){default:var W,ae;(U=[]).push([O,e.E.AA3],[O,ZC.CX(e.E.XR,e.E.VY)],null,[O,e.E.ABB],[O,ZC.BQ(e.E.XR,e.E.VY)]),ZC.CQ.paint(R,Q,U),ae=e.DP[2]e.AD?e.A.ACR:e.A.ABL,0!==e.A.E5.length||typeof ae===ZC._[31]||e.O.o.override||e.C.KR?(W=new I7(e.A)).copy(Q):W=ae,e.GN(W),W.Z=e.A.CO("bl",1),W.C7=e.A.CO("bl",0),W.K=e.K,W.iX=T,W.iY=$,W.I=e.I,W.F=e.F,W.paint(),0!==e.A.E5.length||typeof ae!==ZC._[31]||e.O.o.override||e.C.KR||(e.DP[2]e.AD?e.A.ACR=W:e.A.ABL=W);break;case"whisker":case"ohlc":U=[];var ee=Math.max(e.I/4,4);U.push([O,e.E.AA3],[O,e.E.ABB],null,[O-ee,e.E.XR],[O,e.E.XR],null,[O+ee,e.E.VY],[O,e.E.VY]),e.GN(Q),ZC.CQ.paint(R,Q,U)}if(e.A.FV){var ne=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6];e.A.A.HJ.push(ZC.Q.FT("rect",e.A.E8,e.A.IT)+'class="'+ne+'" id="'+e.K+ZC._[30]+ZC._i_(T+ZC.MAPTX)+","+ZC._i_(e.E.AA3+ZC.MAPTX)+","+ZC._i_(T+V+ZC.MAPTX)+","+ZC._i_(e.E.ABB+ZC.MAPTX)+'" />')}e.A.U&&e.A.U.AO&&e.F9()}}HZ(){var t=this;if(!ZC.move&&t.A.IO&&t.A.AO&&"candlestick"===(super.HZ(),t.A.CV)){var e=new I7(t.A);e.K=t.K+"-hover",e.Z=ZC.AM(t.C.K+ZC._[22]),e.C2=t.A.BP[0],e.AE=t.A.BP[3],e.B7=t.A.BP[1],e.BX=t.A.BP[1],e.A0=t.A.BP[2],e.append(t.A.IO.o),e.QB=!0,e.parse(),e.IX=function(c){return t.IX(c)},e.DC()&&e.parse(),t.DP[2]t.AD&&t.A.o["trend-up"]?(e.append(t.A.o["trend-up"]),e.append(t.A.o[ZC._[71]]),t.A.o["trend-up"][ZC._[71]]&&e.append(t.A.o["trend-up"][ZC._[71]]),e.parse()):t.DP[2]===t.AD&&t.A.o["trend-equal"]&&(e.append(t.A.o["trend-equal"]),e.append(t.A.o[ZC._[71]]),t.A.o["trend-equal"][ZC._[71]]&&e.append(t.A.o["trend-equal"][ZC._[71]]),e.parse()),e.iX=t.getNodeData("x"),e.iY=t.getNodeData("y"),e.I=t.getNodeData("w"),e.F=t.getNodeData("h");var a=t.C.P;e.iYa.iY+a.F&&(e.F=a.iY+a.F-e.iY),e.AO&&e.paint()}}}class A7Y extends MM{setup(){var t=this,e=t.C.BK(t.A.BV("k")[0]),a=t.C.BK(t.A.BV("v")[0]),c=t.L%e.H6,h=Math.floor(t.L/e.H6),_=a.EK/(a.BD-a.AY);t.iX=e.iX+c*e.GM+e.GM/2,t.iY=e.iY+h*e.GH+e.GH/2,t.E.angle=a.DI-a.EK/2+_*(t.AD-a.AY),a.AW&&(t.E.angle=a.DI+a.EK/2-_*(t.AD-a.AY)),t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}HL(t){var e,a,c,h=t.I,_=t.F,f=this,m=f.C.BK(f.A.BV("k")[0]),v=ZC.CX(m.GM/2,m.GH/2)*m.JM,E=f.L%m.H6,w=Math.floor(f.L/m.H6),D=m.iX+E*m.GM+m.GM/2+m.BL,M=m.iY+w*m.GH+m.GH/2+m.BH;switch(t.o[ZC._[7]]){case"center":a=D-h/2+f.BL,c=M-_/2+f.BH;break;case"edge":a=(e=ZC.AP.BN(D,M,v+t.DT,f.E.angle))[0]-h/2+f.BL,c=e[1]-_/2+f.BH;break;case"tip":a=(e=ZC.AP.BN(D,M,f.E[ZC._[21]]+t.DT,f.E.angle))[0]-h/2+f.BL,c=e[1]-_/2+f.BH;break;default:a=(e=ZC.AP.BN(D,M,v/2+t.DT,f.E.angle))[0]-h/2+f.BL,c=e[1]-_/2+f.BH}return null!==ZC._n_(t.o.x)&&(a=t.iX),null!==ZC._n_(t.o.y)&&(c=t.iY),[ZC._i_(a),ZC._i_(c)]}JD(){return{color:this.A0}}KH(){return{"background-color":this.A0,"border-color":this.B7,color:this.C2}}paint(){var t,e=this;super.paint(),e.setup(),e.CY=!1;var a=e.C.BK(e.A.BV("k")[0]),c=ZC.CX(a.GM/2,a.GH/2)*a.JM,h=e.L%a.H6,_=Math.floor(e.L/a.H6),f=a.iX+h*a.GM+a.GM/2+a.BL,m=a.iY+_*a.GH+a.GH/2+a.BH,v=ZC.IU(e.A.o[ZC._[21]]||"0.9",!1);v>0&&v<=1&&(v*=c),e.E[ZC._[21]]=v;var E=e.O=e.A.I8(e,e),w=new DX(e.A);function D(ae){var ee=[],ne=e.A.I6;ne[4]>-1&&ne[4]<1&&(ne[4]=ZC._i_(ne[4]*c));var oe=ZC.AP.BN(f,m,ne[4],ae);if(ne[0]>=0)for(t=-ne[2];t<=180+ne[2];t+=5)ee.push(ZC.AP.BN(oe[0],oe[1],ne[0],ae+270-t));else ee.push(ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[0]),ae-90)),ee.push(ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[0]),ae+90));if(0===ne[1])ee.push(ZC.AP.BN(f,m,v>0?v:.9*c,ae));else if(ne[1]>0)for(oe=ZC.AP.BN(f,m,v>0?v:.9*c,ae),t=-ne[3];t<=180+ne[3];t+=5)ee.push(ZC.AP.BN(oe[0],oe[1],ne[1],ae-270-t));else oe=ZC.AP.BN(f,m,(v>0?v:.9*c)+ne[1],ae),ee.push(ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[1]/(90/ne[3])),ae+90),ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[1]),ae+90),ZC.AP.BN(f,m,v>0?v:.9*c,ae),ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[1]),ae+270),ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[1]/(90/ne[3])),ae+270));return ee.push([ee[0][0],ee[0][1]]),ee}function M(){var ae=w.F1(),ee=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],ne=ZC.Q.FT("poly",e.A.E8,e.A.IT)+'class="'+ee+'" id="'+e.K+ZC._[30]+ae+'" />';e.A.A.HJ.push(ne)}w.copy(E),w.Z=e.A.CO("bl",1),w.C7=e.A.CO("bl",0),w.K=e.K+"-arrow";var T=e.C.BK(e.A.BV("v")[0]),R=T.DI-T.EK/2,V=D(e.E.angle);if(e.E.points=V,w.DS="poly",w.D=V,w.parse(),w.IX=function(ae){return e.IX(ae)},w.DC()&&w.parse(),e.A.GG&&!e.C.HP){var $,y=w,U={},O=e.A.LK;for($ in y.C5=0,U.alpha=E.C5,2===O&&(y.A31=R,U.A31=e.E.angle),e.A.FZ)y[EB.GP[ZC.EF($)]]=e.A.FZ[$],U[ZC.EF($)]=E[EB.GP[ZC.EF($)]];if(e.C.EN||(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for($ in e.C.EN[e.A.L+"-"+e.L]){var Q=EB.GP[ZC.EF($)];null===ZC._n_(Q)&&(Q=$),y[Q]=e.C.EN[e.A.L+"-"+e.L][$]}e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(U,e.C.EN[e.A.L+"-"+e.L]);var W=new EB(y,U,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){M()});W.AX=e,W.A0T=function(ae,ee){null!==ZC._n_(ee.A31)&&(ae.D=D(ee.A31))},e.LD(W),e.A.U&&e.F9()}else w.paint(),e.A.U&&e.F9(),M()}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"shape",initcb:function(){this.copy(e),this.B7=e.A.BP[1],this.BX=e.A.BP[1],this.A0=e.A.BP[3],this.AE=e.A.BP[2],this.D=e.E.points,this.Z=this.C7=e.A.CO("bl",2)}})}}class A7Z extends MM{constructor(t){super(t);var e=this;e.C8=null,e.CA=null,e.N0="min"}ET(t,e,a,c){var h=this;return h.CU=[["%range-set",h.N0],["%node-min-value",h.C8],["%node-max-value",h.CA]],super.ET(t,e,a,c)}HG(){var t,e,a=this;a.o[ZC._[9]][1]instanceof Array?("string"==typeof a.o[ZC._[9]][0]?-1!==(e=ZC.AV(a.A.B0.J2,a.o[ZC._[9]][0]))?a.BW=e:(a.A.B0.J2.push(a.o[ZC._[9]][0]),a.BW=a.A.B0.J2.length-1):a.BW=ZC._f_(a.o[ZC._[9]][0]),null!==a.BW&&(null!==ZC._n_(a.A.KC[a.BW])&&-1!==ZC.AV(a.A.KC[a.BW],a.L)||a.A.TI(a.BW,a.L)),t=a.o[ZC._[9]][1]):t=a.o[ZC._[9]],"string"==typeof t[0]?-1!==(e=ZC.AV(a.A.CM.JT,t[0]))?a.C8=e:(a.A.CM.JT.push(t[0]),a.C8=a.A.CM.JT.length-1):a.C8=ZC._f_(t[0]),a.DP.push(a.C8),"string"==typeof t[1]?-1!==(e=ZC.AV(a.A.CM.JT,t[1]))?a.CA=e:(a.A.CM.JT.push(t[1]),a.CA=a.A.CM.JT.length-1):a.CA=ZC._f_(t[1]),a.CK=t.join(" "),a.AD=a.CA}setup(){var t=this,e=t.A.NN,a=t.A.B0,c=t.A.CM,h=[a.W,a.A1,c.W,c.A1,t.N0];null===ZC._n_(t.AH)&&(t.AH=[]),t.A.bFastRange&&(t.E.points=null,t.E.pointsarea=null),t.JW!==h&&(e?(t.iY=null!==t.BW?a.AK(t.BW):a.H7(t.L),t.iX=c.AK("min"===t.N0?t.C8:t.CA)):(t.iX=null!==t.BW?a.AK(t.BW):a.H7(t.L),t.iY=c.AK("min"===t.N0?t.C8:t.CA)),t.JW=h),t.A.bFastRange?t.IJ=!1:t.IJ||ZC.DM(t.iX,t.C.P.iX-10,t.C.P.iX+t.C.P.I+10)&&ZC.DM(t.iY,t.C.P.iY-10,t.C.P.iY+t.C.P.F+10)&&(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(),t.IJ=!0),t.E.NO=c.AK(t.C8),t.E.RK=c.AK(t.CA)}JD(){return this.A.bFastRange?{color:this.A.B7}:{color:this.B7}}KH(){return this.A.bFastRange?{"background-color":this.A.B7,"border-color":this.A.B7,color:this.A.C2}:{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}paint(){var t,e=this;super.paint();var a=e.A.B0,c=e.A.OK,h=e.A.NN,_=e.A.R;if(e.setup(),!e.A.bFastRange){null!==ZC._n_(e.A.o[e.N0+"-line"])&&(e.append(e.A.o[e.N0+"-line"]),e.parse()),e.CY=!1,e.C7=e.A.CO("bl",1);var f,m,v,E,w,D,M,T,R,V,$,y,U,O=[],Q=[];if("spline"===e.A.CV){if(typeof e.E["intersect.index"]===ZC._[31]&&(e.E["intersect.index"]=-1,_[e.L+e.A.Y])){var ee=[],ne=[],oe=[];for(M=-1;M<3;M++)_[e.L+M]?(_[e.L+M].setup(),ee.push(_[e.L+M].E.NO),oe.push(_[e.L+M].E.RK),ne.push(h?_[e.L+M].iY:_[e.L+M].iX)):(ee.push(e.E.NO),oe.push(e.E.RK),ne.push(h?e.iY:e.iX));R=ZC._a_(ne[2]-ne[1]);var te=ZC.AP.YY(e.A.QP,ee,ZC._i_(R)),le=ZC.AP.YY(e.A.QP,oe,ZC._i_(R));if(_[e.L+e.A.Y].C8===_[e.L+e.A.Y].CA)e.E["intersect.index"]=te.length;else{var ce=te[0][1]-le[0][1];for(M=1,T=te.length;M=0;M--)e.AH.push(e.A.SH.max[M]);if(null!==ZC._n_(t=e.A.SH.min))for(M=0,T=t.length;M=a.A1&&(ae=!1),_[e.L+e.A.Y]||(ae=!1),ae&&(_[e.L+e.A.Y].N0=e.N0,_[e.L+e.A.Y].setup(),h?(m=[e.E.NO,e.iY],v=[_[e.L+e.A.Y].E.NO,_[e.L+e.A.Y].iY],E=[e.E.RK,e.iY],w=[_[e.L+e.A.Y].E.RK,_[e.L+e.A.Y].iY],D=ZC.AP.A67(m,v,E,w),f=ZC.DM(D[1],_[e.L+e.A.Y].iY,e.iY)?D:ZC.AP.K3(_[e.L].iX,_[e.L].iY,_[e.L+e.A.Y].iX,_[e.L+e.A.Y].iY),Q.push([f[0],ZC._i_(f[1])]),O.push([f[0],f[1]])):(m=[e.iX,e.E.NO],v=[_[e.L+e.A.Y].iX,_[e.L+e.A.Y].E.NO],E=[e.iX,e.E.RK],w=[_[e.L+e.A.Y].iX,_[e.L+e.A.Y].E.RK],D=ZC.AP.A67(m,v,E,w),f=ZC.DM(D[0],_[e.L+e.A.Y].iX,e.iX)?D:ZC.AP.K3(_[e.L].iX,_[e.L].iY,_[e.L+e.A.Y].iX,_[e.L+e.A.Y].iY),Q.push([ZC._i_(f[0]),f[1]]),O.push([f[0],f[1]])))}if("min"===e.N0)for(M=0,T=Q.length;M=0;M--)e.AH.push(Q[M]);if("max"===e.N0){var ie=new DX(e.A);ie.K=e.K+"-area",ie.Z=e.A.CO("bl",0),ie.copy(e.O),ie.B1=0,ie.AU=0,ie.ES=0,ie.G4=0,ie.parse(),ie.D=e.AH,ie.C5=e.A.HW;var De=e.C.P;for(ie.D1=[De.iX,De.iY,De.iX+De.I,De.iY+De.F],ie.paint(),e.E.pointsarea=[],M=0,T=e.AH.length;M'))}"min"===e.N0?e.E.points=O:(e.E.points.push(null),e.E.points=e.E.points.concat(O));var ge=new CZ(e);if(ge.copy(e.O),ge.append(e.A.o[e.N0+"-line"]),ge.K=e.K+"-line",ge.parse(),ZC.CQ.setup(c,ge),ZC.CQ.paint(c,ge,O),"max"===e.N0&&e.paintPreview(e,e.E.points,e.E.pointsarea),h?ZC.DM(e.iY,a.iY-1,a.iY+a.F+1)&&ZC.DM(e.iX,a.iX-1,a.iX+a.I+1):ZC.DM(e.iX,a.iX-1,a.iX+a.I+1)&&ZC.DM(e.iY,a.iY-1,a.iY+a.F+1)){var me=new DX(e.A);me.K=e.K+"-marker-"+e.N0,me.Z=me.C7=e.A.CO("fl",0),me.iX=e.iX,me.iY=e.iY,me.B7=e.A.BP[3],me.BX=e.A.BP[3],me.A0=e.A.BP[2],me.AE=e.A.BP[2],me.append(e.A.A2.o),e.A.o[e.N0+"-marker"]&&me.append(e.A.o[e.N0+"-marker"]),me.parse(),me.IX=function(Ze){return e.IX(Ze)},me.DC()&&me.parse(),me.AO&&"none"!==me.AF&&(e.A.N6>a.A1-a.W&&me.paint(),e.E["marker.type"]=me.DS,y=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],a.AW&&O.reverse(),e.A.FV&&(""!==(U=ZC.AP.PR(ZC.AP.ZL(e.E.points),4))?e.A.A.HJ.push(ZC.Q.FT("poly",e.A.E8,e.A.IT)+'class="'+y+'" '+e.a11y()+' id="'+e.K+"--"+e.N0+ZC._[30]+U+'" />'):e.A.A.HJ.push(ZC.Q.FT("circle",e.A.E8,e.A.IT)+'class="'+y+'" '+e.a11y()+' id="'+e.K+"--"+e.N0+ZC._[30]+ZC._i_(me.iX+ZC.MAPTX)+","+ZC._i_(me.iY+ZC.MAPTX)+","+ZC._i_(1.5*ZC.BQ(3,me.AI))+'" />'))),e.A.U&&e.A.U.AO&&e.F9()}}}paintPreview(t,e,a){var c=this;if(c.C.B9&&c.C.B9.IJ&&c.A.R1){var h,_=c.C.P,f=c.C.B9,m=c.A.mapPointsToPreview(a),v=new DX(c.A);v.copy(t),v.CY=!0,v.LH=!0,v.B1=0,v.AU=0,v.ES=0,v.G4=0,v.C5=c.A.HW,v.D1=[_.iX,_.iY,_.iX+_.I,_.iY+_.F],v.K=c.K+"-area-preview",v.Z=f.Z,v.D=m,v.paint();var E=c.A.mapPointsToPreview(e);c.A.WK?h=c.A.WK:(h=new CZ(c),c.A.WK=h),h.copy(t);var w=ZC.Q.EA(f.Z,c.H.AC);h.B1=1,ZC.CQ.paint(w,h,E,null,3)}}HZ(){var t=this,e=t.A.NN;if(!ZC.move){var a=t.A.B0;if(t.A.GC&&t.A.AO){var c=ZC.Q.EA(t.C.K+ZC._[22],t.H.AC),h=new DX(t.A);if(h.K=t.K+"-area-hover",h.Z=ZC.AM(t.C.K+ZC._[22]),h.LH=!0,h.copy(t),h.append(t.A.IO.o),h.D=t.E.pointsarea||[],h.parse(),h.AO){h.C5=t.A.HW;var _=t.C.P;h.D1=[_.iX,_.iY,_.iX+_.I,_.iY+_.F],ZC.CQ.setup(c,h),h.paint()}var f=ZC.Q.EA(t.C.K+ZC._[22],t.H.AC),m=new CZ(t.A);m.K=t.K+"-line-hover",m.CY=!1,m.B7=t.A.BP[3],m.append(t.A.IO.o),m.parse(),m.IX=function(E){return t.IX(E)},m.DC()&&m.parse(),m.AO&&(ZC.CQ.setup(f,m),ZC.CQ.paint(f,m,t.E.points||[]))}if(t.A.N6>a.A1-a.W&&t.A.GC&&t.A.AO){super.HZ();var v=new DX(t.A);v.K=t.K+"-marker-max-hover",v.Z=ZC.AM(t.C.K+ZC._[22]),v.DS=t.E["marker.type"],e?(v.iY=t.iY,v.iX=t.E.RK):(v.iX=t.iX,v.iY=t.E.RK),v.B7=t.A.BP[3],v.BX=t.A.BP[3],v.A0=t.A.BP[2],v.AE=t.A.BP[2],v.append(t.A.GC.o),v.parse(),v.IX=function(E){return t.IX(E)},v.DC()&&v.parse(),v.AO&&"none"!==v.AF&&v.paint(),v.K=t.K+"-marker-min-hover",e?v.iX=t.E.NO:v.iY=t.E.NO,v.AO&&"none"!==v.AF&&v.paint()}}}}class A84 extends MM{constructor(t){super(t),this.bCXY=!0,this.U=null}parse(){super.parse()}XI(){super.XI();var t=this.C.E;t.update.npv=t.update["node-percent-value"]=this.ET("%npv")}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_),-1===t.indexOf("%npv")&&-1===t.indexOf("%node-percent-value")||null!==ZC._n_(_[ZC._[12]])&&-1!==_[ZC._[12]]||(_[ZC._[12]]=1);var f=0,m="0";if(h.A.A.KW[h.L]>0&&(m=""+(f=100*h.AD/h.A.A.KW[h.L])),h.A.A.A3.length>1&&h.A.L===h.A.A.A3.length-1){var v=0;if(null===ZC._n_(h.A.o.totals)){for(var E=0;E0&&(D=""+(w=100*h.A.A.A3[E].R[h.L].AD/h.A.A.KW[h.L])),null!==ZC._n_(_[ZC._[12]])&&(D=w.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]])))),v+=ZC._f_(D)}m=""+(f=Math.max(0,100-v))}}null!==ZC._n_(_[ZC._[12]])&&(m=f.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]]))));var M,T=ZC._f_(h.A.A.KW[h.L]||"0");return M=ZC.AR.G6(T,_,h.A),h.CU=[["%node-percent-value",m],["%npv",m],["%pie-total-value",M]],super.ET(t,e,a,c)}OS(t){var e,a=this,c=(a.B4+a.BM)/2%360,h=0;null!==ZC._n_(e=t["offset-r"])&&(h=ZC._f_(ZC._p_(e))),h<1&&(h*=a.AI);var _=new CE(a.C,(a.CN+.5*(a.AI-a.CN)+a.DT+h)*ZC.EI(c),(a.CN+.5*(a.AI-a.CN)+a.DT+h)*ZC.EO(c),0).EC;return[_[0],_[1],{reference:a,center:!0}]}setup(){var t=this,e=t.C.BK(t.A.BV("k")[0]),a=t.L%e.H6,c=Math.floor(t.L/e.H6);t.iX=e.iX+a*e.GM+e.GM/2+e.BL,t.iY=e.iY+c*e.GH+e.GH/2+e.BH,t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(),t.IJ=!0)}JD(t){var e={},a="out";return null!==ZC._n_(t.o[ZC._[7]])&&(a=t.o[ZC._[7]]),e.color="out"===a?this.A0:this.C2,e}HL(t){var e,a=this,c="out";null!==ZC._n_(e=t.o[ZC._[7]])&&(c=e);var h,_,f,m,v,E=t.I,w=t.F,D=(a.B4+a.BM)/2%360,M=D;if("out"===c){D=M=a.A.A.YX["n"+a.L][a.A.L];var T=function(te,le){le<0&&(le=360+le),le%=360;var ce=ZC.AP.BN(a.iX,a.iY,te+a.DT+t.DT+20,le),Ce=a.C.EZ[ZC._[27]];Ce>45&&a.A.A.A3.length>10&&(a.C.EZ[ZC._[27]]=45+(Ce-45)/3),v=new CE(a.C,ce[0]-ZC.AQ.E3,ce[1]-ZC.AQ.E4,0),a.C.EZ[ZC._[27]]=Ce,ce[0]=v.EC[0],ce[1]=v.EC[1];var se=ce[0]+t.BL-E/2;return le>=0&&le<=90||le>=270&&le<=360?se+=E/2+10:se-=E/2+10,[se,ce[1]+t.BH-w/2]},R=T(a.AI,M);h=R[0],_=R[1],a.U=t;var V={x:h,y:_,width:E,height:w},$=zingchart.DEV.SPREADTYPE;m=!0;for(var y=0,U=0,O=-1,Q=0,W=0;m&&W<1024;){m=!1;for(var ae=0,ee=a.A.A.U4.length;ae10?-8:-2)||V.x+t.I>a.C.P.iX+a.C.P.I||V.xa.C.P.iY+a.C.P.F||V.y100&&(Q=0,0===$?(y=0,U+=4):1===$&&(U=0,y+=1,O*=-1)))}h=V.x,_=V.y,D=M+y,a.A.A.U4.push(f={text:a.A.AN,x:V.x,y:V.y,width:E,height:w,plotindex:a.A.L,nodeindex:a.L})}else if("in"===c){var oe=ZC.AP.BN(a.iX,a.iY,a.CN+(a.CN<30?.65:.5)*(a.AI-a.CN)+a.DT+t.DT,D);v=new CE(a.C,oe[0]-ZC.AQ.E3,oe[1]-ZC.AQ.E4,0),oe[0]=v.EC[0],oe[1]=v.EC[1],h=oe[0]+t.BL-E/2,_=oe[1]+t.BH-w/2}else"center"===c&&(h=(v=new CE(a.C,a.iX-ZC.AQ.E3,a.iY-ZC.AQ.E4,0)).EC[0]+t.BL-E/2,_=v.EC[1]+t.BH-w/2);return m&&(h=-9999,_=-9999,t.AO=!1),null!==ZC._n_(t.o.x)&&(h=t.iX),null!==ZC._n_(t.o.y)&&(_=t.iY),h>=-2&&(h=ZC._a_(h)),_>=-2&&(_=ZC._a_(_)),[ZC._i_(h),ZC._i_(_),D]}F9(t,e){var a,c=this,h=super.F9(t,e);if(t)return h;if(c.AO&&h.AO&&null!==ZC._n_(h.AN)&&""!==h.AN){var _="out";if(null!==ZC._n_(h.o[ZC._[7]])&&(_=h.o[ZC._[7]]),"out"===_){var f=!0;if(null!==ZC._n_(a=h.o.connected)&&(f=ZC._b_(a)),f){var m=new DX(c.A);m.Z=m.C7=c.A.CO("bl",0),m.append(c.A.C3.o),m.B7=c.A0,m.DS="line",m.D=[];var v=h.E.positioninfo,E=(c.B4+c.BM)/2%360,w=0;E>=0&&E<=180&&(w=c.E.thickness/2);var D=ZC.AP.BN(c.iX,c.iY,c.AI+c.DT+h.DT,E);(D=new CE(c.C,D[0]-ZC.AQ.E3,D[1]-ZC.AQ.E4,w).EC)[0]+=c.BL,D[1]+=c.BH,m.D.push(D);var M=ZC.AP.BN(c.iX,c.iY,c.AI+c.DT+h.DT+20,E);(M=new CE(c.C,M[0]-ZC.AQ.E3,M[1]-ZC.AQ.E4,w).EC)[0]+=c.BL,M[1]+=c.BH,m.D.push(h.iX>=c.iX?[M[0],M[1],v[0],v[1]+h.F/2]:[M[0],M[1],v[0]+h.I+2,v[1]+h.F/2]),m.parse(),m.IX=function(T){return c.IX(T)},m.DC()&&m.parse(),m.AO&&m.paint()}}}}paint(){var t,e,a,c,h,_,f,m,v,E=this,w=E.C.CL,D=E.C.BK(E.A.BV("k")[0]),M=E.C.EZ[ZC._[27]],T=E.C.EZ[ZC._[28]];E.setup();var R="pie-sel-"+E.A.L+"-"+E.L;if(typeof E.o.detached!==ZC._[31]&&(E.C.E[R]=ZC._b_(E.o.detached)),!(E.AD<0)){var V=ZC.BQ(.7,ZC.EI(M));E.AI=ZC.CX(D.GH/V,D.GM)/2,E.AI=null!==ZC._n_(E.A.o[ZC._[21]])?E.A.AI:D.JM*E.AI,E.CN<1&&(E.CN*=E.AI),E.CN=Math.max(0,E.CN),E.o[ZC._[8]]=E.CN,E.DT<1&&(E.DT*=E.AI),E.o["offset-r"]=E.DT;var $=E.A.JP;-1===$&&($=E.AI/5),E.E.thickness=$;var y=E.iX-ZC.AQ.E3,U=E.iY-ZC.AQ.E4;E.B4=ZC._i_(E.B4),E.BM=ZC._i_(E.BM);var O=(E.B4+E.BM)/2;E.C.E[R]&&(E.DT+=ZC._i_(.15*E.AI)),E.DT>0&&(y+=E.DT*ZC.EI(O),U+=E.DT*ZC.EO(O));var Q=E.O=E.A.I8(E,E);Q.DF=E.K+"-3dfacet";var W=new CZ(E);if(W.copy(Q),W.A0=ZC.AR.JU(ZC.AR.GE(W.A0)),W.AE=ZC.AR.JU(ZC.AR.GE(W.AE)),E.AD>=0||0===E.A.A.KW[E.L]){for(t=E.B4,(f=[]).push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]),t=E.B4;t<=E.BM;t+=1)f.push([y+E.AI*ZC.EI(t),U+E.AI*ZC.EO(t),0]);for(t=E.BM,f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]),t=E.BM;t>=E.B4;t-=1)f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]);if((e=ZC.DJ.D8(Q,E.C,f)).K=E.K+"-facet1",w.add(e),a=null,E.B4%360>=0+T&&E.B4%360<180+T||E.BM%360>0+T){v=E.BM;var ae=function(le,ce,Ce){var se,he=[];for(se=le,he.push([y+E.AI*ZC.EI(se),U+E.AI*ZC.EO(se),0]),se=le;se<=ce;se+=1)he.push([y+E.AI*ZC.EI(se),U+E.AI*ZC.EO(se),0]);for(se=ce,he.push([y+E.AI*ZC.EI(se),U+E.AI*ZC.EO(se),$]),se=ce;se>=le;se-=1)he.push([y+E.AI*ZC.EI(se),U+E.AI*ZC.EO(se),$]);(a=ZC.DJ.D8(W,E.C,he)).MO=[.01,1,1,1],a.K=E.K+"-facet2"+Ce,w.add(a)};(m=E.B4)<180&&v>360?(ae(m=m<0?m+360:m,180,1),ae(360,v,2)):(m=ZC.BQ(m,v>360?365:5),(v=ZC.CX(v,v>360?535:175))>m&&ae(m,v,1))}if(_=null,E.CN>0+T&&E.BM>180+T){for(t=E.B4,m=E.B4,E.B4<180+T&&E.BM>180+T&&(t=180+T,m=180+T),(f=[]).push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]),t=m;t<=E.BM;t+=1)f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]);for(t=E.BM,f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),$]),t=E.BM;t>=m;t-=1)f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),$]);(_=ZC.DJ.D8(W,E.C,f)).K=E.K+"-facet3",w.add(_)}var ee=function(le,ce,Ce){return[[y+le*ZC.EI(Ce),U+le*ZC.EO(Ce),0],[y+le*ZC.EI(Ce),U+le*ZC.EO(Ce),$],[y+ce*ZC.EI(Ce),U+ce*ZC.EO(Ce),$],[y+ce*ZC.EI(Ce),U+ce*ZC.EO(Ce),0]]};(c=ZC.DJ.D8(W,E.C,{points:ee(E.CN,E.AI,E.B4),mathpoints:ee(E.CN+1,E.AI+1,E.B4-1)})).K=E.K+"-facet4",w.add(c),(h=ZC.DJ.D8(W,E.C,{points:ee(E.CN,E.AI,E.BM),mathpoints:ee(E.CN+1,E.AI+1,E.BM+1)})).K=E.K+"-facet5",w.add(h);var ne=E.C.K+ZC._[34]+E.C.K+ZC._[35]+E.A.L+ZC._[6],oe=ZC.Q.FT("poly",E.A.E8)+'class="'+ne+'" id="'+E.K,te=E.A.A.HJ;te.push(oe+'--top" '+E.a11y()+' data-z-sort="1" coords="'+e.F1()+'" />'),a&&te.push(oe+'--outer" data-z-sort="1" coords="'+a.F1()+'" />'),(E.CN>0||E.DT>0)&&(_&&te.push(oe+'--inner" data-z-sort="2" coords="'+_.F1()+'" />'),te.push(oe+'--start" data-z-sort="2" coords="'+c.F1()+'" />',oe+'--end" data-z-sort="2" coords="'+h.F1()+'" />'))}E.A.U&&E.F9()}}P3(t,e){var a=this;if(super.P3(t,e),"click"===e&&t.which<=1&&a.A.A8G){var c="pie-sel-"+a.A.L+"-"+a.L;a.C.E[c]=typeof a.C.E[c]===ZC._[31]||!a.C.E[c],a.C.K0()}}}class A7H extends A00{setup(){this.S4()}OS(){var t=this;t.paint(!0);var e=t.C.BK(t.A.BV("v")[0]),h=new CE(t.C,t.iX+t.I/2-ZC.AQ.E3,t.iY+(e.AW?t.F:0)-ZC.AQ.E4,t.A.E["z-start"]);return[ZC._i_(h.EC[0]),ZC._i_(h.EC[1]),{reference:t,center:!0}]}HL(t){var e=super.HL(t);if("-1/-1"!==e.join("/")){var a=new CE(this.C,e[0]+t.I/2-ZC.AQ.E3,e[1]+t.F/2-ZC.AQ.E4,this.A.E["z-mid"]);return[ZC._i_(a.EC[0])-t.I/2,ZC._i_(a.EC[1])-t.F/2]}return e}paint(t){var e,a=this;super.paint(),typeof t===ZC._[31]&&(t=!1);var c=a.C.CL,h=a.A.B0,_=a.A.CM;a.setup();var f,m,v,E,w,D,M,T,R,V,$,y,U,O,Q,W,ae=a.A.RB(),ee=ae.AB,ne=ae.EU,oe=ae.CF,te=ae.CS,le=ae.F4,ce=ae.D3,Ce=ae.F0;if(t?ne=a.A.E["node-"+a.L+"-bar-index"]:a.A.E["node-"+a.L+"-bar-index"]=ae.EU,a.A.CD){v=0;var se=a.A.A.KM[ne];for(f=0;f0&&(a.CP!==a.AD&&(fe=(v-a.CP+a.AD)/v),ie=(v-a.CP)/v),_.AW){var De=fe;fe=ie,ie=De}a.A.M4&&(ne=a.L);var ge=a.iX-ee/2+oe+ne*(ce+le)-ne*Ce;if(ge=ZC._l_(ge,a.iX-ee/2+oe,a.iX+ee/2-te),a.A.D3>0){var me=ce;(ce=a.A.D3)<=1&&(ce*=me),ge+=(me-ce)/2}var Ze=ce,pe=a.iY,ve=null!==ZC._n_(a.A.M9[a.L])?a.A.M9[a.L]:0;if(pe=_.AK(a.A.CD&&"100%"===a.A.KZ?100*(a.CP+ve)/a.A.A.FA[a.L]["%total-"+a.A.DZ]:a.CP+ve),a.A.CD?(w=pe-(E=_.AK("100%"===a.A.KZ?100*(a.CP-a.AD+ve)/a.A.A.FA[a.L]["%total-"+a.A.DZ]:a.CP-a.AD+ve)),a.AD<0&&(pe=E),_.AW?w>0&&(w=ZC._a_(w),pe=E):w<0&&(pe=E-(w=ZC._a_(w)))):pe=(w=pe-(E=_.AK(ve)))<0?E-(w=ZC._a_(w)):E,oe+te===0&&(ge-=.5,Ze+=1),a.I=Ze,a.F=w,a.iX=ge,a.iY=pe,a.iYVal=_.AW?a.AD>=_.HC?pe+a.F:pe:a.AD>=_.HC?pe:pe+a.F,a.C.CW){var ke="middle";a.C.CW.o.marker&&null!==ZC._n_(e=a.C.CW.o.marker.alignment)&&(ke=e),null!==ZC._n_(a.A.o["guide-marker"])&&null!==ZC._n_(e=a.A.o["guide-marker"].alignment)&&(ke=e),"node"===ke&&(a.E.A6B=a.iX+a.I/2)}if(!t){var de,Oe,Fe,be=ge-ZC.AQ.E3,Se=pe-ZC.AQ.E4,xe=0,we=ZC.AQ.FY,Re=0,Ie=we;if(a.A.A4B){if(Oe=xe,"mixed3d"===a.C.AF||"mixed"===a.C.AF){for(de=1,f=0,m=a.A.A.A3.length;ff&&Re--);Ie/=de,Re=de-Re-1}Oe=Re*Ie+.2*Ie,Fe=(Re+1)*Ie-.2*Ie}if(null!==ZC._n_(a.A.o["z-start"])&&(Oe=ZC._i_(a.A.o["z-start"])),null!==ZC._n_(a.A.o["z-end"])&&(Fe=ZC._i_(a.A.o["z-end"])),null!==ZC._n_(a.A.o.depth)){var Ne=ZC._i_(a.A.o.depth);Oe=Re*Ie+Ie/2-Ne,Fe=Re*Ie+Ie/2+Ne}xe=Oe,we=Fe-Oe,a.A.E["z-plots"]=de,a.A.E["z-cnt"]=Re,a.A.E["z-depth"]=Ie,a.A.E["z-start"]=Oe,a.A.E["z-mid"]=(Oe+Fe)/2;var We=a.O=a.A.I8(a,a.O);if(We.DF=a.K+"-3dfacet",a.A.I4&&(a.GN(We),We.parse()),We.AO){var Te=new CZ(a);Te.copy(We),Te.A0=ZC.AR.JU(ZC.AR.GE(Te.A0)),Te.AE=ZC.AR.JU(ZC.AR.GE(Te.AE)),Te.BX=ZC.AR.JU(ZC.AR.GE(Te.BX));var ze=new CZ(a);ze.copy(We),ze.A0=ZC.AR.JU(ZC.AR.GE(ze.A0),15),ze.AE=ZC.AR.JU(ZC.AR.GE(ze.AE),15),ze.BX=ZC.AR.JU(ZC.AR.GE(ze.BX),15);var Ve=new CZ(a);Ve.copy(We);var lt=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],Ee=ZC.Q.FT("poly",a.A.E8,a.O.IT)+'class="'+lt+'" id="'+a.K,nt=a.C.EZ.true3d,Ge=a.I/2,Pe=we/2,Qe=fe*Ge,Ae=ie*Ge,He=ie*Pe,Me=fe*Pe;_.AW&&!a.A.CD?(D=a.AD>=0?0:a.F,M=a.AD>=0?a.F:0):(D=a.AD>=0?a.F:0,M=a.AD>=0?0:a.F);var at=a.A.A.HJ,$e=ZC.CX(Pe,Ge),ot=a.C.EZ[ZC._[28]],et=a.C.EZ.angle,rt=ZC.EI(et)*Pe,Bt=ZC.EO(et)*Pe;nt||($e=ZC.CX(2*rt,Ge));var It=function(Xn){var Dn=0,Pt=a.A.L,Ot=a.L,On=a.A.A.A3.length,An=a.A.R.length;switch((a.A.CD?"s":"")+(h.AW?"k":"")+(_.AW?"v":"")){case"":case"v":case"s":Dn=10*Pt+1e4*Ot+Xn;break;case"sv":Dn=10*(On-Pt)+1e4*Ot+Xn;break;case"k":case"kv":case"sk":Dn=10*Pt+1e4*(An-Ot)+Xn;break;case"skv":Dn=10*(On-Pt)+1e4*(An-Ot)+Xn}return Dn},Ht=ZC.MAX,Mt=-ZC.MAX,hn=ZC.MAX,tt=-ZC.MAX,ut=ZC.MAX,nn=-ZC.MAX,Mn=ZC.MAX,cn=-ZC.MAX;if("cylinder"===a.A.CV)for(W=0;W<=360;W+=4)(R=new CE(a.C,be+ZC.EO(W)*$e+Ge,Se,xe+ZC.EI(W)*$e+Pe)).EC[0]tt&&(tt=R.EC[0],Mt=W),(R=new CE(a.C,be+ZC.EO(W)*$e+Ge,Se+a.F,xe+ZC.EI(W)*$e+Pe)).EC[0]cn&&(cn=R.EC[0],nn=W);var yt=a.A.o.facets||{};switch(a.A.CV){default:yt.bottom?((T=new CZ(a)).copy(Te),T.append(yt.bottom),T.parse(),U=ZC.DJ.DB(T,a.C,be+.1,be+a.I-.1,Se+a.F-.1,Se+a.F-.1,xe+.1,xe+we-.1,"x")):U=ZC.DJ.DB(Te,a.C,be+.1,be+a.I-.1,Se+a.F-.1,Se+a.F-.1,xe+.1,xe+we-.1,"x"),U.K=a.K+"-facet1",U.G1=It(1),c.add(U),yt.top?((T=new CZ(a)).copy(Te),T.append(yt.top),T.parse(),y=ZC.DJ.DB(T,a.C,be+.1,be+a.I-.1,Se+.1,Se+.1,xe+.1,xe+we-.1,"x")):y=ZC.DJ.DB(Te,a.C,be+.1,be+a.I-.1,Se+.1,Se+.1,xe+.1,xe+we-.1,"x"),y.K=a.K+"-facet2",y.G1=It(3),c.add(y),yt.left?((T=new CZ(a)).copy(ze),T.append(yt.left),T.parse(),O=ZC.DJ.DB(T,a.C,be+.1,be+.1,Se+.1,Se+a.F-.1,xe+.1,xe+we-.1,"z")):O=ZC.DJ.DB(ze,a.C,be+.1,be+.1,Se+.1,Se+a.F-.1,xe+.1,xe+we-.1,"z"),O.K=a.K+"-facet3",O.G1=It(2),c.add(O),yt.right?((T=new CZ(a)).copy(ze),T.append(yt.right),T.parse(),Q=ZC.DJ.DB(T,a.C,be+a.I-.1,be+a.I-.1,Se+.1,Se+a.F-.1,xe+.1,xe+we-.1,"z")):Q=ZC.DJ.DB(ze,a.C,be+a.I-.1,be+a.I-.1,Se+.1,Se+a.F-.1,xe+.1,xe+we-.1,"z"),Q.K=a.K+"-facet4",Q.G1=It(4),c.add(Q),yt.front?((T=new CZ(a)).copy(Ve),T.append(yt.front),T.parse(),$=ZC.DJ.DB(T,a.C,be+.1,be+a.I-.1,Se+.1,Se+a.F-.1,xe+.1,xe+.1,"y")):$=ZC.DJ.DB(Ve,a.C,be+.1,be+a.I-.1,Se+.1,Se+a.F-.1,xe+.1,xe+.1,"y"),$.K=a.K+"-facet5",$.G1=It(5),c.add($),a.A.FV&&(1===ie&&at.push(Ee+"--top"+ZC._[30]+y.F1()+'" />'),at.push(Ee+"--left"+ZC._[30]+O.F1()+'" />',Ee+"--right"+ZC._[30]+Q.F1()+'" />',Ee+"--front"+ZC._[30]+$.F1()+'" '+a.a11y()+' data-z-sort="-100" />'));break;case"pyramid":yt.bottom?((T=new CZ(a)).copy(Te),T.append(yt.bottom),T.parse(),U=ZC.DJ.DB(T,a.C,be+Ge-Qe,be+Ge+Qe,Se+D,Se+D,xe+Pe-Me,xe+Pe+Me,"x")):U=ZC.DJ.DB(Te,a.C,be+Ge-Qe,be+Ge+Qe,Se+D,Se+D,xe+Pe-Me,xe+Pe+Me,"x"),U.K=a.K+"-facet1",U.G1=It(_.AW&&!a.A.CD?6:1),c.add(U),V=[[be+Ge-Qe,Se+D,xe+Pe-Me],[be+Ge+Qe,Se+D,xe+Pe-Me]],a.A.CD&&0!==ie?V.push([be+Ge+Ae,Se+M,xe+Pe-He],[be+Ge-Ae,Se+M,xe+Pe-He]):V.push([be+Ge,Se+M,xe+Pe]),yt.front?((T=new CZ(a)).copy(We),T.append(yt.front),T.parse(),$=ZC.DJ.D8(T,a.C,V)):$=ZC.DJ.D8(We,a.C,V),$.K=a.K+"-facet2",$.G1=It(3),c.add($),V=[[be+Ge-Qe,Se+D,xe+Pe-Me],[be+Ge-Qe,Se+D,xe+Pe+Me]],a.A.CD&&0!==ie?V.push([be+Ge-Ae,Se+M,xe+Pe+He],[be+Ge-Ae,Se+M,xe+Pe-He]):V.push([be+Ge,Se+M,xe+Pe]),yt.left?((T=new CZ(a)).copy(ze),T.append(yt.left),T.parse(),O=ZC.DJ.D8(T,a.C,V)):O=ZC.DJ.D8(ze,a.C,V),O.K=a.K+"-facet3",O.G1=It(2),c.add(O),V=[[be+Ge+Qe,Se+D,xe+Pe-Me],[be+Ge+Qe,Se+D,xe+Pe+Me]],a.A.CD&&0!==ie?V.push([be+Ge+Ae,Se+M,xe+Pe+He],[be+Ge+Ae,Se+M,xe+Pe-He]):V.push([be+Ge,Se+M,xe+Pe]),yt.right?((T=new CZ(a)).copy(ze),T.append(yt.right),T.parse(),Q=ZC.DJ.D8(T,a.C,V)):Q=ZC.DJ.D8(ze,a.C,V),Q.K=a.K+"-facet4",Q.G1=It(4),c.add(Q),a.A.CD&&0!==ie&&(V=[[be+Ge-Ae,Se+M,xe+Pe-He],[be+Ge-Ae,Se+M,xe+Pe+He],[be+Ge+Ae,Se+M,xe+Pe+He],[be+Ge+Ae,Se+M,xe+Pe-He]],yt.top?((T=new CZ(a)).copy(Te),T.append(yt.top),T.parse(),y=ZC.DJ.D8(T,a.C,V)):y=ZC.DJ.D8(Te,a.C,V),y.K=a.K+"-facet5",y.G1=It(5),c.add(y)),a.A.FV&&at.push(Ee+"--left"+ZC._[30]+O.F1()+'" />',Ee+"--right"+ZC._[30]+Q.F1()+'" />',Ee+"--front"+ZC._[30]+$.F1()+'" '+a.a11y()+' data-z-sort="-100" />');break;case"cylinder":if(V=[],nt)for(W=0;W<=360;W+=5)V.push([be+ZC.EO(W)*$e+Ge,Se+a.F,xe+ZC.EI(W)*$e+Pe]);else for(W=0;W<=360;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e+Ge+rt,pe+a.F+ZC.EO(W)*($e/2)-Bt],V.push(R);if(yt.bottom?((T=new CZ(a)).copy(Te),T.append(yt.bottom),T.parse(),U=ZC.DJ.D8(T,a.C,V,!nt)):U=ZC.DJ.D8(Te,a.C,V,!nt),U.K=a.K+"-facet1",U.G1=It(1),c.add(U),V=[],nt)for(W=0;W<=360;W+=5)V.push([be+ZC.EO(W)*$e+Ge,Se,xe+ZC.EI(W)*$e+Pe]);else for(W=0;W<=360;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e+Ge+rt,pe+ZC.EO(W)*($e/2)-Bt],V.push(R);if(yt.top?((T=new CZ(a)).copy(Te),T.append(yt.top),T.parse(),y=ZC.DJ.D8(T,a.C,V,!nt)):y=ZC.DJ.D8(Te,a.C,V,!nt),y.K=a.K+"-facet2",y.G1=It(3),c.add(y),V=[],nt){for(W=ZC.CX(Ht,Mt);W<=ZC.BQ(Ht,Mt);W+=1)V.push([be+ZC.EO(W)*$e+Ge,Se,xe+ZC.EI(W)*$e+Pe]);for(V.push([be+ZC.EO(W)*$e+Ge,Se+a.F,xe+ZC.EI(W)*$e+Pe]),W=ZC.BQ(ut,nn);W>=ZC.CX(ut,nn);W-=1)V.push([be+ZC.EO(W)*$e+Ge,Se+a.F,xe+ZC.EI(W)*$e+Pe])}else{for(W=0;W<=180;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e+Ge+rt,pe+a.F+ZC.EO(W)*($e/2)-Bt],V.push(R);for(W=180;W>=0;W-=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e+Ge+rt,pe+ZC.EO(W)*($e/2)-Bt],V.push(R)}yt.front?((T=new CZ(a)).copy(We),T.append(yt.front),T.parse(),$=ZC.DJ.D8(T,a.C,V,!nt)):$=ZC.DJ.D8(We,a.C,V,!nt),$.K=a.K+"-facet3",$.G1=It(2),c.add($),a.A.FV&&at.push(Ee+"--front"+ZC._[30]+$.F1()+'" '+a.a11y()+' data-z-sort="-100" />',Ee+"--top"+ZC._[30]+y.F1()+'" />');break;case"cone":if(V=[],nt)for(W=0;W<=360;W+=5)V.push([be+ZC.EO(W)*$e*fe+Ge,Se+D,xe+ZC.EI(W)*$e*fe+Pe]);else for(W=0;W<=360;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e*fe+Ge+rt,pe+D+ZC.EO(W)*($e/2)*fe-Bt],V.push(R);if(yt.bottom?((T=new CZ(a)).copy(Te),T.append(yt.bottom),T.parse(),U=ZC.DJ.D8(T,a.C,V,!nt)):U=ZC.DJ.D8(Te,a.C,V,!nt),U.K=a.K+"-facet1",U.G1=It(1),c.add(U),V=[],nt){for(W=90+ot;W<=270+ot;W+=5)V.push([be+ZC.EO(W)*$e*fe+Ge,Se+D,xe+ZC.EI(W)*$e*fe+Pe]);if(a.A.CD&&0!==ie)for(W=270+ot;W>=90+ot;W-=5)V.push([be+ZC.EO(W)*$e*ie+Ge,Se+M,xe+ZC.EI(W)*$e*ie+Pe]);else V.push([be+Ge,Se+M,xe+Pe])}else{for(W=0;W<=180;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e*fe+Ge+rt,pe+D+ZC.EO(W)*($e/2)*fe-Bt],V.push(R);if(a.A.CD&&0!==ie)for(W=180;W>=0;W-=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e*ie+Ge+rt,pe+M+ZC.EO(W)*($e/2)*ie-Bt],V.push(R);else(R=new CE(a.C,0,0,0)).EC=[ge+Ge+rt,pe+M-Bt],V.push(R)}if(yt.front?((T=new CZ(a)).copy(We),T.append(yt.front),T.parse(),$=ZC.DJ.D8(T,a.C,V,!nt)):$=ZC.DJ.D8(We,a.C,V,!nt),$.K=a.K+"-facet2",$.G1=It(2),c.add($),a.A.CD&&0!==ie){if(V=[],nt)for(W=0;W<=360;W+=5)V.push([be+ZC.EO(W)*$e*ie+Ge,Se+M,xe+ZC.EI(W)*$e*ie+Pe]);else for(W=0;W<=360;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e*ie+Ge+rt,pe+M+ZC.EO(W)*($e/2)*ie-Bt],V.push(R);yt.top?((T=new CZ(a)).copy(Te),T.append(yt.top),T.parse(),y=ZC.DJ.D8(T,a.C,V,!nt)):y=ZC.DJ.D8(Te,a.C,V,!nt),y.K=a.K+"-facet3",c.add(y),y.G1=It(3)}a.A.FV&&at.push(Ee+"--front"+ZC._[30]+$.F1()+'" data-z-sort="-100" />')}a.A.U&&a.A.U.AO&&a.F9()}a.paintPreview(We)}}HZ(){}}class A7I extends A01{setup(){this.S4()}OS(){var t=this;t.paint(!0);var e=t.C.BK(t.A.BV("v")[0]),h=new CE(t.C,t.iX+(e.AW?0:t.I)-ZC.AQ.E3,t.iY+t.F/2-ZC.AQ.E4,t.A.E["z-start"]);return[ZC._i_(h.EC[0]),ZC._i_(h.EC[1]),{reference:t,center:!0}]}HL(t){var e=super.HL(t);if("-1/-1"!==e.join("/")){var a=new CE(this.C,e[0]-ZC.AQ.E3,e[1]-ZC.AQ.E4,this.A.E["z-start"]);return[ZC._i_(a.EC[0]),ZC._i_(a.EC[1])]}return e}paint(t){var e=this;super.paint(),typeof t===ZC._[31]&&(t=!1);var a=e.C.CL,c=e.A.B0,h=e.A.CM;e.setup();var _,f,m,v,E,w,D,M,T,R,V,$,y,U,O=e.A.RB(),Q=O.AB,W=O.EU,ae=O.CF,ee=O.CS,ne=O.F4,oe=O.D3,te=O.F0;if(t?W=e.A.E["node-"+e.L+"-bar-index"]:e.A.E["node-"+e.L+"-bar-index"]=O.EU,e.A.CD){_=0;for(var le=e.A.A.KM[W],ce=0;ce0){var De=oe;(oe=e.A.D3)<=1&&(oe*=De),ie+=(De-oe)/2}var ge=oe,me=e.iX,Ze=null!==ZC._n_(e.A.M9[e.L])?e.A.M9[e.L]:0;if(me=h.AK(e.A.CD&&"100%"===e.A.KZ?100*(e.CP+Ze)/e.A.A.FA[e.L]["%total-"+e.A.DZ]:e.CP+Ze),e.A.CD?(m=me-(f=h.AK("100%"===e.A.KZ?100*(e.CP-e.AD+Ze)/e.A.A.FA[e.L]["%total-"+e.A.DZ]:e.CP-e.AD+Ze)),e.AD>0?me=f:m=ZC._a_(m),h.AW?m>0?(m=ZC._a_(m),me=f):me-=m=ZC._a_(m):m<0&&(me=f-(m=ZC._a_(m)))):me=(m=me-(f=h.AK(Ze)))<0?f-(m=ZC._a_(m)):f,ae+ee===0&&(ie-=.5,ge+=1),e.I=m,e.F=ge,e.iX=me,e.iY=ie,e.iXVal=h.AW?e.AD>=h.HC?me:me+e.I:e.AD>=h.HC?me+e.I:me,!t){var pe=me+m-ZC.AQ.E3,ve=ie-ZC.AQ.E4,ke=0,de=ZC.AQ.FY;null!==ZC._n_(e.A.o["z-start"])&&(ke=ZC._i_(e.A.o["z-start"])),null!==ZC._n_(e.A.o["z-end"])&&(de=ZC._i_(e.A.o["z-end"])-ke),e.A.E["z-start"]=ke,e.A.E["z-mid"]=ke+de/2;var Oe=e.O=e.A.I8(e,e.O);if(Oe.DF=e.K+"-3dfacet",e.A.I4&&(e.GN(Oe),Oe.parse()),Oe.AO){var Fe=new CZ(e);Fe.copy(Oe),Fe.A0=ZC.AR.JU(ZC.AR.GE(Fe.A0)),Fe.AE=ZC.AR.JU(ZC.AR.GE(Fe.AE)),Fe.BX=ZC.AR.JU(ZC.AR.GE(Fe.BX));var be=new CZ(e);be.copy(Oe),be.A0=ZC.AR.JU(ZC.AR.GE(be.A0),15),be.AE=ZC.AR.JU(ZC.AR.GE(be.AE),15),be.BX=ZC.AR.JU(ZC.AR.GE(be.BX),15);var Se=new CZ(e);Se.copy(Oe);var xe=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],we=ZC.Q.FT("poly",e.A.E8,e.O.IT)+'class="'+xe+'" id="'+e.K,Re=e.C.EZ.true3d,Ie=e.F/2,Ne=de/2,We=se*Ie,Te=he*Ie,ze=he*Ne,Ve=se*Ne;h.AW&&!e.A.CD?(E=e.AD>=0?0:e.I,v=e.AD>=0?e.I:0):(E=e.AD>=0?e.I:0,v=e.AD>=0?0:e.I);var lt=e.A.A.HJ,Ee=ZC.CX(Ne,Ie),nt=e.C.EZ[ZC._[27]],Ge=e.C.EZ.angle,Pe=ZC.EI(Ge)*Ne,Qe=ZC.EO(Ge)*Ne;Re||(Ee=ZC.CX(2*Qe,Ie));var Ae=function(Me){var at=-1,$e=e.A.L,ot=e.L,et=e.A.A.A3.length,rt=e.A.R.length;switch((e.A.CD?"s":"")+(c.AW?"k":"")+(h.AW?"v":"")){case"":case"v":case"sv":at=10*(et-$e)+1e4*ot+Me;break;case"k":case"skv":case"kv":at=10*(et-$e)+1e4*(rt-ot)+Me;break;case"s":at=10*$e+1e4*ot+Me;break;case"sk":at=10*$e+1e4*(rt-ot)+Me}return ZC._i_(at)},He=e.A.o.facets||{};switch(e.A.CV){default:He.left?((w=new CZ(e)).copy(be),w.append(He.left),w.parse(),D=ZC.DJ.DB(w,e.C,pe-e.I+.1,pe-.1,ve+.1,ve+.1,ke+.1,ke+de-.1,"x")):D=ZC.DJ.DB(be,e.C,pe-e.I+.1,pe-.1,ve+.1,ve+.1,ke+.1,ke+de-.1,"x"),D.K=e.K+"-facet1",D.G1=Ae(5),a.add(D),He.right?((w=new CZ(e)).copy(be),w.append(He.right),w.parse(),V=ZC.DJ.DB(w,e.C,pe-e.I+.1,pe-.1,ve+e.F-.1,ve+e.F-.1,ke+.1,ke+de-.1,"x")):V=ZC.DJ.DB(be,e.C,pe-e.I+.1,pe-.1,ve+e.F-.1,ve+e.F-.1,ke+.1,ke+de-.1,"x"),V.K=e.K+"-facet2",V.G1=Ae(1),a.add(V),He.bottom?((w=new CZ(e)).copy(Fe),w.append(He.bottom),w.parse(),M=ZC.DJ.DB(w,e.C,pe-e.I+.1,pe-e.I+.1,ve+e.F-.1,ve+.1,ke+.1,ke+de-.1,"z")):M=ZC.DJ.DB(Fe,e.C,pe-e.I+.1,pe-e.I+.1,ve+e.F-.1,ve+.1,ke+.1,ke+de-.1,"z"),M.K=e.K+"-facet3",M.G1=Ae(2),a.add(M),He.top?((w=new CZ(e)).copy(Fe),w.append(He.top),w.parse(),T=ZC.DJ.DB(w,e.C,pe-.1,pe-.1,ve+e.F-.1,ve+.1,ke+.1,ke+de-.1,"z")):T=ZC.DJ.DB(Fe,e.C,pe-.1,pe-.1,ve+e.F-.1,ve+.1,ke+.1,ke+de-.1,"z"),T.K=e.K+"-facet4",T.G1=Ae(3),a.add(T),He.front?((w=new CZ(e)).copy(Se),w.append(He.front),w.parse(),R=ZC.DJ.DB(w,e.C,pe-e.I+.1,pe-.1,ve+e.F-.1,ve+.1,ke+.1,ke+.1,"y")):R=ZC.DJ.DB(Se,e.C,pe-e.I+.1,pe-.1,ve+e.F-.1,ve+.1,ke+.1,ke+.1,"y"),R.K=e.K+"-facet5",R.G1=Ae(4),a.add(R),e.A.FV&&(e.A.CD||lt.push(we+"--top"+ZC._[30]+T.F1()+'" />'),lt.push(we+"--left"+ZC._[30]+D.F1()+'" />',we+"--right"+ZC._[30]+V.F1()+'" />',we+"--front"+ZC._[30]+R.F1()+'" '+e.a11y()+' data-z-sort="-100" />'));break;case"pyramid":He.bottom?((w=new CZ(e)).copy(Fe),w.append(He.bottom),w.parse(),M=ZC.DJ.DB(w,e.C,pe-E,pe-E,ve+Ie-We,ve+Ie+We,Ne-Ve,Ne+Ve,"z")):M=ZC.DJ.DB(Fe,e.C,pe-E,pe-E,ve+Ie-We,ve+Ie+We,Ne-Ve,Ne+Ve,"z"),M.K=e.K+"-facet1",M.G1=Ae(h.AW&&!e.A.CD?6:1),a.add(M),U=[[pe-E,ve+Ie-We,Ne-Ve],[pe-E,ve+Ie+We,Ne-Ve]],e.A.CD&&0!==he?U.push([pe-v,ve+Ie+Te,Ne-ze],[pe-v,ve+Ie-Te,Ne-ze]):U.push([pe-v,ve+Ie,de/2]),He.front?((w=new CZ(e)).copy(Oe),w.append(He.front),w.parse(),R=ZC.DJ.D8(w,e.C,U)):R=ZC.DJ.D8(Oe,e.C,U),R.K=e.K+"-facet2",R.G1=Ae(3),a.add(R),U=[[pe-E,ve+Ie-We,Ne-Ve],[pe-E,ve+Ie-We,Ne+Ve]],e.A.CD&&0!==he?U.push([pe-v,ve+Ie-Te,Ne+ze],[pe-v,ve+Ie-Te,Ne-ze]):U.push([pe-v,ve+e.F/2,de/2]),He.left?((w=new CZ(e)).copy(be),w.append(He.left),w.parse(),D=ZC.DJ.D8(w,e.C,U)):D=ZC.DJ.D8(be,e.C,U),D.K=e.K+"-facet3",D.G1=Ae(4),a.add(D),U=[[pe-E,ve+Ie+We,Ne-Ve],[pe-E,ve+Ie+We,Ne+Ve]],e.A.CD&&0!==he?U.push([pe-v,ve+Ie+Te,Ne+ze],[pe-v,ve+Ie+Te,Ne-ze]):U.push([pe-v,ve+Ie,de/2]),He.right?((w=new CZ(e)).copy(be),w.append(He.right),w.parse(),V=ZC.DJ.D8(w,e.C,U)):V=ZC.DJ.D8(be,e.C,U),V.K=e.K+"-facet4",V.G1=Ae(2),a.add(V),e.A.CD&&0!==he&&(He.top?((w=new CZ(e)).copy(Fe),w.append(He.top),w.parse(),T=ZC.DJ.DB(w,e.C,pe-v,pe-v,ve+Ie-Te,ve+Ie+Te,Ne-ze,Ne+ze,"z")):T=ZC.DJ.DB(Fe,e.C,pe-v,pe-v,ve+Ie-Te,ve+Ie+Te,Ne-ze,Ne+ze,"z"),T.K=e.K+"-facet5",T.G1=Ae(5),a.add(T)),e.A.FV&<.push(we+"--left"+ZC._[30]+D.F1()+'" />',we+"--right"+ZC._[30]+V.F1()+'" />',we+"--front"+ZC._[30]+R.F1()+'" '+e.a11y()+' data-z-sort="-100" />');break;case"cylinder":if(U=[],Re)for($=0;$<=360;$+=5)U.push([pe-e.I,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne]);else for($=0;$<=360;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+ZC.EI($)*(Ee/2)+Pe,ie+Ie+ZC.EO($)*Ee-Qe],U.push(y);if(He.bottom?((w=new CZ(e)).copy(Fe),w.append(He.bottom),w.parse(),M=ZC.DJ.D8(w,e.C,U,!Re)):M=ZC.DJ.D8(Fe,e.C,U,!Re),M.K=e.K+"-facet1",M.G1=Ae(1),a.add(M),U=[],Re){for($=90-nt;$<=270-nt;$+=5)U.push([pe-e.I,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne]);for(U.push([pe,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne]),$=270-nt;$>=90-nt;$-=5)U.push([pe,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne])}else{for($=90;$<=270;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+ZC.EI($)*(Ee/2)+Pe,ie+Ie+ZC.EO($)*Ee-Qe],U.push(y);for($=270;$>=90;$-=5)(y=new CE(e.C,0,0,0)).EC=[me+ZC.EI($)*(Ee/2)+e.I+Pe,ie+Ie+ZC.EO($)*Ee-Qe],U.push(y)}if(He.front?((w=new CZ(e)).copy(Oe),w.append(He.front),w.parse(),R=ZC.DJ.D8(w,e.C,U,!Re)):R=ZC.DJ.D8(Oe,e.C,U,!Re),R.K=e.K+"-facet2",R.G1=Ae(2),a.add(R),U=[],Re)for($=0;$<=360;$+=5)U.push([pe,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne]);else for($=0;$<=360;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+ZC.EI($)*(Ee/2)+e.I+Pe,ie+Ie+ZC.EO($)*Ee-Qe],U.push(y);He.top?((w=new CZ(e)).copy(Fe),w.append(He.top),w.parse(),T=ZC.DJ.D8(w,e.C,U,!Re)):T=ZC.DJ.D8(Fe,e.C,U,!Re),T.K=e.K+"-facet3",T.G1=Ae(3),a.add(T),e.A.FV&<.push(we+"--front"+ZC._[30]+R.F1()+'" '+e.a11y()+' data-z-sort="-100" />',we+"--top"+ZC._[30]+T.F1()+'" />');break;case"cone":if(U=[],Re)for($=0;$<=360;$+=5)U.push([pe-E,ve+ZC.EO($)*Ee*se+Ie,ZC.EI($)*Ee*se+Ne]);else for($=0;$<=360;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+v+ZC.EI($)*(Ee/2)*se+Pe,ie+Ie+ZC.EO($)*Ee*se-Qe],U.push(y);if(He.bottom?((w=new CZ(e)).copy(Fe),w.append(He.bottom),w.parse(),M=ZC.DJ.D8(w,e.C,U,!Re)):M=ZC.DJ.D8(Fe,e.C,U,!Re),M.K=e.K+"-facet1",M.G1=Ae(1),a.add(M),U=[],Re){for($=90-nt;$<=270-nt;$+=5)U.push([pe-E,ve+ZC.EO($)*Ee*se+Ie,ZC.EI($)*Ee*se+Ne]);if(e.A.CD&&0!==he)for($=270-nt;$>=90-nt;$-=5)U.push([pe-v,ve+ZC.EO($)*Ee*he+Ie,ZC.EI($)*Ee*he+Ne]);else U.push([pe-v,ve+Ie,Ee])}else{for($=90;$<=270;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+v+ZC.EI($)*(Ee/2)*se+Pe,ie+Ie+ZC.EO($)*Ee*se-Qe],U.push(y);if(e.A.CD&&0!==he)for($=270;$>=90;$-=5)(y=new CE(e.C,0,0,0)).EC=[me+E+ZC.EI($)*(Ee/2)*he+Pe,ie+Ie+ZC.EO($)*Ee*he-Qe],U.push(y);else(y=new CE(e.C,0,0,0)).EC=[me+E+Pe,ie+Ie-Qe],U.push(y)}if(He.front?((w=new CZ(e)).copy(Oe),w.append(He.front),w.parse(),R=ZC.DJ.D8(w,e.C,U,!Re)):R=ZC.DJ.D8(Oe,e.C,U,!Re),R.K=e.K+"-facet2",R.G1=Ae(2),a.add(R),e.A.CD&&0!==he){if(U=[],Re)for($=0;$<=360;$+=5)U.push([pe-v,ve+ZC.EO($)*Ee*he+Ie,ZC.EI($)*Ee*he+Ne]);else for($=0;$<=360;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+E+ZC.EI($)*(Ee/2)*he+Pe,ie+Ie+ZC.EO($)*Ee*he-Qe],U.push(y);He.top?((w=new CZ(e)).copy(Fe),w.append(He.top),w.parse(),T=ZC.DJ.D8(w,e.C,U,!Re)):T=ZC.DJ.D8(Fe,e.C,U,!Re),T.K=e.K+"-facet3",T.G1=Ae(3),a.add(T)}e.A.FV&<.push(we+"--front"+ZC._[30]+R.F1()+'" data-z-sort="-100" />')}}e.A.U&&e.A.U.AO&&e.F9()}}HZ(){}}class A7J extends A3J{setup(){this.S4()}JD(){return{color:this.O.B7}}KH(){return{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}HL(t){var e=super.HL(t);return new CE(this.C,e[0]-ZC.AQ.E3,e[1]-ZC.AQ.E4,this.A.E["z-start"]).EC}paint(){var t,e,a=this;super.paint();var c,h=a.E.points;(c="none"!==a.A.J8?a.O=a.A.I8(a,a.O):a.O).DF=a.K+"-3dfacet",a.A.I4&&a.GN(c);var _=0,f=-1,m=ZC.AQ.FY;if("hide"===a.C.getToggleAction())a.A.CD?f=0:(f=a.A.L,m/=_=a.A.A.A3.length);else if(a.A.CD)f=0;else{for(t=0;tt&&f--);m/=_,f=_-f-1}c.A0=c.AE=c.B7,"spline"===a.A.CV&&(c.BX=c.B7);var v=a.A.A.HJ,E=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],w=ZC.Q.FT("poly",a.A.E8,a.O.IT)+'class="'+E+'" id="'+a.K,D=f*m,M=(f+1)*m;if(null!==ZC._n_(a.A.o["z-start"])&&(D=ZC._i_(a.A.o["z-start"])),null!==ZC._n_(a.A.o["z-end"])&&(M=ZC._i_(a.A.o["z-end"])),null!==ZC._n_(a.A.o.depth)){var T=ZC._i_(a.A.o.depth);D=f*m+m/2-T,M=f*m+m/2+T}a.A.E["z-plots"]=_,a.A.E["z-cnt"]=f,a.A.E["z-depth"]=m,a.A.E["z-start"]=D,a.A.E["z-mid"]=(D+M)/2;var R,V,$,y=[],U=[],O=c;ZC._a_(D-M)<=2&&(a.C.CL.ST[a.A.K]||(a.C.CL.ST[a.A.K]={zIndex:a.A.L,style:c,points:[]},a.C.CL.ST[a.A.K].style.MJ=!1,a.C.CL.ST[a.A.K].style.B1=ZC.BQ(1,ZC._i_(ZC._a_(D-M)/1))));for(var Q=0;Q2){var W=-ZC._i_(ZC.UI(Math.atan((h[Q+1][1]-h[Q][1])/(h[Q+1][0]-h[Q][0]))));(O=new CZ(a)).copy(c),O.A0=ZC.AR.JU(ZC.AR.GE(O.A0),W),O.AE=ZC.AR.JU(ZC.AR.GE(O.AE),W),O.BX=ZC.AR.JU(ZC.AR.GE(O.BX),W)}var ae,ee,ne,oe;if(a.A.oP0&&ZC._a_(D-M)<=2?((ae=a.A.oP0).parse(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,D),(ee=a.A.oP1).parse(a.C,h[Q+1][0]-ZC.AQ.E3,h[Q+1][1]-ZC.AQ.E4,D),(ne=a.A.oP2).parse(a.C,h[Q+1][0]-ZC.AQ.E3,h[Q+1][1]-ZC.AQ.E4,M-1),(oe=a.A.oP3).parse(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,M-1)):(ae=a.A.oP0=new CE(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,D),ee=a.A.oP1=new CE(a.C,h[Q+1][0]-ZC.AQ.E3,h[Q+1][1]-ZC.AQ.E4,D),ne=a.A.oP2=new CE(a.C,h[Q+1][0]-ZC.AQ.E3,h[Q+1][1]-ZC.AQ.E4,M-1),oe=a.A.oP3=new CE(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,M-1)),ZC._a_(D-M)>2?((R=new A03(O,a.C)).K=a.K+"-facet"+Q,R.add(ae),R.add(ee),R.add(ne),R.add(oe),a.C.CL.add(R)):(a.C.CL.ST[a.A.K].points.push(ae.EC),Q===h.length-2&&a.C.CL.ST[a.A.K].points.push(ee.EC),"spline"===a.A.CV&&(ae=new CE(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,D-10),oe=new CE(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,M-1+10))),y.push(ae.EC),U.push(oe.EC),a.A.FV&&"spline"!==a.A.CV)if(ZC._a_(D-M)>2)e=R.F1();else{for(V=ZC.AP.ZL([ae.EC,ee.EC],4),$=0;$')}"spline"===a.A.CV?(a.E.polypoints=!0,a.E.points=y.concat(U.reverse())):a.E.points=null,a.A.A2.o&&("spline"===a.A.CV||"none"===a.A.A2.o.type||null!==ZC._n_(a.A.A2.o.visible)&&!ZC._b_(a.A.A2.o.visible))&&"spline"!==a.A.CV||a.OX(!0),a.A.U&&a.A.U.AO&&a.F9(),a.paintPreview(c,h)}HZ(){}}class A7K extends A3K{setup(){this.S4()}JD(){return{color:this.O.B7}}KH(){return{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}HL(t){var e=super.HL(t);return new CE(this.C,e[0]-ZC.AQ.E3,e[1]-ZC.AQ.E4,this.A.E["z-start"]).EC}paint(){var t,e,a=this;super.paint();var c=a.A.CM,_=c.AK(c.HC);_=ZC._l_(_,c.iY,c.iY+c.F);var f,m=a.E.points,v=a.E.pointsarea;(f="none"!==a.A.J8?a.O=a.A.I8(a,a.O):a.O).DF=a.K+"-3dfacet",a.A.I4&&a.GN(f);var E=0,w=-1,D=ZC.AQ.FY;if("hide"===a.C.getToggleAction())a.A.CD?w=0:(w=a.A.L,D/=E=a.A.A.A3.length);else if(a.A.CD)w=0;else{for(t=0;tt&&w--);D/=E,w=E-w-1}var M=new CZ(a);M.copy(f),M.A0=M.AE=f.B7,"spline"===a.A.CV&&(M.BX=f.B7);var T=new CZ(a);T.copy(f),T.LH=!0,T.AU=0,T.C5=a.A.HW,T.A0=ZC.AR.RC(ZC.AR.GE(T.A0),30),T.AE=ZC.AR.RC(ZC.AR.GE(T.AE),30);var R,V,$=a.A.A.HJ,y=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],U=ZC.Q.FT("poly",a.A.E8,a.O.IT)+'class="'+y+'" id="'+a.K,O=[],Q=[],W=w*D,ae=(w+1)*D;if(null!==ZC._n_(a.A.o["z-start"])&&(W=ZC._i_(a.A.o["z-start"])),null!==ZC._n_(a.A.o["z-end"])&&(ae=ZC._i_(a.A.o["z-end"])),null!==ZC._n_(a.A.o.depth)){var ee=ZC._i_(a.A.o.depth);W=w*D+D/2-ee,ae=w*D+D/2+ee}a.A.E["z-plots"]=E,a.A.E["z-cnt"]=w,a.A.E["z-depth"]=D,a.A.E["z-start"]=W,a.A.E["z-mid"]=(W+ae)/2;var ne=new A03(T,a.C);for(R=0,V=v.length;R2){var le=-ZC._i_(ZC.UI(Math.atan((m[R+1][1]-m[R][1])/(m[R+1][0]-m[R][0]))));(te=new CZ(a)).copy(M),te.A0=ZC.AR.JU(ZC.AR.GE(te.A0),le),te.AE=ZC.AR.JU(ZC.AR.GE(te.AE),le),te.BX=ZC.AR.JU(ZC.AR.GE(te.BX),le)}var ce=new CE(a.C,m[R][0]-ZC.AQ.E3,m[R][1]-ZC.AQ.E4,W),Ce=new CE(a.C,m[R+1][0]-ZC.AQ.E3,m[R+1][1]-ZC.AQ.E4,W),se=new CE(a.C,m[R+1][0]-ZC.AQ.E3,m[R+1][1]-ZC.AQ.E4,ae-1),he=new CE(a.C,m[R][0]-ZC.AQ.E3,m[R][1]-ZC.AQ.E4,ae-1);if(ZC._a_(W-ae)>2?((ne=new A03(te,a.C)).K=a.K+"-facet"+R,ne.add(ce),ne.add(Ce),ne.add(se),ne.add(he),a.C.CL.add(ne)):(a.C.CL.ST[a.A.K].points.push(ce.EC),R===m.length-2&&a.C.CL.ST[a.A.K].points.push(Ce.EC),"spline"===a.A.CV&&(ce=new CE(a.C,m[R][0]-ZC.AQ.E3,m[R][1]-ZC.AQ.E4,W-10),he=new CE(a.C,m[R][0]-ZC.AQ.E3,m[R][1]-ZC.AQ.E4,ae-1+10))),O.push(ce.EC),Q.push(he.EC),a.A.FV&&"spline"!==a.A.CV)if(ZC._a_(W-ae)>2)e=ne.F1();else{for(var fe=ZC.AP.ZL([ne.D[0].EC,ne.D[1].EC],4),ie=0;ie')}"spline"===a.A.CV?(a.E.polypoints=!0,a.E.points=O.concat(Q.reverse())):a.E.points=null,a.A.A2.o&&("none"===a.A.A2.o.type||null!==ZC._n_(a.A.A2.o.visible)&&!ZC._b_(a.A.A2.o.visible))&&"spline"!==a.A.CV||a.OX(!0),a.A.U&&a.A.U.AO&&a.F9(),a.paintPreview(f,m,v)}HZ(){}}class A8X extends MM{constructor(t){super(t),this.X8=0,this.X7=0}ET(t,e,a,c){var _,h=this;return h.CU=[["%paired-plot-text",(_=h.A.L=3)e.A.U&&e.F9();else{super.paint();var a=e.O=e.A.I8(e,e),c=new DX(e.A);c.K=e.K,c.Z=e.A.CO("bl",1),c.C7=e.A.CO("bl",0),c.copy(a);var h=e.iX,_=e.iY;if(c.iX=h,c.iY=_,c.AI=e.AI,c.DS="circle",c.E.plotidx=e.A.L,c.E.nodeidx=e.L,c.parse(),e.FR=c,e.A.GG&&!e.C.HP){var f=c,m={};f.iX=h,f.iY=_,m.x=h,m.y=_;var v=e.A.LK;if(f.C5=0,m.alpha=a.C5,3===v)f.AI=2,m.size=e.AI;else if(4===v){switch(e.A.L){case 0:f.iX=h-3*e.AI,f.iY=_;break;case 1:f.iX=h+3*e.AI,f.iY=_;break;case 2:f.iX=h,f.iY=_-3*e.AI}m.x=h,m.y=_}for(t in e.A.FZ)f[EB.GP[ZC.EF(t)]]=e.A.FZ[t],m[ZC.EF(t)]=a[EB.GP[ZC.EF(t)]];if(e.C.EN||(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(t in e.C.EN[e.A.L+"-"+e.L])f[EB.GP[ZC.EF(t)]]=e.C.EN[e.A.L+"-"+e.L][t];e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(m,e.C.EN[e.A.L+"-"+e.L]);var E=new EB(f,m,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){w()});E.AX=e,e.LD(E)}else c.paint(),w()}function w(){var D=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],M=ZC.Q.FT("circle",e.A.E8,e.A.IT)+'class="'+D+'" '+e.a11y()+' id="'+e.K+ZC._[30]+ZC._i_(e.iX+ZC.MAPTX)+","+ZC._i_(e.iY+ZC.MAPTX)+","+ZC._i_(ZC.BQ(ZC.mobile?6:3,e.AI)*(ZC.mobile?2:1.2))+'" />';e.A.A.HJ.push(M),e.A.U&&e.F9()}}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"shape",initcb:function(){this.DS="circle",this.A0=e.A.BP[3],this.AE=e.A.BP[3]},setupcb:function(){this.iX=e.iX,this.iY=e.iY,this.AI=e.AI}})}}MM.prototype.MY=function(A,t){var e,a,c=this;if(typeof t===ZC._[31]&&(t=!1),t)typeof c.E.pointserror!==ZC._[31]&&((e=new CZ(c)).copy(c.A),c.A.JG&&(e.copy(c.A.JG),e.append(c.A.JG.o[ZC._[71]])),e.parse(),e.K=c.K+"--error-hover",e.DF=c.A.A.A.K+"-node-errorbars",e.AO&&ZC.CQ.paint(A,e,c.E.pointserror));else{var h=c.A.CM,_=c.A.B0;if(0!==c.A.SG.length){var f=null,m=null,v=!0;c.A.SG.length<=2?(null!==ZC._n_(c.A.SG[0])&&c.A.SG[0]instanceof Array&&(v=!1),null!==ZC._n_(c.A.SG[1])&&c.A.SG[1]instanceof Array&&(v=!1)):v=!1,v?(f=c.A.SG[0],m=c.A.SG[1]):null!==ZC._n_(a=c.A.SG[c.L])&&a instanceof Array&&(f=m=a[0],2===a.length&&(m=a[1])),c.E["node-error-plus"]=f,c.E["node-error-minus"]=m,-1!==(f+"").indexOf("%")&&(f=ZC.IU(f))<=1&&(f*=c.AD),-1!==(m+"").indexOf("%")&&(m=ZC.IU(m))<=1&&(m*=c.AD);var M,E=[],w=ZC.IU(c.A.JG&&c.A.JG.o[ZC._[21]]||.5);if(w<=1&&(w="vbar"===c.A.AF?ZC._i_(w*c.I):"hbar"===c.A.AF?ZC._i_(w*c.F):ZC._i_(w*_.AB)),M=_.CJ?c.F:c.I,null!==ZC._n_(f)){var T=h.AK(c.CP+f);_.CJ?E.push([T,c.iY+M/2-w/2],[T,c.iY+M/2+w/2],null,[T,c.iY+M/2],[h.AW?c.AD<0?c.iX+c.I:c.iX:c.AD>0?c.iX+c.I:c.iX,c.iY+M/2]):E.push([c.iX+M/2-w/2,T],[c.iX+M/2+w/2,T],null,[c.iX+M/2,T],[c.iX+M/2,h.AW?c.AD>0?c.iY+c.F:c.iY:c.AD<0?c.iY+c.F:c.iY])}if(null!==ZC._n_(m)){var R=h.AK(c.CP-m);_.CJ?E.push(null,[R,c.iY+M/2-w/2],[R,c.iY+M/2+w/2],null,[R,c.iY+M/2],[h.AW?c.AD<0?c.iX+c.I:c.iX:c.AD>0?c.iX+c.I:c.iX,c.iY+M/2]):E.push(null,[c.iX+M/2-w/2,R],[c.iX+M/2+w/2,R],null,[c.iX+M/2,R],[c.iX+M/2,h.AW?c.AD>0?c.iY+c.F:c.iY:c.AD<0?c.iY+c.F:c.iY])}(e=new CZ(c)).copy(c.A),c.A.JG&&e.copy(c.A.JG),e.parse(),e.K=c.K+"--error",e.DF=c.A.A.A.K+"-node-errorbars",e.CY=!1,ZC.CQ.paint(A,e,E),c.E.pointserror=E}}};class HH extends I7{constructor(t){super(t);var e=this;e.H=e.A.A,e.BI="",e.V=[],e.BZ=[],e.A5M=[],e.DE=!1,e.M=null,e.BR=null,e.J3=null,e.D6=null,e.G0=0,e.IK=null,e.G9=null,e.HC=0,e.PD=null,e.L=1,e.A9=0,e.A4P=0,e.BS=0,e.AW=!1,e.CJ=!1,e.AB=0,e.iStepMultiplier=1,e.DQ=-1,e.RO=ZC.HI[ZC._[13]]||"",e.S9=ZC.HI[ZC._[14]]||".",e.A0F=!1,e.SR=2,e.A39=!1,e.TZ="",e.A0I="standard",e.CI=null,e.AF="",e.EH=ZC.MAX,e.MC=ZC.MAX,e.GQ=!1,e.YQ=!1,e.KV=null,e.O1=null,e.QH=[],e.E0=1,e.AY=-1,e.BD=-1,e.SS=-1,e.FS=-1,e.GY=-1,e.BT="lin",e.DU=10,e.F7=null,e.PE=1,e.QB=!0,e.A0U=!1,e.aAutoFit=[!1,!1],e.M6=null,e.X9=null,e.TN=!1,e.IB=-1,e.Z4=!1,e.BA="default",e.QF=!1,e.W0=!1,e.RF=1,e.sMaster="",e.bNormalize=!0,e.bAllowDuplicates=!1,e.fMinValueFactor=0,e.fMaxValueFactor=0}parse(){super.parse();var t,e=this;if(null!==ZC._n_(t=e.o.step))if(ZC.PQ(t))e.E0=ZC._f_(t);else{var a=t.replace(/[0-9]/gi,""),c=parseInt(t.replace(/[^0-9]/gi,""),10);switch(c=c||1,a){case"second":e.E0=1e3*c;break;case"minute":e.E0=1e3*c*60;break;case"hour":e.E0=1e3*c*60*60;break;case"day":e.E0=1e3*c*60*60*24;break;case"week":e.E0=1e3*c*60*60*24*7;break;case"month":e.E0=2629743e3*c;break;case"year":e.E0=31556926e3*c}}if(null!==ZC._n_(e.o.multiplier)&&null===ZC._n_(e.o.short)&&(e.o.short=e.o.multiplier),e.assign_a([[ZC._[10],"BZ"],["tooltip-text","A5M"],["format","CI"],["offset-start","A9","i"],["offset-start","A4P","i"],["offset-end","BS","i"],["minor-ticks","G0","i"],["step-multiplier","iStepMultiplier","i"],["index","L","i"],["mirrored","AW","b"],["zooming","GQ","b"],["zoom-snap","YQ","b"],["fixed-step","QF","b"],["zoom-to","KV"],["force-view","Z4","b"],["zoom-to-values","O1"],["items-overlap","A0U","b"],["used","TN","b"],["max-labels","EH","i"],["max-items","EH","i"],["ref-value","HC","f"],[ZC._[12],"DQ","ia"],[ZC._[14],"S9"],[ZC._[13],"RO"],["short","A39","b"],["short-unit","TZ"],["negation","A0I"],["exponent","A0F","b"],[ZC._[25],"SR","ia"],["progression","BT"],["log-base","DU","fa"],["scale-factor","PE","fa"],["show-labels","M6"],["max-decimals","IB","i"],[ZC._[7],"BA"],["factor","RF","f"],["master","sMaster"],["blended","W0","b"],["ranged","DE","b"],["normalize","bNormalize","b"],["allow-duplicates","bAllowDuplicates","b"],["min-value-factor","fMinValueFactor","f"],["max-value-factor","fMaxValueFactor","f"]]),"linear"===e.BT&&(e.BT="lin"),"logarithmic"===e.BT&&(e.BT="log"),"log"===e.BT&&(e.G0=Math.max(0,e.DU-2),null!==ZC._n_(e.KV)&&"v"===e.AF&&(e.KV[0]=ZC.FU(e.KV[0],e.DU),e.KV[1]=ZC.FU(e.KV[1],e.DU))),null!==ZC._n_(t=e.o["auto-fit"])&&(t.length?(e.aAutoFit[0]=ZC._b_(t[0]),e.aAutoFit[1]=ZC._b_(t[t.length-1])):e.aAutoFit[0]=e.aAutoFit[1]=ZC._b_(t)),"string"==typeof e.BZ){var h=e.BZ.split(":"),_=1;3===h.length&&(_=ZC._f_(h[2])),e.BZ=[];for(var f=ZC._f_(h[0]);f1&&(e.BA="opposite"),null!==ZC._n_(t=e.o.markers))for(var M=0,T=t.length;M=0&&h<=1&&(h="x"===c||"y"===c?e.A.P["x"===c?"iX":"iY"]+ZC._i_(h*e.A.P["x"===c?"I":"F"]):ZC._i_(h*e.A.P[a[c]])),e[a[c]]=h}null!==ZC._n_(t=e.o.offset)&&(e.A9=e.BS=ZC._f_(ZC._p_(t))),null!==ZC._n_(t=e.o["offset-start"])&&(e.A9=ZC._f_(ZC._p_(t))),null!==ZC._n_(t=e.o["offset-end"])&&(e.BS=ZC._f_(ZC._p_(t)));var _="k"===e.AF&&!e.CJ||"v"===e.AF&&e.CJ?e.I:e.F;e.A9<1&&(e.A9*=_),e.BS<1&&(e.BS*=_)}WC(t){var e=this;null!==ZC._n_(e.o.rules)&&(e.X9||(e.X9=new HH(e.A)),e.X9.append(e.o),e.X9.parse(),e.X9.IX=t,e.X9.DC()&&(e.X9.parse(),e.DQ=e.X9.DQ,e.CI=e.X9.CI))}H2(){}TA(){}A05(){}HG(){}clear(){}build(){}LZ(){var t,e=this,a={negation:e.A0I,"thousands-separator":e.RO,"decimals-separator":e.S9,decimals:e.DQ,"max-decimals":e.IB,short:e.A39,"short-unit":e.TZ,exponent:e.A0F,"exponent-decimals":e.SR};if(e.F7&&"date"===e.F7.o.type){a[ZC._[68]]=!0,null!==ZC._n_(t=e.F7.o.text)&&(e.F7.o.all=t);var h,_,c=e.V[e.A1]-e.V[e.W],f={},m=["msecond","second","minute","hour","day","month","year"];for(var v in m)f[m[v]]=ZC.HI["date-formats"][m[v]];_=0<=c&&c<=1e3?"msecond":1e3").length),"h"===v?(f+=t.F,m=ZC.BQ(m,ZC._a_(ZC.EO(D))*ZC.BQ(t.I,t.F))):"w"===v&&(f+=t.I,m=ZC.BQ(m,ZC._a_(ZC.EI(D))*ZC.BQ(t.I,t.F))),t.ED(),null===ZC._n_(c.o.tooltip)&&t.KI||(null!==ZC._n_(c.o.tooltip)&&(c.o.tooltip.text=c.o.tooltip.text||"%scale-value"),E.push(ZC.AR.OI(c.A.K,t))))}return{tdim:f,mdim:m,overlaps:!T}}TO(t,e){var a=this;if("v"===a.AF&&(a.HC!==a.AY&&a.HC!==a.BD||(null===ZC._n_(a.o["ref-line"])||null!==ZC._n_(a.o["ref-line"])&&null===ZC._n_(a.o["ref-line"].visible))&&(a.PD.AO=!1)),a.PD.K=a.K+"-ref-line",a.V.length>0&&a.PD.AO&&!a.A.AJ["3d"]&&a.PD.B1>0){"inherit"===a.PD.o["line-color"]&&-1!==e&&(a.PD.B7=e);var c=a.HC;if("k"===a.AF&&!a.CJ||"v"===a.AF&&a.CJ){var h=a.AK(c);h>=a.iX&&h<=a.iX+a.I&&ZC.CQ.paint(t,a.PD,[[h,a.iY],[h,a.iY+a.F]])}else{var _=a.AK(c);_>=a.iY&&_<=a.iY+a.F&&ZC.CQ.paint(t,a.PD,[[a.iX,_],[a.iX+a.I,_]])}}}paint_(){}VX(){for(var t=this,e=0,a=t.QH.length;e0&&t.QH[e].paint()}gc(){ZC.AR.gc(this,["V","BZ","Z","C7","D6","BR","M","G9","IK","PD","J3","IX","o","IG","JJ","A","H"])}}class A4J extends HH{constructor(A){super(A);var t=this;t.EG=!1,t.AF="k",t.D5=-1,t.DN=-1,t.W=-1,t.A1=-1,t.VL=1,t.DQ=null,t.OY=0,t.A5A=!1,t.O6=!1,t.UO={},t.J2=[],t.iMinOffset=0,t.aForcedMinMax=[null,null,1]}zoomTo(A,t){var e=this;if(e.GQ){e.W=null!==ZC._n_(A)?A:e.D5,e.A1=null!==ZC._n_(t)?t:e.DN;var a=e.J2;if(a.length>0?(e.AY=ZC.AV(a,e.V[e.W]),e.BD=ZC.AV(a,e.V[e.A1])):(e.AY=e.V[e.W],e.BD=e.V[e.A1]),e.H.H5.C||(e.H.H5.C=e.A),e.A.H5&&null!==ZC._n_(e.A.H5.o.shared)&&ZC._b_(e.A.H5.o.shared)&&e.A.K===e.H.H5.C.K)for(var c=0,h=e.H.AG.length;c0&&A.BR.AA%180==0){for(var a=ZC.BQ(1,ZC._i_(t/20)),c=0,h=0;h||
|\n/),f=0,m=0,v=_.length;m/gi,"").replace(/<\/.+?>/gi,"").length);e+=f,c++}e=.75*e/Math.max(1,c)}else e=15;A.EH=A.CJ?ZC._i_((A.F-A.A9-A.BS)/15):ZC._i_((A.I-A.A9-A.BS)/e),A.EH=ZC.CX(A.EH,20),(A.BD-A.AY)/A.E0+1ZC._f_(f[1])){var v=f[0];f[0]=f[1],f[1]=v}if(m<=0&&(m=1),f.length>1){for(var E=0,w=0,D=0,M=(""+m).split("."),T=ZC._f_(f[0]);T<=ZC._f_(f[1]);T+=m){var R=(""+T).split(".");M.length>1&&R.length>1&&M[1].length>0&&R[1].length>=9&&ZC._a_(R[1].length-M[1].length)>2?(E+=M[1].length,w=ZC.BQ(w,M[1].length),D++,null!==(h=ZC._n_(_.o[ZC._[12]]))?_.V.push(ZC._f_(Number(T).toFixed(ZC._i_(h)))):_.V.push(ZC._f_(ZC._fixed_(Number(T),M[1].length))),T=ZC._f_(ZC._fixed_(Number(T),M[1].length))):(E+=R[1]?R[1].length:0,w=ZC.BQ(w,R[1]?R[1].length:0),D++,null!==(h=ZC._n_(_.o[ZC._[12]]))?_.V.push(ZC._f_(Number(T).toFixed(ZC._i_(h)))):_.V.push(T))}null===ZC._n_(_.o[ZC._[12]])&&(E=Math.ceil(E/D),_.DQ=ZC._a_(w-E)<=1?w:E)}}if(2===A){var V=0,$=[];0===_.V.length?(t=ZC.MAX,e=-ZC.MAX):(t=_.V[0],e=_.V[_.V.length-1]);var y,U,O=_.A.AZ.A3,Q=!1;for(a=0,c=O.length;a_.V.length&&_.V.length>0&&!_.EG)for(a=_.V.length;a0&&(t=0),Q&&e0&&(_.E0=Math.pow(10,Math.floor(ZC.FU(e-t)/Math.LN10))),_.O6||_.PP(t,e,!0),0===t&&0===e&&"0,1"===_.V.join(",")&&(_.V=[0]);else if(null!==ZC._n_(_.o["max-value"])){y=0,U=0,null!==ZC._n_(_.o["min-value"])&&(y=ZC._f_(_.o["min-value"])),U=ZC._f_(_.o["max-value"]),a=0;var le=y;for(_.F7&&null!==ZC._n_(_.F7.o.type)?"date"===_.F7.o.type&&(_.E0=_.XK(y,U)):(U-y)/_.E0>1e4&&(_.E0=Math.pow(10,ZC.BQ(1,ZC._i_(ZC.FU(ZC._a_(U-y),10)-4))));le0?(_.AY=_.W,_.BD=_.A1):(_.AY=ZC._f_(_.V[_.W]),_.BD=ZC._f_(_.V[_.A1])),_.O1){-1===ZC.AV(_.V,_.O1[0])&&ZC.PQ(_.O1[0])&&null!==ZC._n_(_.V[0])&&-1!==_.SS&&(_.O1[0]=_.V[0]+_.SS*Math.floor((_.O1[0]-_.V[0])/_.SS)),-1===ZC.AV(_.V,_.O1[1])&&ZC.PQ(_.O1[1])&&null!==ZC._n_(_.V[0])&&-1!==_.SS&&(_.O1[1]=_.V[0]+_.SS*Math.ceil((_.O1[1]-_.V[0])/_.SS));var ce=ZC.AV(_.V,_.O1[0]),Ce=ZC.AV(_.V,_.O1[1]);_.KV=[-1===ce?0:ce,-1===Ce?_.V.length-1:Ce]}_.KV&&-1!==_.W&&-1!==_.A1&&((_.KV[0]>_.A1||_.KV[0]<_.W)&&(_.KV[0]=_.W),(_.KV[1]>_.A1||_.KV[1]<_.W)&&(_.KV[1]=_.A1));var se=_.H.E["graph"+_.A.L+".zoom"];if(null===ZC._n_(_.H.E[ZC._[53]])||_.H.E[ZC._[53]]){var he=1===_.L?"":"-"+_.L;typeof se!==ZC._[31]&&null!==ZC._n_(se["xmin"+he])&&null!==ZC._n_(se["xmax"+he])&&(_.KV=[se["xmin"+he],se["xmax"+he]])}else _.H.E["graph"+_.A.L+".zoom"]={};_.KV&&(_.A.A1P=!0)}PP(A,t,e){var a,c,h,_,f=this,m=!1,v=null!==ZC._n_(f.o.step)&&-1!==(""+f.o.step).indexOf("month");if(f.F7&&null!==ZC._n_(f.F7.o.type)){if("date"===f.F7.o.type){var E=f.XK(A,t);(t-A)%E!=0&&(v||(t+=E-(t-A)%E)),a=[A,t,E,1,E],m=!0}}else if("log"===f.BT)a=[A,t,1,1,1];else{var w=null!==ZC._n_(f.o.step)||null!==ZC._n_(f.o["min-value"])||null!==ZC._n_(f.o["max-value"]);a=A!==t?ZC.AP.X2(A,t,f.E0,f.PE,w):[A,t,f.E0,1,f.E0]}-1===f.SS&&(f.SS=a[4]);var D=a[0],M=a[1];_=a[2],e&&"log"===f.BT&&(D=Math.floor(ZC.FU(D,f.DU)),M=Math.ceil(ZC.FU(M,f.DU))),null===ZC._n_(f.o.step)&&(M-D)/_>1e4&&(_=(M-D)/1e4,h=Math.ceil(ZC.FU(_)/Math.LN10),_=Math.pow(10,h)),null===ZC._n_(f.o["min-value"])&&D!==M&&(m&&v||(D-=D%_)),null===ZC._n_(f.o["max-value"])&&D!==M&&(m&&v||(M=M-M%_+(M%_==0?0:_))),h=Math.floor(ZC.FU(_)/Math.LN10);var T,R=a[3];if(h=12&&Q++,O=(O+U)%12,(31===W&&(3===O||5===O||8===O||10===O)||W>28&&1===O)&&(W=1===O?Q%4==0&&Q%100!=0||Q%400==0?29:28:30);var ae=new Date(Q,O,W,ZC._i_(V[3]),ZC._i_(V[4]),ZC._i_(V[5])),ee=ae.getTimezoneOffset(),ne=ae.getTime()+6e4*($-ee);f.V.push(ne),ne1.005&&(he=!0,++se>ZC.CX(20,-1===f.IB?99:f.IB)&&(he=!1));else ce=null!==se?ZC._f_(ZC._fixed_(T,Math.max(se,te))):ZC._f_(ZC._fixed_(T,te));f.V.push(ce)}}else for(_=ZC._f_((t-A)/f.VL),c=0;c<=f.VL;c++)T=A+_*c,R<0&&(T=ZC._f_(T.toFixed(-R))),f.V.push(T);f.W=0,f.A1=f.V.length-1,f.D5=0,f.DN=f.V.length-1,f.AY=ZC._f_(f.V[f.W]),f.BD=ZC._f_(f.V[f.A1])}XK(A,t,e){typeof e===ZC._[31]&&(e=!1);var c=Math.floor(ZC.FU(t-A)/Math.LN10);return null===ZC._n_(this.o.step)||e?c<=3?1:4===c?1e3:5===c?1e4:6===c?2e4:7===c?3e4:8===c?6e4:9===c?6e5:10===c?12e5:11===c?18e5:36e5:this.E0}parse(){super.parse()}clear(){super.clear()}build(){super.build()}paint(){super.paint(),null!==ZC._n_(this.o[ZC._[5]])&&(this.TN=!0)}}class A02 extends HH{constructor(A){super(A);var t=this;t.AF="v",t.W=-1,t.A1=-1,t.VL=0,t.DQ=null,t.KZ="normal",t.JT=[],t.bExtendMinValue=!0,t.bExtendMaxValue=!0}zoomTo(A,t){var e,a,c=this;if(c.GQ){if(c.AY=null!==ZC._n_(A)?A:c.FS,c.BD=null!==ZC._n_(t)?t:c.GY,("piano"===c.A.AF||c.QF)&&(c.AY=ZC._i_(c.AY),c.BD=ZC._i_(c.BD),c.AY===c.BD&&(c.AY=Math.floor(c.AY),c.BD=c.AY+c.E0)),c.PP(c.AY,c.BD,!1),"lin"!==c.BT&&"log"!==c.BT){var h=ZC.evalFn(c.BT,window);h&&h.valueToCoord&&h&&h.values&&(c.V=h.values.call(c,{x:c.iX,y:c.iY,width:c.I,height:c.F,offsetStart:c.A9,offsetEnd:c.BS,inversed:c.CJ,mirrored:c.AW,minValue:c.AY,maxValue:c.BD,minValue_:c.FS,maxValue_:c.GY}),c.W=0,c.A1=c.V.length-1)}var _=c.A.BV("v");for(e=0;e<_.length;e++)_[e].BI!==c.BI&&_[e].sMaster===c.BI&&_[e].zoomTo(A,t);if(""===c.sMaster){if(c.H.H5.C||(c.H.H5.C=c.A),c.A.H5&&null!==ZC._n_(c.A.H5.o.shared)&&ZC._b_(c.A.H5.o.shared)&&c.A.K===c.H.H5.C.K)for(e=0,a=c.H.AG.length;eZC._f_(U[1])){var O=U[0];U[0]=U[1],U[1]=O}if(f<=0&&(f=1),null!==ZC._n_(m.o["fixed-items"])&&(f=(ZC._f_(U[1])-ZC._f_(U[0]))/ZC.BQ(1,ZC._i_(m.o["fixed-items"])-1),m.VL=ZC.BQ(1,ZC._i_(m.o["fixed-items"])-1)),U.length>1){for(var Q=0,W=0,ae=0,ee=(""+f).split("."),ne=ZC._f_(U[0]);ne<=ZC._f_(U[1]);ne+=f)c=(""+ne).split("."),ee.length>1&&c.length>1&&ee[1].length>0&&c[1].length>=9&&ZC._a_(c[1].length-ee[1].length)>2?(Q+=ee[1].length,W=ZC.BQ(W,ee[1].length),ae++,m.V.push(ZC._f_(ZC._fixed_(Number(ne),ee[1].length)))):(Q+=ZC._i_(c[1]?c[1].length:0),W=ZC.BQ(W,c[1]?c[1].length:0),ae++,m.V.push(ne));ne-ZC._f_(U[1])!=0&&ZC._a_(ne-ZC._f_(U[1]))/f<1e-8&&m.V.push(ZC._f_(U[1])),null===ZC._n_(m.o[ZC._[12]])&&(Q=(c=(""+f).split("."))[1]?c[1].length:Math.ceil(Q/ae),m.DQ=ZC._a_(W-Q)<=1?W:Q)}}m.W=0,m.A1=m.V.length-1,m.E0=f,D.length>1?(w=ZC.YO(m.V,!0),m.AY=ZC.YO(m.V),m.BD=ZC.A2D(m.V)):(m.AY=m.V[0],m.BD=m.V[m.V.length-1]),"log"===m.BT&&(0===m.AY&&(E=Math.floor(ZC.FU(w,m.DU)),m.AY=Math.pow(m.DU,Math.min(-1,E))),m.PP(ZC.FU(m.AY,m.DU),ZC.FU(m.BD,m.DU),!1))}if(2===A){var oe={};null===ZC._n_(m.o[ZC._[5]])&&(m.V=[],h=ZC.MAX,_=-ZC.MAX);var te=[],le=m.A.AZ.A3;for(e=0,a=le.length;e=0||!Ce?[le[e].R[he].AD,0]:[0,le[e].R[he].AD]:le[e].R[he].AD>=0||!Ce?oe[le[e].DZ][ie][0]+=le[e].R[he].AD:oe[le[e].DZ][ie][1]+=le[e].R[he].AD,le[e].R[he].CP=le[e].R[he].AD>=0||!Ce?oe[le[e].DZ][ie][0]:oe[le[e].DZ][ie][1],null===ZC._n_(m.o[ZC._[5]])&&te.push(oe[le[e].DZ][ie][0]+De,oe[le[e].DZ][ie][1]+De);else if(null===ZC._n_(m.o[ZC._[5]])){te.push(le[e].R[he].AD+De),0!==De&&te.push(De);for(var ge=0,me=le[e].R[he].DP.length;ge0&&(w=ZC.YO(te,!0),h=ZC.YO(te),_=ZC.A2D(te)),0!==m.V.length||h!==Number.MAX_VALUE&&_!==Number.MIN_VALUE||(m.V=[0,1],h=0,_=1),null===ZC._n_(m.o[ZC._[5]]))if(null!==ZC._n_(m.o["min-value"])&&"auto"!==m.o["min-value"]?h=ZC._f_(m.o["min-value"]):h>0&&"auto"!==m.o["min-value"]&&"log"!==m.BT&&(h=0),null!==ZC._n_(m.o["max-value"])&&(_=ZC._f_(m.o["max-value"])),h===ZC.MAX&&_===-ZC.MAX)m.W=0,m.A1=0,m.AY=0,m.BD=0;else if("log"===m.BT)0===h&&(E=Math.floor(ZC.FU(w,m.DU)),h=Math.pow(m.DU,Math.min(-1,E))),m.PP(ZC.FU(h,m.DU),ZC.FU(_,m.DU),!1);else if("lin"===m.BT)m.PP(h,_,!0);else{m.PP(h,_,!0);var Ze=ZC.evalFn(m.BT,window);Ze&&Ze.values&&(m.V=Ze.values.call(m,{x:m.iX,y:m.iY,width:m.I,height:m.F,offsetStart:m.A9,offsetEnd:m.BS,inversed:m.CJ,mirrored:m.AW,minValue:h,maxValue:_,minValue_:h,maxValue_:_}),m.W=0,m.A1=m.V.length-1)}}2===A&&(-1===m.FS&&-1===m.GY&&(m.FS=m.AY,m.GY=m.BD),-1===m.SS&&(m.SS=m.E0)),"auto"===m.o["min-value"]&&null===ZC._n_(m.o["ref-value"])&&(m.HC=m.AY),0===m.VL&&(m.VL=ZC._i_((m.BD-m.AY)/m.E0));var pe=m.H.E["graph"+m.A.L+".zoom"];if(null===ZC._n_(m.H.E[ZC._[53]])||m.H.E[ZC._[53]]){var ve=1===m.L?"":"-"+m.L;2===A&&typeof pe!==ZC._[31]&&null!==ZC._n_(pe["ymin"+ve])&&null!==ZC._n_(pe["ymax"+ve])&&(ZC.DM(pe["ymin"+ve],m.AY,m.BD)||(pe["ymin"+ve]=m.AY),ZC.DM(pe["ymax"+ve],m.AY,m.BD)||(pe["ymax"+ve]=m.BD),m.KV=[pe["ymin"+ve],pe["ymax"+ve]])}else m.H.E["graph"+m.A.L+".zoom"]={};m.KV&&(m.A.A1P=!0)}PP(A,t,e){var a,c,h,_,f=this;t+=f.fMaxValueFactor*(t-(A-=f.fMinValueFactor*(t-A))),"piano"!==f.A.AF&&!f.QF&&f.JT.length>1&&(A=0),f.TZ.length&&null===ZC._n_(f.o["scale-factor"])&&(h=Math.floor(ZC.FU(ZC._a_(t),ZC._f_(f.TZ[0]))),f.PE=Math.pow(ZC._f_(f.TZ[0]),h)/Math.pow(1e3,h),f.E["max-power"]=h);var m=(_=f.F7&&"date"===f.F7.o.type?ZC.AP.X2(A,t,"lin"===f.BT?f.E0:null,f.PE,f.bNormalize,f.EH):ZC.AP.X2(A,t,"lin"===f.BT?f.o.step:null,f.PE,f.bNormalize,f.EH))[0],v=_[1],E=!1;c=Math.floor(_[0]),"log"===f.BT&&(h=Math.ceil(_[1]),_[1]-_[0]>=.5?E=!0:_=ZC.AP.X2(Math.pow(f.DU,_[0]),Math.pow(f.DU,_[1]),null,f.PE,f.bNormalize));var w,D,M=_[0],T=_[1],R=_[2];if(null!==ZC._n_(f.o["fixed-items"])&&(R=(T-M)/ZC.BQ(1,ZC._i_(f.o["fixed-items"])-1)),f.QF&&t===A&&(t+R<=f.BD?t+=R:A-=R),1!==f.RF&&(M*=f.RF,T*=f.RF,R*=f.RF),null!==ZC._n_(f.E["o-decimals"])?f.DQ=f.E["o-decimals"]:f.E["o-decimals"]=f.DQ,null===ZC._n_(f.o[ZC._[12]]))if("log"===f.BT&&E)f.DQ=c<0?null:0;else if(f.bNormalize)f.A39||(f.DQ=0);else{var V=ZC.FU(t-A,10);f.DQ=_[3],f.DQ>9&&(V>=1?f.DQ=1:V>0&&V<1&&(f.DQ=2))}var $,y,U,O=!0;if(E){var Q,W;c=Math.floor(M),h=Math.ceil(T),$=Math.pow(f.DU,A),y=Math.pow(f.DU,t),f.V=[];var ae=[0,2,5];for(W=[0,1,2,3,4,5,6,7,8,9,10],a=c;a<=h;a++){var ee=_[3];if(ee=a<0?Math.max(ZC._a_(a),ee):0,a===h)for(Q=0;Q=M&&D<=T&&f.V.push(D):f.V.push(D),w+=R,w=ZC._f_(w.toFixed(_[3]))}while(w<=T);O&&(f.DQ+=1)}"log"===f.BT&&(m=ZC.FU(M,f.DU),v=ZC.FU(T,f.DU),f.V.push(M),f.V.push(T),f.V.sort(function(le,ce){return le-ce}))}f.E0=R,f.W=0,f.A1=f.V.length-1,e?(f.AY=f.bExtendMinValue?m:A,f.BD=f.bExtendMaxValue?v:t):(f.AY=A,f.BD=t)}parse(){var A=this;A.assign_a([["stack-type","KZ"],["extend-min-value","bExtendMinValue","b"],["extend-max-value","bExtendMaxValue","b"]]),(A.A.CD&&"100%"===A.A.KZ||"100%"===A.KZ)&&null===ZC._n_(A.o[ZC._[5]])&&(A.o[ZC._[5]]="0:100:20",A.o.format="%v%"),super.parse()}clear(){super.clear()}build(){super.build()}paint(){super.paint(),null===ZC._n_(this.E[ZC._[12]])&&(this.E[ZC._[12]]=null!==ZC._n_(this.DQ)?this.DQ:-1),null!==ZC._n_(this.o[ZC._[5]])&&(this.TN=!0)}}class TF extends A4J{constructor(t){super(t)}parse(){super.parse()}H2(){var t=this;t.AB=t.A1===t.W?t.I-t.A9-t.BS:(t.I-t.A9-t.BS)/(t.A1-t.W+(t.DE?1:0))}HG(t){super.HG(t),this.H2()}zoomTo(t,e){super.zoomTo(t,e),this.H2()}clear(){}build(){super.build()}L4(t){var e,a=this;e=a.AW?(a.iX+a.I-a.A9-t)/(a.I-a.A9-a.BS):(t-a.iX-a.A9)/(a.I-a.A9-a.BS);var c=a.AY,h=a.BD;null!==ZC._n_(a.aForcedMinMax[0])&&a.aForcedMinMax[0]!==c&&(c=a.aForcedMinMax[0]),null!==ZC._n_(a.aForcedMinMax[1])&&a.aForcedMinMax[1]!==h&&(h=a.aForcedMinMax[1]),"log"===a.BT&&(c=ZC.FU(c,a.DU),h=ZC.FU(h,a.DU));var _=c+ZC._f_((h-c)*e);return"log"===a.BT&&(_=Math.pow(a.DU,_)),_}N4(t,e,a){var c,h,_,f=this;typeof a===ZC._[31]&&(a=!1);var m=f.DE?f.AB:0;_=f.AW?(f.iX+f.I-t-f.A9-m/2)/(f.I-f.A9-f.BS-m):(t-f.iX-f.A9-m/2)/(f.I-f.A9-f.BS-m);var v,E=!1;if(e)for(v in e.KC){E=!0;break}if(e&&!f.O6&&E){var w=f.V[f.W];"string"==typeof w&&(w=ZC.AV(f.J2,w)),"log"===f.BT&&(w=ZC.FU(w,f.DU));var D=f.V[f.A1];"string"==typeof D&&(D=ZC.AV(f.J2,D)),"log"===f.BT&&(D=ZC.FU(D,f.DU));var M=w+ZC._f_((D-w)*_);"log"===f.BT&&(M=Math.pow(f.DU,M));var T=ZC.MAX;for(v in h=null,e.KC)(c=Math.abs(v-M))e.A30){var R=Math.ceil((D-w)/(f.I-f.A9-f.BS));if(e.V.length<2&&(R*=100),T>R)return null}return h}var V=f.W,$=f.A1;return f.EG&&(null!==ZC._n_(c=f.V[V])&&(V=c),null!==ZC._n_(c=f.V[$])&&($=c)),"log"===f.BT&&(V=ZC.FU(V,f.DU),$=ZC.FU($,f.DU)),h=a?f.DE?V+($-V+1)*_:V+($-V)*_:f.W+(f.A1-f.W)*_,"log"===f.BT?(h=Math.pow(f.DU,h),h=Math.round(h)-1):(h=ZC._i_(h),h=ZC.BQ(0,h),h=ZC.CX(f.DN,h)),h}H7(t){var e=this;return"log"===e.BT&&(t=ZC.FU(t+1,e.DU)),e.AW?e.iX+e.I-e.A9-(t-e.W+(e.DE?1:0))*e.AB+(e.DE?e.AB/2:0):e.iX+e.A9+(t-e.W)*e.AB+(e.DE?e.AB/2:0)}AK(t){var e,a,h,_,f=this;if("log"===f.BT&&(0===t&&(t=f.AY),t=ZC.FU(t,f.DU)),f.O6)return f.H7(f.UO[t]);if(-1!==(e=ZC.AV(f.J2,t)))return f.H7(e);if(!f.A5A&&(f.EG||f.F7&&"date"===f.F7.o.type)){h=f.V[f.W],_=f.V[f.A1];var v=f.I;return"log"===f.BT&&(h=ZC.FU(h,f.DU),_=ZC.FU(_,f.DU),f.W===f.D5&&f.A1===f.DN&&(v=(f.A1-f.W)*f.AB+f.A9+f.BS)),a=_===h?0:(v-f.A9-f.BS-(f.DE?f.AB:0))/(_-h),f.AW?f.iX+v-f.A9-(t-h)*a-(f.DE?f.AB/2:0)+f.iMinOffset:f.iX+f.A9+(t-h)*a+(f.DE?f.AB/2:0)-f.iMinOffset}return h=f.AY,_=f.BD,"log"===f.BT&&(h=ZC.FU(h,f.DU),_=ZC.FU(_,f.DU)),a=_===h?0:(f.I-f.A9-f.BS)/(_-h+(f.DE?1:0)),f.AW?f.iX+f.I-f.A9-(t-h)*a-(f.DE?f.AB/2:0):f.iX+f.A9+(t-h)*a+(f.DE?f.AB/2:0)}paint(){var t,e,a,c,h,_,f,m,v,E,w,D,M,T,R,V,y=this;super.paint(),null!==ZC._n_(y.A.A.E[y.BI+"-feed-offset-start"])&&(y.A9=y.A.A.E[y.BI+"-feed-offset-start"]),"bubble"!==y.A.AF&&"scatter"!==y.A.AF||(-1===y.A9&&-1===y.BS||1===y.V.length)&&(y.A9=y.BS=y.I/(y.V.length+1),y.H2());var U=y.BD,O=y.AY;if("log"===y.BT&&(null!==ZC._n_(y.o["max-value"])&&(U=ZC._f_(y.o["max-value"]),y.aForcedMinMax[1]=U),null!==ZC._n_(y.o["min-value"])&&(O=ZC._f_(y.o["min-value"]),y.aForcedMinMax[0]=O),y.iMinOffset=0,(U!==y.BD||O!==y.AY)&&y.W===y.D5&&y.A1===y.DN&&1===y.aForcedMinMax[2])){y.aForcedMinMax[2]=0;var Q=y.AB;y.AB=(y.I-y.A9-y.BS)/(ZC.FU(U,y.DU)-ZC.FU(O,y.DU))-.1;var W=ZC.FU(O,y.DU)-ZC.FU(y.AY,y.DU),ae=ZC.FU(y.BD,y.DU)-ZC.FU(U,y.DU);y.iMinOffset=W*(y.AB-Q)*(y.V.length-1)/(ae+W)}var ee=y.YE(),ne=0,oe=1,te=1,le={};for(e=0,a=y.A.BO.length;e0;Oe--)y.iStepMultiplier>Oe&&y.A1-y.W<=Oe*y.iStepMultiplier&&(de=Oe);ke*=de;var Fe,be,Se,xe=0,we=y.AB*(ve*=de)/(y.G0+1),Re=y.AW?y.iX+y.BS:y.iX+y.A9,Ie=y.AW?y.iX+y.I-y.A9:y.iX+y.I-y.BS;if(null===ZC._n_(se)&&(se=h),_=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-ml-0-c"),m=ZC.Q.EA(_,y.H.AC),f=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-bl-0-c"),v=ZC.Q.EA(f,y.H.AC),"inherit"===y.o["line-color"]&&-1!==ee&&(y.B7=ee),y.A.AJ["3d"]){if((R=ZC.DJ.DB(y,y.A,y.iX-ZC.AQ.E3,y.iX-ZC.AQ.E3+y.I,h-ZC.AQ.E4,h-ZC.AQ.E4,-1,ZC.AQ.FY+1,"x")).K=y.K+"-line",y.A.EZ.true3d&&(R.MO=y.A.EZ[ZC._[27]]>0?[1===y.L?-100:100,1,1]:[1===y.L?100:-100,1,1]),y.A.CL.add(R),null!==ZC._n_(y.o.axis)){var Ne=new CZ(y);Ne.append(y.o.axis),Ne.parse(),Ne.A0=Ne.AE=Ne.B7,(R=ZC.DJ.DB(Ne,y.A,y.iX-ZC.AQ.E3,y.iX-ZC.AQ.E3+y.I,h-ZC.AQ.E4,h-ZC.AQ.E4,-Ne.B1/2,Ne.B1/2,"x")).K=y.K+"-axis",y.A.CL.add(R)}}else{w=[[y.iX-1,pe],[y.iX+y.I+1,pe]];var We=y.K;y.K+="-line",ZC.CQ.paint(m,y,w),y.K=We}if(y.V.length>0&&y.D6.AO){var Te=null===ZC._n_(y.D6.o["offset-start"])?0:ZC._i_(y.D6.o["offset-start"]),ze=null===ZC._n_(y.D6.o["offset-end"])?0:ZC._i_(y.D6.o["offset-end"]);if(y.D6.o.items&&y.D6.o.items.length>0&&!y.A.AJ["3d"])for(V=new I7(y),e=y.W;e0)for(y.GW=0,e=y.W;e<=y.A1+(y.DE?1:0);e++)if(y.KD=e,e===y.W||e===y.A1+(y.DE?1:0)||(e-y.W)%ve==0){(y.D6.E5.length>0||e===y.W)&&((T=new CZ(y)).Z=T.C7=f,T.copy(y.D6),T.IX=$t,T.DC()&&T.parse()),w=[],D=e-y.W,M="log"===y.BT?y.AK(y.V[e]):y.AW?y.iX+y.I-y.A9-D*y.AB:y.iX+y.A9+D*y.AB;var Ve=y.iY+Te,lt=y.F-Te-ze;if(T.AO)if(y.A.AJ["3d"]){var Ee=new CZ(y);Ee.copy(T),null!==ZC._n_(y.o["scale-z"])&&null!==ZC._n_(t=y.o["scale-z"].guide)&&(Ee.append(t),Ee.parse()),Ee.A0=Ee.AE=Ee.B7,R=ZC.DJ.DB(Ee,y.A,M-ZC.AQ.E3-Ee.B1/2,M-ZC.AQ.E3+Ee.B1/2,h-ZC.AQ.E4,h-ZC.AQ.E4,0,ZC.AQ.FY,"z"),y.A.CL.add(R),T.A0=T.AE=T.B7,(R=ZC.DJ.DB(T,y.A,M-ZC.AQ.E3-T.B1/2,M-ZC.AQ.E3+T.B1/2,Ve-ZC.AQ.E4,Ve+lt-ZC.AQ.E4,ZC.AQ.FY+2,ZC.AQ.FY+2,"y")).K=y.K+"-guide-"+e,y.A.CL.add(R)}else w.push([M,Ve],[M,Ve+lt]),T.K=y.K+"-guide-"+e,ZC.CQ.paint(v,T,w);y.GW++}}if(y.V.length>0&&y.G9.AO&&!y.A.AJ["3d"]&&y.G9.o.items&&y.G9.o.items.length>0)for(V=new I7(y),e=y.W;e0)for(e=y.W;e0&&y.J3.AO){switch(y.J3.o[ZC._[7]]){case"inner":break;case"outer":xe+=ge;break;default:xe+=ge/2}if(!zingchart.DEV.SMARTDATELABELS||!y.F7||"date"!==y.F7.o.type)for(y.GW=0,e=y.W;e<=y.A1+(y.DE?1:0);e++)if(e===y.W||e===y.A1+(y.DE?1:0)||(e-y.W)%ve==0){y.KD=e;var nt=ge;if(w=[],D=e-y.W,(y.J3.E5.length>0||e===y.W)&&((T=new DX(y)).copy(y.J3),"inherit"===y.J3.o["line-color"]&&-1!==ee&&(T.B7=ee),T.IX=$t,T.DC()&&T.parse(),T.AI>1&&(nt=T.AI)),M="log"===y.BT?y.AK(y.V[e]):y.AW?y.iX+y.I-y.A9-D*y.AB:y.iX+y.A9+D*y.AB,ZC.DM(M,Re,Ie)){switch(T.o[ZC._[7]]){case"ref-auto":w.push([M,se+nt/2],[M,se-nt/2]);break;case"ref-top":w.push([M,se-nt],[M,se]);break;case"ref-bottom":w.push([M,se+nt],[M,se]);break;case"inner":w.push([M,h-(Ce?nt:-nt)],[M,h]);break;case"outer":w.push([M,h],[M,h+(Ce?nt:-nt)]);break;default:w.push([M,h+nt/2],[M,h-nt/2])}if(T.AO){for(be=ZC._i_(T.o["offset-x"]||"0"),Se=ZC._i_(T.o["offset-y"]||"0"),Fe=0;Fe0&&y.G0>0&&y.IK.AO&&!y.A.AJ["3d"])for(e=y.W;e0&&y.BR.AO)if(zingchart.DEV.SMARTDATELABELS&&y.F7&&"date"===y.F7.o.type){var ut=y.getOptimalDateInterval(y.V[y.A1]-y.V[y.W]),nn=ut[0];Bt=ut[1];var Mn=ut[2],cn=ut[3];Mt=ut[4];var yt=Mn*Math.ceil(y.V[y.W]/Mn),Xn=Mn*Math.floor(y.V[y.A1]/Mn),Dn="";y.GW=0;var Pt=!0;for(e=yt;e<=Xn;e+=Mn){Pt=!0;var Ot=ZC.AR.Z0(e,nn,y.A.V0,y.A.NL);if(Ot!==Dn){switch(cn){case"yr":Mt>15&&(Pt=ZC._i_(Ot)%2==0);break;case"mon":Mt>15&&(Pt=ZC._i_(Ot)%3==0);break;case"day":Mt>45?Pt=1===ZC._i_(Ot)||15===ZC._i_(Ot):Mt>30?Pt=1===ZC._i_(Ot)||10===ZC._i_(Ot)||20===ZC._i_(Ot):Mt>15&&(Pt=1===ZC._i_(Ot)||10===ZC._i_(Ot)||15===ZC._i_(Ot)||20===ZC._i_(Ot)||25===ZC._i_(Ot));break;case"hr":Mt>45?Pt=ZC._i_(Ot)%12==0:Mt>30?Pt=ZC._i_(Ot)%6==0:Mt>15&&(Pt=ZC._i_(Ot)%3==0);break;case"min":case"sec":Mt>45?Pt=ZC._i_(Ot)%30==0:Mt>30?Pt=ZC._i_(Ot)%10==0:Mt>15&&(Pt=ZC._i_(Ot)%5==0)}Pt&&(Jt(e,!0),Dn=Ot)}}rt.AO&&(rt.K=y.K+"-ticks",ZC.CQ.paint(m,rt,et))}else for(y.GW=0,Jt(y.W),y.GW=y.A1-y.W,Jt(y.A1),y.GW=1,e=y.W+1;e0&&ZC.AM(y.A.A.K+"-map")&&(ZC.AM(y.A.A.K+"-map").innerHTML+=tt.join("")),null!==ZC._n_(y.o.transform)&&"date"===y.o.transform.type&&y.paintTransformDate()}function $t(wt){return(wt=(wt=(wt=(wt=(wt=wt.replace(/%scale-last-position/g,y.A1-y.W)).replace(/(%c)|(%scale-position)/g,y.GW)).replace(/(%i)|(%scale-index)/g,y.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(y.V[y.KD])?y.V[y.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(y.BZ[y.KD])?y.BZ[y.KD]:"")).replace(/%scale-day-of-week/g,ZC.AR.Z0(y.V[y.KD],"%w",y.A.V0,y.A.NL))}function Jt(wt,Ln,Un,In){var Qr;if(y.KD=wt,D=wt-y.W,(y.BR.E5.length>0||wt===y.W||!Me||y.BR.I4||Un)&&(Me=new DV(y)),Me.copy(y.BR),Me.GO=y.K+"-item "+y.A.K+"-scale-item zc-scale-item",Me.K=y.A.K+"-"+y.BI.replace(/\-/g,"_")+"-item_"+(In?"c"+In:wt),Me.E["p-width"]=y.AB,y.CI=$e,y.DQ=ot,Un||y.WC($t),Qr=Ln?ZC.AR.Z0(wt,Bt,y.A.V0,y.A.NL):In||y.FD(wt,null,null),!Un&&y.BR.I4){var yo=y.A.GS();ZC._cp_({index:wt,cnt:D,text:Qr},yo),y.GN(y.BR,Me,null,yo,y.BR.MV)}if(!(null!==ZC._n_(y.M6)&&-1===ZC.AV(y.M6,Qr)||(Me.AN=Qr,Me.Z=Me.C7=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-ml-0-c"),Me.IW=y.H.usc()?ZC.AM(y.H.K+"-main"):ZC.AM(y.H.K+"-text"),Me.E.nodeidx=wt,Me.parse(),y.BR.A2P&&y.BR.AA%180==0&&(Me.o[ZC._[19]]=ZC._i_(.9*y.AB),Me.parse()),"inherit"!==y.BR.o["font-color"]&&"inherit"!==y.BR.o.color||-1===ee||(Me.C2=ee),Un||(Me.IX=$t,Me.DC()&&Me.parse()),Me.o["auto-fit"]&&(Me.I=ZC._i_(y.AB)),Ln?(M=y.AK(wt),Me.iX=M-Me.I/2-(y.DE?y.AB/2:0)):Un?(M=y.AK(wt),Me.iX=M-Me.I/2):"log"===y.BT?(M=y.AK(y.V[wt]),Me.iX=M-Me.I/2+(y.DE?y.AB/2:0)*(y.AW?-1:1)):y.AW?(M=y.iX+y.I-y.A9-D*y.AB,Me.iX=M-Me.I/2-(y.DE?y.AB/2:0)):(M=y.iX+y.A9+D*y.AB,Me.iX=M-Me.I/2+(y.DE?y.AB/2:0)),My.iX+y.I+1))){if(y.A.B9&&y.A.B9.BZ&&y.A.B9.IJ){for(var Li=!1,Nr=0;Nr10*ZC.SEC&&(f=2),R>30*ZC.SEC&&(f=5),R>60*ZC.SEC&&(f=10)):2*ZC.MIN10*ZC.MIN&&(f=2),R>30*ZC.MIN&&(f=5),R>60*ZC.MIN&&(f=10)):2*ZC.HR6*ZC.HR&&(f=2),R>12*ZC.HR&&(f=4),R>24*ZC.HR&&(f=6)):2*ZC.DAY12*ZC.DAY&&(_=[1,5,9,13,17,21,25,29]),R>24*ZC.DAY&&(_=[1,6,11,16,21,26])):2*ZC.MON9*ZC.MON&&(_=[1,4,7,10])):(a="%Y",c="%Y",R>9*ZC.YR&&(f=3),R>16*ZC.YR&&(f=4),R>25*ZC.YR&&(f=5))}(h.V[h.A1]-h.V[h.W]);var m=null,v=[],E=!1,w=!1;function D(T){var R,V;if(null!==ZC._n_(h.V[T])&&""!==h.V[T]){h.O6&&T!==h.W&&T!==h.A1&&null!==ZC._n_(h.V[T-1])&&""!==h.V[T-1]&&ZC._n_(h.V[T]);var $=ZC.AR.Z0(h.V[T],a,h.A.V0,h.A.NL);if($!==m&&ZC._i_($)%f==0&&(0===_.length||-1!==ZC.AV(_,ZC._i_($)))){var y,U=!0,O=T-h.W;R=h.AW?h.iX+h.I-h.A9-O*h.AB:h.iX+h.A9+O*h.AB+(h.DE?h.AB/2:0);var Q=new DV(h);h.H.B8.load(Q.o,"graph.SCALE.transform[date].item"),null!==ZC._n_(y=h.o.transform.item)&&Q.append(y),Q.GO=h.K+"-item "+h.A.K+"-scale-item zc-scale-item",Q.K=h.K+"-date-item-"+T;var W=ZC.AR.Z0(h.V[T],c,h.A.V0,h.A.NL);Q.AN=W,Q.Z=Q.C7=h.H.usc()?h.H.mc():ZC.AM(h.A.K+"-scales-ml-0-c"),Q.IW=h.H.usc()?ZC.AM(h.H.K+"-main"):ZC.AM(h.H.K+"-text"),Q.parse(),Q.iX=h.AW?R-Q.I/2-(h.DE?h.AB/2:0):R,Q.iY=h.iY,h.A.AJ["3d"]&&(h.A.NS(),V=new CE(h.A,Q.iX+Q.I/2-ZC.AQ.E3,Q.iY+Q.F/2-ZC.AQ.E4,0),Q.iX=V.EC[0]-Q.I/2,Q.iY=V.EC[1]-Q.F/2);var ae=[Q.iX+Q.BL,Q.iY+Q.BH,Q.I,Q.F];if(Q.AA%180==90&&(ae=[Q.iX+Q.BL+Q.I/2-Q.F/2,Q.iY+Q.BH+Q.F/2-Q.I/2,Q.F,Q.I]),h.A.B9&&h.A.B9.IJ){for(var ee=!1,ne=0;ne=h.iX&&Q.iX+Q.I<=h.iX+h.I&&h.A.B9.BZ.push({x:ZC._i_(Q.iX),text:Q.AN})}if(Q.AO&&E){if(U=!0,!h.A0U){if(T===h.W||T===h.A1)U=!0;else for(var oe=0,te=v.length;oeh.iX+h.BL+h.I&&(U=!1)}if(U){v.push(ae),Q.paint(),Q.ED();var le=new CZ(h);null!==ZC._n_(y=h.o.transform.guide)&&le.append(y),le.B1=1,le.B7="#ccc",le.parse();var ce=[];if(ce.push([R,h.iY],[R,h.iY+h.F]),h.A.AJ["3d"]){h.A.NS();for(var Ce=0,se=ce.length;Ce0&&(E=!1,null!==ZC._n_(t=h.o.transform.item)&&(E=!(null!==ZC._n_(t.visible)&&!ZC._b_(t.visible))),w=!1,h.A.B9&&h.A.B9.BZ&&(w=!0),E||w)){D(h.W),D(h.A1);for(var M=h.W+1;M0;ve--)O.iStepMultiplier>ve&&O.A1-O.W<=ve*O.iStepMultiplier&&(pe=ve);me*=pe;var ke=0,de=O.AB*(Ze*=pe)/(O.G0+1);if(h=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-ml-0-c"),_=ZC.Q.EA(h,O.H.AC),f=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-bl-0-c"),m=ZC.Q.EA(f,O.H.AC),O.TN||O.Z4||null!==ZC._n_(O.A.o[O.BI])){if("inherit"===O.o["line-color"]&&-1!==Q&&(O.B7=Q),O.A.AJ["3d"]){if((M=ZC.DJ.DB(O,O.A,c-ZC.AQ.E3,c-ZC.AQ.E3,O.iY-ZC.AQ.E4,O.iY-ZC.AQ.E4+O.F,-1,ZC.AQ.FY+1,"y")).K=O.K+"-line",O.A.EZ.true3d&&(M.MO=O.A.EZ[ZC._[28]]>0?[1===O.L?-100:100,1,1]:[1===O.L?100:-100,1,1]),O.A.CL.add(M),null!==ZC._n_(O.o.axis)){var Oe=new CZ(O);Oe.append(O.o.axis),Oe.parse(),Oe.A0=Oe.AE=Oe.B7,(M=ZC.DJ.DB(Oe,O.A,c-ZC.AQ.E3,c-ZC.AQ.E3,O.iY-ZC.AQ.E4,O.iY-ZC.AQ.E4+O.F,-Oe.B1/2,Oe.B1/2,"y")).K=O.K+"-axis",O.A.CL.add(M)}}else{E=[[ge,O.iY+O.F],[ge,O.iY]];var Fe=O.K;O.K+="-line",ZC.CQ.paint(_,O,E),O.K=Fe}var be=0,Se=0,xe=[],we=[];if(O.TN||O.Z4){if(O.V.length>0&&O.D6.AO){var Re=null===ZC._n_(O.D6.o["offset-start"])?0:ZC._i_(O.D6.o["offset-start"]),Ie=null===ZC._n_(O.D6.o["offset-end"])?0:ZC._i_(O.D6.o["offset-end"]);if(O.D6.o.items&&O.D6.o.items.length>0&&!O.A.AJ["3d"])for(O.GW=0,T=new I7(O),e=O.W;e0)for(O.GW=0,e=O.W;e<=O.A1+(O.DE?1:0);e++)if(O.KD=e,e===O.W||e===O.A1||e%Ze==0){(O.D6.E5.length>0||e===O.W||"log"===O.BT)&&((D=new CZ(O)).Z=D.C7=f,"log"===O.BT?ZC.AP._int_(ZC.FU(O.V[e],O.DU))?D.copy(O.D6):D.copy(O.G9):D.copy(O.D6),D.IX=et,D.DC()&&D.parse()),E=[],w=e-O.W;var We=O.iX+Re,Te=O.I-Re-Ie;if(v=O.AK(O.V[e]),D.AO)if(O.A.AJ["3d"]){var ze=new CZ(O);ze.copy(D),null!==ZC._n_(O.o["scale-z"])&&null!==ZC._n_(t=O.o["scale-z"].guide)&&(ze.append(t),ze.parse()),ze.A0=ze.AE=ze.B7,M=ZC.DJ.DB(ze,O.A,c-ZC.AQ.E3,c-ZC.AQ.E3,v-ZC.AQ.E4-ze.B1/2,v-ZC.AQ.E4+ze.B1/2,0,ZC.AQ.FY,"y"),O.A.CL.add(M),D.A0=D.AE=D.B7,(M=ZC.DJ.DB(D,O.A,We-ZC.AQ.E3,We-ZC.AQ.E3+Te,v-ZC.AQ.E4-D.B1/2,v-ZC.AQ.E4+D.B1/2,ZC.AQ.FY+2,ZC.AQ.FY+2,"x")).K=O.K+"-guide-"+e,O.A.CL.add(M)}else E.push([We,v],[We+Te,v]),D.K=O.K+"-guide-"+e,ZC.CQ.paint(m,D,E);O.GW++}}if(O.V.length>0&&O.G9.AO&&de>2&&!O.A.AJ["3d"]){if(O.G9.o.items&&O.G9.o.items.length>0)for(T=new I7(O),e=O.W;e0&&"log"!==O.BT)for(e=O.W;e0&&O.J3.AO){switch(O.J3.o[ZC._[7]]){case"inner":break;case"outer":ke+=fe;break;default:ke+=fe/2}for(O.GW=0,$=ZC.AV(O.V,0),e=O.W;e<=O.A1+(O.DE?1:0);e++){O.KD=e;var nt=-1;if((e===O.W||e===O.A1||e%Ze==0||ZC._b_(O.o["show-zero"])&&e===$)&&(E=[],w=e-O.W,(O.J3.E5.length>0||e===O.W||"log"===O.BT)&&(D=new CZ(O),"log"===O.BT?ZC.AP._int_(ZC.FU(O.V[e],O.DU))?D.copy(O.J3):(D.copy(O.IK),nt=fe,fe=ie):D.copy(O.J3),"inherit"===O.J3.o["line-color"]&&-1!==Q&&(D.B7=Q),D.IX=et,D.DC()&&D.parse()),v=O.AK(O.V[e]),ZC.DM(v,O.A.P.iY,O.A.P.iY+O.A.P.F))){switch(D.o[ZC._[7]]){case"ref-right":E.push([le,v],[le+fe,v]);break;case"ref-left":E.push([le,v],[le-fe,v]);break;case"ref-auto":E.push([le-fe/2,v],[le+fe/2,v]);break;case"inner":E.push([c,v],[c+(te?fe:-fe),v]);break;case"outer":E.push([c,v],[c-(te?fe:-fe),v]);break;default:E.push([c+fe/2,v],[c-fe/2,v])}if(-1!==nt&&(fe=nt,nt=-1),D.AO){for(lt=ZC._i_(D.o["offset-x"]||"0"),Ee=ZC._i_(D.o["offset-y"]||"0"),Ve=0;Ve0&&O.IK.AO&&O.G0>0&&de>5&&!O.A.AJ["3d"]&&"log"!==O.BT)for(e=O.W;e0||rt===O.W||!y||O.BR.I4)&&(y=new DV(O)),y.copy(O.BR),y.GO=O.K+"-item "+O.A.K+"-scale-item zc-scale-item",y.K=O.A.K+"-"+O.BI.replace(/\-/g,"_")+"-item_"+rt,O.CI=Ae,O.DQ=He,O.WC(et),Bt=O.FD(("piano"===O.A.AF||O.QF)&&O.BZ.length?rt+O.AY:rt),O.BR.I4){var It=O.A.GS();ZC._cp_({index:rt,cnt:w,text:Bt},It),O.GN(O.BR,y,null,It,O.BR.MV)}if(null===ZC._n_(O.M6)||-1!==ZC.AV(O.M6,Bt)){switch(y.AN=Bt,y.Z=y.C7=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-ml-0-c"),y.IW=O.H.usc()?ZC.AM(O.H.K+"-main"):ZC.AM(O.H.K+"-text"),y.parse(),"inherit"!==O.BR.o["font-color"]&&"inherit"!==O.BR.o.color||-1===Q||(y.C2=Q),y.IX=et,y.DC()&&y.parse(),y.o[ZC._[7]]){case"ref-left":y.iX=le-y.I-fe;break;case"ref-right":y.iX=le+fe;break;case"ref-auto":ce&&ce.R[rt]?(ce.FK(rt).setup(),y.iX=ce.FK(rt).iX0&&O.BR.AO)if("log"===O.BT){var at=[];for(e=O.W;e<=O.A1;e++)ZC.AP._int_(ZC.FU(O.V[e],O.DU))&&(O.GW=e,Me(e),at.push(e));for(e=O.W;e<=O.A1;e++)-1===ZC.AV(at,e)&&(O.GW=e,Me(e))}else for(O.GW=0,Me(O.W),O.GW=O.A1-O.W,Me(O.A1),-1!==($=ZC.AV(O.V,0))&&ZC._b_(O.o["show-zero"])&&(O.GW=$,Me($)),O.GW=1,e=O.W+1;e0&&ZC.AM(O.A.A.K+"-map")&&(ZC.AM(O.A.A.K+"-map").innerHTML+=we.join(""))}}function et(rt){return(rt=(rt=(rt=(rt=rt.replace(/%scale-last-position/g,O.A1-O.W)).replace(/(%c)|(%scale-position)/g,O.GW)).replace(/(%i)|(%scale-index)/g,O.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(O.V[O.KD])?O.V[O.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(O.BZ[O.KD])?O.BZ[O.KD]:"")}}}class VG extends A4J{constructor(t){super(t),this.CJ=!0}parse(){super.parse()}H2(){var t=this;t.AB=t.A1===t.W?t.F-t.A9-t.BS:(t.F-t.A9-t.BS)/(t.A1-t.W+(t.DE?1:0))}HG(t){super.HG(t),this.H2()}clear(){}build(){super.build()}zoomTo(t,e){super.zoomTo(t,e),this.H2()}L4(t){var e,a=this;e=a.AW?(t-a.iY-a.A9)/(a.F-a.A9-a.BS):(a.iY+a.F-a.A9-t)/(a.F-a.A9-a.BS);var c=a.AY,h=a.BD;"log"===a.BT&&(c=ZC.FU(c,a.DU),h=ZC.FU(h,a.DU));var _=c+ZC._f_((h-c)*e);return"log"===a.BT&&(_=Math.pow(a.DU,_)),_}N4(t,e,a){var c,h,_,f,m=this;typeof a===ZC._[31]&&(a=!1);var v=m.DE?m.AB:0;_=m.AW?(t-m.iY-m.A9-v/2)/(m.F-m.A9-m.BS-v):(m.iY+m.F-t-m.A9-v/2)/(m.F-m.A9-m.BS-v);var E=!1;if(e)for(f in e.KC){E=!0;break}if(e&&!m.O6&&E){var w=m.V[m.W];"string"==typeof w&&(w=ZC.AV(m.J2,w)),"log"===m.BT&&(w=ZC.FU(w,m.DU));var D=m.V[m.A1];"string"==typeof D&&(D=ZC.AV(m.J2,D)),"log"===m.BT&&(D=ZC.FU(D,m.DU));var M=w+ZC._f_((D-w)*_);"log"===m.BT&&(M=Math.pow(m.DU,M));var T=ZC.MAX;for(f in h=null,e.KC)(c=Math.abs(f-M))e.A30){var R=Math.ceil((D-w)/(m.I-m.A9-m.BS));if(e.V.length<2&&(R*=100),T>R)return null}return h}var V=m.W,$=m.A1;return m.EG&&(null!==ZC._n_(c=m.V[V])&&(V=c),null!==ZC._n_(c=m.V[$])&&($=c)),"log"===m.BT&&(V=ZC.FU(V,m.DU),$=ZC.FU($,m.DU)),h=a?m.DE?V+($-V+1)*_:V+($-V)*_:m.W+(m.A1-m.W)*_,"log"===m.BT?(h=Math.pow(m.DU,h),h=Math.floor(h)-1):(h=ZC._i_(h),h=ZC.BQ(0,h),h=ZC.CX(m.DN,h)),h}H7(t){var e=this;return"log"===e.BT&&(t=ZC.FU(t+1,e.DU)),e.AW?e.iY+e.A9+(t-e.W)*e.AB+(e.DE?e.AB/2:0):e.iY+e.F-e.A9-(t-e.W)*e.AB-(e.DE?e.AB/2:0)}AK(t){var e,c,h,_,f=this;if("log"===f.BT&&(0===t&&(t=f.AY),t=ZC.FU(t,f.DU)),f.O6)return f.H7(f.UO[t]);if(-1!==(e=ZC.AV(f.J2,t)))return f.H7(e);if(!f.A5A&&(f.EG||f.F7&&"date"===f.F7.o.type)){h=f.V[f.W],_=f.V[f.A1];var v=f.F;return"log"===f.BT&&(h=ZC.FU(h,f.DU),_=ZC.FU(_,f.DU),f.W===f.D5&&f.A1===f.DN&&(v=(f.A1-f.W)*f.AB+f.A9+f.BS)),c=_===h?0:(v-f.A9-f.BS-(f.DE?f.AB:0))/(_-h),f.AW?f.iY+f.A9+(t-h)*c+(f.DE?f.AB/2:0):f.iY+v-f.A9-(t-h)*c-(f.DE?f.AB/2:0)}return h=f.AY,_=f.BD,"log"===f.BT&&(h=ZC.FU(h,f.DU),_=ZC.FU(_,f.DU)),c=_===h?0:(f.F-f.A9-f.BS)/(_-h+(f.DE?1:0)),f.AW?f.iY+f.A9+(t-h)*c+(f.DE?f.AB/2:0):f.iY+f.F-f.A9-(t-h)*c-(f.DE?f.AB/2:0)}paint(){var t,e,a,c,h,_,f,m,v,E,w,D,M,T,R,V,y=this;if(y.AO){super.paint(),null!==ZC._n_(y.A.A.E[y.BI+"-feed-offset-start"])&&(y.A9=y.A.A.E[y.BI+"-feed-offset-start"]),"hbubble"!==y.A.AF&&"hscatter"!==y.A.AF||(-1===y.A9&&-1===y.BS||1===y.V.length)&&(y.A9=y.BS=y.F/(y.V.length+1),y.H2());var U=y.YE(),O=0,Q=1,W=1,ae={};for(e=0,a=y.A.BO.length;e0;Ze--)y.iStepMultiplier>Ze&&y.A1-y.W<=Ze*y.iStepMultiplier&&(me=Ze);ge*=me;var pe,ve,ke,de=0,Oe=y.AB*(De*=me)/(y.G0+1);if(null===ZC._n_(oe)&&(oe=h),_=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-ml-0-c"),f=ZC.Q.EA(_,y.H.AC),m=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-bl-0-c"),v=ZC.Q.EA(m,y.H.AC),"inherit"===y.o["line-color"]&&-1!==U&&(y.B7=U),y.A.AJ["3d"])(T=ZC.DJ.DB(y,y.A,h-ZC.AQ.E3,h-ZC.AQ.E3,y.iY-ZC.AQ.E4,y.iY-ZC.AQ.E4+y.F,-1,ZC.AQ.FY+1,"y")).K=y.K+"-line",y.A.EZ.true3d&&(T.MO=y.A.EZ[ZC._[27]]>0?[1===y.L?-100:100,1,1]:[1===y.L?100:-100,1,1]),y.A.CL.add(T);else{w=[[ie,y.iY+y.F],[ie,y.iY]];var Fe=y.K;y.K+="-line",ZC.CQ.paint(f,y,w),y.K=Fe}if(y.V.length>0&&y.D6.AO){var be=null===ZC._n_(y.D6.o["offset-start"])?0:ZC._i_(y.D6.o["offset-start"]),Se=null===ZC._n_(y.D6.o["offset-end"])?0:ZC._i_(y.D6.o["offset-end"]);if(y.D6.o.items&&y.D6.o.items.length>0&&!y.A.AJ["3d"])for(R=new I7(y),e=y.W;e0)for(y.GW=0,e=y.W;e<=y.A1+(y.DE?1:0);e++)if(y.KD=e,e===y.W||e===y.A1+(y.DE?1:0)||(e-y.W)%De==0){(y.D6.E5.length>0||e===y.W)&&((M=new CZ(y)).Z=M.C7=m,M.copy(y.D6),M.IX=at,M.DC()&&M.parse()),E=e-y.W,w=[],D=y.AW?y.iY+y.A9+E*y.AB:y.iY+y.F-y.A9-E*y.AB;var xe=y.iX+be,we=y.I-be-Se;if(M.AO)if(y.A.AJ["3d"]){var Re=new CZ(y);Re.copy(M),null!==ZC._n_(y.o["scale-z"])&&null!==ZC._n_(t=y.o["scale-z"].guide)&&(Re.append(t),Re.parse()),Re.A0=Re.AE=Re.B7,T=ZC.DJ.DB(Re,y.A,h-ZC.AQ.E3,h-ZC.AQ.E3,D-ZC.AQ.E4-Re.B1/2,D-ZC.AQ.E4+Re.B1/2,0,ZC.AQ.FY,"z"),y.A.CL.add(T),M.A0=M.AE=M.B7,(T=ZC.DJ.DB(M,y.A,xe-ZC.AQ.E3,xe-ZC.AQ.E3+we,D-ZC.AQ.E4-Re.B1/2,D-ZC.AQ.E4+Re.B1/2,ZC.AQ.FY+2,ZC.AQ.FY+2,"x")).K=y.K+"-guide-"+e,y.A.CL.add(T)}else w.push([xe,D],[xe+we,D]),M.K=y.K+"-guide-"+e,ZC.CQ.paint(v,M,w);y.GW++}}if(y.V.length>0&&y.G9.AO&&!y.A.AJ["3d"]){if(y.G9.o.items&&y.G9.o.items.length>0)for(R=new I7(y),e=y.W;e0)for(e=y.W;e0&&y.J3.AO&&(!y.A.AJ["3d"]||!y.A.EZ.true3d)){switch(y.J3.o[ZC._[7]]){case"inner":break;case"outer":de+=se;break;default:de+=se/2}for(y.GW=0,e=y.W;e<=y.A1+(y.DE?1:0);e++)if(y.KD=e,e===y.W||e===y.A1+(y.DE?1:0)||(e-y.W)%De==0){switch(w=[],E=e-y.W,(y.J3.E5.length>0||e===y.W)&&((M=new CZ(y)).copy(y.J3),"inherit"===y.J3.o["line-color"]&&-1!==U&&(M.B7=U),M.IX=at,M.DC()&&M.parse()),D=y.AW?y.iY+y.A9+E*y.AB:y.iY+y.F-y.A9-E*y.AB,M.o[ZC._[7]]){case"ref-auto":w.push([oe-se/2,D],[oe+se/2,D]);break;case"ref-left":w.push([oe-se,D],[oe,D]);break;case"ref-right":w.push([oe+se,D],[oe,D]);break;case"inner":w.push([h,D],[h+(ne?se:-se),D]);break;case"outer":w.push([h,D],[h-(ne?se:-se),D]);break;default:w.push([h+se/2,D],[h-se/2,D])}if(M.AO){for(ve=ZC._i_(M.o["offset-x"]||"0"),ke=ZC._i_(M.o["offset-y"]||"0"),pe=0;pe0&&y.G0>0&&y.IK.AO&&!y.A.AJ["3d"])for(e=y.W;e1&&y.BR.AO)for(y.GW=0,$e(y.W),y.GW=y.A1-y.W,$e(y.A1),y.GW=1,e=y.W+1;e0&&ZC.AM(y.A.A.K+"-map")&&(ZC.AM(y.A.A.K+"-map").innerHTML+=Qe.join(""))}}function at(ot){return(ot=(ot=(ot=(ot=ot.replace(/%scale-last-position/g,y.A1-y.W)).replace(/(%c)|(%scale-position)/g,y.GW)).replace(/(%i)|(%scale-index)/g,y.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(y.V[y.KD])?y.V[y.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(y.BZ[y.KD])?y.BZ[y.KD]:"")}function $e(ot,et,rt){var Bt;if(y.KD=ot,E=ot-y.W,(y.BR.E5.length>0||ot===y.W||!Ie||y.BR.I4)&&(Ie=new DV(y)),Ie.copy(y.BR),Ie.K=y.A.K+"-"+y.BI.replace(/\-/g,"_")+"-item_"+(rt?"c"+rt:ot),Ie.GO=y.K+"-item "+y.A.K+"-scale-item zc-scale-item",Ie.E["p-height"]=y.AB,y.CI=Ve,y.DQ=lt,y.WC(at),Bt=rt||y.FD(ot),y.BR.I4){var It=y.A.GS();ZC._cp_({index:ot,cnt:E,text:Bt},It),y.GN(y.BR,Ie,null,It,y.BR.MV)}if(null===ZC._n_(y.M6)||-1!==ZC.AV(y.M6,Bt)){switch(Ie.AN=Bt,Ie.Z=Ie.C7=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-ml-0-c"),Ie.IW=y.H.usc()?ZC.AM(y.H.K+"-main"):ZC.AM(y.H.K+"-text"),Ie.E.nodeidx=ot,Ie.parse(),"inherit"!==y.BR.o["font-color"]&&"inherit"!==y.BR.o.color||-1===U||(Ie.C2=U),Ie.IX=at,Ie.DC()&&Ie.parse(),Ie.o["auto-fit"]&&(Ie.F=ZC._i_(y.AB)),Ie.o[ZC._[7]]){case"inner":Ie.iX=ne?h+se:h-Ie.I-se;break;case"ref-left":Ie.iX=oe-Ie.I-se;break;case"ref-right":Ie.iX=oe+se;break;case"ref-auto":te&&te.R[ot]?(te.R[ot].setup(),Ie.iX=te.R[ot].iX0;Ze--)O.iStepMultiplier>Ze&&O.A1-O.W<=Ze*O.iStepMultiplier&&(me=Ze);De*=me;var pe=0,ve=O.AB*(ge*=me)/(O.G0+1);if(h=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-ml-0-c"),_=ZC.Q.EA(h,O.H.AC),f=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-bl-0-c"),m=ZC.Q.EA(f,O.H.AC),O.TN||O.Z4||null!==ZC._n_(O.A.o[O.BI])){if("inherit"===O.o["line-color"]&&-1!==Q&&(O.B7=Q),O.A.AJ["3d"])(M=ZC.DJ.DB(O,O.A,O.iX-ZC.AQ.E3,O.iX-ZC.AQ.E3+O.I,c-ZC.AQ.E4,c-ZC.AQ.E4,-1,ZC.AQ.FY+1,"x")).K=O.K+"-line",O.A.EZ.true3d&&(M.MO=O.A.EZ[ZC._[28]]>0?[1===O.L?-100:100,1,1]:[1===O.L?100:-100,1,1]),O.A.CL.add(M);else{v=[[O.iX,ie],[O.iX+O.I,ie]];var ke=O.K;O.K+="-line",ZC.CQ.paint(_,O,v),O.K=ke}var de=[],Oe=0,Fe=0,be=[];if(O.TN||O.Z4){if(O.V.length>0&&O.D6.AO){var Se=null===ZC._n_(O.D6.o["offset-start"])?0:ZC._i_(O.D6.o["offset-start"]),xe=null===ZC._n_(O.D6.o["offset-end"])?0:ZC._i_(O.D6.o["offset-end"]);if(O.D6.o.items&&O.D6.o.items.length>0&&!O.A.AJ["3d"])for(O.GW=0,$=new I7(O),e=O.W;e0)for(O.GW=0,e=O.W;e<=O.A1+(O.DE?1:0);e++)if(O.KD=e,e===O.W||e===O.A1||e%ge==0){(O.D6.E5.length>0||e===O.W||"log"===O.BT)&&((D=new CZ(O)).Z=D.C7=f,"log"===O.BT?ZC.AP._int_(ZC.FU(O.V[e],O.DU))?D.copy(O.D6):D.copy(O.G9):D.copy(O.D6),D.IX=He,D.DC()&&D.parse()),v=[],E=e-O.W;var Re=O.iY+Se,Ie=O.F-Se-xe;if(w=O.AK(O.V[e]),D.AO)if(O.A.AJ["3d"]){var Ne=new CZ(O);Ne.copy(D),null!==ZC._n_(O.o["scale-z"])&&null!==ZC._n_(t=O.o["scale-z"].guide)&&(Ne.append(t),Ne.parse()),Ne.A0=Ne.AE=Ne.B7,M=ZC.DJ.DB(Ne,O.A,w-ZC.AQ.E3-Ne.B1/2,w-ZC.AQ.E3+Ne.B1/2,c-ZC.AQ.E4,c-ZC.AQ.E4,0,ZC.AQ.FY,"z"),O.A.CL.add(M),D.A0=D.AE=D.B7,(M=ZC.DJ.DB(D,O.A,w-ZC.AQ.E3-D.B1/2,w-ZC.AQ.E3+D.B1/2,Re-ZC.AQ.E4,Re-ZC.AQ.E4+Ie,ZC.AQ.FY+2,ZC.AQ.FY+2,"y")).K=O.K+"-guide-"+e,O.A.CL.add(M)}else v.push([w,Re],[w,Re+Ie]),D.K=O.K+"-guide-"+e,ZC.CQ.paint(m,D,v);O.GW++}}if(O.V.length>0&&O.G9.AO&&ve>2&&!O.A.AJ["3d"]){if(O.G9.o.items&&O.G9.o.items.length>0)for($=new I7(O),e=O.W;e0&&"log"!==O.BT)for(e=O.W;e0&&O.J3.AO&&(!O.A.AJ["3d"]||!O.A.EZ.true3d)){switch(O.J3.o[ZC._[7]]){case"inner":break;case"outer":pe+=se;break;default:pe+=se/2}for(O.GW=0,y=ZC.AV(O.V,0),e=O.W;e<=O.A1+(O.DE?1:0);e++){O.KD=e;var Ve=-1;if((e===O.W||e===O.A1||e%ge==0||ZC._b_(O.o["show-zero"])&&e===y)&&(v=[],E=e-O.W,(O.J3.E5.length>0||e===O.W||"log"===O.BT)&&(D=new CZ(O),"log"===O.BT?ZC.AP._int_(ZC.FU(O.V[e],O.DU))?D.copy(O.J3):(D.copy(O.IK),Ve=se,se=he):D.copy(O.J3),"inherit"===O.J3.o["line-color"]&&-1!==Q&&(D.B7=Q),D.IX=He,D.DC()&&D.parse()),w=O.AK(O.V[e]),ZC.DM(w,O.A.P.iX,O.A.P.iX+O.A.P.I))){switch(D.o[ZC._[7]]){case"inner":v.push([w,c-(te?se:-se)],[w,c]);break;case"outer":v.push([w,c],[w,c+(te?se:-se)]);break;default:v.push([w,c+se/2],[w,c-se/2])}if(-1!==Ve&&(se=Ve,Ve=-1),D.AO){for(Te=ZC._i_(D.o["offset-x"]||"0"),ze=ZC._i_(D.o["offset-y"]||"0"),We=0;We0&&O.IK.AO&&O.G0>0&&ve>5&&!O.A.AJ["3d"]&&"log"!==O.BT)for(e=O.W;e0||Me===O.W||!U||O.BR.I4)&&(U=new DV(O)),U.copy(O.BR),U.GO=O.K+"-item "+O.A.K+"-scale-item zc-scale-item",U.K=O.A.K+"-"+O.BI.replace(/\-/g,"_")+"-item_"+Me,O.CI=Ee,O.DQ=nt,O.WC(He),at=O.FD(("piano"===O.A.AF||O.QF)&&O.BZ.length?Me+O.AY:Me),O.BR.I4){var $e=O.A.GS();ZC._cp_({index:Me,cnt:E,text:at},$e),O.GN(O.BR,U,null,$e,O.BR.MV)}if(null===ZC._n_(O.M6)||-1!==ZC.AV(O.M6,at)){if(U.iY="inner"===(U.AN=at,U.Z=U.C7=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-ml-0-c"),U.IW=O.H.usc()?ZC.AM(O.H.K+"-main"):ZC.AM(O.H.K+"-text"),U.parse(),"inherit"!==O.BR.o["font-color"]&&"inherit"!==O.BR.o.color||-1===Q||(U.C2=Q),U.IX=He,U.E5=O.BR.E5,U.DC()&&U.parse(),U.o[ZC._[7]])?te?c-U.KL-se:c+se:te?c+se:c-U.KL-se,U.iX="log"===O.BT?O.AK(O.V[Me])-U.I/2:O.AK(O.V[Me])-U.I/2-(O.AW?1:-1)*(O.DE?O.AB/2:0),lt=O.ME(U,lt,"h"),O.BR.o["auto-align"]&&O.BR.AA%180!=0){var ot=ZC.DM(O.BR.AA,0,180)?te?1:-1:1===te?-1:1;U.iX+=ot*U.I*ZC.EI(O.BR.AA)/2,U.iY+=ot*(U.I*ZC.EO(O.BR.AA)/2-U.F*ZC.EO(O.BR.AA)/2)}if(ZC.DM(U.iX+U.I/2,O.A.P.iX-1,O.A.P.iX+O.A.P.I+1)||O.A.AJ["3d"]){var et=O.UU(U,Me,{items:0,lcoords:de,lstep:De,tdim:Oe,mdim:Fe,dim:"h",html:be});Oe=et.tdim,Fe=et.mdim,O.GW++}}};if(O.V.length>0&&O.BR.AO)if("log"===O.BT){var Pe=[];for(e=O.W;e<=O.A1;e++)ZC.AP._int_(ZC.FU(O.V[e],O.DU))&&(O.GW=e,Ge(e),Pe.push(e));for(e=O.W;e<=O.A1;e++)-1===ZC.AV(Pe,e)&&(O.GW=e,Ge(e))}else for(O.GW=0,Ge(O.W),O.GW=O.A1-O.W,Ge(O.A1),-1!==(y=ZC.AV(O.V,0))&&ZC._b_(O.o["show-zero"])&&(O.GW=y,Ge(y)),O.GW=1,e=O.W+1;e0&&ZC.AM(O.A.A.K+"-map")&&(ZC.AM(O.A.A.K+"-map").innerHTML+=be.join(""))}}}function He(Me){return(Me=(Me=(Me=(Me=Me.replace(/%scale-last-position/g,O.A1-O.W)).replace(/(%c)|(%scale-position)/g,O.GW)).replace(/(%i)|(%scale-index)/g,O.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(O.V[O.KD])?O.V[O.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(O.BZ[O.KD])?O.BZ[O.KD]:"")}}}class YN extends A4J{constructor(t){super(t);var e=this;e.NU="",e.L0=1,e.H6=1,e.GM=0,e.GH=0,e.JM=.6}parse(){var t=this;super.parse(),t.iX+=t.DY,t.iY+=t.E7,t.I-=t.DY+t.E6,t.F-=t.E7+t.DR,t.YZ("layout","NU"),null!==ZC._n_(t.o["size-factor"])&&(t.JM=ZC._f_(ZC._p_(t.o["size-factor"])))}HG(t){var e=this;super.HG(t),0===e.V.length&&(e.V=[""]);var a=ZC.AP.A2Y(e.NU,e.V.length,!1);e.L0=a[0],e.H6=a[1],e.GM=e.I/e.H6,e.GH=e.F/e.L0}WZ(){var t=this;super.WZ(),t.GM=t.I/t.H6,t.GH=t.F/t.L0}clear(){}build(){super.build()}paint(){var t,e,a,c,h,_=this;if(_.AO){if(super.paint(),t=ZC.Q.EA(_.H.usc()?_.H.K+"-main-c":_.A.K+"-scales-ml-0-c",_.H.AC),e=ZC.Q.EA(_.H.usc()?_.H.K+"-main-c":_.A.K+"-scales-bl-0-c",_.H.AC),(a=[]).push([_.iX,_.iY],[_.iX+_.I,_.iY],[_.iX+_.I,_.iY+_.F],[_.iX,_.iY+_.F],[_.iX,_.iY]),ZC.CQ.paint(t,_,a),_.D6.AO){if(_.D6.o.items&&_.D6.o.items.length>0)for(c=0,h=_.V.length;c0){for(a=[],c=0;c<=_.H6;c++)a.push([_.iX+c*_.GM,_.iY],[_.iX+c*_.GM,_.iY+_.F],null);for(c=0;c<=_.L0;c++)a.push([_.iX,_.iY+c*_.GH],[_.iX+_.I,_.iY+c*_.GH],null);ZC.CQ.paint(e,_.D6,a)}}var w,D=[];if(_.BR.AO){for(c=0,h=_.V.length;c0&&ZC.AM(_.A.A.K+"-map")&&(ZC.AM(_.A.A.K+"-map").innerHTML+=D.join(""))}}function M(T){(_.BR.E5.length>0||0===T)&&(w=new DV(_)),w.copy(_.BR);var R=T%_.H6,V=Math.floor(T/_.H6);w.GO=_.K+"-item "+_.A.K+"-scale-item zc-scale-item",w.K=_.A.K+"-"+_.BI.replace(/\-/g,"_")+"-item_"+T;var $=_.FD(T);if((null===ZC._n_(_.M6)||-1!==ZC.AV(_.M6,$))&&(w.AN=$,w.Z=_.H.usc()?_.H.mc():ZC.AM(_.A.K+"-scales-ml-0-c"),w.parse(),w.IX=function(Q){return(Q=(Q=Q.replace(/%i/g,T)).replace(/%v/g,null!==ZC._n_(_.V[T])?_.V[T]:"")).replace(/%l/g,null!==ZC._n_(_.BZ[T])?_.BZ[T]:"")},w.E5=_.BR.E5,w.DC()&&w.parse(),w.AO)){var y="bottom";null!==ZC._n_(_.BR.o[ZC._[7]])&&(y=_.BR.o[ZC._[7]]);var U=_.iX+R*_.GM,O=_.iY+V*_.GH;switch(y){case"top-left":w.iX=U,w.iY=O;break;case"top-right":w.iX=U+_.GM-w.I,w.iY=O;break;case"bottom-left":w.iX=U,w.iY=O+_.GH-w.F;break;case"bottom-right":w.iX=U+_.GM-w.I,w.iY=O+_.GH-w.F;break;case"top":w.iX=U+_.GM/2-w.I/2,w.iY=O;break;case"right":w.iX=U+_.GM-w.I,w.iY=O+_.GH/2-w.F/2;break;case"left":w.iX=U,w.iY=O+_.GH/2-w.F/2;break;default:w.iX=U+_.GM/2-w.I/2,w.iY=O+_.GH-w.F}w.paint(),w.ED(),null===ZC._n_(_.o.tooltip)&&w.KI||D.push(ZC.AR.OI(_.A.K,w))}}}}class A9A extends A4J{constructor(t){super(t),this.DI=0,this.EK=360}parse(){var t,e=this;super.parse(),null!==ZC._n_(t=e.o["ref-angle"])&&(e.DI=ZC._i_(t)%360),null!==ZC._n_(t=e.o.aperture)&&(e.EK=ZC._i_(t)%360,0===e.EK&&(e.EK=360))}}class ABP extends A02{constructor(t){super(t)}parse(){super.parse()}H2(){}HG(t){super.HG(t),this.H2()}clear(){super.clear()}build(){super.build()}paint(){super.paint()}}class A8R extends ABP{constructor(t){super(t);var e=this;e.DI=-90,e.EK=180,e.QN=null,e.J5=null,e.CV="circle"}parse(){var t,e=this;super.parse(),null!==ZC._n_(t=e.o["ref-angle"])&&(e.DI=ZC._i_(t)%360),null!==ZC._n_(t=e.o.aperture)&&(e.EK=ZC._i_(t)),null!==ZC._n_(t=e.o.center)&&(e.QN=new DX(e),e.QN.append(t),e.QN.parse()),null!==ZC._n_(t=e.o.ring)&&(e.J5=new DX(e),e.H.B8.load(e.J5.o,[e.A.AF+"."+e.BI+".ring"]),e.J5.append(t),e.J5.parse())}HG(t){super.HG(t)}clear(){}build(){super.build()}AK(t){var e=this,a=e.A.BK("scale"),c=a.iX+a.I/2,h=a.iY+a.F/2,_=e.A.BK("scale-"+e.L);_||(_=e.A.BK("scale"));var f=ZC.CX(_.GM/2,_.GH/2)*_.JM;return ZC.AP.BN(c,h,f,e.DI-e.EK/2+e.EK/(e.BD-e.AY)*(t-e.AY))}H7(t){return this.AK(this.V[t])}paintMarker(t){var e,a=this;if(t.FB){var c,h=a.A.BK("scale-"+a.L);if(h||(h=a.A.BK("scale")),t.AO){var _=a.A.K+"-scales-"+("top"===t.BA?"f":"b")+"l-0-c";t.Z=t.C7=ZC.AM(a.H.usc()?h.H.K+"-main-c":_),c=ZC.Q.EA(t.Z,a.H.AC);var f=ZC.CX(h.GM/2,h.GH/2)*h.JM,m=ZC.IU(t.o["offset-start"]||"0");m>0&&m<1&&(m*=f);var v=ZC.IU(t.o["offset-end"]||"0");v>0&&v<1&&(v*=f),t.M&&(t.M.Z=a.H.usc()?a.H.mc():ZC.AM(a.A.K+"-scales-ml-0-c"),t.M.K=t.A.A.K+"-"+t.A.BI.replace(/\-/g,"_")+"-marker_"+t.L,t.M.GO=t.A.K+"-marker-label "+t.A.A.K+"-scale-marker-label zc-scale-marker-label");for(var E=0;E0){var V=a.DI-a.EK/2+a.EK*(t.FB[0]-a.AY)/(a.BD-a.AY);w=V;var $=[];$.push(ZC.AP.BN(T,R,m,V)),$.push(ZC.AP.BN(T,R,f-v,V)),2===$.length&&(ZC.CQ.setup(c,t),ZC.CQ.paint(c,t,$))}break;case"area":if(t.FB.length>1){var y=a.DI-a.EK/2+a.EK*(t.FB[0]-a.AY)/(a.BD-a.AY),U=a.DI-a.EK/2+a.EK*(t.FB[1]-a.AY)/(a.BD-a.AY);w=(y+U)/2;var O=new DX(t);O.Z=t.Z,O.append(t.o),O.append({size:f-v,slice:m,type:"pie","angle-start":y,"angle-end":U}),O.K=h.K+"-marker-"+t.L,O.iX=T,O.iY=R,O.parse(),O.paint()}}if(t.M){var Q;null!==ZC._n_(e=t.M.o["offset-r"])?Q=ZC._f_(ZC._p_(e)):Q<1?Q*=f-v-m:Q=0;var W=ZC.AP.BN(T,R,(f-v-m)/2+Q,w);t.M.iX=W[0]-t.M.I/2,t.M.iY=W[1]-t.M.F/2,t.M.paint()}}}}}paint(){var t,e,a,c,h,_,m,v,E=this;if(E.AO&&0!==E.V.length){E.AW&&E.V.reverse(),t=ZC.Q.EA(E.H.usc()?E.H.K+"-main-c":E.A.K+"-scales-bl-0-c",E.H.AC);var w=ZC._i_(E.J3.o[ZC._[21]]||8),D=ZC._i_(E.IK.o[ZC._[21]]||4),M=0,T=ZC.BQ(1,Math.ceil((E.A1-E.W)/(E.MC-1))),R=ZC.BQ(1,Math.ceil((E.A1-E.W)/(E.EH-1))),V=E.A.BK("scale-"+E.L);V||(V=E.A.BK("scale"));for(var $,y,U,O=ZC.CX(V.GM/2,V.GH/2)*V.JM,Q=E.EK/(E.V.length-1),W=0;W0)for(e=0;e0)for(e=0,a=E.V.length;e0&&E.G0>0)for(e=0,a=E.V.length;e0&&(h.paint(),360===E.EK&&(h.K=E.K+"-ring-inner",h.o[ZC._[21]]=O-c,h.parse(),h.paint())),E.J5.o.items&&E.J5.o.items.length>0||E.J5.o.rules))for(e=0;e0&&h.paint();if(E.J3.AO){for("outer"===E.J3.o[ZC._[7]]?M+=w:M+=w/2,_=[],e=0,a=E.V.length;e0){for(_=[],e=0,a=E.V.length;e0&&ZC.AM(E.A.A.K+"-map")&&(ZC.AM(E.A.A.K+"-map").innerHTML+=le.join(""))}}}function fe(ie){return(ie=(ie=(ie=ie.replace(/%i/g,e)).replace(/%k/g,e)).replace(/%v/g,null!==ZC._n_(E.V[e])?E.V[e]:"")).replace(/%l/g,null!==ZC._n_(E.BZ[e])?E.BZ[e]:"")}}paint_(){var t=this,e=t.A.BK("scale-"+t.L);e||(e=t.A.BK("scale"));for(var a=0;a0){var Q=0;for(a=0,c=v.V.length-(360===v.EK||v.DE?0:1);a0)for(a=0,c=v.V.length+(v.DE?1:0);a0&&ZC.AM(v.A.A.K+"-map")&&(ZC.AM(v.A.A.K+"-map").innerHTML+=ce.join(""))}}function Ce(he){return(he=(he=he.replace(/(%i)|(%scale-index)/g,a)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(v.V[a])?v.V[a]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(v.BZ[a])?v.BZ[a]:"")}function se(he){(v.BR.E5.length>0||0===he)&&(D=new DV(v)),D.copy(v.BR),D.GO=v.K+"-item "+v.A.K+"-scale-item zc-scale-item",D.K=v.A.K+"-"+v.BI.replace(/\-/g,"_")+"-item_"+he;var fe=v.FD(he);if(null===ZC._n_(v.M6)||-1!==ZC.AV(v.M6,fe)){D.AN=fe,D.Z=D.C7=v.H.usc()?v.H.mc():ZC.AM(v.A.K+"-scales-ml-0-c"),D.parse(),D.IX=function(me){return(me=(me=me.replace(/(%i)|(%scale-index)/g,he)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(v.V[he])?v.V[he]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(v.BZ[he])?v.BZ[he]:"")},D.E5=v.BR.E5,D.DC()&&D.parse();var ie=ZC.IU(D.DT,!0);if(ie>-1&&ie<1&&(ie*=V),m=v.DI+he*O+(v.DE?O/2:0),v.BR.o["auto-align"]){var De=1.25;1-ZC._a_(ZC.EI(m))>.7&&(De=2.5*(1-ZC._a_(ZC.EI(m))));var ge=(1-ZC._a_(ZC.EI(m)))*D.DG*De;le=ZC.AP.BN(y,U,V+ie+T+ge,m),ZC.EI(m)>0?(D.iX=le[0],D.iY=le[1]-D.F/2):(D.iX=le[0]-D.I,D.iY=le[1]-D.F/2)}else v.BR.o["auto-rotate"]?(le=ZC.AP.BN(y,U,V+ie+T+D.F/2,m),D.iX=le[0]-D.I/2,D.iY=le[1]-D.F/2,D.AA=m+90):(le=ZC.AP.BN(y,U,V+ie+T+ZC._a_(10*ZC.EO(m))+ZC._a_(D.I/2*ZC.EI(m)),m),D.iX=le[0]-D.I/2,D.iY=le[1]-D.F/2);D.AO&&(D.paint(),D.ED(),null===ZC._n_(v.o.tooltip)&&D.KI||(null!==ZC._n_(v.o.tooltip)&&(v.o.tooltip.text=v.o.tooltip.text||"%scale-value"),ce.push(ZC.AR.OI(v.A.K,D))))}}}}class A8U extends A02{constructor(t){super(t)}HZ(t){super.parse()}H2(){var t=this,e=t.A.BK("scale"),a=ZC.CX(e.I/2,e.F/2)*e.JM;t.AB=(a-t.A9-t.BS)/(t.A1-t.W)}HG(t){super.HG(t),this.H2()}TA(){var t=this,e=t.A.BK("scale"),a=ZC.CX(e.I/2,e.F/2)*e.JM;t.EH=ZC.BQ(2,ZC._i_((a-t.A9-t.BS)/20))}SU(t){var e=this,a=e.A.BK("scale");return(ZC.CX(a.I/2,a.F/2)*a.JM-e.A9-e.BS)/(e.BD-e.AY)*(t-e.AY)}AK(t){var e=this,a=e.SU(t),c=e.A.BK("scale-k"),h=e.A.BK("scale");return ZC.AP.BN(h.iX+h.I/2+h.BL,h.iY+h.F/2+h.BH,a,c.DI)}clear(){}build(){super.build()}paint(){var t,e,a,c,h,_,f,m=this;if(m.AO&&0!==m.V.length){super.paint(),t=ZC.Q.EA(m.H.usc()?m.H.K+"-main-c":m.A.K+"-scales-ml-0-c",m.H.AC),e=ZC.Q.EA(m.H.usc()?m.H.K+"-main-c":m.A.K+"-scales-bl-0-c",m.H.AC);var v,E,w=m.A.BK("scale-k"),D=ZC._i_(m.J3.o[ZC._[21]]||8),M=Math.ceil((m.A1-m.W)/(m.EH-1)),T=Math.ceil((m.A1-m.W)/(m.MC-1)),R=m.A.BK("scale"),V=ZC.CX(R.I/2,R.F/2)*R.JM,$=R.iX+R.I/2+R.BL,y=R.iY+R.F/2+R.BH,U=w.EK/(w.V.length-(360===w.EK||w.DE?0:1));if(m.D6.AO){if(m.D6.o.items&&m.D6.o.items.length>0)for(a=0,c=m.V.length;a=0;h--)f.push(ZC.AP.BN($,y,m.A9+(a+1)*m.AB,w.DI+h*U));W.D=f,W.parse(),W.B1=0,W.AU=0,W.ES=0,W.G4=0;var ae=m.A.P;W.D1=[ae.iX,ae.iY,ae.iX+ae.I,ae.iY+ae.F],W.paint()}}if(m.D6.B1>0)for(a=0,c=m.V.length;a0&&((f=[]).push(ZC.AP.BN($,y,m.A9,w.DI),ZC.AP.BN($,y,V-m.BS,w.DI)),ZC.CQ.paint(t,m.PD,f)),m.J3.AO){for(ZC,f=[],a=0,c=m.V.length;a0&&m.BR.AO)for(m.GW=0,fe(m.W),m.GW=m.A1-m.W,fe(m.A1),m.GW=1,a=m.W+1;a0&&ZC.AM(m.A.A.K+"-map")&&(ZC.AM(m.A.A.K+"-map").innerHTML+=E.join(""))}function se(ie){return(ie=(ie=ie.replace(/(%i)|(%scale-index)/g,a)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(m.V[a])?m.V[a]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(m.BZ[a])?m.BZ[a]:"")}function he(ie){return(ie=(ie=(ie=ie.replace(/(%c)|(%scale-position)/g,m.GW)).replace(/(%i)|(%scale-index)/g,m.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(m.V[m.KD])?m.V[m.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(m.BZ[m.KD])?m.BZ[m.KD]:"")}function fe(ie){m.KD=ie,(v=new DV(m)).copy(m.BR),v.K=m.A.K+"-"+m.BI.replace(/\-/g,"_")+"-item_"+ie,v.GO=m.K+"-item "+m.A.K+"-scale-item zc-scale-item";var De=m.FD(ie);if(v.AN=De,null===ZC._n_(m.M6)||-1!==ZC.AV(m.M6,De)){v.Z=v.C7=m.H.usc()?m.H.mc():ZC.AM(m.A.K+"-scales-fl-0-c"),v.parse(),v.IX=he,v.DC()&&v.parse();var ge=ZC.AP.BN($,y,m.A9+ie*m.AB,w.DI);switch(v.F=v.KL,v.I=v.NY,w.DI%180==0?(v.iX=ge[0]-v.I/2,v.iY=ge[1]):(v.iX=ge[0],v.iY=ge[1]-v.F/2),m.J3.o[ZC._[7]]){case"inner":break;case"outer":w.DI%180==0?v.iY+=D:v.iX+=D;break;default:w.DI%180==0?v.iY+=D/2:v.iX+=D/2}v.AO&&(v.paint(),v.ED(),null===ZC._n_(m.o.tooltip)&&v.KI||(null!==ZC._n_(m.o.tooltip)&&(m.o.tooltip.text=m.o.tooltip.text||"%scale-value"),E.push(ZC.AR.OI(m.A.K,v))))}}}}class A9F extends DX{constructor(t){super(t);var e=this;e.C5=.95,e.L=0,e.AF=null,e.M=null,e.FB=null,e.A6P=!1,e.BA="bottom",e.A9=0,e.BS=0,e.MU="normal",e.OF="normal",e.KK=[5,5],e.A0R=[0,0],e.ZA=""}parse(){super.parse();var t,e=this;e.assign_a([["type","AF"],["value-range","A6P","b"],["offset-start","A9","i"],["offset-end","BS","i"],[ZC._[7],"BA"],["pair-scale","ZA"],["label-placement","MU"],["label-alignment","OF"],["range","FB"]]),null===ZC._n_(e.o.alpha)&&(e.o.alpha="area"===e.AF?.25:.95),null!==ZC._n_(t=e.o["label-tolerance"])&&("object"==typeof t&&t.length?(e.KK[0]=ZC._i_(t[0]||"5"),e.KK[1]=ZC._i_(t[1]||"5")):e.KK[0]=e.KK[1]=ZC._i_(t||"5")),e.assign_a([["alpha","C5","f",0,1]]),null===ZC._n_(t=e.o.label)&&null===ZC._n_(e.o.text)||(e.M=new DV(e),e.A.A.A.B8.load(e.M.o,["("+e.A.AF+").SCALE.marker.label"]),null!==ZC._n_(e.o.text)&&e.M.append({text:e.o.text}),e.M.append(t),e.M.parse(),e.A0R=[e.M.BL,e.M.BH])}paint(){var t,e,a,c,h,_,f,m=this;if(m.FB)if(-1===m.A.BI.indexOf("scale-r")){if(m.AO){var v,E,w,D,M=m.A,T=m.A.A.P.AU,R=M.A.K+"-scales-"+("top"===m.BA?"f":"b")+"l-0-c";m.Z=m.C7=ZC.AM(M.H.usc()?M.H.K+"-main-c":R),t=ZC.Q.EA(m.Z,M.H.AC),h=[];var V,$=0,y=0;m.BL>-1&&m.BL<1&&(m.BL=Math.ceil(m.BL*M.AB)),m.BH>-1&&m.BH<1&&(m.BH=Math.ceil(m.BH*M.AB)),m.M&&(m.M.Z=M.H.usc()?M.H.mc():ZC.AM(M.A.K+"-scales-ml-0-c"),m.M.K=m.A.A.K+"-"+m.A.BI.replace(/\-/g,"_")+"-marker_"+m.L,m.M.GO=m.A.K+"-marker-label "+m.A.A.K+"-scale-marker-label zc-scale-marker-label");var U=m.A.A,O=function(se,he){var fe;return-1!==(he+"").indexOf("%")?(fe=ZC._f_(he.replace("%","")),fe="k"===se.AF?ZC._i_(fe*(se.DN-se.D5)/100):fe*(se.GY-se.FS)/100):fe=he,m.A6P||"v"===se.AF?se.AK(fe):se.H7(fe)};if("poly"===m.AF){var Q,W,ae,ee;for(U=m.A.A,"k"===M.AF?(Q=M,W=""===m.ZA?U.BV("v")[0]:U.BK(m.ZA)||U.BV("v")[0]):"v"===M.AF&&(W=M,Q=""===m.ZA?U.BV("k")[0]:U.BK(m.ZA)||U.BV("k")[0]),_=0,f=m.FB.length;_=3){if(h[0].join("/")!==h[h.length-1].join("/")&&h.push([h[0][0],h[0][1]]),M.A.AJ["3d"])for(M.A.NS(),e=0,a=h.length;e=4)){if(M.A.AJ["3d"])for(M.A.NS(),e=0,a=h.length;eM.iY+M.F/2?"normal":"opposite"),m.M.BL=m.M.BH=0,(-1!==M.BI.indexOf(ZC._[50])&&!M.CJ||-1!==M.BI.indexOf(ZC._[51])&&M.CJ)&&null===ZC._n_(m.M.o.angle)&&(m.M.AA=270),-1!==M.BI.indexOf(ZC._[50])&&!M.CJ||-1!==M.BI.indexOf(ZC._[51])&&M.CJ?(m.M.AA%180==90&&(m.M.BL-=(M.AW?-1:1)*(m.M.I/2-m.M.F/2),m.M.BH-=m.M.I/2-m.M.F/2,"opposite"===m.MU&&(m.M.BH=-m.M.I/2+m.M.F/2),"opposite"===ce&&(m.M.BL-=m.M.F)),m.M.AA%180==0&&("opposite"===m.MU&&(m.M.BH=-m.M.I+m.M.F),"opposite"===ce&&(m.M.BL-=m.M.I))):(m.M.AA%180==90&&(m.M.BL-=m.M.I/2-m.M.F/2,m.M.BH-=(M.AW?-1:1)*(m.M.I/2-m.M.F/2),"opposite"===m.MU&&(m.M.BL=m.M.I/2-m.M.F/2),"opposite"===ce&&(m.M.BH+=m.M.I)),m.M.AA%180==0&&"opposite"===ce&&(m.M.BH+=m.M.F)),m.M.BL+=m.A0R[0]+m.BL,m.M.BH+=m.A0R[1]+m.BH),M.A.AJ["3d"]&&(c=new CE(M.A,m.M.iX-ZC.AQ.E3,m.M.iY-ZC.AQ.E4,ZC.AQ.FY),m.M.iX=c.EC[0],m.M.iY=c.EC[1]),ZC.DM(m.M.iX+m.M.BL+(m.M.AA%180==0?m.M.I/2:m.M.F/2),m.A.A.P.iX-m.KK[0],m.A.A.P.iX+m.A.A.P.I+m.KK[0])&&ZC.DM(m.M.iY+m.M.BH+(m.M.AA%180==0?m.M.F/2:m.M.I/2),m.A.A.P.iY-m.KK[1],m.A.A.P.iY+m.A.A.P.F+m.KK[1])&&(m.M.paint(),m.M.ED(),!m.M.KI&&"normal"===zingchart.OBJECTMODE&&(M.E["marker_text_"+m.L]=m.M.AN,ZC.AM(U.A.K+"-map"))))){var Ce=ZC.AR.OI(U.K,m.M);ZC.AM(U.A.K+"-map").innerHTML=ZC.AM(U.A.K+"-map").innerHTML+Ce}}}else m.A.paintMarker(m)}}class A2W extends ZCClass{constructor(t){super();var e=this;e.M7=null,e.A5B=0,e.PA=[],e.BI=t,e.A44=!0}add(t){var e=this;e.PA.push(t),t.KA=e,t.M7=e.M7,t.C0.TX=!0,t.XL=e.PA.length-1,e.A44=!1}}class EB extends ZCClass{constructor(t,e,a,c,h,_){super();var f=this;for(var m in f.M7=null,f.C0=t,f.AX=null,f.A5C=0,f.I2=null,f.N=e||{},f.A5D=a||500,f.XS=c||-1,f.A0T=null,f.TE=null,f.OO=null,null!==ZC._n_(_)&&(f.TE=_),f.A5E=EB.linear,null!==ZC._n_(h)&&""!==h&&(f.A5E=h),f.ADJ={},f.C6={},f.ACQ=[],f.RQ=ZC._i_(f.A5D/PW.UK),f.RQ>100&&(f.RQ=100),(ZC.vml||ZC.mobile)&&(f.RQ=ZC._i_(f.RQ/4)),f.RQ<5&&(f.RQ=5),f.N)f.C6[m]=null!==ZC._n_(EB.GP[m])?f.C0[EB.GP[m]]:f.C0[m];f.Y=0,f.KA=null,f.XL=-1}status(){return this.Y+1>this.RQ?0:1}step(){var t,e,a,c,h,_,f=this,m=1,v=f.M7.C.H.AC;if(f.Y++,f.Y>f.RQ&&(f.Y===f.RQ+1&&-1!==f.XL&&(f.KA.A5B++,f.KA.A5B===f.KA.PA.length&&(f.KA.A44=!0)),m=0),m){var E={};if(f.Y===f.RQ)E=f.N,f.A5C=1;else for(var w in f.A5C=f.A5E(f.Y,0,1,f.RQ),f.N)switch(w){case"points":var D=[];for(h=0,_=f.N[w].length;h<_;h++)if(null!==ZC._n_(f.C6[w][h])){D[h]=[];for(var M=0,T=f.N[w][h].length;M0?window.setTimeout(function(){a.start()},e+1):a.start()))}add(t){var e=this;t.M7=e,t.XS>0?(e.PA.push(t),window.setTimeout(function(){t.C0.TX=!0,e.RR||e.start()},t.XS+1)):(t.C0.TX=!0,e.PA.push(t),e.RR||e.start())}start(){var t=this;t.RR=!0,ZC.AR.C1("animation_start",t.C.A,{id:t.C.A.K,graphid:t.C.K});var e=!0;!function a(){e||t.step(),e=!1,t.RR&&(t.C4=window.requestAnimFrame(a))}()}step(){var t,e=this,a=0;if(e.RR){for(var c=0,h=e.PA.length;cZC.AR.NG(v)?1:-1});var _='',f=e.innerHTML.indexOf(_);-1!==f?e.innerHTML=e.innerHTML.substring(0,f+_.length)+a.C.a11y()+a.C.AZ.HJ.join("")+e.innerHTML.substring(f+_.length):e.innerHTML+=a.C.a11y()+a.C.AZ.HJ.join("")}},33),a.C.A2G(),a.RR=!1;for(var c=0,h=a.PA.length;c0&&w<1&&(w*=$),m=[].concat(R);var y=0,U="";for(v=1,e=R.length-1;e>=0;e--)R[e][ZC._[5]]&&null!==ZC._n_(R[e][ZC._[5]][0])&&R[e][ZC._[5]][0]",R[e][ZC._[8]]=T,V.push(R[e]),R.splice(e,1),v++);y>0&&(v>2?(E={values:[y],detach:!1,"data-group":[1],"tooltip-text":U=U.substring(0,U.length-4)},ZC._cp_(D,E),R.push(E),zingchart.bind(A.id,"plot_click",function(ee){if(ee.xdata.group){var ne=zingchart.getLoader(ee.id);if(!ne)return;var oe=zingchart.getGraph(ne,ee.graphid);for(var te in oe.getAttributes())"pie-sel-"===te.substring(0,8)&&oe.setAttribute(te,null);zingchart.exec(A.id,"setseriesdata",{data:V}),window.setTimeout(function(){var le=zingchart.exec(A.id,"getobjectinfo",{object:"node",plotindex:0,nodeindex:0}),ce={id:"navpie_btnback",x:le.x,y:le.y,text:"< Back",anchor:"c",cursor:"hand"};ZC._cp_(M,ce),zingchart.exec(A.id,"addobject",{type:"label",data:ce})},1)}}),zingchart.bind(A.id,"label_click",function(ee){if("navpie_btnback"===ee.label.id){var ne=zingchart.getLoader(ee.id);if(!ne)return;var oe=zingchart.getGraph(ne,ee.graphid);for(var te in oe.getAttributes())"pie-sel-"===te.substring(0,8)&&oe.setAttribute(te,null);zingchart.exec(A.id,"removeobject",{type:"label",id:"navpie_btnback"}),zingchart.exec(A.id,"setseriesdata",{data:R})}})):_[ZC._[11]]=[].concat(m))}else{var O=0,Q=[];for(e=0;e0&&w<1&&(w*=O),m=[].concat(R);var W=[],ae=[];for(v=1,e=R.length-1;e>=0;e--)if(Q[e]";V.push(R[e]),R.splice(e,1),v++}if(W.length)if(v>2){for(a=0;a{A(A.s=988)}]); \ No newline at end of file diff --git a/main.129f319683fb4cc8.js b/main.129f319683fb4cc8.js deleted file mode 100644 index 57336e4..0000000 --- a/main.129f319683fb4cc8.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkzingchart_angular=self.webpackChunkzingchart_angular||[]).push([[179],{988:(A,t,e)=>{"use strict";function a(n){return"function"==typeof n}function c(n){const d=n(u=>{Error.call(u),u.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}const h=c(n=>function(d){n(this),this.message=d?`${d.length} errors occurred during unsubscription:\n${d.map((u,Z)=>`${Z+1}) ${u.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=d});function _(n,l){if(n){const d=n.indexOf(l);0<=d&&n.splice(d,1)}}class f{constructor(l){this.initialTeardown=l,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let l;if(!this.closed){this.closed=!0;const{_parentage:d}=this;if(d)if(this._parentage=null,Array.isArray(d))for(const b of d)b.remove(this);else d.remove(this);const{initialTeardown:u}=this;if(a(u))try{u()}catch(b){l=b instanceof h?b.errors:[b]}const{_finalizers:Z}=this;if(Z){this._finalizers=null;for(const b of Z)try{E(b)}catch(x){l=l??[],x instanceof h?l=[...l,...x.errors]:l.push(x)}}if(l)throw new h(l)}}add(l){var d;if(l&&l!==this)if(this.closed)E(l);else{if(l instanceof f){if(l.closed||l._hasParent(this))return;l._addParent(this)}(this._finalizers=null!==(d=this._finalizers)&&void 0!==d?d:[]).push(l)}}_hasParent(l){const{_parentage:d}=this;return d===l||Array.isArray(d)&&d.includes(l)}_addParent(l){const{_parentage:d}=this;this._parentage=Array.isArray(d)?(d.push(l),d):d?[d,l]:l}_removeParent(l){const{_parentage:d}=this;d===l?this._parentage=null:Array.isArray(d)&&_(d,l)}remove(l){const{_finalizers:d}=this;d&&_(d,l),l instanceof f&&l._removeParent(this)}}f.EMPTY=(()=>{const n=new f;return n.closed=!0,n})();const m=f.EMPTY;function v(n){return n instanceof f||n&&"closed"in n&&a(n.remove)&&a(n.add)&&a(n.unsubscribe)}function E(n){a(n)?n():n.unsubscribe()}const w={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},D={setTimeout(n,l,...d){const{delegate:u}=D;return u?.setTimeout?u.setTimeout(n,l,...d):setTimeout(n,l,...d)},clearTimeout(n){const{delegate:l}=D;return(l?.clearTimeout||clearTimeout)(n)},delegate:void 0};function M(n){D.setTimeout(()=>{const{onUnhandledError:l}=w;if(!l)throw n;l(n)})}function T(){}const R=y("C",void 0,void 0);function y(n,l,d){return{kind:n,value:l,error:d}}let U=null;function O(n){if(w.useDeprecatedSynchronousErrorHandling){const l=!U;if(l&&(U={errorThrown:!1,error:null}),n(),l){const{errorThrown:d,error:u}=U;if(U=null,d)throw u}}else n()}class W extends f{constructor(l){super(),this.isStopped=!1,l?(this.destination=l,v(l)&&l.add(this)):this.destination=Ce}static create(l,d,u){return new oe(l,d,u)}next(l){this.isStopped?ce(function $(n){return y("N",n,void 0)}(l),this):this._next(l)}error(l){this.isStopped?ce(function V(n){return y("E",void 0,n)}(l),this):(this.isStopped=!0,this._error(l))}complete(){this.isStopped?ce(R,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(l){this.destination.next(l)}_error(l){try{this.destination.error(l)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ae=Function.prototype.bind;function ee(n,l){return ae.call(n,l)}class ne{constructor(l){this.partialObserver=l}next(l){const{partialObserver:d}=this;if(d.next)try{d.next(l)}catch(u){te(u)}}error(l){const{partialObserver:d}=this;if(d.error)try{d.error(l)}catch(u){te(u)}else te(l)}complete(){const{partialObserver:l}=this;if(l.complete)try{l.complete()}catch(d){te(d)}}}class oe extends W{constructor(l,d,u){let Z;if(super(),a(l)||!l)Z={next:l??void 0,error:d??void 0,complete:u??void 0};else{let b;this&&w.useDeprecatedNextContext?(b=Object.create(l),b.unsubscribe=()=>this.unsubscribe(),Z={next:l.next&&ee(l.next,b),error:l.error&&ee(l.error,b),complete:l.complete&&ee(l.complete,b)}):Z=l}this.destination=new ne(Z)}}function te(n){w.useDeprecatedSynchronousErrorHandling?function Q(n){w.useDeprecatedSynchronousErrorHandling&&U&&(U.errorThrown=!0,U.error=n)}(n):M(n)}function ce(n,l){const{onStoppedNotification:d}=w;d&&D.setTimeout(()=>d(n,l))}const Ce={closed:!0,next:T,error:function le(n){throw n},complete:T},se="function"==typeof Symbol&&Symbol.observable||"@@observable";function he(n){return n}function ie(n){return 0===n.length?he:1===n.length?n[0]:function(d){return n.reduce((u,Z)=>Z(u),d)}}let De=(()=>{class n{constructor(d){d&&(this._subscribe=d)}lift(d){const u=new n;return u.source=this,u.operator=d,u}subscribe(d,u,Z){const b=function Ze(n){return n&&n instanceof W||function me(n){return n&&a(n.next)&&a(n.error)&&a(n.complete)}(n)&&v(n)}(d)?d:new oe(d,u,Z);return O(()=>{const{operator:x,source:P}=this;b.add(x?x.call(b,P):P?this._subscribe(b):this._trySubscribe(b))}),b}_trySubscribe(d){try{return this._subscribe(d)}catch(u){d.error(u)}}forEach(d,u){return new(u=ge(u))((Z,b)=>{const x=new oe({next:P=>{try{d(P)}catch(z){b(z),x.unsubscribe()}},error:b,complete:Z});this.subscribe(x)})}_subscribe(d){var u;return null===(u=this.source)||void 0===u?void 0:u.subscribe(d)}[se](){return this}pipe(...d){return ie(d)(this)}toPromise(d){return new(d=ge(d))((u,Z)=>{let b;this.subscribe(x=>b=x,x=>Z(x),()=>u(b))})}}return n.create=l=>new n(l),n})();function ge(n){var l;return null!==(l=n??w.Promise)&&void 0!==l?l:Promise}const pe=c(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ve=(()=>{class n extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(d){const u=new ke(this,this);return u.operator=d,u}_throwIfClosed(){if(this.closed)throw new pe}next(d){O(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const u of this.currentObservers)u.next(d)}})}error(d){O(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=d;const{observers:u}=this;for(;u.length;)u.shift().error(d)}})}complete(){O(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:d}=this;for(;d.length;)d.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var d;return(null===(d=this.observers)||void 0===d?void 0:d.length)>0}_trySubscribe(d){return this._throwIfClosed(),super._trySubscribe(d)}_subscribe(d){return this._throwIfClosed(),this._checkFinalizedStatuses(d),this._innerSubscribe(d)}_innerSubscribe(d){const{hasError:u,isStopped:Z,observers:b}=this;return u||Z?m:(this.currentObservers=null,b.push(d),new f(()=>{this.currentObservers=null,_(b,d)}))}_checkFinalizedStatuses(d){const{hasError:u,thrownError:Z,isStopped:b}=this;u?d.error(Z):b&&d.complete()}asObservable(){const d=new De;return d.source=this,d}}return n.create=(l,d)=>new ke(l,d),n})();class ke extends ve{constructor(l,d){super(),this.destination=l,this.source=d}next(l){var d,u;null===(u=null===(d=this.destination)||void 0===d?void 0:d.next)||void 0===u||u.call(d,l)}error(l){var d,u;null===(u=null===(d=this.destination)||void 0===d?void 0:d.error)||void 0===u||u.call(d,l)}complete(){var l,d;null===(d=null===(l=this.destination)||void 0===l?void 0:l.complete)||void 0===d||d.call(l)}_subscribe(l){var d,u;return null!==(u=null===(d=this.source)||void 0===d?void 0:d.subscribe(l))&&void 0!==u?u:m}}class de extends ve{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const d=super._subscribe(l);return!d.closed&&l.next(this._value),d}getValue(){const{hasError:l,thrownError:d,_value:u}=this;if(l)throw d;return this._throwIfClosed(),u}next(l){super.next(this._value=l)}}function Oe(n){return a(n?.lift)}function Fe(n){return l=>{if(Oe(l))return l.lift(function(d){try{return n(d,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}function be(n,l,d,u,Z){return new Se(n,l,d,u,Z)}class Se extends W{constructor(l,d,u,Z,b,x){super(l),this.onFinalize=b,this.shouldUnsubscribe=x,this._next=d?function(P){try{d(P)}catch(z){l.error(z)}}:super._next,this._error=Z?function(P){try{Z(P)}catch(z){l.error(z)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(P){l.error(P)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:d}=this;super.unsubscribe(),!d&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}function xe(n,l){return Fe((d,u)=>{let Z=0;d.subscribe(be(u,b=>{u.next(n.call(l,b,Z++))}))})}function et(n){return this instanceof et?(this.v=n,this):new et(n)}function It(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d,l=n[Symbol.asyncIterator];return l?l.call(n):(n=function He(n){var l="function"==typeof Symbol&&Symbol.iterator,d=l&&n[l],u=0;if(d)return d.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&u>=n.length&&(n=void 0),{value:n&&n[u++],done:!n}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),d={},u("next"),u("throw"),u("return"),d[Symbol.asyncIterator]=function(){return this},d);function u(b){d[b]=n[b]&&function(x){return new Promise(function(P,z){!function Z(b,x,P,z){Promise.resolve(z).then(function(q){b({value:q,done:P})},x)}(P,z,(x=n[b](x)).done,x.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Pt=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Ot(n){return a(n?.then)}function On(n){return a(n[se])}function An(n){return Symbol.asyncIterator&&a(n?.[Symbol.asyncIterator])}function Zn(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Jt=function $t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function wt(n){return a(n?.[Jt])}function Ln(n){return function rt(n,l,d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z,u=d.apply(n,l||[]),b=[];return Z={},x("next"),x("throw"),x("return"),Z[Symbol.asyncIterator]=function(){return this},Z;function x(_e){u[_e]&&(Z[_e]=function(ye){return new Promise(function(Be,Le){b.push([_e,ye,Be,Le])>1||P(_e,ye)})})}function P(_e,ye){try{!function z(_e){_e.value instanceof et?Promise.resolve(_e.value.v).then(q,re):ue(b[0][2],_e)}(u[_e](ye))}catch(Be){ue(b[0][3],Be)}}function q(_e){P("next",_e)}function re(_e){P("throw",_e)}function ue(_e,ye){_e(ye),b.shift(),b.length&&P(b[0][0],b[0][1])}}(this,arguments,function*(){const d=n.getReader();try{for(;;){const{value:u,done:Z}=yield et(d.read());if(Z)return yield et(void 0);yield yield et(u)}}finally{d.releaseLock()}})}function Un(n){return a(n?.getReader)}function In(n){if(n instanceof De)return n;if(null!=n){if(On(n))return function Qr(n){return new De(l=>{const d=n[se]();if(a(d.subscribe))return d.subscribe(l);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(Pt(n))return function yo(n){return new De(l=>{for(let d=0;d{n.then(d=>{l.closed||(l.next(d),l.complete())},d=>l.error(d)).then(null,M)})}(n);if(An(n))return Ti(n);if(wt(n))return function Nr(n){return new De(l=>{for(const d of n)if(l.next(d),l.closed)return;l.complete()})}(n);if(Un(n))return function Ci(n){return Ti(Ln(n))}(n)}throw Zn(n)}function Ti(n){return new De(l=>{(function eo(n,l){var d,u,Z,b;return function Ge(n,l,d,u){return new(d||(d=Promise))(function(b,x){function P(re){try{q(u.next(re))}catch(ue){x(ue)}}function z(re){try{q(u.throw(re))}catch(ue){x(ue)}}function q(re){re.done?b(re.value):function Z(b){return b instanceof d?b:new d(function(x){x(b)})}(re.value).then(P,z)}q((u=u.apply(n,l||[])).next())})}(this,void 0,void 0,function*(){try{for(d=It(n);!(u=yield d.next()).done;)if(l.next(u.value),l.closed)return}catch(x){Z={error:x}}finally{try{u&&!u.done&&(b=d.return)&&(yield b.call(d))}finally{if(Z)throw Z.error}}l.complete()})})(n,l).catch(d=>l.error(d))})}function yr(n,l,d,u=0,Z=!1){const b=l.schedule(function(){d(),Z?n.add(this.schedule(null,u)):this.unsubscribe()},u);if(n.add(b),!Z)return b}function wn(n,l,d=1/0){return a(l)?wn((u,Z)=>xe((b,x)=>l(u,b,Z,x))(In(n(u,Z))),d):("number"==typeof l&&(d=l),Fe((u,Z)=>function Ai(n,l,d,u,Z,b,x,P){const z=[];let q=0,re=0,ue=!1;const _e=()=>{ue&&!z.length&&!q&&l.complete()},ye=Le=>q{b&&l.next(Le),q++;let Ue=!1;In(d(Le,re++)).subscribe(be(l,qe=>{Z?.(qe),b?ye(qe):l.next(qe)},()=>{Ue=!0},void 0,()=>{if(Ue)try{for(q--;z.length&&qBe(qe)):Be(qe)}_e()}catch(qe){l.error(qe)}}))};return n.subscribe(be(l,ye,()=>{ue=!0,_e()})),()=>{P?.()}}(u,Z,n,d)))}function Lr(n=1/0){return wn(he,n)}const Dr=new De(n=>n.complete());function Jr(n){return n[n.length-1]}function Wr(n){return function to(n){return n&&a(n.schedule)}(Jr(n))?n.pop():void 0}function Ra(n,l=0){return Fe((d,u)=>{d.subscribe(be(u,Z=>yr(u,n,()=>u.next(Z),l),()=>yr(u,n,()=>u.complete(),l),Z=>yr(u,n,()=>u.error(Z),l)))})}function Hn(n,l=0){return Fe((d,u)=>{u.add(n.schedule(()=>d.subscribe(u),l))})}function ka(n,l){if(!n)throw new Error("Iterable cannot be null");return new De(d=>{yr(d,l,()=>{const u=n[Symbol.asyncIterator]();yr(d,l,()=>{u.next().then(Z=>{Z.done?d.complete():d.next(Z.value)})},0,!0)})})}function sn(n,l){return l?function Bo(n,l){if(null!=n){if(On(n))return function Pa(n,l){return In(n).pipe(Hn(l),Ra(l))}(n,l);if(Pt(n))return function Nu(n,l){return new De(d=>{let u=0;return l.schedule(function(){u===n.length?d.complete():(d.next(n[u++]),d.closed||this.schedule())})})}(n,l);if(Ot(n))return function Ka(n,l){return In(n).pipe(Hn(l),Ra(l))}(n,l);if(An(n))return ka(n,l);if(wt(n))return function wo(n,l){return new De(d=>{let u;return yr(d,l,()=>{u=n[Jt](),yr(d,l,()=>{let Z,b;try{({value:Z,done:b}=u.next())}catch(x){return void d.error(x)}b?d.complete():d.next(Z)},0,!0)}),()=>a(u?.return)&&u.return()})}(n,l);if(Un(n))return function Wt(n,l){return ka(Ln(n),l)}(n,l)}throw Zn(n)}(n,l):In(n)}function Ct(...n){return sn(n,Wr(n))}function ul(n={}){const{connector:l=(()=>new ve),resetOnError:d=!0,resetOnComplete:u=!0,resetOnRefCountZero:Z=!0}=n;return b=>{let x,P,z,q=0,re=!1,ue=!1;const _e=()=>{P?.unsubscribe(),P=void 0},ye=()=>{_e(),x=z=void 0,re=ue=!1},Be=()=>{const Le=x;ye(),Le?.unsubscribe()};return Fe((Le,Ue)=>{q++,!ue&&!re&&_e();const qe=z=z??l();Ue.add(()=>{q--,0===q&&!ue&&!re&&(P=Fo(Be,Z))}),qe.subscribe(Ue),!x&&q>0&&(x=new oe({next:Ke=>qe.next(Ke),error:Ke=>{ue=!0,_e(),P=Fo(ye,d,Ke),qe.error(Ke)},complete:()=>{re=!0,_e(),P=Fo(ye,u),qe.complete()}}),In(Le).subscribe(x))})(b)}}function Fo(n,l,...d){if(!0===l)return void n();if(!1===l)return;const u=new oe({next:()=>{u.unsubscribe(),n()}});return In(l(...d)).subscribe(u)}function Gt(n,l){return Fe((d,u)=>{let Z=null,b=0,x=!1;const P=()=>x&&!Z&&u.complete();d.subscribe(be(u,z=>{Z?.unsubscribe();let q=0;const re=b++;In(n(z,re)).subscribe(Z=be(u,ue=>u.next(l?l(z,ue,re,q++):ue),()=>{Z=null,P()}))},()=>{x=!0,P()}))})}function Lu(n,l){return n===l}function Nt(n){for(let l in n)if(n[l]===Nt)return l;throw Error("Could not find renamed property on target object.")}function fn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(fn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const l=n.toString();if(null==l)return""+l;const d=l.indexOf("\n");return-1===d?l:l.substring(0,d)}function ln(n,l){return null==n||""===n?null===l?"":l:null==l||""===l?n:n+" "+l}const gi=Nt({__forward_ref__:Nt});function Kt(n){return n.__forward_ref__=Kt,n.toString=function(){return fn(this())},n}function pt(n){return Tu(n)?n():n}function Tu(n){return"function"==typeof n&&n.hasOwnProperty(gi)&&n.__forward_ref__===Kt}function Ru(n){return n&&!!n.\u0275providers}const Uf="https://g.co/ng/security#xss";class je extends Error{constructor(l,d){super(function pl(n,l){return`NG0${Math.abs(n)}${l?": "+l:""}`}(l,d)),this.code=l}}function mt(n){return"string"==typeof n?n:null==n?"":String(n)}function Pu(n,l){throw new je(-201,!1)}function Ir(n,l){null==n&&function At(n,l,d,u){throw new Error(`ASSERTION ERROR: ${n}`+(null==u?"":` [Expected=> ${d} ${u} ${l} <=Actual]`))}(l,n,null,"!=")}function ht(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function wr(n){return{providers:n.providers||[],imports:n.imports||[]}}function hl(n){return Qf(n,Cl)||Qf(n,Jf)}function Qf(n,l){return n.hasOwnProperty(l)?n[l]:null}function fl(n){return n&&(n.hasOwnProperty(Ku)||n.hasOwnProperty(fb))?n[Ku]:null}const Cl=Nt({\u0275prov:Nt}),Ku=Nt({\u0275inj:Nt}),Jf=Nt({ngInjectableDef:Nt}),fb=Nt({ngInjectorDef:Nt});var Ft=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(Ft||{});let ku;function ir(n){const l=ku;return ku=n,l}function jf(n,l,d){const u=hl(n);return u&&"root"==u.providedIn?void 0===u.value?u.value=u.factory():u.value:d&Ft.Optional?null:void 0!==l?l:void Pu(fn(n))}const en=globalThis,Xa={},zu="__NG_DI_FLAG__",Al="ngTempTokenPath",gb=/\n/gm,qf="__source";let xo;function Pi(n){const l=xo;return xo=n,l}function mb(n,l=Ft.Default){if(void 0===xo)throw new je(-203,!1);return null===xo?jf(n,void 0,l):xo.get(n,l&Ft.Optional?null:void 0,l)}function ft(n,l=Ft.Default){return(function Wf(){return ku}()||mb)(pt(n),l)}function st(n,l=Ft.Default){return ft(n,gl(l))}function gl(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Gu(n){const l=[];for(let d=0;dl){x=b-1;break}}}for(;bb?"":Z[ue+1].toLowerCase();const ye=8&u?_e:null;if(ye&&-1!==rC(ye,q,0)||2&u&&q!==_e){if(Rr(u))return!1;x=!0}}}}else{if(!x&&!Rr(u)&&!Rr(z))return!1;if(x&&Rr(z))continue;x=!1,u=z|1&u}}return Rr(u)||x}function Rr(n){return 0==(1&n)}function wb(n,l,d,u){if(null===l)return-1;let Z=0;if(u||!d){let b=!1;for(;Z-1)for(d++;d0?'="'+P+'"':"")+"]"}else 8&u?Z+="."+x:4&u&&(Z+=" "+x);else""!==Z&&!Rr(x)&&(l+=uC(b,Z),Z=""),u=x,b=b||!Rr(u);d++}return""!==Z&&(l+=uC(b,Z)),l}function or(n){return _i(()=>{const l=pC(n),d={...l,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===_l.OnPush,directiveDefs:null,pipeDefs:null,dependencies:l.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Tr.Emulated,styles:n.styles||Rt,_:null,schemas:n.schemas||null,tView:null,id:""};hC(d);const u=n.dependencies;return d.directiveDefs=ml(u,!1),d.pipeDefs=ml(u,!0),d.id=function kb(n){let l=0;const d=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const Z of d)l=Math.imul(31,l)+Z.charCodeAt(0)<<0;return l+=2147483648,"c"+l}(d),d})}function Tb(n){return Lt(n)||Tn(n)}function Rb(n){return null!==n}function Pr(n){return _i(()=>({type:n.type,bootstrap:n.bootstrap||Rt,declarations:n.declarations||Rt,imports:n.imports||Rt,exports:n.exports||Rt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function dC(n,l){if(null==n)return jr;const d={};for(const u in n)if(n.hasOwnProperty(u)){let Z=n[u],b=Z;Array.isArray(Z)&&(b=Z[1],Z=Z[0]),d[Z]=u,l&&(l[Z]=b)}return d}function Zt(n){return _i(()=>{const l=pC(n);return hC(l),l})}function Lt(n){return n[Zl]||null}function Tn(n){return n[Uu]||null}function Qn(n){return n[Qu]||null}function Cr(n,l){const d=n[tC]||null;if(!d&&!0===l)throw new Error(`Type ${fn(n)} does not have '\u0275mod' property.`);return d}function pC(n){const l={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:l,inputTransforms:null,inputConfig:n.inputs||jr,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||Rt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:dC(n.inputs,l),outputs:dC(n.outputs)}}function hC(n){n.features?.forEach(l=>l(n))}function ml(n,l){if(!n)return null;const d=l?Qn:Tb;return()=>("function"==typeof n?n():n).map(u=>d(u)).filter(Rb)}const mn=0,it=1,Et=2,un=3,Kr=4,za=5,Vn=6,Oo=7,vn=8,Ki=9,No=10,vt=11,Ga=12,fC=13,Lo=14,En=15,Ua=16,To=17,$r=18,Qa=19,CC=20,ki=21,mi=22,vl=23,El=24,xt=25,Wu=1,gC=2,qr=7,Ro=9,Rn=11;function sr(n){return Array.isArray(n)&&"object"==typeof n[Wu]}function lr(n){return Array.isArray(n)&&!0===n[Wu]}function ju(n){return 0!=(4&n.flags)}function ro(n){return n.componentOffset>-1}function yl(n){return 1==(1&n.flags)}function kr(n){return!!n.template}function $u(n){return 0!=(512&n[Et])}function io(n,l){return n.hasOwnProperty(Zi)?n[Zi]:null}let Gb=en.WeakRef??class zb{constructor(l){this.ref=l}deref(){return this.ref}},Qb=0,ei=null,Dl=!1;function Nn(n){const l=ei;return ei=n,l}class yC{constructor(){this.id=Qb++,this.ref=function Ub(n){return new Gb(n)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[l,d]of this.producers){const u=d.producerNode.deref();if(null!=u&&d.atTrackingVersion===this.trackingVersion){if(u.producerPollStatus(d.seenValueVersion))return!0}else this.producers.delete(l),u?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const l=Dl;Dl=!0;try{for(const[d,u]of this.consumers){const Z=u.consumerNode.deref();null!=Z&&Z.trackingVersion===u.atTrackingVersion?Z.onConsumerDependencyMayHaveChanged():(this.consumers.delete(d),Z?.producers.delete(this.id))}}finally{Dl=l}}producerAccessed(){if(Dl)throw new Error("");if(null===ei)return;let l=ei.producers.get(this.id);void 0===l?(l={consumerNode:ei.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:ei.trackingVersion},ei.producers.set(this.id,l),this.consumers.set(ei.id,l)):(l.seenValueVersion=this.valueVersion,l.atTrackingVersion=ei.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==ei?.consumerAllowSignalWrites}producerPollStatus(l){return this.valueVersion!==l||(this.onProducerUpdateValueVersion(),this.valueVersion!==l)}}let DC=null;const wC=()=>{};class $b extends yC{constructor(l,d,u){super(),this.watch=l,this.schedule=d,this.dirty=!1,this.cleanupFn=wC,this.registerOnCleanup=Z=>{this.cleanupFn=Z},this.consumerAllowSignalWrites=u}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const l=Nn(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=wC,this.watch(this.registerOnCleanup)}finally{Nn(l)}}cleanup(){this.cleanupFn()}}class qb{constructor(l,d,u){this.previousValue=l,this.currentValue=d,this.firstChange=u}isFirstChange(){return this.firstChange}}function Ar(){return MC}function MC(n){return n.type.prototype.ngOnChanges&&(n.setInput=ty),ey}function ey(){const n=xC(this),l=n?.current;if(l){const d=n.previous;if(d===jr)n.previous=l;else for(let u in l)d[u]=l[u];n.current=null,this.ngOnChanges(l)}}function ty(n,l,d,u){const Z=this.declaredInputs[d],b=xC(n)||function ny(n,l){return n[FC]=l}(n,{previous:jr,current:null}),x=b.current||(b.current={}),P=b.previous,z=P[Z];x[Z]=new qb(z&&z.currentValue,l,P===jr),n[u]=l}Ar.ngInherit=!0;const FC="__ngSimpleChanges__";function xC(n){return n[FC]||null}const ti=function(n,l,d){};function rn(n){for(;Array.isArray(n);)n=n[mn];return n}function cr(n,l){return rn(l[n.index])}function LC(n,l){return n.data[l]}function gr(n,l){const d=l[n];return sr(d)?d:d[mn]}function Xi(n,l){return null==l?null:n[l]}function TC(n){n[To]=0}function cy(n){1024&n[Et]||(n[Et]|=1024,PC(n,1))}function RC(n){1024&n[Et]&&(n[Et]&=-1025,PC(n,-1))}function PC(n,l){let d=n[un];if(null===d)return;d[za]+=l;let u=d;for(d=d[un];null!==d&&(1===l&&1===u[za]||-1===l&&0===u[za]);)d[za]+=l,u=d,d=d[un]}const gt={lFrame:jC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function XC(){return gt.bindingsEnabled}function Ye(){return gt.lFrame.lView}function Tt(){return gt.lFrame.tView}function Pn(){let n=YC();for(;null!==n&&64===n.type;)n=n.parent;return n}function YC(){return gt.lFrame.currentTNode}function ni(n,l){const d=gt.lFrame;d.currentTNode=n,d.isParent=l}function id(){return gt.lFrame.isParent}function ko(){return gt.lFrame.bindingIndex++}function vy(n,l){const d=gt.lFrame;d.bindingIndex=d.bindingRootIndex=n,ad(l)}function ad(n){gt.lFrame.currentDirectiveIndex=n}function QC(){return gt.lFrame.currentQueryIndex}function ld(n){gt.lFrame.currentQueryIndex=n}function by(n){const l=n[it];return 2===l.type?l.declTNode:1===l.type?n[Vn]:null}function JC(n,l,d){if(d&Ft.SkipSelf){let Z=l,b=n;for(;!(Z=Z.parent,null!==Z||d&Ft.Host||(Z=by(b),null===Z||(b=b[Lo],10&Z.type))););if(null===Z)return!1;l=Z,n=b}const u=gt.lFrame=WC();return u.currentTNode=l,u.lView=n,!0}function cd(n){const l=WC(),d=n[it];gt.lFrame=l,l.currentTNode=d.firstChild,l.lView=n,l.tView=d,l.contextLView=n,l.bindingIndex=d.bindingStartIndex,l.inI18n=!1}function WC(){const n=gt.lFrame,l=null===n?null:n.child;return null===l?jC(n):l}function jC(n){const l={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=l),l}function $C(){const n=gt.lFrame;return gt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const qC=$C;function ud(){const n=$C();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Wn(){return gt.lFrame.selectedIndex}function oo(n){gt.lFrame.selectedIndex=n}function Cn(){const n=gt.lFrame;return LC(n.tView,n.selectedIndex)}let tA=!0;function Ml(){return tA}function Hi(n){tA=n}function Fl(n,l){for(let d=l.directiveStart,u=l.directiveEnd;d=u)break}else l[z]<0&&(n[To]+=65536),(P>13>16&&(3&n[Et])===l&&(n[Et]+=8192,rA(P,b)):rA(P,b)}const Xo=-1;class ja{constructor(l,d,u){this.factory=l,this.resolving=!1,this.canSeeViewProviders=d,this.injectImpl=u}}function hd(n){return n!==Xo}function $a(n){return 32767&n}function qa(n,l){let d=function Ly(n){return n>>16}(n),u=l;for(;d>0;)u=u[Lo],d--;return u}let fd=!0;function Ol(n){const l=fd;return fd=n,l}const iA=255,oA=5;let Ty=0;const ri={};function Nl(n,l){const d=aA(n,l);if(-1!==d)return d;const u=l[it];u.firstCreatePass&&(n.injectorIndex=l.length,Cd(u.data,n),Cd(l,null),Cd(u.blueprint,null));const Z=Ll(n,l),b=n.injectorIndex;if(hd(Z)){const x=$a(Z),P=qa(Z,l),z=P[it].data;for(let q=0;q<8;q++)l[b+q]=P[x+q]|z[x+q]}return l[b+8]=Z,b}function Cd(n,l){n.push(0,0,0,0,0,0,0,0,l)}function aA(n,l){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===l[n.injectorIndex+8]?-1:n.injectorIndex}function Ll(n,l){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let d=0,u=null,Z=l;for(;null!==Z;){if(u=hA(Z),null===u)return Xo;if(d++,Z=Z[Lo],-1!==u.injectorIndex)return u.injectorIndex|d<<16}return Xo}function Ad(n,l,d){!function Ry(n,l,d){let u;"string"==typeof d?u=d.charCodeAt(0)||0:d.hasOwnProperty(Va)&&(u=d[Va]),null==u&&(u=d[Va]=Ty++);const Z=u&iA;l.data[n+(Z>>oA)]|=1<=0?l&iA:Hy:l}(d);if("function"==typeof b){if(!JC(l,n,u))return u&Ft.Host?sA(Z,0,u):lA(l,d,u,Z);try{let x;if(x=b(u),null!=x||u&Ft.Optional)return x;Pu()}finally{qC()}}else if("number"==typeof b){let x=null,P=aA(n,l),z=Xo,q=u&Ft.Host?l[En][Vn]:null;for((-1===P||u&Ft.SkipSelf)&&(z=-1===P?Ll(n,l):l[P+8],z!==Xo&&pA(u,!1)?(x=l[it],P=$a(z),l=qa(z,l)):P=-1);-1!==P;){const re=l[it];if(dA(b,P,re.data)){const ue=Ky(P,l,d,x,u,q);if(ue!==ri)return ue}z=l[P+8],z!==Xo&&pA(u,l[it].data[P+8]===q)&&dA(b,P,l)?(x=re,P=$a(z),l=qa(z,l)):P=-1}}return Z}function Ky(n,l,d,u,Z,b){const x=l[it],P=x.data[n+8],re=Tl(P,x,d,null==u?ro(P)&&fd:u!=x&&0!=(3&P.type),Z&Ft.Host&&b===P);return null!==re?ao(l,x,re,P):ri}function Tl(n,l,d,u,Z){const b=n.providerIndexes,x=l.data,P=1048575&b,z=n.directiveStart,re=b>>20,_e=Z?P+re:n.directiveEnd;for(let ye=u?P:P+re;ye<_e;ye++){const Be=x[ye];if(ye=z&&Be.type===d)return ye}if(Z){const ye=x[z];if(ye&&kr(ye)&&ye.type===d)return z}return null}function ao(n,l,d,u){let Z=n[d];const b=l.data;if(function Sy(n){return n instanceof ja}(Z)){const x=Z;x.resolving&&function sb(n,l){const d=l?`. Dependency path: ${l.join(" > ")} > ${n}`:"";throw new je(-200,`Circular dependency in DI detected for ${n}${d}`)}(function Vt(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():mt(n)}(b[d]));const P=Ol(x.canSeeViewProviders);x.resolving=!0;const q=x.injectImpl?ir(x.injectImpl):null;JC(n,u,Ft.Default);try{Z=n[d]=x.factory(void 0,b,n,u),l.firstCreatePass&&d>=u.directiveStart&&function Fy(n,l,d){const{ngOnChanges:u,ngOnInit:Z,ngDoCheck:b}=l.type.prototype;if(u){const x=MC(l);(d.preOrderHooks??=[]).push(n,x),(d.preOrderCheckHooks??=[]).push(n,x)}Z&&(d.preOrderHooks??=[]).push(0-n,Z),b&&((d.preOrderHooks??=[]).push(n,b),(d.preOrderCheckHooks??=[]).push(n,b))}(d,b[d],l)}finally{null!==q&&ir(q),Ol(P),x.resolving=!1,qC()}}return Z}function dA(n,l,d){return!!(d[l+(n>>oA)]&1<{const l=gd(pt(n));return l&&l()}:io(n)}function hA(n){const l=n[it],d=l.type;return 2===d?l.declTNode:1===d?n[Vn]:null}const Vo="__parameters__";function zo(n,l,d){return _i(()=>{const u=function _d(n){return function(...d){if(n){const u=n(...d);for(const Z in u)this[Z]=u[Z]}}}(l);function Z(...b){if(this instanceof Z)return u.apply(this,b),this;const x=new Z(...b);return P.annotation=x,P;function P(z,q,re){const ue=z.hasOwnProperty(Vo)?z[Vo]:Object.defineProperty(z,Vo,{value:[]})[Vo];for(;ue.length<=re;)ue.push(null);return(ue[re]=ue[re]||[]).push(x),z}}return d&&(Z.prototype=Object.create(d.prototype)),Z.prototype.ngMetadataName=n,Z.annotationCls=Z,Z})}function Uo(n,l){n.forEach(d=>Array.isArray(d)?Uo(d,l):l(d))}function CA(n,l,d){l>=n.length?n.push(d):n.splice(l,0,d)}function Pl(n,l){return l>=n.length-1?n.pop():n.splice(l,1)[0]}const kl=Ha(zo("Optional"),8),Xl=Ha(zo("SkipSelf"),4);function Gl(n){return 128==(128&n.flags)}var Vi=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(Vi||{});const yd=new Map;let ED=0;const Id="__ngContext__";function Yn(n,l){sr(l)?(n[Id]=l[Qa],function yD(n){yd.set(n[Qa],n)}(l)):n[Id]=l}let wd;function Bd(n,l){return wd(n,l)}function os(n){const l=n[un];return lr(l)?l[un]:l}function PA(n){return kA(n[Ga])}function KA(n){return kA(n[Kr])}function kA(n){for(;null!==n&&!lr(n);)n=n[Kr];return n}function jo(n,l,d,u,Z){if(null!=u){let b,x=!1;lr(u)?b=u:sr(u)&&(x=!0,u=u[mn]);const P=rn(u);0===n&&null!==d?null==Z?YA(l,d,P):so(l,d,P,Z||null,!0):1===n&&null!==d?so(l,d,P,Z||null,!0):2===n?function ql(n,l,d){const u=jl(n,l);u&&function zD(n,l,d,u){n.removeChild(l,d,u)}(n,u,l,d)}(l,P,x):3===n&&l.destroyNode(P),null!=b&&function JD(n,l,d,u,Z){const b=d[qr];b!==rn(d)&&jo(l,n,u,b,Z);for(let P=Rn;P0&&(n[d-1][Kr]=u[Kr]);const b=Pl(n,Rn+l);!function RD(n,l){ss(n,l,l[vt],2,null,null),l[mn]=null,l[Vn]=null}(u[it],u);const x=b[$r];null!==x&&x.detachView(b[it]),u[un]=null,u[Kr]=null,u[Et]&=-129}return u}function Fd(n,l){if(!(256&l[Et])){const d=l[vt];l[vl]?.destroy(),l[El]?.destroy(),d.destroyNode&&ss(n,l,d,3,null,null),function kD(n){let l=n[Ga];if(!l)return xd(n[it],n);for(;l;){let d=null;if(sr(l))d=l[Ga];else{const u=l[Rn];u&&(d=u)}if(!d){for(;l&&!l[Kr]&&l!==n;)sr(l)&&xd(l[it],l),l=l[un];null===l&&(l=n),sr(l)&&xd(l[it],l),d=l&&l[Kr]}l=d}}(l)}}function xd(n,l){if(!(256&l[Et])){l[Et]&=-129,l[Et]|=256,function YD(n,l){let d;if(null!=n&&null!=(d=n.destroyHooks))for(let u=0;u=0?u[x]():u[-x].unsubscribe(),b+=2}else d[b].call(u[d[b+1]]);null!==u&&(l[Oo]=null);const Z=l[ki];if(null!==Z){l[ki]=null;for(let b=0;b-1){const{encapsulation:b}=n.data[u.directiveStart+Z];if(b===Tr.None||b===Tr.Emulated)return null}return cr(u,d)}}(n,l.parent,d)}function so(n,l,d,u,Z){n.insertBefore(l,d,u,Z)}function YA(n,l,d){n.appendChild(l,d)}function zA(n,l,d,u,Z){null!==u?so(n,l,d,u,Z):YA(n,l,d)}function jl(n,l){return n.parentNode(l)}let Od,Rd,tc,JA=function QA(n,l,d){return 40&n.type?cr(n,d):null};function $l(n,l,d,u){const Z=Sd(n,u,l),b=l[vt],P=function UA(n,l,d){return JA(n,l,d)}(u.parent||l[Vn],u,l);if(null!=Z)if(Array.isArray(d))for(let z=0;zn,createScript:n=>n,createScriptURL:n=>n})}catch{}return tc}()?.createScriptURL(n)||n}class og{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Uf})`}}function Yi(n){return n instanceof og?n.changingThisBreaksApplicationSecurity:n}function ls(n,l){const d=function s2(n){return n instanceof og&&n.getTypeName()||null}(n);if(null!=d&&d!==l){if("ResourceURL"===d&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${d} (see ${Uf})`)}return d===l}const d2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var ea=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(ea||{});function pg(n){const l=us();return l?l.sanitize(ea.URL,n)||"":ls(n,"URL")?Yi(n):function Kd(n){return(n=String(n)).match(d2)?n:"unsafe:"+n}(mt(n))}function hg(n){const l=us();if(l)return ig(l.sanitize(ea.RESOURCE_URL,n)||"");if(ls(n,"ResourceURL"))return ig(Yi(n));throw new je(904,!1)}function us(){const n=Ye();return n&&n[No].sanitizer}class ct{constructor(l,d){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof d?this.__NG_ELEMENT_ID__=d:void 0!==d&&(this.\u0275prov=ht({token:this,providedIn:d.providedIn||"root",factory:d.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ds=new ct("ENVIRONMENT_INITIALIZER"),Cg=new ct("INJECTOR",-1),Ag=new ct("INJECTOR_DEF_TYPES");class Vd{get(l,d=Xa){if(d===Xa){const u=new Error(`NullInjectorError: No provider for ${fn(l)}!`);throw u.name="NullInjectorError",u}return d}}function D2(...n){return{\u0275providers:_g(0,n),\u0275fromNgModule:!0}}function _g(n,...l){const d=[],u=new Set;let Z;const b=x=>{d.push(x)};return Uo(l,x=>{const P=x;rc(P,b,[],u)&&(Z||=[],Z.push(P))}),void 0!==Z&&Zg(Z,b),d}function Zg(n,l){for(let d=0;d{l(b,u)})}}function rc(n,l,d,u){if(!(n=pt(n)))return!1;let Z=null,b=fl(n);const x=!b&&Lt(n);if(b||x){if(x&&!x.standalone)return!1;Z=n}else{const z=n.ngModule;if(b=fl(z),!b)return!1;Z=z}const P=u.has(Z);if(x){if(P)return!1;if(u.add(Z),x.dependencies){const z="function"==typeof x.dependencies?x.dependencies():x.dependencies;for(const q of z)rc(q,l,d,u)}}else{if(!b)return!1;{if(null!=b.imports&&!P){let q;u.add(Z);try{Uo(b.imports,re=>{rc(re,l,d,u)&&(q||=[],q.push(re))})}finally{}void 0!==q&&Zg(q,l)}if(!P){const q=io(Z)||(()=>new Z);l({provide:Z,useFactory:q,deps:Rt},Z),l({provide:Ag,useValue:Z,multi:!0},Z),l({provide:ds,useValue:()=>ft(Z),multi:!0},Z)}const z=b.providers;if(null!=z&&!P){const q=n;Yd(z,re=>{l(re,q)})}}}return Z!==n&&void 0!==n.providers}function Yd(n,l){for(let d of n)Ru(d)&&(d=d.\u0275providers),Array.isArray(d)?Yd(d,l):l(d)}const I2=Nt({provide:String,useValue:Nt});function zd(n){return null!==n&&"object"==typeof n&&I2 in n}function lo(n){return"function"==typeof n}const Gd=new ct("Set Injector scope."),ic={},B2={};let Ud;function oc(){return void 0===Ud&&(Ud=new Vd),Ud}class Mr{}class ac extends Mr{get destroyed(){return this._destroyed}constructor(l,d,u,Z){super(),this.parent=d,this.source=u,this.scopes=Z,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Jd(l,x=>this.processProvider(x)),this.records.set(Cg,ta(void 0,this)),Z.has("environment")&&this.records.set(Mr,ta(void 0,this));const b=this.records.get(Gd);null!=b&&"string"==typeof b.value&&this.scopes.add(b.value),this.injectorDefTypes=new Set(this.get(Ag.multi,Rt,Ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const d of this._ngOnDestroyHooks)d.ngOnDestroy();const l=this._onDestroyHooks;this._onDestroyHooks=[];for(const d of l)d()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(l){return this.assertNotDestroyed(),this._onDestroyHooks.push(l),()=>this.removeOnDestroy(l)}runInContext(l){this.assertNotDestroyed();const d=Pi(this),u=ir(void 0);try{return l()}finally{Pi(d),ir(u)}}get(l,d=Xa,u=Ft.Default){if(this.assertNotDestroyed(),l.hasOwnProperty(nC))return l[nC](this);u=gl(u);const b=Pi(this),x=ir(void 0);try{if(!(u&Ft.SkipSelf)){let z=this.records.get(l);if(void 0===z){const q=function O2(n){return"function"==typeof n||"object"==typeof n&&n instanceof ct}(l)&&hl(l);z=q&&this.injectableDefInScope(q)?ta(Qd(l),ic):null,this.records.set(l,z)}if(null!=z)return this.hydrate(l,z)}return(u&Ft.Self?oc():this.parent).get(l,d=u&Ft.Optional&&d===Xa?null:d)}catch(P){if("NullInjectorError"===P.name){if((P[Al]=P[Al]||[]).unshift(fn(l)),b)throw P;return function Eb(n,l,d,u){const Z=n[Al];throw l[qf]&&Z.unshift(l[qf]),n.message=function bb(n,l,d,u=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let Z=fn(l);if(Array.isArray(l))Z=l.map(fn).join(" -> ");else if("object"==typeof l){let b=[];for(let x in l)if(l.hasOwnProperty(x)){let P=l[x];b.push(x+":"+("string"==typeof P?JSON.stringify(P):fn(P)))}Z=`{${b.join(", ")}}`}return`${d}${u?"("+u+")":""}[${Z}]: ${n.replace(gb,"\n ")}`}("\n"+n.message,Z,d,u),n.ngTokenPath=Z,n[Al]=null,n}(P,l,"R3InjectorError",this.source)}throw P}finally{ir(x),Pi(b)}}resolveInjectorInitializers(){const l=Pi(this),d=ir(void 0);try{const Z=this.get(ds.multi,Rt,Ft.Self);for(const b of Z)b()}finally{Pi(l),ir(d)}}toString(){const l=[],d=this.records;for(const u of d.keys())l.push(fn(u));return`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new je(205,!1)}processProvider(l){let d=lo(l=pt(l))?l:pt(l&&l.provide);const u=function F2(n){return zd(n)?ta(void 0,n.useValue):ta(function Eg(n,l,d){let u;if(lo(n)){const Z=pt(n);return io(Z)||Qd(Z)}if(zd(n))u=()=>pt(n.useValue);else if(function vg(n){return!(!n||!n.useFactory)}(n))u=()=>n.useFactory(...Gu(n.deps||[]));else if(function mg(n){return!(!n||!n.useExisting)}(n))u=()=>ft(pt(n.useExisting));else{const Z=pt(n&&(n.useClass||n.provide));if(!function x2(n){return!!n.deps}(n))return io(Z)||Qd(Z);u=()=>new Z(...Gu(n.deps))}return u}(n),ic)}(l);if(lo(l)||!0!==l.multi)this.records.get(d);else{let Z=this.records.get(d);Z||(Z=ta(void 0,ic,!0),Z.factory=()=>Gu(Z.multi),this.records.set(d,Z)),d=l,Z.multi.push(l)}this.records.set(d,u)}hydrate(l,d){return d.value===ic&&(d.value=B2,d.value=d.factory()),"object"==typeof d.value&&d.value&&function S2(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(d.value)&&this._ngOnDestroyHooks.add(d.value),d.value}injectableDefInScope(l){if(!l.providedIn)return!1;const d=pt(l.providedIn);return"string"==typeof d?"any"===d||this.scopes.has(d):this.injectorDefTypes.has(d)}removeOnDestroy(l){const d=this._onDestroyHooks.indexOf(l);-1!==d&&this._onDestroyHooks.splice(d,1)}}function Qd(n){const l=hl(n),d=null!==l?l.factory:io(n);if(null!==d)return d;if(n instanceof ct)throw new je(204,!1);if(n instanceof Function)return function M2(n){const l=n.length;if(l>0)throw function ns(n,l){const d=[];for(let u=0;ud.factory(n):()=>new n}(n);throw new je(204,!1)}function ta(n,l,d=!1){return{factory:n,value:l,multi:d?[]:void 0}}function Jd(n,l){for(const d of n)Array.isArray(d)?Jd(d,l):d&&Ru(d)?Jd(d.\u0275providers,l):l(d)}const sc=new ct("AppId",{providedIn:"root",factory:()=>T2}),T2="ng",bg=new ct("Platform Initializer"),na=new ct("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),yg=new ct("CSP nonce",{providedIn:"root",factory:()=>function qo(){if(void 0!==Rd)return Rd;if(typeof document<"u")return document;throw new je(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ig=(n,l,d)=>null;function np(n,l,d=!1){return Ig(n,l,d)}class Q2{}class Mg{}class W2{resolveComponentFactory(l){throw function J2(n){const l=Error(`No component factory found for ${fn(n)}.`);return l.ngComponent=n,l}(l)}}let hc=(()=>{class l{}return l.NULL=new W2,l})();function j2(){return ia(Pn(),Ye())}function ia(n,l){return new Zr(cr(n,l))}let Zr=(()=>{class l{constructor(u){this.nativeElement=u}}return l.__NG_ELEMENT_ID__=j2,l})();function $2(n){return n instanceof Zr?n.nativeElement:n}class xg{}let yi=(()=>{class l{constructor(){this.destroyNode=null}}return l.__NG_ELEMENT_ID__=()=>function q2(){const n=Ye(),d=gr(Pn().index,n);return(sr(d)?d:n)[vt]}(),l})(),eI=(()=>{var n;class l{}return(n=l).\u0275prov=ht({token:n,providedIn:"root",factory:()=>null}),l})();class Cs{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const tI=new Cs("16.2.1"),op={};function Lg(n,l=null,d=null,u){const Z=Tg(n,l,d,u);return Z.resolveInjectorInitializers(),Z}function Tg(n,l=null,d=null,u,Z=new Set){const b=[d||Rt,D2(n)];return u=u||("object"==typeof n?void 0:fn(n)),new ac(b,l||oc(),u||null,Z)}let mr=(()=>{var n;class l{static create(u,Z){if(Array.isArray(u))return Lg({name:""},Z,u,"");{const b=u.name??"";return Lg({name:b},u.parent,u.providers,b)}}}return(n=l).THROW_IF_NOT_FOUND=Xa,n.NULL=new Vd,n.\u0275prov=ht({token:n,providedIn:"any",factory:()=>ft(Cg)}),n.__NG_ELEMENT_ID__=-1,l})();function Di(n){return n instanceof Function?n():n}let lp=(()=>{var n;class l{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new je(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const u of this.callbacks)u.invoke()}finally{this.runningCallbacks=!1;for(const u of this.deferredCallbacks)this.callbacks.add(u);this.deferredCallbacks.clear()}}register(u){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(u)}unregister(u){this.callbacks.delete(u),this.deferredCallbacks.delete(u)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(n=l).\u0275prov=ht({token:n,providedIn:"root",factory:()=>new n}),l})();function As(n){for(;n;){n[Et]|=64;const l=os(n);if($u(n)&&!l)return n;n=l}return null}function cp(n){return n.ngOriginalError}class co{constructor(){this._console=console}handleError(l){const d=this._findOriginalError(l);this._console.error("ERROR",l),d&&this._console.error("ORIGINAL ERROR",d)}_findOriginalError(l){let d=l&&cp(l);for(;d&&cp(d);)d=cp(d);return d||null}}const Xg=new ct("",{providedIn:"root",factory:()=>!1});class zg extends yC{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(l){this._lView=l}onConsumerDependencyMayHaveChanged(){As(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(l,d,u){const Z=Nn(this);this.trackingVersion++;try{l(d,u)}finally{Nn(Z)}}destroy(){this.trackingVersion++}}let Cc=null;function Gg(){return Cc??=new zg,Cc}function Ug(n,l){return n[l]??Gg()}function Qg(n,l){const d=Gg();d.hasReadASignal&&(n[l]=Cc,d.lView=n,Cc=new zg)}const bt={};function bn(n){Jg(Tt(),Ye(),Wn()+n,!1)}function Jg(n,l,d,u){if(!u)if(3==(3&l[Et])){const b=n.preOrderCheckHooks;null!==b&&xl(l,b,d)}else{const b=n.preOrderHooks;null!==b&&Sl(l,b,0,d)}oo(d)}function Je(n,l=Ft.Default){const d=Ye();return null===d?ft(n,l):cA(Pn(),d,pt(n),l)}function Ac(n,l,d,u,Z,b,x,P,z,q,re){const ue=l.blueprint.slice();return ue[mn]=Z,ue[Et]=140|u,(null!==q||n&&2048&n[Et])&&(ue[Et]|=2048),TC(ue),ue[un]=ue[Lo]=n,ue[vn]=d,ue[No]=x||n&&n[No],ue[vt]=P||n&&n[vt],ue[Ki]=z||n&&n[Ki]||null,ue[Vn]=b,ue[Qa]=function bD(){return ED++}(),ue[mi]=re,ue[CC]=q,ue[En]=2==l.type?n[En]:ue,ue}function sa(n,l,d,u,Z){let b=n.data[l];if(null===b)b=function up(n,l,d,u,Z){const b=YC(),x=id(),z=n.data[l]=function yI(n,l,d,u,Z,b){let x=l?l.injectorIndex:-1,P=0;return function Ko(){return null!==gt.skipHydrationRootTNode}()&&(P|=128),{type:d,index:u,insertBeforeIndex:null,injectorIndex:x,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:P,providerIndexes:0,value:Z,attrs:b,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,x?b:b&&b.parent,d,l,u,Z);return null===n.firstChild&&(n.firstChild=z),null!==b&&(x?null==b.child&&null!==z.parent&&(b.child=z):null===b.next&&(b.next=z,z.prev=b)),z}(n,l,d,u,Z),function my(){return gt.lFrame.inI18n}()&&(b.flags|=32);else if(64&b.type){b.type=d,b.value=u,b.attrs=Z;const x=function Wa(){const n=gt.lFrame,l=n.currentTNode;return n.isParent?l:l.parent}();b.injectorIndex=null===x?-1:x.injectorIndex}return ni(b,!0),b}function gs(n,l,d,u){if(0===d)return-1;const Z=l.length;for(let b=0;bxt&&Jg(n,l,xt,!1),ti(P?2:0,Z),P)b.runInContext(d,u,Z);else{const q=Nn(null);try{d(u,Z)}finally{Nn(q)}}}finally{P&&null===l[vl]&&Qg(l,vl),oo(x),ti(P?3:1,Z)}}function dp(n,l,d){if(ju(l)){const u=Nn(null);try{const b=l.directiveEnd;for(let x=l.directiveStart;xnull;function e_(n,l,d,u){for(let Z in n)if(n.hasOwnProperty(Z)){d=null===d?{}:d;const b=n[Z];null===u?t_(d,l,Z,b):u.hasOwnProperty(Z)&&t_(d,l,u[Z],b)}return d}function t_(n,l,d,u){n.hasOwnProperty(d)?n[d].push(l,u):n[d]=[l,u]}function vr(n,l,d,u,Z,b,x,P){const z=cr(l,d);let re,q=l.inputs;!P&&null!=q&&(re=q[u])?(Zp(n,d,re,u,Z),ro(l)&&function wI(n,l){const d=gr(l,n);16&d[Et]||(d[Et]|=64)}(d,l.index)):3&l.type&&(u=function II(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(u),Z=null!=x?x(Z,l.value||"",u):Z,b.setProperty(z,u,Z))}function n_(n,l,d,u,Z,b){for(let q=0;q0;){const d=n[--l];if("number"==typeof d&&d<0)return d}return 0})(x)!=P&&x.push(P),x.push(d,u,b)}}(n,l,u,gs(n,d,Z.hostVars,bt),Z)}function oi(n,l,d,u,Z,b){const x=cr(n,l);!function gp(n,l,d,u,Z,b,x){if(null==b)n.removeAttribute(l,Z,d);else{const P=null==x?mt(b):x(b,u||"",Z);n.setAttribute(l,Z,P,d)}}(l[vt],x,b,n.value,d,u,Z)}function kI(n,l,d,u,Z,b){const x=b[l];if(null!==x)for(let P=0;P{var n;class l{constructor(){this.all=new Set,this.queue=new Map}create(u,Z,b){const x=typeof Zone>"u"?null:Zone.current,P=new $b(u,re=>{this.all.has(re)&&this.queue.set(re,x)},b);let z;this.all.add(P),P.notify();const q=()=>{P.cleanup(),z?.(),this.all.delete(P),this.queue.delete(P)};return z=Z?.onDestroy(q),{destroy:q}}flush(){if(0!==this.queue.size)for(const[u,Z]of this.queue)this.queue.delete(u),Z?Z.run(()=>u.run()):u.run()}get isQueueEmpty(){return 0===this.queue.size}}return(n=l).\u0275prov=ht({token:n,providedIn:"root",factory:()=>new n}),l})();function _c(n,l,d){let u=d?n.styles:null,Z=d?n.classes:null,b=0;if(null!==l)for(let x=0;x0){h_(n,1);const Z=n[it].components;null!==Z&&C_(n,Z,1)}}function C_(n,l,d){for(let u=0;u-1&&(Wl(l,u),Pl(d,u))}this._attachedToViewContainer=!1}Fd(this._lView[it],this._lView)}onDestroy(l){!function KC(n,l){if(256==(256&n[Et]))throw new je(911,!1);null===n[ki]&&(n[ki]=[]),n[ki].push(l)}(this._lView,l)}markForCheck(){As(this._cdRefInjectingView||this._lView)}detach(){this._lView[Et]&=-129}reattach(){this._lView[Et]|=128}detectChanges(){Zc(this._lView[it],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new je(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function KD(n,l){ss(n,l,l[vt],2,null,null)}(this._lView[it],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new je(902,!1);this._appRef=l}}class JI extends Zs{constructor(l){super(l),this._view=l}detectChanges(){const l=this._view;Zc(l[it],l,l[vn],!1)}checkNoChanges(){}get context(){return null}}class A_ extends hc{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const d=Lt(l);return new ms(d,this.ngModule)}}function g_(n){const l=[];for(let d in n)n.hasOwnProperty(d)&&l.push({propName:n[d],templateName:d});return l}class jI{constructor(l,d){this.injector=l,this.parentInjector=d}get(l,d,u){u=gl(u);const Z=this.injector.get(l,op,u);return Z!==op||d===op?Z:this.parentInjector.get(l,d,u)}}class ms extends Mg{get inputs(){const l=this.componentDef,d=l.inputTransforms,u=g_(l.inputs);if(null!==d)for(const Z of u)d.hasOwnProperty(Z.propName)&&(Z.transform=d[Z.propName]);return u}get outputs(){return g_(this.componentDef.outputs)}constructor(l,d){super(),this.componentDef=l,this.ngModule=d,this.componentType=l.type,this.selector=function Ob(n){return n.map(Sb).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!d}create(l,d,u,Z){let b=(Z=Z||this.ngModule)instanceof Mr?Z:Z?.injector;b&&null!==this.componentDef.getStandaloneInjector&&(b=this.componentDef.getStandaloneInjector(b)||b);const x=b?new jI(l,b):l,P=x.get(xg,null);if(null===P)throw new je(407,!1);const ue={rendererFactory:P,sanitizer:x.get(eI,null),effectManager:x.get(d_,null),afterRenderEventManager:x.get(lp,null)},_e=P.createRenderer(null,this.componentDef),ye=this.componentDef.selectors[0][0]||"div",Be=u?function ZI(n,l,d,u){const b=u.get(Xg,!1)||d===Tr.ShadowDom,x=n.selectRootElement(l,b);return function mI(n){qg(n)}(x),x}(_e,u,this.componentDef.encapsulation,x):Jl(_e,ye,function WI(n){const l=n.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(ye)),qe=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Ke=null;null!==Be&&(Ke=np(Be,x,!0));const dt=fp(0,null,null,1,0,null,null,null,null,null,null),_t=Ac(null,dt,null,qe,null,null,ue,_e,x,null,Ke);let St,hr;cd(_t);try{const Ni=this.componentDef;let Ta,Gf=null;Ni.findHostDirectiveDefs?(Ta=[],Gf=new Map,Ni.findHostDirectiveDefs(Ni,Ta,Gf),Ta.push(Ni)):Ta=[Ni];const xT=function qI(n,l){const d=n[it],u=xt;return n[u]=l,sa(d,u,2,"#host",null)}(_t,Be),ST=function ew(n,l,d,u,Z,b,x){const P=Z[it];!function tw(n,l,d,u){for(const Z of n)l.mergedAttrs=Ya(l.mergedAttrs,Z.hostAttrs);null!==l.mergedAttrs&&(_c(l,l.mergedAttrs,!0),null!==d&&tg(u,d,l))}(u,n,l,x);let z=null;null!==l&&(z=np(l,Z[Ki]));const q=b.rendererFactory.createRenderer(l,d);let re=16;d.signals?re=4096:d.onPush&&(re=64);const ue=Ac(Z,$g(d),null,re,Z[n.index],n,b,q,null,null,z);return P.firstCreatePass&&Ap(P,n,u.length-1),gc(Z,ue),Z[n.index]=ue}(xT,Be,Ni,Ta,_t,ue,_e);hr=LC(dt,xt),Be&&function rw(n,l,d,u){if(u)Ju(n,d,["ng-version",tI.full]);else{const{attrs:Z,classes:b}=function Nb(n){const l=[],d=[];let u=1,Z=2;for(;u0&&eg(n,d,b.join(" "))}}(_e,Ni,Be,u),void 0!==d&&function iw(n,l,d){const u=n.projection=[];for(let Z=0;Z(Hi(!0),Jl(u,Z,function eA(){return gt.lFrame.currentNamespace}()));function Ds(n){return!!n&&"function"==typeof n.then}function H_(n){return!!n&&"function"==typeof n.subscribe}function $n(n,l,d,u){const Z=Ye(),b=Tt(),x=Pn();return function Y_(n,l,d,u,Z,b,x){const P=yl(u),q=n.firstCreatePass&&l_(n),re=l[vn],ue=s_(l);let _e=!0;if(3&u.type||x){const Le=cr(u,l),Ue=x?x(Le):Le,qe=ue.length,Ke=x?_t=>x(rn(_t[u.index])):u.index;let dt=null;if(!x&&P&&(dt=function zw(n,l,d,u){const Z=n.cleanup;if(null!=Z)for(let b=0;bz?P[z]:null}"string"==typeof x&&(b+=2)}return null}(n,l,Z,u.index)),null!==dt)(dt.__ngLastListenerFn__||dt).__ngNextListenerFn__=b,dt.__ngLastListenerFn__=b,_e=!1;else{b=G_(u,l,re,b,!1);const _t=d.listen(Ue,Z,b);ue.push(b,_t),q&&q.push(Z,Ke,qe,qe+1)}}else b=G_(u,l,re,b,!1);const ye=u.outputs;let Be;if(_e&&null!==ye&&(Be=ye[Z])){const Le=Be.length;if(Le)for(let Ue=0;Ue-1?gr(n.index,l):l);let z=z_(l,d,u,x),q=b.__ngNextListenerFn__;for(;q;)z=z_(l,d,q,x)&&z,q=q.__ngNextListenerFn__;return Z&&!1===z&&x.preventDefault(),z}}function jt(n,l=""){const d=Ye(),u=Tt(),Z=n+xt,b=u.firstCreatePass?sa(u,Z,1,l,null):u.data[Z],x=_0(u,d,b,l,n);d[Z]=x,Ml()&&$l(u,d,x,b),ni(b,!1)}let _0=(n,l,d,u,Z)=>(Hi(!0),function Ql(n,l){return n.createText(l)}(l[vt],u));function Tp(n,l,d){const u=Ye();return zn(u,ko(),l)&&vr(Tt(),Cn(),u,n,l,u[vt],d,!0),Tp}const Za="en-US";let H0=Za;class fo{}class C1{}class Vp extends fo{constructor(l,d,u){super(),this._parent=d,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new A_(this);const Z=Cr(l);this._bootstrapComponents=Di(Z.bootstrap),this._r3Injector=Tg(l,d,[{provide:fo,useValue:this},{provide:hc,useValue:this.componentFactoryResolver},...u],fn(l),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(l)}get injector(){return this._r3Injector}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(d=>d()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class Yp extends C1{constructor(l){super(),this.moduleType=l}create(l){return new Vp(this.moduleType,l,[])}}class A1 extends fo{constructor(l){super(),this.componentFactoryResolver=new A_(this),this.instance=null;const d=new ac([...l.providers,{provide:fo,useValue:this},{provide:hc,useValue:this.componentFactoryResolver}],l.parent||oc(),l.debugName,new Set(["environment"]));this.injector=d,l.runEnvironmentInitializers&&d.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(l){this.injector.onDestroy(l)}}function zp(n,l,d=null){return new A1({providers:n,parent:l,debugName:d,runEnvironmentInitializers:!0}).injector}let QB=(()=>{var n;class l{constructor(u){this._injector=u,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(u){if(!u.standalone)return null;if(!this.cachedInjectors.has(u)){const Z=_g(0,u.type),b=Z.length>0?zp([Z],this._injector,`Standalone[${u.type.name}]`):null;this.cachedInjectors.set(u,b)}return this.cachedInjectors.get(u)}ngOnDestroy(){try{for(const u of this.cachedInjectors.values())null!==u&&u.destroy()}finally{this.cachedInjectors.clear()}}}return(n=l).\u0275prov=ht({token:n,providedIn:"environment",factory:()=>new n(ft(Mr))}),l})();function g1(n){n.getStandaloneInjector=l=>l.get(QB).getOrCreateStandaloneInjector(n)}function Vr(n,l,d){const u=function Jn(){const n=gt.lFrame;let l=n.bindingRootIndex;return-1===l&&(l=n.bindingRootIndex=n.tView.bindingStartIndex),l}()+n,Z=Ye();return Z[u]===bt?function ai(n,l,d){return n[l]=d}(Z,u,d?l.call(d):l()):function vs(n,l){return n[l]}(Z,u)}function Up(n){return l=>{setTimeout(n,void 0,l)}}const Xe=class mM extends ve{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,d,u){let Z=l,b=d||(()=>null),x=u;if(l&&"object"==typeof l){const z=l;Z=z.next?.bind(z),b=z.error?.bind(z),x=z.complete?.bind(z)}this.__isAsync&&(b=Up(b),Z&&(Z=Up(Z)),x&&(x=Up(x)));const P=super.subscribe({next:Z,error:b,complete:x});return l instanceof f&&l.add(P),P}};function vM(){return this._results[Symbol.iterator]()}class Qp{get changes(){return this._changes||(this._changes=new Xe)}constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const d=Qp.prototype;d[Symbol.iterator]||(d[Symbol.iterator]=vM)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,d){return this._results.reduce(l,d)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,d){const u=this;u.dirty=!1;const Z=function Br(n){return n.flat(Number.POSITIVE_INFINITY)}(l);(this._changesDetected=!function Qy(n,l,d){if(n.length!==l.length)return!1;for(let u=0;u0&&(d[Z-1][Kr]=l),u{class l{}return l.__NG_ELEMENT_ID__=IM,l})();const yM=wi,DM=class extends yM{constructor(l,d,u){super(),this._declarationLView=l,this._declarationTContainer=d,this.elementRef=u}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(l,d){return this.createEmbeddedViewImpl(l,d)}createEmbeddedViewImpl(l,d,u){const Z=function EM(n,l,d,u){const Z=l.tView,P=Ac(n,Z,d,4096&n[Et]?4096:16,null,l,null,null,null,u?.injector??null,u?.hydrationInfo??null);P[Ua]=n[l.index];const q=n[$r];return null!==q&&(P[$r]=q.createEmbeddedView(Z)),mp(Z,P,d),P}(this._declarationLView,this._declarationTContainer,l,{injector:d,hydrationInfo:u});return new Zs(Z)}};function IM(){return Oc(Pn(),Ye())}function Oc(n,l){return 4&n.type?new DM(l,n,ia(n,l)):null}let Yr=(()=>{class l{}return l.__NG_ELEMENT_ID__=OM,l})();function OM(){return T1(Pn(),Ye())}const LM=Yr,N1=class extends LM{constructor(l,d,u){super(),this._lContainer=l,this._hostTNode=d,this._hostLView=u}get element(){return ia(this._hostTNode,this._hostLView)}get injector(){return new jn(this._hostTNode,this._hostLView)}get parentInjector(){const l=Ll(this._hostTNode,this._hostLView);if(hd(l)){const d=qa(l,this._hostLView),u=$a(l);return new jn(d[it].data[u+8],d)}return new jn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const d=L1(this._lContainer);return null!==d&&d[l]||null}get length(){return this._lContainer.length-Rn}createEmbeddedView(l,d,u){let Z,b;"number"==typeof u?Z=u:null!=u&&(Z=u.index,b=u.injector);const P=l.createEmbeddedViewImpl(d||{},b,null);return this.insertImpl(P,Z,false),P}createComponent(l,d,u,Z,b){const x=l&&!function ts(n){return"function"==typeof n}(l);let P;if(x)P=d;else{const Le=d||{};P=Le.index,u=Le.injector,Z=Le.projectableNodes,b=Le.environmentInjector||Le.ngModuleRef}const z=x?l:new ms(Lt(l)),q=u||this.parentInjector;if(!b&&null==z.ngModule){const Ue=(x?q:this.parentInjector).get(Mr,null);Ue&&(b=Ue)}Lt(z.componentType??{});const ye=z.create(q,Z,null,b);return this.insertImpl(ye.hostView,P,false),ye}insert(l,d){return this.insertImpl(l,d,!1)}insertImpl(l,d,u){const Z=l._lView;if(function ly(n){return lr(n[un])}(Z)){const z=this.indexOf(l);if(-1!==z)this.detach(z);else{const q=Z[un],re=new N1(q,q[Vn],q[un]);re.detach(re.indexOf(l))}}const x=this._adjustIndex(d),P=this._lContainer;return bM(P,Z,x,!u),l.attachToViewContainerRef(),CA(Jp(P),x,l),l}move(l,d){return this.insert(l,d)}indexOf(l){const d=L1(this._lContainer);return null!==d?d.indexOf(l):-1}remove(l){const d=this._adjustIndex(l,-1),u=Wl(this._lContainer,d);u&&(Pl(Jp(this._lContainer),d),Fd(u[it],u))}detach(l){const d=this._adjustIndex(l,-1),u=Wl(this._lContainer,d);return u&&null!=Pl(Jp(this._lContainer),d)?new Zs(u):null}_adjustIndex(l,d=0){return l??this.length+d}};function L1(n){return n[8]}function Jp(n){return n[8]||(n[8]=[])}function T1(n,l){let d;const u=l[n.index];return lr(u)?d=u:(d=function o_(n,l,d,u){return[n,!0,!1,l,null,0,u,d,null,null,null]}(u,l,null,n),l[n.index]=d,gc(l,d)),R1(d,l,n,u),new N1(d,n,l)}let R1=function P1(n,l,d,u){if(n[qr])return;let Z;Z=8&d.type?rn(u):function TM(n,l){const d=n[vt],u=d.createComment(""),Z=cr(l,n);return so(d,jl(d,Z),u,function GD(n,l){return n.nextSibling(l)}(d,Z),!1),u}(l,d),n[qr]=Z};class Wp{constructor(l){this.queryList=l,this.matches=null}clone(){return new Wp(this.queryList)}setDirty(){this.queryList.setDirty()}}class jp{constructor(l=[]){this.queries=l}createEmbeddedView(l){const d=l.queries;if(null!==d){const u=null!==l.contentQueries?l.contentQueries[0]:d.length,Z=[];for(let b=0;b0)u.push(x[P/2]);else{const q=b[P+1],re=l[-z];for(let ue=Rn;ue{var n;class l{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((u,Z)=>{this.resolve=u,this.reject=Z}),this.appInits=st(sh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const u=[];for(const b of this.appInits){const x=b();if(Ds(x))u.push(x);else if(H_(x)){const P=new Promise((z,q)=>{x.subscribe({complete:z,error:q})});u.push(P)}}const Z=()=>{this.done=!0,this.resolve()};Promise.all(u).then(()=>{Z()}).catch(b=>{this.reject(b)}),0===u.length&&Z(),this.initialized=!0}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})(),cZ=(()=>{var n;class l{log(u){console.log(u)}warn(u){console.warn(u)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"platform"}),l})();const Bi=new ct("LocaleId",{providedIn:"root",factory:()=>st(Bi,Ft.Optional|Ft.SkipSelf)||function hF(){return typeof $localize<"u"&&$localize.locale||Za}()});let uZ=(()=>{var n;class l{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new de(!1)}add(){this.hasPendingTasks.next(!0);const u=this.taskId++;return this.pendingTasks.add(u),u}remove(u){this.pendingTasks.delete(u),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();class AF{constructor(l,d){this.ngModuleFactory=l,this.componentFactories=d}}let dZ=(()=>{var n;class l{compileModuleSync(u){return new Yp(u)}compileModuleAsync(u){return Promise.resolve(this.compileModuleSync(u))}compileModuleAndAllComponentsSync(u){const Z=this.compileModuleSync(u),x=Di(Cr(u).declarations).reduce((P,z)=>{const q=Lt(z);return q&&P.push(new ms(q)),P},[]);return new AF(Z,x)}compileModuleAndAllComponentsAsync(u){return Promise.resolve(this.compileModuleAndAllComponentsSync(u))}clearCache(){}clearCacheFor(u){}getModuleId(u){}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();function AZ(...n){}class pn{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:d=!1,shouldCoalesceRunChangeDetection:u=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Xe(!1),this.onMicrotaskEmpty=new Xe(!1),this.onStable=new Xe(!1),this.onError=new Xe(!1),typeof Zone>"u")throw new je(908,!1);Zone.assertZonePatched();const Z=this;Z._nesting=0,Z._outer=Z._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(Z._inner=Z._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(Z._inner=Z._inner.fork(Zone.longStackTraceZoneSpec)),Z.shouldCoalesceEventChangeDetection=!u&&d,Z.shouldCoalesceRunChangeDetection=u,Z.lastRequestAnimationFrameId=-1,Z.nativeRequestAnimationFrame=function PF(){const n="function"==typeof en.requestAnimationFrame;let l=en[n?"requestAnimationFrame":"setTimeout"],d=en[n?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&l&&d){const u=l[Zone.__symbol__("OriginalDelegate")];u&&(l=u);const Z=d[Zone.__symbol__("OriginalDelegate")];Z&&(d=Z)}return{nativeRequestAnimationFrame:l,nativeCancelAnimationFrame:d}}().nativeRequestAnimationFrame,function HF(n){const l=()=>{!function XF(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(en,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,ph(n),n.isCheckStableRunning=!0,dh(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),ph(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(d,u,Z,b,x,P)=>{try{return gZ(n),d.invokeTask(Z,b,x,P)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===b.type||n.shouldCoalesceRunChangeDetection)&&l(),_Z(n)}},onInvoke:(d,u,Z,b,x,P,z)=>{try{return gZ(n),d.invoke(Z,b,x,P,z)}finally{n.shouldCoalesceRunChangeDetection&&l(),_Z(n)}},onHasTask:(d,u,Z,b)=>{d.hasTask(Z,b),u===Z&&("microTask"==b.change?(n._hasPendingMicrotasks=b.microTask,ph(n),dh(n)):"macroTask"==b.change&&(n.hasPendingMacrotasks=b.macroTask))},onHandleError:(d,u,Z,b)=>(d.handleError(Z,b),n.runOutsideAngular(()=>n.onError.emit(b)),!1)})}(Z)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pn.isInAngularZone())throw new je(909,!1)}static assertNotInAngularZone(){if(pn.isInAngularZone())throw new je(909,!1)}run(l,d,u){return this._inner.run(l,d,u)}runTask(l,d,u,Z){const b=this._inner,x=b.scheduleEventTask("NgZoneEvent: "+Z,l,kF,AZ,AZ);try{return b.runTask(x,d,u)}finally{b.cancelTask(x)}}runGuarded(l,d,u){return this._inner.runGuarded(l,d,u)}runOutsideAngular(l){return this._outer.run(l)}}const kF={};function dh(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function ph(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function gZ(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function _Z(n){n._nesting--,dh(n)}class VF{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xe,this.onMicrotaskEmpty=new Xe,this.onStable=new Xe,this.onError=new Xe}run(l,d,u){return l.apply(d,u)}runGuarded(l,d,u){return l.apply(d,u)}runOutsideAngular(l){return l()}runTask(l,d,u,Z){return l.apply(d,u)}}const mZ=new ct("",{providedIn:"root",factory:vZ});function vZ(){const n=st(pn);let l=!0;return function Mo(...n){const l=Wr(n),d=function cl(n,l){return"number"==typeof Jr(n)?n.pop():l}(n,1/0),u=n;return u.length?1===u.length?In(u[0]):Lr(d)(sn(u,l)):Dr}(new De(Z=>{l=n.isStable&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks,n.runOutsideAngular(()=>{Z.next(l),Z.complete()})}),new De(Z=>{let b;n.runOutsideAngular(()=>{b=n.onStable.subscribe(()=>{pn.assertNotInAngularZone(),queueMicrotask(()=>{!l&&!n.hasPendingMacrotasks&&!n.hasPendingMicrotasks&&(l=!0,Z.next(!0))})})});const x=n.onUnstable.subscribe(()=>{pn.assertInAngularZone(),l&&(l=!1,n.runOutsideAngular(()=>{Z.next(!1)}))});return()=>{b.unsubscribe(),x.unsubscribe()}}).pipe(ul()))}const EZ=new ct(""),Kc=new ct("");let Ch,hh=(()=>{var n;class l{constructor(u,Z,b){this._ngZone=u,this.registry=Z,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ch||(function YF(n){Ch=n}(b),b.addToWindow(Z)),this._watchAngularEvents(),u.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let u=this._callbacks.pop();clearTimeout(u.timeoutId),u.doneCb(this._didWork)}this._didWork=!1});else{let u=this.getPendingTasks();this._callbacks=this._callbacks.filter(Z=>!Z.updateCb||!Z.updateCb(u)||(clearTimeout(Z.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(u=>({source:u.source,creationLocation:u.creationLocation,data:u.data})):[]}addCallback(u,Z,b){let x=-1;Z&&Z>0&&(x=setTimeout(()=>{this._callbacks=this._callbacks.filter(P=>P.timeoutId!==x),u(this._didWork,this.getPendingTasks())},Z)),this._callbacks.push({doneCb:u,timeoutId:x,updateCb:b})}whenStable(u,Z,b){if(b&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(u,Z,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(u){this.registry.registerApplication(u,this)}unregisterApplication(u){this.registry.unregisterApplication(u)}findProviders(u,Z,b){return[]}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(pn),ft(fh),ft(Kc))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})(),fh=(()=>{var n;class l{constructor(){this._applications=new Map}registerApplication(u,Z){this._applications.set(u,Z)}unregisterApplication(u){this._applications.delete(u)}unregisterAllApplications(){this._applications.clear()}getTestability(u){return this._applications.get(u)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(u,Z=!0){return Ch?.findTestabilityInTree(this,u,Z)??null}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"platform"}),l})(),Gi=null;const bZ=new ct("AllowMultipleToken"),Ah=new ct("PlatformDestroyListeners"),gh=new ct("appBootstrapListener");class DZ{constructor(l,d){this.name=l,this.token=d}}function wZ(n,l,d=[]){const u=`Platform: ${l}`,Z=new ct(u);return(b=[])=>{let x=_h();if(!x||x.injector.get(bZ,!1)){const P=[...d,...b,{provide:Z,useValue:!0}];n?n(P):function UF(n){if(Gi&&!Gi.get(bZ,!1))throw new je(400,!1);(function yZ(){!function Wb(n){DC=n}(()=>{throw new je(600,!1)})})(),Gi=n;const l=n.get(MZ);(function IZ(n){n.get(bg,null)?.forEach(d=>d())})(n)}(function BZ(n=[],l){return mr.create({name:l,providers:[{provide:Gd,useValue:"platform"},{provide:Ah,useValue:new Set([()=>Gi=null])},...n]})}(P,u))}return function JF(n){const l=_h();if(!l)throw new je(401,!1);return l}()}}function _h(){return Gi?.get(MZ)??null}let MZ=(()=>{var n;class l{constructor(u){this._injector=u,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(u,Z){const b=function WF(n="zone.js",l){return"noop"===n?new VF:"zone.js"===n?new pn(l):n}(Z?.ngZone,function FZ(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}({eventCoalescing:Z?.ngZoneEventCoalescing,runCoalescing:Z?.ngZoneRunCoalescing}));return b.run(()=>{const x=function UB(n,l,d){return new Vp(n,l,d)}(u.moduleType,this.injector,function LZ(n){return[{provide:pn,useFactory:n},{provide:ds,multi:!0,useFactory:()=>{const l=st($F,{optional:!0});return()=>l.initialize()}},{provide:NZ,useFactory:jF},{provide:mZ,useFactory:vZ}]}(()=>b)),P=x.injector.get(co,null);return b.runOutsideAngular(()=>{const z=b.onError.subscribe({next:q=>{P.handleError(q)}});x.onDestroy(()=>{kc(this._modules,x),z.unsubscribe()})}),function xZ(n,l,d){try{const u=d();return Ds(u)?u.catch(Z=>{throw l.runOutsideAngular(()=>n.handleError(Z)),Z}):u}catch(u){throw l.runOutsideAngular(()=>n.handleError(u)),u}}(P,b,()=>{const z=x.injector.get(lh);return z.runInitializers(),z.donePromise.then(()=>(function V0(n){Ir(n,"Expected localeId to be defined"),"string"==typeof n&&(H0=n.toLowerCase().replace(/_/g,"-"))}(x.injector.get(Bi,Za)||Za),this._moduleDoBootstrap(x),x))})})}bootstrapModule(u,Z=[]){const b=SZ({},Z);return function zF(n,l,d){const u=new Yp(d);return Promise.resolve(u)}(0,0,u).then(x=>this.bootstrapModuleFactory(x,b))}_moduleDoBootstrap(u){const Z=u.injector.get(Ea);if(u._bootstrapComponents.length>0)u._bootstrapComponents.forEach(b=>Z.bootstrap(b));else{if(!u.instance.ngDoBootstrap)throw new je(-403,!1);u.instance.ngDoBootstrap(Z)}this._modules.push(u)}onDestroy(u){this._destroyListeners.push(u)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new je(404,!1);this._modules.slice().forEach(Z=>Z.destroy()),this._destroyListeners.forEach(Z=>Z());const u=this._injector.get(Ah,null);u&&(u.forEach(Z=>Z()),u.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(mr))},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"platform"}),l})();function SZ(n,l){return Array.isArray(l)?l.reduce(SZ,n):{...n,...l}}let Ea=(()=>{var n;class l{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=st(NZ),this.zoneIsStable=st(mZ),this.componentTypes=[],this.components=[],this.isStable=st(uZ).hasPendingTasks.pipe(Gt(u=>u?Ct(!1):this.zoneIsStable),function dl(n,l=he){return n=n??Lu,Fe((d,u)=>{let Z,b=!0;d.subscribe(be(u,x=>{const P=l(x);(b||!n(Z,P))&&(b=!1,Z=P,u.next(x))}))})}(),ul()),this._injector=st(Mr)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(u,Z){const b=u instanceof Mg;if(!this._injector.get(lh).done)throw!b&&function So(n){const l=Lt(n)||Tn(n)||Qn(n);return null!==l&&l.standalone}(u),new je(405,!1);let P;P=b?u:this._injector.get(hc).resolveComponentFactory(u),this.componentTypes.push(P.componentType);const z=function GF(n){return n.isBoundToModule}(P)?void 0:this._injector.get(fo),re=P.create(mr.NULL,[],Z||P.selector,z),ue=re.location.nativeElement,_e=re.injector.get(EZ,null);return _e?.registerApplication(ue),re.onDestroy(()=>{this.detachView(re.hostView),kc(this.components,re),_e?.unregisterApplication(ue)}),this._loadComponent(re),re}tick(){if(this._runningTick)throw new je(101,!1);try{this._runningTick=!0;for(let u of this._views)u.detectChanges()}catch(u){this.internalErrorHandler(u)}finally{this._runningTick=!1}}attachView(u){const Z=u;this._views.push(Z),Z.attachToAppRef(this)}detachView(u){const Z=u;kc(this._views,Z),Z.detachFromAppRef()}_loadComponent(u){this.attachView(u.hostView),this.tick(),this.components.push(u);const Z=this._injector.get(gh,[]);Z.push(...this._bootstrapListeners),Z.forEach(b=>b(u))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(u=>u()),this._views.slice().forEach(u=>u.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(u){return this._destroyListeners.push(u),()=>kc(this._destroyListeners,u)}destroy(){if(this._destroyed)throw new je(406,!1);const u=this._injector;u.destroy&&!u.destroyed&&u.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();function kc(n,l){const d=n.indexOf(l);d>-1&&n.splice(d,1)}const NZ=new ct("",{providedIn:"root",factory:()=>st(co).handleError.bind(void 0)});function jF(){const n=st(pn),l=st(co);return d=>n.runOutsideAngular(()=>l.handleError(d))}let $F=(()=>{var n;class l{constructor(){this.zone=st(pn),this.applicationRef=st(Ea)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();let Xc=(()=>{class l{}return l.__NG_ELEMENT_ID__=ex,l})();function ex(n){return function tx(n,l,d){if(ro(n)&&!d){const u=gr(n.index,l);return new Zs(u,u)}return 47&n.type?new Zs(l[En],l):null}(Pn(),Ye(),16==(16&n))}const fx=wZ(null,"core",[]);let Cx=(()=>{var n;class l{constructor(u){}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Ea))},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})();function ba(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}let yh=null;function Ui(){return yh}class Mx{}const xr=new ct("DocumentToken");let Dh=(()=>{var n;class l{historyGo(u){throw new Error("Not implemented")}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(xx)},providedIn:"platform"}),l})();const Fx=new ct("Location Initialized");let xx=(()=>{var n;class l extends Dh{constructor(){super(),this._doc=st(xr),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ui().getBaseHref(this._doc)}onPopState(u){const Z=Ui().getGlobalEventTarget(this._doc,"window");return Z.addEventListener("popstate",u,!1),()=>Z.removeEventListener("popstate",u)}onHashChange(u){const Z=Ui().getGlobalEventTarget(this._doc,"window");return Z.addEventListener("hashchange",u,!1),()=>Z.removeEventListener("hashchange",u)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(u){this._location.pathname=u}pushState(u,Z,b){this._history.pushState(u,Z,b)}replaceState(u,Z,b){this._history.replaceState(u,Z,b)}forward(){this._history.forward()}back(){this._history.back()}historyGo(u=0){this._history.go(u)}getState(){return this._history.state}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return new n},providedIn:"platform"}),l})();function Ih(n,l){if(0==n.length)return l;if(0==l.length)return n;let d=0;return n.endsWith("/")&&d++,l.startsWith("/")&&d++,2==d?n+l.substring(1):1==d?n+l:n+"/"+l}function qZ(n){const l=n.match(/#|\?|$/),d=l&&l.index||n.length;return n.slice(0,d-("/"===n[d-1]?1:0))+n.slice(d)}function Mi(n){return n&&"?"!==n[0]?"?"+n:n}let Ao=(()=>{var n;class l{historyGo(u){throw new Error("Not implemented")}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(tm)},providedIn:"root"}),l})();const em=new ct("appBaseHref");let tm=(()=>{var n;class l extends Ao{constructor(u,Z){super(),this._platformLocation=u,this._removeListenerFns=[],this._baseHref=Z??this._platformLocation.getBaseHrefFromDOM()??st(xr).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(u){this._removeListenerFns.push(this._platformLocation.onPopState(u),this._platformLocation.onHashChange(u))}getBaseHref(){return this._baseHref}prepareExternalUrl(u){return Ih(this._baseHref,u)}path(u=!1){const Z=this._platformLocation.pathname+Mi(this._platformLocation.search),b=this._platformLocation.hash;return b&&u?`${Z}${b}`:Z}pushState(u,Z,b,x){const P=this.prepareExternalUrl(b+Mi(x));this._platformLocation.pushState(u,Z,P)}replaceState(u,Z,b,x){const P=this.prepareExternalUrl(b+Mi(x));this._platformLocation.replaceState(u,Z,P)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(u=0){this._platformLocation.historyGo?.(u)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Dh),ft(em,8))},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})(),Sx=(()=>{var n;class l extends Ao{constructor(u,Z){super(),this._platformLocation=u,this._baseHref="",this._removeListenerFns=[],null!=Z&&(this._baseHref=Z)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(u){this._removeListenerFns.push(this._platformLocation.onPopState(u),this._platformLocation.onHashChange(u))}getBaseHref(){return this._baseHref}path(u=!1){let Z=this._platformLocation.hash;return null==Z&&(Z="#"),Z.length>0?Z.substring(1):Z}prepareExternalUrl(u){const Z=Ih(this._baseHref,u);return Z.length>0?"#"+Z:Z}pushState(u,Z,b,x){let P=this.prepareExternalUrl(b+Mi(x));0==P.length&&(P=this._platformLocation.pathname),this._platformLocation.pushState(u,Z,P)}replaceState(u,Z,b,x){let P=this.prepareExternalUrl(b+Mi(x));0==P.length&&(P=this._platformLocation.pathname),this._platformLocation.replaceState(u,Z,P)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(u=0){this._platformLocation.historyGo?.(u)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Dh),ft(em,8))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})(),wh=(()=>{var n;class l{constructor(u){this._subject=new Xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=u;const Z=this._locationStrategy.getBaseHref();this._basePath=function Lx(n){if(new RegExp("^(https?:)?//").test(n)){const[,d]=n.split(/\/\/[^\/]+/);return d}return n}(qZ(nm(Z))),this._locationStrategy.onPopState(b=>{this._subject.emit({url:this.path(!0),pop:!0,state:b.state,type:b.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(u=!1){return this.normalize(this._locationStrategy.path(u))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(u,Z=""){return this.path()==this.normalize(u+Mi(Z))}normalize(u){return l.stripTrailingSlash(function Nx(n,l){if(!n||!l.startsWith(n))return l;const d=l.substring(n.length);return""===d||["/",";","?","#"].includes(d[0])?d:l}(this._basePath,nm(u)))}prepareExternalUrl(u){return u&&"/"!==u[0]&&(u="/"+u),this._locationStrategy.prepareExternalUrl(u)}go(u,Z="",b=null){this._locationStrategy.pushState(b,"",u,Z),this._notifyUrlChangeListeners(this.prepareExternalUrl(u+Mi(Z)),b)}replaceState(u,Z="",b=null){this._locationStrategy.replaceState(b,"",u,Z),this._notifyUrlChangeListeners(this.prepareExternalUrl(u+Mi(Z)),b)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(u=0){this._locationStrategy.historyGo?.(u)}onUrlChange(u){return this._urlChangeListeners.push(u),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Z=>{this._notifyUrlChangeListeners(Z.url,Z.state)})),()=>{const Z=this._urlChangeListeners.indexOf(u);this._urlChangeListeners.splice(Z,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(u="",Z){this._urlChangeListeners.forEach(b=>b(u,Z))}subscribe(u,Z,b){return this._subject.subscribe({next:u,error:Z,complete:b})}}return(n=l).normalizeQueryParams=Mi,n.joinWithSlash=Ih,n.stripTrailingSlash=qZ,n.\u0275fac=function(u){return new(u||n)(ft(Ao))},n.\u0275prov=ht({token:n,factory:function(){return function Ox(){return new wh(ft(Ao))}()},providedIn:"root"}),l})();function nm(n){return n.replace(/\/index.html$/,"")}let gm=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})();function Zm(n){return"server"===n}let nS=(()=>{var n;class l{}return(n=l).\u0275prov=ht({token:n,providedIn:"root",factory:()=>new rS(ft(xr),window)}),l})();class rS{constructor(l,d){this.document=l,this.window=d,this.offset=()=>[0,0]}setOffset(l){this.offset=Array.isArray(l)?()=>l:l}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(l){this.supportsScrolling()&&this.window.scrollTo(l[0],l[1])}scrollToAnchor(l){if(!this.supportsScrolling())return;const d=function iS(n,l){const d=n.getElementById(l)||n.getElementsByName(l)[0];if(d)return d;if("function"==typeof n.createTreeWalker&&n.body&&"function"==typeof n.body.attachShadow){const u=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let Z=u.currentNode;for(;Z;){const b=Z.shadowRoot;if(b){const x=b.getElementById(l)||b.querySelector(`[name="${l}"]`);if(x)return x}Z=u.nextNode()}}return null}(this.document,l);d&&(this.scrollToElement(d),d.focus())}setHistoryScrollRestoration(l){this.supportsScrolling()&&(this.window.history.scrollRestoration=l)}scrollToElement(l){const d=l.getBoundingClientRect(),u=d.left+this.window.pageXOffset,Z=d.top+this.window.pageYOffset,b=this.offset();this.window.scrollTo(u-b[0],Z-b[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class BS extends Mx{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Yh extends BS{static makeCurrent(){!function Bx(n){yh||(yh=n)}(new Yh)}onAndCancel(l,d,u){return l.addEventListener(d,u),()=>{l.removeEventListener(d,u)}}dispatchEvent(l,d){l.dispatchEvent(d)}remove(l){l.parentNode&&l.parentNode.removeChild(l)}createElement(l,d){return(d=d||this.getDefaultDocument()).createElement(l)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(l){return l.nodeType===Node.ELEMENT_NODE}isShadowRoot(l){return l instanceof DocumentFragment}getGlobalEventTarget(l,d){return"window"===d?window:"document"===d?l:"body"===d?l.body:null}getBaseHref(l){const d=function MS(){return Xs=Xs||document.querySelector("base"),Xs?Xs.getAttribute("href"):null}();return null==d?null:function FS(n){iu=iu||document.createElement("a"),iu.setAttribute("href",n);const l=iu.pathname;return"/"===l.charAt(0)?l:`/${l}`}(d)}resetBaseElement(){Xs=null}getUserAgent(){return window.navigator.userAgent}getCookie(l){return function Z5(n,l){l=encodeURIComponent(l);for(const d of n.split(";")){const u=d.indexOf("="),[Z,b]=-1==u?[d,""]:[d.slice(0,u),d.slice(u+1)];if(Z.trim()===l)return decodeURIComponent(b)}return null}(document.cookie,l)}}let iu,Xs=null,SS=(()=>{var n;class l{build(){return new XMLHttpRequest}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();const zh=new ct("EventManagerPlugins");let ym=(()=>{var n;class l{constructor(u,Z){this._zone=Z,this._eventNameToPlugin=new Map,u.forEach(b=>{b.manager=this}),this._plugins=u.slice().reverse()}addEventListener(u,Z,b){return this._findPluginFor(Z).addEventListener(u,Z,b)}getZone(){return this._zone}_findPluginFor(u){let Z=this._eventNameToPlugin.get(u);if(Z)return Z;if(Z=this._plugins.find(x=>x.supports(u)),!Z)throw new je(5101,!1);return this._eventNameToPlugin.set(u,Z),Z}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(zh),ft(pn))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();class Dm{constructor(l){this._doc=l}}const Gh="ng-app-id";let Im=(()=>{var n;class l{constructor(u,Z,b,x={}){this.doc=u,this.appId=Z,this.nonce=b,this.platformId=x,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Zm(x),this.resetHostNodes()}addStyles(u){for(const Z of u)1===this.changeUsageCount(Z,1)&&this.onStyleAdded(Z)}removeStyles(u){for(const Z of u)this.changeUsageCount(Z,-1)<=0&&this.onStyleRemoved(Z)}ngOnDestroy(){const u=this.styleNodesInDOM;u&&(u.forEach(Z=>Z.remove()),u.clear());for(const Z of this.getAllStyles())this.onStyleRemoved(Z);this.resetHostNodes()}addHost(u){this.hostNodes.add(u);for(const Z of this.getAllStyles())this.addStyleToHost(u,Z)}removeHost(u){this.hostNodes.delete(u)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(u){for(const Z of this.hostNodes)this.addStyleToHost(Z,u)}onStyleRemoved(u){const Z=this.styleRef;Z.get(u)?.elements?.forEach(b=>b.remove()),Z.delete(u)}collectServerRenderedStyles(){const u=this.doc.head?.querySelectorAll(`style[${Gh}="${this.appId}"]`);if(u?.length){const Z=new Map;return u.forEach(b=>{null!=b.textContent&&Z.set(b.textContent,b)}),Z}return null}changeUsageCount(u,Z){const b=this.styleRef;if(b.has(u)){const x=b.get(u);return x.usage+=Z,x.usage}return b.set(u,{usage:Z,elements:[]}),Z}getStyleElement(u,Z){const b=this.styleNodesInDOM,x=b?.get(Z);if(x?.parentNode===u)return b.delete(Z),x.removeAttribute(Gh),x;{const P=this.doc.createElement("style");return this.nonce&&P.setAttribute("nonce",this.nonce),P.textContent=Z,this.platformIsServer&&P.setAttribute(Gh,this.appId),P}}addStyleToHost(u,Z){const b=this.getStyleElement(u,Z);u.appendChild(b);const x=this.styleRef,P=x.get(Z)?.elements;P?P.push(b):x.set(Z,{elements:[b],usage:1})}resetHostNodes(){const u=this.hostNodes;u.clear(),u.add(this.doc.head)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(xr),ft(sc),ft(yg,8),ft(na))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();const Uh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qh=/%COMP%/g,TS=new ct("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Bm(n,l){return l.map(d=>d.replace(Qh,n))}let Mm=(()=>{var n;class l{constructor(u,Z,b,x,P,z,q,re=null){this.eventManager=u,this.sharedStylesHost=Z,this.appId=b,this.removeStylesOnCompDestroy=x,this.doc=P,this.platformId=z,this.ngZone=q,this.nonce=re,this.rendererByCompId=new Map,this.platformIsServer=Zm(z),this.defaultRenderer=new Jh(u,P,q,this.platformIsServer)}createRenderer(u,Z){if(!u||!Z)return this.defaultRenderer;this.platformIsServer&&Z.encapsulation===Tr.ShadowDom&&(Z={...Z,encapsulation:Tr.Emulated});const b=this.getOrCreateRenderer(u,Z);return b instanceof xm?b.applyToHost(u):b instanceof Wh&&b.applyStyles(),b}getOrCreateRenderer(u,Z){const b=this.rendererByCompId;let x=b.get(Z.id);if(!x){const P=this.doc,z=this.ngZone,q=this.eventManager,re=this.sharedStylesHost,ue=this.removeStylesOnCompDestroy,_e=this.platformIsServer;switch(Z.encapsulation){case Tr.Emulated:x=new xm(q,re,Z,this.appId,ue,P,z,_e);break;case Tr.ShadowDom:return new kS(q,re,u,Z,P,z,this.nonce,_e);default:x=new Wh(q,re,Z,ue,P,z,_e)}b.set(Z.id,x)}return x}ngOnDestroy(){this.rendererByCompId.clear()}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(ym),ft(Im),ft(sc),ft(TS),ft(xr),ft(na),ft(pn),ft(yg))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();class Jh{constructor(l,d,u,Z){this.eventManager=l,this.doc=d,this.ngZone=u,this.platformIsServer=Z,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(l,d){return d?this.doc.createElementNS(Uh[d]||d,l):this.doc.createElement(l)}createComment(l){return this.doc.createComment(l)}createText(l){return this.doc.createTextNode(l)}appendChild(l,d){(Fm(l)?l.content:l).appendChild(d)}insertBefore(l,d,u){l&&(Fm(l)?l.content:l).insertBefore(d,u)}removeChild(l,d){l&&l.removeChild(d)}selectRootElement(l,d){let u="string"==typeof l?this.doc.querySelector(l):l;if(!u)throw new je(-5104,!1);return d||(u.textContent=""),u}parentNode(l){return l.parentNode}nextSibling(l){return l.nextSibling}setAttribute(l,d,u,Z){if(Z){d=Z+":"+d;const b=Uh[Z];b?l.setAttributeNS(b,d,u):l.setAttribute(d,u)}else l.setAttribute(d,u)}removeAttribute(l,d,u){if(u){const Z=Uh[u];Z?l.removeAttributeNS(Z,d):l.removeAttribute(`${u}:${d}`)}else l.removeAttribute(d)}addClass(l,d){l.classList.add(d)}removeClass(l,d){l.classList.remove(d)}setStyle(l,d,u,Z){Z&(Vi.DashCase|Vi.Important)?l.style.setProperty(d,u,Z&Vi.Important?"important":""):l.style[d]=u}removeStyle(l,d,u){u&Vi.DashCase?l.style.removeProperty(d):l.style[d]=""}setProperty(l,d,u){l[d]=u}setValue(l,d){l.nodeValue=d}listen(l,d,u){if("string"==typeof l&&!(l=Ui().getGlobalEventTarget(this.doc,l)))throw new Error(`Unsupported event target ${l} for event ${d}`);return this.eventManager.addEventListener(l,d,this.decoratePreventDefault(u))}decoratePreventDefault(l){return d=>{if("__ngUnwrap__"===d)return l;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>l(d)):l(d))&&d.preventDefault()}}}function Fm(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class kS extends Jh{constructor(l,d,u,Z,b,x,P,z){super(l,b,x,z),this.sharedStylesHost=d,this.hostEl=u,this.shadowRoot=u.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const q=Bm(Z.id,Z.styles);for(const re of q){const ue=document.createElement("style");P&&ue.setAttribute("nonce",P),ue.textContent=re,this.shadowRoot.appendChild(ue)}}nodeOrShadowRoot(l){return l===this.hostEl?this.shadowRoot:l}appendChild(l,d){return super.appendChild(this.nodeOrShadowRoot(l),d)}insertBefore(l,d,u){return super.insertBefore(this.nodeOrShadowRoot(l),d,u)}removeChild(l,d){return super.removeChild(this.nodeOrShadowRoot(l),d)}parentNode(l){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(l)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Wh extends Jh{constructor(l,d,u,Z,b,x,P,z){super(l,b,x,P),this.sharedStylesHost=d,this.removeStylesOnCompDestroy=Z,this.styles=z?Bm(z,u.styles):u.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class xm extends Wh{constructor(l,d,u,Z,b,x,P,z){const q=Z+"-"+u.id;super(l,d,u,b,x,P,z,q),this.contentAttr=function RS(n){return"_ngcontent-%COMP%".replace(Qh,n)}(q),this.hostAttr=function PS(n){return"_nghost-%COMP%".replace(Qh,n)}(q)}applyToHost(l){this.applyStyles(),this.setAttribute(l,this.hostAttr,"")}createElement(l,d){const u=super.createElement(l,d);return super.setAttribute(u,this.contentAttr,""),u}}let XS=(()=>{var n;class l extends Dm{constructor(u){super(u)}supports(u){return!0}addEventListener(u,Z,b){return u.addEventListener(Z,b,!1),()=>this.removeEventListener(u,Z,b)}removeEventListener(u,Z,b){return u.removeEventListener(Z,b)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(xr))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();const Sm=["alt","control","meta","shift"],HS={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},VS={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let YS=(()=>{var n;class l extends Dm{constructor(u){super(u)}supports(u){return null!=l.parseEventName(u)}addEventListener(u,Z,b){const x=l.parseEventName(Z),P=l.eventCallback(x.fullKey,b,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ui().onAndCancel(u,x.domEventName,P))}static parseEventName(u){const Z=u.toLowerCase().split("."),b=Z.shift();if(0===Z.length||"keydown"!==b&&"keyup"!==b)return null;const x=l._normalizeKey(Z.pop());let P="",z=Z.indexOf("code");if(z>-1&&(Z.splice(z,1),P="code."),Sm.forEach(re=>{const ue=Z.indexOf(re);ue>-1&&(Z.splice(ue,1),P+=re+".")}),P+=x,0!=Z.length||0===x.length)return null;const q={};return q.domEventName=b,q.fullKey=P,q}static matchEventFullKeyCode(u,Z){let b=HS[u.key]||u.key,x="";return Z.indexOf("code.")>-1&&(b=u.code,x="code."),!(null==b||!b)&&(b=b.toLowerCase()," "===b?b="space":"."===b&&(b="dot"),Sm.forEach(P=>{P!==b&&(0,VS[P])(u)&&(x+=P+".")}),x+=b,x===Z)}static eventCallback(u,Z,b){return x=>{l.matchEventFullKeyCode(x,u)&&b.runGuarded(()=>Z(x))}}static _normalizeKey(u){return"esc"===u?"escape":u}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(xr))},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();const QS=wZ(fx,"browser",[{provide:na,useValue:"browser"},{provide:bg,useValue:function zS(){Yh.makeCurrent()},multi:!0},{provide:xr,useFactory:function US(){return function t2(n){Rd=n}(document),document},deps:[]}]),JS=new ct(""),Lm=[{provide:Kc,useClass:class xS{addToWindow(l){en.getAngularTestability=(u,Z=!0)=>{const b=l.findTestabilityInTree(u,Z);if(null==b)throw new je(5103,!1);return b},en.getAllAngularTestabilities=()=>l.getAllTestabilities(),en.getAllAngularRootElements=()=>l.getAllRootElements(),en.frameworkStabilizers||(en.frameworkStabilizers=[]),en.frameworkStabilizers.push(u=>{const Z=en.getAllAngularTestabilities();let b=Z.length,x=!1;const P=function(z){x=x||z,b--,0==b&&u(x)};Z.forEach(z=>{z.whenStable(P)})})}findTestabilityInTree(l,d,u){return null==d?null:l.getTestability(d)??(u?Ui().isShadowRoot(d)?this.findTestabilityInTree(l,d.host,!0):this.findTestabilityInTree(l,d.parentElement,!0):null)}},deps:[]},{provide:EZ,useClass:hh,deps:[pn,fh,Kc]},{provide:hh,useClass:hh,deps:[pn,fh,Kc]}],Tm=[{provide:Gd,useValue:"root"},{provide:co,useFactory:function GS(){return new co},deps:[]},{provide:zh,useClass:XS,multi:!0,deps:[xr,pn,na]},{provide:zh,useClass:YS,multi:!0,deps:[xr]},Mm,Im,ym,{provide:xg,useExisting:Mm},{provide:class oS{},useClass:SS,deps:[]},[]];let jS=(()=>{var n;class l{constructor(u){}static withServerTransition(u){return{ngModule:l,providers:[{provide:sc,useValue:u.appId}]}}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(JS,12))},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({providers:[...Tm,...Lm],imports:[gm,Cx]}),l})(),Rm=(()=>{var n;class l{constructor(u){this._doc=u}getTitle(){return this._doc.title}setTitle(u){this._doc.title=u||""}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(xr))},n.\u0275prov=ht({token:n,factory:function(u){let Z=null;return Z=u?new u:function qS(){return new Rm(ft(xr))}(),Z},providedIn:"root"}),l})();typeof window<"u"&&window;var ui=e(759);window,e(782),e(724);const{isArray:oO}=Array,{getPrototypeOf:aO,prototype:sO,keys:lO}=Object;const{isArray:uO}=Array;function $h(...n){const l=Wr(n),d=function Io(n){return a(Jr(n))?n.pop():void 0}(n),{args:u,keys:Z}=function Xm(n){if(1===n.length){const l=n[0];if(oO(l))return{args:l,keys:null};if(function cO(n){return n&&"object"==typeof n&&aO(n)===sO}(l)){const d=lO(l);return{args:d.map(u=>l[u]),keys:d}}}return{args:n,keys:null}}(n);if(0===u.length)return sn([],l);const b=new De(function pO(n,l,d=he){return u=>{Ym(l,()=>{const{length:Z}=n,b=new Array(Z);let x=Z,P=Z;for(let z=0;z{const q=sn(n[z],l);let re=!1;q.subscribe(be(u,ue=>{b[z]=ue,re||(re=!0,P--),P||u.next(d(b.slice()))},()=>{--x||u.complete()}))},u)},u)}}(u,l,Z?x=>function Vm(n,l){return n.reduce((d,u,Z)=>(d[u]=l[Z],d),{})}(Z,x):he));return d?b.pipe(function Hm(n){return xe(l=>function dO(n,l){return uO(l)?n(...l):n(l)}(n,l))}(d)):b}function Ym(n,l,d){n?yr(d,n,l):l()}const ou=c(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function qh(...n){return function hO(){return Lr(1)}()(sn(n,Wr(n)))}function zm(n){return new De(l=>{In(n()).subscribe(l)})}function Hs(n,l){const d=a(n)?n:()=>n,u=Z=>Z.error(d());return new De(l?Z=>l.schedule(u,0,Z):u)}function ef(){return Fe((n,l)=>{let d=null;n._refCount++;const u=be(l,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(d=null);const Z=n._connection,b=d;d=null,Z&&(!b||Z===b)&&Z.unsubscribe(),l.unsubscribe()});n.subscribe(u),u.closed||(d=n.connect())})}class Gm extends De{constructor(l,d){super(),this.source=l,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,Oe(l)&&(this.lift=l.lift)}_subscribe(l){return this.getSubject().subscribe(l)}getSubject(){const l=this._subject;return(!l||l.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:l}=this;this._subject=this._connection=null,l?.unsubscribe()}connect(){let l=this._connection;if(!l){l=this._connection=new f;const d=this.getSubject();l.add(this.source.subscribe(be(d,void 0,()=>{this._teardown(),d.complete()},u=>{this._teardown(),d.error(u)},()=>this._teardown()))),l.closed&&(this._connection=null,l=f.EMPTY)}return l}refCount(){return ef()(this)}}function Da(n){return n<=0?()=>Dr:Fe((l,d)=>{let u=0;l.subscribe(be(d,Z=>{++u<=n&&(d.next(Z),n<=u&&d.complete())}))})}function Ji(n,l){return Fe((d,u)=>{let Z=0;d.subscribe(be(u,b=>n.call(l,b,Z++)&&u.next(b)))})}function au(n){return Fe((l,d)=>{let u=!1;l.subscribe(be(d,Z=>{u=!0,d.next(Z)},()=>{u||d.next(n),d.complete()}))})}function Um(n=CO){return Fe((l,d)=>{let u=!1;l.subscribe(be(d,Z=>{u=!0,d.next(Z)},()=>u?d.complete():d.error(n())))})}function CO(){return new ou}function go(n,l){const d=arguments.length>=2;return u=>u.pipe(n?Ji((Z,b)=>n(Z,b,u)):he,Da(1),d?au(l):Um(()=>new ou))}function Vs(n,l){return a(l)?wn(n,l,1):wn(n,1)}function nr(n,l,d){const u=a(n)||l||d?{next:n,error:l,complete:d}:n;return u?Fe((Z,b)=>{var x;null===(x=u.subscribe)||void 0===x||x.call(u);let P=!0;Z.subscribe(be(b,z=>{var q;null===(q=u.next)||void 0===q||q.call(u,z),b.next(z)},()=>{var z;P=!1,null===(z=u.complete)||void 0===z||z.call(u),b.complete()},z=>{var q;P=!1,null===(q=u.error)||void 0===q||q.call(u,z),b.error(z)},()=>{var z,q;P&&(null===(z=u.unsubscribe)||void 0===z||z.call(u)),null===(q=u.finalize)||void 0===q||q.call(u)}))}):he}function _o(n){return Fe((l,d)=>{let b,u=null,Z=!1;u=l.subscribe(be(d,void 0,void 0,x=>{b=In(n(x,_o(n)(l))),u?(u.unsubscribe(),u=null,b.subscribe(d)):Z=!0})),Z&&(u.unsubscribe(),u=null,b.subscribe(d))})}function tf(n){return n<=0?()=>Dr:Fe((l,d)=>{let u=[];l.subscribe(be(d,Z=>{u.push(Z),n{for(const Z of u)d.next(Z);d.complete()},void 0,()=>{u=null}))})}function nf(n){return Fe((l,d)=>{try{l.subscribe(d)}finally{d.add(n)}})}const Dt="primary",Ys=Symbol("RouteTitle");class mO{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const d=this.params[l];return Array.isArray(d)?d[0]:d}return null}getAll(l){if(this.has(l)){const d=this.params[l];return Array.isArray(d)?d:[d]}return[]}get keys(){return Object.keys(this.params)}}function Ia(n){return new mO(n)}function vO(n,l,d){const u=d.path.split("/");if(u.length>n.length||"full"===d.pathMatch&&(l.hasChildren()||u.lengthu[b]===Z)}return n===l}function Jm(n){return n.length>0?n[n.length-1]:null}function Wi(n){return function iO(n){return!!n&&(n instanceof De||a(n.lift)&&a(n.subscribe))}(n)?n:Ds(n)?sn(Promise.resolve(n)):Ct(n)}const bO={exact:function $m(n,l,d){if(!Zo(n.segments,l.segments)||!su(n.segments,l.segments,d)||n.numberOfChildren!==l.numberOfChildren)return!1;for(const u in l.children)if(!n.children[u]||!$m(n.children[u],l.children[u],d))return!1;return!0},subset:qm},Wm={exact:function yO(n,l){return di(n,l)},subset:function DO(n,l){return Object.keys(l).length<=Object.keys(n).length&&Object.keys(l).every(d=>Qm(n[d],l[d]))},ignored:()=>!0};function jm(n,l,d){return bO[d.paths](n.root,l.root,d.matrixParams)&&Wm[d.queryParams](n.queryParams,l.queryParams)&&!("exact"===d.fragment&&n.fragment!==l.fragment)}function qm(n,l,d){return tv(n,l,l.segments,d)}function tv(n,l,d,u){if(n.segments.length>d.length){const Z=n.segments.slice(0,d.length);return!(!Zo(Z,d)||l.hasChildren()||!su(Z,d,u))}if(n.segments.length===d.length){if(!Zo(n.segments,d)||!su(n.segments,d,u))return!1;for(const Z in l.children)if(!n.children[Z]||!qm(n.children[Z],l.children[Z],u))return!1;return!0}{const Z=d.slice(0,n.segments.length),b=d.slice(n.segments.length);return!!(Zo(n.segments,Z)&&su(n.segments,Z,u)&&n.children[Dt])&&tv(n.children[Dt],l,b,u)}}function su(n,l,d){return l.every((u,Z)=>Wm[d](n[Z].parameters,u.parameters))}class wa{constructor(l=new Qt([],{}),d={},u=null){this.root=l,this.queryParams=d,this.fragment=u}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ia(this.queryParams)),this._queryParamMap}toString(){return BO.serialize(this)}}class Qt{constructor(l,d){this.segments=l,this.children=d,this.parent=null,Object.values(d).forEach(u=>u.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return lu(this)}}class zs{constructor(l,d){this.path=l,this.parameters=d}get parameterMap(){return this._parameterMap||(this._parameterMap=Ia(this.parameters)),this._parameterMap}toString(){return iv(this)}}function Zo(n,l){return n.length===l.length&&n.every((d,u)=>d.path===l[u].path)}let Gs=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return new rf},providedIn:"root"}),l})();class rf{parse(l){const d=new KO(l);return new wa(d.parseRootSegment(),d.parseQueryParams(),d.parseFragment())}serialize(l){const d=`/${Us(l.root,!0)}`,u=function xO(n){const l=Object.keys(n).map(d=>{const u=n[d];return Array.isArray(u)?u.map(Z=>`${cu(d)}=${cu(Z)}`).join("&"):`${cu(d)}=${cu(u)}`}).filter(d=>!!d);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${d}${u}${"string"==typeof l.fragment?`#${function MO(n){return encodeURI(n)}(l.fragment)}`:""}`}}const BO=new rf;function lu(n){return n.segments.map(l=>iv(l)).join("/")}function Us(n,l){if(!n.hasChildren())return lu(n);if(l){const d=n.children[Dt]?Us(n.children[Dt],!1):"",u=[];return Object.entries(n.children).forEach(([Z,b])=>{Z!==Dt&&u.push(`${Z}:${Us(b,!1)}`)}),u.length>0?`${d}(${u.join("//")})`:d}{const d=function wO(n,l){let d=[];return Object.entries(n.children).forEach(([u,Z])=>{u===Dt&&(d=d.concat(l(Z,u)))}),Object.entries(n.children).forEach(([u,Z])=>{u!==Dt&&(d=d.concat(l(Z,u)))}),d}(n,(u,Z)=>Z===Dt?[Us(n.children[Dt],!1)]:[`${Z}:${Us(u,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Dt]?`${lu(n)}/${d[0]}`:`${lu(n)}/(${d.join("//")})`}}function nv(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function cu(n){return nv(n).replace(/%3B/gi,";")}function af(n){return nv(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function uu(n){return decodeURIComponent(n)}function rv(n){return uu(n.replace(/\+/g,"%20"))}function iv(n){return`${af(n.path)}${function FO(n){return Object.keys(n).map(l=>`;${af(l)}=${af(n[l])}`).join("")}(n.parameters)}`}const SO=/^[^\/()?;#]+/;function sf(n){const l=n.match(SO);return l?l[0]:""}const OO=/^[^\/()?;=#]+/,LO=/^[^=?&#]+/,RO=/^[^&#]+/;class KO{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qt([],{}):new Qt([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let d={};this.peekStartsWith("/(")&&(this.capture("/"),d=this.parseParens(!0));let u={};return this.peekStartsWith("(")&&(u=this.parseParens(!1)),(l.length>0||Object.keys(d).length>0)&&(u[Dt]=new Qt(l,d)),u}parseSegment(){const l=sf(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new je(4009,!1);return this.capture(l),new zs(uu(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const d=function NO(n){const l=n.match(OO);return l?l[0]:""}(this.remaining);if(!d)return;this.capture(d);let u="";if(this.consumeOptional("=")){const Z=sf(this.remaining);Z&&(u=Z,this.capture(u))}l[uu(d)]=uu(u)}parseQueryParam(l){const d=function TO(n){const l=n.match(LO);return l?l[0]:""}(this.remaining);if(!d)return;this.capture(d);let u="";if(this.consumeOptional("=")){const x=function PO(n){const l=n.match(RO);return l?l[0]:""}(this.remaining);x&&(u=x,this.capture(u))}const Z=rv(d),b=rv(u);if(l.hasOwnProperty(Z)){let x=l[Z];Array.isArray(x)||(x=[x],l[Z]=x),x.push(b)}else l[Z]=b}parseParens(l){const d={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const u=sf(this.remaining),Z=this.remaining[u.length];if("/"!==Z&&")"!==Z&&";"!==Z)throw new je(4010,!1);let b;u.indexOf(":")>-1?(b=u.slice(0,u.indexOf(":")),this.capture(b),this.capture(":")):l&&(b=Dt);const x=this.parseChildren();d[b]=1===Object.keys(x).length?x[Dt]:new Qt([],x),this.consumeOptional("//")}return d}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new je(4011,!1)}}function ov(n){return n.segments.length>0?new Qt([],{[Dt]:n}):n}function av(n){const l={};for(const u of Object.keys(n.children)){const b=av(n.children[u]);if(u===Dt&&0===b.segments.length&&b.hasChildren())for(const[x,P]of Object.entries(b.children))l[x]=P;else(b.segments.length>0||b.hasChildren())&&(l[u]=b)}return function kO(n){if(1===n.numberOfChildren&&n.children[Dt]){const l=n.children[Dt];return new Qt(n.segments.concat(l.segments),l.children)}return n}(new Qt(n.segments,l))}function mo(n){return n instanceof wa}function sv(n){let l;const Z=ov(function d(b){const x={};for(const z of b.children){const q=d(z);x[z.outlet]=q}const P=new Qt(b.url,x);return b===n&&(l=P),P}(n.root));return l??Z}function lv(n,l,d,u){let Z=n;for(;Z.parent;)Z=Z.parent;if(0===l.length)return lf(Z,Z,Z,d,u);const b=function VO(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new uv(!0,0,n);let l=0,d=!1;const u=n.reduce((Z,b,x)=>{if("object"==typeof b&&null!=b){if(b.outlets){const P={};return Object.entries(b.outlets).forEach(([z,q])=>{P[z]="string"==typeof q?q.split("/"):q}),[...Z,{outlets:P}]}if(b.segmentPath)return[...Z,b.segmentPath]}return"string"!=typeof b?[...Z,b]:0===x?(b.split("/").forEach((P,z)=>{0==z&&"."===P||(0==z&&""===P?d=!0:".."===P?l++:""!=P&&Z.push(P))}),Z):[...Z,b]},[]);return new uv(d,l,u)}(l);if(b.toRoot())return lf(Z,Z,new Qt([],{}),d,u);const x=function YO(n,l,d){if(n.isAbsolute)return new pu(l,!0,0);if(!d)return new pu(l,!1,NaN);if(null===d.parent)return new pu(d,!0,0);const u=du(n.commands[0])?0:1;return function zO(n,l,d){let u=n,Z=l,b=d;for(;b>Z;){if(b-=Z,u=u.parent,!u)throw new je(4005,!1);Z=u.segments.length}return new pu(u,!1,Z-b)}(d,d.segments.length-1+u,n.numberOfDoubleDots)}(b,Z,n),P=x.processChildren?Js(x.segmentGroup,x.index,b.commands):dv(x.segmentGroup,x.index,b.commands);return lf(Z,x.segmentGroup,P,d,u)}function du(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function Qs(n){return"object"==typeof n&&null!=n&&n.outlets}function lf(n,l,d,u,Z){let x,b={};u&&Object.entries(u).forEach(([z,q])=>{b[z]=Array.isArray(q)?q.map(re=>`${re}`):`${q}`}),x=n===l?d:cv(n,l,d);const P=ov(av(x));return new wa(P,b,Z)}function cv(n,l,d){const u={};return Object.entries(n.children).forEach(([Z,b])=>{u[Z]=b===l?d:cv(b,l,d)}),new Qt(n.segments,u)}class uv{constructor(l,d,u){if(this.isAbsolute=l,this.numberOfDoubleDots=d,this.commands=u,l&&u.length>0&&du(u[0]))throw new je(4003,!1);const Z=u.find(Qs);if(Z&&Z!==Jm(u))throw new je(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pu{constructor(l,d,u){this.segmentGroup=l,this.processChildren=d,this.index=u}}function dv(n,l,d){if(n||(n=new Qt([],{})),0===n.segments.length&&n.hasChildren())return Js(n,l,d);const u=function UO(n,l,d){let u=0,Z=l;const b={match:!1,pathIndex:0,commandIndex:0};for(;Z=d.length)return b;const x=n.segments[Z],P=d[u];if(Qs(P))break;const z=`${P}`,q=u0&&void 0===z)break;if(z&&q&&"object"==typeof q&&void 0===q.outlets){if(!hv(z,q,x))return b;u+=2}else{if(!hv(z,{},x))return b;u++}Z++}return{match:!0,pathIndex:Z,commandIndex:u}}(n,l,d),Z=d.slice(u.commandIndex);if(u.match&&u.pathIndexb!==Dt)&&n.children[Dt]&&1===n.numberOfChildren&&0===n.children[Dt].segments.length){const b=Js(n.children[Dt],l,d);return new Qt(n.segments,b.children)}return Object.entries(u).forEach(([b,x])=>{"string"==typeof x&&(x=[x]),null!==x&&(Z[b]=dv(n.children[b],l,x))}),Object.entries(n.children).forEach(([b,x])=>{void 0===u[b]&&(Z[b]=x)}),new Qt(n.segments,Z)}}function cf(n,l,d){const u=n.segments.slice(0,l);let Z=0;for(;Z{"string"==typeof u&&(u=[u]),null!==u&&(l[d]=cf(new Qt([],{}),0,u))}),l}function pv(n){const l={};return Object.entries(n).forEach(([d,u])=>l[d]=`${u}`),l}function hv(n,l,d){return n==d.path&&di(l,d.parameters)}const Ws="imperative";class pi{constructor(l,d){this.id=l,this.url=d}}class uf extends pi{constructor(l,d,u="imperative",Z=null){super(l,d),this.type=0,this.navigationTrigger=u,this.restoredState=Z}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class vo extends pi{constructor(l,d,u){super(l,d),this.urlAfterRedirects=u,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class hu extends pi{constructor(l,d,u,Z){super(l,d),this.reason=u,this.code=Z,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class js extends pi{constructor(l,d,u,Z){super(l,d),this.reason=u,this.code=Z,this.type=16}}class df extends pi{constructor(l,d,u,Z){super(l,d),this.error=u,this.target=Z,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class JO extends pi{constructor(l,d,u,Z){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class WO extends pi{constructor(l,d,u,Z){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jO extends pi{constructor(l,d,u,Z,b){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.shouldActivate=b,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class $O extends pi{constructor(l,d,u,Z){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qO extends pi{constructor(l,d,u,Z){super(l,d),this.urlAfterRedirects=u,this.state=Z,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class e4{constructor(l){this.route=l,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class t4{constructor(l){this.route=l,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class n4{constructor(l){this.snapshot=l,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class r4{constructor(l){this.snapshot=l,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class i4{constructor(l){this.snapshot=l,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class o4{constructor(l){this.snapshot=l,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fv{constructor(l,d,u){this.routerEvent=l,this.position=d,this.anchor=u,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class a4{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new $s,this.attachRef=null}}let $s=(()=>{var n;class l{constructor(){this.contexts=new Map}onChildOutletCreated(u,Z){const b=this.getOrCreateContext(u);b.outlet=Z,this.contexts.set(u,b)}onChildOutletDestroyed(u){const Z=this.getContext(u);Z&&(Z.outlet=null,Z.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let Z=this.getContext(u);return Z||(Z=new a4,this.contexts.set(u,Z)),Z}getContext(u){return this.contexts.get(u)||null}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();class Cv{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const d=this.pathFromRoot(l);return d.length>1?d[d.length-2]:null}children(l){const d=pf(l,this._root);return d?d.children.map(u=>u.value):[]}firstChild(l){const d=pf(l,this._root);return d&&d.children.length>0?d.children[0].value:null}siblings(l){const d=hf(l,this._root);return d.length<2?[]:d[d.length-2].children.map(Z=>Z.value).filter(Z=>Z!==l)}pathFromRoot(l){return hf(l,this._root).map(d=>d.value)}}function pf(n,l){if(n===l.value)return l;for(const d of l.children){const u=pf(n,d);if(u)return u}return null}function hf(n,l){if(n===l.value)return[l];for(const d of l.children){const u=hf(n,d);if(u.length)return u.unshift(l),u}return[]}class Si{constructor(l,d){this.value=l,this.children=d}toString(){return`TreeNode(${this.value})`}}function Ba(n){const l={};return n&&n.children.forEach(d=>l[d.value.outlet]=d),l}class Av extends Cv{constructor(l,d){super(l),this.snapshot=d,ff(this,l)}toString(){return this.snapshot.toString()}}function gv(n,l){const d=function s4(n,l){const x=new fu([],{},{},"",{},Dt,l,null,{});return new Zv("",new Si(x,[]))}(0,l),u=new de([new zs("",{})]),Z=new de({}),b=new de({}),x=new de({}),P=new de(""),z=new Ma(u,Z,x,P,b,Dt,l,d.root);return z.snapshot=d.root,new Av(new Si(z,[]),d)}class Ma{constructor(l,d,u,Z,b,x,P,z){this.urlSubject=l,this.paramsSubject=d,this.queryParamsSubject=u,this.fragmentSubject=Z,this.dataSubject=b,this.outlet=x,this.component=P,this._futureSnapshot=z,this.title=this.dataSubject?.pipe(xe(q=>q[Ys]))??Ct(void 0),this.url=l,this.params=d,this.queryParams=u,this.fragment=Z,this.data=b}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(xe(l=>Ia(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(xe(l=>Ia(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _v(n,l="emptyOnly"){const d=n.pathFromRoot;let u=0;if("always"!==l)for(u=d.length-1;u>=1;){const Z=d[u],b=d[u-1];if(Z.routeConfig&&""===Z.routeConfig.path)u--;else{if(b.component)break;u--}}return function l4(n){return n.reduce((l,d)=>({params:{...l.params,...d.params},data:{...l.data,...d.data},resolve:{...d.data,...l.resolve,...d.routeConfig?.data,...d._resolvedData}}),{params:{},data:{},resolve:{}})}(d.slice(u))}class fu{get title(){return this.data?.[Ys]}constructor(l,d,u,Z,b,x,P,z,q){this.url=l,this.params=d,this.queryParams=u,this.fragment=Z,this.data=b,this.outlet=x,this.component=P,this.routeConfig=z,this._resolve=q}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ia(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ia(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(u=>u.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zv extends Cv{constructor(l,d){super(d),this.url=l,ff(this,d)}toString(){return mv(this._root)}}function ff(n,l){l.value._routerState=n,l.children.forEach(d=>ff(n,d))}function mv(n){const l=n.children.length>0?` { ${n.children.map(mv).join(", ")} } `:"";return`${n.value}${l}`}function Cf(n){if(n.snapshot){const l=n.snapshot,d=n._futureSnapshot;n.snapshot=d,di(l.queryParams,d.queryParams)||n.queryParamsSubject.next(d.queryParams),l.fragment!==d.fragment&&n.fragmentSubject.next(d.fragment),di(l.params,d.params)||n.paramsSubject.next(d.params),function EO(n,l){if(n.length!==l.length)return!1;for(let d=0;ddi(d.parameters,l[u].parameters))}(n.url,l.url);return d&&!(!n.parent!=!l.parent)&&(!n.parent||Af(n.parent,l.parent))}let gf=(()=>{var n;class l{constructor(){this.activated=null,this._activatedRoute=null,this.name=Dt,this.activateEvents=new Xe,this.deactivateEvents=new Xe,this.attachEvents=new Xe,this.detachEvents=new Xe,this.parentContexts=st($s),this.location=st(Yr),this.changeDetector=st(Xc),this.environmentInjector=st(Mr),this.inputBinder=st(Cu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(u){if(u.name){const{firstChange:Z,previousValue:b}=u.name;if(Z)return;this.isTrackedInParentContexts(b)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(b)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(u){return this.parentContexts.getContext(u)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const u=this.parentContexts.getContext(this.name);u?.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new je(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new je(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new je(4012,!1);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,Z){this.activated=u,this._activatedRoute=Z,this.location.insert(u.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,Z){if(this.isActivated)throw new je(4013,!1);this._activatedRoute=u;const b=this.location,P=u.snapshot.component,z=this.parentContexts.getOrCreateContext(this.name).children,q=new c4(u,z,b.injector);this.activated=b.createComponent(P,{index:b.length,injector:q,environmentInjector:Z??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275dir=Zt({type:n,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ar]}),l})();class c4{constructor(l,d,u){this.route=l,this.childContexts=d,this.parent=u}get(l,d){return l===Ma?this.route:l===$s?this.childContexts:this.parent.get(l,d)}}const Cu=new ct("");let vv=(()=>{var n;class l{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(u){this.unsubscribeFromRouteData(u),this.subscribeToRouteData(u)}unsubscribeFromRouteData(u){this.outletDataSubscriptions.get(u)?.unsubscribe(),this.outletDataSubscriptions.delete(u)}subscribeToRouteData(u){const{activatedRoute:Z}=u,b=$h([Z.queryParams,Z.params,Z.data]).pipe(Gt(([x,P,z],q)=>(z={...x,...P,...z},0===q?Ct(z):Promise.resolve(z)))).subscribe(x=>{if(!u.isActivated||!u.activatedComponentRef||u.activatedRoute!==Z||null===Z.component)return void this.unsubscribeFromRouteData(u);const P=function wx(n){const l=Lt(n);if(!l)return null;const d=new ms(l);return{get selector(){return d.selector},get type(){return d.componentType},get inputs(){return d.inputs},get outputs(){return d.outputs},get ngContentSelectors(){return d.ngContentSelectors},get isStandalone(){return l.standalone},get isSignal(){return l.signals}}}(Z.component);if(P)for(const{templateName:z}of P.inputs)u.activatedComponentRef.setInput(z,x[z]);else this.unsubscribeFromRouteData(u)});this.outletDataSubscriptions.set(u,b)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();function qs(n,l,d){if(d&&n.shouldReuseRoute(l.value,d.value.snapshot)){const u=d.value;u._futureSnapshot=l.value;const Z=function d4(n,l,d){return l.children.map(u=>{for(const Z of d.children)if(n.shouldReuseRoute(u.value,Z.value.snapshot))return qs(n,u,Z);return qs(n,u)})}(n,l,d);return new Si(u,Z)}{if(n.shouldAttach(l.value)){const b=n.retrieve(l.value);if(null!==b){const x=b.route;return x.value._futureSnapshot=l.value,x.children=l.children.map(P=>qs(n,P)),x}}const u=function p4(n){return new Ma(new de(n.url),new de(n.params),new de(n.queryParams),new de(n.fragment),new de(n.data),n.outlet,n.component,n)}(l.value),Z=l.children.map(b=>qs(n,b));return new Si(u,Z)}}const _f="ngNavigationCancelingError";function Ev(n,l){const{redirectTo:d,navigationBehaviorOptions:u}=mo(l)?{redirectTo:l,navigationBehaviorOptions:void 0}:l,Z=bv(!1,0,l);return Z.url=d,Z.navigationBehaviorOptions=u,Z}function bv(n,l,d){const u=new Error("NavigationCancelingError: "+(n||""));return u[_f]=!0,u.cancellationCode=l,d&&(u.url=d),u}function yv(n){return Dv(n)&&mo(n.url)}function Dv(n){return n&&n[_f]}let Iv=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["ng-component"]],standalone:!0,features:[g1],decls:1,vars:0,template:function(u,Z){1&u&&Er(0,"router-outlet")},dependencies:[gf],encapsulation:2}),l})();function Zf(n){const l=n.children&&n.children.map(Zf),d=l?{...n,children:l}:{...n};return!d.component&&!d.loadComponent&&(l||d.loadChildren)&&d.outlet&&d.outlet!==Dt&&(d.component=Iv),d}function Ur(n){return n.outlet||Dt}function el(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let l=n.parent;l;l=l.parent){const d=l.routeConfig;if(d?._loadedInjector)return d._loadedInjector;if(d?._injector)return d._injector}return null}class m4{constructor(l,d,u,Z,b){this.routeReuseStrategy=l,this.futureState=d,this.currState=u,this.forwardEvent=Z,this.inputBindingEnabled=b}activate(l){const d=this.futureState._root,u=this.currState?this.currState._root:null;this.deactivateChildRoutes(d,u,l),Cf(this.futureState.root),this.activateChildRoutes(d,u,l)}deactivateChildRoutes(l,d,u){const Z=Ba(d);l.children.forEach(b=>{const x=b.value.outlet;this.deactivateRoutes(b,Z[x],u),delete Z[x]}),Object.values(Z).forEach(b=>{this.deactivateRouteAndItsChildren(b,u)})}deactivateRoutes(l,d,u){const Z=l.value,b=d?d.value:null;if(Z===b)if(Z.component){const x=u.getContext(Z.outlet);x&&this.deactivateChildRoutes(l,d,x.children)}else this.deactivateChildRoutes(l,d,u);else b&&this.deactivateRouteAndItsChildren(d,u)}deactivateRouteAndItsChildren(l,d){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,d):this.deactivateRouteAndOutlet(l,d)}detachAndStoreRouteSubtree(l,d){const u=d.getContext(l.value.outlet),Z=u&&l.value.component?u.children:d,b=Ba(l);for(const x of Object.keys(b))this.deactivateRouteAndItsChildren(b[x],Z);if(u&&u.outlet){const x=u.outlet.detach(),P=u.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:x,route:l,contexts:P})}}deactivateRouteAndOutlet(l,d){const u=d.getContext(l.value.outlet),Z=u&&l.value.component?u.children:d,b=Ba(l);for(const x of Object.keys(b))this.deactivateRouteAndItsChildren(b[x],Z);u&&(u.outlet&&(u.outlet.deactivate(),u.children.onOutletDeactivated()),u.attachRef=null,u.route=null)}activateChildRoutes(l,d,u){const Z=Ba(d);l.children.forEach(b=>{this.activateRoutes(b,Z[b.value.outlet],u),this.forwardEvent(new o4(b.value.snapshot))}),l.children.length&&this.forwardEvent(new r4(l.value.snapshot))}activateRoutes(l,d,u){const Z=l.value,b=d?d.value:null;if(Cf(Z),Z===b)if(Z.component){const x=u.getOrCreateContext(Z.outlet);this.activateChildRoutes(l,d,x.children)}else this.activateChildRoutes(l,d,u);else if(Z.component){const x=u.getOrCreateContext(Z.outlet);if(this.routeReuseStrategy.shouldAttach(Z.snapshot)){const P=this.routeReuseStrategy.retrieve(Z.snapshot);this.routeReuseStrategy.store(Z.snapshot,null),x.children.onOutletReAttached(P.contexts),x.attachRef=P.componentRef,x.route=P.route.value,x.outlet&&x.outlet.attach(P.componentRef,P.route.value),Cf(P.route.value),this.activateChildRoutes(l,null,x.children)}else{const P=el(Z.snapshot);x.attachRef=null,x.route=Z,x.injector=P,x.outlet&&x.outlet.activateWith(Z,x.injector),this.activateChildRoutes(l,null,x.children)}}else this.activateChildRoutes(l,null,u)}}class wv{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class Au{constructor(l,d){this.component=l,this.route=d}}function v4(n,l,d){const u=n._root;return tl(u,l?l._root:null,d,[u.value])}function Fa(n,l){const d=Symbol(),u=l.get(n,d);return u===d?"function"!=typeof n||function pb(n){return null!==hl(n)}(n)?l.get(n):n:u}function tl(n,l,d,u,Z={canDeactivateChecks:[],canActivateChecks:[]}){const b=Ba(l);return n.children.forEach(x=>{(function b4(n,l,d,u,Z={canDeactivateChecks:[],canActivateChecks:[]}){const b=n.value,x=l?l.value:null,P=d?d.getContext(n.value.outlet):null;if(x&&b.routeConfig===x.routeConfig){const z=function y4(n,l,d){if("function"==typeof d)return d(n,l);switch(d){case"pathParamsChange":return!Zo(n.url,l.url);case"pathParamsOrQueryParamsChange":return!Zo(n.url,l.url)||!di(n.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Af(n,l)||!di(n.queryParams,l.queryParams);default:return!Af(n,l)}}(x,b,b.routeConfig.runGuardsAndResolvers);z?Z.canActivateChecks.push(new wv(u)):(b.data=x.data,b._resolvedData=x._resolvedData),tl(n,l,b.component?P?P.children:null:d,u,Z),z&&P&&P.outlet&&P.outlet.isActivated&&Z.canDeactivateChecks.push(new Au(P.outlet.component,x))}else x&&nl(l,P,Z),Z.canActivateChecks.push(new wv(u)),tl(n,null,b.component?P?P.children:null:d,u,Z)})(x,b[x.value.outlet],d,u.concat([x.value]),Z),delete b[x.value.outlet]}),Object.entries(b).forEach(([x,P])=>nl(P,d.getContext(x),Z)),Z}function nl(n,l,d){const u=Ba(n),Z=n.value;Object.entries(u).forEach(([b,x])=>{nl(x,Z.component?l?l.children.getContext(b):null:l,d)}),d.canDeactivateChecks.push(new Au(Z.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,Z))}function rl(n){return"function"==typeof n}function Bv(n){return n instanceof ou||"EmptyError"===n?.name}const gu=Symbol("INITIAL_VALUE");function xa(){return Gt(n=>$h(n.map(l=>l.pipe(Da(1),function fO(...n){const l=Wr(n);return Fe((d,u)=>{(l?qh(n,d,l):qh(n,d)).subscribe(u)})}(gu)))).pipe(xe(l=>{for(const d of l)if(!0!==d){if(d===gu)return gu;if(!1===d||d instanceof wa)return d}return!0}),Ji(l=>l!==gu),Da(1)))}function Mv(n){return function fe(...n){return ie(n)}(nr(l=>{if(mo(l))throw Ev(0,l)}),xe(l=>!0===l))}class _u{constructor(l){this.segmentGroup=l||null}}class Fv{constructor(l){this.urlTree=l}}function Sa(n){return Hs(new _u(n))}function xv(n){return Hs(new Fv(n))}class z4{constructor(l,d){this.urlSerializer=l,this.urlTree=d}noMatchError(l){return new je(4002,!1)}lineralizeSegments(l,d){let u=[],Z=d.root;for(;;){if(u=u.concat(Z.segments),0===Z.numberOfChildren)return Ct(u);if(Z.numberOfChildren>1||!Z.children[Dt])return Hs(new je(4e3,!1));Z=Z.children[Dt]}}applyRedirectCommands(l,d,u){return this.applyRedirectCreateUrlTree(d,this.urlSerializer.parse(d),l,u)}applyRedirectCreateUrlTree(l,d,u,Z){const b=this.createSegmentGroup(l,d.root,u,Z);return new wa(b,this.createQueryParams(d.queryParams,this.urlTree.queryParams),d.fragment)}createQueryParams(l,d){const u={};return Object.entries(l).forEach(([Z,b])=>{if("string"==typeof b&&b.startsWith(":")){const P=b.substring(1);u[Z]=d[P]}else u[Z]=b}),u}createSegmentGroup(l,d,u,Z){const b=this.createSegments(l,d.segments,u,Z);let x={};return Object.entries(d.children).forEach(([P,z])=>{x[P]=this.createSegmentGroup(l,z,u,Z)}),new Qt(b,x)}createSegments(l,d,u,Z){return d.map(b=>b.path.startsWith(":")?this.findPosParam(l,b,Z):this.findOrReturn(b,u))}findPosParam(l,d,u){const Z=u[d.path.substring(1)];if(!Z)throw new je(4001,!1);return Z}findOrReturn(l,d){let u=0;for(const Z of d){if(Z.path===l.path)return d.splice(u),Z;u++}return l}}const mf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function G4(n,l,d,u,Z){const b=vf(n,l,d);return b.matched?(u=function h4(n,l){return n.providers&&!n._injector&&(n._injector=zp(n.providers,l,`Route: ${n.path}`)),n._injector??l}(l,u),function H4(n,l,d,u){const Z=l.canMatch;return Z&&0!==Z.length?Ct(Z.map(x=>{const P=Fa(x,n);return Wi(function F4(n){return n&&rl(n.canMatch)}(P)?P.canMatch(l,d):n.runInContext(()=>P(l,d)))})).pipe(xa(),Mv()):Ct(!0)}(u,l,d).pipe(xe(x=>!0===x?b:{...mf}))):Ct(b)}function vf(n,l,d){if(""===l.path)return"full"===l.pathMatch&&(n.hasChildren()||d.length>0)?{...mf}:{matched:!0,consumedSegments:[],remainingSegments:d,parameters:{},positionalParamSegments:{}};const Z=(l.matcher||vO)(d,n,l);if(!Z)return{...mf};const b={};Object.entries(Z.posParams??{}).forEach(([P,z])=>{b[P]=z.path});const x=Z.consumed.length>0?{...b,...Z.consumed[Z.consumed.length-1].parameters}:b;return{matched:!0,consumedSegments:Z.consumed,remainingSegments:d.slice(Z.consumed.length),parameters:x,positionalParamSegments:Z.posParams??{}}}function Sv(n,l,d,u){return d.length>0&&function J4(n,l,d){return d.some(u=>Zu(n,l,u)&&Ur(u)!==Dt)}(n,d,u)?{segmentGroup:new Qt(l,Q4(u,new Qt(d,n.children))),slicedSegments:[]}:0===d.length&&function W4(n,l,d){return d.some(u=>Zu(n,l,u))}(n,d,u)?{segmentGroup:new Qt(n.segments,U4(n,0,d,u,n.children)),slicedSegments:d}:{segmentGroup:new Qt(n.segments,n.children),slicedSegments:d}}function U4(n,l,d,u,Z){const b={};for(const x of u)if(Zu(n,d,x)&&!Z[Ur(x)]){const P=new Qt([],{});b[Ur(x)]=P}return{...Z,...b}}function Q4(n,l){const d={};d[Dt]=l;for(const u of n)if(""===u.path&&Ur(u)!==Dt){const Z=new Qt([],{});d[Ur(u)]=Z}return d}function Zu(n,l,d){return(!(n.hasChildren()||l.length>0)||"full"!==d.pathMatch)&&""===d.path}class eN{constructor(l,d,u,Z,b,x,P){this.injector=l,this.configLoader=d,this.rootComponentType=u,this.config=Z,this.urlTree=b,this.paramsInheritanceStrategy=x,this.urlSerializer=P,this.allowRedirects=!0,this.applyRedirects=new z4(this.urlSerializer,this.urlTree)}noMatchError(l){return new je(4002,!1)}recognize(){const l=Sv(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,l,Dt).pipe(_o(d=>{if(d instanceof Fv)return this.allowRedirects=!1,this.urlTree=d.urlTree,this.match(d.urlTree);throw d instanceof _u?this.noMatchError(d):d}),xe(d=>{const u=new fu([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Dt,this.rootComponentType,null,{}),Z=new Si(u,d),b=new Zv("",Z),x=function HO(n,l,d=null,u=null){return lv(sv(n),l,d,u)}(u,[],this.urlTree.queryParams,this.urlTree.fragment);return x.queryParams=this.urlTree.queryParams,b.url=this.urlSerializer.serialize(x),this.inheritParamsAndData(b._root),{state:b,tree:x}}))}match(l){return this.processSegmentGroup(this.injector,this.config,l.root,Dt).pipe(_o(u=>{throw u instanceof _u?this.noMatchError(u):u}))}inheritParamsAndData(l){const d=l.value,u=_v(d,this.paramsInheritanceStrategy);d.params=Object.freeze(u.params),d.data=Object.freeze(u.data),l.children.forEach(Z=>this.inheritParamsAndData(Z))}processSegmentGroup(l,d,u,Z){return 0===u.segments.length&&u.hasChildren()?this.processChildren(l,d,u):this.processSegment(l,d,u,u.segments,Z,!0)}processChildren(l,d,u){const Z=[];for(const b of Object.keys(u.children))"primary"===b?Z.unshift(b):Z.push(b);return sn(Z).pipe(Vs(b=>{const x=u.children[b],P=function _4(n,l){const d=n.filter(u=>Ur(u)===l);return d.push(...n.filter(u=>Ur(u)!==l)),d}(d,b);return this.processSegmentGroup(l,P,x,b)}),function gO(n,l){return Fe(function AO(n,l,d,u,Z){return(b,x)=>{let P=d,z=l,q=0;b.subscribe(be(x,re=>{const ue=q++;z=P?n(z,re,ue):(P=!0,re),u&&x.next(z)},Z&&(()=>{P&&x.next(z),x.complete()})))}}(n,l,arguments.length>=2,!0))}((b,x)=>(b.push(...x),b)),au(null),function _O(n,l){const d=arguments.length>=2;return u=>u.pipe(n?Ji((Z,b)=>n(Z,b,u)):he,tf(1),d?au(l):Um(()=>new ou))}(),wn(b=>{if(null===b)return Sa(u);const x=Ov(b);return function tN(n){n.sort((l,d)=>l.value.outlet===Dt?-1:d.value.outlet===Dt?1:l.value.outlet.localeCompare(d.value.outlet))}(x),Ct(x)}))}processSegment(l,d,u,Z,b,x){return sn(d).pipe(Vs(P=>this.processSegmentAgainstRoute(P._injector??l,d,P,u,Z,b,x).pipe(_o(z=>{if(z instanceof _u)return Ct(null);throw z}))),go(P=>!!P),_o(P=>{if(Bv(P))return function $4(n,l,d){return 0===l.length&&!n.children[d]}(u,Z,b)?Ct([]):Sa(u);throw P}))}processSegmentAgainstRoute(l,d,u,Z,b,x,P){return function j4(n,l,d,u){return!!(Ur(n)===u||u!==Dt&&Zu(l,d,n))&&("**"===n.path||vf(l,n,d).matched)}(u,Z,b,x)?void 0===u.redirectTo?this.matchSegmentAgainstRoute(l,Z,u,b,x,P):P&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,Z,d,u,b,x):Sa(Z):Sa(Z)}expandSegmentAgainstRouteUsingRedirect(l,d,u,Z,b,x){return"**"===Z.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,u,Z,x):this.expandRegularSegmentAgainstRouteUsingRedirect(l,d,u,Z,b,x)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,d,u,Z){const b=this.applyRedirects.applyRedirectCommands([],u.redirectTo,{});return u.redirectTo.startsWith("/")?xv(b):this.applyRedirects.lineralizeSegments(u,b).pipe(wn(x=>{const P=new Qt(x,{});return this.processSegment(l,d,P,x,Z,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(l,d,u,Z,b,x){const{matched:P,consumedSegments:z,remainingSegments:q,positionalParamSegments:re}=vf(d,Z,b);if(!P)return Sa(d);const ue=this.applyRedirects.applyRedirectCommands(z,Z.redirectTo,re);return Z.redirectTo.startsWith("/")?xv(ue):this.applyRedirects.lineralizeSegments(Z,ue).pipe(wn(_e=>this.processSegment(l,u,d,_e.concat(q),x,!1)))}matchSegmentAgainstRoute(l,d,u,Z,b,x){let P;if("**"===u.path){const z=Z.length>0?Jm(Z).parameters:{};P=Ct({snapshot:new fu(Z,z,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nv(u),Ur(u),u.component??u._loadedComponent??null,u,Lv(u)),consumedSegments:[],remainingSegments:[]}),d.children={}}else P=G4(d,u,Z,l).pipe(xe(({matched:z,consumedSegments:q,remainingSegments:re,parameters:ue})=>z?{snapshot:new fu(q,ue,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Nv(u),Ur(u),u.component??u._loadedComponent??null,u,Lv(u)),consumedSegments:q,remainingSegments:re}:null));return P.pipe(Gt(z=>null===z?Sa(d):this.getChildConfig(l=u._injector??l,u,Z).pipe(Gt(({routes:q})=>{const re=u._loadedInjector??l,{snapshot:ue,consumedSegments:_e,remainingSegments:ye}=z,{segmentGroup:Be,slicedSegments:Le}=Sv(d,_e,ye,q);if(0===Le.length&&Be.hasChildren())return this.processChildren(re,q,Be).pipe(xe(qe=>null===qe?null:[new Si(ue,qe)]));if(0===q.length&&0===Le.length)return Ct([new Si(ue,[])]);const Ue=Ur(u)===b;return this.processSegment(re,q,Be,Le,Ue?Dt:b,!0).pipe(xe(qe=>[new Si(ue,qe)]))}))))}getChildConfig(l,d,u){return d.children?Ct({routes:d.children,injector:l}):d.loadChildren?void 0!==d._loadedRoutes?Ct({routes:d._loadedRoutes,injector:d._loadedInjector}):function X4(n,l,d,u){const Z=l.canLoad;return void 0===Z||0===Z.length?Ct(!0):Ct(Z.map(x=>{const P=Fa(x,n);return Wi(function I4(n){return n&&rl(n.canLoad)}(P)?P.canLoad(l,d):n.runInContext(()=>P(l,d)))})).pipe(xa(),Mv())}(l,d,u).pipe(wn(Z=>Z?this.configLoader.loadChildren(l,d).pipe(nr(b=>{d._loadedRoutes=b.routes,d._loadedInjector=b.injector})):function Y4(n){return Hs(bv(!1,3))}())):Ct({routes:[],injector:l})}}function nN(n){const l=n.value.routeConfig;return l&&""===l.path}function Ov(n){const l=[],d=new Set;for(const u of n){if(!nN(u)){l.push(u);continue}const Z=l.find(b=>u.value.routeConfig===b.value.routeConfig);void 0!==Z?(Z.children.push(...u.children),d.add(Z)):l.push(u)}for(const u of d){const Z=Ov(u.children);l.push(new Si(u.value,Z))}return l.filter(u=>!d.has(u))}function Nv(n){return n.data||{}}function Lv(n){return n.resolve||{}}function Tv(n){return"string"==typeof n.title||null===n.title}function Ef(n){return Gt(l=>{const d=n(l);return d?sn(d).pipe(xe(()=>l)):Ct(l)})}const Oa=new ct("ROUTES");let bf=(()=>{var n;class l{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=st(dZ)}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return Ct(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const Z=Wi(u.loadComponent()).pipe(xe(Rv),nr(x=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=x}),nf(()=>{this.componentLoaders.delete(u)})),b=new Gm(Z,()=>new ve).pipe(ef());return this.componentLoaders.set(u,b),b}loadChildren(u,Z){if(this.childrenLoaders.get(Z))return this.childrenLoaders.get(Z);if(Z._loadedRoutes)return Ct({routes:Z._loadedRoutes,injector:Z._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Z);const x=this.loadModuleFactoryOrRoutes(Z.loadChildren).pipe(xe(z=>{this.onLoadEndListener&&this.onLoadEndListener(Z);let q,re;return Array.isArray(z)?re=z:(q=z.create(u).injector,re=q.get(Oa,[],Ft.Self|Ft.Optional).flat()),{routes:re.map(Zf),injector:q}}),nf(()=>{this.childrenLoaders.delete(Z)})),P=new Gm(x,()=>new ve).pipe(ef());return this.childrenLoaders.set(Z,P),P}loadModuleFactoryOrRoutes(u){return Wi(u()).pipe(xe(Rv),wn(Z=>Z instanceof C1||Array.isArray(Z)?Ct(Z):sn(this.compiler.compileModuleAsync(Z))))}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();function Rv(n){return function cN(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}let mu=(()=>{var n;class l{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ve,this.configLoader=st(bf),this.environmentInjector=st(Mr),this.urlSerializer=st(Gs),this.rootContexts=st($s),this.inputBindingEnabled=null!==st(Cu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Ct(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=b=>this.events.next(new t4(b)),this.configLoader.onLoadStartListener=b=>this.events.next(new e4(b))}complete(){this.transitions?.complete()}handleNavigationRequest(u){const Z=++this.navigationId;this.transitions?.next({...this.transitions.value,...u,id:Z})}setupNavigations(u){return this.transitions=new de({id:0,currentUrlTree:u.currentUrlTree,currentRawUrl:u.currentUrlTree,extractedUrl:u.urlHandlingStrategy.extract(u.currentUrlTree),urlAfterRedirects:u.urlHandlingStrategy.extract(u.currentUrlTree),rawUrl:u.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ws,restoredState:null,currentSnapshot:u.routerState.snapshot,targetSnapshot:null,currentRouterState:u.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ji(Z=>0!==Z.id),xe(Z=>({...Z,extractedUrl:u.urlHandlingStrategy.extract(Z.rawUrl)})),Gt(Z=>{let b=!1,x=!1;return Ct(Z).pipe(nr(P=>{this.currentNavigation={id:P.id,initialUrl:P.rawUrl,extractedUrl:P.extractedUrl,trigger:P.source,extras:P.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Gt(P=>{const z=u.browserUrlTree.toString(),q=!u.navigated||P.extractedUrl.toString()!==z||z!==u.currentUrlTree.toString();if(!q&&"reload"!==(P.extras.onSameUrlNavigation??u.onSameUrlNavigation)){const ue="";return this.events.next(new js(P.id,u.serializeUrl(Z.rawUrl),ue,0)),u.rawUrlTree=P.rawUrl,P.resolve(null),Dr}if(u.urlHandlingStrategy.shouldProcessUrl(P.rawUrl))return Pv(P.source)&&(u.browserUrlTree=P.extractedUrl),Ct(P).pipe(Gt(ue=>{const _e=this.transitions?.getValue();return this.events.next(new uf(ue.id,this.urlSerializer.serialize(ue.extractedUrl),ue.source,ue.restoredState)),_e!==this.transitions?.getValue()?Dr:Promise.resolve(ue)}),function rN(n,l,d,u,Z,b){return wn(x=>function q4(n,l,d,u,Z,b,x="emptyOnly"){return new eN(n,l,d,u,Z,x,b).recognize()}(n,l,d,u,x.extractedUrl,Z,b).pipe(xe(({state:P,tree:z})=>({...x,targetSnapshot:P,urlAfterRedirects:z}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,u.config,this.urlSerializer,u.paramsInheritanceStrategy),nr(ue=>{if(Z.targetSnapshot=ue.targetSnapshot,Z.urlAfterRedirects=ue.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ue.urlAfterRedirects},"eager"===u.urlUpdateStrategy){if(!ue.extras.skipLocationChange){const ye=u.urlHandlingStrategy.merge(ue.urlAfterRedirects,ue.rawUrl);u.setBrowserUrl(ye,ue)}u.browserUrlTree=ue.urlAfterRedirects}const _e=new JO(ue.id,this.urlSerializer.serialize(ue.extractedUrl),this.urlSerializer.serialize(ue.urlAfterRedirects),ue.targetSnapshot);this.events.next(_e)}));if(q&&u.urlHandlingStrategy.shouldProcessUrl(u.rawUrlTree)){const{id:ue,extractedUrl:_e,source:ye,restoredState:Be,extras:Le}=P,Ue=new uf(ue,this.urlSerializer.serialize(_e),ye,Be);this.events.next(Ue);const qe=gv(0,this.rootComponentType).snapshot;return Ct(Z={...P,targetSnapshot:qe,urlAfterRedirects:_e,extras:{...Le,skipLocationChange:!1,replaceUrl:!1}})}{const ue="";return this.events.next(new js(P.id,u.serializeUrl(Z.extractedUrl),ue,1)),u.rawUrlTree=P.rawUrl,P.resolve(null),Dr}}),nr(P=>{const z=new WO(P.id,this.urlSerializer.serialize(P.extractedUrl),this.urlSerializer.serialize(P.urlAfterRedirects),P.targetSnapshot);this.events.next(z)}),xe(P=>Z={...P,guards:v4(P.targetSnapshot,P.currentSnapshot,this.rootContexts)}),function S4(n,l){return wn(d=>{const{targetSnapshot:u,currentSnapshot:Z,guards:{canActivateChecks:b,canDeactivateChecks:x}}=d;return 0===x.length&&0===b.length?Ct({...d,guardsResult:!0}):function O4(n,l,d,u){return sn(n).pipe(wn(Z=>function k4(n,l,d,u,Z){const b=l&&l.routeConfig?l.routeConfig.canDeactivate:null;return b&&0!==b.length?Ct(b.map(P=>{const z=el(l)??Z,q=Fa(P,z);return Wi(function M4(n){return n&&rl(n.canDeactivate)}(q)?q.canDeactivate(n,l,d,u):z.runInContext(()=>q(n,l,d,u))).pipe(go())})).pipe(xa()):Ct(!0)}(Z.component,Z.route,d,l,u)),go(Z=>!0!==Z,!0))}(x,u,Z,n).pipe(wn(P=>P&&function D4(n){return"boolean"==typeof n}(P)?function N4(n,l,d,u){return sn(l).pipe(Vs(Z=>qh(function T4(n,l){return null!==n&&l&&l(new n4(n)),Ct(!0)}(Z.route.parent,u),function L4(n,l){return null!==n&&l&&l(new i4(n)),Ct(!0)}(Z.route,u),function K4(n,l,d){const u=l[l.length-1],b=l.slice(0,l.length-1).reverse().map(x=>function E4(n){const l=n.routeConfig?n.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:n,guards:l}:null}(x)).filter(x=>null!==x).map(x=>zm(()=>Ct(x.guards.map(z=>{const q=el(x.node)??d,re=Fa(z,q);return Wi(function B4(n){return n&&rl(n.canActivateChild)}(re)?re.canActivateChild(u,n):q.runInContext(()=>re(u,n))).pipe(go())})).pipe(xa())));return Ct(b).pipe(xa())}(n,Z.path,d),function R4(n,l,d){const u=l.routeConfig?l.routeConfig.canActivate:null;if(!u||0===u.length)return Ct(!0);const Z=u.map(b=>zm(()=>{const x=el(l)??d,P=Fa(b,x);return Wi(function w4(n){return n&&rl(n.canActivate)}(P)?P.canActivate(l,n):x.runInContext(()=>P(l,n))).pipe(go())}));return Ct(Z).pipe(xa())}(n,Z.route,d))),go(Z=>!0!==Z,!0))}(u,b,n,l):Ct(P)),xe(P=>({...d,guardsResult:P})))})}(this.environmentInjector,P=>this.events.next(P)),nr(P=>{if(Z.guardsResult=P.guardsResult,mo(P.guardsResult))throw Ev(0,P.guardsResult);const z=new jO(P.id,this.urlSerializer.serialize(P.extractedUrl),this.urlSerializer.serialize(P.urlAfterRedirects),P.targetSnapshot,!!P.guardsResult);this.events.next(z)}),Ji(P=>!!P.guardsResult||(u.restoreHistory(P),this.cancelNavigationTransition(P,"",3),!1)),Ef(P=>{if(P.guards.canActivateChecks.length)return Ct(P).pipe(nr(z=>{const q=new $O(z.id,this.urlSerializer.serialize(z.extractedUrl),this.urlSerializer.serialize(z.urlAfterRedirects),z.targetSnapshot);this.events.next(q)}),Gt(z=>{let q=!1;return Ct(z).pipe(function iN(n,l){return wn(d=>{const{targetSnapshot:u,guards:{canActivateChecks:Z}}=d;if(!Z.length)return Ct(d);let b=0;return sn(Z).pipe(Vs(x=>function oN(n,l,d,u){const Z=n.routeConfig,b=n._resolve;return void 0!==Z?.title&&!Tv(Z)&&(b[Ys]=Z.title),function aN(n,l,d,u){const Z=function sN(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===Z.length)return Ct({});const b={};return sn(Z).pipe(wn(x=>function lN(n,l,d,u){const Z=el(l)??u,b=Fa(n,Z);return Wi(b.resolve?b.resolve(l,d):Z.runInContext(()=>b(l,d)))}(n[x],l,d,u).pipe(go(),nr(P=>{b[x]=P}))),tf(1),function ZO(n){return xe(()=>n)}(b),_o(x=>Bv(x)?Dr:Hs(x)))}(b,n,l,u).pipe(xe(x=>(n._resolvedData=x,n.data=_v(n,d).resolve,Z&&Tv(Z)&&(n.data[Ys]=Z.title),null)))}(x.route,u,n,l)),nr(()=>b++),tf(1),wn(x=>b===Z.length?Ct(d):Dr))})}(u.paramsInheritanceStrategy,this.environmentInjector),nr({next:()=>q=!0,complete:()=>{q||(u.restoreHistory(z),this.cancelNavigationTransition(z,"",2))}}))}),nr(z=>{const q=new qO(z.id,this.urlSerializer.serialize(z.extractedUrl),this.urlSerializer.serialize(z.urlAfterRedirects),z.targetSnapshot);this.events.next(q)}))}),Ef(P=>{const z=q=>{const re=[];q.routeConfig?.loadComponent&&!q.routeConfig._loadedComponent&&re.push(this.configLoader.loadComponent(q.routeConfig).pipe(nr(ue=>{q.component=ue}),xe(()=>{})));for(const ue of q.children)re.push(...z(ue));return re};return $h(z(P.targetSnapshot.root)).pipe(au(),Da(1))}),Ef(()=>this.afterPreactivation()),xe(P=>{const z=function u4(n,l,d){const u=qs(n,l._root,d?d._root:void 0);return new Av(u,l)}(u.routeReuseStrategy,P.targetSnapshot,P.currentRouterState);return Z={...P,targetRouterState:z}}),nr(P=>{u.currentUrlTree=P.urlAfterRedirects,u.rawUrlTree=u.urlHandlingStrategy.merge(P.urlAfterRedirects,P.rawUrl),u.routerState=P.targetRouterState,"deferred"===u.urlUpdateStrategy&&(P.extras.skipLocationChange||u.setBrowserUrl(u.rawUrlTree,P),u.browserUrlTree=P.urlAfterRedirects)}),((n,l,d,u)=>xe(Z=>(new m4(l,Z.targetRouterState,Z.currentRouterState,d,u).activate(n),Z)))(this.rootContexts,u.routeReuseStrategy,P=>this.events.next(P),this.inputBindingEnabled),Da(1),nr({next:P=>{b=!0,this.lastSuccessfulNavigation=this.currentNavigation,u.navigated=!0,this.events.next(new vo(P.id,this.urlSerializer.serialize(P.extractedUrl),this.urlSerializer.serialize(u.currentUrlTree))),u.titleStrategy?.updateTitle(P.targetRouterState.snapshot),P.resolve(!0)},complete:()=>{b=!0}}),nf(()=>{b||x||this.cancelNavigationTransition(Z,"",1),this.currentNavigation?.id===Z.id&&(this.currentNavigation=null)}),_o(P=>{if(x=!0,Dv(P)){yv(P)||(u.navigated=!0,u.restoreHistory(Z,!0));const z=new hu(Z.id,this.urlSerializer.serialize(Z.extractedUrl),P.message,P.cancellationCode);if(this.events.next(z),yv(P)){const q=u.urlHandlingStrategy.merge(P.url,u.rawUrlTree),re={skipLocationChange:Z.extras.skipLocationChange,replaceUrl:"eager"===u.urlUpdateStrategy||Pv(Z.source)};u.scheduleNavigation(q,Ws,null,re,{resolve:Z.resolve,reject:Z.reject,promise:Z.promise})}else Z.resolve(!1)}else{u.restoreHistory(Z,!0);const z=new df(Z.id,this.urlSerializer.serialize(Z.extractedUrl),P,Z.targetSnapshot??void 0);this.events.next(z);try{Z.resolve(u.errorHandler(P))}catch(q){Z.reject(q)}}return Dr}))}))}cancelNavigationTransition(u,Z,b){const x=new hu(u.id,this.urlSerializer.serialize(u.extractedUrl),Z,b);this.events.next(x),u.resolve(!1)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();function Pv(n){return n!==Ws}let Kv=(()=>{var n;class l{buildTitle(u){let Z,b=u.root;for(;void 0!==b;)Z=this.getResolvedTitleForRoute(b)??Z,b=b.children.find(x=>x.outlet===Dt);return Z}getResolvedTitleForRoute(u){return u.data[Ys]}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(uN)},providedIn:"root"}),l})(),uN=(()=>{var n;class l extends Kv{constructor(u){super(),this.title=u}updateTitle(u){const Z=this.buildTitle(u);void 0!==Z&&this.title.setTitle(Z)}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Rm))},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})(),dN=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(hN)},providedIn:"root"}),l})();class pN{shouldDetach(l){return!1}store(l,d){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,d){return l.routeConfig===d.routeConfig}}let hN=(()=>{var n;class l extends pN{}return(n=l).\u0275fac=function(){let d;return function(Z){return(d||(d=function Kn(n){return _i(()=>{const l=n.prototype.constructor,d=l[Zi]||gd(l),u=Object.prototype;let Z=Object.getPrototypeOf(n.prototype).constructor;for(;Z&&Z!==u;){const b=Z[Zi]||gd(Z);if(b&&b!==d)return b;Z=Object.getPrototypeOf(Z)}return b=>new b})}(n)))(Z||n)}}(),n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();const vu=new ct("",{providedIn:"root",factory:()=>({})});let fN=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:function(){return st(CN)},providedIn:"root"}),l})(),CN=(()=>{var n;class l{shouldProcessUrl(u){return!0}extract(u){return u}merge(u,Z){return u}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();var il=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(il||{});function kv(n,l){n.events.pipe(Ji(d=>d instanceof vo||d instanceof hu||d instanceof df||d instanceof js),xe(d=>d instanceof vo||d instanceof js?il.COMPLETE:d instanceof hu&&(0===d.code||1===d.code)?il.REDIRECTING:il.FAILED),Ji(d=>d!==il.REDIRECTING),Da(1)).subscribe(()=>{l()})}function gN(n){throw n}function _N(n,l,d){return l.parse("/")}const ZN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},mN={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Sn=(()=>{var n;class l{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=st(cZ),this.isNgZoneEnabled=!1,this.options=st(vu,{optional:!0})||{},this.pendingTasks=st(uZ),this.errorHandler=this.options.errorHandler||gN,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||_N,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=st(fN),this.routeReuseStrategy=st(dN),this.titleStrategy=st(Kv),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=st(Oa,{optional:!0})?.flat()??[],this.navigationTransitions=st(mu),this.urlSerializer=st(Gs),this.location=st(wh),this.componentInputBindingEnabled=!!st(Cu,{optional:!0}),this.isNgZoneEnabled=st(pn)instanceof pn&&pn.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new wa,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=gv(0,null),this.navigationTransitions.setupNavigations(this).subscribe(u=>{this.lastSuccessfulId=u.id,this.currentPageId=this.browserPageId??0},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}resetRootComponentType(u){this.routerState.root.component=u,this.navigationTransitions.rootComponentType=u}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const u=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ws,u)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const Z="popstate"===u.type?"popstate":"hashchange";"popstate"===Z&&setTimeout(()=>{this.navigateToSyncWithBrowser(u.url,Z,u.state)},0)}))}navigateToSyncWithBrowser(u,Z,b){const x={replaceUrl:!0},P=b?.navigationId?b:null;if(b){const q={...b};delete q.navigationId,delete q.\u0275routerPageId,0!==Object.keys(q).length&&(x.state=q)}const z=this.parseUrl(u);this.scheduleNavigation(z,Z,P,x)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(u){this.config=u.map(Zf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,Z={}){const{relativeTo:b,queryParams:x,fragment:P,queryParamsHandling:z,preserveFragment:q}=Z,re=q?this.currentUrlTree.fragment:P;let _e,ue=null;switch(z){case"merge":ue={...this.currentUrlTree.queryParams,...x};break;case"preserve":ue=this.currentUrlTree.queryParams;break;default:ue=x||null}null!==ue&&(ue=this.removeEmptyProps(ue));try{_e=sv(b?b.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof u[0]||!u[0].startsWith("/"))&&(u=[]),_e=this.currentUrlTree.root}return lv(_e,u,ue,re??null)}navigateByUrl(u,Z={skipLocationChange:!1}){const b=mo(u)?u:this.parseUrl(u),x=this.urlHandlingStrategy.merge(b,this.rawUrlTree);return this.scheduleNavigation(x,Ws,null,Z)}navigate(u,Z={skipLocationChange:!1}){return function vN(n){for(let l=0;l{const x=u[b];return null!=x&&(Z[b]=x),Z},{})}scheduleNavigation(u,Z,b,x,P){if(this.disposed)return Promise.resolve(!1);let z,q,re;P?(z=P.resolve,q=P.reject,re=P.promise):re=new Promise((_e,ye)=>{z=_e,q=ye});const ue=this.pendingTasks.add();return kv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(ue))}),this.navigationTransitions.handleNavigationRequest({source:Z,restoredState:b,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:u,extras:x,resolve:z,reject:q,promise:re,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),re.catch(_e=>Promise.reject(_e))}setBrowserUrl(u,Z){const b=this.urlSerializer.serialize(u);if(this.location.isCurrentPathEqualTo(b)||Z.extras.replaceUrl){const P={...Z.extras.state,...this.generateNgRouterState(Z.id,this.browserPageId)};this.location.replaceState(b,"",P)}else{const x={...Z.extras.state,...this.generateNgRouterState(Z.id,(this.browserPageId??0)+1)};this.location.go(b,"",x)}}restoreHistory(u,Z=!1){if("computed"===this.canceledNavigationResolution){const x=this.currentPageId-(this.browserPageId??this.currentPageId);0!==x?this.location.historyGo(x):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===x&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Z&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(u,Z){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:Z}:{navigationId:u}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})(),Eu=(()=>{var n;class l{constructor(u,Z,b,x,P,z){this.router=u,this.route=Z,this.tabIndexAttribute=b,this.renderer=x,this.el=P,this.locationStrategy=z,this.href=null,this.commands=null,this.onChanges=new ve,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const q=P.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===q||"area"===q,this.isAnchorElement?this.subscription=u.events.subscribe(re=>{re instanceof vo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",u)}ngOnChanges(u){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(u,Z,b,x,P){return!!(null===this.urlTree||this.isAnchorElement&&(0!==u||Z||b||x||P||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const u=null===this.href?null:function fg(n,l,d){return function y2(n,l){return"src"===l&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===l&&("base"===n||"link"===n)?hg:pg}(l,d)(n)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",u)}applyAttributeValue(u,Z){const b=this.renderer,x=this.el.nativeElement;null!==Z?b.setAttribute(x,u,Z):b.removeAttribute(x,u)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn),Je(Ma),function Rl(n){return function Py(n,l){if("class"===l)return n.classes;if("style"===l)return n.styles;const d=n.attrs;if(d){const u=d.length;let Z=0;for(;Z{var n;class l{get isActive(){return this._isActive}constructor(u,Z,b,x,P){this.router=u,this.element=Z,this.renderer=b,this.cdr=x,this.link=P,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Xe,this.routerEventsSubscription=u.events.subscribe(z=>{z instanceof vo&&this.update()})}ngAfterContentInit(){Ct(this.links.changes,Ct(null)).pipe(Lr()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),this.link].filter(Z=>!!Z).map(Z=>Z.onChanges);this.linkInputChangesSubscription=sn(u).pipe(Lr()).subscribe(Z=>{this._isActive!==this.isLinkActive(this.router)(Z)&&this.update()})}set routerLinkActive(u){const Z=Array.isArray(u)?u:u.split(" ");this.classes=Z.filter(b=>!!b)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const u=this.hasActiveLinks();this._isActive!==u&&(this._isActive=u,this.cdr.markForCheck(),this.classes.forEach(Z=>{u?this.renderer.addClass(this.element.nativeElement,Z):this.renderer.removeClass(this.element.nativeElement,Z)}),u&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(u))})}isLinkActive(u){const Z=function EN(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return b=>!!b.urlTree&&u.isActive(b.urlTree,Z)}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.links.some(u)}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn),Je(Zr),Je(yi),Je(Xc),Je(Eu,8))},n.\u0275dir=Zt({type:n,selectors:[["","routerLinkActive",""]],contentQueries:function(u,Z,b){if(1&u&&function X1(n,l,d,u){const Z=Tt();if(Z.firstCreatePass){const b=Pn();Y1(Z,new K1(l,d,u),b.index),function zM(n,l){const d=n.contentQueries||(n.contentQueries=[]);l!==(d.length?d[d.length-1]:-1)&&d.push(n.queries.length-1,l)}(Z,n),2==(2&d)&&(Z.staticContentQueries=!0)}V1(Z,Ye(),d)}(b,Eu,5),2&u){let x;Lc(x=Tc())&&(Z.links=x)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ar]}),l})();class Hv{}let bN=(()=>{var n;class l{constructor(u,Z,b,x,P){this.router=u,this.injector=b,this.preloadingStrategy=x,this.loader=P}setUpPreloading(){this.subscription=this.router.events.pipe(Ji(u=>u instanceof vo),Vs(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,Z){const b=[];for(const x of Z){x.providers&&!x._injector&&(x._injector=zp(x.providers,u,`Route: ${x.path}`));const P=x._injector??u,z=x._loadedInjector??P;(x.loadChildren&&!x._loadedRoutes&&void 0===x.canLoad||x.loadComponent&&!x._loadedComponent)&&b.push(this.preloadConfig(P,x)),(x.children||x._loadedRoutes)&&b.push(this.processRoutes(z,x.children??x._loadedRoutes))}return sn(b).pipe(Lr())}preloadConfig(u,Z){return this.preloadingStrategy.preload(Z,()=>{let b;b=Z.loadChildren&&void 0===Z.canLoad?this.loader.loadChildren(u,Z):Ct(null);const x=b.pipe(wn(P=>null===P?Ct(void 0):(Z._loadedRoutes=P.routes,Z._loadedInjector=P.injector,this.processRoutes(P.injector??u,P.routes))));return Z.loadComponent&&!Z._loadedComponent?sn([x,this.loader.loadComponent(Z)]).pipe(Lr()):x})}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Sn),ft(dZ),ft(Mr),ft(Hv),ft(bf))},n.\u0275prov=ht({token:n,factory:n.\u0275fac,providedIn:"root"}),l})();const yf=new ct("");let Vv=(()=>{var n;class l{constructor(u,Z,b,x,P={}){this.urlSerializer=u,this.transitions=Z,this.viewportScroller=b,this.zone=x,this.options=P,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},P.scrollPositionRestoration=P.scrollPositionRestoration||"disabled",P.anchorScrolling=P.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof uf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof vo?(this.lastId=u.id,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.urlAfterRedirects).fragment)):u instanceof js&&0===u.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof fv&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,Z){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fv(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,Z))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(n=l).\u0275fac=function(u){!function Wg(){throw new Error("invalid")}()},n.\u0275prov=ht({token:n,factory:n.\u0275fac}),l})();function Oi(n,l){return{\u0275kind:n,\u0275providers:l}}function zv(){const n=st(mr);return l=>{const d=n.get(Ea);if(l!==d.components[0])return;const u=n.get(Sn),Z=n.get(Gv);1===n.get(Df)&&u.initialNavigation(),n.get(Uv,null,Ft.Optional)?.setUpPreloading(),n.get(yf,null,Ft.Optional)?.init(),u.resetRootComponentType(d.componentTypes[0]),Z.closed||(Z.next(),Z.complete(),Z.unsubscribe())}}const Gv=new ct("",{factory:()=>new ve}),Df=new ct("",{providedIn:"root",factory:()=>1}),Uv=new ct("");function wN(n){return Oi(0,[{provide:Uv,useExisting:bN},{provide:Hv,useExisting:n}])}const Qv=new ct("ROUTER_FORROOT_GUARD"),MN=[wh,{provide:Gs,useClass:rf},Sn,$s,{provide:Ma,useFactory:function Yv(n){return n.routerState.root},deps:[Sn]},bf,[]];function FN(){return new DZ("Router",Sn)}let Jv=(()=>{var n;class l{constructor(u){}static forRoot(u,Z){return{ngModule:l,providers:[MN,[],{provide:Oa,multi:!0,useValue:u},{provide:Qv,useFactory:NN,deps:[[Sn,new kl,new Xl]]},{provide:vu,useValue:Z||{}},Z?.useHash?{provide:Ao,useClass:Sx}:{provide:Ao,useClass:tm},{provide:yf,useFactory:()=>{const n=st(nS),l=st(pn),d=st(vu),u=st(mu),Z=st(Gs);return d.scrollOffset&&n.setOffset(d.scrollOffset),new Vv(Z,u,n,l,d)}},Z?.preloadingStrategy?wN(Z.preloadingStrategy).\u0275providers:[],{provide:DZ,multi:!0,useFactory:FN},Z?.initialNavigation?LN(Z):[],Z?.bindToComponentInputs?Oi(8,[vv,{provide:Cu,useExisting:vv}]).\u0275providers:[],[{provide:Wv,useFactory:zv},{provide:gh,multi:!0,useExisting:Wv}]]}}static forChild(u){return{ngModule:l,providers:[{provide:Oa,multi:!0,useValue:u}]}}}return(n=l).\u0275fac=function(u){return new(u||n)(ft(Qv,8))},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})();function NN(n){return"guarded"}function LN(n){return["disabled"===n.initialNavigation?Oi(3,[{provide:sh,multi:!0,useFactory:()=>{const l=st(Sn);return()=>{l.setUpLocationChangeListener()}}},{provide:Df,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Oi(2,[{provide:Df,useValue:0},{provide:sh,multi:!0,deps:[mr],useFactory:l=>{const d=l.get(Fx,Promise.resolve());return()=>d.then(()=>new Promise(u=>{const Z=l.get(Sn),b=l.get(Gv);kv(Z,()=>{u(!0)}),l.get(mu).afterPreactivation=()=>(u(!0),b.closed?Ct(void 0):b),Z.initialNavigation()}))}}]).\u0275providers:[]]}const Wv=new ct(""),RN=["chart1"],jv=function(){return["/"]},KN=function(){return{exact:!0}},kN=function(){return["/dynamic"]},XN=function(){return["/events"]},HN=function(){return["/methods"]},VN=function(){return["/methods2"]},zN=function(){return["/ajax-performance"]},GN=function(){return["/licensing"]},UN=function(){return["/extend-tdf"]};let QN=(()=>{var n;class l{constructor(){this.title="zing-app",this.config={type:"line",series:[{values:[3,4,5,5,6,7,5,3]}]},this.dynamicConfig={type:"area"},this.mapsConfig={shapes:[{type:"zingchart.maps",options:{name:"usa",ignore:["AK","HI"]}}]},this.series=[{alpha:1,values:[2,3,5,5]}]}getData(){console.log("Fetching zingchart config object",this.chart1.getdata())}nodeClick(u){console.log("zingchart node clicked test!",u)}onComplete(u){console.log("Fetching zingchart config object",this.chart1.getdata())}ngOnDestroy(){window.clearTimeout(this.interval)}ngAfterContentInit(){this.interval=setInterval(()=>{this.series=[{alpha:1,values:[5,11,15,25].map(u=>Math.floor(Math.random()*u))}]},2e3)}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["app-root"]],viewQuery:function(u,Z){if(1&u&&th(RN,5),2&u){let b;Lc(b=Tc())&&(Z.chart1=b.first)}},decls:38,vars:20,consts:[[1,"navbar"],[3,"routerLink"],["routerLinkActive","active",3,"routerLinkActiveOptions"],["routerLinkActive","active"],["routerLink","/graphset"],["routerLink","/module-chart"],[1,"container"],[1,"card"]],template:function(u,Z){1&u&&(Yt(0,"nav",0)(1,"h1")(2,"a",1),jt(3,"ZingChart Angular Playground"),zt()(),Yt(4,"ul")(5,"li",2)(6,"a",1),jt(7,"Simple"),zt()(),Yt(8,"li",3)(9,"a",4),jt(10,"Graphset"),zt()(),Yt(11,"li",3)(12,"a",5),jt(13,"Module Chart"),zt()(),Yt(14,"li",3)(15,"a",1),jt(16,"Dynamic"),zt()(),Yt(17,"li",3)(18,"a",1),jt(19,"Events"),zt()(),Yt(20,"li",3)(21,"a",1),jt(22,"Methods"),zt()(),Yt(23,"li",3)(24,"a",1),jt(25,"Methods (alternative)"),zt()(),Yt(26,"li",3)(27,"a",1),jt(28,"Ajax/Performance"),zt()(),Yt(29,"li",3)(30,"a",1),jt(31,"Licensing"),zt()(),Yt(32,"li",3)(33,"a",1),jt(34,"Extend TDF"),zt()()()(),Yt(35,"div",6)(36,"div",7),Er(37,"router-outlet"),zt()()),2&u&&(bn(2),gn("routerLink",Vr(10,jv)),bn(3),gn("routerLinkActiveOptions",Vr(11,KN)),bn(1),gn("routerLink",Vr(12,jv)),bn(9),gn("routerLink",Vr(13,kN)),bn(3),gn("routerLink",Vr(14,XN)),bn(3),gn("routerLink",Vr(15,HN)),bn(3),gn("routerLink",Vr(16,VN)),bn(3),gn("routerLink",Vr(17,zN)),bn(3),gn("routerLink",Vr(18,GN)),bn(3),gn("routerLink",Vr(19,UN)))},dependencies:[gf,Eu,Xv]}),l})();const La=new ct("CallSetDisabledState",{providedIn:"root",factory:()=>Bu}),Bu="always";let kE=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})(),WL=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({imports:[kE]}),l})(),$L=(()=>{var n;class l{static withConfig(u){return{ngModule:l,providers:[{provide:La,useValue:u.callSetDisabledState??Bu}]}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({imports:[WL]}),l})();const ob={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Ou;const qL=new Uint8Array(16);function eT(){if(!Ou&&(Ou=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ou))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ou(qL)}const kn=[];for(let n=0;n<256;++n)kn.push((n+256).toString(16).slice(1));const nT=function tT(n,l,d){if(ob.randomUUID&&!l&&!n)return ob.randomUUID();const u=(n=n||{}).random||(n.rng||eT)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,l){d=d||0;for(let Z=0;Z<16;++Z)l[d+Z]=u[Z];return l}return function ab(n,l=0){return(kn[n[l+0]]+kn[n[l+1]]+kn[n[l+2]]+kn[n[l+3]]+"-"+kn[n[l+4]]+kn[n[l+5]]+"-"+kn[n[l+6]]+kn[n[l+7]]+"-"+kn[n[l+8]]+kn[n[l+9]]+"-"+kn[n[l+10]]+kn[n[l+11]]+kn[n[l+12]]+kn[n[l+13]]+kn[n[l+14]]+kn[n[l+15]]).toLowerCase()}(u)},{DEFAULT_WIDTH:sT,DEFAULT_HEIGHT:lT,DEFAULT_OUTPUT:cT}={DEFAULT_WIDTH:"100%",DEFAULT_HEIGHT:480,DEFAULT_OUTPUT:"svg"},uT={EVENT_NAMES:["history_back","history_forward","destroy","beforedestroy","animation_step","animation_start","animation_end","guide_mouseout","guide_mousemove","dataload","dataparse","modulesready","dataready","resize","swipe","mousewheel","render","complete","load","about_show","about_hide","error","reload","menu_item_click","beforezoom","node_mousedown","node_mouseover","node_mouseout","node_mouseup","plot_mouseout","plot_mouseup","node_click","plot_click","node_doubleclick","plot_doubleclick","gload","gcomplete","maps.zoom","plot_add","plot_remove","modify","plot_modify","node_set","node_add","node_remove","setdata","legend_minimize","legend_hide","legend_maximize","legend_show","source_show","source_hide","dataexport","legend_mouseover","legend_mouseout","legend_item_click","legend_marker_click","shape_mouseover","shape_mousedown","shape_mouseout","shape_mouseup","shape_mousemove","shape_click","shape_dblclick","label_mouseover","label_mousedown","label_mouseout","label_mouseup","label_mousemove","label_click","label_dblclick","feed_clear","feed_step","feed_interval_modify","feed_stop","feed_start","zoom","postzoom","zingchart.plugins.dragging.update","zingchart.plugins.dragging.complete","heatmap.mousemove","zingchart.plugins.selection-tool.mouseup","zingchart.plugins.selection-tool.selection","zingchart.plugins.selection-tool.beforeselection"],METHOD_NAMES:["zingchart.exec","goback","goforward","showmenu","hidemenu","destroy","getrender","clear","reload","load","enable","disable","closemodal","openmodal","print","fullscreen","exitfullscreen","resize","plothide","showguide","hideguide","showtooltip","hidetooltip","clicknode","locktooltip","unlocktooltip","showhoverstate","showplot","togglesource","togglebugreport","toggleabout","toggleplot","getcharttype","getversion","get3dview","set3dview","getpage","setpage","unbinddocument","addmenuitem","resetguide","setguide","zingchart.render","zingchart.maps.getMapByGraphIndex","zingchart.maps.zoomIn","zingchart.maps.zoomOut","zingchart.maps.destroyMap","zingchart.maps.setView","zingchart.maps.viewAll","zingchart.maps.zoomToItem","zingchart.maps.zoomTo","zingchart.maps.getInfo","zingchart.maps.getItems","zingchart.maps.getItemInfo","zingchart.maps.XY","zingchart.maps.getLonLat","clearscroll","getbubblesize","getscaleinfo","getobjectinfo","getxyinfo","update","setcharttype","addgraph","addplot","removeplot","modify","modifyplot","setnodevalue","setscalevalues","addscalevalue","removescalevalue","addnode","removenode","setdata","getseriesdata","setseriesdata","appendseriesdata","getseriesvalues","setseriesvalues","appendseriesvalues","togglelegend","legendminimize","legendmaximize","legendscroll","toggledimension","getdata","getoriginaljson","getgraphlength","getplotlength","getscales","getnodelength","getnodevalue","getplotvalues","getimagedata","exportimage","saveasimage","exportdata","downloadCSV","downloadXLS","downloadRAW","viewDataTable","addobject","removeobject","updateobject","repaintobjects","getallobjects","getobjectsbyclass","getlabelinfo","getshapeinfo","setobjectsmode","clearfeed","getinterval","setinterval","startfeed","stopfeed","clearselection","getselection","setselection","select","deselect","getzoom","pan","zoomin","zoomout","zoomto","zoomtovalues","viewall","removenote","updatenote","getnotes","addnote","addmarker","updatemarker","removemarker","addrule","removerule","updaterule","getrules","bubblepack.setdata","calendar_setvalues","colorscale.setvalue","colorscale.update","colorscale.clear","colorscale.getinfo","heatmap.setdata","zingchart.maps.loadGeoJSON","zingchart.maps.loadTopoJSON","resetscales","resetsetseriesdata","getscaleminmax","tree.addnode","tree.removenode","tree.getdata","tree.set","tree.addlink","tree.removelink","treemap.updateNode","treemap.addNode","treemap.removeNode","zingchart.bind","zingchart.unbind"],MARKER_NAMES:["square","parallelogram","trapezoid","circle","diamond","triangle","ellipse","star5","star6","star7","star8","rpoly5","rpoly6","rpoly7","rpoly8","gear5","gear6","gear7","gear8","pie"],DEFAULT_WIDTH:sT,DEFAULT_HEIGHT:lT,DEFAULT_OUTPUT:cT},{DEFAULT_WIDTH:dT,DEFAULT_HEIGHT:pT,DEFAULT_OUTPUT:hT,EVENT_NAMES:fT,METHOD_NAMES:AT}=uT;let fi=(()=>{var n;class l{constructor(){this.about_hide=new Xe,this.about_show=new Xe,this.animation_end=new Xe,this.animation_start=new Xe,this.animation_step=new Xe,this.beforedestroy=new Xe,this.bugreport_hide=new Xe,this.bugreport_show=new Xe,this.click=new Xe,this.complete=new Xe,this.data_export=new Xe,this.dataexport=new Xe,this.dataload=new Xe,this.dataparse=new Xe,this.dataready=new Xe,this.destroy=new Xe,this.dimension_change=new Xe,this.error=new Xe,this.feed_clear=new Xe,this.feed_interval_modify=new Xe,this.feed_start=new Xe,this.feed_stop=new Xe,this.gcomplete=new Xe,this.getdata=new Xe,this.gload=new Xe,this.gparse=new Xe,this.guide_mousemove=new Xe,this.guide_mouseout=new Xe,this.heatmap_mousemove=new Xe,this.history_back=new Xe,this.history_forward=new Xe,this.image_save=new Xe,this.label_click=new Xe,this.label_mousedown=new Xe,this.label_mouseout=new Xe,this.label_mouseover=new Xe,this.label_mouseup=new Xe,this.legend_hide=new Xe,this.legend_item_click=new Xe,this.legend_item_mousemove=new Xe,this.legend_item_mouseout=new Xe,this.legend_item_mouseover=new Xe,this.legend_marker_click=new Xe,this.legend_maximize=new Xe,this.legend_minimize=new Xe,this.legend_minimize_click=new Xe,this.legend_pagination_click=new Xe,this.legend_show=new Xe,this.legend_drag_mousedown=new Xe,this.lens_hide=new Xe,this.lens_show=new Xe,this.load=new Xe,this.maps_zoom=new Xe,this.menu_item_click=new Xe,this.modify=new Xe,this.modulesready=new Xe,this.mousewheel=new Xe,this.node_add=new Xe,this.node_click=new Xe,this.node_deselect=new Xe,this.node_doubleclick=new Xe,this.node_mousedown=new Xe,this.node_mouseout=new Xe,this.node_mouseover=new Xe,this.node_mouseup=new Xe,this.node_remove=new Xe,this.node_select=new Xe,this.node_set=new Xe,this.objectsinit=new Xe,this.objectsready=new Xe,this.overscroll=new Xe,this.plot_add=new Xe,this.plot_click=new Xe,this.plot_deselect=new Xe,this.plot_doubleclick=new Xe,this.plot_hide=new Xe,this.plot_modify=new Xe,this.plot_mouseout=new Xe,this.plot_mouseover=new Xe,this.plot_remove=new Xe,this.plot_select=new Xe,this.plot_show=new Xe,this.postzoom=new Xe,this.print=new Xe,this.reload=new Xe,this.render=new Xe,this.resize=new Xe,this.setdata=new Xe,this.shape_click=new Xe,this.shape_mousedown=new Xe,this.shape_mouseout=new Xe,this.shape_mouseover=new Xe,this.shape_mouseup=new Xe,this.source_hide=new Xe,this.source_show=new Xe,this.swipe=new Xe,this.touchemove=new Xe,this.touchend=new Xe,this.touchstart=new Xe,this.zingchart_plugins_selection_tool_mouseup=new Xe,this.zingchart_plugins_selection_tool_selection=new Xe,this.zoom=new Xe}ngOnInit(){this.chartId=this.id||`zingchart-ng-${nT()}`,AT.forEach(u=>{this[u]=Z=>JSON.stringify(ui.Z.exec(this.chartId,u,Z))})}ngAfterViewInit(){let u=this.config;if("string"==typeof u)try{u=JSON.parse(u)}catch{throw new Error("Invalid object")}this.id&&(this.chartId=this.id),this.series&&("graphset"in this.config?this.config.graphset&&1===this.config.graphset.length&&(u.graphset[0].series=this.series):u.series=this.series),this.chartWidth=this.width||dT,this.chartHeight=this.height||pT,this.output=this.output||hT,this.renderObject={id:this.chartId,data:u,width:this.chartWidth,height:this.chartHeight,output:this.output},this.theme&&(this.renderObject.defaults=this.theme),fT.forEach(Z=>{this[Z]&&this[Z].observers&&this[Z].observers.length&&ui.Z.bind(this.chartId,Z,b=>{this[Z].emit(b)})}),ui.Z.render(this.renderObject)}ngOnDestroy(){ui.Z.exec(this.chartId,"destroy")}ngOnChanges(u){if(u.config)ui.Z.exec(this.chartId,"setdata",{data:u.config.currentValue});else if(u.series){let Z=(b,x)=>ui.Z.exec(b,"setseriesdata",{graphid:0,data:x});"series"in this.config?(this.config.series=u.series.currentValue,Z(this.chartId,this.config.series)):"graphset"in this.config&&this.config.graphset&&1===this.config.graphset.length&&(this.config.graphset[0].series=u.series.currentValue,Z(this.chartId,this.config.graphset[0].series))}else(u.width||u.height)&&ui.Z.exec(this.chartId,"resize",{width:u.width&&u.width.currentValue||this.width,height:u.height&&u.height.currentValue||this.height})}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["zingchart-angular"]],hostVars:1,hostBindings:function(u,Z){2&u&&Tp("id",Z.chartId)},inputs:{config:"config",id:"id",width:"width",height:"height",output:"output",series:"series",theme:"theme"},outputs:{about_hide:"about_hide",about_show:"about_show",animation_end:"animation_end",animation_start:"animation_start",animation_step:"animation_step",beforedestroy:"beforedestroy",bugreport_hide:"bugreport_hide",bugreport_show:"bugreport_show",click:"click",complete:"complete",data_export:"data_export",dataexport:"dataexport",dataload:"dataload",dataparse:"dataparse",dataready:"dataready",destroy:"destroy",dimension_change:"dimension_change",error:"error",feed_clear:"feed_clear",feed_interval_modify:"feed_interval_modify",feed_start:"feed_start",feed_stop:"feed_stop",gcomplete:"gcomplete",getdata:"getdata",gload:"gload",gparse:"gparse",guide_mousemove:"guide_mousemove",guide_mouseout:"guide_mouseout",heatmap_mousemove:"heatmap_mousemove",history_back:"history_back",history_forward:"history_forward",image_save:"image_save",label_click:"label_click",label_mousedown:"label_mousedown",label_mouseout:"label_mouseout",label_mouseover:"label_mouseover",label_mouseup:"label_mouseup",legend_hide:"legend_hide",legend_item_click:"legend_item_click",legend_item_mousemove:"legend_item_mousemove",legend_item_mouseout:"legend_item_mouseout",legend_item_mouseover:"legend_item_mouseover",legend_marker_click:"legend_marker_click",legend_maximize:"legend_maximize",legend_minimize:"legend_minimize",legend_minimize_click:"legend_minimize_click",legend_pagination_click:"legend_pagination_click",legend_show:"legend_show",legend_drag_mousedown:"legend_drag_mousedown",lens_hide:"lens_hide",lens_show:"lens_show",load:"load",maps_zoom:"maps_zoom",menu_item_click:"menu_item_click",modify:"modify",modulesready:"modulesready",mousewheel:"mousewheel",node_add:"node_add",node_click:"node_click",node_deselect:"node_deselect",node_doubleclick:"node_doubleclick",node_mousedown:"node_mousedown",node_mouseout:"node_mouseout",node_mouseover:"node_mouseover",node_mouseup:"node_mouseup",node_remove:"node_remove",node_select:"node_select",node_set:"node_set",objectsinit:"objectsinit",objectsready:"objectsready",overscroll:"overscroll",plot_add:"plot_add",plot_click:"plot_click",plot_deselect:"plot_deselect",plot_doubleclick:"plot_doubleclick",plot_hide:"plot_hide",plot_modify:"plot_modify",plot_mouseout:"plot_mouseout",plot_mouseover:"plot_mouseover",plot_remove:"plot_remove",plot_select:"plot_select",plot_show:"plot_show",postzoom:"postzoom",print:"print",reload:"reload",render:"render",resize:"resize",setdata:"setdata",shape_click:"shape_click",shape_mousedown:"shape_mousedown",shape_mouseout:"shape_mouseout",shape_mouseover:"shape_mouseover",shape_mouseup:"shape_mouseup",source_hide:"source_hide",source_show:"source_show",swipe:"swipe",touchemove:"touchemove",touchend:"touchend",touchstart:"touchstart",zingchart_plugins_selection_tool_mouseup:"zingchart_plugins_selection_tool_mouseup",zingchart_plugins_selection_tool_selection:"zingchart_plugins_selection_tool_selection",zoom:"zoom"},features:[Ar],decls:0,vars:0,template:function(u,Z){},styles:["[_nghost-%COMP%]{display:block}"]}),l})(),gT=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({}),l})(),_T=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"Hello ZingChart Angular Edition!"},series:[{values:[4,5,3,4,5,3,5,4,11]}]}}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-home"]],decls:3,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," A simple use case of using the zingchart-angular wrapper. A hello world example...\n"),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})(),ZT=(()=>{var n;class l{constructor(){this.config={shapes:[{type:"zingchart.maps",options:{name:"usa",ignore:["AK","HI"]}}]}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["app-module-chart"]],decls:3,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1,"How to import a module chart with the zingchart-angular wrapper"),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})(),mT=(()=>{var n;class l{constructor(){this.config={graphset:[{type:"line",height:"200px",width:"100%",x:"5%",y:"5%",series:[{values:[76,23,15,85,13]},{values:[36,53,65,25,45]}]},{type:"funnel",height:"55%",width:"50%",x:"5%",y:"200px",series:[{values:[30]},{values:[15]},{values:[5]},{values:[3]}]},{type:"pie",height:"55%",width:"50%",x:"50%",y:"200px",series:[{values:[15]},{values:[30]},{values:[34]}]}]}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["app-graphset"]],decls:3,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1,"How to use multiple charts in a dashboard with a graphset."),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})(),vT=(()=>{var n;class l{constructor(u){this.router=u,this.series=[{alpha:1,values:[2,3,5,5]}],this.config={type:"area",title:{text:"Dynamic Chart"}}}ngOnDestroy(){window.clearTimeout(this.interval)}ngAfterContentInit(){this.interval=setInterval(()=>{console.log("trigger: ",this.series),this.series=[{alpha:1,values:[5,11,15,25].map(u=>Math.floor(Math.random()*u))}]},2e3)}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-dynamic"]],decls:3,vars:3,consts:[[3,"config","series","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to dynamically update the values of the chart by having a config and a series object.\n"),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("series",Z.series)("height",500))},dependencies:[fi],encapsulation:2}),l})(),ET=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"API Events"},subtitle:{text:"Click on nodes and check the console!"},series:[{values:[4,5,3,4,5,3,5,4,11]}]}}onComplete(u){console.log("zingchart on complete fired!",u)}nodeClick(u){console.log("node clicked fired!",u)}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-events"]],decls:3,vars:2,consts:[[3,"config","height","complete","node_click"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to hook into ZingCharts API events system with native Angular syntax. This method adds an event listener.\n"),zt(),Yt(2,"zingchart-angular",0),$n("complete",function(x){return Z.onComplete(x)})("node_click",function(x){return Z.nodeClick(x)}),zt()),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})(),bT=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"API Methods"},series:[{values:[4,5,3,4,5,3,5,4,11,12]}]}}addPlot(u){u.addplot({data:{values:this._randomData(10),text:"My new plot"}})}_randomData(u){return Array.from(new Array(u)).map(()=>Math.floor(10*Math.random()))}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-methods"]],decls:6,vars:2,consts:[[3,"click"],[3,"config","height"],["chart1",""]],template:function(u,Z){if(1&u){const b=function X_(){return Ye()}();Yt(0,"p"),jt(1,' How to hook into ZingCharts API methods system with native Angular syntax. The chart reference passed to the "addPlot" method and executes the "appPlot" ZingChart API method.\n'),zt(),Yt(2,"button",0),$n("click",function(){!function HC(n){return gt.lFrame.contextLView=n,n[vn]}(b);const P=function R_(n){return function Po(n,l){return n[l]}(function Zy(){return gt.lFrame.contextLView}(),xt+n)}(5);return function VC(n){return gt.lFrame.contextLView=null,n}(Z.addPlot(P))}),jt(3,"Add Plot"),zt(),Er(4,"zingchart-angular",1,2)}2&u&&(bn(4),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})();const yT=["chart1"];let DT=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"API Methods"},series:[{values:[4,5,3,4,5,3,5,4,11,12]}]}}addPlot(){this.chart1.addplot({data:{values:this._randomData(10),text:"My new plot"}})}_randomData(u){return Array.from(new Array(u)).map(()=>Math.floor(10*Math.random()))}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-methods"]],viewQuery:function(u,Z){if(1&u&&th(yT,5),2&u){let b;Lc(b=Tc())&&(Z.chart1=b.first)}},decls:6,vars:2,consts:[[3,"click"],[3,"config","height"],["chart1",""]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to hook into ZingCharts API methods system with native Angular syntax. This alternative way uses `ViewChild` to get reference of the chart and executes the ZingChart API method.\n"),zt(),Yt(2,"button",0),$n("click",function(){return Z.addPlot()}),jt(3,"Add Plot"),zt(),Er(4,"zingchart-angular",1,2)),2&u&&(bn(4),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})();ui.Z.LICENSE=["your_zingchart_license_key"],ui.Z.BUILDCODE=["your_license_build_code"];let IT=(()=>{var n;class l{constructor(u){this.router=u,this.config={type:"bar",title:{text:"Simple zingchart license key demo"},subtitle:{text:"License SHOULD appear bottom right... check the codes!"},series:[{values:[4,5,3,4,5,3,5,4,11]}]}}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-methods"]],decls:6,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to hook into the "),Yt(2,"code"),jt(3,"zignchart"),zt(),jt(4," object to use licensing and performance features.\n"),zt(),Er(5,"zingchart-angular",0)),2&u&&(bn(5),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})();ui.Z.DEV.MEDIARULES=!1;const wT=[{path:"",component:_T},{path:"module-chart",component:ZT},{path:"graphset",component:mT},{path:"dynamic",component:vT},{path:"events",component:ET},{path:"methods",component:bT},{path:"methods2",component:DT},{path:"licensing",component:IT},{path:"ajax-performance",component:(()=>{var n;class l{constructor(u){this.router=u,this.series=[],this.config={type:"line",title:{text:"Performant AJAX Chart"},plot:{exact:!0,smartSampling:!0,hintTs:!0,maxNodes:150,maxTrackers:150},plotarea:{margin:"dynamic"},crosshairX:{},scaleX:{zoom:!0,transform:{type:"date"}},noData:{text:"Fetching data from endpoint..."}}}ngAfterContentInit(){fetch("https://cdn.zingchart.com/datasets/timeseries-sample-data-2019.json").then(u=>u.json()).then(u=>{console.log("Successfully fetched data from endpoint!"),this.series=[u]}).catch(u=>{console.error("Error fetching zingchart data")})}}return(n=l).\u0275fac=function(u){return new(u||n)(Je(Sn))},n.\u0275cmp=or({type:n,selectors:[["app-dynamic"]],decls:6,vars:3,consts:[[3,"config","series","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to dynamically fetch data using AJAX and add performance flags to zingchart with "),Yt(2,"code"),jt(3,"zingchart"),zt(),jt(4," global variable.\n"),zt(),Er(5,"zingchart-angular",0)),2&u&&(bn(5),gn("config",Z.config)("series",Z.series)("height",500))},dependencies:[fi],encapsulation:2}),l})()},{path:"extend-tdf",component:(()=>{var n;class l{constructor(){this.config={type:"bar",title:{text:"Extend TDF with custom token: data-description"},plot:{tooltip:{text:"%v - %data-description"}},series:[{values:[4,5,3,4,5,3,5],"data-description":["red","orange","yellow","green","blue","indigo","violet"]}]}}}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275cmp=or({type:n,selectors:[["app-extend-tdf"]],decls:3,vars:2,consts:[[3,"config","height"]],template:function(u,Z){1&u&&(Yt(0,"p"),jt(1," How to extend the type definition file to include your custom tokens or user-specified properties.\n"),zt(),Er(2,"zingchart-angular",0)),2&u&&(bn(2),gn("config",Z.config)("height",500))},dependencies:[fi],encapsulation:2}),l})()}];let BT=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n}),n.\u0275inj=wr({imports:[gm,Jv.forRoot(wT),Jv]}),l})(),FT=(()=>{var n;class l{}return(n=l).\u0275fac=function(u){return new(u||n)},n.\u0275mod=Pr({type:n,bootstrap:[QN]}),n.\u0275inj=wr({imports:[BT,jS,$L,gT]}),l})();QS().bootstrapModule(FT).catch(n=>console.error(n))},724:()=>{ZC.X3.push("maps-usa"),function(){zingchart.maps.usa||(zingchart.maps.usa={}),zingchart.maps.data.usa||(zingchart.maps.data.usa={});var A={AL:[[-85.07,31.981],[-85.13,31.779],[-85.002,31.001],[-87.599,31.003],[-87.445,30.531],[-87.593,30.278],[-87.903,30.421],[-88.02,30.744],[-88.136,30.337],[-88.401,30.394],[-88.451,31.436],[-88.426,32.309],[-88.091,34.896],[-88.194,35.005],[-85.609,34.99],[-85.335,33.655],[-84.894,32.259],[-85.07,31.981]],AK:[[-161.334,58.733],[-161.894,58.652],[-161.708,59.496],[-162.452,60.187],[-163.366,59.819],[-165.428,60.554],[-164.768,61.11],[-166.13,61.497],[-164.147,63.26],[-163.344,63.021],[-161.154,63.512],[-161.158,64.923],[-162.579,64.52],[-166.24,64.595],[-166.054,65.251],[-168.044,65.634],[-163.937,66.608],[-163.925,66.207],[-161.819,65.974],[-160.233,66.399],[-163.825,67.354],[-166.235,68.874],[-164.328,68.93],[-161.956,70.303],[-156.82,71.3],[-152.219,70.811],[-151.969,70.443],[-145.842,70.17],[-141.006,69.642],[-141.006,69.642],[-140.997,60.307],[-140.997,60.307],[-139.07,60.352],[-137.593,59.238],[-135.725,59.745],[-133.432,58.459],[-132.228,57.204],[-131.56,56.602],[-130.09,56.118],[-130.176,55.754],[-130.176,55.754],[-129.992,55.281],[-130.688,54.762],[-131.01,55.004],[-130.866,55.308],[-131.964,55.498],[-132.268,55.756],[-131.962,56.165],[-131.909,56.228],[-132.886,57.017],[-133.693,57.787],[-134.177,58.196],[-134.991,58.67],[-136.661,58.891],[-136.031,58.383],[-136.656,58.215],[-139.838,59.533],[-142.719,60.109],[-143.889,59.99],[-146.246,61.085],[-148.395,60.854],[-147.939,60.462],[-148.646,59.921],[-149.726,59.962],[-149.746,59.658],[-151.725,59.16],[-151.974,59.27],[-150.995,59.777],[-151.871,59.743],[-151.411,60.727],[-150.441,61.03],[-149.031,60.847],[-149.03,60.847],[-149.245,61.492],[-149.244,61.492],[-151.745,60.916],[-154.263,59.142],[-153.362,58.868],[-156.56,57.271],[-156.37,57.141],[-158.46,56.34],[-158.123,56.233],[-159.758,55.602],[-159.866,55.783],[-161.246,55.348],[-161.488,55.48],[-162.88,54.931],[-163.325,55.121],[-161.784,55.891],[-160.571,55.929],[-157.94,57.491],[-156.94,58.735],[-158.826,58.97],[-159.059,58.424],[-160.252,58.895],[-161.334,58.733],null,[-172.283,60.302],[-172.602,60.324],[-173.051,60.493],[-172.919,60.603],[-172.283,60.302],null,[-166.111,60.41],[-165.684,60.294],[-165.543,59.979],[-166.268,59.843],[-167.453,60.207],[-166.111,60.41],null,[-164.178,54.603],[-164.855,54.424],[-164.49,54.916],[-163.532,55.045],[-163.051,54.667],[-164.178,54.603],null,[-166.645,53.523],[-167.667,53.237],[-167.163,53.853],[-166.752,54.008],[-166.279,53.678],[-166.645,53.523],null,[-167.797,53.495],[-167.851,53.38],[-168.882,52.937],[-168.354,53.475],[-167.797,53.495],null,[-174.161,52.417],[-173.992,52.32],[-174.101,52.103],[-174.416,52.036],[-175.024,52.021],[-174.161,52.417],null,[-176.941,51.583],[-176.975,51.656],[-176.774,51.944],[-176.558,51.982],[-176.432,51.729],[-176.941,51.583],null,[-177.91,51.59],[-178.218,51.875],[-177.622,51.851],[-177.91,51.59],null,[-171.087,63.432],[-171.452,63.313],[-171.854,63.508],[-171.739,63.789],[-171.328,63.633],[-170.303,63.693],[-168.693,63.302],[-169.656,62.943],[-170.24,63.282],[-171.087,63.432],null,[-146.94,60.286],[-147.472,59.868],[-147.912,59.79],[-147.699,59.998],[-147.196,60.353],[-146.94,60.286],null,[-152.093,58.36],[-152.082,58.156],[-152.789,57.992],[-153.234,58.169],[-152.66,58.477],[-152.093,58.36],null,[-133.958,57.3],[-134.614,57.009],[-134.575,57.505],[-134.958,58.407],[-134.179,58.083],[-133.958,57.3],null,[-134.518,58.338],[-134.518,58.338],null,[-135.888,57.988],[-134.813,57.481],[-136.416,57.821],[-136.328,57.991],[-136.033,57.843],[-136.033,57.843],[-136.033,57.843],[-136.033,57.843],[-136.182,58.177],[-135.797,58.277],[-134.943,58.035],[-135.889,57.988],[-135.888,57.988],null,[-153.393,57.158],[-154.099,56.962],[-154.803,57.285],[-153.278,58.005],[-152.329,57.813],[-152.347,57.423],[-153.393,57.158],null,[-134.655,56.163],[-135.371,56.833],[-135.4,57.438],[-135.004,57.399],[-134.618,56.721],[-134.655,56.163],null,[-135.702,57.317],[-135.702,57.317],null,[-133.053,56.977],[-133.024,56.602],[-133.166,56.453],[-133.649,56.443],[-133.875,57.086],[-133.053,56.977],null,[-133.965,56.081],[-134.283,56.356],[-134.395,56.721],[-133.995,56.874],[-133.856,56.279],[-133.965,56.081],null,[-132.804,56.786],[-132.804,56.786],null,[-132.338,56.48],[-132.338,56.48],null,[-132.705,56.456],[-132.705,56.456],null,[-132.474,55.496],[-131.999,55.1],[-132.006,54.69],[-132.291,54.714],[-133.619,56.207],[-133.612,56.348],[-133.19,56.33],[-132.727,55.99],[-132.382,55.669],[-132.474,55.496],null,[-132.392,56.336],[-132.202,56.085],[-132.34,55.913],[-132.697,56.107],[-132.392,56.336]],AZ:[[-114.521,33.028],[-114.664,33.039],[-114.725,33.411],[-114.529,33.56],[-114.526,33.952],[-114.125,34.273],[-114.621,34.999],[-114.728,36.086],[-114.381,36.151],[-114.234,36.018],[-114.037,36.216],[-114.044,36.996],[-109.049,36.997],[-109.049,32.442],[-109.046,31.343],[-111.072,31.336],[-114.822,32.487],[-114.809,32.616],[-114.722,32.721],[-114.572,32.737],[-114.461,32.845],[-114.521,33.028]],AR:[[-94.462,34.197],[-94.439,34.929],[-94.617,36.489],[-90.15,36.492],[-90.379,35.99],[-89.722,36],[-89.645,35.914],[-90.305,35.001],[-91.089,33.995],[-91.162,33.013],[-94.039,33.023],[-94.036,33.556],[-94.477,33.632],[-94.462,34.197]],CA:[[-121.665,38.169],[-122.316,38.206],[-122.516,37.822],[-123.722,38.925],[-123.838,39.826],[-124.393,40.435],[-124.058,41.458],[-124.206,41.998],[-121.442,41.994],[-119.993,41.989],[-119.995,38.994],[-119.153,38.412],[-114.621,34.999],[-114.125,34.273],[-114.526,33.952],[-114.529,33.56],[-114.725,33.411],[-114.664,33.039],[-114.521,33.028],[-114.461,32.845],[-114.572,32.737],[-114.722,32.721],[-117.128,32.536],[-117.328,33.111],[-118.542,34.037],[-118.788,34.018],[-119.606,34.416],[-120.641,34.572],[-120.638,35.14],[-120.992,35.457],[-121.882,36.307],[-121.761,36.819],[-121.883,36.962],[-122.061,36.947],[-122.415,37.239],[-122.498,37.7],[-122.366,37.703],[-122.089,37.453],[-121.975,37.461],[-122.2,37.735],[-122.296,38.015],[-121.699,38.023],[-121.665,38.169],null,[-119.868,34.075],[-119.573,34.056],[-119.539,34.007],[-119.847,33.968],[-119.928,34.059],[-119.868,34.075],null,[-120.167,33.924],[-120.239,34.011],[-120.047,34.041],[-119.963,33.948],[-120.109,33.895],[-120.167,33.924],null,[-118.595,33.481],[-118.362,33.411],[-118.295,33.334],[-118.455,33.325],[-118.595,33.481],null,[-118.351,32.819],[-118.42,32.806],[-118.6,33.021],[-118.572,33.036],[-118.351,32.819]],CO:[[-102.044,37.642],[-102.037,36.989],[-102.998,36.998],[-109.049,36.997],[-109.048,40.998],[-104.052,41.003],[-102.048,40.998],[-102.052,39.999],[-102.044,37.642]],CT:[[-73.53,41.523],[-73.484,42.047],[-71.802,42.018],[-71.798,42.004],[-71.79,41.601],[-71.848,41.325],[-72.907,41.27],[-73.653,40.998],[-73.53,41.523]],DE:[[-75.707,38.558],[-75.711,38.65],[-75.791,39.724],[-75.644,39.838],[-75.421,39.799],[-75.489,39.715],[-75.61,39.613],[-75.563,39.567],[-75.59,39.464],[-75.402,39.258],[-75.397,39.073],[-75.325,39.013],[-75.308,38.946],[-75.191,38.809],[-75.083,38.8],[-75.046,38.45],[-75.068,38.45],[-75.093,38.451],[-75.699,38.463],[-75.707,38.558]],DC:[[-77.008,38.967],[-76.911,38.89],[-77.045,38.788],[-77.122,38.932],[-77.042,38.993],[-77.008,38.967]],FL:[[-80.786,28.785],[-80.851,28.786],[-80.747,28.399],[-80.401,27.704],[-80.051,26.797],[-80.128,25.977],[-80.302,25.614],[-80.302,25.401],[-80.421,25.192],[-81.119,25.134],[-81.148,25.165],[-80.915,25.247],[-81.258,25.681],[-81.718,25.924],[-82.052,26.867],[-82.153,26.937],[-82.29,26.85],[-82.566,27.387],[-82.404,27.792],[-82.461,27.94],[-82.624,27.849],[-82.678,27.706],[-82.844,27.851],[-82.637,28.885],[-82.802,29.155],[-83.037,29.179],[-83.972,30.078],[-84.354,30.07],[-84.36,29.977],[-85.215,29.702],[-85.53,30.132],[-85.57,30.311],[-85.753,30.297],[-85.726,30.129],[-86.388,30.388],[-86.115,30.386],[-86.22,30.488],[-86.933,30.464],[-87.02,30.587],[-87.274,30.357],[-87.445,30.531],[-87.599,31.003],[-85.002,31.001],[-84.863,30.713],[-82.221,30.567],[-82.18,30.369],[-82.053,30.364],[-81.953,30.82],[-81.529,30.721],[-81.481,30.381],[-81.234,29.669],[-80.786,28.785],null,[-80.726,28.784],[-80.58,28.59],[-80.526,28.463],[-80.622,28.413],[-80.66,28.619],[-80.786,28.688],[-80.726,28.784],null,[-82.102,26.586],[-82.067,26.498],[-82.097,26.494],[-82.183,26.683],[-82.129,26.694],[-82.102,26.586],null,[-80.249,25.355],[-80.353,25.212],[-80.362,25.297],[-80.249,25.355]],GA:[[-85.13,31.779],[-85.07,31.981],[-84.894,32.259],[-85.335,33.655],[-85.609,34.99],[-84.324,34.989],[-83.989,34.989],[-83.106,35],[-83.34,34.678],[-82.868,34.458],[-82.517,33.931],[-82.214,33.681],[-81.914,33.415],[-81.76,33.195],[-81.493,33.005],[-81.412,32.626],[-81.236,32.521],[-81.119,32.118],[-80.895,32.006],[-81.135,31.646],[-81.301,31.276],[-81.528,31.131],[-81.529,30.721],[-81.953,30.82],[-82.053,30.364],[-82.18,30.369],[-82.221,30.567],[-84.863,30.713],[-85.002,31.001],[-85.13,31.779],null,[-81.485,30.904],[-81.403,30.939],[-81.456,30.716],[-81.48,30.737],[-81.485,30.904]],HI:[[-159.338,21.951],[-159.442,21.871],[-159.804,22.04],[-159.579,22.216],[-159.394,22.233],[-159.298,22.128],[-159.338,21.951],null,[-160.077,22.008],[-160.093,21.919],[-160.205,21.799],[-160.245,21.807],[-160.229,21.895],[-160.077,22.008],null,[-157.676,21.301],[-157.829,21.253],[-157.949,21.309],[-158.102,21.293],[-158.27,21.59],[-158.118,21.582],[-157.989,21.703],[-157.813,21.438],[-157.764,21.462],[-157.676,21.301],null,[-156.721,21.141],[-156.769,21.068],[-157.074,21.108],[-157.291,21.084],[-157.307,21.141],[-157.234,21.237],[-156.962,21.213],[-156.946,21.165],[-156.721,21.141],null,[-156.199,20.635],[-156.4,20.571],[-156.697,20.916],[-156.6,21.044],[-156.48,20.9],[-156.359,20.948],[-156.014,20.803],[-156.046,20.659],[-156.199,20.635],null,[-157.042,20.932],[-156.913,20.932],[-156.809,20.844],[-156.817,20.795],[-156.97,20.731],[-157.058,20.884],[-157.042,20.932],null,[-155.669,18.925],[-155.781,19.013],[-155.862,19.013],[-155.878,19.374],[-156.046,19.784],[-155.829,20.009],[-155.894,20.177],[-155.862,20.274],[-155.203,20.001],[-155.075,19.728],[-154.794,19.543],[-155.019,19.334],[-155.524,19.125],[-155.669,18.925]],ID:[[-117.026,43.679],[-116.902,44.146],[-117.224,44.473],[-116.47,45.606],[-116.919,45.995],[-117.032,49],[-116.064,49],[-116.053,47.976],[-115.75,47.422],[-114.611,46.629],[-114.325,46.623],[-114.561,45.549],[-114.326,45.457],[-113.971,45.697],[-112.817,44.364],[-111.475,44.702],[-111.052,44.473],[-111.049,41.996],[-114.039,41.995],[-117.019,41.995],[-117.026,43.679]],IL:[[-88.072,37.511],[-88.511,37.297],[-88.491,37.068],[-88.993,37.22],[-89.13,36.988],[-89.311,37.01],[-89.49,37.256],[-89.522,37.695],[-89.901,37.876],[-90.365,38.234],[-90.37,38.324],[-90.113,38.831],[-90.669,38.935],[-90.738,39.248],[-91.037,39.444],[-91.367,39.725],[-91.516,40.135],[-91.449,40.372],[-91.386,40.392],[-91.411,40.573],[-91.12,40.705],[-90.983,40.924],[-90.958,41.104],[-91.102,41.232],[-91.056,41.401],[-90.455,41.528],[-90.196,41.806],[-90.167,42.104],[-90.407,42.243],[-90.638,42.509],[-87.797,42.489],[-87.837,42.314],[-87.53,41.724],[-87.54,39.351],[-87.659,39.131],[-87.53,38.932],[-87.508,38.737],[-87.926,38.305],[-88.036,37.806],[-88.072,37.511]],IN:[[-86.342,38.177],[-86.666,37.847],[-86.863,37.987],[-87.106,37.784],[-87.604,37.971],[-88.036,37.806],[-87.926,38.305],[-87.508,38.737],[-87.53,38.932],[-87.659,39.131],[-87.54,39.351],[-87.53,41.724],[-87.395,41.634],[-86.835,41.766],[-84.788,41.761],[-84.79,41.697],[-84.811,39.103],[-84.819,38.793],[-85.418,38.738],[-85.931,38.034],[-86.342,38.177]],IA:[[-91.12,40.705],[-91.411,40.573],[-91.386,40.392],[-91.449,40.372],[-91.528,40.41],[-91.533,40.455],[-91.579,40.464],[-91.623,40.533],[-91.692,40.552],[-91.742,40.61],[-92.193,40.6],[-92.362,40.6],[-92.718,40.59],[-93.37,40.581],[-93.786,40.578],[-94.238,40.571],[-94.64,40.576],[-95.217,40.582],[-95.767,40.589],[-95.877,40.73],[-96.147,41.966],[-96.439,42.489],[-96.633,42.777],[-96.461,43.088],[-96.598,43.5],[-96.46,43.5],[-91.73,43.5],[-91.224,43.501],[-90.999,42.707],[-90.638,42.509],[-90.407,42.243],[-90.167,42.104],[-90.196,41.806],[-90.455,41.528],[-91.056,41.401],[-91.102,41.232],[-90.958,41.104],[-90.983,40.924],[-91.12,40.705]],KS:[[-95.072,37.002],[-102.037,36.989],[-102.044,37.642],[-102.052,39.999],[-101.407,40.001],[-95.309,39.999],[-94.938,39.896],[-95.109,39.561],[-94.601,39.141],[-94.62,36.997],[-95.072,37.002]],KY:[[-86.511,36.655],[-88.071,36.68],[-88.043,36.497],[-89.415,36.503],[-89.105,36.954],[-89.13,36.988],[-88.993,37.22],[-88.491,37.068],[-88.511,37.297],[-88.072,37.511],[-88.036,37.806],[-87.604,37.971],[-87.106,37.784],[-86.863,37.987],[-86.666,37.847],[-86.342,38.177],[-85.931,38.034],[-85.418,38.738],[-84.819,38.793],[-84.811,39.103],[-84.445,39.112],[-84.229,38.813],[-83.678,38.621],[-83.273,38.609],[-82.921,38.746],[-82.802,38.557],[-82.587,38.413],[-82.646,38.146],[-81.96,37.531],[-83.675,36.599],[-86.511,36.655],null,[-89.533,36.498],[-89.476,36.499],[-89.533,36.498]],LA:[[-93.707,30.24],[-93.507,31.039],[-94.035,31.995],[-94.039,33.023],[-91.162,33.013],[-90.966,32.44],[-91.644,31.271],[-91.632,31.001],[-89.733,31.007],[-89.842,30.68],[-89.574,30.195],[-90.24,30.381],[-90.424,30.186],[-89.849,30.011],[-89.436,30.044],[-89.364,29.797],[-89.772,29.61],[-89.033,29.223],[-89.144,29.017],[-89.389,29.1],[-90.152,29.595],[-90.078,29.176],[-90.228,29.099],[-90.451,29.352],[-90.819,29.257],[-91.828,29.839],[-92.297,29.542],[-93.234,29.789],[-93.802,29.726],[-93.9,29.81],[-93.76,30.006],[-93.707,30.24],null,[-92.016,29.596],[-91.903,29.651],[-91.702,29.577],[-91.758,29.494],[-92.016,29.596],null,[-91.341,29.342],[-91.227,29.381],[-91.164,29.245],[-91.276,29.254],[-91.341,29.342],null,[-90.935,29.259],[-90.962,29.186],[-91.056,29.191],[-91.127,29.294],[-90.999,29.324],[-90.935,29.259]],ME:[[-69.777,44.074],[-70.666,43.091],[-70.819,43.122],[-70.979,43.396],[-71.088,45.301],[-70.396,45.722],[-69.985,46.691],[-69.23,47.453],[-68.895,47.182],[-68.335,47.357],[-67.791,47.061],[-67.803,45.794],[-67.346,45.122],[-67.166,45.156],[-66.969,44.829],[-67.811,44.554],[-68.074,44.381],[-68.246,44.491],[-68.552,44.399],[-68.559,44.26],[-68.985,44.271],[-69.665,43.852],[-69.777,44.074],null,[-68.388,44.377],[-68.239,44.438],[-68.165,44.334],[-68.321,44.225],[-68.403,44.271],[-68.388,44.377]],MD:[[-75.711,38.65],[-75.707,38.558],[-75.699,38.463],[-75.093,38.451],[-75.372,38.017],[-75.626,37.996],[-75.648,37.97],[-75.865,37.98],[-76.065,38.259],[-76.251,38.595],[-76.032,38.572],[-76.218,39.205],[-76.154,39.402],[-76.604,39.26],[-76.424,39.118],[-76.549,38.759],[-76.385,38.391],[-76.647,38.45],[-76.344,38.213],[-76.33,38.046],[-77.002,38.427],[-77.221,38.391],[-77.278,38.487],[-77.045,38.788],[-76.911,38.89],[-77.008,38.967],[-77.042,38.993],[-77.122,38.932],[-77.728,39.318],[-78.183,39.695],[-78.481,39.52],[-78.774,39.602],[-79.49,39.197],[-79.481,39.72],[-77.476,39.72],[-75.791,39.724],[-75.711,38.65],null,[-76.293,38.908],[-76.293,38.908],null,[-75.068,38.45],[-75.046,38.45],[-75.068,38.45],null,[-75.27,38.028],[-75.164,38.205],[-75.173,38.124],[-75.242,38.029],[-75.27,38.028]],MA:[[-71.319,41.772],[-71.379,42.014],[-71.798,42.004],[-71.802,42.018],[-73.484,42.047],[-73.258,42.746],[-72.456,42.726],[-72.28,42.721],[-71.287,42.699],[-70.814,42.867],[-70.593,42.646],[-71.034,42.286],[-70.775,42.249],[-70.424,41.744],[-70.205,41.713],[-70.255,42.06],[-70.135,42.072],[-69.918,41.768],[-69.954,41.672],[-70.665,41.556],[-70.62,41.736],[-71.117,41.493],[-71.141,41.655],[-71.199,41.678],[-71.229,41.708],[-71.319,41.772],null,[-70.604,41.43],[-70.486,41.342],[-70.77,41.298],[-70.844,41.349],[-70.604,41.43],null,[-70.032,41.312],[-69.968,41.252],[-70.103,41.238],[-70.207,41.294],[-70.032,41.312]],MI:[[-88.498,48.174],[-88.625,48.033],[-89.14,47.824],[-89.202,47.884],[-88.498,48.174],null,[-88.501,47.29],[-88.211,47.448],[-87.788,47.471],[-87.704,47.416],[-88.222,47.201],[-88.413,46.988],[-88.596,47.244],[-88.501,47.29],null,[-85.86,45.969],[-86.259,45.947],[-86.63,45.621],[-86.697,45.693],[-86.585,45.814],[-86.761,45.826],[-87.124,45.696],[-87.673,45.141],[-87.778,45.684],[-90.112,46.34],[-90.408,46.569],[-89.791,46.825],[-89.387,46.85],[-88.629,47.226],[-88.447,46.799],[-87.901,46.91],[-87.371,46.508],[-86.76,46.487],[-86.097,46.655],[-84.955,46.771],[-85.017,46.476],[-84.312,46.489],[-83.99,46.026],[-84.689,46.036],[-84.732,45.856],[-85.378,46.1],[-85.86,45.969],null,[-83.855,46.014],[-83.65,46.104],[-83.473,45.987],[-83.58,45.917],[-83.855,46.014],null,[-86.835,41.766],[-86.374,42.249],[-86.218,42.775],[-86.541,43.663],[-86.272,44.351],[-86.259,44.701],[-85.61,45.197],[-85.638,44.778],[-85.526,44.763],[-85.373,45.273],[-84.922,45.41],[-85.12,45.57],[-84.724,45.78],[-84.206,45.631],[-83.394,45.273],[-83.313,45.099],[-83.444,45.053],[-83.281,44.703],[-83.357,44.335],[-83.918,43.917],[-83.938,43.698],[-83.699,43.6],[-83.326,43.941],[-82.94,44.07],[-82.618,43.788],[-82.42,42.972],[-82.518,42.634],[-82.802,42.613],[-83.483,41.725],[-84.79,41.697],[-84.788,41.761],[-86.835,41.766]],MN:[[-91.73,43.5],[-96.46,43.5],[-96.458,45.299],[-96.833,45.651],[-96.567,45.934],[-96.889,47.674],[-97.131,48.204],[-97.097,48.675],[-97.229,49],[-95.158,49],[-95.152,49.372],[-94.832,49.331],[-94.57,48.714],[-93.844,48.625],[-93.781,48.512],[-93.514,48.534],[-93.458,48.593],[-92.947,48.628],[-92.707,48.46],[-92.498,48.44],[-92.37,48.221],[-92.277,48.244],[-92.276,48.352],[-92.035,48.355],[-91.572,48.044],[-91.239,48.081],[-90.865,48.254],[-90.743,48.088],[-90.145,48.113],[-89.9,47.992],[-90,47.825],[-90.51,47.71],[-92.303,46.667],[-92.287,46.659],[-92.289,46.073],[-92.877,45.579],[-92.806,44.746],[-91.251,43.788],[-91.224,43.501],[-91.73,43.5]],MS:[[-88.451,31.436],[-88.401,30.394],[-88.399,30.353],[-88.683,30.342],[-88.886,30.398],[-89.276,30.315],[-89.273,30.372],[-89.358,30.365],[-89.438,30.201],[-89.574,30.195],[-89.842,30.68],[-89.733,31.007],[-91.632,31.001],[-91.644,31.271],[-90.966,32.44],[-91.162,33.013],[-91.089,33.995],[-90.305,35.001],[-88.194,35.005],[-88.091,34.896],[-88.426,32.309],[-88.451,31.436]],MO:[[-89.105,36.954],[-89.415,36.503],[-89.476,36.499],[-89.533,36.498],[-89.519,36.356],[-89.606,36.355],[-89.59,36.13],[-89.722,36],[-90.379,35.99],[-90.15,36.492],[-94.617,36.489],[-94.62,36.997],[-94.601,39.141],[-95.109,39.561],[-94.938,39.896],[-95.309,39.999],[-95.767,40.589],[-95.217,40.582],[-94.64,40.576],[-94.238,40.571],[-93.786,40.578],[-93.37,40.581],[-92.718,40.59],[-92.362,40.6],[-92.193,40.6],[-91.742,40.61],[-91.692,40.552],[-91.623,40.533],[-91.579,40.464],[-91.533,40.455],[-91.528,40.41],[-91.449,40.372],[-91.516,40.135],[-91.367,39.725],[-91.037,39.444],[-90.738,39.248],[-90.669,38.935],[-90.113,38.831],[-90.37,38.324],[-90.365,38.234],[-89.901,37.876],[-89.522,37.695],[-89.49,37.256],[-89.311,37.01],[-89.13,36.988],[-89.105,36.954]],MT:[[-111.475,44.702],[-112.817,44.364],[-113.971,45.697],[-114.326,45.457],[-114.561,45.549],[-114.325,46.623],[-114.611,46.629],[-115.75,47.422],[-116.053,47.976],[-116.064,49],[-104.063,49],[-104.049,45.943],[-104.06,44.997],[-111.053,44.996],[-111.052,44.473],[-111.475,44.702]],NE:[[-101.407,40.001],[-102.052,39.999],[-102.048,40.998],[-104.052,41.003],[-104.054,41.698],[-104.056,43.003],[-102.788,42.995],[-98.498,42.992],[-97.311,42.862],[-96.439,42.489],[-96.147,41.966],[-95.877,40.73],[-95.767,40.589],[-95.309,39.999],[-101.407,40.001]],NV:[[-119.153,38.412],[-119.995,38.994],[-119.993,41.989],[-117.019,41.995],[-114.039,41.995],[-114.047,38.138],[-114.044,36.996],[-114.037,36.216],[-114.234,36.018],[-114.381,36.151],[-114.728,36.086],[-114.621,34.999],[-119.153,38.412]],NH:[[-72.28,42.721],[-72.456,42.726],[-72.553,42.861],[-72.395,43.518],[-72.035,44.083],[-72.06,44.261],[-71.537,44.579],[-71.631,44.742],[-71.505,45.013],[-71.297,45.294],[-71.088,45.301],[-70.979,43.396],[-70.819,43.122],[-70.734,43.059],[-70.814,42.867],[-71.287,42.699],[-72.28,42.721]],NJ:[[-75.489,39.715],[-75.421,39.799],[-75.143,39.882],[-74.739,40.178],[-75.182,40.557],[-75.055,40.856],[-75.139,40.977],[-74.7,41.351],[-73.977,40.797],[-74.147,40.675],[-74.279,40.514],[-74.225,40.444],[-74.122,40.452],[-73.978,40.324],[-74.077,40.042],[-74.159,39.879],[-74.238,39.624],[-74.412,39.543],[-74.448,39.381],[-74.623,39.282],[-74.876,38.957],[-74.968,38.972],[-74.89,39.114],[-74.917,39.171],[-75.12,39.185],[-75.553,39.49],[-75.517,39.567],[-75.57,39.618],[-75.489,39.715]],NM:[[-109.049,32.442],[-109.049,36.997],[-102.998,36.998],[-102.997,36.492],[-103.058,32.002],[-106.624,32.001],[-106.54,31.786],[-107.284,31.785],[-108.203,31.787],[-108.211,31.344],[-109.046,31.343],[-109.049,32.442]],NY:[[-79.763,42.267],[-78.859,42.793],[-79.062,43.268],[-77.992,43.366],[-76.915,43.279],[-76.223,43.554],[-76.363,44.098],[-74.736,44.993],[-73.345,45.006],[-73.436,44.046],[-73.258,42.746],[-73.484,42.047],[-73.53,41.523],[-73.653,40.998],[-73.977,40.797],[-74.7,41.351],[-75.383,41.998],[-79.762,42.003],[-79.763,42.267],null,[-73.752,40.595],[-74.004,40.581],[-74.028,40.639],[-73.598,40.903],[-71.924,41.085],[-71.919,41.031],[-72.521,40.815],[-73.752,40.595]],NC:[[-83.989,34.989],[-84.324,34.989],[-84.226,35.262],[-84.043,35.273],[-83.955,35.456],[-82.987,35.774],[-82.914,35.928],[-82.763,36],[-82.475,35.993],[-82.208,36.147],[-82.02,36.13],[-81.67,36.59],[-79.144,36.546],[-76.046,36.557],[-75.924,36.351],[-75.981,36.17],[-76.183,36.315],[-76.219,36.297],[-76.112,36.175],[-76.741,35.937],[-75.818,35.924],[-75.729,35.665],[-75.891,35.631],[-76.181,35.342],[-76.533,35.45],[-76.458,35.505],[-76.638,35.52],[-76.705,35.412],[-77.103,35.55],[-76.983,35.437],[-76.695,35.351],[-76.605,35.139],[-76.913,34.937],[-76.647,34.907],[-76.67,34.97],[-76.445,35.017],[-76.364,34.943],[-76.625,34.72],[-77.05,34.699],[-77.538,34.457],[-77.864,34.193],[-77.96,34.189],[-78.034,33.914],[-78.579,33.882],[-79.074,34.305],[-79.667,34.801],[-80.8,34.816],[-80.785,34.941],[-81.049,35.152],[-82.389,35.208],[-83.106,35],[-83.989,34.989],null,[-76.027,36.557],[-76.027,36.557],null,[-75.902,36.556],[-75.902,36.556],null,[-75.491,35.671],[-75.491,35.671],null,[-76.017,35.07],[-75.975,35.116],[-75.853,35.167],[-75.763,35.193],[-76.017,35.07],null,[-76.544,34.588],[-76.432,34.761],[-76.287,34.877],[-76.544,34.588]],ND:[[-98.73,45.938],[-104.049,45.943],[-104.063,49],[-97.229,49],[-97.097,48.675],[-97.131,48.204],[-96.889,47.674],[-96.567,45.934],[-98.73,45.938]],OH:[[-83.273,38.609],[-83.678,38.621],[-84.229,38.813],[-84.445,39.112],[-84.811,39.103],[-84.79,41.697],[-83.483,41.725],[-82.796,41.538],[-82.909,41.429],[-82.549,41.391],[-81.739,41.491],[-81.362,41.724],[-80.521,41.987],[-80.522,40.637],[-80.668,40.582],[-80.605,40.306],[-80.881,39.624],[-81.339,39.354],[-81.668,39.27],[-81.841,38.938],[-82.043,39.014],[-82.217,38.779],[-82.174,38.632],[-82.329,38.442],[-82.587,38.413],[-82.802,38.557],[-82.921,38.746],[-83.273,38.609]],OK:[[-94.439,34.929],[-94.462,34.197],[-94.477,33.632],[-95.128,33.941],[-96.317,33.702],[-96.585,33.896],[-97.671,33.989],[-97.87,33.855],[-98.173,34.115],[-99.177,34.213],[-99.996,34.562],[-100.002,36.493],[-100.007,36.494],[-102.997,36.492],[-102.998,36.998],[-102.037,36.989],[-95.072,37.002],[-94.62,36.997],[-94.617,36.489],[-94.439,34.929]],OR:[[-121.442,41.994],[-124.206,41.998],[-124.415,42.246],[-124.401,42.623],[-124.56,42.833],[-124.274,43.459],[-124.118,44.27],[-124.076,44.815],[-123.892,45.474],[-123.996,45.942],[-123.517,46.236],[-123.364,46.144],[-123.305,46.145],[-123.176,46.184],[-122.9,46.079],[-122.76,45.649],[-122.245,45.548],[-121.529,45.72],[-120.908,45.636],[-120.624,45.744],[-120.443,45.689],[-118.982,45.999],[-116.919,45.995],[-116.47,45.606],[-117.224,44.473],[-116.902,44.146],[-117.026,43.679],[-117.019,41.995],[-119.993,41.989],[-121.442,41.994]],PA:[[-77.476,39.72],[-79.481,39.72],[-80.524,39.721],[-80.522,40.637],[-80.521,41.987],[-79.763,42.267],[-79.762,42.003],[-75.383,41.998],[-74.7,41.351],[-75.139,40.977],[-75.055,40.856],[-75.182,40.557],[-74.739,40.178],[-75.143,39.882],[-75.421,39.799],[-75.644,39.838],[-75.791,39.724],[-77.476,39.72]],RI:[[-71.79,41.601],[-71.798,42.004],[-71.379,42.014],[-71.319,41.772],[-71.229,41.708],[-71.284,41.679],[-71.394,41.761],[-71.427,41.487],[-71.49,41.392],[-71.848,41.325],[-71.79,41.601],null,[-71.199,41.678],[-71.141,41.655],[-71.117,41.493],[-71.2,41.463],[-71.199,41.678],null,[-71.269,41.621],[-71.219,41.636],[-71.239,41.475],[-71.35,41.446],[-71.269,41.621]],SC:[[-81.76,33.195],[-81.914,33.415],[-82.214,33.681],[-82.517,33.931],[-82.868,34.458],[-83.34,34.678],[-83.106,35],[-82.389,35.208],[-81.049,35.152],[-80.785,34.941],[-80.8,34.816],[-79.667,34.801],[-79.074,34.305],[-78.579,33.882],[-78.855,33.716],[-79.121,33.431],[-79.202,33.184],[-79.588,32.925],[-79.896,32.677],[-80.291,32.504],[-80.55,32.558],[-80.646,32.519],[-80.486,32.431],[-80.46,32.319],[-80.626,32.273],[-80.742,32.36],[-80.785,32.505],[-80.867,32.533],[-80.781,32.248],[-80.893,32.068],[-81.119,32.118],[-81.236,32.521],[-81.412,32.626],[-81.493,33.005],[-81.76,33.195],null,[-80.768,32.259],[-80.719,32.272],[-80.667,32.22],[-80.819,32.105],[-80.768,32.259]],SD:[[-102.788,42.995],[-104.056,43.003],[-104.06,44.997],[-104.049,45.943],[-98.73,45.938],[-96.567,45.934],[-96.833,45.651],[-96.458,45.299],[-96.46,43.5],[-96.598,43.5],[-96.461,43.088],[-96.633,42.777],[-96.439,42.489],[-97.311,42.862],[-98.498,42.992],[-102.788,42.995]],TN:[[-83.955,35.456],[-84.043,35.273],[-84.226,35.262],[-84.324,34.989],[-85.609,34.99],[-88.194,35.005],[-90.305,35.001],[-89.645,35.914],[-89.722,36],[-89.59,36.13],[-89.606,36.355],[-89.519,36.356],[-89.533,36.498],[-89.476,36.499],[-89.415,36.503],[-88.043,36.497],[-88.071,36.68],[-86.511,36.655],[-83.675,36.599],[-81.67,36.59],[-82.02,36.13],[-82.208,36.147],[-82.475,35.993],[-82.763,36],[-82.914,35.928],[-82.987,35.774],[-83.955,35.456]],TX:[[-105.999,31.394],[-106.54,31.786],[-106.624,32.001],[-103.058,32.002],[-102.997,36.492],[-100.007,36.494],[-100.002,36.493],[-99.996,34.562],[-99.177,34.213],[-98.173,34.115],[-97.87,33.855],[-97.671,33.989],[-96.585,33.896],[-96.317,33.702],[-95.128,33.941],[-94.477,33.632],[-94.036,33.556],[-94.039,33.023],[-94.035,31.995],[-93.507,31.039],[-93.707,30.24],[-93.76,30.006],[-93.952,29.819],[-93.835,29.675],[-94.788,29.539],[-94.701,29.755],[-95.088,29.804],[-94.891,29.4],[-95.249,28.979],[-96.238,28.572],[-96.45,28.755],[-96.66,28.679],[-96.391,28.434],[-96.662,28.306],[-96.854,28.405],[-97.261,28.065],[-97.115,27.916],[-97.32,27.691],[-97.504,27.082],[-97.475,26.477],[-97.354,26.183],[-97.386,25.846],[-98.077,26.035],[-99.107,26.42],[-99.549,27.613],[-100.352,28.394],[-100.797,29.243],[-101.544,29.81],[-102.577,29.778],[-103.154,28.979],[-104.536,29.68],[-104.891,30.571],[-105.999,31.394],null,[-96.398,28.346],[-96.739,28.184],[-96.532,28.319],[-96.398,28.346],null,[-97.359,27.284],[-97.336,27.441],[-97.259,27.652],[-97.076,27.812],[-97.224,27.574],[-97.359,27.284],null,[-97.301,26.601],[-97.296,26.601],[-97.301,26.601]],UT:[[-114.047,38.138],[-114.039,41.995],[-111.049,41.996],[-111.051,40.997],[-109.048,40.998],[-109.049,36.997],[-114.044,36.996],[-114.047,38.138]],VT:[[-73.258,42.746],[-73.436,44.046],[-73.345,45.006],[-71.505,45.013],[-71.631,44.742],[-71.537,44.579],[-72.06,44.261],[-72.035,44.083],[-72.395,43.518],[-72.553,42.861],[-72.456,42.726],[-73.258,42.746]],VA:[[-79.144,36.546],[-81.67,36.59],[-83.675,36.599],[-81.96,37.531],[-81.666,37.205],[-81.359,37.339],[-81.223,37.24],[-80.509,37.475],[-79.935,38.121],[-79.642,38.592],[-79.232,38.48],[-78.793,38.88],[-78.347,39.457],[-77.82,39.142],[-77.728,39.318],[-77.122,38.932],[-77.045,38.788],[-77.322,38.344],[-77.054,38.376],[-76.936,38.203],[-76.259,37.89],[-76.314,37.551],[-76.455,37.378],[-76.704,37.419],[-76.279,37.075],[-76.384,36.991],[-76.697,37.233],[-76.941,37.237],[-76.401,36.826],[-75.995,36.923],[-75.902,36.556],[-76.027,36.557],[-76.046,36.557],[-79.144,36.546],null,[-75.27,38.028],[-75.242,38.029],[-75.339,37.889],[-75.378,37.901],[-75.27,38.028],null,[-75.867,37.552],[-75.941,37.562],[-75.648,37.97],[-75.626,37.996],[-75.372,38.017],[-75.618,37.697],[-75.705,37.494],[-75.931,37.143],[-76.018,37.309],[-75.867,37.552]],WA:[[-122.402,48.225],[-122.43,48.599],[-122.697,48.803],[-122.765,49],[-117.032,49],[-116.919,45.995],[-118.982,45.999],[-120.443,45.689],[-120.624,45.744],[-120.908,45.636],[-121.529,45.72],[-122.245,45.548],[-122.76,45.649],[-122.9,46.079],[-123.176,46.184],[-123.305,46.145],[-123.471,46.275],[-124.079,46.267],[-124.013,46.384],[-123.841,46.404],[-123.841,46.718],[-124.047,46.887],[-123.813,46.964],[-124.193,47.167],[-124.484,47.808],[-124.717,48.378],[-122.803,48.085],[-123.154,47.349],[-122.833,47.438],[-122.917,47.615],[-122.611,47.85],[-122.474,47.755],[-122.621,47.697],[-122.504,47.507],[-122.637,47.399],[-123.115,47.208],[-122.923,47.048],[-122.325,47.344],[-122.415,47.664],[-122.217,48.007],[-122.402,48.225],null,[-122.968,48.444],[-123.095,48.479],[-123.17,48.563],[-123.141,48.624],[-122.968,48.527],[-122.968,48.444],null,[-122.733,48.277],[-122.604,48.405],[-122.526,48.321],[-122.611,48.206],[-122.38,48.032],[-122.355,47.964],[-122.443,47.918],[-122.472,47.987],[-122.545,47.968],[-122.769,48.219],[-122.733,48.277]],WV:[[-79.232,38.48],[-79.642,38.592],[-79.935,38.121],[-80.509,37.475],[-81.223,37.24],[-81.359,37.339],[-81.666,37.205],[-81.96,37.531],[-82.646,38.146],[-82.587,38.413],[-82.329,38.442],[-82.174,38.632],[-82.217,38.779],[-82.043,39.014],[-81.841,38.938],[-81.668,39.27],[-81.339,39.354],[-80.881,39.624],[-80.605,40.306],[-80.668,40.582],[-80.522,40.637],[-80.524,39.721],[-79.481,39.72],[-79.49,39.197],[-78.774,39.602],[-78.481,39.52],[-78.183,39.695],[-77.728,39.318],[-77.82,39.142],[-78.347,39.457],[-78.793,38.88],[-79.232,38.48]],WI:[[-87.749,44.962],[-88.04,44.571],[-87.926,44.539],[-87.434,44.891],[-87.368,44.812],[-87.517,44.176],[-87.875,43.359],[-87.797,42.489],[-90.638,42.509],[-90.999,42.707],[-91.224,43.501],[-91.251,43.788],[-92.806,44.746],[-92.877,45.579],[-92.289,46.073],[-92.287,46.659],[-90.775,46.92],[-90.926,46.586],[-90.408,46.569],[-90.112,46.34],[-87.778,45.684],[-87.673,45.141],[-87.749,44.962],null,[-87.034,45.29],[-86.968,45.24],[-87.311,44.799],[-87.405,44.911],[-87.231,45.175],[-87.034,45.29]],WY:[[-104.054,41.698],[-104.052,41.003],[-109.048,40.998],[-111.051,40.997],[-111.049,41.996],[-111.052,44.473],[-111.053,44.996],[-104.06,44.997],[-104.056,43.003],[-104.054,41.698]]};zingchart.maps.data.usa={_GROUPS_:{},_DEFAULTS_:zingchart.maps._DEFAULTS_,DE:{coords:A.DE,tooltip:{text:"Delaware"},label:{text:"DE"},connector:{points:[[-75.51,38.72],[-73.51,38.72]],anchor:"l"}},AK:{coords:A.AK,transform:{offsetLon:54,offsetLat:-43,scale:.3},tooltip:{text:"Alaska"},label:{text:"AK",x:"-117.16lon",y:"26.98lat"}},CO:{coords:A.CO,tooltip:{text:"Colorado"},label:{text:"CO"}},AZ:{coords:A.AZ,tooltip:{text:"Arizona"},label:{text:"AZ"}},CA:{coords:A.CA,tooltip:{text:"California"},label:{text:"CA",x:"-119.09lon",y:"36.14lat"}},AR:{coords:A.AR,tooltip:{text:"Arkansas"},label:{text:"AR"}},CT:{coords:A.CT,tooltip:{text:"Connecticut"},label:{text:"CT"},connector:{points:[[-72.93,41.8],[-70.93,40.8],[-68.93,40.8]],anchor:"l"}},MO:{coords:A.MO,tooltip:{text:"Missouri"},label:{text:"MO"}},MI:{coords:A.MI,tooltip:{text:"Michigan"},label:{text:"MI",x:"-84.56lon",y:"43.02lat"}},LA:{coords:A.LA,tooltip:{text:"Louisiana"},label:{text:"LA",x:"-92.72lon",y:"32.40lat"}},FL:{coords:A.FL,tooltip:{text:"Florida"},label:{text:"FL",x:"-81.42lon",y:"27.47lat"}},MT:{coords:A.MT,tooltip:{text:"Montana"},label:{text:"MT"}},GA:{coords:A.GA,tooltip:{text:"Georgia"},label:{text:"GA"}},MD:{coords:A.MD,tooltip:{text:"Maryland"},label:{text:"MD"},connector:{points:[[-77.25,39.35],[-71.25,39.35]],anchor:"l"}},HI:{coords:A.HI,transform:{offsetLon:51,offsetLat:6,scale:1},tooltip:{text:"Hawaii"},label:{text:"HI"},connector:{points:[[-104.42,25.49],[-106.42,25.49]],anchor:"r"}},MS:{coords:A.MS,tooltip:{text:"Mississippi"},label:{text:"MS"}},ID:{coords:A.ID,tooltip:{text:"Idaho"},label:{text:"ID",x:"-114.29lon",y:"43.32lat"}},NV:{coords:A.NV,tooltip:{text:"Nevada"},label:{text:"NV"}},IL:{coords:A.IL,tooltip:{text:"Illinois"},label:{text:"IL"}},ME:{coords:A.ME,tooltip:{text:"Maine"},label:{text:"ME"}},IN:{coords:A.IN,tooltip:{text:"Indiana"},label:{text:"IN"}},MA:{coords:A.MA,tooltip:{text:"Massachusetts"},label:{text:"MA"},connector:{points:[[-72.31,42.43],[-70.31,42.43]],anchor:"l"}},IA:{coords:A.IA,tooltip:{text:"Iowa"},label:{text:"IA"}},MN:{coords:A.MN,tooltip:{text:"Minnesota"},label:{text:"MN"}},KS:{coords:A.KS,tooltip:{text:"Kansas"},label:{text:"KS"}},AL:{coords:A.AL,tooltip:{text:"Alabama"},label:{text:"AL"}},KY:{coords:A.KY,tooltip:{text:"Kentucky"},label:{text:"KY"}},NE:{coords:A.NE,tooltip:{text:"Nebraska"},label:{text:"NE"}},NH:{coords:A.NH,tooltip:{text:"New Hampshire"},label:{text:"NH"},connector:{points:[[-71.9,43.5],[-68.9,43.5]],anchor:"l"}},OK:{coords:A.OK,tooltip:{text:"Oklahoma"},label:{text:"OK"}},NJ:{coords:A.NJ,tooltip:{text:"New Jersey"},label:{text:"NJ"},connector:{points:[[-74.41,40.14],[-72.41,40.14]],anchor:"l"}},ND:{coords:A.ND,tooltip:{text:"North Dakota"},label:{text:"ND"}},NM:{coords:A.NM,tooltip:{text:"New Mexico"},label:{text:"NM"}},PA:{coords:A.PA,tooltip:{text:"Pennsylvania"},label:{text:"PA"}},NY:{coords:A.NY,tooltip:{text:"New York"},label:{text:"NY"}},OH:{coords:A.OH,tooltip:{text:"Ohio"},label:{text:"OH"}},NC:{coords:A.NC,tooltip:{text:"North Carolina"},label:{text:"NC"}},OR:{coords:A.OR,tooltip:{text:"Oregon"},label:{text:"OR"}},RI:{coords:A.RI,tooltip:{text:"Rhode Island"},label:{text:"RI"},connector:{points:[[-71.65,41.74],[-68.65,41.74]],anchor:"l"}},SD:{coords:A.SD,tooltip:{text:"South Dakota"},label:{text:"SD"}},TX:{coords:A.TX,tooltip:{text:"Texas"},label:{text:"TX"}},SC:{coords:A.SC,tooltip:{text:"South Carolina"},label:{text:"SC"}},TN:{coords:A.TN,tooltip:{text:"Tennessee"},label:{text:"TN"}},UT:{coords:A.UT,tooltip:{text:"Utah"},label:{text:"UT"}},VA:{coords:A.VA,tooltip:{text:"Virginia"},label:{text:"VA"}},VT:{coords:A.VT,tooltip:{text:"Vermont"},label:{text:"VT"},connector:{points:[[-72.53,44.52],[-72.53,45.52]],anchor:"b"}},WA:{coords:A.WA,tooltip:{text:"Washington"},label:{text:"WA"}},WV:{coords:A.WV,tooltip:{text:"West Virginia"},label:{text:"WV"}},WI:{coords:A.WI,tooltip:{text:"Wisconsin"},label:{text:"WI"}},WY:{coords:A.WY,tooltip:{text:"Wyoming"},label:{text:"WY"}},DC:{coords:A.DC,tooltip:{text:"District of Columbia"},label:{text:"DC"},connector:{points:[[-77.05,38.91],[-74.05,37.91],[-73.05,37.91]],anchor:"l"}}},zingchart.maps.upgrade("usa")}(),zingchart.maps.usa=function(A,t,e){return zingchart.maps.convert({loader:this,loaderdata:t||{},graphid:typeof A.graphid>"u"?0:A.graphid,data:e,id:A.id||"usa",x:typeof A.x>"u"?0:A.x,y:typeof A.y>"u"?0:A.y,width:typeof A.width>"u"?1:A.width,height:typeof A.height>"u"?1:A.height,groups:A.groups||[],items:A.items||[],ignore:A.ignore||[],bbox:A.bbox||null,map:zingchart.maps.data.usa})}},782:()=>{ZC.X3.push("maps"),zingchart.maps||(zingchart.maps={},zingchart.maps.maps={},zingchart.maps.data={}),zingchart.maps.FORCESCALE=0,zingchart.maps.CONNECTORS=1,zingchart.maps.LITE=0,zingchart.maps._DEFAULTS_={_COMMON_:{label:{"font-size":9,padding:"1 2",overlap:!1},tooltip:{"border-radius":6,"background-color":"#fff",color:"#303030","border-width":1,"border-color":"#909090",padding:10}},_POLY_:{alpha:.9,shadow:!0,"shadow-distance":3,"shadow-color":"#ccc","border-width":1,"border-color":"#a3a3a3","background-color":"#e3e3e3","hover-state":{shadow:!0,"background-color":"#d3d3d3","offset-x":-1,"offset-y":-1,"shadow-distance":3},connector:{"line-color":"#666","line-width":1}},_LINE_:{alpha:1,shadow:!1,"line-width":2,"line-color":"#4ea8fc","hover-state":{"line-color":"#4ec8cc","offset-x":0,"offset-y":0,shadow:!1}},_POINT_:{alpha:1,size:3,shadow:!1,"background-color":"#333","hover-state":{"offset-x":0,"offset-y":0,shadow:!1,"border-width":1,"border-color":"#aaa","background-color":"#666"},label:{"font-size":10,"offset-y":8}}},zingchart.maps.LIGHT={"background-color":"#fff",_COMMON_:{label:{"font-size":9,padding:"1 2",overlap:!1},tooltip:{"border-radius":6,"background-color":"#fff",color:"#303030","border-width":1,"border-color":"#909090",padding:10}},_POLY_:{alpha:1,"border-width":1,"border-color":"#fff","background-color":"#DDDDDD","hover-state":{"background-color":"#C4C4C4"},connector:{"line-color":"#666","line-width":1}},_LINE_:{alpha:1,shadow:!1,"line-width":2,"line-color":"#4ea8fc","hover-state":{"line-color":"#4ec8cc","offset-x":0,"offset-y":0,shadow:!1}},_POINT_:{alpha:1,size:3,shadow:!1,"background-color":"#333","hover-state":{"offset-x":0,"offset-y":0,shadow:!1,"border-width":1,"border-color":"#aaa","background-color":"#666"},label:{"font-size":10,"offset-y":8}}},zingchart.maps.DARK={"background-color":"#221F1F",_COMMON_:{label:{"font-size":9,padding:"1 2"},tooltip:{"border-radius":6,"background-color":"#fff",color:"#303030","border-width":1,"border-color":"#909090",padding:10}},_POLY_:{alpha:1,"border-width":1,"border-color":"#221F1F","background-color":"#DDDDDD","hover-state":{"background-color":"#C4C4C4"},connector:{"line-color":"#DDDDDD","line-width":1}},_LINE_:{alpha:1,shadow:!1,"line-width":2,"line-color":"#4ea8fc","hover-state":{"line-color":"#4ec8cc","offset-x":0,"offset-y":0,shadow:!1}},_POINT_:{alpha:1,size:3,shadow:!1,"background-color":"#333","hover-state":{"offset-x":0,"offset-y":0,shadow:!1,"border-width":1,"border-color":"#aaa","background-color":"#666"},label:{"font-size":10,"offset-y":8}}},zingchart.maps.upgrade=function(A){var t,e=zingchart.maps.data,a=A.split(".");for(var c in 1===a.length?e=e[A]:2===a.length&&(e=e[a[0]][a[1]]),e)if("_GROUPS_"!==c&&"_DEFAULTS_"!==c&&"_RULES_"!==c&&null===ZC._n_(e[c].cpoint))if(null!==ZC._n_(e[c].label.x)&&null!==ZC._n_(e[c].label.y))e[c].cpoint={x:e[c].label.x,y:e[c].label.y};else{if("point"===e[c].type)t=e[c].coords[0];else if("line"===e[c].type){var h=ZC._i_(e[c].coords.length/2);t=e[c].coords[h]||e[c].coords[h+1]||e[c].coords[h-1]}else t=zingchart.maps.centroid(e[c].coords);e[c].cpoint={x:t[0].toFixed(4)+"lon",y:t[1].toFixed(4)+"lat"},e[c].label.x=t[0].toFixed(4)+"lon",e[c].label.y=t[1].toFixed(4)+"lat"}},zingchart.maps.centroid=function(A){var t,e,a,c,h=0,_=0,f=0;for(a=0,c=A.length;afZoomRatio)EC=zingchart.maps.getXY(oMap._INFO_.id,aLonLat),oMap._INFO_.offsetX-=EC[0]-iMouseX,oMap._INFO_.offsetY-=EC[1]-iMouseY;else{EC=zingchart.maps.getXY(oMap._INFO_.id,aCP);var P7=EC[0]-iCX,A0G=EC[1]-iCY/2;oMap._INFO_.offsetX=P7*((oMap._INFO_.zoom-1)/5),oMap._INFO_.offsetY=A0G*((oMap._INFO_.zoom-1)/5)}zingchart.maps.setView(oMap._INFO_.loaderid,oMap._INFO_.id,oMap._INFO_.zoom,oMap._INFO_.offsetX,oMap._INFO_.offsetY),ZC.AR.C1("maps.zoom",zingchart.getLoader(oMap._INFO_.loaderid),oMap._INFO_)}},zingchart.maps.destroyMap=function(A){delete zingchart.maps.maps[A]},zingchart.maps.setView=function(K,A52,fZoom,fOffsetX,fOffsetY){for(var H=zingchart.getLoader(K),LU=0,iShapeIndex=0,g=0;g5&&(zingchart.maps.setView(A.id,c._INFO_.id,c._INFO_.zoom,zingchart.maps.OFFX,zingchart.maps.OFFY),ZC.AR.C1("maps.zoom",zingchart.getLoader(c._INFO_.loaderid),c._INFO_)))}}}),zingchart.bind(null,ZC._[49],function(A){if(zingchart.maps.MD){var t=zingchart.getLoader(A.id),e=ZC.Q.MR(A.ev),a=t.A2A(e[0],e[1]);a&&zingchart.maps.getMapByGraphIndex(A.id,a.L)&&(zingchart.maps.MD=!1,zingchart.maps.REFOFFX=zingchart.maps.OFFX,zingchart.maps.REFOFFY=zingchart.maps.OFFY)}}),zingchart.bind(null,"mousewheel",function(A){var t=zingchart.getLoader(A.id),e=ZC.Q.MR(A.ev),a=t.A2A(e[0],e[1]);if(a){var c=zingchart.maps.getMapByGraphIndex(A.id,a.L),h=a.iX+a.I/2,_=a.iY+a.F/2;if(c){if(!c._INFO_.scrolling||A.ev.altKey)return;A.ev.preventDefault();var f,m,v=ZC.A5("#"+t.K+"-top"),E=e[0]-v.offset().left-a.iX,w=e[1]-v.offset().top-a.iY;if(A.ev.wheelDelta>0)f=zingchart.maps.getLonLat(c._INFO_.id,[E,w]),c._INFO_.zoom*=1.25,m=zingchart.maps.getXY(c._INFO_.id,f),c._INFO_.offsetX-=m[0]-E,c._INFO_.offsetY-=m[1]-w;else{var D=[(c._INFO_.bbox[0]+c._INFO_.bbox[2])/2,(c._INFO_.bbox[1]+c._INFO_.bbox[3])/2];if(f=zingchart.maps.getLonLat(c._INFO_.id,[E,w]),c._INFO_.zoom=Math.max(1,c._INFO_.zoom/1.25),c._INFO_.zoom>1.25)m=zingchart.maps.getXY(c._INFO_.id,f),c._INFO_.offsetX-=m[0]-E,c._INFO_.offsetY-=m[1]-w;else{var M=(m=zingchart.maps.getXY(c._INFO_.id,D))[0]-h,T=m[1]-_/2;c._INFO_.offsetX=M*((c._INFO_.zoom-1)/5),c._INFO_.offsetY=T*((c._INFO_.zoom-1)/5)}}zingchart.maps.setView(A.id,c._INFO_.id,c._INFO_.zoom,c._INFO_.offsetX,c._INFO_.offsetY),ZC.AR.C1("maps.zoom",zingchart.getLoader(c._INFO_.loaderid),c._INFO_)}}}),zingchart.maps.viewAll=function(A52){var oMap=zingchart.maps.maps[A52];(oMap||(oMap=eval("zingchart.maps.data."+A52),oMap))&&zingchart.maps.zoomTo(A52,{zoom:1,offsetX:0,offsetY:0})},zingchart.maps.zoomToItem=function(A52,AB4){var oMap,BR;if(oMap=zingchart.maps.maps[A52]){if(!(BR=oMap[AB4]))return}else if(oMap=eval("zingchart.maps.data."+A52),!oMap||!(BR=oMap[AB4]))return;if(oMap._INFO_){var fMapW=oMap._INFO_.bbox[2]-oMap._INFO_.bbox[0],fMapH=oMap._INFO_.bbox[1]-oMap._INFO_.bbox[3],fMapCX=(oMap._INFO_.bbox[2]+oMap._INFO_.bbox[0])/2,fMapCY=(oMap._INFO_.bbox[1]+oMap._INFO_.bbox[3])/2,fItemW=BR.bbox[2]-BR.bbox[0],fItemH=BR.bbox[1]-BR.bbox[3],fItemCX=(BR.bbox[2]+BR.bbox[0])/2,fItemCY=(BR.bbox[1]+BR.bbox[3])/2,fRatio=Math.min(fMapW/fItemW,fMapH/fItemH),fZoom=fRatio,fFactorW=oMap._INFO_.width/fMapW,fFactorH=oMap._INFO_.height/fMapH,fDiffX=fMapCX-fItemCX,fDiffY=fItemCY-fMapCY,fOffX=fRatio*(fDiffX*fFactorW),fOffY=fRatio*(fDiffY*fFactorH);zingchart.maps.zoomTo(A52,{zoom:fZoom,offsetX:fOffX,offsetY:fOffY})}},zingchart.maps.zoomTo=function(A52,BB){var oMap=zingchart.maps.maps[A52]||eval("zingchart.maps.data."+A52);if(oMap){var N9={zoom:oMap._INFO_.zoom,offsetX:oMap._INFO_.offsetX,offsetY:oMap._INFO_.offsetY};zingchart.exec(oMap._INFO_.loaderid,"setobjectsmode",{mode:"flat"}),zingchart.maps.SKIP_LABELS=!0;var Y=0,RQ=10,iZoomTick=window.setInterval(function(){var A="regularEaseOut",t=EB[A](Y,N9.zoom,BB.zoom-N9.zoom,RQ),e=EB[A](Y,N9.offsetX,BB.offsetX-N9.offsetX,RQ),a=EB[A](Y,N9.offsetY,BB.offsetY-N9.offsetY,RQ);Y===RQ&&(zingchart.maps.SKIP_LABELS=!1,zingchart.exec(oMap._INFO_.loaderid,"setobjectsmode",{mode:"normal"})),zingchart.maps.setView(oMap._INFO_.loaderid,A52,t,e,a),++Y>RQ&&(window.clearInterval(iZoomTick),oMap._INFO_.zoom=BB.fZoom,oMap._INFO_.offsetX=BB.fOffX,oMap._INFO_.offsetY=BB.fOffY,ZC.AR.C1("maps.zoom",zingchart.getLoader(oMap._INFO_.loaderid),oMap._INFO_))},1)}},zingchart.maps.getInfo=function(A52){var oMap=zingchart.maps.maps[A52];return oMap||(oMap=eval("zingchart.maps.data."+A52)),oMap},zingchart.maps.getItems=function(A52){var oMap=zingchart.maps.maps[A52];if(oMap||(oMap=eval("zingchart.maps.data."+A52)),oMap){var B6=[];for(var sItem in oMap)"_DEFAULTS_"!==sItem&&"_INFO_"!==sItem&&"_GROUPS_"!==sItem&&"_RULES_"!==sItem&&(oMap._INFO_?-1!==ZC.AV(oMap._INFO_.items,sItem)&&B6.push(sItem):B6.push(sItem));return B6}return null},zingchart.maps.getItemInfo=function(A52,AB4){var oMap,BR;if(oMap=zingchart.maps.maps[A52]){if(BR=oMap[AB4])return BR}else if(oMap=eval("zingchart.maps.data."+A52),oMap&&(BR=oMap[AB4]))return BR;return null},zingchart.maps.getXY=function(A,t,e){var a;if(e=e||"",a=zingchart.maps.maps[A]){var c={};return ZC._cp_(a._INFO_,c),""!==e&&ZC._cp_({map:A,item:e},c),zingchart.maps.lonlat2xy(a._INFO_.x,a._INFO_.y,a._INFO_.width,a._INFO_.height,t,a._INFO_.bbox,c)}return null},zingchart.maps.getLonLat=function(A,t){var e;return(e=zingchart.maps.maps[A])?zingchart.maps.xy2lonlat(e._INFO_.x,e._INFO_.y,e._INFO_.width,e._INFO_.height,t,e._INFO_.bbox,e._INFO_):null},zingchart.maps.registerMap=function(A,t){ZC.X3.push("maps-"+A),zingchart.maps[A]||(zingchart.maps[A]={}),zingchart.maps.data[A]||(zingchart.maps.data[A]=t),zingchart.maps.data[A]._GROUPS_={},zingchart.maps.data[A]._DEFAULTS_=zingchart.maps._DEFAULTS_,zingchart.maps[A]=function(e,a,c){return zingchart.maps.convert({loader:this,loaderdata:a||{},graphid:typeof e.graphid===ZC._[31]?0:e.graphid,data:c,id:e.id||A,x:typeof e.x===ZC._[31]?0:e.x,y:typeof e.y===ZC._[31]?0:e.y,width:typeof e.width===ZC._[31]?1:e.width,height:typeof e.height===ZC._[31]?1:e.height,level:typeof e.level===ZC._[31]?1:e.level,groups:e.groups||[],items:e.items||[],ignore:e.ignore||[],bbox:e.bbox||null,map:zingchart.maps.data[A]})}},zingchart.maps.lonlat2xy=function(iX,iY,I,F,aLonLat,aBBox,BJ,bTranslate){typeof bTranslate===ZC._[31]&&(bTranslate=!1),BJ=BJ||{};var iZoom=Math.abs(ZC._f_(BJ.zoom||"1")),BL=ZC._i_(BJ.offsetX||"0"),BH=ZC._i_(BJ.offsetY||"0"),fLonRatio=I/ZC._a_(aBBox[2]-aBBox[0]),fLatRatio=F/ZC._a_(aBBox[3]-aBBox[1]);fLonRatio*=iZoom,fLatRatio*=iZoom,iX-=I*(iZoom-1)/2,iY+=F*(iZoom-1)/2,iX+=BL,iY+=BH;var iPx=iX+(ZC._f_(aLonLat[0])-ZC.CX(aBBox[0],aBBox[2]))*fLonRatio,iPy=iY+F-(ZC._f_(aLonLat[1])-ZC.CX(aBBox[1],aBBox[3]))*fLatRatio,oMap,BR;if(BJ&&BJ.map&&(oMap=zingchart.maps.maps[BJ.map],oMap||(oMap=eval("zingchart.maps.data."+BJ.map)),oMap)){if((BR=oMap[BJ.item])&&(iPx+=BR.transform.offsetLon*fLonRatio,iPy-=BR.transform.offsetLat*fLatRatio,1!==BR.transform.scale)){var oItemX=iX+(ZC.CX(BR.bbox[0],BR.bbox[2])-ZC.CX(aBBox[0],aBBox[2]))*fLonRatio,oItemY=iY+F-(ZC.CX(BR.bbox[1],BR.bbox[3])-ZC.CX(aBBox[1],aBBox[3]))*fLatRatio,oItemHeight=ZC._a_(BR.bbox[3]-BR.bbox[1])*fLatRatio;iPx=oItemX+(iPx-oItemX)*BR.transform.scale,iPy=oItemY-oItemHeight+(iPy-(oItemY-oItemHeight))*BR.transform.scale}bTranslate&&(iPx+=oMap._INFO_.graphinfo.graph.x,iPy+=oMap._INFO_.graphinfo.graph.y)}return[iPx,iPy]},zingchart.maps.xy2lonlat=function(A,t,e,a,c,h,_){_=_||{};var f=Math.abs(ZC._f_(_.zoom||"1")),m=ZC._i_(_.offsetX||"0"),v=ZC._i_(_.offsetY||"0");A-=e*(f-1)/2,t-=a*(f-1)/2;var E=e/ZC._a_(h[2]-h[0]),w=a/ZC._a_(h[3]-h[1]);return[h[0]+(c[0]-A-m)/(E*=f),h[1]+(t-c[1]+v)/(w*=f)]},zingchart.maps.mappoints=function(A,t,e,a,c,h,_,f,m){var v,E,w,D,M,T,R,V=[],$=null;T=e/ZC._a_(c[2]-c[0]),R=a/ZC._a_(c[3]-c[1]),f=f||{};var y=Math.abs(ZC._f_(f.zoom||"1")),U=ZC._i_(f.offsetX||"0");T*=y,R*=y,A-=e*(y-1)/2,t-=a*(y-1)/2,t+=ZC._i_(f.offsetY||"0"),w=(A+=U)+(ZC.CX(h.bbox[0],h.bbox[2])-ZC.CX(c[0],c[2]))*T,D=t+a*y-(ZC.CX(h.bbox[1],h.bbox[3])-ZC.CX(c[1],c[3]))*R,ZC._a_(h.bbox[2]-h.bbox[0]),M=ZC._a_(h.bbox[3]-h.bbox[1])*R;for(var O=0,Q=h.coords.length;O=_[ne].bbox[0]-_[ne].offsetLon&&h.coords[O][0]<=_[ne].bbox[2]-_[ne].offsetLon&&h.coords[O][1]>=_[ne].bbox[3]-_[ne].offsetLat&&h.coords[O][1]<=_[ne].bbox[1]-_[ne].offsetLat){W=_[ne].offsetLon,ae=_[ne].offsetLat,ee=_[ne].scale,$=_[ne].bbox;break}if(v=A+(h.coords[O][0]-ZC.CX(c[0],c[2]))*T+W*T,E=t+(ZC.BQ(c[1],c[3])-h.coords[O][1])*R-ae*R,1!==ee)if("__"===h.id){var te=A+(ZC.CX($[0],$[2])-ZC.CX(c[0],c[2]))*T,le=t+a-(ZC.CX($[1],$[3])-ZC.CX(c[1],c[3]))*R,ce=ZC._a_($[3]-$[1])*R;v=te+(v-te)*ee,E=le-ce+(E-(le-ce))*ee}else v=w+(v-w)*ee,E=D-M+(E-(D-M))*ee;null!==ZC._n_(m)?V.push([parseInt(v,10)-ZC.AQ.E3,parseInt(E,10)-ZC.AQ.E4,parseInt(m,10)]):V.push([parseInt(v,10),parseInt(E,10)])}return V},zingchart.maps.translate=function(A,t,e,a,c){var h=e/ZC._a_(c[2]-c[0]),_=a/ZC._a_(c[3]-c[1]);return"x"===A?t*h:t*_},zingchart.maps.convert=function(A){var t=A.data.options||{};ZC._todash_(t);var e=A.id,a=A.groups,c=A.items,h=A.ignore,_=A.bbox,f=A.level,m=!1;"01"===f&&(f=1,m=!0);var v=Math.abs(ZC._f_(t.zoom||"1")),E=ZC._i_(t["offset-x"]||"0"),w=ZC._i_(t["offset-y"]||"0"),D=!0,M=!0,T=!0;null!==ZC._n_(t.zooming)&&(D=ZC._b_(t.zooming)),null!==ZC._n_(t.panning)&&(M=ZC._b_(t.panning)),null!==ZC._n_(t.scrolling)&&(T=ZC._b_(t.scrolling));var R,V=A.loader.A0P(A.loaderdata,A.graphid);A.loader.ML&&(R=A.loader.ML.theme||"light"),A.loader.o&&(R=A.loader.o.theme||"light"),"light"===R?A.map._DEFAULTS_=zingchart.maps.LIGHT:"dark"===R&&(A.map._DEFAULTS_=zingchart.maps.DARK),ZC.AQ&&(ZC.AQ.A54=2.5*ZC.BQ(V.graph.width,V.graph.height),ZC.AQ.E3=V.plotarea.x+V.plotarea.width/2,ZC.AQ.E4=V.plotarea.y+V.plotarea.height/2);var $=ZC.IU(A.x);$=ZC._i_($>0&&$<1?$*V.plotarea.width:$),$+=V.plotarea.x;var y=ZC.IU(A.y);y=ZC._i_($>0&&y<1?y*V.plotarea.height:y),y+=V.plotarea.y;var U=ZC.IU(A.width);U=ZC._i_(U<=1?U*V.plotarea.width:U);var O=ZC.IU(A.height);O=ZC._i_(O<=1?O*V.plotarea.height:O);var Q,W,ae,ee,ne={};if(ZC._cp_(A.map,ne),0===U||0===O||!ne)return[];for(Q in ne)"_DEFAULTS_"!==Q&&"_INFO_"!==Q&&"_GROUPS_"!==Q&&"_RULES_"!==Q&&(null===ZC._n_(ne[Q].transform)&&(ne[Q].transform={offsetLon:0,offsetLat:0,scale:1}),null===ZC._n_(ne[Q].connector)&&(ne[Q].connector={points:[],anchor:""}));for(Q in ne)if("_DEFAULTS_"!==Q&&"_INFO_"!==Q&&"_GROUPS_"!==Q&&"_RULES_"!==Q&&!(0===f&&"__"!==Q||0!==f&&"__"===Q&&!m)){ee=[ZC.MAX,-ZC.MAX,-ZC.MAX,ZC.MAX];var oe=ne[Q].transform.offsetLon,te=ne[Q].transform.offsetLat,le=ne[Q].transform.scale;for(W=0;W=ne._RULES_[ce].bbox[0]-ne._RULES_[ce].offsetLon&&ne[Q].coords[W][0]<=ne._RULES_[ce].bbox[2]-ne._RULES_[ce].offsetLon&&ne[Q].coords[W][1]>=ne._RULES_[ce].bbox[3]-ne._RULES_[ce].offsetLat&&ne[Q].coords[W][1]<=ne._RULES_[ce].bbox[1]-ne._RULES_[ce].offsetLat){oe=ne._RULES_[ce].offsetLon,te=ne._RULES_[ce].offsetLat,le=ne._RULES_[ce].scale;break}ee[0]=ZC.CX(ee[0],ne[Q].coords[W][0]+oe),ee[1]=ZC.BQ(ee[1],ne[Q].coords[W][1]+te),ee[2]=ZC.BQ(ee[2],ne[Q].coords[W][0]+oe),ee[3]=ZC.CX(ee[3],ne[Q].coords[W][1]+te)}1!==le&&"__"!==Q&&(ee[2]=ee[0]+(ee[2]-ee[0])*le,ee[3]=ee[1]-(ee[1]-ee[3])*le),ne[Q].id=Q,ne[Q].bbox=ee}ee=[ZC.MAX,-ZC.MAX,-ZC.MAX,ZC.MAX];var se=[];if(a.length>0&&ne._GROUPS_){for(W=0,ae=a.length;W=0;W--)if(-1===se[W].indexOf("@"))-1!==ZC.AV(h,se[W])&&se.splice(W,1);else{var he=se[W].split("@");-1!==ZC.AV(h,he[0])&&se.splice(W,1)}}if(c.length>0)for(W=0,ae=c.length;W=0;W--)if(se[W]&&-1!==se[W].indexOf("@")){var fe=se[W].split("@");-1!==ZC.AV(se,fe[0])&&se.splice(W,1)}if(null!==ZC._n_(_)&&4===_.length)ee=_;else for(W=0,ae=se.length;W1.05){var ve=ZC._i_(U/ie);$+=(U-ve)/2,U=ve}else if(ie<.95){var ke=ZC._i_(O*ie);y+=(O-ke)/2,O=ke}Ze=U/ZC._a_(ee[2]-ee[0]),pe=O/ZC._a_(ee[3]-ee[1])}for(var de in zingchart.maps.maps)if(e!==de){var Oe=zingchart.maps.maps[de];Oe&&Oe._INFO_&&A.loader.K===Oe._INFO_.loaderid&&Oe._INFO_.graphinfo&&Oe._INFO_.graphinfo.graph&&Oe._INFO_.graphinfo.graph.index===V.graph.index&&(Oe._INFO_.graphinfo.graph.index=-1)}ne._INFO_={loaderid:A.loader.K,x:$,y,zoom:v,zooming:D,panning:M,scrolling:T,offsetX:E,offsetY:w,width:U,height:O,id:e,bbox:ee,groups:a,items:se,ignore:h,graphinfo:V},3*se.length>zingchart.DEV.MAXPOOLSIZE&&(zingchart.DEV.MAXPOOLSIZE+=3*se.length),zingchart.maps.maps[e]=ne;var Fe,be={},Se={};if(Fe=t.choropleth){var xe,we=ZC.MAX,Re=-ZC.MAX,Ie="";for(W=0,ae=se.length;W=Qe[ot]&&xe1.05||ie<.95)&&(be._ALERT_={type:"circle",id:"_ALERT_",x:$+10,y:y+10,size:8,"background-color":"#c00",label:{color:"#fff",bold:!0,text:"!"},tooltip:{text:"Scaling Error
Use "+U+"/"+ZC._i_(O*ie)+" or "+ZC._i_(U/ie)+"/"+O,"background-color":"#c00","border-radius":8,color:"#fff"}}),be},zingchart.maps.exportMap=function(A,t){var e=['ZC.X3.push("maps-{{exportid}}");',"","(function() {","","if (!zingchart.maps.{{exportid}}) {","zingchart.maps.{{exportid}} = {};","};","","if (!zingchart.maps.data.{{exportid}}) {","zingchart.maps.data.{{exportid}} = {};","};","","var _COORDS_ = {","{{coords}}","};","","zingchart.maps.data.{{exportid}} = {","_GROUPS_:{","{{groups}}","},","_DEFAULTS_:zingchart.maps._DEFAULTS_,","{{items}}","};","",'zingchart.maps.upgrade("{{exportid}}");',"","})();","","zingchart.maps.{{exportid}} = function(p, ld, d) {","return zingchart.maps.convert({","loader:this,","loaderdata:ld || {},",'graphid:((typeof(p.graphid) == "undefined")?0:p.graphid),',"data:d,",'id:p.id || "{{exportid}}",','x:((typeof(p.x) == "undefined")?0:p.x),','y:((typeof(p.y) == "undefined")?0:p.y),','width:((typeof(p.width) == "undefined")?1:p.width),','height:((typeof(p.height) == "undefined")?1:p.height),','level:((typeof(p.level) == "undefined")?1:p.level),',"groups:p.groups || [],","items:p.items || [],","ignore:p.ignore || [],","bbox:p.bbox || null,","map:zingchart.maps.data.{{exportid}}","});","}"].join("\n"),a=['"{{id}}":{','coords:_COORDS_["{{id}}"],',"tooltip:{",'text:"{{text}}"',"},","cpoint:{",'x:"{{x}}", y:"{{y}}"',"},","label:{",'text:"{{id}}", x:"{{x}}", y:"{{y}}"',"}","}"].join("\n"),c=e;c=c.replace(/\{\{exportid\}\}/gi,t);var h=[],_=[],f=[],m=zingchart.maps.data[A];for(var v in m._GROUPS_){var E='"'+v+'":["'+m._GROUPS_[v].join('","')+'"]';_.push(E)}for(var w in m)if("_DEFAULTS_"!==w&&"_GROUPS_"!==w){var D=a;D=(D=(D=(D=D.replace(/\{\{id\}\}/g,w)).replace(/\{\{text\}\}/g,m[w].tooltip.text)).replace(/\{\{x\}\}/g,m[w].cpoint.x)).replace(/\{\{y\}\}/g,m[w].cpoint.y),f.push(D);for(var M='"'+w+'":',T=[],R=0;R{"use strict";if(__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__}),typeof ZC>"u"){window.ZC={AV:function(A,t){if(A.indexOf)return A.indexOf(t);for(var e=0,a=A.length;e2048&&(ZC.cache.data={},ZC.cache.size=0)}},DEBUG:0,TS:{},MAX:Number.MAX_VALUE,IMG404:[],BLANK:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",TTLOCK:!1,REFRESH_TICK:{},ASYNC_TICK:[],COLORS:[],SEQ:0,LOGO_ABOUT:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJEAAAA1CAYAAABBVQnbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABu1JREFUeNrsXLFy4zYQBW9UR7wfSHh1iqMn6S3NxLXlLp3lL5D1ARlLkw+Q/QWiu3TW1Sqk65M5ukh9vPzAUV+gLMilDUMgAYigZUm7MzAliiDBxcPu2+XS3nq9ZiQkdaTF/3iet/UJ/vjr5wKFyz9//7dLKj0u4UboHamBpK54HEm2lgisTwgbH78ucBtDG+LnFKxSTOo9DkvU2rLvBFpH2hcKgFpCI9d2JELujMQNsd5CRFdVWKRU2G/syv7+hQWw6ePX6Nd/WELTcgScyGV0BiDqCG6wCyBa0rRQdEZC7sxaxri1ckNggRYKcr6A/ZlVA4tExPxYQAQubERqJBDtSu6hfYb2k0isoX2ztWoke06s6woRayLWJCQ5kkhIyBKR7FQIRCQEIpJjCPFn/xWR15D1fqTyEALRVtLBrU/qJhDZWB8OmFDaG8J+vk3JIhGITEQsUCtkgtslo4K1wwMRxPoBbAIXJ/Q8b3mQmpqvevD3VGFhuVV95PaXnbXTkr6h5M7j0mP3UDxMNo6g3TgCkSe5tiKb2QU3ttxD8PRRN7pFxkFxB+AYKc4hVyx04biDWGx1aqwPX+Yrbjmm0HqGPfwMbPPVOYIkPRA9yAZmYwG8Boi6gtnfJ1koXBeXhD1XGagDCN53vuoeksvabYi/ny5sogAHv4/xhhvK+c5UOj7E1Ts8BhC5zljv/8qbrzh3uZb2RgAeNY85a8dobWVLe40u8TgsEXDhEZJrHYnq46rTuS4XhK0nrW7uQmYw1lTTL5R4jFE/QQYK91VtUbjbmq8u4NNX2Q6zvNCuind1hPtMMot31k4MwB5iv0CylvaRXz6O3tO5VMGBLjozKUrDyVmw8szzFZwnEo5X1VA/RW9rdQ3KGBUxLYmGuHKG4nWk8aleqiz6XSFA5N/HuIgKZX6X7wuUGhlOxoME4FvoO1RGZ88uT6XPKAOuCgxm0aK6/8txLDPrukmci/EtDO54vP7th1HL0CpYAaiGnGtSDVnEBONJ4Xozi/Hx/Q9MX3bb2wCfKYByGWZhvt69T0pIeyF9/P1EAsGUPZcSM03/Hhx/UmnVcu533TixhgnyNRM0dgQgplGsPAkzYXwPzOzZnC7X81FBps0ln7DE4j7FFz7lhGSYWZ0CxLkF6pdEiin27WykHHILXKaLTuPRmQGAoidX8LoScOsD145xJQUVRD+2UJYM4scG7+Gly8ldqZxWOBc41UBB9q8UPEmcr54GRIXwBXn/ZDnzAMIzyhNVVTYKAAorAHTVgHL5pHOS+gEVkGqUcFnmWmB876F18Vzb5KmaijbjDAAiZ8k/jxVuWAXwZANAz5HirKR/mfBxXECbZeDYIpPe0riMsGKim8qBXMDEFy4hQv6tighD+C0usUJLOMetQOYTOFYVPe0KRHcl7nAGK98k8k0dUIKCXNemIq0SK1RF4LK8iEXIbCMzAUCi37flOJ8UUWGCoLNRctAQiBLrHioLkbvAIswP0CoHtcFcF0Sg6FEFgNIGAeSSg8RbWhZ5ctuW+ZZAmsQUXYwbyUHTR67kghQvnYMIk4k3OwKQS/Edgdh2omT9RRXE1hZAfaQYvmbx+MbWyNGzvXcSgKYaAL21h6hpRb5JFSiEliszxIjHVE6l798cAShQAChBIt7N8klnbQ/aCdvBK+hFUVqR7S1l8G8QQJznxCUvX/Zg/5005onWQnHXM18l0kq+wWjRZKI7TbgLtHD+i5CcR1RvRAp3VpUL4qt9AJMyMDznvcPkoxEZZ5uZ5iw9AWPm41ihhTB1TWPJIvdeJP3KZbrBr9wVnn20IMTBrkDka/iFDTf4/Mr3cMfUhWN83PYpfQ6W+epSuudpRmrP2rclZFf1zG7cIMfzS6zh9SuAyLfJE+2F8JpusDi3zMEzINF9Q/siKWwCkzRAy/coWIi+QrFO8i/SwpRBHeB1YixfuVRG1TmnSxwWyN0IJS7c9S8PojwWgDREblQFpIiZPi/iz8B4ZeKmmw8MwBobcSg7iaSoz3/isOXJyUK+sHpv2CQbwcaz686qLg7mNWoOJJY/9b5FpaWogBlGlnahdp7f+WBJjiPWRH11/mDXZPwp3r/La0dM88io1YD/LpR+r+FHY4MQWwxllcdiZClai09I7uPapDMHQ1dwFx3FORIcy11FYlHWRWKol0Tiavz8A+SAvgCcGK8xwwI50SqLlQK6OSmTLrrKU+m6yyJ/stcWCMb/sFaLLx3XKTmuZ31RzkdyTnL0khU17vrf7Tm4iT5TJ0kTXHlc2iUEmBe3vSco1APRIVgiH9rX9XbSJxgQiIob4WUh3y0BNCEIEIhUFmlqACbOoTo0/cSJtJZJwX8O959NvAUQkZDUkf8FGADBt38P1SQKxwAAAABJRU5ErkJggg==",IMAGES:{"zc.logo":"data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAI0AAAA8CAYAAABbyDl1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACGZJREFUeNrsXF9oFEccno2XRE1SI9ZQLcY0oIW21miQKoi5UPtiK7m+1GKhuWDrg7Z4+lILihGF6oueUH2w2pwFxT71gtonWy9SUJDEmKK0CvGikGtjg4mJ5p9xOt8mt5ndm93bTfaS3DkfLGxu525nZ779/b7vN6MKpZRISDhBlhwCCafwTLcO/XchRDsvhtTzeR/5yasb/YqcJkkaSwzGoqS3sUE9Lyj3yhmS6Uki4yNN7PFftH+oRz1/o2iVTBMSKhQr9/Tj7zU0+uiGel5TWZcS4vAaRk1P7VGWotrU85wFi0nOwhLtmtQ4UtMkaJjEa20agaTGkZpGIlPS0/2OGzTacUP7++b9MOl61q6el5VUkbl5r2vXKt/Z5lqa6GmMaJ3ovBAinRfPjKajajJvo5+PNDI1Tbf0BMJcuX1C2LA5Wq/7m5HGtU7wZOAJBD0jiSLTk0SmRZqSolWkkmyzlZ4kpKaZMsttpXFkapKWe1waR0JqGolMT09yGUHCMWkkJGR6kpCkkZCkkZCkkZCkkZCQpJGQpJGQpJF4yUnj/aOD4pDDnRmYlAXLhs4BOdIy0ki8zEjZ2hPSkVmEqZiXSyJri+QCaCakp9pTZyfMoNovPssYMjT3DNPI4+ck/Oh5wrVCj0J88z3EvzDH9HlrWwe08awtzc2YcdEiTaSphVZu/3bCP3jl+HfEu/Jd3QAp9Q/Vm9CqRWkzcP7bffRMbChpuznstfMvyCHBN2fqno2RjVY2Phsbl/LZxDvXM+2fH/3WsoVJfz1EIiG6+G49I2399oJuNwtCxx4OksJshWZCNDEQnYqIMymkgYZJFxgJs5gFkEBxDikrmKF91jVE1ZTFR6L9rQOkZKZCrdKVtNxOQl6aiF5GGMoTpnpBNgm9PUvYd19RNtMz2WpU6h6VPIG7/dA4L48Qhg5heiRpTG6+20p2HvtBeK16w/sJeiZdgFxezwleaBUzwvA5n6UkuvPugJaqoIWSfS+jIo2dCfd9c1BIrIoVy0ho7y7t+6FLlyk7dG3KlpaSYGCr2sa7bTe1e02977rVJPCpz7R/4YZrNHz1GonGOsYcTkEe8W9YT3wVaxSr+wHBB4N651NqL6UGinMV9l0tQsFtOXVkcGK4H0uBwucLPhigzT0vSLT/hdDFeefOUPthvBZqH6TR0X6hDUge7hiiIZZWu5jebXg8rAr0aB9+O3FaQ+1D7HmGKf99x+mp7POvaHfv04TPly95g0ROHNJ1Ohr7lzTc/NP0t0TXQLRA8CQR3QPta0+fo5HjhzDhip7IB2j91evC++DzfVs2U6u+qO24SRzRMfZFbXj5bHUSrAAdVHa9l97qfWF6/5vv5VEjcQJ/91MI7WR9j/ZRanRwIAeIoYKRkpGDIoV2G3ita8dB5x7Z9xlp1NMsJ4S5de++kDDNP30/4XAMkpkRRnMq7BojiP4tPB82JYwmUk+fs20zVRLOz3bUd0w03sL4IbTwd/qIGWF4EW6s8yQjTBxox9eFBBGO1NxJJEzKhLAZYebk57lCGKDtnw7b7ZCKkHLUgU1CCHt6ZtigVWa4rgMwWSJhzUcfpDikDyayldG0pLWrmu9BRFOs6klob5ZW45EUUZQX6yB5pHyMBsrlJzRZbSkpafwHjpgSBqnCTeA3Q3t2qlpEDfssghz7uT7xrbnXCp2CyJSQLhe/VkTCh/dqKYwJd+o/eISInsEMhdnu61hMlkggN6/OV/iJamYE8hWNRD8+KogIo6YW9puMNDROzGSFyOjaAiWlkQaEOfPrb6aEMWqLiSKwqYrEI8ioMAdpTENupKklsc8frtf1C+dM8LpS7Z4I7AprPgKguBYXu2aA2LX7m8GlM1Nbp8FbLCKMyvrDe1wnjDqwgnUruDIzESuKHqLfGHWFU7qfp2SW8w0FVssOiETQKUzH2IviWO5wqfAoJA1cjCgtAHUsfaRrLcZ0QvWmQ9U4cadgB7DRvHtyc40JGgf2PG63RS7HplhPTZ0mTpiag0dNCcPCf8YVrowDijfYCZgY1Tkjuv4VdyIvc0P7TSIJNBKIDTKNl0jjRZaxQGZGmH1bNk87wkD0iop8dj4zWuY5HnHNxg54wlS45LyQfnjCwD3BzTBCKjggaCGCnURE10kz4jLEhMHywHTcJ4OqbsLbefqsrc8SNFyxXqh6G5/a0kBGIVqW7w5p+Ap13G5Pl60VY2tP23ebFtYgiNlhaxARkSaLYL51a4ixsAdxXPjBJ7RsSalmz60Khpy7UVCuj9tWhHxUY41VVkEK0U92kvZ2oddI5kTsGqJTF2nsDOx0A9KlKEXhWeC4cDh5LqMtRpUVxDFLH4WRJ7pV8R2LUrPCjXUn00gXG0zZ+JoRMu03lkd/qVNQN7LC0R1f2qsTFecq+wTEATmQruIHqrjYrMQX05bnZ7kWZUYd2Fikjw2p6RJOCmTFgUow+mUs6KHNRO7LazssfcSfmU/DGfGvEVBorFq3Wnhtx6Yqy9VxUZqqe0tfBMPEIF3FD+MaEpYHUNl1tWbF+sFPIO77cUufurMOB4iEfoGsPNDGag0qacrn1t345+ZXwTNiuycKjVg6UAnU1DK2x3Wc9SQUwZijotArVk4Kk4qU5mRF3NHLUJ5HzPoAy417o6+IBG7ZbjiyQo9iuVCa1v99GggSadJXi70rlyWQBc5wRfXX4xbsoje3ZGThb9LcDL8Sj2UF4xYKOxvCXXdPaalnYh0J2x5Cl4qgc/RaJXhS6LycpIqpftZkRJhMO572/1Ej7LVT54f1LOOmMYlxWO50RTCw1Zk7YE7L6XckMizSxLVN7alzJNmWTuwyDO3ZlZIVekmadI4858O0S5CuoGEkWSRpJKSmkUgX/C/AAC1LYqunMJ6bAAAAAElFTkSuQmCC"},hosted:!1,adapter:"",flash:null,canvas:null,svg:null,vml:null,move:!1,objmove:!1,compat:function(){ZC.flash=ZC.canvas=ZC.svg=ZC.vml=!1;var A=!!document.createElement("canvas").getContext,t=!1;A&&(t="function"==typeof document.createElement("canvas").getContext("2d").fillText),ZC.canvas=A&&t,ZC.svg=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");var e=document.body.appendChild(document.createElement("div")),a=document.createElement("zcv:shape");a.className="zcvml",a.setAttribute("id","vml_flag1"),a.setAttribute("adj",new Object),e.appendChild(a),a.style.behavior="url(#default#VML)",ZC.vml=!a||"object"==typeof a.adj,e.parentNode.removeChild(e);var c=!1;navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]?c=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:document.all&&-1===navigator.appVersion.indexOf("Mac")&&(c=new Function('try { var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj) { xObj = null; return true; } } catch (e) { return false; }')()),ZC.flash=c?1:0},quirks:!(document.compatMode&&"CSS1Compat"===document.compatMode),ie67:!!/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<8,ie678:!!/MSIE (\d+\.\d+);/.test(navigator.userAgent)&&parseFloat(RegExp.$1)<9,mobile:/Mobile|BlackBerry|Opera Mini|PPC|Windows CE|Android/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0||"iPad"===navigator.platform,ipad:/iPad/.test(navigator.userAgent),iphone:/iPhone/.test(navigator.userAgent),websockets:"WebSocket"in window,webstorage:"sessionStorage"in window,RW:[],X3:[],E1:[0,0],ACP:null,_cp_:function(A,t,e,a,c,h){null===ZC._n_(e)&&(e=!0),null===ZC._n_(a)&&(a=!0),null===ZC._n_(c)&&(c=!1),h=h||[],0===zingchart.DEV.COPYVALUES&&h.push(ZC._[5]);var _=h.length;for(var f in A)if(0===_||_>0&&-1===ZC.AV(h,f))if(A[f]instanceof Array){if(a){(null===ZC._n_(t[f])||"override"!==f&&!c)&&(t[f]=[]);for(var m=0,v=A[f].length;m0&&-1===ZC.AV(e,_))){var f=_.substring(0,1);if("."!==f&&"#"!==f)if(A[_]instanceof Array)if(ZC.V8(_)!==_){for(A[ZC.V8(_)]=[],a=0,c=A[_].length;a=(t=t.charCodeAt(0)+13)?t:t-26)})},ACI:function(A,t){var e=ZC.XN(ZC.ACE(A)),a=ZC.XN(ZC.A2X(t)),c=e.length;if(0===c)return"";for(var h,_,f=e[c-1],m=e[0],v=2654435769,E=Math.floor(6+52/c)*v;0!==E;){_=E>>>2&3;for(var w=c-1;w>0;w--)h=((f=e[w-1])>>>5^m<<2)+(m>>>3^f<<4)^(E^m)+(a[3&w^_]^f),m=e[w]-=h;h=((f=e[c-1])>>>5^m<<2)+(m>>>3^f<<4)^(E^m)+(a[3&w^_]^f),m=e[0]-=h,E-=v}return decodeURIComponent(ZC.ACF(ZC.A6M(e)))},AG3:function(A,t){A=encodeURIComponent(A);var e=ZC.XN(ZC.A2X(A)),a=ZC.XN(ZC.A2X(t)),c=e.length;if(0===c)return"";1===c&&(e[c++]=0);for(var h,_,f=e[c-1],m=e[0],v=Math.floor(6+52/c),E=0;v-- >0;){_=(E+=2654435769)>>>2&3;for(var w=0;w>>5^(m=e[w+1])<<2)+(m>>>3^f<<4)^(E^m)+(a[3&w^_]^f),f=e[w]+=h;h=(f>>>5^(m=e[0])<<2)+(m>>>3^f<<4)^(E^m)+(a[3&w^_]^f),f=e[c-1]+=h}return ZC.ACD(ZC.A6M(e))},XN:function(A){for(var t=new Array(Math.ceil(A.length/4)),e=0;e>>8&255,A[e]>>>16&255,A[e]>>>24&255);return t},ACD:function(A){for(var t="",e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],a=0;a>4]+e[15&A[a]];return t},ACE:function(A){for(var t=[],e="0x"===A.substr(0,2)?2:0;ee?e:A},DM:function(A,t,e,a){return a?tt[0].length?-1:0},A07:function(A){window.setTimeout(A,zingchart.TIMEOUT)},_fixed_:function(A,t){return t>=0&&t<=20?A.toFixed(t):""+A},_nfind_:function(A,t,e,a){if(A==t.R[e].BW)return e;if(A==t.R[a].BW)return a;var _=ZC._i_((e+a)/2);if(!t.R[_]){for(;!t.R[_]&&_e;)_--;if(_===e)return null}}var f=t.R[_].BW;return _!==e&&_!==a?A==f?_:A>f?ZC._nfind_(A,t,_,a):ZC._nfind_(A,t,e,_):A==f?_:null},_tx_:function(A){var t,e,a,c,h=[1,1,0,0];if(zingchart.DEV.LOOKUPCSSTRANSFORM&&!ZC.vml&&ZC.AM(A)){var _=ZC.AM(A);for(t="";_&&(""===t||"none"===t);)t=ZC.A5(_).css("transform")||"",_=_.parentNode;-1!==(e=t.indexOf("matrix("))&&(a=t.indexOf(")",e),c=t.substring(e+7,a-e).split(","),h=[ZC._f_(c[0]),ZC._f_(c[3]),ZC._f_(c[4]),ZC._f_(c[5])])}return h},Utils_SetupFormat:function(A,t){return ZC.AR.OH(A,t)},Utils_Format:function(A,t,e,a){return ZC.AR.G6(A,t,e,a)},Loader_Api_Loader_Info:function(A){return A.F5()}},ZC.hasPassive=!1,ZC.SEC=1e3,ZC.MIN=60*ZC.SEC,ZC.HR=60*ZC.MIN,ZC.DAY=24*ZC.HR,ZC.MON=30*ZC.DAY,ZC.YR=365*ZC.DAY,ZC.MAPTX=0,window.JSON=window.JSON||{},JSON.stringify=JSON.stringify||function(A){var t=typeof A;if("object"!==t||null===A)return"string"===t&&(A='"'+A.replace("\\","\\\\").replace('"','"')+'"'),String(A);var e,a,c=[],h=A&&A.constructor===Array;for(e in A)"function"!=typeof A[e]&&("string"==(t=typeof(a=A[e]))?a='"'+a.replace("\\","\\\\").replace('"','\\"')+'"':"object"===t&&null!==a&&(a=JSON.stringify(a)),c.push((h?"":'"'+e+'":')+String(a)));return(h?"[":"{")+String(c)+(h?"]":"}")},JSON.parse=JSON.parse||function(L7){return""===L7&&(L7='""'),eval("("+L7+")")},ZC._=["background-color","angle-start","angle-end","graphid","line-width","values","-node-area zc-node-area","placement","slice","value","labels","series","decimals","thousands-separator","decimals-separator","-print-c","graphset","value-box","outer","width","height","size","-hover-c","enable-guide","zc-abs zc-layer","exponent-decimals","3d-aspect","x-angle","y-angle","z-angle",'" coords="',"undefined","~rgba(255,255,255,0)","~rgb(255,255,255)","-node-area ","-plotset-plot-","http://www.w3.org/2000/svg","http://www.w3.org/1999/xlink","skip_context_menu","skip_segment_tracking","skip_marker_tracking","skip_interactivity","use_fast_mode","use_fast_markers","use_single_canvas","If-Modified-Since","Thu, 1 Jan 1970 00:00:00 GMT","mousedown","mousemove","mouseup","scale-x","scale-y","scale-v","preservezoom","toggle-action","enable-animation","enable-preview","margin-top","margin-right","margin-bottom","margin-left","border-color","border-width","Network error","URL Data loader","loader.gui.context-menu","-menu-item-exitfullscreen","transform-date-format","transform-date","bg-image-width","bg-image-height","hover-state","background-state","selected-state"];class ZCClass{}if(ZC.ABF=function(A){this.H=A,this.AAL=function(t,e){var a,c=this,h=c.B8.palette;if(null!==ZC._n_(e)&&null!==ZC._n_(h[e])&&(h=h[e]),null!==ZC._n_(h[t])){var _=h[t];return null===ZC._n_(_[2])&&(_[2]=ZC.AR.RC(_[1],10)),null===ZC._n_(_[3])&&(_[3]=ZC.AR.RC(_[1],10)),_}var f=["#00BAF2","#E80C60","#E2D51A","#9B26AF","#FB301E","#00AE4D","#20398B"];a=null!==ZC._n_(f[t-c.B8.palette.length])?f[t-c.B8.palette.length]:"#"+ZC.YA.md5(t).substr(t%20,6);var m=ZC.AR.RC(a,10),v=ZC.AR.RC(a,20),E="#FFF";return c.B8.palette&&c.B8.palette[0]&&c.B8.palette[0][0]&&(E=c.B8.palette[0][0]),[E,a,m,v]},this.A4X=function(t){t&&ZC._cp_(t,this.B8,!0)},this.ABH=function(t){var e=this;null!==ZC._n_(e.O3[t])&&(ZC._todash_(e.O3[t]),ZC._cp_(e.O3[t],e.B8))},this.O3={},ZC._cp_(zingchart.THEMES,this.O3),this.O3.classic={palette:[["#fff","#6a921f","#a7da47","#89b92e"],["#fff","#007fa3","#00b0e1","#0392bb"],["#fff","#a62b02","#ef4810","#cc3300"],["#fff","#b79007","#f9c332","#da9b04"],["#fff","#563d02","#84680a","#6e4503"],["#fff","#0b32a0","#4d62b1","#1540a0"]],graph:{refresh:{curtain:{alpha:.5,"background-color":"#999",color:"#000","font-size":15,bold:1,text:"Loading..."}},"background-color":"#e1eaec #edf3f5",title:{"font-size":14,bold:1,color:"#fff","background-color":"#00bbf1 #05a0cd",padding:6},subtitle:{"font-size":11,bold:1,color:"#333","margin-top":30,padding:6},source:{"font-size":10,color:"#333",width:"100%",bold:1,"text-align":"right",height:20,margin:"auto 0 0 auto",padding:5},nodata:{"font-size":12,color:"#333","text-align":"center","vertical-align":"middle",text:""},SCALE:{"font-size":11,"line-width":2,"line-color":"#3e6c7b",item:{flat:!0},"ref-line":{"line-width":1,"line-color":"#3e6c7b"},guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#2c4a59",alpha:.2},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#aaa",alpha:.1},tick:{visible:1,size:6,placement:ZC._[18],"line-width":2,"line-color":"#3e6c7b"},"minor-tick":{visible:1,size:4,placement:ZC._[18],"line-width":1,"line-color":"#3e6c7b"},label:{color:"#2c4a59",flat:!0}},"scroll-x":{bar:{height:16},handle:{height:16}},"scroll-y":{bar:{width:16},handle:{width:16}},legend:{"background-color":"#fff","border-width":1,alpha:.75,"border-alpha":.75,"border-color":"#666","shadow-distance":3,header:{padding:"4 6",color:"#fff","border-width":1,"border-color":"#3e6c7b","background-color":"#3e6c7b"},footer:{padding:"2 6","background-color":"#ccc","border-width":1,"border-color":"#666"},marker:{"border-color":"#333","border-width":1}},plot:{"value-box":{flat:!0},marker:{shadow:1,"line-width":1,"border-width":1},"hover-marker":{"line-width":1,"border-width":1}},guide:{"line-width":1,"line-color":"#999",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{padding:"3 6"}}},line:{plot:{"shadow-alpha":.5,marker:{size:4},"hover-marker":{size:5}}},area:{plot:{"shadow-alpha":.5,marker:{size:4},"hover-marker":{size:5}}},vbar:{plot:{"fill-angle":90,shadow:0}},hbar:{plot:{"fill-angle":180,shadow:0}},piano:{plotarea:{"mask-tolerance":[0,0]},plot:{shadow:0}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0}},hbullet:{plot:{"fill-angle":0,shadow:0}},scatter:{plot:{marker:{size:4},"hover-marker":{size:5}}},hscatter:{plot:{marker:{size:4},"hover-marker":{size:5}}},bubble:{plot:{marker:{"border-width":0},"hover-marker":{"border-width":0}}},hbubble:{plot:{marker:{"border-width":0},"hover-marker":{"border-width":0}}},pie:{plot:{"border-width":1}},nestedpie:{plot:{"border-width":1}},radar:{plot:{marker:{size:3},"hover-marker":{size:4}},"scale-k":{guide:{alpha:.5,"background-color":"#eee #ddd"}}},gauge:{"scale-r":{"background-color":"-1",guide:{alpha:.5,"background-color":"#eee #ddd"},item:{"offset-r":0},ring:{size:1,items:[{"background-color":"#999",alpha:.8},{"background-color":"#666",alpha:.8}]}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":0},"minor-guide":{"line-width":0}},"scale-y":{guide:{alpha:.25,"background-color":"-1 #58595B"}},"scale-y-n":{guide:{alpha:.25,"background-color":"-1 #58595B"}},plot:{"border-width":1}},hfunnel:{plotarea:{margin:"50 100"},"scale-x":{label:{angle:270}},"scale-x-n":{label:{angle:90}},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":0},"minor-guide":{"line-width":0}},"scale-y":{label:{angle:0},item:{"text-align":"center"},guide:{alpha:.25,"background-color":"#58595B -1"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"},guide:{alpha:.25,"background-color":"#58595B -1"}},plot:{"border-width":1}},range:{plot:{marker:{type:"circle",size:4},"hover-marker":{size:5}}},line3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},area3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},mixed3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},vbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},hbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},pie3d:{plot:{"border-width":1}},"-":""},this.O3.light={palette:[["#fff","#29A2CC","#29A2CC","#1089B3"],["#fff","#D31E1E","#D31E1E","#BA0505"],["#fff","#7CA82B","#7CA82B","#638F12"],["#fff","#EF8535","#EF8535","#D66C1C"],["#fff","#A14BC9","#A14BC9","#8832B0"],["#fff","#A05F18","#A05F18","#874600"],["#fff","#265E96","#265E96","#0D457D"],["#fff","#6B7075","#6B7075","#52575C"],["#fff","#96C245","#96C245","#7CA82B"]],graph:{refresh:{curtain:{alpha:.5,"background-color":"#999",color:"#000","font-size":15,bold:1,text:"Loading..."}},"background-color":"#ffffff",title:{"font-size":21,bold:1,color:"#414042","background-color":"none",padding:6},subtitle:{"font-size":11,bold:1,color:"#414042","margin-top":30,padding:6},source:{"font-size":10,color:"#414042",width:"100%",bold:1,"text-align":"right",height:20,margin:"auto 0 0 auto",padding:5},nodata:{"font-size":12,color:"#333","text-align":"center","vertical-align":"middle",text:"No Data","background-color":"#BBBBBB",alpha:.8},SCALE:{"font-size":11,"line-width":1,"line-color":"#8C8C8C",item:{"font-size":12,flat:!0,color:"#808285"},"ref-line":{"line-width":1,"line-color":"#D1D3D4"},guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#DCDCDC",alpha:1},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#aaa",alpha:.1},tick:{visible:1,size:5,placement:ZC._[18],"line-width":1,"line-color":"#8C8C8C"},"minor-tick":{visible:1,size:3,placement:ZC._[18],"line-width":1,"line-color":"#A7A9AC"},label:{color:"#414042",flat:!0}},"scale-x":{normalize:!0,guide:{visible:!1}},scroll:{bar:{"background-color":"#F0F1F1",margin:1},handle:{"background-color":"#A7A9AC","border-radius":6}},"scroll-x":{bar:{height:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{height:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-y":{bar:{width:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{width:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-xi":{bar:{width:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{width:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-yi":{bar:{height:16,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"},handle:{height:10,"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},preview:{"background-color":"#fff","border-width":1,"border-color":"#A7A9AC",live:!0,mask:{"background-color":"#999"},active:{alpha:0},handle:{width:11,"border-width":2,"border-radius":3,"line-color":"#C6C6C6","border-color":"#A7A9AC","background-color":"#F0F1F1"},"handle-top":{height:11},"handle-bottom":{height:11}},tooltip:{shadow:1,"shadow-angle":45,"shadow-distance":1,"shadow-alpha":.25,"border-width":1,"border-color":"#fff","border-alpha":1},zoom:{"preserve-zoom":1,"background-color":"#929497"},legend:{"background-color":"#fff","border-width":1,shadow:0,"shadow-alpha":.2,alpha:1,"border-alpha":1,"border-color":"#cccccc",header:{padding:"5 0 5 10",color:"#222222","background-color":"none","border-width":0,"border-top":"0px solid none","border-bottom":"1px solid #cccccc"},footer:{padding:"5 0 5 10","border-top":"1px solid #cccccc"},shader:{"background-color":"#F0F1F1","line-color":"#C6C6C6",margin:2,height:8,"line-width":2,"line-style":"dotted"},icon:{"line-color":"#C6C6C6","line-width":2,style:"small"},marker:{"border-color":"#fff","border-width":1},"page-on":{"background-color":"#929497"},"page-off":{"background-color":"#D1D2D3"},scroll:{bar:{"background-color":"none","margin-top":3,"margin-bottom":3},handle:{"background-color":"#D1D2D3","border-top":"none","border-right":"none","border-bottom":"none","border-left":"none","border-radius":6,width:12,height:12}}},plot:{"value-box":{flat:!0},marker:{shadow:0,"line-width":1,"border-width":1,"border-color":"#fff"},"hover-marker":{"line-width":1,"border-width":1},monotone:!0},guide:{"line-width":1,"line-color":"#8C8C8C",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{padding:"3 6"}}},line:{plot:{"line-width":2,shadow:0,marker:{size:4},"hover-state":{},"hover-marker":{size:5,"border-width":1,"border-color":"#fff"}}},area:{plot:{"line-width":2,shadow:0,"alpha-area":.25,"background-color-style":"solid",marker:{size:4},"hover-state":{},"hover-marker":{size:5,"border-width":1,"border-color":"#fff"}}},vbar:{plot:{"fill-angle":90,shadow:0}},hbar:{plot:{"fill-angle":180,shadow:0}},piano:{plotarea:{"mask-tolerance":[0,0]},plot:{shadow:0},"scale-x":{guide:{visible:!0}}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0,goal:{"border-width":1,"border-color":"#fff",height:8}}},hbullet:{plot:{"fill-angle":0,shadow:0,goal:{"border-width":1,"border-color":"#fff",width:8}}},scatter:{plot:{"line-color":"%palette-0","border-color":"%palette-0",marker:{size:5},"hover-marker":{size:6}},"scale-x":{guide:{visible:!0}}},hscatter:{plot:{"line-color":"%palette-0","border-color":"%palette-0",marker:{size:4},"hover-marker":{size:5}},"scale-x":{guide:{visible:!0}}},bubble:{plot:{marker:{"border-width":1,"border-color":"#fff"},"hover-marker":{"border-width":1,"border-color":"#fff"}},"scale-x":{guide:{visible:!0}}},hbubble:{plot:{marker:{"border-width":1,"border-color":"#fff"},"hover-marker":{"border-width":1,"border-color":"#fff"}},"scale-x":{guide:{visible:!0}}},pie:{plot:{shadow:0,"border-width":1,"value-box":{placement:"in","font-size":16,text:"%node-percent-value%"}}},nestedpie:{plot:{"border-width":1}},radar:{plot:{shadow:0,"line-width":2,"background-color":"%palette-1","active-area":!0,marker:{size:4},"hover-marker":{size:5,"border-color":"#fff"}},"scale-k":{guide:{"line-width":1,"line-style":"solid","line-color":"#8C8C8C","line-segment-size":6,"line-gap-size":6,alpha:1,"background-color":"#fff #F7F8F8"},tick:{"line-color":"#8C8C8C","line-width":1,size:10}},"scale-r":{},"scale-v":{"ref-line":{"line-color":"#8C8C8C","line-width":1},tick:{"line-color":"#8C8C8C","line-width":1},guide:{"line-color":"#CDCDCD","line-width":1}}},gauge:{plot:{shadow:0},scale:{"size-factor":1},"scale-r":{aperture:270,tick:{size:11,"line-width":2},"background-color":-1,guide:{"background-color":"#fff"},ring:{size:8,"background-color":"#CDCDCD"},center:{size:20,"background-color":"#fff","border-width":6,"border-color":"#1089B3"}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":1,"line-style":"solid","line-color":"#CDCDCD","line-segment-size":6,"line-gap-size":6,alpha:1},"minor-guide":{"line-width":0}},"scale-x":{visible:!1,guide:{visible:0}},"scale-y":{guide:{"background-color":"-1",alpha:1}},"scale-y-n":{guide:{"background-color":"-1"}},plot:{"border-width":1,"border-color":"#fff",shadow:0,"hover-state":{"line-color":"-1","border-color":"-1"}}},hfunnel:{plotarea:{margin:"50 100"},"scale-x":{visible:!1,guide:{visible:0},label:{angle:270}},"scale-x-n":{label:{angle:90}},SCALE:{"line-width":0,tick:{"line-width":0},"minor-tick":{"line-width":0},guide:{"line-width":1,"line-style":"solid","line-color":"#CDCDCD","line-segment-size":6,"line-gap-size":6,alpha:1},"minor-guide":{"line-width":0}},"scale-y":{guide:{"background-color":"-1",alpha:1},label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"},guide:{"background-color":"-1"}},plot:{"border-width":1,"border-color":"#fff",shadow:0,"hover-state":{"line-color":"-1","border-color":"-1"}}},range:{plot:{marker:{type:"circle",size:4},"hover-marker":{size:5}}},line3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},area3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":0,"line-width":1}},mixed3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},vbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},hbar3d:{SCALE:{"line-color":"#ddd",tick:{visible:!1}},plot:{"border-width":1}},pie3d:{plot:{"border-width":1}},venn:{plot:{"border-width":0,shadow:0,alpha:.75,"background-color":"%palette-1"}},root:{gui:{"context-menu":{visible:!0,width:"125px",padding:"5 0","background-color":"#595959","border-width":0,"border-color":"#595959",position:"left",button:{visible:ZC.mobile,alpha:0},gear:{"background-color":"#000",type:"hamburger",alpha:1},item:{"background-color":"#595959","text-align":"left",padding:"4 20 4 15","border-width":0,"border-color":"#595959","font-size":"12px",color:"#fff","hover-state":{"background-color":"#414141"}},separator:{"line-width":1,"line-color":"#969696"}},"context-menu[mobile]":{item:{padding:"6 10 6 6"}}}},"-":""},this.O3.light.graph["crosshair-x"]=this.O3.light.graph["crosshair-y"]=this.O3.light.graph.guide,this.O3.dark={},ZC._cp_(this.O3.light,this.O3.dark,!0,!0),ZC._cp_({graph:{"background-color":"#221F1F",title:{color:"#fff"},subtitle:{color:"#fff"},source:{color:"#fff"},SCALE:{"line-color":"#D1D3D4",item:{color:"#D1D3D4"},"ref-line":{"line-color":"#D1D3D4"},guide:{"line-color":"#58595B"},"minor-guide":{"line-color":"#58595B"},tick:{"line-color":"#D1D3D4"},"minor-tick":{"line-color":"#D1D3D4"},label:{color:"#D1D3D4"}},scroll:{bar:{"background-color":"#6C6D70"},handle:{"background-color":"#A7A9AC"}},"scroll-x":{bar:{"border-top":"0px solid none","border-right":"2px solid #D1D3D4","border-bottom":"2px solid #D1D3D4","border-left":"2px solid #D1D3D4"},handle:{"border-top":"none","border-right":"none","border-bottom":"none","border-left":"none"}},"scroll-y":{bar:{"border-top":"2px solid #D1D3D4","border-right":"0px solid none","border-bottom":"2px solid #D1D3D4","border-left":"2px solid #D1D3D4"}},preview:{"background-color":"#221F1F"},tooltip:{"border-color":"#000"},legend:{"background-color":"#221F1F",header:{color:"#fff",shader:{"background-color":"#414042","line-color":"#676667"}},footer:{color:"#D1D3D4","background-color":"#414042","border-top":"0px solid none","border-right":"2px solid #A7A9AC","border-bottom":"2px solid #A7A9AC","border-left":"2px solid #A7A9AC"},shader:{"background-color":"#414042","line-color":"#676667"},icon:{"line-color":"#676667"},"page-status":{color:"#D1D3D4"},"page-on":{"background-color":"#D1D2D3"},"page-off":{"background-color":"#929497"},marker:{"border-color":"#000"},item:{color:"#D1D3D4"}},plot:{marker:{"border-color":"#221F1F"}},guide:{"line-color":"#D1D3D4","scale-label":{"background-color":"#929497"},"plot-label":{"background-color":"#221F1F",color:"#FFF","border-color":"#5a5a5a"}}},line:{plot:{"hover-marker":{"border-color":"#221F1F"}}},area:{plot:{"hover-marker":{"border-color":"#221F1F"}}},vbullet:{plot:{goal:{"border-color":"#221F1F"}}},hbullet:{plot:{goal:{"border-color":"#221F1F"}}},bubble:{plot:{marker:{"border-color":"#221F1F"},"hover-marker":{"border-color":"#221F1F"}}},hbubble:{plot:{marker:{"border-color":"#221F1F"},"hover-marker":{"border-color":"#221F1F"}}},pie:{plot:{"border-color":"#221F1F"}},radar:{plot:{"hover-marker":{"border-color":"#221F1F"}},"scale-k":{guide:{"line-color":"#58595B","background-color":"#221F1F #312F30"},tick:{"line-color":"#D1D3D4"}},"scale-v":{"ref-line":{"line-color":"#58595B"},tick:{"line-color":"#58595B"},guide:{"line-color":"#58595B"}}},gauge:{"scale-r":{guide:{"background-color":"#221F1F"},ring:{"background-color":"#57585B"}}},vfunnel:{SCALE:{guide:{"line-color":"#58595B"}},plot:{"border-color":"#221F1F","hover-state":{"line-color":"#58595B","border-color":"#221F1F"}}},hfunnel:{SCALE:{guide:{"line-color":"#58595B"}},"scale-y":{guide:{alpha:.25,"background-color":"#b6c8cf -1"}},"scale-y-n":{guide:{alpha:.25,"background-color":"#b6c8cf -1"}},plot:{"border-color":"#221F1F","hover-state":{"line-color":"#58595B","border-color":"#221F1F"}}},root:{gui:{"context-menu":{gear:{"background-color":"#FFF"}}}},"-":""},this.O3.dark,!0,!0),this.O3.dark.graph["crosshair-x"]=this.O3.dark.graph["crosshair-y"]=this.O3.dark.graph.guide,this.O3.mini={graph:{title:{width:"100%",padding:"1 2 2","font-size":10},subtitle:{width:"100%",padding:"1 2 2","margin-top":14,"font-size":9},plotarea:{width:"100%",height:"100%",margin:"18 4 4 4"},SCALE:{visible:0},tooltip:{shadow:0,"border-radius":7},legend:{visible:0},preview:{visible:0},guide:{"line-width":1,"line-color":"#ccc",alpha:1,"scale-label":{text:"%l",padding:"3 6"},"plot-label":{"border-color":"#ccc","border-radius":5,padding:"3 6"}},plot:{shadow:0,"value-box":{visible:0},"hover-state":{visible:0},"hover-marker":{visible:0},"max-trackers":99999,"max-nodes":99999}},line:{plot:{"line-width":1,marker:{type:"none"}}},line3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},area:{plot:{"line-width":1,marker:{type:"none"}}},area3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},scatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},hscatter:{SCALE:{offset:5},plot:{marker:{size:3,shadow:!1,alpha:.8}}},bubble:{SCALE:{offset:15},plot:{marker:{"fill-type":"none",shadow:!1,alpha:.8},"min-size":3,"max-size":9}},hbubble:{SCALE:{offset:15},plot:{marker:{"fill-type":"none",shadow:!1,alpha:.8},"min-size":3,"max-size":9}},pie:{plotarea:{margin:"18 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":.95}},pie3d:{plotarea:{margin:"32 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":1}},nestedpie:{plotarea:{margin:"18 4 4 4"},plot:{"value-box":{visible:0}},scale:{"size-factor":.95}},radar:{plotarea:{margin:"18 4 4 4"},plot:{"line-width":1,marker:{shadow:0,size:2}},scale:{"size-factor":.95}},vbar3d:{"3d-aspect":{depth:20,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0,zoom:.9}},hbar3d:{"3d-aspect":{depth:20,angle:45,"x-angle":0,"y-angle":-20,"z-angle":0,zoom:.9}},venn:{plotarea:{margin:"18 4 4 4"},plot:{"border-width":0}},gauge:{plotarea:{margin:"18 4 4 4"},plot:{indicator:[5]},SCALE:{visible:1},scale:{"size-factor":.9},"scale-r":{"background-color":"-1",aperture:270,tick:{visible:0},item:{visible:0},guide:{visible:0},ring:{size:6,"background-color":"#CDCDCD",items:[]},center:{"border-width":0,size:2,"background-color":"#fff"}}},vfunnel:{plotarea:{margin:"18 4 4 4"}},hfunnel:{plotarea:{margin:"18 4 4 4"}},vbullet:{plot:{"bar-space":.5,goal:{"border-width":0,height:4}}},hbullet:{plot:{"bar-space":.5,goal:{"border-width":0,width:4}}},range:{plot:{"line-width":1,marker:{visible:0},"hover-state":{visible:0}}},"-":""},this.O3.negative={palette:[["#000","#909090","#969696","#9c9c9c"],["#000","#a0a0a0","#a6a6a6","#acacac"],["#000","#b0b0b0","#b6b6b6","#bcbcbc"],["#000","#c0c0c0","#c6c6c6","#cccccc"],["#000","#d0d0d0","#d6d6d6","#dcdcdc"],["#000","#e0e0e0","#e6e6e6","#ececec"],["#000","#f0f0f0","#f6f6f6","#fcfcfc"]],graph:{"background-color":"#111",title:{color:"#fff"},subtitle:{color:"#333"},SCALE:{"font-size":11,"line-width":2,"line-color":"#ccc",guide:{visible:1,"line-width":1,"line-style":"solid","line-color":"#ccc",alpha:.2},"minor-guide":{visible:1,"line-width":1,"line-style":"solid","line-color":"#ccc",alpha:.2},tick:{visible:1,size:6,placement:ZC._[18],"line-width":2,"line-color":"#ccc"},"minor-tick":{visible:1,size:4,placement:ZC._[18],"line-width":1,"line-color":"#ccc"},label:{color:"#fff"},item:{color:"#fff"}}},radar:{"scale-k":{guide:{alpha:.5,"background-color":"#222 #333"}}},"-":""},this.O3.spark=this.O3.mini,this.B8={root:{gui:{behaviors:[{id:"PageScroll",enabled:"all"},{id:"ViewSource",enabled:"all"},{id:"BugReport",enabled:"none"},{id:"LogScale",enabled:"none"},{id:"LinScale",enabled:"none"},{id:"FullScreen",enabled:"none"},{id:"3D",enabled:"none"},{id:"ExportData",enabled:"none"},{id:"SaveAsImageJPG",enabled:"none"},{id:"DownloadCSV",enabled:ZC.ie678?"none":"all"},{id:"DownloadXLS",enabled:ZC.ie678?"none":"all"}],watermark:{type:1,position:"rb"},history:{margin:"10 auto auto 10",width:30,height:22,padding:4,item:{"background-color":"#369","border-width":1,"border-color":"#69c"},"item-off":{"background-color":"#eee","border-color":"#ddd"}},progress:{"background-color":"#fff",color:"#000"},"context-menu":{padding:0,"border-width":1,"border-color":"#000",button:{visible:ZC.mobile,margin:"5 auto auto 5",alpha:.8,"background-color":"#333 #999","border-radius":8,width:40,height:40},gear:{"background-color":"#fff #f6f6f6",type:"gear6",alpha:.8},item:{"background-color":"#36393D","text-align":"left",padding:"4 20 4 8","border-width":1,"border-color":"#000",color:"#fff","hover-state":{"background-color":"#0084AA"}},separator:{"line-width":1,"line-color":"#000000"}},"context-menu[mobile]":{item:{padding:"6 10 6 6"}}}},palette:[],graph:{title:{width:"100%",bold:1,"font-size":13},subtitle:{width:"100%",bold:1,"font-size":11},scroll:{bar:{"background-color":"#e1eaec","border-color":"#ddd"},handle:{"background-color":"#ddd","border-color":"#ccc","border-width":2,"border-top":"2px solid #eee","border-left":"2px solid #eee","border-right":"2px solid #999","border-bottom":"2px solid #999"}},"scroll-x":{bar:{height:16},handle:{height:16}},"scroll-y":{bar:{width:16},handle:{width:16}},"scroll-xi":{bar:{width:16},handle:{width:16}},"scroll-yi":{bar:{height:16},handle:{height:16}},preview:{width:"100%",height:50,margin:"auto 50 20 50","border-width":1,shadow:0,"background-color":"#f0f0f0","border-color":"#999",mask:{alpha:.5,"background-color":"#333"},active:{alpha:.1,"background-color":"#999"},handle:{width:9,height:16,"border-width":1,"line-width":1,"line-color":"#111","border-color":"#444","border-radius":2,"background-color":"#e6e6e6"},"handle-top":{width:16,height:9},"handle-bottom":{width:16,height:9}},"preview[yx]":{width:50,height:"100%",margin:"60 auto 65 20"},plotarea:{width:"100%",height:"100%",margin:"60 50 65 50"},"plotarea[preview]":{margin:"60 50 105 50"},"plotarea[preview[yx]]":{margin:"60 50 65 105"},SCALE:{"line-width":1,guide:{"line-width":1,"line-color":"#ddd"},tick:{size:6,"line-width":2},"minor-guide":{"line-width":1,"line-color":"#ddd"},"minor-tick":{size:4,"line-width":1},label:{bold:1,padding:6,flat:!0},item:{padding:2,"auto-align":!0,flat:!0},marker:{"line-width":1,"line-color":"#000","background-color":"#ccc"},"transform[date]":{item:{"font-size":10,padding:2,color:"#000","background-color":"#fff"}}},"SCALE[3d]":{"background-color":"#ccc"},"scale-y[default]":{label:{angle:270},item:{"text-align":"right"}},"scale-y[opposite]":{label:{angle:90},item:{"text-align":"left"}},plot:{error:{"line-width":1,"line-color":"#333",size:.5},"value-box":{flat:!0,text:"%v",bold:1,placement:"auto",shadow:1},"tooltip-text":"%v",shadow:1,"line-width":1,marker:{type:"square",shadow:1},"highlight-state":{shadow:!0,"shadow-blur":2,"shadow-distance":1,"shadow-alpha":.91}},tooltip:{shadow:1,padding:"4 8","shadow-distance":3,"offset-y":ZC.mobile?-40:-20},"tooltip[dynamic]":{padding:"4 8","offset-y":0},guide:{marker:{type:"circle"},"plot-label[single]":{text:'%plot-text: %node-value',padding:10,"background-color":"#fff #eee","border-width":1,"border-color":"#999",color:"#000","text-align":"left"},"plot-label[multiple]":{text:'%plot-text: %node-value',padding:5,"background-color":"#fff #eee","border-width":1,"border-color":"#999",color:"#000","text-align":"left"}},zoom:{"preserve-zoom":1,"border-width":0,"background-color":"#369",alpha:.25,label:{visible:!1,"background-color":"#fff","font-size":10,padding:2,"border-width":1,"border-color":"#999"}},arrow:{"border-width":1,"border-color":"#000","background-color":"#666",size:4},"legend[position]":{margin:10},legend:{"background-color":"#eee",alpha:1,shadow:1,margin:"10 10 auto auto",padding:"4 2 4 2",item:{"text-align":"left",margin:"2 6 2 4",padding:"2 4"},"item-off":{alpha:.25},marker:{shadow:0,size:6,"border-color":"#999","border-width":1},header:{"font-size":12,"text-align":"left",bold:1},footer:{"text-align":"left"},icon:{"line-color":"#000","line-width":1},"page-status":{color:"#000"},"page-on":{"background-color":"#f90"},"page-off":{"background-color":"#999"},scroll:{bar:{width:12,height:12,"background-color":"#e1eaec","border-color":"#ddd"},handle:{width:12,height:12,"background-color":"#ddd","border-color":"#ccc","border-width":2,"border-top":"2px solid #eee","border-left":"2px solid #eee","border-right":"2px solid #999","border-bottom":"2px solid #999"}}}},vbar:{plot:{"value-box":{placement:"top-out"}}},vbar3d:{plot:{"value-box":{placement:"top-out"}},"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0}},mixed3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0}},hbar:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}},plot:{"value-box":{placement:"top-out"}}},vline:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}}},varea:{plot:{"fill-angle":0},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x[default]":{label:{angle:270}},"scale-x[opposite]":{label:{angle:90}}},hbar3d:{"scale-y":{label:{angle:0}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0}},"scale-x-n":{label:{angle:90}},"3d-aspect":{depth:40,angle:45,"x-angle":0,"y-angle":-20,"z-angle":0},plot:{"value-box":{placement:"top-out"}}},hbullet:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}}},line:{plot:{"line-width":4,marker:{type:"circle",size:4}}},area:{plot:{"line-width":4,marker:{type:"circle",size:4},"value-box":{placement:"top"}}},line3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0},plot:{"border-width":1,"line-width":1,marker:{type:"circle",size:4,alpha:1,visible:0}}},area3d:{"3d-aspect":{depth:40,angle:45,"x-angle":-20,"y-angle":0,"z-angle":0},plot:{"border-width":1,"line-width":1,marker:{type:"circle",size:4,alpha:1,visible:0},"value-box":{placement:"top"}}},scatter:{SCALE:{offset:10},plot:{marker:{type:"circle",size:4},"value-box":{placement:"top"}}},poly:{SCALE:{offset:10},plot:{"alpha-area":.4,marker:{type:"none"},"value-box":{placement:"top"}}},hscatter:{SCALE:{offset:10},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}},plot:{marker:{type:"circle",size:4},"value-box":{placement:"top"}}},bubble:{SCALE:{offset:40},plot:{marker:{type:"circle","fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"hover-marker":{"fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"value-box":{placement:"middle",text:"%node-size-value"},"tooltip-text":"%node-size-value"}},hbubble:{SCALE:{offset:40},"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}},plot:{marker:{type:"circle","fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"hover-marker":{"fill-type":"radial","fill-offset-x":-.2,"fill-offset-y":-.2},"value-box":{placement:"middle",text:"%node-size-value"},"tooltip-text":"%node-size-value"}},hmixed:{"scale-y":{label:{angle:0},item:{"text-align":"center"}},"scale-x":{label:{angle:270}},"scale-y-n":{label:{angle:0},item:{"text-align":"center"}},"scale-x-n":{label:{angle:90}}},pie:{plotarea:{margin:"35 5 5 5"},scale:{"size-factor":"auto","line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"radial","value-box":{connector:{"line-width":1},placement:"out",text:"%t",visible:1}}},pie3d:{"3d-aspect":{"x-angle":38,"y-angle":0,"z-angle":0},plotarea:{margin:"25 5 5 5"},scale:{"size-factor":"auto","line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"linear","value-box":{connector:{"line-width":1},placement:"out",text:"%t",visible:1}}},nestedpie:{plotarea:{margin:"40 5 15 5"},scale:{"size-factor":.8,"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}},plot:{"fill-type":"radial","value-box":{connector:{"line-width":1},text:"%t",visible:1}}},venn:{plotarea:{margin:"30 10 10 10"},plot:{alpha:.5,"border-width":4},scale:{"size-factor":.65,"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0}}},radar:{SCALE:{guide:{"line-width":1,"line-color":"#999","background-color":"-1"},tick:{"line-width":1},item:{"auto-align":!1}},scale:{visible:0,"size-factor":.7},"scale-k":{"ref-angle":270},plotarea:{margin:"40 5 5 5"},plot:{"line-width":4,aspect:"line",marker:{type:"circle"}}},gauge:{SCALE:{guide:{"border-width":1,"border-color":"#999","background-color":"-1"}},scale:{"line-width":0,guide:{"line-width":0},"minor-guide":{"line-width":0},"size-factor":.7},"scale-r":{"ref-angle":270,"background-color":"#fff",guide:{"line-width":0},tick:{placement:"inner"},item:{"offset-r":"-45%"}},plot:{size:"85%"},plotarea:{margin:"40 5 5 5"}},stock:{plot:{"line-width":1,"border-width":1,"tooltip-text":"Open: $%open
High: $%high
Low: $%low
Close: $%close"}},range:{plot:{"line-width":2,"value-box":{text:"%node-min-value - %node-max-value"},"tooltip-text":"%node-min-value - %node-max-value"}},"-":""},this.Q3=function(t,e){var a,c=this,h=!1;return null!==ZC._n_(a=c.B8.graph[t])&&null!==ZC._n_(a.enabled)&&(h=h||ZC._b_(a.enabled)),null!==ZC._n_(c.B8[e])&&null!==ZC._n_(a=c.B8[e][t])&&null!==ZC._n_(a.enabled)&&(h=h||ZC._b_(a.enabled)),h},this.load=function(t,e,a,c){var h,_,f,m=this;a=null===ZC._n_(a)||ZC._b_(a),c=null!==ZC._n_(c)&&ZC._b_(c),e instanceof Array||(e=new Array(e));var v=[],E="";for(_=0,f=e.length;_'}return ZC.Q.FT("rect",t.E8,t.IT)+'class="'+A+'-label-area zc-label-area" id="'+t.K+"-area"+ZC._[30]+ZC._i_(t.iX+t.BL+ZC.MAPTX)+","+ZC._i_(t.iY+t.BH+ZC.MAPTX)+","+ZC._i_(t.iX+t.BL+t.I+ZC.MAPTX)+","+ZC._i_(t.iY+t.BH+t.F+ZC.MAPTX)+'" />'},NG:function(A){var t,e="",a=A.indexOf('id="');if(-1!==a){var c=A.indexOf('"',a+4);-1!==c&&(e=A.substring(a+4,c))}if(ZC.cache.data["area-score-"+e])return ZC.cache.data["area-score-"+e];var h=0;if(-1!==A.indexOf('shape="rect"')?(h+=1e4,5===(t=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(A)).length&&(h+=(ZC._i_(t[3])-ZC._i_(t[1]))*(ZC._i_(t[4])-ZC._i_(t[2])))):-1!==A.indexOf('shape="circle"')?(h+=100,t=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(A),null!==ZC._n_(t[3])&&(h+=ZC._i_(t[3])/10)):-1!==A.indexOf('shape="poly"')?-1!==A.indexOf("data-map")?h+=1e6:h+=1e3:h+=1,-1!==A.indexOf("data-z-sort")){var _=/data-z-sort=\"(\-*\d+)\"/.exec(A);_&&2===_.length&&(h*=ZC._i_(Math.pow(10,ZC._i_(_[1]))))}return""!==e&&ZC.cache.add("area-score-"+e,h),h},A69:function(A,t,e){for(var a=[],c=0,h=A.length;c=9&&(_=null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]?""+ZC._x_(_,t[ZC._[12]]):""+ZC._x_(_))}}else{var V=ZC.FU(ZC._a_(Number(_)))/Math.LN10;switch(ZC._a_(Number(_))){case 1e3:V=3;break;case 1e6:V=6;break;case 1e9:V=9}if(null!==ZC._n_(t["max-power"])&&(V=3*t["max-power"]),"KB"===m.toUpperCase())_=""+Number(_)/1024,c="KB";else if("MB"===m.toUpperCase())_=""+Number(_)/1048576,c="MB";else if("GB"===m.toUpperCase())_=""+Number(_)/1073741824,c="GB";else if("TB"===m.toUpperCase())_=""+Number(_)/1099511627776,c="TB";else if("PB"===m.toUpperCase())_=""+Number(_)/0x4000000000000,c="PB";else if(V>=0&&V<3)switch(m){default:c="";break;case"K":_=""+Number(_)/1e3,c="K";break;case"M":_=""+Number(_)/1e6,c="M";break;case"B":_=""+Number(_)/1e9,c="B"}else V>=3&&V<6&&""===m||"K"===m.toUpperCase()?(_=""+Number(_)/1e3,c="K"):V>=6&&V<9&&""===m||"M"===m.toUpperCase()?(_=""+Number(_)/1e6,c="M"):(V>=9&&""===m||"B"===m.toUpperCase())&&(_=""+Number(_)/1e9,c="B")}if(ZC.PQ(_))if(null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]])_=ZC._fixed_(Number(_),ZC.BQ(0,ZC._i_(t[ZC._[12]])));else{var $=_.split(".")[1]||"";-1!==t["max-decimals"]&&t["max-decimals"]<$.length&&(_=ZC._fixed_(Number(_),ZC.BQ(0,ZC._i_(t["max-decimals"]))))}null!==ZC._n_(t[ZC._[14]])&&(_=_.replace(/\./g,t[ZC._[14]]))}var y=e?e.K:"";if(!isNaN(_)&&("string"!=typeof h||-1===y.indexOf("-scale-"))){if(null!==ZC._n_(t[ZC._[12]])&&-1!==t[ZC._[12]]&&ZC.PQ(_)&&(null!==ZC._n_(t.short)&&t.short||(_=ZC._fixed_(Number(_),ZC.BQ(0,ZC._i_(t[ZC._[12]]))))),null!==ZC._n_(t[ZC._[13]])||null!==ZC._n_(t[ZC._[14]])){for(var U=_.split("."),O="",Q=0,W=U[0].length;Q0)for(var a=0;a=100)return"#000000";A=ZC.AR.GE(A),typeof t===ZC._[31]&&(t=10);var e=ZC.RA(A.substring(1,3)),a=ZC.RA(A.substring(3,5)),c=ZC.RA(A.substring(5,7)),h=ZC.AR.AD7(e,a,c);h[2]=t>0?Math.max(0,h[2]-h[2]*t/100):Math.min(1,h[2]-h[2]*t/100);var _=ZC.AR.AD8(h[0],h[1],h[2]);return _[0]=ZC._i_(_[0])<16?"0"+ZC.P8(_[0]):ZC.P8(_[0]),_[1]=ZC._i_(_[1])<16?"0"+ZC.P8(_[1]):ZC.P8(_[1]),_[2]=ZC._i_(_[2])<16?"0"+ZC.P8(_[2]):ZC.P8(_[2]),"#"+_[0]+_[1]+_[2]},RC:function(A,t){if(-1===A)return-1;if(t>=100)return"#ffffff";A=ZC.AR.GE(A),typeof t===ZC._[31]&&(t=10);var e=parseInt(A.substr(1,2),16),a=parseInt(A.substr(3,2),16),c=parseInt(A.substr(5,2),16);return"#"+(0|256+e+(256-e)*t/100).toString(16).substr(1)+(0|256+a+(256-a)*t/100).toString(16).substr(1)+(0|256+c+(256-c)*t/100).toString(16).substr(1)},_hex2rgb_:function(A,t){var e=parseInt(A.substr(1,2),16),a=parseInt(A.substr(3,2),16),c=parseInt(A.substr(5,2),16);return ZC._n_(t)?"rgb("+e+","+a+","+c+")":{r:e,g:a,b:c}},_rgb2hex_:function(A,t,e){return"#"+((1<<24)+(A<<16)+(t<<8)+e).toString(16).slice(1)},AAR:function(A,t,e){var a=ZC.AR._hex2rgb_(A);return(299*a.r+587*a.g+114*a.b)/1e3>=128?e:t},_colorAlpha_:function(A,t,e){A=ZC.AR.GE(A),t=ZC.AR.GE(t);var a=ZC.AR._hex2rgb_(A),c=ZC.AR._hex2rgb_(t),h={};for(var _ in a)h[_]=Math.floor(e*a[_]+(1-e)*c[_]);return ZC.AR._rgb2hex_(h.r,h.g,h.b)},A4M:function(){},AC1:function(){},gc:function(A,t){var e;for(e=0;e")}catch{t=document.createElement("iframe")}else t=document.createElement("iframe");t.id=A.id+"-iframe",t.style.visibility="hidden",A.appendChild(t);var e=null,a=t.contentWindow||t.contentDocument;if(!(e=a.document?a.document:a).body){var c=e.createElement("HTML");e.appendChild(c);var h=e.createElement("HEAD");c.appendChild(h);var _=e.createElement("BODY");c.appendChild(_)}return e},BY:function(A){var t;if(typeof ZC.TOUCHEVENTS===ZC._[31]){if(ZC.ie678)t=!1;else{t=!0;try{document.createEvent("TouchEvent")}catch{t=!1}}t&&!ZC.mobile&&(t=!1),t&&(t="ontouchstart"in document.documentElement),ZC.TOUCHEVENTS=t}else t=ZC.TOUCHEVENTS;if(t)switch(A){case"mouseover":case"mousedown":case"click":A="touchstart";break;case"mousemove":A="touchmove";break;case"mouseout":case"mouseup":A="touchend"}return A},_sh_:function(A,t){var e,a,c,h=[],_=t.K1,f=t.OU,m=t.PH,v=_-m/2;if(A.length>0){var E=0,w=0;for(0!==_&&(E=ZC._i_(v*ZC.EI(f)+m),w=ZC._i_(v*ZC.EO(f)+m)),e=0,a=A.length;e=4&&(f[2]=A[2],f[3]=A[3]),A.length>=6&&(f[4]=A[4],f[5]=A[5]),7===A.length&&(f[6]=A[6]),t){case"canvas":case"svg":var m,v;e.CY&&(m=v=e.B1%2==1?.5:0,ZC.A5.browser.msie&&ZC.quirks&&"svg"===t&&(m=e.B1%2==1?.5:0,v=e.B1%2==1?0:.5),f[0]=Math.round(f[0])-m,f[1]=Math.round(f[1])-v,4===f.length&&(f[2]=Math.round(f[2])-m,f[3]=Math.round(f[3])-v)),"svg"===t&&(f[0]=parseFloat(f[0].toFixed(4)),f[1]=parseFloat(f[1].toFixed(4)),4===f.length&&(f[2]=parseFloat(f[2].toFixed(4)),f[3]=parseFloat(f[3].toFixed(4)))),"canvas"!==t||a||typeof e.BL!==ZC._[31]&&typeof e.BH!==ZC._[31]&&(f[0]+=e.BL,f[1]+=e.BH,4===f.length&&(f[2]+=e.BL,f[3]+=e.BH));break;case"vml":e.AA%360==0?(h=10,_=e.B1%2==1?0:h/2):(h=1,_=0),e.CY?(f[0]=h*ZC._i_(ZC._i_(h*f[0])/h)-_,f[1]=h*ZC._i_(ZC._i_(h*f[1])/h)-_,4!==f.length&&7!==f.length||(f[2]=h*ZC._i_(ZC._i_(h*f[2])/h)-_,f[3]=h*ZC._i_(ZC._i_(h*f[3])/h)-_),7===f.length&&(f[4]=h*ZC._i_(ZC._i_(h*f[4])/h)-_,f[5]=h*ZC._i_(ZC._i_(h*f[5])/h)-_)):(f[0]=ZC._i_(h*f[0]),f[1]=ZC._i_(h*f[1]),4!==f.length&&7!==f.length||(f[2]=ZC._i_(h*f[2]),f[3]=ZC._i_(h*f[3])),7===f.length&&(f[4]=ZC._i_(h*f[4]),f[5]=ZC._i_(h*f[5])))}return f},A3P:function(A,t,e,a,c){var h,_,f,m,v,E,w;if(e.R3&&(e.E["fast-vector-path"]=!0),!e.E["fast-vector-path"]){for(h=0,_=A.length;h<_;h++)A[h]&&(A[h][0]=parseFloat(Number(A[h][0]).toFixed(2)),A[h][1]=parseFloat(Number(A[h][1]).toFixed(2)));if(e.OJ&&(w=e.K+":"+e.AA+":"+A.join("#"),ZC.cache.data["path-points-"+w]))return ZC.cache.data["path-points-"+w].split("#")}var D=[ZC.MAX,ZC.MAX,-ZC.MAX,-ZC.MAX],M=[],T=!1;for(h=0,_=A.length;h<_;h++)if(null!==ZC._n_(A[h])){if(e.E["fast-vector-path"]){if(f=A[h],"vml"===t){var R=e.AA%360==0?10:1;f[0]=ZC._i_(R*f[0]),f[1]=ZC._i_(R*f[1]),4===f.length&&(f[2]=ZC._i_(R*f[2]),f[3]=ZC._i_(R*f[3]))}}else f=ZC.Q._txp_(A[h],t,e,a,c);if(null!==ZC._n_(f)&&!isNaN(f[0])&&!isNaN(f[1])&&isFinite(f[0])&&isFinite(f[1]))if(_<=20&&a&&(D[0]=ZC.CX(D[0],f[0]/("vml"===t?10:1)),D[1]=ZC.CX(D[1],f[1]/("vml"===t?10:1)),D[2]=ZC.BQ(D[2],f[0]/("vml"===t?10:1)),D[3]=ZC.BQ(D[3],f[1]/("vml"===t?10:1))),0===h)M.push(("svg"===t?"M ":"m ")+f[0]+" "+f[1]);else if(T&&(M.push(("svg"===t?"M ":"m ")+f[0]+" "+f[1]),T=!1),2===f.length)M.push(("svg"===t?"L ":"l ")+f[0]+" "+f[1]);else if(4===f.length)M.push(("svg"===t?"Q ":"qb ")+f[0]+" "+f[1]+" "+f[2]+" "+f[3]),"vml"===t&&M.push("l "+f[2]+" "+f[3]);else if(6===f.length)if("svg"===t){var V=0;f[3]%360==f[4]%360&&(V=f[4]>=f[3]?.001:-.001),m=ZC.AP.BN(f[0],f[1],f[2],f[3]+V),v=ZC.AP.BN(f[0],f[1],f[2],f[4]-V),E="0 0",0===f[5]?f[4]-f[3]>360?(E="0 1",v[0]=m[0],v[1]=m[1]):E=f[4]-f[3]<=180?"0 1":"1 1":f[3]-f[4]>360?(E="0 0",v[0]=m[0],v[1]=m[1]):E=f[3]-f[4]<=180?"0 0":"1 0",M.push("a "+f[2]+","+f[2]+" 0 "+E+" "+(v[0]-m[0])+","+(v[1]-m[1]))}else"vml"===t&&(f[2]*=10,m=ZC.AP.BN(f[0],f[1],f[2],f[3]),v=ZC.AP.BN(f[0],f[1],f[2],f[4]),M.push((E=1===f[5]?"at":"wa")+" "+ZC._i_(f[0]-f[2])+","+ZC._i_(f[1]-f[2])+","+ZC._i_(f[0]+f[2])+","+ZC._i_(f[1]+f[2])+" "+ZC._i_(m[0])+","+ZC._i_(m[1])+" "+ZC._i_(v[0])+","+ZC._i_(v[1])));else 7===f.length&&M.push(("svg"===t?"C ":"c ")+f[0]+" "+f[1]+" "+f[2]+" "+f[3]+" "+f[4]+" "+f[5])}else T=!0;return e.E["fast-vector-path"]||e.OJ&&ZC.cache.add("path-points-"+w,M.join("#")),e.H&&_<=20&&a&&(e.H.E[e.K+"-bounds"]=D),M},MR:function(A,t){var e,a,c=A.originalEvent||A.originalEventZC;return t=ZC._i_(t||"0"),c&&c.touches?c.touches.length>0?(e=c.touches[t].pageX,a=c.touches[t].pageY):c.changedTouches.length>0&&(e=c.changedTouches[t].pageX,a=c.changedTouches[t].pageY):(e=A.pageX,a=A.pageY),[ZC._i_(e||"0"),ZC._i_(a||"0")]},F8:function(A,t,e){var a;return e=e||document,null!==ZC._n_(t)?e.createElementNS?a=e.createElementNS(t,A):(a=e.createElement(A)).setAttribute("xmlns",t):a=e.createElement(A),"zcv:"===A.substring(0,4)&&(a.className="zcvml"),a},EV:function(A){var t;A instanceof Array||(A=[A]);for(var e=0,a=A.length;e1024&&typeof A.innerHTML!==ZC._[31])return void(A.innerHTML="");if(m>0)for(var v=m-1;v>=0;v--)(""===_||0===A.childNodes[v].id.indexOf(_+"-"))&&A.removeChild(A.childNodes[v])}},EA:function(A,t){switch("string"==typeof A&&(A=ZC.AM(A)),t){case"canvas":return A.getContext("2d");case"svg":case"vml":return A}},K8:function(A,t){switch(t){case"svg":return ZC.Q.AC2(A);case"vml":case"canvas":return ZC.Q.IC(A)}},HO:function(A,t){switch(t){case"svg":return ZC.Q.AC2(A);case"vml":return ZC.Q.IC(A);case"canvas":return ZC.Q.ADD(A)}},AC2:function(A){var t;if(ZC.AM(A.id))return ZC.AM(A.id);var e=ZC.Q.F8("g",ZC._[36]);return null!==ZC._n_(t=A.id)&&e.setAttribute("id",t),null!==ZC._n_(t=A.cls)&&e.setAttribute("class",t),null!==ZC._n_(t=A.zidx)&&e.setAttribute("z-index",t),null!==ZC._n_(t=A["clip-path"])&&e.setAttribute("clip-path",t),A.after?A.p.insertBefore(e,A.after.nextSibling):A.p.appendChild(e),e},Y3:function(A){var t;ZC.Q.EV(A.id);var e=ZC.Q.F8("clipPath",ZC._[36]);return e.id=A.id,null!==ZC._n_(A.cx)?((t=ZC.Q.F8("circle",ZC._[36])).id=A.id+"-shape",ZC.Q.G7(t,{cx:A.cx,cy:A.cy,r:A.r})):((t=ZC.Q.F8("polygon",ZC._[36])).id=A.id+"-shape",ZC.Q.G7(t,{points:A.path})),e.appendChild(t),e},ADD:function(A){var t;if(ZC.AM(A.id))return ZC.AM(A.id);var e=document.createElement("canvas"),a=e.style;if(null!==ZC._n_(t=A.id)&&(e.id=t),null!==ZC._n_(t=A.cls)&&(e.className=t),null!==ZC._n_(t=A.wh)){var c=(""+t).split("/");A[ZC._[19]]=c[0],A[ZC._[20]]=c[1]}if(null!==ZC._n_(t=A.tl)){var h=(""+t).split("/");A.top=h[0],A.left=h[1]}return e.width=A[ZC._[19]],e.height=A[ZC._[20]],null!==ZC._n_(t=A.left)&&(a.left=t+"px"),null!==ZC._n_(t=A.top)&&(a.top=t+"px"),null!==ZC._n_(t=A.display)&&(a.display=t),null!==ZC._n_(t=A.position)&&(a.position=t),null!==ZC._n_(t=A.zidx)&&(a.zIndex=t),A.p.appendChild(e),e},IC:function(A){var t,e,a,c,h,_;if(ZC.AM(A.id))return a=ZC.AM(A.id),null!==ZC._n_(t=A.wh)&&(h=(""+t).split("/"),a.style.width=h[0]+"px",a.style.height=h[1]+"px"),null!==ZC._n_(t=A.tl)&&(_=(""+t).split("/"),a.style.top=_[0]+"px",a.style.left=_[1]+"px"),a;(c=(a=document.createElement("div")).style).whiteSpace="nowrap",null!==ZC._n_(t=A.wh)&&(h=(""+t).split("/"),A[ZC._[19]]=h[0],A[ZC._[20]]=h[1]),null!==ZC._n_(t=A.tl)&&(_=(""+t).split("/"),A.top=_[0],A.left=_[1]),null!==ZC._n_(t=A.id)&&(a.id=t),null!==ZC._n_(t=A.cls)&&""!==t&&(a.className=t);for(var f=[["top","","px"],["left","","px"],[ZC._[19],"","px"],[ZC._[20],"","px"],"position","overflow",["float","cssFloat|styleFloat"],["zidx","zIndex"],"clip","display",["fontSize","","px"],"fontFamily","fontWeight","fontStyle","textDecoration","textAlign","verticalAlign","color","border","borderTop","borderRight","borderBottom","borderLeft","background","cursor",["margin","marginTop|marginRight|marginBottom|marginLeft","px"],["marginTop","","px"],["marginRight","","px"],["marginBottom","","px"],["marginLeft","","px"],["padding","paddingTop|paddingRight|paddingBottom|paddingLeft","px"],["paddingTop","","px"],["paddingRight","","px"],["paddingBottom","","px"],["paddingLeft","","px"],"lineHeight","filter"],m=null,v=null,E=null,w=0,D=f.length;w")&&ZC.A5(a).children().each(function(){null!==ZC._n_(m)&&(null!==ZC._n_(this.style.fontFamily)&&""!==this.style.fontFamily||(this.style.fontFamily=m)),null!==ZC._n_(v)&&(null!==ZC._n_(this.style.fontSize)&&""!==this.style.fontSize||(this.style.fontSize=v+"px")),null!==ZC._n_(E)&&(null!==ZC._n_(this.style.fontWeight)&&""!==this.style.fontWeight||(this.style.fontWeight=E))})),A.rtl&&(a.style.unicodeBidi="bidi-override",a.style.direction="rtl"),A.cursor&&"hand"===A.cursor&&(a.style.cursor="pointer"),a},WI:null,A4Y:function(A,t,e,a,c,h,_){var f,m,v,E;null===ZC._n_(_)&&(_=!1);var w=!1;"[HTMLMODE]"===t.substring(0,10)&&(w=!0,t=t.substring(10)),E=A+"-text-ruler",-1!==A.indexOf("-fullscreen")&&(E="zc-text-ruler");var D="{{"+t+"}}"+e.replace(/[^a-z]/gi,"").toLowerCase()+a+h+c;if(ZC.cache.data["text-width-"+D]&&!_)return ZC.cache.data["text-width-"+D];if(ZC.cache.data["text-height-"+D]&&_)return ZC.cache.data["text-height-"+D];var M,T=t;return T=T.replace(/
/g,'
'),(M=ZC.AM(E))?(ZC.Q.WI&&ZC.Q.WI===A+e+a+h+c||(M.style.fontFamily=e,M.style.fontSize=a+"px",M.style.fontWeight=c,M.style.lineHeight=w?"130%":-1!==h?ZC._i_(h)+"px":"130%",ZC.Q.WI=A+e+a+h+c),M.innerHTML=T):(M=ZC.Q.IC({id:E,p:document.body,tl:"-9999/-9999",html:T,position:"absolute",fontFamily:e,fontSize:a,cls:"zc-text-ruler",fontWeight:c})).style.lineHeight=w?"130%":-1!==h?ZC._i_(h)+"px":"130%",-1===t.indexOf("<")||-1===t.indexOf(">")||w||ZC.A5(M).children().each(function(){"BR"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontFamily)&&""!==this.style.fontFamily||(this.style.fontFamily=e),null!==ZC._n_(this.style.fontSize)&&""!==this.style.fontSize||(this.style.fontSize=a+"px"),this.style.lineHeight=-1!==h?ZC._i_(h)+"px":"130%","B"!==this.tagName.toUpperCase()&&"STRONG"!==this.tagName.toUpperCase()&&(null!==ZC._n_(this.style.fontWeight)&&""!==this.style.fontWeight||(this.style.fontWeight=c)))}),(f=M.getBoundingClientRect())&&f.width>0?(m=f.width,_&&(v=f.height)):(m=ZC.mobile&&ZC.A5.browser.webkit?M.offsetWidth:ZC.A5(M).width(),_&&(v=ZC.mobile&&ZC.A5.browser.webkit?M.offsetHeight:ZC.A5(M).height())),_?(ZC.cache.add("text-height-"+D,v),v):(ZC.cache.add("text-width-"+D,m),m)}},!document.getElementsByClassName&&document.querySelectorAll&&(document.getElementsByClassName=function(A){return document.querySelectorAll("."+A)}),ZC.A5=function(A,t,e){var a,c,h,_,f=this;if(typeof e===ZC._[31]&&(e=!0),e)return new ZC.A5(A,t,!1);if(f.PB=[],f.QJ=A,f.MK=t,f.length=0,f.MK=f.MK||document.getElementsByTagName("body")[0],"object"==typeof f.QJ)f.PB=[f.QJ];else if("string"==typeof f.QJ)for(var m=f.QJ.split(","),v=0;v")).length&&(w=!0,ZC.A5(a[0]).each(function(){var V=this;ZC.A5(a[1],this).each(function(){this.parentNode===V&&f.PB.push(this)})})),2===(a=E.split(" ")).length&&(w=!0,ZC.A5(a[0]).each(function(){ZC.A5(a[1],this).each(function(){f.PB.push(this)})})),!w)if("#"===E.substring(0,1))ZC.AM(E.substring(1))&&(f.PB=[ZC.AM(E.substring(1))]);else if("."===E.substring(0,1))if(document.getElementsByClassName){if(f.MK.getElementsByClassName)c=f.MK.getElementsByClassName(E.substring(1));else if(c=document.getElementsByClassName(E.substring(1)),f.MK!==document){var D=[];for(h=0,_=c.length;h<_;h++)ZC.A5.childof(c[h],f.MK)&&D.push(c[h]);c=D}for(h=0,_=c.length;h<_;h++)f.PB.push(c[h])}else{var M=new RegExp("(^|\\s)"+E.substring(1)+"(\\s|$)","i"),T=f.MK.getElementsByTagName("*"),R="";for(h=0,_=T.length;h<_;h++)"object"==typeof(R=T[h].className)&&(R=typeof R.baseVal!==ZC._[31]?R.baseVal:""),""!==R&&M.test(R)&&f.PB.push(T[h])}else for(h=0,_=(c=f.MK.getElementsByTagName(E)).length;h<_;h++)f.PB.push(c[h])}return f.length=f.PB.length,this},ZC.A5.prototype={eachfn:function(){for(var A,t=[],e=0,a=this.PB.length;e1)for(var h=1;h1)for(var c=1;c=0;a--)e[a][0]!==h||t&&e[a][1]!==t||ZC.A5.EVENTS[A].splice(a,1);return this}}},ZC.A5._list_=function(A){for(var t=[],e=0;e=200&&m.status<300)&&f&&f(m.responseText,m.status,m,t),m.status>=400&&_&&_(m,m.status,m.statusText,t),m.onreadystatechange=new window.Function,m=null)}),window.ActiveXObject||(m.onerror=function(){_&&_(m,0,"",t)}),"POST"===e.toUpperCase()?(m.open("POST",t,c),m.setRequestHeader("X-Requested-With","XMLHttpRequest"),m.setRequestHeader("Content-type","application/x-www-form-urlencoded")):(""!==a&&(-1===t.indexOf("?")&&(t+="?"),t+="&"+a),m.open("GET",t,c)),h&&h(m);try{m.send(a),c||((v||m.status>=200&&m.status<300)&&f&&f(m.responseText,m.status,m,t),m.status>=400&&_&&_(m,m.status,m.statusText,t),m=null)}catch{v&&_&&(_(m,m.status,m.statusText,t),m.onreadystatechange=new window.Function,m=null)}}},ZC.AP={ACO:function(A,t){var e,a,c=zingchart.DEV.SPREADFACTOR,h=[],_=0;function f(R,V){-1===ZC.AV(R,V)&&R.push(V)}for(e=0;e1?A[e-2]:t,-1===m&&(m=h[_].min)),f(h[_].items,e-1),f(h[_].items,e)):h[_]&&(h[_].max=A[e],_++);h[_]&&-1===h[_].max&&(h[_].max=360+t);var v=h.length;if(v>1&&h[v-1].max-h[0].min==360){for(a=0;a1&&(h[h.length-1].max=h[0].min+360),e=0;et.x+t.width+(e=e||1)||t.x>A.x+A.width+e||A.y>t.y+t.height+e||t.y>A.y+A.height+e)},_boxoverlap2_:function(A,t,e){return!(A.iX>t.iX+t.I+(e=e||1)||t.iX>A.iX+A.I+e||A.iY>t.iY+t.F+e||t.iY>A.iY+A.F+e)},AGJ:function(A,t){return A.iX>=t.iX&&A.iX<=t.iX+t.I&&A.iY>=t.iY&&A.iY<=t.iY+t.F&&A.iX+A.I>=t.iX&&A.iX+A.I<=t.iX+t.I&&A.iY+A.F>=t.iY&&A.iY+A.F<=t.iY+t.F},A71:function(A,t,e){for(var a=Math.sqrt(A/Math.PI),c=Math.sqrt(t/Math.PI),h=Math.min(a,c),_=Math.max(a,c),f=ZC.MAX,m=0,v=h+_;v>_-h;v-=h/50){var E=h*h*Math.acos((v*v+h*h-_*_)/(2*v*h))+_*_*Math.acos((v*v+_*_-h*h)/(2*v*_))-.5*Math.sqrt((-v+h+_)*(v+h-_)*(v-h+_)*(v+h+_));Math.abs(E-e)t&&A[E-1]&&(Math.sqrt((A[E][0]-A[E-1][0])*(A[E][0]-A[E-1][0])+(A[E][1]-A[E-1][1])*(A[E][1]-A[E-1][1]))>t&&E-h>1&&(m+=Math.round(A[E-1][0]+v+a,10)+","+Math.round(A[E-1][1]+v+c,10)+","),_=A[E][0]+v+a,f=A[E][1]+v+c,h=E,m+=Math.round(_,10)+","+Math.round(f,10)+","));return m.substring(0,m.length-1)},ZL:function(A,t){if(null===ZC._n_(A)||A.length<2)return"";null===ZC._n_(t)&&(t=6,ZC.mobile&&(t+=10));var e,a,c,h,_,f=[];for(e=0,a=A.length;e0&&null!==ZC._n_(A[e])&&null!==ZC._n_(A[e-1])&&A[e].join("/")!==A[e-1].join("/")||null===ZC._n_(A[e]))&&f.push(A[e]);var m=[],v=[],E=!1;for(e=0,a=f.length;e=R&&(_+=180),m.push(ZC.AP.BN(R,V,t,h+90),ZC.AP.BN(R,V,t,_),ZC.AP.BN(R,V,t,h+270));else if(e===f.length-1)c=Math.atan((T-V)/(M-R)),_=h=ZC.UI(c),M>=R&&(_+=180),E?(v.push(ZC.AP.BN(R,V,t,h+270),ZC.AP.BN(R,V,t,_),ZC.AP.BN(R,V,t,h+90)),E=!1):m.push(ZC.AP.BN(R,V,t,h+270),ZC.AP.BN(R,V,t,_),ZC.AP.BN(R,V,t,h+90));else{var $=Math.atan((D-V)/(w-R)),y=Math.atan((V-T)/(R-M));_=ZC.UI(($+y)/2),m.push(ZC.AP.BN(R,V,t,_+270)),w>=R&&M>=R?(m.push(ZC.AP.BN(R,V,t,_+180)),m.push(ZC.AP.BN(R,V,t,_+90)),v.push(ZC.AP.BN(R,V,t,_)),E=!0):w<=R&&M<=R?(m.push(ZC.AP.BN(R,V,t,_)),m.push(ZC.AP.BN(R,V,t,_+90)),v.push(ZC.AP.BN(R,V,t,_+180)),E=!0):v.push(ZC.AP.BN(R,V,t,_+90))}}for(e=v.length-1;e>=0;e--)m.push(v[e]);return m},A2Y:function(A,t){var e=0,a=0,c=[];switch(A+=""){case"horizontal":case"h":e=1,a=t;break;case"vertical":case"v":e=t,a=1;break;default:c=A.split("x"),null!==ZC._n_(c[0])&&ZC._i_(c[0])+""===c[0]&&(e=ZC._i_(c[0])),null!==ZC._n_(c[1])&&ZC._i_(c[1])+""===c[1]&&(a=ZC._i_(c[1])),0===a&&0===e?(e=Math.ceil(Math.sqrt(t)),a=Math.ceil(t/e)):(0===a&&(a=Math.ceil(t/e)),0===e&&(e=Math.ceil(t/a)))}return[e,a]},ABJ:function(A,t){return.5*(2*t[1]+(-t[0]+t[2])*A+(2*t[0]-5*t[1]+4*t[2]-t[3])*A*A+(3*t[1]-t[0]-3*t[2]+t[3])*A*A*A)},ABU:function(A,t){var e,a,c,h,_,f=A.length,m=[],v=[],E=[];for(e=0;ey))return t[O];W=O-1}}U=Math.max(0,W);var ee=y-A[U],ne=ee*ee;return t[U]+w[U]*ee+T[U]*ne+R[U]*ee*ne}},YY:function(A,t,e,a){null===ZC._n_(a)&&(a=1/(e/t.length*4));var c,h,_=[];if(A)if((c=[].concat(t))[1]&&c[2]){c[0]=c[0]||c[1]||c[2]||c[3],c[1]=c[1]||c[2]||c[0]||c[3],c[2]=c[2]||c[3]||c[1]||c[0],c[3]=c[3]||c[2]||c[1]||c[0];var f=ZC.AP.ABU([0,1,2,3],c);for(h=1;h<=2;h+=a)_.push([h-1,f(h)])}else _.push([]);else for(var m=1;m1||T<0||T>1?null:[c+M*(_-c),h+M*(f-h)]},_outside_:function(A,t){return A[0]t[2]||A[1]t[3]},_angle_:function(A,t){return Math.atan2(t[1]-A[1],t[0]-A[0])}},ZC.YA={md5:function(A){return ZC.YA.ACY(ZC.YA.ACZ(ZC.YA.ACV(A)))},ACZ:function(A){return ZC.YA.ACK(ZC.YA.AD0(ZC.YA.ACL(A),8*A.length))},ACY:function(A){for(var t,e="",a=0,c=A.length;a>>4&15)+"0123456789abcdef".charAt(15&t);return e},ACV:function(A){for(var t,e,a="",c=-1,h=A.length;++c>>6&31,128|63&t):t<=65535?a+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|63&t):t<=2097151&&(a+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|63&t));return a},ACL:function(A){var t,e=Array(A.length>>2);for(t=0;t>5]|=(255&A.charCodeAt(t/8))<>5]>>>e%32&255);return t},AD0:function(A,t){function e(y,U,O,Q,W,ae){return f((ee=f(f(U,y),f(Q,ae)))<<(ne=W)|ee>>>32-ne,O);var ee,ne}function a(y,U,O,Q,W,ae,ee){return e(U&O|~U&Q,y,U,W,ae,ee)}function c(y,U,O,Q,W,ae,ee){return e(U&Q|O&~Q,y,U,W,ae,ee)}function h(y,U,O,Q,W,ae,ee){return e(U^O^Q,y,U,W,ae,ee)}function _(y,U,O,Q,W,ae,ee){return e(O^(U|~Q),y,U,W,ae,ee)}function f(y,U){var O=(65535&y)+(65535&U);return(y>>16)+(U>>16)+(O>>16)<<16|65535&O}A[t>>5]|=128<>>9<<4)]=t;for(var m=1732584193,v=-271733879,E=-1732584194,w=271733878,D=0,M=A.length;Dzingchart.DEV.MAXPOOLSIZE?(zingchart.pool.data={},zingchart.pool.size=0):zingchart.pool.data[e]=c}return c},zingchart.i18n={},zingchart.THEMES={},zingchart.V3D=2,zingchart.QUOTEDVALUES=!1,zingchart.EDITSOURCE=1,zingchart.MODULESDEP={line:"xy",line3d:"3d,line",area:"xy",area3d:"3d,area",vline:"yx",varea:"yx",vbar:"xy",vbar3d:"3d,vbar",hbar:"yx",hbar3d:"3d,hbar",scatter:"xy",bubble:"xy",hscatter:"yx",hbubble:"yx",pie:"r",pie3d:"3d,pie",nestedpie:"r",gauge:"r",vbullet:"vbar",hbullet:"hbar",vfunnel:"xy",hfunnel:"yx",piano:"xy",radar:"r",range:"xy",vrange:"yx",stock:"xy,vbar",venn:"r"},zingchart.SKIP={EVENT:!1,ANIMATION:!1,LEGEND:!1,CSV:!1,PARSE3D:!1},zingchart.MODULESDIR=function(A){for(var t=0;t-1)return A[t].src.split("zingchart.min.js")[0]+"modules/";return"./modules/"}(document.getElementsByTagName("head")[0].childNodes),zingchart.DEV={DOMFRAGMENTS:1,SORTTOKENS:1,PLOTSTATS:1,RESOURCES:1,KEEPSOURCE:1,SPREADTYPE:0,SPREADFACTOR:10,IGNORESUBUNIT:0,DELAYEDTRACKERS:0,STACKINGLOGIC:-1,SMARTDATELABELS:0,GC:1,CACHECANVASTEXT:0,CHECKDECIMALS:0,CACHESELECTION:0,MEDIARULES:1,SKIPTRACKERS:0,PLOTSHLAYER:0,RESIZESPEED:250,DEBOUNCESPEED:250,LOCALSVGEXPORT:1,SKIPPROGRESS:0,SKIPCONTEXTMENU:0,COPYDATA:1,GUIDETIMEOUT:0,LOOKUPCSSTRANSFORM:0,MAPSONBOTTOM:0,MAXPOOLSIZE:1024,MINTRACKERDIFF:1.5,TRACKERMASKING:2,COPYVALUES:1},zingchart.CANVASTEXT=0,zingchart.ZINDEX=1,zingchart.CMZINDEX=9999,zingchart.FSZINDEX=9998,zingchart.FSID=null,zingchart.ZCOUTPUT=0,zingchart.ASYNC=0,zingchart.SORTTRACKERS=0,zingchart.TIMEOUT=0,zingchart.USERCSS={},zingchart.OBJECTMODE="normal",zingchart.SYNTAX="mixed",zingchart.THEME=null,zingchart.EXPORTURL=("file:"===document.location.protocol?"http:":document.location.protocol)+"//export.zingchart.com/",zingchart.AJAXEXPORT=!1,zingchart.TOUCHZOOM="normal",zingchart.DEFAULT={height:480,width:640},zingchart.FASTWIDTH=0,zingchart.FONTSIZE=11,zingchart.FONTFAMILY="Lucida Sans Unicode,Lucida Grande,Lucida Sans,Helvetica,Arial,sans-serif",ZC.mobile&&(zingchart.FONTFAMILY="Lucida Sans,Helvetica,Arial,sans-serif"),zingchart.loadModules=function(A,t){for(var e=(""+A).split(","),a=0,c=e.length;a100){if(c>ZC.GESTURE.dist+50)ZC.GESTURE.type="pinch-in",zingchart.exec(ZC.GESTURE.id,"zoomin");else if(cZC.GESTURE.mp[0]+10?(_["x-"]=!0,_.xdist=ZC._a_(ZC.GESTURE.mp[0]-h[0])):h[0]ZC.GESTURE.mp[1]+10?(_["y+"]=!0,_.ydist=ZC._a_(ZC.GESTURE.mp[1]-h[1])):h[1]=a.P.iX&&h<=a.P.iX+a.P.I&&_>=a.P.iY&&_<=a.P.iY+a.P.F,touch:ZC.mobile}},typeof zingchart.SQ===ZC._[31]&&(zingchart.SQ=function(A){for(var t=0,e=zingchart.IA.length;t1)){var a=zingchart.XJ(A);if(a){if("click"===A.type&&ZC.aMDXY&&(ZC._a_(ZC.aMDXY[0]-A.pageX)>2||ZC._a_(ZC.aMDXY[1]-A.pageY)>2))return;if(!zingchart.SKIP.EVENT){var c=zingchart.A14(A,a);c.target=zingchart.plugins.CLICK_TARGET||c.target,zingchart.plugins.CLICK_TARGET=null,ZC.mobile&&"touchend"===A.type&&(a.E["click-ts"]&&(new Date).getTime()-a.E["click-ts"]<500&&ZC.AR.C1("dblclick",a,c),a.E["click-ts"]=(new Date).getTime()),ZC.AR.C1("dblclick"===A.type?"dblclick":"click",a,c)}zingchart.SKIP.EVENT=!1,A.target.id!==a.K+"-menu-area"?a.hideCM():zingchart.ZN(A)}}},ZC.mobile?(ZC.A5(document).bind("touchmove",function(){ZC.move=!0}),ZC.A5(document).bind("touchend",function(){ZC.move=!1})):(ZC.A5(document).bind("click",zingchart.SQ),ZC.A5(document).bind("dblclick",zingchart.SQ))),typeof zingchart.A3H===ZC._[31]&&(zingchart.A3H=function(A){A.touches.length>0&&(ZC.TOUCHEVENTS=!0)},ZC.A5(document).bind("touchstart",zingchart.A3H)),typeof zingchart.ZN===ZC._[31]&&(zingchart.ZN=function(A,t,e){if(!(A&&A.target&&A.target.tagName&&"IMG"!==A.target.tagName.toUpperCase()&&"AREA"!==A.target.tagName.toUpperCase()&&-1===ZC.Q.TJ(A.target).indexOf("zc-scroll")&&-1===A.target.id.indexOf("-legend-")&&-1===A.target.id.indexOf("-preview-"))||zingchart.DEV.SKIPTRACKERS){var a,c,h,_,f,m;e=e||{};var v=null===ZC._n_(t)?zingchart.XJ(A):zingchart.getLoader(t);if(v){if(-1!==ZC.AV(v.KX,ZC._[38])||(null===ZC._n_(t)?(c=ZC.Q.MR(A),a=v.A2A(c[0],c[1])):a=null!==ZC._n_(e[ZC._[3]])?v.OT(e[ZC._[3]]):v.AG[0],!a))return!1;var E=ZC.A5("#"+v.K+"-top");null===ZC._n_(t)?(h=c[0]-E.offset().left,_=c[1]-E.offset().top):(h=v.I/2,_=v.F/2);var w={};A&&(w=zingchart.A14(A,v));var D=ZC.AR.C1("contextmenu",v,w,!0);if(!D&&typeof D!==ZC._[31]&&(!A&&!e["from-api"]||A&&A.target.id!==v.K+"-menu-area"))return A.preventDefault(),!1;var M=ZC._tx_(v.K);v.A1D(a?a.L:-1,A);var T=-1;if(0!==zingchart.CMZINDEX)T=zingchart.CMZINDEX;else for(var R=ZC.AM(v.K);-1===T&&null!==R.parentNode;)"auto"!==(T=ZC._i_(ZC.A5(R).css("zIndex")))&&""!==T&&null!==ZC._n_(T)||(T=-1),R=R.parentNode;T&&-1!==T&&null!==ZC._n_(T)||(T=1);var V=ZC.A5("#"+v.K+"-menu");if(V.css("zIndex",zingchart.ZINDEX+T+1),null===ZC._n_(t)){if(A.target.id===v.K+"-print-png"||A.target.id===v.K+"-print-jpeg")return!0;A.preventDefault()}if(!ZC.AM(v.K+"-menu"))return!1;h=E.offset().left,_=E.offset().top;var $=E.width(),y=E.height();null===ZC._n_(t)?(f=(c=ZC.Q.MR(A))[0]||ZC.E1[0],m=c[1]||ZC.E1[1]):(f=h+v.I/2,m=_+5);var U=!1;if(v.UJ("goback",!1),v.O7>0&&(v.UJ("goback",!0),U=!0),v.UJ("goforward",!1),v.O7=h&&f<=h+$*M[0]&&m>=_&&m<=_+y*M[1]){ZC.A5(".zc-menu").each(function(){this.id!==v.K+"-menu"&&v.hideCM()}),v.T1=[f,m,null===ZC._n_(t)?A.target.id:t],V.css("opacity",0).show();var O,Q,W=ZC._i_(V.css(ZC._[19]))+ZC._i_(V.css("paddingLeft"))+ZC._i_(V.css("paddingRight")),ae=ZC._i_(V.css(ZC._[20]))+ZC._i_(V.css("paddingTop"))+ZC._i_(V.css("paddingBottom")),ee=1,ne=!1;if(v.o.gui&&v.o.gui["context-menu"]&&v.o.gui["context-menu"]&&(ee=v.o.gui["context-menu"].alpha?v.o.gui["context-menu"].alpha:1,ne=v.o.gui["context-menu"].docked),V.css("opacity",ee).hide(),"classic"!==v.LV&&ne)ne&&(ZC._cp_(v.o.gui["context-menu"],v.B8.O3[v.LV].root.gui["context-menu"]),O="left"!==v.o.gui["context-menu"].position&&ZC._n_(v.o.gui["context-menu"].position)?E.offset().left+E.width()-W:E.offset().left),Q=E.offset().top,V.css("left",ZC.BQ(1,O)+"px").css("top",ZC.BQ(1,Q)+"px").css(ZC._[20],E.height()+"px").css("box-sizing","border-box").show(),V=ZC.A5("#"+v.K+"-menu"),ne&&V.PB[0].scrollHeight>E.height()&&V.css("overflow-y","scroll");else{if(null===ZC._n_(t)&&A.target.id===v.K+"-menu-area"){ZC.AM(v.K+"-menu").style.paddingTop=0;var te=ZC.A5("#"+v.K+"-menu-area").attr("coords").split(","),le=ZC._i_(te[3])-ZC._i_(te[1]);ZC.AM(v.K+"-menu").style.backgroundPosition=ZC._i_(te[0])>v.I/2?"100% 0% !important":"0% 0% !important",O=h+(ZC._i_(te[0])>v.I/2?ZC._i_(te[2])-W:ZC._i_(te[0])),Q=_+(ZC._i_(te[1])>v.F/1.25?ZC._i_(te[3])-ae-le:ZC._i_(te[3]))}else ZC.AM(v.K+"-menu").style.backgroundPosition="50% 0% !important",O=v.T1[0]-W/2,Q=v.T1[1],ae>v.F*M[1]?Q=_:Q-_+ae>v.F*M[1]&&(Q=ZC.BQ(Q-ae,v.F*M[1]-ae)),Oh+v.I*M[0]&&(O=ZC.CX(h+v.I*M[0]-W/2,O-W/2));if(e.position)switch(e.position){case"top":break;case"top-left":O=O-(v.I*M[0]-W)/2+5;break;case"top-right":O=O+(v.I*M[0]-W)/2-5;break;case"bottom":Q=Q+(v.F*M[1]-ae)-10;break;case"bottom-left":Q=Q+(v.F*M[1]-ae)-10,O=O-(v.I*M[0]-W)/2+5;break;case"bottom-right":Q=Q+(v.F*M[1]-ae)-10,O=O+(v.I*M[0]-W)/2-5;break;case"left":Q=Q+(v.F*M[1]-ae)/2-5,O=O-(v.I*M[0]-W)/2+5;break;case"right":Q=Q+(v.F*M[1]-ae)/2-5,O=O+(v.I*M[1]-W)/2-5}else null!==ZC._n_(e.x)&&null!==ZC._n_(e.y)&&(O=h+ZC._i_(e.x),Q=_+ZC._i_(e.y));if(V.css("left",ZC.BQ(1,O)+"px").css("top",ZC.BQ(1,Q)+"px").show(),ZC.ie67){var ce=ZC.A5("#"+v.K+"-menu div").width()[0]||120;V.css(ZC._[19],ce+"px")}}return v.A9X=!0,!1}}}},ZC.A5(document).bind("contextmenu",zingchart.ZN)),zingchart.AB1=function(A,t){if(zingchart.css)return zingchart.css.addRule?zingchart.css.addRule(A,t):zingchart.css.insertRule(A+"{"+t+"}",0)},zingchart.wh=function(A,t,e){"auto"===t&&(t="100%"),"auto"===e&&(e="100%");var a=[0,0];return-1===(""+t).indexOf("%")&&-1===(""+e).indexOf("%")||(a=A.wh()),[-1!==(""+t).indexOf("%")?a[0]*parseInt(t,10)/100:parseInt(t,10),-1!==(""+e).indexOf("%")?a[1]*parseInt(e,10)/100:parseInt(e,10)]},zingchart.J7={},zingchart.bind=function(A,t,e){A=A||"zingchart-global",zingchart.J7[A]||(zingchart.J7[A]={}),zingchart.J7[A][t]?zingchart.J7[A][t].push({fn:e}):zingchart.J7[A][t]=[{fn:e}]},zingchart.unbind=function(A,t,e){if(A=A||"zingchart-global",zingchart.J7[A]&&zingchart.J7[A][t])if(e){for(var a=0,c=zingchart.J7[A][t].length;a0&&(ie.width()!==De||ie.height()!==ge)&&(ve=T.M5||T.QW?zingchart.wh(ie,""+ie.width(),""+ie.height()):zingchart.wh(ie,T.G2,T.N7))[0]>10&&ve[1]>10){for(T.I=ZC._i_(ve[0]),T.F=ZC._i_(ve[1]),De=ie.width(),ge=ie.height(),c=0,h=T.AG.length;c10&&ge>10){for(T.I=-1!==(""+T.G2).indexOf("%")?ZC._i_(De*ZC.IU(T.G2)):ZC._i_(De),T.F=-1!==(""+T.N7).indexOf("%")?ZC._i_(ge*ZC.IU(T.N7)):ZC._i_(ge),c=0,h=T.AG.length;c%g:%i:%s %A
%q ms",second:"%d %M %Y
%g:%i:%s %A",minute:"%d %M %Y
%g:%i %A",hour:"%d %M %Y
%g %A",day:"%d %M %Y",month:"%M %Y",year:"%Y"},"days-short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"days-long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"months-short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"months-long":["January","February","March","April","May","June","July","August","September","October","November","December"],"sync-wait":"Wait...","export-wait":"Exporting...","progress-wait-long":"Wait. Loading...","progress-wait-short":"Wait...","progress-wait-mini":"...","error-header":"An Error Has Occured","error-message":"Error Message:","error-close":"Close","bugreport-header":"Submit Bug Report","bugreport-senddata":"Send JSON Data","bugreport-sendcapture":"Send Graph Capture","bugreport-yourcomment":"Your Comment:","bugreport-jsondata":"JSON Data:","bugreport-youremail":"Your Email Address","bugreport-infoemail":"if you want to receive via email our reply to your problem","bugreport-emailmandatory":"Email address is mandatory...","bugreport-validemailmandatory":"Please enter a valid email address...","bugreport-submit":"Submit","bugreport-cancel":"Cancel","bugreport-confirm":"Your bug report was sent.\n\nThank you!","about-close":"Close","viewsource-jsonsource":"Parsed JSON","viewsource-originalsource":"Original JSON","viewsource-close":"Close","viewsource-apply":"Apply","viewimage-close":"Close","legend-pagination":"Page %page% of %pages%"},ZC.HI=zingchart.i18n.en_us,zingchart.getLoader=function(A){for(var t=0;t0&&(ZC.AR.C1("history_back",w,w.F5()),w.O7--,zingchart.exec(w.K,"setdata",{data:w.R2[w.O7]}));break;case"goforward":w.IL&&w.O710&&Q[1]>10)&&(w.I=Q[0],w.F=Q[1],null!==ZC._n_(a=e.layout)&&(w.o.layout=a),""===w.MN&&(w.E["from-api"]=!0,w.E[ZC._[53]]=!0,w.resize(y),w.G2=U,w.N7=O,w.A34=!1));break;case"plothide":case"hideplot":(_=w.C9(e[ZC._[3]]))&&_.ZM(e,"hide");break;case"showguide":case"hideguide":ZC.E1[0]=ZC._n_(e.x)?e.x:ZC.E1[0],ZC.E1[1]=ZC._n_(e.y)?e.y:ZC.E1[1],(_=w.C9(e[ZC._[3]]))&&w.W6(_.K,"showguide"===t);break;case"showtooltip":case"hidetooltip":case"clicknode":if(_=w.C9(e[ZC._[3]])){var W=e.ev||{};"showtooltip"!==t&&"clicknode"!==t||((f=_.HY(e.plotindex,e.plotid))&&f.R.length&&!e.xy?(m=f.L,v=ZC._i_(e.nodeindex||"0"),W.targetid=_.K+ZC._[35]+m+"-node-"+v,W.update=!0):W.targetid=_.K+"-xy-"+ZC._i_(e.y||"0")+"-"+ZC._i_(e.x||"0")),"clicknode"===t?(W.which=0,_.TU(W)):_.A.A7&&("showtooltip"===t?_.A.A7.onmouseover(W,e.data):_.A.A7.hide())}break;case"locktooltip":ZC.TTLOCK=!0;break;case"unlocktooltip":ZC.TTLOCK=!1;break;case"showhoverstate":if(_=w.C9(e[ZC._[3]])){f=_.HY(e.plotindex,e.plotid),m=ZC._i_(f?f.L:0),v=ZC._i_(e.nodeindex||"0");var ae=_.AZ.A3[m].FK(v);_.L5(),ae.HZ()}break;case"plotshow":case"showplot":(_=w.C9(e[ZC._[3]]))&&_.ZM(e,"show");break;case"togglesource":ZC.AM(w.K+"-viewsource")?ZC.Q.EV(w.K+"-viewsource"):w.A1B();break;case"togglebugreport":ZC.AM(w.K+"-bugreport")?ZC.Q.EV(w.K+"-bugreport"):w.A2H();break;case"toggleabout":ZC.AM(w.K+"-about")?ZC.Q.EV([w.K+"-about",w.K+"-about-mask"]):w.A62();break;case"toggleplot":(_=w.C9(e[ZC._[3]]))&&_.PG(e);break;case"getcharttype":return(_=w.C9(e[ZC._[3]]))?_.AF:null;case"showversion":case"getversion":return ZC.VERSION;case"get3dview":return(_=w.C9(e[ZC._[3]]))?_.EZ:null;case"set3dview":(_=w.C9(e[ZC._[3]]))&&(null===ZC._n_(w.o[ZC._[16]][_.L][ZC._[26]])&&(w.o[ZC._[16]][_.L][ZC._[26]]={}),ZC._cp_(e,w.o[ZC._[16]][_.L][ZC._[26]]),null===ZC._n_(_.o[ZC._[26]])&&(_.o[ZC._[26]]={}),ZC._cp_(e,_.o[ZC._[26]]),zingchart.SKIP.PARSE3D=!0,_.autoFit(),_.K0(!0,!0),zingchart.SKIP.PARSE3D=!1);break;case"getpage":return w.LG;case"setpage":var ee=0;null!==ZC._n_(a=e.page)&&(ee=ZC._i_(a)),w.LG=ee,ZC.A07(function(){w.clear(),w.parse(),w.paint()},!0);break;case"unbinddocument":ZC.A5(document).unbind(ZC.Q.BY(ZC._[48]),zingchart.MW).unbind(ZC.Q.BY(ZC._[47]),zingchart.MW).unbind(ZC.Q.BY(ZC._[49]),zingchart.MW).unbind("click",zingchart.SQ).unbind("contextmenu",zingchart.ZN),w.D6&&w.D6.unbind()}var ne=[];for(zingchart.AC5&&null!==(E=zingchart.AC5(A,t,e))&&(a=E),ne=["addobject","removeobject","updateobject","repaintobjects","getobjectsbyclass","getallobjects","getlabelinfo","getshapeinfo","setobjectsmode","settweenmode"],zingchart.ABI&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.ABI(A,t,e))&&(a=E),ne=["getimagedata","exportimage","saveasimage","exportdata","downloadCSV","downloadXLS","downloadRAW","viewDataTable"],zingchart.ABT&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.ABT(A,t,e))&&(a=E),ne=["getzoom","pan","zoomin","zoomout","zoomto","zoomtovalues","viewall"],zingchart.AC4&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.AC4(A,t,e))&&(a=E),ne=["clearselection","getselection","setselection","select","deselect"],zingchart.AB8&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.AB8(A,t,e))&&(a=E),ne=["clearfeed","getinterval","setinterval","stopfeed","startfeed"],zingchart.AC3&&-1!==ZC.AV(ne,t)&&null!==(E=zingchart.AC3(A,t,e))&&(a=E),c=0,h=zingchart.A9S.length;cW;v--)Q[v]=Q[v-1];Q[W]=e[ZC._[9]]||"",te.o[ZC._[16]][c.L][$][ZC._[5]]=Q}te.E.json=ZC.H0(JSON.stringify(te.o)),c.LP("on-change"),le&&(c.E["from-api"]=!0,c.K0(Ce,Ce))}break;case"removescalevalue":if(zingchart.SKIP.CSV=!0,c=te.C9(e[ZC._[3]])){for($=e.scale||ZC._[50],y=0,U=c.BO.length;yW;v--)O[v]=O[v-1];if(O[W]=e[ZC._[9]],!Ve)for(y=0,U=c.BO.length;yW;v--)Q[v]=Q[v-1];Q[W]=e[$+"-value"],te.o[ZC._[16]][c.L][$][ZC._[5]]=Q}ZC.AR.C1("node_add",te,{id:te.K,graphid:c.K,plotindex:_.L,nodeindex:W,key:W,value:e[ZC._[9]],text:e[ZC._[9]]}),te.o[ZC._[16]][c.L][ZC._[11]][_.L][ZC._[5]]=c.o[ZC._[11]][_.L][ZC._[5]],te.E.json=ZC.H0(JSON.stringify(te.o)),c.LP("on-change"),le&&(c.E["from-api"]=!0,c.K0(Ce,Ce))}break;case"removenode":if(zingchart.SKIP.CSV=!0,(c=te.C9(e[ZC._[3]]))&&(_=c.HY(e.plotindex,e.plotid))){O=c.o[ZC._[11]][_.L][ZC._[5]],W=null===ZC._n_(e.nodeindex)?_.R.length-1:ZC._i_(e.nodeindex);var Ee=!0;if(null!==ZC._n_(e.nodekeyvalue))for(Ee=!1,y=0,U=_.R.length;y0&&null!==ZC._n_(ae[v][0])&&ae[v][0].length>1,at=!0;if(null!==ZC._n_(a=e.ignoreduplicates)&&(at=ZC._b_(a)),Me){var $e=He.length;for(w=0,D=ae[v].length;w=0;et--){if(ae[v][w][0]>He[et][0]){He.push(ae[v][w]),ot=!0;break}if(ae[v][w][0]===He[et][0]){ot=!0;break}}ot&&at||He.push(ae[v][w])}}else for(w=0,D=ae[v].length;wae.length)for(y=ae.length;ys.H.I&&(L2=!1),null!==ZC._n_(oRule["max-width"])&&ZC._i_(oRule["max-width"])s.H.F&&(L2=!1),null!==ZC._n_(oRule["max-height"])&&ZC._i_(oRule["max-height"])")}return""!==t?[t,ZC.YA.md5(t)]:null}IX(){return!0}copy(A){var t=this;ZC._cp_(A.o,t.o),A.IG&&(t.IG=t.IG||{},ZC._cp_(A.IG,t.IG)),A.JJ&&(t.JJ=t.JJ||{},ZC._cp_(A.JJ,t.JJ)),ZC._cp_(A.E,t.E),ZC._cp_(A.E5,t.E5)}}class CZ extends ACT{constructor(t){super(t),this.init(t)}init(t){super.init(t);var e=this;t&&t.H&&(e.H=t.H),e.K="",e.DF=null,e.AO=!0,e.A0="-1",e.AE="-1",e.GV="",e.HV="",e.W8=!0,e.DA="",e.MF="repeat",e.TM="50% 50%",e.X4="",e.L3=1,e.NV="linear",e.NI=90,e.WE=0,e.WD=0,e.B1=0,e.B7="#000",e.GF="",e.ES=0,e.G4=0,e.AU=0,e.BX="#000",e.C5=1,e.OB=1,e.TB="butt",e.A0D="round",e.MJ=!1,e.OU=45,e.K1=2,e.TC=.75,e.S7="#999",e.PH=0,e.CY=!0,e.NB=!1,e.LH=!1,e.A2K=!1,e.M1=null,e.BG=""}getPMap(){var t=super.getPMap();return this.addPMap(t,"visible,backgroundColor1,backgroundColor2,gradientColors,gradientStops,backgroundImage,backgroundRepeat,backgroundPosition,backgroundFit,backgroundScale,fillType,fillAngle,fillOffsetX,fillOffsetY,lineWidth,lineColor,lineStyle,lineSegmentSize,lineGapSize,borderWidth,borderColor,borderAlpha,alpha,lineCap,shadow,shadowAngle,shadowDistance,shadowAlpha,shadowColor,shadowBlur,class,border","AO,A0,AE,GV,HV,DA,MF,TM,X4,L3,NV,NI,WE,WD,B1,B7,GF,ES,G4,AU,BX,OB,C5,TB,MJ,OU,K1,TC,S7,PH,DF,BG"),t}copy(t){super.copy(t);for(var e="AO,A0,AE,GV,HV,DA,W8,MF,TM,X4,L3,NV,NI,WE,WD,B1,B7,GF,ES,G4,AU,BX,OB,C5,TB,MJ,OU,K1,TC,S7,PH,CY,LH,DF,H,BG".split(","),a=0,c=e.length;a2&&null!==e[0]&&null!==e[e.length-1]&&e[0].join(",")===e[e.length-1].join(",")&&(t.TB="round");var D=t.H.AC;if("canvas"!==D||0!==t.B1&&"-1"!==t.B7){if(t.MJ&&!a){t.C7=t.C7||t.Z;var M,T=ZC.Q._sh_(e,t);typeof t.A5F!==ZC._[31]?M=t.A5F:((M=new DX(t)).copy(t),M.K=t.K+"-sh",M.MJ=!1,M.B1+=M.PH,M.B7=M.S7),M.C5=t.C5*M.TC,typeof t.ADH===ZC._[31]&&(t.A5F=M),M.CY=!1,_=t.C7?ZC.Q.EA(t.C7,D):A,ZC.CQ.setup(_,M),ZC.CQ.paint(_,M,T,!1,1,h)}var R=ZC._i_(t.ES||"0"),V=ZC._i_(t.G4||"0");"solid"===t.GF&&(R=V=0);var $=e.length;typeof t.AA===ZC._[31]&&(t.AA=0),"canvas"===D&&(A.lineJoin=t.A0D,A.lineCap=t.TB,A.strokeStyle=ZC.AR.A3R(ZC.AR.GE(t.B7),a?t.OB:t.C5),A.lineWidth=t.B1,A.beginPath());var y=!1;if(-1!==ZC.AV(["svg","vml"],D))f=h?[]:ZC.Q.A3P(e,D,t,a);else{var U=!1;"dashdot"!==t.GF&&(U=A.setLineDash)&&A.setLineDash(0===R||0===V?[]:[R,V]);var O=0,Q=[ZC.MAX,ZC.MAX,-ZC.MAX,-ZC.MAX];for(w=0;w<$;w++)if(null!==e[w]){if(null!==(m=ZC.objmove?e[w]:ZC.Q._txp_(e[w],D,t,a))&&!isNaN(m[0])&&!isNaN(m[1])&&isFinite(m[0])&&isFinite(m[1]))if($<=6&&a&&(Q[0]=ZC.CX(Q[0],m[0]),Q[1]=ZC.CX(Q[1],m[1]),Q[2]=ZC.BQ(Q[2],m[0]),Q[3]=ZC.BQ(Q[3],m[1])),0===w)2===m.length?A.moveTo(m[0],m[1]):6===m.length&&A.arc(m[0],m[1],m[2],ZC.TK(m[3]),ZC.TK(m[4]),m[5]);else if(y&&(A.moveTo(m[0],m[1]),y=!1),U||0===R||0===V||4===m.length||6===m.length||7===m.length)2===m.length?A.lineTo(m[0],m[1]):4===m.length?A.quadraticCurveTo(m[0],m[1],m[2],m[3]):6===m.length?A.arc(m[0],m[1],m[2],ZC.TK(m[3]),ZC.TK(m[4]),m[5]):7===m.length&&A.bezierCurveTo(m[0],m[1],m[2],m[3],m[4],m[5]);else if(null!==e[w-1]){var W=ZC.Q._txp_(e[w-1],D,t,a),ae=W[4===W.length?2:0],ee=W[4===W.length?3:1],ne=m[0],oe=m[1],te=R+V,le=ne-ae,ce=oe-ee,Ce=Math.sqrt(le*le+ce*ce)+O;if(Ce>R){var se;O=0,se="dashdot"===t.GF?Math.floor(ZC._a_(Ce/((te+t.B1+V)/2))):Math.floor(ZC._a_(Ce/te));var he=Math.atan2(ce,le),fe=Math.cos(he),ie=Math.sin(he),De=ae,ge=ee,me=R;for(v=0;vR?A.lineTo(De+fe*R,ge+ie*R):Ce>0&&A.lineTo(De+fe*Ce,ge+ie*Ce),A.moveTo(ne,oe)}else O=Ce}}else y=!0;t.H&&$<=6&&a&&(t.H.E[t.K+"-bounds"]=Q)}switch(D){case"canvas":A.globalCompositeOperation=t.A1F,A.stroke();break;case"svg":case"vml":if(null===ZC._n_(t.o["top-state"])&&t.H.OJ&&(!a||t.E.areanode)){if(E=t.E.areanode?t.A0+"-"+t.AE+"-"+t.DA+"-"+t.B1+"-"+t.GF+"-"+t.C5+"-"+t.BL+"-"+t.BH:t.B7+"-"+t.B1+"-"+t.GF+"-"+t.C5+"-"+t.BL+"-"+t.BH,null===ZC._n_(t.H.O5[c])){t.H.O5[c]={uid:E,ctx:A,path:f,style:t,filled:a};break}if(t.H.O5[c].uid===E&&t.H.O5[c].path.length<2e3){v=t.H.O5[c].path,f&&f[0]&&(v.length>0&&v[v.length-1].replace(/[A-Z]+/,"")===f[0].replace(/[A-Z]+/,"")&&(f[0]=""),t.H.O5[c].path=t.H.O5[c].path.concat(f));break}"svg"===D?ZC.CQ.UF(t.H.O5[c].ctx,t.H.O5[c].style,t.H.O5[c].path.join(" "),t.H.O5[c].filled):ZC.CQ.UE(t.H.O5[c].ctx,t.H.O5[c].style,t.H.O5[c].path.join(" "),t.H.O5[c].filled),t.H.O5[c]={uid:E,ctx:A,path:f,style:t,filled:a};break}"svg"===D?ZC.CQ.UF(A,t,f.join(" "),a,h):ZC.CQ.UE(A,t,f.join(" "),a)}if(null!==ZC._n_(t.o["top-state"])&&!t.YV&&!t.E["skip-top"]&&!t.WO){var Ze=new I7(t.A);Ze.copy(t),Ze.WO=!0,Ze.MJ=!1,Ze.Z=t.Z,Ze.append(t.o["top-state"]),Ze.K=t.K+"-top",Ze.parse(),"svg"===D?ZC.CQ.UF(A,Ze,f.join(" "),a,h):"vml"===D?ZC.CQ.UE(A,Ze,f.join(" "),a):ZC.CQ.paint(A,Ze,e,a,c,h)}}}},smooth:function(A,t,e){var a,c,h,_;ZC._n_(t)&&(t=!1),e=e||"h";var f=[],m=[];for(a=0,c=A.length;a0&&(D.stroke=t.B7,D["stroke-width"]=t.B1,D["stroke-opacity"]=a?t.OB:t.C5,"solid"===t.GF||0===t.ES&&0===t.G4||(D["stroke-dasharray"]="dashdot"===t.GF?[t.ES,t.G4,t.B1,t.G4].join(" "):t.ES+","+t.G4)),h.id=V,""!==y&&(D.transform=y),t.o["fast-line"]&&t.B1>0?(h.setAttribute("stroke",D.stroke),h.setAttribute("stroke-width",D["stroke-width"]),h.setAttribute("stroke-opacity",D["stroke-opacity"]),h.setAttribute("d",e)):ZC.Q.G7(h,D),ZC.CQ._append_(A,t,h),(!t.E.border||"all"===t.E.border)&&typeof t.E.imgfill!==ZC._[31])if("string"==typeof t.E.imgfill)ZC.AM(V+"-imgfill")||($=c?ZC.Q.F8("rect",ZC._[36]):ZC.Q.F8("path",ZC._[36]),ZC.Q.G7($,{id:V+"-imgfill",transform:y,fill:t.E.imgfill,"fill-opacity":t.C5}),c?ZC.Q.G7($,{x:_,y:f,width:ZC.BQ(0,m),height:ZC.BQ(0,v),rx:E,ry:w}):ZC.Q.G7($,{d:e}),ZC.CQ._append_(A,t,$));else if(!ZC.AM(V+"-imgfill")){var O=t.E.imgfill,Q=ZC.Q.F8("image",ZC._[36]);Q.setAttributeNS?"zc."===t.DA.substring(0,3)?Q.setAttributeNS(ZC._[37],"href",ZC.IMAGES[t.DA]):Q.setAttributeNS(ZC._[37],"href",t.DA):"zc."===t.DA.substring(0,3)?Q.setAttribute("src",ZC.IMAGES[t.DA]):Q.setAttribute("src",t.DA),null!==ZC._n_(t.E["clip-path"])&&ZC.Q.G7(Q,{"clip-path":"url(#"+t.E["clip-path"]+")"}),ZC.Q.G7(Q,{id:V+"-imgfill",x:O[1],y:O[2],"fill-opacity":t.C5,width:t.E[ZC._[69]],height:t.E[ZC._[70]],preserveAspectRatio:"none"}),ZC.CQ._append_(A,t,Q)}}},UE:function(A,t,e,a){var c,h,_,f,m,v;a&&(e+=" x e");var E="";typeof t.K===ZC._[31]||""===t.K?typeof t.H!==ZC._[31]&&(E=t.H.GRAPHID+"-path-"+ZC.SEQ,ZC.SEQ++):E=t.K+"-path";var w=ZC.Q.F8("zcv:shape");w.style.position="absolute",w.style.rotation=t.AA,w.id=E;var D=ZC.Q.F8("zcv:path");if(D.v=e,D.setAttribute("VMLv",e),w.appendChild(D),0===t.B1)w.stroked=!1;else{var M=ZC.Q.F8("zcv:stroke");if(f=t.C5,typeof t.E.A92!==ZC._[31]&&(f=t.E.A92),typeof t.E.stroke!==ZC._[31])h=t.E.stroke.weight,_=t.E.stroke.color,f=t.E.stroke.opacity,m=t.E.stroke.dashstyle;else{switch(m="solid",t.GF){case"solid":m="solid";break;case"dotted":m="dot";break;case"dashed":m="dash";break;default:m=t.GF}"solid"!==m&&"0 0"!=(c=ZC.CX(6,t.ES*t.B1)+" "+ZC.CX(8,t.G4*t.B1))&&(m=c),h=t.B1,_=t.B7}ZC.Q.G7(M,{weight:h+"px",color:_,opacity:f,miterlimit:10,endcap:"flat",joinstyle:"round",dashstyle:m}),w.appendChild(M)}a&&typeof t.E.fill!==ZC._[31]&&-1!==t.E.fill?(w.filled=!0,w.appendChild(t.E.fill)):w.filled=!1,ZC.Q.G7(w,{coordorigin:"0 0",coordsize:t.AA%360==0?"100 100":t.H.I+" "+t.H.F});var T=0,R=0;if(t.AA%360!=0&&typeof t.E.cx!==ZC._[31]&&typeof t.E.cy!==ZC._[31]){var V=t.H.I/2-t.E.cx,$=t.H.F/2-t.E.cy,y=0===$?0:ZC.UI(Math.atan(V/$));t.E.cy>t.H.F/2&&(y+=180);var U=Math.sqrt(V*V+$*$);T=V-U*ZC.EO(y-t.AA),R=$-U*ZC.EI(y-t.AA)}var O=0-T;null!==ZC._n_(t.BL)&&(O+=t.BL);var Q=0-R;if(null!==ZC._n_(t.BH)&&(Q+=t.BH),w.style.left=O+"px",w.style.top=Q+"px",A.appendChild(w),t.AA%360==0?(w.style.width="10px",w.style.height="10px"):(w.style.width=t.H.I+"px",w.style.height=t.H.F+"px"),("all"===t.E.border||typeof t.E.imgfill!==ZC._[31])&&typeof t.E.imgfill!==ZC._[31]){var W=t.E.imgfill;1===W.length?((w=ZC.Q.F8("zcv:shape")).style.position="absolute",w.style.rotation=t.AA,(D=ZC.Q.F8("zcv:path")).v=e,w.appendChild(D),w.appendChild(W[0]),w.stroked=!1,ZC.Q.G7(w,{id:E+"-imgfill",filled:!0,coordorigin:"0 0",coordsize:t.AA%360==0?"100 100":t.H.I+" "+t.H.F}),w.style.left=O+"px",w.style.top=Q+"px",A.appendChild(w),t.AA%360==0?(w.style.width="10px",w.style.height="10px"):(w.style.width=t.H.I+"px",w.style.height=t.H.F+"px")):3===W.length&&((v=ZC.Q.F8("img")).id=E+"-img",v.src="zc."===t.DA.substring(0,3)?ZC.IMAGES[t.DA]:t.DA,v.style.position="absolute",v.style.left=W[1]+"px",v.style.top=W[2]+"px",v.style.width=t.E[ZC._[69]]+"px",v.style.height=t.E[ZC._[70]]+"px",A.appendChild(v))}}};class DX extends CZ{constructor(t){super(t),this.init(t)}init(t){super.init(t);var e=this;e.A=t,e.Z=null,e.C7=null,e.H9="",e.iX=-1,e.iY=-1,e.DS="poly",e.D=[],e.D1=[0,0,0,0],e.AA=0,e.AI=0,e.JV=0,e.BL=0,e.BH=0,e.A9U=0,e.DT=0,e.B4=0,e.BM=360,e.CN=0,e.TX=!1,e.ADC=!1,e.A52=0,e.AB4="",e.OJ=!1,e.A7O=1,e.JY=1,e.E8=null,e.FG=null,e.IT="auto",e.KI=!1,e.A1F="source-over",e.R3=!1}getPMap(){var t=super.getPMap();return this.addPMap(t,"objectId,x,y,points,bounds,pieAngleStart,pieAngleEnd,pieSlice,url,target,offsetX,offsetY,offsetR,size,size2,angle,shape,flat,cursor","H9,iX,iY,D,D1,B4,BM,CN,E8,FG,BL,BH,DT,AI,JV,AA,DS,KI,IT"),t}build(){}copy(t){super.copy(t);var e,a,c=this,h="BL,BH,DT,AI,JV,AA,DS,KI,IT".split(",");for(e=0,a=h.length;e0)for(c.D=[],e=0,a=t.D.length;e=1||t<0||zingchart.DEV.IGNORESUBUNIT)&&!a?"x"===e?_+parseFloat(t):f+parseFloat(t):t>=0&&t<1||a?"x"===e?(m=m||1,Math.round(_+m*t)):(v=v||1,Math.round(f+v*t)):void 0}locate(t){var e,a=this;if(a.TX)return-1!==(""+a.o.x).indexOf("lon")?a.iX=a.ll_(a.o.x,"x"):a.YZ("x","iX"),-1!==(""+a.o.y).indexOf("lat")?a.iY=a.ll_(a.o.y,"y"):a.YZ("y","iY"),void a.A1L();1===t?(null!==(e=ZC._n_(a.o.x))&&(a.iX=a.xy_(e,"x")),null!==(e=ZC._n_(a.o.y))&&(a.iY=a.xy_(e,"y")),-1===a.iX&&(a.iX=a.A.iX),-1===a.iY&&(a.iY=a.A.iY)):2===t&&(a.A1L(),a.I=a.D1[2]-a.D1[0],a.F=a.D1[3]-a.D1[1])}A1L(){var t,e=this,a=ZC.MAX,c=ZC.MAX,h=-ZC.MAX,_=-ZC.MAX;switch(e.DS){case"custom":a=0,c=0,h=0,_=0;break;case"circle":case"arc":case"pie":a=e.iX-e.AI,c=e.iY-e.AI,h=e.iX+e.AI,_=e.iY+e.AI;break;default:for(var f=0,m=e.D.length;f50&&(a=2),f>100&&(a=4),0===m?h%360!=_%360&&c.push([e.iX,e.iY]):c.push(ZC.AP.BN(e.iX,e.iY,m,h),ZC.AP.BN(e.iX,e.iY,(f+m)/2,h-.25*e.AU),ZC.AP.BN(e.iX,e.iY,f,h)),t=h;t<=_;t+=a)c.push(ZC.AP.BN(e.iX,e.iY,f,t));if(c.push(ZC.AP.BN(e.iX,e.iY,f,_)),c.push(ZC.AP.BN(e.iX,e.iY,(f+m)/2,_+.25*e.AU)),0===m)h%360!=_%360&&c.push([e.iX,e.iY]);else{for(c.push(ZC.AP.BN(e.iX,e.iY,m,_)),t=_;t>=h;t-=a)c.push(ZC.AP.BN(e.iX,e.iY,m,t));c.push(ZC.AP.BN(e.iX,e.iY,m,h))}return c.push([c[0][0],c[0][1]]),ZC.AP.PR(c,Math.min(5,f/5),[e.BL,e.BH])}if(0===e.AA||"rectangle"!==e.DS&&"rect"!==e.DS)return ZC.AP.PR(e.D,Math.min(5,e.AI/5),[e.BL,e.BH]);var v,E,w,D,M,T,R,V,$=[];for(w=ZC._i_((e.D1[0]+e.D1[2])/2),D=ZC._i_((e.D1[1]+e.D1[3])/2),v=0,E=e.D.length;v-1&&T.push(ZC.AP.PR(a,Math.min(5,E.AI/5),[E.BL,E.BH])),a=[];if(0!==E.AA)for(c=ZC._i_((E.D1[0]+E.D1[2])/2),h=ZC._i_((E.D1[1]+E.D1[3])/2),t=0,e=a.length;t-1&&T.push(ZC.AP.PR(a,Math.min(5,E.AI/5),[E.BL,E.BH])),T}}parse(t){var e,a,c,h,_,f,m;null===ZC._n_(t)&&(t=!1),this.o.tween||t||super.parse();var v=this;if(!v.o.tween&&!t){v.assign_a([["map","A52"]]),"string"==typeof v.o.item&&v.assign_a([["item","AB4"]]),0!==v.A52&&(null===ZC._n_(v.o["map-item"])||v.o["map-item"])&&(v.o["map-item"]=!0,v.o["map-skip-z-sort"]=!0);var E=["offset-x","offset-y"];for(a=0;a<2;a++){var w=E[a],D="offset-x"===w?"lon":"lat";if(null!==(e=v.o[w])&&typeof e!==ZC._[31]&&-1!==(e=""+e).indexOf(D)){e=ZC._f_(e.replace(D,""));var M=zingchart.maps.maps[v.A52];M&&(e=zingchart.maps.translate(w.replace("offset-"),e,v.A.I,v.A.F,M._INFO_.bbox),v.o[w]=e)}}for(v.assign_a([["url","E8"],["target","FG"],["cursor","IT"],["id","H9"],["angle","AA","i"],["static","KI","b"],["flat","KI","b"],[ZC._[1],"B4","f"],[ZC._[2],"BM","f"],[ZC._[8],"CN","i"],[ZC._[21],"AI","f"],["size-2","JV","f"],["fast-vector-path","R3","b"],["type","DS"],["points","D"],["offset-x","BL"],["offset-y","BH"],["offset-z","A9U","i"],["offset-r","DT","i"],["z-sort","A7O","i"],["z-index","JY","f"],["composite","A1F"]]),v.BL=ZC.IU(v.BL,!0),v.BH=ZC.IU(v.BH,!0),v.BL>-1&&v.BL<1&&typeof v.E["p-width"]!==ZC._[31]&&(v.BL*=v.E["p-width"]),v.BH>-1&&v.BH<1&&typeof v.E["p-height"]!==ZC._[31]&&(v.BH*=v.E["p-height"]),v.AI=ZC.BQ(1,v.AI),v.JV=ZC.BQ(1,v.JV),null!==v.o["z-sort"]&&typeof v.o["z-sort"]!==ZC._[31]||(v.A7O=v.JY),"rectangle"!==v.DS&&"rect"!==v.DS||v.assign_a([[ZC._[19],"AI","f"],[ZC._[20],"JV","f"]]),v.A5P?(v.D=JSON.parse(JSON.stringify(v.FF)),v.A5P=!1):v.FF=JSON.parse(JSON.stringify(v.D)),a=0,c=v.D.length;a4?2:7-h),a=0+(f=h%2==0?0:-90);a<360+f;a+=_)v.D.push(ZC.AP.BN(v.iX,v.iY,.75*R,a),ZC.AP.BN(v.iX,v.iY,.75*m,a+_/2));v.D.push([v.D[0][0],v.D[0][1]]);break;case"rpoly3":case"rpoly4":case"rpoly5":case"rpoly6":case"rpoly7":case"rpoly8":case"rpoly9":for(v.D=[],R=v.AI,_=360/(h=ZC._i_(v.DS.replace("rpoly",""))),f=h%2==0?0:-90,null!==ZC._n_(v.o["angle-offset"])&&(f=ZC._i_(v.o["angle-offset"])),a=0+f;a<360+f;a+=_)v.D.push(ZC.AP.BN(v.iX,v.iY,R,a));v.D.push([v.D[0][0],v.D[0][1]]);break;case"gear3":case"gear4":case"gear5":case"gear6":case"gear7":case"gear8":case"gear9":for(v.D=[],R=2*v.AI,_=360/(2*(h=ZC._i_(v.DS.replace("gear","")))),m=.75*R,a=0+(f=h%2==0?0:-90);a<360+f;a+=2*_){var Q=a+_/2;v.D.push(ZC.AP.BN(v.iX,v.iY,.75*R,Q),ZC.AP.BN(v.iX,v.iY,.75*R,Q+_),ZC.AP.BN(v.iX,v.iY,.75*m,Q+_+0*_),ZC.AP.BN(v.iX,v.iY,.75*m,Q+2*_-0*_))}v.D.push([v.D[0][0],v.D[0][1]]);break;case"hamburger":var W=v.iX,ae=v.iY-10;v.D=v.D.concat([[W-(R*=2)/2,ae-v.JV/2],[W+R/2,ae-v.JV/2],[W+R/2,ae+v.JV/2],[W-R/2,ae+v.JV/2],[W-R/2,ae-v.JV/2],null]),v.D=v.D.concat([[W-R/2,(ae+=5)-v.JV/2],[W+R/2,ae-v.JV/2],[W+R/2,ae+v.JV/2],[W-R/2,ae+v.JV/2],[W-R/2,ae-v.JV/2],null]),v.D=v.D.concat([[W-R/2,(ae+=5)-v.JV/2],[W+R/2,ae-v.JV/2],[W+R/2,ae+v.JV/2],[W-R/2,ae+v.JV/2],[W-R/2,ae-v.JV/2],null]);break;case"ellipse":for(v.CY=!1,v.D=[],a=0;a<=360;a+=5)v.D.push([v.iX+v.AI*ZC.EI(a),v.iY+v.JV*ZC.EO(a)]);v.D.push([v.D[0][0],v.D[0][1]]);break;case"arc":v.CY=!1,v.D=[ZC.AP.BN(v.iX,v.iY,v.AI,v.B4),[v.iX,v.iY,v.AI,v.B4,v.BM,0]];break;case"pie":for(var ee=(v.o["pie-transform"]||"").split(/=|,/);v.B4<0||v.BM<0;)v.B4+=360,v.BM+=360;v.CY=!1;var ne=!1;-1!==ZC.AV(["svg","vml"],v.H.AC)&&v.B4%360==v.BM%360&&(v.B4+=.05,v.BM-=.05,ne=!0);var oe,te,le,ce,Ce,se=v.iX,he=v.iY,fe=ZC._x_(v.B4,2),ie=ZC._x_(v.BM,2),De=ZC._x_((fe+ie)/2,2),ge=R,me=v.CN,Ze=0===me&&fe%360!=ie%360&&!ne;switch(v.D=[],"circle"!==ee[0]&&(0===me?fe%360==ie%360||ne||v.D.push([se,he]):v.D.push(ZC.AP.BN(se,he,me,fe))),ee[0]){case"flat":case"fold":v.D.push(ZC.AP.BN(se,he,ge,fe),ZC.AP.BN(se,he,ge-("fold"===ee[0]?ZC._i_(ee[1]):0),ie)),Ze||v.D.push(ZC.AP.BN(se,he,me,ie));break;case"callout":v.D.push(ZC.AP.BN(se,he,ge,fe),[se,he,ge,fe,ie,0]),Ze||(oe=1.5*ZC._i_(ee[1])*360/(2*Math.PI*ge),v.D.push(ZC.AP.BN(se,he,ge,ie),ZC.AP.BN(se,he,me,ie),[se,he,me,ie,De+oe,1],ZC.AP.BN(se,he,me-ZC._i_(ee[1]),De),ZC.AP.BN(se,he,me,De-oe),[se,he,me,De-oe,fe,1]));break;case"flow":oe=ZC._i_(ee[1]),ce=ZC.AP.BN(se,he,(me+ge)/2,fe),v.D.push(99===oe||-99===oe?[ce[0],ce[1],(ge-me)/2,fe+180,fe,99===oe?1:0]:ZC.AP.BN(se,he,(me+ge)/2,fe+oe)),v.D.push(ZC.AP.BN(se,he,ge,fe),[se,he,ge,fe,ie,0]),Ce=ZC.AP.BN(se,he,(me+ge)/2,ie),Ze?99===oe||-99===oe?v.D.push(ZC.AP.BN(se,he,ge,ie),[Ce[0],Ce[1],(ge-me)/2,ie,ie+180,99===oe?0:1]):v.D.push(ZC.AP.BN(se,he,(me+ge)/2,ie+oe)):(v.D.push(99===oe||-99===oe?[Ce[0],Ce[1],(ge-me)/2,ie,ie+180,99===oe?0:1]:ZC.AP.BN(se,he,(me+ge)/2,ie+oe)),v.D.push(ZC.AP.BN(se,he,me,ie),[se,he,me,ie,fe,1]));break;case"circle":var pe=ZC._f_(ee[1]||"1"),ve=(5+ZC._a_(ie-fe)%360*50/360)*pe;le=ie%360==fe%360||ne?[se,he]:ZC.AP.BN(se,he,(ge+me)/2,(fe+ie)/2),v.D.push(ZC.AP.BN(le[0],le[1],ve,0),[le[0],le[1],ve,0,360,0]);break;case"bite":oe=ZC._i_(ee[1]),te=ZC._i_(2*ge*ZC.EO(oe/2)),le=ZC.AP.BN(se,he,ge,fe),v.D.push(ZC.AP.BN(se,he,ge-te,fe),[le[0],le[1],te,fe+180,fe+90+(90-(180-oe)/2),1],[se,he,ge,fe+oe,ie,0]),Ze||v.D.push(ZC.AP.BN(se,he,me,ie),[se,he,me,ie,fe,1]);break;case"droplet":for(var ke=ge,de=1,Oe=0;ge*de+Oe>=ke;)de=ZC._x_(de-.02,2),te=ZC._i_(ge*de/ZC.EI((ie-fe)/2)),Oe=ZC._i_(ge*de*Math.tan(ZC.TK((ie-fe)/2)));le=ZC.AP.BN(se,he,te,De),v.D.push(ZC.AP.BN(se,he,ge*de,fe),[le[0],le[1],Oe,De-(360-(180-(ie-fe)))/2,De+(360-(180-(ie-fe)))/2,0]),Ze||v.D.push(ZC.AP.BN(se,he,me,ie),[se,he,me,ie,fe,1]);break;default:v.D.push(ZC.AP.BN(se,he,ge,fe),[se,he,ge,fe,ie,0]),0===me?fe%360==ie%360||ne||v.D.push([se,he]):v.D.push(ZC.AP.BN(se,he,ge,ie),ZC.AP.BN(se,he,me,ie),[se,he,me,ie,fe,1])}v.D.push([v.D[0][0],v.D[0][1]])}}v.locate(2)}paint(){var t=this;if("none"!==t.DS&&("custom"===t.DS||"circle"===t.DS||"arc"===t.DS||0!==t.D.length)){var e,a,c={x:"iX",y:"iY",width:"I",height:"F",size:"AI"};if(t.o["bottom-state"]&&!t.YV&&!t.WO&&!t.bIsBottom){var h=new DX(t.A);for(e in h.copy(t),h.bIsBottom=!0,h.MJ=!1,h.Z=t.Z,h.append({x:t.iX-t.A.iX,y:t.iY-t.A.iY}),h.append(t.o["bottom-state"]),h.K=t.K+"-bottom",h.parse(),a=!1,c)null===ZC._n_(h.o[e])||-1===(""+h.o[e]).indexOf("+")&&-1===(""+h.o[e]).indexOf("-")||(h.o[e]=h[c[e]]=t[c[e]]+ZC._i_(h.o[e]),a=!0);a&&h.parse(),h.paint()}var _=t.H.AC;switch(t.MJ&&t.C7&&t.A2C(),_){case"canvas":t.X0();break;case"svg":t.UF();break;case"vml":t.UE()}if(t.o["top-state"]&&!t.YV&&!t.WO&&!t.bIsBottom){var f=new DX(t.A);for(e in f.copy(t),f.WO=!0,f.MJ=!1,f.Z=t.Z,f.append({x:t.iX-t.A.iX,y:t.iY-t.A.iY}),f.append(t.o["top-state"]),f.K=t.K+"-top",f.parse(),a=!1,c)null===ZC._n_(f.o[e])||-1===(""+f.o[e]).indexOf("+")&&-1===(""+f.o[e]).indexOf("-")||(f.o[e]=f[c[e]]=t[c[e]]+ZC._i_(f.o[e]),a=!0);a&&f.parse(),f.paint()}}}A2C(){var t,e=this,a=new DX(e.A);a.K=e.K+"-sh",a.copy(e),a.OJ=e.OJ,a.Z=e.C7,a.MJ=!1,a.YV=!0,a.A0=a.AE=a.S7,a.GV=a.HV="",a.DA="",a.GF="solid",a.BX=a.S7,a.B1=0,a.C5=a.TC*e.C5,a.K=e.K+"-sh";var c=(e.K1-e.PH)*ZC.EI(e.OU)+e.PH,h=(e.K1-e.PH)*ZC.EO(e.OU)+e.PH;if(a.iX=e.iX+parseInt(c,10),a.iY=e.iY+parseInt(h,10),a.AI=e.AI+e.PH,e.D.length>0){t=[];for(var _=0,f=e.D.length;_0||"arc"===v.DS&&v.B1>0)&&E.stroke(),E.closePath();break;case"plus":case"cross":case"line":case"ic_line":v.B1>0&&(ZC.CQ.setup(E,v),v.o.spline?(v.CY=!1,v.R3=!0,ZC.CQ.paint(E,v,ZC.CQ.smooth(v.D,!1,v.o.direction||"h"))):ZC.CQ.paint(E,v,v.D));break;default:if(v.AU>0){var ne=v.B7,oe=v.B1;v.B7=v.BX,v.B1=v.AU,v.KT(),ZC.CQ.setup(E,v),ZC.CQ.paint(E,v,v.D,!0),v.B7=ne,v.B1=oe,v.KT()}E.closePath()}E.restore()}Y1(t){var e=this,a=t.info,c=a.image,h=!0;switch(e.MF){default:h=!0;break;case"no-repeat":case"false":case!1:h=!1}var _=e.DA;0===c.src.indexOf("data:")&&(_=c.src),c.width*=e.L3,c.height*=e.L3;var f=""===e.K?"pattern-"+ZC.SEQ++:e.K+"-pattern";ZC.Q.EV(f);var m=ZC.Q.F8("image",ZC._[36]);m.setAttributeNS?m.setAttributeNS(ZC._[37],"href",_):m.setAttribute("src",_),ZC.Q.G7(m,{id:f+"-image",preserveAspectRatio:"none",width:e.E[ZC._[69]],height:e.E[ZC._[70]]});var v=c.width,E=c.height;if(!h){var w,D;v=E=1,e.I>0&&e.F>0?(w=e.I,D=e.F):(w=e.D1[2]-e.D1[0],D=e.D1[3]-e.D1[1]);var M=ZC._i_(w*a.cx),T=ZC._i_(D*a.cy);if("pie"===e.DS){v=e.H?e.H.I:e.A.I,E=e.H?e.H.F:e.A.F;var V=ZC.AP.BN(e.iX,e.iY,e.CN+(e.AI-e.CN)*a.vPos,e.AA+e.B4+(e.BM-e.B4)*a.hPos);M=V[0]-c.width/2,T=V[1]-c.height/2}e.E["pattern-image-id"]=f+"-image",e.E["pattern-tx"]=M,e.E["pattern-ty"]=T,ZC.Q.G7(m,{transform:"translate("+M+","+T+")"})}var $=ZC.Q.F8("pattern",ZC._[36]);ZC.Q.G7($,{x:h?t.x:0,y:h?t.y:0,width:v,height:E,id:f,patternUnits:h||"pie"===e.DS?"userSpaceOnUse":"objectBoundingBox"}),e.H.KG.childNodes[0].appendChild($),$.appendChild(m),e.E.imgfill="url(#"+f+")"}TP(t){null!==t&&typeof t!==ZC._[31]||(t=!1);var e,a,c=this;if(c.A0!==c.AE||""!==c.GV&&""!==c.HV){var h=""===c.K?"gradient-"+ZC.SEQ++:c.K+"-gradient";(c.TX||t&&!ZC.AM(h))&&(t=!1),ZC.A5.browser.msie&&9===ZC._i_(ZC.A5.browser.version)&&(t=!1),ZC.AM(h)&&!t&&ZC.Q.EV(h);var _=c.SK(c.NV);if("radial"===c.NV?(e=t?ZC.AM(h):ZC.Q.F8("radialGradient",ZC._[36]),ZC.Q.G7(e,{cx:ZC._i_(_.cx),cy:ZC._i_(_.cy),r:ZC._i_(_.r),fx:ZC._i_(_.cx),fy:ZC._i_(_.cy)})):"linear"===c.NV&&(e=t?ZC.AM(h):ZC.Q.F8("linearGradient",ZC._[36]),ZC.Q.G7(e,{x1:ZC._i_(_.x1),x2:ZC._i_(_.x2),y1:ZC._i_(_.y1),y2:ZC._i_(_.y2)})),!t){if(ZC.Q.G7(e,{id:h,gradientUnits:"userSpaceOnUse"}),c.H.KG.childNodes[0].appendChild(e),""!==c.GV&&""!==c.HV)for(var f=c.GV.split(/\s+|;/),m=c.HV.split(/\s+|;/),v=0,E=f.length;v6){for(var a="",c=0,h=e.length;c0&&t.indexOf("#")>=0)?(w=ZC.Q.F8("svg",ZC._[36]),ZC.Q.G7(w,{viewBox:"0 0 8 8",fill:f.E.fill}),_=ZC.Q.F8("use",ZC._[36])):_=ZC.Q.F8("image",ZC._[36]),_.setAttributeNS?_.setAttributeNS(ZC._[37],"href",t):_.setAttribute("src",t);var D=f.o[ZC._[19]]?f.o[ZC._[19]]:c.width,M=f.o[ZC._[20]]?f.o[ZC._[20]]:c.height;c.width=D,c.height=M,E?ZC.Q.G7(w,{id:f.K+"-image",x:f.iX-c.width/2+f.BL,y:f.iY-c.height/2+f.BH,width:c.width,height:c.height}):ZC.Q.G7(_,{id:f.K+"-image",x:f.iX-c.width/2+f.BL,y:f.iY-c.height/2+f.BH,width:c.width,height:c.height}),E?(w.appendChild(_),m.appendChild(w)):m.appendChild(_)}break;case"circle":if(!ZC.AM(f.K+"-circle")&&(h=ZC.Q.F8("circle",ZC._[36]),-1!==f.E.fill?ZC.Q.G7(h,{fill:f.E.fill,"fill-opacity":f.C5}):ZC.Q.G7(h,{fill:"none"}),f.DF&&""!==f.DF&&ZC.Q.G7(h,{class:f.DF}),ZC.Q.G7(h,{id:f.K+"-circle",cx:f.iX+f.BL,cy:f.iY+f.BH,r:f.AI}),f.AU>0&&(ZC.Q.G7(h,{stroke:f.BX,"stroke-width":f.AU,"stroke-opacity":f.OB}),f.KT(f.AU),"solid"===f.GF||0===f.ES&&0===f.G4||ZC.Q.G7(h,{"stroke-dasharray":"dashdot"===f.GF?[f.ES,f.G4,f.B1,f.G4].join(" "):[f.ES,f.G4].join(",")})),f.H&&f.H.G5?(f.H.G5[m.id]||(f.H.G5[m.id]=document.createDocumentFragment()),f.H.G5[m.id].appendChild(h)):m.appendChild(h),typeof f.E.imgfill!==ZC._[31]))if("string"==typeof f.E.imgfill)h=ZC.Q.F8("circle",ZC._[36]),ZC.Q.G7(h,{id:f.K+"-imgfill",fill:f.E.imgfill,"fill-opacity":f.C5,cx:f.iX+f.BL,cy:f.iY+f.BH,r:f.AI,"stroke-width":0}),f.H&&f.H.G5?f.H.G5[m.id].appendChild(h):m.appendChild(h);else{var T=f.E.imgfill;(_=ZC.Q.F8("image",ZC._[36])).setAttributeNS&&_.setAttributeNS(ZC._[37],"href",f.DA),f.E["clip-path"]&&ZC.Q.G7(_,{"clip-path":"url(#"+f.E["clip-path"]+(ZC.A5.browser.webkit?"-shape":"")+")"}),ZC.Q.G7(_,{id:f.K+"-imgfill",x:T[1],y:T[2],width:T[0].width,height:T[0].height}),m.appendChild(_)}break;case"plus":case"cross":case"line":case"ic_line":case"arc":f.B1>0&&(ZC.CQ.setup(m,f),f.o.spline?(f.CY=!1,f.R3=!0,ZC.CQ.paint(m,f,ZC.CQ.smooth(f.D,!1,f.o.direction||"h"))):ZC.CQ.paint(m,f,f.D));break;default:var R=f.B7,V=f.B1;f.B7=f.BX,f.B1=f.AU,f.KT(),ZC.CQ.setup(m,f),ZC.CQ.paint(m,f,f.D,!0,0),f.B7=R,f.B1=V,f.KT()}}TQ(t,e){null!==e&&typeof e!==ZC._[31]||(e=!1);var a,c=this;if(c.A0!==c.AE||""!==c.GV&&""!==c.HV){var h=""===c.K?"gradient-"+ZC.SEQ++:c.K+"-gradient";if(e&&!ZC.AM(h)&&(e=!1),ZC.AM(h)&&!e&&ZC.A5(h).remove(),a=e?ZC.AM(h):ZC.Q.F8("zcv:fill"),e&&(t=ZC.A5("#"+h).attr("focusposition")),""!==c.GV&&""!==c.HV){for(var _=c.GV.split(/\s+|;/),f=c.HV.split(/\s+|;/),m="",v="",E="",w=0,D=_.length;w0||f.B1>0?h.appendChild(D):h.stroked=!1,h.style.left=f.iX+f.BL-f.AI+"px",h.style.top=f.iY+f.BH-f.AI+"px",h.style.width=2*f.AI+"px",h.style.height=2*f.AI+"px","arc"===f.DS&&ZC.Q.G7(h,{startangle:f.BM+90,endangle:f.B4+90}),m.appendChild(h),v&&typeof f.E.imgfill!==ZC._[31])){var M=f.E.imgfill;1===M.length?((h=ZC.Q.F8("zcv:oval")).id=f.K+"-imgfill",h.style.position="absolute",m.appendChild(h),h.appendChild(M[0]),h.style.left=f.iX+f.BL-f.AI+"px",h.style.top=f.iY+f.BH-f.AI+"px",h.style.width=2*f.AI+"px",h.style.height=2*f.AI+"px",h.stroked=!1,"arc"===f.DS&&ZC.Q.G7(h,{startangle:f.BM+90,endangle:f.B4+90})):3===M.length&&((_=ZC.Q.F8("img")).id=f.K+"-img",_.src=f.DA,_.style.position="absolute",_.style.left=M[1]+"px",_.style.top=M[2]+"px",1!==f.L3&&(_.width*=f.L3,_.height*=f.L3,_.style.width=_.width+"px",_.style.height=_.height+"px"),m.appendChild(_))}break;case"plus":case"cross":case"line":case"ic_line":f.B1>0&&(ZC.CQ.setup(m,f),f.o.spline?(f.CY=!1,f.R3=!0,ZC.CQ.paint(m,f,ZC.CQ.smooth(f.D,!1,f.o.direction||"h"))):ZC.CQ.paint(m,f,f.D));break;default:var T=f.B7,R=f.B1;f.B7=f.BX,f.B1=f.AU,f.KT(),ZC.CQ.setup(m,f),ZC.CQ.paint(m,f,f.D,!0,0),f.B7=T,f.B1=R,f.KT()}}}class I7 extends DX{constructor(t){super(t),this.init(t)}init(t){super.init(t);var e=this;e.DS="box",e.I=0,e.F=0,e.A93="",e.E7=-1,e.E6=-1,e.DR=-1,e.DY=-1,e.F6=0,e.FW=0,e.F2=0,e.FI=0,e.A7L=!1,e.KY=!1,e.EM="bottom",e.EX=0,e.MG=0,e.HD=8,e.GB=8,e.Y7=[1,1],e.DL=null,e.OZ=null,e.QB=!1,e.NB=!0,e.QD="",e.OV="",e.O2="",e.PL="",e.VZ="tl",e.FH=!1}getPMap(){var t=super.getPMap();return this.addPMap(t,"width,height,borderRadiusTopLeft,borderRadiusTopRight,borderRadiusBottomRight,borderRadiusBottomLeft,callout,calloutType,calloutPosition,calloutHook,calloutWidth,calloutHeight,calloutOffset,calloutExtension,position,borderTop,borderRight,borderBottom,borderLeft,rectShortcut","I,F,F6,FW,F2,FI,KY,EM,DL,HD,GB,EX,MG,A93,QD,OV,O2,PL,FH"),t}build(){}wh_(t,e,a){var c=this;if(e=e||"w",ZC._f_(t)+""!=t+"")return-1!==(t+="").indexOf("%")?c.wh_(ZC._f_(t.replace("%",""))/100,e,!0):-1!==t.indexOf("px")?c.wh_(ZC._f_(t.replace("px","")),e):c.wh_(ZC._f_(t),e);var h=typeof c.E["p-width"]!==ZC._[31]?c.E["p-width"]:c.A.I,_=typeof c.E["p-height"]!==ZC._[31]?c.E["p-height"]:c.A.F;return(t=ZC._a_(t))>1&&!a?ZC._i_(t):t<=1||a?"w"===e?ZC._i_(h*t):ZC._i_(_*t):void 0}m_(t,e,a,c,h){var _,f,m=this;if(a=a||0,c=c||0,h=h||"n","all"===(e=e||"all")){var v=String(t).split(/\s+|;|,/);return 1===v.length?[m.m_(v[0],"tb",a,c,h),m.m_(v[0],"lr",a,c,h),m.m_(v[0],"tb",a,c,h),m.m_(v[0],"lr",a,c,h)]:2===v.length?[m.m_(v[0],"tb",a,c,h),m.m_(v[1],"lr",a,c,h),m.m_(v[0],"tb",a,c,h),m.m_(v[1],"lr",a,c,h)]:3===v.length?[m.m_(v[0],"tb",a,c,h),m.m_(v[1],"lr",a,c,h),m.m_(v[2],"tb",a,c,h),m.m_(v[1],"lr",a,c,h)]:[m.m_(v[0],"tb",a,c,h),m.m_(v[1],"lr",a,c,h),m.m_(v[2],"tb",a,c,h),m.m_(v[3],"lr",a,c,h)]}return t+""=="auto"?-2:t+""=="dynamic"&&"y"===h?"dynamic":ZC._f_(t)+""!=t+""?-1!==(t+="").indexOf("%")?m.m_(ZC._f_(t.replace("%",""))/100,e):-1!==t.indexOf("px")?m.m_(ZC._f_(t.replace("px","")),e):m.m_(ZC._f_(t),e):((m.A||typeof m.E["p-width"]!==ZC._[31])&&(_=typeof m.E["p-width"]!==ZC._[31]?m.E["p-width"]:m.A.I),(m.A||typeof m.E["p-height"]!==ZC._[31])&&(f=typeof m.E["p-height"]!==ZC._[31]?m.E["p-height"]:m.A.F),(t=ZC._a_(t))>=1?ZC._i_(t):t<1?"lr"===e?ZC._i_((m.A?_:a)*t):ZC._i_((m.A?f:c)*t):void 0)}copy(t){super.copy(t);for(var e="I,F,E7,DR,DY,E6,F6,FW,F2,FI,KY,EM,DL,Y7,HD,GB,EX,MG,A93,QD,OV,O2,PL,FH".split(","),a=0,c=e.length;a1&&!Q?ZC._i_(ae):-2===R&&-2===M?ZC._i_(E*ae):-2===R&&-2!==M?ZC._i_((E-M)*ae):-2!==R&&-2===M?ZC._i_((E-R)*ae):ZC._i_((E-R-M)*ae),-1!==f.iX?(f.DY=f.iX-m,f.E6=m+E-f.DY-f.I):-2===R&&-2===M?(f.DY=f.E6=(E-f.I)/2,f.iX=m+f.DY):-2===R&&-2!==M?(f.E6=M,f.DY=E-f.E6-f.I,f.iX=m+f.DY):(f.DY=R,f.iX=m+f.DY,f.E6=f instanceof DV?M:E-f.DY-f.I)}else-1!==f.iX?(f.DY=f.iX-m,f.E6=-2===M?0:M,f.I=E-f.DY-f.E6):-2===R&&-2===M?(f.DY=f.E6=0,f.iX=m+f.DY,f.I=E-f.DY-f.E6):-2===R&&-2!==M?(f.E6=M,f.DY=0,f.iX=m+f.DY,f.I=E-f.DY-f.E6):-2!==R&&-2===M?(f.DY=R,f.E6=f instanceof DV?M:0,f.iX=m+f.DY,f.I=E-f.DY-f.E6):(f.DY=R,f.E6=M,f.iX=m+f.DY,f.I=E-f.DY-f.E6);if(null!==(e=ZC._n_(f.o[ZC._[20]]))){var ee=ZC._p_(e);Q=-1!==(""+e).indexOf("%"),f.F=ee>1&&!Q?ZC._i_(ee):-2===D&&-2===T?ZC._i_(w*ee):-2===D&&-2!==T?ZC._i_((w-T)*ee):-2!==D&&-2===T?ZC._i_((w-D)*ee):ZC._i_((w-D-T)*ee),-1!==f.iY?(f.E7=f.iY-v,f.DR=v+w-f.E7-f.F):-2===D&&-2===T?(f.E7=f.DR=(w-f.F)/2,f.iY=v+f.E7):-2===D&&-2!==T?(f.DR=T,f.E7=w-f.DR-f.F,f.iY=v+f.E7):(f.E7=D,f.iY=v+f.E7,f.DR=f instanceof DV?T:w-f.E7-f.F)}else-1!==f.iY?(f.E7=f.iY-v,f.DR=-2===T?0:T,f.F=w-f.E7-f.DR):-2===D&&-2===D?(f.E7=f.E7=0,f.iY=v+f.E7,f.F=w-f.E7-f.DR):-2===D&&-2!==T?(f.DR=T,f.E7=0,f.iY=v+f.E7,f.F=w-f.E7-f.DR):-2===D&&-2!==T?(f.E7=D,f.DR=f instanceof DV?T:0,f.iY=v+f.E7,f.F=w-f.E7-f.DR):(f.E7=D,f.DR=T,f.iY=v+f.E7,f.F=w-f.E7-f.DR);if(null!==(e=ZC._n_(f.o.position))){if(f.A&&typeof f.A.iX!==ZC._[31]&&typeof f.A.iY!==ZC._[31]&&typeof f.A.I!==ZC._[31]&&typeof f.A.F!==ZC._[31]){switch(c=0,h=0,(_=String(e).split(/\s+/))[0]){case"left":c=0;break;case"right":c=1;break;case"center":c=.5;break;default:(c=ZC.IU(_[0]))>1&&(c/=f.A.I)}switch(_[1]){case"top":h=0;break;case"bottom":h=1;break;case"middle":h=.5;break;default:(h=ZC.IU(_[1]))>1&&(h/=f.A.F)}}f.E["position-info"]=[c,h],f.iX=f.A.iX+ZC._i_(c*(f.A.I-f.I-W[1]-W[3]))+W[3],f.iY=f.A.iY+ZC._i_(h*(f.A.F-f.F-W[0]-W[2]))+W[0]}f.D1=[f.iX,f.iY,f.iX+f.I,f.iY+f.F]}}}parse(){super.parse();var t,e=this;if(!e.o.tween){if(e.assign_a([["anchor","VZ"],["rect-shortcut","FH","b"],["center-ref","A7L","b"],["callout","KY","b"],["callout-type","ACS"],["callout-position","EM"],["callout-hook","DL"],["callout-ratio","Y7"],["callout-width","HD","i"],["callout-height","GB","i"],["callout-offset","EX","i"],["callout-extension","MG","i"],["border-top","QD"],["border-right","OV"],["border-bottom","O2"],["border-left","PL"]]),null!==(t=ZC._n_(e.o["border-radius"]))){var a=String(t).split(/\s+|;|,/);2===a.length?(e.F6=e.FW=ZC._i_(a[0]),e.F2=e.FI=ZC._i_(a[1])):4===a.length?(e.F6=ZC._i_(a[0]),e.FW=ZC._i_(a[1]),e.F2=ZC._i_(a[2]),e.FI=ZC._i_(a[3])):e.F6=e.FW=e.F2=e.FI=ZC._i_(a[0])}null!==ZC._n_(e.o["callout-tip"])&&(e.OZ=new DX(e.A)),e.assign_a([["border-radius-top-left","F6","i"],["border-radius-top-right","FW","i"],["border-radius-bottom-right","F2","i"],["border-radius-bottom-left","FI","i"]])}}VB(t){var e=t.split(/\s/);return e[0]=ZC._i_(e[0]),e[2]=ZC.AR.GE(e[2]),e}paint(){var t=this;if(null!==t.DL&&!(t.DL instanceof Array)&&"zcgraph"===t.A.OP){var e=t.A.OS(t.DL);t.DL=[e[0],e[1]],t.DL[0]-=t.BL,t.DL[1]-=t.BH}if(t.A7L&&(t.iX-=t.I/2,t.iY-=t.F/2),"-1"!==t.BX&&0!==t.AU||t.QD+t.OV+t.O2+t.PL!==""||"-1"!==t.A0||"-1"!==t.AE||""!==t.DA||""!==t.GV||""!==t.HV){var a,c=t.H.AC;t.MJ&&t.C7&&t.A2C();var h={x:"iX",y:"iY",width:"I",height:"F"};if(t.o["bottom-state"]&&!t.YV&&!t.bIsBottom&&!t.WO){var _=new I7(t.A);for(a in _.copy(t),_.bIsBottom=!0,_.MJ=!1,_.Z=t.Z,_.VZ=t.VZ,_.append({x:t.iX-t.A.iX,y:t.iY-t.A.iY,width:t.I,height:t.F}),_.append(t.o["bottom-state"]),_.K=t.K+"-bottom",_.parse(),_.setAnchor(),h)null===ZC._n_(_.o[a])||-1===(""+_.o[a]).indexOf("+")&&-1===(""+_.o[a]).indexOf("-")||(_[h[a]]=t[h[a]]+ZC._i_(_.o[a]));_.paint()}if(t.QD+t.OV+t.O2+t.PL===""){switch(c){case"canvas":t.X0();break;case"svg":t.UF();break;case"vml":t.UE()}if(t.KY&&t.OZ){var f,m;if(t.DL&&2===t.DL.length?(f=t.DL[0],m=t.DL[1]):t.E.cp&&(f=t.E.cp[0],m=t.E.cp[1]),t.OZ.Z=t.OZ.C7=t.Z,t.OZ.copy(t),t.OZ.append(t.o["callout-tip"]),t.OZ.K=t.K+"-callout-tip",t.OZ.o.x=f,t.OZ.o.y=m,t.E.cm){var v=t.E.cm[0],w=Math.atan2(ZC._i_(t.E.cm[1])-ZC._i_(m),ZC._i_(v)-ZC._i_(f));isNaN(w)&&(w=0),null===ZC._n_(t.OZ.o.angle)&&(t.OZ.o.angle=ZC.UI(w))}t.OZ.parse(),t.OZ.paint()}}else{var D=t.AU,M=t.BX,T=t.GF;switch(t.AU=0,c){case"canvas":t.X0();break;case"svg":t.UF();break;case"vml":t.UE()}t.AU=D;var R=t.A0,V=t.AE;t.A0=t.AE="-1";for(var $,y=["top","right","bottom","left"],U=["QD","OV","O2","PL"],O=0;O=a.F?ZC._a_(ZC.EO(a.NI))>.5?a.F/2:a.I/2:ZC._a_(ZC.EI(a.NI))>.5?a.I/2:a.F/2)*ZC.EI(a.NI),M=e*ZC.EO(a.NI);return{x1:_-D,y1:f-M,x2:_+D,y2:f+M}}}UH(t){var e,a=this;typeof t===ZC._[31]&&(t="all");var c,h,_=a.iX,f=a.iY;a.D=[],c=h=a.AU/2;var m=1;"vml"===a.H.AC&&(m=2,a.AU%2==1&&(c=ZC._i_((a.AU-1)/2),h=ZC._i_((a.AU+1)/2)));var v=null,E=ZC._x_(_+c,2),w=ZC._x_(_-h,2),D=ZC._x_(f+c,2),M=ZC._x_(f-h,2),T=a.DL&&2===a.DL.length,R=ZC._i_(a.EX*(a.I-a.HD)/100),V=ZC._i_(a.EX*(a.F-a.GB)/100),$=0!==a.F6||0!==a.FW||0!==a.F2||0!==a.FI,y=a.Y7[0],U=a.Y7[1];switch(a.EM){case"top":a.E.cm=[a.iX+a.I/2+R,a.iY];break;case"bottom":a.E.cm=[a.iX+a.I/2+R,a.iY+a.F];break;case"left":a.E.cm=[a.iX,a.iY+a.F/2+V];break;case"right":a.E.cm=[a.iX+a.I,a.iY+a.F/2+V]}if($){var O,Q=ZC.CX(a.I/2,a.F/2);"top"!==t&&"all"!==t||(0!==a.F6?(O=a.I/2>=a.F6&&a.F/2>=a.F6?ZC._a_(a.F6):Q,a.D.push([E,D+O]),a.F6>0&&a.D.push([E,D,E+m*O,D]),a.D.push([E+O,D])):a.D.push([E,D]),a.KY&&"top"===a.EM&&(a.D.push([E+a.I/2-y*a.HD/2-a.AU/2+R,D]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[E+a.I/2-a.AU/2+R,D-a.GB]),a.MG>0&&(a.D.push([(e=a.D[a.D.length-1])[0],e[1]-a.MG*(a.GB>0?1:-1)]),a.D.push([e[0],e[1]])),a.D.push([E+a.I/2-a.AU/2+U*a.HD/2+R,D])),"top"===t&&(0!==a.FW?(O=a.I/2>=a.FW&&a.F/2>=a.FW?ZC._a_(a.FW):Q,a.D.push([w+a.I-O,D])):a.D.push([w+a.I,D]))),"right"!==t&&"all"!==t||(0!==a.FW?(O=a.I/2>=a.FW&&a.F/2>=a.FW?ZC._a_(a.FW):Q,a.D.push([w+a.I-O,D]),a.D.push(a.FW>0?[w+a.I,D,w+a.I,D+m*O]:[w+a.I,D+O])):a.D.push([w+a.I,D]),a.KY&&"right"===a.EM&&(a.D.push([w+a.I,D+a.F/2-y*a.GB/2-a.AU/2+V]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[w+a.I+a.HD,D+a.F/2-a.AU/2+V]),a.D.push([w+a.I,D+a.F/2+U*a.GB/2-a.AU/2+V])),"right"===t&&(0!==a.F2?(O=a.I/2>=a.F2&&a.F/2>=a.F2?ZC._a_(a.F2):Q,a.D.push([w+a.I,M+a.F-O])):a.D.push([w+a.I,M+a.F]))),"bottom"!==t&&"all"!==t||(0!==a.F2?(O=a.I/2>=a.F2&&a.F/2>=a.F2?ZC._a_(a.F2):Q,a.D.push([w+a.I,M+a.F-O]),a.D.push(a.F2>0?[w+a.I,M+a.F,w+a.I-m*O,M+a.F]:[w+a.I-O,M+a.F])):a.D.push([w+a.I,M+a.F]),a.KY&&"bottom"===a.EM&&(a.D.push([w+a.I/2+y*a.HD/2+a.AU/2+R,M+a.F]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[w+a.I/2+a.AU/2+R,M+a.F+a.GB]),a.MG>0&&(a.D.push([(e=a.D[a.D.length-1])[0],e[1]+a.MG*(a.GB>0?1:-1)]),a.D.push([e[0],e[1]])),a.D.push([w+a.I/2-U*a.HD/2+a.AU/2+R,M+a.F])),"bottom"===t&&(0!==a.FI?(O=a.I/2>=a.FI&&a.F/2>=a.FI?ZC._a_(a.FI):Q,a.D.push([E+O,M+a.F])):a.D.push([E,M+a.F]))),"left"!==t&&"all"!==t||(0!==a.FI?(O=a.I/2>=a.FI&&a.F/2>=a.FI?ZC._a_(a.FI):Q,a.D.push([E+O,M+a.F]),a.D.push(a.FI>0?[E,M+a.F,E,M+a.F-m*O]:[E,M+a.F-O])):a.D.push([E,M+a.F]),a.KY&&"left"===a.EM&&(a.D.push([E,M+a.F/2+y*a.GB/2+a.AU/2+V]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[E-a.HD,M+a.F/2+a.AU/2+V]),a.D.push([E,M+a.F/2-U*a.GB/2+a.AU/2+V])),0!==a.F6?(O=a.I/2>=a.F6&&a.F/2>=a.F6?ZC._a_(a.F6):Q,a.D.push([E,D+O])):(a.D.push([E,D]),a.D.push([E+.1,D])))}else"top"!==t&&"all"!==t||(a.D.push("top"===t?[E+.5,D+.5]:[E,D]),a.KY&&"top"===a.EM&&(a.D.push([E+a.I/2-y*a.HD/2-a.AU/2+R,D]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[E+a.I/2-a.AU/2+R,D-a.GB]),a.MG>0&&(a.D.push([(e=a.D[a.D.length-1])[0],e[1]-a.MG*(a.GB>0?1:-1)]),a.D.push([e[0],e[1]])),a.D.push([E+a.I/2+U*a.HD/2-a.AU/2+R,D])),"top"===t&&a.D.push([w+a.I+.5,D+.5])),"right"!==t&&"all"!==t||(a.D.push("right"===t?[w+a.I+.5,D+.5]:[w+a.I,D]),a.KY&&"right"===a.EM&&(a.D.push([w+a.I,D+a.F/2-a.AU/2-y*a.GB/2+V]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[w+a.I+a.HD,D+a.F/2-a.AU/2+V]),a.D.push([w+a.I,D+a.F/2-a.AU/2+U*a.GB/2+V])),"right"===t&&a.D.push([w+a.I+.5,M+a.F+.5])),"bottom"!==t&&"all"!==t||(a.D.push("bottom"===t?[w+a.I+.5,M+a.F+.5]:[w+a.I,M+a.F]),a.KY&&"bottom"===a.EM&&(a.D.push([w+a.I/2+y*a.HD/2+a.AU/2+R,M+a.F]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[w+a.I/2+a.AU/2+R,M+a.F+a.GB]),a.MG>0&&(a.D.push([(e=a.D[a.D.length-1])[0],e[1]+a.MG*(a.GB>0?1:-1)]),a.D.push([e[0],e[1]])),a.D.push([w+a.I/2-U*a.HD/2+a.AU/2+R,M+a.F])),"bottom"===t&&a.D.push([E+.5,M+a.F+.5])),"left"!==t&&"all"!==t||(a.D.push("left"===t?[E+.5,M+a.F+.5]:[E,M+a.F]),a.KY&&"left"===a.EM&&(a.D.push([E,M+a.F/2+a.AU/2+y*a.GB/2+V]),a.D.push(T?[a.DL[0],a.DL[1]]:v=[E-a.HD,M+a.F/2+a.AU/2+V]),a.D.push([E,M+a.F/2+a.AU/2-U*a.GB/2+V])),"left"===t?a.D.push([E+.5,D+.5]):(a.D.push([E,D]),a.D.push([E+.1,D])));v&&(a.E.cp=v)}X0(t){t=t||"all";var e,a,c,h=this,_=h.Z.getContext("2d");_.save(),_.globalCompositeOperation=h.A1F;var f=h.iX,m=h.iY,v=h.X1(),E=v.bc,w=v.bgc1,D=v.bgc2;if("all"===t)if(w!==D||""!==h.GV&&""!==h.HV){var M=h.SK(h.NV);"radial"===h.NV?e=_.createRadialGradient(M.cx,M.cy,1,M.cx,M.cy,M.r):"linear"===h.NV&&(M.x1=isNaN(M.x1)?0:M.x1,M.x2=isNaN(M.x2)?0:M.x2,M.y1=isNaN(M.y1)?0:M.y1,M.y2=isNaN(M.y2)?0:M.y2,e=_.createLinearGradient(M.x1,M.y1,M.x2,M.y2)),""!==h.GV&&""!==h.HV?h.V9(e):(e.addColorStop(0,w),e.addColorStop(1,D)),_.fillStyle=e}else""!==h.DA&&-1!==ZC.AV(["repeat","true",!0],h.MF)&&"-1"===h.A0&&"-1"===h.AE&&(w="rgba(255,255,255,0)"),_.fillStyle=w;_.strokeStyle=E,_.lineWidth=h.AU,_.translate(h.BL,h.BH),0!==h.AA&&(_.translate(f+h.I/2,m+h.F/2),_.rotate(ZC.TK(h.AA)),_.translate(-(f+h.I/2),-(m+h.F/2))),_.beginPath(),h.UH(t);var T=h.F6+h.FW+h.F2+h.FI!==0;c=h.B1,h.B1=h.AU;var R=h.GF;if(h.GF="",h.KT(),ZC.CQ.contour(_,h,h.D),h.B1=c,h.GF=R,h.KT(),"all"===t)if(""!==h.DA&&-1===ZC.AV(ZC.IMG404,h.DA)){_.fill(),_.save(),_.clip();var V=_.globalAlpha;_.globalAlpha=h.C5;var $=h.Q7(),y=$.image;switch(h.MF){default:_.translate(h.iX,h.iY),a=_.createPattern(y,"repeat"),_.fillStyle=a,_.fill(),_.translate(-$.x,-$.y);break;case"no-repeat":case"false":case!1:_.drawImage(y,$.x-h.BL,$.y-h.BH,h.E[ZC._[69]],h.E[ZC._[70]])}_.globalAlpha=V,_.restore()}else _.fill();if(h.AU>0){var U=h.B7;c=h.B1,h.B7=h.BX,h.B1=h.AU,h.KT(),ZC.CQ.setup(_,h),h.TB=T?"round":"square",h.ES+h.G4>0&&(h.TB="butt"),h.A0D=T?"round":"miter",h.E["skip-top"]=!0,h.E.border=t,ZC.CQ.paint(_,h,h.D,!0),h.B7=U,h.B1=c,h.KT()}_.closePath(),_.restore()}UF(t){t=t||"all";var e=this,a=e.Z;e.E.fill=-1;var c=!1;if("all"===t){if(""!==e.DA&&-1===ZC.AV(ZC.IMG404,e.DA)){var h=e.Q7();e.Y1({info:h,x:e.iX,y:e.iY}),c=!0}e.TP()}if(e.UH(t),c&&"repeat"!==e.MF&&e.KY){var _=0,f=0;e.D1[1]0&&(e.TB="butt"),e.A0D=m?"round":"miter";var w=!1;ZC.A5.browser.msie||!e.FH||e.KY||""!==e.QD||""!==e.OV||""!==e.O2||""!==e.PL||0!==e.F6||0!==e.FW||0!==e.F2||0!==e.FI||(w=!0),e.E["skip-top"]=!0,e.E.border=t,ZC.CQ.paint(a,e,e.D,!0,null,w),e.B7=v,e.B1=E,e.KT()}UE(t){var e=this,a=e.Z;if("all"===(t=t||"all")){var c=ZC.Q.F8("zcv:fill");if(""!==e.DA&&-1===ZC.AV(ZC.IMG404,e.DA)){var h=e.Q7(),_=h.image;switch(e.MF){default:c.type="tile",c.src=e.DA,ZC.Q.G7(c,{position:h.cx+","+h.cy,opacity:e.C5,"o:opacity2":e.C5}),e.E.imgfill=[c];break;case"no-repeat":case"false":case!1:e.E.imgfill=[_,h.x,h.y]}}e.TQ("0.5,0.5")}var f=ZC.Q.F8("zcv:stroke");switch(f.weight=e.AU+"px",f.color=e.BX,f.opacity=e.C5,e.GF){case"solid":f.dashstyle="solid";break;case"dotted":f.dashstyle="dot";break;case"dashed":f.dashstyle="dash"}e.E.stroke=f,e.UH(t);var m=e.F6+e.FW+e.F2+e.FI!==0;e.E.cx=e.iX+e.I/2,e.E.cy=e.iY+e.F/2;var v=e.B7,E=e.B1;e.B7=e.BX,e.B1=e.AU,e.KT(),ZC.CQ.setup(a,e),e.TB=m?"round":"square",e.ES+e.G4>0&&(e.TB="butt"),e.A0D=m?"round":"miter",e.E.border=t,ZC.CQ.paint(a,e,e.D,"all"===t),e.B7=v,e.B1=E,e.KT()}}class R9 extends DX{constructor(t){super(t);var e=this;e.XB=null,e.BF=null,e.M=null,e.SV=null,e.A7=null,e.KI=!1,e.OJ=!1,e.L9=!1,e.A6S=!1}parse(){var t,e=this;e.BF=zingchart.pool.getInstance("box"===e.XB.type?"I7":"DX",e.A,e.K+"-shape",e.XB.tween),e.BF.append(e.XB),e.BF.iX=e.iX,e.BF.iY=e.iY,e.BF.K=e.K+"-gshape",e.BF.OJ=e.OJ,e.A6S||null===ZC._n_(t=e.BF.o.points)||(e.BF.o.points=ZC.AR.A69(t,e.A.iX,e.A.iY),e.A6S=!0),e.BF.parse(),null!==ZC._n_(t=e.BF.o.label)&&null!==ZC._n_(t.text)&&""!==t.text&&(typeof t.visible===ZC._[31]||ZC._b_(t.visible))&&(e.M=zingchart.pool.getInstance("DV",e,e.A.K+"-shape-label-"+e.H9,ZC.objmove),ZC.objmove||e.M.append(t)),null!==ZC._n_(t=e.BF.o.static)&&(e.KI=ZC._b_(t)),null!==ZC._n_(t=e.BF.o.flat)&&(e.KI=ZC._b_(t)),null!==ZC._n_(t=e.BF.o.dynamic)&&(e.L9=ZC._b_(t)),null!==ZC._n_(t=e.BF.o.connector)&&(e.SV=new DX(e),e.SV.append(t),e.SV.parse())}paint(){var t,e=this;if(e.BF.Z=e.Z,e.BF.C7=e.C7,e.BF.locate(2),e.BF.WO=!1,"box"===e.BF.o.type&&(e.iX-=e.BF.I/2,e.iY-=e.BF.F/2,e.BF.iX-=e.BF.I/2,e.BF.iY-=e.BF.F/2),e.BF.paint(),e.M){if(e.M.Z=e.M.C7=e.Z,e.M.IW=ZC.AM(e.A.A.K+"-text"),e.M.K=e.A.K+"-shape-label-"+e.H9,e.M.GO=e.A.K+"-shape-label zc-shape-label",e.M.o.anchor=e.M.o.anchor||"c",!e.XB["map-item"])switch(e.DS){default:e.M.o.x=e.iX,e.M.o.y=e.iY;break;case"line":case"poly":case"rect":case"rectangle":e.M.o.x=ZC._i_((e.BF.D1[0]+e.BF.D1[2])/2),e.M.o.y=ZC._i_((e.BF.D1[1]+e.BF.D1[3])/2)}if(ZC.objmove||e.M.parse(),e.M.iX=e.M.iX+e.BF.BL,e.M.iY=e.M.iY+e.BF.BH,e.M.AO){if(e.SV&&e.SV.D.length>0){if(!ZC.AM(e.A.K+"-objects-front")){var a=e.A.A.I+"/"+e.A.A.F;ZC.Q.K8({cls:"zc-abs",wh:a,id:e.A.K+"-objects-front",p:ZC.AM(e.A.A.K+"-objects-front")},e.A.A.AC),ZC.Q.HO({cls:ZC._[24],id:e.A.K+"-objects-front-c",p:ZC.AM(e.A.K+"-objects-front"),wh:a},e.A.A.AC)}var c=e.SV.D,_=c[c.length-1];switch(e.SV.o.anchor||""){case"l":e.M.iX=_[0]+e.BF.BL,e.M.iY=_[1]-e.M.F/2+e.BF.BH;break;case"r":e.M.iX=_[0]-e.M.I+e.BF.BL,e.M.iY=_[1]-e.M.F/2+e.BF.BH;break;case"t":e.M.iX=_[0]-e.M.I/2+e.BF.BL,e.M.iY=_[1]+e.BF.BH;break;case"b":e.M.iX=_[0]-e.M.I/2+e.BF.BL,e.M.iY=_[1]-e.M.F+e.BF.BH;break;default:e.M.iX=_[0]-e.M.I/2+e.BF.BL,e.M.iY=_[1]-e.M.F/2+e.BF.BH}t=ZC.Q.EA(ZC.AM(e.A.K+"-objects-front-c"),e.A.H.AC),ZC.CQ.setup(t,e.SV),ZC.CQ.paint(t,e.SV,c)}if(e.M.WO=!1,e.XB["map-item"]&&(e.M.GO=e.A.K+"-mapshape-label zc-mapshape-label",e.M.iXe.A.iX+e.A.I||e.M.iYe.A.iY+e.A.F))return;e.M.paint(),e.E["print-canvas"]?e.M.ED(ZC.AM(e.E["print-canvas"])):e.M.ED()}}}}class DV extends I7{constructor(t){super(t),this.init(t)}init(t){super.init(t);var e=this;e.IW=null,e.GO="",e.AN=null,e.OL="center",e.K4="middle",e.DG=zingchart.FONTSIZE,e.GJ=zingchart.FONTFAMILY,e.C2="#000",e.A9Q=!1,e.NC=!1,e.QY=!1,e.KJ="none",e.sFontWeight="normal",e.YU=0,e.FO=2,e.FP=2,e.FX=2,e.EP=2,e.A95=!1,e.A2P=!1,e.FM=-1,e.KL=0,e.NY=0,e.P0=ZC.MAX,e.bRTL=!1,e.A21=!0,e.VJ=zingchart.FASTWIDTH,e.A6T=1.65,e.VM=1,e.WF=!1,e.A7=null,e.VS=!1,e.A5J=!1}getPMap(){var t=super.getPMap();return this.addPMap(t,"textAlign,verticalAlign,fontSize,fontFamily,color,bold,fontWeight,italic,underline,textDecoration,paddingTop,paddingRight,paddingBottom,paddingLeft,text","OL,K4,DG,GJ,C2,A9Q,sFontWeight,NC,QY,KJ,FO,FP,FX,EP,AN"),t}copy(t){super.copy(t);for(var e="OL,K4,DG,GJ,C2,A9Q,sFontWeight,NC,KJ,QY,FO,FP,FX,EP,AN".split(","),a=0,c=e.length;a]+)>)/gi,"").length*e.DG/(e.A6T*(e.isBold(e.sFontWeight)?.87:1)*(e.NC?.95:1));var a="";return typeof e.o["html-mode"]!==ZC._[31]&&ZC._b_(e.o["html-mode"])&&(a="[HTMLMODE]"),ZC.Q.A4Y(this.H.K,a+t,this.GJ,this.DG,this.sFontWeight,this.FM)}parse(){this.I=this.F=this.NY=this.KL=0,super.parse();var t,e,a,c,h,_=this;if(!_.o.tween){if(_.YZ("text","AN"),null!==ZC._n_(_.AN)&&(_.AN=""+_.AN,_.AN=_.ET(_.AN),_.AN=_.AN.replace(/\n/g,"
").replace(/\\n/g,"
"),"svg"===_.H.AC&&(_.AN=_.AN.replace(/ /g," ")),_.AN=_.AN.replace(/0&&_.AN.length>_.YU&&(_.AN=_.AN.substring(0,_.YU)+"...");var m=_.AN.split(/
||
|\n/),v="";for(typeof _.o["html-mode"]!==ZC._[31]&&ZC._b_(_.o["html-mode"])&&(m=[_.AN],v="[HTMLMODE]"),_.KL=_.VJ?1.65*this.DG:ZC.Q.A4Y(this.H.K,v+_.AN,this.GJ,this.DG,this.sFontWeight,this.FM,!0)+_.FO+_.FX,a=0,c=m.length;a_.I&&!_.E.wrapped&&_.I>2*_.DG){var E,w="",D=0,M=_.AN.replace(/
/gi," [##] ").split(/\s|
/),T=[];for(a=0,c=M.length;a.9*_.I){var R=Math.ceil(E/_.I*.9),V=Math.ceil(M[a].length/R);for(h=0;h",D=0):(D+=E=1+_.cwidth(T[a]+" "))>.9*_.I?(a>0&&(w+="
"),w+=T[a]+" ",D=E):w+=T[a]+" ");w=(w=w.replace(/

/g,"
").replace(/

/g,"
")).replace(/(.+?)
$/g,"$1");var $=_.o.text;_.o.text=w,_.E.wrapped=!0,_.parse(),_.o.text=$,_.E.wrapped=!1}if("canvas"!==_.H.AC&&(_.AN=_.AN.replace(/</g,"<").replace(/>/g,">")),!(null!==ZC._n_(_.o[ZC._[19]])&&null!==ZC._n_(_.o[ZC._[20]])||null===ZC._n_(_.o.position)&&null===ZC._n_(_.o.margin)&&null===ZC._n_(_.o[ZC._[57]])&&null===ZC._n_(_.o[ZC._[58]])&&null===ZC._n_(_.o[ZC._[59]])&&null===ZC._n_(_.o[ZC._[60]]))){_.iX=-1,_.iY=-1;var y=_.o[ZC._[19]],U=_.o[ZC._[20]];null===ZC._n_(y)&&(_.o[ZC._[19]]=_.I),null===ZC._n_(U)&&(_.o[ZC._[20]]=_.F),_.locate(),_.o[ZC._[19]]=y,_.o[ZC._[20]]=U}if(typeof _.o["html-mode"]===ZC._[31]||!_.o["html-mode"]){var O=Math.ceil((_.NY-_.EP-_.FP)/_.DG);O>0&&(_.AN=_.AN.replace(/
/g,new Array(O).join("\u2014")))}}_.setAnchor()}paint(){var t,e,a,c,h,_,f,m,v,E,w,D=this;if(!D.WF&&!D.A21){var M=!0;null!==ZC._n_(D.o.flexible)&&(M=ZC._b_(D.o.flexible));var T,R,V={x:D.iX+D.EP-1,y:D.iY+D.FO-1,width:D.I-D.EP-D.FP+2,height:D.F-D.FO-D.FX+2,type:D.E.lbltype||""},$=[[0,0]];for(M&&($=[[0,0],[0,2],[0,-4],[0,4],[0,-8],[3,0],[-6,0],[5,0],[-10,0]]),R=0;R<$.length;R++){for(T=!0,V.x+=$[R][0],V.y+=$[R][0],h=0,_=D.H.T4.length;h<_;h++)ZC.AP.YF(V,D.H.T4[h],-2)&&(T=!1);if(T){D.iX=V.x,D.iY=V.y;break}}if(!T)return;D.H.T4.push(V)}var y=D.H.AC;if(t=ZC.Q.EA(D.Z,y),D.WF||super.paint(),!D.A5J&&(D.o[ZC._[19]]||!(D.I-D.EP-D.FP<2))&&(D.o[ZC._[20]]||!(D.KL-D.FO-D.FX<2))){var U=D.AA%360==0?"0":"";if((D.WF||zingchart.CANVASTEXT&&"canvas"===y)&&(U=""),ZC.vml&&"svg"===y&&""===D.GO&&(D.GO=D.K+"-class"),!D.WF&&ZC.AM(D.K)&&(y="_",ZC.objmove))return ZC.AM(D.K).style.top=D.iY+D.BH+"px",void(ZC.AM(D.K).style.left=D.iX+D.BL+"px");var O=typeof D.E["html-mode"]!==ZC._[31]&&D.E["html-mode"],Q=O;typeof D.o["html-mode"]!==ZC._[31]&&(O=ZC._b_(D.o["html-mode"]));var W,ae,ee,ne,oe,te,le,ce,Ce,he,fe,ie,De,ge,me,Ze,pe,ve,ke,de,Oe,Fe=[D.AN];O||(Fe=D.AN.split(/
||
|\n/)),O&&!Q&&"svg"===y&&"0"===U&&(U="0html");var be=D.IW?D.IW:D.Z.parentNode;switch(y+U){case"canvas0":case"vml0":case"svg0html":if(c=1,!O)switch(D.K4){case"middle":c+=(D.F-D.KL)/2;break;case"bottom":c+=D.F-D.KL}if(f=ZC.Q.IC({id:D.K,cls:D.GO,tl:ZC._x_(D.iY+D.BH)+"/"+ZC._x_(D.iX+D.BL),wh:D.I+"/"+D.F,position:"absolute",padding:0,margin:0,overflow:O?"visible":"hidden",textAlign:D.OL}),O&&(Q||y+U!=="svg0html"||(be=ZC.AM(D.H.K+"-top")),be.appendChild(f)),ZC.Q.IC({id:D.K+"-t",cls:""!==D.GO?D.GO+"-t":"",p:f,width:D.I-D.EP-D.FP,height:O?null:D.KL-D.FO-D.FX,tl:c+"/0",html:D.AN+"",position:"absolute",whiteSpace:"nowrap",opacity:D.VM,color:D.C2,fontWeight:D.sFontWeight,fontStyle:D.NC?"oblique":"normal",textDecoration:D.KJ,fontSize:D.DG,fontFamily:D.GJ,marginTop:D.FO,marginRight:D.FP,marginBottom:D.FX,marginLeft:D.EP,verticalAlign:D.K4,textAlign:D.OL,lineHeight:-1===D.FM?"125%":D.FM+"px",rtl:D.bRTL,padding:0}),D.E["css-display"]&&(f.style.display=D.E["css-display"],D.E["css-display"]=null),Q&&D.H&&D.H.A7&&!D.o[ZC._[19]]&&!D.o[ZC._[20]]){var Se=ZC.A5("#"+D.K+"-t");"canvas"===y&&(ZC.AM(D.H.K+"-tooltip-c").width=Se.width()+D.EP+D.FP,ZC.AM(D.H.K+"-tooltip-c").height=Se.height()+D.FO+D.FX),D.H.A7.clear(),D.I=Se.width()+D.EP+D.FP,D.F=Se.height()+D.FO+D.FX,D.paint()}break;case"canvas":var xe=!1;if(ZC.A5.browser.opera&&D.AA%90==0&&0!==D.AA&&(D.AA+=.5,xe=!0),t=D.Z.getContext("2d"),zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache||(ZC.CanvasCache={})),!zingchart.DEV.CACHECANVASTEXT||zingchart.DEV.CACHECANVASTEXT&&!ZC.CanvasCache[D.K]){for(zingchart.DEV.CACHECANVASTEXT&&(ZC.CanvasCache[D.K]=document.createElement("canvas"),ZC.CanvasCache[D.K].width=D.NY,ZC.CanvasCache[D.K].height=D.KL),W=-1===D.FM?0:ZC._x_(D.FM-1.25*D.DG)/2,h=0,_=Fe.length;h<_;h++)if(""!==ZC.H0(Fe[h])){switch(e=1===_?D.NY:D.cwidth(Fe[h])+D.FP+D.EP,ee=-1===(ae=Fe[h]).indexOf("<")?ae:ae.replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,""),a=0,c=0,D.OL){case"center":a+=(D.I-e)/2;break;case"right":a+=D.I-e}switch(D.K4){case"middle":c+=(D.F-D.KL)/2;break;case"bottom":c+=D.F-D.KL}if(ne=0,ae!==ee){for(;te=/<(.+?)>(.*?)<\/(.+?)>/.exec(ae);){switch(le="",ce="",(E=/(.+?)style=(.+?)(\'|")(.*?)/.exec(te[1]))&&(ce=E[2].replace(/\'|"/g,"")),te[3]){case"b":case"strong":le="font-weight:bold";break;case"i":case"em":le="font-style:italic";break;case"u":le="text-decoration:underline"}ae=ae.replace(te[0],'[[span style="'+(""===le?"":le+";")+ce+'"]]'+te[2]+"[[/span]]")}for(he=!1,ve=0,ke=(te=(ae=ae.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(//g,"[[*]]")).split("[[*]]")).length;ve(.+?)<\/(.+?)>/.exec(te[ve]))for(oe=w[2],de=0,Oe=(Ce=w[1].replace(/\'|"/g,"").split(/;|:/)).length;de||
/gi,"\n").replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"");ZC.Q.G7(Ge,{on:!0,string:Pe}),ZC.Q.PZ(Ge,{color:m,fontWeight:D.sFontWeight,fontStyle:D.NC?"oblique":"normal",textDecoration:D.KJ,fontSize:D.DG+"px",fontFamily:D.GJ,"v-text-align":D.OL}),Re.appendChild(Ge),t.appendChild(Re);break;case"svg":case"svg0":var Qe=D.iX+D.EP+D.BL,Ae=D.iY+D.FO+D.BH;if(f=ZC.Q.F8("text",ZC._[36]),ZC.Q.G7(f,{x:ZC._x_(Qe),y:ZC._x_(Ae),id:D.K,class:D.GO,opacity:D.VM}),D.E["css-display"]&&(f.style.display=D.E["css-display"],D.E["css-display"]=null),D.bRTL&&ZC.Q.G7(f,{"text-anchor":ZC.A5.browser.msie?"":"end","writing-mode":"rl",direction:"rtl","unicode-bidi":"bidi-override"}),D.A95&&(D.H.KG.appendChild(ZC.Q.Y3({id:D.K+"-clip",path:[[D.iX+D.EP+D.AU+D.BL,D.iY+D.FO+D.AU+D.BH].join(","),[D.iX+D.I-D.FP-D.AU+D.BL,D.iY+D.FO+D.AU+D.BH].join(","),[D.iX+D.I-D.FP-D.AU+D.BL,D.iY+D.F-D.FX-D.AU+D.BH].join(","),[D.iX+D.EP+D.AU+D.BL,D.iY+D.F-D.FX-D.AU+D.BH].join(","),[D.iX+D.EP+D.AU+D.BL,D.iY+D.FO+D.AU+D.BH].join(",")].join(" ")})),ZC.Q.G7(f,{"clip-path":"url(#"+D.K+"-clip)"})),D.AA%360!=0&&f.setAttribute("transform","rotate("+D.AA+" "+(Qe+(D.I-D.EP-D.FP)/2)+" "+(Ae+(D.F-D.FO-D.FX)/2)+")"),O&&be.appendChild(f),O){ZC.Q.EV(D.K+"-float");var He=ZC.Q.F8("div");ZC.Q.PZ(He,{position:"absolute",left:0,top:0,width:D.I-D.EP-D.FP+"px",height:D.F-D.FO-D.FX+"px",color:D.C2,fontSize:D.DG+"px",fontFamily:D.GJ,fontWeight:D.sFontWeight,textDecoration:D.KJ,textAlign:D.OL,fontStyle:D.NC?"italic":"normal"}),He.id=D.K+"-float",He.className="zc-style zc-html-mode",He.innerHTML=Fe[0],1===D.o["z-index"]?ZC.AM(D.H.K+"-top").append(He):ZC.AM(D.H.K+"-top").insertBefore(He,ZC.AM(D.H.K+"-img")),Q&&D.H&&D.H.A7&&(D.o[ZC._[19]]||D.o[ZC._[20]]||(D.H.A7.clear(),He.style.width="",He.style.height="",D.I=ZC.A5(He).width()+D.EP+D.FP,D.F=ZC.A5(He).height()+D.FO+D.FX,D.paint()))}else for(W=-1===D.FM?0:ZC._x_(D.FM-1.25*D.DG)/2,h=0,_=Fe.length;h<_;h++){switch(e=1===_?D.NY:D.cwidth(Fe[h])+D.FP+D.EP,ee=-1===(ae=Fe[h]).indexOf("<")?ae:ae.replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,""),a=0,c=D.DG,D.OL){case"center":a=(D.I-e)/2;break;case"right":a=D.I-e}switch(D.K4){case"middle":c+=(D.F-D.KL)/2;break;case"bottom":c+=D.F-D.KL}if(ne=0,ae!==ee){for(;te=/<(.+?)>(.*?)<\/(.+?)>/.exec(ae);){switch(le="",ce="",(E=/(.+?)style=(.+?)(\'|")(.*?)/.exec(te[1]))&&(ce=E[2].replace(/\'|"/g,"")),te[3]){case"b":case"strong":le="font-weight:bold";break;case"i":case"em":le="font-style:italic";break;case"u":le="text-decoration:underline"}ae=ae.replace(te[0],'[[span style="'+(""===le?"":le+";")+ce+'"]]'+te[2]+"[[/span]]")}for(he=!1,ve=0,ke=(te=(ae=ae.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(//g,"[[*]]")).split("[[*]]")).length;ve(.+?)<\/(.+?)>/.exec(te[ve]))for(oe=w[2],de=0,Oe=(Ce=w[1].replace(/\'|"/g,"").split(/;|:/)).length;de")?Me.innerText=oe:Me.innerHTML=oe,oe=Me.innerText||Me.textContent,Me=null,v.textContent=oe,f.appendChild(v),he=ie,ne++}}else D.bRTL&&ZC.A5.browser.msie&&(a+=e-D.EP-D.FP),v=ZC.Q.F8("tspan",ZC._[36]),ZC.Q.G7(v,{x:ZC._x_(Qe+a),y:ZC._x_(Ae+c),color:D.C2,fill:D.C2,dy:ZC._x_(W)}),ZC.Q.PZ(v,{fontWeight:D.sFontWeight,fontStyle:D.NC?"oblique":"normal",textDecoration:D.KJ,fontSize:D.DG+"px",fontFamily:D.GJ,dominantBaseline:"auto"}),v.textContent=ee,f.appendChild(v),W+=-1===D.FM?1.25*D.DG:D.FM}}O||!D.WF&&f&&be&&(D.H.G5?(-1!==ZC.Q.TJ(be).indexOf("zc-text")&&null===ZC._n_(D.H.G5[be.id])&&(D.H.G5[be.id]=document.createDocumentFragment()),D.H.G5[be.id]?D.H.G5[be.id].appendChild(f):be.appendChild(f)):be.appendChild(f))}}paintCANVASText(t){var M,e=this,a=t.idx,c=t.ctx,h=t.i,_=t.fw,f=t.fs,m=t.ff,v=t.c,E=t.dx,w=t.dy,D=t.t;if(c.save(),c.globalAlpha=e.VM,c.font=M=(h?"italic":"normal")+" normal "+_+" "+f+"px "+m,c.fillStyle=v,c.textAlign="left",c.textBaseline="alphabetic",c.translate(e.iX+e.BL,e.iY+e.BH),0!==e.AA&&(c.translate(e.I/2,e.F/2),c.rotate(ZC.TK(e.AA)),c.translate(-e.I/2,-e.F/2)),c.translate(e.EP,e.FO+f),c.translate(E,w),c.fillText(D,0,0),zingchart.DEV.CACHECANVASTEXT){var T=ZC.CanvasCache[e.K].getContext("2d");T.font=M,T.fillStyle=v,T.textAlign="left",T.textBaseline="alphabetic",T.fillText(D,e.EP,e.FO+f+1.25*a*f)}c.restore()}ED(t){var e=this;if(ZC.canvas&&"canvas"===e.H.AC&&(t||(t=ZC.AM(e.H.K+"-textprint-c")),!zingchart.CANVASTEXT&&e.AA%360==0)){var a=e.Z;e.Z=t,e.WF=!0;var c=e.H.AC;e.H.AC="canvas",e.paint(),e.WF=!1,e.H.AC=c,e.Z=a}}}class S3 extends I7{constructor(A){super(A);var t=this;t.CI="json",t.O9={graphset:!0,graph:!0,"objects-bottom":!0,"objects-top":!0,maps:!0,plotarea:!0,plots:!0,guide:!0,static:!0,"value-box":!0},t.bA11y=!1,t.PC="",t.A1N=!1,t.A1O="en_us",t.QX=null,t.JS="",t.UV=!1,t.S6={},t.ND="",t.ADI={},t.QU="",t.EW="",t.ML={},t.I1=null,t.AG=[],t.LV="",t.A7=null,t.H5=null,t.D6=null,t.B8=new ZC.ABF(t),t.QV="",t.MZ=null,t.O5=[null,null,null,null],t.OJ=!1,t.NU="x",t.KI=!1,t.TY=!1,t.ABV=!1,t.A3Y=!1,t.GQ=!1,t.A9Y={},t.O4=null,t.QZ={},t.M5=!1,t.QW=!1,t.AD4=null,t.T1=[],t.O={},t.NA=null,t.DH=null,t.UX=0,t.A2L=0,t.A53=1,t.MS=null,t.SL="",t.AB9="F*nStrlng4Cu$tOmLlc9nc9!",t.MN="",t.A1M={},t.A0Q=!1,t.AC="",t.KG=null,t.A08=!1,t.R0=["",""],t.LG=0,t.KX=[],t.A8B=0,t.A8A=0,t.A9X=!1,t.A1V="",t.A72=!0,t.IL=null,t.R2=[],t.O7=0,t.AB3=!1,t.SN={},t.A20=!1,t.G5=zingchart.DEV.DOMFRAGMENTS?{}:null,t.A34=!1,t.T4=[]}clearLabelBoxes(A){var t=this;if(A)for(var e=t.T4.length-1;e>=0;e--)t.T4[e].type===A&&t.T4.splice(e,1);else t.T4=[]}usc(){return-1!==ZC.AV(this.KX,ZC._[44])}mc(A){return A=A||"",ZC.AM(this.K+"-main-c"+(""===A?A:"-"+A))}hideCM(){var A;(A=ZC.AM(this.K+"-menu"))&&(A.style.display="none"),this.A9X=!1}Y2(){for(var A=this,t=A.O5.length,e=0;e1?G[A.L]:G[0];t.id||(t.id=A.o.id||""),s.o[ZC._[16]][A.L]=t,s.PX(function(){s.parse(JR),s.AG[A.L].paint()})}}})})}VV(DK){var s=this,G,i,A6,j,JH;for(null===ZC._n_(DK[ZC._[16]])&&(DK={graphset:[DK]}),1===DK[ZC._[16]].length&&null===ZC._n_(DK[ZC._[16]][0])&&(DK[ZC._[16]]=[{type:"null"}]),i=0,A6=DK[ZC._[16]].length;i=0;c--)for(_=0;_0){for(var ne=0,oe=0,te=ZC._i_((D-(Q+1)*f.A8B)/Q),le=ZC._i_((M-(O+1)*f.A8A)/O),ce=["x","y",ZC._[19],ZC._[20]],Ce=0;Ce=JB.length){for(var A in window.clearInterval(C4),s.AAP(s.o),LA)if(0!==A.indexOf("data:")&&-1===ZC.AV(s.E["safe-images"],A))try{if(LA[A].width>0&&LA[A].height>0){var t=document.createElement("canvas");t.width=LA[A].width,t.height=LA[A].height,t.getContext("2d").drawImage(LA[A],0,0);var e=t.toDataURL("image/png");LA[A].onload=null,LA[A].onerror=null,LA[A].src=e,ZC.cache.data[A]=LA[A]}}catch{}window.setTimeout(function(){zingchart.YL[s.K]&&JK()},1)}else A3O(++A24)},20);A3O(A24)}else zingchart.YL[s.K]&&JK()}else zingchart.YL[s.K]&&JK();function A3O(i){if(!(i>=JB.length)){var EW,MT,KP=JB[i][0],A0Z=JB[i][1];if("url:"===KP.substring(0,4)){var QU=KP.substring(4);s.QZ["url:"+QU]="[]";try{EW=["query-string"===s.ND?"zcrandom="+Math.random():""].join("&"),ZC.A5.ajax({type:"GET",url:QU,beforeSend:function(A){s.S6.data||"http-headers"!==s.ND||A.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EW,error:function(A,t,e,a){return s.NP({name:ZC._[63],message:"Resource not found ("+a+")"},ZC._[64]),!1},success:function(A,t,e,a){s.QZ["url:"+a]=A,UX++}})}catch(A){return s.NP(A,ZC._[64]),!1}}else if("javascript:"===KP.substring(0,11))if("zc.ext.load"===s.QZ[KP]){s.QZ[KP]="[]";var DW=ZC.AR.AAZ(KP.substring(11)),N={id:s.K,resource:KP,callback:function(A){s.QZ[KP]=A,UX++}},A0J=DW[0];N.arguments=DW[1];try{var A3G=eval(A0J).call(s,N);null!==ZC._n_(A3G)&&A3G&&(s.QZ[KP]=A3G,UX++)}catch(A){return s.NP(A,"JavaScript data loader"),!1}}else UX++;else"image"===A0Z?(LA[KP]=new Image,LA[KP].crossOrigin="anonymous",LA[KP].onload=function(){UX++},LA[KP].onerror=function(){var A=ZC._b_(s.o.strict);if(ZC.IMG404.push(KP),A)return s.NP({name:ZC._[63],message:"Resource not found ("+this.src+")"},"Resource loader (image)"),!1;this.src=ZC.BLANK,UX++},LA[KP].src=KP,ZC.cache.data[KP]=LA[KP]):"css"===A0Z?(EW=["query-string"===s.ND?"zcrandom="+Math.random():""].join("&"),ZC.A5.ajax({type:"GET",url:KP,beforeSend:function(A){s.S6.css||"http-headers"!==s.ND||A.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EW,error:function(A,t,e){return s.NP(e,"Resource loader"),!1},success:function(A){for(var t={},e=A.match(/[a-zA-Z0-9\.\#\-](.+?)\{((.|\s)+?)\}/gi),a=0,c=e.length;adiv").width(h.I).height(h.F)}for("canvas"===h.AC&&((t=ZC.AM(h.K+"-main-c"))&&(t.width=h.I,t.height=h.F),(t=ZC.AM(h.K+"-main-c-top"))&&(t.width=h.I,t.height=h.F),ZC.A5("#"+h.K+"-objects-bottom canvas, #"+h.K+"-objects-top canvas, #"+h.K+"-tools canvas").each(function(){this.width=h.I,this.height=h.F})),"vml"===h.AC&&ZC.A5("#"+h.K+"-objects-bottom div, #"+h.K+"-objects-top div, #"+h.K+"-tools div").each(function(){this.style.width=h.I+"px",this.style.height=h.F+"px"}),h.parse(),e=0,a=h.AG.length;e'}}}A.Z=ZC.AM(A.K+"-main-c"),super.paint();var v,E,w=!1,D=!1;for(v=0,E=A.AG.length;v100&&(new Date).getTime()-ZC.swipe.ts<1e3){var y=A.F5();y.direction=$[0]>ZC.swipe.xy[0]?"right":"left",ZC.AR.C1("swipe",A,y)}ZC.swipe=null}A.A9X||ZC.move||zingchart.SQ(V),A.P9(V)},ZC.A5("#"+A.K+"-img").bind("touchstart",A.AGB).bind("touchmove",A.P9).bind("touchend",A.AGA),ZC.A5("#"+A.K+"-menu-area").live("touchstart",A.AGB)),A.zc_loader_mousewheel=function(V){var $=A.F5();$.ev=V,ZC.AR.C1("mousewheel",A,$)},ZC.A5("#"+A.K+"-img").bind("mousewheel",A.zc_loader_mousewheel),ZC.A5("#"+A.K+"-map").bind("mousewheel",A.zc_loader_mousewheel),"svg"===A.AC&&ZC.A5("#"+A.K+"-svg").bind("mousewheel",A.zc_loader_mousewheel),A.A2T=function(V){27===V.keyCode&&A.QW&&(A.A8C||A.A9T())},ZC.A5(document).bind("keyup",A.A2T),A.A9T=function(){ZC.A5("#"+A.K+ZC._[66]).die("click",A.A9T),ZC.FSSTATUS=null,ZC.Q.EV(A.K+"-data-table"),A.destroy(),zingchart.FSID&&ZC.AM(zingchart.FSID)&&(ZC.AM(zingchart.FSID).style.display="none")},ZC.A5("#"+A.K+ZC._[66]).live("click",A.A9T)):ZC.mobile&&(A.zc_loader_touchstart_static=function(V){return V.preventDefault(),zingchart.SQ(V),!1},ZC.A5("#"+A.K+"-img").bind("touchstart",A.zc_loader_touchstart_static)),null!==A.I1){var R=ZC._i_(A.I1.interval);R=R>=50?R:1e3*R,window.setTimeout(function(){A.MX(),A.load()},R)}A.MN="",ZC.TS[A.K]=(new Date).getTime()-ZC.TS[A.K],A.E["fire-complete"]&&(ZC.AR.C1("complete",A,A.F5()),A.E["fire-complete"]=null),A.E["fire-load"]&&(ZC.AR.C1("load",A,A.F5()),A.E["fire-load"]=null)}togglePreviewMasks(A){for(var t=this,e=0;ePowered by ZingChart',h){case"br":R=t.F-f,V=t.I-m;break;case"bl":R=t.F-f,V=6;break;case"tr":R=2,V=t.I-m;break;case"tl":R=2,V=6}null!==ZC._n_(A=ZC.AM(t.K+"-top"))&&ZC.Q.IC({cls:ZC.ie67?"-ie67":"",p:A,id:t.K+"-license-text",tl:R+"/"+V,wh:m+"/"+(f-v),color:ZC.ie67?1===c?"#369":"#fff":"",padding:v,opacity:E,position:"absolute",cursor:"pointer",fontFamily:zingchart.FONTFAMILY,html:_})}_unbind_(){var A=this;ZC.A5("#"+A.K+"-menu").die(ZC._[47],A.UB),ZC.A5("."+A.K+"-menu-item").die(ZC._[47],A.UB),ZC.A5("."+A.K+"-menu-item").die("click touchend",A.AGE).die("mouseover",A.AGC).die("mouseout",A.AGD),A.E["menu-item-events"]=!1,ZC.A5("."+A.K+"-node-area").die("focus"),null!==A.H5&&A.H5.unbind(),null!==A.D6&&A.D6.unbind(),ZC.mobile&&(ZC.A5("#"+A.K+"-img").unbind("touchstart",A.AGB).unbind("touchmove",A.P9).unbind("touchend",A.AGA),ZC.A5("#"+A.K+"-menu-area").die("touchstart",A.AGB),ZC.A5("#"+A.K+"-img").unbind("touchstart",A.zc_loader_touchstart_static)),ZC.A5("#"+A.K+"-img").unbind("mousewheel",A.zc_loader_mousewheel),ZC.A5("#"+A.K+"-map").unbind("mousewheel",A.zc_loader_mousewheel),"svg"===A.AC&&ZC.A5("#"+A.K+"-svg").unbind("mousewheel",A.zc_loader_mousewheel),ZC.A5(document).unbind("keyup",A.A2T),ZC.A5("#"+A.K+ZC._[66]).die("click",A.A9T)}UJ(A,t,e){typeof e===ZC._[31]&&(e=!1);var a=ZC.AM("zc-menu-"+(e?"sep":"item")+"-"+A);a&&(a.style.display=t?"block":"none")}A1D(LU,ev){if(!zingchart.DEV.SKIPCONTEXTMENU){var s=this,G,i,A6,j,JH;typeof LU===ZC._[31]&&(LU=-1);var DH={};ZC._cp_(s.DH,DH),-1!==LU&&s.o[ZC._[16]][LU]&&ZC._cp_(s.o[ZC._[16]][LU].gui,DH,null,null,!0),ZC.A5("#"+s.K+"-menu").remove();var PT=[];for(typeof ZC.AQ===ZC._[31]&&PT.push({id:"3D",enabled:"none"},{id:"SwitchTo3D",enabled:"none"},{id:"SwitchTo2D",enabled:"none"}),i=DH.behaviors.length-1;i>0;i--)for(var sBId=DH.behaviors[i].id,ii=i-1;ii>=0;ii--)DH.behaviors[ii].id===sBId&&DH.behaviors.splice(ii,1);if(null!==ZC._n_(G=DH.behaviors))for(i=0,A6=G.length;iZC._i_(t.order||"0")}),s.NA=new DV(s);var A1R=s.LV.split(/\s+|;|,/),E2,LQ,UP,ABM,GX;for(i=0,A6=A1R.length;i'}}}E2=new DV(s),s.B8.load(E2.o,ZC._[65]+".item"),JQ&&null!==ZC._n_(G=JQ.item)&&E2.append(G),ZC.mobile&&(s.B8.load(E2.o,ZC._[65]+"[mobile].item"),OW&&null!==ZC._n_(G=OW.item)&&E2.append(G)),E2.VJ=!0,E2.parse(),LQ=new DV(s),LQ.copy(E2),s.B8.load(LQ.o,ZC._[65]+".item.hover-state"),JQ&&null!==ZC._n_(JQ.item)&&null!==ZC._n_(G=JQ.item[ZC._[71]])&&LQ.append(G),ZC.mobile&&(s.B8.load(LQ.o,ZC._[65]+"[mobile].item.hover-state"),OW&&null!==ZC._n_(OW.item)&&null!==ZC._n_(G=OW.item[ZC._[71]])&&LQ.append(G)),LQ.VJ=!0,LQ.parse(),UP={},JQ&&null!==ZC._n_(JQ.separator)&&(UP=JQ.separator);var K2=[],EL=null;if(ABM=null!==ZC._n_(s.NA.o.empty)&&ZC._b_(s.NA.o.empty),ZC.mobile&&(EL=GA("PageScroll"),"none"!==EL.enabled&&(null===s.DH||null===ZC._n_(s.DH["page-scroll"])||s.DH["page-scroll"]?K2.push(H1("disablepagescroll",EL.text)):K2.push(H1("enablepagescroll",EL.text)),K2.push(JL("pagescroll")))),EL=GA("Reload"),"none"!==EL.enabled&&(K2.push(H1("reload",EL.text)),K2.push(JL("reload"))),typeof ZC.A8W!==ZC._[31]){EL=GA("SaveAsImage"),"none"!==EL.enabled&&(EL=GA("SaveAsImagePNG"),"none"!==EL.enabled&&K2.push(H1("viewaspng",EL.text?EL.text:null)),EL=GA("SaveAsImageJPG"),"none"!==EL.enabled&&K2.push(H1("viewasjpg",EL.text?EL.text:null)),K2.push(JL("export")));var TT=["DownloadPDF","DownloadSVG","DownloadCSV","DownloadXLS","ViewDataTable","ExportData","Print"],A6Y=0,A2R=0;for(i=0;i0&&K2.push(JL(TT[A2R].toLowerCase()))}if(-1!==LU){var GQ=!1;for(j=0,JH=s.AG[LU].BO.length;j0&&K2.push(JL("tools")),EL=GA("FullScreen"),"none"===EL.enabled||s.M5||(s.QW?(EL=GA("ExitFullScreen"),K2.push(H1("exitfullscreen",EL.text)),K2.push(JL("exitfullscreen"))):(K2.push(H1("fullscreen",EL.text)),K2.push(JL("fullscreen")))),s.IL&&(EL=GA("GoBack"),"none"!==EL.enabled&&K2.push(H1("goback",EL.text)),EL=GA("GoForward"),"none"!==EL.enabled&&K2.push(H1("goforward",EL.text)),K2.push(JL("history"))),K2.length>0&&-1!==K2[K2.length-1].indexOf("zc-menu-sep")&&K2.splice(K2.length-1,1),s.A1Z={},-1!==LU&&JQ&&null!==ZC._n_(B6=JQ["custom-items"]))for(K2.length>0&&K2.push(JL("custom")),i=0,A6=B6.length;i '}function H1(A,t,e){t=t||ZC.HI["menu-"+A];var a=typeof e!==ZC._[31]&&e?" zc-custom-menu-item "+s.K+"-custom-menu-item":"";return'
'+t+"
"}function A3X(A,t,e){var a=typeof e!==ZC._[31]&&e?" zc-custom-menu-header "+s.K+"-custom-menu-header":"";return'
'+t+"
"}function GA(A){var t={ViewAsImage:"SaveAsImage",ViewAsImagePNG:"SaveAsImagePNG",ViewAsImageJPG:"SaveAsImageJPG"};if(ABM)return{enabled:"none"};for(var e=0,a=PT.length;e60?(v=60,M=ZC.HI["progress-wait-short"]):f<60&&(v=20,M=ZC.HI["progress-wait-mini"]),M=a.E.customprogresstext||M;var R=ZC.Q.IC({id:a.K+"-progress",p:document.body,tl:_+"/"+h,width:f-2*w.AU,height:m-2*w.AU,position:"absolute",opacity:.8,border:w.AU+"px solid "+w.BX,background:D});ZC.Q.IC({id:a.K+"-progress-text",p:R,width:v,html:M,textAlign:"center",marginLeft:ZC._i_((f-v)/2),marginTop:ZC._i_(m/2+E),fontFamily:zingchart.FONTFAMILY,fontSize:zingchart.FONTSIZE,color:w.C2,fontWeight:"bold"})}}}YB(){var A=this;ZC.Q.EV(A.K+"-dummy"),A.E.hideprogresslogo||(A.A08=!1,ZC.Q.EV([A.K+"-progress-text",A.K+"-progress"]))}A0P(A,t){var e,a,c=this;e=null!==ZC._n_(a=A[ZC._[16]])?a:[A];var _=ZC.AP.A2Y(A.layout||"",e.length),f=e[t],m=c.I/_[1],v=c.F/_[0],E=Math.floor(t/_[1]),w=t%_[1]*m,D=E*v;f&&(null!==ZC._n_(a=f.x)&&(w=ZC._p_(a))<=1&&(w=ZC._i_(w*c.I)),null!==ZC._n_(a=f.y)&&(D=ZC._p_(a))<=1&&(D=ZC._i_(D*c.F)),null!==ZC._n_(a=f[ZC._[19]])&&(m=ZC._p_(a))<=1&&(m=ZC._i_(m*c.I)),null!==ZC._n_(a=f[ZC._[20]])&&(v=ZC._p_(a))<=1&&(v=ZC._i_(v*c.F)));var M=[0,0,0,0];if(f.plotarea){c.B8.load(f.plotarea,["("+f.type+").plotarea"],!1,!0),null!==ZC._n_(f.plotarea.margin)&&(M=new I7(null).m_(f.plotarea.margin,"all",m,v));for(var T=["top","right","bottom","left"],R=0;R<4;R++)if(null!==ZC._n_(f.plotarea["margin-"+T[R]])){var V=f.plotarea["margin-"+T[R]];ZC._i_(V)+""==V+""&&(M[R]=ZC._i_(V))}}return{graph:{x:ZC._i_(w),y:ZC._i_(D),width:ZC._i_(m),height:ZC._i_(v),index:t},plotarea:{x:M[3],y:M[0],width:m-M[1]-M[3],height:v-M[0]-M[2]}}}K0(){var A=this;null===ZC._n_(A.o[ZC._[16]])&&(A.o={graphset:[A.o]}),A.MX(),zingchart.A2B(A,A.A2I(),function(){A.o=ZC.AR.C1("dataparse",A,A.F5(),A.o),zingchart.YL[A.K]&&A.PX(function(){A.parse(),A.paint()})})}render(){var A=this;!function(){function t(){""!==A.QV||null!==A.MZ?A.A4X():A.load()}A.UV||A.A4W(),A.MX(null,!0),zingchart.TIMEOUT>0?ZC.A07(t):t()}()}WA(A){var t=this;null===ZC._n_(t.A3Z)&&(t.A3Z=(new Date).getTime(),t.ABA=window.setTimeout(function(){null!==ZC._n_(t.A3Z)&&(t.A3Z=null,zingchart.ZN(A))},1500))}F5(){var t=this,e=0,a=0;return e=typeof t.T1[0]!==ZC._[31]?t.T1[0]-e:0,a=typeof t.T1[1]!==ZC._[31]?t.T1[1]-a:0,{id:t.K,width:t.I,height:t.F,output:t.AC,x:e,y:a,targetid:t.T1[2],theme:t.LV?t.LV:"light"}}A88(A){A=A||{},null!==ZC._n_(A.resource)&&(this.QZ[A.resource]=A.data||"[]",this.UX++)}A4V(){}A3M(){}A3N(){}PO(){}A65(A,t){var e=this;if(A=A||{},null!==ZC._n_(A[ZC._[3]])){var a=e.OT(A[ZC._[3]]);null!==a&&a.clear()}else e.clear(null,null,t);KF&&KF.GUIDES&&(KF.GUIDES[e.K]=null)}A3S(A){A=A||ZC.HI["sync-wait"];var t=this;if(null===ZC.AM(t.K+"-blocker")){ZC.Q.IC({cls:"zc-abs zc-style zc-blocker",id:t.K+"-blocker",p:ZC.AM(t.K+"-top"),wh:t.I+"/"+t.F,opacity:.75}),ZC.Q.IC({cls:"zc-blocker-msg",id:t.K+"-blocker-t",p:ZC.AM(t.K+"-blocker"),html:A});var e=ZC.A5("#"+t.K+"-blocker-t");e.css("top",t.F/2-e.height()/2+"px").css("left",t.I/2-e.width()/2+"px")}}A13(){ZC.Q.EV(this.K+"-blocker")}A62(){var A=this;ZC.AR.C1("about_show",A,A.F5()),ZC.Q.IC({cls:"zc-abs",id:A.K+"-about-mask",p:ZC.AM(A.K+"-top"),wh:A.I+"/"+A.F,background:"#ccc",opacity:.75});var t=ZC.CX(320,A.I),e=ZC.CX(215,A.F),a=ZC.BQ(0,(A.I-t)/2),c=ZC.BQ(0,(A.F-e)/2),h=ZC.Q.IC({cls:"zc-about zc-style",id:A.K+"-about",p:ZC.AM(A.K+"-top"),tl:c+"/"+a,wh:t-(ZC.quirks?0:10)+"/"+(e-(ZC.quirks?0:10))}),_="";""!==A.SL&&(_="Custom Built for
"+A.SL),h.innerHTML='
©2009-'+(new Date).getFullYear()+'
'+ZC.HI["about-close"]+'
 
Build '+ZC.VERSION+" ["+A.AC+"]
"+_+"
",ZC.A5("#"+A.K+"-about-close").bind("click",function(){ZC.AR.C1("about_hide",A,A.F5()),ZC.Q.EV([A.K+"-about",A.K+"-about-mask"])})}NP(A,t){var e=this;if(ZC.AR.A91("error",e))ZC.AR.C1("error",e,{id:e.K,error:A,section:t,json:e.E.json||e.E.rawsource});else{var a="";a+="object"==typeof A?A.name+":"+A.message+"\n\n":A+"\n\n",null!==ZC._n_(t)&&(a+="Section:"+t+"\n\n"),a+="JSON data:\n\n"+e.E.json+"\n\n",e.YB(),null===ZC.AM(e.K+"-top")&&e.A87(),ZC.Q.IC({cls:"zc-abs zc-error zc-style",id:e.K+"-error",p:ZC.AM(e.K+"-top"),wh:e.I-(ZC.quirks?0:10)+"/"+(e.F-(ZC.quirks?0:10))}).innerHTML='
'+ZC.HI["error-header"]+'
'+ZC.HI["error-message"]+'
',ZC.A5("#"+e.K+"-error-message").val(ZC.H0(a)),ZC.A5("#"+e.K+"-error-close").bind("click",function(){ZC.Q.EV(e.K+"-error")})}}A1B(){}A2H(){}A1C(){var A=this,t=document.createElement("div");t.id="zc-fullscreen",t.style.zIndex=zingchart.FSZINDEX,t.style.overflow="hidden";var e,a,c=document.body,h=!1;for(zingchart.FSID&&ZC.AM(zingchart.FSID)&&(h=!0,(c=ZC.AM(zingchart.FSID)).style.display="block"),c.appendChild(t),ZC.FSSTATUS={},e=0,a=A.AG.length;e=0;e--)if(w[e].generated)w.splice(e,1);else{if(null!==ZC._n_(w[e].shapes))for(v=w[e].shapes.length-1;v>=0;v--)w[e].shapes[v].generated&&w[e].shapes.splice(v,1);if(null!==ZC._n_(w[e][ZC._[10]]))for(v=w[e][ZC._[10]].length-1;v>=0;v--)w[e][ZC._[10]][v].generated&&w[e][ZC._[10]].splice(v,1)}h||window.scroll(0,0),zingchart.render({id:"zc-fullscreen",output:A.AC,width:ZC.A5(h?c:window).width(),height:ZC.A5(h?c:window).height(),fullscreenmode:!0,theme:A.LV,modules:A.A1V,data:E,defaults:A.MZ,defaultsurl:A.QV})}WB(A,t){var e,a,c,h=this,_=0,f=!1;for(e=0,a=h.AG.length;e0?t.AG[0]:null}bind(A,t){zingchart.bind(this.K,A,t)}unbind(A,t){zingchart.unbind(this.K,A,t)}exec(A,t){return zingchart.exec(this.K,A,t)}gc(){for(var A=0,t=this.AG.length;A1?(T=Math.round(T),R=Math.round(R)):(T=Math.floor(T),R=Math.ceil(R))),(T=ZC.BQ(D.FS,T))<(R=ZC.CX(D.GY,R))&&(A["ymin"+f]=T,A["ymax"+f]=R)}}m.PO(A)}},S3.prototype.A3N=function(A){var t,e,a,c,h,_=this;for(A=A||{},e=null!==ZC._n_(A[ZC._[3]])?_.OT(A[ZC._[3]]):_.AG[0],A.action="viewall",a=0,c=e.BV("k").length;a/g,"")).replace(' xmlns="http://www.w3.org/2000/svg"',""),w:c.I,h:c.F,t:A,fn:_};if(ZC._cp_(t,Q),zingchart.AJAXEXPORT&&"pdf"!==A&&"svg"!==A&&!h){var W="base64=1&";for(O in Q)W+=O+"="+encodeURIComponent(Q[O])+"&";ZC.A5.ajax({type:"post",url:zingchart.EXPORTURL,data:W,success:function(oe,te,le){if(c.A13(),e)a&&a(oe,te,le);else{var ce=document.createElement("img");ce.src=oe,ce.id=c.K+"-print-"+A,f.appendChild(ce)}}})}else{ZC.AM(c.K+"-export")&&ZC.Q.EV(c.K+"-export");var ae=ZC.Q.IC({cls:"zc-abs zc-style",id:c.K+"-export",p:ZC.AM(c.K+"-top"),display:"none"}),ee=(U=null!==ZC._n_(Q.uid)&&null!==ZC._n_(Q.page)?ZC.Q.ABR(ZC.AM(c.K+"-export")):document).createElement("FORM");for(O in ee.action=zingchart.EXPORTURL,ee.method="post",ee.enctype="multipart/form-data",null!==ZC._n_(Q.uid)&&null!==ZC._n_(Q.page)?U.body.appendChild(ee):ae.appendChild(ee),ee.style.display="none",Q){var ne=U.createElement("INPUT");ne.type="hidden",ne.name=O,ne.value=Q[O],ee.appendChild(ne)}ee.submit(),ee=null,null!==ZC._n_(Q.uid)&&null!==ZC._n_(Q.page)&&window.setTimeout(function(){ZC.A5("#"+c.K+"-export").remove()},6e4),window.setTimeout(function(){c.A13()},1e3)}}},S3.prototype.W5=function(A){var t=this;A=A||"png";var e,a,c=[],h=document.createElement("canvas");for(h.width=t.I,h.height=t.F,e=0,a=t.AG.length;e',"","\x3c!--[if gte mso 9]>[ZC]td{border:none;font-family:Calibri,sans-serif} .number{mso-number-format:"0.00";} .text{mso-number-format:"@";}',"","","",""),e=0,a=A.AG.length;e"),y.J1&&""!==y.J1.AN&&($.push([y.J1.AN]),R.push(""+y.J1.AN+"")),R.push(""),R.push("")),D=[],T=[];var ae="Category",ee=!1,ne="%Y-%mm-%dd %H:%i:%s";for(W&&(W.F7&&"date"===W.F7.o.type&&(ae="Date",ee=!0,W.F7.o["export-format"]&&(ne=W.F7.o["export-format"])),W.M&&W.M.AN&&(ae=W.M.AN.replace(/\"|\'/g,""))),"csv"===t?D.push('"'+ae+'"'):"raw"===t?T.push(ae):"html"!==t&&"xls"!==t||D.push(""+ae+""),c=0,h=U.length;c"+M+""),Q.push(""));if("csv"===t?R.push(D.join(",")):"raw"===t?$.push(T):"html"!==t&&"xls"!==t||R.push(D.join("")),"html"!==t&&"xls"!==t||(R.push(""),R.push(""),R.push("")),W){for(m=0,v=W.V.length;m"),"pie"!==y.AF&&"pie3d"!==y.AF&&"nestedpie"!==y.AF||W.V[le[E][0]]&&(le[E][0]=W.V[le[E][0]]),W.BZ[le[E][0]]&&(le[E][0]=W.BZ[le[E][0]]),W.V[le[E][0]]&&-1===ZC.AV(oe,le[E][0])&&(le[E][0]=W.V[le[E][0]]),(ce=y.A.F5()).row=E,ce.col=0,ce[ZC._[9]]=le[E][0],le[E][0]=ZC.AR.C1("dataexport",y.A,ce,le[E][0],null),ZC._n_(le[E][1]))for(var Ce=0;Ce"+[].concat(le[E][0]).concat(le[E][1]).join("")+""),"html"!==t&&"xls"!==t||R.push("")}}"html"!==t&&"xls"!==t||(R.push(""),R.push("")),a>1&&e 

"))}return"xls"===t&&R.push("",""),"raw"===t?$:("csv"===t?V=R.join("\n"):"html"!==t&&"xls"!==t||(V=R.join("")),V)},zingchart.ABT=function(A,t,e){var a,c,h,_,f,m="",v="";function E(Q){ZC.A5.ajax({type:"post",url:c,data:Q,success:function(W,ae,ee){h&&h(W,ae,ee)}})}document.getElementById("zc-fullscreen")&&(A="zc-fullscreen"),"string"==typeof(e=e||{})&&(e=JSON.parse(e));var w=zingchart.getLoader(A);if(w)switch(t){case"getimagedata":if(_="png",null!==ZC._n_(a=e.format)&&(_=a),null!==ZC._n_(a=e.filetype)&&(_=a),"jpg"===_&&(_="jpeg"),zingchart.DEV.LOCALSVGEXPORT&&"svg"===w.AC&&("png"===_||"jpeg"===_)){w.togglePreviewMasks(!0);var D=ZC.AM(w.K+"-svg").parentNode.innerHTML,M=D.indexOf(">"),T=D.indexOf("");D=(D='[CSS]'+D.substring(M+1,T+6)).replace(//g,"");var R=function(){var Q,W=window.URL||window.webkitURL||window,ae=!1;navigator&&navigator.userAgent&&-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&(ae=!0),Q=W.createObjectURL&&window.Blob&&!ae?W.createObjectURL(new window.Blob([D],{type:"image/svg+xml;charset-utf-16"})):"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(D),w.togglePreviewMasks(!1);var ee=new window.Image;ee.crossOrigin="anonymous",ee.src=Q,ee.onload=function(){var ne=document.createElement("canvas"),oe=ne.getContext("2d");if(ne.width=ee.width,ne.height=ee.height,oe.drawImage(ee,0,0,ne.width,ne.height),e.callback&&"function"==typeof e.callback)try{e.callback(ne.toDataURL("image/"+_))}catch{e.callback(Q)}}},V=0,$=function(){var Q=new XMLHttpRequest;Q.open("get",w.A2S[V]),Q.responseType="text",Q.onloadend=function(W){var ae=W.target.response,ee=ae.match(/https?:\/\/[^ \)]+/g),ne=0;ee.forEach(function(oe){var te=new XMLHttpRequest;te.open("get",oe),te.responseType="blob",te.onloadend=function(le){var ce=new FileReader;ce.onloadend=function(Ce){ae=ae.replace(new RegExp(oe),Ce.target.result),++ne===ee.length&&(D=D.replace("[CSS]","[CSS]"),++V===w.A2S.length?(D=D.replace("[CSS]",""),R()):$())},ce.readAsDataURL(le.target.response)},te.send()})},Q.send()};w.A2S.length?$():(D=D.replace("[CSS]",""),R())}if("canvas"!==w.AC&&!zingchart.AJAXEXPORT)return-1;if("canvas"===w.AC){if(!e.callback||"function"!=typeof e.callback)return w.W5(_);try{e.callback(w.W5(_))}catch{e.callback(-1)}}else w.NR(_,{},!0,e.callback);break;case"exportimage":case"saveasimage":if(!e.download&&"canvas"!==w.AC&&!zingchart.AJAXEXPORT)return-1;if(_="png",f={},null!==ZC._n_(a=e.options)&&(f=a),null!==ZC._n_(a=e.uid)&&(f.uid=a),null!==ZC._n_(a=e.page)&&(f.page=a),null!==ZC._n_(a=e.format)&&(_=a),null!==ZC._n_(a=e.filetype)&&(_=a),null!==ZC._n_(a=e.filename)&&(m=a),c=w.E.exportimageurl||"",null!==ZC._n_(a=e.url)&&(c=a),h=null,null!==ZC._n_(a=e.callback)&&(h=a),"jpg"===_&&(_="jpeg"),e.download&&("canvas"!==w.AC||"pdf"===_))return f.download=!0,""!==m&&(f.fn=m),void w.NR(_,f);if(""!==c){if("canvas"===w.AC)return E(w.W5(_));w.NR(_,f,!0,function(Q){return E(Q)})}break;case"exportdata":if(c=w.E.exportdataurl||"",null!==ZC._n_(a=e.url)&&(c=a),v=ZC.AR.YG(w,"csv"),""===c)return v;h=null,null!==ZC._n_(a=e.callback)&&(h=a),ZC.A5.ajax({type:"post",url:c,data:v,success:function(Q,W,ae){h&&h(Q,W,ae)}});break;case"downloadCSV":v=ZC.AR.YG(w,"csv"),ZC.AR.downloadFile(v,(e.fn||w.K)+".csv","text/csv;encoding:utf-8");break;case"downloadXLS":v=(v=ZC.AR.YG(w,"xls")).replace("[ZC]",""+(e.sn||"ZingChart")+""),ZC.AR.downloadFile(v,(e.fn||w.K)+".xls","application/vnd.ms-excel;encoding:utf-8");break;case"downloadRAW":var U=ZC.AR.YG(w,"raw");if(!e.callback||"function"!=typeof e.callback)return U;try{e.callback(U,e.fn||w.K)}catch{e.callback(-1)}break;case"viewDataTable":if("viewdatatable"===e.menuid)if(v=ZC.AR.YG(w,"html"),ZC.AM(w.K+"-data-table"))ZC.AM(w.K+"-data-table").innerHTML=v;else{var O=ZC.Q.IC({id:w.K+"-data-table",cls:"zc-data-table "+w.K+"-data-table"});ZC.Q.PZ(O,{width:w.I+"px","max-height":"400px",overflow:"auto"}),O.innerHTML=v,ZC.AM(w.K).parentNode.insertBefore(O,ZC.AM(w.K).nextSibling)}else"hidedatatable"===e.menuid&&ZC.Q.EV(w.K+"-data-table")}return null},ZC.A9K={},ZC.AR.XH=function(A){for(var t,e="",a=!1,c=!1,h=0,_="",f=0,m=(A=A.replace(/\t|\r|\n/g,"")).length;f '+ZC.HI["viewsource-originalsource"]+' '+ZC.HI["viewsource-jsonsource"]+'
'),zingchart.EDITSOURCE&&(ZC.AM(A.K+"-viewsource-actions").innerHTML+=''),ZC.A5("#"+A.K+"-viewsource-json").val(ZC.AR.XH(A.E.source)),ZC.A5("#"+A.K+"-viewsource-jsonsource").bind("click",function(){ZC.AM(A.K+"-viewsource-jsonsource").className="zc-tab-active",ZC.AM(A.K+"-viewsource-originalsource").className="zc-tab-inactive",ZC.A5("#"+A.K+"-viewsource-json").val(ZC.AR.XH(A.E.json))}),ZC.A5("#"+A.K+"-viewsource-originalsource").bind("click",function(){ZC.AM(A.K+"-viewsource-jsonsource").className="zc-tab-inactive",ZC.AM(A.K+"-viewsource-originalsource").className="zc-tab-active",ZC.A5("#"+A.K+"-viewsource-json").val(ZC.AR.XH(A.E.source))}),ZC.A5("#"+A.K+"-viewsource-close").bind("click",function(){ZC.AR.C1("source_hide",A,A.F5()),ZC.Q.EV(A.K+"-viewsource")}),zingchart.EDITSOURCE&&ZC.A5("#"+A.K+"-viewsource-apply").bind("click",function(){ZC.AR.C1("source_hide",A,A.F5());var e=ZC.A5("#"+A.K+"-viewsource-json").val();ZC.Q.EV(A.K+"-viewsource"),zingchart.exec(A.K,"setdata",{data:e})})},S3.prototype.A2H=function(){var A=this;if(A.I<300||A.F<300)window.open("http://www.zingchart.com/support/","","");else{var t=ZC.Q.IC({cls:"zc-abs zc-bugreport zc-style",id:A.K+"-bugreport",p:ZC.AM(A.K+"-top"),wh:A.I-(ZC.quirks?0:10)+"/"+(A.F-(ZC.quirks?0:10))}),e="";e+='
'+ZC.HI["bugreport-header"]+'
",ZC.canvas&&(e+='     "),e+='
'+ZC.HI["bugreport-yourcomment"]+'
'+ZC.HI["bugreport-jsondata"]+'
'+ZC.HI["bugreport-youremail"]+(A.I>=510?" ("+ZC.HI["bugreport-infoemail"]+")":"")+'
',t.innerHTML=ZC._h_(e),ZC.A5("#"+A.K+"-bugreport-json").val("PARSED\n----------\n"+ZC.AR.XH(A.E.json)+"\n\nORIGINAL\n----------\n"+ZC.AR.XH(A.E.source)),ZC.A5("#"+A.K+"-bugreport-cancel").bind("click",function(){ZC.Q.EV(A.K+"-bugreport")}),ZC.A5("#"+A.K+"-bugreport-submit").bind("click",function(){var a=ZC.A5("#"+A.K+"-bugreport-email");if(0!==a.val().length)if(/^((\w+\+*\-*)+\.?)+@((\w+\+*\-*)+\.?)*[\w-]+\.[a-z]{2,6}$/.test(a.val())){var c="",h=function(){var _=("Parsed:"+A.E.json+" Original:"+A.E.source).replace(/\r|\n|\t|(\s{2,})/g,""),f="",m=[];ZC.A5("#"+A.K+"-chkcapture").attr("checked")&&m.push("****IMAGE:",c),ZC.A5("#"+A.K+"-chkdata").attr("checked")&&m.push("****JSON:",_),m.push("****COMMENT:",ZC.A5("#"+A.K+"-bugreport-comment").val(),"****EMAIL:",a.val(),"****VERSION:",ZC.VERSION,"****WIDTH:",A.I,"****HEIGHT:",A.F,"****URL:",window.location.href,"****UA:",navigator.userAgent,"****RENDER:",A.AC.toUpperCase(),"****RESOLUTION:",screen.width+"x"+screen.height);for(var v=0;v0&&(c+=ZC.Q.FT("rect",!0)+'class="'+a.K+'-history-area zc-history-area" id="'+a.K+"-history-back-area"+ZC._[30],c+=ZC._i_(h+ZC.MAPTX)+","+ZC._i_(_+ZC.MAPTX)+","+ZC._i_(h+f/3+ZC.MAPTX)+","+ZC._i_(_+m+ZC.MAPTX),c+='" />');var E=new DX(a);E.K=a.K+"-history-forw",E.copy(t),E.CY=!1,a.O7!==a.R2.length-1&&0!==a.R2.length||E.copy(e),E.D=[[h+f,_+m/2],[h+2*f/3,_],[h+2*f/3,_+m],[h+f,_+m/2]],E.IW=ZC.AM(a.A.K+"-text"),E.Z=E.C7=ZC.AM(a.K+"-static-c"),E.parse(),E.paint(),a.O7'),""!==c&&(ZC.AM(a.K+"-map").innerHTML+=c),a.A1A=function(w){w.target.id===a.K+"-history-back-area"?zingchart.exec(a.K,"goback"):w.target.id===a.K+"-history-forw-area"&&zingchart.exec(a.K,"goforward")},ZC.A5("."+a.K+"-history-area").live("click",a.A1A)}},ZC.AQ={A54:1,E3:0,E4:0,FY:40},ZC.DJ={A3W:function(A,t){var e,a;return t.AA%180==0?(e=new CE(A,-A.I/2,t.iY-A.iY-A.F/4,0),a=new CE(A,A.I/2,t.iY-A.iY-A.F/4,0)):(e=new CE(A,t.iX-A.iX-A.I/4,-A.F/2,0),a=new CE(A,t.iX-A.iX-A.I/4,A.F/2,0)),ZC.UI(Math.atan((a.EC[1]-e.EC[1])/(a.EC[0]-e.EC[0])))+(t.AA%180==0?0:t.AA%360==90?90:-90)},DB:function(A,t,e,a,c,h,_,f,m){m=m||"z";var v,E,w,D,M=new A03(A,t);switch(m){case"x":v=new CE(t,e,c,_),E=new CE(t,a,c,_),w=new CE(t,a,h,f),D=new CE(t,e,h,f);break;case"y":v=new CE(t,e,c,_),E=new CE(t,e,h,_),w=new CE(t,a,h,f),D=new CE(t,a,c,f);break;case"z":v=new CE(t,e,c,_),E=new CE(t,e,c,f),w=new CE(t,a,h,f),D=new CE(t,a,h,_)}return M.add(v),M.add(E),M.add(w),M.add(D),M},D8:function(A,t,e,a){typeof a===ZC._[31]&&(a=!1);var c,h=null,_=null;e instanceof Array?h=e:(h=e.points,_=e.mathpoints);for(var f=new A03(A,t),m=0,v=h.length;me[0][0]?-1:t[0][0]e[0][1]?1:t[0][1]e[0][2]?-1:t[0][2]e[0][3]?-1:t[0][3]e[0][3]?1:t[0][3]e[0][0]?-1:t[0][0]e[0][1]?1:t[0][1]e[0][2]?1:t[0][2]e[0]?-1:t[0]0&&E<1&&(E=ZC._i_(a.H.I*E)),a.A7.o.fixed&&(E-=a.A7.I/2)),null!==ZC._n_(a.A7.o.y)&&((w=ZC.IU(a.A7.o.y,!0))>0&&w<1&&(w=ZC._i_(a.H.F*w)),a.A7.o.fixed&&(w-=a.A7.F/2)),E+=ZC._i_(a.A7.E["offset-x"]),w+=ZC._i_(a.A7.E["offset-y"]),"svg"===a.H.AC||!a.A7.o[ZC._[7]]||a.A7.o.fixed){var T=0,R=!1,V=a.A7.EM;E/h[0]a.H.I-M&&(T=D/h[0]+a.A7.I-a.H.I+M+a.A7.HD/2,E=(a.H.I-M-a.A7.I)*h[0]),w/h[1]a.H.F-M&&(w=a.H.F-M-a.A7.F,(a.CG.node||!a.A7.o[ZC._[7]]||a.A7.o.fixed)&&(V="top",R=!0)),R&&(a.A7.EM=V),(0!==T||R)&&a.A7.Z&&(a.clear(),""!==a.A7.AN&&(R&&(a.A7.EM=V),T=ZC.CX(T,a.A7.I/2-a.A7.HD/2),T=48*(T=ZC.BQ(T,-a.A7.I/2+a.A7.HD/2))/(a.A7.I/2-a.A7.HD/2),a.A7.EX=T,a.A7.AO&&a.A7.paint()))}switch(a.GK=E,a.IR=w,a.H.AC){case"svg":null===ZC._n_(a.A7.o.x)&&null===ZC._n_(a.A7.o.y)&&ZC.AM(c+"-tooltip").setAttribute("transform","translate("+E/h[0]+","+w/h[1]+")"),a.A7.E["html-mode"]&&ZC.Q.PZ(ZC.AM(c+"-tooltip-text-float"),{left:(""===a.BA?E/h[0]:a.A7.iX)+a.A7.EP+"px",top:(""===a.BA?w/h[1]:a.A7.iY)+a.A7.FO+"px"});break;case"vml":null===ZC._n_(a.A7.o.x)&&null===ZC._n_(a.A7.o.y)&&ZC.Q.PZ(ZC.AM(c+"-tooltip"),{left:E+"px",top:w+"px"});break;case"canvas":null!==ZC._n_(a.CG.x)&&(E=a.CG.x),null!==ZC._n_(a.CG.y)&&(w=a.CG.y);var $=a.A7.E["html-mode"]?0:20;switch(a.A7.VZ){case"tl":break;case"tr":E-=a.A7.I;break;case"bl":w-=a.A7.F;break;case"br":E-=a.A7.I,w-=a.A7.F;break;case"c":E-=a.A7.I/2,w-=a.A7.F/2;break;case"t":E-=a.A7.I/2;break;case"r":E-=a.A7.I,w-=a.A7.F/2;break;case"b":E-=a.A7.I/2,w-=a.A7.F;break;case"l":w-=a.A7.F/2}ZC.Q.PZ(ZC.AM(c+"-tooltip-c"),{left:E/h[0]-$+"px",top:w/h[1]-$+"px"}),null!==(e=ZC.AM(c+"-tooltip-text"))&&(e.style.display="none",ZC.Q.PZ(e,{width:a.A7.I+"px",height:a.A7.F+"px",left:E/h[0]+"px",top:w/h[1]+"px"}),e.style.display="block")}}}onmousemove(t){this.show(t)}onmouseover(t,e){var a,c,h,_,f,m,v,E=this,w=E.H.K,D=t.targetid||t.target.id,M=D.replace(/--([a-zA-Z0-9]+)/,"").replace("-gshape-area","-area").replace("-area-path","").replace("-path","").replace("-marker-circle","").replace("-marker","").split("-").reverse(),T=D.split("--"),R=!1,V=!1,$=!1;if("node"===M[1]&&"plot"===M[3]&&"plotset"===M[4]&&(R=!0),ZC.Q.EV([w+"-tooltip-text",w+"-tooltip",w+"-tooltip-text-float"]),R){if(!(_=E.H.OT(M[5]))||(m=(f=_.AZ.A3[M[2]]).FK(M[0]),"xy"===_.AJ.layout&&m.S4(),!m))return;ZC.A5("#"+w+"-graph-"+M[5]+"-plot-"+M[2]+"-bg-hover-c").show()}else"legend"===M[2]&&0===M[1].indexOf("item")&&(V=!0),0!==M[2].indexOf("scale")||0!==M[1].indexOf("item")&&0!==M[1].indexOf("marker")||($=!0),_=E.H.OT(M[3]);if(ZC.AM(w+"-tooltip")||(ZC.Q.K8({id:w+"-tooltip",p:ZC.AM(w+"-main"),cls:"zc-abs zc-tooltip",wh:E.H.I+"/"+E.H.F,overflow:"hidden"},E.H.AC),ZC.Q.HO({id:w+"-tooltip-c",p:ZC.AM(w+"-tooltip"),cls:"zc-abs",tl:"-999/-999",width:140,height:60},E.H.AC)),E.A7=zingchart.pool.getInstance("DV",E,w+"-tooltip-text"),E.A7.OQ="tooltip",E.A7.A=E.H,_&&_.A7&&E.A7.copy(_.A7),R)E.A7.append(f.A7.o),_.CC["p"+f.L]&&_.CC["p"+f.L]["n"+m.L]&&E.A7.append(f.A7.o[ZC._[73]]),2===T.length&&E.A7.append(f.A2Z(T[1]));else{var y=!1;if(V&&_.BE&&null!==ZC._n_(_.BE.o.tooltip)&&(E.A7.o.text="",E.A7.append(_.BE.o.tooltip),y=!0),$){E.A7.append({"background-color":"#fff","border-width":1,"border-color":"#999"});var U=_.BK(M[2].replace(/\_/g,"-"));if(U&&null!==ZC._n_(U.o.tooltip)&&(E.A7.o.text="",E.A7.append(U.o.tooltip),y=!0),0===M[1].indexOf("item_"))U&&(-1!==M[1].indexOf("_title")&&U.o.label&&U.o.label.tooltip?(E.A7.o.text="",E.A7.append(U.o.label.tooltip),y=!0):U.o.item&&U.o.item.tooltip&&(E.A7.o.text="",E.A7.append(U.o.item.tooltip),y=!0));else if(0===M[1].indexOf("marker_")){var O=ZC._i_(M[1].replace("marker_",""));U.QH[O]&&U.QH[O].o.label&&U.QH[O].o.label.tooltip&&(E.A7.o.text="",E.A7.append(U.QH[O].o.label.tooltip),y=!0)}}if("shape"===M[2])if(E.A7.append({"background-color":"#fff","border-width":1,"border-color":"#999"}),t.target.getAttribute("data-lowlevel"))E.A7.append({text:t.target.getAttribute("data-tooltip-text")}),y=!0;else for(c=0,h=_.FJ.length;ca.H.F-5&&(e=a.H.F-5-c.y-m,c.co=-ZC._i_(100*e/(m-_)),c.y=a.H.F-5-m);else if("vertical"===a.BA)t.iY+t.F/2a.H.I-5&&(e=a.H.I-5-c.x-f,c.co=-ZC._i_(100*e/(f-h)),c.x=a.H.I-5-f);else if("node:"===a.BA.substring(0,5)&&t.getTooltipPosition){switch((c=t.getTooltipPosition(a.A7,a.BA.substring(5))).node=!0,c.side=a.BA.substring(5),c.side){case"left":c.x=c.x-f+a.A7.QO,c.y=c.y-m/2+a.A7.MQ;break;case"right":c.x=c.x+a.A7.QO,c.y=c.y-m/2+a.A7.MQ;break;case"top":c.x=c.x-f/2+a.A7.QO,c.y=c.y-m+a.A7.MQ;break;case"bottom":c.x=c.x-f/2+a.A7.QO,c.y=c.y+a.A7.MQ;break;case"center":c.x=c.x-f/2+a.A7.QO,c.y=c.y-m/2+a.A7.MQ}c.cp=a.A7.EM}if(c.node){var E=0;c.y+m>a.H.F-5&&("top"===c.side||"bottom"===c.side?(c.y=c.y-m-("bottom"===c.side?0:a.A7.GB)-a.A7.MQ,c.cp="bottom"):c.y=a.H.F-m-5),c.y<5&&("top"===c.side||"bottom"===c.side?(c.y=c.y+("top"===c.side?0:a.A7.GB)+m-a.A7.MQ,c.cp="top"):c.y=5),c.x+f>a.H.I-5&&("left"===c.side||"right"===c.side?(c.x=c.x-f-a.A7.QO-5,c.cp="right"):(E=48*(f-a.H.I+c.x+a.A7.HD/2)/(a.A7.I/2),c.x=a.H.I-f-a.A7.QO-5),c.co=E),c.x<5&&("left"===c.side||"right"===c.side?(c.x=c.x+a.A7.I-a.A7.QO+5,c.cp="left"):(E=48*(c.x-a.A7.HD/2)/(a.A7.I/2),c.x=5),c.co=E)}return c}}class AAD extends I7{constructor(t){super(t);var e=this;e.H=t,e.IY=!1,e.C=null,e.RE=null,e.XC=null,e.II=0,e.LT=0,e.IH=0,e.LS=0,e.A8=null,e.AL=null,e.ZT=!1,e.ABK=0,e.A0S=!1,e.M=null}parse(){var t=this;t.C&&(t.C.H5&&t.append(t.C.H5.o),super.parse(),t.YZ("preserve-zoom","A0S","b"),t.M=new DV(t),t.C.A.B8.load(t.M.o,"graph.zoom.label"),t.M.append(t.o.label),t.M.parse(),t.o.label&&!1!==t.o.label.visible&&(t.M.AO=!0))}unbind(){var t=this;zingchart.DEV.SKIPTRACKERS?ZC.A5(document.body).unbind("mousedown touchstart",t.RG):ZC.A5("#"+t.H.K+"-img").unbind("mousedown touchstart",t.RG),ZC.A5(".zc-node-area").die("mousedown touchstart",t.RG),ZC.A5(document.body).unbind("mousemove touchmove",t.UQ),ZC.A5(document.body).unbind("mouseup touchend",t.UA)}bind(){var t=this,e=t.H.K;t.RG=function(a){if((!ZC.mobile||"pinch"!==zingchart.TOUCHZOOM)&&!(a.which>1||-1!==ZC.Q.TJ(a.target).indexOf("zc-menu-item")||ZC.move)&&(a.type!==ZC._[47]||!ZC.TOUCHEVENTS)&&-1===a.target.id.indexOf("-legend-header-area")&&(ZC.mobile||a.preventDefault(),t.H.hideCM(),(ZC.mobile||!(a.which>1))&&("vml"!==t.H.AC||-1===a.target.className.indexOf("zc-node-area")))){a.shiftKey&&(t.ZT=!0);var c=ZC.Q.MR(a),h=ZC._tx_(t.H.K),_=ZC.A5("#"+e+"-top").offset(),f=(c[0]-_.left)/h[0],m=(c[1]-_.top)/h[1];t.RE=f,t.XC=m,t.ZT&&(t.ABK=f);for(var v,E=!1,w=0,D=t.H.AG.length;w0&&(t.A8=t.C.BK(t.C.AZ.A3[0].BV("k")[0]),t.AL=t.C.BK(t.C.AZ.A3[0].BV("v")[0])),null!==t.A8&&null!==t.AL&&t.C.AJ["enable-zooming"]&&(t.A8.GQ||t.AL.GQ)&&(t.II=t.A8.CJ?m:f,t.IH=t.AL.CJ?f:m,E=!0,t.II=t.A8.GQ?t.A8.CJ?ZC._l_(t.II,v.iY,v.iY+v.F):ZC._l_(t.II,v.iX,v.iX+v.I):t.A8.CJ?v.iY:v.iX,t.IH=t.AL.GQ?t.AL.CJ?ZC._l_(t.IH,v.iX,v.iX+v.I):ZC._l_(t.IH,v.iY,v.iY+v.F):t.AL.CJ?v.iX:v.iY)}return E&&(t.LT=t.II,t.LS=t.IH,t.IY=!0,ZC.A5(document.body).bind("mousemove touchmove",t.UQ),ZC.A5(document.body).bind("mouseup touchend",t.UA),t.ZT?document.body.style.cursor="pointer":(t.parse(),t.C.AJ["3d"]||ZC.Q.IC({id:e+"-zoom",p:ZC.AM(e+"-top"),top:-9,left:-9,wh:"1/1",position:"absolute",border:t.AU+"px solid "+t.BX,background:t.A0,opacity:t.C5}),t.M.AO&&(ZC.Q.IC({id:e+"-from",p:ZC.AM(e+"-top"),top:-9999,left:-9999,position:"absolute",paddingTop:t.M.FO,paddingRight:t.M.FP,paddingBottom:t.M.FX,paddingLeft:t.M.EP,border:t.M.AU+"px solid "+t.M.BX,background:t.M.A0,color:t.M.C2,fontFamily:t.M.GJ,fontWeight:t.M.sFontWeight,fontStyle:t.M.NC?"oblique":"normal",fontSize:t.M.DG,text:""}),ZC.Q.IC({id:e+"-to",p:ZC.AM(e+"-top"),top:-9999,left:-9999,position:"absolute",paddingTop:t.M.FO,paddingRight:t.M.FP,paddingBottom:t.M.FX,paddingLeft:t.M.EP,border:t.M.AU+"px solid "+t.M.BX,background:t.M.A0,color:t.M.C2,fontFamily:t.M.GJ,fontWeight:t.M.sFontWeight,fontStyle:t.M.NC?"oblique":"normal",fontSize:t.M.DG,text:""})),document.body.style.cursor="crosshair")),!!ZC.mobile&&void 0}},t.UQ=function(a){if(a.type!==ZC._[48]||!ZC.TOUCHEVENTS){var c,h;if(ZC.mobile||a.preventDefault(),ZC.move=!0,t.C||(ZC.move=!1,t.IY=!1,ZC.A5(document.body).unbind("mousemove touchmove",t.UQ),ZC.A5(document.body).unbind("mouseup touchend",t.UA),document.body.style.cursor="auto",ZC.Q.EV([e+"-zoom",e+"-from",e+"-to"])),t.IY){t.C.A.A7.hide();var _=ZC.Q.MR(a),f=ZC._tx_(t.H.K),m=ZC.A5("#"+e+"-top").offset(),v=(_[0]-m.left)/f[0],E=(_[1]-m.top)/f[1],w=t.A8.DE?t.A8.AB:0;if(t.LT=t.A8.CJ?E:v,t.LS=t.AL.CJ?v:E,!t.ZT){var D,M,T,R,V=t.C.P;c=t.A8.AW?t.A8.BS:t.A8.A9,h=t.A8.AW?t.A8.A9:t.A8.BS,t.A8.GQ?t.A8.CJ?(t.A8.YQ&&(t.II=t.A8.iY+c+t.A8.AB*ZC._i_((t.II-t.A8.iY-c-w/2)/t.A8.AB),t.LT=t.A8.iY+c+w+t.A8.AB*ZC._i_((t.LT-t.A8.iY-c-w/2)/t.A8.AB)),t.II=ZC._l_(t.II,V.iY+h,V.iY+V.F-c),t.LT=ZC._l_(t.LT,V.iY+h,V.iY+V.F-c)):(t.A8.YQ&&(t.II=t.A8.iX+c+t.A8.AB*ZC._i_((t.II-t.A8.iX-c-w/2)/t.A8.AB),t.LT=t.A8.iX+c+w+t.A8.AB*ZC._i_((t.LT-t.A8.iX-c-w/2)/t.A8.AB)),t.II=ZC._l_(t.II,V.iX+c,V.iX+V.I-h),t.LT=ZC._l_(t.LT,V.iX+c,V.iX+V.I-h)):(t.II=t.A8.CJ?V.iY+h:V.iX+c,t.LT=t.A8.CJ?V.iY+V.F-c:V.iX+V.I-h),c=t.AL.AW?t.AL.A9:t.AL.BS,h=t.AL.AW?t.AL.BS:t.AL.A9,t.AL.GQ?t.AL.CJ?(t.AL.YQ&&(t.IH=t.AL.iX+c+t.AL.AB*ZC._i_((t.IH-t.AL.iX-c)/t.AL.AB),t.LS=t.AL.iX+c+t.AL.AB*ZC._i_((t.LS-t.AL.iX-c)/t.AL.AB)),t.IH=ZC._l_(t.IH,V.iX+h,V.iX+V.I-c),t.LS=ZC._l_(t.LS,V.iX+h,V.iX+V.I-c)):(t.AL.YQ&&(t.IH=t.AL.iY+c+t.AL.AB*ZC._i_((t.IH-t.AL.iY-c)/t.AL.AB),t.LS=t.AL.iY+c+t.AL.AB*ZC._i_((t.LS-t.AL.iY-c)/t.AL.AB)),t.IH=ZC._l_(t.IH,V.iY+c,V.iY+V.F-h),t.LS=ZC._l_(t.LS,V.iY+c,V.iY+V.F-h)):(t.IH=t.AL.CJ?V.iX+h:V.iY+c,t.LS=t.AL.CJ?V.iX+V.I-c:V.iY+V.F-h);var $=ZC.A5.browser.msie?0:2*t.AU;t.C.AJ["3d"]&&($=0);var y=ZC.AM(e+"-zoom");if(t.A8.CJ&&t.AL.CJ?(D=ZC._a_(t.LS-t.IH-$),M=ZC._a_(t.LT-t.II-$),T=ZC.CX(t.IH,t.LS),R=ZC.CX(t.II,t.LT)):(D=ZC._a_(t.LT-t.II-$),M=ZC._a_(t.LS-t.IH-$),T=ZC.CX(t.II,t.LT),R=ZC.CX(t.IH,t.LS)),t.C.AJ["3d"]){t.C.NS();var U=ZC.AM(t.H.K+"-guide-c");U&&(ZC.Q.IV(U,t.H.AC,t.C.iX,t.C.iY,t.C.I,t.C.F),ZC.A5(".zc-guide-label").remove()),(y=new DX(t)).Z=U,y.A0=y.AE=t.A0,y.BX=t.BX,y.AU=t.AU,y.C5=t.C5,y.D=[[T,R],[T+D,R],[T+D,R+M],[T,R+M],[T,R]];for(var O=0;O10&&ZC._a_(t.IH-t.LS)>10){var V,$,y=!1,U=!1;for(m=0,v=(f=t.C.BV("k")).length;m=1&&(R["zoomx"+E]=!0,R["xmin"+E]=ZC.CX(h,_),R["xmax"+E]=ZC.BQ(h,_),"log"===V.BT&&(R["kmin"+E]=V.V[ZC._i_(ZC.FU(R["xmin"+E],V.DU))],R["kmax"+E]=V.V[ZC._i_(ZC.FU(R["xmax"+E],V.DU))],delete R["xmin"+E],delete R["xmax"+E]),y=!0));for(m=0,v=(f=t.C.BV("v")).length;m=M&&(R["zoomy"+E]=!0,R["ymin"+E]=ZC.CX(w,D),R["ymax"+E]=ZC.BQ(w,D),U=!0));y||U?(zingchart.SKIP.EVENT=!0,t.C.A.PO(R)):zingchart.SKIP.EVENT=!0}else(ZC._a_(t.II-t.LT)>5||ZC._a_(t.IH-t.LS)>5)&&(zingchart.SKIP.EVENT=!0);t.C=null}}},ZC.mobile&&"normal"!==zingchart.TOUCHZOOM||(zingchart.DEV.SKIPTRACKERS?ZC.A5(document.body).bind("mousedown touchstart",t.RG):ZC.A5("#"+e+"-img").bind("mousedown touchstart",t.RG),ZC.A5(".zc-node-area").live("mousedown touchstart",t.RG))}}class A9B extends CZ{constructor(t){super(t);var e=this;e.IJ=!0,e.AC8=!1,e.C=t,e.H=t.A,e.IY=!1,e.A4A=!1,e.HA=null,e.AT=null,e.Z=null,e.IP=0,e.HB=0,e.PJ=0,e.A0W=0,e.LX=!1,e.O0=null,e.bBind=!1,e.BZ=null,e.A25=!1}parse(){var t,e=this;e.K=e.C.K+"-preview",e.assign_a([["live","AC8","b"],["async","LX","b"],["min-distance","PJ","i"],["min-distance-x","PJ","i"],["min-distance-y","PJ","i"],["visible","AO","b"]]);var a="("+e.C.AF+").preview",c=e.H.B8;function h(m){return[a+".handler",a+".handler-"+m,a+".handle",a+".handle-"+m]}e.AT=new I7(e.C),e.AT.K=e.C.K+"-preview-viewport",c.load(e.AT.o,[a]),e.AT.append(e.o),e.AT.parse(),e.o.label&&(e.BZ=[]),e.o.handle&&e.o.handle.label&&(e.JC=new DV(e.C),e.JC.append(e.o.handle.label),e.JC.append({text:" "}),e.JC.parse(),e.JC.AO&&(e.A25=!0)),e.P5=new CZ(e.C),c.load(e.P5.o,[a+".mask"]),null!==ZC._n_(t=e.o.mask)&&e.P5.append(t),e.P5.parse(),e.UY=new CZ(e.C),c.load(e.UY.o,[a+".active"]),null!==ZC._n_(t=e.o.active)&&e.UY.append(t),e.UY.parse(),e.J0=new I7(e.AT),e.HM=new I7(e.AT),e.JI=new I7(e.AT),e.H8=new I7(e.AT),c.load(e.J0.o,h("left")),c.load(e.HM.o,h("right")),c.load(e.JI.o,h("top")),c.load(e.H8.o,h("bottom"));for(var _=["handle","handler"],f=0;f<_.length;f++)null!==ZC._n_(t=e.o[_[f]])&&(e.J0.append(t),e.HM.append(t),e.JI.append(t),e.H8.append(t)),null!==ZC._n_(t=e.o[_[f]+"-left"])&&e.J0.append(t),null!==ZC._n_(t=e.o[_[f]+"-right"])&&e.HM.append(t),null!==ZC._n_(t=e.o[_[f]+"-top"])&&e.JI.append(t),null!==ZC._n_(t=e.o[_[f]+"-bottom"])&&e.H8.append(t);e.J0.parse(),e.HM.parse(),e.JI.parse(),e.H8.parse()}setScalesInfo(){var t=this;t.O0={};for(var e,a=t.C.BO,c=0,h=a.length;c=E.AT.iX&&U.iX+U.I<=E.AT.iX+E.AT.I){for(var O=!1,Q=0;QR[Q].x&&U.iX/g," "),Fe=D.FD(D.A1,null,null).replace(/
/g," ")),E.RL=ZC.Q.IC({cls:"zc-abs zc-preview-label "+E.C.K+"-preview-label",id:E.K+"-min-label",background:E.JC.A0,opacity:E.JC.C5,fontFamily:E.JC.GJ,fontSize:E.JC.DG,fontWeight:E.JC.sFontWeight,color:E.JC.C2,padding:0,html:Oe+"",p:w}),E.RL.style.left=E.AT.iX+"px",E.RL.style.top=E.AT.iY+E.AT.F+"px",E.RM=ZC.Q.IC({cls:"zc-abs zc-preview-label "+E.C.K+"-preview-label",id:E.K+"-max-label",background:E.JC.A0,opacity:E.JC.C5,fontFamily:E.JC.GJ,fontSize:E.JC.DG,fontWeight:E.JC.sFontWeight,color:E.JC.C2,padding:0,html:Fe+"",p:w}),E.RM.style.left=E.AT.iX+E.AT.I+"px",E.RM.style.top=E.AT.iY+E.AT.F+"px",E.RL.style.left=E.IP>ZC.A5(E.RL).width()?E.AT.iX+E.IP-ZC.A5(E.RL).width()+"px":E.AT.iX+"px",E.RM.style.left=E.AT.I-E.HB>ZC.A5(E.RM).width()?E.AT.iX+E.HB+"px":E.AT.iX+E.HB-ZC.A5(E.RM).width()+"px"}E.bind(),E.BZ&&(E.BZ=[])}}reset(){var t=this,e=t.C.BV("k")[0],a=t.C.BV("v",!0)[0];a||(a=t.C.BV("v")[0]),e&&a&&t.update(e.D5,e.DN,a.FS,a.GY,!0)}update(t,e,a,c,h){null===ZC._n_(h)&&(h=!1);var _=this;if(h||(t>=e&&(t=e-1),a>=c&&(a=c-1)),_.AO){var f=_.C.BV("k")[0],m=_.C.BV("v",!0)[0];m||(m=_.C.BV("v")[0]);var v=!0;if(h){if(f&&m){if(f.CJ&&m.CJ){var E=t,w=e;t=a,e=c,a=E,c=w}f.CJ?(null===ZC._n_(c)&&(c=f.A1),null===ZC._n_(a)&&(a=f.W)):(null===ZC._n_(t)&&(t=f.W),null===ZC._n_(e)&&(e=f.A1)),m.CJ?(null===ZC._n_(t)&&(t=m.aAutoFit[0]?m.FS:m.AY),null===ZC._n_(e)&&(e=m.aAutoFit[1]?m.GY:m.BD)):(null===ZC._n_(a)&&(a=m.aAutoFit[0]?m.FS:m.AY),null===ZC._n_(c)&&(c=m.aAutoFit[1]?m.GY:m.BD));var D=f.DE?1:0;f.CJ||m.CJ?f.AW?_.update((t-m.FS)*_.AT.I/(m.GY-m.FS),(e-m.FS)*_.AT.I/(m.GY-m.FS),(a-f.D5)*_.AT.F/(f.DN-f.D5),(c-f.D5)*_.AT.F/(f.DN-f.D5)):_.update((t-m.FS)*_.AT.I/(m.GY-m.FS),(e-m.FS)*_.AT.I/(m.GY-m.FS),_.AT.F-(c-f.D5)*_.AT.F/(f.DN-f.D5),_.AT.F-(a-f.D5)*_.AT.F/(f.DN-f.D5)):f.AW?_.update(_.AT.I-(e-f.D5+D)*_.AT.I/(f.DN-f.D5+D),_.AT.I-(t-f.D5)*_.AT.I/(f.DN-f.D5+D),_.AT.F-(c-m.FS)*_.AT.F/(m.GY-m.FS),_.AT.F-(a-m.FS)*_.AT.F/(m.GY-m.FS)):_.update((t-f.D5)*_.AT.I/(f.DN-f.D5+D),(e-f.D5+D)*_.AT.I/(f.DN-f.D5+D),_.AT.F-(c-m.FS)*_.AT.F/(m.GY-m.FS),_.AT.F-(a-m.FS)*_.AT.F/(m.GY-m.FS))}}else if(e-t<_.PJ&&(_.HA===_.K5?e=t+_.PJ:_.HA===_.KS&&(t=e-_.PJ)),c-a<_.A0W&&(_.HA===_.JO?c=a+_.A0W:_.HA===_.LE&&(a=c-_.A0W)),t>e&&(_.HA===_.KS?_.update(e-1,e,a,c):_.HA===_.K5&&_.update(t,t+1,a,c),v=!1),t<0&&(_.HA===_.KS?_.update(0,e,a,c):_.HA===_.KO&&_.update(0,ZC.A5(_.KO).width(),a,c),v=!1),e>_.AT.I&&(_.HA===_.K5?_.update(t,_.AT.I,a,c):_.HA===_.KO&&_.update(_.AT.I-ZC.A5(_.KO).width(),_.AT.I,a,c),v=!1),a>c&&(_.HA===_.LE?_.update(t,e,a-1,c):_.HA===_.JO&&_.update(t,e,a,c+1),v=!1),a<0&&(_.HA===_.LE?_.update(t,e,0,c):_.HA===_.KO&&_.update(t,e,0,ZC.A5(_.KO).height()),v=!1),c>_.AT.F&&(_.HA===_.JO?_.update(t,e,a,_.AT.F):_.HA===_.KO&&_.update(t,e,_.AT.F-ZC.A5(_.KO).height(),_.AT.F),v=!1),v){var M;f&&f.YQ&&(f.CJ?(a=(M=_.AT.F/(f.V.length-(f.DE?0:1)))*Math.round(a/M),c=ZC.CX(M*Math.round(c/M),_.AT.F)):(t=(M=_.AT.I/(f.V.length-(f.DE?0:1)))*Math.round(t/M),e=ZC.CX(M*Math.round(e/M),_.AT.I))),_.IP=t,_.HB=e,_.L1=a,_.HE=c,(!f.CJ&&f.GQ||m.CJ&&m.GQ)&&(_.KS.style.left=ZC._i_(_.AT.iX+_.IP-_.J0.I/2-_.Q8/2)+"px",_.A41.style.width=ZC._i_(_.IP)+"px",_.K5.style.left=ZC._i_(_.AT.iX+_.HB-_.HM.I/2-_.Q8/2)+"px",_.XQ.style.left=ZC._i_(_.AT.iX+_.HB)+"px",_.XQ.style.width=ZC._i_(_.AT.I-_.HB)+"px"),(!m.CJ&&m.GQ||f.CJ&&f.GQ)&&(_.LE.style.top=ZC._i_(_.AT.iY+_.L1-_.JI.F/2-_.Q8/2)+"px",_.A5K.style.height=ZC._i_(_.L1)+"px",_.JO.style.top=ZC._i_(_.AT.iY+_.HE-_.H8.F/2-_.Q8/2)+"px",_.WJ.style.top=ZC._i_(_.AT.iY+_.HE)+"px",_.WJ.style.height=ZC._i_(_.AT.F-_.HE)+"px"),(f.GQ||m.GQ)&&(_.KO.style.left=ZC._i_(_.AT.iX+_.IP)+"px",_.KO.style.width=ZC._i_(_.HB-_.IP)+"px",_.KO.style.top=ZC._i_(_.AT.iY+_.L1)+"px",_.KO.style.height=ZC._i_(_.HE-_.L1)+"px"),_.AC8&&_.IY&&(_.C.OM=!0,_.zoom(!0)),f.GQ&&_.A25&&(f.F7&&"date"===f.F7.o.type?(_.RL.innerHTML=f.FD(f.W,null,null).replace(/
/g," "),_.RM.innerHTML=f.FD(f.A1,null,null).replace(/
/g," ")):(_.RL.innerHTML=f.W,_.RM.innerHTML=f.A1),_.RL.style.left=_.IP>ZC.A5(_.RL).width()?_.AT.iX+_.IP-ZC.A5(_.RL).width()+"px":_.AT.iX+"px",_.RM.style.left=_.AT.I-_.HB>ZC.A5(_.RM).width()?_.AT.iX+_.HB+"px":_.AT.iX+_.HB-ZC.A5(_.RM).width()+"px")}}}zoom(t){for(var e,a=this,c={graphid:a.C.K,preview:1,async:a.LX,previewscale:!0,zooming:t},h=a.C.BO,_=a.C.BV("k")[0],f=a.C.BV("v")[0],m=0,v=h.length;mt.AT.I?(t.IP=t.AT.I-v,t.HB=t.AT.I):(t.IP=ZC._i_(m-v/2),t.HB=ZC._i_(m+v/2))}else{var E=_[1]-f.top-t.AT.iY,w=t.HE-t.L1;E-w/2<0?(t.L1=0,t.HE=w):E+w/2>t.AT.F?(t.L1=t.AT.F-w,t.HE=t.AT.F):(t.L1=ZC._i_(E-w/2),t.HE=ZC._i_(E+w/2))}return t.IY=!1,t.C.OM=!1,t.update(t.IP,t.HB,t.L1,t.HE),t.zoom(!1),!1}},t.ZI=function(h){if(h.preventDefault(),t.H.H5){t.H.H5.C=t.C,t.H.H5.parse();for(var _=h.target;_&&"BODY"!==_.tagName.toUpperCase()&&-1===ZC.Q.TJ(_).indexOf("zc-preview-handler");)_=_.parentNode;if((ZC.mobile||!(h.which>1))&&_){var f=ZC.Q.MR(h),m=ZC._tx_(t.H.K),v=ZC.A5("#"+e+"-top").offset(),E=(f[0]-v.left)/m[0]-t.AT.iX,w=(f[1]-v.top)/m[1]-t.AT.iY;return-1!==_.id.indexOf("handler-x-left")?t.HA=t.KS:-1!==_.id.indexOf("handler-x-right")?t.HA=t.K5:-1!==_.id.indexOf("handler-y-top")?t.HA=t.LE:-1!==_.id.indexOf("handler-y-bottom")?t.HA=t.JO:-1!==_.id.indexOf("handler-middle")&&(t.HA=t.KO,a=E-t.IP,c=w-t.L1),ZC.A5(document.body).bind("mousemove touchmove",t.VQ),ZC.A5(document.body).bind("mouseup touchend",t.UC),t.IY=!0,t.A4A=!1,!1}}},t.VQ=function(h){if(t.IY){t.A4A=!0,zingchart.exec(t.H.K,"setmode",{mode:"static,fast"});var _=ZC._tx_(t.H.K),f=ZC.Q.MR(h),m=ZC.A5("#"+e+"-top").offset(),v=(f[0]-m.left)/_[0]-t.AT.iX,E=(f[1]-m.top)/_[1]-t.AT.iY;t.HA===t.KS?t.update(v,t.HB,t.L1,t.HE):t.HA===t.K5?t.update(t.IP,v,t.L1,t.HE):t.HA===t.LE?t.update(t.IP,t.HB,E,t.HE):t.HA===t.JO?t.update(t.IP,t.HB,t.L1,E):t.HA===t.KO&&t.update(v-a,v-a+ZC.A5(t.KO).width(),E-c,E-c+ZC.A5(t.KO).height())}return!1},t.UC=function(){return zingchart.exec(t.H.K,"setmode",{mode:""}),t.IY&&(ZC.A5(document.body).unbind("mousemove touchmove",t.VQ),ZC.A5(document.body).unbind("mouseup touchend",t.UC),t.IY=!1,t.C.OM=!1,t.A4A&&t.zoom(!1),t.A4A=!1),!1},ZC.A5("."+t.C.K+"-preview-handler").bind("mousedown touchstart",t.ZI),ZC.A5("."+t.C.K+"-preview-mask").bind("click",t.AGF),t.bBind=!0}}gc(){ZC.AR.gc(this,["Z","C7","o","IG","JJ","C","H","AT","UY","KS","K5","LE","JO","KO","JI","HM","H8","J0","oMask","P5","A41","XQ","A5K","WJ"])}}class A4K extends CZ{constructor(t,e){super(t);var a=this;a.C=t,a.H=t.A,a.IY=!1,a.Z=null,a.BL=0,a.BH=0,a.A7Q="",a.bYX="yx"===a.C.AJ.layout,a.AF=a.sTypeE=a.sTypeN="scroll-"+(e||"x"),a.bYX&&(a.AF+="i",a.sTypeE="scroll-xi"===a.AF?"scroll-y":"scroll-x")}parse(){var t,e=this;e.K=e.C.K+"-"+e.sTypeE,e.assign_a([["offset-x","BL"],["offset-y","BH"]]);var a="("+e.C.AF+").",c=e.H.B8;e.B2=new I7(e.C),c.load(e.B2.o,[a+"scroll.bar",a+e.AF+".bar"]),null!==ZC._n_(t=e.o.bar)&&e.B2.append(t),e.B2.parse(),e.B3=new I7(e.C),c.load(e.B3.o,[a+"scroll.handle",a+e.AF+".handle"]),null!==ZC._n_(t=e.o.handle)&&e.B3.append(t),e.B3.parse()}paint(){var t=this,e=t.C.BV("k")[0],a=t.C.BV("v")[0],c=t.C.P;if(("scroll-x"===t.AF||"scroll-xi"===t.AF)&&e.D5===e.W&&e.DN===e.A1||("scroll-y"===t.AF||"scroll-yi"===t.AF)&&a.FS===a.AY&&a.GY===a.BD)return t.unbind(),ZC.A5("#"+t.C.K+"-"+t.AF+"-handle").remove(),ZC.A5("#"+t.C.K+"-"+t.AF+"-bar").remove(),void ZC.Q.IV(t.Z,t.H.AC,t.C.iX,t.C.iY,t.C.I,t.C.F);t.Z=ZC.AM(t.C.K+"-"+t.sTypeN+"-c");var h=ZC.AM(t.H.K+"-top");"scroll-x"===t.AF||"scroll-yi"===t.AF?(t.B2.iX=c.iX+t.BL,t.B2.iY=c.iY+c.F+e.B1-1+t.BH,t.B2.I=c.I,t.bYX?(t.B3.I=ZC._i_(ZC.BQ(4,t.B2.I*((a.BD-a.AY)/(a.GY-a.FS)))),t.B3.iX=a.FS===a.AY?a.AW?t.B2.iX+t.B2.I-t.B3.I:t.B2.iX:a.GY===a.BD?a.AW?t.B2.iX:t.B2.iX+t.B2.I-t.B3.I:a.AW?ZC._i_(t.B2.iX+t.B2.I-t.B3.I-t.B2.I*(a.AY-a.FS)/(a.GY-a.FS)):ZC._i_(t.B2.iX+t.B2.I*(a.AY-a.FS)/(a.GY-a.FS))):(t.B3.I=ZC._i_(ZC.BQ(4,t.B2.I*((e.A1-e.W)/(e.DN-e.D5)))),t.B3.iX=e.D5===e.W?e.AW?t.B2.iX+t.B2.I-t.B3.I:t.B2.iX:e.DN===e.A1?e.AW?t.B2.iX:t.B2.iX+t.B2.I-t.B3.I:e.AW?ZC._i_(t.B2.iX+t.B2.I-t.B3.I-t.B2.I*(e.W-e.D5)/(e.DN-e.D5)):ZC._i_(t.B2.iX+t.B2.I*(e.W-e.D5)/(e.DN-e.D5))),ZC.AM(t.K+"-handle")?(ZC.A5("#"+t.K+"-bar").css("top",t.B2.iY+"px"),ZC.A5("#"+t.K+"-handle").css("left",t.B3.iX+"px").css("top",t.B2.iY+"px").css(ZC._[19],ZC.BQ(15,t.B3.I)+"px"),t.paint_()):(t.AAT=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-x-bar "+t.C.K+"-scroll-x-bar",id:t.K+"-bar",wh:t.B2.I+"/"+t.B2.F,tl:t.B2.iY+"/"+t.B2.iX,opacity:0,p:h}),t.ZV=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-x-handle "+t.C.K+"-scroll-x-handle",id:t.K+"-handle",wh:ZC.BQ(15,t.B3.I)+"/"+t.B2.F,tl:t.B2.iY+"/"+(t.B3.iX-2),background:"#fff",opacity:0,p:h}),t.ZV.style.cursor="pointer",t.paint_(),t.IY||t.bind())):(t.B2.iX=c.iX-t.B2.I-1+t.BL,t.B2.iY=c.iY+t.BH,t.B2.F=c.F,t.bYX?(t.B3.F=ZC._i_(ZC.BQ(4,t.B2.F*((e.A1-e.W)/(e.DN-e.D5)))),t.B3.iY=e.D5===e.W?e.AW?t.B2.iY:t.B2.iY+t.B2.F-t.B3.F:e.DN===e.A1?e.AW?t.B2.iY+t.B2.F-t.B3.F:t.B2.iY:e.AW?ZC._i_(t.B2.iY+t.B2.F*(e.W-e.D5)/(e.DN-e.D5)):ZC._i_(t.B2.iY+t.B2.F-t.B3.F-t.B2.F*(e.W-e.D5)/(e.DN-e.D5))):(t.B3.F=ZC._i_(ZC.BQ(4,t.B2.F*((a.BD-a.AY)/(a.GY-a.FS)))),t.B3.iY=a.FS===a.AY?a.AW?t.B2.iY:t.B2.iY+t.B2.F-t.B3.F:a.GY===a.BD?a.AW?t.B2.iY+t.B2.F-t.B3.F:t.B2.iY:a.AW?ZC._i_(t.B2.iY+t.B2.F*(a.AY-a.FS)/(a.GY-a.FS)):ZC._i_(t.B2.iY+t.B2.F-t.B3.F-t.B2.F*(a.AY-a.FS)/(a.GY-a.FS))),ZC.AM(t.K+"-handle")?(ZC.A5("#"+t.K+"-bar").css("left",t.B2.iX+"px"),ZC.A5("#"+t.K+"-handle").css("top",t.B3.iY+"px").css("left",t.B2.iX+"px").css(ZC._[20],ZC.BQ(15,t.B3.F)+"px"),t.paint_()):(t.AAU=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-y-bar "+t.C.K+"-scroll-y-bar",id:t.K+"-bar",wh:t.B2.I+"/"+t.B2.F,tl:t.B2.iY+"/"+t.B2.iX,opacity:0,p:h}),t.ZW=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-y-handle "+t.C.K+"-scroll-y-handle",id:t.K+"-handle",wh:t.B2.I+"/"+ZC.BQ(15,t.B3.F),tl:t.B3.iY-2+"/"+t.B2.iX,background:"#fff",opacity:0,p:h}),t.ZW.style.cursor="pointer",t.paint_(),t.IY||t.bind()))}zoom(t){for(var e,a,c,h=this,_={graphid:h.C.K,zooming:t,scroll:!0},f=h.C.BO,m=h.C.BV("k")[0],v=h.C.BV("v")[0],E=0,w=f.length;Ea.C.P.iX+a.C.P.I&&(e.iX=a.C.P.iX+a.C.P.I-e.I),e.iXa.C.P.iY+a.C.P.F&&(e.iY=a.C.P.iY+a.C.P.F-e.F),e.iY1)&&(t.A7Q=t.H.KX.join(","),t.H.KX.push(ZC._[38],"skip_objects_tracking",ZC._[39],ZC._[40],ZC._[41]),t.H.H5)){t.H.H5.C=t.C,t.H.H5.parse();for(var _=h.target;_&&"BODY"!==_.tagName.toUpperCase()&&-1===ZC.Q.TJ(_).indexOf("zc-"+t.AF+"-handle");)_=_.parentNode;if((ZC.mobile||!(h.which>1))&&_){var f=ZC.Q.MR(h),m=ZC.A5("#"+e+"-top").offset();return"scroll-x"===t.AF||"scroll-yi"===t.AF?a=f[0]-m.left-t.B3.iX:c=f[1]-m.top-t.B3.iY,ZC.A5(document.body).bind("mousemove touchmove",t.RT),ZC.A5(document.body).bind("mouseup touchend",t.MI),t.IY=!0,!1}}},t.RT=function(h){if(t.IY){t.setScrollingFlag(!1);var _=ZC.Q.MR(h),f=ZC.A5("#"+e+"-top").offset();if("scroll-x"===t.AF||"scroll-yi"===t.AF){var m=_[0]-f.left;m-at.B2.iX+t.B2.I&&(m>t.B2.iX+t.B2.I+15&&t.overscroll("scroll-x-right"),m=t.B2.iX+t.B2.I+a-t.B3.I),t.update(m-a)}else{var v=_[1]-f.top;v-ct.B2.iY+t.B2.F&&(v>t.B2.iY+t.B2.F+15&&t.overscroll("scroll-y-bottom"),v=t.B2.iY+t.B2.F+c-t.B3.F),t.update(v-c)}}return!1},t.MI=function(h){return t.H.KX=t.A7Q.split(","),t.IY&&(ZC.A5(document.body).unbind("mousemove touchmove",t.RT),ZC.A5(document.body).unbind("mouseup touchend",t.MI),t.IY=!1,t.setScrollingFlag(!1),h&&t.zoom(!1)),!1},t.RU=function(h){t.IY=!1,t.setScrollingFlag(!1);var _=ZC.Q.MR(h),f=ZC.A5("#"+e+"-top").offset();t.update("scroll-x"===t.AF||"scroll-yi"===t.AF?_[0]-f.left>t.B3.iX?ZC.CX(t.B2.iX+t.B2.I-t.B3.I-2*t.B3.AU,t.B3.iX+(_[0]-f.left-t.B3.iX)/4):ZC.BQ(t.B2.iX,_[0]-f.left+(t.B3.iX-_[0]+f.left-t.B3.I)/4):_[1]-f.top>t.B3.iY?ZC.CX(t.B2.iY+t.B2.F-t.B3.F-2*t.B3.AU,t.B3.iY+(_[1]-f.top-t.B3.iY)/4):ZC.BQ(t.B2.iY,_[1]-f.top+(t.B3.iY-_[1]+f.top-t.B3.F)/4)),t.zoom(!1)},ZC.A5("."+t.C.K+"-"+t.sTypeE+"-handle").bind("mousedown touchstart",t.RS),ZC.A5("."+t.C.K+"-"+t.sTypeE+"-bar").bind("click",t.RU)}}class A3L extends CZ{constructor(t,e){super(t);var a=this;a.BE=t,a.IY=!1,a.Z=null,a.A7Q="",a.L0=1,a.H6=1,a.AF="scroll-"+(e||"y")}parse(){var t,e=this;e.K=e.BE.K+"-legend-"+e.AF;var a=e.BE.A.H.B8,c="("+e.BE.A.AF+")";e.B2=new I7(e.BE),a.load(e.B2.o,[c+".legend.scroll.bar",e.AF+".bar"]),null!==ZC._n_(t=e.o.bar)&&e.B2.append(t),e.B2.parse(),e.B3=new I7(e.BE),a.load(e.B3.o,[c+".legend.scroll.handle",e.AF+".handle"]),null!==ZC._n_(t=e.o.handle)&&e.B3.append(t),e.B3.parse()}paint(){var t,e=this;if(!e.IY){e.Z=ZC.AM(e.BE.A.K+"-legend-scroll-c");var a=ZC.AM(e.H.K+"-top");"scroll-y"===e.AF?(e.B2.iX=e.BE.iX+e.BE.I-e.B2.I-1,e.B2.iY=e.BE.EJ,e.B2.F=e.BE.F-(e.BE.KU?e.BE.KU.F:0)-(e.BE.EJ-e.BE.iY),t=Math.ceil(e.BE.B6.length/e.H6-e.BE.EH/e.H6)+1,e.B3.F=e.B2.F/t,e.B3.iY=e.B2.iY,0!==e.BE.D4.min&&(e.B3.iY+=e.BE.D4.min/e.H6*e.B3.F),ZC.AM(e.K+"-legend-handle")?(ZC.A5("#"+e.K+"-legend-handle").css("left",e.B2.iX+"px").css("top",e.B3.iY+"px").css(ZC._[20],e.B3.F-0*e.B3.AU+"px"),ZC.A5("#"+e.K+"-legend-bar").css("left",e.B2.iX+"px").css("top",e.B2.iY+"px"),ZC.A5("#"+e.BE.K+"-frame").css("left",e.BE.iX+"px").css("top",e.BE.EJ+"px"),e.paint_()):(e.AAU=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-y-bar "+e.BE.K+"-scroll-y-legend-bar",id:e.K+"-legend-bar",wh:e.B2.I+"/"+e.B2.F,tl:e.B2.iY+"/"+e.B2.iX,background:"#fff",opacity:0,zidx:1,p:a}),e.ZW=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-y-handle "+e.BE.K+"-scroll-y-legend-handle",id:e.K+"-legend-handle",wh:e.B2.I-0*e.B3.AU+"/"+(e.B3.F-0*e.B3.AU),tl:e.B3.iY+"/"+e.B2.iX,background:"#fff",opacity:0,zidx:1,p:a}),e.ZW.style.cursor="pointer",e.paint_())):"scroll-x"===e.AF&&(e.B2.iX=e.BE.iX,e.B2.iY=e.BE.iY+e.BE.F-e.B2.F-1,e.B2.I=e.BE.I,t=Math.ceil(e.BE.B6.length/e.L0-e.BE.EH/e.L0)+1,e.B3.I=e.B2.I/t,e.B3.iX=e.B2.iX,0!==e.BE.D4.min&&(e.B3.iX+=e.BE.D4.min/e.L0*e.B3.I),ZC.AM(e.K+"-legend-handle")?(ZC.A5("#"+e.K+"-legend-handle").css("left",e.B3.iX+"px").css("top",e.B2.iY+"px").css(ZC._[19],e.B3.I-0*e.B3.AU+"px"),ZC.A5("#"+e.K+"-legend-bar").css("left",e.B2.iX+"px").css("top",e.B2.iY+"px"),ZC.A5("#"+e.BE.K+"-frame").css("left",e.BE.iX+"px").css("top",e.BE.EJ+"px"),e.paint_()):(e.AAT=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-x-bar "+e.BE.K+"-scroll-x-legend-bar",id:e.K+"-legend-bar",wh:e.B2.I+"/"+e.B2.F,tl:e.B2.iY+"/"+e.B2.iX,background:"#fff",opacity:0,zidx:1,p:a}),e.ZV=ZC.Q.IC({cls:"zc-abs zc-scroll zc-scroll-x-handle "+e.BE.K+"-scroll-x-legend-handle",id:e.K+"-legend-handle",wh:e.B3.I-0*e.B3.AU+"/"+(e.B2.F-0*e.B3.AU),tl:e.B2.iY+"/"+e.B3.iX,background:"#fff",opacity:0,zidx:1,p:a}),e.ZV.style.cursor="pointer",e.paint_())),ZC.move||e.bind()}}paint_(){var t,e,a=this;"scroll-y"===a.AF?((t=new I7(a)).K=a.BE.K+"-scroll-y-legend-bar",t.copy(a.B2),t.Z=a.Z,t.iX=a.B2.iX,t.iY=a.B2.iY,t.I=a.B2.I,t.F=a.B2.F,t.paint(),(e=new I7(a)).K=a.BE.K+"-scroll-y-legend-handle",e.copy(a.B3),e.Z=a.Z,e.iX=a.B2.iX,e.iY=a.B3.iY,e.I=a.B3.I,e.F=a.B3.F,e.paint()):"scroll-x"===a.AF&&((t=new I7(a)).K=a.BE.K+"-scroll-x-legend-bar",t.copy(a.B2),t.Z=a.Z,t.iX=a.B2.iX,t.iY=a.B2.iY,t.I=a.B2.I,t.F=a.B2.F,t.paint(),(e=new I7(a)).K=a.BE.K+"-scroll-x-legend-handle",e.copy(a.B3),e.Z=a.Z,e.iX=a.B3.iX,e.iY=a.B2.iY,e.I=a.B3.I,e.F=a.B2.F,e.paint())}update(t){var e,a,c,h,_,f,m=this,v=m.BE;if("scroll-y"===m.AF){if(t===m.B3.iY)return;m.B3.iY=t,ZC.A5("#"+m.K+"-legend-handle").css("top",t+"px"),e=m.B3.iY-m.B2.iY,h=Math.ceil(v.B6.length/m.H6-v.EH/m.H6)+1,a=m.B2.F/h,f=m.H6}else if("scroll-x"===m.AF){if(t===m.B3.iX)return;m.B3.iX=t,ZC.A5("#"+m.K+"-legend-handle").css("left",t+"px"),e=m.B3.iX-m.B2.iX,h=Math.ceil(v.B6.length/m.L0-v.EH/m.L0)+1,a=m.B2.I/h,f=m.L0}c=Math.round(e/a),_=v.B6.length-v.EH,v.B6.length%f&&(_+=f-v.B6.length%f),v.D4.min=Math.min(c*f,_),v.D4.max=v.D4.min+v.EH,v.VI(),v.clear(!1),v.parse(),v.paint(),m.paint_()}unbind(){var t=this;ZC.A5("."+t.BE.K+"-"+t.AF+"-legend-handle").unbind("mousedown touchstart",t.RS),ZC.A5("."+t.BE.K+"-"+t.AF+"-legend-bar").unbind("click",t.RU)}bind(){var t=this,e=t.H.K,a=0,c=0;t.RS=function(h){if(h.preventDefault(),!(h.button>1)){for(var _=h.target;_&&"BODY"!==_.tagName.toUpperCase()&&-1===ZC.Q.TJ(_).indexOf("zc-"+t.AF+"-handle");)_=_.parentNode;if((ZC.mobile||!(h.which>1))&&_){var f=ZC.Q.MR(h),m=ZC.A5("#"+e+"-top").offset();return"scroll-y"===t.AF?c=f[1]-m.top-t.B3.iY:"scroll-x"===t.AF&&(a=f[0]-m.left-t.B3.iX),ZC.A5(document.body).bind("mousemove touchmove",t.RT),ZC.A5(document.body).bind("mouseup touchend",t.MI),t.IY=!0,!1}}},t.RT=function(h){if(h.preventDefault(),t.IY){var _=ZC.Q.MR(h),f=ZC.A5("#"+e+"-top").offset();if("scroll-y"===t.AF){var m=_[1]-f.top;m-ct.B2.iY+t.B2.F&&(m=t.B2.iY+t.B2.F+c-t.B3.F),t.update(m-c)}else if("scroll-x"===t.AF){var v=_[0]-f.left;v-at.B2.iX+t.B2.I&&(v=t.B2.iX+t.B2.I+a-t.B3.I),t.update(v-a)}}return!1},t.MI=function(){return t.H.KX=t.A7Q.split(","),t.IY&&(ZC.A5(document.body).unbind("mousemove touchmove",t.RT),ZC.A5(document.body).unbind("mouseup touchend",t.MI),t.IY=!1,t.bind()),!1},t.A4H=function(h){t.update((h.detail?-120*h.detail:h.wheelDelta)/120>0?ZC.BQ(t.B2.iY,t.B3.iY-t.B3.F):ZC.CX(t.B2.iY+t.B2.F-t.B3.F,t.B3.iY+t.B3.F))},t.RU=function(h){t.IY=!0;var _=ZC.Q.MR(h),f=ZC.A5("#"+e+"-top").offset();"scroll-y"===t.AF?t.update(_[1]-f.top>t.B3.iY?ZC.CX(t.B2.iY+t.B2.F-t.B3.F,t.B3.iY+t.B3.F):ZC.BQ(t.B2.iY,t.B3.iY-t.B3.F)):"scroll-x"===t.AF&&t.update(_[0]-f.left>t.B3.iX?ZC.CX(t.B2.iX+t.B2.I-t.B3.I,t.B3.iX+t.B3.I):ZC.BQ(t.B2.iX,t.B3.iX-t.B3.I)),t.IY=!1},ZC.A5("."+t.BE.K+"-"+t.AF+"-legend-handle").bind("mousedown touchstart",t.RS),ZC.A5("."+t.BE.K+"-"+t.AF+"-legend-bar").bind("click",t.RU)}}class A29 extends DV{constructor(t){super(t);var e=this;e.OQ="legend",e.B6=null,e.QH=null,e.NU="x1",e.I9="hide",e.RD="",e.Q6="",e.VC=!1,e.VN=!1,e.U2="none",e.UZ="header",e.EH=9999,e.D2=null,e.BR=null,e.ZU=null,e.A2=null,e.NZ=null,e.FQ=null,e.KU=null,e.QO=0,e.MQ=0,e.Z5=!0,e.EJ=0,e.GR=0,e.sAlign="",e.K4="",e.D4={enabled:!1,min:-1,max:-1,page:-1,pages:-1},e.MD=!1,e.NJ=!1,e.NK=-1,e.Q5=!1,e.A5L=1,e.XG=0,e.LN=!1,e.Y6=!1,e.ZB=!1,e.Y9=[]}highlightItem(t){var e,a=this,c=!1,h=ZC.move,_=a.LN;-1!==t&&(_=a.LN||a.A.AZ.A3[t].LN),a.o.item&&null!==ZC._n_(e=a.o.item["highlight-item"])&&(c=ZC._b_(e),null===ZC._n_(a.o["highlight-legend"])&&null===a.A.AZ.A3[t].o["highlight-legend"]&&(_=c)),(c||_)&&(c&&(a.E["highlight-item"]=t),_&&(a.E["highlight-legend"]=ZC._i_(t)),a.scrollTo(ZC._i_(t)),a.VI(),a.clear(!0,!1),a.Z5=!0,a.parse(),a.fixPlacement(!0),a.paint(),ZC.move=h)}scrollTo(t){var e,a,c=this,h=!1;if(c.D2)return t>=0&&(t=c.D4.max)&&(h=!0,"scroll"===c.U2?(t%(a="scroll-y"===c.D2.AF?c.D2.H6:c.D2.L0)&&(t-=t%a),c.D4.min=t,c.D4.max=t+c.EH,c.D4.max>c.B6.length&&(c.D4.min=c.B6.length-c.EH,c.B6.length%a&&(c.D4.min=c.D4.min+(a-c.B6.length%a)),c.D4.max=c.B6.length)):"page"===c.U2&&(e=Math.floor(t/c.EH),c.D4.min=e*c.EH,c.D4.max=c.D4.min+c.EH,c.D4.page=e+1)),h}parse(){var t,e,a,c,h=this;if(h.E["force-margins"]=!0,h.QO=0,h.MQ=0,null!==ZC._n_(t=h.A.A.E["graph-"+h.A.K+"-legend-info"])&&(null!==ZC._n_(t.x)&&(h.o.x=t.x-h.A.iX),null!==ZC._n_(t.y)&&(h.o.y=t.y-h.A.iY)),ZC.move)h.FQ&&h.FQ.parse(),h.KU&&h.KU.parse();else{c=h.A.H.B8;var _="("+h.A.AF+")";super.parse(),h.assign_a([["collapse","MD","b"],["minimize","VC","b"],["draggable","VN","b"],["shared","Q5","b"],["overflow","U2"],["max-items","EH","i"],["group","A5L","i"],["drag-handler","UZ"],["highlight-plot","XG","b"],["highlight-legend","LN","b"],["align","sAlign"],["vertical-align","K4"]]),h.MD&&!h.VC&&(h.MD=!1),zingchart.DEV.MEDIARULES&&(h.E["forced-align-position"]||(h.alignPosition({align:h.sAlign,"vertical-align":h.K4,layout:h.NU}),h.E["forced-align-position"]=!0)),h.XG&&null===ZC._n_(h.o["highlight-legend"])&&(h.LN=h.XG),h.BR=new DV(h),c.load(h.BR.o,_+".legend.item"),h.o.item&&null===ZC._n_(h.o.item.visible)&&(h.o.item.visible=!0),h.BR.append(h.o.item),h.BR.parse(),h.ZU=new DV(h),c.load(h.ZU.o,_+".legend.item-off"),h.o["item-off"]&&null===ZC._n_(h.o["item-off"].visible)&&(h.o["item-off"].visible=!0),h.ZU.append(h.o["item-off"]),h.ZU.parse(),h.A2=new DX(h),c.load(h.A2.o,_+".legend.marker"),h.o.marker&&null===ZC._n_(h.o.marker.visible)&&(h.o.marker.visible=!0),h.A2.append(h.o.marker),h.A2.E.type="default",h.A2.E["show-marker"]=!0,h.A2.E["show-line"]=!1,null!==ZC._n_(t=h.A2.o.type)&&(h.A2.E.type=t),null!==ZC._n_(t=h.A2.o["show-line"])&&(h.A2.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=h.BR.o["marker-style"])&&(h.A2.E.type=t),null!==ZC._n_(t=h.BR.o["show-line"])&&(h.A2.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=h.BR.o["show-marker"])&&(h.A2.o.visible=ZC._b_(t)),h.A2.parse(),h.NZ=new DX(h),c.load(h.NZ.o,_+".legend.marker-off"),h.o["marker-off"]&&(h.o["marker-off"].visible=!0),h.NZ.append(h.o["marker-off"]),h.NZ.E.type="default",h.NZ.E["show-marker"]=!0,h.NZ.E["show-line"]=!1,null!==ZC._n_(t=h.NZ.o.type)&&(h.NZ.E.type=t),null!==ZC._n_(t=h.NZ.o["show-line"])&&(h.NZ.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=h.BR.o["marker-style"])&&(h.NZ.E.type=t),null!==ZC._n_(t=h.BR.o["show-line"])&&(h.NZ.E["show-line"]=ZC._b_(t)),null!==ZC._n_(t=h.BR.o["show-marker"])&&(h.NZ.o.visible=ZC._b_(t)),h.NZ.parse(),(null!==ZC._n_(t=h.o.header)||h.VN||h.VC)&&(h.FQ=new DV(h),h.FQ.OQ="legendheader",h.FQ.GO="zc-legend-item "+h.K+"-header",h.FQ.K=h.K+"-header",c.load(h.FQ.o,_+".legend.header"),h.FQ.o.text=h.FQ.o.text||" ",h.FQ.append(t),h.FQ.parse(),h.FQ.AO||(h.FQ=null)),null!==ZC._n_(t=h.o.footer)&&(h.KU=new DV(h),h.KU.OQ="legendfooter",h.KU.GO="zc-legend-item "+h.K+"-footer",h.KU.K=h.K+"-footer",c.load(h.KU.o,_+".legend.footer"),h.KU.append(t),h.KU.parse(),h.KU.AO||(h.KU=null));var f=h.A.AZ.A3;null!==ZC._n_(t=h.o.layout)?h.NU=t:25*f.length>h.A.F&&(h.NU="x"+Math.ceil(25*f.length/h.A.F)),null!==ZC._n_(t=h.o[ZC._[54]])&&(h.I9=t),h.RD=h.Q6=h.I9,null!==ZC._n_(h.o.item)&&null!==ZC._n_(t=h.o.item[ZC._[54]])&&(h.RD=t),null!==ZC._n_(h.o.marker)&&null!==ZC._n_(t=h.o.marker[ZC._[54]])&&(h.Q6=t);var m=function(he){if(f[e]&&f[e].FK(0)){var fe=ZC.AR.OH(h.BR.o,f[e].o);he=f[e].FK(0).ET(he,fe)}return he},v=[];h.B6=[];var E=0;for(e=0,a=f.length;eh.D4.pages&&(h.D4.page=h.D4.pages,h.D4.min=(h.D4.page-1)*h.EH,h.D4.max=h.D4.page*h.EH-1),h.D4.page=ZC.CX(h.D4.page,h.D4.pages)):"scroll"===h.U2?(t=h.A.E["legend-info"])?(h.D4.min=t.min,h.D4.max=t.max,h.D4.page=t.page):(h.D4.min=0,h.D4.max=h.EH,h.D4.page=1):(h.D4.min=0,h.D4.max="hidden"===h.U2?h.EH:h.B6.length,h.D4.page=1),h.VI(!1),h.B6.sort(function(he,fe){return he.E.order-fe.E.order}),h.o["reverse-series"]&&h.B6.reverse();var M=.9*h.A.I;null!==ZC._n_(h.o[ZC._[19]])&&(M=h.I);var T=0,R=0,V=-ZC.MAX,$=-ZC.MAX,y=h.A2.E["show-line"]?3:2,U=0,O=1,Q=1;if("float"===h.NU){for(e=0,a=h.B6.length;e=h.D4.max||h.NJ)&&h.B6[e].AO){var W=h.B6[e].I+h.B6[e].DY+h.B6[e].E6+y*h.B6[e].DG;$=ZC.BQ($,h.B6[e].F+h.B6[e].E7+h.B6[e].DR),T+W>M?(V=ZC.BQ(V,T),R+=$,T=W,$=ZC.BQ($,h.B6[e].F+h.B6[e].E7+h.B6[e].DR)):T+=W}V=ZC.BQ(V,T),$!==-ZC.MAX&&(R+=$),V!==-ZC.MAX&&(T=V)}else{var ae=0;for(e=0,a=h.B6.length;e=h.D4.max||h.NJ||(ae+=h.B6[e].AO?1:0);var ee=ZC.AP.A2Y(h.NU,ae);for(O=ee[0],Q=ee[1],e=0,a=h.B6.length;e=h.D4.max||h.NJ)&&("scroll"!==h.U2||U<=h.EH)||h.B6[e].AO&&(V=ZC.BQ(V,h.B6[e].I+h.B6[e].DY+h.B6[e].E6+y*h.B6[e].DG),$=ZC.BQ($,h.B6[e].F+h.B6[e].E7+h.B6[e].DR),1===Q&&(R+=h.B6[e].F+h.B6[e].E7+h.B6[e].DR));T=Q*V,R=O*$}if("page"===h.U2&&U>h.EH&&(h.D4.enabled=!0),"scroll"===h.U2&&U>h.EH&&(h.D2||(!O||O>Q?(h.D2=new A3L(h,"y"),c.load(h.D2.o,".scroll-y")):(h.D2=new A3L(h,"x"),c.load(h.D2.o,".scroll-x")),h.D2.append(h.o.scroll),h.D2.L0=O,h.D2.H6=Q,h.D2.parse()),h.NJ||("scroll-y"===h.D2.AF?T+=h.D2.B2.I:R+=h.D2.B2.F)),h.FQ){var ne=h.FQ.I;h.VN&&"icon"===h.UZ?(ne+=15,h.VC&&(ne+=25)):h.VC&&(ne+=15),T=ZC.BQ(T,ne)}h.KU&&(T=ZC.BQ(T,h.KU.I));var oe=!1,te=!1;if(null===ZC._n_(h.o[ZC._[19]])&&(h.o[ZC._[19]]=T,oe=!0),null===ZC._n_(h.o[ZC._[20]])&&(h.o[ZC._[20]]=R,te=!0),h.iX=-1,h.iY=-1,!ZC.move&&h.FQ&&null!==ZC._n_(t=h.A.A.E["legend"+h.A.L+"-xy-ratio"])){h.locate();var le=h.I+h.EP+h.FP,ce=h.F+h.FO+h.FX,Ce=h.Q5?h.A.A:h.A;h.iX=Ce.I*t[0],h.iX=ZC.BQ(h.iX,1.1),h.o.x=h.iX=ZC.CX(h.iX,Ce.I-le-2),h.iY=(Ce.F-h.FQ.F)*t[1],h.iY=ZC.BQ(h.iY,1.1),h.o.y=h.iY=ZC.CX(h.iY,Ce.F-ce-h.FQ.F-2)}if(h.locate(),null!==ZC._n_(h.o.position)&&typeof h.E["position-info"]!==ZC._[31]?(h.E["position-info"][0]>.5&&(h.QO+=h.EP+h.FP),h.E["position-info"][1]>.5?h.MQ+=h.FO+h.FX:(h.FQ&&(h.MQ-=h.FQ.F),h.KU&&(h.MQ-=h.KU.F),h.D4&&h.D4.enabled&&(h.MQ-=20))):((0===h.A.iX||h.iX+h.I/2>h.A.iX+h.A.I/2)&&(h.QO+=h.EP+h.FP),(0===h.A.iY||h.iY+h.F/2>h.A.iY+h.A.F/2)&&(h.MQ+=h.FO+h.FX)),!ZC.move&&(t=h.A.A.E["graph-"+h.A.K+"-legend-info"])&&(t.x&&(h.iX=t.x),t.y&&(h.iY=t.y)),h.GR=h.F,h.EJ=h.iY,h.FQ&&(h.F+=h.FQ.F,h.EJ+=h.FQ.F,h.MQ+=h.FQ.F),h.KU&&(h.F+=h.KU.F,h.MQ+=h.KU.F),h.D4.enabled&&!h.NJ){var se=new DV(h);se.AN=" ",se.append(h.o["page-status"]),null!==ZC._n_(se.o.text)&&""!==se.o.text||(se.o.text="#"),se.parse(),h.F+=se.F+4,h.MQ+=se.F+4}oe&&(h.o[ZC._[19]]=null),te&&(h.o[ZC._[20]]=null),h.NJ||(h.I+=h.EP+h.FP,h.F+=h.FO+h.FX),h.E["default-width"]&&(h.I=h.E["default-width"])}}alignPosition(t){var e=this;if(null!==ZC._n_(t)){var a=e.A.H.B8.B8.graph.legend,c=t.align||a.align,h=t["vertical-align"]||a["vertical-align"],_=t.layout||a.layout;(c||h)&&("center"===c?(null===ZC._n_(e.o.layout)&&(_=e.o.layout="horizontal"),e.o.position="50% "):e.o.position="left"===c?"0% ":"100% ",e.o.position+="middle"===h?"50%":"bottom"===h?"100%":"0%","horizontal"!==_&&"middle"!==h||(e.o["adjust-layout"]=!0))}}VI(t){var e=this;typeof t===ZC._[31]&&(t=!0),e.A.E["legend-info"]={collapsed:e.NJ,min:e.D4.min,max:e.D4.max,page:e.D4.page},t&&(e.A.A.E["graph-"+e.A.K+"-legend-info"]={x:e.iX,y:e.iY})}clear(t,e){null===ZC._n_(t)&&(t=!1),null===ZC._n_(e)&&(e=!1);var a=this,c=a.A.K+"-legend-",h=null;ZC.A5("."+c+"item",h).remove(),ZC.A5("."+c+"header",h).remove(),ZC.A5("."+c+"footer",h).remove(),ZC.A5("#"+c+"page-status",h).remove(),t&&!e||(ZC.move||a.unbind(),ZC.A5("."+c+"page-area",h).remove(),ZC.A5("."+c+"header-area",h).remove(),ZC.A5("."+c+"item-area",h).remove(),ZC.A5("."+c+"marker-area",h).remove()),ZC.move?ZC.Q.IV(ZC.AM(c+"c"),a.A.H.AC,a.A.iX,a.A.iY,a.A.I,a.A.F):ZC.Q.IV(ZC.AM(c+"c"),a.A.H.AC,a.iX-2*a.AU-2*a.K1,a.iY-2*a.AU-2*a.K1,a.I+4*a.AU+4*a.K1,a.F+4*a.AU+4*a.K1),a.D2&&ZC.Q.IV(ZC.AM(c+"scroll-c"),a.A.H.AC,a.A.iX,a.A.iY,a.A.I,a.A.F)}unbind(){var t=this;ZC.A5("#"+t.K+"-frame").die(ZC.Q.BY("mouseover"),t.zc_legend_mouseover).die(ZC.Q.BY("mouseout"),t.zc_legend_mouseout),ZC.A5("#"+t.K+"-move-area").die(ZC.Q.BY(ZC._[47]),t.ZQ),ZC.A5("#"+t.K+"-minimize-area").die(ZC.Q.BY("click"),t.YM),ZC.A5("."+t.K+"-page-area").die(ZC.Q.BY("click"),t.ZJ),t.D2&&t.D2.unbind(),t.BR&&t.BR.o.reorder&&ZC.A5("."+t.A.K+"-legend-item-area").die(ZC._[47],t.WU)}fixPlacement(t){var e=this;if(e.Z5&&null===ZC._n_(e.o.y)||t){if(!e.o.position&&t||(e.iX-=e.QO),e.iX=y.D4.max||y.NJ||(Q+=y.B6[f].AO?1:0);y.A5J=!0,super.paint(),y.FQ&&(y.FQ.iX=y.iX,y.FQ.iY=y.iY,y.FQ.I=y.I,y.FQ.Z=y.FQ.C7=y.Z,y.FQ.paint(),ZC.move||"canvas"!==y.A.A.AC&&y.FQ.ED(),y.VN&&"icon"===y.UZ&&((c=new DX(y)).Z=y.Z,c.B7="#000",c.B1=1,c.DS="line",c.append(y.o.icon),c.D=[[(h=y.FQ.iX+y.FQ.I-10)-7,_=y.FQ.iY+y.FQ.F/2],[h+7,_],null,[h,_-7],[h,_+7],null,[h-6,_-1],[h-6,_+1],null,[h-5,_-2],[h-5,_+2],null,[h+6,_-1],[h+6,_+1],null,[h+5,_-2],[h+5,_+2],null,[h-1,_-6],[h+1,_-6],null,[h-2,_-5],[h+2,_-5],null,[h-1,_+6],[h+1,_+6],null,[h-2,_+5],[h+2,_+5]],c.parse(),c.paint()),y.VC&&((a=new DX(y)).Z=y.Z,a.B7=ZC.AR.AAR(y.A0,"#fff","#000"),a.B1=1,a.append(y.o.icon),a.DS="line",a.D=[[(h=y.FQ.iX+y.FQ.I-10-(y.VN&&"icon"===y.UZ?20:0))-7,(_=y.FQ.iY+y.FQ.F/2)-2],[h+2,_-2],[h+2,_+7],[h-7,_+7],[h-7,_-2],[h+2,_-2],null,[h-4,_-5],[h+5,_-5],[h+5,_+4],[h-4,_+4],[h-4,_-5],[h+5,_-5]],a.parse(),a.paint())),y.KU&&(y.KU.iX=y.iX,y.KU.iY=y.iY+y.F-y.KU.F,y.KU.I=y.I,y.KU.Z=y.KU.C7=y.Z,y.KU.paint(),ZC.move||"canvas"!==y.A.A.AC&&y.KU.ED());var W=ZC.AP.A2Y(y.NU,Q),ee=W[1],ne=y.I/ee,oe=y.GR/W[0],te=0,le=0;y.QH=[];var ce,Ce=0,se=-ZC.MAX,he=y.A2.E["show-line"]?3:2,fe=null,ie=function(Pe){var Qe=Pe;if(null===ZC._n_(t)&&(t=0),O[ce]&&O[ce].R[t]){var Ae=ZC.AR.OH(y.BR.o,O[ce].o);Pe=O[ce].FK(t).ET(Pe,Ae)}return y.Y6=y.Y6||Pe!==Qe,Pe},De=0;for(y.Y6=!1,f=0,m=y.B6.length;f=y.D4.max||y.NJ)){var ge=new DV(y);ge.copy(y.B6[f]),y.E["highlight-legend"]===f&&(ge.append({bold:!0}),null!==ZC._n_(y.o.item)&&ge.append(y.o.item["highlight-state"])),ce=ge.E.index;var me=new DV(y);me.OQ="legenditem",me.K=y.K+"-item_"+ce,me.GO="zc-legend-item "+y.K+"-item",me.copy(ge),y.A.E["plot"+ce+".visible"]&&"off"!==O[ce].o["legend-status"]||me.append(y.ZU.o),me.append(O[ce].o["legend-item"]),me.ET=ie,me.parse(),me.AO?("float"===y.NU?(se=ZC.BQ(se,ge.F),null===ZC._n_(fe)?(ge.iX=y.iX+y.EP+ge.DY+he*ge.DG,ge.iY=y.EJ+y.FO+ge.E7,Ce=y.EJ):(ge.iX=fe.iX+fe.I+fe.E6+ge.DY+he*ge.DG,ZC._i_(ge.iX+ge.I+ge.E6)>ZC._i_(y.iX+y.I)&&(ge.iX=y.iX+y.EP+ge.DY+he*ge.DG,Ce+=se+ge.E7+ge.DR,se=-ZC.MAX),ge.iY=Ce+y.FO+ge.E7)):(ge.iX=y.iX+(0===le?y.EP:0)+le*ne+ge.DY+he*ge.DG,ge.iY=y.EJ+y.FO+te*oe+ge.E7,++le===ee&&(le=0,te++)),fe=ge,me.iX=ge.iX=ZC._i_(ge.iX),me.iY=ge.iY=ZC._i_(ge.iY),me.Z=me.C7=y.Z,me.iX+=y.BL,me.iY+=y.BH,ce===y.NK&&(y.E["calculate-y"]&&(y.E["calculate-y"]=!1,y.E["dragged-offset-y"]=y.E["dragged-y"]-me.iY),me.iY=y.E["dragged-y"]-y.E["dragged-offset-y"]-me.DG/4),me.paint(),typeof y.E.showhide!==ZC._[31]&&null!==ZC._n_(y.E.showhide)||ZC.move||("canvas"!==y.A.A.AC?me.ED():y.Y9.push(me))):De++;var Ze=y.A2.E.type;null!==ZC._n_(e=O[ce].o["legend-marker"])&&null!==ZC._n_(e.type)&&(Ze=e.type);var pe,ve=!1;switch("match"!==Ze&&"inherit"!==Ze||(ve=!0,Ze=null!==ZC._n_(e=O[ce].A2.o.type)?e:"default"),-1!==ZC.AV(["default","square"],Ze)?pe=new I7(y):(pe=new DX(y)).DS=Ze,pe.OQ="legendmarker",pe.append(y.A2.o),y.A.E["plot"+ce+".visible"]&&"off"!==O[ce].o["legend-status"]||pe.append(y.NZ.o),pe.NI=O[ce].NI,O[ce].AF){case"pie":case"pie3d":case"nestedpie":case"vbar":case"vbar3d":case"hbar":case"hbar3d":case"vbullet":case"hbullet":case"area":case"area3d":case"gauge":case"vfunnel":case"hfunnel":case"venn":pe.A0=O[ce].A0,pe.AE=O[ce].AE,pe.GV=O[ce].GV,pe.HV=O[ce].HV;break;case"scatter":case"hscatter":case"bubble":case"hbubble":pe.A0="-1"!==O[ce].A2.A0?O[ce].A2.A0:O[ce].A0,pe.AE="-1"!==O[ce].A2.AE?O[ce].A2.AE:O[ce].AE,pe.GV=""!==O[ce].A2.GV?O[ce].A2.GV:O[ce].GV,pe.HV=""!==O[ce].A2.HV?O[ce].A2.HV:O[ce].HV;break;default:pe.A0=O[ce].B7,pe.AE=O[ce].B7}"line"!==pe.DS&&"area"!==pe.DS||(pe.B7=pe.A0,pe.B1=2),ve&&pe.append(O[ce].A2.o),pe.o["line-style"]="solid",pe.o.type=pe.DS,pe.append(O[ce].o["legend-marker"]),ve&&(pe.o.type=pe.DS),pe.E["show-marker"]=!0,pe.E["show-line"]=!1,null!==ZC._n_(e=pe.o["show-line"])&&(pe.E["show-line"]=ZC._b_(e)),null!==ZC._n_(e=me.o["show-line"])&&(pe.E["show-line"]=ZC._b_(e)),null!==ZC._n_(e=me.o["show-marker"])&&(pe.o.visible=ZC._b_(e)),-1!==ZC.AV(["default","square"],Ze)&&null!==ZC._n_(e=pe.o[ZC._[21]])&&(null===ZC._n_(pe.o[ZC._[19]])&&(pe.o[ZC._[19]]=2*ZC._i_(e)),null===ZC._n_(pe.o[ZC._[20]])&&(pe.o[ZC._[20]]=2*ZC._i_(e))),pe.K=y.K+"-marker_"+ce,pe.Z=pe.C7=y.Z,pe.iX=me.iX-he*me.DG+(he-1)*me.DG/2+me.DG/2,pe.iY=me.iY+(me.F-me.DG)/2+me.DG/2,pe.parse(),y.E["highlight-legend"]===f&&(pe.append({size:pe.AI+1,width:pe.I+2,height:pe.F+2}),O[ce]&&O[ce].R[t]&&O[ce].R[t].GL&&pe.append({A0:O[ce].R[t].GL.A0,AE:O[ce].R[t].GL.AE}),null!==ZC._n_(y.o.marker)&&pe.append(y.o.marker["highlight-state"]),pe.parse()),"line"===pe.DS?(pe.o.points=[[pe.iX-1.75*pe.AI,pe.iY],[pe.iX+1.75*pe.AI,pe.iY]],pe.parse()):"area"===pe.DS&&(pe.o.points=[[pe.iX-1.75*pe.AI,pe.iY+pe.AI],[pe.iX+1.75*pe.AI,pe.iY+pe.AI],[pe.iX+1*pe.AI,pe.iY-pe.AI/2],[pe.iX,pe.iY],[pe.iX-1.25*pe.AI,pe.iY-pe.AI],[pe.iX-1.75*pe.AI,pe.iY+pe.AI]],pe.parse());var ke=pe.iX+pe.BL,de=pe.iY+pe.BH;if(-1!==ZC.AV(["default","square"],Ze)&&(pe.iX-=pe.I/2,pe.iY-=pe.F/2),y.A.E["plot"+ce+".visible"]&&"off"!==O[ce].o["legend-status"]||(pe.C5/=4),me.AO&&pe.E["show-line"]){var Oe=ZC.Q.EA(y.Z,y.A.H.AC),Fe=new CZ(y);Fe.Z=y.Z,Fe.copy(O[ce]),Fe.o["line-style"]=y.A2.GF,Fe.append(O[ce].o),Fe.append(y.A2.o),Fe.append(O[ce].o["legend-item"]),Fe.append(O[ce].o["legend-marker"]),Fe.o["top-state"]=null,Fe.o["bottom-state"]=null,Fe.parse(),y.A.E["plot"+ce+".visible"]||(Fe.C5=.25);var be=[],Se=pe.AO?2:1;be.push([ke-Se*(v="box"===pe.DS?pe.I/2:pe.AI)-(Fe.B1>1?1:0),de-(Fe.B1>1?.5:0)]),be.push([ke+Se*v,de-(Fe.B1>1?.5:0)]),Fe.CY=!0,ZC.CQ.paint(Oe,Fe,be)}ce===y.NK&&(pe.iY=y.E["dragged-y"]-y.E["dragged-offset-y"]/2),pe.AO&&me.AO&&pe.paint(),y.QH.push(pe);var xe=!0;if(null!==ZC._n_(e=y.BR.o.toggle)&&(xe=ZC._b_(e)),y.E["item.toggle"]=xe,me.AO||pe.AO){if(-1===ZC.AV(y.A.H.KX,ZC._[41])){var we=pe.BL+("box"===pe.DS?pe.iX+pe.I/2:pe.iX),Re=pe.BH+("box"===pe.DS?pe.iY+pe.F/2:pe.iY);E="box"===pe.DS?pe.F/2:pe.AI;var Ie=(pe.E["show-line"]?2:1)*(v="box"===pe.DS?pe.I/2:pe.AI);ZC.AM(me.K+"-area")||(pe.AO&&"disabled"!==y.Q6&&"disabled"!==pe.o[ZC._[54]]&&(ZC.AM(pe.K+"-area")||ZC.Q.IC({cls:y.K+"-marker-area zc-legend-marker-area zc-abs",id:pe.K+"-area",wh:2*Ie+"/"+2*E,tl:Re-E+"/"+(we-Ie),opacity:0,background:"#fff",cursor:pe.IT,p:U,zidx:1})),me.AO&&"disabled"!==y.RD&&"disabled"!==me.o[ZC._[54]]&&(ZC.AM(me.K+"-area")||ZC.Q.IC({cls:y.K+"-item-area zc-legend-item-area zc-abs",id:me.K+"-area",wh:me.I+"/"+me.F,tl:me.iY+me.BH+"/"+(me.iX+me.BL),opacity:0,background:"#fff",cursor:me.IT,p:U,zidx:1})))}}else O[f].bShowInLegend=!1}if(y.D2&&!y.NJ&&(y.D2.paint(),ZC.AM(y.K+"-scroll-c").style.display="block"),y.D2&&y.NJ&&(ZC.AM(y.K+"-scroll-c").style.display="none"),y.D4.enabled&&!y.NJ){var Ne=new DV(y);Ne.Z=Ne.C7=y.Z,Ne.K=y.K+"-page-status",Ne.AN=ZC.HI["legend-pagination"].replace("%page%",y.D4.page).replace("%pages%",y.D4.pages),Ne.append(y.o["page-status"]),Ne.parse(),y.I1?Ve[ZC._[0]]:ze[ZC._[0]],D.append(y.D4.page>1?y.o["page-on"]:y.o["page-off"]),w=y.iX+y.I/2-Ne.I/2-6,M=Ne.iY+Ne.F/2,D.parse(),D.AI=ZC.BQ(D.AI,8),$=ZC._i_(.75*D.AI),D.D=[[w,M-$],[w,M+$],[w-D.AI,M],[w,M-$]],D.parse(),D.AO&&D.paint(),(R=new DX(y)).Z=R.C7=y.Z,R.K=y.K+"-page-next",R.A0=R.AE=y.D4.page1&&ZC.Q.IC({cls:y.K+"-page-area zc-legend-page-area zc-abs",id:y.K+"-page-prev-area",wh:D.AI+"/"+2*D.AI,tl:ZC._i_(M+D.BH-D.AI)+"/"+ZC._i_(w+D.BL-D.AI),opacity:0,p:U,zidx:1}),y.D4.page1)){y.A.A.E["graph-"+y.A.K+"-legend-info"]=null;var Qe=ZC.Q.MR(Pe),Ae=ZC.A5("#"+y.A.A.K+"-top").offset();y.P7=Qe[0]-Ae.left-y.FQ.iX,y.A0G=Qe[1]-Ae.top-y.FQ.iY,y.oldcursor=document.body.style.cursor,document.body.style.cursor="move",ZC.A5(document.body).bind(ZC.Q.BY(ZC._[48]),y.ZR),ZC.A5(document.body).bind(ZC.Q.BY(ZC._[49]),y.A19)}},y.ZR=function(Pe){var Qe=ZC.Q.MR(Pe),Ae=ZC.A5("#"+y.A.A.K+"-top").offset(),He=Qe[0]-Ae.left-y.P7,Me=Qe[1]-Ae.top-y.A0G;if(y.Q5?(He=ZC.BQ(He,y.H.iX+2),He=ZC.CX(He,y.H.iX+y.H.I-y.I-2),Me=ZC.BQ(Me,y.H.iY+2),Me=ZC.CX(Me,y.H.iY+y.H.F-y.F-4)):(He=ZC.BQ(He,y.A.iX+2),He=ZC.CX(He,y.A.iX+y.A.I-y.I-2),Me=ZC.BQ(Me,y.A.iY+2),Me=ZC.CX(Me,y.A.iY+y.A.F-y.F-4)),y.Q5||(He-=y.A.iX,Me-=y.A.iY),y.o.x=He,y.o.y=Me,y.o.position=null,y.clear(!0),y.parse(),y.paint(),y.FQ){var at=y.Q5?y.A.A:y.A;y.A.A.E["legend"+y.A.L+"-xy-ratio"]=[He/at.I,Me/(at.F-y.FQ.F)]}},y.A19=function(){ZC.move=!1,document.body.style.cursor=y.oldcursor,delete y.oldcursor,ZC.A5(document.body).unbind(ZC.Q.BY(ZC._[48]),y.ZR),ZC.A5(document.body).unbind(ZC.Q.BY(ZC._[49]),y.A19),y.Y9=[],y.clear(!1),y.parse(),y.paint(),y.VI()},y.ZJ=function(Pe){y.E["default-width"]=null,-1!==(Pe.targetid||Pe.target.id).indexOf("-page-next-area")?(y.D4.min+=y.EH,y.D4.max+=y.EH,y.D4.page+=1):(y.D4.min-=y.EH,y.D4.max-=y.EH,y.D4.page-=1),(!(e=y.A.A.E["graph-"+y.A.K+"-legend-info"])||null===ZC._n_(e.x)&&null===ZC._n_(e.y))&&(y.iX=null,y.iY=null),y.VI(),y.A.K0()},y.YM=function(Pe){var Qe=y.NJ?"legendmaximize":"legendminimize";Pe&&(y.A.A.E["legend-toggling"]=1),zingchart.exec(y.A.H.K,Qe,{graphid:y.A.L}),Pe&&(y.A.A.E["legend-toggling"]=0),Pe&&(y.A.A.E["g"+y.A.L+"-legend-collapsed"]="legendminimize"===Qe)},y.N3=function(Pe){ZC.move=!0;var Qe=ZC.Q.MR(Pe),Ae=ZC.A5("#"+y.A.A.K+"-top").offset(),Me=Qe[1]-Ae.top;y.E["dragged-x"]=Qe[0]-Ae.left,y.E["dragged-y"]=Me,y.VI(),y.clear(!1),y.parse(),y.paint()},y.WU=function(Pe){if(Pe.preventDefault(),y.H.hideCM(),y.IT=document.body.style.cursor,document.body.style.cursor="move",ZC.mobile||!(Pe.which>1)){var Qe=new RegExp("-legend-item_([0-9]+)-area","g").exec(Pe.target.id);Qe&&(y.E["dragged-offset-y"]=0,y.E["calculate-y"]=!0,y.E["dragged-x"]=0,y.E["dragged-y"]=0,y.NK=ZC._i_(Qe[1]),y.iDragPos=ZC.AV(y.A.AZ.MH,y.NK),ZC.A5(document.body).bind(ZC.Q.BY(ZC._[48]),y.N3),ZC.A5(document.body).bind(ZC.Q.BY(ZC._[49]),y.XW))}},y.XW=function(){var Pe=y.NK,Qe=y.iDragPos;if(y.NK=-1,y.iDragPos=-1,y.E["calculate-y"]=!1,document.body.style.cursor=y.IT,ZC.move||(Pe=-1,Qe=-1),ZC.A5(document.body).unbind(ZC.Q.BY(ZC._[48]),y.N3),ZC.A5(document.body).unbind(ZC.Q.BY(ZC._[49]),y.XW),ZC.move&&-1!==Pe){for(var Ae=y.A.AZ.A3,He=y.A.AZ.MH,Me=0,at=Ae.length;Mey.QH[et].iY&&(ot=et);for(Ae[Pe].o["legend-item"].order=-1===ot?.5:Ae[He[ot]].o["legend-item"].order+.5,et=0,rt=y.QH.length;etQe?Ae[et].o["legend-item"].order$e&&Ae[et].o["legend-item"].order--:Ae[et].o["legend-item"].order>Ae[Pe].o["legend-item"].order&&Ae[et].o["legend-item"].order<$e&&Ae[et].o["legend-item"].order++;for(Ae[Pe].o["legend-item"].order=ot>Qe?Math.floor(Ae[Pe].o["legend-item"].order):Math.ceil(Ae[Pe].o["legend-item"].order),et=0,rt=y.QH.length;et=y.left&&ZC.E1[0]<=y.left+zingchart.IA[R].I*$[0]&&ZC.E1[1]>=y.top&&ZC.E1[1]<=y.top+zingchart.IA[R].F*$[1]&&(T=!1)}else window.clearInterval(e.Z2);T&&(M(),KF.GUIDES&&KF.GUIDES[a]&&KF.GUIDES[a].active&&(ZC.AR.C1("guide_mouseout",e.H,e.H.F5()),KF.GUIDES[a].active=!1))},500)),e.QQ=function(T){if(zingchart.GUIDE_EV=T,!T.target.id||-1===T.target.id.indexOf("-menu-item-")){var R,V,$,y,U,O,Q,W,ae,ee,ne,oe,te,le,ce,Ce,se,he,fe,ie,De,ge,me,Ze,pe,ve,ke;for(ZC,ZC,R=0;R0){e.SF=!0;for(var lt=!1,Ee=0,nt=de.length;Ee"),null!==ZC._n_(W.o["footer-text"])&&""===at&&(at=Q.ET(W.o["footer-text"],ne)+"
")),W.AO&&""!==W.AN&&(ZC._b_(W.o["single-text"])?Mn.push(Q.ET(W.AN,ne)):Mn.push(Q.ET(W.AN,ne)+"
"))),W.E.pos=Ae.length,W.E["node-value"]=Q.AD,W.E["marker-x"]=Ce,W.E["marker-y"]=se,W.E["guide-style"]=Q.A04(),Li){default:null===ZC._n_(W.o.x)?tt.CJ?Q.iY<=U.iY+U.F/2?(W.iY=se-W.F-Ze,W.EM="bottom"):(W.iY=se+Ze,W.EM="top"):Q.iX>=U.iX+U.I/2?(W.iX=Ce-W.I-Ze,W.EM="right"):(W.iX=Ce+Ze,W.EM="left"):W.iX-=U.iX,null===ZC._n_(W.o.y)?tt.CJ?(W.iX=Ce-W.I/2,W.iXU.iX+U.I&&(W.iX=U.iX+U.I-W.I)):(W.iY=se-W.F/2,W.iYU.iY+U.F&&(W.iY=U.iY+U.F-W.F)):W.iY-=U.iY,W.DL=[Ce,se];break;case"left":W.iX=Ce-W.I-Ze,W.iY=se-W.F/2,W.DL=[Ce,se];break;case"right":W.iX=Ce+Ze,W.iY=se-W.F/2,W.DL=[Ce,se];break;case"top":tt.CJ?(W.iX=U.iX+U.I-W.I,W.iY=se-W.F/2,W.EM="left",W.DL=[U.iX+U.I-W.I-Ze,se]):(W.iX=Ce-W.I/2,W.iY=U.iY,W.EM="bottom",W.DL=[Ce,W.iY+W.F+Ze]);break;case"node-top":tt.CJ?(W.iX=Ce+2*Ze,W.iY=se-W.F/2,W.EM="left",W.DL=[Ce+Ze,se]):(W.iX=Ce-W.I/2,W.iY=se-W.F-2*Ze,W.EM="bottom",W.DL=[Ce,se-Ze]);break;case"bottom":tt.CJ?(W.iX=U.iX,W.iY=se-W.F/2,W.EM="right",W.DL=[U.iX+W.I+Ze,se]):(W.iX=Ce-W.I/2,W.iY=U.iY+U.F-W.F,W.EM="top",W.DL=[Ce,W.iY-Ze])}Qe.push({plotindex:Q.A.L,nodeindex:Q.L,keyvalue:Q.BW||tt.V[Q.L],value:Q.AD,text:W.AN,x:W.iX,y:W.iY,refx:Ce,refy:se}),-1===ZC.AV(He,W.AN)&&(v[W]=Q,He.push(W.AN)),W.E.diff=tt.CJ?Mt||-1!==hn?ZC._a_(se-y):-1:Mt||-1!==hn?ZC._a_(Ce-$):-1,W.AO&&Ae.push(W),f[Ee][R]=W,Ge=!0}}if(!Q)continue}if(de[Ee].CW&&ZC.DM(Q.iX,U.iX-1,U.iX+U.I+1)){if((ee=new DV(tt)).Z=ee.C7=c,ee.K=de[Ee].K+"-guide-scale-x-label-"+R,ee.GO=de[Ee].A.K+"-guide-label "+de[Ee].K+"-guide-label zc-guide-label",ee.A0=ee.AE=tt.B7,ee.C2=de[Ee].AJ["3d"]?"#999":"#fff",ee.append(de[Ee].CW.o["scale-label"]),ee.append(de[Ee].CW.o[tt.BI+"-label"]),ee.append(de[Ee].AZ.A3[R].o["scale-label"]),ee.KY=!0,ee.E.nodeidx=Q.L,ne=ZC.AR.OH(ee.o),null===ZC._n_(ne[ZC._[12]])){var Nr=Math.floor(ZC.FU(null!==Q.BW?Q.BW:Q.L,10));ne[ZC._[12]]=Nr<0?1-Nr:0}if(ee.ET=function(ln){ln=tt.ET(ln,O,tt.EG&&de[Ee].AZ.A3[R].EG?de[Ee].AZ.A3[R]:null,ne,!0);var gi=de[Ee].AZ.A3[R].K7;if(Q&&gi)for(var Kt in gi){var pt;pt=gi[Kt]instanceof Array?ZC._c_(gi[Kt][Q.L],""):ZC._c_(gi[Kt],""),ln=ln.replace("%data-"+Kt,pt,"g")}return ln},ee.parse(),Ze=null!==ZC._n_(ee.o.distance)?ZC._i_(ee.o.distance):6,ee.E5&&ee.E5.length&&(ee.IX=function(ln){return Q?Q.ET(ln,ne):ln.replace(/(%i)|(%node-index)/g,O)},ee.DC()&&ee.parse()),ee.I4&&Q&&(ee.GN(ee,ee,null,Q.LO(null,!1),ee.MV),ee.parse()),It[tt.BI]=ee.AN,On=ZC._b_(ee.o["callout-position"]),An=ee.o.x,Zn=ee.o.y,"opposite"!==tt.BA?tt.CJ?($t="right",wt=tt.E.iX-ee.I-Ze,Jt=[tt.E.iX,te],Ln=te-ee.F/2):($t="top",wt=oe-ee.I/2,Jt=[oe,tt.E.iY],Ln=tt.E.iY+Ze):tt.CJ?($t="left",wt=tt.E.iX+Ze,Jt=[tt.E.iX,te],Ln=te-ee.F/2):($t="bottom",wt=oe-ee.I/2,Jt=[oe,tt.E.iY],Ln=tt.E.iY-ee.F-Ze),On||(ee.EM=$t),An||(ee.iX=wt),On||An||Zn||(ee.DL=Jt),Zn||(ee.iY=Ln),ee.AO&&tt.AO&&""!==ee.AN){var Ti=!1;if(Ht.length)for(var Ci=0;Ci0&&Un<=1&&(de[Ee].CW.B1=ZC._i_(Un*tt.AB)),tt.CJ?((-1===ce[0]||ce[1]>ZC._a_(te-y))&&(ce=[te,ZC._a_(te-y)]),$e.push([Mt||-1!==hn?ZC._a_(te-y):-1,[null,[tt.E.iX,te],[de[Ee].P.iX+("opposite"===tt.BA?0:de[Ee].P.I),te]]])):((-1===le[0]||le[1]>ZC._a_(oe-$))&&(le=[oe,ZC._a_(oe-$)]),$e.push([Mt||-1!==hn?ZC._a_(oe-$):-1,[null,[oe,tt.E.iY],[oe,de[Ee].P.iY+("opposite"===tt.BA?de[Ee].P.F:0)]]]))}if(ut=de[Ee].BK(de[Ee].AZ.A3[R].BV("v")[0]),-1===ZC.AV(rt,ut.BI)&&de[Ee].HF&&("xy"===de[Ee].AJ.layout&&ZC.DM(y,ut.iY,ut.iY+ut.F)||"yx"===de[Ee].AJ.layout&&ZC.DM(y,ut.iX,ut.iX+ut.I))){var eo="single";de[Ee].HF.o.type&&"multiple"===de[Ee].HF.o.type&&(eo="multiple"),"multiple"===eo&&null!==ZC._n_(Bt[R])&&(ut.CJ?$=Bt[R].x:y=Bt[R].y),(ee=new DV(ut)).Z=ee.C7=c,ee.K=de[Ee].K+"-guide-scale-y-label-"+R,ee.GO=de[Ee].A.K+"-guide-label "+de[Ee].K+"-guide-label zc-guide-label";var yr=ut.B7;"multiple"===eo&&(yr=de[Ee].AZ.A3[R].B7),ee.A0=ee.AE=yr,ee.C2=de[Ee].AJ["3d"]&&"multiple"!==eo?"#999":"#fff",ee.append(de[Ee].HF.o["scale-label"]),ee.append(de[Ee].HF.o[ut.BI+"-label"]),ee.KY=!0;var Ai=ut.L4(ut.CJ?$:y,!0),wn=Ai;ne=ut.LZ(),ZC._cp_(ZC.AR.OH(ee.o,ut.o),ne),null===ZC._n_(ne[ZC._[12]])&&(Nr=Math.floor(ZC.FU(Ai,10)),ne[ZC._[12]]=Nr<=0?1-Nr:0),Ai=ut.FD(0,Ai,ne),ee.o.text=Ai,ee.parse(),Ze=null!==ZC._n_(ee.o.distance)?ZC._i_(ee.o.distance):6,ee.E5&&ee.E5.length&&(ee.IX=function(ln){return ln.replace(/(%v)|(%scale-value)/g,wn).replace(/(%t)|(%scale-text)/g,Ai).replace(/(%coord)/,ut.CJ?$:y)},ee.DC()&&ee.parse()),ee.I4&&Q&&(ee.GN(ee,ee,null,yt={value:wn,text:Ai,coord:ut.CJ?$:y},ee.MV),ee.parse()),It[ut.BI]=ee.AN,On=ZC._b_(ee.o["callout-position"]),An=ee.o.x,Zn=ee.o.y,"opposite"!==ut.BA?ut.CJ?($t="top",wt=$-ee.I/2,Ln=ut.E.iY+Ze,Jt=[$,ut.E.iY]):($t="right",wt=ut.E.iX-ee.I-Ze,Ln=y-ee.F/2,Jt=[ut.E.iX,y]):ut.CJ?($t="bottom",wt=$-ee.I/2,Ln=ut.E.iY-ee.F-Ze,Jt=[$,ut.E.iY]):($t="left",wt=ut.E.iX+Ze,Ln=y-ee.F/2,Jt=[ut.E.iX,y]),On||(ee.EM=$t),An||(ee.iX=wt),On||An||Zn||(ee.DL=Jt),Zn||(ee.iY=Ln),ee.AO&&ut.AO&&(ee.E.diff=-1,et.push(ee),"multiple"===eo&&null!==ZC._n_(Bt[R])||rt.push(ut.BI),m[Ee][R]=ee,Ge=!0),-1!==String(de[Ee].HF.o[ZC._[4]]).indexOf("%")&&(Un=ZC.IU(de[Ee].HF.o[ZC._[4]]))>0&&Un<=1&&(de[Ee].HF.B1=ZC._i_(Un*ut.AB)),ut.CJ?ot.push(null,[$,ut.E.iY],[$,de[Ee].P.iY+("opposite"===ut.BA?de[Ee].P.F:0)]):ot.push(null,[ut.E.iX,y],[de[Ee].P.iX+("opposite"===ut.BA?0:de[Ee].P.I),y])}}if(!Mt&&et.length>1)for(var Lr=et[et.length-1],Dr=ZC._i_((Lr.FO+Lr.FX+Lr.EP+Lr.FP)/4),Do=et.length-1;Do>=0;Do--)for(var Ri=Do;Ri>=0;Ri--)Do!==Ri&&ZC.AP._boxoverlap2_(et[Do],et[Ri],-Dr)&&(et[Ri].C5=.3,et[Ri].VM=.1);for(ae=ZC.MAX,R=0,V=Ae.length;R=0&&(ae=ZC.CX(Ae[R].E.diff,ae));-1!==hn&&(ae=ZC.BQ(ae,hn));var to=!1,Jr=1,Io=!1;Ae[0]&&(Io=ZC._b_(Ae[0].o["single-text"]),Ae[0].o["table-columns"]&&ZC._b_(Ae[0].o["html-mode"])&&(to=!0,Jr=ZC._i_(Ae[0].o["table-columns"]||"1"),cn+='')),!nn&&Ae.length>0&&("asc"!==Ae[0].o["sort-by-value"]&&"desc"!==Ae[0].o["sort-by-value"]||Ae.sort(function(ln,gi){return(ln.E["node-value"]-gi.E["node-value"])*("asc"===Ae[0].o["sort-by-value"]?1:-1)}));var Wr=0;for(ve=0,ke=Ae.length;ve"),cn+="",Wr%Jr==Jr-1&&(cn+=""),Wr++):cn+=Mn[Ae[ve].E.pos],to||!Io));ve++);if(to&&(Wr%Jr!=Jr-1&&(cn+=""),cn+="
"+Mn[ve]+"
"),""!==at&&(cn+=at),!nn&&Ae.length>0&&(Mt?tt.CJ?($=Ce=oe,y=se=ce[0]):($=Ce=le[0],y=se=te):($=Ce=oe,y=se=te),""!==cn&&(Ae[0].o.text=to||Io?cn:cn.substring(0,cn.length-4),Ae[0].parse()),Ze=null!==ZC._n_(W.o.distance)?ZC._i_(W.o.distance):6,null===ZC._n_(W.o.x)?Ae[0].iX=tt.CJ?$=U.iX+U.I/2?Ce-Ae[0].I-Ze:Ce+Ze:Ae[0].iX-=U.iX,null===ZC._n_(W.o.y)?Ae[0].iY=tt.CJ?Pe&&Pe.iY>=U.iY+U.F/2?se-Ae[0].F-Ze:se+Ze:y0){var Hn=[];for(ae=ZC.MAX,he=0,fe=$e.length;he=0&&(ae=ZC.CX($e[he][0],ae));for(-1!==hn&&(ae=ZC.BQ(ae,hn)),he=0,fe=$e.length;he1&&Hn[1]&&(Pa=Hn[1][0]||-1),de[Ee].CW.oMask||(de[Ee].CW.oMask=new I7(de[Ee]),de[Ee].CW.oMask.append({"background-color":"#fff",alpha:.85}),de[Ee].CW.oMask.append(de[Ee].CW.o.mask),de[Ee].CW.oMask.Z=c,de[Ee].CW.oMask.parse()),de[Ee].CW.oMask.iX=Pa,de[Ee].CW.oMask.iY=de[Ee].P.iY,de[Ee].CW.oMask.I=Math.max(2,de[Ee].P.iX+de[Ee].P.I-Pa+2),de[Ee].CW.oMask.F=de[Ee].P.F,de[Ee].CW.oMask.paint()}if(de[Ee].AJ["3d"])for(de[Ee].NS(),he=0,fe=Hn.length;he0){if(de[Ee].AJ["3d"])for(de[Ee].NS(),he=0,fe=ot.length;he=0;R--)ZC.DM(Ae[R].DL[0],U.iX-5,U.iX+U.I+5)&&ZC.DM(Ae[R].DL[1],U.iY-5,U.iY+U.F+5)||Ae.splice(R,1);if(Ae.length>1)for(var Ka=!0;Ka;)for(Ka=!1,R=0;RAe[R+1].iX||!ut.CJ&&Ae[R].iY>Ae[R+1].iY)){var Nu=Ae[R];Ae[R]=Ae[R+1],Ae[R+1]=Nu,Ka=!0}if(Ae.length>0){var wo=[],ka=[];for(R=0;RU.iX+U.I)for(sn=Ae[R+1].iX-(U.iX+U.I-Ae[R+1].I),Wt=0,Bo=Ae.length;Wt=U.iX?Ae[Wt].iX-=sn:(Ae[Wt].iX=U.iX,Wt>0&&(Ae[Wt].iY=Ae[R+1].E["marker-y"]U.iY+U.F)for(sn=Ae[R+1].iY-(U.iY+U.F-Ae[R+1].F),Wt=0,Bo=Ae.length;Wt=U.iY?Ae[Wt].iY-=sn:(Ae[Wt].iY=U.iY,Wt>0&&(Ae[Wt].iX=Ae[R+1].E["marker-x"]=0&&(ae=ZC.CX(Ae[ve].E.diff,ae));for(-1!==hn&&(ae=ZC.BQ(ae,hn)),ge=0,ve=0,ke=Ae.length;ve1&&qt.paint()}}}(pe=de[Ee].GS()).items=Qe,pe.guide={x:Ce,y:se},pe.ev=T,pe["scale-label"]=It,ZC.AR.C1("guide_mousemove",e.H,pe),de[Ee].Q4(!0)}else(pe={}).guide={x:Ce,y:se},pe.ev=T,ZC.AR.C1("guide_mousemove",e.H,pe)}}}}}},e.zc_guide_touchend=function(){0!==zingchart.DEV.GUIDETIMEOUT&&window.setTimeout(function(){M()},ZC._i_(zingchart.DEV.GUIDETIMEOUT))},ZC.A5(document.body).bind("mousemove touchstart touchmove",e.QQ),ZC.A5(document.body).bind("touchend",e.zc_guide_touchend)}}KF.clearGuide=function(A){var t=zingchart.getLoader(A);if(t){zingchart.GUIDE_EV=null;var e=ZC.AM(A+"-guide-c"),a=ZC.A5(e).width(),c=ZC.A5(e).height();ZC.A5("."+A+"-guide-label").remove(),ZC.Q.IV(e,t.AC,0,0,a,c),ZC.A5("#"+A+"-defs").children().each(function(){this.id&&-1!==this.id.indexOf("-guide-label-")&&ZC.Q.EV(this.id)})}},zingchart.extendAPI("resetguide",function(A,t){"string"==typeof(t=t||{})&&(t=JSON.parse(t)),KF.GUIDES[A]=KF.GUIDES[A]||{},KF.GUIDES[A].blocked=!1,KF.clearGuide(A)}),zingchart.extendAPI("setguide",function(A,t){"string"==typeof(t=t||{})&&(t=JSON.parse(t));var e,a,c=zingchart.getLoader(A),h=c.C9(t[ZC._[3]]),_=h.BK(ZC._[50]);"xy"===h.AJ.layout?(e=t.x||_.AK(t.keyvalue),a=h.iY+h.F/2):(e=h.iX+h.I/2,a=t.y||_.AK(t.keyvalue));var f={_pageX_:e,_pageY_:a,type:ZC.mobile?"touchstart":ZC._[48],target:{id:A+"-img"}};KF.GUIDES=KF.GUIDES||{},KF.GUIDES[A]=KF.GUIDES[A]||{},KF.GUIDES[A].blocked=!0,KF.clearGuide(A),f.fromAPI=!0,c.D6.QQ(f)});class AAW extends ZCClass{constructor(t,e){var a=this;a.o=null,a.C=t,a.O4=e}parse(){var t,e=this;e.o=e.C.o;var a,c,h,_,f,m,v,E,w,D=e.O4,M="\r\n",T=",",R=!1,V=null,$=null,y=null,U=null,O=null,Q=!1,W=!1,ae=null,ee={};null!==ZC._n_(t=e.o["html5-csv"])&&(ee=t),null!==ZC._n_(t=e.o.csv)&&(ee=t),null!==ZC._n_(t=ee.separator)&&(T=t),null!==ZC._n_(t=ee.mirrored)&&(R=ZC._b_(t)),null!==ZC._n_(t=ee.title)&&(V=ZC._b_(t)),null!==ZC._n_(t=ee["string-values"])&&(W=ZC._b_(t)),R?(null!==ZC._n_(t=ee["horizontal-labels"])&&(y=ZC._b_(t)),null!==ZC._n_(t=ee["vertical-labels"])&&($=ZC._b_(t))):(null!==ZC._n_(t=ee["horizontal-labels"])&&($=ZC._b_(t)),null!==ZC._n_(t=ee["vertical-labels"])&&(y=ZC._b_(t))),null!==ZC._n_(t=ee["smart-scales"])&&(U=ZC._b_(t)),null!==ZC._n_(t=ee["separate-scales"])&&(O=ZC._b_(t)),null!==ZC._n_(t=ee["keyval-format"])&&(Q=ZC._b_(t)),null!==ZC._n_(t=ee.columns)&&(ae=t);var ne=null;null!==ZC._n_(t=ee[ZC._[13]])&&(ne=t);var oe=null;if(null!==ZC._n_(t=ee[ZC._[14]])&&(oe=t),null!==ne&&null===oe&&(oe="."===ne?",":"."),null!==oe&&null===ne&&(ne="."===oe?",":"."),null!==ZC._n_(ae)&&ae.length>0){a=[],null!==ZC._n_(t=ee["row-separator"])?M=t:D.split(/\n/).length>0?M="\n":D.split(/\r/).length>0&&(M="\r");var te=D.split(M),le=0;for(_=0,f=te.length;_1&&1===fe[0].length?(null===ZC._n_(e.o.title)?e.o.title={text:fe[0][0]}:null===ZC._n_(e.o.title.text)&&(e.o.title.text=fe[0][0]),V=!0):V=!1),V&&ie++,R){for(a=[],V&&a.push(fe[0]),m=ie,v=fe.length;m.75}$&&(me=fe[ie],ie++);var pe=[];if(null===ZC._n_(y))if($&&-1!==me[0].indexOf("\\"))y=!0;else{var ve="";for(m=ie,v=fe.length;m.75}if(y){for(m=ie,v=fe.length;m':""}getPMap(){var A=super.getPMap();return this.addPMap(A,"index","L"),A}getToggleAction(){var A,t=this,e="hide";return t.BE&&""!==t.E["legend-last-trigger"]&&typeof t.E["legend-last-trigger"]!==ZC._[31]?e="item"===t.E["legend-last-trigger"]?t.BE.RD:t.BE.Q6:(t.o.legend&&(A=t.o.legend[ZC._[54]])&&(e=A),t.o.legend&&t.o.legend.item&&(A=t.o.legend.item[ZC._[54]])&&(e=A)),(t.A.KI||t.E["toggle-action-remove"])&&(e="remove"),e}BV(A,t){typeof t===ZC._[31]&&(t=!1);for(var e=[],a=this,c=0,h=a.BO.length;c0)&&e.push(a.BO[c]);return e}BK(A){for(var t=this,e=0,a=t.BO.length;e0?c[0]:"",_=c.length>1?c[1]:"",f=c.length>0?c[2]||c[0]:"",m=c.length>1?c[3]||c[1]:"";"dynamic"===A.P.o[ZC._[57]]&&(h="dynamic"),"dynamic"===A.P.o[ZC._[58]]&&(_="dynamic"),"dynamic"===A.P.o[ZC._[59]]&&(f="dynamic"),"dynamic"===A.P.o[ZC._[60]]&&(m="dynamic"),A.P.o.margin=[h,_,f,m].join(" ")}if(A.E["plotarea-margins"]?A.P.o.margin=A.E["plotarea-margin"]:(A.E["plotarea-margins"]=!0,A.E["plotarea-margin"]=A.P.o.margin,A.E["plotarea-margin-top"]=A.P.o[ZC._[57]],A.E["plotarea-margin-right"]=A.P.o[ZC._[58]],A.E["plotarea-margin-bottom"]=A.P.o[ZC._[59]],A.E["plotarea-margin-left"]=A.P.o[ZC._[60]]),typeof A.E["plotarea-p-x"]!==ZC._[31]&&(A.P.E["p-x"]=A.E["plotarea-p-x"],A.P.E["p-y"]=A.E["plotarea-p-y"],A.P.E["p-width"]=A.E["plotarea-p-width"],A.P.E["p-height"]=A.E["plotarea-p-height"]),null!==ZC._n_(A.P.o["adjust-layout"])&&ZC._b_(A.P.o["adjust-layout"])&&(A.P.o.margin="dynamic"),A.P.parse(),A.AJ["3d"]&&!A.EZ.true3d){var v=ZC._a_(ZC._i_(A.EZ.depth*ZC.EO(A.EZ.angle)));A.P.iY+=v,A.P.F-=v,A.P.I-=ZC._i_(A.EZ.depth*ZC.EI(A.EZ.angle))}if(typeof A.E["plotarea-p-x"]!==ZC._[31])for(var E=0,w=A.BO.length;E||
|\n/).length),"top"===D||"bottom"===D){if(T=ZC.BQ(T,.465*R.DG+1.025*ZC._a_(ZC.EO(R.AA))*ZC.BQ(R.I,R.F)),E=R.I,w=T,_&&"k"===M.AF){f[M.BI]||(f[M.BI]=[]);var $=null===ZC._n_(R.o["auto-align"])||ZC._b_(R.o["auto-align"]),y=.465*R.DG+1.025*ZC._a_(ZC.EI(R.AA))*ZC.BQ(R.I,R.F);"default"===M.BA?($&&(ZC.DM(ZC._ang_(R.AA),90,180)||ZC.DM(ZC._ang_(R.AA),270,360))&&f[M.BI].push(y),$||f[M.BI].push(y/2)):($&&(ZC.DM(ZC._ang_(R.AA),0,90)||ZC.DM(ZC._ang_(R.AA),180,270))&&f[M.BI].push(y),$||f[M.BI].push(y/2))}}else R.AA%360!=0&&(E=T=ZC.BQ(T,.465*R.DG+1.025*ZC._a_(ZC.EI(R.AA))*ZC.BQ(R.I,R.F))),w=R.F;var U=new DV(M);U.copy(M.M),U.AN=M.M.AN,U.parse(),""!==U.AN&&U.AO&&(w+=U.AA%180==0?U.F:U.I,E+=U.AA%180==0?U.I:U.F)}if(a.o.plotarea||(a.o.plotarea={}),("dynamic"===a.o.plotarea["margin-"+D]||a.P.E["d-margin-"+D])&&(a.P.E["d-margin-"+D]=!1,h[D]=!0,a.o.plotarea["margin-"+D]="0"),h[D]){a.o.plotarea["margin-"+D]=ZC._f_(a.o.plotarea["margin-"+D]||"0"),a.E[M.BI+"-distance"]=a.o.plotarea["margin-"+D];var O=("top"===D||"bottom"===D?ZC._i_(w):ZC._i_(E))+10+(a.AJ["3d"]?20:0);if(M.W0?a.o.plotarea["margin-"+D]=ZC.BQ(a.o.plotarea["margin-"+D],O):a.o.plotarea["margin-"+D]+=O,null!==ZC._n_(a.o.plotarea["margin-"+D+"-offset"])&&(a.o.plotarea["margin-"+D]+=ZC._i_(a.o.plotarea["margin-"+D+"-offset"])),!a.A.TY){var Q={},W=a.A.DH.watermark;a.A.B8.load(Q,"loader.gui.watermark"),W&&ZC._cp_(W,Q),1===a.A.o[ZC._[16]].length&&a.A.o[ZC._[16]][0].gui&&(A=a.A.o[ZC._[16]][0].gui.watermark)&&ZC._cp_(A,Q);var ae=Q.position||"br";-1===ZC.AV(["tl","tr","br","bl"],ae)&&(ae="br"),("bottom"!==D||"bl"!==ae&&"br"!==ae)&&("top"!==D||"tl"!==ae&&"tr"!==ae)||(a.o.plotarea["margin-"+D]+=15)}"bottom"===D&&("xy"===a.AJ.layout&&a.HS||"yx"===a.AJ.layout&&a.I3)&&(a.o.plotarea["margin-"+D]+=15),"left"===D&&("xy"===a.AJ.layout&&a.I3||"yx"===a.AJ.layout&&a.HS)&&(a.o.plotarea["margin-"+D]+=15),a.E["plotarea.d-margin-"+D]=!0}}}if(_&&h.left&&null!==ZC._n_(a.o.plotarea[ZC._[60]]))for(var ee in f){var ne=a.BK(ee);for(t=0;t1&&(te=ZC._i_(A[1]))):oe=te=ZC._i_(A)),a.P.E.tolerance=oe,"svg"===a.H.AC?((A=ZC.AM(a.K+"-clip-shape"))&&A.setAttribute("points",a.M0(oe,"svg")),(A=ZC.AM(a.K+"-clip-hover-shape"))&&A.setAttribute("points",a.M0(te,"svg"))):(ZC.A5("#"+a.K+" div").each(function(){""!==this.style.clip&&(this.style.clip=a.M0(oe))}),(A=ZC.AM(a.K+"-hover"))&&""!==A.style.clip&&(A.style.clip=a.M0(te)))}for(t=0,e=a.BO.length;t0)for(E.B8.palette=[],a=0;ae&&(ee-=v.K9.F,W+=v.K9.F)}if(v.N5&&v.N5.AO&&v.N5.o["adjust-layout"]&&(O=!0,(e=v.N5.iY+v.N5.F/2)>W+ee/2&&(ee-=v.N5.F)),v.B9&&v.B9.AO&&v.B9.o["adjust-layout"]&&(O=!0,"xy"===v.AJ.layout?(e=v.B9.AT.iY+v.B9.AT.F/2)>W+ee/2?ee-=v.B9.AT.F+v.B9.AT.DR:(W=v.B9.AT.iY+v.B9.AT.F,ee-=v.B9.AT.F):(y=v.B9.AT.iX+v.B9.AT.I/2)2?"v":v.BE.F/v.BE.I>2||Math.max(se.Left*v.F,se.Right*v.F)/Math.max(se.Top*v.I,se.Bottom*v.I)>1?"h":"v",Ce?Ce[0]>=.8?ce=Ce[1]<=.2?"v"===he?"top":"right":Ce[1]>=.8&&"v"===he?"bottom":"right":Ce[0]<=.2?ce=Ce[1]<=.2?"v"===he?"top":"left":Ce[1]>=.8&&"v"===he?"bottom":"left":Ce[1]<=.2?ce="top":Ce[1]>=.8&&(ce="bottom"):ce=Math.min(se.Top,se.Bottom)/Math.max(se.Top,se.Bottom)se.Bottom?"top":"bottom":se.Left>se.Right?"left":"right";var fe=0;"top"===ce&&(ee=W+ee-v.BE.F-v.BE.iY,W=v.BE.iY+v.BE.F),"bottom"===ce&&(ee-=fe=ee-v.BE.iY+W+v.BE.FO+v.BE.FX),"left"===ce&&(Q+=fe=v.BE.iX-v.iX+v.BE.I,ae-=fe),"right"===ce&&(ae-=fe=ae-(v.BE.iX-v.iX)+v.BE.EP+v.BE.FP)}else v.BE&&v.BE.fixPlacement();O&&(v.E["plotarea-p-x"]=Q,v.E["plotarea-p-y"]=W,v.E["plotarea-p-width"]=ae,v.E["plotarea-p-height"]=ee,v.setupPlotArea()),v.setupDynamicPlotArea(),v.AZ.parseLayout&&v.AZ.parseLayout(!0),v.B9&&v.B9.o["adjust-layout"]&&("xy"===v.AJ.layout?(null===ZC._n_(v.B9.JJ.x)&&(v.B9.AT.iX=v.P.iX),null===ZC._n_(v.B9.JJ[ZC._[19]])&&(v.B9.AT.I=v.P.I)):(null===ZC._n_(v.B9.JJ.y)&&(v.B9.AT.iY=v.P.iY),null===ZC._n_(v.B9.JJ[ZC._[20]])&&(v.B9.AT.F=v.P.F)));var ie=0;for(a=0;a0&&"canvas"!==v.H.AC&&v.AZ.A3)for(var ge=0,me=v.AZ.A3.length;ge-1?E.load(v.A7.o,w+".tooltip[dynamic]"):E.load(v.A7.o,w+".tooltip"),v.A7.append(v.o.tooltip),v.A7.QB=!0,v.A7.parse(),null!==ZC._n_(A=v.o.guide)&&(v.o["crosshair-x"]=A),(null!==ZC._n_(A=v.o["crosshair-x"])||E.Q3("guide",v.AF)||E.Q3("crosshair-x",v.AF))&&v.AJ[ZC._[23]]&&(v.CW=new CZ(v),v.CW.OQ="crosshairx",E.load(v.CW.o,[w+".guide",w+".crosshair-x"],!0,!0),v.CW.append(A),v.CW.parse(),v.E["guide-on"]=!0),(null!==ZC._n_(A=v.o["crosshair-y"])||E.Q3("crosshair-y",v.AF))&&v.AJ[ZC._[23]]&&(v.HF=new CZ(v),v.HF.OQ="crosshairy",E.load(v.HF.o,[w+".guide",w+".crosshair-y"],!0,!0),v.HF.append(A),v.HF.parse(),v.E["guide-on"]=!0)),v.OD(),ZC.AR.C1("gparse",v.A,v.GS()),null!==ZC._n_(A=v.o.refresh)&&(v.I1={type:"full",interval:10,transport:"http",method:"pull","adjust-scale":!1,"max-ticks":20,"reset-timeout":100,"stop-timeout":0,storage:!1,"storage-size":1e3},ZC._cp_(A,v.I1),v.V2=1),v.MN="parse.complete"}OD(){}PS(){}M0(A,t,e){var a=this,c=(e=e||a.P).iX,h=e.iY,_=e.I,f=e.F;if("svg"===t){if(a.AJ["3d"]){var m,v=[];A=1;var E,w,D,M,T=[],R=c-ZC.AQ.E3,V=h-ZC.AQ.E4;m=new CE(a,R+_/2-A,V-A,ZC.AQ.FY),M=ZC._i_(m.EC[1]),m=new CE(a,R+_/2-A,V-A,0),D=ZC._i_(m.EC[1]),T.push(new CE(a,R-A,V-A,Mw?ZC.AQ.FY:0),new CE(a,R+_+A,V+f+A,E>w?ZC.AQ.FY:0)),m=new CE(a,R+_/2-A,V+f+A,ZC.AQ.FY),M=ZC._i_(m.EC[1]),m=new CE(a,R+_/2-A,V+f+A,0),D=ZC._i_(m.EC[1]),T.push(new CE(a,R+_+A,V+f+A,M>D?ZC.AQ.FY:0),new CE(a,R-A,V+f+A,M>D?ZC.AQ.FY:0)),m=new CE(a,R-A,V+f/2-A,ZC.AQ.FY),E=ZC._i_(m.EC[0]),m=new CE(a,R-A,V+f/2-A,0),w=ZC._i_(m.EC[0]),T.push(new CE(a,R-A,V+f+A,E.25;){e=!0;var a=t.M0(0,"svg").split(" ");for(A=0;At.iX+t.I-t.P.E6||ZC._i_(c[1])t.iY+t.F-t.P.DR)&&(e=!1)}e||(t.EZ.zoom-=.05),e&&(t.EZ.zoom-=.025)}}}build(){var A,t,e,a,c,h,_,f,m=this,v=m.A.I+"/"+m.A.F,E="0/0";if(m.autoFit(),!m.H.usc()){var w=2,D=6;if(null!==ZC._n_(A=m.P.o["mask-tolerance"])&&(A instanceof Array?(w=D=ZC._i_(A[0]),A.length>1&&(D=ZC._i_(A[1]))):w=D=ZC._i_(A)),"svg"===m.A.AC&&m.AJ.clip&&(ZC.Q.EV([m.K+"-clip",m.K+"-clip-hover",m.K+"-clip-preview"]),m.A.KG.appendChild(ZC.Q.Y3({id:m.K+"-clip",path:m.M0(w,"svg")})),m.A.KG.appendChild(ZC.Q.Y3({id:m.K+"-clip-hover",path:m.M0(D,"svg")})),m.B9)){var M=m.AJ["3d"];m.AJ["3d"]=!1,m.A.KG.appendChild(ZC.Q.Y3({id:m.K+"-clip-preview",path:m.M0(0,"svg",m.B9.AT)})),m.AJ["3d"]=M}var T=!m.AJ.clip,R=T?null:m.M0(w),V=T?null:"url(#"+m.K+"-clip)",$=T?null:m.M0(D),y=T?null:"url(#"+m.K+"-clip-hover)";if(m.B9&&(c=T?null:m.M0(0,m.A.AC,m.B9.AT),h=T?null:"url(#"+m.K+"-clip-preview)"),ZC.Q.K8({cls:"zc-abs",id:m.K,p:ZC.AM(m.A.K+"-graphset"),tl:E,wh:v},m.A.AC),m.A.O9.graph&&ZC.Q.HO({cls:ZC._[24]+" zc-persistent",id:m.K+"-c",p:ZC.AM(m.K),wh:v},m.A.AC),ZC.Q.K8({id:m.K+"-plotarea",p:ZC.AM(m.K),tl:E,wh:v,position:"absolute"},m.A.AC),m.o.plotarea&&m.A.O9.plotarea&&ZC.Q.HO({cls:ZC._[24],id:m.K+"-plotarea-c",p:ZC.AM(m.K+"-plotarea"),wh:v},m.A.AC),"null"!==m.AF&&m.A.O9.plots){for(ZC.Q.K8({id:m.K+"-scales-bl",p:ZC.AM(m.K),tl:E,wh:v,position:"absolute","clip-path":V,clip:R},m.A.AC),t=0;t=0;a--)ZC.AM(m.K+"-plots-bl-"+a)||ZC.Q.K8({id:m.K+"-plots-bl-"+a,p:ZC.AM(m.K),after:ZC.AM(m.K+"-scales-bl"),tl:E,wh:v,position:"absolute","clip-path":V,clip:R},m.A.AC),(_=ZC.Q.HO({cls:"zc-abs zc-layer zc-bl",id:m.K+"-plot-"+f+"-bl-"+a+"-c",p:ZC.AM(m.K+"-plots-bl-"+a),wh:v},m.A.AC)).setAttribute("data-clip",m.M0(w,"box")),_.style.display="block";for(t=0;t=0;a--)ZC.AM(m.K+"-plots-fl-"+a)||ZC.Q.K8({id:m.K+"-plots-fl-"+a,p:ZC.AM(m.K),after:ZC.AM(m.K+"-scales-ml-"+(m.W4-1)+"-c"),tl:E,wh:v,position:"absolute"},m.A.AC),(_=ZC.Q.HO({cls:"zc-abs zc-layer zc-fl",id:m.K+"-plot-"+f+"-fl-"+a+"-c",p:ZC.AM(m.K+"-plots-fl-"+a),wh:v},m.A.AC)).setAttribute("data-clip",m.M0(D,"box")),_.style.display="block";for(zingchart.DEV.PLOTSHLAYER&&(ZC.Q.K8({id:m.K+"-plots-hover",p:ZC.AM(m.K),tl:E,wh:v,position:"absolute"},m.A.AC),ZC.Q.HO({cls:"zc-abs zc-layer zc-fl",id:m.K+"-plots-hover-c",p:ZC.AM(m.K+"-plots-hover"),wh:v},m.A.AC)),ZC.Q.K8({id:m.K+"-scales-fl",p:ZC.AM(m.K),tl:E,wh:v,position:"absolute","clip-path":V,clip:R},m.A.AC),t=0;t=0;_--)this.o[ZC._[10]][_].cls&&"zcScaleMarkerLabel"===this.o[ZC._[10]][_].cls&&this.o[ZC._[10]].splice(_,1);h.AZ.ZH=[],h.A.T4=[],zingchart.SKIP.LEGEND||h.BE&&h.BE.clear(),h.E.datalength=[];var f,m,v,E=ZC.ie67?ZC.AM(h.A.K):null;if(ZC.mobile||ZC.ie67)ZC.A5("."+h.K+"-node-area",E).remove();else if(ZC.AM(h.A.K+"-img")&&ZC.AM(h.A.K+"-map")){ZC.AM(h.A.K+"-img").setAttribute("useMap","");var w=ZC.AM(h.A.K+"-map").cloneNode(!0);for(_=(a=w.childNodes.length)-1;_>=0;_--)-1!==w.childNodes[_].className.indexOf(h.K+"-node-area")&&w.removeChild(w.childNodes[_]);ZC.Q.EV(h.A.K+"-map"),ZC.AM(h.A.K+"-top").appendChild(w),ZC.AM(h.A.K+"-img").setAttribute("useMap","#"+h.A.K+"-map")}if("svg"===(ZC.Q.EV(h.K+"--graph"),h.AZ.HJ=[],ZC.A5("."+h.K+"-value-box",E).remove(),ZC.A5("."+h.K+"-scale-marker-label",E).remove(),ZC.A5("."+h.K+"-scale-item",E).remove(),ZC.A5("."+h.K+"-scale-label",E).remove(),ZC.A5("."+h.K+"-guide-label",E).remove(),ZC.A5("."+h.K+"-shape-label",E).remove(),ZC.A5("."+h.K+"-mapshape-label",E).remove(),ZC.A5("."+h.K+"-node-errorbars",E).remove(),A||ZC.A5("."+h.K+"-preview-item",E).remove(),h.A.AC)){for(_=0,a=h.AZ.A3.length;_=R.AY&&U[E].R[h].BW<=R.BD:U[E].R[h].L>=R.W&&U[E].R[h].L<=R.A1)?(m=U[E].R[h].AD,V=Math.min(V,m),$=Math.max($,m),T?(T=!1,Q.push(U[E].R[h].BW?[U[E].R[h].BW,0]:0),M=m):Q.push(U[E].R[h].BW?[U[E].R[h].BW,100*(m-M)/M]:100*(m-M)/M)):Q.push(U[E].R[h].BW?[U[E].R[h].BW,0]:0);y["p-"+w]=[].concat(Q)}if(O>0){for(V=ZC.MAX,$=-ZC.MAX,w=0;w=0&&ne[h].TN&&(oe=h);if(null!==ZC._n_(oe)){var te=ne[oe].AK(0);for(h=0;h=0&&ne[h].TN){var le=ne[h].AK(0);if(ZC._a_(le-te)>=1)for(var ce=!0,Ce=0;ce;)le>te?ne[h].CJ?ne[h].AW?ne[h].A9+=1:ne[h].BS+=1:ne[h].AW?ne[h].BS+=1:ne[h].A9+=1:ne[h].CJ?ne[h].AW?ne[h].BS+=1:ne[h].A9+=1:ne[h].AW?ne[h].A9+=1:ne[h].BS+=1,Ce++,ne[h].H2(),ne[h].TA(),(Ce>(ne[h].CJ?f.P.I:f.P.F)||ZC._a_(ne[h].AK(0)-te)<1)&&(ce=!1)}}}for(h=0,_=f.BO.length;h<_;h++)f.BO[h].Z=f.BO[h].C7=f.H.usc()?f.H.mc():ZC.AM(f.K+"-scales-bl-0-c"),f.A.OJ=!0,f.BO[h].paint(),f.A.Y2(),f.A.OJ=!1;var se=typeof f.E["shared-zoom"]!==ZC._[31]&&null!==ZC._n_(f.E["shared-zoom"])&&f.E["shared-zoom"];if(f.B9&&f.B9.LX?f.B9.IJ&&(f.B9.IJ=!0,f.B9.paint()):f.E["skip-preview"]||!f.B9||f.VK&&!f.B9.IJ||se||(f.B9.IJ=!0,f.B9.paint()),f.E["shared-zoom"]=null,f.E["skip-preview"]=null,f.HS&&f.HS.paint(),f.I3&&f.I3.paint(),f.VK||(c=f.H.usc()?f.H.mc():ZC.AM(f.K+"-titles-c"),f.J1&&f.J1.AO&&null!==ZC._n_(f.J1.AN)&&(f.J1.Z=f.J1.C7=c,f.J1.paint(),!f.J1.KI&&ZC.AM(f.A.K+"-map")&&(ZC.AM(f.A.K+"-map").innerHTML+=ZC.AR.OI(f.K,f.J1))),f.K9&&f.K9.AO&&null!==ZC._n_(f.K9.AN)&&(f.K9.Z=f.K9.C7=c,f.K9.paint(),!f.K9.KI&&ZC.AM(f.A.K+"-map")&&(ZC.AM(f.A.K+"-map").innerHTML+=ZC.AR.OI(f.K,f.K9))),f.N5&&f.N5.AO&&null!==ZC._n_(f.N5.AN)&&(f.N5.Z=f.N5.C7=c,f.N5.paint(),!f.N5.KI&&ZC.AM(f.A.K+"-map")&&(ZC.AM(f.A.K+"-map").innerHTML+=ZC.AR.OI(f.K,f.N5))),f.SI&&f.SI.AO&&null!==ZC._n_(f.SI.AN)&&(f.SI.Z=f.SI.C7=c,f.SI.paint())),f.J1&&f.J1.ED(),f.K9&&f.K9.ED(),f.N5&&f.N5.ED(),f.AJ["3d"]||f.TL(),f.A.OJ=!f.GG,zingchart.DEV.SKIPTRACKERS&&(f.A.OJ=!1),f.A.E["graph."+f.K+".disableanimation"])for(h=0,_=f.AZ.A3.length;h<_;h++)f.AZ.A3[h].GG=!1;f.AZ.paint(),f.H.paintHistory()}TL(){}clearPreview(){var A=this;A.B9&&(ZC.Q.IV(ZC.AM(A.K+"-preview-c"),A.A.AC,A.iX,A.iY,A.I,A.F,A.K),A.A.H5&&!A.A.H5.A0S&&A.B9.reset(),A.B9.IJ=!0)}flatten(){}_end_(){var A,t,e,a,c=this;for(c.E["toggle-action-remove"]=null,c.GG||c.A.Y2(),c.A.OJ=!1,(c.LX||!c.GG||c.H.E["graph."+c.K+".disableanimation"]||!c.AJ[ZC._[55]]||-1!==ZC.AV(c.H.KX,ZC._[41])||zingchart.SKIP.ANIMATION)&&(c.MN="ready"),"initial"===c.A1S&&(c.ABW=!1,c.H.E["graph."+c.K+".disableanimation"]=!0),t=0,e=c.BO.length;t1&&(zingchart.SKIP.EVENT||ZC.AR.C1("load",A.A,A.A.F5()))),A.A.E["fire-complete"]=!0,(A.E["graph-K0"]||A.LX&&A.AZ.A3.length>1)&&(zingchart.SKIP.EVENT||ZC.AR.C1("complete",A.A,A.A.F5()),A.E["graph-K0"]=null)),0!==A.A.R2.length&&A.A.R2[A.A.R2.length-1]===A.A.E.json||(A.A.R2[A.A.O7]!==A.A.E.json&&(A.A.R2.length=A.A.O7+1),A.A.R2[A.A.O7]=A.A.E.json)}K0(A,t){var e=this;null===ZC._n_(A)&&(A=!1),null===ZC._n_(t)&&(t=!1),e.A.MX(e),e.E["graph-K0"]=!0,e.clear(A,t),e.parse(),e.UT&&e.UT(),e.paint(A),e.B9&&e.B9.setScalesInfo(),e.HP=!1,zingchart.SKIP.CSV=!1}UG(ev,E8,FG){if(2!==ev.button){var s=this,C,PM=[""];switch(null!==ZC._n_(FG)&&(PM=FG.split("=")),PM[0]){case"_blank":window.open(E8,"_blank");break;case"_top":window.top.location.href=E8;break;case"_parent":window.parent.location.href=E8;break;case"window":null!==ZC._n_(PM[1])&&""!==PM[1]&&(window.top[PM[1]].location.href=E8);break;case"graph":var YK=null;if("()"===E8.substring(E8.length-2)||"javascript:"===E8.substring(0,11))try{var E9=E8.replace("javascript:","").replace("()","");eval(E9)&&(YK=eval(E9).call(s))}catch(A){}null!==ZC._n_(PM[1])&&""!==PM[1]?"_top"===PM[1]||"_parent"===PM[1]?(s.A.MX(),YK?zingchart.exec(s.A.K,"setdata",{data:YK}):s.A.load(null,E8)):(C=s.A.OT(PM[1]),C&&(s.A.MX(C),s.A.E["tr-ev-"+C.L]=!0,s.A.O7++,YK?zingchart.exec(s.A.K,"setdata",{graphid:PM[1],data:YK}):s.A.load(PM[1],E8))):(C=s.A.AG[0],s.A.MX(C),YK?zingchart.exec(s.A.K,"setdata",{graphid:C.K,data:YK}):(s.A.E["tr-ev-"+C.L]=!0,s.A.O7++,s.A.load(C.K,E8)));break;default:window.location.href=E8}}}HY(A,t,e){var a=this;if(null===ZC._n_(e)&&(e=a.AZ.A3.length-1),null!==ZC._n_(A)&&typeof A!==ZC._[31])return a.AZ.A3[A];if(null===ZC._n_(t)||typeof t===ZC._[31])return a.AZ.A3[e];for(var c=0,h=a.AZ.A3.length;c0){for(O=[],Q=0,W=_.D.length;Q0?1:-1:0}),m.FE=m.FE.sort(function(oe,te){return oe.zindex-te.zindex==0?oe.index-te.index:oe.zindex-te.zindex})},K6.prototype.YD=function(A,t){typeof A===ZC._[31]&&(A=!1),typeof t===ZC._[31]&&(t=!1);var e,a=this,c=[a.K+"-objects-bottom-sh-c",a.K+"-objects-bottom-c",a.K+"-objects-top-sh-c",a.K+"-objects-top-c",a.K+"-objects-front-c",a.K+"-objects-print-c"];ZC.SKIPMAPS||c.push(a.K+"-objects-maps-sh-c",a.K+"-objects-maps-c");for(var h=0;h';"top"===T.o[ZC._[7]]?_.push(V):h.push(V)}}function m(M){if(c.FJ[M]){var T=c.FJ[M],R=T instanceof R9?T.BF:T;if((!ZC.SKIPMAPS||!R.o["map-item"])&&R.AO){if(null!==ZC._n_(t=T.E.hook)){var V=c.OS(t);-1!==V[0]&&(R.iX=ZC._i_(V[0])),-1!==V[1]&&(R.iY=ZC._i_(V[1]))}if(!T.E["3d"]||T.E["3dtx"]){T.Z=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-"+(R.JY<0?"bottom":"top")+"-c"),T.C7=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-"+(R.JY<0?"bottom":"top")+"-sh-c"),R.o["map-item"]&&(T.Z=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-maps-c"),T.C7=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-maps-sh-c"));var $="";null!==ZC._n_(t=R.o.limit)&&("x"===t?$="x":"y"===t?$="y":"xy"===t&&($="xy")),(""===$||"x"===$&&ZC.DM(R.iX-R.BL,c.P.iX-2,c.P.iX+c.P.I+2)||"y"===$&&ZC.DM(R.iY-R.BH,c.P.iY-2,c.P.iY+c.P.F+2)||"xy"===$&&ZC.DM(R.iX+R.BL,c.P.iX-2,c.P.iX+c.P.I-2)&&ZC.DM(R.iY+R.BH,c.P.iY-2,c.P.iY+c.P.F+2))&&(T.WO=!1,T.E["print-canvas"]=c.K+"-"+(R.o["map-item"]?"maps":"objects")+ZC._[15],T.paint())}if(!T.KI&&!c.QI&&"normal"===zingchart.OBJECTMODE){var y=R.A2F();if(ZC.AM(c.A.K+"-map"))for(var U=1,O=y.length;U1?"--"+U:"")+ZC._[30]+y[U]+'" data-z-sort="'+R.A7O+'"'+Q+" />";if("top"===T.o[ZC._[7]]?_.push(W):h.push(W),T.M){var ae=[ZC._i_(T.M.iX+T.M.BL),ZC._i_(T.M.iY+T.M.BH),ZC._i_(T.M.iX+T.M.BL+T.M.I),ZC._i_(T.M.iY+T.M.BH+T.M.F)].join(",");W=ZC.Q.FT("rect",R.E8,R.IT)+'class="'+c.K+'-shape-area zc-shape-area" id="'+R.K+"-area"+(U>1?"--"+U:"")+ZC._[30]+ae+'" data-z-sort="'+R.A7O+'"'+Q+" />","top"===T.o[ZC._[7]]?_.push(W):h.push(W)}}}}}}function v(M){var T=c.LA[M];if(T.AO)if(T.Z=T.C7=c.H.usc()?c.H.mc("top"):ZC.AM(c.K+"-objects-"+(T.JY<0?"bottom":"top")+"-c"),null!==ZC._n_(T.o.repeat)&&ZC._b_(T.o.repeat)){var R=ZC._i_(ZC._c_(T.o.items,0)),V=null;if(T.o.inactive&&((V=new I7(T.A)).copy(T),V.append(T.o.inactive),V.parse(),V.Z=V.C7=T.Z),R>0||V){var $=ZC._i_(ZC._c_(T.o.rows,-1)),y=ZC._i_(ZC._c_(T.o.cols,-1)),U=ZC._i_(ZC._c_(T.o["space-x"],0)),O=ZC._i_(ZC._c_(T.o["space-y"],0)),Q=ZC._i_(ZC._c_(T.o["offset-row"],0)),W=ZC._i_(ZC._c_(T.o["offset-col"],0));-1!==$&&-1===y?y=Math.ceil(R/$):-1===$&&-1!==y?$=Math.ceil(R/y):-1===$&&-1===y&&(y=Math.ceil(Math.sqrt(R)),$=Math.ceil(R/y));for(var ae=T.iX,ee=T.iY,ne=T.K,oe=0;oe<$;oe++)for(var te=0;te0||h.length>0)&&ZC.AM(c.A.K+"-map")){if(c.A5N){var D=function(M,T){return-1!==M.indexOf("data-map")&&-1!==T.indexOf("data-map")?ZC.AR.NG(T)-ZC.AR.NG(M):ZC.AR.NG(M)-ZC.AR.NG(T)};_.sort(D),h.sort(D)}zingchart.DEV.MAPSONBOTTOM?window.setTimeout(function(){ZC.AM(c.A.K+"-map").innerHTML=_.join("")+ZC.AM(c.A.K+"-map").innerHTML+h.join("")},33):ZC.AM(c.A.K+"-map").innerHTML=_.join("")+ZC.AM(c.A.K+"-map").innerHTML+h.join("")}c.A.E["fire-load"]||ZC.AR.C1("objectsready",c.A,c.GS())},K6.prototype.RH=function(A,t,e,a){var c,h,_,f,m=this;switch(e=e||"hover",A){case"shape":var v=m.FJ[t],E=v instanceof R9?v.BF:v;if(null!==ZC._n_(E.o[e+"-state"])){if(!a&&E.o.group)for(_=0,f=m.FJ.length;_4096&&e.F7&&"date"===e.F7.o.type&&null!==(ae=ZC._nfind_(y,Q,0,Q.R.length-1))&&(W=Q.FK(ae,3)),!W)for(ae=0,ee=Q.R.length;ae=0;f--)(null!==ZC._n_(v[f].id)&&-1!==ZC.AV(h,v[f].id)||null!==ZC._n_(v[f].cls)&&-1!==ZC.AV(_,v[f].cls)||null!==ZC._n_(v[f].class)&&-1!==ZC.AV(_,v[f].class)||e.group&&v[f].group===e.group)&&(null!==ZC._n_(v[f].id)&&O.push(v[f].id),v.splice(f,1),D=!0);for(f=0;f=50?P4:1e3*P4,"full"===s.I1.type)"http"===s.I1.transport?ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.A.MX(s),ZC.A07(function(){s.A.load(s.K,s.AA0)})},P4):"websockets"===s.I1.transport&&ZC.websockets&&(s.H.SN[s.K]?"pull"===s.I1.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.H.SN[s.K].send("zingchart.getdata")},P4)):(ws=new WebSocket(s.I1.url,"zingchart"),ws.onopen=function(){ws.send("zingchart."+s.I1.type),ws.send("zingchart."+s.I1.method),ws.send("zingchart.getdata")},ws.onmessage=function(A){"ready"===s.MN&&(s.A.MX(s),s.MN="full",ZC.A07(function(){zingchart.exec(s.A.K,"setdata",{graphid:s.K,data:A.data,softclear:!0})}))},s.H.SN[s.K]=ws));else if("feed"===s.I1.type&&null!==ZC._n_(s.I1.url)){if(null!==ZC._n_(s.I1.curtain)){var OR=s.BV("k");if(OR.length>0&&(ZC.Q.EV(s.K+"-curtain-t"),OR[0].OY>0)){var MA=new DV(s);s.A.B8.load(MA.o,"("+s.AF+").refresh.curtain"),MA.append(s.I1.curtain),MA.parse(),MA.AO&&(OR[0].CJ&&MA.F<=OR[0].OY||!OR[0].CJ&&MA.I<=OR[0].OY)&&(MA.K=s.K+"-curtain-t",MA.IW=ZC.AM(s.A.K+"-text-top"),OR[0].CJ?(MA.F>OR[0].OY&&(MA.AN="",MA.parse()),MA.iX=s.P.iX,MA.iY=OR[0].AW?s.P.iY:s.P.iY+s.P.F-OR[0].OY,MA.I=s.P.I,MA.F=OR[0].OY):(MA.I>OR[0].OY&&(MA.AN="",MA.parse()),MA.iX=OR[0].AW?s.P.iX+s.P.I-OR[0].OY:s.P.iX,MA.iY=s.P.iY,MA.I=OR[0].OY,MA.F=s.P.F),MA.Z=MA.C7=ZC.AM(s.K+"-scales-ml-0-c"),MA.paint())}}var A1J=s.I1.transport,A4R=ZC._i_(s.I1["reset-timeout"]),A5T=ZC._i_(s.I1["stop-timeout"]),AA9=ZC._b_(s.I1.storage),A0X=!0;null!==ZC._n_(s.I1["preserve-data"])&&(A0X=ZC._b_(s.I1["preserve-data"]));var A6A=function(KQ){for(var U8=eval("("+KQ+")"),i,A6,A97=U8 instanceof Array?U8:[U8],r=0,rLen=A97.length;rZC._i_(s.I1["max-ticks"])&&s.o[BI][ZC._[5]].splice(0,1),s.H.o[ZC._[16]][s.L][BI][ZC._[5]].push(DK[BI]),(s.o[BI][ZC._[5]].length>A4R||1===s.MP[1])&&(s.H.o[ZC._[16]][s.L][BI][ZC._[5]]=[],s.o[BI][ZC._[5]]=[],s.H.E["graph"+s.L+".zoom"]&&(s.H.E["graph"+s.L+".zoom"].xmin=null,s.H.E["graph"+s.L+".zoom"].xmax=null),s.HS&&(s.HS.unbind(),ZC.Q.IV(ZC.AM(s.K+"-scroll-x-c"),s.A.AC,s.iX,s.iY,s.I,s.F,s.K),ZC.A5("#"+s.K+"-scroll-x-handle").remove(),ZC.A5("#"+s.K+"-scroll-x-bar").remove()),s.I3&&(s.I3.unbind(),ZC.Q.IV(ZC.AM(s.K+"-scroll-y-c"),s.A.AC,s.iX,s.iY,s.I,s.F,s.K),ZC.A5("#"+s.K+"-scroll-y-handle").remove(),ZC.A5("#"+s.K+"-scroll-y-bar").remove())),ZC.webstorage&&AA9&&ZC.AR.storage.push("zingchart.scale."+s.K+"."+BI,""+DK[BI]))}for(i=0,A6=s.AZ.A3.length;iZC._i_(s.I1["max-ticks"])&&s.H.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]].splice(0,1)):s.H.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[A4G],ZC.webstorage&&AA9&&(G=DK["plot"+i],"object"==typeof G&&(G=G.join("###")),ZC.AR.storage.push("zingchart.plot."+s.K+".plot"+i,""+G)),(s.o[ZC._[11]][i][ZC._[5]].length>A4R||1===s.MP[1])&&(ZC.AR.C1("feed_clear",s.A,s.GS(),DK),s.H.o[ZC._[16]][s.L][ZC._[11]][i][ZC._[5]]=[])}N2=s.A3V()}("ready"===s.MN||s.GG)&&(1===s.MP[1]&&(s.MP[1]=0),(N2<=A5T||0===A5T)&&(s.MN="feed",ZC.A07(function(){ZC.AM(s.A.K+"-main")&&(ZC.AR.C1("feed_step",s.H,s.GS(),s.o),s.parse(),s.clear(!0),s.UT(),s.paint(!0,!0))})))};if("http"===A1J||"js"===A1J){var E8=s.I1.url;ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){if(1===s.MP[0]||1===s.MP[1])if(s.A.MX(s),"http"===A1J){var EW=["query-string"===s.A.ND?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+s.H.AC:""].join("&");ZC.A5.ajax({type:"GET",url:E8,beforeSend:function(A){s.A.S6.data||"http-headers"!==s.A.ND||A.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")},data:EW,dataType:"text",error:function(){},success:function(A){A6A(A)}})}else if("()"===E8.substring(E8.length-2)||"javascript:"===E8.substring(0,11))try{var E9=E8.replace("javascript:","").replace("()","");eval(E9)&&eval(E9).call(s,function(A){A6A(A)},s.GS())}catch(A){}},P4)}else"websockets"===A1J&&ZC.websockets&&(s.H.SN[s.K]?"pull"===s.I1.method&&(ZC.REFRESH_TICK[s.K]=window.setTimeout(function(){s.H.SN[s.K].send("zingchart.getdata")},P4)):(ws=new WebSocket(s.I1.url,"zingchart"),ws.onopen=function(){ws.send("zingchart."+s.I1.type),ws.send("zingchart."+s.I1.method),ws.send("zingchart.startfeed"),"pull"===s.I1.method&&ws.send("zingchart.getdata")},ws.onmessage=function(A){1!==s.MP[0]&&1!==s.MP[1]||A6A(A.data)},s.H.SN[s.K]=ws))}}},zingchart.AC3=function(A,t,e){var a;document.getElementById("zc-fullscreen")&&(A="zc-fullscreen"),"string"==typeof(e=e||{})&&(e=JSON.parse(e));var c=zingchart.getLoader(A);if(c){var h=c.C9(e[ZC._[3]]);switch(t){case"clearfeed":h.MP[1]=1,0===h.MP[0]&&ZC.A07(function(){h.parse(),h.clear(!0),h.UT(),h.paint(!0,!0)});break;case"getinterval":return h.I1.interval;case"setinterval":ZC.AR.C1("feed_interval_modify",c,h.GS()),h.o.refresh=h.o.refresh||{},h.o.refresh.interval=e.interval||1;break;case"stopfeed":1===h.MP[0]&&(ZC.AR.C1("feed_stop",c,h.GS()),h.MP[0]=0,null!==ZC._n_(a=c.SN[h.K])&&a.send("zingchart.stopfeed"));break;case"startfeed":0===h.MP[0]&&(ZC.AR.C1("feed_start",c,h.GS()),h.MP[0]=1,null!==ZC._n_(a=c.SN[h.K])&&a.send("zingchart.startfeed"),ZC.A07(function(){h.parse(),h.clear(!0),h.UT(),h.paint(!0,!0)}))}}return null},ZC.AR.A51=function(A){for(var e,t={},a=0,c=(e="object"==typeof A?A:JSON.parse(A)).length;a0){for(var E=0;E1))){var a,c,h,_=e.targetid||e.target.id,f=ZC._b_(t.BE.BR.o.reorder);ZC.mobile&&t.H.A7&&t.H.A7.hide();var m="item";-1!==_.indexOf("-legend-marker_")&&(m="marker"),t.L5(),e.preventDefault();var v=t.BE.I9;"item"===m?v=t.BE.RD:"marker"===m&&(v=t.BE.Q6),t.A.KI&&"hide"===v&&(v="remove"),t.E["legend-last-trigger"]=m;var E=ZC._i_(_.replace(t.K+"-legend-item_","").replace(t.K+"-legend-marker_","").replace("-area",""));if(t.o[ZC._[11]]&&t.o[ZC._[11]][E]){if(null!==ZC._n_(A=t.o[ZC._[11]][E]["legend-item"])){var w=A.url||"";""!==w&&t.UG(e,w,A.target||"")}t.o[ZC._[11]][E].visible=!0}var M,T,R,V=t.AZ.A3[E].TH(e);switch(V.visible=ZC._b_(t.E["plot"+E+".visible"]),V.toggleaction=v,ZC.AR.C1("legend_click",t.A,V),ZC.AR.C1("legend_"+m+"_click",t.A,V),v){default:break;case"hide":case"remove":if(e.shiftKey){var $=0;for(a=0,c=t.AZ.A3.length;a=0;e--)typeof c.o[e]===ZC._[31]&&c.o.splice(e,1);if(null===ZC._n_(c.E["plot-sort"])&&(c.E["plot-sort"]=!1),c.o.length>1){for(e=0,a=c.o.length;eh[e+1]["z-index"]){c.E["plot-sort"]=!0;var m=h[e];h[e]=h[e+1],h[e+1]=m;var v=_[e];_[e]=_[e+1],_[e+1]=v,f=!1}c.MH=_}else c.MH=[0];for(c.A3=[],e=0,a=c.o.length;e0)if(t.A3.length>100&&!t.C.LX)for(var a=0;aZC.AR.NG(v)?1:ZC.AR.NG(m)c(v)&&e.A.AJ["3d"]?1:c(m)ZC.AR.NG(v)?1:ZC.AR.NG(m)',_=e.A.a11y(),f=t.innerHTML.indexOf(h);zingchart.DEV.DELAYEDTRACKERS?window.setTimeout(function(){-1!==f?t.innerHTML=t.innerHTML.substring(0,f+h.length)+_+e.HJ.join("")+t.innerHTML.substring(f+h.length):t.innerHTML+=_+e.HJ.join("")},500):-1!==f?t.innerHTML=t.innerHTML.substring(0,f+h.length)+_+e.HJ.join("")+t.innerHTML.substring(f+h.length):t.innerHTML+=_+e.HJ.join("")}e.F3=null,e.D7=null,e.C.AA1=[],e.A._end_()}}class A4S extends LY{HT(){return new R5(this)}}class A4T extends LY{HT(){return new R6(this)}}class A8Y extends LY{HT(){var t=new R5(this);return t.NN=!0,t}}class A8Z extends LY{HT(){var t=new R6(this);return t.NN=!0,t}}class A10 extends LY{HT(){return new R7(this)}}class A11 extends LY{HT(){return new R8(this)}}class ZZ extends LY{HT(t){var e=this;switch(t){default:return new R5(e);case"vline":var a=new R5(e);return a.NN=!0,a;case"poly":var c=new PN(e);return c.bPoly=!0,c.sTypeX="poly",c;case"area":return new R6(e);case"varea":var h=new R6(e);return h.NN=!0,h;case"bar":case"vbar":return new R7(e);case"hbar":return new R8(e);case"scatter":return new PN(e);case"hscatter":return new PN(e,"hscatter");case"bubble":return new SD(e);case"hbubble":return new SD(e,"hbubble");case"stock":return new W3(e);case"range":return new T5(e);case"vrange":var _=new T5(e);return _.NN=!0,_;case"line3d":return new V6(e);case"area3d":return new V7(e);case"bar3d":case"vbar3d":return new V5(e);case"bullet":case"vbullet":return new TV(e);case"hbullet":return new TW(e)}}}class A7A extends LY{HT(){return new PN(this)}}class ACN extends LY{HT(){var t=new PN(this);return t.bPoly=!0,t.sTypeX="poly",t}}class A6G extends LY{HT(){return new PN(this,"hscatter")}}class A7U extends LY{HT(){return new SD(this)}}class A7B extends LY{HT(){return new SD(this,"hbubble")}}class A5W extends LY{constructor(t){super(t);var e=this;e.KW=[],e.PI=[],e.U4=[]}HT(){return new WW(this)}parseLayout(t){var e,a,c,h,_=this;t&&(_.U4=[],_.PI=[]);var f,m=_.A.BK("scale-r"),v=_.A.BK("scale"),E=.9,w=1;_.A3.length>=10&&(w=1),_.A3.length>=20&&(w=1.25),_.A3.length>=30&&(w=1.5);var D=m.DI;for(e=0,a=_.A3.length;e=0&&T<=90||T>=270&&T<=360?a.iX+a.I-(M.I+25):a.iX+(M.I+25))-c)/ZC.EI(T),h=ZC.CX(h,2*e/a.I),e=a.F/2-(M.F/2+10),h=ZC.CX(h,2*e/a.F)}}h=ZC.BQ(.15,ZC.CX(.85,h)),"auto"===a.o["size-factor"]&&(a.o["size-factor"]=a.JM=h)}}class A8J extends LY{constructor(t){super(t),this.A2O={}}HT(){return new XX(this)}paint(){this.A2O={},super.paint()}}class A7D extends A10{HT(){return new TV(this)}}class A7E extends A11{HT(){return new TW(this)}}class A8M extends LY{HT(){return new XY(this)}}class A2V extends LY{parse(){var t,e,a,c,h,_=this;for(_.AY=ZC.MAX,_.BD=-ZC.MAX,_.A8F=[],_.SM=[],super.parse(),t=0,e=_.A3.length;t0||c.T8.length>0||c.A2.o["top-state"])&&(c.Z6=!1),c.GC=new CZ(c),m.load(c.GC.o,ae("hover-marker")),c.GC.append(c.o.marker),c.GC.append(c.o["hover-marker"]),null!==ZC._n_(t=c.o["selected-marker"])&&(c.Q0=new CZ(c),m.load(c.Q0.o,ae("selected-marker")),c.Q0.append(t)),null!==ZC._n_(t=c.o["background-marker"])&&(c.PY=new CZ(c),m.load(c.PY.o,ae("background-marker")),c.PY.append(t)),c.IM&&(c.VP=new CZ(c),c.VP.append(c.o.marker),null!==ZC._n_(t=c.o["highlight-marker"])&&(m.load(c.VP.o,ae("highlight-marker")),c.VP.append(t))),"normal"!==c.A1E&&(c.T6||c.Q0)&&(c.GZ=!1),"fast"===c.A1E&&(c.GZ=!0),c.A7=new DV(c),c.o.tooltip&&c.o.tooltip.placement&&c.o.tooltip.placement.indexOf("node")>-1?m.load(c.A7.o,"("+c.AF+").tooltip[dynamic]"):m.load(c.A7.o,c.AF+".tooltip"),c.A7.append(c.o.tooltip),null!==ZC._n_(t=c.o.error)&&(c.JG=new DX(c),m.load(c.JG.o,ae("error")),c.JG.append(t),null===ZC._n_(c.JG.o[ZC._[21]])&&(c.JG.o[ZC._[21]]=4)),null!==ZC._n_(t=c.o[ZC._[17]])){if(t instanceof Array)for(c.U=new CZ(c),m.load(c.U.o,ae(ZC._[17])),null!==ZC._n_(e=c.C.o.plot)&&c.U.append(e[ZC._[17]]),c.U.append(t[0]),t.length>1&&(c.OA=[]),R=1;R1?(null===ZC._n_(c.V[R][1])||"string"==typeof c.V[R][1]&&"NULL"===c.V[R][1].toUpperCase())&&(O=!0):(null===ZC._n_(c.V[R])||"string"==typeof c.V[R]&&"NULL"===c.V[R].toUpperCase())&&(O=!0),"piano"===c.C.AF&&(O=!1)),O)c.R.push(null);else{!c.GZ||"xy"!==c.C.AJ.layout&&"yx"!==c.C.AJ.layout?D=c.G3():c.GU[1]||("bubble"===c.AF||"scatter"===c.AF?c.GU[1]=D=c.G3():(c.GU[0]=c.G3(),c.GU[1]=D=c.G3(),c.GU[2]=c.G3(),c.GU[3]=c.G3())),D.K=c.K+"-node-"+R,"string"==typeof c.V[R]&&zingchart.QUOTEDVALUES&&(c.V[R]=ZC._f_(c.V[R])),D.o={value:c.V[R]},"string"==typeof c.V[R]&&(D.A2N=!0),D.L=R,c.o["hint-ts"]?(D.E.plotidx=c.L,D.E.nodeidx=D.L,D.K=c.K+"-node-"+D.L,D.BW=c.V[R][0],D.AD=c.V[R][1]):D.parse(),(a<256||zingchart.DEV.CHECKDECIMALS)&&null!==ZC._n_(D.AD)&&2===(w=D.AD.toString().split(".")).length&&(U=ZC.BQ(U,w[1].length)),D.BW&&(null!==V&&ZC._a_(D.BW-V)>0&&$.push(ZC._a_(D.BW-V)),V=D.BW),c.A.XD=c.A.XD||{};var Q=c.A.XD["s"+c.DZ];if(Q&&(null!==V?-1===ZC.AV(Q,D.BW)&&Q.push(D.BW):-1===ZC.AV(Q,R)&&Q.push(R)),!c.GZ||"xy"!==c.C.AJ.layout&&"yx"!==c.C.AJ.layout)c.R.push(D);else{var W={iX:D.iX,iY:D.iY,L:D.L,BW:D.BW,AD:D.AD,CP:D.AD,DP:D.DP,J6:D.J6};"bubble"===c.AF&&(W.SY=D.SY),c.R.push(W)}null!==D.BW&&(c.QG[0]=Math.min(c.QG[0],D.BW),c.QG[1]=Math.max(c.QG[1],D.BW)),c.C.E["plot"+c.L+".visible"]&&(zingchart.DEV.PLOTSTATS||"100%"===c.KZ)&&c.CD&&(null===ZC._n_(c.A.FA[R])?(c.A.FA[R]={},c.A.FA[R]["%total-"+c.DZ]=D.AD):null===ZC._n_(c.A.FA[R]["%total-"+c.DZ])?c.A.FA[R]["%total-"+c.DZ]=D.AD:c.A.FA[R]["%total-"+c.DZ]+=D.AD),zingchart.DEV.PLOTSTATS&&(y.push(D.AD),c.JF?(c.JF["%plot-max-index"]=R,c.JF["%plot-sum"]+=D.AD,a<256&&(c.JF["%plot-values"]+=","+D.AD)):c.JF={"%plot-min-index":R,"%plot-max-index":R,"%plot-sum":D.AD,"%plot-values":D.AD},c.A.FA||(c.A.FA={}),c.AO&&(null===ZC._n_(c.A.FA["%pstack-"+R+"-"+c.DZ+"-sum"])?(c.A.FA["%pstack-"+R+"-"+c.DZ+"-sum"]=D.AD,c.A.FA["%pstack-"+R+"-"+c.DZ+"-stack-length"]=1):(c.A.FA["%pstack-"+R+"-"+c.DZ+"-sum"]+=D.AD,c.A.FA["%pstack-"+R+"-"+c.DZ+"-stack-length"]+=1)))}}(c.V.length<256||zingchart.DEV.CHECKDECIMALS)&&c.JF&&null!==ZC._n_(c.JF["%plot-sum"])&&2===(w=c.JF["%plot-sum"].toString().split(".")).length&&ZC._i_(w[1])>U&&(c.JF["%plot-sum"]=ZC._f_(c.JF["%plot-sum"].toFixed(ZC.CX(20,U)))),zingchart.DEV.PLOTSTATS?(c.JF&&(c.JF["%plot-average"]=c.JF["%plot-sum"]/c.V.length,c.JF["%plot-average"]=ZC._f_(c.JF["%plot-average"].toFixed(ZC.CX(20,U+2)))),y.length>0&&(c.JF["%plot-min-value"]=ZC.YO(y),c.JF["%plot-max-value"]=ZC.A2D(y))):c.JF={"%plot-min-index":0,"%plot-max-index":c.V.length,"%plot-sum":-1,"%plot-values":"","%plot-average":-1,"%plot-min-value":-1,"%plot-max-value":-1},V&&$.length>0&&(c.AAS=ZC.YO($),c.A30=ZC.A2D($))}}function ae(ee){var ne=["("+c.AF+").plot."+ee];return c.sTypeX&&ne.push("("+c.sTypeX+").plot."+ee),ne}}mapPointsToPreview(t,e){for(var a=this,c=a.C.P,h=a.C.B9.AT,_=[],f=0,m=t.length;f0||ZC.DM(h.R[e].BW,h.B0.V[h.B0.W],h.B0.V[h.B0.A1]))&&c++;h.SA_.I&&(h.UN=!0),h.N6>=c&&(h.RI=!0)}else h.N6>h.B0.A1-h.B0.W&&(h.RI=!0);h.Y=1,h.B0.EG&&h.EG||(h.SA<(c=h.B0.A1-h.B0.W)&&(h.FV=!1),c*h.YI>_.I&&(h.UN=!0),!h.QL&&c*h.YI>_.I&&(h.Y=ZC.BQ(1,ZC._i_(c*h.YI/_.I)))),h.B0.EG&&h.EG&&(h.QL||c*h.YI>_.I&&(h.Y=ZC.BQ(1,ZC._i_(c*h.YI/_.I)))),h.C.OM&&(h.QL=!1,h.Y*=h.YW)}null!==ZC._n_(h.Y5)&&h.Y>h.Y5&&(h.Y=h.Y5)}OG(t){var e,a,c,h=this;null!==ZC._n_(t)&&t||(t=!1),h.B0&&"log"===h.B0.BT&&(t=!0),h.VW(t);var _=null;if(t||h.M4)h.A.A59=!1,function R(V,$){for(var y=V;y0||ZC.DM(h.R[e].BW,h.B0.V[h.B0.W],h.B0.V[h.B0.A1])||f&&m&&h.R[e+c]&&h.R[e+c].BW>=h.B0.V[h.B0.W])&&(f&&m&&h.R[e-c]&&((_=h.FK(e-c)).Z=h.KN,_.paint(),_.J6=!0,m=!1,E++),(_=h.FK(e)).Z=h.KN,_.paint(),_.J6=!0,h.R[e].J6=!0,E++,m=!1,v=e);f&&E>0&&h.R[v+c]&&((_=h.FK(v+c)).Z=h.KN,_.paint(),_.J6=!0)}else{c=h.GD=h.HN=h.Y;var w=0,D=1,M=null;for(f||(w=4/("vbar"===h.AF?h.C.P.F:h.C.P.I)*(h.CM.BD-h.CM.AY),D=1+ZC._i_((h.B0.A1-h.B0.W)/(2*("vbar"===h.AF?h.C.P.I:h.C.P.F))),c=1),e=h.B0.W;e<=h.B0.A1;e+=c)(h.B0.A1-h.B0.W)%h.Y!=0&&f&&(h.B0.A1-e==0?(h.GD=c,h.HN=1):h.B0.A1-e<=h.Y&&(h.GD=h.Y,h.HN=h.B0.A1-e,c=h.B0.A1-e)),h.R[e]?(_=h.FK(e),(f||h.QL||!f&&null===M||ZC._a_(_.AD-M)>w||e%D==0)&&(_.Z=h.KN,_.paint(),_.J6=!0,h.R[e].J6=!0),M=_.AD):h.CD&&-1!==ZC.AV(["vbar","hbar","vbar3d","hbar3d"],h.AF)&&h.RB()}}}CO(t,e){var c,a=this;return a.V1[t+e]?a.V1[t+e]:(c=a.H.usc()?ZC.AM(a.H.K+"-main-c"+("fl"===t?"-top":"")):a.H.KI||a.C.AJ["3d"]?ZC.AM(a.C.K+"-plots-"+t+"-c"):ZC.AM(a.C.K+"-plot-"+a.L+"-"+t+"-"+e+"-c"),a.V1[t+e]||(a.V1[t+e]=c),c)}TH(t){var e=this;return{id:e.H.K,graphid:e.C.K,graphidx:e.C.L,plotid:e.H9,plotindex:e.L,plottext:e.AN,ev:t?ZC.A5.BY(t):null,xdata:e.K7}}UR(t,e){ZC.AR.C1("plot_"+e,this.H,this.TH(t))}applyJsRuleSvg(t,e,a){var c;if(c=t.o["js-rule-svg"]){var h=ZC.AM(e),_=ZC.evalFn(c.replace("javascript:","").replace("()",""),window);if(h&&_)try{var f=_.call(this,a);for(var m in f)h.setAttribute(m,f[m])}catch{}}}sharedZScale(){var t=this,e=t.C,a=e.P;if(e.o["scale-z"]&&e.E["plot"+t.L+".visible"]){var c,h,_,f,m;if(c=new CE(e,a.iX+a.I-ZC.AQ.E3+10,a.iY+a.F-ZC.AQ.E4,t.E["z-mid"]),(h=new DV(t)).GO=e.K+"-scale-z-item "+e.K+"-scale-item zc-scale-item",h.K=e.K+"-scale-z-item_"+t.L,h.AN=e.o["scale-z"][ZC._[5]][t.L],h.Z=h.C7=t.H.usc()?t.H.mc():ZC.AM(e.K+"-scales-ml-0-c"),m=ZC.Q.EA(h.Z,t.H.AC),h.IW=t.H.usc()?ZC.AM(t.H.K+"-main"):ZC.AM(t.H.K+"-text"),h.append(e.o["scale-z"].item),h.parse(),h.AA+=h.VS?0:ZC.DJ.A3W(e,h),h.iX=c.EC[0],h.iY=c.EC[1],h.o["auto-align"]&&h.VS&&(h.iY-=h.F/2),h.paint(),null===ZC._n_(t.E["scale-z-item-max-width"])&&(t.E["scale-z-item-max-width"]=0),t.E["scale-z-item-max-width"]=ZC.BQ(t.E["scale-z-item-max-width"],h.I),t.E["z-cnt"]===t.E["z-plots"]-1&&e.o["scale-z"].label){var v,E;c=new CE(e,a.iX+a.I-ZC.AQ.E3+20+t.E["scale-z-item-max-width"],a.iY+a.F-ZC.AQ.E4,ZC.AQ.FY/2),(h=new DV(t)).GO=e.K+"-scale-z-label "+e.K+"-scale-label zc-scale-label",h.K=e.K+"-scale-z-label",h.Z=h.C7=t.H.usc()?t.H.mc():ZC.AM(e.K+"-scales-ml-0-c"),m=ZC.Q.EA(h.Z,t.H.AC),h.IW=t.H.usc()?ZC.AM(t.H.K+"-main"):ZC.AM(t.H.K+"-text"),h.append(e.o["scale-z"].label),h.parse(),v=new CE(e,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,0),E=new CE(e,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,ZC.AQ.FY);var w=ZC.UI(Math.atan((E.EC[1]-v.EC[1])/(E.EC[0]-v.EC[0])));h.AA+=h.VS?0:w,h.iX=c.EC[0],h.iY=c.EC[1],h.paint()}if(e.o["scale-z"].tick&&((f=new DX(t)).B7="#cccccc",f.B1=1,f.AI=6,f.append(e.o["scale-z"].tick),f.parse(),f.AO&&f.B1>0)){f.K=e.K+"-scale-z-tick-"+t.L;for(var D=[],M=[[a.iX+a.I,a.iY+a.F],[a.iX+a.I+f.AI,a.iY+a.F]],T=0;T0&&f.AO&&(f.A0=f.AE=f.B7,(_=ZC.DJ.DB(f,e,a.iX+a.I-ZC.AQ.E3-f.B1,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,a.iY+a.F-ZC.AQ.E4,0,ZC.AQ.FY,"x")).K=e.K+"-scale-z-axis",e.CL.add(_))),t.E["z-cnt"]>0&&e.o["scale-z"].guide&&((f=new CZ(t)).B7="#cccccc",f.B1=1,f.append(e.o["scale-z"].guide),f.parse(),f.B1>0&&f.AO&&(f.A0=f.AE=f.B7,(_=ZC.DJ.DB(f,e,a.iX-ZC.AQ.E3,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,a.iY+a.F-ZC.AQ.E4+f.B1,t.E["z-cnt"]*t.E["z-depth"],t.E["z-cnt"]*t.E["z-depth"],"y")).K=e.K+"-scale-z-guideh-"+t.L,e.CL.add(_),(_=ZC.DJ.DB(f,e,a.iX-ZC.AQ.E3,a.iX-ZC.AQ.E3,a.iY-ZC.AQ.E4,a.iY+a.F-ZC.AQ.E4,t.E["z-cnt"]*t.E["z-depth"],t.E["z-cnt"]*t.E["z-depth"]+f.B1,"y")).K=e.K+"-scale-z-guidev-"+t.L,e.CL.add(_))),e.o["scale-z"].items&&e.o["scale-z"].items.length&&((f=new CZ(t)).A0=f.AE="#ff9900",f.C5=.25,f.append(e.o["scale-z"].items[t.E["z-cnt"]%e.o["scale-z"].items.length]),f.parse(),(_=ZC.DJ.DB(f,e,a.iX-ZC.AQ.E3,a.iX+a.I-ZC.AQ.E3,a.iY+a.F-ZC.AQ.E4,a.iY+a.F-ZC.AQ.E4,t.E["z-cnt"]*t.E["z-depth"],t.E["z-cnt"]*t.E["z-depth"]+t.E["z-depth"],"z")).K=t.K+"-item-",e.CL.add(_))}}gc(){if(this.R)for(var t=0;t1&&"spline"===Q&&(Q="segmented"),m.B0.EG&&m.EG){for(a=m.Y,m.NE&&(a=1),t=0,e=m.R.length;t0||ZC.DM(m.R[t].BW,m.B0.V[m.B0.W],m.B0.V[m.B0.A1])||T&&m.R[t+a]&&m.R[t+a].BW>=m.B0.V[m.B0.W])&&(T&&m.R[t-a]&&(-1===$&&($=t-a),y=t-a,T=!1,R++),-1===$&&($=t),y=t,R++,T=!1,c=t);R>0&&m.R[c+a]&&(-1===$&&($=c+a),y=c+a,m.R[c+a].J6=!0)}else $=m.B0.W,y=m.M4||"log"===m.B0.BT?m.R.length:m.B0.A1;m.Y=O;var W=-1;a=m.Y,m.NE&&(a=1);var ae=null,ee=null,ne=0,oe=1;for(c=$,v?y-$>m.C.P.F&&(ne=4/m.C.P.I*(m.CM.BD-m.CM.AY),oe=ZC._f_((y-$)/(4*m.C.P.F))):y-$>m.C.P.I&&(ne=4/m.C.P.F*(m.CM.BD-m.CM.AY),oe=ZC._f_((y-$)/(4*m.C.P.I))),m.o["sampling-threshold"]&&(ne*=Math.max(1,(y-$)/ZC._i_(m.o["sampling-threshold"])),oe*=Math.max(1,(y-$)/ZC._i_(m.o["sampling-threshold"]))),m.D=[],t=$;t<=y;t+=a){var te=!1;if(((y-$)%m.Y!=0||m.B0.EG&&m.EG)&&y-t<=m.Y&&(a=ZC.BQ(1,y-t),te=!0),m.NE&&!te&&m.R[t])if(null===ZC._n_(ae))ae=m.R[t].CP,c=t,ee=0;else{if(Math.abs(m.R[t].CP-ae)$&&($=y)),D.E["min-y"]=Math.min(V,$),D.E["max-y"]=Math.max(V,$),D.CD&&D.A.F3){var U=ZC.MAX,O=-ZC.MAX;for(t=0,e=D.A.F3.length;t1&&"spline"===pe&&(pe="segmented"),D.B0.EG&&D.EG){for(c=D.Y,D.NE&&(c=1),t=0,e=D.R.length;t0||ZC.DM(D.R[t].BW,D.B0.V[D.B0.W],D.B0.V[D.B0.A1])||he&&D.R[t+c]&&D.R[t+c].BW>=D.B0.V[D.B0.W])&&(he&&D.R[t-c]&&(-1===De&&(De=t-c),ge=t-c,he=!1,fe++),-1===De&&(De=t),ge=t,fe++,he=!1,a=t);fe>0&&D.R[a+c]&&(-1===De&&(De=a+c),ge=a+c,D.R[a+c].J6=!0)}else De=D.B0.W,ge=D.M4||"log"===D.B0.BT?D.R.length:D.B0.A1;D.Y=Ze,ee||D.A.D7&&(oe=D.A.D7.reverse());var ve=null,ke=null,de=0,Oe=1;a=De,M?ge-De>D.C.P.F&&(de=4/D.C.P.I*(D.CM.BD-D.CM.AY),Oe=ZC._f_((ge-De)/(4*D.C.P.F))):ge-De>D.C.P.I&&(de=4/D.C.P.F*(D.CM.BD-D.CM.AY),Oe=ZC._f_((ge-De)/(4*D.C.P.I)));var Fe=!1,be=!1,Se=-1;c=D.Y,D.NE&&(c=1),Fe=!0,!D.A.SB&&ee&&(D.A.SB={},D.A.W9={});var xe=null,we=null;if(D.A.SB&&!D.A.SB["s"+D.DZ]&&ee){D.A.SB["s"+D.DZ]={},D.A.W9["s"+D.DZ]={};var Re=D.A.XD["s"+D.DZ];for(t=0;t<=Re.length;t++)null!==ZC._n_(Re[t])&&(h=D.B0.EG?ZC._i_(D.B0.AK(Re[t])):ZC._i_(D.B0.H7(Re[t])),D.A.SB["s"+D.DZ][h]=se,D.A.W9["s"+D.DZ][h]=se)}for(ee&&(xe=D.A.SB["s"+D.DZ],we=D.A.W9["s"+D.DZ]),t=De;t<=ge;t+=c){var Ie=!1;if(((ge-De)%D.Y!=0||D.B0.EG&&D.EG)&&ge-t<=D.Y&&(c=ZC.BQ(1,ge-t),Ie=!0),D.NE&&!Ie&&D.R[t])if(null===ZC._n_(ve))ve=D.R[t].CP,a=t,ke=0;else{if(Math.abs(D.R[t].CP-ve)D.B0.iY&&(te.push([se,D.B0.iY]),te.push([se,ie.iY]),oe.push([se,ie.iY])):ie.iX>D.B0.iX&&(te.push([D.B0.iX,se]),te.push([ie.iX,se]),oe.push([ie.iX,se])),Fe=!1),ne.push([ie.iX,ie.iY]),ee?M?we[ZC._i_(ie.iY)]=ie.iX:we[ZC._i_(ie.iX)]=ie.iY:(te.push([ie.iX,ie.iY]),oe.push([ie.iX,ie.iY]));break;case"spline":M?(le.push(ie.iX),ce.push(ie.iY),1===le.length&&(le.push(ie.iX),ce.push(ie.iY))):(le.push(ie.iY),ce.push(ie.iX),1===le.length&&(le.push(ie.iY),ce.push(ie.iX)));break;case"stepped":var Ne=D.B0.AW?-1:1;switch(D.SZ){default:(f=D.FK(t-c,0))&&(f.setup(),_=ZC.AP.K3(D.R[t-c].iX,D.R[t-c].iY,ie.iX,ie.iY),ne.push(M?[ie.iX,_[1]]:[_[0],ie.iY]),ee?M?we[ZC._i_(_[1])-Ne]=ie.iX:we[ZC._i_(_[0])+Ne]=ie.iY:(te.push(M?[ie.iX,_[1]]:[_[0],ie.iY]),oe.push(M?[ie.iX,_[1]]:[_[0],ie.iY]))),ne.push([ie.iX,ie.iY]),ee?M?we[ZC._i_(ie.iY)]=ie.iX:we[ZC._i_(ie.iX)]=ie.iY:(te.push([ie.iX,ie.iY]),oe.push([ie.iX,ie.iY])),(m=D.FK(t+c,0))&&(m.setup(),_=ZC.AP.K3(ie.iX,ie.iY,D.R[t+c].iX,D.R[t+c].iY),ne.push(M?[ie.iX,_[1]]:[_[0],ie.iY]),ee?M?we[ZC._i_(_[1])+Ne]=ie.iX:we[ZC._i_(_[0])-Ne]=ie.iY:(te.push(M?[ie.iX,_[1]]:[_[0],ie.iY]),oe.push(M?[ie.iX,_[1]]:[_[0],ie.iY])));break;case"before":(f=D.FK(t-c,0))&&(f.setup(),ne.push([D.R[t-c].iX,D.R[t-c].iY],[D.R[t-c].iX,ie.iY]),ee?M?(we[ZC._i_(ie.iY)+Ne]=D.R[t-c].iX,we[ZC._i_(ie.iY)]=D.R[t-c].iX):(we[ZC._i_(D.R[t-c].iX)]=D.R[t-c].iY,we[ZC._i_(D.R[t-c].iX)+Ne]=ie.iY):(te.push([D.R[t-c].iX,D.R[t-c].iY],[D.R[t-c].iX,ie.iY]),oe.push([D.R[t-c].iX,D.R[t-c].iY],[D.R[t-c].iX,ie.iY]))),ne.push([ie.iX,ie.iY]),ee?M?we[ZC._i_(ie.iY)]=ie.iX:we[ZC._i_(ie.iX)]=ie.iY:(te.push([ie.iX,ie.iY]),oe.push([ie.iX,ie.iY]));break;case"after":ne.push([ie.iX,ie.iY]),ee?M?we[ZC._i_(ie.iY)]=ie.iX:we[ZC._i_(ie.iX)]=ie.iY:(te.push([ie.iX,ie.iY]),oe.push([ie.iX,ie.iY])),(m=D.FK(t+c,0))&&(m.setup(),ne.push([D.R[t+c].iX,ie.iY],[D.R[t+c].iX,D.R[t+c].iY]),ee?M?(we[ZC._i_(ie.iY)-Ne]=D.R[t+c].iX,we[ZC._i_(D.R[t+c].iY)]=D.R[t+c].iX):(we[ZC._i_(D.R[t+c].iX)-Ne]=ie.iY,we[ZC._i_(D.R[t+c].iX)]=D.R[t+c].iY):(te.push([D.R[t+c].iX,ie.iY],[D.R[t+c].iX,D.R[t+c].iY]),oe.push([D.R[t+c].iX,ie.iY],[D.R[t+c].iX,D.R[t+c].iY])))}}me&&ie.MY(ZC.Q.EA(D.CO("fl",0),D.H.AC)),(D.RI&&ae||D.FV||D.U)&&ie.OX(),ie.J6=!0}else null!==ZC._n_(D.o["connect-nulls"])&&ZC._b_(D.o["connect-nulls"])||(ne.push(null),le.push(null),ce.push(null),ee||(oe.length-1>=0&&oe.push(M?[se,oe[oe.length-1][1]]:[oe[oe.length-1][0],se]),te.length-1>=0&&te.push(M?[se,oe[oe.length-1][1]]:[oe[oe.length-1][0],se]),be=!0))}if("segmented"!==pe&&"stepped"!==pe||ee||oe.length-1>=0&&oe.push(M?[se,oe[oe.length-1][1]]:[oe[oe.length-1][0],se]),"spline"===pe){le.push(le[le.length-1]),ce.push(ce[ce.length-1]),ne=[],ee||oe.push(M?[se,ce[0]]:[ce[0],se]);for(var We=1;We0){var lt=te[te.length-1];M||lt[0]=1&&(h=t.CF/t.B0.AB);var _=t.CS;t.CS>=1&&(_=t.CS/t.B0.AB);var m=ZC._x_((1-h-_)/(3*c+1));t.CF=h+m+3*(a-1)*m,t.CS=1-t.CF-2*m}}}RB(){var t,e=this;if(e.S0)return e.S0;if(e.o["fast-dimensions"]&&e.A.A3[0].S0)return e.A.A3[0].S0;e.bKeyWidth&&(e.assign_a([["bar-width","D3","fp"]]),e.D3=e.D3/(e.B0.BD-e.B0.AY)*((e.B0.CJ?e.B0.F:e.B0.I)-e.B0.A9-e.B0.BS));var a,c=e.B0.AB*e.Y,h=0;for(e.A.KB[e.AF]=e.A.KB[e.AF]||[],t=0;t1&&(T/=h-1),T<0&&(D=c-w-M-(T=0)*(h-1))),R=(D=ZC.BQ(D,1*h))/h):h>1&&(T=0,R=D/h,y<=1&&(y*=R),M=(V=c-(D=h*(R-(y=ZC.CX(y,R)))+y)-T*(h-1))-(w=V*($=0===M?1:w/M)/(1+$)),w<1&&(D-=1-w))):(D=c-w-M,0===e.F0||h<=1?((T=e.F4)<=1&&(T*=D/h),M=(V=c-D-(T=ZC.BQ(0,T))*(h-1))-(w=V*($=0===M?1:w/M)/(1+$)),w<1&&(w=M=0,T=c-D,h>1&&(T/=h-1),T<0&&(D=c-w-M-(T=0)*(h-1))),R=(D=ZC.BQ(D,1*h))/h):h>1&&(R=D/h,y>1&&(y=R/y),y*=R=D/(h-h*y+y),M=(V=c-D-(T=0)*(h-1))-(w=V*($=0===M?1:w/M)/(1+$)),w<1&&(D-=1-w))),-1!==e.ZG&&R>e.ZG&&!e.E.bw&&(e.D3=e.ZG),e.S0={AB:c,EU:a,CF:w,CS:M,F4:T,D3:R,F0:y},{AB:c,EU:a,CF:w,CS:M,F4:T,D3:R,F0:y}}paint(){var t=this;super.paint(),t.KN=t.CO("bl",0);var e=t.FH;t.A35=!1,t.SO=null;var a=1;t.B0.EG&&(a=t.R.length/(t.B0.DN-t.B0.D5)),0!==t.E5.length||t.I4||t.C.KR||"svg"!==t.H.AC||!(t.B0.A1-t.B0.W>2048||t.B0.EG&&a*(t.B0.A1-t.B0.W)>2048)||(t.A35=!0,null===ZC._n_(t.o["rect-shortcut"])&&(t.FH=!0)),t.FH||(t.A35=!1),t.OG(),t.FH=e,t.RefNode=null,t.WQ=null}}class R7 extends A2U{constructor(t){super(t),this.AF="vbar"}G3(){return new A00(this)}}class R8 extends A2U{constructor(t){super(t),this.AF="hbar"}G3(){return new A01(this)}}class PN extends WV{constructor(t,e){super(t),this.AF=e||"scatter",this.PF="markerbg",this.bPoly=!1,this.HW=.5}G3(){return new A6H(this)}parse(){var t=this;t.BP=t.NQ(),t.C2=t.BP[0],t.A0=t.BP[1],t.AE=t.BP[1],t.B7=t.BP[2],t.BX=t.BP[2],t.NH(),super.parse(),t.assign_a([["alpha-area","HW","f",0,1]]),t.B0=t.C.BK(t.BV("k")[0]),t.CM=t.C.BK(t.BV("v")[0])}paint(){var t,e,a,c=this;if(super.paint(),c.KN=c.CO("bl",0),c._oCtxNode=ZC.Q.EA(c.CO("bl",0),c.H.AC),!c.GZ||c.C.AJ["3d"]||"fast"!==c.A1E||0!==c.SA)c.OG(!0);else{var h=null,_=c.B0,f=c.CM;c.VW(!0);var m=new DX(c.A);for(m.Z=c.CO("bl",1),m.C7=c.CO("bl",0),m.B7=c.BP[3],m.BX=c.BP[3],m.A0=c.BP[2],m.AE="bubble"===c.AF||"hbubble"===c.AF?c.BP[1]:c.BP[2],m.append(c.A2.o),m.parse(),e=0;e<=c.R.length;e++)if(h=c.FK(e)){var v=!1;_.CJ?ZC.DM(h.iX,f.iX+(f.AW?f.BS:f.A9)-1,f.iX+f.I-(f.AW?f.A9:f.BS)+1)&&ZC.DM(h.iY,_.iY+(_.AW?_.BS:_.A9)-1,_.iY+_.F-(_.AW?_.A9:_.BS)+1)&&(v=!0):ZC.DM(h.iX,_.iX+(_.AW?_.BS:_.A9)-1,_.iX+_.I-(_.AW?_.A9:_.BS)+1)&&ZC.DM(h.iY,f.iY+(f.AW?f.A9:f.BS)-1,f.iY+f.F-(f.AW?f.BS:f.A9)+1)&&(v=!0),v&&(h.J6=!0,c.R[e].J6=!0,m.K=h.K+"-marker",m.iX=h.iX,m.iY=h.iY,"circle"!==m.DS&&m.parse(),"none"!==c.J8&&(c.C.J4[c.L]||c.C.KR)&&(m.o={},m.M1={},c.C.CC["p"+c.L]&&c.C.CC["p"+c.L]["n"+e]?m.M1=c.Q0?c.Q0.o:{}:"none"!==c.OE&&("plot"===c.OE&&c.C.J4[e]||"graph"===c.OE&&c.C.KR)&&(m.M1=c.PY?c.PY.o:{}),m.B7=c.BP[3],m.BX=c.BP[3],m.A0=c.BP[2],m.AE="bubble"===c.AF||"hbubble"===c.AF?c.BP[1]:c.BP[2],m.append(c.A2.o),m.parse()),m.paint())}}if(c.bPoly){for(t=[],e=0,a=c.R.length;e=t.VD&&(t.QK=.2,t.VD=1),t.B0=t.C.BK(t.BV("k")[0]),t.CM=t.C.BK(t.BV("v")[0])}paint(){var t=this;super.paint(),t.KN=t.CO("bl",0),t.A5H=t.A46=-ZC.MAX,t.YT=t.X6=ZC.MAX,t.A6R=t.A5I=0;for(var e=0,a=t.A.A3.length;eh&&(e.Y=ZC._i_(5*(e.B0.A1-e.B0.W)/h));var _=e.B0.EG;if(_&&e.QG[0]===ZC.MAX&&e.QG[1]===-ZC.MAX&&(_=!1),e.bFastRange=e.R.length>1024,(e.B0.A1-e.B0.W)/(e.B0.DN-e.B0.D5)<.1&&(e.bFastRange=!1),_)for(R=0,t=e.R.length;R')}}}paint(){var t=this;super.paint(),t.KN=t.CO("bl",0),t.A5G=ZC.Q.EA(t.CO("bl",1),t.H.AC),t.OK=ZC.Q.EA(t.CO("bl",2),t.H.AC),t.OG(),t.aPointsMin=[],t.aPointsMax=[],t.D=null,t.D7=null,t.A0A=null,t.SH=null}}class Y0 extends WW{constructor(t){super(t),this.AF="pie3d",this.JP=-1}parse(){super.parse(),this.assign_a([["thickness","JP","ia"]])}G3(){return new A84(this)}}class V5 extends R7{constructor(t){super(t),this.AF="vbar3d"}G3(){return new A7H(this)}parse(){var t=this;super.parse(),null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.BP[0]),null===ZC._n_(t.o["line-color"])&&(t.B7=t.BP[0])}paint(){super.paint(),this.sharedZScale()}}class WY extends R8{constructor(t){super(t),this.AF="hbar3d"}G3(){return new A7I(this)}parse(){var t=this;super.parse(),null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.BP[0]),null===ZC._n_(t.o["line-color"])&&(t.B7=t.BP[0])}}class V6 extends R5{constructor(t){super(t),this.AF="line3d"}G3(){return new A7J(this)}parse(){var t=this;super.parse(),null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.BP[1])}paint(){super.paint(),this.sharedZScale()}}class V7 extends R6{constructor(t){super(t),this.AF="area3d"}G3(){return new A7K(this)}parse(){var t=this;super.parse(),null===ZC._n_(t.o[ZC._[61]])&&(t.BX=t.BP[1])}paint(){super.paint(),this.sharedZScale()}}class ZK extends IQ{constructor(t){super(t);var e=this;e.AF="venn",e.ACA=[],e.AA6=[],e.BO=["scale"],e.PF="bg"}G3(){return new A8X(this)}parse(){var t=this;t.BP=t.NQ(),t.C2=t.BP[0],t.BX=t.BP[1],t.A0=t.BP[3],t.AE=t.BP[3],t.NH(),super.parse(),t.assign_a([["join","ACA"],["share","AA6"]])}paint(){var t=this;super.paint(),t.KN=t.CO("bl",0),t.OG(!0)}}class MM extends DV{constructor(A){super(A);var t=this;t.C=A.A.A,t.H=t.C.A,t.L=-1,t.AD=null,t.DP=[],t.CP=null,t.BW=null,t.CK=null,t.JW=[],t.IJ=!1,t.QB=!0,t.O=t,t.J6=!1,t.A2N=!1}GN(A,t){super.GN(this.A,A,t,this.LO(null,!1),this.A.MV)}OS(){return[this.iX,this.iY,{reference:this,center:!0}]}A6E(){return[this.iX,this.iY]}getTooltipPosition(A,t,e){var a,c,h,_,f=this;switch(f.paint(!0),a=f.iX,c=f.iY,h=f.I,_=f.F,t){case"center":a=f.iX+h/2,c=f.iY+_/2;break;case"top":a=f.iX+h/2,c=f.iY,c=e?c-e:c;break;case"bottom":a=f.iX+h/2,c=f.iY+_,c=e?c+e:c;break;case"left":a=f.iX,c=f.iY+_/2,a=e?a-e:a;break;case"right":a=f.iX+h,c=f.iY+_/2,a=e?a+e:a;break;default:a+=f.BL,c+=f.BH}return{x:a,y:c}}setNodeData(A){var t=this;for(var e in A)A.hasOwnProperty(e)&&(t.A.GZ?t.A.R[t.L][e]=A[e]:t.E[e]=A[e])}getNodeData(A){return this.A.GZ?this.A.R[this.L][A]:this.E[A]}XI(){var A,t,e=this,a=e.C.E,c=e.A.L;null===ZC._n_(a.update)&&(a.update={});var h=a.update,_=""+e.AD,f=e.A.LZ();for(ZC.PQ(_)&&ZC._f_(_)<0&&"currency"===f.negation&&(_=ZC._a_(ZC._f_(_))),f.utc=e.C.V0,f.timezone=e.C.NL,_=ZC.AR.G6(_,f,e.A),h["plot-"+c+"-value"]=_,h["plot-"+c+"-value-0"]=_,A=0,t=e.DP.length;A0?100*e.CP/e.A.A.FA[e.L]["%total-"+e.A.DZ]:100*e.CP:e.CP+0)):(e.iX=null!==e.BW?a.AK(e.BW):e.A.M4?"bar"===e.A.sMetaType?a.H7(e.A.RJ):a.H7(e.A.RJ)+e.A.S2+e.L*(a.AB-2*e.A.S2)/(e.A.R.length-1)-a.AB/2:"log"===a.BT?a.AK(e.L):a.H7(e.L),e.iY=c.AK(e.A.CD&&"100%"===e.A.KZ?e.A.A.FA[e.L]["%total-"+e.A.DZ]>0?100*e.CP/e.A.A.FA[e.L]["%total-"+e.A.DZ]:100*e.CP:e.CP+0)),e.A.GZ&&(e.A.R[e.L].iX=e.iX,e.A.R[e.L].iY=e.iY),e.JW=h),e.IJ||(0!==e.A.E5.length||-1===ZC.AV(["line","area","vbar","hbar","line3d","area3d","vbar3d","hbar3d"],e.A.AF)||e.A.o.override?ZC.A5.browser.mozilla||e.A.o.override?(e.copy(e.A),e.E5=e.A.E5,e.DC(),e.parse(!1),e.O=e):(A=e.A9O(e.A.E5),null===ZC._n_(t=e.A.A6O[A])?(e.copy(e.A),e.E5=e.A.E5,e.DC(),e.parse(!1),e.O=e,e.A.A6O[A]=e):e.O=t):e.O=e.A,e.A.o.override&&(e.O.E.plotidx=e.A.L,e.O.E.nodeidx=e.L,e.O.parse(!1)),e.IJ=!0)}a11y(){var A=this,t="";if(A.H.bA11y){if(A.A.GZ){var e=this.A.FK(A.L,1,!0);e&&(t=e.ET(this.C.A7.o.text||this.A.A7.o.text||this.A.JE))}else t=A.ET(this.C.A7.o.text||this.A.A7.o.text||this.A.JE);return A.A.AN&&-1===t.indexOf(A.A.AN)&&(t=A.A.AN+":"+t),t=t.replace(/<.+?>/gi," "),'tabindex="0" aria-label="Series '+(this.A.L+1)+" of "+this.A.A.A3.length+", point "+(this.L+1)+" of "+this.A.R.length+". "+t+'"'}return""}HG(){var A,t=this;if(t.o[ZC._[9]]instanceof Array&&(t.CK=t.o[ZC._[9]].join(" "),"string"==typeof t.o[ZC._[9]][0]?-1!==(A=ZC.AV(t.A.B0.J2,t.o[ZC._[9]][0]))?t.BW=A:(t.A.B0.J2.push(t.o[ZC._[9]][0]),t.BW=t.A.B0.J2.length-1):t.BW=parseFloat(t.o[ZC._[9]][0]),"string"==typeof t.o[ZC._[9]][1]?-1!==(A=ZC.AV(t.A.CM.JT,t.o[ZC._[9]][1]))?t.AD=A:(t.A.CM.JT.push(t.o[ZC._[9]][1]),t.AD=t.A.CM.JT.length-1):t.AD=parseFloat(t.o[ZC._[9]][1]),null!==t.BW&&t.A.TI(t.BW,t.L),t.A.Z8>0&&t.o[ZC._[9]].length>t.A.Z8))for(var e=t.o[ZC._[9]].length-t.A.Z8;e0&&h.A.OA.length>t-1&&h.F9(A,t+1),h.AO||"pie"===h.A.AF||"pie3d"===h.A.AF){var _,f=1===t?h.A.U:h.A.OA[t-2];if(f){if(h.A.A7P)(_=h.A.A7P).K=h.K+"-value-box-"+t,_.Z=_.C7=h.H.usc()?h.H.mc("top"):h.C.AJ["3d"]||h.H.KI?ZC.AM(h.C.K+"-plots-vb-c"):ZC.AM(h.C.K+"-plot-"+h.A.L+"-vb-c"),_.IW=h.H.usc()?ZC.AM(h.C.A.K+"-top"):ZC.AM(h.C.A.K+"-text"),_.E.plotidx=h.A.L,_.E.nodeidx=h.L,c=ZC.AR.OH(_.o,h.A.o),_.ET=function(O){return h.ET(O,c)},_.parse();else{_=new DV(h.A),f.o.rules||h.A.U.I4||(a="all",null!==ZC._n_(e=f.o.type)&&(a=e),"pie"===h.C.AF||"nestedpie"===h.C.AF||"pie3d"===h.C.AF||"all"!==a||h.A.OA&&0!==h.A.OA.length||(h.A.A7P=_)),_.append(f.o),h.appendToValueBox&&!A&&(_.parse(),_.append(h.appendToValueBox(_))),_.GO=h.C.K+"-value-box "+h.C.K+"-plot-"+h.A.L+"-value-box zc-value-box",_.K=h.K+"-value-box-"+t,_.Z=_.C7=h.H.usc()?h.H.mc("top"):h.C.AJ["3d"]||h.H.KI?ZC.AM(h.C.K+"-plots-vb-c"):ZC.AM(h.C.K+"-plot-"+h.A.L+"-vb-c"),_.IW=h.H.usc()?ZC.AM(h.C.A.K+"-top"):ZC.AM(h.C.A.K+"-text"),c=ZC.AR.OH(_.o,h.A.o),_.ET=function(O){return h.ET(O,c)};var m=h.JD(_);if(null!==ZC._n_(e=m.color)&&(_.C2=e),null!==ZC._n_(e=m[ZC._[0]])&&(_.A0=_.AE=e),_.E.plotidx=h.A.L,_.E.nodeidx=h.L,h.A.U.I4&&(h.A.U.GN(h.A.U,_,null,h.LO(null,!1)),_.parse()),_.parse(),_.IX=function(O){return h.IX(O)},_.DC()&&(c=_.overrideFormat(c),_.parse()),!h.A.Z7){var v=new DV(h.A);v.copy(_),h.A.Z7=v}if(a="all",null!==ZC._n_(e=f.o.type)&&(a=e),_.AO){_.AO=!1;var E=h.A.o[ZC._[17]].text||"";if("values("===a.substring(0,7)){var w=a.substring(7,a.length).replace(")","").split(",");-1!==ZC.AV(w,h.AD)&&(_.AO=!0)}else{var D=a.split(","),M={min:"%plot-min-value",max:"%plot-max-value",first:"%plot-min-index",last:"%plot-max-index"};for(var T in M)-1!==ZC.AV(D,T)&&(("first"!==T&&"last"!==T||h.L!==h.A.JF[M[T]])&&("min"!==T&&"max"!==T||h.AD!==h.A.JF[M[T]])||("object"==typeof E&&null!==ZC._n_(E[T])&&(_.o.text=E[T],_.parse()),_.AO=!0));-1!==ZC.AV(D,"all")&&(_.AO=!0)}}}if(h.C.E["plot"+h.A.L+".visible"]||(_.E["css-display"]="none"),A)return _;if(_.AO&&null!==ZC._n_(_.AN)&&""!==_.AN){var R=h.HL(_);_.E.positioninfo=R,_.iX=R[0],_.iY=R[1];var V={};if(-1!==_.iX&&-1!==_.iY){var $=!1;if(null!==ZC._n_(_.o.overlap)&&!ZC._b_(_.o.overlap)){V={x:_.iX,y:_.iY,width:_.I,height:_.F};for(var y=0,U=h.A.A.ZH.length;y=a.LM&&!a.AW||e.AD=e.AD&&e.AD<=f?h="bottom":_<=e.AD&&e.AD>=f?h="top":_>=e.AD&&e.AD>=f?h=_/e.AD>e.AD/f?"bottom":"top":_<=e.AD&&e.AD<=f&&(h=e.AD/_>f/e.AD?"top":"bottom")}var m=A.I,v=A.F,E=e.iX-m/2,w=e.iY-v/2;switch(h){case"top":w-=c*(v/2+4);break;case"bottom":w+=c*(v/2+4);break;case"left":E-=m/2+4;break;case"right":E+=m/2+4}return e.C.AJ["3d"]||(E=ZC.BQ(e.C.P.iX-m/2,E),E=ZC.CX(e.C.P.iX+e.C.P.I-m/2,E),w=ZC.BQ(e.C.P.iY-v,w),w=ZC.CX(e.C.P.iY+e.C.P.F,w)),null!==ZC._n_(A.o.x)&&(E=A.iX),null!==ZC._n_(A.o.y)&&(w=A.iY),[ZC._i_(E),ZC._i_(w)]}OX(A,t){var e,a,c,h,_,f=this;if(typeof f.A.bBS===ZC._[31]&&(f.A.bBS=-1===ZC.AV(["bubble","hbubble","scatter","hscatter"],f.A.AF)),null!==ZC._n_(f.A.o["markers-on-top"])&&(f.A.bBS=ZC._b_(f.A.o["markers-on-top"])),!f.C.OM||!f.A.bBS){null===ZC._n_(A)&&(A=!1),null===ZC._n_(t)&&(t=!1);var m=f.C.P.E.tolerance||2,v=!0;if(ZC.DM(f.iX,f.C.P.iX-m,f.C.P.iX+f.C.P.I+m)&&ZC.DM(f.iY,f.C.P.iY-m,f.C.P.iY+f.C.P.F+m)||(v=!1,0!==zingchart.DEV.TRACKERMASKING)){var E=f.C.K+ZC._[34]+f.C.K+ZC._[35]+f.A.L+ZC._[6];if(-1===ZC.AV(f.H.KX,ZC._[39])&&f.A.FV){if(f.A.YJ&&!zingchart.DEV.SKIPTRACKERS){var w=f.getNodeData("points");if(-1!==ZC.AV(f.H.KX,ZC._[42])&&-1!==ZC.AV(["line","area"],f.A.AF)&&typeof w===ZC._[31]&&f.paint(!0),w)if(typeof f.E.polypoints===ZC._[31]){if(2===zingchart.DEV.TRACKERMASKING){for(var D=[f.C.P.iX,f.C.P.iY,f.C.P.iX+f.C.P.I,f.C.P.iY+f.C.P.F],M=[[D[0],D[1],D[2],D[1]],[D[0],D[3],D[2],D[3]],[D[0],D[1],D[0],D[3]],[D[2],D[1],D[2],D[3]]],T=[],R=0;R')}if(("area"===f.A.AF||"area3d"===f.A.AF||"radar"===f.A.AF&&("area"===f.A.CV||"range"===f.A.CV))&&f.A.XU){var te=f.getNodeData("pointsarea");""!==(c=ZC.AP.PR(te,4))&&f.A.A.HJ.push(ZC.Q.FT("poly",f.A.E8,f.A.IT)+'class="'+E+'" id="'+f.K+'--area" coords="'+c+'" />')}}if(v&&(f.A.U||!f.A.GZ||!f.A.A2.o||"none"!==f.A.A2.o.type&&(null===ZC._n_(f.A.A2.o.visible)||ZC._b_(f.A.A2.o.visible))))if(t||f.A.RI){if(f.A.HK)h=f.A.HK,"svg"!==f.H.AC&&(A?(_=new CE(f.C,f.iX-ZC.AQ.E3,f.iY-ZC.AQ.E4,f.A.E["z-start"]||0),h.iX=ZC._x_(_.EC[0]),h.iY=ZC._x_(_.EC[1]),f.E["3dxy"]=[h.iX,h.iY]):(h.iX=ZC._x_(f.iX),h.iY=ZC._x_(f.iY)),h.E.plotidx=f.A.L,h.E.nodeidx=f.L,h.K=f.K+"-marker",h.parse(!0));else{if(f.GZ?f.A._oMarker?h=f.A._oMarker:f.A._oMarker=h=new DX(f.A):h=new DX(f.A),h.K=f.K+"-marker",h.E["p-width"]=f.A.B0.AB,h.E["p-height"]=f.A.CM.AB,f.A.bBS)h.Z=f.A.CO("fl",0),h.C7=f.A.CO("fl",0);else if(h.Z=f.A.CO("bl",1),h.C7=f.A.CO("bl",0),Object&&Object.keys&&Object.keys(f.C.CC).length>0){var le=f.C.CC["p"+f.A.L];"none"!==f.A.J8&&le&&le["n"+f.L]&&(h.Z=f.A.CO("bl",2))}if(A?(_=new CE(f.C,f.iX-ZC.AQ.E3,f.iY-ZC.AQ.E4,f.A.E["z-start"]||0),h.iX=ZC._x_(_.EC[0]),h.iY=ZC._x_(_.EC[1]),f.E["3dxy"]=[h.iX,h.iY]):(h.iX=ZC._x_(f.iX),h.iY=ZC._x_(f.iY)),h.B7=f.A.BP[3],h.BX=f.A.BP[3],h.A0=f.A.BP[2],h.AE="bubble"===f.A.AF||"hbubble"===f.A.AF?f.A.BP[1]:f.A.BP[2],h.append(f.A.A2.o),null!==ZC._n_(f.E["marker.size"])&&(h.AI=f.E["marker.size"]),h.E.plotidx=f.A.L,h.E.nodeidx=f.L,"none"!==f.A.J8&&(f.C.J4[f.A.L]||f.C.KR))if(f.C.CC["p"+f.A.L]&&f.C.CC["p"+f.A.L]["n"+f.L]){if(h.M1={},f.A.Q0&&ZC._cp_(f.A.Q0.o,h.M1),h.M1.rules){var ce=new DX(f.A);ce.o=h.M1,ce.parse(),ce.IX=function(Se){return f.IX(Se)},ce.DC()&&(h.M1=ce.o)}}else"none"!==f.A.OE&&("plot"===f.A.OE&&f.C.J4[f.A.L]||"graph"===f.A.OE&&f.C.KR)&&(h.M1=f.A.PY?f.A.PY.o:{});null!==ZC._n_(e=f.A.o.marker)&&null!==ZC._n_(e.styles)&&null!==ZC._n_(a=e.styles[f.L])&&h.append("string"==typeof a?{"background-color":ZC.AR.RC(a,20),"line-color":ZC.AR.JU(a,20),"border-color":ZC.AR.JU(a,20)}:a),h.parse(),h.IX=function(Se){return f.IX(Se)},h.DC()&&h.parse()}if(f.E["marker.size"]=ZC.BQ(2.02,f.E["marker.size"]||h.AI),h.DF=E,!(A||ZC.DM(h.iX,f.C.P.iX-2,f.C.P.iX+f.C.P.I+2)&&ZC.DM(h.iY,f.C.P.iY-2,f.C.P.iY+f.C.P.F+2)))return;if(h.I4&&(f.A.Z6=!1,h.GN(h,h,null,f.LO(null,!1)),h.parse()),f.LF=h,h.AO&&"none"!==h.AF){var Ce=function(){if(f.A.bBS||f.MY(ZC.Q.EA(f.A.CO("bl",0),f.H.AC)),f.E["marker.type"]=h.DS,f.A.FV&&-1===ZC.AV(f.H.KX,ZC._[40])&&!zingchart.DEV.SKIPTRACKERS){var xe=f.E["3dxy"]?f.E["3dxy"][1]:f.iY,we=parseInt((f.E["3dxy"]?f.E["3dxy"][0]:f.iX)+h.BL+ZC.MAPTX,10),Re=parseInt(xe+h.BH+ZC.MAPTX,10),Ie=parseInt(ZC.BQ(ZC.mobile?6:3,f.E["marker.size"]+1)*(ZC.mobile?1.25:1.05),10),Ne=!0;typeof f.A.aLastMarkerXY!==ZC._[31]?Math.sqrt((we-f.A.aLastMarkerXY[0])*(we-f.A.aLastMarkerXY[0])+(Re-f.A.aLastMarkerXY[1])*(Re-f.A.aLastMarkerXY[1]))'):f.A.A.HJ.push(ZC.Q.FT("circle",f.A.E8,f.A.IT)+'class="'+E+'" '+f.a11y()+' id="'+f.K+"--marker"+ZC._[30]+we+","+Re+","+Ie+'" />'))}if(f.A.U&&(f.A.E.vboxid=f.K,f.F9()),!f.A.bBS&&f.C.B9&&f.C.B9.IJ&&f.A.R1&&f.C.B9.AO){var We=f.C.P,Te=f.C.B9,ze=Te.AT,Ve=f.A.HK||h,lt=new DX(f.A);lt.copy(Ve);var Ee=(f.iX-We.iX)/We.I,nt=(f.iY-We.iY)/We.F,Ge=Math.min(ze.F/We.F,ze.I/We.I);lt.iX=ze.iX+ze.AU+Ee*(ze.I-2*ze.AU),lt.iY=ze.iY+ze.AU+nt*(ze.F-2*ze.AU),lt.K=f.K+"-marker-preview",lt.DF=f.A.K+"-preview";var Pe=Ve.AI;null!==ZC._n_(f.E["marker.size"])&&(Pe=f.E["marker.size"]),lt.AI=ZC.BQ(2.02,.9*Ge*Pe),lt.Z=lt.C7=Te.Z,lt.parse(),lt.paint()}},se=!1;if((!f.A.bBS||"radar"===f.A.AF&&"dots"===f.A.CV)&&(se=!0),f.A.GG&&se&&!f.C.HP){var he=h,fe={},ie=h.C5,De=h.AI,ge=h.iX,me=h.iY;he.iX=ge,he.iY=me,fe.x=ge,fe.y=me;var Ze,pe=f.A.LK,ve=f.C.P;for(Ze in he.C5=0,fe.alpha=ie,3===pe?(he.AI=2,fe.size=De):8===pe?(he.iX=ge-ve.iX,fe.x=ge):9===pe?(he.iX=ge+ve.iX,fe.x=ge):10===pe?(he.iY=me-ve.iY,fe.y=me):11===pe&&(he.iY=me+ve.iY,fe.y=me),f.A.FZ)he[EB.GP[ZC.EF(Ze)]]=f.A.FZ[Ze],fe[ZC.EF(Ze)]=f.O[EB.GP[ZC.EF(Ze)]];if(null===ZC._n_(f.C.EN)&&(f.C.EN={}),null!==ZC._n_(f.C.EN[f.A.L+"-"+f.L]))for(Ze in f.C.EN[f.A.L+"-"+f.L])he[EB.GP[ZC.EF(Ze)]]=f.C.EN[f.A.L+"-"+f.L][Ze];f.C.EN[f.A.L+"-"+f.L]={},ZC._cp_(fe,f.C.EN[f.A.L+"-"+f.L]);var ke=new EB(he,fe,f.A.JN,f.A.LI,EB.RX[f.A.LL],function(){Ce()});ke.AX=f,ke.OO=function(){f.MY(ZC.Q.EA(f.A.CO("bl",0),f.H.AC))},f.LD(ke)}else{var de="circle"===h.DS?"circle":"path";if(f.A.HQ){var Oe=function(Se,xe){var we=Se.cloneNode(!1),Re=f.iX,Ie=f.iY;if(A){var Ne=new CE(f.C,Re-ZC.AQ.E3,Ie-ZC.AQ.E4,f.A.E["z-start"]||0);Re=ZC._x_(Ne.EC[0]),Ie=ZC._x_(Ne.EC[1]),f.E["3dxy"]=[Re,Ie]}we.setAttribute("transform","translate("+ZC._i_(Re-h.iX)+","+ZC._i_(Ie-h.iY)+") "+(we.getAttribute("transform")||"")),we.setAttribute("id",xe),"bubble"!==f.A.AF&&"hbubble"!==f.A.AF||we.setAttribute("r",f.E["marker.size"]),Se.parentNode.appendChild(we)};h.MJ&&Oe(f.A.RP,f.K+"-marker-sh-"+de),Oe(f.A.HQ,f.K+"-marker-"+de),h.DA&&Oe(f.A.QM,f.K+"-marker-imgfill")}else if(h.paint(),!f.C.J4[f.A.L]&&f.A.Z6&&h.A0===h.AE)if("svg"===f.H.AC){if(-1===ZC.AV(["pie","square","rect","rectangle","cross","plus","custom"],h.DS))if(f.A.HK=h,zingchart.DEV.DOMFRAGMENTS&&document.querySelector){for(var be in f.H.G5)f.A.HQ||(f.A.HQ=f.H.G5[be].querySelector("#"+f.K+"-marker-"+de)),h.MJ&&!f.A.RP&&(f.A.RP=f.H.G5[be].querySelector("#"+f.K+"-marker-sh-"+de)),h.DA&&!f.A.QM&&(f.A.QM=f.H.G5[be].querySelector("#"+f.K+"-marker-imgfill")||f.H.G5[be].querySelector("#"+f.K+"-marker-path-imgfill"));f.A.HQ||(f.A.HQ=ZC.AM(f.K+"-marker-"+de),h.MJ&&(f.A.RP=ZC.AM(f.K+"-marker-sh-"+de)),h.DA&&(f.A.QM=ZC.AM(f.K+"-marker-imgfill")))}else f.A.HQ=ZC.AM(f.K+"-marker-"+de),h.MJ&&(f.A.RP=ZC.AM(f.K+"-marker-sh-"+de)),h.DA&&(f.A.QM=ZC.AM(f.K+"-marker-imgfill")||ZC.AM(f.K+"-marker-path-imgfill"))}else"bubble"!==f.A.AF&&"hbubble"!==f.A.AF&&(A||(f.A.HK=h));"svg"===f.H.AC&&f.A.applyJsRuleSvg(f.A.A2,f.K+"-marker-"+de,f.LO()),Ce()}}else f.A.U&&f.F9()}else f.A.U&&f.F9()}}}LD(A,t){var e,a=this,c=a.C.M7,h=c.PU,_=a.A.U0;switch(_){default:t&&c.add(t),c.add(A);break;case 1:case 2:case 3:if(t){var f="all";if(1===_?f="plots-group-"+a.L+"-area":2===_&&(f="nodes-group-"+a.A.L+"-area"),null===ZC._n_(h[f])){var m=new A2W(f);c.A63(m,t.XS)}h[f].add(t)}if(e="all",1===_?e="plots-group-"+a.L:2===_&&(e="nodes-group-"+a.A.L),null===ZC._n_(h[e])){var v=new A2W(e);c.A63(v,A.XS)}h[e].add(A)}}SE(A){var t=this;t.A.GZ&&t.A.bXY&&(t.S4(),A&&("scatter"!==t.A.AF&&"hscatter"!==t.A.AF&&"bubble"!==t.A.AF&&"hbubble"!==t.A.AF||t.paint(!0)));var e=t.A.BP;t.LR({layer:A,type:"shape",id:"marker",marker:!0,initcb:function(){this.DS=t.E["marker.type"],this.iX=t.iX,this.iY=t.iY,"bubble"===t.A.AF||"hbubble"===t.A.AF?(this.AE=e[3],this.A0=e[2]):(this.B7=e[3],this.BX=e[3],this.A0=e[2],this.AE=e[1]),this.AI=t.E["marker.size"]}})}YP(A){var t=this;t.LR({layer:A,type:"line",id:"line",initcb:function(){this.B7=t.A.BP[3]}})}LR(A){if(!ZC.move){var t,e,a,c,h,_,f=this,m=A.layer||"hover",v=A.id||"",E=!1;switch(f.GL=null,null!==ZC._n_(t=A.marker)&&(E=ZC._b_(t)),m){case"hover":null!==ZC._n_(f.C.CC["p"+f.A.L])&&null!==ZC._n_(f.C.CC["p"+f.A.L]["n"+f.L])||(a=E?f.A.GC:f.A.IO,c="hover");break;case"highlight":a=E?f.A.VP:f.A.SJ,c="hover"}if(null!==ZC._n_(A.state)&&(a=A.state),a&&f.C.E["plot"+f.A.L+".visible"]&&a.AO){switch(A.type){case"box":(_=new I7(f.A)).QB=!0;break;case"line":_=new DX(f.A),h=ZC.Q.EA(f.C.K+"-"+c+"-c",f.H.AC),_.CY=!1;break;case"shape":_=new DX(f.A);break;case"area":_=new DX(f.A),h=ZC.Q.EA(f.C.K+"-"+c+"-c",f.H.AC)}if(E&&(_.E["p-width"]=f.A.B0.AB,_.E["p-height"]=f.A.CM.AB),_.Z=_.C7=zingchart.DEV.PLOTSHLAYER&&"hover"===c?ZC.AM(f.C.K+"-plots-hover-c"):ZC.AM(f.C.K+"-"+c+"-c"),_.K=f.K+"-"+(""!==v?v+"-":"")+m,_.E.plotidx=f.A.L,_.E.nodeidx=f.L,"hover"!==m&&(_.A2K=!0),A.initcb&&A.initcb.call(_),_.append(a.o),A.parsecb&&A.parsecb.call(_),"hover"===m&&null!==ZC._n_(t=f.A.o)&&null!==ZC._n_(t.styles)&&null!==ZC._n_(e=t.styles[f.L])&&_.append("string"==typeof e?{"background-color":e,"line-color":e,"border-color":e}:e),null!==ZC._n_(t=f.A.o[m+"-state"])&&null!==ZC._n_(t.styles)&&null!==ZC._n_(e=t.styles[f.L])&&_.append("string"==typeof e?{"background-color":e,"line-color":e,"border-color":e}:e),f.A.I4&&f.GN(_,m),"hover"===m&&f.A.A2&&f.A.A2.I4&&(f.A.A2.GN(f.A.A2,_,null,f.LO(null,!1)),_.parse()),_.parse(),_.IX=function(w){return f.IX(w)},_.DC()&&_.parse(),_.AO){switch(A.setupcb&&A.setupcb.call(_),A.type){case"box":case"shape":_.locate(2),_.paint();break;case"line":ZC.CQ.setup(h,_),"plot"===f.A.A47?ZC.CQ.paint(h,_,f.A.VO):ZC.CQ.paint(h,_,f.getNodeData("points"));break;case"area":"spline"!==f.A.CV&&(null!==ZC._n_(t=a.o["alpha-area"])&&(_.C5=ZC._f_(t)),ZC.CQ.setup(h,_),_.paint())}f.GL=_}}}}MY(){}setup(){}HZ(){}L5(){var A=this;ZC.Q.EV([A.K+"-hover-gradient",A.K+"-marker-hover-gradient",A.H.K+"-tooltip-text-gradient",A.H.K+"-tooltip-text-sh-gradient"])}LO(A,t){var e=this;typeof t===ZC._[31]&&(t=!0);var a=!1;"none"!==e.A.J8&&e.C.CC&&e.C.CC["p"+e.A.L]&&e.C.CC["p"+e.A.L]["n"+e.L]&&(a=!0);var c={id:e.C.A.K,graphid:e.C.K,graphindex:e.C.L,plotid:e.A.H9,plotindex:e.A.L,nodeindex:e.L,key:null===e.BW?e.L:e.BW,scaleval:e.A.B0?e.A.B0.V[null===e.BW?e.L:e.BW]:null,scaletext:e.A.B0?e.A.B0.FD(e.L,null===e.BW?null:e.A):null,value:e.AD,text:t?e.ET(e.A.JE):e.A.JE,ev:A?ZC.A5.BY(A):null,x:e.iX,y:e.iY,width:e.I,height:e.F,size:e.E["marker.size"]||1,selected:a};for(var h in e.A.K7)e.A.K7[h]instanceof Array?null!==ZC._n_(e.A.K7[h][e.L])&&(c["data-"+h]=e.A.K7[h][e.L]):c["data-"+h]=e.A.K7[h];return c}P3(A,t){ZC.AR.C1("node_"+t,this.H,this.LO(A))}}class A3J extends MM{setup(){this.S4()}JD(){return{color:this.A.GZ?this.A.B7:this.O.B7}}KH(){return{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}getTooltipPosition(t,e){super.getTooltipPosition(t,e,this.LF.AI)}paint(t){var e=this;typeof t===ZC._[31]&&(t=!1),super.paint();var a=e.A.NN,c=e.A.OK,h=e.A.B0,_=e.A.R;if(e.setup(),!e.A.GZ||e.C.AJ["3d"]||e.A.FV){e.O.CY=e.CY=!1,e.O.C7=e.A.CO("bl",0);var f=[],m=e.A.CV;(e.C.OM||e.A.UN)&&"spline"===e.A.CV&&(m="segmented");var v=typeof e.A.GD!==ZC._[31]?e.A.GD:e.A.Y,E=typeof e.A.HN!==ZC._[31]?e.A.HN:e.A.Y,w=!0,D=!0;(null===ZC._n_(_[e.L-v])||"log"!==h.BT&&!h.EG&&e.L<=h.W)&&(w=!1);var M,T,R,V,$=e.A.M4?e.A.R.length:h.A1;switch((null===ZC._n_(_[e.L+E])||"log"!==h.BT&&!h.EG&&e.L>=$)&&(D=!1),m){default:w&&(e.A.FK(e.L-v,0).setup(),e.A.VF&&(M=ZC.AP.K3(e.A.R[e.L-v].iX,e.A.R[e.L-v].iY,e.A.R[e.L].iX,e.A.R[e.L].iY),f.push(M))),f.push([e.iX,e.iY]),D&&(e.A.FK(e.L+E,2).setup(),M=e.A.VF?ZC.AP.K3(e.A.R[e.L].iX,e.A.R[e.L].iY,e.A.R[e.L+E].iX,e.A.R[e.L+E].iY,e.O.C5):[_[e.L+E].iX,_[e.L+E].iY],f.push(M));break;case"spline":if(e.A.D&&(f=e.A.D),e.A.D=[],_[e.L+1]){var y=[],U=[];for(T=-1;T<3;T++)_[e.L+T]?(e.A.FK(e.L+T,2).setup(),a?(y.push(_[e.L+T].iX),U.push(_[e.L+T].iY)):(y.push(_[e.L+T].iY),U.push(_[e.L+T].iX))):0===y.length?a?(U.push(e.iY),y.push(e.iX)):(U.push(e.iX),y.push(e.iY)):(y.push(y[y.length-1]),U.push(U[U.length-1]));var O=ZC._a_(U[2]-U[1]);O=Math.min(O,Math.max(e.C.I,e.C.F));var Q=ZC.AP.YY(e.A.QP,y,O);if(e.A.VF){for(T=0;T1&&(ee.D=oe,ne.points=f);for(V in e.A.FZ)ee[EB.GP[ZC.EF(V)]]=e.A.FZ[V],ne[ZC.EF(V)]=W[EB.GP[ZC.EF(V)]];if(e.C.EN||(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(V in e.C.EN[e.A.L+"-"+e.L])ee[EB.GP[ZC.EF(V)]]=e.C.EN[e.A.L+"-"+e.L][V];e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(ne,e.C.EN[e.A.L+"-"+e.L]);var ce=new EB(ee,ne,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){Ce()});ce.AX=e,ce.OO=function(){e.MY(ZC.Q.EA(e.A.CO("bl",1),e.H.AC))},ce.I2=c,e.LD(ce)}else ZC.CQ.paint(c,W,f),Ce()}}function Ce(){!e.C.OM&&ZC.DM(e.iX,h.iX-1,h.iX+h.I+1)&&ZC.DM(e.iY,h.iY-1,h.iY+h.F+1)&&(e.OX(),e.MY(ZC.Q.EA(e.A.CO("bl",1),e.H.AC)),e.A.U&&e.A.U.AO&&e.A.E.vboxid!==e.K&&e.F9())}}paintPreview(t,e){var a=this;if(a.C.B9&&a.C.B9.IJ&&a.A.R1){var c,h=a.A.mapPointsToPreview(e);a.A.WK?c=a.A.WK:(c=new CZ(a),a.A.WK=c),c.copy(t),c.K=a.K+"-line-preview",c.DF=a.A.K+"-preview";var _=ZC.Q.EA(a.C.B9.Z,a.H.AC);c.B1=1;var f=a.o["preview-state"];f&&(c.append(f),c.parse()),ZC.CQ.paint(_,c,h,null,3)}}HZ(t){var e=this;ZC.move||(e.YP(t),e.A.RI&&e.SE(t))}}class A3K extends MM{setup(){this.S4()}JD(){return{color:this.A.GZ?this.A.B7:this.O.B7}}KH(){return{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}getTooltipPosition(t,e){return super.getTooltipPosition(t,e,this.LF.AI)}paint(t){var e,a,c,h,_,f,m,v,E=this;typeof t===ZC._[31]&&(t=!1),super.paint();var w=E.A.NN,D=E.A.OK,M=E.A.B0,T=E.A.CM,R=E.A.R;if(E.setup(),!E.A.GZ||E.C.AJ["3d"]||E.A.FV){E.O.CY=E.CY=!1,E.O.C7=E.A.CO("bl",1);var $=T.AK(T.HC);$=w?ZC._l_($,T.iX,T.iY+T.I):ZC._l_($,T.iY,T.iY+T.F);var y=M.DE?M.AB/2:0,U=[],O=[],Q=[],W=null;null!==ZC._n_(E.A.A.F3)&&null!==ZC._n_(E.A.A.F3[E.L])&&(W=E.A.A.F3[E.L]);var ae=E.A.CV;(E.C.OM||E.A.UN)&&"spline"===E.A.CV&&(ae="segmented"),a=E.O.B1/2-1,c="svg"===E.H.AC&&ZC.mobile?E.O.HW/4:0,"vml"===E.H.AC&&E.A.GG&&(c=.5),E.C.AJ["3d"]&&(1===E.A.HW?c=1:(c=E.A.HW/3,"canvas"===E.H.AC&&(ZC.A5.browser.msie||ZC.A5.browser.opera)&&(c=.5)),M.AW&&(c=-c));var ee,ne=typeof E.A.GD!==ZC._[31]?E.A.GD:E.A.Y,oe=typeof E.A.HN!==ZC._[31]?E.A.HN:E.A.Y,te=!0,le=!0;switch((!R[E.L-ne]||"log"!==M.BT&&!M.EG&&E.L<=M.W)&&(te=!1),(!R[E.L+oe]||"log"!==M.BT&&!M.EG&&E.L>=(E.A.M4?E.A.R.length:M.A1))&&(le=!1),ae){default:if(te)E.A.FK(E.L-ne,0).setup(),E.A.VF?(_=ZC.AP.K3(R[E.L-ne].iX,R[E.L-ne].iY,R[E.L].iX,R[E.L].iY),Q.push([ZC._i_(_[0])-c,_[1]-a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(_[0])-c,$]),O.push([ZC._i_(_[0])-c,_[1]+a]),U.push([_[0],_[1]])):O.push([ZC._i_(E.iX),$]);else if(M.EG||E.L!==M.W)E.A.CD&&null!==ZC._n_(W)?(ee=E.A.A.A3[E.A.L-1])&&ee.R[E.L]&&O.push([ZC._i_(E.iX),ee.R[E.L].iY+a]):(O.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX-M.AB/2),$]),Q.push([ZC._i_(E.iX),$]));else if(M.AW)E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.I-M.BS-y),$]),O.push([ZC._i_(M.iX+M.I-M.BS-y),E.iY+a]);else{var Ce=ZC._i_(M.iX+M.A9+y);E.A.M4&&(Ce=M.H7(E.A.RJ)-M.AB/2),E.A.CD&&null!==ZC._n_(W)||O.push([Ce,$]),O.push([Ce,E.iY+a])}Q.push([ZC._i_(E.iX),E.iY-a]),O.push([ZC._i_(E.iX),E.iY+a]),U.push([E.iX,E.iY]),le?(E.A.FK(E.L+oe,2).setup(),h=E.A.VF?ZC.AP.K3(R[E.L].iX,R[E.L].iY,R[E.L+oe].iX,R[E.L+oe].iY):[R[E.L+oe].iX,R[E.L+oe].iY],Q.push([ZC._i_(h[0]),h[1]-a]),O.push([ZC._i_(h[0]),h[1]+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(h[0]),$]),_=E.A.VF?ZC.AP.K3(R[E.L].iX,R[E.L].iY,R[E.L+oe].iX,R[E.L+oe].iY,E.O.C5):[R[E.L+oe].iX,R[E.L+oe].iY],U.push([_[0],_[1]])):E.L===M.A1?M.AW?(O.push([M.iX+M.A9-y,E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.A9-y),$])):(O.push([M.iX+M.I-M.BS-y,E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.I-M.BS-y),$])):E.A.CD&&null!==ZC._n_(W)?(ee=E.A.A.A3[E.A.L-1])&&ee.R[E.L]&&O.push([ZC._i_(E.iX),ee.R[E.L].iY+a]):(O.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX+M.AB/2),$]));break;case"spline":if(null!==ZC._n_(E.A.D7)&&(Q=E.A.D7),null!==ZC._n_(E.A.AH)&&(O=E.A.AH),E.A.D7=[],E.A.AH=[],null!==ZC._n_(E.A.D)&&(U=E.A.D),E.A.D=[],R[E.L+1]){var se=[],he=[];for(f=-1;f<3;f++)R[E.L+f]?(E.A.FK(E.L+f,2).setup(),w?(se.push(R[E.L+f].iX),he.push(R[E.L+f].iY)):(se.push(R[E.L+f].iY),he.push(R[E.L+f].iX))):0===se.length?w?(he.push(E.iY),se.push(E.iX)):(he.push(E.iX),se.push(E.iY)):(se.push(se[se.length-1]),he.push(he[he.length-1]));var fe=ZC._a_(he[2]-he[1]);fe=Math.min(fe,Math.max(E.C.I,E.C.F));var ie=ZC.AP.YY(E.A.QP,se,fe);if(E.A.VF){for(0===O.length&&(E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(E.iX+(M.AW?-1:1)*ie[0][0]*fe),$])),f=0;f0&&O.push([O[O.length-1][0],$]);break;case"stepped":if(te)switch(E.A.FK(E.L-ne,0).setup(),_=ZC.AP.K3(R[E.L-ne].iX,R[E.L-ne].iY,R[E.L].iX,R[E.L].iY),E.A.SZ){default:Q.push([ZC._i_(_[0])-c,E.iY-a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(_[0])-c,$]),O.push([ZC._i_(_[0])-c,E.iY+a]),U.push(w?[R[E.L-ne].iX,_[1]]:[_[0],R[E.L-ne].iY]),U.push(w?[E.iX,_[1]]:[_[0],E.iY]);break;case"before":Q.push([ZC._i_(R[E.L-ne].iX)-c,E.iY-a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(R[E.L-ne].iX)-c,$]),O.push([ZC._i_(R[E.L-ne].iX)-c,E.iY+a]),U.push([R[E.L-ne].iX,R[E.L-ne].iY]),U.push([R[E.L-ne].iX,E.iY]);break;case"after":Q.push([ZC._i_(E.iX)-c,E.iY-a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(E.iX)-c,$]),O.push([ZC._i_(E.iX)-c,E.iY+a])}else M.EG||E.L!==M.W?E.A.CD&&null!==ZC._n_(W)?(ee=E.A.A.A3[E.A.L-1])&&ee.R[E.L]&&O.push([ZC._i_(E.iX),ee.R[E.L].iY+a]):(O.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX-M.AB/2),$]),Q.push([ZC._i_(E.iX),$])):M.AW?(E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.I-M.BS-y),$]),O.push([ZC._i_(M.iX+M.I-M.BS-y),E.iY+a])):(E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.A9+y),$]),O.push([ZC._i_(M.iX+M.A9+y),E.iY+a]));if(Q.push([ZC._i_(E.iX),E.iY-a]),O.push([ZC._i_(E.iX),E.iY+a]),U.push([E.iX,E.iY]),le)switch(E.A.FK(E.L+oe,2).setup(),_=ZC.AP.K3(R[E.L].iX,R[E.L].iY,R[E.L+oe].iX,R[E.L+oe].iY,E.O.C5),E.A.SZ){default:Q.push([ZC._i_(_[0]),E.iY-a]),O.push([ZC._i_(_[0]),E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(_[0]),$]),U.push(w?[E.iX,_[1]]:[_[0],E.iY]);break;case"before":Q.push([ZC._i_(E.iX),E.iY-a]),O.push([ZC._i_(E.iX),E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(E.iX),$]);break;case"after":Q.push([ZC._i_(R[E.L+oe].iX),E.iY-a]),O.push([ZC._i_(R[E.L+oe].iX),E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(R[E.L+oe].iX),$]),U.push([R[E.L+oe].iX,E.iY]),U.push([R[E.L+oe].iX,R[E.L+oe].iY])}else E.L===M.A1?M.AW?(O.push([M.iX+M.A9-y,E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.A9-y),$])):(O.push([M.iX+M.I-M.BS-y,E.iY+a]),E.A.CD&&null!==ZC._n_(W)||O.push([ZC._i_(M.iX+M.I-M.BS-y),$])):E.A.CD&&null!==ZC._n_(W)?(ee=E.A.A.A3[E.A.L-1])&&ee.R[E.L]&&O.push([ZC._i_(E.iX),ee.R[E.L].iY+a]):(O.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX),$]),Q.push([ZC._i_(E.iX+M.AB/2),$]))}if(E.A.CD&&null!==ZC._n_(W))for(f=W.length-1;f>=0;f--)O.push(W[f]);if(E.setNodeData({points:U,pointsarea:O}),"ready"!==E.C.MN&&(E.A.VO=E.A.VO.concat(U)),null===ZC._n_(E.A.A.F3)&&(E.A.A.F3=[]),E.A.A.F3[E.L]=Q,!t&&!E.C.AJ["3d"]){var De=E.O=E.A.I8(E,E.O),ge=E.C.K+ZC._[34]+E.C.K+ZC._[35]+E.A.L+ZC._[6];De.DF=ge,De.K=E.K,E.A.I4&&E.GN(De);var me,Ze=E.C.P;if(0!==E.A.E5.length||E.A.I4||typeof E.A.AA4===ZC._[31]||E.O.o.override||E.C.KR?((me=new DX(E.A)).copy(De),me.C5=E.A.HW):me=E.A.AA4,E.GN(me),me.C5=ZC._f_(me.o["alpha-area"]||"1"),me.CY=!1,me.LH=!0,me.B1=0,me.AU=0,me.ES=0,me.G4=0,me.Z=E.A.CO("bl",E.C.CD?0:1),me.D=O,me.D1=[Ze.iX,Ze.iY,Ze.iX+Ze.I,Ze.iY+Ze.F],null!==ZC._n_(e=E.A.E["min-y"])&&(me.E["bound-1"]=e,me.D1[1]=e),null!==ZC._n_(e=E.A.E["max-y"])&&(me.E["bound-3"]=e,me.D1[3]=e),me.K=E.K+"-area",E.A.GG||(me.E.areanode=!0),ZC.CQ.setup(D,De),E.paintPreview(De,U,O),E.A.GG&&!E.C.HP){var pe=new DX(E),ve={};pe.copy(De),pe.K=E.K,pe.Z=E.A.CO("bl",2),pe.C7=E.A.CO("bl",1),pe.D=U;var ke=me,de={},Oe=[],Fe=[];pe.D=U,ve.points=U,ke.D=O,de.points=O;var be=E.A.LK,Se=E.C.P;pe.C5=0,ve.alpha=De.C5,ke.C5=0,de.alpha=E.A.HW;var xe,we=function(We){for(var Te=We?O:U,ze=We?Fe:Oe,Ve=0;Ve1&&(We?(ke.D=Fe,de.points=O):(pe.D=Oe,ve.points=U))};for(xe in we(),we(!0),E.A.FZ)pe[EB.GP[ZC.EF(xe)]]=E.A.FZ[xe],ve[ZC.EF(xe)]=De[EB.GP[ZC.EF(xe)]],ke[EB.GP[ZC.EF(xe)]]=E.A.FZ[xe],de[ZC.EF(xe)]=De[EB.GP[ZC.EF(xe)]];if(null===ZC._n_(E.C.EN)&&(E.C.EN={}),null===ZC._n_(E.C.T3)&&(E.C.T3={}),null!==ZC._n_(E.C.EN[E.A.L+"-"+E.L])){for(xe in E.C.EN[E.A.L+"-"+E.L])pe[EB.GP[ZC.EF(xe)]]=E.C.EN[E.A.L+"-"+E.L][xe];for(xe in E.C.T3[E.A.L+"-"+E.L])ke[EB.GP[ZC.EF(xe)]]=E.C.T3[E.A.L+"-"+E.L][xe]}E.C.EN[E.A.L+"-"+E.L]={},ZC._cp_(ve,E.C.EN[E.A.L+"-"+E.L]),E.C.T3[E.A.L+"-"+E.L]={},ZC._cp_(de,E.C.T3[E.A.L+"-"+E.L]);var Re=new EB(pe,ve,E.A.JN,E.A.LI,EB.RX[E.A.LL],function(){Ne()});Re.AX=E,Re.OO=function(){E.MY(ZC.Q.EA(E.A.CO("bl",1),E.H.AC))},Re.I2=D;var Ie=new EB(ke,de,E.A.JN,E.A.LI,EB.RX[E.A.LL],function(){});Ie.AX=E,E.LD(Re,Ie)}else me.paint(),0!==E.A.E5.length||typeof E.A.AA4!==ZC._[31]||E.O.o.override||E.C.KR||E.C.HP||(E.A.AA4=me),ZC.CQ.paint(D,De,U),Ne()}}function Ne(){!E.C.OM&&ZC.DM(E.iX,M.iX-1,M.iX+M.I+1)&&ZC.DM(E.iY,M.iY-1,M.iY+M.F+1)&&(E.OX(),E.MY(ZC.Q.EA(E.A.CO("bl",1),E.H.AC)),E.A.U&&E.A.U.AO&&E.A.E.vboxid!==E.K&&E.F9())}}paintPreview(t,e,a){var c=this;if(c.C.B9&&c.C.B9.IJ&&c.A.R1){var h,_=c.C.P,f=c.C.B9,m=c.A.mapPointsToPreview(a),v=new DX(c.A);v.copy(t),v.CY=!0,v.LH=!0,v.B1=0,v.AU=0,v.ES=0,v.G4=0,v.C5=c.A.HW,v.D1=[_.iX,_.iY,_.iX+_.I,_.iY+_.F],v.K=c.K+"-area-preview",v.DF=c.A.K+"-preview",v.Z=f.Z;var E,w=c.A.o["preview-state"];w&&(null!==ZC._n_(w["alpha-area"])?(h=w.alpha,w.alpha=w["alpha-area"]):w.alpha=v.C5,v.append(w),v.parse(),null!==ZC._n_(h)?w.alpha=h:delete w.alpha),v.D=m,v.paint();var D=c.A.mapPointsToPreview(e);c.A.WK?E=c.A.WK:(E=new CZ(c),c.A.WK=E),E.copy(t),E.K=c.K+"-line-preview",E.DF=c.A.K+"-preview";var M=ZC.Q.EA(f.Z,c.H.AC);E.B1=1,w&&(E.append(w),E.parse()),ZC.CQ.paint(M,E,D,null,3)}}HZ(t){var e=this;ZC.move||(e.A.NN||e.LR({layer:t,type:"area",initcb:function(){this.A0=e.A.BP[2],this.AE=e.A.BP[2],this.D=e.getNodeData("pointsarea")||[]},setupcb:function(){this.B1=0,this.AU=0,this.C5=e.A.HW;var a=e.C.P;this.D1=[a.iX,a.iY,a.iX+a.I,a.iY+a.F]}}),e.YP(t),e.A.RI&&e.SE(t))}}class A00 extends MM{setup(){this.S4()}OS(){var t=this;t.paint(!0);var e=t.C.BK(t.A.BV("v")[0]);return[t.iX+t.I/2,t.iY+(e.AW?t.F:0),{reference:t,center:!0}]}HL(t){var e=this,a="top-out",c=e.C.BK(e.A.BV("v")[0]),h=e.AD>=c.HC&&!c.AW||e.ADe.C.P.iY+e.C.P.F-f-5+T[2]&&(v=e.C.P.iY+e.C.P.F-f-5+T[2]-D)),[ZC._i_(m),ZC._i_(v)]}getPMap(){var t=super.getPMap();return this.addPMap(t,"barWidth","I"),t}paint(t){var e,a=this;if(super.paint(),!a.C.AJ["3d"]){typeof t===ZC._[31]&&(t=!1);var c=a.A.B0,h=a.A.CM;a.setup();var _,f,m,v,E,D=h.AK(h.HC),M=a.A.RB(),T=M.AB,R=M.EU,V=M.CF,$=M.CS,y=M.F4,U=M.D3,O=M.F0;if(t?R=a.A.E["node-"+a.L+"-bar-index"]:a.A.E["node-"+a.L+"-bar-index"]=M.EU,a.A.CD){_=0;for(var Q=a.A.A.KM[R],W=0;W0){var le=U;(U=a.A.D3)<=1&&(U*=le),te+=(le-U)/2}var ce=U,Ce=a.iY,se=null!==ZC._n_(a.A.M9[a.L])?a.A.M9[a.L]:0;if(Ce=h.AK(a.A.CD&&"100%"===a.A.KZ?100*(a.CP+se)/a.A.A.FA[a.L]["%total-"+a.A.DZ]:a.CP+se),a.A.CD){f=h.AK("100%"===a.A.KZ?100*(a.CP-a.AD+se)/a.A.A.FA[a.L]["%total-"+a.A.DZ]:a.CP-a.AD+se),Ce=ZC._i_(Ce),f=ZC._i_(f);var he=!h.AW&&a.AD>=0||h.AW&&a.AD<=0?-1:1,fe=0,ie=0;""!==a.A.QD?(fe=a.VB(a.A.QD)[0],ie=0):fe=a.A.AU,""!==a.A.O2?(ie=a.VB(a.A.O2)[0],fe=0):ie=a.A.AU,fe!==ie&&(he=0),m=Ce-f+he*fe,a.AD<0&&(Ce=f),h.AW?m>0&&(m=ZC._a_(m),Ce=f):m<0&&(m=ZC._a_(m),Ce=f-m),h.AW&&a.AD<0&&(m+=ie)}else f=h.AK(se),(m=Ce-f)<0?(m=ZC._a_(m),Ce=f-m):Ce=f;if(a.A.U5&&a.A.CD&&a.A.L>0&&a.A.A.A3[a.A.L-1].R[a.L]&&0===a.A.A.A3[a.A.L-1].R[a.L].AD&&(m-=1,Ce+=h.AW?1:-1),m<2&&(a.AD>0||a.A.U5)&&(m=1,h.AW?a.A.CD&&(a.A.L>0&&(Ce-=1),(0===a.A.L||a.AD>0&&a.AD===a.CP)&&(Ce+=1)):a.A.CD?(0===a.A.L||a.AD>0&&a.AD===a.CP)&&(Ce-=2):Ce=se?f-1:D-2),a.I=ce,a.F=m,a.iX=te,a.iY=Ce,a.iYVal=h.AW?a.AD>=h.HC?Ce+a.F:Ce:a.AD>=h.HC?Ce:Ce+a.F,a.C.CW){var De="middle";a.C.CW.o.marker&&null!==ZC._n_(e=a.C.CW.o.marker.alignment)&&(De=e),null!==ZC._n_(a.A.o["guide-marker"])&&null!==ZC._n_(e=a.A.o["guide-marker"].alignment)&&(De=e),"node"===De&&(a.E.A6B=a.iX+a.I/2)}if(!t){var ge;a.setNodeData({x:te,y:Ce,w:ce,h:m});var me=!0;if("none"!==a.A.J8||a.C.J4[a.A.L]||a.C.KR||a.A.T8&&a.A.T8[a.L]?(ge=a.O=a.A.I8(a,a.O),me=!1):ge=a.O,(0!==a.A.E5.length||a.A.I4||a.O.o.override||a.C.KR)&&(me=!1),a.AO){var Ze;switch(a.A.CV){default:0!==a.A.E5.length||a.A.I4||typeof a.A.U3===ZC._[31]||a.O.o.override||a.C.KR?(Ze=new I7(a.A)).copy(ge):Ze=a.A.U3,a.A.I4&&(a.GN(Ze),Ze.parse()),Ze.FH=a.A.FH,Ze.K=a.K,Ze.iX=te,Ze.iY=Ce,Ze.I=a.I,Ze.F=a.F,c.AB<5&&Ze.I<5?(Ze.I=ZC.BQ(1,Ze.I)+1,Ze.NB=!1,Ze.CY=!1):Ze.NB=!0,Ze.I<5&&c.A1!==c.W&&a.C.P.I/(c.A1-c.W)<1&&(Ze.R3=!0);break;case"pyramid":case"cone":0!==a.A.E5.length||a.A.I4||typeof a.A.U3===ZC._[31]||a.O.o.override||a.C.KR?(Ze=new DX(a.A)).copy(ge):Ze=a.A.U3,a.A.I4&&(a.GN(Ze),Ze.parse()),Ze.K=a.K,h.AW&&!a.A.CD?(E=a.AD>=0?0:a.F,v=a.AD>=0?a.F:0):(E=a.AD>=0?a.F:0,v=a.AD>=0?0:a.F),Ze.D=[],Ze.D.push([te+a.I/2-ee*a.I/2,Ce+E],[te+a.I/2+ee*a.I/2,Ce+E]),a.A.CD&&0!==ne?Ze.D.push([te+a.I/2+ne*a.I/2,Ce+v],[te+a.I/2-ne*a.I/2,Ce+v]):Ze.D.push([te+a.I/2,Ce+v]),Ze.D.push([Ze.D[0][0],Ze.D[0][1]]),a.setNodeData({points:Ze.D}),Ze.iX=te,Ze.iY=Ce,Ze.locate(2)}Ze.Z=a.A.CO("bl",1),Ze.C7=a.A.CO("bl",0),a.paintPreview(ge,me);var pe=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6];Ze.DF=pe;var ve=ZC._c_(a.A.o.tolerance,5),ke=function(){if(typeof a.paint_!==ZC._[31]&&a.paint_(),a.MY(ZC.Q.EA(Ze.Z,a.H.AC)),ZC.AP._boxoverlap2_(a,a.C.P,ve)&&a.A.FV&&-1===ZC.AV(a.H.KX,ZC._[39])){var Ie=ce<5?.5:-.5,Ne=m<3?.5:-.5,We=ZC.Q.FT("rect",a.A.E8,Ze.IT)+'class="'+pe+'" '+a.a11y()+' id="'+a.K+ZC._[30]+ZC._i_(te+a.A.BL+ZC.MAPTX-Ie)+","+ZC._i_(Ce+a.A.BH+ZC.MAPTX-Ne)+","+ZC._i_(te+a.A.BL+ce+ZC.MAPTX+Ie)+","+ZC._i_(Ce+a.A.BH+m+ZC.MAPTX+Ne)+'" />';a.A.A.HJ.push(We)}a.A.U&&a.A.U.AO&&a.F9()};if(a.A.GG&&!a.C.HP){var de=Ze,Oe={};de.iX=te,de.iY=Ce,de.I=ce,de.F=m,Oe.x=te,Oe.y=Ce,Oe.width=ce,Oe.height=m;var Fe,be=a.A.LK,Se=a.C.P;for(Fe in de.C5=0,Oe.alpha=ge.C5,2===be?(de.iY=Se.iY+Se.F/2,de.F=1,Oe.height=a.F,Oe.y=Ce):3===be?(de.iY=Se.iY,de.F=1,Oe.height=a.F,Oe.y=Ce):4===be?(de.iY=Se.iY+Se.F,de.F=1,Oe.height=a.F,Oe.y=Ce):5===be?(de.iX=Se.iX,de.I=1,Oe.width=a.I,Oe.x=te):6===be?(de.iX=Se.iX+Se.I,de.I=1,Oe.width=a.I,Oe.x=te):7===be?(de.iX=Se.iX+Se.I/2,de.I=1,Oe.width=a.I,Oe.x=te):8===be?(de.iX=te-Se.I,Oe.x=te):9===be?(de.iX=te+Se.I,Oe.x=te):10===be?(de.iY=Ce-Se.F,Oe.y=Ce):11===be?(de.iY=Ce+Se.F,Oe.y=Ce):12===be?(de.I=1,Oe.width=a.I):13===be&&(de.F=1,Oe.height=a.F),a.A.FZ)de[EB.GP[ZC.EF(Fe)]]=a.A.FZ[Fe],Oe[ZC.EF(Fe)]=ge[EB.GP[ZC.EF(Fe)]];if(null===ZC._n_(a.C.EN)&&(a.C.EN={}),null!==ZC._n_(a.C.EN[a.A.L+"-"+a.L]))for(Fe in a.C.EN[a.A.L+"-"+a.L])de[EB.GP[ZC.EF(Fe)]]=a.C.EN[a.A.L+"-"+a.L][Fe];if(a.C.EN[a.A.L+"-"+a.L]={},ZC._cp_(Oe,a.C.EN[a.A.L+"-"+a.L]),ZC.AP._boxoverlap2_(a,a.C.P,ve)){var xe=new EB(de,Oe,a.A.JN,a.A.LI,EB.RX[a.A.LL],function(){ke()});xe.AX=a,xe.OO=function(){a.MY(ZC.Q.EA(Ze.Z,a.H.AC))},a.LD(xe)}}else{if(Ze.AO||0===a.A.E5.length&&!a.A.I4)if(a.A.WQ||(a.A.WQ={iX:Ze.iX,iY:Ze.iY,F:Ze.F}),a.A.A35)if(a.A.SO)if(a.A.SO.el&&"RECT"===a.A.SO.el.tagName.toUpperCase()){var we=!1;if(a.A.NE&&a.A.WQ&&ZC._a_(Ze.iX-a.A.WQ.iX)<.75&&ZC._a_(Ze.iY-a.A.WQ.iY)<1.5&&ZC._a_(Ze.F-a.A.WQ.F)<1.5&&(we=!0),!we){a.A.WQ={iX:Ze.iX,iY:Ze.iY,F:Ze.F};var Re=a.A.SO.el.cloneNode(!1);Re.setAttribute("id",a.K),Re.setAttribute("x",a.iX),Re.setAttribute("y",a.iY),Re.setAttribute(ZC._[20],a.F),a.A.SO.df?a.H.G5[Ze.Z.id].appendChild(Re):a.A.SO.el.parentNode.appendChild(Re)}}else Ze.paint();else Ze.paint(),a.A.SO={id:Ze.K+"-path"},zingchart.DEV.DOMFRAGMENTS&&document.querySelector&&a.H.G5&&a.H.G5[Ze.Z.id]?(a.A.SO.df=!0,a.A.SO.el=a.H.G5[Ze.Z.id].querySelector("#"+Ze.K+"-path")):(a.A.SO.df=!1,a.A.SO.el=ZC.AM(a.A.SO.id));else ZC.AP._boxoverlap2_(a,a.C.P,ve)&&Ze.paint();Ze.AO&&ke()}"svg"===a.H.AC&&a.A.applyJsRuleSvg(a.A,a.K+"-path",a.LO()),0!==a.A.E5.length||a.A.I4||typeof a.A.U3!==ZC._[31]||a.O.o.override||a.C.KR||a.A.GG||(a.A.U3=Ze)}}}}paintPreview(t,e){var a,c,h=this;if(h.C.B9&&h.C.B9.IJ&&h.A.R1){var _=h.C.P,f=h.C.B9,m=f.AT,v=(h.iX-_.iX)/_.I,E=(h.iY-_.iY)/_.F;h.A.WL?a=h.A.WL:(a=new I7(h.A),h.A.WL=a,a.copy(t),(c=h.A.o["preview-state"])&&(a.append(c),a.parse())),e||(a.copy(t),(c=h.A.o["preview-state"])&&(a.append(c),a.parse())),a.K=h.K+"-preview",a.DF=h.A.K+"-preview",a.iX=m.iX+m.AU+v*(m.I-2*m.AU),a.iY=m.iY+m.AU+E*(m.F-2*m.AU),a.I=h.I/_.I*(m.I-2*m.AU),a.F=h.F/_.F*(m.F-2*m.AU),m.I/h.A.R.length<10?(a.I=a.I+.5,a.NB=!1,a.CY=!1):(a.NB=!0,a.CY=!0),a.Z=a.C7=f.Z,a.paint()}}HZ(t){var e=this;if(t=t||"hover",!ZC.move){e.LR({layer:t,type:"pyramid"===e.A.CV?"shape":"box",initcb:function(){this.A0=e.A.BP[3],this.B7=e.A.BP[1],this.BX=e.A.BP[1],this.AE=e.A.BP[2]},setupcb:function(){switch(e.A.CV){default:this.iX=e.getNodeData("x"),this.iY=e.getNodeData("y"),this.I=e.getNodeData("w"),this.F=e.getNodeData("h");var c=e.C.P;this.iYc.iY+c.F&&(this.F=c.iY+c.F-this.iY);break;case"pyramid":case"cone":this.D=e.getNodeData("points")}}}),e.MY(ZC.Q.EA(e.C.K+ZC._[22],e.H.AC),!0),e.A.S0=null}}}class A01 extends MM{setup(){this.S4()}OS(){var t=this;t.paint(!0);var e=t.C.BK(t.A.BV("v")[0]);return[t.iX+(e.AW?0:t.I),t.iY+t.F/2,{reference:t,center:!0}]}HL(t){var e=this,a="top-out",c=e.C.BK(e.A.BV("v")[0]),h=e.AD>=c.HC&&!c.AW||e.AD0){var ne=V;(V=e.A.D3)<=1&&(V*=ne),ee+=(ne-V)/2}var oe=V,te=e.iX,le=null!==ZC._n_(e.A.M9[e.L])?e.A.M9[e.L]:0;if(te=c.AK(e.A.CD&&"100%"===e.A.KZ?100*(e.CP+le)/e.A.A.FA[e.L]["%total-"+e.A.DZ]:e.CP+le),e.A.CD){_=c.AK("100%"===e.A.KZ?100*(e.CP-e.AD+le)/e.A.A.FA[e.L]["%total-"+e.A.DZ]:e.CP-e.AD+le),te=ZC._i_(te),_=ZC._i_(_);var ce=!c.AW&&e.AD>=0||c.AW&&e.AD<=0?1:-1,Ce=0,se=0;""!==e.A.OV?(Ce=e.VB(e.A.OV)[0],se=0):Ce=e.A.AU,""!==e.A.PL?(se=e.VB(e.A.PL)[0],Ce=0):se=e.A.AU,Ce!==se&&(ce=0),f=te-_+ce*Ce,e.AD>0?te=_:f=ZC._a_(f),c.AW?f>0?(f=ZC._a_(f),te=_):(f=ZC._a_(f),te-=f):f<0&&(f=ZC._a_(f),te=_-f)}else _=c.AK(le),(f=te-_)<0?(f=ZC._a_(f),te=_-f):te=_;if(e.A.U5&&e.A.CD&&e.A.L>0&&e.A.A.A3[e.A.L-1].R[e.L]&&0===e.A.A.A3[e.A.L-1].R[e.L].AD&&(f-=1,te+=c.AW?-1:1),f<1&&(e.AD>0||e.A.U5)&&(f=1,c.AW?e.A.CD?0===e.A.L&&(te-=1):te-=2:e.A.L>0&&e.A.CD&&(te-=1)),e.I=f,e.F=oe,e.iX=te,e.iY=ee,e.iXVal=c.AW?e.AD>=c.HC?te:te+e.I:e.AD>=c.HC?te+e.I:te,!t){var he;e.setNodeData({x:te,y:ee,w:f,h:oe});var fe=!0;if("none"!==e.A.J8||e.C.J4[e.A.L]||e.C.KR||e.A.T8&&e.A.T8[e.L]?(he=e.O=e.A.I8(e,e.O),fe=!1):he=e.O,(0!==e.A.E5.length||e.A.I4||e.O.o.override||e.C.KR)&&(fe=!1),e.AO){var ie;switch(e.A.CV){default:0!==e.A.E5.length||e.A.I4||typeof e.A.U3===ZC._[31]||e.O.o.override||e.C.KR?(ie=new I7(e.A)).copy(he):ie=e.A.U3,e.A.I4&&(e.GN(ie),ie.parse()),ie.FH=e.A.FH,ie.K=e.K,ie.iX=te,ie.iY=ee,ie.I=e.I,ie.F=e.F,a.AB<5&&ie.F<5?(ie.F=ZC.BQ(1,ie.F)+1,ie.NB=!1,ie.CY=!1):ie.NB=!0,ie.F<5&&a.A1!==a.W&&e.C.P.F/(a.A1-a.W)<1&&(ie.R3=!0);break;case"pyramid":case"cone":0!==e.A.E5.length||e.A.I4||typeof e.A.U3===ZC._[31]||e.O.o.override||e.C.KR?(ie=new DX(e.A)).copy(he):ie=e.A.U3,e.A.I4&&(e.GN(ie),ie.parse()),ie.K=e.K,c.AW&&!e.A.CD?(v=e.AD>=0?e.I:0,m=e.AD>=0?0:e.I):(v=e.AD>=0?0:e.I,m=e.AD>=0?e.I:0),ie.D=[],ie.D.push([te+v,ee+e.F/2-Q*e.F/2],[te+v,ee+e.F/2+Q*e.F/2]),e.A.CD&&0!==W?ie.D.push([te+m,ee+e.F/2+W*e.F/2],[te+m,ee+e.F/2-W*e.F/2]):ie.D.push([te+m,ee+e.F/2]),ie.D.push([ie.D[0][0],ie.D[0][1]]),e.E.points=ie.D,ie.iX=te,ie.iY=ee,ie.locate(2)}ie.Z=e.A.CO("bl",1),ie.C7=e.A.CO("bl",0),e.paintPreview(he,fe);var De=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6];ie.DF=De;var ge=ZC._c_(e.A.o.tolerance,5),me=function(){if(typeof e.paint_!==ZC._[31]&&e.paint_(),e.MY(ZC.Q.EA(ie.Z,e.H.AC)),ZC.AP._boxoverlap2_(e,e.C.P,ge)&&e.A.FV&&-1===ZC.AV(e.H.KX,ZC._[39])){var Fe=f<3?.5:-.5,be=oe<5?.5:-.5,Se=ZC.Q.FT("rect",e.A.E8,ie.IT)+'class="'+De+'" '+e.a11y()+' id="'+e.K+ZC._[30]+ZC._i_(te+e.A.BL+ZC.MAPTX-Fe)+","+ZC._i_(ee+e.A.BH+ZC.MAPTX-be)+","+ZC._i_(te+e.A.BL+f+ZC.MAPTX+Fe)+","+ZC._i_(ee+e.A.BH+oe+ZC.MAPTX+be)+'" />';e.A.A.HJ.push(Se)}e.A.U&&e.A.U.AO&&e.F9()};if(e.A.GG&&!e.C.HP){var Ze=ie,pe={};Ze.iX=te,Ze.iY=ee,Ze.I=f,Ze.F=oe,pe.x=te,pe.y=ee,pe.width=f,pe.height=oe;var ve,ke=e.A.LK,de=e.C.P;for(ve in Ze.C5=0,pe.alpha=he.C5,2===ke?(Ze.iX=de.iX+de.I/2,Ze.I=1,pe.width=e.I,pe.x=te):3===ke?(Ze.iX=de.iX+de.I,Ze.I=1,pe.width=e.I,pe.x=te):4===ke?(Ze.iX=de.iX,Ze.I=1,pe.width=e.I,pe.x=te):5===ke?(Ze.iY=de.iY+de.F,Ze.F=1,pe.height=e.F,pe.y=ee):6===ke?(Ze.iY=de.iY,Ze.F=1,pe.height=e.F,pe.y=ee):7===ke?(Ze.iY=de.iY+de.F/2,Ze.F=1,pe.height=e.F,pe.y=ee):8===ke?(Ze.iY=ee+de.F,pe.y=ee):9===ke?(Ze.iY=ee-de.F,pe.y=ee):10===ke?(Ze.iX=te+de.I,pe.x=te):11===ke?(Ze.iX=te-de.I,pe.x=te):12===ke?(Ze.F=1,pe.height=e.F):13===ke&&(Ze.I=1,pe.width=e.I),e.A.FZ)Ze[EB.GP[ZC.EF(ve)]]=e.A.FZ[ve],pe[ZC.EF(ve)]=e.O[EB.GP[ZC.EF(ve)]];if(null===ZC._n_(e.C.EN)&&(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(ve in e.C.EN[e.A.L+"-"+e.L])Ze[EB.GP[ZC.EF(ve)]]=e.C.EN[e.A.L+"-"+e.L][ve];if(e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(pe,e.C.EN[e.A.L+"-"+e.L]),ZC.AP._boxoverlap2_(e,e.C.P,ge)){var Oe=new EB(Ze,pe,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){me()});Oe.AX=e,Oe.OO=function(){e.MY(ZC.Q.EA(ie.Z,e.H.AC))},e.LD(Oe)}}else(ie.AO||0===e.A.E5.length&&!e.A.I4)&&ZC.AP._boxoverlap2_(e,e.C.P,ge)&&ie.paint(),ie.AO&&me();"svg"===e.H.AC&&e.A.applyJsRuleSvg(e.A,e.K+"-path",e.LO()),0!==e.A.E5.length||e.A.I4||typeof e.A.U3!==ZC._[31]||e.O.o.override||e.C.KR||e.A.GG||(e.A.U3=ie)}}}}paintPreview(t,e){var a,c,h=this;if(h.C.B9&&h.C.B9.IJ&&h.A.R1){var _=h.C.P,f=h.C.B9,m=f.AT,v=(h.iX-_.iX)/_.I,E=(h.iY-_.iY)/_.F;h.A.WL?a=h.A.WL:(a=new I7(h.A),h.A.WL=a,a.copy(t),(c=h.A.o["preview-state"])&&(a.append(c),a.parse())),e||(a.copy(t),(c=h.A.o["preview-state"])&&(a.append(c),a.parse())),a.K=h.K+"-preview",a.DF=h.A.K+"-preview",a.iX=m.iX+m.AU+v*(m.I-2*m.AU),a.iY=m.iY+m.AU+E*(m.F-2*m.AU),a.I=h.I/_.I*(m.I-2*m.AU),a.F=h.F/_.F*(m.F-2*m.AU),m.I/h.A.R.length<10?(a.I=a.I+.5,a.NB=!1,a.CY=!1):(a.NB=!0,a.CY=!0),a.Z=a.C7=f.Z,a.paint()}}HZ(t){var e=this;if(!ZC.move){e.LR({layer:t,type:"pyramid"===e.A.CV?"shape":"box",initcb:function(){this.B7=e.A.BP[1],this.BX=e.A.BP[1],this.A0=e.A.BP[3],this.AE=e.A.BP[2]},setupcb:function(){switch(e.A.CV){default:this.iX=e.getNodeData("x"),this.iY=e.getNodeData("y"),this.I=e.getNodeData("w"),this.F=e.getNodeData("h");var c=e.C.P;this.iXc.iX+c.I&&(this.I=c.iX+c.I-this.iX);break;case"pyramid":case"cone":this.D=e.getNodeData("points")}}}),e.MY(ZC.Q.EA(e.C.K+ZC._[22],e.H.AC),!0),e.A.S0=null}}}class A6H extends MM{setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];if(t.JW!==c){if("scatter"===t.A.AF){if(t.A.M4&&t.A.QG){var h=ZC.AP.X2(t.A.QG[0],t.A.QG[1]),_=(t.BW-h[0])/(h[1]-h[0]);t.iX=e.H7(t.A.RJ)-e.AB/2+t.A.S2+_*(e.AB-2*t.A.S2)}else t.iX=e.AK(t.BW);t.iY=a.AK(t.AD)}else t.iY=e.AK(t.BW),t.iX=a.AK(t.AD);t.JW=c}t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}parse(){super.parse(),this.o[ZC._[9]]instanceof Array||(this.BW=this.L)}JD(){return{color:"-1"===this.A.A2.A0?this.O.A0:this.A.A2.A0}}getTooltipPosition(t,e){return super.getTooltipPosition(t,e,this.LF.AI)}KH(){return{"background-color":"-1"===this.A.A2.AE?this.O.AE:this.A.A2.AE,"border-color":"-1"===this.A.A2.AE?this.O.AE:this.A.A2.AE,color:this.O.C2}}paint(t){var e=this;super.paint();var a=e.A.B0,c=e.A.CM;e.setup(),t||(a.CJ?ZC.DM(e.iX,c.iX+(c.AW?c.BS:c.A9)-1,c.iX+c.I-(c.AW?c.A9:c.BS)+1)&&ZC.DM(e.iY,a.iY+(a.AW?a.BS:a.A9)-1,a.iY+a.F-(a.AW?a.A9:a.BS)+1)&&e.OX(!1,!0):ZC.DM(e.iX,a.iX+(a.AW?a.BS:a.A9)-1,a.iX+a.I-(a.AW?a.A9:a.BS)+1)&&ZC.DM(e.iY,c.iY+(c.AW?c.A9:c.BS)-1,c.iY+c.F-(c.AW?c.BS:c.A9)+1)&&e.OX(!1,!0))}HZ(t){ZC.move||this.SE(t)}}class A7C extends MM{constructor(t){super(t),this.SY=null}parse(){super.parse(),this.o[ZC._[9]]instanceof Array||(this.BW=this.L),this.SY=this.o[ZC._[9]]instanceof Array&&null!==ZC._n_(this.o[ZC._[9]][2])?ZC._f_(this.o[ZC._[9]][2]):2}JD(){return{color:"-1"===this.A.A2.A0?this.O.A0:this.A.A2.A0}}getTooltipPosition(t,e){var a=this.A.getSize(ZC._a_(this.SY));return super.getTooltipPosition(t,e,a)}KH(){return{"background-color":"-1"===this.A.A2.AE?this.O.AE:this.A.A2.AE,"border-color":"-1"===this.A.A2.AE?this.O.AE:this.A.A2.AE,color:this.O.C2}}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_);var f=ZC.AR.G6(h.SY,_);return h.CU=[["%v0",h.BW],["%v1",h.AD],["%v2",f],["%node-size-value",f]],super.ET(t,e,a,c)}setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];if(t.JW!==c){if("bubble"===t.A.AF){if(t.A.M4&&t.A.QG){var h=ZC.AP.X2(t.A.QG[0],t.A.QG[1]),_=(t.BW-h[0])/(h[1]-h[0]);t.iX=e.H7(t.A.RJ)-e.AB/2+t.A.S2+_*(e.AB-2*t.A.S2)}else t.iX=e.AK(t.BW);t.iY=a.AK(t.AD)}else t.iY=e.AK(t.BW),t.iX=a.AK(t.AD);t.JW=c}t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}HL(t){var e,a=this,c="auto";null!==ZC._n_(e=t.o[ZC._[7]])&&(c=e);var h=t.I,_=t.F,f=a.E["marker.size"],m=a.iX-h/2,v=a.iY-_/2,E=0,w=0;switch(c){case"top":v-=_/2+f,w=a.iY-a.C.P.iY+f;break;case"bottom":v+=_/2+f,w=a.C.P.iY+a.C.P.F-a.iY+f;break;case"left":m-=h/2+f,E=a.iX-a.C.P.iX+f;break;case"right":m+=h/2+f,E=a.C.P.iX+a.C.P.I-a.iX+f}return null!==ZC._n_(t.o.x)&&(m=t.iX),null!==ZC._n_(t.o.y)&&(v=t.iY),ma.C.P.iX+a.C.P.I&&(m=a.C.P.iX+a.C.P.I-h-E),va.C.P.iY+a.C.P.F&&(v=a.C.P.iY+a.C.P.F-_-w),[ZC._i_(m),ZC._i_(v)]}paint(t){var e=this;typeof t===ZC._[31]&&(t=!1),super.paint();var a=e.A.B0,c=e.A.CM;e.setup(),e.E["marker.size"]=e.A.getSize(ZC._a_(e.SY)),t||(a.CJ?ZC.DM(e.iX,c.iX+(c.AW?c.BS:c.A9)-1,c.iX+c.I-(c.AW?c.A9:c.BS)+1)&&ZC.DM(e.iY,a.iY+(a.AW?a.BS:a.A9)-1,a.iY+a.F-(a.AW?a.A9:a.BS)+1)&&e.OX(!1,!0):ZC.DM(e.iX,a.iX+(a.AW?a.BS:a.A9)-1,a.iX+a.I-(a.AW?a.A9:a.BS)+1)&&ZC.DM(e.iY,c.iY+(c.AW?c.A9:c.BS)-1,c.iY+c.F-(c.AW?c.BS:c.A9)+1)&&e.OX(!1,!0))}HZ(t){ZC.move||this.SE(t)}}class A9E extends MM{constructor(t){super(t),this.bCXY=!0,this.U=null}parse(){super.parse()}XI(){super.XI();var t=this.C.E;t.update.npv=t.update["node-percent-value"]=this.ET("%npv")}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_),-1===t.indexOf("%npv")&&-1===t.indexOf("%node-percent-value")||null!==ZC._n_(_[ZC._[12]])&&-1!==_[ZC._[12]]||(_[ZC._[12]]=1);var f=0,m="0";if(h.A.A.KW[h.L]>0&&(m=""+(f=100*h.AD/h.A.A.KW[h.L])),h.A.A.A3.length>1&&h.A.L===h.A.A.A3.length-1){var v=0;if(null===ZC._n_(h.A.o.totals)){for(var E=0;E0&&(D=""+(w=100*h.A.A.A3[E].R[h.L].AD/h.A.A.KW[h.L])),null!==ZC._n_(_[ZC._[12]])&&(D=w.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]])))),v+=ZC._f_(D)}m=""+(f=Math.max(0,100-v))}}null!==ZC._n_(_[ZC._[12]])&&(m=f.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]]))));var M,T=ZC._f_(h.A.A.KW[h.L]||"0");return M=ZC.AR.G6(T,_,h.A),h.CU=[["%node-percent-value",m],["%npv",m],["%pie-total-value",M]],super.ET(t,e,a,c)}getTooltipPosition(t,e){var a,c,h,_=this,f=(_.B4+_.BM)/2%360;switch(e){case"out":c=(a=ZC.AP.BN(_.iX,_.iY,_.AI+_.DT+t.DT,f))[0]+_.BL,h=a[1]+_.BH,f>270&&f<=360?h-=t.F:f>90&&f<=180?c-=t.I:f>180&&f<=270&&(c-=t.I,h-=t.F);break;case"center":c=(a=ZC.AP.BN(_.iX,_.iY,_.CN+.5*(_.AI-_.CN)+_.DT,f))[0]+_.BL,h=a[1]+_.BH;break;default:c=_.iX+_.BL,h=_.iY+_.BH}return{x:c,y:h}}OS(t){var e,a=this,c=(a.B4+a.BM)/2%360,h=0;null!==ZC._n_(e=t["offset-r"])&&(h=ZC._f_(ZC._p_(e))),h<1&&(h*=a.AI);var _=ZC.AP.BN(a.iX,a.iY,a.CN+.6*(a.AI-a.CN)+a.DT+h,c);return[_[0],_[1],{reference:a,center:!0}]}A6E(){var t=this,a=ZC.AP.BN(t.iX,t.iY,t.CN+.5*(t.AI-t.CN)+t.DT,(t.B4+t.BM)/2%360);return[a[0],a[1]]}setup(){var t=this,e=t.C.BK(t.A.BV("k")[0]),a=t.L%e.H6,c=Math.floor(t.L/e.H6);t.iX=e.iX+a*e.GM+e.GM/2+e.BL,t.iY=e.iY+c*e.GH+e.GH/2+e.BH,t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}JD(t){var e,a={},c="out";return null!==ZC._n_(e=t.o[ZC._[7]])&&(c=e),a.color="out"===c?this.A0:this.C2,a}HL(t){var e,a=this,c="out";null!==ZC._n_(e=t.o[ZC._[7]])&&(c=e);var h,_,f,m,v,E=t.I,w=t.F,D=(a.B4+a.BM)/2%360,M=D;if("out"===c){D=M=a.A.A.YX["n"+a.L][a.A.L];var T=function(ce,Ce){Ce<0&&(Ce=360+Ce),Ce%=360;var se=(v=ZC.AP.BN(a.iX,a.iY,ce+a.DT+t.DT+20,Ce))[0]+t.BL-E/2;return Ce>=0&&Ce<=90||Ce>=270&&Ce<=360?se+=E/2+10:se-=E/2+10,[se,v[1]+t.BH-w/2]},R=T(a.AI,M);h=R[0],_=R[1],a.U=t;var V={x:h,y:_,width:E,height:w},$=zingchart.DEV.SPREADTYPE;m=!0;for(var y=0,U=0,O=-1,Q=0,W=0;m&&W<1024;){m=!1;for(var ae=0,ee=a.A.A.U4.length;aea.C.P.iX+a.C.P.I||V.xa.C.P.iY+a.C.P.F||V.y100&&(Q=0,0===$?(y=0,U+=2):1===$&&(U=0,y+=.4,O*=-1)))}h=V.x,_=V.y,D=M+y,a.A.A.U4.push(f={text:a.A.AN,x:V.x,y:V.y,width:E,height:w,plotindex:a.A.L,nodeindex:a.L})}else if("in"===c||"radial"===c){var ne=a.CN<30?.65:.5;h=(v=ZC._x_(a.B4,2)%360==ZC._x_(a.BM,2)%360?0===a.CN?[a.iX,a.iY]:ZC.AP.BN(a.iX,a.iY,a.CN+.3*(a.AI-a.CN)+a.DT+t.DT,270):ZC.AP.BN(a.iX,a.iY,a.CN+ne*(a.AI-a.CN)+a.DT+t.DT,D))[0]-E/2+a.BL,_=v[1]-w/2+a.BH}else if(-1!==c.indexOf("fixed=")){var oe=c.split(/=|;|,/),te=(a.AI+a.CN)/2,le=D;oe[1]&&(te=(te=ZC.IU(oe[1],!0))>=-1&&te<=1||-1!==oe[1].indexOf("%")?a.CN+a.DT+te*(a.AI-a.CN):a.CN+a.DT+te),oe[2]&&(le=(le=ZC.IU(oe[2],!0))>=-1&&le<=1||-1!==oe[2].indexOf("%")?a.B4+le*(a.BM-a.B4):a.B4+le),oe[3]&&("+"===oe[3].charAt(0)||"-"===oe[3].charAt(0)?(t.AA=(le%=360)+ZC._f_(oe[3]),t.AA>90&&t.AA<270&&(t.AA+=180)):t.AA=ZC._f_(oe[3])),h=(v=ZC.AP.BN(a.iX,a.iY,te,le))[0]-E/2,_=v[1]-w/2}else"center"===c&&(h=a.iX-E/2+a.BL,_=a.iY-w/2+a.BH);return m&&(h=-9999,_=-9999,t.AO=!1),null!==ZC._n_(t.o.x)&&(h=t.iX),null!==ZC._n_(t.o.y)&&(_=t.iY),h>=-2&&(h=ZC._a_(h)),_>=-2&&(_=ZC._a_(_)),[ZC._i_(h),ZC._i_(_),D]}appendToValueBox(t){var e=this,a={};if("radial"===t.o[ZC._[7]]){var c=.9*ZC._a_(e.AI-e.CN),h=Math.PI*(e.AI+e.CN)*.9*ZC._a_(e.BM-e.B4)/360,_=ZC._i_(Math.max(c,h)/(.75*t.DG));if(a.visible=null===ZC._n_(t.o.visible)?1===e.A.A.A3.length||h>1.25*t.DG:t.JJ.visible,null===ZC._n_(t.o["max-chars"])&&(a["max-chars"]=_),null===ZC._n_(t.o.angle)){var f=(e.B4+e.BM)/2%360;e.A.A.A3.length>1?h>c?f>0&&f<180?f-=90:f+=90:f>90&&f<270&&(f+=180):f=0,a.angle=f}}return a}F9(t,e){var a,c=this,h=super.F9(t,e);if(t)return h;if(c.AO&&h.AO&&null!==ZC._n_(h.AN)&&""!==h.AN){var _="out";if(null!==ZC._n_(a=h.o[ZC._[7]])&&(_=a),"out"===_){var f=!0;if(null!==ZC._n_(a=h.o.connected)&&(f=ZC._b_(a)),f){var m=new DX(c.A);m.Z=m.C7=c.A.CO("bl",0),m.append(c.A.C3.o),m.K=c.K+"-connector",m.B7=c.A0,m.DS="line",m.D=[];var v=h.E.positioninfo,E=(c.B4+c.BM)/2%360,w=ZC.AP.BN(c.iX,c.iY,c.AI+c.DT,E);w[0]+=c.BL,w[1]+=c.BH,m.D.push(w);var D=ZC.AP.BN(c.iX,c.iY,c.AI+c.DT+10,E);D[0]+=c.BL,D[1]+=c.BH,m.D.push(h.iX>=c.iX?"vml"===c.H.AC?[v[0],v[1]+h.F/2]:[D[0],D[1],v[0],v[1]+h.F/2]:"vml"===c.H.AC?[v[0]+h.I+2,v[1]+h.F/2]:[D[0],D[1],v[0]+h.I+2,v[1]+h.F/2]),m.parse(),m.IX=function(M){return c.IX(M)},m.DC()&&m.parse(),m.AO&&m.paint()}}}}paint(){var t,e=this;if(super.paint(),!(e.AD<0)){var a=e.C.BK(e.A.BV("k")[0]);e.setup();var c="pie-sel-"+e.A.L+"-"+e.L;if(typeof e.o.detached!==ZC._[31]&&(e.C.E[c]=ZC._b_(e.o.detached)),e.AI=ZC.CX(a.GH,a.GM)/2,null!==ZC._n_(e.A.o[ZC._[21]])){var h=ZC.IU(e.A.o[ZC._[21]],!1);e.AI=h<=1?e.AI*h:h}else e.AI=a.JM*e.AI;e.CN<=1&&(e.CN*=e.AI),e.CN=Math.max(0,e.CN),e.o[ZC._[8]]=e.CN,e.DT<=1&&(e.DT*=e.AI),e.o["offset-r"]=e.DT,e.C.E[c]&&(e.DT+=ZC._i_(.15*e.AI));var _=e.O=e.A.I8(e,e);if(e.GN(_),e.AD>=0||0===e.A.A.KW[e.L]){var f=new DX(e.A);f.K=e.K,f.Z=e.A.CO("bl",1),f.C7=e.A.CO("bl",0),f.copy(_);var m=e.iX,v=e.iY;e.DT>0&&(m=(t=ZC.AP.BN(e.iX,e.iY,e.DT,(e.B4+e.BM)/2))[0],v=t[1]),f.iX=m,f.iY=v,f.AI=e.AI,f.o[ZC._[21]]=e.AI,f.DS="pie",f.B4=ZC._f_(e.B4),f.BM=ZC._f_(e.BM),f.CN=e.CN,f.E.plotidx=e.A.L,f.E.nodeidx=e.L,f.parse(),e.G8=f;var E=function(){if(!e.A.KI&&e.AO){var V=f.F1(),$=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],y=ZC.Q.FT("poly",e.A.E8,e.A.IT)+'class="'+$+'" '+e.a11y()+' id="'+e.K+ZC._[30]+V+'" />';e.A.A.HJ.push(y)}e.A.U&&e.F9()};if(e.AO)if(e.A.GG&&!e.C.HP){var w=f,D={};w.iX=m,w.iY=v,w.B4=e.B4,w.BM=e.BM,D.angleStart=e.B4,D.angleEnd=e.BM,D.x=m,D.y=v;var M,T=e.A.LK;for(M in w.C5=0,D.alpha=_.C5,2===T?(w.BM=e.B4,D.angleEnd=e.BM):3===T?(w.AI=e.CN,D.size=e.AI):4===T?(t=ZC.AP.BN(e.iX,e.iY,1.2*e.AI,(e.B4+e.BM)/2),w.iX=t[0],w.iY=t[1],D.x=m,D.y=v):5===T&&(w.B4=w.BM=(e.B4+e.BM)/2,D.angleStart=e.B4,D.angleEnd=e.BM),e.A.FZ)w[EB.GP[ZC.EF(M)]]=e.A.FZ[M],D[ZC.EF(M)]=_[EB.GP[ZC.EF(M)]];if(null===ZC._n_(e.C.EN)&&(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(M in e.C.EN[e.A.L+"-"+e.L])w[EB.GP[ZC.EF(M)]]=e.C.EN[e.A.L+"-"+e.L][M];e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(D,e.C.EN[e.A.L+"-"+e.L]);var R=new EB(w,D,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){E()});R.AX=e,e.LD(R)}else f.paint(),E()}else e.A.U&&e.F9()}}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"shape",initcb:function(){if(this.copy(e),this.iX=e.iX,this.iY=e.iY,e.DT>0){var a=ZC.AP.BN(e.iX,e.iY,e.DT,(e.B4+e.BM)/2);this.iX=a[0],this.iY=a[1]}this.AI=e.AI,this.DS="pie",this.A0=e.A.BP[3],this.AE=e.A.BP[2],this.B4=ZC._f_(e.B4),this.BM=ZC._f_(e.BM),this.CN=e.CN},parsecb:function(){this.o[ZC._[21]]=e.AI,this.o[ZC._[8]]=e.CN,this.o["offset-r"]=e.DT}})}P3(t,e){var a=this;if(super.P3(t,e),"click"===e&&t.which<=1&&a.A.A8G){zingchart.SKIP.ANIMATION=!0,zingchart.SKIP.EVENT=!0;var c="pie-sel-"+a.A.L+"-"+a.L;a.C.E[c]=typeof a.C.E[c]===ZC._[31]||!a.C.E[c],a.C.K0(),zingchart.SKIP.EVENT=!1,zingchart.SKIP.ANIMATION=!1}}}class A50 extends MM{constructor(t){super(t),this.bCXY=!0}setup(){var t=this,e=t.C.BK(t.A.BV("k")[0]);t.iX=e.iX+e.I/2+e.BL,t.iY=e.iY+e.F/2+e.BH,t.IJ||(t.copy(t.A),t.o[ZC._[8]]=null,t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}A6E(){var t=this,a=ZC.AP.BN(t.iX,t.iY,t.CN+t.E.bandwidth/2+t.DT,(t.B4+t.BM)/2%360);return[a[0],a[1]]}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_);var f=100*h.AD/h.A.A.KW[h.L],m=""+f;return null!==ZC._n_(_[ZC._[12]])&&(m=f.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]])))),h.CU=[["%node-percent-value",m],["%npv",m]],super.ET(t,e,a,c)}JD(t){var e={},a="in";return null!==ZC._n_(t.o[ZC._[7]])&&(a=t.o[ZC._[7]]),e.color="out"===a?this.A0:this.C2,e}HL(t){var e=this,a="in";null!==ZC._n_(t.o[ZC._[7]])&&(a=t.o[ZC._[7]]);var c,h,_,f=t.I,m=t.F,v=(e.B4+e.BM)/2%360;return"out"===a?e.L===e.A.R.length-1?(_=ZC.AP.BN(e.iX,e.iY,e.A.UL+e.A.R.length*(e.E.bandwidth+e.E.bandspace)+15+t.DT,v),c=v>=0&&v<90||v>=270&&v<360?_[0]+10+e.BL:_[0]-f-10+e.BL,h=_[1]-m/2+e.BH):(c=-1,h=-1):(c=(_=ZC.AP.BN(e.iX,e.iY,e.CN+e.E.bandwidth/2+t.DT,v))[0]-f/2+e.BL,h=_[1]-m/2+e.BH),null!==ZC._n_(t.o.x)&&(c=t.iX),null!==ZC._n_(t.o.y)&&(h=t.iY),[ZC._i_(c),ZC._i_(h),v]}F9(t){var e=this,a=super.F9(t);if(t)return a;if(a.AO&&null!==ZC._n_(a.AN)&&""!==a.AN){var c="in";if(null!==ZC._n_(a.o[ZC._[7]])&&(c=a.o[ZC._[7]]),"out"===c&&e.L===e.A.R.length-1){var h=new DX(e.A);h.Z=h.C7=e.H.usc()?e.H.mc("top"):e.C.AJ["3d"]||e.H.KI?ZC.AM(e.C.K+"-plots-vb-c"):ZC.AM(e.C.K+"-plot-"+e.A.L+"-vb-c"),h.append(e.A.C3.o),h.B7=e.A0,h.DS="line",h.D=[];var _=(e.B4+e.BM)/2%360,f=ZC.AP.BN(e.iX,e.iY,e.CN+e.E.bandwidth+a.DT,_),m=ZC.AP.BN(e.iX,e.iY,e.A.UL+e.A.R.length*(e.E.bandwidth+e.E.bandspace)+15+a.DT,_);f[0]+=e.BL,m[0]+=e.BL,f[1]+=e.BH,m[1]+=e.BH,h.D.push(f),h.D.push(_>=0&&_<90||_>=270&&_<360?[m[0],m[1],m[0]+10,m[1]]:[m[0],m[1],m[0]-10,m[1]]),h.parse(),h.IX=function(v){return e.IX(v)},h.DC()&&h.parse(),h.AO&&h.paint()}}}paint(){var t,e=this;super.paint();var a=e.C.BK(e.A.BV("k")[0]);e.setup(),e.AI=ZC.CX(a.I,a.F)/2,e.AI=a.JM*e.AI,e.CN=e.A.UL,e.CN<1&&(e.CN=e.A.UL*e.AI);var c=e.A.SX;c<1&&(c=e.A.SX*e.AI);var h=2,_=e.AI-e.CN;if(null!==ZC._n_(e.A.aBandWidths)&&null!==ZC._n_(e.A.aBandWidths[e.L])){(h=ZC._f_(e.A.aBandWidths[e.L]))>1&&(h/=100),h=ZC._i_(_*h),h=ZC.BQ(h,2);for(var f=0,m=0;m1&&(f/=100),f=ZC._i_(_*f),e.CN+=f,e.AI=e.CN+h}else h=(_-(e.A.R.length-1)*c)/e.A.R.length,h=ZC.BQ(h,2),e.CN+=e.L*(h+c),e.AI=e.CN+h;var v=e.O=e.A.I8(e,e);e.GN(v);var E=new DX(e.A);E.K=e.K,E.Z=e.A.CO("bl",1),E.C7=e.A.CO("bl",0),E.copy(v),E.iX=e.iX,E.iY=e.iY,E.DS="pie",E.B4=e.B4,E.BM=e.BM,E.CN=e.CN,E.AI=e.AI,E.parse();var w=E.CN;function D(){var y=E.F1(),U=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],O=ZC.Q.FT("poly",e.A.E8,e.A.IT)+'class="'+U+'" '+e.a11y()+' id="'+e.K+ZC._[30]+y+'" />';e.A.A.HJ.push(O),e.A.U&&e.A.U.AO&&e.F9()}if(e.E.bandwidth=h,e.E.bandspace=c,e.A.GG&&!e.C.HP){var M=E,T={};M.B4=e.B4,M.BM=e.BM,T.angleStart=e.B4,T.angleEnd=e.BM;var R=e.A.LK;if(M.C5=0,T.alpha=v.C5,2===R)M.BM=e.B4,T.angleEnd=e.BM;else if(3===R)M.CN=w+e.E.bandwidth,T.slice=w;else if(4===R){var V=ZC.AP.BN(e.iX,e.iY,e.AI,(e.B4+e.BM)/2);M.iX=V[0],M.iY=V[1],T.x=e.iX,T.y=e.iY}else 5===R&&(M.B4=M.BM=(e.B4+e.BM)/2,T.angleStart=e.B4,T.angleEnd=e.BM);for(t in e.A.FZ)M[EB.GP[ZC.EF(t)]]=e.A.FZ[t],T[ZC.EF(t)]=v[EB.GP[ZC.EF(t)]];if(e.C.EN||(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(t in e.C.EN[e.A.L+"-"+e.L])M[EB.GP[ZC.EF(t)]]=e.C.EN[e.A.L+"-"+e.L][t];e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(T,e.C.EN[e.A.L+"-"+e.L]);var $=new EB(M,T,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){D()});$.AX=e,e.LD($)}else E.paint(),D()}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"shape",initcb:function(){this.copy(e),this.iX=e.iX,this.iY=e.iY,this.DS="pie",this.A0=e.A.BP[3],this.AE=e.A.BP[2],this.B4=e.B4,this.BM=e.BM,this.CN=e.CN,this.AI=e.AI},parsecb:function(){this.o[ZC._[8]]=null}})}}class A7V extends MM{constructor(t){super(t);var e=this;e.C8=null,e.CA=null,e.N0="max"}ET(t,e,a,c){var h=this;return"range"===h.A.CV&&(h.CU=[["%node-min-value",h.C8],["%node-max-value",h.CA]]),super.ET(t,e,a,c)}HG(){var t=this;if("range"===t.A.CV&&t.o[ZC._[9]]instanceof Array){var e=t.o[ZC._[9]].length;e>2&&(t.BW=ZC._f_(t.o[ZC._[9]][0])),t.C8=ZC._f_(t.o[ZC._[9]][e-2]),t.CA=ZC._f_(t.o[ZC._[9]][e-1]),t.AD=t.CP=t.CA,t.DP.push(t.C8)}else super.HG()}setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];if(t.JW!==c){var h;h=a.SU("range"===t.A.CV?"min"===t.N0?t.C8:t.CA:t.CP);var _=null!==ZC._n_(t.BW),f=e.A4L(_?t.BW:t.L,h,_);t.iX=f[0],t.iY=f[1],t.JW=c}t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}HL(t){var e,a=this,c=a.A.B0,h=a.A.CM,_=a.C.BK("scale"),f=_.iX+_.I/2,m=_.iY+_.F/2,v=t.I,E=t.F,w="out";null!==ZC._n_(t.o[ZC._[7]])&&(w=t.o[ZC._[7]]);var D=1.15;switch(w){case"out":D=1.15;break;case"over":D=1;break;case"in":D=.85;break;case"middle":D=.5}var R=c.EK/(c.V.length-(360===c.EK||c.DE?0:1)),V=h.SU(a.CP);switch(a.A.CV){case"matrix":case"piano":var $=(ZC.CX(_.I/2,_.F/2)*_.JM-h.A9)/a.A.A.A3.length;e=ZC.AP.BN(f,m,(h.A9+a.A.L*$+(h.A9+(a.A.L+1)*$))/2*D+t.DT,c.DI+(c.DE?R/2:0)+a.L*R);break;default:e=null!==ZC._n_(a.BW)?ZC.AP.BN(f,m,h.A9+V*D+t.DT,c.DI+c.EK*(a.BW-c.AY)/(c.BD-c.AY)):ZC.AP.BN(f,m,h.A9+V*D+t.DT,c.DI+(c.DE?R/2:0)+a.L*R)}return e[0]-=v/2,e[1]-=E/2,null!==ZC._n_(t.o.x)&&(e[0]=t.iX),null!==ZC._n_(t.o.y)&&(e[1]=t.iY),[ZC._i_(e[0]),ZC._i_(e[1])]}JD(){return{color:"rose"===this.A.CV?this.A0:this.B7}}KH(){return{"background-color":"rose"===this.A.CV?this.A0:this.B7,"border-color":"rose"===this.A.CV?this.A0:this.B7,color:this.C2}}paint(){var t,e,a=this;super.paint();var c,h,_=a.A.OK,f=a.A.A5G,m=a.A.B0,v=a.A.CM,E=a.A.R;a.setup(),a.CY=!1,a.C7=a.A.CO("bl",0);var w,D=[],M=[],T=[],R=[],V="range"===a.A.CV;function $(){if(a.A.SA>=a.A.R.length&&a.A.YJ){var Ne=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],We="",Te="";-1!==ZC.AV(["line","area","range"],a.A.CV)?""!==(Te="range"!==a.A.CV||a.A.XU?ZC.AP.PR(ZC.AP.ZL(a.E.points),4):ZC.AP.PR(M,4))&&(We=ZC.Q.FT("poly",a.A.E8,a.A.IT)+'class="'+Ne+'" '+a.a11y()+' id="'+a.K+ZC._[30]+Te+'" />'):-1!==ZC.AV(["rose","column","bar","matrix","piano"],a.A.CV)&&(Te=c.F1(),We=ZC.Q.FT("poly",a.A.E8,a.A.IT)+'class="'+Ne+'" '+a.a11y()+' id="'+a.K+ZC._[30]+Te+'" data-z-sort="'+(a.A.A.A3.length-a.A.L)+'" />'),a.A.A.HJ.push(We)}a.A.U&&a.A.E.vboxid!==a.K&&a.F9()}var y,U,O,Q,W,ae=a.O=a.A.I8(a,a);if(a.A.I4&&a.GN(ae),-1!==ZC.AV(["line","area","range"],a.A.CV)){D=[],M=[],T=[],R=[];var ee=a.iX,ne=a.iY,oe=a.iX,te=a.iY;V&&(a.N0="max",a.setup(),ee=a.iX,ne=a.iY,a.N0="min",a.setup(),oe=a.iX,te=a.iY),a.A.GZ&&(a.A.D.push([ee,ne]),a.A.AH.push([ee,ne])),a.L>0?(w=E[a.L-1])&&(w.N0="max",w.setup(),h=ZC.AP.K3(w.iX,w.iY,ee,ne),D.push(h),M.push(h),V&&(w.N0="min",w.setup(),h=ZC.AP.K3(w.iX,w.iY,oe,te),T.push(h),R.push(h))):(w=E[a.A.R.length-1])&&(w.N0="max",w.setup(),h=ZC.AP.K3(w.iX,w.iY,ee,ne),D.push(h),M.push(h),V&&(w.N0="min",w.setup(),h=ZC.AP.K3(w.iX,w.iY,oe,te),T.push(h),R.push(h))),D.push([ee,ne]),M.push([ee,ne]),V&&(T.push([oe,te]),R.push([oe,te])),a.L')}}}HZ(t){var e=this;if(!ZC.move&&(super.HZ(t),e.FL&&e.FL.AO)){var a=new I7(e.A);a.copy(e.FL),a.Z=ZC.AM(e.C.K+ZC._[22]),a.MJ=!1,a.iX=e.FL.iX,a.iY=e.FL.iY,a.paint()}}}class A6J extends A01{constructor(t){super(t),this.FL=null}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_);var f=ZC.AR.G6(h.A.QC[h.L],_);return h.CU=[["%node-goal-value",f],["%g",f]],super.ET(t,e,a,c)}HL(t){var e=this;return"goal"===ZC._n_(t.o[ZC._[7]])?[e.FL.iX+e.FL.I,e.FL.iY+e.FL.F/2-t.F/2]:super.HL(t)}HG(){var t,e=this;if(e.DP=[],e.CK=e.o[ZC._[9]],"string"==typeof e.o[ZC._[9]]){var a=ZC.AV(e.A.CM.JT,e.o[ZC._[9]]);-1!==a?e.AD=a:(e.A.CM.JT.push(e.o[ZC._[9]]),e.AD=e.A.CM.JT.length-1)}else e.AD=ZC._f_(e.o[ZC._[9]]);e.A.o.goals&&null!==ZC._n_(t=e.A.o.goals[e.L])&&e.DP.push(ZC._f_(t))}paint(){super.paint()}paint_(){var t,e,a=this;if(null!==ZC._n_(a.A.QC[a.L])&&a.AO){var c=a.A.CM.AK(a.A.QC[a.L]);a.FL=new I7(a.A),a.FL.K=a.K+"-goal",a.FL.copy(a.A.FL),a.FL.Z=a.A.CO("fl",0),a.FL.C7=a.A.CO("fl",0),a.FL.IX=function(f){return a.IX(f)},a.FL.DC()&&a.FL.parse(),null!==ZC._n_(t=a.FL.o)&&null!==ZC._n_(t.styles)&&null!==ZC._n_(e=t.styles[a.L])&&(a.FL.append("string"==typeof e?{"background-color":e}:e),a.FL.parse());var h=.2;if(null!==ZC._n_(t=a.FL.o.extension)&&(h=ZC._f_(t)),a.FL.iY=a.getNodeData("y")-a.F*h,a.FL.F=a.F*(1+2*h),null===ZC._n_(a.A.FL.o[ZC._[19]])&&(a.FL.I=ZC.CX(5,a.C.P.I/30)),a.FL.iX=c-a.FL.I/2,a.FL.AO){a.FL.paint();var _=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6];a.A.A.HJ.push(ZC.Q.FT("rect",a.A.E8,a.A.IT)+'class="'+_+'" id="'+a.K+"--goal"+ZC._[30]+ZC._i_(a.FL.iX+a.A.BL+ZC.MAPTX)+","+ZC._i_(a.FL.iY+a.A.BH+ZC.MAPTX)+","+ZC._i_(a.FL.iX+a.A.BL+a.FL.I+ZC.MAPTX)+","+ZC._i_(a.FL.iY+a.A.BH+a.FL.F+ZC.MAPTX)+'" />')}}}HZ(t){var e=this;if(!ZC.move&&(super.HZ(t),e.FL&&e.FL.AO)){var a=new I7(e.A);a.copy(e.FL),a.Z=ZC.AM(e.C.K+ZC._[22]),a.MJ=!1,a.iX=e.FL.iX,a.iY=e.FL.iY,a.paint()}}}class A7W extends MM{HG(){var t,e=this;e.o[ZC._[9]]instanceof Array&&null!==ZC._n_(e.o[ZC._[9]][1])&&(e.CK=e.o[ZC._[9]][1],"string"==typeof e.o[ZC._[9]][0]?-1!==(t=ZC.AV(e.A.B0.J2,e.o[ZC._[9]][0]))?e.BW=t:(e.A.B0.J2.push(e.o[ZC._[9]][0]),e.BW=e.A.B0.J2.length-1):e.BW=ZC._f_(e.o[ZC._[9]][0]),"string"==typeof e.o[ZC._[9]][1]?-1!==(t=ZC.AV(e.A.CM.JT,e.o[ZC._[9]][1]))?e.AD=t:(e.A.CM.JT.push(e.o[ZC._[9]][1]),e.AD=e.A.CM.JT.length-1):e.AD=ZC._f_(e.o[ZC._[9]][1]),null!==e.BW&&e.A.TI(e.BW,e.L))}setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];t.JW!==c&&(t.iX=e.AW?e.iX+e.I-e.A9-(t.L-e.W+1)*e.AB:e.iX+e.A9+(t.L-e.W)*e.AB,t.iY=a.AW?a.iY+a.A9+(t.A.L-a.AY)*a.AB:a.iY+a.F-a.A9-(t.A.L-a.AY+1)*a.AB,t.JW=c),t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0),t.GN(t)}HL(t){var e=this,a="over";null!==ZC._n_(t.o[ZC._[7]])&&(a=t.o[ZC._[7]]);var c=t.I,h=t.F,_=e.iX+e.I/2-c/2,f=e.iY+e.F/2-h/2;switch(a){case"top":f-=e.F/2+h/2+2;break;case"left":_-=e.I/2+c/2+2;break;case"bottom":f+=e.F/2+h/2+2;break;case"right":_+=e.I/2+c/2+2}return null!==ZC._n_(t.o.x)&&(_=t.iX),null!==ZC._n_(t.o.y)&&(f=t.iY),[ZC._i_(_),ZC._i_(f)]}JD(){return{color:"#000"}}getFormatValue(){return this.CK}ET(t,e,a,c){var h,_=this,f=_.A.CM,m=_.A.L;return h=null!==ZC._n_(f.BZ[m])?f.BZ[m]:f.V[m],_.CU=[["%y",h],["%scale-value-label",h]],super.ET(t,e,a,c)}S4(){var t=this;t.setup();var e,a=t.A.B0,c=t.A.CM;switch(t.A.A7M){case"plot-max":e=(ZC._f_(t.AD)-t.A.YT)/(t.A.A5H-t.A.YT);break;case"plot-total":e=(ZC._f_(t.AD)-t.A.YT)/(t.A.A6R-t.A.YT);break;case"chart-max":e=(ZC._f_(t.AD)-t.A.X6)/(t.A.A46-t.A.X6);break;case"chart-total":e=(ZC._f_(t.AD)-t.A.X6)/(t.A.A5I-t.A.X6)}switch(ZC.PQ(e)||(e=.5),t.I=a.AB,t.F=c.AB,t.A.CV){case"alpha":case"brightness":t.C5=t.A.QK+e*(t.A.VD-t.A.QK);break;case"horizontal":t.I=1.01+t.A.QK*a.AB+e*a.AB*(t.A.VD-t.A.QK),a.AW&&(t.iX=t.iX+a.AB-t.I);break;case"vertical":t.F=1.01+t.A.QK*c.AB+e*c.AB*(t.A.VD-t.A.QK),c.AW||(t.iY=t.iY+c.AB-t.F);break;case"size":t.I=1.01+t.A.QK*a.AB+e*a.AB*(t.A.VD-t.A.QK),t.F=1.01+t.A.QK*c.AB+e*c.AB*(t.A.VD-t.A.QK),t.iX+=(a.AB-t.I)/2,t.iY+=(c.AB-t.F)/2}t.iX-=t.AU/2,t.iY-=t.AU/2,t.I+=t.AU,t.F+=t.AU}paint(){var t=this;super.paint(),t.S4();var e=t.C.P;if(!(t.iY+5=e.iY+e.F)){if(t.AO){var a=zingchart.pool.getInstance("I7",t,t.A.K+"-piano-box");if(a.K=t.K,a.copy(t),("none"!==t.A.J8||t.C.J4[t.A.L]||t.C.KR||t.A.T8&&t.A.T8[t.L])&&a.copy(t.A.I8(t,a)),a.iX=t.iX,a.iY=t.iY,a.I=t.I,a.F=t.F,a.Z=t.A.CO("bl",1),a.C7=t.A.CO("bl",0),(-1!==a.BX&&a.AU>0||a.QD+a.OV+a.O2+a.PL!==""||-1!==a.A0||-1!==a.AE||""!==a.DA||""!==a.GV||""!==a.HV)&&(a.paint(),!a.KI)){var c=t.C.K+ZC._[34]+t.C.K+ZC._[35]+t.A.L+ZC._[6];t.A.A.HJ.push(ZC.Q.FT("rect",t.A.E8,t.A.IT)+'class="'+c+'" '+t.a11y()+' id="'+t.K+ZC._[30]+ZC._i_(t.iX+ZC.MAPTX)+","+ZC._i_(t.iY+ZC.MAPTX)+","+ZC._i_(t.iX+t.I+ZC.MAPTX)+","+ZC._i_(t.iY+t.F+ZC.MAPTX)+'" />')}}t.A.U&&t.A.U.AO&&t.F9()}}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"box",initcb:function(){this.AE=e.A.BP[3],this.B7=e.A.BP[1],this.BX=e.A.BP[1],this.A0=e.A.BP[2]},setupcb:function(){this.iX=e.iX,this.iY=e.iY,this.I=e.I,this.F=e.F}})}}class A6K extends MM{setup(){var t=this,e=t.A.B0,a=t.A.CM,c=[e.W,e.A1,a.W,a.A1];t.JW!==c&&(t.iX=e.AW?e.iX+e.I-e.A9-(t.L+1)*e.AB:e.iX+e.A9+t.L*e.AB,t.iY=a.AW?a.iY+a.A9+t.A.L*a.AB:a.iY+a.F-a.A9-(t.A.L+1)*a.AB,t.JW=c),t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}ET(t,e,a,c){var h,_,f=this,m=ZC._f_(f.A.A.FA["%pstack-"+f.L+"-0-sum"]||"0"),v=f.A.LZ();if(ZC._cp_(e,v),f.CU=[],f.A.L>0&&f.A.A.A3[f.A.L-1]&&f.A.A.A3[f.A.L-1].R[f.L]?_=""+(h=100*f.AD/f.A.A.A3[f.A.L-1].R[f.L].AD):(h=100,_="100"),null!==ZC._n_(v[ZC._[12]])&&(_=h.toFixed(ZC.BQ(0,ZC._i_(v[ZC._[12]])))),f.CU.push(["%output-percent-value",_]),m>0){var E=100*f.AD/m,w=""+E;null!==ZC._n_(v[ZC._[12]])&&(w=E.toFixed(ZC.BQ(0,ZC._i_(v[ZC._[12]])))),f.CU.push(["%node-percent-value",w]),f.CU.push(["%npv",w])}return super.ET(t,e,a,c)}paint(){var t,e,a,c,h,_,f,m,v,E,w,D,M,T=this;super.paint();var R=T.A.B0,V=T.A.CM;T.setup();var $=T.A.LB;$<=1&&($*=R.AB);var y=T.A.ON;y<=1&&(y*=R.AB);var U=T.A.M8;U<=1&&(U*=R.AB);var O=R.AB-$-y-U,Q=U+O*(T.AD/(t="static"===T.A.A32?T.C.AZ.A8F[T.L]:T.C.AZ.BD)),W=0;T.A.L+1')}for(e=0,a=T.A.P6.length;e0&&f.A.A.A3[f.A.L-1]&&f.A.A.A3[f.A.L-1].R[f.L]?_=""+(h=100*f.AD/f.A.A.A3[f.A.L-1].R[f.L].AD):(h=100,_="100"),null!==ZC._n_(v[ZC._[12]])&&(_=h.toFixed(ZC.BQ(0,ZC._i_(v[ZC._[12]])))),f.CU.push(["%output-percent-value",_]),m>0){var E=100*f.AD/m,w=""+E;null!==ZC._n_(v[ZC._[12]])&&(w=E.toFixed(ZC.BQ(0,ZC._i_(v[ZC._[12]])))),f.CU.push(["%node-percent-value",w]),f.CU.push(["%npv",w])}return super.ET(t,e,a,c)}HL(t){var e,a=this,c=a.A.B0,h=a.A.CM;null!==ZC._n_(t.o[ZC._[7]])&&(e=t.o[ZC._[7]]);var _=a.iX+h.AB/2-t.I/2,f=a.iY+c.AB/2-t.F/2,m=a.E["entry-exit"],v=(m[0]+m[1])/2;switch(e){case"in":case"auto":break;case"top":_=a.iX+h.AB-t.I-5;break;case"bottom":_=a.iX+5;break;case"left":f=a.iY+c.AB/2-v/2+5;break;case"left-out":f=a.iY+c.AB/2-v/2-t.F-5;break;case"right":f=a.iY+c.AB/2+v/2-t.F-5;break;case"right-out":f=a.iY+c.AB/2+v/2+5}return null!==ZC._n_(t.o.x)&&(_=t.iX),null!==ZC._n_(t.o.y)&&(f=t.iY),[ZC._i_(_),ZC._i_(f)]}paint(){var t,e,a,c,h,_,f,m,v,E,w,D,M,T=this;super.paint();var R=T.A.B0,V=T.A.CM;T.setup();var $=T.A.LB;$<=1&&($*=R.AB);var y=T.A.ON;y<=1&&(y*=R.AB);var U=T.A.M8;U<=1&&(U*=R.AB);var O=R.AB-$-y-U,Q=U+O*(T.AD/(t="static"===T.A.A32?T.C.AZ.A8F[T.L]:T.C.AZ.BD)),W=0;T.A.L+1')}for(e=0,a=T.A.P6.length;et.AD?(t.A.o["trend-up"]&&(t.J9.append(t.A.o["trend-up"]),t.J9.parse()),t.A.N8.up||(t.A.N8.up=new DV(t.A),t.A.N8.up.copy(t.J9),t.A.N8[ZC._[21]]++)):(t.A.o["trend-equal"]&&(t.J9.append(t.A.o["trend-equal"]),t.J9.parse()),t.A.N8.equal||(t.A.N8.equal=new DV(t.A),t.A.N8.equal.copy(t.J9),t.A.N8[ZC._[21]]++)),t.IJ=!0),t.A.GZ){t.J9=t.DP[2]t.AD?t.A.N8.up:t.A.N8.equal;var h=ZC.CX(t.E.XR,t.E.VY),_=ZC.BQ(t.E.XR,t.E.VY)-ZC.CX(t.E.XR,t.E.VY);_<2&&(_=2),t.E.A8D=h+_/2}}ET(t,e,a,c){var h=this,_=h.A.LZ();function f(m){return ZC.AR.G6(m,_)}return ZC._cp_(e,_),h.CU=[["%node-value-stock-open",f(h.AD)],["%open",f(h.AD)],["%v0",f(h.AD)],["%node-value-stock-high",f(h.DP[0])],["%high",f(h.DP[0])],["%v1",f(h.DP[0])],["%node-value-stock-low",f(h.DP[1])],["%low",f(h.DP[1])],["%v2",f(h.DP[1])],["%node-value-stock-close",f(h.DP[2])],["%close",f(h.DP[2])],["%v3",f(h.DP[2])]],super.ET(t,e,a,c)}HG(){var t,e,a=this;if(a.DP=[],a.o[ZC._[9]]instanceof Array&&5===a.o[ZC._[9]].length)a.BW=ZC._f_(a.o[ZC._[9]][0]),null!==a.BW&&(null!==ZC._n_(a.A.KC[a.BW])&&-1!==ZC.AV(a.A.KC[a.BW],a.L)||a.A.TI(a.BW,a.L)),e=[a.o[ZC._[9]][1],a.o[ZC._[9]][2],a.o[ZC._[9]][3],a.o[ZC._[9]][4]];else if(a.o[ZC._[9]][1]instanceof Array){if("string"==typeof a.o[ZC._[9]][0]){var c=ZC.AV(a.A.B0.J2,a.o[ZC._[9]][0]);-1!==c?a.BW=c:(a.A.B0.J2.push(a.o[ZC._[9]][0]),a.BW=a.A.B0.J2.length-1)}else a.BW=ZC._f_(a.o[ZC._[9]][0]);null!==a.BW&&(null!==ZC._n_(a.A.KC[a.BW])&&-1!==ZC.AV(a.A.KC[a.BW],a.L)||a.A.TI(a.BW,a.L)),e=a.o[ZC._[9]][1]}else e=a.o[ZC._[9]];a.CK=e.join(" "),a.AD=ZC._f_(e[0]),null!==ZC._n_(t=e[1])&&a.DP.push(ZC._f_(t)),null!==ZC._n_(t=e[2])&&a.DP.push(ZC._f_(t)),null!==ZC._n_(t=e[3])&&a.DP.push(ZC._f_(t))}JD(){var t=this,e={};return e[ZC._[0]]=t.DP[2]1&&(M>1?D=(E-(_-1)*w+(_-1)*M)/_:M*=D=(E-(_-1)*w)/(_-(_-1)*M)),D=ZC._l_(D,1,E);var T=e.iX-c/2+m+h*(D+w)-h*M;T=ZC._l_(T,e.iX-c/2+m,e.iX+c/2-v);var R,V=D,$=ZC.CX(e.E.XR,e.E.VY),y=ZC.BQ(e.E.XR,e.E.VY)-ZC.CX(e.E.XR,e.E.VY);if(y<2&&(y=2),m+v===0&&(T-=.5,V+=1),e.I=V,e.F=y,e.iX=T,e.E.A8D=$+y/2,e.setNodeData({x:T,y:$,w:V,h:y}),e.AO){R=ZC.Q.EA(e.H.usc()?e.H.K+"-main-c":e.H.KI?e.C.K+"-plots-bl-c":e.C.K+"-plot-"+e.A.L+"-bl-1-c",e.H.AC);var U,O=e.iX+e.I/2;(e.DP[2]e.AD&&(t=e.A.o["trend-up"])||e.DP[2]===e.AD&&(t=e.A.o["trend-equal"]))&&(e.E[ZC._[73]]=t[ZC._[73]],e.E[ZC._[72]]=t[ZC._[72]]);var Q=e.A.I8(e,e.J9);switch(e.A.CV){default:var W,ae;(U=[]).push([O,e.E.AA3],[O,ZC.CX(e.E.XR,e.E.VY)],null,[O,e.E.ABB],[O,ZC.BQ(e.E.XR,e.E.VY)]),ZC.CQ.paint(R,Q,U),ae=e.DP[2]e.AD?e.A.ACR:e.A.ABL,0!==e.A.E5.length||typeof ae===ZC._[31]||e.O.o.override||e.C.KR?(W=new I7(e.A)).copy(Q):W=ae,e.GN(W),W.Z=e.A.CO("bl",1),W.C7=e.A.CO("bl",0),W.K=e.K,W.iX=T,W.iY=$,W.I=e.I,W.F=e.F,W.paint(),0!==e.A.E5.length||typeof ae!==ZC._[31]||e.O.o.override||e.C.KR||(e.DP[2]e.AD?e.A.ACR=W:e.A.ABL=W);break;case"whisker":case"ohlc":U=[];var ee=Math.max(e.I/4,4);U.push([O,e.E.AA3],[O,e.E.ABB],null,[O-ee,e.E.XR],[O,e.E.XR],null,[O+ee,e.E.VY],[O,e.E.VY]),e.GN(Q),ZC.CQ.paint(R,Q,U)}if(e.A.FV){var ne=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6];e.A.A.HJ.push(ZC.Q.FT("rect",e.A.E8,e.A.IT)+'class="'+ne+'" id="'+e.K+ZC._[30]+ZC._i_(T+ZC.MAPTX)+","+ZC._i_(e.E.AA3+ZC.MAPTX)+","+ZC._i_(T+V+ZC.MAPTX)+","+ZC._i_(e.E.ABB+ZC.MAPTX)+'" />')}e.A.U&&e.A.U.AO&&e.F9()}}HZ(){var t=this;if(!ZC.move&&t.A.IO&&t.A.AO&&"candlestick"===(super.HZ(),t.A.CV)){var e=new I7(t.A);e.K=t.K+"-hover",e.Z=ZC.AM(t.C.K+ZC._[22]),e.C2=t.A.BP[0],e.AE=t.A.BP[3],e.B7=t.A.BP[1],e.BX=t.A.BP[1],e.A0=t.A.BP[2],e.append(t.A.IO.o),e.QB=!0,e.parse(),e.IX=function(c){return t.IX(c)},e.DC()&&e.parse(),t.DP[2]t.AD&&t.A.o["trend-up"]?(e.append(t.A.o["trend-up"]),e.append(t.A.o[ZC._[71]]),t.A.o["trend-up"][ZC._[71]]&&e.append(t.A.o["trend-up"][ZC._[71]]),e.parse()):t.DP[2]===t.AD&&t.A.o["trend-equal"]&&(e.append(t.A.o["trend-equal"]),e.append(t.A.o[ZC._[71]]),t.A.o["trend-equal"][ZC._[71]]&&e.append(t.A.o["trend-equal"][ZC._[71]]),e.parse()),e.iX=t.getNodeData("x"),e.iY=t.getNodeData("y"),e.I=t.getNodeData("w"),e.F=t.getNodeData("h");var a=t.C.P;e.iYa.iY+a.F&&(e.F=a.iY+a.F-e.iY),e.AO&&e.paint()}}}class A7Y extends MM{setup(){var t=this,e=t.C.BK(t.A.BV("k")[0]),a=t.C.BK(t.A.BV("v")[0]),c=t.L%e.H6,h=Math.floor(t.L/e.H6),_=a.EK/(a.BD-a.AY);t.iX=e.iX+c*e.GM+e.GM/2,t.iY=e.iY+h*e.GH+e.GH/2,t.E.angle=a.DI-a.EK/2+_*(t.AD-a.AY),a.AW&&(t.E.angle=a.DI+a.EK/2-_*(t.AD-a.AY)),t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(!1),t.IJ=!0)}HL(t){var e,a,c,h=t.I,_=t.F,f=this,m=f.C.BK(f.A.BV("k")[0]),v=ZC.CX(m.GM/2,m.GH/2)*m.JM,E=f.L%m.H6,w=Math.floor(f.L/m.H6),D=m.iX+E*m.GM+m.GM/2+m.BL,M=m.iY+w*m.GH+m.GH/2+m.BH;switch(t.o[ZC._[7]]){case"center":a=D-h/2+f.BL,c=M-_/2+f.BH;break;case"edge":a=(e=ZC.AP.BN(D,M,v+t.DT,f.E.angle))[0]-h/2+f.BL,c=e[1]-_/2+f.BH;break;case"tip":a=(e=ZC.AP.BN(D,M,f.E[ZC._[21]]+t.DT,f.E.angle))[0]-h/2+f.BL,c=e[1]-_/2+f.BH;break;default:a=(e=ZC.AP.BN(D,M,v/2+t.DT,f.E.angle))[0]-h/2+f.BL,c=e[1]-_/2+f.BH}return null!==ZC._n_(t.o.x)&&(a=t.iX),null!==ZC._n_(t.o.y)&&(c=t.iY),[ZC._i_(a),ZC._i_(c)]}JD(){return{color:this.A0}}KH(){return{"background-color":this.A0,"border-color":this.B7,color:this.C2}}paint(){var t,e=this;super.paint(),e.setup(),e.CY=!1;var a=e.C.BK(e.A.BV("k")[0]),c=ZC.CX(a.GM/2,a.GH/2)*a.JM,h=e.L%a.H6,_=Math.floor(e.L/a.H6),f=a.iX+h*a.GM+a.GM/2+a.BL,m=a.iY+_*a.GH+a.GH/2+a.BH,v=ZC.IU(e.A.o[ZC._[21]]||"0.9",!1);v>0&&v<=1&&(v*=c),e.E[ZC._[21]]=v;var E=e.O=e.A.I8(e,e),w=new DX(e.A);function D(ae){var ee=[],ne=e.A.I6;ne[4]>-1&&ne[4]<1&&(ne[4]=ZC._i_(ne[4]*c));var oe=ZC.AP.BN(f,m,ne[4],ae);if(ne[0]>=0)for(t=-ne[2];t<=180+ne[2];t+=5)ee.push(ZC.AP.BN(oe[0],oe[1],ne[0],ae+270-t));else ee.push(ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[0]),ae-90)),ee.push(ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[0]),ae+90));if(0===ne[1])ee.push(ZC.AP.BN(f,m,v>0?v:.9*c,ae));else if(ne[1]>0)for(oe=ZC.AP.BN(f,m,v>0?v:.9*c,ae),t=-ne[3];t<=180+ne[3];t+=5)ee.push(ZC.AP.BN(oe[0],oe[1],ne[1],ae-270-t));else oe=ZC.AP.BN(f,m,(v>0?v:.9*c)+ne[1],ae),ee.push(ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[1]/(90/ne[3])),ae+90),ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[1]),ae+90),ZC.AP.BN(f,m,v>0?v:.9*c,ae),ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[1]),ae+270),ZC.AP.BN(oe[0],oe[1],ZC._a_(ne[1]/(90/ne[3])),ae+270));return ee.push([ee[0][0],ee[0][1]]),ee}function M(){var ae=w.F1(),ee=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],ne=ZC.Q.FT("poly",e.A.E8,e.A.IT)+'class="'+ee+'" id="'+e.K+ZC._[30]+ae+'" />';e.A.A.HJ.push(ne)}w.copy(E),w.Z=e.A.CO("bl",1),w.C7=e.A.CO("bl",0),w.K=e.K+"-arrow";var T=e.C.BK(e.A.BV("v")[0]),R=T.DI-T.EK/2,V=D(e.E.angle);if(e.E.points=V,w.DS="poly",w.D=V,w.parse(),w.IX=function(ae){return e.IX(ae)},w.DC()&&w.parse(),e.A.GG&&!e.C.HP){var $,y=w,U={},O=e.A.LK;for($ in y.C5=0,U.alpha=E.C5,2===O&&(y.A31=R,U.A31=e.E.angle),e.A.FZ)y[EB.GP[ZC.EF($)]]=e.A.FZ[$],U[ZC.EF($)]=E[EB.GP[ZC.EF($)]];if(e.C.EN||(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for($ in e.C.EN[e.A.L+"-"+e.L]){var Q=EB.GP[ZC.EF($)];null===ZC._n_(Q)&&(Q=$),y[Q]=e.C.EN[e.A.L+"-"+e.L][$]}e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(U,e.C.EN[e.A.L+"-"+e.L]);var W=new EB(y,U,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){M()});W.AX=e,W.A0T=function(ae,ee){null!==ZC._n_(ee.A31)&&(ae.D=D(ee.A31))},e.LD(W),e.A.U&&e.F9()}else w.paint(),e.A.U&&e.F9(),M()}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"shape",initcb:function(){this.copy(e),this.B7=e.A.BP[1],this.BX=e.A.BP[1],this.A0=e.A.BP[3],this.AE=e.A.BP[2],this.D=e.E.points,this.Z=this.C7=e.A.CO("bl",2)}})}}class A7Z extends MM{constructor(t){super(t);var e=this;e.C8=null,e.CA=null,e.N0="min"}ET(t,e,a,c){var h=this;return h.CU=[["%range-set",h.N0],["%node-min-value",h.C8],["%node-max-value",h.CA]],super.ET(t,e,a,c)}HG(){var t,e,a=this;a.o[ZC._[9]][1]instanceof Array?("string"==typeof a.o[ZC._[9]][0]?-1!==(e=ZC.AV(a.A.B0.J2,a.o[ZC._[9]][0]))?a.BW=e:(a.A.B0.J2.push(a.o[ZC._[9]][0]),a.BW=a.A.B0.J2.length-1):a.BW=ZC._f_(a.o[ZC._[9]][0]),null!==a.BW&&(null!==ZC._n_(a.A.KC[a.BW])&&-1!==ZC.AV(a.A.KC[a.BW],a.L)||a.A.TI(a.BW,a.L)),t=a.o[ZC._[9]][1]):t=a.o[ZC._[9]],"string"==typeof t[0]?-1!==(e=ZC.AV(a.A.CM.JT,t[0]))?a.C8=e:(a.A.CM.JT.push(t[0]),a.C8=a.A.CM.JT.length-1):a.C8=ZC._f_(t[0]),a.DP.push(a.C8),"string"==typeof t[1]?-1!==(e=ZC.AV(a.A.CM.JT,t[1]))?a.CA=e:(a.A.CM.JT.push(t[1]),a.CA=a.A.CM.JT.length-1):a.CA=ZC._f_(t[1]),a.CK=t.join(" "),a.AD=a.CA}setup(){var t=this,e=t.A.NN,a=t.A.B0,c=t.A.CM,h=[a.W,a.A1,c.W,c.A1,t.N0];null===ZC._n_(t.AH)&&(t.AH=[]),t.A.bFastRange&&(t.E.points=null,t.E.pointsarea=null),t.JW!==h&&(e?(t.iY=null!==t.BW?a.AK(t.BW):a.H7(t.L),t.iX=c.AK("min"===t.N0?t.C8:t.CA)):(t.iX=null!==t.BW?a.AK(t.BW):a.H7(t.L),t.iY=c.AK("min"===t.N0?t.C8:t.CA)),t.JW=h),t.A.bFastRange?t.IJ=!1:t.IJ||ZC.DM(t.iX,t.C.P.iX-10,t.C.P.iX+t.C.P.I+10)&&ZC.DM(t.iY,t.C.P.iY-10,t.C.P.iY+t.C.P.F+10)&&(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(),t.IJ=!0),t.E.NO=c.AK(t.C8),t.E.RK=c.AK(t.CA)}JD(){return this.A.bFastRange?{color:this.A.B7}:{color:this.B7}}KH(){return this.A.bFastRange?{"background-color":this.A.B7,"border-color":this.A.B7,color:this.A.C2}:{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}paint(){var t,e=this;super.paint();var a=e.A.B0,c=e.A.OK,h=e.A.NN,_=e.A.R;if(e.setup(),!e.A.bFastRange){null!==ZC._n_(e.A.o[e.N0+"-line"])&&(e.append(e.A.o[e.N0+"-line"]),e.parse()),e.CY=!1,e.C7=e.A.CO("bl",1);var f,m,v,E,w,D,M,T,R,V,$,y,U,O=[],Q=[];if("spline"===e.A.CV){if(typeof e.E["intersect.index"]===ZC._[31]&&(e.E["intersect.index"]=-1,_[e.L+e.A.Y])){var ee=[],ne=[],oe=[];for(M=-1;M<3;M++)_[e.L+M]?(_[e.L+M].setup(),ee.push(_[e.L+M].E.NO),oe.push(_[e.L+M].E.RK),ne.push(h?_[e.L+M].iY:_[e.L+M].iX)):(ee.push(e.E.NO),oe.push(e.E.RK),ne.push(h?e.iY:e.iX));R=ZC._a_(ne[2]-ne[1]);var te=ZC.AP.YY(e.A.QP,ee,ZC._i_(R)),le=ZC.AP.YY(e.A.QP,oe,ZC._i_(R));if(_[e.L+e.A.Y].C8===_[e.L+e.A.Y].CA)e.E["intersect.index"]=te.length;else{var ce=te[0][1]-le[0][1];for(M=1,T=te.length;M=0;M--)e.AH.push(e.A.SH.max[M]);if(null!==ZC._n_(t=e.A.SH.min))for(M=0,T=t.length;M=a.A1&&(ae=!1),_[e.L+e.A.Y]||(ae=!1),ae&&(_[e.L+e.A.Y].N0=e.N0,_[e.L+e.A.Y].setup(),h?(m=[e.E.NO,e.iY],v=[_[e.L+e.A.Y].E.NO,_[e.L+e.A.Y].iY],E=[e.E.RK,e.iY],w=[_[e.L+e.A.Y].E.RK,_[e.L+e.A.Y].iY],D=ZC.AP.A67(m,v,E,w),f=ZC.DM(D[1],_[e.L+e.A.Y].iY,e.iY)?D:ZC.AP.K3(_[e.L].iX,_[e.L].iY,_[e.L+e.A.Y].iX,_[e.L+e.A.Y].iY),Q.push([f[0],ZC._i_(f[1])]),O.push([f[0],f[1]])):(m=[e.iX,e.E.NO],v=[_[e.L+e.A.Y].iX,_[e.L+e.A.Y].E.NO],E=[e.iX,e.E.RK],w=[_[e.L+e.A.Y].iX,_[e.L+e.A.Y].E.RK],D=ZC.AP.A67(m,v,E,w),f=ZC.DM(D[0],_[e.L+e.A.Y].iX,e.iX)?D:ZC.AP.K3(_[e.L].iX,_[e.L].iY,_[e.L+e.A.Y].iX,_[e.L+e.A.Y].iY),Q.push([ZC._i_(f[0]),f[1]]),O.push([f[0],f[1]])))}if("min"===e.N0)for(M=0,T=Q.length;M=0;M--)e.AH.push(Q[M]);if("max"===e.N0){var ie=new DX(e.A);ie.K=e.K+"-area",ie.Z=e.A.CO("bl",0),ie.copy(e.O),ie.B1=0,ie.AU=0,ie.ES=0,ie.G4=0,ie.parse(),ie.D=e.AH,ie.C5=e.A.HW;var De=e.C.P;for(ie.D1=[De.iX,De.iY,De.iX+De.I,De.iY+De.F],ie.paint(),e.E.pointsarea=[],M=0,T=e.AH.length;M'))}"min"===e.N0?e.E.points=O:(e.E.points.push(null),e.E.points=e.E.points.concat(O));var ge=new CZ(e);if(ge.copy(e.O),ge.append(e.A.o[e.N0+"-line"]),ge.K=e.K+"-line",ge.parse(),ZC.CQ.setup(c,ge),ZC.CQ.paint(c,ge,O),"max"===e.N0&&e.paintPreview(e,e.E.points,e.E.pointsarea),h?ZC.DM(e.iY,a.iY-1,a.iY+a.F+1)&&ZC.DM(e.iX,a.iX-1,a.iX+a.I+1):ZC.DM(e.iX,a.iX-1,a.iX+a.I+1)&&ZC.DM(e.iY,a.iY-1,a.iY+a.F+1)){var me=new DX(e.A);me.K=e.K+"-marker-"+e.N0,me.Z=me.C7=e.A.CO("fl",0),me.iX=e.iX,me.iY=e.iY,me.B7=e.A.BP[3],me.BX=e.A.BP[3],me.A0=e.A.BP[2],me.AE=e.A.BP[2],me.append(e.A.A2.o),e.A.o[e.N0+"-marker"]&&me.append(e.A.o[e.N0+"-marker"]),me.parse(),me.IX=function(Ze){return e.IX(Ze)},me.DC()&&me.parse(),me.AO&&"none"!==me.AF&&(e.A.N6>a.A1-a.W&&me.paint(),e.E["marker.type"]=me.DS,y=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],a.AW&&O.reverse(),e.A.FV&&(""!==(U=ZC.AP.PR(ZC.AP.ZL(e.E.points),4))?e.A.A.HJ.push(ZC.Q.FT("poly",e.A.E8,e.A.IT)+'class="'+y+'" '+e.a11y()+' id="'+e.K+"--"+e.N0+ZC._[30]+U+'" />'):e.A.A.HJ.push(ZC.Q.FT("circle",e.A.E8,e.A.IT)+'class="'+y+'" '+e.a11y()+' id="'+e.K+"--"+e.N0+ZC._[30]+ZC._i_(me.iX+ZC.MAPTX)+","+ZC._i_(me.iY+ZC.MAPTX)+","+ZC._i_(1.5*ZC.BQ(3,me.AI))+'" />'))),e.A.U&&e.A.U.AO&&e.F9()}}}paintPreview(t,e,a){var c=this;if(c.C.B9&&c.C.B9.IJ&&c.A.R1){var h,_=c.C.P,f=c.C.B9,m=c.A.mapPointsToPreview(a),v=new DX(c.A);v.copy(t),v.CY=!0,v.LH=!0,v.B1=0,v.AU=0,v.ES=0,v.G4=0,v.C5=c.A.HW,v.D1=[_.iX,_.iY,_.iX+_.I,_.iY+_.F],v.K=c.K+"-area-preview",v.Z=f.Z,v.D=m,v.paint();var E=c.A.mapPointsToPreview(e);c.A.WK?h=c.A.WK:(h=new CZ(c),c.A.WK=h),h.copy(t);var w=ZC.Q.EA(f.Z,c.H.AC);h.B1=1,ZC.CQ.paint(w,h,E,null,3)}}HZ(){var t=this,e=t.A.NN;if(!ZC.move){var a=t.A.B0;if(t.A.GC&&t.A.AO){var c=ZC.Q.EA(t.C.K+ZC._[22],t.H.AC),h=new DX(t.A);if(h.K=t.K+"-area-hover",h.Z=ZC.AM(t.C.K+ZC._[22]),h.LH=!0,h.copy(t),h.append(t.A.IO.o),h.D=t.E.pointsarea||[],h.parse(),h.AO){h.C5=t.A.HW;var _=t.C.P;h.D1=[_.iX,_.iY,_.iX+_.I,_.iY+_.F],ZC.CQ.setup(c,h),h.paint()}var f=ZC.Q.EA(t.C.K+ZC._[22],t.H.AC),m=new CZ(t.A);m.K=t.K+"-line-hover",m.CY=!1,m.B7=t.A.BP[3],m.append(t.A.IO.o),m.parse(),m.IX=function(E){return t.IX(E)},m.DC()&&m.parse(),m.AO&&(ZC.CQ.setup(f,m),ZC.CQ.paint(f,m,t.E.points||[]))}if(t.A.N6>a.A1-a.W&&t.A.GC&&t.A.AO){super.HZ();var v=new DX(t.A);v.K=t.K+"-marker-max-hover",v.Z=ZC.AM(t.C.K+ZC._[22]),v.DS=t.E["marker.type"],e?(v.iY=t.iY,v.iX=t.E.RK):(v.iX=t.iX,v.iY=t.E.RK),v.B7=t.A.BP[3],v.BX=t.A.BP[3],v.A0=t.A.BP[2],v.AE=t.A.BP[2],v.append(t.A.GC.o),v.parse(),v.IX=function(E){return t.IX(E)},v.DC()&&v.parse(),v.AO&&"none"!==v.AF&&v.paint(),v.K=t.K+"-marker-min-hover",e?v.iX=t.E.NO:v.iY=t.E.NO,v.AO&&"none"!==v.AF&&v.paint()}}}}class A84 extends MM{constructor(t){super(t),this.bCXY=!0,this.U=null}parse(){super.parse()}XI(){super.XI();var t=this.C.E;t.update.npv=t.update["node-percent-value"]=this.ET("%npv")}ET(t,e,a,c){var h=this,_=h.A.LZ();ZC._cp_(e,_),-1===t.indexOf("%npv")&&-1===t.indexOf("%node-percent-value")||null!==ZC._n_(_[ZC._[12]])&&-1!==_[ZC._[12]]||(_[ZC._[12]]=1);var f=0,m="0";if(h.A.A.KW[h.L]>0&&(m=""+(f=100*h.AD/h.A.A.KW[h.L])),h.A.A.A3.length>1&&h.A.L===h.A.A.A3.length-1){var v=0;if(null===ZC._n_(h.A.o.totals)){for(var E=0;E0&&(D=""+(w=100*h.A.A.A3[E].R[h.L].AD/h.A.A.KW[h.L])),null!==ZC._n_(_[ZC._[12]])&&(D=w.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]])))),v+=ZC._f_(D)}m=""+(f=Math.max(0,100-v))}}null!==ZC._n_(_[ZC._[12]])&&(m=f.toFixed(ZC.BQ(0,ZC._i_(_[ZC._[12]]))));var M,T=ZC._f_(h.A.A.KW[h.L]||"0");return M=ZC.AR.G6(T,_,h.A),h.CU=[["%node-percent-value",m],["%npv",m],["%pie-total-value",M]],super.ET(t,e,a,c)}OS(t){var e,a=this,c=(a.B4+a.BM)/2%360,h=0;null!==ZC._n_(e=t["offset-r"])&&(h=ZC._f_(ZC._p_(e))),h<1&&(h*=a.AI);var _=new CE(a.C,(a.CN+.5*(a.AI-a.CN)+a.DT+h)*ZC.EI(c),(a.CN+.5*(a.AI-a.CN)+a.DT+h)*ZC.EO(c),0).EC;return[_[0],_[1],{reference:a,center:!0}]}setup(){var t=this,e=t.C.BK(t.A.BV("k")[0]),a=t.L%e.H6,c=Math.floor(t.L/e.H6);t.iX=e.iX+a*e.GM+e.GM/2+e.BL,t.iY=e.iY+c*e.GH+e.GH/2+e.BH,t.IJ||(t.copy(t.A),t.E5=t.A.E5,t.DC()&&t.parse(),t.IJ=!0)}JD(t){var e={},a="out";return null!==ZC._n_(t.o[ZC._[7]])&&(a=t.o[ZC._[7]]),e.color="out"===a?this.A0:this.C2,e}HL(t){var e,a=this,c="out";null!==ZC._n_(e=t.o[ZC._[7]])&&(c=e);var h,_,f,m,v,E=t.I,w=t.F,D=(a.B4+a.BM)/2%360,M=D;if("out"===c){D=M=a.A.A.YX["n"+a.L][a.A.L];var T=function(te,le){le<0&&(le=360+le),le%=360;var ce=ZC.AP.BN(a.iX,a.iY,te+a.DT+t.DT+20,le),Ce=a.C.EZ[ZC._[27]];Ce>45&&a.A.A.A3.length>10&&(a.C.EZ[ZC._[27]]=45+(Ce-45)/3),v=new CE(a.C,ce[0]-ZC.AQ.E3,ce[1]-ZC.AQ.E4,0),a.C.EZ[ZC._[27]]=Ce,ce[0]=v.EC[0],ce[1]=v.EC[1];var se=ce[0]+t.BL-E/2;return le>=0&&le<=90||le>=270&&le<=360?se+=E/2+10:se-=E/2+10,[se,ce[1]+t.BH-w/2]},R=T(a.AI,M);h=R[0],_=R[1],a.U=t;var V={x:h,y:_,width:E,height:w},$=zingchart.DEV.SPREADTYPE;m=!0;for(var y=0,U=0,O=-1,Q=0,W=0;m&&W<1024;){m=!1;for(var ae=0,ee=a.A.A.U4.length;ae10?-8:-2)||V.x+t.I>a.C.P.iX+a.C.P.I||V.xa.C.P.iY+a.C.P.F||V.y100&&(Q=0,0===$?(y=0,U+=4):1===$&&(U=0,y+=1,O*=-1)))}h=V.x,_=V.y,D=M+y,a.A.A.U4.push(f={text:a.A.AN,x:V.x,y:V.y,width:E,height:w,plotindex:a.A.L,nodeindex:a.L})}else if("in"===c){var oe=ZC.AP.BN(a.iX,a.iY,a.CN+(a.CN<30?.65:.5)*(a.AI-a.CN)+a.DT+t.DT,D);v=new CE(a.C,oe[0]-ZC.AQ.E3,oe[1]-ZC.AQ.E4,0),oe[0]=v.EC[0],oe[1]=v.EC[1],h=oe[0]+t.BL-E/2,_=oe[1]+t.BH-w/2}else"center"===c&&(h=(v=new CE(a.C,a.iX-ZC.AQ.E3,a.iY-ZC.AQ.E4,0)).EC[0]+t.BL-E/2,_=v.EC[1]+t.BH-w/2);return m&&(h=-9999,_=-9999,t.AO=!1),null!==ZC._n_(t.o.x)&&(h=t.iX),null!==ZC._n_(t.o.y)&&(_=t.iY),h>=-2&&(h=ZC._a_(h)),_>=-2&&(_=ZC._a_(_)),[ZC._i_(h),ZC._i_(_),D]}F9(t,e){var a,c=this,h=super.F9(t,e);if(t)return h;if(c.AO&&h.AO&&null!==ZC._n_(h.AN)&&""!==h.AN){var _="out";if(null!==ZC._n_(h.o[ZC._[7]])&&(_=h.o[ZC._[7]]),"out"===_){var f=!0;if(null!==ZC._n_(a=h.o.connected)&&(f=ZC._b_(a)),f){var m=new DX(c.A);m.Z=m.C7=c.A.CO("bl",0),m.append(c.A.C3.o),m.B7=c.A0,m.DS="line",m.D=[];var v=h.E.positioninfo,E=(c.B4+c.BM)/2%360,w=0;E>=0&&E<=180&&(w=c.E.thickness/2);var D=ZC.AP.BN(c.iX,c.iY,c.AI+c.DT+h.DT,E);(D=new CE(c.C,D[0]-ZC.AQ.E3,D[1]-ZC.AQ.E4,w).EC)[0]+=c.BL,D[1]+=c.BH,m.D.push(D);var M=ZC.AP.BN(c.iX,c.iY,c.AI+c.DT+h.DT+20,E);(M=new CE(c.C,M[0]-ZC.AQ.E3,M[1]-ZC.AQ.E4,w).EC)[0]+=c.BL,M[1]+=c.BH,m.D.push(h.iX>=c.iX?[M[0],M[1],v[0],v[1]+h.F/2]:[M[0],M[1],v[0]+h.I+2,v[1]+h.F/2]),m.parse(),m.IX=function(T){return c.IX(T)},m.DC()&&m.parse(),m.AO&&m.paint()}}}}paint(){var t,e,a,c,h,_,f,m,v,E=this,w=E.C.CL,D=E.C.BK(E.A.BV("k")[0]),M=E.C.EZ[ZC._[27]],T=E.C.EZ[ZC._[28]];E.setup();var R="pie-sel-"+E.A.L+"-"+E.L;if(typeof E.o.detached!==ZC._[31]&&(E.C.E[R]=ZC._b_(E.o.detached)),!(E.AD<0)){var V=ZC.BQ(.7,ZC.EI(M));E.AI=ZC.CX(D.GH/V,D.GM)/2,E.AI=null!==ZC._n_(E.A.o[ZC._[21]])?E.A.AI:D.JM*E.AI,E.CN<1&&(E.CN*=E.AI),E.CN=Math.max(0,E.CN),E.o[ZC._[8]]=E.CN,E.DT<1&&(E.DT*=E.AI),E.o["offset-r"]=E.DT;var $=E.A.JP;-1===$&&($=E.AI/5),E.E.thickness=$;var y=E.iX-ZC.AQ.E3,U=E.iY-ZC.AQ.E4;E.B4=ZC._i_(E.B4),E.BM=ZC._i_(E.BM);var O=(E.B4+E.BM)/2;E.C.E[R]&&(E.DT+=ZC._i_(.15*E.AI)),E.DT>0&&(y+=E.DT*ZC.EI(O),U+=E.DT*ZC.EO(O));var Q=E.O=E.A.I8(E,E);Q.DF=E.K+"-3dfacet";var W=new CZ(E);if(W.copy(Q),W.A0=ZC.AR.JU(ZC.AR.GE(W.A0)),W.AE=ZC.AR.JU(ZC.AR.GE(W.AE)),E.AD>=0||0===E.A.A.KW[E.L]){for(t=E.B4,(f=[]).push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]),t=E.B4;t<=E.BM;t+=1)f.push([y+E.AI*ZC.EI(t),U+E.AI*ZC.EO(t),0]);for(t=E.BM,f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]),t=E.BM;t>=E.B4;t-=1)f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]);if((e=ZC.DJ.D8(Q,E.C,f)).K=E.K+"-facet1",w.add(e),a=null,E.B4%360>=0+T&&E.B4%360<180+T||E.BM%360>0+T){v=E.BM;var ae=function(le,ce,Ce){var se,he=[];for(se=le,he.push([y+E.AI*ZC.EI(se),U+E.AI*ZC.EO(se),0]),se=le;se<=ce;se+=1)he.push([y+E.AI*ZC.EI(se),U+E.AI*ZC.EO(se),0]);for(se=ce,he.push([y+E.AI*ZC.EI(se),U+E.AI*ZC.EO(se),$]),se=ce;se>=le;se-=1)he.push([y+E.AI*ZC.EI(se),U+E.AI*ZC.EO(se),$]);(a=ZC.DJ.D8(W,E.C,he)).MO=[.01,1,1,1],a.K=E.K+"-facet2"+Ce,w.add(a)};(m=E.B4)<180&&v>360?(ae(m=m<0?m+360:m,180,1),ae(360,v,2)):(m=ZC.BQ(m,v>360?365:5),(v=ZC.CX(v,v>360?535:175))>m&&ae(m,v,1))}if(_=null,E.CN>0+T&&E.BM>180+T){for(t=E.B4,m=E.B4,E.B4<180+T&&E.BM>180+T&&(t=180+T,m=180+T),(f=[]).push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]),t=m;t<=E.BM;t+=1)f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),0]);for(t=E.BM,f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),$]),t=E.BM;t>=m;t-=1)f.push([y+E.CN*ZC.EI(t),U+E.CN*ZC.EO(t),$]);(_=ZC.DJ.D8(W,E.C,f)).K=E.K+"-facet3",w.add(_)}var ee=function(le,ce,Ce){return[[y+le*ZC.EI(Ce),U+le*ZC.EO(Ce),0],[y+le*ZC.EI(Ce),U+le*ZC.EO(Ce),$],[y+ce*ZC.EI(Ce),U+ce*ZC.EO(Ce),$],[y+ce*ZC.EI(Ce),U+ce*ZC.EO(Ce),0]]};(c=ZC.DJ.D8(W,E.C,{points:ee(E.CN,E.AI,E.B4),mathpoints:ee(E.CN+1,E.AI+1,E.B4-1)})).K=E.K+"-facet4",w.add(c),(h=ZC.DJ.D8(W,E.C,{points:ee(E.CN,E.AI,E.BM),mathpoints:ee(E.CN+1,E.AI+1,E.BM+1)})).K=E.K+"-facet5",w.add(h);var ne=E.C.K+ZC._[34]+E.C.K+ZC._[35]+E.A.L+ZC._[6],oe=ZC.Q.FT("poly",E.A.E8)+'class="'+ne+'" id="'+E.K,te=E.A.A.HJ;te.push(oe+'--top" '+E.a11y()+' data-z-sort="1" coords="'+e.F1()+'" />'),a&&te.push(oe+'--outer" data-z-sort="1" coords="'+a.F1()+'" />'),(E.CN>0||E.DT>0)&&(_&&te.push(oe+'--inner" data-z-sort="2" coords="'+_.F1()+'" />'),te.push(oe+'--start" data-z-sort="2" coords="'+c.F1()+'" />',oe+'--end" data-z-sort="2" coords="'+h.F1()+'" />'))}E.A.U&&E.F9()}}P3(t,e){var a=this;if(super.P3(t,e),"click"===e&&t.which<=1&&a.A.A8G){var c="pie-sel-"+a.A.L+"-"+a.L;a.C.E[c]=typeof a.C.E[c]===ZC._[31]||!a.C.E[c],a.C.K0()}}}class A7H extends A00{setup(){this.S4()}OS(){var t=this;t.paint(!0);var e=t.C.BK(t.A.BV("v")[0]),h=new CE(t.C,t.iX+t.I/2-ZC.AQ.E3,t.iY+(e.AW?t.F:0)-ZC.AQ.E4,t.A.E["z-start"]);return[ZC._i_(h.EC[0]),ZC._i_(h.EC[1]),{reference:t,center:!0}]}HL(t){var e=super.HL(t);if("-1/-1"!==e.join("/")){var a=new CE(this.C,e[0]+t.I/2-ZC.AQ.E3,e[1]+t.F/2-ZC.AQ.E4,this.A.E["z-mid"]);return[ZC._i_(a.EC[0])-t.I/2,ZC._i_(a.EC[1])-t.F/2]}return e}paint(t){var e,a=this;super.paint(),typeof t===ZC._[31]&&(t=!1);var c=a.C.CL,h=a.A.B0,_=a.A.CM;a.setup();var f,m,v,E,w,D,M,T,R,V,$,y,U,O,Q,W,ae=a.A.RB(),ee=ae.AB,ne=ae.EU,oe=ae.CF,te=ae.CS,le=ae.F4,ce=ae.D3,Ce=ae.F0;if(t?ne=a.A.E["node-"+a.L+"-bar-index"]:a.A.E["node-"+a.L+"-bar-index"]=ae.EU,a.A.CD){v=0;var se=a.A.A.KM[ne];for(f=0;f0&&(a.CP!==a.AD&&(fe=(v-a.CP+a.AD)/v),ie=(v-a.CP)/v),_.AW){var De=fe;fe=ie,ie=De}a.A.M4&&(ne=a.L);var ge=a.iX-ee/2+oe+ne*(ce+le)-ne*Ce;if(ge=ZC._l_(ge,a.iX-ee/2+oe,a.iX+ee/2-te),a.A.D3>0){var me=ce;(ce=a.A.D3)<=1&&(ce*=me),ge+=(me-ce)/2}var Ze=ce,pe=a.iY,ve=null!==ZC._n_(a.A.M9[a.L])?a.A.M9[a.L]:0;if(pe=_.AK(a.A.CD&&"100%"===a.A.KZ?100*(a.CP+ve)/a.A.A.FA[a.L]["%total-"+a.A.DZ]:a.CP+ve),a.A.CD?(w=pe-(E=_.AK("100%"===a.A.KZ?100*(a.CP-a.AD+ve)/a.A.A.FA[a.L]["%total-"+a.A.DZ]:a.CP-a.AD+ve)),a.AD<0&&(pe=E),_.AW?w>0&&(w=ZC._a_(w),pe=E):w<0&&(pe=E-(w=ZC._a_(w)))):pe=(w=pe-(E=_.AK(ve)))<0?E-(w=ZC._a_(w)):E,oe+te===0&&(ge-=.5,Ze+=1),a.I=Ze,a.F=w,a.iX=ge,a.iY=pe,a.iYVal=_.AW?a.AD>=_.HC?pe+a.F:pe:a.AD>=_.HC?pe:pe+a.F,a.C.CW){var ke="middle";a.C.CW.o.marker&&null!==ZC._n_(e=a.C.CW.o.marker.alignment)&&(ke=e),null!==ZC._n_(a.A.o["guide-marker"])&&null!==ZC._n_(e=a.A.o["guide-marker"].alignment)&&(ke=e),"node"===ke&&(a.E.A6B=a.iX+a.I/2)}if(!t){var de,Oe,Fe,be=ge-ZC.AQ.E3,Se=pe-ZC.AQ.E4,xe=0,we=ZC.AQ.FY,Re=0,Ie=we;if(a.A.A4B){if(Oe=xe,"mixed3d"===a.C.AF||"mixed"===a.C.AF){for(de=1,f=0,m=a.A.A.A3.length;ff&&Re--);Ie/=de,Re=de-Re-1}Oe=Re*Ie+.2*Ie,Fe=(Re+1)*Ie-.2*Ie}if(null!==ZC._n_(a.A.o["z-start"])&&(Oe=ZC._i_(a.A.o["z-start"])),null!==ZC._n_(a.A.o["z-end"])&&(Fe=ZC._i_(a.A.o["z-end"])),null!==ZC._n_(a.A.o.depth)){var Ne=ZC._i_(a.A.o.depth);Oe=Re*Ie+Ie/2-Ne,Fe=Re*Ie+Ie/2+Ne}xe=Oe,we=Fe-Oe,a.A.E["z-plots"]=de,a.A.E["z-cnt"]=Re,a.A.E["z-depth"]=Ie,a.A.E["z-start"]=Oe,a.A.E["z-mid"]=(Oe+Fe)/2;var We=a.O=a.A.I8(a,a.O);if(We.DF=a.K+"-3dfacet",a.A.I4&&(a.GN(We),We.parse()),We.AO){var Te=new CZ(a);Te.copy(We),Te.A0=ZC.AR.JU(ZC.AR.GE(Te.A0)),Te.AE=ZC.AR.JU(ZC.AR.GE(Te.AE)),Te.BX=ZC.AR.JU(ZC.AR.GE(Te.BX));var ze=new CZ(a);ze.copy(We),ze.A0=ZC.AR.JU(ZC.AR.GE(ze.A0),15),ze.AE=ZC.AR.JU(ZC.AR.GE(ze.AE),15),ze.BX=ZC.AR.JU(ZC.AR.GE(ze.BX),15);var Ve=new CZ(a);Ve.copy(We);var lt=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],Ee=ZC.Q.FT("poly",a.A.E8,a.O.IT)+'class="'+lt+'" id="'+a.K,nt=a.C.EZ.true3d,Ge=a.I/2,Pe=we/2,Qe=fe*Ge,Ae=ie*Ge,He=ie*Pe,Me=fe*Pe;_.AW&&!a.A.CD?(D=a.AD>=0?0:a.F,M=a.AD>=0?a.F:0):(D=a.AD>=0?a.F:0,M=a.AD>=0?0:a.F);var at=a.A.A.HJ,$e=ZC.CX(Pe,Ge),ot=a.C.EZ[ZC._[28]],et=a.C.EZ.angle,rt=ZC.EI(et)*Pe,Bt=ZC.EO(et)*Pe;nt||($e=ZC.CX(2*rt,Ge));var It=function(Xn){var Dn=0,Pt=a.A.L,Ot=a.L,On=a.A.A.A3.length,An=a.A.R.length;switch((a.A.CD?"s":"")+(h.AW?"k":"")+(_.AW?"v":"")){case"":case"v":case"s":Dn=10*Pt+1e4*Ot+Xn;break;case"sv":Dn=10*(On-Pt)+1e4*Ot+Xn;break;case"k":case"kv":case"sk":Dn=10*Pt+1e4*(An-Ot)+Xn;break;case"skv":Dn=10*(On-Pt)+1e4*(An-Ot)+Xn}return Dn},Ht=ZC.MAX,Mt=-ZC.MAX,hn=ZC.MAX,tt=-ZC.MAX,ut=ZC.MAX,nn=-ZC.MAX,Mn=ZC.MAX,cn=-ZC.MAX;if("cylinder"===a.A.CV)for(W=0;W<=360;W+=4)(R=new CE(a.C,be+ZC.EO(W)*$e+Ge,Se,xe+ZC.EI(W)*$e+Pe)).EC[0]tt&&(tt=R.EC[0],Mt=W),(R=new CE(a.C,be+ZC.EO(W)*$e+Ge,Se+a.F,xe+ZC.EI(W)*$e+Pe)).EC[0]cn&&(cn=R.EC[0],nn=W);var yt=a.A.o.facets||{};switch(a.A.CV){default:yt.bottom?((T=new CZ(a)).copy(Te),T.append(yt.bottom),T.parse(),U=ZC.DJ.DB(T,a.C,be+.1,be+a.I-.1,Se+a.F-.1,Se+a.F-.1,xe+.1,xe+we-.1,"x")):U=ZC.DJ.DB(Te,a.C,be+.1,be+a.I-.1,Se+a.F-.1,Se+a.F-.1,xe+.1,xe+we-.1,"x"),U.K=a.K+"-facet1",U.G1=It(1),c.add(U),yt.top?((T=new CZ(a)).copy(Te),T.append(yt.top),T.parse(),y=ZC.DJ.DB(T,a.C,be+.1,be+a.I-.1,Se+.1,Se+.1,xe+.1,xe+we-.1,"x")):y=ZC.DJ.DB(Te,a.C,be+.1,be+a.I-.1,Se+.1,Se+.1,xe+.1,xe+we-.1,"x"),y.K=a.K+"-facet2",y.G1=It(3),c.add(y),yt.left?((T=new CZ(a)).copy(ze),T.append(yt.left),T.parse(),O=ZC.DJ.DB(T,a.C,be+.1,be+.1,Se+.1,Se+a.F-.1,xe+.1,xe+we-.1,"z")):O=ZC.DJ.DB(ze,a.C,be+.1,be+.1,Se+.1,Se+a.F-.1,xe+.1,xe+we-.1,"z"),O.K=a.K+"-facet3",O.G1=It(2),c.add(O),yt.right?((T=new CZ(a)).copy(ze),T.append(yt.right),T.parse(),Q=ZC.DJ.DB(T,a.C,be+a.I-.1,be+a.I-.1,Se+.1,Se+a.F-.1,xe+.1,xe+we-.1,"z")):Q=ZC.DJ.DB(ze,a.C,be+a.I-.1,be+a.I-.1,Se+.1,Se+a.F-.1,xe+.1,xe+we-.1,"z"),Q.K=a.K+"-facet4",Q.G1=It(4),c.add(Q),yt.front?((T=new CZ(a)).copy(Ve),T.append(yt.front),T.parse(),$=ZC.DJ.DB(T,a.C,be+.1,be+a.I-.1,Se+.1,Se+a.F-.1,xe+.1,xe+.1,"y")):$=ZC.DJ.DB(Ve,a.C,be+.1,be+a.I-.1,Se+.1,Se+a.F-.1,xe+.1,xe+.1,"y"),$.K=a.K+"-facet5",$.G1=It(5),c.add($),a.A.FV&&(1===ie&&at.push(Ee+"--top"+ZC._[30]+y.F1()+'" />'),at.push(Ee+"--left"+ZC._[30]+O.F1()+'" />',Ee+"--right"+ZC._[30]+Q.F1()+'" />',Ee+"--front"+ZC._[30]+$.F1()+'" '+a.a11y()+' data-z-sort="-100" />'));break;case"pyramid":yt.bottom?((T=new CZ(a)).copy(Te),T.append(yt.bottom),T.parse(),U=ZC.DJ.DB(T,a.C,be+Ge-Qe,be+Ge+Qe,Se+D,Se+D,xe+Pe-Me,xe+Pe+Me,"x")):U=ZC.DJ.DB(Te,a.C,be+Ge-Qe,be+Ge+Qe,Se+D,Se+D,xe+Pe-Me,xe+Pe+Me,"x"),U.K=a.K+"-facet1",U.G1=It(_.AW&&!a.A.CD?6:1),c.add(U),V=[[be+Ge-Qe,Se+D,xe+Pe-Me],[be+Ge+Qe,Se+D,xe+Pe-Me]],a.A.CD&&0!==ie?V.push([be+Ge+Ae,Se+M,xe+Pe-He],[be+Ge-Ae,Se+M,xe+Pe-He]):V.push([be+Ge,Se+M,xe+Pe]),yt.front?((T=new CZ(a)).copy(We),T.append(yt.front),T.parse(),$=ZC.DJ.D8(T,a.C,V)):$=ZC.DJ.D8(We,a.C,V),$.K=a.K+"-facet2",$.G1=It(3),c.add($),V=[[be+Ge-Qe,Se+D,xe+Pe-Me],[be+Ge-Qe,Se+D,xe+Pe+Me]],a.A.CD&&0!==ie?V.push([be+Ge-Ae,Se+M,xe+Pe+He],[be+Ge-Ae,Se+M,xe+Pe-He]):V.push([be+Ge,Se+M,xe+Pe]),yt.left?((T=new CZ(a)).copy(ze),T.append(yt.left),T.parse(),O=ZC.DJ.D8(T,a.C,V)):O=ZC.DJ.D8(ze,a.C,V),O.K=a.K+"-facet3",O.G1=It(2),c.add(O),V=[[be+Ge+Qe,Se+D,xe+Pe-Me],[be+Ge+Qe,Se+D,xe+Pe+Me]],a.A.CD&&0!==ie?V.push([be+Ge+Ae,Se+M,xe+Pe+He],[be+Ge+Ae,Se+M,xe+Pe-He]):V.push([be+Ge,Se+M,xe+Pe]),yt.right?((T=new CZ(a)).copy(ze),T.append(yt.right),T.parse(),Q=ZC.DJ.D8(T,a.C,V)):Q=ZC.DJ.D8(ze,a.C,V),Q.K=a.K+"-facet4",Q.G1=It(4),c.add(Q),a.A.CD&&0!==ie&&(V=[[be+Ge-Ae,Se+M,xe+Pe-He],[be+Ge-Ae,Se+M,xe+Pe+He],[be+Ge+Ae,Se+M,xe+Pe+He],[be+Ge+Ae,Se+M,xe+Pe-He]],yt.top?((T=new CZ(a)).copy(Te),T.append(yt.top),T.parse(),y=ZC.DJ.D8(T,a.C,V)):y=ZC.DJ.D8(Te,a.C,V),y.K=a.K+"-facet5",y.G1=It(5),c.add(y)),a.A.FV&&at.push(Ee+"--left"+ZC._[30]+O.F1()+'" />',Ee+"--right"+ZC._[30]+Q.F1()+'" />',Ee+"--front"+ZC._[30]+$.F1()+'" '+a.a11y()+' data-z-sort="-100" />');break;case"cylinder":if(V=[],nt)for(W=0;W<=360;W+=5)V.push([be+ZC.EO(W)*$e+Ge,Se+a.F,xe+ZC.EI(W)*$e+Pe]);else for(W=0;W<=360;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e+Ge+rt,pe+a.F+ZC.EO(W)*($e/2)-Bt],V.push(R);if(yt.bottom?((T=new CZ(a)).copy(Te),T.append(yt.bottom),T.parse(),U=ZC.DJ.D8(T,a.C,V,!nt)):U=ZC.DJ.D8(Te,a.C,V,!nt),U.K=a.K+"-facet1",U.G1=It(1),c.add(U),V=[],nt)for(W=0;W<=360;W+=5)V.push([be+ZC.EO(W)*$e+Ge,Se,xe+ZC.EI(W)*$e+Pe]);else for(W=0;W<=360;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e+Ge+rt,pe+ZC.EO(W)*($e/2)-Bt],V.push(R);if(yt.top?((T=new CZ(a)).copy(Te),T.append(yt.top),T.parse(),y=ZC.DJ.D8(T,a.C,V,!nt)):y=ZC.DJ.D8(Te,a.C,V,!nt),y.K=a.K+"-facet2",y.G1=It(3),c.add(y),V=[],nt){for(W=ZC.CX(Ht,Mt);W<=ZC.BQ(Ht,Mt);W+=1)V.push([be+ZC.EO(W)*$e+Ge,Se,xe+ZC.EI(W)*$e+Pe]);for(V.push([be+ZC.EO(W)*$e+Ge,Se+a.F,xe+ZC.EI(W)*$e+Pe]),W=ZC.BQ(ut,nn);W>=ZC.CX(ut,nn);W-=1)V.push([be+ZC.EO(W)*$e+Ge,Se+a.F,xe+ZC.EI(W)*$e+Pe])}else{for(W=0;W<=180;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e+Ge+rt,pe+a.F+ZC.EO(W)*($e/2)-Bt],V.push(R);for(W=180;W>=0;W-=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e+Ge+rt,pe+ZC.EO(W)*($e/2)-Bt],V.push(R)}yt.front?((T=new CZ(a)).copy(We),T.append(yt.front),T.parse(),$=ZC.DJ.D8(T,a.C,V,!nt)):$=ZC.DJ.D8(We,a.C,V,!nt),$.K=a.K+"-facet3",$.G1=It(2),c.add($),a.A.FV&&at.push(Ee+"--front"+ZC._[30]+$.F1()+'" '+a.a11y()+' data-z-sort="-100" />',Ee+"--top"+ZC._[30]+y.F1()+'" />');break;case"cone":if(V=[],nt)for(W=0;W<=360;W+=5)V.push([be+ZC.EO(W)*$e*fe+Ge,Se+D,xe+ZC.EI(W)*$e*fe+Pe]);else for(W=0;W<=360;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e*fe+Ge+rt,pe+D+ZC.EO(W)*($e/2)*fe-Bt],V.push(R);if(yt.bottom?((T=new CZ(a)).copy(Te),T.append(yt.bottom),T.parse(),U=ZC.DJ.D8(T,a.C,V,!nt)):U=ZC.DJ.D8(Te,a.C,V,!nt),U.K=a.K+"-facet1",U.G1=It(1),c.add(U),V=[],nt){for(W=90+ot;W<=270+ot;W+=5)V.push([be+ZC.EO(W)*$e*fe+Ge,Se+D,xe+ZC.EI(W)*$e*fe+Pe]);if(a.A.CD&&0!==ie)for(W=270+ot;W>=90+ot;W-=5)V.push([be+ZC.EO(W)*$e*ie+Ge,Se+M,xe+ZC.EI(W)*$e*ie+Pe]);else V.push([be+Ge,Se+M,xe+Pe])}else{for(W=0;W<=180;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e*fe+Ge+rt,pe+D+ZC.EO(W)*($e/2)*fe-Bt],V.push(R);if(a.A.CD&&0!==ie)for(W=180;W>=0;W-=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e*ie+Ge+rt,pe+M+ZC.EO(W)*($e/2)*ie-Bt],V.push(R);else(R=new CE(a.C,0,0,0)).EC=[ge+Ge+rt,pe+M-Bt],V.push(R)}if(yt.front?((T=new CZ(a)).copy(We),T.append(yt.front),T.parse(),$=ZC.DJ.D8(T,a.C,V,!nt)):$=ZC.DJ.D8(We,a.C,V,!nt),$.K=a.K+"-facet2",$.G1=It(2),c.add($),a.A.CD&&0!==ie){if(V=[],nt)for(W=0;W<=360;W+=5)V.push([be+ZC.EO(W)*$e*ie+Ge,Se+M,xe+ZC.EI(W)*$e*ie+Pe]);else for(W=0;W<=360;W+=5)(R=new CE(a.C,0,0,0)).EC=[ge+ZC.EI(W)*$e*ie+Ge+rt,pe+M+ZC.EO(W)*($e/2)*ie-Bt],V.push(R);yt.top?((T=new CZ(a)).copy(Te),T.append(yt.top),T.parse(),y=ZC.DJ.D8(T,a.C,V,!nt)):y=ZC.DJ.D8(Te,a.C,V,!nt),y.K=a.K+"-facet3",c.add(y),y.G1=It(3)}a.A.FV&&at.push(Ee+"--front"+ZC._[30]+$.F1()+'" data-z-sort="-100" />')}a.A.U&&a.A.U.AO&&a.F9()}a.paintPreview(We)}}HZ(){}}class A7I extends A01{setup(){this.S4()}OS(){var t=this;t.paint(!0);var e=t.C.BK(t.A.BV("v")[0]),h=new CE(t.C,t.iX+(e.AW?0:t.I)-ZC.AQ.E3,t.iY+t.F/2-ZC.AQ.E4,t.A.E["z-start"]);return[ZC._i_(h.EC[0]),ZC._i_(h.EC[1]),{reference:t,center:!0}]}HL(t){var e=super.HL(t);if("-1/-1"!==e.join("/")){var a=new CE(this.C,e[0]-ZC.AQ.E3,e[1]-ZC.AQ.E4,this.A.E["z-start"]);return[ZC._i_(a.EC[0]),ZC._i_(a.EC[1])]}return e}paint(t){var e=this;super.paint(),typeof t===ZC._[31]&&(t=!1);var a=e.C.CL,c=e.A.B0,h=e.A.CM;e.setup();var _,f,m,v,E,w,D,M,T,R,V,$,y,U,O=e.A.RB(),Q=O.AB,W=O.EU,ae=O.CF,ee=O.CS,ne=O.F4,oe=O.D3,te=O.F0;if(t?W=e.A.E["node-"+e.L+"-bar-index"]:e.A.E["node-"+e.L+"-bar-index"]=O.EU,e.A.CD){_=0;for(var le=e.A.A.KM[W],ce=0;ce0){var De=oe;(oe=e.A.D3)<=1&&(oe*=De),ie+=(De-oe)/2}var ge=oe,me=e.iX,Ze=null!==ZC._n_(e.A.M9[e.L])?e.A.M9[e.L]:0;if(me=h.AK(e.A.CD&&"100%"===e.A.KZ?100*(e.CP+Ze)/e.A.A.FA[e.L]["%total-"+e.A.DZ]:e.CP+Ze),e.A.CD?(m=me-(f=h.AK("100%"===e.A.KZ?100*(e.CP-e.AD+Ze)/e.A.A.FA[e.L]["%total-"+e.A.DZ]:e.CP-e.AD+Ze)),e.AD>0?me=f:m=ZC._a_(m),h.AW?m>0?(m=ZC._a_(m),me=f):me-=m=ZC._a_(m):m<0&&(me=f-(m=ZC._a_(m)))):me=(m=me-(f=h.AK(Ze)))<0?f-(m=ZC._a_(m)):f,ae+ee===0&&(ie-=.5,ge+=1),e.I=m,e.F=ge,e.iX=me,e.iY=ie,e.iXVal=h.AW?e.AD>=h.HC?me:me+e.I:e.AD>=h.HC?me+e.I:me,!t){var pe=me+m-ZC.AQ.E3,ve=ie-ZC.AQ.E4,ke=0,de=ZC.AQ.FY;null!==ZC._n_(e.A.o["z-start"])&&(ke=ZC._i_(e.A.o["z-start"])),null!==ZC._n_(e.A.o["z-end"])&&(de=ZC._i_(e.A.o["z-end"])-ke),e.A.E["z-start"]=ke,e.A.E["z-mid"]=ke+de/2;var Oe=e.O=e.A.I8(e,e.O);if(Oe.DF=e.K+"-3dfacet",e.A.I4&&(e.GN(Oe),Oe.parse()),Oe.AO){var Fe=new CZ(e);Fe.copy(Oe),Fe.A0=ZC.AR.JU(ZC.AR.GE(Fe.A0)),Fe.AE=ZC.AR.JU(ZC.AR.GE(Fe.AE)),Fe.BX=ZC.AR.JU(ZC.AR.GE(Fe.BX));var be=new CZ(e);be.copy(Oe),be.A0=ZC.AR.JU(ZC.AR.GE(be.A0),15),be.AE=ZC.AR.JU(ZC.AR.GE(be.AE),15),be.BX=ZC.AR.JU(ZC.AR.GE(be.BX),15);var Se=new CZ(e);Se.copy(Oe);var xe=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],we=ZC.Q.FT("poly",e.A.E8,e.O.IT)+'class="'+xe+'" id="'+e.K,Re=e.C.EZ.true3d,Ie=e.F/2,Ne=de/2,We=se*Ie,Te=he*Ie,ze=he*Ne,Ve=se*Ne;h.AW&&!e.A.CD?(E=e.AD>=0?0:e.I,v=e.AD>=0?e.I:0):(E=e.AD>=0?e.I:0,v=e.AD>=0?0:e.I);var lt=e.A.A.HJ,Ee=ZC.CX(Ne,Ie),nt=e.C.EZ[ZC._[27]],Ge=e.C.EZ.angle,Pe=ZC.EI(Ge)*Ne,Qe=ZC.EO(Ge)*Ne;Re||(Ee=ZC.CX(2*Qe,Ie));var Ae=function(Me){var at=-1,$e=e.A.L,ot=e.L,et=e.A.A.A3.length,rt=e.A.R.length;switch((e.A.CD?"s":"")+(c.AW?"k":"")+(h.AW?"v":"")){case"":case"v":case"sv":at=10*(et-$e)+1e4*ot+Me;break;case"k":case"skv":case"kv":at=10*(et-$e)+1e4*(rt-ot)+Me;break;case"s":at=10*$e+1e4*ot+Me;break;case"sk":at=10*$e+1e4*(rt-ot)+Me}return ZC._i_(at)},He=e.A.o.facets||{};switch(e.A.CV){default:He.left?((w=new CZ(e)).copy(be),w.append(He.left),w.parse(),D=ZC.DJ.DB(w,e.C,pe-e.I+.1,pe-.1,ve+.1,ve+.1,ke+.1,ke+de-.1,"x")):D=ZC.DJ.DB(be,e.C,pe-e.I+.1,pe-.1,ve+.1,ve+.1,ke+.1,ke+de-.1,"x"),D.K=e.K+"-facet1",D.G1=Ae(5),a.add(D),He.right?((w=new CZ(e)).copy(be),w.append(He.right),w.parse(),V=ZC.DJ.DB(w,e.C,pe-e.I+.1,pe-.1,ve+e.F-.1,ve+e.F-.1,ke+.1,ke+de-.1,"x")):V=ZC.DJ.DB(be,e.C,pe-e.I+.1,pe-.1,ve+e.F-.1,ve+e.F-.1,ke+.1,ke+de-.1,"x"),V.K=e.K+"-facet2",V.G1=Ae(1),a.add(V),He.bottom?((w=new CZ(e)).copy(Fe),w.append(He.bottom),w.parse(),M=ZC.DJ.DB(w,e.C,pe-e.I+.1,pe-e.I+.1,ve+e.F-.1,ve+.1,ke+.1,ke+de-.1,"z")):M=ZC.DJ.DB(Fe,e.C,pe-e.I+.1,pe-e.I+.1,ve+e.F-.1,ve+.1,ke+.1,ke+de-.1,"z"),M.K=e.K+"-facet3",M.G1=Ae(2),a.add(M),He.top?((w=new CZ(e)).copy(Fe),w.append(He.top),w.parse(),T=ZC.DJ.DB(w,e.C,pe-.1,pe-.1,ve+e.F-.1,ve+.1,ke+.1,ke+de-.1,"z")):T=ZC.DJ.DB(Fe,e.C,pe-.1,pe-.1,ve+e.F-.1,ve+.1,ke+.1,ke+de-.1,"z"),T.K=e.K+"-facet4",T.G1=Ae(3),a.add(T),He.front?((w=new CZ(e)).copy(Se),w.append(He.front),w.parse(),R=ZC.DJ.DB(w,e.C,pe-e.I+.1,pe-.1,ve+e.F-.1,ve+.1,ke+.1,ke+.1,"y")):R=ZC.DJ.DB(Se,e.C,pe-e.I+.1,pe-.1,ve+e.F-.1,ve+.1,ke+.1,ke+.1,"y"),R.K=e.K+"-facet5",R.G1=Ae(4),a.add(R),e.A.FV&&(e.A.CD||lt.push(we+"--top"+ZC._[30]+T.F1()+'" />'),lt.push(we+"--left"+ZC._[30]+D.F1()+'" />',we+"--right"+ZC._[30]+V.F1()+'" />',we+"--front"+ZC._[30]+R.F1()+'" '+e.a11y()+' data-z-sort="-100" />'));break;case"pyramid":He.bottom?((w=new CZ(e)).copy(Fe),w.append(He.bottom),w.parse(),M=ZC.DJ.DB(w,e.C,pe-E,pe-E,ve+Ie-We,ve+Ie+We,Ne-Ve,Ne+Ve,"z")):M=ZC.DJ.DB(Fe,e.C,pe-E,pe-E,ve+Ie-We,ve+Ie+We,Ne-Ve,Ne+Ve,"z"),M.K=e.K+"-facet1",M.G1=Ae(h.AW&&!e.A.CD?6:1),a.add(M),U=[[pe-E,ve+Ie-We,Ne-Ve],[pe-E,ve+Ie+We,Ne-Ve]],e.A.CD&&0!==he?U.push([pe-v,ve+Ie+Te,Ne-ze],[pe-v,ve+Ie-Te,Ne-ze]):U.push([pe-v,ve+Ie,de/2]),He.front?((w=new CZ(e)).copy(Oe),w.append(He.front),w.parse(),R=ZC.DJ.D8(w,e.C,U)):R=ZC.DJ.D8(Oe,e.C,U),R.K=e.K+"-facet2",R.G1=Ae(3),a.add(R),U=[[pe-E,ve+Ie-We,Ne-Ve],[pe-E,ve+Ie-We,Ne+Ve]],e.A.CD&&0!==he?U.push([pe-v,ve+Ie-Te,Ne+ze],[pe-v,ve+Ie-Te,Ne-ze]):U.push([pe-v,ve+e.F/2,de/2]),He.left?((w=new CZ(e)).copy(be),w.append(He.left),w.parse(),D=ZC.DJ.D8(w,e.C,U)):D=ZC.DJ.D8(be,e.C,U),D.K=e.K+"-facet3",D.G1=Ae(4),a.add(D),U=[[pe-E,ve+Ie+We,Ne-Ve],[pe-E,ve+Ie+We,Ne+Ve]],e.A.CD&&0!==he?U.push([pe-v,ve+Ie+Te,Ne+ze],[pe-v,ve+Ie+Te,Ne-ze]):U.push([pe-v,ve+Ie,de/2]),He.right?((w=new CZ(e)).copy(be),w.append(He.right),w.parse(),V=ZC.DJ.D8(w,e.C,U)):V=ZC.DJ.D8(be,e.C,U),V.K=e.K+"-facet4",V.G1=Ae(2),a.add(V),e.A.CD&&0!==he&&(He.top?((w=new CZ(e)).copy(Fe),w.append(He.top),w.parse(),T=ZC.DJ.DB(w,e.C,pe-v,pe-v,ve+Ie-Te,ve+Ie+Te,Ne-ze,Ne+ze,"z")):T=ZC.DJ.DB(Fe,e.C,pe-v,pe-v,ve+Ie-Te,ve+Ie+Te,Ne-ze,Ne+ze,"z"),T.K=e.K+"-facet5",T.G1=Ae(5),a.add(T)),e.A.FV&<.push(we+"--left"+ZC._[30]+D.F1()+'" />',we+"--right"+ZC._[30]+V.F1()+'" />',we+"--front"+ZC._[30]+R.F1()+'" '+e.a11y()+' data-z-sort="-100" />');break;case"cylinder":if(U=[],Re)for($=0;$<=360;$+=5)U.push([pe-e.I,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne]);else for($=0;$<=360;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+ZC.EI($)*(Ee/2)+Pe,ie+Ie+ZC.EO($)*Ee-Qe],U.push(y);if(He.bottom?((w=new CZ(e)).copy(Fe),w.append(He.bottom),w.parse(),M=ZC.DJ.D8(w,e.C,U,!Re)):M=ZC.DJ.D8(Fe,e.C,U,!Re),M.K=e.K+"-facet1",M.G1=Ae(1),a.add(M),U=[],Re){for($=90-nt;$<=270-nt;$+=5)U.push([pe-e.I,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne]);for(U.push([pe,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne]),$=270-nt;$>=90-nt;$-=5)U.push([pe,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne])}else{for($=90;$<=270;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+ZC.EI($)*(Ee/2)+Pe,ie+Ie+ZC.EO($)*Ee-Qe],U.push(y);for($=270;$>=90;$-=5)(y=new CE(e.C,0,0,0)).EC=[me+ZC.EI($)*(Ee/2)+e.I+Pe,ie+Ie+ZC.EO($)*Ee-Qe],U.push(y)}if(He.front?((w=new CZ(e)).copy(Oe),w.append(He.front),w.parse(),R=ZC.DJ.D8(w,e.C,U,!Re)):R=ZC.DJ.D8(Oe,e.C,U,!Re),R.K=e.K+"-facet2",R.G1=Ae(2),a.add(R),U=[],Re)for($=0;$<=360;$+=5)U.push([pe,ve+ZC.EO($)*Ee+Ie,ke+ZC.EI($)*Ee+Ne]);else for($=0;$<=360;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+ZC.EI($)*(Ee/2)+e.I+Pe,ie+Ie+ZC.EO($)*Ee-Qe],U.push(y);He.top?((w=new CZ(e)).copy(Fe),w.append(He.top),w.parse(),T=ZC.DJ.D8(w,e.C,U,!Re)):T=ZC.DJ.D8(Fe,e.C,U,!Re),T.K=e.K+"-facet3",T.G1=Ae(3),a.add(T),e.A.FV&<.push(we+"--front"+ZC._[30]+R.F1()+'" '+e.a11y()+' data-z-sort="-100" />',we+"--top"+ZC._[30]+T.F1()+'" />');break;case"cone":if(U=[],Re)for($=0;$<=360;$+=5)U.push([pe-E,ve+ZC.EO($)*Ee*se+Ie,ZC.EI($)*Ee*se+Ne]);else for($=0;$<=360;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+v+ZC.EI($)*(Ee/2)*se+Pe,ie+Ie+ZC.EO($)*Ee*se-Qe],U.push(y);if(He.bottom?((w=new CZ(e)).copy(Fe),w.append(He.bottom),w.parse(),M=ZC.DJ.D8(w,e.C,U,!Re)):M=ZC.DJ.D8(Fe,e.C,U,!Re),M.K=e.K+"-facet1",M.G1=Ae(1),a.add(M),U=[],Re){for($=90-nt;$<=270-nt;$+=5)U.push([pe-E,ve+ZC.EO($)*Ee*se+Ie,ZC.EI($)*Ee*se+Ne]);if(e.A.CD&&0!==he)for($=270-nt;$>=90-nt;$-=5)U.push([pe-v,ve+ZC.EO($)*Ee*he+Ie,ZC.EI($)*Ee*he+Ne]);else U.push([pe-v,ve+Ie,Ee])}else{for($=90;$<=270;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+v+ZC.EI($)*(Ee/2)*se+Pe,ie+Ie+ZC.EO($)*Ee*se-Qe],U.push(y);if(e.A.CD&&0!==he)for($=270;$>=90;$-=5)(y=new CE(e.C,0,0,0)).EC=[me+E+ZC.EI($)*(Ee/2)*he+Pe,ie+Ie+ZC.EO($)*Ee*he-Qe],U.push(y);else(y=new CE(e.C,0,0,0)).EC=[me+E+Pe,ie+Ie-Qe],U.push(y)}if(He.front?((w=new CZ(e)).copy(Oe),w.append(He.front),w.parse(),R=ZC.DJ.D8(w,e.C,U,!Re)):R=ZC.DJ.D8(Oe,e.C,U,!Re),R.K=e.K+"-facet2",R.G1=Ae(2),a.add(R),e.A.CD&&0!==he){if(U=[],Re)for($=0;$<=360;$+=5)U.push([pe-v,ve+ZC.EO($)*Ee*he+Ie,ZC.EI($)*Ee*he+Ne]);else for($=0;$<=360;$+=5)(y=new CE(e.C,0,0,0)).EC=[me+E+ZC.EI($)*(Ee/2)*he+Pe,ie+Ie+ZC.EO($)*Ee*he-Qe],U.push(y);He.top?((w=new CZ(e)).copy(Fe),w.append(He.top),w.parse(),T=ZC.DJ.D8(w,e.C,U,!Re)):T=ZC.DJ.D8(Fe,e.C,U,!Re),T.K=e.K+"-facet3",T.G1=Ae(3),a.add(T)}e.A.FV&<.push(we+"--front"+ZC._[30]+R.F1()+'" data-z-sort="-100" />')}}e.A.U&&e.A.U.AO&&e.F9()}}HZ(){}}class A7J extends A3J{setup(){this.S4()}JD(){return{color:this.O.B7}}KH(){return{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}HL(t){var e=super.HL(t);return new CE(this.C,e[0]-ZC.AQ.E3,e[1]-ZC.AQ.E4,this.A.E["z-start"]).EC}paint(){var t,e,a=this;super.paint();var c,h=a.E.points;(c="none"!==a.A.J8?a.O=a.A.I8(a,a.O):a.O).DF=a.K+"-3dfacet",a.A.I4&&a.GN(c);var _=0,f=-1,m=ZC.AQ.FY;if("hide"===a.C.getToggleAction())a.A.CD?f=0:(f=a.A.L,m/=_=a.A.A.A3.length);else if(a.A.CD)f=0;else{for(t=0;tt&&f--);m/=_,f=_-f-1}c.A0=c.AE=c.B7,"spline"===a.A.CV&&(c.BX=c.B7);var v=a.A.A.HJ,E=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],w=ZC.Q.FT("poly",a.A.E8,a.O.IT)+'class="'+E+'" id="'+a.K,D=f*m,M=(f+1)*m;if(null!==ZC._n_(a.A.o["z-start"])&&(D=ZC._i_(a.A.o["z-start"])),null!==ZC._n_(a.A.o["z-end"])&&(M=ZC._i_(a.A.o["z-end"])),null!==ZC._n_(a.A.o.depth)){var T=ZC._i_(a.A.o.depth);D=f*m+m/2-T,M=f*m+m/2+T}a.A.E["z-plots"]=_,a.A.E["z-cnt"]=f,a.A.E["z-depth"]=m,a.A.E["z-start"]=D,a.A.E["z-mid"]=(D+M)/2;var R,V,$,y=[],U=[],O=c;ZC._a_(D-M)<=2&&(a.C.CL.ST[a.A.K]||(a.C.CL.ST[a.A.K]={zIndex:a.A.L,style:c,points:[]},a.C.CL.ST[a.A.K].style.MJ=!1,a.C.CL.ST[a.A.K].style.B1=ZC.BQ(1,ZC._i_(ZC._a_(D-M)/1))));for(var Q=0;Q2){var W=-ZC._i_(ZC.UI(Math.atan((h[Q+1][1]-h[Q][1])/(h[Q+1][0]-h[Q][0]))));(O=new CZ(a)).copy(c),O.A0=ZC.AR.JU(ZC.AR.GE(O.A0),W),O.AE=ZC.AR.JU(ZC.AR.GE(O.AE),W),O.BX=ZC.AR.JU(ZC.AR.GE(O.BX),W)}var ae,ee,ne,oe;if(a.A.oP0&&ZC._a_(D-M)<=2?((ae=a.A.oP0).parse(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,D),(ee=a.A.oP1).parse(a.C,h[Q+1][0]-ZC.AQ.E3,h[Q+1][1]-ZC.AQ.E4,D),(ne=a.A.oP2).parse(a.C,h[Q+1][0]-ZC.AQ.E3,h[Q+1][1]-ZC.AQ.E4,M-1),(oe=a.A.oP3).parse(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,M-1)):(ae=a.A.oP0=new CE(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,D),ee=a.A.oP1=new CE(a.C,h[Q+1][0]-ZC.AQ.E3,h[Q+1][1]-ZC.AQ.E4,D),ne=a.A.oP2=new CE(a.C,h[Q+1][0]-ZC.AQ.E3,h[Q+1][1]-ZC.AQ.E4,M-1),oe=a.A.oP3=new CE(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,M-1)),ZC._a_(D-M)>2?((R=new A03(O,a.C)).K=a.K+"-facet"+Q,R.add(ae),R.add(ee),R.add(ne),R.add(oe),a.C.CL.add(R)):(a.C.CL.ST[a.A.K].points.push(ae.EC),Q===h.length-2&&a.C.CL.ST[a.A.K].points.push(ee.EC),"spline"===a.A.CV&&(ae=new CE(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,D-10),oe=new CE(a.C,h[Q][0]-ZC.AQ.E3,h[Q][1]-ZC.AQ.E4,M-1+10))),y.push(ae.EC),U.push(oe.EC),a.A.FV&&"spline"!==a.A.CV)if(ZC._a_(D-M)>2)e=R.F1();else{for(V=ZC.AP.ZL([ae.EC,ee.EC],4),$=0;$')}"spline"===a.A.CV?(a.E.polypoints=!0,a.E.points=y.concat(U.reverse())):a.E.points=null,a.A.A2.o&&("spline"===a.A.CV||"none"===a.A.A2.o.type||null!==ZC._n_(a.A.A2.o.visible)&&!ZC._b_(a.A.A2.o.visible))&&"spline"!==a.A.CV||a.OX(!0),a.A.U&&a.A.U.AO&&a.F9(),a.paintPreview(c,h)}HZ(){}}class A7K extends A3K{setup(){this.S4()}JD(){return{color:this.O.B7}}KH(){return{"background-color":this.O.B7,"border-color":this.O.B7,color:this.O.C2}}HL(t){var e=super.HL(t);return new CE(this.C,e[0]-ZC.AQ.E3,e[1]-ZC.AQ.E4,this.A.E["z-start"]).EC}paint(){var t,e,a=this;super.paint();var c=a.A.CM,_=c.AK(c.HC);_=ZC._l_(_,c.iY,c.iY+c.F);var f,m=a.E.points,v=a.E.pointsarea;(f="none"!==a.A.J8?a.O=a.A.I8(a,a.O):a.O).DF=a.K+"-3dfacet",a.A.I4&&a.GN(f);var E=0,w=-1,D=ZC.AQ.FY;if("hide"===a.C.getToggleAction())a.A.CD?w=0:(w=a.A.L,D/=E=a.A.A.A3.length);else if(a.A.CD)w=0;else{for(t=0;tt&&w--);D/=E,w=E-w-1}var M=new CZ(a);M.copy(f),M.A0=M.AE=f.B7,"spline"===a.A.CV&&(M.BX=f.B7);var T=new CZ(a);T.copy(f),T.LH=!0,T.AU=0,T.C5=a.A.HW,T.A0=ZC.AR.RC(ZC.AR.GE(T.A0),30),T.AE=ZC.AR.RC(ZC.AR.GE(T.AE),30);var R,V,$=a.A.A.HJ,y=a.C.K+ZC._[34]+a.C.K+ZC._[35]+a.A.L+ZC._[6],U=ZC.Q.FT("poly",a.A.E8,a.O.IT)+'class="'+y+'" id="'+a.K,O=[],Q=[],W=w*D,ae=(w+1)*D;if(null!==ZC._n_(a.A.o["z-start"])&&(W=ZC._i_(a.A.o["z-start"])),null!==ZC._n_(a.A.o["z-end"])&&(ae=ZC._i_(a.A.o["z-end"])),null!==ZC._n_(a.A.o.depth)){var ee=ZC._i_(a.A.o.depth);W=w*D+D/2-ee,ae=w*D+D/2+ee}a.A.E["z-plots"]=E,a.A.E["z-cnt"]=w,a.A.E["z-depth"]=D,a.A.E["z-start"]=W,a.A.E["z-mid"]=(W+ae)/2;var ne=new A03(T,a.C);for(R=0,V=v.length;R2){var le=-ZC._i_(ZC.UI(Math.atan((m[R+1][1]-m[R][1])/(m[R+1][0]-m[R][0]))));(te=new CZ(a)).copy(M),te.A0=ZC.AR.JU(ZC.AR.GE(te.A0),le),te.AE=ZC.AR.JU(ZC.AR.GE(te.AE),le),te.BX=ZC.AR.JU(ZC.AR.GE(te.BX),le)}var ce=new CE(a.C,m[R][0]-ZC.AQ.E3,m[R][1]-ZC.AQ.E4,W),Ce=new CE(a.C,m[R+1][0]-ZC.AQ.E3,m[R+1][1]-ZC.AQ.E4,W),se=new CE(a.C,m[R+1][0]-ZC.AQ.E3,m[R+1][1]-ZC.AQ.E4,ae-1),he=new CE(a.C,m[R][0]-ZC.AQ.E3,m[R][1]-ZC.AQ.E4,ae-1);if(ZC._a_(W-ae)>2?((ne=new A03(te,a.C)).K=a.K+"-facet"+R,ne.add(ce),ne.add(Ce),ne.add(se),ne.add(he),a.C.CL.add(ne)):(a.C.CL.ST[a.A.K].points.push(ce.EC),R===m.length-2&&a.C.CL.ST[a.A.K].points.push(Ce.EC),"spline"===a.A.CV&&(ce=new CE(a.C,m[R][0]-ZC.AQ.E3,m[R][1]-ZC.AQ.E4,W-10),he=new CE(a.C,m[R][0]-ZC.AQ.E3,m[R][1]-ZC.AQ.E4,ae-1+10))),O.push(ce.EC),Q.push(he.EC),a.A.FV&&"spline"!==a.A.CV)if(ZC._a_(W-ae)>2)e=ne.F1();else{for(var fe=ZC.AP.ZL([ne.D[0].EC,ne.D[1].EC],4),ie=0;ie')}"spline"===a.A.CV?(a.E.polypoints=!0,a.E.points=O.concat(Q.reverse())):a.E.points=null,a.A.A2.o&&("none"===a.A.A2.o.type||null!==ZC._n_(a.A.A2.o.visible)&&!ZC._b_(a.A.A2.o.visible))&&"spline"!==a.A.CV||a.OX(!0),a.A.U&&a.A.U.AO&&a.F9(),a.paintPreview(f,m,v)}HZ(){}}class A8X extends MM{constructor(t){super(t),this.X8=0,this.X7=0}ET(t,e,a,c){var _,h=this;return h.CU=[["%paired-plot-text",(_=h.A.L=3)e.A.U&&e.F9();else{super.paint();var a=e.O=e.A.I8(e,e),c=new DX(e.A);c.K=e.K,c.Z=e.A.CO("bl",1),c.C7=e.A.CO("bl",0),c.copy(a);var h=e.iX,_=e.iY;if(c.iX=h,c.iY=_,c.AI=e.AI,c.DS="circle",c.E.plotidx=e.A.L,c.E.nodeidx=e.L,c.parse(),e.FR=c,e.A.GG&&!e.C.HP){var f=c,m={};f.iX=h,f.iY=_,m.x=h,m.y=_;var v=e.A.LK;if(f.C5=0,m.alpha=a.C5,3===v)f.AI=2,m.size=e.AI;else if(4===v){switch(e.A.L){case 0:f.iX=h-3*e.AI,f.iY=_;break;case 1:f.iX=h+3*e.AI,f.iY=_;break;case 2:f.iX=h,f.iY=_-3*e.AI}m.x=h,m.y=_}for(t in e.A.FZ)f[EB.GP[ZC.EF(t)]]=e.A.FZ[t],m[ZC.EF(t)]=a[EB.GP[ZC.EF(t)]];if(e.C.EN||(e.C.EN={}),null!==ZC._n_(e.C.EN[e.A.L+"-"+e.L]))for(t in e.C.EN[e.A.L+"-"+e.L])f[EB.GP[ZC.EF(t)]]=e.C.EN[e.A.L+"-"+e.L][t];e.C.EN[e.A.L+"-"+e.L]={},ZC._cp_(m,e.C.EN[e.A.L+"-"+e.L]);var E=new EB(f,m,e.A.JN,e.A.LI,EB.RX[e.A.LL],function(){w()});E.AX=e,e.LD(E)}else c.paint(),w()}function w(){var D=e.C.K+ZC._[34]+e.C.K+ZC._[35]+e.A.L+ZC._[6],M=ZC.Q.FT("circle",e.A.E8,e.A.IT)+'class="'+D+'" '+e.a11y()+' id="'+e.K+ZC._[30]+ZC._i_(e.iX+ZC.MAPTX)+","+ZC._i_(e.iY+ZC.MAPTX)+","+ZC._i_(ZC.BQ(ZC.mobile?6:3,e.AI)*(ZC.mobile?2:1.2))+'" />';e.A.A.HJ.push(M),e.A.U&&e.F9()}}HZ(t){var e=this;ZC.move||e.LR({layer:t,type:"shape",initcb:function(){this.DS="circle",this.A0=e.A.BP[3],this.AE=e.A.BP[3]},setupcb:function(){this.iX=e.iX,this.iY=e.iY,this.AI=e.AI}})}}MM.prototype.MY=function(A,t){var e,a,c=this;if(typeof t===ZC._[31]&&(t=!1),t)typeof c.E.pointserror!==ZC._[31]&&((e=new CZ(c)).copy(c.A),c.A.JG&&(e.copy(c.A.JG),e.append(c.A.JG.o[ZC._[71]])),e.parse(),e.K=c.K+"--error-hover",e.DF=c.A.A.A.K+"-node-errorbars",e.AO&&ZC.CQ.paint(A,e,c.E.pointserror));else{var h=c.A.CM,_=c.A.B0;if(0!==c.A.SG.length){var f=null,m=null,v=!0;c.A.SG.length<=2?(null!==ZC._n_(c.A.SG[0])&&c.A.SG[0]instanceof Array&&(v=!1),null!==ZC._n_(c.A.SG[1])&&c.A.SG[1]instanceof Array&&(v=!1)):v=!1,v?(f=c.A.SG[0],m=c.A.SG[1]):null!==ZC._n_(a=c.A.SG[c.L])&&a instanceof Array&&(f=m=a[0],2===a.length&&(m=a[1])),c.E["node-error-plus"]=f,c.E["node-error-minus"]=m,-1!==(f+"").indexOf("%")&&(f=ZC.IU(f))<=1&&(f*=c.AD),-1!==(m+"").indexOf("%")&&(m=ZC.IU(m))<=1&&(m*=c.AD);var M,E=[],w=ZC.IU(c.A.JG&&c.A.JG.o[ZC._[21]]||.5);if(w<=1&&(w="vbar"===c.A.AF?ZC._i_(w*c.I):"hbar"===c.A.AF?ZC._i_(w*c.F):ZC._i_(w*_.AB)),M=_.CJ?c.F:c.I,null!==ZC._n_(f)){var T=h.AK(c.CP+f);_.CJ?E.push([T,c.iY+M/2-w/2],[T,c.iY+M/2+w/2],null,[T,c.iY+M/2],[h.AW?c.AD<0?c.iX+c.I:c.iX:c.AD>0?c.iX+c.I:c.iX,c.iY+M/2]):E.push([c.iX+M/2-w/2,T],[c.iX+M/2+w/2,T],null,[c.iX+M/2,T],[c.iX+M/2,h.AW?c.AD>0?c.iY+c.F:c.iY:c.AD<0?c.iY+c.F:c.iY])}if(null!==ZC._n_(m)){var R=h.AK(c.CP-m);_.CJ?E.push(null,[R,c.iY+M/2-w/2],[R,c.iY+M/2+w/2],null,[R,c.iY+M/2],[h.AW?c.AD<0?c.iX+c.I:c.iX:c.AD>0?c.iX+c.I:c.iX,c.iY+M/2]):E.push(null,[c.iX+M/2-w/2,R],[c.iX+M/2+w/2,R],null,[c.iX+M/2,R],[c.iX+M/2,h.AW?c.AD>0?c.iY+c.F:c.iY:c.AD<0?c.iY+c.F:c.iY])}(e=new CZ(c)).copy(c.A),c.A.JG&&e.copy(c.A.JG),e.parse(),e.K=c.K+"--error",e.DF=c.A.A.A.K+"-node-errorbars",e.CY=!1,ZC.CQ.paint(A,e,E),c.E.pointserror=E}}};class HH extends I7{constructor(t){super(t);var e=this;e.H=e.A.A,e.BI="",e.V=[],e.BZ=[],e.A5M=[],e.DE=!1,e.M=null,e.BR=null,e.J3=null,e.D6=null,e.G0=0,e.IK=null,e.G9=null,e.HC=0,e.PD=null,e.L=1,e.A9=0,e.A4P=0,e.BS=0,e.AW=!1,e.CJ=!1,e.AB=0,e.iStepMultiplier=1,e.DQ=-1,e.RO=ZC.HI[ZC._[13]]||"",e.S9=ZC.HI[ZC._[14]]||".",e.A0F=!1,e.SR=2,e.A39=!1,e.TZ="",e.A0I="standard",e.CI=null,e.AF="",e.EH=ZC.MAX,e.MC=ZC.MAX,e.GQ=!1,e.YQ=!1,e.KV=null,e.O1=null,e.QH=[],e.E0=1,e.AY=-1,e.BD=-1,e.SS=-1,e.FS=-1,e.GY=-1,e.BT="lin",e.DU=10,e.F7=null,e.PE=1,e.QB=!0,e.A0U=!1,e.aAutoFit=[!1,!1],e.M6=null,e.X9=null,e.TN=!1,e.IB=-1,e.Z4=!1,e.BA="default",e.QF=!1,e.W0=!1,e.RF=1,e.sMaster="",e.bNormalize=!0,e.bAllowDuplicates=!1,e.fMinValueFactor=0,e.fMaxValueFactor=0}parse(){super.parse();var t,e=this;if(null!==ZC._n_(t=e.o.step))if(ZC.PQ(t))e.E0=ZC._f_(t);else{var a=t.replace(/[0-9]/gi,""),c=parseInt(t.replace(/[^0-9]/gi,""),10);switch(c=c||1,a){case"second":e.E0=1e3*c;break;case"minute":e.E0=1e3*c*60;break;case"hour":e.E0=1e3*c*60*60;break;case"day":e.E0=1e3*c*60*60*24;break;case"week":e.E0=1e3*c*60*60*24*7;break;case"month":e.E0=2629743e3*c;break;case"year":e.E0=31556926e3*c}}if(null!==ZC._n_(e.o.multiplier)&&null===ZC._n_(e.o.short)&&(e.o.short=e.o.multiplier),e.assign_a([[ZC._[10],"BZ"],["tooltip-text","A5M"],["format","CI"],["offset-start","A9","i"],["offset-start","A4P","i"],["offset-end","BS","i"],["minor-ticks","G0","i"],["step-multiplier","iStepMultiplier","i"],["index","L","i"],["mirrored","AW","b"],["zooming","GQ","b"],["zoom-snap","YQ","b"],["fixed-step","QF","b"],["zoom-to","KV"],["force-view","Z4","b"],["zoom-to-values","O1"],["items-overlap","A0U","b"],["used","TN","b"],["max-labels","EH","i"],["max-items","EH","i"],["ref-value","HC","f"],[ZC._[12],"DQ","ia"],[ZC._[14],"S9"],[ZC._[13],"RO"],["short","A39","b"],["short-unit","TZ"],["negation","A0I"],["exponent","A0F","b"],[ZC._[25],"SR","ia"],["progression","BT"],["log-base","DU","fa"],["scale-factor","PE","fa"],["show-labels","M6"],["max-decimals","IB","i"],[ZC._[7],"BA"],["factor","RF","f"],["master","sMaster"],["blended","W0","b"],["ranged","DE","b"],["normalize","bNormalize","b"],["allow-duplicates","bAllowDuplicates","b"],["min-value-factor","fMinValueFactor","f"],["max-value-factor","fMaxValueFactor","f"]]),"linear"===e.BT&&(e.BT="lin"),"logarithmic"===e.BT&&(e.BT="log"),"log"===e.BT&&(e.G0=Math.max(0,e.DU-2),null!==ZC._n_(e.KV)&&"v"===e.AF&&(e.KV[0]=ZC.FU(e.KV[0],e.DU),e.KV[1]=ZC.FU(e.KV[1],e.DU))),null!==ZC._n_(t=e.o["auto-fit"])&&(t.length?(e.aAutoFit[0]=ZC._b_(t[0]),e.aAutoFit[1]=ZC._b_(t[t.length-1])):e.aAutoFit[0]=e.aAutoFit[1]=ZC._b_(t)),"string"==typeof e.BZ){var h=e.BZ.split(":"),_=1;3===h.length&&(_=ZC._f_(h[2])),e.BZ=[];for(var f=ZC._f_(h[0]);f1&&(e.BA="opposite"),null!==ZC._n_(t=e.o.markers))for(var M=0,T=t.length;M=0&&h<=1&&(h="x"===c||"y"===c?e.A.P["x"===c?"iX":"iY"]+ZC._i_(h*e.A.P["x"===c?"I":"F"]):ZC._i_(h*e.A.P[a[c]])),e[a[c]]=h}null!==ZC._n_(t=e.o.offset)&&(e.A9=e.BS=ZC._f_(ZC._p_(t))),null!==ZC._n_(t=e.o["offset-start"])&&(e.A9=ZC._f_(ZC._p_(t))),null!==ZC._n_(t=e.o["offset-end"])&&(e.BS=ZC._f_(ZC._p_(t)));var _="k"===e.AF&&!e.CJ||"v"===e.AF&&e.CJ?e.I:e.F;e.A9<1&&(e.A9*=_),e.BS<1&&(e.BS*=_)}WC(t){var e=this;null!==ZC._n_(e.o.rules)&&(e.X9||(e.X9=new HH(e.A)),e.X9.append(e.o),e.X9.parse(),e.X9.IX=t,e.X9.DC()&&(e.X9.parse(),e.DQ=e.X9.DQ,e.CI=e.X9.CI))}H2(){}TA(){}A05(){}HG(){}clear(){}build(){}LZ(){var t,e=this,a={negation:e.A0I,"thousands-separator":e.RO,"decimals-separator":e.S9,decimals:e.DQ,"max-decimals":e.IB,short:e.A39,"short-unit":e.TZ,exponent:e.A0F,"exponent-decimals":e.SR};if(e.F7&&"date"===e.F7.o.type){a[ZC._[68]]=!0,null!==ZC._n_(t=e.F7.o.text)&&(e.F7.o.all=t);var h,_,c=e.V[e.A1]-e.V[e.W],f={},m=["msecond","second","minute","hour","day","month","year"];for(var v in m)f[m[v]]=ZC.HI["date-formats"][m[v]];_=0<=c&&c<=1e3?"msecond":1e3").length),"h"===v?(f+=t.F,m=ZC.BQ(m,ZC._a_(ZC.EO(D))*ZC.BQ(t.I,t.F))):"w"===v&&(f+=t.I,m=ZC.BQ(m,ZC._a_(ZC.EI(D))*ZC.BQ(t.I,t.F))),t.ED(),null===ZC._n_(c.o.tooltip)&&t.KI||(null!==ZC._n_(c.o.tooltip)&&(c.o.tooltip.text=c.o.tooltip.text||"%scale-value"),E.push(ZC.AR.OI(c.A.K,t))))}return{tdim:f,mdim:m,overlaps:!T}}TO(t,e){var a=this;if("v"===a.AF&&(a.HC!==a.AY&&a.HC!==a.BD||(null===ZC._n_(a.o["ref-line"])||null!==ZC._n_(a.o["ref-line"])&&null===ZC._n_(a.o["ref-line"].visible))&&(a.PD.AO=!1)),a.PD.K=a.K+"-ref-line",a.V.length>0&&a.PD.AO&&!a.A.AJ["3d"]&&a.PD.B1>0){"inherit"===a.PD.o["line-color"]&&-1!==e&&(a.PD.B7=e);var c=a.HC;if("k"===a.AF&&!a.CJ||"v"===a.AF&&a.CJ){var h=a.AK(c);h>=a.iX&&h<=a.iX+a.I&&ZC.CQ.paint(t,a.PD,[[h,a.iY],[h,a.iY+a.F]])}else{var _=a.AK(c);_>=a.iY&&_<=a.iY+a.F&&ZC.CQ.paint(t,a.PD,[[a.iX,_],[a.iX+a.I,_]])}}}paint_(){}VX(){for(var t=this,e=0,a=t.QH.length;e0&&t.QH[e].paint()}gc(){ZC.AR.gc(this,["V","BZ","Z","C7","D6","BR","M","G9","IK","PD","J3","IX","o","IG","JJ","A","H"])}}class A4J extends HH{constructor(A){super(A);var t=this;t.EG=!1,t.AF="k",t.D5=-1,t.DN=-1,t.W=-1,t.A1=-1,t.VL=1,t.DQ=null,t.OY=0,t.A5A=!1,t.O6=!1,t.UO={},t.J2=[],t.iMinOffset=0,t.aForcedMinMax=[null,null,1]}zoomTo(A,t){var e=this;if(e.GQ){e.W=null!==ZC._n_(A)?A:e.D5,e.A1=null!==ZC._n_(t)?t:e.DN;var a=e.J2;if(a.length>0?(e.AY=ZC.AV(a,e.V[e.W]),e.BD=ZC.AV(a,e.V[e.A1])):(e.AY=e.V[e.W],e.BD=e.V[e.A1]),e.H.H5.C||(e.H.H5.C=e.A),e.A.H5&&null!==ZC._n_(e.A.H5.o.shared)&&ZC._b_(e.A.H5.o.shared)&&e.A.K===e.H.H5.C.K)for(var c=0,h=e.H.AG.length;c0&&A.BR.AA%180==0){for(var a=ZC.BQ(1,ZC._i_(t/20)),c=0,h=0;h||
|\n/),f=0,m=0,v=_.length;m/gi,"").replace(/<\/.+?>/gi,"").length);e+=f,c++}e=.75*e/Math.max(1,c)}else e=15;A.EH=A.CJ?ZC._i_((A.F-A.A9-A.BS)/15):ZC._i_((A.I-A.A9-A.BS)/e),A.EH=ZC.CX(A.EH,20),(A.BD-A.AY)/A.E0+1ZC._f_(f[1])){var v=f[0];f[0]=f[1],f[1]=v}if(m<=0&&(m=1),f.length>1){for(var E=0,w=0,D=0,M=(""+m).split("."),T=ZC._f_(f[0]);T<=ZC._f_(f[1]);T+=m){var R=(""+T).split(".");M.length>1&&R.length>1&&M[1].length>0&&R[1].length>=9&&ZC._a_(R[1].length-M[1].length)>2?(E+=M[1].length,w=ZC.BQ(w,M[1].length),D++,null!==(h=ZC._n_(_.o[ZC._[12]]))?_.V.push(ZC._f_(Number(T).toFixed(ZC._i_(h)))):_.V.push(ZC._f_(ZC._fixed_(Number(T),M[1].length))),T=ZC._f_(ZC._fixed_(Number(T),M[1].length))):(E+=R[1]?R[1].length:0,w=ZC.BQ(w,R[1]?R[1].length:0),D++,null!==(h=ZC._n_(_.o[ZC._[12]]))?_.V.push(ZC._f_(Number(T).toFixed(ZC._i_(h)))):_.V.push(T))}null===ZC._n_(_.o[ZC._[12]])&&(E=Math.ceil(E/D),_.DQ=ZC._a_(w-E)<=1?w:E)}}if(2===A){var V=0,$=[];0===_.V.length?(t=ZC.MAX,e=-ZC.MAX):(t=_.V[0],e=_.V[_.V.length-1]);var y,U,O=_.A.AZ.A3,Q=!1;for(a=0,c=O.length;a_.V.length&&_.V.length>0&&!_.EG)for(a=_.V.length;a0&&(t=0),Q&&e0&&(_.E0=Math.pow(10,Math.floor(ZC.FU(e-t)/Math.LN10))),_.O6||_.PP(t,e,!0),0===t&&0===e&&"0,1"===_.V.join(",")&&(_.V=[0]);else if(null!==ZC._n_(_.o["max-value"])){y=0,U=0,null!==ZC._n_(_.o["min-value"])&&(y=ZC._f_(_.o["min-value"])),U=ZC._f_(_.o["max-value"]),a=0;var le=y;for(_.F7&&null!==ZC._n_(_.F7.o.type)?"date"===_.F7.o.type&&(_.E0=_.XK(y,U)):(U-y)/_.E0>1e4&&(_.E0=Math.pow(10,ZC.BQ(1,ZC._i_(ZC.FU(ZC._a_(U-y),10)-4))));le0?(_.AY=_.W,_.BD=_.A1):(_.AY=ZC._f_(_.V[_.W]),_.BD=ZC._f_(_.V[_.A1])),_.O1){-1===ZC.AV(_.V,_.O1[0])&&ZC.PQ(_.O1[0])&&null!==ZC._n_(_.V[0])&&-1!==_.SS&&(_.O1[0]=_.V[0]+_.SS*Math.floor((_.O1[0]-_.V[0])/_.SS)),-1===ZC.AV(_.V,_.O1[1])&&ZC.PQ(_.O1[1])&&null!==ZC._n_(_.V[0])&&-1!==_.SS&&(_.O1[1]=_.V[0]+_.SS*Math.ceil((_.O1[1]-_.V[0])/_.SS));var ce=ZC.AV(_.V,_.O1[0]),Ce=ZC.AV(_.V,_.O1[1]);_.KV=[-1===ce?0:ce,-1===Ce?_.V.length-1:Ce]}_.KV&&-1!==_.W&&-1!==_.A1&&((_.KV[0]>_.A1||_.KV[0]<_.W)&&(_.KV[0]=_.W),(_.KV[1]>_.A1||_.KV[1]<_.W)&&(_.KV[1]=_.A1));var se=_.H.E["graph"+_.A.L+".zoom"];if(null===ZC._n_(_.H.E[ZC._[53]])||_.H.E[ZC._[53]]){var he=1===_.L?"":"-"+_.L;typeof se!==ZC._[31]&&null!==ZC._n_(se["xmin"+he])&&null!==ZC._n_(se["xmax"+he])&&(_.KV=[se["xmin"+he],se["xmax"+he]])}else _.H.E["graph"+_.A.L+".zoom"]={};_.KV&&(_.A.A1P=!0)}PP(A,t,e){var a,c,h,_,f=this,m=!1,v=null!==ZC._n_(f.o.step)&&-1!==(""+f.o.step).indexOf("month");if(f.F7&&null!==ZC._n_(f.F7.o.type)){if("date"===f.F7.o.type){var E=f.XK(A,t);(t-A)%E!=0&&(v||(t+=E-(t-A)%E)),a=[A,t,E,1,E],m=!0}}else if("log"===f.BT)a=[A,t,1,1,1];else{var w=null!==ZC._n_(f.o.step)||null!==ZC._n_(f.o["min-value"])||null!==ZC._n_(f.o["max-value"]);a=A!==t?ZC.AP.X2(A,t,f.E0,f.PE,w):[A,t,f.E0,1,f.E0]}-1===f.SS&&(f.SS=a[4]);var D=a[0],M=a[1];_=a[2],e&&"log"===f.BT&&(D=Math.floor(ZC.FU(D,f.DU)),M=Math.ceil(ZC.FU(M,f.DU))),null===ZC._n_(f.o.step)&&(M-D)/_>1e4&&(_=(M-D)/1e4,h=Math.ceil(ZC.FU(_)/Math.LN10),_=Math.pow(10,h)),null===ZC._n_(f.o["min-value"])&&D!==M&&(m&&v||(D-=D%_)),null===ZC._n_(f.o["max-value"])&&D!==M&&(m&&v||(M=M-M%_+(M%_==0?0:_))),h=Math.floor(ZC.FU(_)/Math.LN10);var T,R=a[3];if(h=12&&Q++,O=(O+U)%12,(31===W&&(3===O||5===O||8===O||10===O)||W>28&&1===O)&&(W=1===O?Q%4==0&&Q%100!=0||Q%400==0?29:28:30);var ae=new Date(Q,O,W,ZC._i_(V[3]),ZC._i_(V[4]),ZC._i_(V[5])),ee=ae.getTimezoneOffset(),ne=ae.getTime()+6e4*($-ee);f.V.push(ne),ne1.005&&(he=!0,++se>ZC.CX(20,-1===f.IB?99:f.IB)&&(he=!1));else ce=null!==se?ZC._f_(ZC._fixed_(T,Math.max(se,te))):ZC._f_(ZC._fixed_(T,te));f.V.push(ce)}}else for(_=ZC._f_((t-A)/f.VL),c=0;c<=f.VL;c++)T=A+_*c,R<0&&(T=ZC._f_(T.toFixed(-R))),f.V.push(T);f.W=0,f.A1=f.V.length-1,f.D5=0,f.DN=f.V.length-1,f.AY=ZC._f_(f.V[f.W]),f.BD=ZC._f_(f.V[f.A1])}XK(A,t,e){typeof e===ZC._[31]&&(e=!1);var c=Math.floor(ZC.FU(t-A)/Math.LN10);return null===ZC._n_(this.o.step)||e?c<=3?1:4===c?1e3:5===c?1e4:6===c?2e4:7===c?3e4:8===c?6e4:9===c?6e5:10===c?12e5:11===c?18e5:36e5:this.E0}parse(){super.parse()}clear(){super.clear()}build(){super.build()}paint(){super.paint(),null!==ZC._n_(this.o[ZC._[5]])&&(this.TN=!0)}}class A02 extends HH{constructor(A){super(A);var t=this;t.AF="v",t.W=-1,t.A1=-1,t.VL=0,t.DQ=null,t.KZ="normal",t.JT=[],t.bExtendMinValue=!0,t.bExtendMaxValue=!0}zoomTo(A,t){var e,a,c=this;if(c.GQ){if(c.AY=null!==ZC._n_(A)?A:c.FS,c.BD=null!==ZC._n_(t)?t:c.GY,("piano"===c.A.AF||c.QF)&&(c.AY=ZC._i_(c.AY),c.BD=ZC._i_(c.BD),c.AY===c.BD&&(c.AY=Math.floor(c.AY),c.BD=c.AY+c.E0)),c.PP(c.AY,c.BD,!1),"lin"!==c.BT&&"log"!==c.BT){var h=ZC.evalFn(c.BT,window);h&&h.valueToCoord&&h&&h.values&&(c.V=h.values.call(c,{x:c.iX,y:c.iY,width:c.I,height:c.F,offsetStart:c.A9,offsetEnd:c.BS,inversed:c.CJ,mirrored:c.AW,minValue:c.AY,maxValue:c.BD,minValue_:c.FS,maxValue_:c.GY}),c.W=0,c.A1=c.V.length-1)}var _=c.A.BV("v");for(e=0;e<_.length;e++)_[e].BI!==c.BI&&_[e].sMaster===c.BI&&_[e].zoomTo(A,t);if(""===c.sMaster){if(c.H.H5.C||(c.H.H5.C=c.A),c.A.H5&&null!==ZC._n_(c.A.H5.o.shared)&&ZC._b_(c.A.H5.o.shared)&&c.A.K===c.H.H5.C.K)for(e=0,a=c.H.AG.length;eZC._f_(U[1])){var O=U[0];U[0]=U[1],U[1]=O}if(f<=0&&(f=1),null!==ZC._n_(m.o["fixed-items"])&&(f=(ZC._f_(U[1])-ZC._f_(U[0]))/ZC.BQ(1,ZC._i_(m.o["fixed-items"])-1),m.VL=ZC.BQ(1,ZC._i_(m.o["fixed-items"])-1)),U.length>1){for(var Q=0,W=0,ae=0,ee=(""+f).split("."),ne=ZC._f_(U[0]);ne<=ZC._f_(U[1]);ne+=f)c=(""+ne).split("."),ee.length>1&&c.length>1&&ee[1].length>0&&c[1].length>=9&&ZC._a_(c[1].length-ee[1].length)>2?(Q+=ee[1].length,W=ZC.BQ(W,ee[1].length),ae++,m.V.push(ZC._f_(ZC._fixed_(Number(ne),ee[1].length)))):(Q+=ZC._i_(c[1]?c[1].length:0),W=ZC.BQ(W,c[1]?c[1].length:0),ae++,m.V.push(ne));ne-ZC._f_(U[1])!=0&&ZC._a_(ne-ZC._f_(U[1]))/f<1e-8&&m.V.push(ZC._f_(U[1])),null===ZC._n_(m.o[ZC._[12]])&&(Q=(c=(""+f).split("."))[1]?c[1].length:Math.ceil(Q/ae),m.DQ=ZC._a_(W-Q)<=1?W:Q)}}m.W=0,m.A1=m.V.length-1,m.E0=f,D.length>1?(w=ZC.YO(m.V,!0),m.AY=ZC.YO(m.V),m.BD=ZC.A2D(m.V)):(m.AY=m.V[0],m.BD=m.V[m.V.length-1]),"log"===m.BT&&(0===m.AY&&(E=Math.floor(ZC.FU(w,m.DU)),m.AY=Math.pow(m.DU,Math.min(-1,E))),m.PP(ZC.FU(m.AY,m.DU),ZC.FU(m.BD,m.DU),!1))}if(2===A){var oe={};null===ZC._n_(m.o[ZC._[5]])&&(m.V=[],h=ZC.MAX,_=-ZC.MAX);var te=[],le=m.A.AZ.A3;for(e=0,a=le.length;e=0||!Ce?[le[e].R[he].AD,0]:[0,le[e].R[he].AD]:le[e].R[he].AD>=0||!Ce?oe[le[e].DZ][ie][0]+=le[e].R[he].AD:oe[le[e].DZ][ie][1]+=le[e].R[he].AD,le[e].R[he].CP=le[e].R[he].AD>=0||!Ce?oe[le[e].DZ][ie][0]:oe[le[e].DZ][ie][1],null===ZC._n_(m.o[ZC._[5]])&&te.push(oe[le[e].DZ][ie][0]+De,oe[le[e].DZ][ie][1]+De);else if(null===ZC._n_(m.o[ZC._[5]])){te.push(le[e].R[he].AD+De),0!==De&&te.push(De);for(var ge=0,me=le[e].R[he].DP.length;ge0&&(w=ZC.YO(te,!0),h=ZC.YO(te),_=ZC.A2D(te)),0!==m.V.length||h!==Number.MAX_VALUE&&_!==Number.MIN_VALUE||(m.V=[0,1],h=0,_=1),null===ZC._n_(m.o[ZC._[5]]))if(null!==ZC._n_(m.o["min-value"])&&"auto"!==m.o["min-value"]?h=ZC._f_(m.o["min-value"]):h>0&&"auto"!==m.o["min-value"]&&"log"!==m.BT&&(h=0),null!==ZC._n_(m.o["max-value"])&&(_=ZC._f_(m.o["max-value"])),h===ZC.MAX&&_===-ZC.MAX)m.W=0,m.A1=0,m.AY=0,m.BD=0;else if("log"===m.BT)0===h&&(E=Math.floor(ZC.FU(w,m.DU)),h=Math.pow(m.DU,Math.min(-1,E))),m.PP(ZC.FU(h,m.DU),ZC.FU(_,m.DU),!1);else if("lin"===m.BT)m.PP(h,_,!0);else{m.PP(h,_,!0);var Ze=ZC.evalFn(m.BT,window);Ze&&Ze.values&&(m.V=Ze.values.call(m,{x:m.iX,y:m.iY,width:m.I,height:m.F,offsetStart:m.A9,offsetEnd:m.BS,inversed:m.CJ,mirrored:m.AW,minValue:h,maxValue:_,minValue_:h,maxValue_:_}),m.W=0,m.A1=m.V.length-1)}}2===A&&(-1===m.FS&&-1===m.GY&&(m.FS=m.AY,m.GY=m.BD),-1===m.SS&&(m.SS=m.E0)),"auto"===m.o["min-value"]&&null===ZC._n_(m.o["ref-value"])&&(m.HC=m.AY),0===m.VL&&(m.VL=ZC._i_((m.BD-m.AY)/m.E0));var pe=m.H.E["graph"+m.A.L+".zoom"];if(null===ZC._n_(m.H.E[ZC._[53]])||m.H.E[ZC._[53]]){var ve=1===m.L?"":"-"+m.L;2===A&&typeof pe!==ZC._[31]&&null!==ZC._n_(pe["ymin"+ve])&&null!==ZC._n_(pe["ymax"+ve])&&(ZC.DM(pe["ymin"+ve],m.AY,m.BD)||(pe["ymin"+ve]=m.AY),ZC.DM(pe["ymax"+ve],m.AY,m.BD)||(pe["ymax"+ve]=m.BD),m.KV=[pe["ymin"+ve],pe["ymax"+ve]])}else m.H.E["graph"+m.A.L+".zoom"]={};m.KV&&(m.A.A1P=!0)}PP(A,t,e){var a,c,h,_,f=this;t+=f.fMaxValueFactor*(t-(A-=f.fMinValueFactor*(t-A))),"piano"!==f.A.AF&&!f.QF&&f.JT.length>1&&(A=0),f.TZ.length&&null===ZC._n_(f.o["scale-factor"])&&(h=Math.floor(ZC.FU(ZC._a_(t),ZC._f_(f.TZ[0]))),f.PE=Math.pow(ZC._f_(f.TZ[0]),h)/Math.pow(1e3,h),f.E["max-power"]=h);var m=(_=f.F7&&"date"===f.F7.o.type?ZC.AP.X2(A,t,"lin"===f.BT?f.E0:null,f.PE,f.bNormalize,f.EH):ZC.AP.X2(A,t,"lin"===f.BT?f.o.step:null,f.PE,f.bNormalize,f.EH))[0],v=_[1],E=!1;c=Math.floor(_[0]),"log"===f.BT&&(h=Math.ceil(_[1]),_[1]-_[0]>=.5?E=!0:_=ZC.AP.X2(Math.pow(f.DU,_[0]),Math.pow(f.DU,_[1]),null,f.PE,f.bNormalize));var w,D,M=_[0],T=_[1],R=_[2];if(null!==ZC._n_(f.o["fixed-items"])&&(R=(T-M)/ZC.BQ(1,ZC._i_(f.o["fixed-items"])-1)),f.QF&&t===A&&(t+R<=f.BD?t+=R:A-=R),1!==f.RF&&(M*=f.RF,T*=f.RF,R*=f.RF),null!==ZC._n_(f.E["o-decimals"])?f.DQ=f.E["o-decimals"]:f.E["o-decimals"]=f.DQ,null===ZC._n_(f.o[ZC._[12]]))if("log"===f.BT&&E)f.DQ=c<0?null:0;else if(f.bNormalize)f.A39||(f.DQ=0);else{var V=ZC.FU(t-A,10);f.DQ=_[3],f.DQ>9&&(V>=1?f.DQ=1:V>0&&V<1&&(f.DQ=2))}var $,y,U,O=!0;if(E){var Q,W;c=Math.floor(M),h=Math.ceil(T),$=Math.pow(f.DU,A),y=Math.pow(f.DU,t),f.V=[];var ae=[0,2,5];for(W=[0,1,2,3,4,5,6,7,8,9,10],a=c;a<=h;a++){var ee=_[3];if(ee=a<0?Math.max(ZC._a_(a),ee):0,a===h)for(Q=0;Q=M&&D<=T&&f.V.push(D):f.V.push(D),w+=R,w=ZC._f_(w.toFixed(_[3]))}while(w<=T);O&&(f.DQ+=1)}"log"===f.BT&&(m=ZC.FU(M,f.DU),v=ZC.FU(T,f.DU),f.V.push(M),f.V.push(T),f.V.sort(function(le,ce){return le-ce}))}f.E0=R,f.W=0,f.A1=f.V.length-1,e?(f.AY=f.bExtendMinValue?m:A,f.BD=f.bExtendMaxValue?v:t):(f.AY=A,f.BD=t)}parse(){var A=this;A.assign_a([["stack-type","KZ"],["extend-min-value","bExtendMinValue","b"],["extend-max-value","bExtendMaxValue","b"]]),(A.A.CD&&"100%"===A.A.KZ||"100%"===A.KZ)&&null===ZC._n_(A.o[ZC._[5]])&&(A.o[ZC._[5]]="0:100:20",A.o.format="%v%"),super.parse()}clear(){super.clear()}build(){super.build()}paint(){super.paint(),null===ZC._n_(this.E[ZC._[12]])&&(this.E[ZC._[12]]=null!==ZC._n_(this.DQ)?this.DQ:-1),null!==ZC._n_(this.o[ZC._[5]])&&(this.TN=!0)}}class TF extends A4J{constructor(t){super(t)}parse(){super.parse()}H2(){var t=this;t.AB=t.A1===t.W?t.I-t.A9-t.BS:(t.I-t.A9-t.BS)/(t.A1-t.W+(t.DE?1:0))}HG(t){super.HG(t),this.H2()}zoomTo(t,e){super.zoomTo(t,e),this.H2()}clear(){}build(){super.build()}L4(t){var e,a=this;e=a.AW?(a.iX+a.I-a.A9-t)/(a.I-a.A9-a.BS):(t-a.iX-a.A9)/(a.I-a.A9-a.BS);var c=a.AY,h=a.BD;null!==ZC._n_(a.aForcedMinMax[0])&&a.aForcedMinMax[0]!==c&&(c=a.aForcedMinMax[0]),null!==ZC._n_(a.aForcedMinMax[1])&&a.aForcedMinMax[1]!==h&&(h=a.aForcedMinMax[1]),"log"===a.BT&&(c=ZC.FU(c,a.DU),h=ZC.FU(h,a.DU));var _=c+ZC._f_((h-c)*e);return"log"===a.BT&&(_=Math.pow(a.DU,_)),_}N4(t,e,a){var c,h,_,f=this;typeof a===ZC._[31]&&(a=!1);var m=f.DE?f.AB:0;_=f.AW?(f.iX+f.I-t-f.A9-m/2)/(f.I-f.A9-f.BS-m):(t-f.iX-f.A9-m/2)/(f.I-f.A9-f.BS-m);var v,E=!1;if(e)for(v in e.KC){E=!0;break}if(e&&!f.O6&&E){var w=f.V[f.W];"string"==typeof w&&(w=ZC.AV(f.J2,w)),"log"===f.BT&&(w=ZC.FU(w,f.DU));var D=f.V[f.A1];"string"==typeof D&&(D=ZC.AV(f.J2,D)),"log"===f.BT&&(D=ZC.FU(D,f.DU));var M=w+ZC._f_((D-w)*_);"log"===f.BT&&(M=Math.pow(f.DU,M));var T=ZC.MAX;for(v in h=null,e.KC)(c=Math.abs(v-M))e.A30){var R=Math.ceil((D-w)/(f.I-f.A9-f.BS));if(e.V.length<2&&(R*=100),T>R)return null}return h}var V=f.W,$=f.A1;return f.EG&&(null!==ZC._n_(c=f.V[V])&&(V=c),null!==ZC._n_(c=f.V[$])&&($=c)),"log"===f.BT&&(V=ZC.FU(V,f.DU),$=ZC.FU($,f.DU)),h=a?f.DE?V+($-V+1)*_:V+($-V)*_:f.W+(f.A1-f.W)*_,"log"===f.BT?(h=Math.pow(f.DU,h),h=Math.round(h)-1):(h=ZC._i_(h),h=ZC.BQ(0,h),h=ZC.CX(f.DN,h)),h}H7(t){var e=this;return"log"===e.BT&&(t=ZC.FU(t+1,e.DU)),e.AW?e.iX+e.I-e.A9-(t-e.W+(e.DE?1:0))*e.AB+(e.DE?e.AB/2:0):e.iX+e.A9+(t-e.W)*e.AB+(e.DE?e.AB/2:0)}AK(t){var e,a,h,_,f=this;if("log"===f.BT&&(0===t&&(t=f.AY),t=ZC.FU(t,f.DU)),f.O6)return f.H7(f.UO[t]);if(-1!==(e=ZC.AV(f.J2,t)))return f.H7(e);if(!f.A5A&&(f.EG||f.F7&&"date"===f.F7.o.type)){h=f.V[f.W],_=f.V[f.A1];var v=f.I;return"log"===f.BT&&(h=ZC.FU(h,f.DU),_=ZC.FU(_,f.DU),f.W===f.D5&&f.A1===f.DN&&(v=(f.A1-f.W)*f.AB+f.A9+f.BS)),a=_===h?0:(v-f.A9-f.BS-(f.DE?f.AB:0))/(_-h),f.AW?f.iX+v-f.A9-(t-h)*a-(f.DE?f.AB/2:0)+f.iMinOffset:f.iX+f.A9+(t-h)*a+(f.DE?f.AB/2:0)-f.iMinOffset}return h=f.AY,_=f.BD,"log"===f.BT&&(h=ZC.FU(h,f.DU),_=ZC.FU(_,f.DU)),a=_===h?0:(f.I-f.A9-f.BS)/(_-h+(f.DE?1:0)),f.AW?f.iX+f.I-f.A9-(t-h)*a-(f.DE?f.AB/2:0):f.iX+f.A9+(t-h)*a+(f.DE?f.AB/2:0)}paint(){var t,e,a,c,h,_,f,m,v,E,w,D,M,T,R,V,y=this;super.paint(),null!==ZC._n_(y.A.A.E[y.BI+"-feed-offset-start"])&&(y.A9=y.A.A.E[y.BI+"-feed-offset-start"]),"bubble"!==y.A.AF&&"scatter"!==y.A.AF||(-1===y.A9&&-1===y.BS||1===y.V.length)&&(y.A9=y.BS=y.I/(y.V.length+1),y.H2());var U=y.BD,O=y.AY;if("log"===y.BT&&(null!==ZC._n_(y.o["max-value"])&&(U=ZC._f_(y.o["max-value"]),y.aForcedMinMax[1]=U),null!==ZC._n_(y.o["min-value"])&&(O=ZC._f_(y.o["min-value"]),y.aForcedMinMax[0]=O),y.iMinOffset=0,(U!==y.BD||O!==y.AY)&&y.W===y.D5&&y.A1===y.DN&&1===y.aForcedMinMax[2])){y.aForcedMinMax[2]=0;var Q=y.AB;y.AB=(y.I-y.A9-y.BS)/(ZC.FU(U,y.DU)-ZC.FU(O,y.DU))-.1;var W=ZC.FU(O,y.DU)-ZC.FU(y.AY,y.DU),ae=ZC.FU(y.BD,y.DU)-ZC.FU(U,y.DU);y.iMinOffset=W*(y.AB-Q)*(y.V.length-1)/(ae+W)}var ee=y.YE(),ne=0,oe=1,te=1,le={};for(e=0,a=y.A.BO.length;e0;Oe--)y.iStepMultiplier>Oe&&y.A1-y.W<=Oe*y.iStepMultiplier&&(de=Oe);ke*=de;var Fe,be,Se,xe=0,we=y.AB*(ve*=de)/(y.G0+1),Re=y.AW?y.iX+y.BS:y.iX+y.A9,Ie=y.AW?y.iX+y.I-y.A9:y.iX+y.I-y.BS;if(null===ZC._n_(se)&&(se=h),_=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-ml-0-c"),m=ZC.Q.EA(_,y.H.AC),f=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-bl-0-c"),v=ZC.Q.EA(f,y.H.AC),"inherit"===y.o["line-color"]&&-1!==ee&&(y.B7=ee),y.A.AJ["3d"]){if((R=ZC.DJ.DB(y,y.A,y.iX-ZC.AQ.E3,y.iX-ZC.AQ.E3+y.I,h-ZC.AQ.E4,h-ZC.AQ.E4,-1,ZC.AQ.FY+1,"x")).K=y.K+"-line",y.A.EZ.true3d&&(R.MO=y.A.EZ[ZC._[27]]>0?[1===y.L?-100:100,1,1]:[1===y.L?100:-100,1,1]),y.A.CL.add(R),null!==ZC._n_(y.o.axis)){var Ne=new CZ(y);Ne.append(y.o.axis),Ne.parse(),Ne.A0=Ne.AE=Ne.B7,(R=ZC.DJ.DB(Ne,y.A,y.iX-ZC.AQ.E3,y.iX-ZC.AQ.E3+y.I,h-ZC.AQ.E4,h-ZC.AQ.E4,-Ne.B1/2,Ne.B1/2,"x")).K=y.K+"-axis",y.A.CL.add(R)}}else{w=[[y.iX-1,pe],[y.iX+y.I+1,pe]];var We=y.K;y.K+="-line",ZC.CQ.paint(m,y,w),y.K=We}if(y.V.length>0&&y.D6.AO){var Te=null===ZC._n_(y.D6.o["offset-start"])?0:ZC._i_(y.D6.o["offset-start"]),ze=null===ZC._n_(y.D6.o["offset-end"])?0:ZC._i_(y.D6.o["offset-end"]);if(y.D6.o.items&&y.D6.o.items.length>0&&!y.A.AJ["3d"])for(V=new I7(y),e=y.W;e0)for(y.GW=0,e=y.W;e<=y.A1+(y.DE?1:0);e++)if(y.KD=e,e===y.W||e===y.A1+(y.DE?1:0)||(e-y.W)%ve==0){(y.D6.E5.length>0||e===y.W)&&((T=new CZ(y)).Z=T.C7=f,T.copy(y.D6),T.IX=$t,T.DC()&&T.parse()),w=[],D=e-y.W,M="log"===y.BT?y.AK(y.V[e]):y.AW?y.iX+y.I-y.A9-D*y.AB:y.iX+y.A9+D*y.AB;var Ve=y.iY+Te,lt=y.F-Te-ze;if(T.AO)if(y.A.AJ["3d"]){var Ee=new CZ(y);Ee.copy(T),null!==ZC._n_(y.o["scale-z"])&&null!==ZC._n_(t=y.o["scale-z"].guide)&&(Ee.append(t),Ee.parse()),Ee.A0=Ee.AE=Ee.B7,R=ZC.DJ.DB(Ee,y.A,M-ZC.AQ.E3-Ee.B1/2,M-ZC.AQ.E3+Ee.B1/2,h-ZC.AQ.E4,h-ZC.AQ.E4,0,ZC.AQ.FY,"z"),y.A.CL.add(R),T.A0=T.AE=T.B7,(R=ZC.DJ.DB(T,y.A,M-ZC.AQ.E3-T.B1/2,M-ZC.AQ.E3+T.B1/2,Ve-ZC.AQ.E4,Ve+lt-ZC.AQ.E4,ZC.AQ.FY+2,ZC.AQ.FY+2,"y")).K=y.K+"-guide-"+e,y.A.CL.add(R)}else w.push([M,Ve],[M,Ve+lt]),T.K=y.K+"-guide-"+e,ZC.CQ.paint(v,T,w);y.GW++}}if(y.V.length>0&&y.G9.AO&&!y.A.AJ["3d"]&&y.G9.o.items&&y.G9.o.items.length>0)for(V=new I7(y),e=y.W;e0)for(e=y.W;e0&&y.J3.AO){switch(y.J3.o[ZC._[7]]){case"inner":break;case"outer":xe+=ge;break;default:xe+=ge/2}if(!zingchart.DEV.SMARTDATELABELS||!y.F7||"date"!==y.F7.o.type)for(y.GW=0,e=y.W;e<=y.A1+(y.DE?1:0);e++)if(e===y.W||e===y.A1+(y.DE?1:0)||(e-y.W)%ve==0){y.KD=e;var nt=ge;if(w=[],D=e-y.W,(y.J3.E5.length>0||e===y.W)&&((T=new DX(y)).copy(y.J3),"inherit"===y.J3.o["line-color"]&&-1!==ee&&(T.B7=ee),T.IX=$t,T.DC()&&T.parse(),T.AI>1&&(nt=T.AI)),M="log"===y.BT?y.AK(y.V[e]):y.AW?y.iX+y.I-y.A9-D*y.AB:y.iX+y.A9+D*y.AB,ZC.DM(M,Re,Ie)){switch(T.o[ZC._[7]]){case"ref-auto":w.push([M,se+nt/2],[M,se-nt/2]);break;case"ref-top":w.push([M,se-nt],[M,se]);break;case"ref-bottom":w.push([M,se+nt],[M,se]);break;case"inner":w.push([M,h-(Ce?nt:-nt)],[M,h]);break;case"outer":w.push([M,h],[M,h+(Ce?nt:-nt)]);break;default:w.push([M,h+nt/2],[M,h-nt/2])}if(T.AO){for(be=ZC._i_(T.o["offset-x"]||"0"),Se=ZC._i_(T.o["offset-y"]||"0"),Fe=0;Fe0&&y.G0>0&&y.IK.AO&&!y.A.AJ["3d"])for(e=y.W;e0&&y.BR.AO)if(zingchart.DEV.SMARTDATELABELS&&y.F7&&"date"===y.F7.o.type){var ut=y.getOptimalDateInterval(y.V[y.A1]-y.V[y.W]),nn=ut[0];Bt=ut[1];var Mn=ut[2],cn=ut[3];Mt=ut[4];var yt=Mn*Math.ceil(y.V[y.W]/Mn),Xn=Mn*Math.floor(y.V[y.A1]/Mn),Dn="";y.GW=0;var Pt=!0;for(e=yt;e<=Xn;e+=Mn){Pt=!0;var Ot=ZC.AR.Z0(e,nn,y.A.V0,y.A.NL);if(Ot!==Dn){switch(cn){case"yr":Mt>15&&(Pt=ZC._i_(Ot)%2==0);break;case"mon":Mt>15&&(Pt=ZC._i_(Ot)%3==0);break;case"day":Mt>45?Pt=1===ZC._i_(Ot)||15===ZC._i_(Ot):Mt>30?Pt=1===ZC._i_(Ot)||10===ZC._i_(Ot)||20===ZC._i_(Ot):Mt>15&&(Pt=1===ZC._i_(Ot)||10===ZC._i_(Ot)||15===ZC._i_(Ot)||20===ZC._i_(Ot)||25===ZC._i_(Ot));break;case"hr":Mt>45?Pt=ZC._i_(Ot)%12==0:Mt>30?Pt=ZC._i_(Ot)%6==0:Mt>15&&(Pt=ZC._i_(Ot)%3==0);break;case"min":case"sec":Mt>45?Pt=ZC._i_(Ot)%30==0:Mt>30?Pt=ZC._i_(Ot)%10==0:Mt>15&&(Pt=ZC._i_(Ot)%5==0)}Pt&&(Jt(e,!0),Dn=Ot)}}rt.AO&&(rt.K=y.K+"-ticks",ZC.CQ.paint(m,rt,et))}else for(y.GW=0,Jt(y.W),y.GW=y.A1-y.W,Jt(y.A1),y.GW=1,e=y.W+1;e0&&ZC.AM(y.A.A.K+"-map")&&(ZC.AM(y.A.A.K+"-map").innerHTML+=tt.join("")),null!==ZC._n_(y.o.transform)&&"date"===y.o.transform.type&&y.paintTransformDate()}function $t(wt){return(wt=(wt=(wt=(wt=(wt=wt.replace(/%scale-last-position/g,y.A1-y.W)).replace(/(%c)|(%scale-position)/g,y.GW)).replace(/(%i)|(%scale-index)/g,y.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(y.V[y.KD])?y.V[y.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(y.BZ[y.KD])?y.BZ[y.KD]:"")).replace(/%scale-day-of-week/g,ZC.AR.Z0(y.V[y.KD],"%w",y.A.V0,y.A.NL))}function Jt(wt,Ln,Un,In){var Qr;if(y.KD=wt,D=wt-y.W,(y.BR.E5.length>0||wt===y.W||!Me||y.BR.I4||Un)&&(Me=new DV(y)),Me.copy(y.BR),Me.GO=y.K+"-item "+y.A.K+"-scale-item zc-scale-item",Me.K=y.A.K+"-"+y.BI.replace(/\-/g,"_")+"-item_"+(In?"c"+In:wt),Me.E["p-width"]=y.AB,y.CI=$e,y.DQ=ot,Un||y.WC($t),Qr=Ln?ZC.AR.Z0(wt,Bt,y.A.V0,y.A.NL):In||y.FD(wt,null,null),!Un&&y.BR.I4){var yo=y.A.GS();ZC._cp_({index:wt,cnt:D,text:Qr},yo),y.GN(y.BR,Me,null,yo,y.BR.MV)}if(!(null!==ZC._n_(y.M6)&&-1===ZC.AV(y.M6,Qr)||(Me.AN=Qr,Me.Z=Me.C7=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-ml-0-c"),Me.IW=y.H.usc()?ZC.AM(y.H.K+"-main"):ZC.AM(y.H.K+"-text"),Me.E.nodeidx=wt,Me.parse(),y.BR.A2P&&y.BR.AA%180==0&&(Me.o[ZC._[19]]=ZC._i_(.9*y.AB),Me.parse()),"inherit"!==y.BR.o["font-color"]&&"inherit"!==y.BR.o.color||-1===ee||(Me.C2=ee),Un||(Me.IX=$t,Me.DC()&&Me.parse()),Me.o["auto-fit"]&&(Me.I=ZC._i_(y.AB)),Ln?(M=y.AK(wt),Me.iX=M-Me.I/2-(y.DE?y.AB/2:0)):Un?(M=y.AK(wt),Me.iX=M-Me.I/2):"log"===y.BT?(M=y.AK(y.V[wt]),Me.iX=M-Me.I/2+(y.DE?y.AB/2:0)*(y.AW?-1:1)):y.AW?(M=y.iX+y.I-y.A9-D*y.AB,Me.iX=M-Me.I/2-(y.DE?y.AB/2:0)):(M=y.iX+y.A9+D*y.AB,Me.iX=M-Me.I/2+(y.DE?y.AB/2:0)),My.iX+y.I+1))){if(y.A.B9&&y.A.B9.BZ&&y.A.B9.IJ){for(var Li=!1,Nr=0;Nr10*ZC.SEC&&(f=2),R>30*ZC.SEC&&(f=5),R>60*ZC.SEC&&(f=10)):2*ZC.MIN10*ZC.MIN&&(f=2),R>30*ZC.MIN&&(f=5),R>60*ZC.MIN&&(f=10)):2*ZC.HR6*ZC.HR&&(f=2),R>12*ZC.HR&&(f=4),R>24*ZC.HR&&(f=6)):2*ZC.DAY12*ZC.DAY&&(_=[1,5,9,13,17,21,25,29]),R>24*ZC.DAY&&(_=[1,6,11,16,21,26])):2*ZC.MON9*ZC.MON&&(_=[1,4,7,10])):(a="%Y",c="%Y",R>9*ZC.YR&&(f=3),R>16*ZC.YR&&(f=4),R>25*ZC.YR&&(f=5))}(h.V[h.A1]-h.V[h.W]);var m=null,v=[],E=!1,w=!1;function D(T){var R,V;if(null!==ZC._n_(h.V[T])&&""!==h.V[T]){h.O6&&T!==h.W&&T!==h.A1&&null!==ZC._n_(h.V[T-1])&&""!==h.V[T-1]&&ZC._n_(h.V[T]);var $=ZC.AR.Z0(h.V[T],a,h.A.V0,h.A.NL);if($!==m&&ZC._i_($)%f==0&&(0===_.length||-1!==ZC.AV(_,ZC._i_($)))){var y,U=!0,O=T-h.W;R=h.AW?h.iX+h.I-h.A9-O*h.AB:h.iX+h.A9+O*h.AB+(h.DE?h.AB/2:0);var Q=new DV(h);h.H.B8.load(Q.o,"graph.SCALE.transform[date].item"),null!==ZC._n_(y=h.o.transform.item)&&Q.append(y),Q.GO=h.K+"-item "+h.A.K+"-scale-item zc-scale-item",Q.K=h.K+"-date-item-"+T;var W=ZC.AR.Z0(h.V[T],c,h.A.V0,h.A.NL);Q.AN=W,Q.Z=Q.C7=h.H.usc()?h.H.mc():ZC.AM(h.A.K+"-scales-ml-0-c"),Q.IW=h.H.usc()?ZC.AM(h.H.K+"-main"):ZC.AM(h.H.K+"-text"),Q.parse(),Q.iX=h.AW?R-Q.I/2-(h.DE?h.AB/2:0):R,Q.iY=h.iY,h.A.AJ["3d"]&&(h.A.NS(),V=new CE(h.A,Q.iX+Q.I/2-ZC.AQ.E3,Q.iY+Q.F/2-ZC.AQ.E4,0),Q.iX=V.EC[0]-Q.I/2,Q.iY=V.EC[1]-Q.F/2);var ae=[Q.iX+Q.BL,Q.iY+Q.BH,Q.I,Q.F];if(Q.AA%180==90&&(ae=[Q.iX+Q.BL+Q.I/2-Q.F/2,Q.iY+Q.BH+Q.F/2-Q.I/2,Q.F,Q.I]),h.A.B9&&h.A.B9.IJ){for(var ee=!1,ne=0;ne=h.iX&&Q.iX+Q.I<=h.iX+h.I&&h.A.B9.BZ.push({x:ZC._i_(Q.iX),text:Q.AN})}if(Q.AO&&E){if(U=!0,!h.A0U){if(T===h.W||T===h.A1)U=!0;else for(var oe=0,te=v.length;oeh.iX+h.BL+h.I&&(U=!1)}if(U){v.push(ae),Q.paint(),Q.ED();var le=new CZ(h);null!==ZC._n_(y=h.o.transform.guide)&&le.append(y),le.B1=1,le.B7="#ccc",le.parse();var ce=[];if(ce.push([R,h.iY],[R,h.iY+h.F]),h.A.AJ["3d"]){h.A.NS();for(var Ce=0,se=ce.length;Ce0&&(E=!1,null!==ZC._n_(t=h.o.transform.item)&&(E=!(null!==ZC._n_(t.visible)&&!ZC._b_(t.visible))),w=!1,h.A.B9&&h.A.B9.BZ&&(w=!0),E||w)){D(h.W),D(h.A1);for(var M=h.W+1;M0;ve--)O.iStepMultiplier>ve&&O.A1-O.W<=ve*O.iStepMultiplier&&(pe=ve);me*=pe;var ke=0,de=O.AB*(Ze*=pe)/(O.G0+1);if(h=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-ml-0-c"),_=ZC.Q.EA(h,O.H.AC),f=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-bl-0-c"),m=ZC.Q.EA(f,O.H.AC),O.TN||O.Z4||null!==ZC._n_(O.A.o[O.BI])){if("inherit"===O.o["line-color"]&&-1!==Q&&(O.B7=Q),O.A.AJ["3d"]){if((M=ZC.DJ.DB(O,O.A,c-ZC.AQ.E3,c-ZC.AQ.E3,O.iY-ZC.AQ.E4,O.iY-ZC.AQ.E4+O.F,-1,ZC.AQ.FY+1,"y")).K=O.K+"-line",O.A.EZ.true3d&&(M.MO=O.A.EZ[ZC._[28]]>0?[1===O.L?-100:100,1,1]:[1===O.L?100:-100,1,1]),O.A.CL.add(M),null!==ZC._n_(O.o.axis)){var Oe=new CZ(O);Oe.append(O.o.axis),Oe.parse(),Oe.A0=Oe.AE=Oe.B7,(M=ZC.DJ.DB(Oe,O.A,c-ZC.AQ.E3,c-ZC.AQ.E3,O.iY-ZC.AQ.E4,O.iY-ZC.AQ.E4+O.F,-Oe.B1/2,Oe.B1/2,"y")).K=O.K+"-axis",O.A.CL.add(M)}}else{E=[[ge,O.iY+O.F],[ge,O.iY]];var Fe=O.K;O.K+="-line",ZC.CQ.paint(_,O,E),O.K=Fe}var be=0,Se=0,xe=[],we=[];if(O.TN||O.Z4){if(O.V.length>0&&O.D6.AO){var Re=null===ZC._n_(O.D6.o["offset-start"])?0:ZC._i_(O.D6.o["offset-start"]),Ie=null===ZC._n_(O.D6.o["offset-end"])?0:ZC._i_(O.D6.o["offset-end"]);if(O.D6.o.items&&O.D6.o.items.length>0&&!O.A.AJ["3d"])for(O.GW=0,T=new I7(O),e=O.W;e0)for(O.GW=0,e=O.W;e<=O.A1+(O.DE?1:0);e++)if(O.KD=e,e===O.W||e===O.A1||e%Ze==0){(O.D6.E5.length>0||e===O.W||"log"===O.BT)&&((D=new CZ(O)).Z=D.C7=f,"log"===O.BT?ZC.AP._int_(ZC.FU(O.V[e],O.DU))?D.copy(O.D6):D.copy(O.G9):D.copy(O.D6),D.IX=et,D.DC()&&D.parse()),E=[],w=e-O.W;var We=O.iX+Re,Te=O.I-Re-Ie;if(v=O.AK(O.V[e]),D.AO)if(O.A.AJ["3d"]){var ze=new CZ(O);ze.copy(D),null!==ZC._n_(O.o["scale-z"])&&null!==ZC._n_(t=O.o["scale-z"].guide)&&(ze.append(t),ze.parse()),ze.A0=ze.AE=ze.B7,M=ZC.DJ.DB(ze,O.A,c-ZC.AQ.E3,c-ZC.AQ.E3,v-ZC.AQ.E4-ze.B1/2,v-ZC.AQ.E4+ze.B1/2,0,ZC.AQ.FY,"y"),O.A.CL.add(M),D.A0=D.AE=D.B7,(M=ZC.DJ.DB(D,O.A,We-ZC.AQ.E3,We-ZC.AQ.E3+Te,v-ZC.AQ.E4-D.B1/2,v-ZC.AQ.E4+D.B1/2,ZC.AQ.FY+2,ZC.AQ.FY+2,"x")).K=O.K+"-guide-"+e,O.A.CL.add(M)}else E.push([We,v],[We+Te,v]),D.K=O.K+"-guide-"+e,ZC.CQ.paint(m,D,E);O.GW++}}if(O.V.length>0&&O.G9.AO&&de>2&&!O.A.AJ["3d"]){if(O.G9.o.items&&O.G9.o.items.length>0)for(T=new I7(O),e=O.W;e0&&"log"!==O.BT)for(e=O.W;e0&&O.J3.AO){switch(O.J3.o[ZC._[7]]){case"inner":break;case"outer":ke+=fe;break;default:ke+=fe/2}for(O.GW=0,$=ZC.AV(O.V,0),e=O.W;e<=O.A1+(O.DE?1:0);e++){O.KD=e;var nt=-1;if((e===O.W||e===O.A1||e%Ze==0||ZC._b_(O.o["show-zero"])&&e===$)&&(E=[],w=e-O.W,(O.J3.E5.length>0||e===O.W||"log"===O.BT)&&(D=new CZ(O),"log"===O.BT?ZC.AP._int_(ZC.FU(O.V[e],O.DU))?D.copy(O.J3):(D.copy(O.IK),nt=fe,fe=ie):D.copy(O.J3),"inherit"===O.J3.o["line-color"]&&-1!==Q&&(D.B7=Q),D.IX=et,D.DC()&&D.parse()),v=O.AK(O.V[e]),ZC.DM(v,O.A.P.iY,O.A.P.iY+O.A.P.F))){switch(D.o[ZC._[7]]){case"ref-right":E.push([le,v],[le+fe,v]);break;case"ref-left":E.push([le,v],[le-fe,v]);break;case"ref-auto":E.push([le-fe/2,v],[le+fe/2,v]);break;case"inner":E.push([c,v],[c+(te?fe:-fe),v]);break;case"outer":E.push([c,v],[c-(te?fe:-fe),v]);break;default:E.push([c+fe/2,v],[c-fe/2,v])}if(-1!==nt&&(fe=nt,nt=-1),D.AO){for(lt=ZC._i_(D.o["offset-x"]||"0"),Ee=ZC._i_(D.o["offset-y"]||"0"),Ve=0;Ve0&&O.IK.AO&&O.G0>0&&de>5&&!O.A.AJ["3d"]&&"log"!==O.BT)for(e=O.W;e0||rt===O.W||!y||O.BR.I4)&&(y=new DV(O)),y.copy(O.BR),y.GO=O.K+"-item "+O.A.K+"-scale-item zc-scale-item",y.K=O.A.K+"-"+O.BI.replace(/\-/g,"_")+"-item_"+rt,O.CI=Ae,O.DQ=He,O.WC(et),Bt=O.FD(("piano"===O.A.AF||O.QF)&&O.BZ.length?rt+O.AY:rt),O.BR.I4){var It=O.A.GS();ZC._cp_({index:rt,cnt:w,text:Bt},It),O.GN(O.BR,y,null,It,O.BR.MV)}if(null===ZC._n_(O.M6)||-1!==ZC.AV(O.M6,Bt)){switch(y.AN=Bt,y.Z=y.C7=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-ml-0-c"),y.IW=O.H.usc()?ZC.AM(O.H.K+"-main"):ZC.AM(O.H.K+"-text"),y.parse(),"inherit"!==O.BR.o["font-color"]&&"inherit"!==O.BR.o.color||-1===Q||(y.C2=Q),y.IX=et,y.DC()&&y.parse(),y.o[ZC._[7]]){case"ref-left":y.iX=le-y.I-fe;break;case"ref-right":y.iX=le+fe;break;case"ref-auto":ce&&ce.R[rt]?(ce.FK(rt).setup(),y.iX=ce.FK(rt).iX0&&O.BR.AO)if("log"===O.BT){var at=[];for(e=O.W;e<=O.A1;e++)ZC.AP._int_(ZC.FU(O.V[e],O.DU))&&(O.GW=e,Me(e),at.push(e));for(e=O.W;e<=O.A1;e++)-1===ZC.AV(at,e)&&(O.GW=e,Me(e))}else for(O.GW=0,Me(O.W),O.GW=O.A1-O.W,Me(O.A1),-1!==($=ZC.AV(O.V,0))&&ZC._b_(O.o["show-zero"])&&(O.GW=$,Me($)),O.GW=1,e=O.W+1;e0&&ZC.AM(O.A.A.K+"-map")&&(ZC.AM(O.A.A.K+"-map").innerHTML+=we.join(""))}}function et(rt){return(rt=(rt=(rt=(rt=rt.replace(/%scale-last-position/g,O.A1-O.W)).replace(/(%c)|(%scale-position)/g,O.GW)).replace(/(%i)|(%scale-index)/g,O.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(O.V[O.KD])?O.V[O.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(O.BZ[O.KD])?O.BZ[O.KD]:"")}}}class VG extends A4J{constructor(t){super(t),this.CJ=!0}parse(){super.parse()}H2(){var t=this;t.AB=t.A1===t.W?t.F-t.A9-t.BS:(t.F-t.A9-t.BS)/(t.A1-t.W+(t.DE?1:0))}HG(t){super.HG(t),this.H2()}clear(){}build(){super.build()}zoomTo(t,e){super.zoomTo(t,e),this.H2()}L4(t){var e,a=this;e=a.AW?(t-a.iY-a.A9)/(a.F-a.A9-a.BS):(a.iY+a.F-a.A9-t)/(a.F-a.A9-a.BS);var c=a.AY,h=a.BD;"log"===a.BT&&(c=ZC.FU(c,a.DU),h=ZC.FU(h,a.DU));var _=c+ZC._f_((h-c)*e);return"log"===a.BT&&(_=Math.pow(a.DU,_)),_}N4(t,e,a){var c,h,_,f,m=this;typeof a===ZC._[31]&&(a=!1);var v=m.DE?m.AB:0;_=m.AW?(t-m.iY-m.A9-v/2)/(m.F-m.A9-m.BS-v):(m.iY+m.F-t-m.A9-v/2)/(m.F-m.A9-m.BS-v);var E=!1;if(e)for(f in e.KC){E=!0;break}if(e&&!m.O6&&E){var w=m.V[m.W];"string"==typeof w&&(w=ZC.AV(m.J2,w)),"log"===m.BT&&(w=ZC.FU(w,m.DU));var D=m.V[m.A1];"string"==typeof D&&(D=ZC.AV(m.J2,D)),"log"===m.BT&&(D=ZC.FU(D,m.DU));var M=w+ZC._f_((D-w)*_);"log"===m.BT&&(M=Math.pow(m.DU,M));var T=ZC.MAX;for(f in h=null,e.KC)(c=Math.abs(f-M))e.A30){var R=Math.ceil((D-w)/(m.I-m.A9-m.BS));if(e.V.length<2&&(R*=100),T>R)return null}return h}var V=m.W,$=m.A1;return m.EG&&(null!==ZC._n_(c=m.V[V])&&(V=c),null!==ZC._n_(c=m.V[$])&&($=c)),"log"===m.BT&&(V=ZC.FU(V,m.DU),$=ZC.FU($,m.DU)),h=a?m.DE?V+($-V+1)*_:V+($-V)*_:m.W+(m.A1-m.W)*_,"log"===m.BT?(h=Math.pow(m.DU,h),h=Math.floor(h)-1):(h=ZC._i_(h),h=ZC.BQ(0,h),h=ZC.CX(m.DN,h)),h}H7(t){var e=this;return"log"===e.BT&&(t=ZC.FU(t+1,e.DU)),e.AW?e.iY+e.A9+(t-e.W)*e.AB+(e.DE?e.AB/2:0):e.iY+e.F-e.A9-(t-e.W)*e.AB-(e.DE?e.AB/2:0)}AK(t){var e,c,h,_,f=this;if("log"===f.BT&&(0===t&&(t=f.AY),t=ZC.FU(t,f.DU)),f.O6)return f.H7(f.UO[t]);if(-1!==(e=ZC.AV(f.J2,t)))return f.H7(e);if(!f.A5A&&(f.EG||f.F7&&"date"===f.F7.o.type)){h=f.V[f.W],_=f.V[f.A1];var v=f.F;return"log"===f.BT&&(h=ZC.FU(h,f.DU),_=ZC.FU(_,f.DU),f.W===f.D5&&f.A1===f.DN&&(v=(f.A1-f.W)*f.AB+f.A9+f.BS)),c=_===h?0:(v-f.A9-f.BS-(f.DE?f.AB:0))/(_-h),f.AW?f.iY+f.A9+(t-h)*c+(f.DE?f.AB/2:0):f.iY+v-f.A9-(t-h)*c-(f.DE?f.AB/2:0)}return h=f.AY,_=f.BD,"log"===f.BT&&(h=ZC.FU(h,f.DU),_=ZC.FU(_,f.DU)),c=_===h?0:(f.F-f.A9-f.BS)/(_-h+(f.DE?1:0)),f.AW?f.iY+f.A9+(t-h)*c+(f.DE?f.AB/2:0):f.iY+f.F-f.A9-(t-h)*c-(f.DE?f.AB/2:0)}paint(){var t,e,a,c,h,_,f,m,v,E,w,D,M,T,R,V,y=this;if(y.AO){super.paint(),null!==ZC._n_(y.A.A.E[y.BI+"-feed-offset-start"])&&(y.A9=y.A.A.E[y.BI+"-feed-offset-start"]),"hbubble"!==y.A.AF&&"hscatter"!==y.A.AF||(-1===y.A9&&-1===y.BS||1===y.V.length)&&(y.A9=y.BS=y.F/(y.V.length+1),y.H2());var U=y.YE(),O=0,Q=1,W=1,ae={};for(e=0,a=y.A.BO.length;e0;Ze--)y.iStepMultiplier>Ze&&y.A1-y.W<=Ze*y.iStepMultiplier&&(me=Ze);ge*=me;var pe,ve,ke,de=0,Oe=y.AB*(De*=me)/(y.G0+1);if(null===ZC._n_(oe)&&(oe=h),_=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-ml-0-c"),f=ZC.Q.EA(_,y.H.AC),m=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-bl-0-c"),v=ZC.Q.EA(m,y.H.AC),"inherit"===y.o["line-color"]&&-1!==U&&(y.B7=U),y.A.AJ["3d"])(T=ZC.DJ.DB(y,y.A,h-ZC.AQ.E3,h-ZC.AQ.E3,y.iY-ZC.AQ.E4,y.iY-ZC.AQ.E4+y.F,-1,ZC.AQ.FY+1,"y")).K=y.K+"-line",y.A.EZ.true3d&&(T.MO=y.A.EZ[ZC._[27]]>0?[1===y.L?-100:100,1,1]:[1===y.L?100:-100,1,1]),y.A.CL.add(T);else{w=[[ie,y.iY+y.F],[ie,y.iY]];var Fe=y.K;y.K+="-line",ZC.CQ.paint(f,y,w),y.K=Fe}if(y.V.length>0&&y.D6.AO){var be=null===ZC._n_(y.D6.o["offset-start"])?0:ZC._i_(y.D6.o["offset-start"]),Se=null===ZC._n_(y.D6.o["offset-end"])?0:ZC._i_(y.D6.o["offset-end"]);if(y.D6.o.items&&y.D6.o.items.length>0&&!y.A.AJ["3d"])for(R=new I7(y),e=y.W;e0)for(y.GW=0,e=y.W;e<=y.A1+(y.DE?1:0);e++)if(y.KD=e,e===y.W||e===y.A1+(y.DE?1:0)||(e-y.W)%De==0){(y.D6.E5.length>0||e===y.W)&&((M=new CZ(y)).Z=M.C7=m,M.copy(y.D6),M.IX=at,M.DC()&&M.parse()),E=e-y.W,w=[],D=y.AW?y.iY+y.A9+E*y.AB:y.iY+y.F-y.A9-E*y.AB;var xe=y.iX+be,we=y.I-be-Se;if(M.AO)if(y.A.AJ["3d"]){var Re=new CZ(y);Re.copy(M),null!==ZC._n_(y.o["scale-z"])&&null!==ZC._n_(t=y.o["scale-z"].guide)&&(Re.append(t),Re.parse()),Re.A0=Re.AE=Re.B7,T=ZC.DJ.DB(Re,y.A,h-ZC.AQ.E3,h-ZC.AQ.E3,D-ZC.AQ.E4-Re.B1/2,D-ZC.AQ.E4+Re.B1/2,0,ZC.AQ.FY,"z"),y.A.CL.add(T),M.A0=M.AE=M.B7,(T=ZC.DJ.DB(M,y.A,xe-ZC.AQ.E3,xe-ZC.AQ.E3+we,D-ZC.AQ.E4-Re.B1/2,D-ZC.AQ.E4+Re.B1/2,ZC.AQ.FY+2,ZC.AQ.FY+2,"x")).K=y.K+"-guide-"+e,y.A.CL.add(T)}else w.push([xe,D],[xe+we,D]),M.K=y.K+"-guide-"+e,ZC.CQ.paint(v,M,w);y.GW++}}if(y.V.length>0&&y.G9.AO&&!y.A.AJ["3d"]){if(y.G9.o.items&&y.G9.o.items.length>0)for(R=new I7(y),e=y.W;e0)for(e=y.W;e0&&y.J3.AO&&(!y.A.AJ["3d"]||!y.A.EZ.true3d)){switch(y.J3.o[ZC._[7]]){case"inner":break;case"outer":de+=se;break;default:de+=se/2}for(y.GW=0,e=y.W;e<=y.A1+(y.DE?1:0);e++)if(y.KD=e,e===y.W||e===y.A1+(y.DE?1:0)||(e-y.W)%De==0){switch(w=[],E=e-y.W,(y.J3.E5.length>0||e===y.W)&&((M=new CZ(y)).copy(y.J3),"inherit"===y.J3.o["line-color"]&&-1!==U&&(M.B7=U),M.IX=at,M.DC()&&M.parse()),D=y.AW?y.iY+y.A9+E*y.AB:y.iY+y.F-y.A9-E*y.AB,M.o[ZC._[7]]){case"ref-auto":w.push([oe-se/2,D],[oe+se/2,D]);break;case"ref-left":w.push([oe-se,D],[oe,D]);break;case"ref-right":w.push([oe+se,D],[oe,D]);break;case"inner":w.push([h,D],[h+(ne?se:-se),D]);break;case"outer":w.push([h,D],[h-(ne?se:-se),D]);break;default:w.push([h+se/2,D],[h-se/2,D])}if(M.AO){for(ve=ZC._i_(M.o["offset-x"]||"0"),ke=ZC._i_(M.o["offset-y"]||"0"),pe=0;pe0&&y.G0>0&&y.IK.AO&&!y.A.AJ["3d"])for(e=y.W;e1&&y.BR.AO)for(y.GW=0,$e(y.W),y.GW=y.A1-y.W,$e(y.A1),y.GW=1,e=y.W+1;e0&&ZC.AM(y.A.A.K+"-map")&&(ZC.AM(y.A.A.K+"-map").innerHTML+=Qe.join(""))}}function at(ot){return(ot=(ot=(ot=(ot=ot.replace(/%scale-last-position/g,y.A1-y.W)).replace(/(%c)|(%scale-position)/g,y.GW)).replace(/(%i)|(%scale-index)/g,y.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(y.V[y.KD])?y.V[y.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(y.BZ[y.KD])?y.BZ[y.KD]:"")}function $e(ot,et,rt){var Bt;if(y.KD=ot,E=ot-y.W,(y.BR.E5.length>0||ot===y.W||!Ie||y.BR.I4)&&(Ie=new DV(y)),Ie.copy(y.BR),Ie.K=y.A.K+"-"+y.BI.replace(/\-/g,"_")+"-item_"+(rt?"c"+rt:ot),Ie.GO=y.K+"-item "+y.A.K+"-scale-item zc-scale-item",Ie.E["p-height"]=y.AB,y.CI=Ve,y.DQ=lt,y.WC(at),Bt=rt||y.FD(ot),y.BR.I4){var It=y.A.GS();ZC._cp_({index:ot,cnt:E,text:Bt},It),y.GN(y.BR,Ie,null,It,y.BR.MV)}if(null===ZC._n_(y.M6)||-1!==ZC.AV(y.M6,Bt)){switch(Ie.AN=Bt,Ie.Z=Ie.C7=y.H.usc()?y.H.mc():ZC.AM(y.A.K+"-scales-ml-0-c"),Ie.IW=y.H.usc()?ZC.AM(y.H.K+"-main"):ZC.AM(y.H.K+"-text"),Ie.E.nodeidx=ot,Ie.parse(),"inherit"!==y.BR.o["font-color"]&&"inherit"!==y.BR.o.color||-1===U||(Ie.C2=U),Ie.IX=at,Ie.DC()&&Ie.parse(),Ie.o["auto-fit"]&&(Ie.F=ZC._i_(y.AB)),Ie.o[ZC._[7]]){case"inner":Ie.iX=ne?h+se:h-Ie.I-se;break;case"ref-left":Ie.iX=oe-Ie.I-se;break;case"ref-right":Ie.iX=oe+se;break;case"ref-auto":te&&te.R[ot]?(te.R[ot].setup(),Ie.iX=te.R[ot].iX0;Ze--)O.iStepMultiplier>Ze&&O.A1-O.W<=Ze*O.iStepMultiplier&&(me=Ze);De*=me;var pe=0,ve=O.AB*(ge*=me)/(O.G0+1);if(h=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-ml-0-c"),_=ZC.Q.EA(h,O.H.AC),f=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-bl-0-c"),m=ZC.Q.EA(f,O.H.AC),O.TN||O.Z4||null!==ZC._n_(O.A.o[O.BI])){if("inherit"===O.o["line-color"]&&-1!==Q&&(O.B7=Q),O.A.AJ["3d"])(M=ZC.DJ.DB(O,O.A,O.iX-ZC.AQ.E3,O.iX-ZC.AQ.E3+O.I,c-ZC.AQ.E4,c-ZC.AQ.E4,-1,ZC.AQ.FY+1,"x")).K=O.K+"-line",O.A.EZ.true3d&&(M.MO=O.A.EZ[ZC._[28]]>0?[1===O.L?-100:100,1,1]:[1===O.L?100:-100,1,1]),O.A.CL.add(M);else{v=[[O.iX,ie],[O.iX+O.I,ie]];var ke=O.K;O.K+="-line",ZC.CQ.paint(_,O,v),O.K=ke}var de=[],Oe=0,Fe=0,be=[];if(O.TN||O.Z4){if(O.V.length>0&&O.D6.AO){var Se=null===ZC._n_(O.D6.o["offset-start"])?0:ZC._i_(O.D6.o["offset-start"]),xe=null===ZC._n_(O.D6.o["offset-end"])?0:ZC._i_(O.D6.o["offset-end"]);if(O.D6.o.items&&O.D6.o.items.length>0&&!O.A.AJ["3d"])for(O.GW=0,$=new I7(O),e=O.W;e0)for(O.GW=0,e=O.W;e<=O.A1+(O.DE?1:0);e++)if(O.KD=e,e===O.W||e===O.A1||e%ge==0){(O.D6.E5.length>0||e===O.W||"log"===O.BT)&&((D=new CZ(O)).Z=D.C7=f,"log"===O.BT?ZC.AP._int_(ZC.FU(O.V[e],O.DU))?D.copy(O.D6):D.copy(O.G9):D.copy(O.D6),D.IX=He,D.DC()&&D.parse()),v=[],E=e-O.W;var Re=O.iY+Se,Ie=O.F-Se-xe;if(w=O.AK(O.V[e]),D.AO)if(O.A.AJ["3d"]){var Ne=new CZ(O);Ne.copy(D),null!==ZC._n_(O.o["scale-z"])&&null!==ZC._n_(t=O.o["scale-z"].guide)&&(Ne.append(t),Ne.parse()),Ne.A0=Ne.AE=Ne.B7,M=ZC.DJ.DB(Ne,O.A,w-ZC.AQ.E3-Ne.B1/2,w-ZC.AQ.E3+Ne.B1/2,c-ZC.AQ.E4,c-ZC.AQ.E4,0,ZC.AQ.FY,"z"),O.A.CL.add(M),D.A0=D.AE=D.B7,(M=ZC.DJ.DB(D,O.A,w-ZC.AQ.E3-D.B1/2,w-ZC.AQ.E3+D.B1/2,Re-ZC.AQ.E4,Re-ZC.AQ.E4+Ie,ZC.AQ.FY+2,ZC.AQ.FY+2,"y")).K=O.K+"-guide-"+e,O.A.CL.add(M)}else v.push([w,Re],[w,Re+Ie]),D.K=O.K+"-guide-"+e,ZC.CQ.paint(m,D,v);O.GW++}}if(O.V.length>0&&O.G9.AO&&ve>2&&!O.A.AJ["3d"]){if(O.G9.o.items&&O.G9.o.items.length>0)for($=new I7(O),e=O.W;e0&&"log"!==O.BT)for(e=O.W;e0&&O.J3.AO&&(!O.A.AJ["3d"]||!O.A.EZ.true3d)){switch(O.J3.o[ZC._[7]]){case"inner":break;case"outer":pe+=se;break;default:pe+=se/2}for(O.GW=0,y=ZC.AV(O.V,0),e=O.W;e<=O.A1+(O.DE?1:0);e++){O.KD=e;var Ve=-1;if((e===O.W||e===O.A1||e%ge==0||ZC._b_(O.o["show-zero"])&&e===y)&&(v=[],E=e-O.W,(O.J3.E5.length>0||e===O.W||"log"===O.BT)&&(D=new CZ(O),"log"===O.BT?ZC.AP._int_(ZC.FU(O.V[e],O.DU))?D.copy(O.J3):(D.copy(O.IK),Ve=se,se=he):D.copy(O.J3),"inherit"===O.J3.o["line-color"]&&-1!==Q&&(D.B7=Q),D.IX=He,D.DC()&&D.parse()),w=O.AK(O.V[e]),ZC.DM(w,O.A.P.iX,O.A.P.iX+O.A.P.I))){switch(D.o[ZC._[7]]){case"inner":v.push([w,c-(te?se:-se)],[w,c]);break;case"outer":v.push([w,c],[w,c+(te?se:-se)]);break;default:v.push([w,c+se/2],[w,c-se/2])}if(-1!==Ve&&(se=Ve,Ve=-1),D.AO){for(Te=ZC._i_(D.o["offset-x"]||"0"),ze=ZC._i_(D.o["offset-y"]||"0"),We=0;We0&&O.IK.AO&&O.G0>0&&ve>5&&!O.A.AJ["3d"]&&"log"!==O.BT)for(e=O.W;e0||Me===O.W||!U||O.BR.I4)&&(U=new DV(O)),U.copy(O.BR),U.GO=O.K+"-item "+O.A.K+"-scale-item zc-scale-item",U.K=O.A.K+"-"+O.BI.replace(/\-/g,"_")+"-item_"+Me,O.CI=Ee,O.DQ=nt,O.WC(He),at=O.FD(("piano"===O.A.AF||O.QF)&&O.BZ.length?Me+O.AY:Me),O.BR.I4){var $e=O.A.GS();ZC._cp_({index:Me,cnt:E,text:at},$e),O.GN(O.BR,U,null,$e,O.BR.MV)}if(null===ZC._n_(O.M6)||-1!==ZC.AV(O.M6,at)){if(U.iY="inner"===(U.AN=at,U.Z=U.C7=O.H.usc()?O.H.mc():ZC.AM(O.A.K+"-scales-ml-0-c"),U.IW=O.H.usc()?ZC.AM(O.H.K+"-main"):ZC.AM(O.H.K+"-text"),U.parse(),"inherit"!==O.BR.o["font-color"]&&"inherit"!==O.BR.o.color||-1===Q||(U.C2=Q),U.IX=He,U.E5=O.BR.E5,U.DC()&&U.parse(),U.o[ZC._[7]])?te?c-U.KL-se:c+se:te?c+se:c-U.KL-se,U.iX="log"===O.BT?O.AK(O.V[Me])-U.I/2:O.AK(O.V[Me])-U.I/2-(O.AW?1:-1)*(O.DE?O.AB/2:0),lt=O.ME(U,lt,"h"),O.BR.o["auto-align"]&&O.BR.AA%180!=0){var ot=ZC.DM(O.BR.AA,0,180)?te?1:-1:1===te?-1:1;U.iX+=ot*U.I*ZC.EI(O.BR.AA)/2,U.iY+=ot*(U.I*ZC.EO(O.BR.AA)/2-U.F*ZC.EO(O.BR.AA)/2)}if(ZC.DM(U.iX+U.I/2,O.A.P.iX-1,O.A.P.iX+O.A.P.I+1)||O.A.AJ["3d"]){var et=O.UU(U,Me,{items:0,lcoords:de,lstep:De,tdim:Oe,mdim:Fe,dim:"h",html:be});Oe=et.tdim,Fe=et.mdim,O.GW++}}};if(O.V.length>0&&O.BR.AO)if("log"===O.BT){var Pe=[];for(e=O.W;e<=O.A1;e++)ZC.AP._int_(ZC.FU(O.V[e],O.DU))&&(O.GW=e,Ge(e),Pe.push(e));for(e=O.W;e<=O.A1;e++)-1===ZC.AV(Pe,e)&&(O.GW=e,Ge(e))}else for(O.GW=0,Ge(O.W),O.GW=O.A1-O.W,Ge(O.A1),-1!==(y=ZC.AV(O.V,0))&&ZC._b_(O.o["show-zero"])&&(O.GW=y,Ge(y)),O.GW=1,e=O.W+1;e0&&ZC.AM(O.A.A.K+"-map")&&(ZC.AM(O.A.A.K+"-map").innerHTML+=be.join(""))}}}function He(Me){return(Me=(Me=(Me=(Me=Me.replace(/%scale-last-position/g,O.A1-O.W)).replace(/(%c)|(%scale-position)/g,O.GW)).replace(/(%i)|(%scale-index)/g,O.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(O.V[O.KD])?O.V[O.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(O.BZ[O.KD])?O.BZ[O.KD]:"")}}}class YN extends A4J{constructor(t){super(t);var e=this;e.NU="",e.L0=1,e.H6=1,e.GM=0,e.GH=0,e.JM=.6}parse(){var t=this;super.parse(),t.iX+=t.DY,t.iY+=t.E7,t.I-=t.DY+t.E6,t.F-=t.E7+t.DR,t.YZ("layout","NU"),null!==ZC._n_(t.o["size-factor"])&&(t.JM=ZC._f_(ZC._p_(t.o["size-factor"])))}HG(t){var e=this;super.HG(t),0===e.V.length&&(e.V=[""]);var a=ZC.AP.A2Y(e.NU,e.V.length,!1);e.L0=a[0],e.H6=a[1],e.GM=e.I/e.H6,e.GH=e.F/e.L0}WZ(){var t=this;super.WZ(),t.GM=t.I/t.H6,t.GH=t.F/t.L0}clear(){}build(){super.build()}paint(){var t,e,a,c,h,_=this;if(_.AO){if(super.paint(),t=ZC.Q.EA(_.H.usc()?_.H.K+"-main-c":_.A.K+"-scales-ml-0-c",_.H.AC),e=ZC.Q.EA(_.H.usc()?_.H.K+"-main-c":_.A.K+"-scales-bl-0-c",_.H.AC),(a=[]).push([_.iX,_.iY],[_.iX+_.I,_.iY],[_.iX+_.I,_.iY+_.F],[_.iX,_.iY+_.F],[_.iX,_.iY]),ZC.CQ.paint(t,_,a),_.D6.AO){if(_.D6.o.items&&_.D6.o.items.length>0)for(c=0,h=_.V.length;c0){for(a=[],c=0;c<=_.H6;c++)a.push([_.iX+c*_.GM,_.iY],[_.iX+c*_.GM,_.iY+_.F],null);for(c=0;c<=_.L0;c++)a.push([_.iX,_.iY+c*_.GH],[_.iX+_.I,_.iY+c*_.GH],null);ZC.CQ.paint(e,_.D6,a)}}var w,D=[];if(_.BR.AO){for(c=0,h=_.V.length;c0&&ZC.AM(_.A.A.K+"-map")&&(ZC.AM(_.A.A.K+"-map").innerHTML+=D.join(""))}}function M(T){(_.BR.E5.length>0||0===T)&&(w=new DV(_)),w.copy(_.BR);var R=T%_.H6,V=Math.floor(T/_.H6);w.GO=_.K+"-item "+_.A.K+"-scale-item zc-scale-item",w.K=_.A.K+"-"+_.BI.replace(/\-/g,"_")+"-item_"+T;var $=_.FD(T);if((null===ZC._n_(_.M6)||-1!==ZC.AV(_.M6,$))&&(w.AN=$,w.Z=_.H.usc()?_.H.mc():ZC.AM(_.A.K+"-scales-ml-0-c"),w.parse(),w.IX=function(Q){return(Q=(Q=Q.replace(/%i/g,T)).replace(/%v/g,null!==ZC._n_(_.V[T])?_.V[T]:"")).replace(/%l/g,null!==ZC._n_(_.BZ[T])?_.BZ[T]:"")},w.E5=_.BR.E5,w.DC()&&w.parse(),w.AO)){var y="bottom";null!==ZC._n_(_.BR.o[ZC._[7]])&&(y=_.BR.o[ZC._[7]]);var U=_.iX+R*_.GM,O=_.iY+V*_.GH;switch(y){case"top-left":w.iX=U,w.iY=O;break;case"top-right":w.iX=U+_.GM-w.I,w.iY=O;break;case"bottom-left":w.iX=U,w.iY=O+_.GH-w.F;break;case"bottom-right":w.iX=U+_.GM-w.I,w.iY=O+_.GH-w.F;break;case"top":w.iX=U+_.GM/2-w.I/2,w.iY=O;break;case"right":w.iX=U+_.GM-w.I,w.iY=O+_.GH/2-w.F/2;break;case"left":w.iX=U,w.iY=O+_.GH/2-w.F/2;break;default:w.iX=U+_.GM/2-w.I/2,w.iY=O+_.GH-w.F}w.paint(),w.ED(),null===ZC._n_(_.o.tooltip)&&w.KI||D.push(ZC.AR.OI(_.A.K,w))}}}}class A9A extends A4J{constructor(t){super(t),this.DI=0,this.EK=360}parse(){var t,e=this;super.parse(),null!==ZC._n_(t=e.o["ref-angle"])&&(e.DI=ZC._i_(t)%360),null!==ZC._n_(t=e.o.aperture)&&(e.EK=ZC._i_(t)%360,0===e.EK&&(e.EK=360))}}class ABP extends A02{constructor(t){super(t)}parse(){super.parse()}H2(){}HG(t){super.HG(t),this.H2()}clear(){super.clear()}build(){super.build()}paint(){super.paint()}}class A8R extends ABP{constructor(t){super(t);var e=this;e.DI=-90,e.EK=180,e.QN=null,e.J5=null,e.CV="circle"}parse(){var t,e=this;super.parse(),null!==ZC._n_(t=e.o["ref-angle"])&&(e.DI=ZC._i_(t)%360),null!==ZC._n_(t=e.o.aperture)&&(e.EK=ZC._i_(t)),null!==ZC._n_(t=e.o.center)&&(e.QN=new DX(e),e.QN.append(t),e.QN.parse()),null!==ZC._n_(t=e.o.ring)&&(e.J5=new DX(e),e.H.B8.load(e.J5.o,[e.A.AF+"."+e.BI+".ring"]),e.J5.append(t),e.J5.parse())}HG(t){super.HG(t)}clear(){}build(){super.build()}AK(t){var e=this,a=e.A.BK("scale"),c=a.iX+a.I/2,h=a.iY+a.F/2,_=e.A.BK("scale-"+e.L);_||(_=e.A.BK("scale"));var f=ZC.CX(_.GM/2,_.GH/2)*_.JM;return ZC.AP.BN(c,h,f,e.DI-e.EK/2+e.EK/(e.BD-e.AY)*(t-e.AY))}H7(t){return this.AK(this.V[t])}paintMarker(t){var e,a=this;if(t.FB){var c,h=a.A.BK("scale-"+a.L);if(h||(h=a.A.BK("scale")),t.AO){var _=a.A.K+"-scales-"+("top"===t.BA?"f":"b")+"l-0-c";t.Z=t.C7=ZC.AM(a.H.usc()?h.H.K+"-main-c":_),c=ZC.Q.EA(t.Z,a.H.AC);var f=ZC.CX(h.GM/2,h.GH/2)*h.JM,m=ZC.IU(t.o["offset-start"]||"0");m>0&&m<1&&(m*=f);var v=ZC.IU(t.o["offset-end"]||"0");v>0&&v<1&&(v*=f),t.M&&(t.M.Z=a.H.usc()?a.H.mc():ZC.AM(a.A.K+"-scales-ml-0-c"),t.M.K=t.A.A.K+"-"+t.A.BI.replace(/\-/g,"_")+"-marker_"+t.L,t.M.GO=t.A.K+"-marker-label "+t.A.A.K+"-scale-marker-label zc-scale-marker-label");for(var E=0;E0){var V=a.DI-a.EK/2+a.EK*(t.FB[0]-a.AY)/(a.BD-a.AY);w=V;var $=[];$.push(ZC.AP.BN(T,R,m,V)),$.push(ZC.AP.BN(T,R,f-v,V)),2===$.length&&(ZC.CQ.setup(c,t),ZC.CQ.paint(c,t,$))}break;case"area":if(t.FB.length>1){var y=a.DI-a.EK/2+a.EK*(t.FB[0]-a.AY)/(a.BD-a.AY),U=a.DI-a.EK/2+a.EK*(t.FB[1]-a.AY)/(a.BD-a.AY);w=(y+U)/2;var O=new DX(t);O.Z=t.Z,O.append(t.o),O.append({size:f-v,slice:m,type:"pie","angle-start":y,"angle-end":U}),O.K=h.K+"-marker-"+t.L,O.iX=T,O.iY=R,O.parse(),O.paint()}}if(t.M){var Q;null!==ZC._n_(e=t.M.o["offset-r"])?Q=ZC._f_(ZC._p_(e)):Q<1?Q*=f-v-m:Q=0;var W=ZC.AP.BN(T,R,(f-v-m)/2+Q,w);t.M.iX=W[0]-t.M.I/2,t.M.iY=W[1]-t.M.F/2,t.M.paint()}}}}}paint(){var t,e,a,c,h,_,m,v,E=this;if(E.AO&&0!==E.V.length){E.AW&&E.V.reverse(),t=ZC.Q.EA(E.H.usc()?E.H.K+"-main-c":E.A.K+"-scales-bl-0-c",E.H.AC);var w=ZC._i_(E.J3.o[ZC._[21]]||8),D=ZC._i_(E.IK.o[ZC._[21]]||4),M=0,T=ZC.BQ(1,Math.ceil((E.A1-E.W)/(E.MC-1))),R=ZC.BQ(1,Math.ceil((E.A1-E.W)/(E.EH-1))),V=E.A.BK("scale-"+E.L);V||(V=E.A.BK("scale"));for(var $,y,U,O=ZC.CX(V.GM/2,V.GH/2)*V.JM,Q=E.EK/(E.V.length-1),W=0;W0)for(e=0;e0)for(e=0,a=E.V.length;e0&&E.G0>0)for(e=0,a=E.V.length;e0&&(h.paint(),360===E.EK&&(h.K=E.K+"-ring-inner",h.o[ZC._[21]]=O-c,h.parse(),h.paint())),E.J5.o.items&&E.J5.o.items.length>0||E.J5.o.rules))for(e=0;e0&&h.paint();if(E.J3.AO){for("outer"===E.J3.o[ZC._[7]]?M+=w:M+=w/2,_=[],e=0,a=E.V.length;e0){for(_=[],e=0,a=E.V.length;e0&&ZC.AM(E.A.A.K+"-map")&&(ZC.AM(E.A.A.K+"-map").innerHTML+=le.join(""))}}}function fe(ie){return(ie=(ie=(ie=ie.replace(/%i/g,e)).replace(/%k/g,e)).replace(/%v/g,null!==ZC._n_(E.V[e])?E.V[e]:"")).replace(/%l/g,null!==ZC._n_(E.BZ[e])?E.BZ[e]:"")}}paint_(){var t=this,e=t.A.BK("scale-"+t.L);e||(e=t.A.BK("scale"));for(var a=0;a0){var Q=0;for(a=0,c=v.V.length-(360===v.EK||v.DE?0:1);a0)for(a=0,c=v.V.length+(v.DE?1:0);a0&&ZC.AM(v.A.A.K+"-map")&&(ZC.AM(v.A.A.K+"-map").innerHTML+=ce.join(""))}}function Ce(he){return(he=(he=he.replace(/(%i)|(%scale-index)/g,a)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(v.V[a])?v.V[a]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(v.BZ[a])?v.BZ[a]:"")}function se(he){(v.BR.E5.length>0||0===he)&&(D=new DV(v)),D.copy(v.BR),D.GO=v.K+"-item "+v.A.K+"-scale-item zc-scale-item",D.K=v.A.K+"-"+v.BI.replace(/\-/g,"_")+"-item_"+he;var fe=v.FD(he);if(null===ZC._n_(v.M6)||-1!==ZC.AV(v.M6,fe)){D.AN=fe,D.Z=D.C7=v.H.usc()?v.H.mc():ZC.AM(v.A.K+"-scales-ml-0-c"),D.parse(),D.IX=function(me){return(me=(me=me.replace(/(%i)|(%scale-index)/g,he)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(v.V[he])?v.V[he]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(v.BZ[he])?v.BZ[he]:"")},D.E5=v.BR.E5,D.DC()&&D.parse();var ie=ZC.IU(D.DT,!0);if(ie>-1&&ie<1&&(ie*=V),m=v.DI+he*O+(v.DE?O/2:0),v.BR.o["auto-align"]){var De=1.25;1-ZC._a_(ZC.EI(m))>.7&&(De=2.5*(1-ZC._a_(ZC.EI(m))));var ge=(1-ZC._a_(ZC.EI(m)))*D.DG*De;le=ZC.AP.BN(y,U,V+ie+T+ge,m),ZC.EI(m)>0?(D.iX=le[0],D.iY=le[1]-D.F/2):(D.iX=le[0]-D.I,D.iY=le[1]-D.F/2)}else v.BR.o["auto-rotate"]?(le=ZC.AP.BN(y,U,V+ie+T+D.F/2,m),D.iX=le[0]-D.I/2,D.iY=le[1]-D.F/2,D.AA=m+90):(le=ZC.AP.BN(y,U,V+ie+T+ZC._a_(10*ZC.EO(m))+ZC._a_(D.I/2*ZC.EI(m)),m),D.iX=le[0]-D.I/2,D.iY=le[1]-D.F/2);D.AO&&(D.paint(),D.ED(),null===ZC._n_(v.o.tooltip)&&D.KI||(null!==ZC._n_(v.o.tooltip)&&(v.o.tooltip.text=v.o.tooltip.text||"%scale-value"),ce.push(ZC.AR.OI(v.A.K,D))))}}}}class A8U extends A02{constructor(t){super(t)}HZ(t){super.parse()}H2(){var t=this,e=t.A.BK("scale"),a=ZC.CX(e.I/2,e.F/2)*e.JM;t.AB=(a-t.A9-t.BS)/(t.A1-t.W)}HG(t){super.HG(t),this.H2()}TA(){var t=this,e=t.A.BK("scale"),a=ZC.CX(e.I/2,e.F/2)*e.JM;t.EH=ZC.BQ(2,ZC._i_((a-t.A9-t.BS)/20))}SU(t){var e=this,a=e.A.BK("scale");return(ZC.CX(a.I/2,a.F/2)*a.JM-e.A9-e.BS)/(e.BD-e.AY)*(t-e.AY)}AK(t){var e=this,a=e.SU(t),c=e.A.BK("scale-k"),h=e.A.BK("scale");return ZC.AP.BN(h.iX+h.I/2+h.BL,h.iY+h.F/2+h.BH,a,c.DI)}clear(){}build(){super.build()}paint(){var t,e,a,c,h,_,f,m=this;if(m.AO&&0!==m.V.length){super.paint(),t=ZC.Q.EA(m.H.usc()?m.H.K+"-main-c":m.A.K+"-scales-ml-0-c",m.H.AC),e=ZC.Q.EA(m.H.usc()?m.H.K+"-main-c":m.A.K+"-scales-bl-0-c",m.H.AC);var v,E,w=m.A.BK("scale-k"),D=ZC._i_(m.J3.o[ZC._[21]]||8),M=Math.ceil((m.A1-m.W)/(m.EH-1)),T=Math.ceil((m.A1-m.W)/(m.MC-1)),R=m.A.BK("scale"),V=ZC.CX(R.I/2,R.F/2)*R.JM,$=R.iX+R.I/2+R.BL,y=R.iY+R.F/2+R.BH,U=w.EK/(w.V.length-(360===w.EK||w.DE?0:1));if(m.D6.AO){if(m.D6.o.items&&m.D6.o.items.length>0)for(a=0,c=m.V.length;a=0;h--)f.push(ZC.AP.BN($,y,m.A9+(a+1)*m.AB,w.DI+h*U));W.D=f,W.parse(),W.B1=0,W.AU=0,W.ES=0,W.G4=0;var ae=m.A.P;W.D1=[ae.iX,ae.iY,ae.iX+ae.I,ae.iY+ae.F],W.paint()}}if(m.D6.B1>0)for(a=0,c=m.V.length;a0&&((f=[]).push(ZC.AP.BN($,y,m.A9,w.DI),ZC.AP.BN($,y,V-m.BS,w.DI)),ZC.CQ.paint(t,m.PD,f)),m.J3.AO){for(ZC,f=[],a=0,c=m.V.length;a0&&m.BR.AO)for(m.GW=0,fe(m.W),m.GW=m.A1-m.W,fe(m.A1),m.GW=1,a=m.W+1;a0&&ZC.AM(m.A.A.K+"-map")&&(ZC.AM(m.A.A.K+"-map").innerHTML+=E.join(""))}function se(ie){return(ie=(ie=ie.replace(/(%i)|(%scale-index)/g,a)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(m.V[a])?m.V[a]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(m.BZ[a])?m.BZ[a]:"")}function he(ie){return(ie=(ie=(ie=ie.replace(/(%c)|(%scale-position)/g,m.GW)).replace(/(%i)|(%scale-index)/g,m.KD)).replace(/(%v)|(%scale-value)/g,null!==ZC._n_(m.V[m.KD])?m.V[m.KD]:"")).replace(/(%l)|(%scale-label)/g,null!==ZC._n_(m.BZ[m.KD])?m.BZ[m.KD]:"")}function fe(ie){m.KD=ie,(v=new DV(m)).copy(m.BR),v.K=m.A.K+"-"+m.BI.replace(/\-/g,"_")+"-item_"+ie,v.GO=m.K+"-item "+m.A.K+"-scale-item zc-scale-item";var De=m.FD(ie);if(v.AN=De,null===ZC._n_(m.M6)||-1!==ZC.AV(m.M6,De)){v.Z=v.C7=m.H.usc()?m.H.mc():ZC.AM(m.A.K+"-scales-fl-0-c"),v.parse(),v.IX=he,v.DC()&&v.parse();var ge=ZC.AP.BN($,y,m.A9+ie*m.AB,w.DI);switch(v.F=v.KL,v.I=v.NY,w.DI%180==0?(v.iX=ge[0]-v.I/2,v.iY=ge[1]):(v.iX=ge[0],v.iY=ge[1]-v.F/2),m.J3.o[ZC._[7]]){case"inner":break;case"outer":w.DI%180==0?v.iY+=D:v.iX+=D;break;default:w.DI%180==0?v.iY+=D/2:v.iX+=D/2}v.AO&&(v.paint(),v.ED(),null===ZC._n_(m.o.tooltip)&&v.KI||(null!==ZC._n_(m.o.tooltip)&&(m.o.tooltip.text=m.o.tooltip.text||"%scale-value"),E.push(ZC.AR.OI(m.A.K,v))))}}}}class A9F extends DX{constructor(t){super(t);var e=this;e.C5=.95,e.L=0,e.AF=null,e.M=null,e.FB=null,e.A6P=!1,e.BA="bottom",e.A9=0,e.BS=0,e.MU="normal",e.OF="normal",e.KK=[5,5],e.A0R=[0,0],e.ZA=""}parse(){super.parse();var t,e=this;e.assign_a([["type","AF"],["value-range","A6P","b"],["offset-start","A9","i"],["offset-end","BS","i"],[ZC._[7],"BA"],["pair-scale","ZA"],["label-placement","MU"],["label-alignment","OF"],["range","FB"]]),null===ZC._n_(e.o.alpha)&&(e.o.alpha="area"===e.AF?.25:.95),null!==ZC._n_(t=e.o["label-tolerance"])&&("object"==typeof t&&t.length?(e.KK[0]=ZC._i_(t[0]||"5"),e.KK[1]=ZC._i_(t[1]||"5")):e.KK[0]=e.KK[1]=ZC._i_(t||"5")),e.assign_a([["alpha","C5","f",0,1]]),null===ZC._n_(t=e.o.label)&&null===ZC._n_(e.o.text)||(e.M=new DV(e),e.A.A.A.B8.load(e.M.o,["("+e.A.AF+").SCALE.marker.label"]),null!==ZC._n_(e.o.text)&&e.M.append({text:e.o.text}),e.M.append(t),e.M.parse(),e.A0R=[e.M.BL,e.M.BH])}paint(){var t,e,a,c,h,_,f,m=this;if(m.FB)if(-1===m.A.BI.indexOf("scale-r")){if(m.AO){var v,E,w,D,M=m.A,T=m.A.A.P.AU,R=M.A.K+"-scales-"+("top"===m.BA?"f":"b")+"l-0-c";m.Z=m.C7=ZC.AM(M.H.usc()?M.H.K+"-main-c":R),t=ZC.Q.EA(m.Z,M.H.AC),h=[];var V,$=0,y=0;m.BL>-1&&m.BL<1&&(m.BL=Math.ceil(m.BL*M.AB)),m.BH>-1&&m.BH<1&&(m.BH=Math.ceil(m.BH*M.AB)),m.M&&(m.M.Z=M.H.usc()?M.H.mc():ZC.AM(M.A.K+"-scales-ml-0-c"),m.M.K=m.A.A.K+"-"+m.A.BI.replace(/\-/g,"_")+"-marker_"+m.L,m.M.GO=m.A.K+"-marker-label "+m.A.A.K+"-scale-marker-label zc-scale-marker-label");var U=m.A.A,O=function(se,he){var fe;return-1!==(he+"").indexOf("%")?(fe=ZC._f_(he.replace("%","")),fe="k"===se.AF?ZC._i_(fe*(se.DN-se.D5)/100):fe*(se.GY-se.FS)/100):fe=he,m.A6P||"v"===se.AF?se.AK(fe):se.H7(fe)};if("poly"===m.AF){var Q,W,ae,ee;for(U=m.A.A,"k"===M.AF?(Q=M,W=""===m.ZA?U.BV("v")[0]:U.BK(m.ZA)||U.BV("v")[0]):"v"===M.AF&&(W=M,Q=""===m.ZA?U.BV("k")[0]:U.BK(m.ZA)||U.BV("k")[0]),_=0,f=m.FB.length;_=3){if(h[0].join("/")!==h[h.length-1].join("/")&&h.push([h[0][0],h[0][1]]),M.A.AJ["3d"])for(M.A.NS(),e=0,a=h.length;e=4)){if(M.A.AJ["3d"])for(M.A.NS(),e=0,a=h.length;eM.iY+M.F/2?"normal":"opposite"),m.M.BL=m.M.BH=0,(-1!==M.BI.indexOf(ZC._[50])&&!M.CJ||-1!==M.BI.indexOf(ZC._[51])&&M.CJ)&&null===ZC._n_(m.M.o.angle)&&(m.M.AA=270),-1!==M.BI.indexOf(ZC._[50])&&!M.CJ||-1!==M.BI.indexOf(ZC._[51])&&M.CJ?(m.M.AA%180==90&&(m.M.BL-=(M.AW?-1:1)*(m.M.I/2-m.M.F/2),m.M.BH-=m.M.I/2-m.M.F/2,"opposite"===m.MU&&(m.M.BH=-m.M.I/2+m.M.F/2),"opposite"===ce&&(m.M.BL-=m.M.F)),m.M.AA%180==0&&("opposite"===m.MU&&(m.M.BH=-m.M.I+m.M.F),"opposite"===ce&&(m.M.BL-=m.M.I))):(m.M.AA%180==90&&(m.M.BL-=m.M.I/2-m.M.F/2,m.M.BH-=(M.AW?-1:1)*(m.M.I/2-m.M.F/2),"opposite"===m.MU&&(m.M.BL=m.M.I/2-m.M.F/2),"opposite"===ce&&(m.M.BH+=m.M.I)),m.M.AA%180==0&&"opposite"===ce&&(m.M.BH+=m.M.F)),m.M.BL+=m.A0R[0]+m.BL,m.M.BH+=m.A0R[1]+m.BH),M.A.AJ["3d"]&&(c=new CE(M.A,m.M.iX-ZC.AQ.E3,m.M.iY-ZC.AQ.E4,ZC.AQ.FY),m.M.iX=c.EC[0],m.M.iY=c.EC[1]),ZC.DM(m.M.iX+m.M.BL+(m.M.AA%180==0?m.M.I/2:m.M.F/2),m.A.A.P.iX-m.KK[0],m.A.A.P.iX+m.A.A.P.I+m.KK[0])&&ZC.DM(m.M.iY+m.M.BH+(m.M.AA%180==0?m.M.F/2:m.M.I/2),m.A.A.P.iY-m.KK[1],m.A.A.P.iY+m.A.A.P.F+m.KK[1])&&(m.M.paint(),m.M.ED(),!m.M.KI&&"normal"===zingchart.OBJECTMODE&&(M.E["marker_text_"+m.L]=m.M.AN,ZC.AM(U.A.K+"-map"))))){var Ce=ZC.AR.OI(U.K,m.M);ZC.AM(U.A.K+"-map").innerHTML=ZC.AM(U.A.K+"-map").innerHTML+Ce}}}else m.A.paintMarker(m)}}class A2W extends ZCClass{constructor(t){super();var e=this;e.M7=null,e.A5B=0,e.PA=[],e.BI=t,e.A44=!0}add(t){var e=this;e.PA.push(t),t.KA=e,t.M7=e.M7,t.C0.TX=!0,t.XL=e.PA.length-1,e.A44=!1}}class EB extends ZCClass{constructor(t,e,a,c,h,_){super();var f=this;for(var m in f.M7=null,f.C0=t,f.AX=null,f.A5C=0,f.I2=null,f.N=e||{},f.A5D=a||500,f.XS=c||-1,f.A0T=null,f.TE=null,f.OO=null,null!==ZC._n_(_)&&(f.TE=_),f.A5E=EB.linear,null!==ZC._n_(h)&&""!==h&&(f.A5E=h),f.ADJ={},f.C6={},f.ACQ=[],f.RQ=ZC._i_(f.A5D/PW.UK),f.RQ>100&&(f.RQ=100),(ZC.vml||ZC.mobile)&&(f.RQ=ZC._i_(f.RQ/4)),f.RQ<5&&(f.RQ=5),f.N)f.C6[m]=null!==ZC._n_(EB.GP[m])?f.C0[EB.GP[m]]:f.C0[m];f.Y=0,f.KA=null,f.XL=-1}status(){return this.Y+1>this.RQ?0:1}step(){var t,e,a,c,h,_,f=this,m=1,v=f.M7.C.H.AC;if(f.Y++,f.Y>f.RQ&&(f.Y===f.RQ+1&&-1!==f.XL&&(f.KA.A5B++,f.KA.A5B===f.KA.PA.length&&(f.KA.A44=!0)),m=0),m){var E={};if(f.Y===f.RQ)E=f.N,f.A5C=1;else for(var w in f.A5C=f.A5E(f.Y,0,1,f.RQ),f.N)switch(w){case"points":var D=[];for(h=0,_=f.N[w].length;h<_;h++)if(null!==ZC._n_(f.C6[w][h])){D[h]=[];for(var M=0,T=f.N[w][h].length;M0?window.setTimeout(function(){a.start()},e+1):a.start()))}add(t){var e=this;t.M7=e,t.XS>0?(e.PA.push(t),window.setTimeout(function(){t.C0.TX=!0,e.RR||e.start()},t.XS+1)):(t.C0.TX=!0,e.PA.push(t),e.RR||e.start())}start(){var t=this;t.RR=!0,ZC.AR.C1("animation_start",t.C.A,{id:t.C.A.K,graphid:t.C.K});var e=!0;!function a(){e||t.step(),e=!1,t.RR&&(t.C4=window.requestAnimFrame(a))}()}step(){var t,e=this,a=0;if(e.RR){for(var c=0,h=e.PA.length;cZC.AR.NG(v)?1:-1});var _='',f=e.innerHTML.indexOf(_);-1!==f?e.innerHTML=e.innerHTML.substring(0,f+_.length)+a.C.a11y()+a.C.AZ.HJ.join("")+e.innerHTML.substring(f+_.length):e.innerHTML+=a.C.a11y()+a.C.AZ.HJ.join("")}},33),a.C.A2G(),a.RR=!1;for(var c=0,h=a.PA.length;c0&&w<1&&(w*=$),m=[].concat(R);var y=0,U="";for(v=1,e=R.length-1;e>=0;e--)R[e][ZC._[5]]&&null!==ZC._n_(R[e][ZC._[5]][0])&&R[e][ZC._[5]][0]",R[e][ZC._[8]]=T,V.push(R[e]),R.splice(e,1),v++);y>0&&(v>2?(E={values:[y],detach:!1,"data-group":[1],"tooltip-text":U=U.substring(0,U.length-4)},ZC._cp_(D,E),R.push(E),zingchart.bind(A.id,"plot_click",function(ee){if(ee.xdata.group){var ne=zingchart.getLoader(ee.id);if(!ne)return;var oe=zingchart.getGraph(ne,ee.graphid);for(var te in oe.getAttributes())"pie-sel-"===te.substring(0,8)&&oe.setAttribute(te,null);zingchart.exec(A.id,"setseriesdata",{data:V}),window.setTimeout(function(){var le=zingchart.exec(A.id,"getobjectinfo",{object:"node",plotindex:0,nodeindex:0}),ce={id:"navpie_btnback",x:le.x,y:le.y,text:"< Back",anchor:"c",cursor:"hand"};ZC._cp_(M,ce),zingchart.exec(A.id,"addobject",{type:"label",data:ce})},1)}}),zingchart.bind(A.id,"label_click",function(ee){if("navpie_btnback"===ee.label.id){var ne=zingchart.getLoader(ee.id);if(!ne)return;var oe=zingchart.getGraph(ne,ee.graphid);for(var te in oe.getAttributes())"pie-sel-"===te.substring(0,8)&&oe.setAttribute(te,null);zingchart.exec(A.id,"removeobject",{type:"label",id:"navpie_btnback"}),zingchart.exec(A.id,"setseriesdata",{data:R})}})):_[ZC._[11]]=[].concat(m))}else{var O=0,Q=[];for(e=0;e0&&w<1&&(w*=O),m=[].concat(R);var W=[],ae=[];for(v=1,e=R.length-1;e>=0;e--)if(Q[e]";V.push(R[e]),R.splice(e,1),v++}if(W.length)if(v>2){for(a=0;a{A(A.s=988)}]); \ No newline at end of file